]> git.ipfire.org Git - thirdparty/glibc.git/blame - ChangeLog
microblaze: 64b atomic operations are not supported.
[thirdparty/glibc.git] / ChangeLog
CommitLineData
0d79fa53
TR
12014-11-21 Torvald Riegel <triegel@redhat.com>
2
3 * sysdeps/microblaze/bits/atomic.h (__HAVE_64B_ATOMICS): Fix value
4 by setting it to 0. 64b atomics are not supported currently.
5
b59d114b
AO
62014-11-21 Alexandre Oliva <aoliva@redhat.com>
7
8 [BZ #16469]
9 * resolv/res_query.c (__libc_res_nsearch): Skip leading dot in
10 search domain names.
11
f3d945d5
AO
122014-11-21 Alexandre Oliva <aoliva@redhat.com>
13
14 [BZ #16469]
15 * NEWS: Update.
16 * resolv/res_query.c (__libc_res_nquerydomain): Retain
17 trailing dot.
18 * posix/tst-getaddrinfo5.c: New.
19 * posix/Makefile (tests): Add it.
20
49698902
AO
212014-11-21 Alexandre Oliva <aoliva@redhat.com>
22
23 [BZ #14498]
24 * NEWS: Fixed.
25 * nss/nss_db/db-XXX.c (_nss_db_get##name##_r): Update hidx
26 after parsing line but before break_if_match.
27 * nss/nss_files/files-service (DB_LOOKUP): Don't "continue;"
28 if there is a protocol mismatch.
29
81959214
MS
302014-11-21 Ma Shimiao <mashimiao.fnst@cn.fujitsu.com>
31
32 * manual/sysinfo.texi (addmntent): It is actually MT-Safe,
33 because the potential race is on the user-supplied stream.
34
7729e0e9
AO
352014-11-21 Alexandre Oliva <aoliva@redhat.com>
36
37 * sysdeps/posix/ctermid.c (ctermid): Return a pointer to a
38 string literal if not passed a buffer.
39 * manual/job.texi (ctermid): Update reasoning, note deviation
40 from posix, suggest mtasurace when not passed a buffer, for
41 future non-preliminary safety notes.
42
a4ea5e28
AO
432014-11-21 Alexandre Oliva <aoliva@redhat.com>
44
45 * manual/users.texi (cuserid): Fix MT-Safety note for the case
46 of not passing it a buffer.
47 Reported by Peng Haitao.
48
a2b581cb
AO
492014-11-21 Alexandre Oliva <aoliva@redhat.com>
50
51 * manual/Makefile ($(objpfx)stamp-summary): Require
52 check-safety.sh to pass.
53 * manual/check-safety.sh: Wish for verification that every
54 @deftypefn and @deftypefun is followed by a @safety remark.
55
f214ff74
RM
562014-11-20 Roland McGrath <roland@hack.frob.com>
57
7f0dfae0
RM
58 * nptl/unwind.c (unwind_cleanup): Use __libc_fatal.
59
2f531bbb
RM
60 * nptl/pthread_setcanceltype.c [!SIGCANCEL]: Return ENOTSUP early for
61 PTHREAD_CANCEL_ASYNCHRONOUS.
62 * nptl/pthread_cancel.c [!SIGCANCEL]: Just abort rather than trying to
63 send SIGCANCEL.
64
f214ff74
RM
65 * nptl/default-sched.h: New file.
66 * sysdeps/unix/sysv/linux/default-sched.h: New file.
67 * nptl/pthread_create.c: Include it.
68 (__pthread_create_2_1): Use collect_default_sched instead of making
69 Linux syscalls here directly.
70
e37c91d4
TR
712014-11-20 Torvald Riegel <triegel@redhat.com>
72
73 * nptl/pthread_once.c (clear_once_control, __pthread_once_slow,
74 __pthread_once): Use C11 atomics.
75
1eccfecd
TR
762014-11-20 Torvald Riegel <triegel@redhat.com>
77
78 * csu/tst-atomic.c (do_test): Add tests for C11-like atomics.
79
ff871426
TR
802014-11-20 Torvald Riegel <triegel@redhat.com>
81
82 * include/atomic.h (__atomic_link_error, __atomic_check_size,
83 atomic_thread_fence_acquire, atomic_thread_fence_release,
84 atomic_thread_fence_seq_cst, atomic_load_relaxed,
85 atomic_load_acquire, atomic_store_relaxed, atomic_store_release,
86 atomic_compare_exchange_weak_relaxed,
87 atomic_compare_exchange_weak_acquire,
88 atomic_compare_exchange_weak_release,
89 atomic_exchange_acquire, atomic_exchange_release,
90 atomic_fetch_add_relaxed, atomic_fetch_add_acquire,
91 atomic_fetch_add_release, atomic_fetch_add_acq_rel,
92 atomic_fetch_and_acquire,
93 atomic_fetch_or_relaxed, atomic_fetch_or_acquire): New.
94
1ea339b6
TR
952014-11-20 Torvald Riegel <triegel@redhat.com>
96
97 * sysdeps/aarch64/bits/atomic.h (__HAVE_64B_ATOMICS,
98 USE_ATOMIC_COMPILER_BUILTINS): Define.
99 * sysdeps/alpha/bits/atomic.h (__HAVE_64B_ATOMICS,
100 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
101 * sysdeps/arm/bits/atomic.h (__HAVE_64B_ATOMICS,
102 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
103 * sysdeps/i386/i486/bits/atomic.h (__HAVE_64B_ATOMICS,
104 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
105 * sysdeps/ia64/bits/atomic.h (__HAVE_64B_ATOMICS,
106 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
107 * sysdeps/m68k/coldfire/bits/atomic.h (__HAVE_64B_ATOMICS,
108 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
109 * sysdeps/m68k/m680x0/m68020/bits/atomic.h (__HAVE_64B_ATOMICS,
110 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
111 * sysdeps/microblaze/bits/atomic.h (__HAVE_64B_ATOMICS,
112 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
113 * sysdeps/mips/bits/atomic.h (__HAVE_64B_ATOMICS,
114 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
115 * sysdeps/powerpc/powerpc32/bits/atomic.h (__HAVE_64B_ATOMICS,
116 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
117 * sysdeps/powerpc/powerpc64/bits/atomic.h (__HAVE_64B_ATOMICS,
118 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
119 * sysdeps/s390/bits/atomic.h (__HAVE_64B_ATOMICS,
120 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
121 * sysdeps/sparc/sparc32/bits/atomic.h (__HAVE_64B_ATOMICS,
122 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
123 * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (__HAVE_64B_ATOMICS,
124 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
125 * sysdeps/sparc/sparc64/bits/atomic.h (__HAVE_64B_ATOMICS,
126 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
127 * sysdeps/tile/tilegx/bits/atomic.h (__HAVE_64B_ATOMICS,
128 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
129 * sysdeps/tile/tilepro/bits/atomic.h (__HAVE_64B_ATOMICS,
130 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
131 * sysdeps/unix/sysv/linux/hppa/bits/atomic.h (__HAVE_64B_ATOMICS,
132 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
133 * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h
134 (__HAVE_64B_ATOMICS, USE_ATOMIC_COMPILER_BUILTINS): Likewise.
135 * sysdeps/unix/sysv/linux/sh/bits/atomic.h (__HAVE_64B_ATOMICS,
136 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
137 * sysdeps/x86_64/bits/atomic.h (__HAVE_64B_ATOMICS,
138 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
139
cbd463e2
RM
1402014-11-19 Roland McGrath <roland@hack.frob.com>
141
d960211f
RM
142 * nptl/pthread_create.c (__pthread_create_2_1): Don't try to validate
143 the sched_priority value here. It was already checked when the user
144 called pthread_attr_setschedparam.
145
cbd463e2
RM
146 * nptl/tst-bad-schedattr.c: New file.
147 * nptl/Makefile (tests): Add it.
148
a39208bd
CD
1492014-11-19 Carlos O'Donell <carlos@redhat.com>
150 Florian Weimer <fweimer@redhat.com>
151 Joseph Myers <joseph@codesourcery.com>
152 Adam Conrad <adconrad@0c3.net>
153 Andreas Schwab <schwab@suse.de>
154 Brooks <bmoses@google.com>
155
156 [BZ #17625]
157 * wordexp-test.c (__dso_handle): Add prototype.
158 (__register_atfork): Likewise.
159 (__app_register_atfork): New function.
160 (registered_forks): New global.
161 (register_fork): New function.
162 (test_case): Add 3 new tests for WRDE_CMDSUB.
163 (main): Call __app_register_atfork.
164 (testit): If WRDE_NOCMD set registered_forks to zero, run test, and if
165 fork count is non-zero fail the test.
166 * posix/wordexp.c (exec_comm): Return WRDE_CMDSUB if WRDE_NOCMD flag
167 is set.
168 (parse_dollars): Remove check for WRDE_NOCMD.
169 (parse_dquote): Likewise.
170
9cd47470
SP
1712014-11-19 Siddhesh Poyarekar <siddhesh@redhat.com>
172
130ac68c
SP
173 * Makeconfig (built-modules): List non-library modules to be
174 built.
175 (module-cppflags): Include libc-modules.h for
176 everything except shlib-versions.v.i.
177 (CPPFLAGS): Use it.
178 (before-compile): Add libc-modules.h.
179 ($(common-objpfx)libc-modules.h,
180 $(common-objpfx)libc-modules.stmp): New targets.
181 (common-generated): Add libc-modules.h and libc-modules.stmp.
182 ($(common-objpfx)Versions.v.i): Depend on libc-modules.h.
183 * include/libc-symbols.h: Don't include libc-modules.h.
184 * include/libc-modules.h: Remove file.
185 * scripts/gen-libc-modules.awk: New script to generate
186 libc-modules.h.
187 * sysdeps/unix/Makefile ($(common-objpfx)sysd-syscalls):
188 Depend on libc-modules.stmp.
189
286663c3
SP
190 * include/shlib-compat.h (_SHLIB_COMPAT): Use IS_IN.
191
9cd47470
SP
192 * Makeconfig (in-module): Get value of libof set for the
193 translation unit.
194 (CPPFLAGS): Use $(in-module).
195 * Makerules: Don't suffix routine names for nonlib.
196 * include/libc-modules.h: New file.
197 * include/libc-symbols.h: Include libc-modules.h
198 (IS_IN): New macro to replace IS_IN_* macros.
199 * elf/Makefile: Set libof-* for each routine.
200 * elf/rtld-Rules: Likewise.
201 * extra-modules.mk: Likewise.
202 * iconv/Makefile: Likewise.
203 * iconvdata/Makefile: Likewise.
204 * locale/Makefile: Likewise.
205 * malloc/Makefile: Likewise.
206 * nss/Makefile: Likewise.
207 * sysdeps/gnu/Makefile: Likewise.
208 * sysdeps/ieee754/ldbl-opt/Makefile: Likewise.
209 * sysdeps/unix/sysv/linux/Makefile: Likewise.
210 * sysdeps/s390/s390-64/Makefile: Likewise.
211 * nscd/Makefile: Set libof-* for each routine. Set CFLAGS and
212 CPPFLAGS for nscd instead of nonlib.
213
32fed10f
RM
2142014-11-18 Roland McGrath <roland@hack.frob.com>
215
d71035bd
RM
216 * nptl/createthread.c: New file.
217
6540b991
RM
218 * nptl/createthread.c: Moved ...
219 * sysdeps/unix/sysv/linux/createthread.c: ... here.
220
32fed10f
RM
221 * nptl/createthread.c: Add proper top-line comment.
222 (do_clone): Folded into ...
223 (create_thread): ... here. Take new arguments STOPPED_START and
224 THREAD_RAN. Always set PD->stopped_start to something here. Don't
225 increment __nptl_threads, do event-reporting logic, do
226 CHECK_THREAD_SYSINFO, or set THREAD_SELF->header.multiple_threads
227 here. Set *THREAD_RAN after ARCH_CLONE call succeeds. Don't do any
228 resource cleanup if sched_setaffinity or sched_setscheduler fails,
229 just send SIGCANCEL.
230 * nptl/pthread_create.c: Forward-declare create_thread before
231 including createthread.c.
232 (start_thread): Use new macro START_THREAD_DEFN to replace defining
233 declaration, and new macro START_THREAD_SELF to replace argument.
234 Remove return statement.
235 (report_thread_creation): New function.
236 (__pthread_create_2_1): Use it. Do TD_CREATE reporting,
237 synchronization logic, and __nptl_nthreads increment here, around
238 calling create_thread. Do CHECK_THREAD_SYSINFO and initialize
239 PD->parent_cancelhandling here, before create_thread. When
240 create_thread fails, do __nptl_nthreads decrement, setxid_futex wake,
241 __deallocate_stack, and ENOMEM translation here.
242
107a5bf0
JM
2432014-11-18 Joseph Myers <joseph@codesourcery.com>
244
245 [BZ #17616]
246 * sysdeps/ieee754/dbl-64/mpa.c (mpone): Rename to __mpone.
247 (mptwo): Rename to __mptwo.
248 (__inv): Use __mptwo instead of mptwo.
249 * sysdeps/ieee754/dbl-64/mpa.h (mpone): Rename to __mpone.
250 (mptwo): Rename to __mptwo.
251 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __mpone instead
252 of mpone and __mptwo instead of mptwo.
253 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Use __mpone
254 instead of mpone.
255 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
256 * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Likewise.
257 * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use __mpone instead
258 of mpone and __mptwo instead of mptwo.
259 (__mpranred): Use __mpone instead of mpone.
260 * conform/Makefile (test-xfail-ISO/math.h/linknamespace): Remove
261 variable.
262 (test-xfail-ISO99/complex.h/linknamespace): Likewise.
263 (test-xfail-ISO99/math.h/linknamespace): Likewise.
264 (test-xfail-ISO99/tgmath.h/linknamespace): Likewise.
265 (test-xfail-ISO11/complex.h/linknamespace): Likewise.
266 (test-xfail-ISO11/math.h/linknamespace): Likewise.
267 (test-xfail-ISO11/tgmath.h/linknamespace): Likewise.
268 (test-xfail-XPG3/math.h/linknamespace): Likewise.
269 (test-xfail-XPG4/math.h/linknamespace): Likewise.
270 (test-xfail-POSIX/math.h/linknamespace): Likewise.
271 (test-xfail-UNIX98/math.h/linknamespace): Likewise.
272 (test-xfail-XOPEN2K/complex.h/linknamespace): Likewise.
273 (test-xfail-XOPEN2K/math.h/linknamespace): Likewise.
274 (test-xfail-XOPEN2K/tgmath.h/linknamespace): Likewise.
275 (test-xfail-POSIX2008/complex.h/linknamespace): Likewise.
276 (test-xfail-POSIX2008/math.h/linknamespace): Likewise.
277 (test-xfail-POSIX2008/tgmath.h/linknamespace): Likewise.
278 (test-xfail-XOPEN2K8/complex.h/linknamespace): Likewise.
279 (test-xfail-XOPEN2K8/math.h/linknamespace): Likewise.
280 (test-xfail-XOPEN2K8/tgmath.h/linknamespace): Likewise.
281
3b679ab3
TV
2822014-11-18 Tom de Vries <tom@codesoucery.com>
283
284 * manual/signal.texi (Primitives Interrupted by Signals): In section,
285 replace BSD Handler xref with BSD Signal Handling.
4886f341
RH
286
2872014-11-17 Richard Henderson <rth@redhat.com>
288
289 * sysdeps/alpha/soft-fp/local-soft-fp.h (_FP_UNPACK_RAW_2): Remove.
290 (_FP_PACK_RAW_2): Remove.
291 (AXP_DECL_RETURN_Q): Rename from FP_DECL_RETURN, use _FP_UNION_Q.
292 (AXP_RETURN_Q): Rename from FP_RETURN, use _FP_UNION_Q.
293 (AXP_UNPACK_RAW_Q, AXP_UNPACK_SEMIRAW_Q, AXP_UNPACK_Q): New.
294 (AXP_PACK_RAW_Q, AXP_PACK_SEMIRAW_Q, AXP_PACK_Q): New.
295 * sysdeps/alpha/soft-fp/ots_add.c (_OtsAddX): Update to match.
296 * sysdeps/alpha/soft-fp/ots_cmp.c (internal_equality): Likewise.
297 * sysdeps/alpha/soft-fp/ots_cmpe.c (internal_compare): Likewise.
298 * sysdeps/alpha/soft-fp/ots_cvtqux.c (_OtsCvtQUX): Likewise.
299 * sysdeps/alpha/soft-fp/ots_cvtqx.c (_OtsCvtQX): Likewise.
300 * sysdeps/alpha/soft-fp/ots_cvttx.c (_OtsConvertFloatTX): Likewise.
301 * sysdeps/alpha/soft-fp/ots_cvtxq.c (_OtsCvtXQ): Likewise.
302 * sysdeps/alpha/soft-fp/ots_cvtxt.c (_OtsConvertFloatXT): Likewise.
303 * sysdeps/alpha/soft-fp/ots_div.c (_OtsDivX): Likewise.
304 * sysdeps/alpha/soft-fp/ots_mul.c (_OtsMulX): Likewise.
305 * sysdeps/alpha/soft-fp/ots_nintxq.c (_OtsNintXQ): Likewise.
306 * sysdeps/alpha/soft-fp/ots_sub.c (_OtsSubX): Likewise.
307
0781a777
RM
3082014-11-14 Roland McGrath <roland@hack.frob.com>
309
310 * signal/signal.h [__USE_MISC]
311 (struct sigvec): Remove type.
312 (SV_ONSTACK, SV_INTERRUPT, SV_RESETHAND): Remove macros.
313 (sigvec): Remove declaration.
314 * sysdeps/posix/sigvec.c: Moved ...
315 * signal/sigvec.c: ... here, replacing old file.
316 (struct sigvec): New type, copied from old signal.h definition.
317 (SV_ONSTACK, SV_INTERRUPT, SV_RESETHAND): New macros, likewise copied.
318 (__sigvec): Convert definition to prototype.
319 (sigvec): Replace weak_alias with compat_symbol.
320 * signal/Versions (libc: GLIBC_2.21): New version set.
321 * include/signal.h: Remove __sigvec declaration.
322 * sysdeps/unix/bsd/sigvec.c: Remove file.
323 * sysdeps/unix/bsd/syscalls.list: Remove sigvec.
324 * manual/signal.texi (BSD Handler): Remove subsection.
325 Move siginterrupt up to ...
326 (BSD Signal Handling): ... here. Mark it as XPG rather than BSD.
327 (Blocking in BSD): Fold subsection into its parent.
328 * NEWS: Mention sigvec removal.
329
a4733812
JM
3302014-11-14 Joseph Myers <joseph@codesourcery.com>
331
5ae4fe60
JM
332 * sysdeps/x86_64/fpu/dla.h [__FMA4__ && __GNUC_PREREQ (4, 6)]
333 (DLA_FMS): Make definition conditional only on [__FMA4__].
334 [__FMA4__ && !__GNUC_PREREQ (4, 6)] (DLA_FMS): Remove conditional
335 definition.
336
6a0dd472
JM
337 * sysdeps/arm/sysdep.h [PROF && __GNUC_PREREQ(4,4)] (CALL_MCOUNT):
338 Make definition conditional only on [PROF].
339 [PROF && !__GNUC_PREREQ(4,4)] (CALL_MCOUNT): Remove conditional
340 definition.
341 [__GNUC_PREREQ(4,4)] (mcount): Make definition unconditional.
342 [!__GNUC_PREREQ(4,4)] (mcount): Remove conditional definition.
343
a4733812
JM
344 * signal/signal.h (__sigpause): Only declare if [__USE_XOPEN &&
345 !__GNUC__].
346 * include/signal.h (__sigpause): Move declaration above call to
347 libc_hidden_proto.
348 * conform/Makefile (test-xfail-ISO/signal.h/linknamespace): Remove
349 variable.
350 (test-xfail-ISO99/signal.h/linknamespace): Likewise.
351 (test-xfail-ISO11/signal.h/linknamespace): Likewise.
352
cf7246dd
DM
3532014-11-14 David S. Miller <davem@davemloft.net>
354
355 * sysdeps/sparc/sparc64/rtld-memcpy.c (NO_MEMPCPY_STPCPY_REDIRECT):
356 Define before including <string/memcpy.c> and <string/mempcpy.c>.
357
c1b0aadc
JM
3582014-11-14 Joseph Myers <joseph@codesourcery.com>
359
4863355a
JM
360 * configure.ac (libc_cv_compiler_ok): Require GCC 4.6 or later.
361 * configure: Regenerated.
362 * manual/install.texi (Tools for Compilation): Document a
363 requirement of GCC 4.6 or later and that GCC 4.9 is the newest
364 compiler verified to work.
365 * INSTALL: Regenerated.
366
c1b0aadc
JM
367 * include/string.h [NO_MEMPCPY_STPCPY_REDIRECT] (mempcpy): Do not
368 redeclare with asm name.
369 [NO_MEMPCPY_STPCPY_REDIRECT] (stpcpy): Likewise.
370 * string/mempcpy.c (NO_MEMPCPY_STPCPY_REDIRECT): Define before
371 including <string.h>.
372 * string/stpcpy.c (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
373 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c
374 [!NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
375 * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c
376 [!NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
377 * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c
378 [SHARED && !NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
379
2a1cfd94
JM
3802014-11-13 Joseph Myers <joseph@codesourcery.com>
381
bf438382
JM
382 * stdlib/strtol.c (__strtol): Use prototype definition.
383
2a1cfd94
JM
384 [BZ #17594]
385 * stdlib/strtol.c (SYM__): New macro.
386 (SYM__1): Likewise.
387 (__strtol): Likewise.
388 (strtol): Rename to __strtol and define as weak alias of
389 __strtol. Use libc_hidden_weak.
390
20ed0d26
SL
3912014-11-13 Stefan Liebler <stli@linux.vnet.ibm.com>
392
393 * sysdeps/s390/s390-32/dl-machine.h (RTLD_START):
394 Use numbered labels in inline assembly.
395
53244a4e
SL
3962014-11-13 Stefan Liebler <stli@linux.vnet.ibm.com>
397
398 * sysdeps/s390/s390-32/setjmp.S (__sigsetjmp):
399 Add setjmp LIBC_PROBE.
400 * sysdeps/s390/s390-64/setjmp.S (__sigsetjmp):
401 Likewise.
402 * sysdeps/s390/s390-32/__longjmp.c (__longjmp):
403 Add longjmp, longjmp_target LIBC_PROBE.
404 * sysdeps/s390/s390-64/__longjmp.c (__longjmp):
405 Likewise.
406
47df8251
SL
4072014-11-13 Stefan Liebler <stli@linux.vnet.ibm.com>
408
409 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
410 Gate the definition of refsym additionally with !RTLD_BOOTSTRAP
411 to get rid of unused variable warning.
412
618cebef
SL
4132014-11-13 Stefan Liebler <stli@linux.vnet.ibm.com>
414
415 * sysdeps/s390/s390-32/backtrace.c (__backtrace):
416 Check for unwind_backtrace == NULL only in SHARED case.
417 (__backchain_backtrace): Compile only in SHARED case.
418 * sysdeps/s390/s390-64/backtrace.c (__backtrace):
419 Likewise.
420 (__backchain_backtrace): Declare as static.
421
c6aab2cb
RM
4222014-11-12 Roland McGrath <roland@hack.frob.com>
423
424 * nptl/createthread.c [!TLS_MULTIPLE_THREADS_IN_TCB]
425 (__libc_multiple_threads_ptr): Variable moved ...
426 * nptl/nptl-init.c [!TLS_MULTIPLE_THREADS_IN_TCB]: ... here.
427
5a6fa4d7
JM
4282014-11-12 Joseph Myers <joseph@codesourcery.com>
429
24f4f825
JM
430 * conform/GlibcConform.pm: New file.
431 * conform/conformtest.pl: Use GlibcConform module.
432 * conform/linknamespace.pl: New file.
433 * conform/list-header-symbols.pl: Likewise.
434 * conform/Makefile (linknamespace-symlists-base): New variable.
435 (linknamespace-symlists-tests): Likewise.
436 (linknamespace-header-base): Likewise.
437 (linknamespace-header-tests): Likewise.
438 (tests-special): Add new tests.
439 ($(linknamespace-symlists-tests)): New rule.
440 (linknamespace-libs): New variable.
441 ($(objpfx)symlist-stdlibs): New rule.
442 ($(linknamespace-header-tests)): Likewise.
443 (test-xfail-XPG3/varargs.h/linknamespace): New variable.
444 (test-xfail-XPG4/varargs.h/linknamespace): Likewise.
445 (test-xfail-UNIX98/varargs.h/linknamespace): Likewise.
446 (test-xfail-XPG4/ndbm.h/linknamespace): Likewise.
447 (test-xfail-UNIX98/ndbm.h/linknamespace): Likewise.
448 (test-xfail-XOPEN2K/ndbm.h/linknamespace): Likewise.
449 (test-xfail-XOPEN2K8/ndbm.h/linknamespace): Likewise.
450 (test-xfail-ISO/math.h/linknamespace): Likewise.
451 (test-xfail-ISO/signal.h/linknamespace): Likewise.
452 (test-xfail-ISO/stdio.h/linknamespace): Likewise.
453 (test-xfail-ISO/time.h/linknamespace): Likewise.
454 (test-xfail-ISO99/complex.h/linknamespace): Likewise.
455 (test-xfail-ISO99/ctype.h/linknamespace): Likewise.
456 (test-xfail-ISO99/math.h/linknamespace): Likewise.
457 (test-xfail-ISO99/signal.h/linknamespace): Likewise.
458 (test-xfail-ISO99/stdio.h/linknamespace): Likewise.
459 (test-xfail-ISO99/tgmath.h/linknamespace): Likewise.
460 (test-xfail-ISO11/complex.h/linknamespace): Likewise.
461 (test-xfail-ISO11/ctype.h/linknamespace): Likewise.
462 (test-xfail-ISO11/math.h/linknamespace): Likewise.
463 (test-xfail-ISO11/signal.h/linknamespace): Likewise.
464 (test-xfail-ISO11/stdio.h/linknamespace): Likewise.
465 (test-xfail-ISO11/tgmath.h/linknamespace): Likewise.
466 (test-xfail-XPG3/ctype.h/linknamespace): Likewise.
467 (test-xfail-XPG3/fnmatch.h/linknamespace): Likewise.
468 (test-xfail-XPG3/glob.h/linknamespace): Likewise.
469 (test-xfail-XPG3/math.h/linknamespace): Likewise.
470 (test-xfail-XPG3/regex.h/linknamespace): Likewise.
471 (test-xfail-XPG3/search.h/linknamespace): Likewise.
472 (test-xfail-XPG3/stdio.h/linknamespace): Likewise.
473 (test-xfail-XPG3/time.h/linknamespace): Likewise.
474 (test-xfail-XPG3/unistd.h/linknamespace): Likewise.
475 (test-xfail-XPG3/wordexp.h/linknamespace): Likewise.
476 (test-xfail-XPG4/ctype.h/linknamespace): Likewise.
477 (test-xfail-XPG4/fmtmsg.h/linknamespace): Likewise.
478 (test-xfail-XPG4/fnmatch.h/linknamespace): Likewise.
479 (test-xfail-XPG4/glob.h/linknamespace): Likewise.
480 (test-xfail-XPG4/grp.h/linknamespace): Likewise.
481 (test-xfail-XPG4/libgen.h/linknamespace): Likewise.
482 (test-xfail-XPG4/math.h/linknamespace): Likewise.
483 (test-xfail-XPG4/netdb.h/linknamespace): Likewise.
484 (test-xfail-XPG4/pwd.h/linknamespace): Likewise.
485 (test-xfail-XPG4/regex.h/linknamespace): Likewise.
486 (test-xfail-XPG4/search.h/linknamespace): Likewise.
487 (test-xfail-XPG4/stdio.h/linknamespace): Likewise.
488 (test-xfail-XPG4/stdlib.h/linknamespace): Likewise.
489 (test-xfail-XPG4/sys/mman.h/linknamespace): Likewise.
490 (test-xfail-XPG4/sys/statvfs.h/linknamespace): Likewise.
491 (test-xfail-XPG4/syslog.h/linknamespace): Likewise.
492 (test-xfail-XPG4/time.h/linknamespace): Likewise.
493 (test-xfail-XPG4/unistd.h/linknamespace): Likewise.
494 (test-xfail-XPG4/wordexp.h/linknamespace): Likewise.
495 (test-xfail-POSIX/aio.h/linknamespace): Likewise.
496 (test-xfail-POSIX/fnmatch.h/linknamespace): Likewise.
497 (test-xfail-POSIX/glob.h/linknamespace): Likewise.
498 (test-xfail-POSIX/math.h/linknamespace): Likewise.
499 (test-xfail-POSIX/mqueue.h/linknamespace): Likewise.
500 (test-xfail-POSIX/pthread.h/linknamespace): Likewise.
501 (test-xfail-POSIX/regex.h/linknamespace): Likewise.
502 (test-xfail-POSIX/sched.h/linknamespace): Likewise.
503 (test-xfail-POSIX/semaphore.h/linknamespace): Likewise.
504 (test-xfail-POSIX/sys/mman.h/linknamespace): Likewise.
505 (test-xfail-POSIX/time.h/linknamespace): Likewise.
506 (test-xfail-POSIX/unistd.h/linknamespace): Likewise.
507 (test-xfail-POSIX/wordexp.h/linknamespace): Likewise.
508 (test-xfail-UNIX98/aio.h/linknamespace): Likewise.
509 (test-xfail-UNIX98/ctype.h/linknamespace): Likewise.
510 (test-xfail-UNIX98/fmtmsg.h/linknamespace): Likewise.
511 (test-xfail-UNIX98/fnmatch.h/linknamespace): Likewise.
512 (test-xfail-UNIX98/glob.h/linknamespace): Likewise.
513 (test-xfail-UNIX98/grp.h/linknamespace): Likewise.
514 (test-xfail-UNIX98/libgen.h/linknamespace): Likewise.
515 (test-xfail-UNIX98/math.h/linknamespace): Likewise.
516 (test-xfail-UNIX98/mqueue.h/linknamespace): Likewise.
517 (test-xfail-UNIX98/netdb.h/linknamespace): Likewise.
518 (test-xfail-UNIX98/pthread.h/linknamespace): Likewise.
519 (test-xfail-UNIX98/pwd.h/linknamespace): Likewise.
520 (test-xfail-UNIX98/regex.h/linknamespace): Likewise.
521 (test-xfail-UNIX98/sched.h/linknamespace): Likewise.
522 (test-xfail-UNIX98/search.h/linknamespace): Likewise.
523 (test-xfail-UNIX98/semaphore.h/linknamespace): Likewise.
524 (test-xfail-UNIX98/stdio.h/linknamespace): Likewise.
525 (test-xfail-UNIX98/stdlib.h/linknamespace): Likewise.
526 (test-xfail-UNIX98/sys/mman.h/linknamespace): Likewise.
527 (test-xfail-UNIX98/sys/statvfs.h/linknamespace): Likewise.
528 (test-xfail-UNIX98/syslog.h/linknamespace): Likewise.
529 (test-xfail-UNIX98/time.h/linknamespace): Likewise.
530 (test-xfail-UNIX98/unistd.h/linknamespace): Likewise.
531 (test-xfail-UNIX98/wchar.h/linknamespace): Likewise.
532 (test-xfail-UNIX98/wordexp.h/linknamespace): Likewise.
533 (test-xfail-XOPEN2K/aio.h/linknamespace): Likewise.
534 (test-xfail-XOPEN2K/complex.h/linknamespace): Likewise.
535 (test-xfail-XOPEN2K/fcntl.h/linknamespace): Likewise.
536 (test-xfail-XOPEN2K/fmtmsg.h/linknamespace): Likewise.
537 (test-xfail-XOPEN2K/fnmatch.h/linknamespace): Likewise.
538 (test-xfail-XOPEN2K/glob.h/linknamespace): Likewise.
539 (test-xfail-XOPEN2K/grp.h/linknamespace): Likewise.
540 (test-xfail-XOPEN2K/libgen.h/linknamespace): Likewise.
541 (test-xfail-XOPEN2K/math.h/linknamespace): Likewise.
542 (test-xfail-XOPEN2K/mqueue.h/linknamespace): Likewise.
543 (test-xfail-XOPEN2K/net/if.h/linknamespace): Likewise.
544 (test-xfail-XOPEN2K/netdb.h/linknamespace): Likewise.
545 (test-xfail-XOPEN2K/pthread.h/linknamespace): Likewise.
546 (test-xfail-XOPEN2K/pwd.h/linknamespace): Likewise.
547 (test-xfail-XOPEN2K/regex.h/linknamespace): Likewise.
548 (test-xfail-XOPEN2K/search.h/linknamespace): Likewise.
549 (test-xfail-XOPEN2K/semaphore.h/linknamespace): Likewise.
550 (test-xfail-XOPEN2K/signal.h/linknamespace): Likewise.
551 (test-xfail-XOPEN2K/spawn.h/linknamespace): Likewise.
552 (test-xfail-XOPEN2K/stdlib.h/linknamespace): Likewise.
553 (test-xfail-XOPEN2K/sys/mman.h/linknamespace): Likewise.
554 (test-xfail-XOPEN2K/sys/statvfs.h/linknamespace): Likewise.
555 (test-xfail-XOPEN2K/sys/wait.h/linknamespace): Likewise.
556 (test-xfail-XOPEN2K/syslog.h/linknamespace): Likewise.
557 (test-xfail-XOPEN2K/tgmath.h/linknamespace): Likewise.
558 (test-xfail-XOPEN2K/time.h/linknamespace): Likewise.
559 (test-xfail-XOPEN2K/ucontext.h/linknamespace): Likewise.
560 (test-xfail-XOPEN2K/unistd.h/linknamespace): Likewise.
561 (test-xfail-XOPEN2K/wordexp.h/linknamespace): Likewise.
562 (test-xfail-POSIX2008/aio.h/linknamespace): Likewise.
563 (test-xfail-POSIX2008/complex.h/linknamespace): Likewise.
564 (test-xfail-POSIX2008/ctype.h/linknamespace): Likewise.
565 (test-xfail-POSIX2008/dirent.h/linknamespace): Likewise.
566 (test-xfail-POSIX2008/fcntl.h/linknamespace): Likewise.
567 (test-xfail-POSIX2008/grp.h/linknamespace): Likewise.
568 (test-xfail-POSIX2008/math.h/linknamespace): Likewise.
569 (test-xfail-POSIX2008/mqueue.h/linknamespace): Likewise.
570 (test-xfail-POSIX2008/net/if.h/linknamespace): Likewise.
571 (test-xfail-POSIX2008/netdb.h/linknamespace): Likewise.
572 (test-xfail-POSIX2008/pthread.h/linknamespace): Likewise.
573 (test-xfail-POSIX2008/regex.h/linknamespace): Likewise.
574 (test-xfail-POSIX2008/semaphore.h/linknamespace): Likewise.
575 (test-xfail-POSIX2008/spawn.h/linknamespace): Likewise.
576 (test-xfail-POSIX2008/sys/mman.h/linknamespace): Likewise.
577 (test-xfail-POSIX2008/sys/statvfs.h/linknamespace): Likewise.
578 (test-xfail-POSIX2008/tgmath.h/linknamespace): Likewise.
579 (test-xfail-POSIX2008/time.h/linknamespace): Likewise.
580 (test-xfail-POSIX2008/unistd.h/linknamespace): Likewise.
581 (test-xfail-XOPEN2K8/aio.h/linknamespace): Likewise.
582 (test-xfail-XOPEN2K8/complex.h/linknamespace): Likewise.
583 (test-xfail-XOPEN2K8/dirent.h/linknamespace): Likewise.
584 (test-xfail-XOPEN2K8/fcntl.h/linknamespace): Likewise.
585 (test-xfail-XOPEN2K8/fmtmsg.h/linknamespace): Likewise.
586 (test-xfail-XOPEN2K8/grp.h/linknamespace): Likewise.
587 (test-xfail-XOPEN2K8/libgen.h/linknamespace): Likewise.
588 (test-xfail-XOPEN2K8/math.h/linknamespace): Likewise.
589 (test-xfail-XOPEN2K8/mqueue.h/linknamespace): Likewise.
590 (test-xfail-XOPEN2K8/net/if.h/linknamespace): Likewise.
591 (test-xfail-XOPEN2K8/netdb.h/linknamespace): Likewise.
592 (test-xfail-XOPEN2K8/pthread.h/linknamespace): Likewise.
593 (test-xfail-XOPEN2K8/pwd.h/linknamespace): Likewise.
594 (test-xfail-XOPEN2K8/regex.h/linknamespace): Likewise.
595 (test-xfail-XOPEN2K8/search.h/linknamespace): Likewise.
596 (test-xfail-XOPEN2K8/semaphore.h/linknamespace): Likewise.
597 (test-xfail-XOPEN2K8/spawn.h/linknamespace): Likewise.
598 (test-xfail-XOPEN2K8/sys/mman.h/linknamespace): Likewise.
599 (test-xfail-XOPEN2K8/sys/statvfs.h/linknamespace): Likewise.
600 (test-xfail-XOPEN2K8/syslog.h/linknamespace): Likewise.
601 (test-xfail-XOPEN2K8/tgmath.h/linknamespace): Likewise.
602 (test-xfail-XOPEN2K8/time.h/linknamespace): Likewise.
603 (test-xfail-XOPEN2K8/unistd.h/linknamespace): Likewise.
604
cc67478e
JM
605 [BZ #17589]
606 * intl/localealias.c [_LIBC] (FGETS): Use __fgets_unlocked instead
607 of fgets_unlocked.
608
9975e3d3
JM
609 [BZ #17585]
610 * string/memmem.c [!_LIBC] (__memmem): Define to memmem.
611 (memmem): Rename to __memmem and define as weak alias of
612 __memmem. Use libc_hidden_weak.
613 (__memmem): Use libc_hidden_def.
614 * include/string.h (__memmem): Declare. Use libc_hidden_proto.
615 * locale/findlocale.c (valid_locale_name): Use __memmem instead of
616 memmem.
617
c4eae752
JM
618 [BZ #17582]
619 * libio/iofgets.c [weak_alias && !_IO_MTSAFE_IO]
620 (__fgets_unlocked): Add alias of _IO_fgets. Use libc_hidden_def.
621 * libio/iofgets_u.c (fgets_unlocked): Rename to __fgets_unlocked
622 and define as weak alias of __fgets_unlocked. Use
623 libc_hidden_weak.
624 (__fgets_unlocked): Use libc_hidden_def.
625 * include/stdio.h (__fgets_unlocked): Declare. Use
626 libc_hidden_proto.
627 * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Use
628 __fgets_unlocked instead of fgets_unlocked.
629 * sysdeps/unix/sysv/linux/alpha/getsysstats.c
630 (GET_NPROCS_CONF_PARSER): Likewise.
631 * sysdeps/unix/sysv/linux/sparc/getsysstats.c
632 (GET_NPROCS_CONF_PARSER): Likewise.
633
01cad84e
JM
634 [BZ #17574]
635 * wcsmbs/wmemset.c (wmemset): Rename to __wmemset and define as
636 weak alias of __wmemset. Use libc_hidden_weak.
637 (__wmemset): Use libc_hidden_def.
638 * include/wchar.h (__wmemset): Declare. Use libc_hidden_proto.
639 * stdio-common/printf_fp.c (___printf_fp): Call __wmemset instead
640 of wmemset.
641
939da411
JM
642 [BZ #17573]
643 * include/string.h [NOT_IN_libc || !SHARED] (mempcpy): Declare
644 with asm name __mempcpy.
645 [NOT_IN_libc || !SHARED] (stpcpy): Declare with asm name __stpcpy.
646
293d9a41
JM
647 [BZ #17572]
648 * sysdeps/x86_64/rawmemchr.S (rawmemchr): Rename to __rawmemchr
649 and define as weak alias of __rawmemchr.
650 (__rawmemchr): Do not define as strong alias of rawmemchr.
651
bef8fd60
JM
652 [BZ #17571]
653 * stdlib/msort.c (qsort_r): Rename to __qsort_r and define as weak
654 alias of __qsort_r.
655 (qsort): Call __qsort_r instead of qsort_r.
656 * include/stdlib.h (qsort_r): Do not call libc_hidden_proto.
657 (__qsort_r): Declare. Call libc_hidden_proto.
658 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Call __qsort_r
659 instead of qsort_r.
660 * nscd/gai.c (__qsort_r): Define to qsort_r.
661 * posix/tst-rfc3484.c (__qsort_r): Likewise.
662 * posix/tst-rfc3484-2.c (__qsort_r): Likewise.
663 * posix/tst-rfc3484-3.c (__qsort_r): Likewise.
664
c52ff39e
JM
665 [BZ #17570]
666 * malloc/malloc.c (malloc_info): Rename to __malloc_info and
667 define as weak alias of __malloc_info.
668
2f5c1b00
JM
669 [BZ #17584]
670 * dirent/rewinddir.c (rewinddir): Rename to __rewinddir and define
671 as weak alias of __rewinddir. Don't use libc_hidden_def.
672 (__rewinddir): Use libc_hidden_def.
673 * sysdeps/mach/hurd/rewinddir.c: Rename to __rewinddir and define
674 as weak alias of __rewinddir. Don't use libc_hidden_def.
675 (__rewinddir): Use libc_hidden_def.
676 * sysdeps/posix/rewinddir.c: Rename to __rewinddir and define as
677 weak alias of __rewinddir. Don't use libc_hidden_def.
678 (__rewinddir): Use libc_hidden_def.
679 * include/dirent.h (rewinddir): Don't use libc_hidden_proto.
680 (__rewinddir): Use libc_hidden_proto.
681 * sysdeps/posix/getcwd.c [!_LIBC] (__rewinddir): Define to
682 rewinddir.
683 (__getcwd): Use __rewinddir instead of rewinddir.
684
5a6fa4d7
JM
685 [BZ #17583]
686 * libio/fileno.c (fileno): Rename to __fileno and define as weak
687 alias of __fileno. Use libc_hidden_weak.
688 (__fileno): Use libc_hidden_def.
689 [weak_alias] (fileno_unlocked): Define as weak alias of __fileno.
690 * libio/ftello.c (ftello): Rename to __ftello and define as weak
691 alias of __ftello.
692 [__OFF_T_MATCHES_OFF64_T] (ftello64): Define as weak alias of
693 __ftello.
694 * libio/iofread.c [weak_alias && !_IO_MTSAFE_IO]
695 (__fread_unlocked): Define as strong alias of _IO_fread. Use
696 libc_hidden_def.
697 (fread_unlocked): Don't use libc_hidden_ver.
698 * libio/iofread_u.c (fread_unlocked): Rename to __fread_unlocked
699 and define as weak alias of __fread_unlocked. Don't use
700 libc_hidden_def.
701 (__fread_unlocked): Use libc_hidden_def.
702 * include/stdio.h (__fileno): Declare. Use libc_hidden_proto.
703 (ftello): Don't use libc_hidden_proto.
704 (__ftello): Declare. Use libc_hidden_proto.
705 (fread_unlocked): Don't use libc_hidden_proto.
706 (__fread_unlocked): Declare. Use libc_hidden_proto.
707 * time/tzfile.c (__tzfile_read): Use __fileno, __fread_unlocked
708 and __ftello instead of fileno, fread_unlocked and ftello.
709
2581b98e
SP
7102012-11-12 Siddhesh Poyarekar <siddhesh@redhat.com>
711
712 * sysdeps/s390/s390-32/bcopy.S (__bcopy): Use GOT instead of
713 GOT12.
714 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_load_address):
715 Likewise.
716 (_dl_start_user): Likewise.
717 * sysdeps/s390/s390-32/setjmp.S (__sigsetjmp): Likewise.
718
533bb7c2
SP
7192014-11-12 Carlos O'Donell <carlos@redhat.com>
720 Siddhesh Poyarekar <siddhesh@redhat.com>
721
722 * sysdeps/s390/s390-32/dl-machine.h (_dl_start_user):
723 Move argv and envp down instead of moving argc up.
724 * sysdeps/s390/s390-32/dl-sysdep.h: New file.
725
fffa1cf8
LH
7262014-11-12 Leonhard Holz <leonhard.holz@web.de>
727
728 [BZ #17506]
729 * test-skeleton.c (main): Return successful if one of
730 EXPECTED_SIGNAL or EXPECTED_STATUS is met when both given.
731 * string/tst-strcoll-overflow.c: Define expected status.
732
fb89b46d
TU
7332014-11-12 Tatiana Udalova <t.udalova@samsung.com>
734
735 [BZ #17475]
736 * locale/iso-639.def: Define Bhili and Tulu language codes.
737
5c40c3ba
AH
7382014-11-11 Alan Hayward <alan.hayward@arm.com>
739
740 * sysdeps/unix/sysv/linux/aarch64/bits/ipc.h: New file.
741
b17fe01b 7422014-11-10 Renlin Li <Renlin.Li@arm.com>
80085def
RL
743
744 [BZ #17555]
745 * sysdeps/aarch64/start.S (_start): Delete x29 overwritten assignment.
746
bd805071
AS
7472014-11-10 Andrew Senkevich <andrew.n.senkevich@gmail.com>
748
749 * configure.ac: Updated check of minimal required version to
750 2.22.
751 * manual/install.texi (Tools for Compilation): Updated version
752 number.
753 * configure: Regenerated.
754 * INSTALL: Likewise.
755
1400983e
AS
7562014-11-07 Andreas Schwab <schwab@linux-m68k.org>
757
758 * sysdeps/unix/sysv/linux/m68k/localplt.data (ld.so): Remove
759 __tls_get_addr.
760
2c46a66a
JM
7612014-11-07 Joseph Myers <joseph@codesourcery.com>
762
763 * include/sys/wait.h (__libc_waitpid): Remove declaration.
764 * posix/waitpid.c (__libc_waitpid): Rename to __waitpid.
765 (__waitpid): Don't define as alias. Use libc_hidden_def not
766 libc_hidden_weak.
767 (waitpid): Define as alias of __waitpid.
768 * sysdeps/unix/bsd/waitpid.c (__libc_waitpid): Rename to
769 __waitpid.
770 (__waitpid): Don't define as alias. Use libc_hidden_def not
771 libc_hidden_weak.
772 (waitpid): Define as alias of __waitpid.
773 * sysdeps/unix/sysv/linux/i386/syscalls.list (waitpid): Remove
774 __libc_waitpid alias.
775 * sysdeps/unix/sysv/linux/m68k/syscalls.list (waitpid): Likewise.
776 * sysdeps/unix/sysv/linux/powerpc/syscalls.list (waitpid):
777 Likewise.
778 * sysdeps/unix/sysv/linux/sh/syscalls.list (waitpid): Likewise.
779 * sysdeps/unix/sysv/linux/sparc/syscalls.list (waitpid): Likewise.
780 * sysdeps/unix/sysv/linux/tile/waitpid.S (__libc_waitpid): Remove
781 alias.
782 * sysdeps/unix/sysv/linux/waitpid.c (__libc_waitpid): Rename to
783 __waitpid.
784 (__waitpid): Don't define as alias. Use libc_hidden_def not
785 libc_hidden_weak.
786 (waitpid): Define as alias of __waitpid.
787
da53d6db
CD
7882014-11-06 Carlos O'Donell <carlos@redhat.com>
789
a2887bdb
CD
790 * manual/llio.texi: Add comment that write safety has been
791 fixed in Linux.
792
da53d6db
CD
793 * elf/Makefile (all-built-dso): Add $(common-objpfx)elf/ld.so.
794 (localplt-build-dso): Add elf/ld.so.
795 * sysdeps/unix/sysv/linux/i386/localplt.data: Add ___tls_get_addr
796 i.e. 3 underscore version, __libc_memalign, malloc, calloc, realloc,
797 and free for ld.so.
798 * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data: Add
799 __libc_memalign, malloc, calloc, realloc, and free for ld.so.
800 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data:
801 Likewise.
802 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data:
803 Likewise.
804 * sysdeps/unix/sysv/linux/s390/localplt.data: Likewise.
805 * sysdeps/generic/localplt.data: Add __tls_get_addr i.e. 2 underscore
806 version, __libc_memalign, malloc, calloc, realloc and free for ld.so.
807 * sysdeps/unix/sysv/linux/aarch64/localplt.data: Likewise.
808 * sysdeps/unix/sysv/linux/arm/localplt.data: Likewise.
809 * sysdeps/unix/sysv/linux/alpha/localplt.data: Likewise.
810 * sysdeps/unix/sysv/linux/ia64/localplt.data: Likewise.
811 * sysdeps/unix/sysv/linux/m68k/localplt.data: Likewise.
812 * sysdeps/unix/sysv/linux/microblaze/localplt.data: Likewise.
813 * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: Likewise.
814 * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: Likewise.
815
9cf27b8d
JM
8162014-11-05 Joseph Myers <joseph@codesourcery.com>
817
818 [BZ #14132]
819 * include/libc-symbols.h (INTUSE): Remove macro.
820 (INTDEF): Likewise.
821 (INTVARDEF): Likewise.
822 (_INTVARDEF): Likewise.
823 (INTDEF2): Likewise.
824 (INTVARDEF2): Likewise.
825 * elf/rtld.c [!HAVE_INLINED_SYSCALLS] (_dl_starting_up): Use
826 rtld_hidden_def instead of INTVARDEF.
827 * sysdeps/generic/ldsodefs.h [IS_IN_rtld]
828 (_dl_starting_up_internal): Remove declaration.
829 (_dl_starting_up): Use rtld_hidden_proto.
830 * elf/dl-init.c [!HAVE_INLINED_SYSCALLS] (_dl_starting_up): Remove
831 declaration.
832 [!HAVE_INLINED_SYSCALLS] (_dl_starting_up_internal): Likewise.
833 (_dl_init) [!HAVE_INLINED_SYSCALLS]: Don't use INTUSE with
834 _dl_starting_up.
835 * elf/dl-writev.h (_dl_writev): Likewise.
836 * sysdeps/powerpc/powerpc64/dl-machine.h [!HAVE_INLINED_SYSCALLS]
837 (DL_STARTING_UP_DEF): Use __GI__dl_starting_up instead of
838 _dl_starting_up_internal.
839
af83568d
AZ
8402014-11-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
841
842 * stdio-common/tst-fmemopen.c (do_test): Refactor to use
843 test-skeleton.c.
844
b01ee67c
WN
8452014-11-05 Will Newton <will.newton@linaro.org>
846
847 * benchtests/Makefile: (bench-malloc): Add malloc thread
848 scalability benchmark.
849 * benchtests/bench-malloc-threads.c: New file.
850
be9d4ccc
RE
8512014-11-05 Richard Earnshaw <rearnsha@arm.com>
852
853 * sysdeps/aarch64/strchrnul.S: New file.
854
7110166d
AZ
8552014-11-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
856
857 * sysdeps/powerpc/powerpc64/power8/memset.S (MTVSRD_V1_R4): Simplify
858 definition.
859 * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S (MFVSRD_R3_V1):
860 Likwise.
861 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S (MFVSRD_R3_V1):
862 Likewise.
863 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (MFVSRD_R3_V1):
864 Likewise.
865 * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S (MFVSRD_R3_V1):
866 Likewise.
867 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S (MFVSRD_R3_V1):
868 Likewise.
869
8702014-11-05 Arjun Shankar <arjun.is@lostca.se>
29955b5d
AS
871
872 * catgets/test-gencat.c: Use test-skeleton.c.
873 * catgets/tst-catgets.c: Likewise.
874 * csu/tst-empty.c: Likewise.
875 * elf/tst-audit2.c: Likewise.
876 * elf/tst-global1.c: Likewise.
877 * elf/tst-pathopt.c: Likewise.
878 * elf/tst-piemod1.c: Likewise.
879 * elf/tst-tls10.c: Likewise.
880 * elf/tst-tls11.c: Likewise.
881 * elf/tst-tls12.c: Likewise.
882 * gnulib/tst-gcc.c: Likewise.
883 * iconvdata/tst-e2big.c: Likewise.
884 * iconvdata/tst-loading.c: Likewise.
885 * iconv/tst-iconv1.c: Likewise.
886 * iconv/tst-iconv2.c: Likewise.
887 * inet/test-inet6_opt.c: Likewise.
888 * inet/tst-gethnm.c: Likewise.
889 * inet/tst-network.c: Likewise.
890 * inet/tst-ntoa.c: Likewise.
891 * intl/tst-codeset.c: Likewise.
892 * intl/tst-gettext2.c: Likewise.
893 * intl/tst-gettext3.c: Likewise.
894 * intl/tst-ngettext.c: Likewise.
895 * intl/tst-translit.c: Likewise.
896 * io/test-stat.c: Likewise.
897 * libio/test-fmemopen.c: Likewise.
898 * libio/tst-freopen.c: Likewise.
899 * libio/tst-sscanf.c: Likewise.
900 * libio/tst-ungetwc1.c: Likewise.
901 * libio/tst-ungetwc2.c: Likewise.
902 * libio/tst-widetext.c: Likewise.
903 * localedata/tst-ctype.c: Likewise.
904 * localedata/tst-digits.c: Likewise.
905 * localedata/tst-leaks.c: Likewise.
906 * localedata/tst-mbswcs1.c: Likewise.
907 * localedata/tst-mbswcs2.c: Likewise.
908 * localedata/tst-mbswcs3.c: Likewise.
909 * localedata/tst-mbswcs4.c: Likewise.
910 * localedata/tst-mbswcs5.c: Likewise.
911 * localedata/tst-setlocale.c: Likewise.
912 * localedata/tst-trans.c: Likewise.
913 * localedata/tst-wctype.c: Likewise.
914 * localedata/tst-xlocale1.c: Likewise.
915 * login/tst-grantpt.c: Likewise.
916 * malloc/tst-calloc.c: Likewise.
917 * malloc/tst-malloc.c: Likewise.
918 * malloc/tst-mallocstate.c: Likewise.
919 * malloc/tst-mcheck.c: Likewise.
920 * malloc/tst-mtrace.c: Likewise.
921 * malloc/tst-obstack.c: Likewise.
922 * math/atest-exp2.c: Likewise.
923 * math/atest-exp.c: Likewise.
924 * math/atest-sincos.c: Likewise.
925 * math/test-matherr.c: Likewise.
926 * math/test-misc.c: Likewise.
927 * math/test-powl.c: Likewise.
928 * math/tst-definitions.c: Likewise.
929 * misc/tst-dirname.c: Likewise.
930 * misc/tst-efgcvt.c: Likewise.
931 * misc/tst-fdset.c: Likewise.
932 * misc/tst-hsearch.c: Likewise.
933 * misc/tst-mntent2.c: Likewise.
934 * nptl/tst-sem7.c: Likewise.
935 * nptl/tst-sem8.c: Likewise.
936 * nptl/tst-sem9.c: Likewise.
937 * nss/test-netdb.c: Likewise.
938 * posix/tst-fnmatch.c: Likewise.
939 * posix/tst-getlogin.c: Likewise.
940 * posix/tst-gnuglob.c: Likewise.
941 * posix/tst-mmap.c: Likewise.
942 * pwd/tst-getpw.c: Likewise.
943 * resolv/tst-inet_ntop.c: Likewise.
944 * rt/tst-timer.c: Likewise.
945 * stdio-common/test-fseek.c: Likewise.
946 * stdio-common/test-popen.c: Likewise.
947 * stdio-common/test-vfprintf.c: Likewise.
948 * stdio-common/tst-cookie.c: Likewise.
949 * stdio-common/tst-fileno.c: Likewise.
950 * stdio-common/tst-gets.c: Likewise.
951 * stdio-common/tst-obprintf.c: Likewise.
952 * stdio-common/tst-perror.c: Likewise.
953 * stdio-common/tst-sprintf2.c: Likewise.
954 * stdio-common/tst-sprintf3.c: Likewise.
955 * stdio-common/tst-sprintf.c: Likewise.
956 * stdio-common/tst-swprintf.c: Likewise.
957 * stdio-common/tst-tmpnam.c: Likewise.
958 * stdio-common/tst-unbputc.c: Likewise.
959 * stdio-common/tst-wc-printf.c: Likewise.
960 * stdlib/tst-environ.c: Likewise.
961 * stdlib/tst-fmtmsg.c: Likewise.
962 * stdlib/tst-limits.c: Likewise.
963 * stdlib/tst-rand48-2.c: Likewise.
964 * stdlib/tst-rand48.c: Likewise.
965 * stdlib/tst-random2.c: Likewise.
966 * stdlib/tst-random.c: Likewise.
967 * stdlib/tst-strtol.c: Likewise.
968 * stdlib/tst-strtoll.c: Likewise.
969 * stdlib/tst-tls-atexit.c: Likewise.
970 * stdlib/tst-xpg-basename.c: Likewise.
971 * string/test-ffs.c: Likewise.
972 * string/tst-bswap.c: Likewise.
973 * string/tst-inlcall.c: Likewise.
974 * string/tst-strtok.c: Likewise.
975 * string/tst-strxfrm.c: Likewise.
976 * sysdeps/x86_64/tst-audit10.c: Likewise.
977 * sysdeps/x86_64/tst-audit3.c: Likewise.
978 * sysdeps/x86_64/tst-audit4.c: Likewise.
979 * sysdeps/x86_64/tst-audit5.c: Likewise.
980 * time/tst-ftime_l.c: Likewise.
981 * time/tst-getdate.c: Likewise.
982 * time/tst-mktime3.c: Likewise.
983 * time/tst-mktime.c: Likewise.
984 * time/tst-posixtz.c: Likewise.
985 * time/tst-strptime2.c: Likewise.
986 * time/tst-strptime3.c: Likewise.
987 * wcsmbs/tst-btowc.c: Likewise.
988 * wcsmbs/tst-mbrtowc.c: Likewise.
989 * wcsmbs/tst-mbsrtowcs.c: Likewise.
990 * wcsmbs/tst-wchar-h.c: Likewise.
991 * wcsmbs/tst-wcpncpy.c: Likewise.
992 * wcsmbs/tst-wcrtomb.c: Likewise.
993 * wcsmbs/tst-wcsnlen.c: Likewise.
994 * wcsmbs/tst-wcstof.c: Likewise.
995
2004e7fb
JM
9962014-11-04 Joseph Myers <joseph@codesourcery.com>
997
ab97ee8f
JM
998 [BZ #14132]
999 * elf/dl-profile.c (_dl_mcount): Use rtld_hidden_def instead of
1000 INTDEF.
1001 * sysdeps/generic/ldsodefs.h (_dl_mcount_internal): Remove
1002 declaration.
1003 (_dl_mcount): Use rtld_hidden_proto.
1004 * elf/dl-runtime.c (_dl_profile_fixup): Don't use INTUSE with
1005 _dl_mcount.
1006 * elf/rtld.c (_rtld_global_ro): Likewise.
1007
c5684fdb
JM
1008 [BZ #14132]
1009 * elf/dl-init.c (_dl_init): Don't use INTDEF.
1010 * sysdeps/aarch64/dl-machine.h (RTLD_START): Use _dl_init instead
1011 of _dl_init_internal.
1012 * sysdeps/alpha/dl-machine.h (RTLD_START): Likewise.
1013 * sysdeps/arm/dl-machine.h (RTLD_START): Likewise.
1014 * sysdeps/hppa/dl-machine.h (RTLD_START): Likewise.
1015 * sysdeps/i386/dl-machine.h (RTLD_START): Likewise.
1016 * sysdeps/ia64/dl-machine.h (RTLD_START): Likewise.
1017 * sysdeps/m68k/dl-machine.h (RTLD_START): Likewise.
1018 * sysdeps/microblaze/dl-machine.h (RTLD_START): Likewise.
1019 * sysdeps/mips/dl-machine.h (RTLD_START): Likewise.
1020 * sysdeps/powerpc/powerpc32/dl-start.S (_start): Likewise.
1021 * sysdeps/s390/s390-32/dl-machine.h (RTLD_START): Likewise.
1022 * sysdeps/s390/s390-64/dl-machine.h (RTLD_START): Likewise.
1023 * sysdeps/sh/dl-machine.h (RTLD_START): Likewise.
1024 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
1025 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
1026 * sysdeps/tile/dl-start.S (_start): Likewise.
1027 * sysdeps/x86_64/dl-machine.h (RTLD_START): Likewise.
1028 * sysdeps/x86_64/x32/dl-machine.h (RTLD_START): Likewise.
1029
4243cbea
JM
1030 [BZ #14132]
1031 * sysdeps/generic/ldsodefs.h (_dl_argv): Use rtld_hidden_proto.
1032 [IS_IN_rtld] (_dl_argv_internal): Do not declare.
1033 (rtld_progname): Make macro definition unconditional.
1034 * elf/rtld.c (_dl_argv): Use rtld_hidden_data_def instead of
1035 INTDEF.
1036 (dlmopen_doit): Do not use INTUSE with _dl_argv.
1037 (dl_main): Likewise.
1038 * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
1039 * sysdeps/alpha/dl-machine.h (RTLD_START): Use __GI__dl_argv
1040 instead of _dl_argv_internal.
1041 * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
1042 __GI__dl_argv instead of INTUSE(_dl_argv).
1043 * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Use
1044 __GI__dl_argv instead of _dl_argv_internal.
1045
2004e7fb
JM
1046 * soft-fp/op-common.h (_FP_TO_INT_ROUND): New macro.
1047 * soft-fp/double.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_D): New
1048 macro.
1049 [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_D): Likewise.
1050 * soft-fp/extended.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_E):
1051 New macro.
1052 [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_E): Likewise.
1053 * soft-fp/quad.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_Q): New
1054 macro.
1055 [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_Q): Likewise.
1056 * soft-fp/single.h (FP_TO_INT_ROUND_S): New macro.
1057
97827bfc
AS
10582014-11-04 Andreas Schwab <schwab@suse.de>
1059
1060 * posix/regex_internal.h: Don't include <locale/elem-hash.h>.
1061
5e4df284
AZ
10622014-11-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1063
1064 * sysdeps/powerpc/powerpc64/power8/memset.S (MTVSRD_V1_R4): Encode
1065 mtvsrd instruction in binary form.
1066
04b76b5a
AS
10672014-11-03 Andreas Schwab <schwab@suse.de>
1068
1069 [BZ #17522]
1070 * libio/wfileops.c (_IO_wdo_write): If the file buffer has room
1071 for less than MB_LEN_MAX use a local buffer of that size.
1072 * libio/tst-fputws.c: New file.
1073 * libio/Makefile (tests): Add tst-fputws.
1074
4c6da7da
JM
10752014-11-01 Jose E. Marchesi <jose.marchesi@oracle.com>
1076
1077 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu): fix
1078 the size of the fpu_fr.fpu_dregs[] array.
1079
1679ba8e
JM
10802014-11-01 Joseph Myers <joseph@codesourcery.com>
1081
1082 * posix/nanosleep.c (__libc_nanosleep): Rename to __nanosleep.
1083 (__nanosleep): Do not define as alias.
1084 (nanosleep): Define as alias of __nanosleep.
1085 * sysdeps/unix/sysv/linux/syscalls.list (nanosleep): Remove
1086 __libc_nanosleep name.
1087
2626c183
JM
10882014-10-31 Joseph Myers <joseph@codesourcery.com>
1089
1090 * aclocal.m4 (GLIBC_AUTOCONF_VERSION): Mention need to update
1091 install.texi in comment.
1092
7f981fc2
TR
10932014-10-31 Torvald Riegel <triegel@redhat.com>
1094
1095 * sysdeps/powerpc/bits/atomic.h (atomic_write_barrier): Remove and...
1096 * sysdeps/powerpc/powerpc32/bits/atomic.h (atomic_write_barrier):
1097 ... add here and use lwsync or sync ...
1098 * sysdeps/powerpc/powerpc64/bits/atomic.h (atomic_write_barrier):
1099 ... and add here using lwsync.
1100
d6f373d2
MF
11012014-10-31 Matthew Fortune <matthew.fortune@imgtec.com>
1102
1103 * elf/dl-machine-reject-phdr.h: New file.
1104 * elf/dl-load.c: #include that.
1105 (open_verify): Call elf_machine_reject_phdr_p and ignore the file
1106 if that returned true.
1107
67c37987
RM
11082014-10-31 Roland McGrath <roland@hack.frob.com>
1109
1110 [BZ #17496]
1111 * Makerules: Move gnu/lib-names.h generation chunk up, to right after
1112 gen-as-const-headers chunk. Add a big scare comment after the last
1113 safe place to touch before-compile.
1114
94a42455 11152014-10-31 Joseph Myers <joseph@codesourcery.com>
f62ff286 1116
f3f5d895
JM
1117 * manual/install.texi (Tools for Compilation): Update autoconf
1118 version requirements.
1119 * INSTALL: Regenerated.
1120
f62ff286
JM
1121 * misc/pselect.c [!__pselect] (__libc_pselect): Remove alias.
1122 * sysdeps/unix/sysv/linux/pselect.c [__NR_pselect6]
1123 (__libc_pselect): Likewise.
94a42455
JM
1124
1125 [BZ #14138]
1126 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Remove file.
1127 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
1128 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
1129 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
1130
ff9dbdc0
TR
11312014-10-31 Torvald Riegel <triegel@redhat.com>
1132
1133 * sysdeps/sparc/sparc32/bits/atomic.h (atomic_write_barrier): Use
1134 correct barrier instruction.
1135 * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (atomic_write_barrier):
1136 Likewise.
1137 * sysdeps/sparc/sparc64/bits/atomic.h (atomic_write_barrier):
1138 Likewise.
1139
b4f66884
RM
11402014-10-30 Roland McGrath <roland@hack.frob.com>
1141
1142 * include/ctype.h: Include <ctype/ctype.h> first thing rather than
1143 after defining inlines. Instead, just use parens to defeat macro
1144 expansion of __isctype in its declaration.
1145
e19c95fd
JM
11462014-10-30 Joseph Myers <joseph@codesourcery.com>
1147
1148 * include/sys/uio.h (__libc_readv): Remove declaration.
1149 (__libc_writev): Likewise.
1150 * misc/readv.c (__libc_readv): Rename to __readv.
1151 (__readv): Do not define as alias.
1152 (readv): Define as alias of __readv.
1153 * misc/writev.c (__libc_writev): Rename to __writev.
1154 (__writev): Do not define as alias.
1155 (writev): Define as alias of __writev.
1156 * sysdeps/posix/readv.c (__libc_readv): Rename to __readv.
1157 (__readv): Do not define as alias.
1158 (readv): Define unconditionally as alias of __readv.
1159 * sysdeps/posix/writev.c (__libc_writev): Rename to __writev.
1160 (__writev): Do not define as alias.
1161 (writev): Define unconditionally as alias of __writev.
1162 * sysdeps/unix/syscalls.list (readv): Do not define __libc_readv
1163 name.
1164 (writev): Do not define __libc_writev name.
1165
65b00b6c
RM
11662014-10-30 Roland McGrath <roland@hack.frob.com>
1167
1168 * iconv/iconv_charmap.c (add_bytes): Make IN argument pointer to const.
1169 (convert_charseq): New function, broken out of ...
1170 (use_from_charmap): ... here. Call it.
1171 (use_to_charmap): Use convert_charseq and free instead of duplicating
1172 its code with a variable-length stack struct.
1173
d4e157aa
JM
11742014-10-30 Joseph Myers <joseph@codesourcery.com>
1175
1176 * include/fcntl.h (__libc_creat): Remove declaration.
1177 * io/creat.c (__libc_creat): Rename to creat.
1178 (creat): Do not define as alias.
1179 * sysdeps/unix/sysv/linux/alpha/creat.c (creat64): Define as alias
1180 of creat instead of __libc_creat.
1181 * sysdeps/unix/sysv/linux/generic/creat.c (__libc_creat): Rename
1182 to creat.
1183 (creat): Do not define as alias.
1184 [__WORDSIZE == 64] (creat64): Define as alias of creat instead of
1185 __libc_creat.
1186 * sysdeps/unix/sysv/linux/syscalls.list (creat): Do not define
1187 __libc_creat name.
1188 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (creat):
1189 Likewise.
1190
0c6891a0
CD
11912014-10-29 Carlos O'Donell <carlos@redhat.com>
1192
1193 * manual/llio.texi: Add comments discussing why write() may be
1194 considered MT-unsafe on Linux.
1195
cc00cece
CD
11962014-10-28 Carlos O'Donell <carlos@redhat.com>
1197
1198 * dl-load.c (local_strdup): Remove.
1199 (expand_dynamic_string_token): Use __strdup.
1200 (decompose_rpath): Likewise.
1201 (_dl_map_object): Likewise.
1202
51e623f2
JM
12032014-10-28 Joseph Myers <joseph@codesourcery.com>
1204
1205 [BZ #14132]
1206 * sysdeps/generic/unwind-dw2-fde.c
1207 (__register_frame_info_bases_internal): Do not declare.
1208 (__register_frame_info_table_bases_internal): Likewise.
1209 (__deregister_frame_info_bases_internal): Likewise.
1210 (__register_frame_info_bases): Declare and use hidden_proto before
1211 definition. Use hidden_def instead of INTDEF.
1212 (__register_frame_info_table_bases): Likewise.
1213 (__deregister_frame_info_bases): Likewise.
1214 (__register_frame_info): Do not use INTUSE.
1215 (__register_frame): Likewise.
1216 (__register_frame_info_table): Likewise.
1217 (__register_frame_table): Likewise.
1218 (__deregister_frame_info): Likewise.
1219 (__deregister_frame): Likewise.
1220
03d41216
GC
12212014-10-27 Gratian Crisan <gratian.crisan@ni.com>
1222
1223 * sysdeps/unix/sysv/linux/arm/kernel-features.h
1224 [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_FUTEX_LOCK_PI): Do
1225 not undefine.
1226 [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_REQUEUE_PI):
1227 Likewise.
1228 [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_SET_ROBUST_LIST):
1229 Likewise.
1230
a4b3624d
JM
12312014-10-27 Joseph Myers <joseph@codesourcery.com>
1232
1233 [BZ #14138]
1234 * sysdeps/unix/sysv/linux/arm/setfsgid.c: Remove file.
1235 * sysdeps/unix/sysv/linux/arm/setfsuid.c: Likewise.
1236 * sysdeps/unix/sysv/linux/i386/setfsgid.c: Likewise.
1237 * sysdeps/unix/sysv/linux/i386/setfsuid.c: Likewise.
1238 * sysdeps/unix/sysv/linux/m68k/setfsgid.c: Likewise.
1239 * sysdeps/unix/sysv/linux/m68k/setfsuid.c: Likewise.
1240 * sysdeps/unix/sysv/linux/s390/s390-32/setfsgid.c: Likewise.
1241 * sysdeps/unix/sysv/linux/s390/s390-32/setfsuid.c: Likewise.
1242 * sysdeps/unix/sysv/linux/sh/setfsgid.c: Likewise.
1243 * sysdeps/unix/sysv/linux/sh/setfsuid.c: Likewise.
1244 * sysdeps/unix/sysv/linux/sparc/sparc32/setfsgid.c: Likewise.
1245 * sysdeps/unix/sysv/linux/sparc/sparc32/setfsuid.c: Likewise.
1246 * sysdeps/unix/sysv/linux/arm/syscalls.list (setfsgid): Add
1247 syscall.
1248 (setfsuid): Likewise.
1249 * sysdeps/unix/sysv/linux/i386/syscalls.list (setfsgid): Likewise.
1250 (setfsuid): Likewise.
1251 * sysdeps/unix/sysv/linux/m68k/syscalls.list (setfsgid): Likewise.
1252 (setfsuid): Likewise.
1253 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (setfsgid):
1254 Likewise.
1255 (setfsuid): Likewise.
1256 * sysdeps/unix/sysv/linux/sh/syscalls.list (setfsgid): Likewise.
1257 (setfsuid): Likewise.
1258 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (setfsgid):
1259 Likewise.
1260 (setfsuid): Likewise.
1261
3574f2fd
AS
12622014-10-27 Andreas Schwab <schwab@suse.de>
1263
1264 [BZ #17501]
1265 * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Fix
1266 check for Slow_SSE4_2 feature bit.
1267 * sysdeps/i386/i686/multiarch/strcmp.S (STRCMP): Likewise.
1268 * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
1269 * sysdeps/x86_64/multiarch/strcmp.S (STRCMP, __strcascmp):
1270 Likewise. Fix check for Fast_Unaligned_Load feature bit.
1271
70996a37
RM
12722014-10-24 Roland McGrath <roland@hack.frob.com>
1273
461a7b1e
RM
1274 * configure.ac: Validate compiler version with a empirical test of
1275 __GNUC__ and __GNUC_MINOR__ predefined values, rather than by grepping
1276 $CC -v output.
1277 * configure: Regenerated.
1278
70996a37
RM
1279 * inet/htons.c (htons): Prototypify.
1280 * inet/htonl.c (htonl): Likewise.
1281
e80514b5
WD
12822014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
1283
1284 * string/strncat.c (strncat): Improve performance by using strlen.
1285
6e46de42
WD
12862014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
1287
1288 * string/strcat.c (strcat): Improve performance by using strlen/strcpy.
1289
6a9ad2fa
WD
12902014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
1291
1292 * sysdeps/aarch64/fpu/fgetexcptflg.c (fegetexceptflag):
1293 Call libc_fetestexcept_aarch64.
1294
1c8810ed
WD
12952014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
1296
1297 * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept):
1298 Call libc_feholdexcept_aarch64.
1299
8b1af712
WD
13002014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
1301
1302 * sysdeps/aarch64/fpu/fegetround.c (fegetround):
1303 Call get_rounding_mode.
1304
a7b00c11
WD
13052014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
1306
1307 * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept):
1308 Simplify logic.
1309
3a84f1a6
WD
13102014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
1311
1312 * sysdeps/aarch64/fpu/fedisblxcpt.c (fedisableexcept):
1313 Simplify logic.
1314
48eb7a94
JM
13152014-10-24 Joseph Myers <joseph@codesourcery.com>
1316
c8bc4038
JM
1317 [BZ #14138]
1318 * sysdeps/unix/sysv/linux/arm/getegid.c: Remove file.
1319 * sysdeps/unix/sysv/linux/arm/geteuid.c: Likewise.
1320 * sysdeps/unix/sysv/linux/arm/getgid.c: Likewise.
1321 * sysdeps/unix/sysv/linux/arm/getgroups.c: Likewise.
1322 * sysdeps/unix/sysv/linux/arm/getresgid.c: Likewise.
1323 * sysdeps/unix/sysv/linux/arm/getresuid.c: Likewise.
1324 * sysdeps/unix/sysv/linux/arm/getuid.c: Likewise.
1325 * sysdeps/unix/sysv/linux/i386/getegid.c: Likewise.
1326 * sysdeps/unix/sysv/linux/i386/geteuid.c: Likewise.
1327 * sysdeps/unix/sysv/linux/i386/getgid.c: Likewise.
1328 * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
1329 * sysdeps/unix/sysv/linux/i386/getresgid.c: Likewise.
1330 * sysdeps/unix/sysv/linux/i386/getresuid.c: Likewise.
1331 * sysdeps/unix/sysv/linux/i386/getuid.c: Likewise.
1332 * sysdeps/unix/sysv/linux/m68k/getegid.c: Likewise.
1333 * sysdeps/unix/sysv/linux/m68k/geteuid.c: Likewise.
1334 * sysdeps/unix/sysv/linux/m68k/getgid.c: Likewise.
1335 * sysdeps/unix/sysv/linux/m68k/getgroups.c: Likewise.
1336 * sysdeps/unix/sysv/linux/m68k/getresgid.c: Likewise.
1337 * sysdeps/unix/sysv/linux/m68k/getresuid.c: Likewise.
1338 * sysdeps/unix/sysv/linux/m68k/getuid.c: Likewise.
1339 * sysdeps/unix/sysv/linux/s390/s390-32/getegid.c: Likewise.
1340 * sysdeps/unix/sysv/linux/s390/s390-32/geteuid.c: Likewise.
1341 * sysdeps/unix/sysv/linux/s390/s390-32/getgid.c: Likewise.
1342 * sysdeps/unix/sysv/linux/s390/s390-32/getgroups.c: Likewise.
1343 * sysdeps/unix/sysv/linux/s390/s390-32/getresgid.c: Likewise.
1344 * sysdeps/unix/sysv/linux/s390/s390-32/getresuid.c: Likewise.
1345 * sysdeps/unix/sysv/linux/s390/s390-32/getuid.c: Likewise.
1346 * sysdeps/unix/sysv/linux/sh/getegid.c: Likewise.
1347 * sysdeps/unix/sysv/linux/sh/geteuid.c: Likewise.
1348 * sysdeps/unix/sysv/linux/sh/getgid.c: Likewise.
1349 * sysdeps/unix/sysv/linux/sh/getgroups.c: Likewise.
1350 * sysdeps/unix/sysv/linux/sh/getresgid.c: Likewise.
1351 * sysdeps/unix/sysv/linux/sh/getresuid.c: Likewise.
1352 * sysdeps/unix/sysv/linux/sh/getuid.c: Likewise.
1353 * sysdeps/unix/sysv/linux/sparc/sparc32/getegid.c: Likewise.
1354 * sysdeps/unix/sysv/linux/sparc/sparc32/geteuid.c: Likewise.
1355 * sysdeps/unix/sysv/linux/sparc/sparc32/getgid.c: Likewise.
1356 * sysdeps/unix/sysv/linux/sparc/sparc32/getgroups.c: Likewise.
1357 * sysdeps/unix/sysv/linux/sparc/sparc32/getuid.c: Likewise.
1358 * sysdeps/unix/sysv/linux/arm/syscalls.list (getegid): Add
1359 syscall.
1360 (geteuid): Likewise.
1361 (getgid): Likewise.
1362 (getuid): Likewise.
1363 (getresgid): Likewise.
1364 (getresuid): Likewise.
1365 (getgroups): Likewise.
1366 * sysdeps/unix/sysv/linux/i386/syscalls.list (getegid): Likewise.
1367 (geteuid): Likewise.
1368 (getgid): Likewise.
1369 (getuid): Likewise.
1370 (getresgid): Likewise.
1371 (getresuid): Likewise.
1372 (getgroups): Likewise.
1373 * sysdeps/unix/sysv/linux/m68k/syscalls.list (getegid): Likewise.
1374 (geteuid): Likewise.
1375 (getgid): Likewise.
1376 (getuid): Likewise.
1377 (getresgid): Likewise.
1378 (getresuid): Likewise.
1379 (getgroups): Likewise.
1380 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (getegid):
1381 Likewise.
1382 (geteuid): Likewise.
1383 (getgid): Likewise.
1384 (getuid): Likewise.
1385 (getresgid): Likewise.
1386 (getresuid): Likewise.
1387 (getgroups): Likewise.
1388 * sysdeps/unix/sysv/linux/sh/syscalls.list (getegid): Likewise.
1389 (geteuid): Likewise.
1390 (getgid): Likewise.
1391 (getuid): Likewise.
1392 (getresgid): Likewise.
1393 (getresuid): Likewise.
1394 (getgroups): Likewise.
1395 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (getegid):
1396 Likewise.
1397 (geteuid): Likewise.
1398 (getgid): Likewise.
1399 (getuid): Likewise.
1400 (getgroups): Likewise.
1401
48eb7a94
JM
1402 [BZ #14138]
1403 * sysdeps/unix/sysv/linux/i386/chown.c: Remove file.
1404 * sysdeps/unix/sysv/linux/i386/fchown.c: Likewise.
1405 * sysdeps/unix/sysv/linux/i386/lchown.c: Likewise.
1406 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
1407 * sysdeps/unix/sysv/linux/s390/s390-32/fchown.c: Remove file.
1408 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Likewise.
1409 * sysdeps/unix/sysv/linux/sh/chown.c: Likewise.
1410 * sysdeps/unix/sysv/linux/sh/fchown.c: Likewise.
1411 * sysdeps/unix/sysv/linux/sh/lchown.c: Likewise.
1412 * sysdeps/unix/sysv/linux/sparc/sparc32/chown.c: Likewise.
1413 * sysdeps/unix/sysv/linux/sparc/sparc32/fchown.c: Likewise.
1414 * sysdeps/unix/sysv/linux/sparc/sparc32/lchown.c: Likewise.
1415 * sysdeps/unix/sysv/linux/s390/s390-32/Versions (GLIBC_2.1): Add
1416 __chown.
1417 * sysdeps/unix/sysv/linux/i386/syscalls.list (chown): Add syscall.
1418 (lchown): Likewise.
1419 (fchown): Likewise.
1420 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (chown):
1421 Likewise.
1422 (lchown): Likewise.
1423 (fchown): Likewise.
1424 * sysdeps/unix/sysv/linux/sh/syscalls.list (chown): Likewise.
1425 (lchown): Likewise.
1426 (fchown): Likewise.
1427 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (chown):
1428 Likewise.
1429 (lchown): Likewise.
1430 (fchown): Likewise.
1431
ea9a7c8b
WD
14322014-10-23 Wilco Dijkstra <wdijkstr@arm.com>
1433
1434 * sysdeps/aarch64/fpu/fclrexcpt.c (feclearexcept):
1435 Simplify logic.
1436
e226de33
WD
14372014-10-23 Wilco Dijkstra <wdijkstr@arm.com>
1438
1439 * sysdeps/aarch64/fpu/fsetexcptflg.c (fsetexceptflag):
1440 Cleanup logic.
1441
6e3d8ed3
WD
14422014-10-23 Wilco Dijkstra <wdijkstr@arm.com>
1443
1444 * sysdeps/aarch64/fpu/fsetexcptflg.c (fsetexceptflag):
1445 Remove unused include.
1446
eb04247d
WD
14472014-10-23 Wilco Dijkstra <wdijkstr@arm.com>
1448
1449 * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Remove spaces.
1450 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Remove spaces.
1451 * sysdeps/aarch64/fpu/fesetround.c (fesetround): Remove spaces.
1452 * sysdeps/aarch64/fpu/fraiseexcpt.c (feraiseexcept): Remove spaces.
1453
13d84554
CD
14542014-10-23 Carlos O'Donell <carlos@systemhalted.org>
1455 Helge Deller <deller@gmx.de>
1456
1457 [BZ #17508]
1458 * sysdeps/unix/sysv/linux/hppa/bits/signum.h: Remove SIGEMT.
1459 Define SIGSTKFLT as 7. Define SIGSYS as 31. Define SIGXCPU as 12.
1460 Remove SIGLOST. Define SIGXFSZ as 30. Define __SIGRTMIN as 32.
1461
15f9c5df
JM
14622014-10-23 Joseph Myers <joseph@codesourcery.com>
1463
1464 [BZ #14132]
1465 * sysdeps/powerpc/powerpc32/libgcc-compat.S (__ashldi3_v_glibc20):
1466 Remove macro definition.
1467 (__ashrdi3_v_glibc20): Likewise.
1468 (__lshrdi3_v_glibc20): Likewise.
1469 (__cmpdi2_v_glibc20): Likewise.
1470 (__ucmpdi2_v_glibc20): Likewise.
1471 [!_SOFT_FLOAT && !__NO_FPRS__] (__fixdfdi_v_glibc20): Likewise.
1472 [!_SOFT_FLOAT && !__NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
1473 [!_SOFT_FLOAT && !__NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
1474 [!_SOFT_FLOAT && !__NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
1475 [!_SOFT_FLOAT && !__NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
1476 [!_SOFT_FLOAT && !__NO_FPRS__] (__floatdisf_v_glibc20): Likewise.
1477
c6dfed24
RM
14782014-10-22 Roland McGrath <roland@hack.frob.com>
1479
1480 * inet/netgroup.h (struct name_list): Use C99 [] syntax rather than
1481 old GNU extension [0] syntax.
1482 * nscd/nscd_helper.c (open_socket): Use a flexible array member and
1483 alloca rather than an array member with variable length.
1484 * nscd/netgroupcache.c (addgetnetgrentX): Likewise.
1485 * nscd/nscd.c (invalidate_db): New function, broken out of ...
1486 (parse_opt): ... here. Likewise use alloca there.
1487 Validate the -i argument before checking for rootness.
1488 (send_shutdown): New function, broken out of ...
1489 (parse_opt): ... here.
1490
8c2b1ed8
RM
14912014-10-22 Roland McGrath <roland@hack.frob.com>
1492
1493 * sysdeps/arm/__longjmp.S [NEED_HWCAP] [IS_IN_rtld]: Use LDST_PCREL
1494 macro to get at the _rt_local_ro field.
1495 [NEED_HWCAP] [!IS_IN_rtld]: Use LDR_GLOBAL to get at _rtld_global_ro
1496 ([PIC] case) or _dl_hwcap ([!PIC] case).
1497 * sysdeps/arm/setjmp.S: Likewise.
1498
1499 * config.h.in (ARM_PCREL_MOVW_OK): New macro.
1500 * sysdeps/arm/configure.ac: New check to define it.
1501 * sysdeps/arm/configure: Regenerated.
1502 * sysdeps/arm/sysdep.h [__ASSEMBLER__]: Include <arm-features.h>.
1503 (LDST_INDEXED_NOINDEX, LDST_INDEXED_INDEX): New macros.
1504 (LDST_INDEXED, LDST_PC_INDEXED): New macros, differing definitions
1505 depending on [ARM_NO_INDEX_REGISTER] and [__thumb2__].
1506 (LDST_PCREL) [!__thumb2__ && ARCH_HAS_T2 && ARM_PCREL_MOVW_OK]:
1507 Use move/movt pair instead of a load.
1508 (LDST_GLOBAL): Macro removed.
1509 (LDR_GLOBAL): New macro replaces it.
1510 (LDR_HIDDEN): New macro.
1511 (PTR_MANGLE_LOAD): Use LDR_GLOBAL rather than LDST_GLOBAL.
1512 Use LDR_HIDDEN instead for __pointer_chk_guard_local.
1513
1514 * setjmp/tst-setjmp-static.c: New file.
1515 * setjmp/Makefile (tests): Add it.
1516 (tests-static): New variable.
1517
b5af9297
MR
15182014-10-22 Maciej W. Rozycki <macro@codesourcery.com>
1519
1520 [BZ #17485]
1521 * sysdeps/unix/sysv/linux/mips/vfork.S (__libc_vfork): Define.
1522
a13d0d74
JM
15232014-10-21 Joseph Myers <joseph@codesourcery.com>
1524
1525 [BZ #14132]
1526 * math/s_ldexpf.c (__ldexpf): Do not use INTDEF.
1527
f05e73f6
RM
15282014-10-21 Roland McGrath <roland@hack.frob.com>
1529
1530 * nptl/version.c (__nptl_main): Call __libc_write, not __write.
1531
6ab1d1ea
RM
15322014-10-20 Roland McGrath <roland@hack.frob.com>
1533
1534 * io/fts.c (dirent_not_directory): New function.
1535 (fts_build): Call it.
1536
ab49e763
RM
15372014-10-20 Roland McGrath <roland@hack.frob.com>
1538
e436eb79
RM
1539 * nptl/version.c (__nptl_main): Use normal __write rather than
1540 INTERNAL_SYSCALL.
1541 (banner): Update copyright years.
1542
6af246cf
RM
1543 * nptl/pthread_rwlock_timedrdlock.c: #include <sys/time.h> before using
1544 gettimeofday.
1545 * nptl/pthread_rwlock_timedwrlock.c: Likewise.
1546 * nptl/pthread_cond_timedwait.c: Likewise.
1547 * nptl/pthread_mutex_timedlock.c: Likewise.
1548 * nptl/sem_timedwait.c: Likewise.
1549
ab49e763
RM
1550 * sysdeps/nptl/bits/libc-lock.h
1551 [_LIBC && (!NOT_IN_libc || IS_IN_libpthread)]
1552 (__libc_lock_init_recursive): Return void, not 0.
1553 * sysdeps/nptl/bits/libc-lockP.h (__libc_lock_init): Likewise.
1554 (__libc_rwlock_init): Likewise.
1555 * sysdeps/nptl/bits/stdio-lock.h (_IO_lock_init): Likewise.
1556
f50277c1
TR
15572014-10-20 Torvald Riegel <triegel@redhat.com>
1558
1559 [BZ #15215]
1560 * nptl/pthread_once.c (__pthread_once): Split out fast path to ...
1561 (__pthread_once_slow): ... here.
1562 * sysdeps/unix/sysv/linux/i386/pthread_once.S: Remove file.
1563 * sysdeps/unix/sysv/linux/x86_64/pthread_once.S: Remove file.
1564
63668b70
TR
15652014-10-20 Torvald Riegel <triegel@redhat.com>
1566
1567 [BZ #15215]
1568 * nptl/pthreadP.h (__PTHREAD_ONCE_INPROGRESS, __PTHREAD_ONCE_DONE,
1569 __PTHREAD_ONCE_FORK_GEN_INCR): New.
1570 * sysdeps/nptl/fork.c (__libc_fork): Use them.
1571 * nptl/pthread_once.c (__pthread_once): Likewise.
1572 Update comments.
1573
42b7f5d4
JM
15742014-10-20 Joseph Myers <joseph@codesourcery.com>
1575
1576 [BZ #14138]
1577 * sysdeps/unix/syscalls.list (readv): Use __libc_readv as strong
1578 name.
1579 (writev): Use __libc_writev as strong name.
1580 * sysdeps/unix/sysv/linux/readv.c: Remove file.
1581 * sysdeps/unix/sysv/linux/writev.c: Likewise.
1582
b0643088
RM
15832014-10-17 Roland McGrath <roland@hack.frob.com>
1584
114c4e09
RM
1585 * nptl/createthread.c (TLS_DEFINE_INIT_TP, TLS_VALUE): Macros removed.
1586
674b8978
RM
1587 * sysdeps/i386/nptl/tls.h
1588 (THREAD_SELF_SYSINFO, THREAD_SYSINFO): Macros removed.
1589 [NEED_DL_SYSINFO] (SETUP_THREAD_SYSINFO, CHECK_THREAD_SYSINFO):
1590 New macros.
1591 * sysdeps/ia64/nptl/tls.h [NEED_DL_SYSINFO]
1592 (SETUP_THREAD_SYSINFO, CHECK_THREAD_SYSINFO): New macros.
1593 * nptl/allocatestack.c (allocate_stack) [NEED_DL_SYSINFO]:
1594 Call SETUP_THREAD_SYSINFO instead of doing an assignment.
1595 * nptl/createthread.c (create_thread) [NEED_DL_SYSINFO]:
1596 Call CHECK_THREAD_SYSINFO instead of doing an assert.
1597
184ee940
RM
1598 * nptl/nptl-init.c (__pthread_initialize_minimal_internal):
1599 Conditionalize FUTEX_PRIVATE_FLAG and FUTEX_CLOCK_REALTIME probes
1600 on [__NR_futex].
1601 * nptl/pthread_mutex_init.c (prio_inherit_missing): New function,
1602 broken out of ...
1603 (__pthread_mutex_init): ... here. Call it.
1604 * nptl/pthread_mutex_lock.c (__pthread_mutex_lock_full):
1605 Conditionalize PI cases on [__NR_futex].
1606 * nptl/pthread_mutex_timedlock.c (pthread_mutex_timedlock): Likewise.
1607 * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock): Likewise.
1608 * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_full): Likewise.
1609
327ae257
RM
1610 * nptl/nptl-init.c (sighandler_setxid, __xidcmd): Make definitions
1611 conditional on [SIGSETXID].
1612 (sigcancel_handler): Make definition conditional on [SIGCANCEL].
1613 (__pthread_initialize_minimal_internal): Set up SIGCANCEL only if it
1614 is defined. Likewise for SIGSETXID.
1615 * nptl/allocatestack.c (setxid_mark_thread, setxid_unmark_thread):
1616 Conditionalize definitions on [SIGSETXID].
1617 (setxid_signal_thread, __nptl_setxid_error, __nptl_setxid): Likewise.
1618 * nptl/pthread_create.c (start_thread): Conditionalize SIGCANCEL
1619 unblocking on [SIGCANCEL].
1620
b0643088
RM
1621 * nptl/nptl-init.c (__nptl_set_robust): Conditionalize body on
1622 [__NR_set_robust_list].
1623
33cc770b
SP
16242014-10-17 Siddhesh Poyarekar <siddhesh@redhat.com>
1625
1626 * string/strcoll_l.c (get_next_seq): Fix up formatting.
1627 (do_compare): Likewise.
1628
0742aef6
LH
16292014-10-17 Leonhard Holz <leonhard.holz@web.de>
1630
1631 [BZ #15884]
1632 * string/strcoll_l.c: Don't include stdio.h.
1633 (coll_seq): Remove members idxarr and rulearr.
1634 (get_next_seq_cached): Remove function.
1635 (get_next_seq): Likewise.
1636 (get_next_seq_nocache): Rename to get_next_seq.
1637 (do_compare): Remove function.
1638 (do_compare_nocache): Rename to do_compare.
1639 (STRCOLL): Remove weight and rules cache.
1640
ee54ce44
RM
16412014-10-16 Roland McGrath <roland@hack.frob.com>
1642
1643 * sysdeps/arm/soft-fp/sfp-machine.h: Filed moved ...
1644 * sysdeps/arm/sfp-machine.h: ... to here.
1645 * sysdeps/arm/Implies: Remove arm/soft-fp.
1646
a75d3b02
JM
16472014-10-14 Joseph Myers <joseph@codesourcery.com>
1648
1649 * conform/data/sys/utsname.h-data (*_t): Allow.
1650 * conform/data/sys/wait.h-data [POSIX] (uid_t): Do not define.
1651 [POSIX] (WEXITED): Do not expect constant.
1652 [POSIX] (WSTOPPED): Likewise.
1653 [POSIX] (WNOHANG): Likewise.
1654 [POSIX] (WNOWAIT): Likewise.
1655 [POSIX] (siginfo_t): Do not expect type or elements.
1656 [POSIX] (pid_t): Do not expect type.
1657 [POSIX] (signal.h): Do not allow header.
1658 [POSIX] (sys/resource.h): Likewise.
1659 [POSIX] (si_*): Do not allow pattern.
1660 [POSIX] (W*): Likewise.
1661 [POSIX] (P_*): Likewise.
1662 [POSIX] (BUS_*): Likewise.
1663 [POSIX] (CLD_*): Likewise.
1664 [POSIX] (FPE_*): Likewise.
1665 [POSIX] (ILL_*): Likewise.
1666 [POSIX] (POLL_*): Likewise.
1667 [POSIX] (SEGV_*): Likewise.
1668 [POSIX] (SI_*): Likewise.
1669 [POSIX] (TRAP_*): Likewise.
1670 * conform/Makefile (test-xfail-POSIX/sys/wait.h/conform): New
1671 variable.
1672
fda389c8
SP
16732014-10-14 Paul Pluzhnikov <ppluzhnikov@google.com>
1674
1675 [BZ #12926]
1676 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Avoid
1677 infinite loop when __recvmsg returns 0.
1678
6bc6bd3b
JM
16792014-10-10 Joseph Myers <joseph@codesourcery.com>
1680
fcb32af1
JM
1681 * CANCEL-FCT-WAIVE: Remove file.
1682 * CANCEL-FILE-WAIVE: Likewise.
1683
6bc6bd3b
JM
1684 [BZ #14132]
1685 * elf/dl-sysdep.c (__libc_enable_secure): Use rtld_hidden_data_def
1686 instead of INTVARDEF.
1687 (_dl_sysdep_start): Do not use INTUSE with __libc_enable_secure.
1688 * sysdeps/mach/hurd/dl-sysdep.c (__libc_enable_secure): Use
1689 rtld_hidden_data_def instead of INTVARDEF.
1690 (_dl_sysdep_start): Do not use INTUSE with __libc_enable_secure.
1691 * elf/dl-deps.c (expand_dst): Likewise.
1692 * elf/dl-load.c (_dl_dst_count): Likewise.
1693 (_dl_dst_substitute): Likewise.
1694 (decompose_rpath): Likewise.
1695 (_dl_init_paths): Likewise.
1696 (open_path): Likewise.
1697 (_dl_map_object): Likewise.
1698 * elf/rtld.c (dl_main): Likewise.
1699 (process_dl_audit): Likewise.
1700 (process_envvars): Likewise.
1701 * include/unistd.h [IS_IN_rtld] (__libc_enable_secure_internal):
1702 Remove declaration.
1703 (__libc_enable_secure): Use rtld_hidden_proto.
1704
b8c80a7e
KS
17052014-10-09 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
1706
1707 * elf/dl-load.c
1708 (add_path): New function broken out of _dl_rtld_di_serinfo.
1709 (_dl_rtld_di_serinfo): Remove that nested function. Update call sites.
1710
ff12c11f
JM
17112014-10-09 Joseph Myers <joseph@codesourcery.com>
1712
5c0508a3
JM
1713 * soft-fp/double.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_D): Use
1714 parentheses around macro arguments.
1715 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_DP): Likewise.
1716 [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_D): Likewise.
1717 [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_DP): Likewise.
1718 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_D): Likewise.
1719 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_DP): Likewise.
1720 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_D): Likewise.
1721 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_DP): Likewise.
1722 [_FP_W_TYPE_SIZE < 64] (FP_PACK_D): Likewise.
1723 [_FP_W_TYPE_SIZE < 64] (FP_PACK_DP): Likewise.
1724 [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_D): Likewise.
1725 [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_DP): Likewise.
1726 [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_D): Likewise.
1727 [_FP_W_TYPE_SIZE < 64] (FP_CMP_D): Likewise.
1728 [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_D): Likewise.
1729 [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_D): Likewise.
1730 [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_D): Likewise.
1731 [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_D): Likewise.
1732 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_D): Likewise.
1733 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_DP): Likewise.
1734 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_D): Likewise.
1735 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_DP): Likewise.
1736 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_D): Likewise.
1737 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_DP): Likewise.
1738 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_D): Likewise.
1739 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_DP): Likewise.
1740 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_D): Likewise.
1741 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_DP): Likewise.
1742 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_D): Likewise.
1743 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_DP): Likewise.
1744 [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_D): Likewise.
1745 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_D): Likewise.
1746 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_D): Likewise.
1747 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_D): Likewise.
1748 [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_D): Likewise.
1749 [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_D): Likewise.
1750 * soft-fp/extended.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_E):
1751 Likewise.
1752 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_EP): Likewise.
1753 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_E): Likewise.
1754 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_EP): Likewise.
1755 [_FP_W_TYPE_SIZE < 64] (FP_PACK_E): Likewise.
1756 [_FP_W_TYPE_SIZE < 64] (FP_PACK_EP): Likewise.
1757 [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_E): Likewise.
1758 [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_EP): Likewise.
1759 [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_E): Likewise.
1760 [_FP_W_TYPE_SIZE < 64] (FP_CMP_E): Likewise.
1761 [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_E): Likewise.
1762 [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_E): Likewise.
1763 [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_E): Likewise.
1764 [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_E): Likewise.
1765 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_E): Likewise.
1766 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_EP): Likewise.
1767 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_E): Likewise.
1768 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_EP): Likewise.
1769 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_E): Likewise.
1770 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_EP): Likewise.
1771 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_E): Likewise.
1772 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_EP): Likewise.
1773 [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_E): Likewise.
1774 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_E): Likewise.
1775 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_E): Likewise.
1776 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_E): Likewise.
1777 [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_E): Likewise.
1778 [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_E): Likewise.
1779 * soft-fp/op-1.h (_FP_FRAC_SRST_1): Likewise.
1780 (_FP_FRAC_SRS_1): Likewise.
1781 (_FP_FRAC_CLZ_1): Likewise.
1782 (_FP_MUL_MEAT_1_imm): Likewise.
1783 (_FP_MUL_MEAT_1_wide): Likewise.
1784 (_FP_MUL_MEAT_1_hard): Likewise.
1785 (_FP_SQRT_MEAT_1): Likewise.
1786 (_FP_FRAC_ASSEMBLE_1): Likewise.
1787 (_FP_FRAC_DISASSEMBLE_1): Likewise.
1788 * soft-fp/op-2.h (_FP_FRAC_CLZ_2): Likewise.
1789 (__FP_CLZ_2): Likewise.
1790 (_FP_MUL_MEAT_2_wide): Likewise.
1791 (_FP_MUL_MEAT_2_wide_3mul): Likewise.
1792 (_FP_MUL_MEAT_2_gmp): Likewise.
1793 (_FP_MUL_MEAT_2_120_240_double): Likewise.
1794 (_FP_SQRT_MEAT_2): Likewise.
1795 (_FP_FRAC_ASSEMBLE_2): Likewise.
1796 (_FP_FRAC_DISASSEMBLE_2): Likewise.
1797 * soft-fp/op-4.h (_FP_FRAC_SRS_4): Likewise.
1798 (_FP_FRAC_CLZ_4): Likewise.
1799 (_FP_MUL_MEAT_4_wide): Likewise.
1800 (_FP_MUL_MEAT_4_gmp): Likewise.
1801 (_FP_SQRT_MEAT_4): Likewise.
1802 (_FP_FRAC_ASSEMBLE_4): Likewise.
1803 (_FP_FRAC_DISASSEMBLE_4): Likewise.
1804 * soft-fp/op-common.h (_FP_CMP): Likewise.
1805 (_FP_CMP_EQ): Likewise.
1806 (_FP_CMP_UNORD): Likewise.
1807 (_FP_TO_INT): Likewise.
1808 (_FP_FROM_INT): Likewise.
1809 [!__FP_CLZ] (__FP_CLZ): Likewise.
1810 (_FP_DIV_HELP_imm): Likewise.
1811 * soft-fp/quad.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_Q):
1812 Likewise.
1813 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_QP): Likewise.
1814 [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_Q): Likewise.
1815 [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_QP): Likewise.
1816 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_Q): Likewise.
1817 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_QP): Likewise.
1818 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_Q): Likewise.
1819 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_QP): Likewise.
1820 [_FP_W_TYPE_SIZE < 64] (FP_PACK_Q): Likewise.
1821 [_FP_W_TYPE_SIZE < 64] (FP_PACK_QP): Likewise.
1822 [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_Q): Likewise.
1823 [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_QP): Likewise.
1824 [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_Q): Likewise.
1825 [_FP_W_TYPE_SIZE < 64] (FP_CMP_Q): Likewise.
1826 [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_Q): Likewise.
1827 [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_Q): Likewise.
1828 [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_Q): Likewise.
1829 [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_Q): Likewise.
1830 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_Q): Likewise.
1831 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_QP): Likewise.
1832 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_Q): Likewise.
1833 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_QP): Likewise.
1834 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_Q): Likewise.
1835 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_QP): Likewise.
1836 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_Q): Likewise.
1837 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_QP): Likewise.
1838 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_Q): Likewise.
1839 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_QP): Likewise.
1840 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_Q): Likewise.
1841 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_QP): Likewise.
1842 [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_Q): Likewise.
1843 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_Q): Likewise.
1844 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_Q): Likewise.
1845 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_Q): Likewise.
1846 [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_Q): Likewise.
1847 [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_Q): Likewise.
1848 * soft-fp/single.h (FP_UNPACK_RAW_S): Likewise.
1849 (FP_UNPACK_RAW_SP): Likewise.
1850 (FP_PACK_RAW_S): Likewise.
1851 (FP_PACK_RAW_SP): Likewise.
1852 (FP_UNPACK_S): Likewise.
1853 (FP_UNPACK_SP): Likewise.
1854 (FP_UNPACK_SEMIRAW_S): Likewise.
1855 (FP_UNPACK_SEMIRAW_SP): Likewise.
1856 (FP_PACK_S): Likewise.
1857 (FP_PACK_SP): Likewise.
1858 (FP_PACK_SEMIRAW_S): Likewise.
1859 (FP_PACK_SEMIRAW_SP): Likewise.
1860 (_FP_SQRT_MEAT_S): Likewise.
1861 (FP_CMP_S): Likewise.
1862 (FP_CMP_EQ_S): Likewise.
1863 (FP_CMP_UNORD_S): Likewise.
1864 (FP_TO_INT_S): Likewise.
1865 (FP_FROM_INT_S): Likewise.
1866
a736ec37
JM
1867 * soft-fp/op-common.h (_FP_TO_INT): Handle rsigned == 2.
1868
ff12c11f
JM
1869 * soft-fp/soft-fp.h (FP_EX_INVALID_SNAN): New macro.
1870 (FP_EX_INVALID_IMZ): Likewise.
1871 (FP_EX_INVALID_IMZ_FMA): Likewise.
1872 (FP_EX_INVALID_ISI): Likewise.
1873 (FP_EX_INVALID_ZDZ): Likewise.
1874 (FP_EX_INVALID_IDI): Likewise.
1875 (FP_EX_INVALID_SQRT): Likewise.
1876 (FP_EX_INVALID_CVI): Likewise.
1877 (FP_EX_INVALID_VC): Likewise.
1878 * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Specify more precise
1879 "invalid" exceptions.
1880 (_FP_CHECK_SIGNAN_SEMIRAW): Likewise.
1881 (_FP_ADD_INTERNAL): Likewise.
1882 (_FP_MUL): Likewise.
1883 (_FP_FMA): Likewise.
1884 (_FP_DIV): Likewise.
1885 (_FP_CMP_CHECK_NAN): Likewise.
1886 (_FP_SQRT): Likewise.
1887 (_FP_TO_INT): Likewise.
1888 (FP_EXTEND): Likewise.
1889
b6dcfe8c
AM
18902014-10-09 Allan McRae <allan@archlinux.org>
1891
1892 * po/fr.po: Update French translation from translation project.
1893
2d6a47ba
JM
18942014-10-09 Joseph Myers <joseph@codesourcery.com>
1895
cb831245
JM
1896 [BZ #14132]
1897 * stdlib/cxa_atexit.c (__cxa_atexit): Use libc_hidden_def instead
1898 of INTDEF.
1899 * include/stdlib.h (__cxa_atexit_internal): Remove declaration.
1900 (__cxa_atexit): Use libc_hidden_proto.
1901 [!NOT_IN_libc] (__cxa_atexit): Remove macro definition.
1902
5deeb190
JM
1903 [BZ #14132]
1904 * include/wctype.h [!_ISOMAC] (__iswalpha_l_internal): Remove
1905 declaration.
1906 [!_ISOMAC] (__iswdigit_l_internal): Likewise.
1907 [!_ISOMAC] (__iswspace_l_internal): Likewise.
1908 [!_ISOMAC] (__iswxdigit_l_internal): Likewise.
1909 [!_ISOMAC] (__iswctype_internal): Likewise.
1910 * stdio-common/siglist.c (_sys_siglist_internal): Remove alias.
1911 * sysdeps/unix/syscalls.list (chown): Remove __chown_internal
1912 alias.
1913 (fcntl): Remove __fcntl_internal alias.
1914 * sysdeps/unix/sysv/linux/hppa/syscalls.list (connect): Remove
1915 __connect_internal alias.
1916 * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list (connect):
1917 Likewise.
1918
454ac701
JM
1919 * soft-fp/soft-fp.h (FP_DENORM_ZERO): New macro.
1920 * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Check
1921 FP_DENORM_ZERO.
1922 (_FP_CHECK_FLUSH_ZERO): New macro.
1923 (_FP_ADD_INTERNAL): Call _FP_CHECK_FLUSH_ZERO.
1924 (_FP_CMP): Likewise.
1925 (_FP_CMP_EQ): Likewise.
1926 (_FP_TO_INT): Do not set inexact for subnormal arguments if
1927 FP_DENORM_ZERO.
1928 (FP_EXTEND): Call _FP_CHECK_FLUSH_ZERO.
1929 (FP_TRUNC): Likewise.
1930
0022e688
JM
1931 * soft-fp/op-common.h (_FP_TO_INT): Ensure maximum exponent is
1932 treated as invalid conversion, not as normal exponent.
1933
73e28d9c
JM
1934 * soft-fp/op-common.h (_FP_CMP_CHECK_NAN): New macro.
1935 (_FP_CMP): Add extra argument EX. Call _FP_CMP_CHECK_NAN.
1936 (_FP_CMP_EQ): Likewise.
1937 (_FP_CMP_UNORD): Likewise.
1938 * soft-fp/double.h (FP_CMP_D): Add extra argument EX.
1939 (FP_CMP_EQ_D): Likewise.
1940 (FP_CMP_UNORD_D): Likewise.
1941 * soft-fp/extended.h (FP_CMP_E): Likewise.
1942 (FP_CMP_EQ_E): Likewise.
1943 (FP_CMP_UNORD_E): Likewise.
1944 * soft-fp/quad.h (FP_CMP_Q): Likewise.
1945 (FP_CMP_EQ_Q): Likewise.
1946 (FP_CMP_UNORD_Q): Likewise.
1947 * soft-fp/single.h (FP_CMP_S): Likewise.
1948 (FP_CMP_EQ_S): Likewise.
1949 (FP_CMP_UNORD_S): Likewise.
1950 * soft-fp/eqdf2.c (__eqdf2): Update call to FP_CMP_EQ_D.
1951 * soft-fp/eqsf2.c (__eqsf2): Update call to FP_CMP_EQ_S.
1952 * soft-fp/eqtf2.c (__eqtf2): Update call to FP_CMP_EQ_Q.
1953 * soft-fp/gedf2.c (__gedf2): Update call to FP_CMP_D.
1954 * soft-fp/gesf2.c (__gesf2): Update call to FP_CMP_S.
1955 * soft-fp/getf2.c (__getf2): Update call to FP_CMP_Q.
1956 * soft-fp/ledf2.c (__ledf2): Update call to FP_CMP_D.
1957 * soft-fp/lesf2.c (__lesf2): Update call to FP_CMP_S.
1958 * soft-fp/letf2.c (__letf2): Update call to FP_CMP_Q.
1959 * soft-fp/unorddf2.c (__unorddf2): Update call to FP_CMP_UNORD_D.
1960 * soft-fp/unordsf2.c (__unordsf2): Update call to FP_CMP_UNORD_S.
1961 * soft-fp/unordtf2.c (__unordtf2): Update call to FP_CMP_UNORD_Q.
1962 * sysdeps/alpha/soft-fp/ots_cmpe.c (internal_compare): Update call
1963 to FP_CMP_Q.
1964 * sysdeps/sparc/sparc32/soft-fp/q_cmp.c (_Q_cmp): Update call to
1965 FP_CMP_Q.
1966 * sysdeps/sparc/sparc32/soft-fp/q_cmpe.c (_Q_cmpe): Likewise.
1967 * sysdeps/sparc/sparc32/soft-fp/q_feq.c (_Q_feq): Update call to
1968 FP_CMP_EQ_Q.
1969 * sysdeps/sparc/sparc32/soft-fp/q_fge.c (_Q_fge): Update call to
1970 FP_CMP_Q.
1971 * sysdeps/sparc/sparc32/soft-fp/q_fgt.c (_Q_fgt): Likewise.
1972 * sysdeps/sparc/sparc32/soft-fp/q_fle.c (_Q_fle): Likewise.
1973 * sysdeps/sparc/sparc32/soft-fp/q_flt.c (_Q_flt): Likewise.
1974 * sysdeps/sparc/sparc32/soft-fp/q_fne.c (_Q_fne): Update call to
1975 FP_CMP_EQ_Q.
1976 * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c (_Qp_cmp): Update call to
1977 FP_CMP_Q.
1978 * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c (_Qp_cmpe): Likewise.
1979 * sysdeps/sparc/sparc64/soft-fp/qp_feq.c (_Qp_feq): Update call to
1980 FP_CMP_EQ_Q.
1981 * sysdeps/sparc/sparc64/soft-fp/qp_fge.c (_Qp_fge): Update call to
1982 FP_CMP_Q.
1983 * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c (_Qp_fgt): Likewise.
1984 * sysdeps/sparc/sparc64/soft-fp/qp_fle.c (_Qp_fle): Likewise.
1985 * sysdeps/sparc/sparc64/soft-fp/qp_flt.c (_Qp_flt): Likewise.
1986 * sysdeps/sparc/sparc64/soft-fp/qp_fne.c (_Qp_fne): Update call to
1987 FP_CMP_EQ_Q.
1988
43059f42
JM
1989 * soft-fp/op-common.h (FP_EXTEND): When a subnormal input produces
1990 a subnormal result, set the underflow exception if trapping on
1991 underflow is enabled.
1992 * soft-fp/soft-fp.h (FP_INIT_TRAPPING_EXCEPTIONS): New macro.
1993 (FP_INIT_EXCEPTIONS): Default to FP_INIT_TRAPPING_EXCEPTIONS.
1994 [FP_NO_EXACT_UNDERFLOW] (FP_TRAPPING_EXCEPTIONS): Undefine and
1995 redefine to 0.
1996 * soft-fp/extenddftf2.c (FP_NO_EXACT_UNDERFLOW): Define.
1997 * soft-fp/extendsfdf2.c (FP_NO_EXACT_UNDERFLOW): Likewise.
1998 * soft-fp/extendsftf2.c (FP_NO_EXACT_UNDERFLOW): Likewise.
1999 * soft-fp/extendxftf2.c (__extendxftf2): Use
2000 FP_INIT_TRAPPING_EXCEPTIONS instead of FP_INIT_ROUNDMODE.
2001
2d6a47ba
JM
2002 * soft-fp/soft-fp.h (FP_CLEAR_EXCEPTIONS): Remove macro.
2003 * sysdeps/sparc/sparc32/soft-fp/q_itoq.c: Define FP_NO_EXCEPTIONS.
2004 (_Q_itoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
2005 FP_HANDLE_EXCEPTIONS.
2006 * sysdeps/sparc/sparc32/soft-fp/q_lltoq.c: Define FP_NO_EXCEPTIONS.
2007 (_Q_lltoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
2008 FP_HANDLE_EXCEPTIONS.
2009 * sysdeps/sparc/sparc32/soft-fp/q_ulltoq.c: Define FP_NO_EXCEPTIONS.
2010 (_Q_ulltoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
2011 FP_HANDLE_EXCEPTIONS.
2012 * sysdeps/sparc/sparc32/soft-fp/q_utoq.c: Define FP_NO_EXCEPTIONS.
2013 (_Q_utoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
2014 FP_HANDLE_EXCEPTIONS.
2015
620f462e
JM
20162014-10-08 Joseph Myers <joseph@codesourcery.com>
2017
2018 [BZ #14132]
2019 * sysdeps/unix/sysv/linux/include/sys/timex.h: New file.
2020 * sysdeps/unix/sysv/linux/adjtime.c [!ADJTIMEX] (ADJTIMEX): Do not
2021 use INTUSE.
2022 [!ADJTIMEX] (INTUSE(__adjtimex)): Remove declaration.
2023 * sysdeps/unix/sysv/linux/alpha/adjtime.c (__adjtimex_internal):
2024 Remove alias.
2025 (__adjtimex): Define using libc_hidden_ver.
2026 * sysdeps/unix/sysv/linux/ntp_gettime.c (INTUSE(__adjtimex)):
2027 Remove declaration.
2028 (ntp_gettime): Call __adjtimex directly.
2029 * sysdeps/unix/sysv/linux/ntp_gettimex.c (INTUSE(__adjtimex)):
2030 Remove declaration.
2031 (ntp_gettimex): Call __adjtimex directly.
2032 * sysdeps/unix/sysv/linux/syscalls.list (adjtimex): Remove
2033 __adjtimex_internal alias.
2034
c763c5d2
RM
20352014-10-08 Roland McGrath <roland@hack.frob.com>
2036
2037 [BZ #17460]
2038 * nscd/nscd.c (more_help): Rewrite list of tables collection
2039 using xstrdup and asprintf.
2040
2041 * nscd/nscd_conf.c: Remove local xstrdup declaration.
2042
7b8fb2b8
RM
20432014-10-08 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
2044 Roland McGrath <roland@hack.frob.com>
2045
2046 * elf/dl-lookup.c (enter_unique_sym): New function, broken out of ...
2047 (do_lookup_unique): ... local function 'enter' here; update callers.
2048
abb280f7
JM
20492014-10-06 Joseph Myers <joseph@codesourcery.com>
2050
f7b42517
JM
2051 * sysdeps/unix/make-syscalls.sh (emit_weak_aliases): Condition
2052 compat_symbol calls on [SHARED].
2053 * sysdeps/unix/sysv/linux/powerpc/lchown.S: Remove file.
2054 * sysdeps/unix/sysv/linux/i386/syscalls.list (oldsetrlimit):
2055 Remove.
2056 (setrlimit): Add setrlimit@GLIBC_2.0 alias.
2057 * sysdeps/unix/sysv/linux/m68k/m680x0/syscalls.list
2058 (oldsetrlimit): Remove.
2059 (setrlimit): Add setrlimit@GLIBC_2.0 alias.
2060 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list
2061 (lchown): New syscall entry.
2062 (oldsetrlimit): Remove.
2063 (setrlimit): Add setrlimit@GLIBC_2.0 alias.
2064 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list
2065 (oldsetrlimit): Remove.
2066 (setrlimit): Add setrlimit@GLIBC_2.0 alias.
2067
abb280f7
JM
2068 [BZ #14138]
2069 * sysdeps/unix/sysv/linux/arm/fchown.c: Remove file.
2070 * sysdeps/unix/sysv/linux/arm/lchown.c: Likewise.
2071 * sysdeps/unix/sysv/linux/m68k/fchown.c: Likewise.
2072 * sysdeps/unix/sysv/linux/m68k/lchown.c: Likewise.
2073 * sysdeps/unix/sysv/linux/powerpc/chown.c: Likewise.
2074 * sysdeps/unix/sysv/linux/arm/syscalls.list (lchown): Add syscall.
2075 (fchown): Likewise.
2076 * sysdeps/unix/sysv/linux/m68k/syscalls.list (lchown): Likewise.
2077 (fchown): Likewise.
2078 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list (chown):
2079 Likewise.
2080
47d46237
AZ
20812014-10-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2082
2083 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Remove file.
2084 * sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c
2085 (pthread_spin_unlock): Use __ARCH_REL_INSTR instead of
2086 __lll_rel_instr and __ARCH_ACQ_INSTR instead of __lll_acq_instr.
2087 * sysdeps/unix/sysv/linux/powerpc/sem_post.c (__new_sem_post):
2088 Likewise.
2089 (__old_sem_post): Likewise.
2090
20912014-10-06 Chris Metcalf <cmetcalf@tilera.com>
1c4c1a6f 2092
845a7343
CM
2093 * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_VSYSCALL): Define
2094 INLINE_VSYSCALL, INTERNAL_VSYSCALL, and
2095 HAVE_CLOCK_GETTIME_VSYSCALL macros.
2096 * sysdeps/unix/sysv/linux/tile/gettimeofday.c (__gettimeofday):
2097 Use INLINE_VSYSCALL macro.
2098 * sysdeps/unix/sysv/linux/tile/bits/libc-vdso: Add declaration of
2099 __vdso_clock_gettime.
2100 * sysdeps/unix/sysv/linux/tile/init-first.c
2101 (_libc_vdso_platform_setup): Set new __vdso_clock_gettime global.
2102 * sysdeps/unix/sysv/linux/tile/Versions (GLIBC_PRIVATE): Add
2103 __vdso_clock_gettime.
2104
83d641ef
CM
2105 * sysdeps/unix/sysv/linux/tile/clone.S (__clone): Fix code
2106 to set up frame more cleanly.
2107
d9cd52e6
CM
2108 * sysdeps/tile/memcmp.c: New file.
2109
4b68ea11
CM
2110 * sysdeps/unix/sysv/linux/tile/sysconf.c: New file.
2111
c86f7b80
CM
2112 * sysdeps/tile/tilegx/string-endian.h (STRSHIFT): New macro.
2113 * sysdeps/tile/tilegx/strcasestr.c: New file.
2114 * sysdeps/tile/tilegx/strnlen.c: New file.
2115 * sysdeps/tile/tilegx/strstr.c: New file.
2116
1c4c1a6f
CM
2117 * sysdeps/tile/tilegx/string-endian.h (copy_byte): Optimize.
2118
99d86ea3
AS
21192014-10-06 Arjun Shankar <arjun.is@lostca.se>
2120
2121 * nptl/tst-setuid3.c: Write errors to stdout.
2122
06210a44
KS
21232014-10-01 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
2124
2125 * elf/dl-deps.c
2126 (preload): New functions broken out of _dl_map_object_deps.
2127 (_dl_map_object_deps): Remove a nested function. Update call sites.
2128
6268f532
JM
21292014-10-01 Joseph Myers <joseph@codesourcery.com>
2130
2131 [BZ #14138]
2132 * sysdeps/unix/sysv/linux/execve.c: Remove file.
2133 * sysdeps/unix/sysv/linux/syscalls.list (execve): Add syscall.
2134
b925285f
SE
21352014-10-01 Steve Ellcey <sellcey@mips.com>
2136
2137 * sysdeps/mips/strcmp.S: New.
2138
754a15c6
JM
21392014-09-30 Joseph Myers <joseph@codesourcery.com>
2140
2141 [BZ #14138]
2142 * sysdeps/unix/sysv/linux/syscalls.list (fchownat): New syscall.
2143 (linkat): Likewise.
2144 (mkdirat): Likewise.
2145 (readlinkat): Likewise.
2146 (renameat): Likewise.
2147 (symlinkat): Likewise.
2148 (unlinkat): Likewise.
2149 * sysdeps/unix/sysv/linux/fchownat.c: Remove file.
2150 * sysdeps/unix/sysv/linux/linkat.c: Likewise.
2151 * sysdeps/unix/sysv/linux/mkdirat.c: Likewise.
2152 * sysdeps/unix/sysv/linux/readlinkat.c: Likewise.
2153 * sysdeps/unix/sysv/linux/renameat.c: Likewise.
2154 * sysdeps/unix/sysv/linux/symlinkat.c: Likewise.
2155 * sysdeps/unix/sysv/linux/unlinkat.c: Likewise.
2156
85bb81c9
WN
21572014-09-30 Will Newton <will.newton@linaro.org>
2158
dc6fe23b
WN
2159 * math/math.h: Define long double math functions if
2160 _LIBC_TEST is defined.
2161 * stdlib/tst-strtod-round.c: Define _LIBC_TEST.
2162
85bb81c9
WN
2163 * localedata/Makefile: Move assignment to tests-special
2164 into an ifdef testing run-built-tests.
2165 * timezone/Makefile: Likewise.
2166
b7e02da4
JM
21672014-09-29 Joseph Myers <joseph@codesourcery.com>
2168
2169 * sysdeps/x86/Makefile ($(objpfx)tst-ld-sse-use.out): Run script
2170 with $(BASH) not $(SHELL).
2171
62058ce6
CD
21722014-09-29 Carlos O'Donell <carlos@redhat.com>
2173 Matthew LeGendre <legendre1@llnl.gov>
2174
2175 [BZ #17411]
2176 * elf/dl-reloc.c (_dl_relocate_object): Allocate correct amount for
2177 l_reloc_result.
2178
8e257a29
KS
21792014-09-29 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
2180
2181 * stdio-common/printf_fp.c
2182 (hack_digit): New function, broken out of ...
2183 (__printf_fp): ... local function here. Update call sites.
2184 hack_digit now takes an additional parameter that is a pointer
2185 to a struct of the referenced locals. Those locals moved inside
2186 the struct and references updated.
2187
f4a58f0d
L
21882014-09-29 H.J. Lu <hongjiu.lu@intel.com>
2189
2190 * aclocal.m4: Require autoconf 2.69.
2191 * configure: Regenerated.
2192 * sysdeps/aarch64/configure: Likewise.
2193 * sysdeps/alpha/configure: Likewise.
2194 * sysdeps/arm/armv7/configure: Likewise.
2195 * sysdeps/arm/configure: Likewise.
2196 * sysdeps/ia64/configure: Likewise.
2197 * sysdeps/mach/configure: Likewise.
2198 * sysdeps/mips/configure: Likewise.
2199 * sysdeps/s390/configure: Likewise.
2200 * sysdeps/unix/sysv/linux/mips/configure: Likewise.
2201 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Likewise.
2202
2203 * sysdeps/alpha/configure.ac: Avoid empty lines at the end of
2204 file.
2205 * sysdeps/ia64/configure.ac: Likewise.
2206
93ae1eba
JM
22072014-09-26 Joseph Myers <joseph@codesourcery.com>
2208
1810d3ab
JM
2209 * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: Do not
2210 specify symbol version for ld.so. Do not include entry for
2211 libpthread.
2212 * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
2213 * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Likewise.
2214 * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
2215
93ae1eba
JM
2216 [BZ #14171]
2217 * Makeconfig [$(build-shared) = yes]
2218 ($(common-objpfx)soversions.mk): Don't handle SONAMEs specified in
2219 makefiles.
2220 [$(build-shared) = yes && $(soversions.mk-done) = t]
2221 ($(common-objpfx)gnu/lib-names.h): Remove rule.
2222 [$(build-shared) = yes && $(soversions.mk-done) = t]
2223 ($(common-objpfx)gnu/lib-names.stmp): Likewise. Split and moved
2224 to Makerules.
2225 [$(build-shared) = yes && $(soversions.mk-done) = t]
2226 (before-compile): Don't append $(common-objpfx)gnu/lib-names.h
2227 here.
2228 [$(build-shared) = yes && $(soversions.mk-done) = t]
2229 (common-generated): Don't append gnu/lib-names.h and
2230 gnu/lib-names.stmp here.
2231 * Makerules [$(build-shared) = yes && $(soversions.mk-done) = t]
2232 (lib-names-h-abi): New variable.
2233 [$(build-shared) = yes && $(soversions.mk-done) = t]
2234 (lib-names-stmp-abi): Likewise.
2235 [$(build-shared) = yes && $(soversions.mk-done) = t &&
2236 abi-variants] (before-compile): Append
2237 $(common-objpfx)$(lib-names-h-abi).
2238 [$(build-shared) = yes && $(soversions.mk-done) = t &&
2239 abi-variants] (common-generated): Append gnu/lib-names.h.
2240 [$(build-shared) = yes && $(soversions.mk-done) = t &&
2241 abi-variants] (install-others-nosubdir): Depend on
2242 $(inst_includedir)/$(lib-names-h-abi).
2243 [$(build-shared) = yes && $(soversions.mk-done) = t &&
2244 abi-variants] ($(common-objpfx)gnu/lib-names.h): New rule.
2245 [$(build-shared) = yes && $(soversions.mk-done) = t]
2246 ($(common-objpfx)$(lib-names-h-abi)): New rule.
2247 [$(build-shared) = yes && $(soversions.mk-done) = t]
2248 ($(common-objpfx)$(lib-names-stmp-abi)): Likewise.
2249 [$(build-shared) = yes && $(soversions.mk-done) = t]
2250 (common-generated): Append $(lib-names-h-abi) and
2251 $(lib-names-stmp-abi).
2252 * scripts/lib-names.awk: Do not handle multi being set.
2253 * sysdeps/unix/sysv/linux/aarch64/Makefile (abi-lp64-ld-soname):
2254 Remove variable.
2255 (abi-lp64_be-ld-soname): Likewise.
2256 * sysdeps/unix/sysv/linux/arm/Makefile (abi-soft-ld-soname):
2257 Likewise.
2258 (abi-hard-ld-soname): Likewise.
2259 * sysdeps/unix/sysv/linux/i386/shlib-versions: New file.
2260 * sysdeps/unix/sysv/linux/mips/Makefile (abi-o32_soft-ld-soname):
2261 Remove variable.
2262 (abi-o32_hard-ld-soname): Likewise.
2263 (abi-o32_soft_2008-ld-soname): Likewise.
2264 (abi-o32_hard_2008-ld-soname): Likewise.
2265 (abi-n32_soft-ld-soname): Likewise.
2266 (abi-n32_hard-ld-soname): Likewise.
2267 (abi-n32_soft_2008-ld-soname): Likewise.
2268 (abi-n32_hard_2008-ld-soname): Likewise.
2269 (abi-n64_soft-ld-soname): Likewise.
2270 (abi-n64_hard-ld-soname): Likewise.
2271 (abi-n64_soft_2008-ld-soname): Likewise.
2272 (abi-n64_hard_2008-ld-soname): Likewise.
2273 * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-64-v1-ld-soname):
2274 Likewise.
2275 (abi-64-v2-ld-soname): Likewise.
2276 * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: Add
2277 ld.so entries.
2278 * sysdeps/unix/sysv/linux/s390/Makefile (abi-64-ld-soname): Remove
2279 variable.
2280 * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Add ld.so
2281 entry.
2282 * sysdeps/unix/sysv/linux/x86/Makefile (abi-32-ld-soname): Remove
2283 variable.
2284 (abi-64-ld-soname): Likewise.
2285 (abi-x32-ld-soname): Likewise.
2286 * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Add ld.so
2287 entry.
2288 * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
2289
68870f12
JM
22902014-09-23 Joseph Myers <joseph@codesourcery.com>
2291
2292 [BZ #14138]
2293 * sysdeps/unix/sysv/linux/arm/setrlimit.c: Remove file.
2294 * sysdeps/unix/sysv/linux/i386/setrlimit.c: Likewise.
2295 * sysdeps/unix/sysv/linux/m68k/setrlimit.c: Likewise.
2296 * sysdeps/unix/sysv/linux/powerpc/setrlimit.c: Likewise.
2297 * sysdeps/unix/sysv/linux/s390/s390-32/setrlimit.c: Likewise.
2298 * sysdeps/unix/sysv/linux/sh/setrlimit.c: Likewise.
2299 * sysdeps/unix/sysv/linux/i386/syscalls.list (setrlimit): Add
2300 syscall entry for GLIBC_2.2 symbol version.
2301 * sysdeps/unix/sysv/linux/m68k/m680x0/syscalls.list (setrlimit):
2302 Likewise.
2303 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list
2304 (setrlimit): Likewise.
2305 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (setrlimit):
2306 Likewise.
2307
ea58f202
WN
23082014-09-23 Will Newton <will.newton@linaro.org>
2309
2310 * sysdeps/unix/sysv/linux/arm/bits/hwcap.h: Check for
2311 _LINUX_ARM_SYSDEP_H include guard too.
2312 * sysdeps/unix/sysv/linux/arm/sysdep.h (_SYS_AUXV_H): Remove
2313 define.
2314
69eb9a18
RV
23152014-09-20 Rasmus Villemoes <rv@rasmusvillemoes.dk>
2316
2317 * sysdeps/unix/sysv/linux/eventfd.c:
2318 Make first argument unsigned.
2319 * sysdeps/unix/sysv/linux/hppa/sys/eventfd.h: Likewise.
2320 * sysdeps/unix/sysv/linux/sys/eventfd.h: Likewise.
2321
20e5a5f7
OB
23222014-09-20 Ondřej Bílka <neleai@seznam.cz>
2323
2324 * socket/recvmmsg.c (recvmmsg): Drop const argument.
2325 * socket/sys/socket.h: Likewise
2326 * sysdeps/unix/sysv/linux/recvmmsg.c: Likewise.
2327
d3c827e7
AK
23282014-09-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
2329
2330 * stdlib/longlong.h: Add __udiv_w_sdiv prototype.
2331
fe1cc35a
AS
23322014-09-17 Arjun Shankar <arjun.is@lostca.se>
2333
2334 * time/tst-ftime.c: New test.
2335 * time/Makefile (tests): Add tst-ftime.
2336
4e8afe69
JM
23372014-09-17 Joseph Myers <joseph@codesourcery.com>
2338
c4fe3ea7
JM
2339 * soft-fp/extended.h: Fix comment formatting.
2340 * soft-fp/op-1.h: Likewise.
2341 * soft-fp/op-2.h: Likewise.
2342 * soft-fp/op-4.h: Likewise.
2343 * soft-fp/op-8.h: Likewise.
2344 * soft-fp/op-common.h: Likewise.
2345 * soft-fp/soft-fp.h: Likewise.
2346
4e8afe69
JM
2347 * soft-fp/op-common.h (_FP_TO_INT): Correct formatting.
2348
af296fcd
JM
23492014-09-16 Joseph Myers <joseph@codesourcery.com>
2350
2351 [BZ #6652]
2352 * Makeconfig (soversions-default-setname): Remove variable.
2353 ($(common-objpfx)soversions.i): Don't pass default_setname to
2354 soversions.awk.
2355 * Makerules ($(common-objpfx)abi-versions.h): Don't pass
2356 oldest_abi to abi-versions.awk.
2357 * config.h.in (GLIBC_OLDEST_ABI): Remove macro undefine.
2358 * config.make.in (oldest-abi): Remove variable.
2359 * configure.ac (--enable-oldest-abi): Remove configure option.
2360 * configure: Regenerated.
2361 * csu/version.c (banner) [GLIBC_OLDEST_ABI]: Remove conditional
2362 text.
2363 * scripts/abi-versions.awk: Do not handle oldest_abi variable.
2364 * scripts/soversions.awk: Do not handle default_setname variable.
2365 * sysdeps/mach/hurd/configure.ac: Do not handle oldest_abi
2366 variable.
2367 * sysdeps/mach/hurd/configure: Regenerated.
2368 * sysdeps/unix/sysv/linux/configure.ac: Do not handle oldest_abi
2369 variable.
2370 * sysdeps/unix/sysv/linux/configure: Regenerated.
2371
545583d6
SP
23722014-09-16 Siddhesh Poyarekar <siddhesh@redhat.com>
2373
d330b980
SP
2374 * elf/Makefile (CFLAGS-interp.c): Remove.
2375 ($(elf-objpfx)runtime-linker.h): Generate header with linker
2376 path string.
2377 * elf/interp.c: Include generated runtime-linker.h
2378
02657da2
SP
2379 * Makerules (lib%.so): Don't include $(+interp) in
2380 prerequisites.
2381 * elf/Makefile (CFLAGS-interp.c): Don't define NOT_IN_libc.
2382 * dlfcn/eval.c: Remove file.
2383
653b1080
SP
2384 * posix/getconf.c (vars): Don't check for _[SP]C_* and _CS
2385 macros.
2386
602f80ec
SP
2387 [BZ #17266]
2388 * misc/sys/cdefs.h: Define __extern_always_inline for clang
2389 4.2 and newer.
2390
545583d6
SP
2391 [BZ #17370]
2392 * libio/wfileops.c (do_ftell_wide): Free OUT on error path.
2393
884ddc50
SP
23942014-09-16 Siddhesh Poyarekar <siddhesh@redhat.com>
2395 Jakub Jelinek <jakub@redhat.com>
2396
2397 [BZ #17266]
2398 * libio/stdio.h: Check definition of __fortify_function
2399 instead of __extern_always_inline to include bits/stdio2.h.
2400 * math/bits/math-finite.h [__USE_XOPEN || __USE_ISOC99]: Also
2401 check if __extern_always_inline is defined.
2402 [__USE_MISC || __USE_XOPEN]: Likewise.
2403 [__USE_ISOC99] Likewise.
2404 * misc/sys/cdefs.h (__fortify_function): Define only if
2405 __extern_always_inline is defined.
2406 [!__cplusplus || __GNUC_PREREQ (4,3)]: Revert to defining
2407 __extern_always_inline and __extern_inline only for g++-4.3
2408 and newer or a compatible gcc.
2409
a7b87268
AS
24102014-09-15 Andreas Schwab <schwab@linux-m68k.org>
2411
2412 [BZ #17371]
2413 * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Fix
2414 last change to handle zero prefix length.
2415
3f41521d
SP
24162014-09-15 Siddhesh Poyarekar <siddhesh@redhat.com>
2417
61fe374a
SP
2418 * sysdeps/posix/sysconf.c (__sysconf): Return -1 for
2419 _SC_REGEX_VERSION.
2420
3f41521d
SP
2421 * posix/getconf.c (vars): Add _POSIX_IPV6 and
2422 _POSIX_RAW_SOCKETS.
2423
d8f879ee
AM
24242014-09-13 Allan McRae <allan@archlinux.org>
2425
2426 * po/ru.po: Update Russian translation from translation project.
2427
c079afb7
RM
24282014-09-12 Roland McGrath <roland@hack.frob.com>
2429
a62b3c15
RM
2430 * locale/programs/locale.c (show_locale_vars): Inline local function
2431 into its sole call site. Clean up some style nits.
2432 (print_item): New function, broken out of ...
2433 (show_info): ... local function here. Clean up style nits.
2434
d7e49b19
RM
2435 * locale/programs/ld-ctype.c (set_one_default): New function, broken
2436 out of ...
2437 (set_class_defaults): ... local function set_default here.
2438 Define set_default as a macro locally to pass constant parameters.
2439 (allocate_arrays, set_class_defaults): Use C99 for scope for each CNT,
2440 rather than a shared local.
2441
c079afb7
RM
2442 * stdlib/rpmatch.c (try): New function, broken out of ...
2443 (rpmatch): ... local function here. Also, prototypify definition.
2444
0bd72468
JM
24452014-09-12 Joseph Myers <joseph@codesourcery.com>
2446
ba90e050
JM
2447 * scripts/soversions.awk: Do not handle configuration names.
2448 * Makeconfig ($(common-objpfx)soversions.i): Do not pass cpu,
2449 vendor and os variables to soversions.awk.
2450 * configure.ac: Do not modify gnu-* host_os.
2451 * configure: Regenerated
2452 * shlib-versions: Remove first column with configuration names.
2453 * nptl/shlib-versions: Likewise.
2454 * nptl_db/shlib-versions: Likewise.
2455 * sysdeps/hppa/shlib-versions: Likewise.
2456 * sysdeps/m68k/shlib-versions: Likewise.
2457 * sysdeps/mach/hurd/shlib-versions: Likewise.
2458 * sysdeps/unix/sysv/linux/aarch64/shlib-versions: Likewise.
2459 * sysdeps/unix/sysv/linux/alpha/shlib-versions: Likewise.
2460 * sysdeps/unix/sysv/linux/arm/shlib-versions: Likewise.
2461 * sysdeps/unix/sysv/linux/hppa/shlib-versions: Likewise.
2462 * sysdeps/unix/sysv/linux/ia64/shlib-versions: Likewise.
2463 * sysdeps/unix/sysv/linux/m68k/coldfire/shlib-versions: Likewise.
2464 * sysdeps/unix/sysv/linux/microblaze/shlib-versions: Likewise.
2465 * sysdeps/unix/sysv/linux/mips/shlib-versions: Likewise.
2466 * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions:
2467 Likewise.
2468 * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
2469 * sysdeps/unix/sysv/linux/sh/shlib-versions: Likewise.
2470 * sysdeps/unix/sysv/linux/shlib-versions: Likewise.
2471 * sysdeps/unix/sysv/linux/sparc/sparc32/shlib-versions: Likewise.
2472 * sysdeps/unix/sysv/linux/sparc/sparc64/shlib-versions: Likewise.
2473 * sysdeps/unix/sysv/linux/tile/shlib-versions: Likewise.
2474 * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Likewise.
2475 * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
2476
73a39112
JM
2477 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
2478 (HAVE_ELFV2_ABI): AC_DEFINE in ELFv2 case.
2479 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure:
2480 Regenerated.
2481 * config.h.in (HAVE_ELFV2_ABI): New macro undefine.
2482 * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions:
2483 Condition symbol version definitions on [HAVE_ELFV2_ABI].
2484
c729e7c1
JM
2485 * shlib-versions: Remove OS-specific entries. Moved to files in
2486 sysdeps.
2487 * sysdeps/mach/hurd/shlib-versions: New file.
2488 * sysdeps/unix/sysv/linux/shlib-versions: Likewise.
2489
dc932a24
JM
2490 * nptl/shlib-versions: Remove architecture-specific entries.
2491 Moved to files in sysdeps.
2492 * shlib-versions: Likewise.
2493 * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: New
2494 file.
2495 * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
2496 * sysdeps/unix/sysv/linux/sh/shlib-versions: Likewise.
2497 * sysdeps/unix/sysv/linux/sparc/sparc32/shlib-versions: Likewise.
2498 * sysdeps/unix/sysv/linux/sparc/sparc64/shlib-versions: Likewise.
2499
0bd72468
JM
2500 * sysdeps/gnu/netinet/udp.h (UDP_NO_CHECK6_TX): New macro.
2501 (UDP_NO_CHECK6_RX): Likewise.
2502
920238e0
SP
25032014-09-12 Siddhesh Poyarekar <siddhesh@redhat.com>
2504
2505 * sysdeps/posix/sysconf.c (__sysconf): Spell
2506 _POSIX_DEVICE_SPECIFIC and _POSIX_DEVICE_SPECIFIC_R correctly.
2507
ba7b4d29
FW
25082014-08-12 Florian Weimer <fweimer@redhat.com>
2509
2510 * iconv/gconv_open.c (__gconv_open): Remove transliteration module
2511 loading.
2512 * iconv/Versions (__gconv_transliterate): Export for use from
2513 gconv modules.
2514 * iconv/gconv.h (__GCONV_TRANSLIT): New flag.
2515 (struct __gconv_trans_data, __gconv_trans_fct,
2516 __gconv_trans_context_fct, __gconv_trans_query_fct,
2517 __gconv_trans_init_fct, __gconv_trans_end_fct): Remove type
2518 definitions.
2519 (struct __gconv_step_data): Remove __trans member.
2520 (__gconv_transliterate): Declaration moved from gconv_int.h. No
2521 longer hidden. Remove unused trans_data argument.
2522 * iconv/gconv_int.h (struct trans_struct): Remove definition.
2523 (__gconv_translit_find): Remove declaration.
2524 (__gconv_transliterate): Declaration moved to gconv.h. Add hidden
2525 prototype.
2526 * iconv/gconv_close.c (__gconv_close): Remove __trans cleanup.
2527 * iconv/gconv_trans.c (__gconv_transliterate): Remove unused
2528 trans_data argument. Add hidden definition.
2529 (__gconv_translit_find): Remove.
2530 * iconv/loop.c (STANDARD_TO_LOOP_ERR_HANDLER): Call
2531 __gconv_transliterate directly if __GCONV_TRANSLIT is set.
2532 * iconv/skeleton.c: Remove transliteration initialization.
2533 * libio/fileops.c (_IO_new_file_fopen): Adjust struct
2534 __gconv_step_data initialization.
2535 * libio/iofwide.c (__libio_translit_): Remove.
2536 (_IO_fwide): Adjust struct __gconv_step_data initialization.
2537 * wcsmbs/btowc.c (__btowc): Likewise.
2538 * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
2539 * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
2540 * wcsmbs/mbsnrtowcs.c (__mbsnrtowcs): Likewise.
2541 * wcsmbs/mbsrtowcs_l.c (__mbsrtowcs_l): Likewise.
2542 * wcsmbs/wcrtomb.c (__wcrtomb): Likewise.
2543 * wcsmbs/wcsnrtombs.c (__wcsnrtombs): Likewise.
2544 * wcsmbs/wcsrtombs.c (__wcsrtombs): Likewise.
2545 * wcsmbs/wctob.c (wctob): Likewise.
2546
5379aebd
SP
25472014-09-12 Siddhesh Poyarekar <siddhesh@redhat.com>
2548
2549 [BZ #16194]
2550 * sysdeps/x86/tst-xmmymm.sh: Rename file to...
2551 * sysdeps/x86/tst-ld-sse-use.sh: ... this. Check for zmm
2552 register usage.
2553 * sysdeps/x86/Makefile: Adjust.
2554
8c0ab919
RM
25552014-09-11 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
2556 Roland McGrath <roland@hack.frob.com>
2557
2558 * locale/weight.h: Add include guard.
2559 (findidx): Make static rather than auto; take new parameters
2560 TABLE, INDIRECT, and EXTRA instead of getting them as outer locals.
2561 * locale/weightwc.h: Likewise.
2562 * posix/fnmatch_loop.c
2563 (FCT): Change type of EXTRA from int32_t to wint_t.
2564 Don't include either header inside the function.
2565 Call FINDIDX rather than findidx, and pass new arguments.
2566 #undef FINDIDX at the end of the file.
2567 * posix/fnmatch.c [_LIBC]: #include <locale/weight.h> and define
2568 FINDIDX before including fnmatch_loop.c for the non-wide version.
2569 [_LIBC] [HANDLE_MULTIBYTE]: #define findidx to findidxwc around
2570 #include <locale/weightwc.h>, and define FINDIDX to findidxwc
2571 for the wide version.
2572 * posix/regcomp.c [_LIBC]: #include <locale/weight.h>.
2573 (build_equiv_class) [_LIBC]: Don't #include it inside the function.
2574 Pass new arguments to findidx.
2575 * posix/regexec.c [RE_ENABLE_I18N] [_LIBC]: #include <locale/weight.h>.
2576 [RE_ENABLE_I18N] (check_node_accept_bytes) [_LIBC]:
2577 Don't #include it inside the function. Pass new arguments to findidx.
2578 * posix/regex_internal.h
2579 [!NOT_IN_libc] [_LIBC]: #include <locale/weight.h>.
2580 (re_string_elem_size_at): Don't #include it inside the function.
2581 Pass new arguments to findidx.
2582 * string/strcoll_l.c: #include WEIGHT_H at top level.
2583 (get_next_seq): Don't #include it inside the function.
2584 Pass new arguments to findidx.
2585 (get_next_seq_nocache): Likewise.
2586 * string/strxfrm_l.c: #include WEIGHT_H at top level.
2587 (STRXFRM): Don't #include it inside the function.
2588 Pass new arguments to findidx.
2589
52ffbdf2
FW
25902014-09-11 Florian Weimer <fweimer@redhat.com>
2591
2592 [BZ #17344]
2593 * malloc/malloc.c (unlink): Turn asserts into a call to
2594 malloc_printerr.
2595
984c0ea9
TL
25962014-09-11 Tim Lammens <tim.lammens@gmail.com>
2597
2598 [BZ #17370]
2599 * libio/wfileops (do_ftell_wide): Free OUT.
2600
3daee107
CM
26012014-09-10 Chris Metcalf <cmetcalf@tilera.com>
2602
2603 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Remove file.
2604
58b930ae
SP
26052014-09-10 Siddhesh Poyarekar <siddhesh@redhat.com>
2606
2607 [BZ #17363]
2608 * inet/getnetgrent_r.c (__internal_getnetgrent_r): Try next
2609 group if the current group is empty.
2610
3b473fec
AZ
26112014-09-10 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2612
71ae8647
AZ
2613 * benchtests/bench-memset.c (test_main): Add more test from size
2614 from 32 to 512 bytes.
2615 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
2616 Add POWER8 memset object.
2617 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
2618 (__libc_ifunc_impl_list): Add POWER8 memset and bzero implementations.
2619 * sysdeps/powerpc/powerpc64/multiarch/bzero.c (__bzero): Add POWER8
2620 implementation.
2621 * sysdeps/powerpc/powerpc64/multiarch/memset.c (__libc_memset):
2622 Likewise.
2623 * sysdeps/powerpc/powerpc64/multiarch/memset-power8.S: New file:
2624 multiarch POWER8 memset optimization.
2625 * sysdeps/powerpc/powerpc64/power8/memset.S: New file: optimized
2626 POWER8 memset optimization.
2627
3b473fec
AZ
2628 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
2629 Remove bzero multiarch objects.
2630 * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: Remove file.
2631 * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: Likewise.
2632 * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: Likewise.
2633 * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S [NO_BZERO_IMPL]:
2634 Remove define.
2635 [__bzero]: Redefine to specific name.
2636 * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: Likewise.
2637 * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: Likewise.
2638 * sysdeps/powerpc/powerpc64/power4/memset.S [NO_BZERO_IMPL]: Remove
2639 define.
2640 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
2641 * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
2642
e6fb9587
FW
26432014-09-10 Florian Weimer <fweimer@redhat.com>
2644
2645 * Makeconfig (gccwarn-c): Turn implicit-function-declaration
2646 warnings into errors.
2647
2648 * stdlib/tst-tls-atexit-lib.c: Include <stdlib.h>, for the
2649 __cxa_thread_atexit_impl prototype.
2650
9d3a350b
SE
26512014-09-09 Steve Ellcey <sellcey@mips.com>
2652
2653 * sysdeps/mips/preconfigure: Put code inside mips* case statement.
2654 Fix capitalization of error message.
2655
0febba23
SE
26562014-09-09 Steve Ellcey <sellcey@mips.com>
2657
2658 * sysdeps/mips/preconfigure: Modify ABI tests.
2659
645a0e9c
CD
26602014-09-07 Carlos O'Donell <carlos@systemhalted.org>
2661
2662 * sysdeps/unix/sysv/linux/hppa/c++-types.data: New file.
2663
d83f0734
CD
26642014-09-07 Roland McGrath <roland@hack.frob.com>
2665 Carlos O'Donell <carlos@systemhalted.org>
2666
2667 * sysdeps/unix/sysv/linux/hppa/nptl/libc-lowlevellock.c: File removed.
2668 * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Moved ...
2669 * sysdeps/unix/sysv/linux/hppa/lowlevellock.h: ... here.
2670 * sysdeps/unix/sysv/linux/hppa/nptl/pt-vfork.S: Moved ...
2671 * sysdeps/unix/sysv/linux/hppa/pt-vfork.S: ... here.
2672 * sysdeps/unix/sysv/linux/hppa/nptl/pthread.h: Moved ...
2673 * sysdeps/unix/sysv/linux/hppa/pthread.h: ... here.
2674 * sysdeps/unix/sysv/linux/hppa/nptl/pthreadP.h: Moved ...
2675 * sysdeps/unix/sysv/linux/hppa/pthreadP.h: ... here.
2676 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_broadcast.c: Moved ...
2677 * sysdeps/unix/sysv/linux/hppa/pthread_cond_broadcast.c: ... here.
2678 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_destroy.c: Moved ...
2679 * sysdeps/unix/sysv/linux/hppa/pthread_cond_destroy.c: ... here.
2680 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_init.c: Moved ...
2681 * sysdeps/unix/sysv/linux/hppa/pthread_cond_init.c: ... here.
2682 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_signal.c: Moved ...
2683 * sysdeps/unix/sysv/linux/hppa/pthread_cond_signal.c: ... here.
2684 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_timedwait.c: Moved ...
2685 * sysdeps/unix/sysv/linux/hppa/pthread_cond_timedwait.c: ... here.
2686 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_wait.c: Moved ...
2687 * sysdeps/unix/sysv/linux/hppa/pthread_cond_wait.c: ... here.
2688 * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Moved ...
2689 * sysdeps/unix/sysv/linux/hppa/sysdep-cancel.h: ... here.
2690 * sysdeps/unix/sysv/linux/hppa/nptl/bits/pthreadtypes.h: Moved ...
2691 * sysdeps/hppa/nptl/bits/pthreadtypes.h: ... here.
2692 * sysdeps/unix/sysv/linux/hppa/nptl/bits/semaphore.h: Moved ...
2693 * sysdeps/hppa/nptl/bits/semaphore.h: ... here.
2694 * sysdeps/unix/sysv/linux/hppa/clone.S: Include <tcb-offsets.h>.
2695 Deconditionalize the code that was previously under [RESET_PID].
2696 * sysdeps/unix/sysv/linux/hppa/nptl/clone.S: File removed.
2697 * sysdeps/unix/sysv/linux/hppa/arch-fork.h: New file.
2698 * sysdeps/unix/sysv/linux/hppa/nptl/fork.c: File removed.
2699 * sysdeps/hppa/nptl/tcb-offsets.sym: Include pthread.h and don't
2700 include sysdep.h.
2701
21c83793
AM
27022014-09-08 Allan McRae <allan@archlinux.org>
2703
2704 * version.h (RELEASE): Set to "development".
2705 (VERSION): Set to "2.20.90"
2706
1cd9b65c
AM
27072014-09-07 Allan McRae <allan@archlinux.org
2708
b8079dd0
AM
2709 * version.h (RELEASE): Set to "stable".
2710 (VERSION): Set to "2.20"
2711 * include/features.h (__GLIBC_MINOR__): Set to 20.
2712
c46303ef
AM
2713 * manual/contrib.texi: Add entries for Wilco Dijkstra and Stefan
2714 Liebler.
2715
1cd9b65c
AM
2716 * po/ko.po: Update Korean translation from translation project.
2717
8622092d
CM
27182014-09-06 Chris Metcalf <cmetcalf@tilera.com>
2719
2720 [BZ #17354]
2721 * sysdeps/tile/dl-machine.h (elf_machine_rela): Add a MUNGE_SIGNED
2722 macro for handling signed relocations.
2723
41488498
FW
27242014-09-03 Florian Weimer <fweimer@redhat.com>
2725
2726 [BZ #17325]
2727 * iconvdata/ibm1364.c (BODY): Fix check for sentinel.
2728 * iconvdata/ibm932.c (BODY): Replace invalid sentinel check with
2729 assert.
2730 * iconvdata/ibm933.c (BODY): Fix check for sentinel.
2731 * iconvdata/ibm935.c (BODY): Likewise.
2732 * iconvdata/ibm937.c (BODY): Likewise.
2733 * iconvdata/ibm939.c (BODY): Likewise.
2734 * iconvdata/ibm943.c (BODY): Replace invalid sentinel check with
2735 assert.
2736 * iconvdata/Makefile (iconv-test.out): Pass module list to test
2737 script.
2738 * iconvdata/run-iconv-test.sh: New test loop for checking for
2739 decoder crashers.
2740
a78b712d
KR
27412014-09-02 Khem Raj <raj.khem@gmail.com>
2742
2743 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c (fegetenv): Add
2744 libm_hidden_ver.
2745
cb08abc6
AM
27462014-09-01 Allan McRae <allan@archlinux.org>
2747
2c31e102
AM
2748 * po/eo.po: Update Esperanto translation from translation project.
2749
cb08abc6
AM
2750 * po/ca.po: Update Catalan translation from translation project.
2751
17a62de1
ST
27522014-08-28 Samuel Thibault <samuel.thibault@ens-lyon.org>
2753
2754 * sysdeps/mach/hurd/fork.c (__fork): Lock SS->lock around
2755 __proc_dostop call.
2756
9570bc53
MW
27572014-08-27 Mark Wielaard <mjw@redhat.com>
2758
2759 [BZ #17319]
2760 * sysdeps/i386/nptl/tls.h (TLS_INIT_TP): Use INTERNAL_SYSCALL
2761 to call set_thread_area instead of hand written asm.
2762 (__NR_set_thread_area): Removed define.
2763 (TLS_FLAG_WRITABLE): Likewise.
2764 (__ASSUME_SET_THREAD_AREA): Remove check.
2765 (TLS_EBX_ARG): Remove define.
2766 (TLS_LOAD_EBX): Likewise.
2767
b0f955c9
ST
27682014-08-27 Samuel Thibault <samuel.thibault@ens-lyon.org>
2769
2770 Simplify atomicity of socket creation in bind.
2771
2772 * sysdeps/mach/hurd/bind.c (__bind): Use dir_lookup(node, "") instead of
2773 looking up the name after linking the file.
2774
529bf515
AM
27752014-08-27 Allan McRae <allan@archlinux.org>
2776
2777 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
2778
a1a6a401
FW
27792014-08-26 Florian Weimer <fweimer@redhat.com>
2780
2781 [BZ #17187]
2782 * iconv/gconv_trans.c (struct known_trans, search_tree, lock,
2783 trans_compare, open_translit, __gconv_translit_find):
2784 Remove module loading code.
2785
686ab290
AM
27862014-08-26 Allan McRae <allan@archlinux.org>
2787
e4e7cfd2
AM
2788 * po/vi.po: Update Vietnamese translation from translation project.
2789
6aa09f71
AM
2790 * po/uk.po: Update Ukrainian translation from translation project.
2791
edc0660e
AM
2792 * po/fr.po: Update French translation from translation project.
2793
7eea72ac
AM
2794 * po/ru.po: Update Russian translation from translation project.
2795
93c49eff
AM
2796 * po/pl.po: Update Polish translation from translation project.
2797
46acaf63
AM
2798 * po/cs.po: Update Czech translation from translation project.
2799
a9f5ce98
AM
2800 * po/de.po: Update German translation from translation project.
2801
373f2b78
AM
2802 * po/bg.po: Update Bulgarian translation from translation project.
2803
e7548bd8
AM
2804 * po/sv.po: Update Sweedish translation from translation project.
2805
c526bf4d
AM
2806 * po/nl.po: Update Dutch translation from translation project.
2807
686ab290
AM
2808 * po/es.po: Update Spanish translation from translation project.
2809
eb72478a
SP
28102014-08-21 Siddhesh Poyarekar <siddhesh@redhat.com>
2811
dd763fdb
SP
2812 * nptl/Makefile (CFLAGS-pthread_atfork.c): Remove.
2813
318c7a58
SP
2814 * catgets/Makefile (CPPFLAGS-gencat): Remove.
2815 * iconv/Makefile (CPPFLAGS-iconv_prog): Likewise.
2816 (CPPFLAGS-iconvconfig): Likewise.
2817 * timezone/Makefile (CPPFLAGS-zic): Likewise.
2818
eb72478a
SP
2819 * include/libc-symbols.h: Remove unnecessary check for
2820 NOT_IN_libc.
2821 * nptl/pthreadP.h: Likewise.
2822 * sysdeps/aarch64/setjmp.S: Likewise.
2823 * sysdeps/alpha/setjmp.S: Likewise.
2824 * sysdeps/arm/sysdep.h: Likewise.
2825 * sysdeps/i386/setjmp.S: Likewise.
2826 * sysdeps/m68k/setjmp.c: Likewise.
2827 * sysdeps/posix/getcwd.c: Likewise.
2828 * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
2829 * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise.
2830 * sysdeps/s390/s390-32/setjmp.S: Likewise.
2831 * sysdeps/s390/s390-64/setjmp.S: Likewise.
2832 * sysdeps/sh/sh3/setjmp.S: Likewise.
2833 * sysdeps/sh/sh4/setjmp.S: Likewise.
2834 * sysdeps/unix/alpha/sysdep.h: Likewise.
2835 * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
2836 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
2837 * sysdeps/unix/sysv/linux/ia64/setjmp.S: Likewise.
2838 * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
2839 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
2840 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
2841 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
2842 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
2843 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
2844 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
2845 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
2846 * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
2847 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
2848 * sysdeps/x86_64/setjmp.S: Likewise.
2849
d44a052c
JM
28502014-08-13 Joseph Myers <joseph@codesourcery.com>
2851
2852 [BZ #17263]
2853 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Include
2854 <stdint.h>.
2855 (__get_clockfreq): Use uint64_t instead of hp_timing_t in
2856 INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK call.
2857
508ce3ac
SP
28582014-08-13 Siddhesh Poyarekar <siddhesh@redhat.com>
2859
e44c8b0e
SP
2860 * sysdeps/x86/fpu/bits/mathinline.h: Fix typo in comment.
2861
508ce3ac
SP
2862 [BZ #17262]
2863 * sysdeps/x86/fpu/bits/mathinline.h: Check both __SSE2_MATH__
2864 and __x86_64__ when disabling x87 inline functions.
2865
b4acef1f
L
28662014-08-12 H.J. Lu <hongjiu.lu@intel.com>
2867
2868 [BZ #17259]
2869 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Replace cpuid
2870 asm statement with __cpuid_count.
2871
61b1ef6e
MF
28722014-08-12 Mike Frysinger <vapier@gentoo.org>
2873
2874 * configure.ac: Change __ehdr_start code to dereference the struct.
2875 Run readelf on the output to look for relocations.
2876 * configure: Regenerated.
2877
898c62f4
JM
28782014-08-12 Joseph Myers <joseph@codesourcery.com>
2879
2880 [BZ #17261]
2881 * sysdeps/powerpc/nofpu/fenv_const.c (__fe_enabled_env): Change
2882 value to 0.
2883 (__fe_nonieee_env): Define as an alias for __fe_dfl_env.
2884
9a8a5720
RM
28852014-08-12 Roland McGrath <roland@hack.frob.com>
2886
2887 * NEWS: Mention x86-64 ld.so use of Intel MPX instructions.
2888
4e75751c
BO
28892014-08-12 Bernard Ogden <bernie.ogden@linaro.org>
2890
2891 [BZ #16892]
2892 * sysdeps/nptl/lowlevellock.h (__lll_timedlock): Use
2893 atomic_compare_and_exchange_bool_acq rather than atomic_exchange_acq.
2894
bb2ce416
SA
28952014-08-12 Sean Anderson <seanga2@gmail.com>
2896
2897 * malloc/malloc.c: Fix typo in comment.
2898
7950a4ee
AM
28992014-08-09 Allan McRae <allan@archlinux.org>
2900
2901 * Regenerate libc.po.
2902
f469c49f
MF
29032014-08-08 Mike Frysinger <vapier@gentoo.org>
2904
2905 * intl/tst-gettext2.sh: Check every lang file for creation.
2906
656b84c2
WD
29072014-08-07 Wilco Dijkstra <wdijkstr@arm.com>
2908
2909 * sysdeps/aarch64/fpu/math_private.h
2910 (libc_feholdsetround_noex_aarch64_ctx): New function.
2911
538e9e45
W
29122014-08-07 Wilco Dijkstra <wdijkstr@arm.com>
2913
2914 * sysdeps/arm/armv6/strcpy.S (strcpy):
2915 Fix performance issue in misaligned cases.
2916
d4795e4a
AZ
29172014-08-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2918
2919 * sysdeps/unix/sysv/linux/powerpc/bits/ioctl-types.h (struct winsize):
2920 Move definition from termios.h.
2921 (struct termio): Likewise.
2922 (NCC, TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
2923 TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI, N_TTY, N_SLIP,
2924 N_MOUSE, N_PPP, N_STRIP, N_AX25, N_X25, N_6PACK, N_MASC, N_R3964,
2925 N_PROFIBUS_FDL, N_IRDA, N_SMSBLOCK, N_HDLC, N_SYNC_PPP, N_HCI):
2926 Likewise.
2927 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h (struct winsize):
2928 Move definition to ioctl-types.h
2929 (struct termio): Likewise.
2930 (NCC, TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
2931 TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI, N_TTY, N_SLIP,
2932 N_MOUSE, N_PPP, N_STRIP, N_AX25, N_X25, N_6PACK, N_MASC, N_R3964,
2933 N_PROFIBUS_FDL, N_IRDA, N_SMSBLOCK, N_HDLC, N_SYNC_PPP, N_HCI):
2934 Likewise.
2935
64accb62
RH
29362014-08-05 Richard Henderson <rth@redhat.com>
2937
27bb6dc0
RH
2938 * sysdeps/alpha/soft-fp/ots_cvtxq.c (_OtsCvtXQ): Always raise
2939 exceptions.
2940 * sysdeps/alpha/soft-fp/Makefile [soft-fp] (sysdep_routines):
2941 Add fraiseexcpt.
2942 * sysdeps/alpha/soft-fp/sfp-machine.h (FP_HANDLE_EXCEPTIONS):
2943 Use __feraiseexcept.
2944 * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S (feraiseexcept):
2945 Protect libm symbols with IS_IN_libm.
2946
64accb62
RH
2947 * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Remove file.
2948
e5292691
BO
29492014-08-04 Bernard Ogden <bernie.ogden@linaro.org>
2950
2951 * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Remove file.
2952
5b4bd2d4
WN
29532014-08-04 Will Newton <will.newton@linaro.org>
2954
2955 * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: Remove
2956 file.
2957
fcadaeef
MF
29582014-08-04 Mike Frysinger <vapier@gentoo.org>
2959
2960 * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h (PSEUDO): Add nocancel
2961 variants for each function.
2962
43a94c64
RM
29632014-08-04 Roland McGrath <roland@hack.frob.com>
2964
2965 * sysdeps/unix/sysv/linux/ia64/nptl/Makefile: File removed, contents
2966 appended ...
2967 * sysdeps/unix/sysv/linux/ia64/Makefile: ... here.
2968 * sysdeps/unix/sysv/linux/ia64/nptl/Versions: File removed, contents
2969 appended ...
2970 * sysdeps/unix/sysv/linux/ia64/Versions: ... here.
2971 * sysdeps/unix/sysv/linux/ia64/nptl/__ia64_longjmp.S: Moved ...
2972 * sysdeps/unix/sysv/linux/ia64/__ia64_longjmp.S: ... here.
2973 * sysdeps/unix/sysv/linux/ia64/nptl/__sigstack_longjmp.c: Moved ...
2974 * sysdeps/unix/sysv/linux/ia64/__sigstack_longjmp.c: ... here.
2975 * sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data: Moved ...
2976 * sysdeps/unix/sysv/linux/ia64/c++-types.data: ... here.
2977 * sysdeps/unix/sysv/linux/ia64/nptl/dl-sysdep.h: Moved ...
2978 * sysdeps/unix/sysv/linux/ia64/dl-sysdep.h: ... here.
2979 * sysdeps/unix/sysv/linux/ia64/nptl/ld.abilist: Moved ...
2980 * sysdeps/unix/sysv/linux/ia64/ld.abilist: ... here.
2981 * sysdeps/unix/sysv/linux/ia64/nptl/libBrokenLocale.abilist: Moved ...
2982 * sysdeps/unix/sysv/linux/ia64/libBrokenLocale.abilist: ... here.
2983 * sysdeps/unix/sysv/linux/ia64/nptl/libanl.abilist: Moved ...
2984 * sysdeps/unix/sysv/linux/ia64/libanl.abilist: ... here.
2985 * sysdeps/unix/sysv/linux/ia64/nptl/libc.abilist: Moved ...
2986 * sysdeps/unix/sysv/linux/ia64/libc.abilist: ... here.
2987 * sysdeps/unix/sysv/linux/ia64/nptl/libcrypt.abilist: Moved ...
2988 * sysdeps/unix/sysv/linux/ia64/libcrypt.abilist: ... here.
2989 * sysdeps/unix/sysv/linux/ia64/nptl/libdl.abilist: Moved ...
2990 * sysdeps/unix/sysv/linux/ia64/libdl.abilist: ... here.
2991 * sysdeps/unix/sysv/linux/ia64/nptl/libm.abilist: Moved ...
2992 * sysdeps/unix/sysv/linux/ia64/libm.abilist: ... here.
2993 * sysdeps/unix/sysv/linux/ia64/nptl/libnsl.abilist: Moved ...
2994 * sysdeps/unix/sysv/linux/ia64/libnsl.abilist: ... here.
2995 * sysdeps/unix/sysv/linux/ia64/nptl/libpthread.abilist: Moved ...
2996 * sysdeps/unix/sysv/linux/ia64/libpthread.abilist: ... here.
2997 * sysdeps/unix/sysv/linux/ia64/nptl/libresolv.abilist: Moved ...
2998 * sysdeps/unix/sysv/linux/ia64/libresolv.abilist: ... here.
2999 * sysdeps/unix/sysv/linux/ia64/nptl/librt.abilist: Moved ...
3000 * sysdeps/unix/sysv/linux/ia64/librt.abilist: ... here.
3001 * sysdeps/unix/sysv/linux/ia64/nptl/libthread_db.abilist: Moved ...
3002 * sysdeps/unix/sysv/linux/ia64/libthread_db.abilist: ... here.
3003 * sysdeps/unix/sysv/linux/ia64/nptl/libutil.abilist: Moved ...
3004 * sysdeps/unix/sysv/linux/ia64/libutil.abilist: ... here.
3005 * sysdeps/unix/sysv/linux/ia64/nptl/localplt.data: Moved ...
3006 * sysdeps/unix/sysv/linux/ia64/localplt.data: ... here.
3007 * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Moved ...
3008 * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: ... here.
3009 * sysdeps/unix/sysv/linux/ia64/nptl/sysdep-cancel.h: Moved ...
3010 * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: ... here.
3011 * sysdeps/unix/sysv/linux/ia64/nptl/timer_create.c: Moved ...
3012 * sysdeps/unix/sysv/linux/ia64/timer_create.c: ... here.
3013 * sysdeps/unix/sysv/linux/ia64/nptl/timer_delete.c: Moved ...
3014 * sysdeps/unix/sysv/linux/ia64/timer_delete.c: ... here.
3015 * sysdeps/unix/sysv/linux/ia64/nptl/timer_getoverr.c: Moved ...
3016 * sysdeps/unix/sysv/linux/ia64/timer_getoverr.c: ... here.
3017 * sysdeps/unix/sysv/linux/ia64/nptl/timer_gettime.c: Moved ...
3018 * sysdeps/unix/sysv/linux/ia64/timer_gettime.c: ... here.
3019 * sysdeps/unix/sysv/linux/ia64/nptl/timer_settime.c: Moved ...
3020 * sysdeps/unix/sysv/linux/ia64/timer_settime.c: ... here.
3021 * sysdeps/unix/sysv/linux/ia64/nptl/unwind-forcedunwind.c: Moved ...
3022 * sysdeps/unix/sysv/linux/ia64/unwind-forcedunwind.c: ... here.
3023 Update #include.
3024 * sysdeps/unix/sysv/linux/ia64/nptl/unwind_longjmp.c: Moved ...
3025 * sysdeps/unix/sysv/linux/ia64/unwind_longjmp.c: ... here.
3026
8f3c1fa4
RM
30272014-08-04 Roland McGrath <roland@hack.frob.com>
3028
3029 * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h: Moved ...
3030 * sysdeps/ia64/nptl/bits/pthreadtypes.h: ... here.
3031 * sysdeps/unix/sysv/linux/ia64/nptl/bits/semaphore.h: Moved ...
3032 * sysdeps/ia64/nptl/bits/semaphore.h: ... here.
3033 * sysdeps/unix/sysv/linux/ia64/nptl/bits/local_lim.h: Moved ...
3034 * sysdeps/unix/sysv/linux/ia64/bits/local_lim.h: ... here.
3035
ca08746f
RM
30362014-08-04 Roland McGrath <roland@hack.frob.com>
3037
3038 * nptl/sysdeps/pthread/createthread.c: Include <arch-fork.h>.
3039 * sysdeps/unix/sysv/linux/ia64/arch-fork.h (ARCH_CLONE): New macro.
3040 * sysdeps/ia64/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
3041 * sysdeps/unix/sysv/linux/ia64/nptl/createthread.c: File removed.
3042
9c925ff9
RM
30432014-08-04 Roland McGrath <roland@hack.frob.com>
3044
3045 * sysdeps/unix/sysv/linux/ia64/nptl/vfork.S: Moved ...
3046 * sysdeps/unix/sysv/linux/ia64/vfork.S: ... here.
3047 (__libc_vfork): Define function under this name.
3048 (__vfork): Define as an alias.
3049 * sysdeps/unix/sysv/linux/ia64/pt-vfork.S: New file.
3050 * sysdeps/unix/sysv/linux/ia64/nptl/pt-vfork.S: File removed.
3051
e641054c
RM
30522014-08-04 Roland McGrath <roland@hack.frob.com>
3053
3054 * sysdeps/unix/sysv/linux/ia64/clone2.S: Deconditionalize the code
3055 that was previously under [RESET_PID].
3056 * sysdeps/unix/sysv/linux/ia64/nptl/clone2.S: File removed.
3057
dacdc867
AS
30582014-08-04 Andreas Schwab <schwab@suse.de>
3059
3060 * sysdeps/ieee754/ldbl-96/s_fma.c: Include <math_private.h>.
3061
41f725ff
MF
30622014-08-03 Mike Frysinger <vapier@gentoo.org>
3063
3064 * stdlib/tst-setcontext.c (test_stack): Fix coding style.
3065 (main): Likewise.
3066
277cfb31
RM
30672014-08-01 Roland McGrath <roland@hack.frob.com>
3068
3069 * sysdeps/unix/sysv/linux/arm/lowlevellock.h: File removed.
3070
4896f049
RH
30712014-08-01 Richard Henderon <rth@redhat.com>
3072
3073 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use math_force_eval before
3074 feclearexcept; use math_opt_barrier instead of open-coded asm; fix
3075 typo in exact zero test.
3076 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
3077 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
3078 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
3079
6f64e7d7
RM
30802014-08-01 Roland McGrath <roland@hack.frob.com>
3081
3082 * sysdeps/unix/sysv/linux/arm/sysdep.h (PTR_MANGLE_LOAD, PTR_MANGLE)
3083 (PTR_MANGLE2, PTR_DEMANGLE, PTR_DEMANGLE2): Move these macros...
3084 * sysdeps/arm/sysdep.h: ... here.
3085 [!__ASSEMBLER__]: Include <stdint.h>.
3086
3f3dd810
SP
30872014-08-01 Siddhesh Poyarekar <siddhesh@redhat.com>
3088
a476ac4b
SP
3089 * include/libc-symbols.h (HAVE_LIBINTL_H): Define macro.
3090 (HAVE_WCTYPE_H): Likewise.
3091 (HAVE_ISWCTYPE): Likewise.
3092 (ENABLE_NLS): Likewise.
3093 * posix/regex_internal.h [(defined MB_CUR_MAX && HAVE_WCTYPE_H
3094 && HAVE_ISWCTYPE) || _LIBC]: Sync up with gnulib.
3095
78dd658a
SP
3096 * posix/regex_internal.c: Check if DEBUG is defined and is
3097 set.
3098
3f3dd810
SP
3099 * include/libc-symbols.h (HAVE_MBSTATE_T): Define macro.
3100 (HAVE_MBSRTOWCS): Likewise.
3101 * posix/fnmatch.c: Include string.h unconditionally.
3102
95ee7fb1
SL
31032014-08-01 Stefan Liebler <stli@linux.vnet.ibm.com>
3104
3105 * NEWS: Explain the s390 jmp_buf / ucontext_t ABI change
3106 reversal.
3107
23fe486b
RM
31082014-07-31 Roland McGrath <roland@hack.frob.com>
3109
f61a113f
RM
3110 * sysdeps/generic/safe-fatal.h: New file.
3111 * sysdeps/unix/sysv/linux/safe-fatal.h: New file.
3112 * nptl/forward.c: Include it.
3113 (__pthread_unwind): Use __safe_fatal as default action, rather
3114 than a bogus use of INTERNAL_SYSCALL that could never work.
3115
9fe7e787
RM
3116 * config.h.in (HAVE_BUILTIN_TRAP): New #define to 0.
3117 * configure.ac (libc_cv_builtin_trap): New test.
3118 * configure: Regenerated.
3119 * sysdeps/generic/abort-instr.h [HAVE_BUILTIN_TRAP]
3120 (ABORT_INSTRUCTION): Define using __builtin_trap.
3121
23fe486b
RM
3122 * nptl/pthreadP.h (SIGCANCEL, SIGTIMER, SIGSETXID, __xidcmd): Moved ...
3123 * sysdeps/unix/sysv/linux/nptl-signals.h: ... to this new file.
3124 * sysdeps/nptl/nptl-signals.h: New file.
3125 * nptl/pthreadP.h: Include <nptl-signals.h>.
3126
f349489e
SL
31272014-07-31 Stefan Liebler <stli@linux.vnet.ibm.com>
3128
3129 * sysdeps/s390/s390-64/utf16-utf32-z9.c
3130 (ONE_DIRECTION): Define.
3131 * sysdeps/s390/s390-64/utf8-utf16-z9.c
3132 (ONE_DIRECTION): Define.
3133 * sysdeps/s390/s390-64/utf8-utf32-z9.c
3134 (ONE_DIRECTION): Define.
3135
2f438e20
SL
31362014-07-31 Stefan Liebler <stli@linux.vnet.ibm.com>
3137
3138 * sysdeps/s390/Makefile: Delete file.
3139 * sysdeps/s390/Versions (GLIBC_2.19): Remove __setjmp.
3140 * sysdeps/s390/__longjmp.c: Delete file.
3141 * sysdeps/s390/bits/setjmp.h (__s390_jmp_buf):
3142 Remove fields __flags and __reserved.
3143 * sysdeps/s390/longjmp.c: Include setjmp/longjmp.c
3144 and add versioning.
3145 * sysdeps/s390/rtld-__longjmp.c: Delete file.
3146 * sysdeps/s390/rtld-global-offsets.sym: Likewise.
3147 * sysdeps/s390/rtld-setjmp.S: Likewise.
3148 * sysdeps/s390/s390-32/__longjmp-common.c: Move to ...
3149 * sysdeps/s390/s390-32/__longjmp.c: ... here.
3150 * sysdeps/s390/s390-32/setjmp-common.S: Move to ...
3151 * sysdeps/s390/s390-32/setjmp.S: ... here.
3152 Add versioning.
3153 (__sigsetjmp): Remove setting __flags field.
3154 * sysdeps/s390/s390-64/__longjmp-common.c:Move to ...
3155 * sysdeps/s390/s390-64/__longjmp.c: ... here.
3156 * sysdeps/s390/s390-64/setjmp-common.S: Move to ...
3157 * sysdeps/s390/s390-64/setjmp.S: ... here.
3158 Add versioning.
3159 (__sigsetjmp): Remove setting __flags field.
3160 * sysdeps/s390/setjmp.S: Delete file.
3161 * sysdeps/s390/sigjmp.c: Likewise.
3162 * sysdeps/s390/v1-longjmp.c: Likewise.
3163 * sysdeps/s390/v1-setjmp.h: Likewise.
3164 * sysdeps/s390/v1-sigjmp.c: Likewise.
3165 * sysdeps/unix/sysv/linux/s390/Makefile (sysdep_routines):
3166 Remove v1-longjmp_chk.
3167 * sysdeps/unix/sysv/linux/s390/getcontext.S: Delete file.
3168 * sysdeps/unix/sysv/linux/s390/longjmp_chk.c:
3169 Include debug/longjmp_chk.c and add versioning.
3170 * sysdeps/unix/sysv/linux/s390/pt-longjmp.c:
3171 Include nptl/pt-longjmp.c and add versioning.
3172 * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: Delete file.
3173 * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c:
3174 Include __longjmp.c.
3175 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
3176 Move to ...
3177 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: ... here.
3178 (__getcontext): Remove setting __flags field.
3179 Add versioning.
3180 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
3181 Don't restore upper high grps.
3182 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S:
3183 Likewise.
3184 (__swapcontext): Remove setting uc_flags field.
3185 * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym:
3186 Delete file.
3187 * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
3188 Include __longjmp.c.
3189 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
3190 Move to ...
3191 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: ... here.
3192 (__getcontext): Remove setting __flags field.
3193 Add versioning.
3194 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S:
3195 (__swapcontext): Remove setting uc_flags field.
3196 * unix/sysv/linux/s390/s390-64/ucontext_i.sym: Delete file.
3197 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (ucontext):
3198 Remove fields uc_high_gprs and __reserved.
3199 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym:
3200 New file with reverted content.
3201 * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: Delete file.
3202 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist:
3203 Regenerated.
3204 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist:
3205 Regenerated.
3206
6c9578a2
AS
32072014-07-31 Andreas Schwab <schwab@suse.de>
3208
3209 * config.h.in (HAVE_IFUNC): Define to 0.
3210 * rt/clock-compat.c [HAVE_IFUNC]: Check for value, not
3211 definedness.
3212
05f3633d
LM
32132014-07-30 Ling Ma <ling.ml@alibaba-inc.com>
3214
3215 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
3216 memmove-avx-unaligned, memcpy-avx-unaligned and
3217 mempcpy-avx-unaligned.
3218 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
3219 Add tests for AVX memcpy functions.
3220 * sysdeps/x86_64/multiarch/memcpy.S: Add support for AVX memcpy.
3221 * sysdeps/x86_64/multiarch/memcpy_chk.S: Add support for AVX
3222 memcpy_chk.
3223 * sysdeps/x86_64/multiarch/memmove.c: Add support for AVX memmove.
3224 * sysdeps/x86_64/multiarch/memmove_chk.c: Add support for AVX
3225 memmove_chk.
3226 * sysdeps/x86_64/multiarch/mempcpy.S: Add support for AVX mempcpy.
3227 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Add support for AVX
3228 mempcpy_chk.
3229 * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S: New file.
3230 * sysdeps/x86_64/multiarch/mempcpy-avx-unaligned.S: New file.
3231 * sysdeps/x86_64/multiarch/memmove-avx-unaligned.S: New file.
3232
a53fbd8e
AZ
32332013-07-29 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3234
3235 [BZ #17213]
3236 * sysdeps/powerpc/powerpc64/entry.h: Fix TEXT_START definition for
3237 powerpc64le.
3238
0961f7e1
JL
32392014-07-29 Jeff Layton <jlayton@poochiereds.net>
3240
3241 [BZ #16839]
3242 * manual/llio.texi: Add section about open file description locks.
3243 * manual/examples/ofdlocks.c: Example of open file description
3244 lock usage.
3245 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Define F_OFD_GETLK,
3246 F_OFD_SETLK, and F_OFD_SETLKW.
3247
cc5fb300
AM
32482014-07-23 Allan McRae <allan@archlinux.org>
3249
3250 * po/es.po: Update Spanish translation from translation project.
3251
23329dca
AS
32522014-07-18 Andreas Schwab <schwab@linux-m68k.org>
3253
3254 * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Removed.
3255
9c82da17
MR
32562014-07-17 Maciej W. Rozycki <macro@codesourcery.com>
3257
3258 [BZ #17078]
3259 * sysdeps/arm/dl-machine.h (elf_machine_rela)
3260 [RESOLVE_CONFLICT_FIND_MAP]: Handle R_ARM_TLS_DESC relocation.
3261 (elf_machine_lazy_rel): Handle prelinked R_ARM_TLS_DESC entries.
3262
29c4f53e
JM
32632014-07-17 Joseph Myers <joseph@codesourcery.com>
3264
831b9896
JM
3265 [BZ #17088]
3266 * math/fesetenv.c (__fesetenv)
3267 [FE_NOMASK_ENV && FE_ALL_EXCEPT != 0]: Return 1 for FE_NOMASK_ENV.
3268 * math/feupdateenv.c (__feupdateenv)
3269 [FE_NOMASK_ENV && FE_ALL_EXCEPT != 0]: Likewise.
3270
b21c2d50
JM
3271 * sysdeps/unix/sysv/linux/s390/kernel-features.h: New file.
3272 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__]
3273 (__ASSUME_SOCKETCALL): Do not define.
3274
067764ef
JM
3275 * sysdeps/unix/sysv/linux/sh/kernel-features.h: New file.
3276 * sysdeps/unix/sysv/linux/kernel-features.h [__sh__]
3277 (__ASSUME_SOCKETCALL): Do not define.
3278 (__ASSUME_ST_INO_64_BIT): Define unconditionally.
3279 [__LINUX_KERNEL_VERSION >= 0x020625 && __sh__]
3280 (__ASSUME_ACCEPT4_SYSCALL): Do not define.
3281 [__LINUX_KERNEL_VERSION >= 0x020625 && __sh__]
3282 (__ASSUME_RECVMMSG_SYSCALL): Likewise.
3283 [__LINUX_KERNEL_VERSION >= 0x030000 && __sh__]
3284 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
3285 [__sh__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
3286
642530c1
JM
3287 * sysdeps/unix/sysv/linux/powerpc/kernel-features.h: New file.
3288 * sysdeps/unix/sysv/linux/kernel-features.h [__powerpc__]
3289 (__ASSUME_SOCKETCALL): Do not define.
3290 (__ASSUME_IPC64): Define unconditionally.
3291 [__LINUX_KERNEL_VERSION >= 0x020625 && __powerpc__]
3292 (__ASSUME_ACCEPT4_SYSCALL): Do not define.
3293 [__LINUX_KERNEL_VERSION >= 0x020625 && __powerpc__]
3294 (__ASSUME_RECVMMSG_SYSCALL): Likewise.
3295 [__LINUX_KERNEL_VERSION >= 0x030000 && __powerpc__]
3296 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
3297 [__powerpc__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL):
3298 Likewise.
3299
03f77315
JM
3300 * sysdeps/unix/sysv/linux/sparc/kernel-features.h: New file.
3301 * sysdeps/unix/sysv/linux/kernel-features.h [__sparc__]
3302 (__ASSUME_SOCKETCALL): Do not define.
3303 (__ASSUME_SET_ROBUST_LIST): Define unconditionally.
3304 (__ASSUME_FUTEX_LOCK_PI): Likewise.
3305 [__sparc__] (__ASSUME_ACCEPT4_SYSCALL): Do not define.
3306 [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
3307 (__ASSUME_REQUEUE_PI): Define unconditionally.
3308 [__LINUX_KERNEL_VERSION >= 0x020621 && __sparc__]
3309 (__ASSUME_RECVMMSG_SYSCALL): Do not define.
3310 [__sparc__] (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
3311 [__LINUX_KERNEL_VERSION >= 0x030000 && __sparc__]
3312 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
3313 [__sparc__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
3314
083b1f7c
JM
3315 * sysdeps/unix/sysv/linux/i386/kernel-features.h: New file.
3316 * sysdeps/unix/sysv/linux/kernel-features.h [__i386__]
3317 (__ASSUME_SOCKETCALL): Do not define.
3318 [__LINUX_KERNEL_VERSION >= 0x020621 && __i386__]
3319 (__ASSUME_RECVMMSG_SYSCALL): Likewise.
3320 [__i386__] (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
3321 [__LINUX_KERNEL_VERSION >= 0x030000 && __i386__]
3322 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
3323 [__i386__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
3324
5be44ea6
JM
3325 * sysdeps/unix/sysv/linux/x86_64/kernel-features.h: New file.
3326 * sysdeps/unix/sysv/linux/kernel-features.h [__x86_64__]
3327 (__ASSUME_ACCEPT4_SYSCALL): Do not define.
3328 [__LINUX_KERNEL_VERSION >= 0x020621 && __x86_64__]
3329 (__ASSUME_RECVMMSG_SYSCALL): Likewise.
3330 [__LINUX_KERNEL_VERSION >= 0x030000 && __x86_64__]
3331 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
3332 [__x86_64__ && __LINUX_KERNEL_VERSION >= 0x030100]
3333 (__ASSUME_GETCPU_SYSCALL): Likewise.
3334
d95ffd4c
JM
3335 * aclocal.m4 (LIBC_SLIBDIR_RTLDDIR): New macro.
3336 * sysdeps/gnu/configure.ac: Use LIBC_SLIBDIR_RTLDDIR. Remove
3337 cases for individual architectures.
3338 * sysdeps/gnu/configure: Regenerated.
3339 * sysdeps/unix/sysv/linux/aarch64/configure.ac: Use
3340 LIBC_SLIBDIR_RTLDDIR.
3341 * sysdeps/unix/sysv/linux/aarch64/configure: Regenerated.
3342 * sysdeps/unix/sysv/linux/mips/configure.ac: Use
3343 LIBC_SLIBDIR_RTLDDIR.
3344 * sysdeps/unix/sysv/linux/mips/configure: Regenerated.
3345 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: Use
3346 LIBC_SLIBDIR_RTLDDIR.
3347 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure:
3348 Regenerated.
3349 * sysdeps/unix/sysv/linux/s390/s390-64/configure.ac: New file.
3350 * sysdeps/unix/sysv/linux/s390/s390-64/configure: New generated
3351 file.
3352 * sysdeps/unix/sysv/linux/sparc/sparc64/configure.ac: New file.
3353 * sysdeps/unix/sysv/linux/sparc/sparc64/configure: New generated
3354 file.
3355 * sysdeps/unix/sysv/linux/x86_64/64/configure.ac: New file.
3356 * sysdeps/unix/sysv/linux/x86_64/64/configure: New generated file.
3357 * sysdeps/unix/sysv/linux/x86_64/x32/configure.ac: New file.
3358 * sysdeps/unix/sysv/linux/x86_64/x32/configure: Generate.
3359
29c4f53e
JM
3360 * sysdeps/aarch64/shlib-versions: Move to ...
3361 * sysdeps/unix/sysv/linux/aarch64/shlib-versions: ... here.
3362 * sysdeps/alpha/shlib-versions: Move to ...
3363 * sysdeps/unix/sysv/linux/alpha/shlib-versions: ... here.
3364 * sysdeps/arm/shlib-versions: Move to ...
3365 * sysdeps/unix/sysv/linux/arm/shlib-versions: ... here.
3366 * sysdeps/hppa/shlib-versions: Move all contents except for
3367 libgcc_s entry to ...
3368 * sysdeps/unix/sysv/linux/hppa/shlib-versions: ... here. Merge in
3369 entry from ...
3370 * sysdeps/hppa/nptl/shlib-versions: ... here. Remove file.
3371 * sysdeps/ia64/shlib-versions: Move to ...
3372 * sysdeps/unix/sysv/linux/ia64/shlib-versions: ... here. Merge in
3373 entry from ...
3374 * sysdeps/ia64/nptl/shlib-versions: ... here. Remove file.
3375 * sysdeps/m68k/coldfire/shlib-versions: Move to ...
3376 * sysdeps/unix/sysv/linux/m68k/coldfire/shlib-versions: ... here.
3377 * sysdeps/microblaze/shlib-versions: Move to ...
3378 * sysdeps/unix/sysv/linux/microblaze/shlib-versions: ... here.
3379 * sysdeps/mips/shlib-versions: Move to ...
3380 * sysdeps/unix/sysv/linux/mips/shlib-versions: ... here. Merge in
3381 entry from ...
3382 * sysdeps/mips/nptl/shlib-versions: ... here. Remove file.
3383 * sysdeps/tile/shlib-versions: Move to ...
3384 * sysdeps/unix/sysv/linux/tile/shlib-versions: ... here.
3385 * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Merge in entry
3386 from ...
3387 * sysdeps/x86_64/64/shlib-versions: ... here. Remove file.
3388 * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Merge in
3389 entry from ...
3390 * sysdeps/x86_64/x32/shlib-versions: ... here. Remove file.
3391
32bead5b
WN
33922014-07-17 Will Newton <will.newton@linaro.org>
3393
57977c4b
WN
3394 * sysdeps/arm/bits/atomic.h
3395 (__arch_compare_and_exchange_bool_8_int): Evaluate to zero.
3396 (__arch_compare_and_exchange_bool_16_int): Likewise.
3397 (__arch_compare_and_exchange_bool_64_int): Likewise.
3398
32bead5b
WN
3399 * iconv/loop.c: Move definition of LOOPFCT and gconv_btowc
3400 into an #else block.
3401
37fccd41
RM
34022014-07-16 Roland McGrath <roland@hack.frob.com>
3403
3404 * sysdeps/arm/preconfigure.ac: Apply EABI sanity check to arm*, not
3405 just Linux configurations. Test empirically that the compiler sets
3406 __ARM_EABI__, rather than using the tuple to decide.
3407 * sysdeps/arm/preconfigure: Regenerated.
3408 * sysdeps/unix/sysv/linux/arm/configure: File removed.
3409 * sysdeps/unix/sysv/linux/arm/configure.ac: File removed,
3410 contents appended ...
3411 * sysdeps/arm/configure.ac: ... here.
3412 * sysdeps/arm/configure: Regenerated.
3413
b365f3ec
RM
34142014-07-15 Roland McGrath <roland@hack.frob.com>
3415
8badf496
RM
3416 * nptl/pthread_kill.c: New file.
3417 * nptl/pthread_sigmask.c: New file.
3418 * nptl/pthread_sigqueue.c: New file.
3419
3df6f22e
RM
3420 * sysdeps/nptl/lowlevellock.h: New file.
3421 * sysdeps/unix/sysv/linux/lowlevellock-futex.h: New file.
3422 * sysdeps/nptl/lowlevellock-futex.h: New file.
3423
b365f3ec
RM
3424 * nptl/pthreadP.h (__current_sigrtmin, __current_sigrtmax):
3425 Remove dead declarations.
3426
f2fef657
L
34272014-07-14 H.J. Lu <hongjiu.lu@intel.com>
3428
3429 * config.h.in (HAVE_AVX2_SUPPORT): New #undef.
3430 * sysdeps/i386/configure.ac: Set HAVE_AVX2_SUPPORT and
3431 config-cflags-avx2.
3432 * sysdeps/x86_64/configure.ac: Likewise.
3433 * sysdeps/i386/configure: Regenerated.
3434 * sysdeps/x86_64/configure: Likewise.
3435 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
3436 memset-avx2 only if config-cflags-avx2 is yes.
3437 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
3438 Tests for memset_chk and memset only if HAVE_AVX2_SUPPORT is
3439 defined.
3440 * sysdeps/x86_64/multiarch/memset.S: Define multiple versions
3441 only if HAVE_AVX2_SUPPORT is defined.
3442 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
3443
f6c44d47
AM
34442014-07-14 Alan Modra <amodra@gmail.com>
3445
3446 [BZ #17153]
3447 * elf/elf.h (DT_PPC64_NUM): Correct value.
3448 * NEWS: Add to fixed bug list.
3449
7ee03f00
JM
34502014-07-13 Jim Meyering <meyering@fb.com>
3451
3452 [BZ 17150]
3453 regex: don't deref NULL upon heap allocation failure
3454 * posix/regcomp.c: (parse_dup_op): Handle duplicate_tree
3455 failure in one more place.
3456 To trigger the segfault, configure grep -with-included-regex,
3457 build it, and run these commands:
3458 ( ulimit -v 300000; echo a|src/grep -E a+++++++++++++++++++++ )
3459
9d39d517
AS
34602014-07-13 Andreas Schwab <schwab@linux-m68k.org>
3461
3462 * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
3463
a75b89b7
RH
34642014-07-11 Richard Henderson <rth@redhat.com>
3465
3466 * sysdeps/aarch64/libm-test-ulps: Update.
3467
771eb141
FW
34682014-07-10 Florian Weimer <fweimer@redhat.com>
3469
3470 [BZ #17135]
3471 * nptl/pthreadP.h (__nptl_setxid_error): Declare function.
3472 * nptl/allocatestack.c (__nptl_setxid_error): New function.
3473 (__nptl_setxid): Initialize error member. Call
3474 __nptl_setxid_error.
3475 * nptl/nptl-init.c (sighandler_setxid): Call __nptl_setxid_error.
3476 * nptl/descr.h (struct xid_command): Add error member.
3477 * nptl/tst-setuid3.c: New file.
3478 * nptl/Makefile (tests): Add it.
3479
bc1da176
AZ
34802014-07-10 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3481
3482 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h (__lll_base_trylock):
3483 New define.
3484 (__lll_trylock): Use __lll_base_trylock.
3485 (__lll_cond_trylock): Likewise.
3486
887865fc
RM
34872014-07-10 Roland McGrath <roland@hack.frob.com>
3488
c0c6bac9
RM
3489 * nptl/pthread_create.c (start_thread): Use atomic_or and
3490 lll_futex_wake directly rather than lll_robust_dead.
3491 * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h
3492 (lll_robust_dead): Macro removed.
6a42be57 3493 * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: Likewise.
c0c6bac9
RM
3494 * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Likewise.
3495 * sysdeps/unix/sysv/linux/arm/lowlevellock.h: Likewise.
3496 * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
3497 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
3498 * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Likewise.
3499 * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Likewise.
3500 * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
3501 * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Likewise.
3502 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
3503 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
3504 * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
3505 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
3506 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
3507 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
3508
887865fc
RM
3509 * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock):
3510 Use atomic_compare_and_exchange_val_acq directly rather than
3511 lll_robust_trylock.
3512 * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h
3513 (__lll_robust_trylock, lll_robust_trylock): Removed.
3514 * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Likewise.
3515 * sysdeps/unix/sysv/linux/arm/lowlevellock.h: Likewise.
3516 * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
3517 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
3518 * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Likewise.
3519 * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Likewise.
3520 * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
3521 * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Likewise.
3522 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
3523 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
3524 * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
3525 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
3526 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
3527 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
3528
58536726
FW
35292014-07-02 Florian Weimer <fweimer@redhat.com>
3530
3531 * manual/locale.texi (Locale Names): New section documenting
3532 locale name syntax. Adjust menu and node chaining accordingly.
3533 (Choosing Locale): Reference Locale Names, Locale Categories.
3534 Mention setting LC_ALL=C. Reflect that name syntax is now
3535 documented.
3536 (Locale Categories): New section title. Reference Locale Names.
3537 LC_ALL is an environment variable, but not a category.
3538 (Setting the Locale): Remove "locale -a" invocation and LOCPATH
3539 description, now in Locale Name. Reference that section. Locale
3540 name syntax is now documented.
3541
4e8f95a0
FW
35422014-07-02 Florian Weimer <fweimer@redhat.com>
3543
3544 [BZ #17137]
3545 * locale/findlocale.c (name_present, valid_locale_name): New
3546 functions.
3547 (_nl_find_locale): Use the loc_name variable to store name
3548 candidates. Call name_present and valid_locale_name to check and
3549 validate locale names. Return an error if the locale is invalid.
3550
d1836456
FW
35512014-07-02 Florian Weimer <fweimer@redhat.com>
3552
3553 * locale/setlocale.c (setlocale): Use strdup for allocating
3554 composite name copy.
3555
d69b7f5a
SP
35562014-07-10 Siddhesh Poyarekar <siddhesh@redhat.com>
3557
888c679b
SP
3558 Sync up with gnulib.
3559 * misc/error.c: Use !_LIBC instead of HAVE_CONFIG_H.
3560 [!_LIBC && ENABLE_NLS]: Include gettext.h.
3561 [_LIBC]: Define USE_UNLOCKED_IO, _GL_ATTRIBUTE_FORMAT_PRINTF
3562 and _GL_ARG_NONNULL.
3563 [USE_UNLOCKED_IO]: Include unlocked-io.h.
3564 [!_LIBC]: Include code for Windows and Cygwin.
3565 [!_LIBC && !HAVE_DECL_STRERROR_R && !STRERROR_R_CHAR_P]:
3566 Include prototype for int strerror_r.
3567 [!_LIBC] (is_open): New function.
3568 (flush_stdout): New function.
3569 (print_errno_message): Use it.
3570 (error): Likewise.
3571 (error_at_line): Likewise.
3572 (error_tail) Add function attribute macros. Use
3573 __builtin_expect.
3574
180e0e4b
SP
3575 * time/strptime_l.c [_LIBC]: Define HAVE_LOCALTIME_R.
3576
d22f1fe2
SP
3577 * time/strftime_l.c [_LIBC]: Define HAVE_STRFTIME.
3578
12f2254b
SP
3579 * io/ftw.c: Include sys/param.h unconditionally.
3580
c3c7c360
SP
3581 * locale/programs/simple-hash.c [!HAVE_OBSTACK]: Remove code.
3582
d62aa75a
SP
3583 [BZ #17125]
3584 * sysdeps/unix/sysv/linux/check_pf.c (cache): Don't use
3585 libc_freeres_ptr.
3586 (freecache): New function to free CACHE on exit.
3587
d69b7f5a
SP
3588 * sunrpc/xdr.c (xdr_string): Add comment about SIZE
3589 initialization.
3590
5efe06a1
DM
35912014-07-09 David S. Miller <davem@davemloft.net>
3592
3593 * sysdeps/sparc/fpu/libm-test-ulps: Update.
3594
7000d82e
DM
3595 * sysdeps/sparc/nptl/internaltypes.h: Delete.
3596 * sysdeps/sparc/nptl/sparc-nptl.h: New file.
3597 * sysdeps/sparc/nptl/pthread_barrier_destroy.c: Include it.
3598 * sysdeps/sparc/nptl/pthread_barrier_init.c: Likewise.
3599 * sysdeps/sparc/nptl/pthread_barrier_wait.c: Likewise.
3600 * sysdeps/sparc/nptl/sem_init.c: Likewise.
3601 * sysdeps/sparc/nptl/sem_post.c: Likewise.
3602 * sysdeps/sparc/nptl/sem_timedwait.c: Likewise.
3603 * sysdeps/sparc/nptl/sem_wait.c: Likewise.
3604 * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: Likewise.
3605 * sysdeps/sparc/sparc32/nptl/sem_post.c: Likewise.
3606 * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: Likewise.
3607 * sysdeps/sparc/sparc32/nptl/sem_wait.c: Likewise.
3608
c213442d
AS
36092014-07-09 Andreas Schwab <schwab@suse.de>
3610
4a2552c3
AS
3611 * sysdeps/powerpc/test-gettimebase.c (do_test): Add newline to
3612 output.
3613 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c
3614 (do_test): Likewise.
3615
c213442d
AS
3616 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
3617
82374e65
WN
36182014-07-09 Will Newton <will.newton@linaro.org>
3619
3620 * sysdeps/aarch64/tlsdesc.c (_dl_unmap): Test SHARED with #ifdef.
3621 * sysdeps/arm/tlsdesc.c (_dl_unmap): Likewise.
3622 * sysdeps/i386/tlsdesc.c (_dl_unmap): Likewise.
3623 * sysdeps/x86_64/tlsdesc.c (_dl_unmap): Likewise.
3624 * sysdeps/hppa/start.S (_start): Likewise.
3625
6680738a
SP
36262014-07-09 Siddhesh Poyarekar <siddhesh@redhat.com>
3627
6ee3eab4
SP
3628 * sunrpc/xdr.c (xdr_string): Initialize SIZE to 0.
3629
6680738a
SP
3630 * sysdeps/generic/unwind-pe.h: Only check if __cplusplus is
3631 defined.
3632
80b5c505
SP
36332014-07-08 Siddhesh Poyarekar <siddhesh@redhat.com>
3634
e35c53e3
SP
3635 * resolv/res_query.c (__libc_res_nsearch): Dereference resplen2
3636 after checking that it is non-NULL.
3637
80b5c505
SP
3638 * sysdeps/i386/dl-machine.h: Define ELF_MACHINE_NO_REL.
3639
91f4b564
AZ
36402014-07-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3641
27b75f56
AZ
3642 * sysdeps/powerpc/memmove.c: Remove file.
3643 * sysdeps/powerpc/powerpc32/power4/memcopy.h
3644 [MEMCPY_OK_FOR_FWD_MEMMOVE]: Define it to 1.
3645 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c
3646 [MEMCPY_OK_FOR_FWD_MEMMOVE]: Remove define.
3647 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-ppc.c:
3648 [MEMCPY_OK_FOR_FWD_MEMMOVE]: Likewise.
3649 * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Include default
3650 string memmove instead of removed powerpc one.
3651
e7f95bb5
AZ
3652 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
3653 [weak_alias]: Fix compiler warning due trailing data.
3654 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S:
3655 [weak_alias]: Likewise.
3656 * sysdeps/powerpc/powerpc64/multiarch/strcat-power7.c: Fix compile
3657 warnigs due missing definition of __strcpy_power7 and __strlen_power7.
3658
91f4b564
AZ
3659 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
3660 (__libc_ifunc_impl_list): Add memmove functions.
3661
7c33f1e5
SP
36622014-07-08 Siddhesh Poyarekar <siddhesh@redhat.com>
3663
3664 * localedata/tests-mbwc/dat_iswalnum.c [SHOJI_IS_RIGHT]:
3665 Remove code.
3666 * localedata/tests-mbwc/dat_iswalpha.c [SHOJI_IS_RIGHT]:
3667 Likewise
3668 * localedata/tests-mbwc/dat_iswctype.c [SHOJI_IS_RIGHT]:
3669 Likewise
3670 * localedata/tests-mbwc/dat_iswgraph.c [SHOJI_IS_RIGHT]:
3671 Likewise
3672 * localedata/tests-mbwc/dat_iswprint.c [SHOJI_IS_RIGHT]:
3673 Likewise
3674 * localedata/tests-mbwc/dat_iswpunct.c [SHOJI_IS_RIGHT]:
3675 Likewise
3676 * localedata/tests-mbwc/dat_mbrlen.c [SHOJI_IS_RIGHT]:
3677 Likewise
3678 * localedata/tests-mbwc/dat_mbstowcs.c [SHOJI_IS_RIGHT]:
3679 Likewise
3680 * localedata/tests-mbwc/dat_mbtowc.c [SHOJI_IS_RIGHT]:
3681 Likewise
3682 * localedata/tests-mbwc/dat_strcoll.c [SHOJI_IS_RIGHT]:
3683 Likewise
3684 * localedata/tests-mbwc/dat_swscanf.c [SHOJI_IS_RIGHT]:
3685 Likewise
3686 * localedata/tests-mbwc/dat_towctrans.c [SHOJI_IS_RIGHT]:
3687 Likewise
3688 * localedata/tests-mbwc/dat_wcscoll.c [SHOJI_IS_RIGHT]:
3689 Likewise
3690 * localedata/tests-mbwc/dat_wcswidth.c [SHOJI_IS_RIGHT]:
3691 Likewise
3692 * localedata/tests-mbwc/dat_wctob.c [SHOJI_IS_RIGHT]:
3693 Likewise
3694 * localedata/tests-mbwc/dat_wcwidth.c [SHOJI_IS_RIGHT]:
3695 Likewise
3696 * localedata/tests-mbwc/tst_towctrans.c [SHOJI_IS_RIGHT]:
3697 Likewise
3698
3f17b03b
AZ
36992014-07-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3700
87868c24
AZ
3701 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Align VSX copies to 16B
3702 to avoid alignment traps in non-cacheable memory.
3703 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
3704
07aedd78
AZ
3705 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memmove
3706 multiarch objects.
3707 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c: New
3708 file: multiarch power7 memmove.
3709 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-ppc.c: New file:
3710 multiarch default memmove.
3711 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove.c: New file:
3712 multiarch memove for powerpc32/power4.
3713
17762f66
AZ
3714 * string/bcopy.c: Use full path to include memmove.c.
3715 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memmove and bcopy
3716 multiarch objects.
3717 * sysdeps/powerpc/powerpc64/multiarch/bcopy-ppc64.c: New file: default
3718 bcopy for powerpc64.
3719 * sysdeps/powerpc/powerpc64/multiarch/bcopy.c: New file: multiarch
3720 bcopy for powerpc64.
3721 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Add bcopy
3722 and memmove implementations.
3723 * sysdeps/powerpc/powerpc64/multiarch/memmove-power7.S: New file:
3724 optimized multiarch memmove for POWER7/powerpc64.
3725 * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: New file:
3726 default multiarch memmove for powerpc64.
3727 * sysdeps/powerpc/powerpc64/multiarch/memmove.c: New file: memmove
3728 multiarch for powerpc64.
3729 * sysdeps/powerpc/powerpc64/power7/bcopy.c: New file: optimized bcopy
3730 for POWER7/powerpc64.
3731 * sysdeps/powerpc/powerpc64/power7/memmove.S: New file: optimized
3732 memmove for POWER7/powerpc64.
3733
d6f68bbe
AZ
3734 * sysdeps/powerpc/memmove.c (memmove): Cleanup impplementation to use
3735 glibc default one.
3736
3f17b03b
AZ
3737 * sysdeps/powerpc/bits/link.h [_CALL_ELF]: Guard check for
3738 __ELF_NATIVE_CLASS equal to 64.
3739
08192659
RM
37402014-07-07 Roland McGrath <roland@hack.frob.com>
3741
f4c4021b
RM
3742 * sysdeps/nptl/lowlevellock.h: File removed.
3743
f083450f
RM
3744 * NEWS: NPTL is no longer an add-on!
3745 * nptl/internaltypes.h: Moved ...
3746 * sysdeps/nptl/internaltypes.h: ... here.
3747 * sysdeps/nptl/aio_misc.h: Use <nptl/pthreadP.h> in #include.
3748 * sysdeps/nptl/fork.c: Likewise.
3749 * sysdeps/nptl/gai_misc.h: Likewise.
3750 * sysdeps/nptl/librt-cancellation.c: Likewise.
3751 * sysdeps/nptl/jmp-unwind.c: Likewise.
3752 * sysdeps/nptl/setxid.h: Likewise.
3753 * sysdeps/unix/sysv/linux/aarch64/Implies: New file.
3754 * sysdeps/unix/sysv/linux/alpha/Implies: Add alpha/nptl.
3755 * sysdeps/unix/sysv/linux/arm/Implies: New file.
3756 * sysdeps/unix/sysv/linux/hppa/Implies: New file.
3757 * sysdeps/unix/sysv/linux/i386/Implies: Add i386/nptl.
3758 * sysdeps/unix/sysv/linux/i386/i686/Implies: New file.
3759 * sysdeps/unix/sysv/linux/ia64/Implies: Add ia64/nptl.
3760 * sysdeps/unix/sysv/linux/m68k/Implies: New file.
3761 * sysdeps/unix/sysv/linux/microblaze/Implies: New file.
3762 * sysdeps/unix/sysv/linux/mips/Implies: New file.
3763 * sysdeps/unix/sysv/linux/powerpc/Implies: New file.
3764 * sysdeps/unix/sysv/linux/s390/Implies: Add s390/nptl.
3765 * sysdeps/unix/sysv/linux/sh/Implies: New file.
3766 * sysdeps/unix/sysv/linux/sparc/Implies: New file.
3767 * sysdeps/unix/sysv/linux/tile/Implies: New file.
3768 * sysdeps/unix/sysv/linux/x86_64/Implies: Add x86_64/nptl.
3769 * sysdeps/unix/sysv/linux/x86_64/x32/Implies: New file.
3770 * nptl/Makeconfig: Moved ...
3771 * sysdeps/nptl/Makeconfig: ... here.
3772 * nptl/configure: File removed.
3773 * nptl/ANNOUNCE: File removed.
3774 * sysdeps/unix/sysv/linux/configure.ac: Remove nptl sanity check.
3775 * sysdeps/unix/sysv/linux/configure: Regenerated.
3776
08192659
RM
3777 * nptl/Makefile (routines): Add libc_pthread_init,
3778 libc_multiple_threads, register-atfork and unregister-atfork.
3779 (libpthread-routines): Add pthread_mutex_cond_lock and pt-fork here.
3780 (gen-as-const-headers): Add lowlevelcond.sym, lowlevelrwlock.sym,
3781 lowlevelbarrier.sym, unwindbuf.sym, lowlevelrobustlock.sym,
3782 pthread-pi-defines.sym, structsem.sym.
3783 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = posix]
3784 (CFLAGS-fork.c, CFLAGS-getpid.o, CFLAGS-getpid.os): New variables.
3785 [$(subdir) = nptl] (tests): Add tst-setgetname.
3786 * nptl/sysdeps/unix/sysv/linux/Makefile: File removed.
3787 * sysdeps/unix/sysv/linux/sigaction.c: Just include
3788 <nptl/sigaction.c> directly here, instead of WRAPPER_INCLUDE.
3789 [!LIBC_SIGACTION]: Remove aliases.
3790 * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Likewise.
3791 * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
3792 * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
3793 * sysdeps/unix/sysv/linux/ia64/sigaction.c: Likewise.
3794 * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
3795 * sysdeps/unix/sysv/linux/s390/s390-64/sigaction.c: Likewise.
3796 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
3797 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
3798 * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
3799 * nptl/Versions (libc: GLIBC_2.3.2): Add __register_atfork.
3800 (libc: GLIBC_PRIVATE): Add __libc_pthread_init,
3801 __libc_current_sigrtmin_private, __libc_current_sigrtmax_private,
3802 __libc_allocate_rtsig_private.
3803 * nptl/sysdeps/unix/sysv/linux/Versions: File removed.
3804 * sysdeps/unix/sysv/linux/sigtimedwait.c: Include <nptl/pthreadP.h>.
3805 * sysdeps/unix/sysv/linux/sigwait.c: Likewise.
3806 * sysdeps/unix/sysv/linux/sigwaitinfo.c: Likewise.
3807 * sysdeps/unix/sysv/linux/sleep.c: Likewise.
3808 * nptl/sysdeps/unix/sysv/linux/sigwait.c: File removed.
3809 * nptl/sysdeps/unix/sysv/linux/sigtimedwait.c: File removed.
3810 * nptl/sysdeps/unix/sysv/linux/sigwaitinfo.c: File removed.
3811 * nptl/sysdeps/unix/sysv/linux/sleep.c: File removed.
3812 * nptl/sysdeps/unix/sysv/linux/createthread.c: File removed.
3813 * sysdeps/unix/sysv/linux/ia64/fork.S: File removed.
3814 * nptl/sysdeps/unix/sysv/linux/internaltypes.h: Moved ...
3815 * nptl/internaltypes.h: ... here.
3816 * nptl/sysdeps/unix/sysv/linux/jmp-unwind.c: Moved ...
3817 * sysdeps/nptl/jmp-unwind.c: ... here.
3818 * nptl/sysdeps/unix/sysv/linux/libc-lowlevellock.c: Moved ...
3819 * nptl/libc-lowlevellock.c: ... here.
3820 * nptl/sysdeps/unix/sysv/linux/libc_multiple_threads.c: Moved ...
3821 * nptl/libc_multiple_threads.c: ... here.
3822 * nptl/sysdeps/unix/sysv/linux/libc_pthread_init.c: Moved ...
3823 * nptl/libc_pthread_init.c: ... here.
3824 * nptl/sysdeps/unix/sysv/linux/lowlevelbarrier.sym: Moved ...
3825 * nptl/lowlevelbarrier.sym: ... here.
3826 * nptl/sysdeps/unix/sysv/linux/lowlevelcond.sym: Moved ...
3827 * nptl/lowlevelcond.sym: ... here.
3828 * nptl/sysdeps/unix/sysv/linux/lowlevellock.c: Moved ...
3829 * nptl/lowlevellock.c: ... here.
3830 * nptl/lowlevellock.h: Moved ...
3831 * sysdeps/nptl/lowlevellock.h: ... here.
3832 * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.c: Moved ...
3833 * nptl/lowlevelrobustlock.c: ... here.
3834 * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.sym: Moved ...
3835 * nptl/lowlevelrobustlock.sym: ... here.
3836 * nptl/sysdeps/unix/sysv/linux/lowlevelrwlock.sym: Moved ...
3837 * nptl/lowlevelrwlock.sym: ... here.
3838 * nptl/sysdeps/unix/sysv/linux/pt-fork.c: Moved ...
3839 * nptl/pt-fork.c: ... here.
3840 * nptl/sysdeps/unix/sysv/linux/pthread-pi-defines.sym: Moved ...
3841 * nptl/pthread-pi-defines.sym: ... here.
3842 * nptl/sysdeps/unix/sysv/linux/pthread_attr_getaffinity.c: Moved ...
3843 * nptl/pthread_attr_getaffinity.c: ... here.
3844 * nptl/sysdeps/unix/sysv/linux/pthread_attr_setaffinity.c: Moved ...
3845 * nptl/pthread_attr_setaffinity.c: ... here.
3846 * nptl/sysdeps/unix/sysv/linux/pthread_mutex_cond_lock.c: Moved ...
3847 * nptl/pthread_mutex_cond_lock.c: ... here.
3848 * sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
3849 Update #include.
3850 * sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: Likewise.
3851 * nptl/sysdeps/unix/sysv/linux/pthread_once.c: Moved ...
3852 * nptl/pthread_once.c: ... here, replacing old file.
3853 * nptl/sysdeps/unix/sysv/linux/pthread_yield.c: Moved ...
3854 * nptl/pthread_yield.c: ... here.
3855 * nptl/sysdeps/unix/sysv/linux/register-atfork.c: Moved ...
3856 * nptl/register-atfork.c: ... here.
3857 * nptl/sysdeps/unix/sysv/linux/sem_post.c: Moved ...
3858 * nptl/sem_post.c: ... here.
3859 * sysdeps/unix/sysv/linux/alpha/sem_post.c: Update #include.
3860 * nptl/sysdeps/unix/sysv/linux/sem_timedwait.c: Moved ...
3861 * nptl/sem_timedwait.c: ... here.
3862 * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Moved ...
3863 * nptl/sem_trywait.c: ... here.
3864 * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: Update #include.
3865 * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Moved ...
3866 * nptl/sem_wait.c: ... here.
3867 * nptl/sysdeps/unix/sysv/linux/structsem.sym: Moved ...
3868 * nptl/structsem.sym: ... here.
3869 * nptl/sysdeps/unix/sysv/linux/mq_notify.c: Moved ...
3870 * sysdeps/unix/sysv/linux/mq_notify.c: ... here, replacing old file.
3871 * nptl/sysdeps/unix/sysv/linux/unregister-atfork.c: Moved ...
3872 * nptl/unregister-atfork.c: ... here.
3873 * nptl/sysdeps/unix/sysv/linux/unwindbuf.sym: Moved ...
3874 * nptl/unwindbuf.sym: ... here.
3875 * nptl/sysdeps/unix/sysv/linux/fork.c: Moved ...
3876 * sysdeps/nptl/fork.c: ... here.
3877 * nptl/sysdeps/unix/sysv/linux/fork.h: Moved ...
3878 * sysdeps/nptl/fork.h: ... here.
3879 * sysdeps/unix/sysv/linux/syscalls.list: Remove fork.
3880 * nptl/sysdeps/unix/sysv/linux/aio_misc.h: Moved ...
3881 * sysdeps/unix/sysv/linux/aio_misc.h: ... here.
3882 * nptl/sysdeps/unix/sysv/linux/allocrtsig.c: Moved ...
3883 * sysdeps/unix/sysv/linux/allocrtsig.c: ... here.
3884 * nptl/sysdeps/unix/sysv/linux/getpid.c: Moved ...
3885 * sysdeps/unix/sysv/linux/getpid.c: ... here.
3886 * nptl/sysdeps/unix/sysv/linux/kernel-posix-timers.h: Moved ...
3887 * sysdeps/unix/sysv/linux/kernel-posix-timers.h: ... here.
3888 * nptl/sysdeps/unix/sysv/linux/pt-raise.c: Moved ...
3889 * sysdeps/unix/sysv/linux/pt-raise.c: ... here.
3890 * nptl/sysdeps/unix/sysv/linux/pthread_getaffinity.c: Moved ...
3891 * sysdeps/unix/sysv/linux/pthread_getaffinity.c: ... here.
3892 * nptl/sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: Moved ...
3893 * sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: ... here.
3894 * nptl/sysdeps/unix/sysv/linux/pthread_getname.c: Moved ...
3895 * sysdeps/unix/sysv/linux/pthread_getname.c: ... here.
3896 * nptl/sysdeps/unix/sysv/linux/pthread_kill.c: Moved ...
3897 * sysdeps/unix/sysv/linux/pthread_kill.c: ... here.
3898 * nptl/sysdeps/unix/sysv/linux/pthread_setaffinity.c: Moved ...
3899 * sysdeps/unix/sysv/linux/pthread_setaffinity.c: ... here.
3900 * nptl/sysdeps/unix/sysv/linux/pthread_setname.c: Moved ...
3901 * sysdeps/unix/sysv/linux/pthread_setname.c: ... here.
3902 * nptl/sysdeps/unix/sysv/linux/pthread_sigqueue.c: Moved ...
3903 * sysdeps/unix/sysv/linux/pthread_sigqueue.c: ... here.
3904 * nptl/sysdeps/unix/sysv/linux/raise.c: Moved ...
3905 * sysdeps/unix/sysv/linux/raise.c: ... here.
3906 * nptl/sysdeps/unix/sysv/linux/timer_create.c: Moved ...
3907 * sysdeps/unix/sysv/linux/timer_create.c: ... here.
3908 * nptl/sysdeps/unix/sysv/linux/timer_delete.c: Moved ...
3909 * sysdeps/unix/sysv/linux/timer_delete.c: ... here.
3910 * nptl/sysdeps/unix/sysv/linux/timer_getoverr.c: Moved ...
3911 * sysdeps/unix/sysv/linux/timer_getoverr.c: ... here.
3912 * nptl/sysdeps/unix/sysv/linux/timer_gettime.c: Moved ...
3913 * sysdeps/unix/sysv/linux/timer_gettime.c: ... here.
3914 * nptl/sysdeps/unix/sysv/linux/timer_routines.c: Moved ...
3915 * sysdeps/unix/sysv/linux/timer_routines.c: ... here.
3916 * nptl/sysdeps/unix/sysv/linux/timer_settime.c: Moved ...
3917 * sysdeps/unix/sysv/linux/timer_settime.c: ... here.
3918 * nptl/sysdeps/unix/sysv/linux/tst-setgetname.c: Moved ...
3919 * sysdeps/unix/sysv/linux/tst-setgetname.c: ... here.
3920 * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Update #include.
3921
96baf6ff
SP
39222014-07-04 Siddhesh Poyarekar <siddhesh@redhat.com>
3923
3924 * sysdeps/generic/memcopy.h: Add comment for
3925 MEMCPY_OK_FOR_FWD_MEMMOVE.
3926
6b7b14b2
WN
39272014-07-04 Will Newton <will.newton@linaro.org>
3928
1570a72b
WN
3929 * string/memchr.c: Merge from gnulib.
3930 [_LIBC]: Remove conditionals.
3931 (__ptr_t): Remove define.
3932 (LONG_MAX_32_BITS): Likewise.
3933 (LONG_MAX): Likewise.
3934 (MEMCHR): Use ANSI prototype and optimize algorithm.
3935
6b7b14b2
WN
3936 * sysdeps/arm/dl-machine.h (ELF_MACHINE_NO_REL): Define.
3937
38851324
SP
39382014-07-03 Roland McGrath <roland@hack.frob.com>
3939
3d9eb57c
RM
3940 * sysdeps/unix/sysv/linux/ia64/lowlevellock.h
3941 (lll_futex_timed_wait_bitset): Fix syscall argument count.
3942
78b984ae
RM
3943 * sysdeps/nptl/configure.ac (libc_cv_forced_unwind):
3944 Use -Dinhibit_libc=1 for unwind.h check to prevent false failure
3945 in a bare environment with no <stdlib.h> installed.
3946 * sysdeps/nptl/configure: Regenerated.
3947
2d5976a5
RM
3948 * sysdeps/alpha/fpu/s_nearbyint.c: Include <math_ldbl_opt.h>.
3949
c1f5acd4
RM
3950 * sysdeps/unix/sysv/linux/configure.ac: Use AC_TRY_COMPILE rather than
3951 AC_EGREP_CPP for kernel header checks, so they only succeed if
3952 including <linux/version.h> actually works right.
3953 * sysdeps/unix/sysv/linux/configure: Regenerated.
3954
4d614fe5
RM
3955 * sysdeps/s390/nptl/tls.h (THREAD_SET_POINTER_GUARD): Refer to the
3956 value so it's not diagnosed as unused.
3957
38851324
SP
3958 * sysdeps/pthread/Makefile: Conditionalize tst-timer bits (the only
3959 thing) with "ifeq ($(subdir),rt)".
3960
b3ec00e5
RH
39612014-07-03 Richard Henderson <rth@redhat.com>
3962
69862e25
RH
3963 * sysdeps/alpha/fpu/s_nearbyintf.c: Remove file.
3964 * sysdeps/alpha/fpu/s_nearbyint.c (__nearbyint): Remove;
3965 include sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c.
3966
d5e16ade
RH
3967 * sysdeps/alpha/fpu/math_private.h (math_opt_barrier): New.
3968 (math_force_eval): New.
3969
ca7b945c
RH
3970 * sysdeps/alpha/fpu/s_lround.c: Add 0.5 with chopped rounding.
3971 * sysdeps/alpha/fpu/s_lroundf.c: Likewise.
3972
cd1175a3
RH
3973 * sysdeps/alpha/fpu/s_round.c: Remove file.
3974 * sysdeps/alpha/fpu/s_roundf.c: Remove file.
3975
b3ec00e5
RH
3976 * elf/dl-support.c (HP_TIMING_AVAIL): Do not redefine.
3977 (_dl_non_dynamic_init): Check HP_SMALL_TIMING_AVAIL instead.
3978 * elf/rtld.c (HP_TIMING_AVAIL): Do not redefine.
3979 (_dl_start_final): Check HP_SMALL_TIMING_AVAIL instead.
3980 (_dl_start, print_statistics): Likewise.
3981 * sysdeps/generic/ldsodefs.h (struct rtld_global): Only check
3982 HP_SMALL_TIMING_AVAIL in defining _dl_cpuclock_offset.
3983
3984 * sysdeps/aarch64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
3985 * sysdeps/generic/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
3986 * sysdeps/i386/i686/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
3987 * sysdeps/ia64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
3988 * sysdeps/powerpc/powerpc32/power4/hp-timing.h
3989 (HP_SMALL_TIMING_AVAIL): Define.
3990 * sysdeps/powerpc/powerpc64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
3991 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h
3992 (HP_SMALL_TIMING_AVAIL): Define.
3993 * sysdeps/sparc/sparc64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
3994 * sysdeps/x86_64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
3995
3996 * sysdeps/aarch64/hp-timing.h: New file.
3997
3998 * sysdeps/generic/hp-timing.h: Remove dead comment.
3999 * sysdeps/generic/hp-timing-common.h: New file.
4000 * sysdeps/alpha/hp-timing.h: Include it.
4001 (HP_TIMING_DIFF, HP_TIMING_ACCUM_NT, HP_TIMING_PRINT): Remove.
4002 * sysdeps/i386/i686/hp-timing.h: Likewise.
4003 * sysdeps/ia64/hp-timing.h: Likewise.
4004 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
4005 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
4006 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
4007 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
4008 * sysdeps/x86_64/hp-timing.h: Don't include the i686 version.
4009 (HP_TIMING_AVAIL, HP_TIMING_INLINE): Define.
4010 (hp_timing_t): New.
4011
4012 * benchtests/bench-string.h (_dl_hp_timing_overhead): Remove.
4013 * benchtests/bench-timing.h (_dl_hp_timing_overhead): Remove.
4014 (TIMING_INIT): Remove call to HP_TIMING_DIFF_INIT.
4015 * elf/rtld.c (_dl_start_final): Likewise.
4016 * sysdeps/generic/ldsodefs.h (_dl_hp_timing_overhead): Remove.
4017 * sysdeps/alpha/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
4018 * sysdeps/generic/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
4019 * sysdeps/i386/i686/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
4020 * sysdeps/ia64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
4021 * sysdeps/powerpc/powerpc32/power4/hp-timing.h
4022 (HP_TIMING_DIFF_INIT): Remove.
4023 * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
4024 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h
4025 (HP_TIMING_DIFF_INIT): Remove.
4026 * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
4027 * sysdeps/i386/i686/hp-timing.c: Remove file.
4028 * sysdeps/x86_64/hp-timing.c: Remove file.
4029 * sysdeps/ia64/hp-timing.c: Remove file.
4030 * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Remove file.
4031 * sysdeps/powerpc/powerpc64/hp-timing.c: Remove file.
4032 * sysdeps/sparc/sparc32/sparcv9/hp-timing.c: Remove file.
4033 * sysdeps/sparc/sparc64/hp-timing.c: Remove file.
4034
4035 * sysdeps/alpha/hp-timing.h (HP_TIMING_ACCUM): Remove.
4036 * sysdeps/generic/hp-timing.h (HP_TIMING_ACCUM): Remove.
4037 * sysdeps/i386/i686/hp-timing.h (HP_TIMING_ACCUM): Remove.
4038 * sysdeps/ia64/hp-timing.h (HP_TIMING_ACCUM): Remove.
4039 * sysdeps/powerpc/powerpc32/power4/hp-timing.h
4040 (HP_TIMING_ACCUM): Remove.
4041 * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_ACCUM): Remove.
4042 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h (HP_TIMING_ACCUM): Remove.
4043 * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_ACCUM): Remove.
4044
4045 * sysdeps/alpha/hp-timing.h (HP_TIMING_ZERO): Remove.
4046 * sysdeps/generic/hp-timing.h (HP_TIMING_ZERO): Remove.
4047 * sysdeps/i386/i686/hp-timing.h (HP_TIMING_ZERO): Remove.
4048 * sysdeps/ia64/hp-timing.h (HP_TIMING_ZERO): Remove.
4049 * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_ZERO): Remove.
4050 * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_ZERO): Remove.
4051 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h (HP_TIMING_ZERO): Remove.
4052 * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_ZERO): Remove.
4053
4054 * sysdeps/powerpc/powerpc32/hp-timing.h: Remove file.
4055
225f410f
MR
40562014-07-03 Maciej W. Rozycki <macro@codesourcery.com>
4057
4058 * stdlib/tst-strtod-overflow.c (TIMEOUT): Bump up to 30.
4059
3247f285
SP
40602014-07-02 Siddhesh Poyarekar <siddhesh@redhat.com>
4061
4062 Sync up with gettext.
4063 * intl/loadmsgcat.c: Define O_BINARY if not defined.
4064 [_MSC_VER]: Include malloc.h
4065 [_LIBC]: Define PRI_MACROS_BROKEN if it is not defined.
4066 (get_sysdep_segment_value) [!__UCLIBC__]: Return "I" flag.
4067 (_nl_load_domain): Open DOMAIN_FILE in binary mode. Don't use
4068 TEMP_FAILURE_RETRY. Cast return of alloca.
4069 [!_LIBC] Call gl_rwlock_init.
4070 [IN_LIBGLOCALE]: Call _nl_find_msg with one less argument.
4071
d12704c7
SP
40722014-07-02 Roland McGrath <roland@hack.frob.com>
4073
4074 * misc/sys/cdefs.h: Check if __STDC_VERSION__ is defined
4075 before checking its value.
4076
99f8dc92
SP
40772014-07-02 Siddhesh Poyarekar <siddhesh@redhat.com>
4078
05fdac77
SP
4079 * intl/loadmsgcat.c (_nl_load_domain): Use __builtin_expect.
4080
99f8dc92
SP
4081 * debug/memcpy_chk.c: Don't include pagecopy.h.
4082 * debug/mempcpy_chk.c: Likewise.
4083 * string/memcpy.c: Likewise.
4084 * string/memmove.c: Likewise.
4085 * sysdeps/powerpc/memmove.c: Likewise.
4086 * sysdeps/generic/memcopy.h: Include pagecopy.h. Move
4087 definition of PAGE_COPY_FWD_MAYBE here...
4088 * sysdeps/generic/pagecopy.h: ... from here.
4089 * sysdeps/mach/pagecopy.h: Don't include generic pagecopy.h.
4090
bc8ea385
VR
40912014-07-02 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
4092 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4093
4094 * sysdeps/powerpc/strcat.c: Using macro to redefine symbol name.
4095 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcat multiarch
4096 optimizations.
4097 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
4098 (__libc_ifunc_impl_list): Likewise.
4099 * sysdeps/powerpc/powerpc64/multiarch/strcat.c: New file:
4100 multiarch strcat for PPC64.
4101 * sysdeps/powerpc/powerpc64/multiarch/strcat-ppc64.c: New file/
4102 * sysdeps/powerpc/powerpc64/multiarch/strcat-power7.c: New file.
4103
fe5f34e4
RM
41042014-07-02 Roland McGrath <roland@hack.frob.com>
4105
4106 * sysdeps/unix/sysv/linux/dl-sysdep.c: Include <sys/param.h>.
4107
256aa665
SP
41082014-07-02 Siddhesh Poyarekar <siddhesh@redhat.com>
4109
d4eb8195
SP
4110 * intl/loadmsgcat.c: Remove declaration of
4111 get_sysdep_segment_value.
4112 (get_sysdep_segment_value): Use ISO C style.
4113 (_nl_load_domain): Use ISO C style. Get rid of redundant
4114 semicolon. Fix typo and formatting in comment.
4115 (_nl_unload_domain): Use ISO C style.
4116
256aa665
SP
4117 * sysdeps/posix/sysconf.c (__sysconf): Fix typo in macro name.
4118
b100f9aa
WN
41192014-07-02 Will Newton <will.newton@linaro.org>
4120
4121 * malloc/obstack.c: Merge from gnulib master.
4122 [HAVE_CONFIG_H]: Remove conditional code.
4123 [!_LIBC]: Include config.h.
4124 [!ELIDE_CODE]: Don't include inttypes.h, include
4125 stdint.h unconditionally.
4126 (print_and_abort): Mark as _Noreturn.
4127 (_obstack_allocated_p): Mark as __attribute_pure__.
4128 (obstack_free): Rename to __obstack_free.
4129 [!__attribute__]: Remove conditional code.
4130 * malloc/obstack.h: Merge from gnulib master.
4131 [__cplusplus]: Move conditional down.
4132 [!__attribute_pure__]: Define __attribute_pure__ here
4133 if it is not already defined.
4134 (_obstack_memory_used): Mark as __attribute_pure__.
4135 [!__obstack_free]: Define as obstack_free.
4136 [__GNUC__]: Remove check for ancient NeXT gcc.
4137
c4c41244
PE
41382014-07-02 Will Newton <will.newton@linaro.org>
4139 Paul Eggert <eggert@cs.ucla.edu>
4140
4141 * misc/sys/cdefs.h (_Noreturn): New macro, for pre-C11 compilers.
4142
e1e041c4
SP
41432014-07-02 Siddhesh Poyarekar <siddhesh@redhat.com>
4144
4145 * resolv/gethnamaddr.c: Add comment warning that the file is
4146 not maintained.
4147
ccf431ff
CD
41482014-07-01 Carlos O'Donell <carlos@redhat.com>
4149
d34570a6
CD
4150 * sysdeps/unix/sysv/linux/hppa/librt.abilist: Remove GLIBC_2.3
4151 entries.
4152
ccf431ff
CD
4153 * sysdeps/unix/sysv/linux/hppa/Versions: Remove librt GLIBC_2.3
4154 entry for aio_cancel and aio_cancel64.
4155 * sysdeps/unix/sysv/linux/hppa/ld.abilist: New file.
4156 * sysdeps/unix/sysv/linux/hppa/libBrokenLocale.abilist: New file.
4157 * sysdeps/unix/sysv/linux/hppa/libanl.abilist: New file.
4158 * sysdeps/unix/sysv/linux/hppa/libc.abilist: New file.
4159 * sysdeps/unix/sysv/linux/hppa/libcrypt.abilist: New file.
4160 * sysdeps/unix/sysv/linux/hppa/libdl.abilist: New file.
4161 * sysdeps/unix/sysv/linux/hppa/libm.abilist: New file.
4162 * sysdeps/unix/sysv/linux/hppa/libnsl.abilist: New file.
4163 * sysdeps/unix/sysv/linux/hppa/libpthread.abilist: New file.
4164 * sysdeps/unix/sysv/linux/hppa/libresolv.abilist: New file.
4165 * sysdeps/unix/sysv/linux/hppa/librt.abilist: New file.
4166 * sysdeps/unix/sysv/linux/hppa/libthread_db.abilist: New file.
4167 * sysdeps/unix/sysv/linux/hppa/libutil.abilist: New file.
4168
ca06321d
RM
41692014-07-01 Roland McGrath <roland@hack.frob.com>
4170
4171 * sysdeps/unix/sysv/linux/sysconf.c: Include <sys/param.h>.
4172 * nptl/pthread_mutex_lock.c: Likewise.
4173 * nptl/pthread_mutex_timedlock.c: Likewise.
4174 * nptl/sysdeps/unix/sysv/linux/pthread_attr_getaffinity.c: Likewise.
4175
a1ac3184
RH
41762014-07-01 Richard henderson <rth@redhat.com>
4177
631021e0
RH
4178 * sysdeps/alpha/fpu/bits/mathinline.h (__isnanf): Remove.
4179 (__isnan, __isnanl): Remove.
4180 * sysdeps/alpha/fpu/s_isnan.c (__isnan): Use integer arithmetic.
4181
a1ac3184
RH
4182 * sysdeps/alpha/fpu/libm-test-ulps: Update.
4183
0c1d731f
SL
41842014-07-01 Stefan Liebler <stli@linux.vnet.ibm.com>
4185
4186 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
4187
76985d3e
SP
41882014-07-01 Siddhesh Poyarekar <siddhesh@redhat.com>
4189
4190 * resolv/nss_dns/dns-host.c (getanswer_r)
4191 [MULTI_PTRS_ARE_ALIASES]: Remove code.
4192
b0cb3096
JM
41932014-07-01 Joseph Myers <joseph@codesourcery.com>
4194
4195 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
4196 [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PSELECT): Do not
4197 undefine.
4198 [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PREADV): Likewise.
4199 [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PWRITEV): Likewise.
4200
4d76cb39
RM
42012014-07-01 Roland McGrath <roland@hack.frob.com>
4202
4203 * sysdeps/unix/sysv/linux/microblaze/arch-fork.h: New file.
4204 * sysdeps/unix/sysv/linux/microblaze/nptl/fork.c: File removed.
4205
4206 * sysdeps/microblaze/nptl/tls.h: Define TLS_DEFINE_INIT_TP.
4207 * sysdeps/unix/sysv/linux/microblaze/nptl/createthread.c: File removed.
4208
4209 * sysdeps/microblaze/nptl/bits/pthreadtypes.h: Moved ...
4210 * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h:
4211 ... here.
4212 * sysdeps/microblaze/nptl/bits/semaphore.h: Moved ...
4213 * sysdeps/unix/sysv/linux/microblaze/nptl/bits/semaphore.h: ... here.
4214
4215 * sysdeps/unix/sysv/linux/microblaze/pt-vfork.S: Moved ...
4216 * sysdeps/unix/sysv/linux/microblaze/nptl/pt-vfork.S: ... here.
4217 * sysdeps/unix/sysv/linux/microblaze/nptl/vfork.S: Moved ...
4218 * sysdeps/unix/sysv/linux/microblaze/vfork.S: ... here.
4219
4220 * sysdeps/unix/sysv/linux/microblaze/c++-types.data: Moved ...
4221 * sysdeps/unix/sysv/linux/microblaze/nptl/c++-types.data: ... here.
4222 * sysdeps/unix/sysv/linux/microblaze/ld.abilist: Moved ...
4223 * sysdeps/unix/sysv/linux/microblaze/nptl/ld.abilist: ... here.
4224 * sysdeps/unix/sysv/linux/microblaze/libBrokenLocale.abilist:
4225 Moved ...
4226 * sysdeps/unix/sysv/linux/microblaze/nptl/libBrokenLocale.abilist:
4227 ... here.
4228 * sysdeps/unix/sysv/linux/microblaze/libanl.abilist: Moved ...
4229 * sysdeps/unix/sysv/linux/microblaze/nptl/libanl.abilist: ... here.
4230 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Moved ...
4231 * sysdeps/unix/sysv/linux/microblaze/nptl/libc.abilist: ... here.
4232 * sysdeps/unix/sysv/linux/microblaze/libcrypt.abilist: Moved ...
4233 * sysdeps/unix/sysv/linux/microblaze/nptl/libcrypt.abilist: ... here.
4234 * sysdeps/unix/sysv/linux/microblaze/libdl.abilist: Moved ...
4235 * sysdeps/unix/sysv/linux/microblaze/nptl/libdl.abilist: ... here.
4236 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Moved ...
4237 * sysdeps/unix/sysv/linux/microblaze/nptl/libm.abilist: ... here.
4238 * sysdeps/unix/sysv/linux/microblaze/libnsl.abilist: Moved ...
4239 * sysdeps/unix/sysv/linux/microblaze/nptl/libnsl.abilist: ... here.
4240 * sysdeps/unix/sysv/linux/microblaze/libpthread.abilist: Moved ...
4241 * sysdeps/unix/sysv/linux/microblaze/nptl/libpthread.abilist: ... here.
4242 * sysdeps/unix/sysv/linux/microblaze/libresolv.abilist: Moved ...
4243 * sysdeps/unix/sysv/linux/microblaze/nptl/libresolv.abilist: ... here.
4244 * sysdeps/unix/sysv/linux/microblaze/librt.abilist: Moved ...
4245 * sysdeps/unix/sysv/linux/microblaze/nptl/librt.abilist: ... here.
4246 * sysdeps/unix/sysv/linux/microblaze/libthread_db.abilist: Moved ...
4247 * sysdeps/unix/sysv/linux/microblaze/nptl/libthread_db.abilist:
4248 ... here.
4249 * sysdeps/unix/sysv/linux/microblaze/libutil.abilist: Moved ...
4250 * sysdeps/unix/sysv/linux/microblaze/nptl/libutil.abilist: ... here.
4251 * sysdeps/unix/sysv/linux/microblaze/localplt.data: Moved ...
4252 * sysdeps/unix/sysv/linux/microblaze/nptl/localplt.data: ... here.
4253 * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Moved ...
4254 * sysdeps/unix/sysv/linux/microblaze/nptl/lowlevellock.h: ... here.
4255 * sysdeps/unix/sysv/linux/microblaze/nptl/pthread_once.c: Moved ...
4256 * sysdeps/unix/sysv/linux/microblaze/pthread_once.c: ... here.
4257
0cdcad17
DH
42582014-07-01 David Holsgrove <david.holsgrove@xilinx.com>
4259
4260 * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: New file.
4261 * sysdeps/unix/sysv/linux/microblaze/socket.S: Update SINGLE_THREAD_P use.
4262 * sysdeps/unix/sysv/linux/microblaze/Makefile(libpthread-routines):
4263 Add sysdep.
4264
9b71d0e3
AZ
42652014-06-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4266
4267 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
4268
665390c2
JM
42692014-06-30 Joseph Myers <joseph@codesourcery.com>
4270
ae05a9d7
JM
4271 * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
4272 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
4273
a7672a2f
JM
4274 * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
4275
665390c2
JM
4276 * sysdeps/arm/libm-test-ulps: Regenerated.
4277
d7a05d07
MR
42782014-06-30 Maciej W. Rozycki <macro@codesourcery.com>
4279 Roland McGrath <roland@hack.frob.com>
4280
4281 * test-skeleton.c (signal_handler): Kill the whole process group
4282 before killing the child individually.
4283 (main): Report any failure on `setpgid'.
4284
46f1d8a6
RM
42852014-06-30 Roland McGrath <roland@hack.frob.com>
4286
4287 * sysdeps/arm/nptl/tls.h: Rename the multiple inclusion guard
4288 from _TLS_H to _ARM_NPTL_TLS_H.
4289 (TLS_INIT_TP): Move macro, and #include of <sysdep.h>, to ...
4290 * sysdeps/unix/sysv/linux/arm/tls.h: ... this new file.
4291
9c37ec0b
JM
42922014-06-30 Joseph Myers <joseph@codesourcery.com>
4293
ce9c5b3e
JM
4294 [BZ #16539]
4295 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Include <float.h>.
4296 (__expm1l): Return argument unchanged when small but not
4297 subnormal.
4298
3a6e9887
JM
4299 * soft-fp/op-1.h (_FP_UNPACK_RAW_1): Rename local variables to
4300 include macro name.
4301 (_FP_UNPACK_RAW_1_P): Likewise.
4302 (_FP_PACK_RAW_1): Likewise.
4303 (_FP_PACK_RAW_1_P): Likewise.
4304 (_FP_MUL_MEAT_1_wide): Likewise.
4305 (_FP_MUL_MEAT_DW_1_hard): Likewise.
4306 (_FP_MUL_MEAT_1_hard): Likewise.
4307 (_FP_DIV_MEAT_1_imm): Likewise.
4308 (_FP_DIV_MEAT_1_udiv_norm): Likewise.
4309 (_FP_DIV_MEAT_1_udiv): Likewise.
4310 * soft-fp/op-2.h (__FP_FRAC_DEC_2): Likewise.
4311 (_FP_UNPACK_RAW_2): Likewise.
4312 (_FP_UNPACK_RAW_2_P): Likewise.
4313 (_FP_PACK_RAW_2): Likewise.
4314 (_FP_PACK_RAW_2_P): Likewise.
4315 (_FP_MUL_MEAT_DW_2_wide): Likewise.
4316 (_FP_MUL_MEAT_2_wide): Likewise.
4317 (_FP_MUL_MEAT_DW_2_wide_3mul): Likewise.
4318 (_FP_MUL_MEAT_2_wide_3mul): Likewise.
4319 (_FP_MUL_MEAT_DW_2_gmp): Likewise.
4320 (_FP_MUL_MEAT_2_gmp): Likewise.
4321 (_FP_DIV_MEAT_2_udiv): Likewise.
4322 * soft-fp/op-4.h (_FP_FRAC_SLL_4): Likewise.
4323 (_FP_FRAC_SRL_4): Likewise.
4324 (_FP_FRAC_SRST_4): Likewise.
4325 (_FP_FRAC_SRS_4): Likewise.
4326 (_FP_UNPACK_RAW_4): Likewise.
4327 (_FP_UNPACK_RAW_4_P): Likewise.
4328 (_FP_PACK_RAW_4): Likewise.
4329 (_FP_PACK_RAW_4_P): Likewise.
4330 (_FP_MUL_MEAT_DW_4_wide): Likewise.
4331 (_FP_MUL_MEAT_4_wide): Likewise.
4332 (_FP_MUL_MEAT_4_gmp): Likewise.
4333 (umul_ppppmnnn): Likewise.
4334 (_FP_DIV_MEAT_4_udiv): Likewise.
4335 (__FP_FRAC_ADD_4): Likewise.
4336 (__FP_FRAC_SUB_3): Likewise.
4337 (__FP_FRAC_SUB_4): Likewise.
4338 (__FP_FRAC_DEC_3): Likewise.
4339 (__FP_FRAC_DEC_4): Likewise.
4340 (__FP_FRAC_ADDI_4): Likewise.
4341 * soft-fp/op-8.h (_FP_FRAC_SLL_8): Likewise.
4342 (_FP_FRAC_SRL_8): Likewise.
4343 (_FP_FRAC_SRS_8): Likewise.
4344
9c37ec0b
JM
4345 * soft-fp/extended.h (FP_UNPACK_RAW_E): Rename local variables to
4346 include macro name.
4347 (FP_UNPACK_RAW_EP): Likewise.
4348 (FP_PACK_RAW_E): Likewise.
4349 (FP_PACK_RAW_EP): Likewise.
4350 * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Likewise.
4351 (_FP_ISSIGNAN): Likewise.
4352 (_FP_ADD_INTERNAL): Likewise.
4353 (_FP_FMA): Likewise.
4354 (_FP_CMP): Likewise.
4355 (_FP_SQRT): Likewise.
4356 (_FP_TO_INT): Likewise.
4357 (_FP_FROM_INT): Likewise.
4358 (FP_EXTEND): Likewise.
4359 (_FP_DIV_MEAT_N_loop): Likewise.
4360
2125f674
MR
43612014-06-30 Maciej W. Rozycki <macro@codesourcery.com>
4362
4363 * sysdeps/unix/sysv/linux/bits/socket.h: Adjust macro formatting
4364 throughout.
4365
edea4028
JM
43662014-06-29 Joseph Myers <joseph@codesourcery.com>
4367
4368 [BZ #17097]
4369 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Return
4370 result with correct sign in case of exponents that produce
4371 overflow except for X very close to 1.
4372
dd0ba018
PE
43732014-06-28 Paul Eggert <eggert@cs.ucla.edu>
4374
4375 mktime: merge #if/#ifdef usage from glibc
4376 * lib/mktime.c: Use "#if defined DEBUG && DEBUG", not "#if DEBUG",
4377 as that works with both Glibc's and Gnulib's style.
4378 See thread starting at Siddhesh Poyarekar's bug report at:
4379 http://lists.gnu.org/archive/html/bug-gnulib/2014-06/msg00102.html
4380
64df73c2
SP
43812014-06-28 Siddhesh Poyarekar <siddhesh@redhat.com>
4382
4383 * sysdeps/generic/memcopy.h: Define MEMCPY_OK_FOR_FWD_MEMMOVE.
4384 * sysdeps/tile/memcopy.h: Redefine MEMCPY_OK_FOR_FWD_MEMMOVE.
4385 * sysdeps/tile/tilegx/memmove.c: Remove file.
4386
f1eafb41
JM
43872014-06-27 Joseph Myers <joseph@codesourcery.com>
4388
4389 * Makeconfig ($(common-objpfx)soversions.mk): Do not generate
4390 abi-name definition.
4391 * scripts/soversions.awk: Do not handle or generate ABI lines.
4392 * shlib-versions: Remove ABI entries.
4393 * sysdeps/powerpc/nofpu/shlib-versions: Remove file.
4394 * sysdeps/x86_64/x32/shlib-versions: Remove ABI entry.
4395
58eb0862
RM
43962014-06-27 Roland McGrath <roland@hack.frob.com>
4397
37caf178
RM
4398 * sysdeps/unix/sysv/linux/mips/mips32/nptl/c++-types.data: Moved ...
4399 * sysdeps/unix/sysv/linux/mips/mips32/c++-types.data: ... here.
4400 * sysdeps/unix/sysv/linux/mips/mips32/fpu/nptl/libc.abilist: Moved ...
4401 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: ... here.
4402 * sysdeps/unix/sysv/linux/mips/mips32/nptl/ld.abilist: Moved ...
4403 * sysdeps/unix/sysv/linux/mips/mips32/ld.abilist: ... here.
4404 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libBrokenLocale.abilist:
4405 Moved ...
4406 * sysdeps/unix/sysv/linux/mips/mips32/libBrokenLocale.abilist:
4407 ... here.
4408 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libanl.abilist: Moved ...
4409 * sysdeps/unix/sysv/linux/mips/mips32/libanl.abilist: ... here.
4410 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libcidn.abilist: Moved ...
4411 * sysdeps/unix/sysv/linux/mips/mips32/libcidn.abilist: ... here.
4412 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libcrypt.abilist: Moved ...
4413 * sysdeps/unix/sysv/linux/mips/mips32/libcrypt.abilist: ... here.
4414 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libdl.abilist: Moved ...
4415 * sysdeps/unix/sysv/linux/mips/mips32/libdl.abilist: ... here.
4416 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libm.abilist: Moved ...
4417 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: ... here.
4418 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnsl.abilist: Moved ...
4419 * sysdeps/unix/sysv/linux/mips/mips32/libnsl.abilist: ... here.
4420 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_compat.abilist:
4421 Moved ...
4422 * sysdeps/unix/sysv/linux/mips/mips32/libnss_compat.abilist: ... here.
4423 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_db.abilist: Moved ...
4424 * sysdeps/unix/sysv/linux/mips/mips32/libnss_db.abilist: ... here.
4425 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_dns.abilist: Moved ...
4426 * sysdeps/unix/sysv/linux/mips/mips32/libnss_dns.abilist: ... here.
4427 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_files.abilist:
4428 Moved ...
4429 * sysdeps/unix/sysv/linux/mips/mips32/libnss_files.abilist: ... here.
4430 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_hesiod.abilist:
4431 Moved ...
4432 * sysdeps/unix/sysv/linux/mips/mips32/libnss_hesiod.abilist: ... here.
4433 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_nis.abilist: Moved ...
4434 * sysdeps/unix/sysv/linux/mips/mips32/libnss_nis.abilist: ... here.
4435 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_nisplus.abilist:
4436 Moved ...
4437 * sysdeps/unix/sysv/linux/mips/mips32/libnss_nisplus.abilist: ... here.
4438 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libpthread.abilist: Moved ...
4439 * sysdeps/unix/sysv/linux/mips/mips32/libpthread.abilist: ... here.
4440 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libresolv.abilist: Moved ...
4441 * sysdeps/unix/sysv/linux/mips/mips32/libresolv.abilist: ... here.
4442 * sysdeps/unix/sysv/linux/mips/mips32/nptl/librt.abilist: Moved ...
4443 * sysdeps/unix/sysv/linux/mips/mips32/librt.abilist: ... here.
4444 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libthread_db.abilist:
4445 Moved ...
4446 * sysdeps/unix/sysv/linux/mips/mips32/libthread_db.abilist: ... here.
4447 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libutil.abilist: Moved ...
4448 * sysdeps/unix/sysv/linux/mips/mips32/libutil.abilist: ... here.
4449 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/nptl/libc.abilist:
4450 Moved ...
4451 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: ... here.
4452 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/c++-types.data:
4453 Moved ...
4454 * sysdeps/unix/sysv/linux/mips/mips64/n32/c++-types.data: ... here.
4455 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/ld.abilist: Moved ...
4456 * sysdeps/unix/sysv/linux/mips/mips64/n32/ld.abilist: ... here.
4457 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libBrokenLocale.abilist:
4458 Moved ...
4459 * sysdeps/unix/sysv/linux/mips/mips64/libBrokenLocale.abilist:
4460 ... here.
4461 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libBrokenLocale.abilist:
4462 Identical file removed.
4463 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libanl.abilist:
4464 Moved ...
4465 * sysdeps/unix/sysv/linux/mips/mips64/libanl.abilist: ... here.
4466 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libanl.abilist:
4467 Identical file removed.
4468 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libc.abilist: Moved ...
4469 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: ... here.
4470 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libcrypt.abilist:
4471 Moved ...
4472 * sysdeps/unix/sysv/linux/mips/mips64/libcrypt.abilist: ... here.
4473 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libcrypt.abilist:
4474 Identical file removed.
4475 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libdl.abilist: Moved ...
4476 * sysdeps/unix/sysv/linux/mips/mips64/libdl.abilist: ... here.
4477 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libdl.abilist:
4478 Identical file removed.
4479 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libm.abilist: Moved ...
4480 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: ... here.
4481 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libm.abilist:
4482 Identical file removed.
4483 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libnsl.abilist: Moved ...
4484 * sysdeps/unix/sysv/linux/mips/mips64/libnsl.abilist: ... here.
4485 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libnsl.abilist:
4486 Identical file removed.
4487 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libpthread.abilist:
4488 Moved ...
4489 * sysdeps/unix/sysv/linux/mips/mips64/libpthread.abilist: ... here.
4490 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libpthread.abilist:
4491 Identical file removed.
4492 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libresolv.abilist:
4493 Moved ...
4494 * sysdeps/unix/sysv/linux/mips/mips64/n32/libresolv.abilist: ... here.
4495 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/librt.abilist: Moved ...
4496 * sysdeps/unix/sysv/linux/mips/mips64/librt.abilist: ... here.
4497 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/librt.abilist:
4498 Identical file removed.
4499 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libthread_db.abilist:
4500 Moved ...
4501 * sysdeps/unix/sysv/linux/mips/mips64/libthread_db.abilist:
4502 ... here.
4503 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libthread_db.abilist:
4504 Identical file removed.
4505 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libutil.abilist:
4506 Moved ...
4507 * sysdeps/unix/sysv/linux/mips/mips64/libutil.abilist: ... here.
4508 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libutil.abilist:
4509 Identical file removed.
4510 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/c++-types.data:
4511 Moved ...
4512 * sysdeps/unix/sysv/linux/mips/mips64/n64/c++-types.data: ... here.
4513 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/ld.abilist: Moved ...
4514 * sysdeps/unix/sysv/linux/mips/mips64/n64/ld.abilist: ... here.
4515 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libc.abilist: Moved ...
4516 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: ... here.
4517 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libresolv.abilist:
4518 Moved ...
4519 * sysdeps/unix/sysv/linux/mips/mips64/n64/libresolv.abilist: ... here.
4520 * sysdeps/unix/sysv/linux/mips/mips64/nptl/sysdep-cancel.h: Moved ...
4521 * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: ... here.
4522
58eb0862
RM
4523 * sysdeps/unix/sysv/linux/mips/vfork.S: Incorporate
4524 SAVE_PID and RESTORE_PID blocks from nptl/pt-vfork.S.
4525 * sysdeps/unix/sysv/linux/mips/nptl/vfork.S: File removed.
4526 * sysdeps/unix/sysv/linux/mips/nptl/pt-vfork.S: File removed.
4527 * sysdeps/unix/sysv/linux/mips/pt-vfork.S: New file.
4528
6f12d062
AS
45292014-06-27 Arjun Shankar <arjun.is@lostca.se>
4530
4531 [BZ #17092]
4532 * nscd/nscd.c (monitor_child): Return exit status of child
4533 instead of return value from wait syscall.
4534
be254932
JM
45352014-06-27 Joseph Myers <joseph@codesourcery.com>
4536
cb403c34
JM
4537 * configure.ac (libc_commonpagesize): Remove variable.
4538 (libc_relro_required): Likewise.
4539 (libc_cv_z_relro): Remove configure test.
4540 * configure: Regenerated.
4541 * sysdeps/aarch64/preconfigure (libc_commonpagesize): Do not set
4542 variable.
4543 (libc_relro_required): Likewise.
4544 * sysdeps/alpha/preconfigure (libc_commonpagesize): Likewise.
4545 (libc_relro_required): Likewise.
4546 * sysdeps/arm/preconfigure.ac (libc_commonpagesize): Likewise.
4547 (libc_relro_required): Likewise.
4548 * sysdeps/arm/preconfigure: Regenerated.
4549 * sysdeps/ia64/preconfigure: Remove file.
4550 * sysdeps/tile/preconfigure (libc_commonpagesize): Do not set
4551 variable.
4552 (libc_relro_required): Likewise.
4553
be254932
JM
4554 [BZ #16561]
4555 [BZ #16562]
4556 * sysdeps/ieee754/dbl-64/e_jn.c: Include <float.h>.
4557 (__ieee754_yn): Set FE_TONEAREST mode internally and then
4558 recompute overflowing results in original rounding mode.
4559 * sysdeps/ieee754/flt-32/e_jnf.c: Include <float.h>.
4560 (__ieee754_ynf): Set FE_TONEAREST mode internally and then
4561 recompute overflowing results in original rounding mode.
4562 * sysdeps/ieee754/ldbl-128/e_jnl.c: Include <float.h>.
4563 (__ieee754_ynl): Set FE_TONEAREST mode internally and then
4564 recompute overflowing results in original rounding mode.
4565 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Include <float.h>.
4566 (__ieee754_ynl): Set FE_TONEAREST mode internally and then
4567 recompute overflowing results in original rounding mode.
4568 * sysdeps/ieee754/ldbl-96/e_jnl.c: Include <float.h>.
4569 (__ieee754_ynl): Set FE_TONEAREST mode internally and then
4570 recompute overflowing results in original rounding mode.
4571 * sysdeps/i386/fpu/fenv_private.h [!__SSE2_MATH__]
4572 (libc_feholdsetround_ctx): New macro.
4573 * math/libm-test.inc (yn_test): Use ALL_RM_TEST.
4574 * sysdeps/i386/fpu/libm-test-ulps: Update.
4575 * sysdeps/x86_64/fpu/libm-test-ulps : Likewise.
4576
b351d85a
JM
45772014-06-26 Joseph Myers <joseph@codesourcery.com>
4578
4579 * sysdeps/unix/sysv/linux/mips/mips64/nptl/sysdep-cancel.h
4580 [__PIC__] (PSEUDO): Use name of _nocancel entry point in
4581 corresponding .cpsetup call.
4582
3cb4de47
RM
45832014-06-26 Roland McGrath <roland@hack.frob.com>
4584
4585 * sysdeps/unix/sysv/linux/arm/libc-aeabi_read_tp.S: Moved ...
4586 * sysdeps/arm/libc-aeabi_read_tp.S: ... here.
4587 * sysdeps/arm/Makefile [$(subdir) = csu]
4588 (aeabi_routines): Add aeabi_read_tp and libc-aeabi_read_tp here.
4589 (static-only-routines): Add aeabi_read_tp here.
4590 (shared-only-routines): Add libc-aeabi_read_tp here.
4591 (CFLAGS-libc-start.c): Add -fexceptions here.
4592 * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = csu]
4593 (sysdep_routines, static-only-routines, shared-only-routines):
4594 Don't add to these here.
4595 (CFLAGS-libc-start.c): Likewise.
4596
4597 * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: Moved ...
4598 * sysdeps/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
4599 * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: Moved ...
4600 * sysdeps/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
4601 * sysdeps/arm/Makefile [$(subdir) = rt]
4602 (librt-sysdep_routines, librt-shared-only-routines):
4603 Append rt-aeabi_unwind_cpp_pr1 here.
4604 * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = rt]
4605 (librt-sysdep_routines, librt-shared-only-routines): Don't do it here.
4606 * sysdeps/arm/nptl/Makefile [$(subdir) = nptl]
4607 (libpthread-sysdep_routines, libpthread-shared-only-routines):
4608 Append nptl-aeabi_unwind_cpp_pr1 here.
4609 (tests): Filter out tst-cleanupx4 here.
4610 * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = nptl]
4611 (libpthread-sysdep_routines, libpthread-shared-only-routines, tests):
4612 Don't do those here.
4613
354426bb
JM
46142014-06-26 Joseph Myers <joseph@codesourcery.com>
4615
4616 * scripts/list-sources.sh: Do not handle ports specially.
4617
28b0a8c9
RM
46182014-06-26 Roland McGrath <roland@hack.frob.com>
4619
a3dd035d
RM
4620 * sysdeps/arm/fesetenv.c: Include <fpu_control.h>.
4621 * sysdeps/arm/feupdateenv.c: Likewise.
4622
28b0a8c9
RM
4623 * posix/spawn_faction_addopen.c: Include <stdlib.h> for free decl.
4624
e66a8203
JM
46252014-06-26 Joseph Myers <joseph@codesourcery.com>
4626
4627 * manual/texinfo.tex: Update to version 2014-05-05.10 with
4628 trailing whitespace removed.
4629 * scripts/config.guess: Update to version 2014-03-23.
4630 * scripts/config.sub: Update to version 2014-05-01
4631 * scripts/install-sh: Update to version 2013-12-25.23.
4632 * scripts/move-if-change: Update from gnulib.
4633
74171115
SP
46342014-06-26 Siddhesh Poyarekar <siddhesh@redhat.com>
4635
b97c9ce5
SP
4636 * debug/memmove_chk.c: Remove pagecopy.h include.
4637
4000f892
SP
46382014-06-26 Paul Eggert <eggert@cs.ucla.edu>
4639
74171115
SP
4640 * time/mktime.c (leapyear): Remove inline keyword. The code is now
4641 identical to gnulib mktime.
4642
a8779c28
JM
46432014-06-26 Joseph Myers <joseph@codesourcery.com>
4644
e64708de
JM
4645 * configure.ac: Do not test for machine being rs6000. Do not test
4646 for powerpc*-*soft.
4647 * configure: Regenerated.
4648
a8779c28
JM
4649 * configure.ac (libc_cv_asm_cfi_directives): Remove configure
4650 test.
4651 * configure: Regenerated.
4652 * config.h.in (HAVE_ASM_CFI_DIRECTIVES): Remove macro undefine.
4653 * sysdeps/arm/configure.ac (libc_cv_asm_cfi_directive_sections):
4654 Remove configure test.
4655 * sysdeps/arm/configure: Regenerated.
4656 * sysdeps/nptl/configure.ac: Do not check
4657 libc_cv_asm_cfi_directives.
4658 * sysdeps/nptl/configure: Regenerated.
4659 * sysdeps/x86_64/nptl/configure.ac: Remove file.
4660 * sysdeps/x86_64/nptl/configure: Remove generated file.
4661 * b/sysdeps/generic/sysdep.h [HAVE_ASM_CFI_DIRECTIVES]: Make code
4662 unconditional.
4663 [!HAVE_ASM_CFI_DIRECTIVES]: Remove conditional code.
4664
2aac0a86
SP
46652014-06-26 Siddhesh Poyarekar <siddhesh@redhat.com>
4666
059bf913
SP
4667 * posix/fnmatch.c: Define WIDE_CHAR_VERSION.
4668 * posix/fnmatch_loop.c: Undefine WIDE_CHAR_VERSION.
4669 (FCT): Check value of WIDE_CHAR_VERSION instead of checking if
4670 it is defined.
4671
4cf5b6d0
SP
4672 * elf/dl-runtime.c: Check for value of ELF_MACHINE_NO_RELA
4673 instead of whether it is defined.
4674 * sysdeps/aarch64/dl-machine.h: Define ELF_MACHINE_NO_RELA.
4675 * sysdeps/hppa/dl-machine.h: Likewise.
4676 * sysdeps/ia64/dl-machine.h: Likewise.
4677 * sysdeps/m68k/dl-machine.h: Likewise.
4678 * sysdeps/microblaze/dl-machine.h: Likewise.
4679 * sysdeps/mips/dl-machine.: Likewise.
4680 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
4681 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
4682 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
4683 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
4684 * sysdeps/sh/dl-machine.h: Likewise.
4685 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
4686 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
4687 * sysdeps/tile/dl-machine.h: Likewise.
4688 * sysdeps/x86_64/dl-machine.h: Likewise.
4689
2aac0a86
SP
4690 * nscd/connections.c (enum usekey) [SEPARATE_KEY]: Remove
4691 code.
4692 (verify_persistent_db): Likewise.
4693
6ad2df0b
RM
46942014-06-26 Roland McGrath <roland@hack.frob.com>
4695
d8a483f3
RM
4696 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data: Moved ...
4697 * sysdeps/unix/sysv/linux/s390/s390-32/c++-types.data: ... here.
4698 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Moved ...
4699 * sysdeps/unix/sysv/linux/s390/s390-32/ld.abilist: ... here.
4700 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
4701 Moved ...
4702 * sysdeps/unix/sysv/linux/s390/s390-32/libBrokenLocale.abilist:
4703 ... here.
4704 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: Moved ...
4705 * sysdeps/unix/sysv/linux/s390/libanl.abilist: ... here.
4706 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist:
4707 Identical file removed.
4708 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Moved ...
4709 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: ... here.
4710 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: Moved ...
4711 * sysdeps/unix/sysv/linux/s390/s390-32/libcrypt.abilist: ... here.
4712 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: Moved ...
4713 * sysdeps/unix/sysv/linux/s390/s390-32/libdl.abilist: ... here.
4714 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Moved ...
4715 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: ... here.
4716 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: Moved ...
4717 * sysdeps/unix/sysv/linux/s390/s390-32/libnsl.abilist: ... here.
4718 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
4719 Moved ...
4720 * sysdeps/unix/sysv/linux/s390/s390-32/libpthread.abilist: ... here.
4721 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: Moved ...
4722 * sysdeps/unix/sysv/linux/s390/s390-32/libresolv.abilist: ... here.
4723 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Moved ...
4724 * sysdeps/unix/sysv/linux/s390/s390-32/librt.abilist: ... here.
4725 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
4726 Moved ...
4727 * sysdeps/unix/sysv/linux/s390/s390-32/libthread_db.abilist: ... here.
4728 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Moved ...
4729 * sysdeps/unix/sysv/linux/s390/s390-32/libutil.abilist: ... here.
4730 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data: Moved ...
4731 * sysdeps/unix/sysv/linux/s390/localplt.data: ... here.
4732 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
4733 Identical file removed.
4734 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data: Moved ...
4735 * sysdeps/unix/sysv/linux/s390/s390-64/c++-types.data: ... here.
4736 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Moved ...
4737 * sysdeps/unix/sysv/linux/s390/s390-64/ld.abilist: ... here.
4738 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
4739 Moved ...
4740 * sysdeps/unix/sysv/linux/s390/s390-64/libBrokenLocale.abilist:
4741 ... here.
4742 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Moved ...
4743 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: ... here.
4744 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: Moved ...
4745 * sysdeps/unix/sysv/linux/s390/s390-64/libcrypt.abilist: ... here.
4746 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: Moved ...
4747 * sysdeps/unix/sysv/linux/s390/s390-64/libdl.abilist: ... here.
4748 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Moved ...
4749 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: ... here.
4750 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: Moved ...
4751 * sysdeps/unix/sysv/linux/s390/s390-64/libnsl.abilist: ... here.
4752 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
4753 Moved ...
4754 * sysdeps/unix/sysv/linux/s390/s390-64/libpthread.abilist: ... here.
4755 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist:
4756 Moved ...
4757 * sysdeps/unix/sysv/linux/s390/s390-64/libresolv.abilist: ... here.
4758 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: Moved ...
4759 * sysdeps/unix/sysv/linux/s390/s390-64/librt.abilist: ... here.
4760 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
4761 Moved ...
4762 * sysdeps/unix/sysv/linux/s390/s390-64/libthread_db.abilist: ... here.
4763 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: Moved ...
4764 * sysdeps/unix/sysv/linux/s390/s390-64/libutil.abilist: ... here.
4765
52ae23b4
RM
4766 * nptl/sysdeps/unix/sysv/linux/s390/Makefile: File removed, contents
4767 folded into ...
4768 * sysdeps/unix/sysv/linux/s390/Makefile [$(subdir) = nptl]: ... here.
4769 * sysdeps/unix/sysv/linux/s390/Versions
4770 (libpthread: GLIBC_2.19): New version set.
4771 * nptl/sysdeps/unix/sysv/linux/s390/Versions: File removed.
4772 * sysdeps/unix/sysv/linux/s390/s390-64/Versions
4773 (librt: GLIBC_2.3.3): New version set.
4774 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/Versions: File removed.
4775 * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: Moved ...
4776 * sysdeps/unix/sysv/linux/s390/elision-conf.c: ... here.
4777 * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Moved ...
4778 * sysdeps/unix/sysv/linux/s390/elision-conf.h: ... here.
4779 * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Moved ...
4780 * sysdeps/unix/sysv/linux/s390/elision-lock.c: ... here.
4781 * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Moved ...
4782 * sysdeps/unix/sysv/linux/s390/elision-timed.c: ... here.
4783 * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Moved ...
4784 * sysdeps/unix/sysv/linux/s390/elision-trylock.c: ... here.
4785 * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Moved ...
4786 * sysdeps/unix/sysv/linux/s390/elision-unlock.c: ... here.
4787 * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Moved ...
4788 * sysdeps/unix/sysv/linux/s390/force-elision.h: ... here.
4789 * nptl/sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Moved ...
4790 * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: ... here.
4791 * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h: Moved ...
4792 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: ... here.
4793 * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: Moved ...
4794 * sysdeps/unix/sysv/linux/s390/pt-longjmp.c: ... here.
4795 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c: Moved ...
4796 * sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c: ... here.
4797 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c: Moved ...
4798 * sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c: ... here.
4799 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c: Moved ...
4800 * sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c: ... here.
4801 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c: Moved ...
4802 * sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c: ... here.
4803 * nptl/sysdeps/unix/sysv/linux/s390/pthread_once.c: Moved ...
4804 * sysdeps/unix/sysv/linux/s390/pthread_once.c: ... here.
4805 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Moved ...
4806 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: ... here.
4807 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Moved ...
4808 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: ... here.
4809 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Moved ...
4810 * sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: ... here.
4811 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Moved ...
4812 * sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: ... here.
4813 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Moved ...
4814 * sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: ... here.
4815 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Moved ...
4816 * sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: ... here.
4817 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Moved ...
4818 * sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: ... here.
4819
39507e4a
RM
4820 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Moved ...
4821 * sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: ... here.
4822 (__libc_vfork): Define the function under this name.
4823 [!NOT_IN_libc] (__vfork): Make this an alias.
4824 [!NOT_IN_libc] (vfork): Conditionalize the weak_alias.
4825 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Moved ...
4826 * sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: ... here.
4827 (__libc_vfork): Define the function under this name.
4828 [!NOT_IN_libc] (__vfork): Make this an alias.
4829 [!NOT_IN_libc] (vfork): Conditionalize the weak_alias.
4830 * sysdeps/unix/sysv/linux/s390/pt-vfork.S: New file.
4831 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/pt-vfork.S: File removed.
4832 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/pt-vfork.S: File removed.
4833 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Remove vfork.
4834 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
4835
e549ee56
RM
4836 * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Deconditionalize the
4837 code that was previously under [RESET_PID].
4838 * sysdeps/unix/sysv/linux/s390/s390-64/clone.S: Likewise.
4839 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/clone.S: File removed.
4840 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/clone.S: File removed.
4841
6ad2df0b
RM
4842 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h: Moved ...
4843 * sysdeps/aarch64/nptl/bits/pthreadtypes.h: ... here.
4844 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/semaphore.h: Moved ...
4845 * sysdeps/aarch64/nptl/bits/semaphore.h: ... here.
4846 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/local_lim.h: Moved ...
4847 * sysdeps/unix/sysv/linux/aarch64/bits/local_lim.h: ... here.
4848 * sysdeps/unix/sysv/linux/aarch64/nptl/c++-types.data: Moved ...
4849 * sysdeps/unix/sysv/linux/aarch64/c++-types.data: ... here.
4850 * sysdeps/unix/sysv/linux/aarch64/nptl/ld.abilist: Moved ...
4851 * sysdeps/unix/sysv/linux/aarch64/ld.abilist: ... here.
4852 * sysdeps/unix/sysv/linux/aarch64/nptl/libBrokenLocale.abilist:
4853 Moved ...
4854 * sysdeps/unix/sysv/linux/aarch64/libBrokenLocale.abilist: ... here.
4855 * sysdeps/unix/sysv/linux/aarch64/nptl/libanl.abilist: Moved ...
4856 * sysdeps/unix/sysv/linux/aarch64/libanl.abilist: ... here.
4857 * sysdeps/unix/sysv/linux/aarch64/nptl/libc.abilist: Moved ...
4858 * sysdeps/unix/sysv/linux/aarch64/libc.abilist: ... here.
4859 * sysdeps/unix/sysv/linux/aarch64/nptl/libcrypt.abilist: Moved ...
4860 * sysdeps/unix/sysv/linux/aarch64/libcrypt.abilist: ... here.
4861 * sysdeps/unix/sysv/linux/aarch64/nptl/libdl.abilist: Moved ...
4862 * sysdeps/unix/sysv/linux/aarch64/libdl.abilist: ... here.
4863 * sysdeps/unix/sysv/linux/aarch64/nptl/libm.abilist: Moved ...
4864 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: ... here.
4865 * sysdeps/unix/sysv/linux/aarch64/nptl/libnsl.abilist: Moved ...
4866 * sysdeps/unix/sysv/linux/aarch64/libnsl.abilist: ... here.
4867 * sysdeps/unix/sysv/linux/aarch64/nptl/libpthread.abilist: Moved ...
4868 * sysdeps/unix/sysv/linux/aarch64/libpthread.abilist: ... here.
4869 * sysdeps/unix/sysv/linux/aarch64/nptl/libresolv.abilist: Moved ...
4870 * sysdeps/unix/sysv/linux/aarch64/libresolv.abilist: ... here.
4871 * sysdeps/unix/sysv/linux/aarch64/nptl/librt.abilist: Moved ...
4872 * sysdeps/unix/sysv/linux/aarch64/librt.abilist: ... here.
4873 * sysdeps/unix/sysv/linux/aarch64/nptl/libthread_db.abilist: Moved ...
4874 * sysdeps/unix/sysv/linux/aarch64/libthread_db.abilist: ... here.
4875 * sysdeps/unix/sysv/linux/aarch64/nptl/libutil.abilist: Moved ...
4876 * sysdeps/unix/sysv/linux/aarch64/libutil.abilist: ... here.
4877 * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data: Moved ...
4878 * sysdeps/unix/sysv/linux/aarch64/localplt.data: ... here.
4879 * sysdeps/unix/sysv/linux/aarch64/nptl/lowlevellock.h: Moved ...
4880 * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: ... here.
4881 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Moved ...
4882 * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: ... here.
4883
7c1c1d8e
RM
48842014-06-25 Roland McGrath <roland@hack.frob.com>
4885
4886 * sysdeps/unix/sysv/linux/mips/clone.S: Deconditionalize the code
4887 that was previously under [RESET_PID].
4888 * sysdeps/unix/sysv/linux/mips/nptl/clone.S: File removed.
4889
3e239be6
JM
48902014-06-25 Joseph Myers <joseph@codesourcery.com>
4891
74385da5
JM
4892 * sysdeps/unix/sysv/linux/dl-opendir.c (__ASSUME_O_CLOEXEC): Do
4893 not undefine and redefine.
4894 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs)
4895 [O_CLOEXEC]: Make code unconditional.
4896 (__get_nprocs) [!O_CLOEXEC]: Remove conditional code.
4897 * sysdeps/unix/sysv/linux/shm_open.c: Do not include
4898 <kernel-features.h>.
4899 [O_CLOEXEC && !__ASSUME_O_CLOEXEC] (have_o_cloexec): Remove
4900 conditional variable definition.
4901 (shm_open) [O_CLOEXEC]: Make code unconditional.
4902 (shm_open) [!O_CLOEXEC || !__ASSUME_O_CLOEXEC]: Remove conditional
4903 code.
4904
c2570a0b
JM
4905 * configure.ac (USE_REGPARMS): Don't define here.
4906 * configure: Regenerated.
4907 * sysdeps/i386/configure.ac (USE_REGPARMS): Define here.
4908 * sysdeps/i386/configure: Regenerated.
4909
11b076bb
JM
4910 * nptl/createthread.c: Don't include kernel-features.h.
4911 * nptl/pthread_cancel.c: Likewise.
4912 * nptl/pthread_condattr_setclock.c: Likewise.
4913 * nptl/sysdeps/unix/sysv/linux/pt-raise.c: Likewise.
4914 * nptl/sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: Likewise.
4915 * nptl/sysdeps/unix/sysv/linux/pthread_kill.c: Likewise.
4916 * nptl/sysdeps/unix/sysv/linux/pthread_sigqueue.c: Likewise.
4917 * nptl/sysdeps/unix/sysv/linux/raise.c: Likewise.
4918 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/pt-vfork.S: Likewise.
4919 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Likewise.
4920 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/pt-vfork.S: Likewise.
4921 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Likewise.
4922 * nptl/sysdeps/unix/sysv/linux/timer_create.c: Likewise.
4923 * nptl/sysdeps/unix/sysv/linux/timer_delete.c: Likewise.
4924 * nptl/sysdeps/unix/sysv/linux/timer_getoverr.c: Likewise.
4925 * nptl/sysdeps/unix/sysv/linux/timer_gettime.c: Likewise.
4926 * nptl/sysdeps/unix/sysv/linux/timer_routines.c: Likewise.
4927 * nptl/sysdeps/unix/sysv/linux/timer_settime.c: Likewise.
4928 * nscd/gai.c: Likewise.
4929 * nss/nss_db/db-open.c: Likewise.
4930 * sysdeps/generic/ldsodefs.h: Likewise.
4931 * sysdeps/sh/nptl/tls.h: Likewise.
4932 * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Likewise.
4933 * sysdeps/unix/sysv/linux/aarch64/sigcontextinfo.h: Likewise.
4934 * sysdeps/unix/sysv/linux/aarch64/vfork.S: Likewise.
4935 * sysdeps/unix/sysv/linux/adjtime.c: Likewise.
4936 * sysdeps/unix/sysv/linux/alpha/xstatconv.h: Likewise.
4937 * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
4938 * sysdeps/unix/sysv/linux/arm/sigcontextinfo.h: Likewise.
4939 * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
4940 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
4941 * sysdeps/unix/sysv/linux/clock_getres.c: Likewise.
4942 * sysdeps/unix/sysv/linux/clock_gettime.c: Likewise.
4943 * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
4944 * sysdeps/unix/sysv/linux/clock_settime.c: Likewise.
4945 * sysdeps/unix/sysv/linux/dl-execstack.c: Likewise.
4946 * sysdeps/unix/sysv/linux/dl-osinfo.h: Likewise.
4947 * sysdeps/unix/sysv/linux/dl-sysdep.c: Likewise.
4948 * sysdeps/unix/sysv/linux/generic/futimesat.c: Likewise.
4949 * sysdeps/unix/sysv/linux/generic/poll.c: Likewise.
4950 * sysdeps/unix/sysv/linux/generic/wordsize-32/fcntl.c: Likewise.
4951 * sysdeps/unix/sysv/linux/generic/wordsize-32/fxstatat.c: Likewise.
4952 * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c: Likewise.
4953 * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c: Likewise.
4954 * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv.c: Likewise.
4955 * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv64.c: Likewise.
4956 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c: Likewise.
4957 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c: Likewise.
4958 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev.c: Likewise.
4959 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev64.c: Likewise.
4960 * sysdeps/unix/sysv/linux/getcwd.c: Likewise.
4961 * sysdeps/unix/sysv/linux/getpagesize.c: Likewise.
4962 * sysdeps/unix/sysv/linux/getsysstats.c: Likewise.
4963 * sysdeps/unix/sysv/linux/i386/fxstat.c: Likewise.
4964 * sysdeps/unix/sysv/linux/i386/lxstat.c: Likewise.
4965 * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
4966 * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
4967 * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
4968 * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
4969 * sysdeps/unix/sysv/linux/i386/xstat.c: Likewise.
4970 * sysdeps/unix/sysv/linux/ia64/system.c: Likewise.
4971 * sysdeps/unix/sysv/linux/if_index.c: Likewise.
4972 * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
4973 * sysdeps/unix/sysv/linux/ifreq.c: Likewise.
4974 * sysdeps/unix/sysv/linux/ldsodefs.h: Likewise.
4975 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
4976 * sysdeps/unix/sysv/linux/m68k/vfork.S: Likewise.
4977 * sysdeps/unix/sysv/linux/microblaze/nptl/vfork.S: Likewise.
4978 * sysdeps/unix/sysv/linux/mips/mips32/accept4.c: Likewise.
4979 * sysdeps/unix/sysv/linux/mips/mips32/recvmmsg.c: Likewise.
4980 * sysdeps/unix/sysv/linux/mips/mips32/sendmmsg.c: Likewise.
4981 * sysdeps/unix/sysv/linux/mips/pread.c: Likewise.
4982 * sysdeps/unix/sysv/linux/mips/pread64.c: Likewise.
4983 * sysdeps/unix/sysv/linux/mips/pwrite.c: Likewise.
4984 * sysdeps/unix/sysv/linux/mips/pwrite64.c: Likewise.
4985 * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
4986 * sysdeps/unix/sysv/linux/mmap64.c: Likewise.
4987 * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
4988 * sysdeps/unix/sysv/linux/powerpc/chown.c: Likewise.
4989 * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c: Likewise.
4990 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
4991 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c: Likewise.
4992 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c: Likewise.
4993 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Likewise.
4994 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Likewise.
4995 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Likewise.
4996 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Likewise.
4997 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Likewise.
4998 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
4999 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
5000 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Likewise.
5001 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c: Likewise.
5002 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c: Likewise.
5003 * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S: Likewise.
5004 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
5005 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
5006 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
5007 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
5008 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
5009 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S: Likewise.
5010 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S: Likewise.
5011 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Likewise.
5012 * sysdeps/unix/sysv/linux/pread.c: Likewise.
5013 * sysdeps/unix/sysv/linux/pread64.c: Likewise.
5014 * sysdeps/unix/sysv/linux/prof-freq.c: Likewise.
5015 * sysdeps/unix/sysv/linux/pwrite.c: Likewise.
5016 * sysdeps/unix/sysv/linux/pwrite64.c: Likewise.
5017 * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S: Likewise.
5018 * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S: Likewise.
5019 * sysdeps/unix/sysv/linux/s390/system.c: Likewise.
5020 * sysdeps/unix/sysv/linux/sh/pread.c: Likewise.
5021 * sysdeps/unix/sysv/linux/sh/pread64.c: Likewise.
5022 * sysdeps/unix/sysv/linux/sh/pwrite.c: Likewise.
5023 * sysdeps/unix/sysv/linux/sh/pwrite64.c: Likewise.
5024 * sysdeps/unix/sysv/linux/sigaction.c: Likewise.
5025 * sysdeps/unix/sysv/linux/sigpending.c: Likewise.
5026 * sysdeps/unix/sysv/linux/sigprocmask.c: Likewise.
5027 * sysdeps/unix/sysv/linux/sigsuspend.c: Likewise.
5028 * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
5029 * sysdeps/unix/sysv/linux/sparc/system.c: Likewise.
5030 * sysdeps/unix/sysv/linux/syslog.c: Likewise.
5031 * sysdeps/unix/sysv/linux/system.c: Likewise.
5032 * sysdeps/unix/sysv/linux/testrtsig.h: Likewise.
5033 * sysdeps/unix/sysv/linux/timespec_get.c: Likewise.
5034 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
5035 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
5036 * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
5037 * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
5038 * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
5039
92072d57
JM
5040 * configure.ac (libc_cv_c_asmcr0_bug): Remove configure test.
5041 * configure: Regenerated.
5042 * config.h.in (BROKEN_PPC_ASM_CR0): Remove macro.
5043
3e239be6
JM
5044 * configure.ac (base_machine): Do not set specially for particular
5045 machines here.
5046 * configure: Regenerated.
5047 * sysdeps/powerpc/preconfigure: Move machine and base_machine
5048 settings from configure.ac.
5049 * sysdeps/i386/preconfigure: New file.
5050 * sysdeps/s390/preconfigure: Likewise.
5051 * sysdeps/sh/preconfigure: Likewise.
5052 * sysdeps/sparc/preconfigure: Likewise.
5053
06d50baa
RM
50542014-06-25 Roland McGrath <roland@hack.frob.com>
5055
74836003
RM
5056 * sysdeps/sparc/sparc64/nptl/cpu_relax.S: Moved ...
5057 * sysdeps/sparc/sparc64/cpu_relax.S: ... here.
5058 * sysdeps/sparc/sparc64/nptl/pthread_spin_init.c: Moved ...
5059 * sysdeps/sparc/sparc64/pthread_spin_init.c: ... here.
5060 * sysdeps/sparc/sparc64/nptl/pthread_spin_lock.S: Moved ...
5061 * sysdeps/sparc/sparc64/pthread_spin_lock.S: ... here.
5062 * sysdeps/sparc/sparc64/nptl/pthread_spin_trylock.S: Moved ...
5063 * sysdeps/sparc/sparc64/pthread_spin_trylock.S: ... here.
5064 * sysdeps/sparc/sparc64/nptl/pthread_spin_unlock.S: Moved ...
5065 * sysdeps/sparc/sparc64/pthread_spin_unlock.S: ... here.
5066 * sysdeps/sparc/sparc64/nptl/pthreaddef.h: Moved ...
5067 * sysdeps/sparc/sparc64/pthreaddef.h: ... here.
5068 * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: Update #include.
5069 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: Likewise.
5070 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: Likewise.
5071 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: Likewise.
5072 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: Likewise.
5073 * sysdeps/sparc/sparc64/nptl/Makefile: File removed, its contents ...
5074 * sysdeps/sparc/sparc64/Makefile: ... appended here.
5075
5076 * sysdeps/sparc/sparc32/nptl/lowlevellock.c: Moved ...
5077 * sysdeps/sparc/sparc32/lowlevellock.c: ... here.
5078 * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: Moved ...
5079 * sysdeps/sparc/sparc32/pthread_barrier_wait.c: ... here.
5080 * sysdeps/sparc/sparc32/nptl/pthread_spin_lock.S: Moved ...
5081 * sysdeps/sparc/sparc32/pthread_spin_lock.S: ... here.
5082 * sysdeps/sparc/sparc32/nptl/pthread_spin_trylock.S: Moved ...
5083 * sysdeps/sparc/sparc32/pthread_spin_trylock.S: ... here.
5084 * sysdeps/sparc/sparc32/nptl/pthreaddef.h: Moved ...
5085 * sysdeps/sparc/sparc32/pthreaddef.h: ... here.
5086 * sysdeps/sparc/sparc32/nptl/sem_post.c: Moved ...
5087 * sysdeps/sparc/sparc32/sem_post.c: ... here.
5088 * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: Moved ...
5089 * sysdeps/sparc/sparc32/sem_timedwait.c: ... here.
5090 * sysdeps/sparc/sparc32/nptl/sem_trywait.c: Moved ...
5091 * sysdeps/sparc/sparc32/sem_trywait.c: ... here.
5092 * sysdeps/sparc/sparc32/nptl/sem_wait.c: Moved ...
5093 * sysdeps/sparc/sparc32/sem_wait.c: ... here.
5094 * sysdeps/sparc/sparc32/sparcv9/nptl/cpu_relax.S: Moved ...
5095 * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: ... here.
5096 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_barrier_wait.c: Moved ...
5097 * sysdeps/sparc/sparc32/sparcv9/pthread_barrier_wait.c: ... here.
5098 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_init.c: Moved ...
5099 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: ... here.
5100 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_lock.S: Moved ...
5101 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: ... here.
5102 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_trylock.S: Moved ...
5103 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: ... here.
5104 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: Moved ...
5105 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_unlock.S: ... here.
5106 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_post.c: Moved ...
5107 * sysdeps/sparc/sparc32/sparcv9/sem_post.c: ... here.
5108 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_timedwait.c: Moved ...
5109 * sysdeps/sparc/sparc32/sparcv9/sem_timedwait.c: ... here.
5110 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_trywait.c: Moved ...
5111 * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: ... here.
5112 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_wait.c: Moved ...
5113 * sysdeps/sparc/sparc32/sparcv9/sem_wait.c: ... here.
5114
06d50baa
RM
5115 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data: Moved ...
5116 * sysdeps/unix/sysv/linux/sparc/sparc32/c++-types.data: ... here.
5117 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: Moved ...
5118 * sysdeps/unix/sysv/linux/sparc/sparc32/ld.abilist: ... here.
5119 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
5120 Moved ...
5121 * sysdeps/unix/sysv/linux/sparc/sparc32/libBrokenLocale.abilist:
5122 ... here.
5123 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: Moved ...
5124 * sysdeps/unix/sysv/linux/sparc/sparc32/libanl.abilist: ... here.
5125 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Moved ...
5126 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: ... here.
5127 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist:
5128 Moved ...
5129 * sysdeps/unix/sysv/linux/sparc/sparc32/libcrypt.abilist: ... here.
5130 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: Moved ...
5131 * sysdeps/unix/sysv/linux/sparc/sparc32/libdl.abilist: ... here.
5132 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: Moved ...
5133 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: ... here.
5134 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: Moved ...
5135 * sysdeps/unix/sysv/linux/sparc/sparc32/libnsl.abilist: ... here.
5136 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
5137 Moved ...
5138 * sysdeps/unix/sysv/linux/sparc/sparc32/libpthread.abilist: ... here.
5139 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
5140 Moved ...
5141 * sysdeps/unix/sysv/linux/sparc/sparc32/libresolv.abilist: ... here.
5142 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: Moved ...
5143 * sysdeps/unix/sysv/linux/sparc/sparc32/librt.abilist: ... here.
5144 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
5145 Moved ...
5146 * sysdeps/unix/sysv/linux/sparc/sparc32/libthread_db.abilist: ... here.
5147 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: Moved ...
5148 * sysdeps/unix/sysv/linux/sparc/sparc32/libutil.abilist: ... here.
5149 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data: Moved ...
5150 * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: ... here.
5151 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data: Moved ...
5152 * sysdeps/unix/sysv/linux/sparc/sparc64/c++-types.data: ... here.
5153 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: Moved ...
5154 * sysdeps/unix/sysv/linux/sparc/sparc64/ld.abilist: ... here.
5155 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
5156 Moved ...
5157 * sysdeps/unix/sysv/linux/sparc/sparc64/libBrokenLocale.abilist:
5158 ... here.
5159 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: Moved ...
5160 * sysdeps/unix/sysv/linux/sparc/sparc64/libanl.abilist: ... here.
5161 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Moved ...
5162 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: ... here.
5163 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist:
5164 Moved ...
5165 * sysdeps/unix/sysv/linux/sparc/sparc64/libcrypt.abilist: ... here.
5166 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: Moved ...
5167 * sysdeps/unix/sysv/linux/sparc/sparc64/libdl.abilist: ... here.
5168 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: Moved ...
5169 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: ... here.
5170 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: Moved ...
5171 * sysdeps/unix/sysv/linux/sparc/sparc64/libnsl.abilist: ... here.
5172 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
5173 Moved ...
5174 * sysdeps/unix/sysv/linux/sparc/sparc64/libpthread.abilist: ... here.
5175 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
5176 Moved ...
5177 * sysdeps/unix/sysv/linux/sparc/sparc64/libresolv.abilist: ... here.
5178 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: Moved ...
5179 * sysdeps/unix/sysv/linux/sparc/sparc64/librt.abilist: ... here.
5180 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
5181 Moved ...
5182 * sysdeps/unix/sysv/linux/sparc/sparc64/libthread_db.abilist: ... here.
5183 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: Moved ...
5184 * sysdeps/unix/sysv/linux/sparc/sparc64/libutil.abilist: ... here.
5185 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data: Moved ...
5186 * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: ... here.
5187
a4ccbc9b
JM
51882014-06-25 Joseph Myers <joseph@codesourcery.com>
5189
0828edbf
JM
5190 * timezone/checktab.awk: Update from tzcode 2014e.
5191 * timezone/private.h: Likewise.
5192 * timezone/tzfile.h: Likewise.
5193 * timezone/zdump.c: Likewise.
5194 * timezone/zic.c: Likewise.
5195
a4ccbc9b
JM
5196 * sysdeps/unix/sysv/linux/kernel-features.h
5197 (__ASSUME_XFS_RESTRICTED_CHOWN): Remove macro.
5198 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_chown_restricted)
5199 [__ASSUME_XFS_RESTRICTED_CHOWN]: Make code unconditional.
5200 (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
5201 Remove conditional code.
5202
9aea0cb8
WN
52032014-06-25 Will Newton <will.newton@linaro.org>
5204
5205 * sysdeps/unix/sysv/linux/arm/dl-procinfo.c
5206 (_dl_arm_cap_flags): Add HWCAP2 values.
5207 * sysdeps/unix/sysv/linux/arm/dl-procinfo.h
5208 (_DL_HWCAP_COUNT): Increase to 37.
5209 (_DL_HWCAP_LAST): New define.
5210 (_DL_HWCAP2_LAST): New define.
5211 (_dl_procinfo): Add support for printing
5212 AT_HWCAP2 entries.
5213 (_dl_string_hwcap): Use _dl_hwcap_string.
5214
6eaa65ce
AZ
52152014-06-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5216
5217 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
5218
0f5b7185
JM
52192014-06-25 Joseph Myers <joseph@codesourcery.com>
5220
cfd2ea50
JM
5221 * README: Do not mention ports directory.
5222
cecf2ed4
JM
5223 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMENSAT):
5224 Remove macro.
5225 * sysdeps/unix/sysv/linux/futimes.c: Do not include
5226 <kernel-features.h>.
5227 [__NR_utimensat && !__ASSUME_UTIMENSAT] (miss_utimensat): Remove
5228 conditional variable definition.
5229 (__futimes): Update comment.
5230 (__futimes) [__ASSUME_UTIMENSAT]: Make code unconditional.
5231 (__futimes) [!__ASSUME_UTIMENSAT]: Remove conditional code.
5232
a638de82
JM
5233 [BZ #16560]
5234 * sysdeps/ieee754/dbl-64/e_exp10.c (__ieee754_exp10): Return 1 for
5235 arguments close to 0.
5236 * sysdeps/ieee754/ldbl-128/e_exp10l.c (__ieee754_exp10l):
5237 Likewise.
5238 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c (__ieee754_exp10l):
5239 Likewise.
5240 * math/auto-libm-test-in: Add more tests of exp10.
5241 * math/auto-libm-test-out: Regenerated.
5242 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
5243
0f5b7185
JM
5244 * sysdeps/unix/sysv/linux/kernel-features.h
5245 (__ASSUME_COMPLETE_READV_WRITEV): Remove macro.
5246 * sysdeps/unix/sysv/linux/readv.c: Do not include
5247 <kernel-features.h>.
5248 [!__ASSUME_COMPLETE_READV_WRITEV]: Remove conditional code.
5249 [!UIO_FASTIOV] (UIO_FASTIOV): Remove macro.
5250 (__libc_readv) [__ASSUME_COMPLETE_READV_WRITEV]: Make code
5251 unconditional.
5252 (__libc_readv) [!__ASSUME_COMPLETE_READV_WRITEV]: Remove
5253 conditional code.
5254 * sysdeps/unix/sysv/linux/writev.c: Do not include
5255 <kernel-features.h>.
5256 [!__ASSUME_COMPLETE_READV_WRITEV]: Remove conditional code.
5257 [!UIO_FASTIOV] (UIO_FASTIOV): Remove macro.
5258 (__libc_writev) [__ASSUME_COMPLETE_READV_WRITEV]: Make code
5259 unconditional.
5260 (__libc_writev) [!__ASSUME_COMPLETE_READV_WRITEV]: Remove
5261 conditional code.
5262
c7aec4be
WN
52632014-06-25 Will Newton <will.newton@linaro.org>
5264
5265 * sysdeps/posix/tempname.c: Merge from gnulib, cosmetic
5266 comment changes throughout the file. Remove checks
5267 for HAVE_*_H definitions that are not required.
5268 (__gen_tempname): Call abort if an unknown kind value is
5269 passed.
5270
c5241f95
AS
52712014-06-25 Andreas Schwab <schwab@suse.de>
5272
5273 [BZ #17086]
5274 * sysdeps/m68k/m680x0/fpu/s_scalbn.c: Add compat symbols for
5275 scalbln, scalblnf, scalblnl in libc.
5276
911422da
SP
52772014-06-25 Siddhesh Poyarekar <siddhesh@redhat.com>
5278
5279 [BZ #17086]
5280 * sysdeps/i386/fpu/s_scalbn.S: Add compat symbol for libc.so.
5281 * sysdeps/i386/fpu/s_scalbnf.S: Likewise.
5282 * sysdeps/i386/fpu/s_scalbnl.S: Likewise.
5283
0d749bbe
RM
52842014-06-24 Roland McGrath <roland@hack.frob.com>
5285
5286 * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: Moved ...
5287 * sysdeps/i386/i486/pthread_spin_trylock.S: ... here.
5288 * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: Moved ...
5289 * sysdeps/i386/i586/pthread_spin_trylock.S: ... here.
5290 Update #include.
5291 * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: Moved ...
5292 * sysdeps/i386/i686/pthread_spin_trylock.S: ... here.
5293 Update #include.
5294 * sysdeps/x86_64/64/nptl/shlib-versions: Moved ...
5295 * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: ... here.
5296 * sysdeps/x86_64/x32/nptl/shlib-versions: Moved ...
5297 * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: ... here.
5298 * sysdeps/x86/nptl/bits/pthreadtypes.h: Moved ...
5299 * sysdeps/x86/bits/pthreadtypes.h: ... here.
5300 * sysdeps/x86/nptl/bits/semaphore.h: Moved ...
5301 * sysdeps/x86/bits/semaphore.h: ... here.
5302 * sysdeps/x86/nptl/elide.h: Moved ...
5303 * sysdeps/x86/elide.h: ... here.
5304 * sysdeps/x86_64/nptl/Implies: File removed.
5305 * sysdeps/i386/nptl/Implies: File removed.
5306
0ea5d373
JM
53072014-06-24 Joseph Myers <joseph@codesourcery.com>
5308
4060283d
JM
5309 [BZ #16539]
5310 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Just
5311 return the argument for normal arguments with exponent below -64.
5312 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
5313 Likewise.
5314 * math/auto-libm-test-in: Add another test of expm1.
5315 * math/auto-libm-test-out: Regenerated.
5316
e7dd3c8c
JM
5317 [BZ #16287]
5318 * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfl): Return 1 without
5319 calling __erfcl for arguments at least 16.
5320 * math/auto-libm-test-in: Add more tests of erf.
5321 * math/auto-libm-test-out: Regenerated.
5322
0ea5d373
JM
5323 * sysdeps/unix/sysv/linux/configure.ac: Remove cases for
5324 individual architectures.
5325 * sysdeps/unix/sysv/linux/configure: Regenerated.
5326 * sysdeps/unix/sysv/linux/i386/configure.ac: New file.
5327 * sysdeps/unix/sysv/linux/i386/configure: New generated file.
5328 * sysdeps/unix/sysv/linux/powerpc/configure.ac
5329 (ldd_rewrite_script): Define variable.
5330 * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
5331 * sysdeps/unix/sysv/linux/powerpc/powerpc32/configure.ac: New
5332 file.
5333 * sysdeps/unix/sysv/linux/powerpc/powerpc32/configure: New
5334 generated file.
5335 * sysdeps/unix/sysv/linux/s390/configure.ac: New file.
5336 * sysdeps/unix/sysv/linux/s390/configure: New generated file.
5337 * sysdeps/unix/sysv/linux/sh/configure.ac: New file.
5338 * sysdeps/unix/sysv/linux/sh/configure: New generated file.
5339 * sysdeps/unix/sysv/linux/sparc/configure.ac: New file.
5340 * sysdeps/unix/sysv/linux/sparc/configure: New generated file.
5341 * sysdeps/unix/sysv/linux/x86_64/configure.ac: New file.
5342 * sysdeps/unix/sysv/linux/x86_64/configure: New generated file.
5343
2307e126
SP
53442014-06-24 Siddhesh Poyarekar <siddhesh@redhat.com>
5345
5346 [BZ #17084]
5347 * sysdeps/x86/nptl/bits/pthreadtypes.h (pthread_mutex_t):
5348 Rename member __data.d to __data.__elision_data.
5349
c0a4ed77
W
53502014-06-24 Wilco <wdijkstr@arm.com>
5351
5352 * NEWS: Add 16918 to fixed bug list.
5353
b8c00573
W
53542014-06-24 Wilco <wdijkstr@arm.com>
5355
5356 * sysdeps/arm/fesetenv.c (fesetenv): Optimize implementation.
5357
b5570d92
W
53582014-06-24 Wilco <wdijkstr@arm.com>
5359
5360 * sysdeps/arm/fpu_control.h (_FPU_MASK_RM): Define.
5361 * sysdeps/arm/fenv_private.h (libc_fesetround_vfp)
5362 (libc_feholdexcept_setround_vfp) (libc_feholdsetround_vfp)
5363 (libc_feresetround_vfp) (libc_feholdsetround_vfp_ctx)
5364 (libc_feresetround_vfp_ctx): Use _FPU_MASK_RM.
5365 * sysdeps/arm/fesetround.c (fesetround): Use _FPU_MASK_RM.
5366 * sysdeps/arm/get-rounding-mode.h (get_rounding_mode):
5367 Use _FPU_MASK_RM.
5368
947bdca2
W
53692014-06-24 Wilco <wdijkstr@arm.com>
5370
5371 * sysdeps/arm/fsetexcptflg.c (fesetexceptflag): Remove unused include.
5372
00f669ed
W
53732014-06-24 Wilco <wdijkstr@arm.com>
5374
5375 * sysdeps/arm/feholdexcpt.c (feholdexcept): Remove space.
5376 * sysdeps/arm/fesetenv.c (fesetenv): Remove space.
5377 * sysdeps/arm/fesetround.c (fesetround): Remove space.
5378 * sysdeps/arm/fraiseexcpt.c (feraiseexcept): Remove space.
5379
db59bad3
W
53802014-06-24 Wilco <wdijkstr@arm.com>
5381
5382 [BZ #16918]
5383 * sysdeps/arm/feupdateenv.c (feupdateenv):
5384 Rewrite to reduce FPSCR accesses and fix return value.
5385
001f7b77
W
53862014-06-24 Wilco <wdijkstr@arm.com>
5387
5388 * sysdeps/arm/fclrexcpt.c (feclearexcept):
5389 Optimize to avoid unnecessary FPSCR writes.
5390 * sysdeps/arm/fedisblxcpt.c (fedisableexcept): Likewise.
5391 * sysdeps/arm/feenablxcpt.c (feenableexcept): Likewise.
5392 * sysdeps/arm/fsetexcptflg.c (fesetexceptflag): Likewise.
5393 * sysdeps/arm/setfpucw.c (__setfpucw): Likewise.
5394
4841e6a6
W
53952014-06-24 Wilco <wdijkstr@arm.com>
5396
5397 * sysdeps/arm/fegetround.c (fegetround): Call get_rounding_mode.
5398 * sysdeps/arm/feholdexcpt.c (feholdexcept): Call libc_feholdexcept_vfp.
5399 * sysdeps/arm/fesetround.c (fesetround): Call libc_fesetround_vfp.
5400 * sysdeps/arm/fgetexcptflg.c (fegetexceptflag):
5401 Call libc_fetestexcept_vfp.
5402 * sysdeps/arm/ftestexcept.c (fetestexcept): Call libc_fetestexcept_vfp.
5403 * sysdeps/arm/fenv_private.h: Move libc_*_vfp functions outside of
5404 __SOFTFP__ ifdef so that they can be built for softfp.
5405
0813022c
SP
54062014-06-24 Siddhesh Poyarekar <siddhesh@redhat.com>
5407
08e5862f
SP
5408 * sysdeps/x86/nptl/elide.h (elision_adapt): Make first
5409 argument type signed char.
5410
0813022c
SP
5411 * Makerules (check-abi): Dump diff of symlist if the test
5412 fails.
5413
3fc7236a
RM
54142014-06-23 Roland McGrath <roland@hack.frob.com>
5415
aba8ef95
RM
5416 * sysdeps/generic/get-rounding-mode.h: Include <stdlib.h> before
5417 using abort.
5418
3fc7236a
RM
5419 * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
5420 Remove unused variable ST.
5421
4da6db51
JM
54222014-06-23 Joseph Myers <joseph@codesourcery.com>
5423
4648909d
JM
5424 [BZ #16354]
5425 [BZ #17061]
5426 * sysdeps/ieee754/dbl-64/e_cosh.c (__ieee754_cosh): Check for
5427 small arguments before calling __expm1.
5428 * sysdeps/ieee754/flt-32/e_coshf.c (__ieee754_coshf): Check for
5429 small arguments before calling __expm1f.
5430 * sysdeps/ieee754/ldbl-128/e_coshl.c (__ieee754_coshl): Check for
5431 small arguments before calling __expm1l.
5432 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
5433 Likewise.
5434 * sysdeps/ieee754/ldbl-96/e_coshl.c (__ieee754_coshl): Likewise.
5435 * math/auto-libm-test-in: Add more cosh tests. Do not allow
5436 spurious underflow for some cosh tests.
5437 * math/auto-libm-test-out: Regenerated.
5438 * sysdeps/i386/fpu/libm-test-ulps: Update.
5439
46a3d3c7
JM
5440 [BZ #17050]
5441 * sysdeps/ieee754/dbl-64/e_j1.c: Include <errno.h>.
5442 (__ieee754_y1): Set errno if return value overflows.
5443 * sysdeps/ieee754/flt-32/e_j1f.c: Include <errno.h>.
5444 (__ieee754_y1f): Set errno if return value overflows.
5445 * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <errno.h>.
5446 (__ieee754_y1l): Set errno if return value overflows.
5447 * sysdeps/ieee754/ldbl-96/e_j1l.c: Include <errno.h>.
5448 (__ieee754_y1l): Set errno if return value overflows.
5449 * math/auto-libm-test-in: Add more tests of y0, y1 and yn.
5450 * math/auto-libm-test-out: Regenerated.
5451
863893ec
JM
5452 * math/gen-auto-libm-tests.c: Document use of
5453 ignore-zero-inf-sign.
5454 (input_flag_type): Add value flag_ignore_zero_inf_sign.
5455 (input_flags): Add ignore-zero-inf-sign.
5456 (output_for_one_input_case): Handle flag_ignore_zero_inf_sign.
5457 * math/gen-libm-test.pl (generate_testfile): Handle
5458 ignore-zero-inf-sign.
5459 * math/auto-libm-test-in: Mark some cpow tests with
5460 ignore-zero-inf-sign and some with xfail-rounding.
5461 * math/auto-libm-test-out: Regenerated.
5462 * math/libm-test.inc (cpow_test): Use ALL_RM_TEST.
5463 * sysdeps/i386/fpu/libm-test-ulps: Update.
5464 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5465
4da6db51
JM
5466 [BZ #16315]
5467 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Ensure possibly
5468 overflowing or underflowing operations take place with sign of
5469 result.
5470 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
5471 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
5472 * sysdeps/ieee754/dbl-64/e_pow.c: Include <math.h>.
5473 (__ieee754_pow): Recompute overflowing and underflowing results in
5474 original rounding mode.
5475 * sysdeps/x86/fpu/powl_helper.c: Include <stdbool.h>.
5476 (__powl_helper): Allow negative argument X and scale negated value
5477 as needed. Avoid passing value outside [-1, 1] to f2xm1.
5478 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Ensure possibly
5479 overflowing or underflowing operations take place with sign of
5480 result.
5481 * sysdeps/x86_64/fpu/multiarch/e_pow.c [HAVE_FMA4_SUPPORT]:
5482 Include <math.h>.
5483 * math/auto-libm-test-in: Add more tests of pow.
5484 * math/auto-libm-test-out: Regenerated.
5485 * math/libm-test.inc (pow_test): Use ALL_RM_TEST.
5486 (pow_tonearest_test_data): Remove.
5487 (pow_test_tonearest): Likewise.
5488 (pow_towardzero_test_data): Likewise.
5489 (pow_test_towardzero): Likewise.
5490 (pow_downward_test_data): Likewise.
5491 (pow_test_downward): Likewise.
5492 (pow_upward_test_data): Likewise.
5493 (pow_test_upward): Likewise.
5494 (main): Don't call removed functions.
5495 * sysdeps/i386/fpu/libm-test-ulps: Update.
5496 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5497
5686b236
RM
54982014-06-23 Roland McGrath <roland@hack.frob.com>
5499
5500 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/c++-types.data:
5501 Moved ...
5502 * sysdeps/unix/sysv/linux/powerpc/powerpc32/c++-types.data: ... here.
5503 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
5504 Moved ...
5505 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist: ... here.
5506 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
5507 Moved ...
5508 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: ... here.
5509 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
5510 Moved ...
5511 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data: ... here.
5512 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
5513 File removed.
5514 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
5515 File removed.
5516 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libBrokenLocale.abilist:
5517 File removed.
5518 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libanl.abilist:
5519 File removed.
5520 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libcrypt.abilist:
5521 File removed.
5522 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libdl.abilist:
5523 File removed.
5524 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libnsl.abilist:
5525 File removed.
5526 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
5527 File removed.
5528 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libresolv.abilist:
5529 File removed.
5530 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
5531 File removed.
5532 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libthread_db.abilist:
5533 File removed.
5534 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libutil.abilist:
5535 File removed.
5536 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/ld.abilist:
5537 Moved ...
5538 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist: ... here.
5539 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libBrokenLocale.abilist:
5540 Moved ...
5541 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libBrokenLocale.abilist:
5542 ... here.
5543 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libanl.abilist:
5544 Moved ...
5545 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libanl.abilist: ... here.
5546 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libcrypt.abilist:
5547 Moved ...
5548 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libcrypt.abilist: ... here.
5549 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libdl.abilist:
5550 Moved ...
5551 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libdl.abilist: ... here.
5552 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libnsl.abilist:
5553 Moved ...
5554 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libnsl.abilist: ... here.
5555 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libpthread.abilist:
5556 Moved ...
5557 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libpthread.abilist: ... here.
5558 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libresolv.abilist:
5559 Moved ...
5560 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libresolv.abilist: ... here.
5561 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/librt.abilist:
5562 Moved ...
5563 * sysdeps/unix/sysv/linux/powerpc/powerpc32/librt.abilist: ... here.
5564 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libthread_db.abilist: Moved ...
5565 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libthread_db.abilist:
5566 ... here.
5567 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libutil.abilist:
5568 Moved ...
5569 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libutil.abilist: ... here.
5570 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
5571 Moved ...
5572 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
5573 ... here.
5574 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libm.abilist:
5575 Moved ...
5576 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
5577 ... here.
5578 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
5579 Moved ...
5580 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data:
5581 ... here.
5582 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
5583 Moved ...
5584 * sysdeps/unix/sysv/linux/powerpc/powerpc64/c++-types.data: ... here.
5585 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
5586 Moved ...
5587 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist: ... here.
5588 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: Moved ...
5589 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist: ... here.
5590 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
5591 Moved ...
5592 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale-le.abilist:
5593 ... here.
5594 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
5595 Moved ...
5596 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale.abilist:
5597 ... here.
5598 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
5599 Moved ...
5600 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl-le.abilist: ... here.
5601 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
5602 Moved ...
5603 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl.abilist: ... here.
5604 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
5605 Moved ...
5606 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: ... here.
5607 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
5608 Moved ...
5609 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: ... here.
5610 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
5611 Moved ...
5612 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt-le.abilist:
5613 ... here.
5614 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
5615 Moved ...
5616 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt.abilist: ... here.
5617 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
5618 Moved ...
5619 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl-le.abilist: ... here.
5620 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
5621 Moved ...
5622 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl.abilist: ... here.
5623 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
5624 Moved ...
5625 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: ... here.
5626 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: Moved ...
5627 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: ... here.
5628 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
5629 Moved ...
5630 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl-le.abilist: ... here.
5631 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
5632 Moved ...
5633 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl.abilist: ... here.
5634 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
5635 Moved ...
5636 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread-le.abilist:
5637 ... here.
5638 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
5639 Moved ...
5640 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread.abilist:
5641 ... here.
5642 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
5643 Moved ...
5644 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv-le.abilist:
5645 ... here.
5646 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
5647 Moved ...
5648 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv.abilist: ... here.
5649 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
5650 Moved ...
5651 * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt-le.abilist: ... here.
5652 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
5653 Moved ...
5654 * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt.abilist: ... here.
5655 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
5656 Moved ...
5657 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db-le.abilist:
5658 ... here.
5659 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
5660 Moved ...
5661 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db.abilist:
5662 ... here.
5663 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
5664 Moved ...
5665 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil-le.abilist:
5666 ... here.
5667 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
5668 Moved ...
5669 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil.abilist: ... here.
5670 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
5671 Moved ...
5672 * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data: ... here.
5673
e6d90d67
WD
56742014-06-23 Will Newton <will.newton@linaro.org>
5675 Wilco <wdijkstr@arm.com>
5676
5677 * sysdeps/generic/math_private.h: Add generic HAVE_RM_CTX
5678 implementation. Include get-rounding-mode.h.
5679 [!HAVE_RM_CTX]: Define HAVE_RM_CTX to zero.
5680 [!libc_feholdsetround_noex_ctx]: Define
5681 libc_feholdsetround_noex_ctx.
5682 [!libc_feholdsetround_noexf_ctx]: Define
5683 libc_feholdsetround_noexf_ctx.
5684 [!libc_feholdsetround_noexl_ctx]: Define
5685 libc_feholdsetround_noexl_ctx.
5686 (libc_feholdsetround_ctx): New function.
5687 (libc_feresetround_ctx): New function.
5688 (libc_feholdsetround_noex_ctx): New function.
5689 (libc_feresetround_noex_ctx): New function.
5690
d42df555
RM
56912014-06-23 Roland McGrath <roland@hack.frob.com>
5692
88a46474
RM
5693 * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h: Moved ...
5694 * sysdeps/mips/nptl/bits/pthreadtypes.h: ... here.
5695 * sysdeps/unix/sysv/linux/mips/nptl/bits/semaphore.h: Moved ...
5696 * sysdeps/mips/nptl/bits/semaphore.h: ... here.
5697 * sysdeps/unix/sysv/linux/mips/nptl/bits/local_lim.h: Moved ...
5698 * sysdeps/unix/sysv/linux/mips/bits/local_lim.h: ... here.
5699
15bed472
RM
5700 * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h: Moved ...
5701 * sysdeps/m68k/nptl/bits/pthreadtypes.h: ... here.
5702 * sysdeps/unix/sysv/linux/m68k/nptl/bits/semaphore.h: Moved ...
5703 * sysdeps/m68k/nptl/bits/semaphore.h: ... here.
5704 * sysdeps/unix/sysv/linux/m68k/nptl/c++-types.data: Moved ...
5705 * sysdeps/unix/sysv/linux/m68k/c++-types.data: ... here.
5706 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/bits/atomic.h: Moved ...
5707 * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h: ... here.
5708 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/ld.abilist: Moved ...
5709 * sysdeps/unix/sysv/linux/m68k/coldfire/ld.abilist: ... here.
5710 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libBrokenLocale.abilist:
5711 Moved ...
5712 * sysdeps/unix/sysv/linux/m68k/coldfire/libBrokenLocale.abilist:
5713 ... here.
5714 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libanl.abilist: Moved ...
5715 * sysdeps/unix/sysv/linux/m68k/coldfire/libanl.abilist: ... here.
5716 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libc.abilist: Moved ...
5717 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: ... here.
5718 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libcrypt.abilist:
5719 Moved ...
5720 * sysdeps/unix/sysv/linux/m68k/coldfire/libcrypt.abilist: ... here.
5721 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libdl.abilist: Moved ...
5722 * sysdeps/unix/sysv/linux/m68k/coldfire/libdl.abilist: ... here.
5723 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libm.abilist: Moved ...
5724 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: ... here.
5725 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libnsl.abilist: Moved ...
5726 * sysdeps/unix/sysv/linux/m68k/coldfire/libnsl.abilist: ... here.
5727 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libpthread.abilist:
5728 Moved ...
5729 * sysdeps/unix/sysv/linux/m68k/coldfire/libpthread.abilist: ... here.
5730 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libresolv.abilist:
5731 Moved ...
5732 * sysdeps/unix/sysv/linux/m68k/coldfire/libresolv.abilist: ... here.
5733 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/librt.abilist: Moved ...
5734 * sysdeps/unix/sysv/linux/m68k/coldfire/librt.abilist: ... here.
5735 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libthread_db.abilist:
5736 Moved ...
5737 * sysdeps/unix/sysv/linux/m68k/coldfire/libthread_db.abilist: ... here.
5738 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libutil.abilist: Moved ...
5739 * sysdeps/unix/sysv/linux/m68k/coldfire/libutil.abilist: ... here.
5740 * sysdeps/unix/sysv/linux/m68k/nptl/localplt.data: Moved ...
5741 * sysdeps/unix/sysv/linux/m68k/localplt.data: ... here.
5742 * sysdeps/unix/sysv/linux/m68k/nptl/lowlevellock.h: Moved ...
5743 * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: ... here.
5744 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/ld.abilist: Moved ...
5745 * sysdeps/unix/sysv/linux/m68k/m680x0/ld.abilist: ... here.
5746 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libBrokenLocale.abilist:
5747 Moved ...
5748 * sysdeps/unix/sysv/linux/m68k/m680x0/libBrokenLocale.abilist:
5749 ... here.
5750 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libanl.abilist: Moved ...
5751 * sysdeps/unix/sysv/linux/m68k/m680x0/libanl.abilist: ... here.
5752 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libc.abilist: Moved ...
5753 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: ... here.
5754 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libcrypt.abilist: Moved ...
5755 * sysdeps/unix/sysv/linux/m68k/m680x0/libcrypt.abilist: ... here.
5756 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libdl.abilist: Moved ...
5757 * sysdeps/unix/sysv/linux/m68k/m680x0/libdl.abilist: ... here.
5758 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libm.abilist: Moved ...
5759 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: ... here.
5760 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libnsl.abilist: Moved ...
5761 * sysdeps/unix/sysv/linux/m68k/m680x0/libnsl.abilist: ... here.
5762 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libpthread.abilist:
5763 Moved ...
5764 * sysdeps/unix/sysv/linux/m68k/m680x0/libpthread.abilist: ... here.
5765 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libresolv.abilist: Moved ...
5766 * sysdeps/unix/sysv/linux/m68k/m680x0/libresolv.abilist: ... here.
5767 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/librt.abilist: Moved ...
5768 * sysdeps/unix/sysv/linux/m68k/m680x0/librt.abilist: ... here.
5769 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libthread_db.abilist:
5770 Moved ...
5771 * sysdeps/unix/sysv/linux/m68k/m680x0/libthread_db.abilist: ... here.
5772 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libutil.abilist: Moved ...
5773 * sysdeps/unix/sysv/linux/m68k/m680x0/libutil.abilist: ... here.
5774 * sysdeps/unix/sysv/linux/m68k/nptl/sysdep-cancel.h: Moved ...
5775 * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: ... here.
5776
d42df555
RM
5777 * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: Moved ...
5778 * sysdeps/unix/sysv/linux/sh/c++-types.data: ... here.
5779 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: Moved ...
5780 * sysdeps/unix/sysv/linux/sh/ld.abilist: ... here.
5781 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: Moved ...
5782 * sysdeps/unix/sysv/linux/sh/libBrokenLocale.abilist: ... here.
5783 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: Moved ...
5784 * sysdeps/unix/sysv/linux/sh/libanl.abilist: ... here.
5785 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Moved ...
5786 * sysdeps/unix/sysv/linux/sh/libc.abilist: ... here.
5787 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: Moved ...
5788 * sysdeps/unix/sysv/linux/sh/libcrypt.abilist: ... here.
5789 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: Moved ...
5790 * sysdeps/unix/sysv/linux/sh/libdl.abilist: ... here.
5791 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Moved ...
5792 * sysdeps/unix/sysv/linux/sh/libm.abilist: ... here.
5793 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: Moved ...
5794 * sysdeps/unix/sysv/linux/sh/libnsl.abilist: ... here.
5795 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: Moved ...
5796 * sysdeps/unix/sysv/linux/sh/libpthread.abilist: ... here.
5797 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: Moved ...
5798 * sysdeps/unix/sysv/linux/sh/libresolv.abilist: ... here.
5799 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Moved ...
5800 * sysdeps/unix/sysv/linux/sh/librt.abilist: ... here.
5801 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: Moved ...
5802 * sysdeps/unix/sysv/linux/sh/libthread_db.abilist: ... here.
5803 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: Moved ...
5804 * sysdeps/unix/sysv/linux/sh/libutil.abilist: ... here.
5805
76e5216e
JM
58062014-06-23 Joseph Myers <joseph@codesourcery.com>
5807
5808 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_GNU]
5809 (FALLOC_FL_COLLAPSE_RANGE): New macro.
5810 [__USE_GNU] (FALLOC_FL_ZERO_RANGE): Likewise.
5811 * sysdeps/unix/sysv/linux/bits/in.h (IP_PMTUDISC_OMIT): Likewise.
5812 (IPV6_PMTUDISC_INTERFACE): Likewise.
5813 (IPV6_PMTUDISC_OMIT): Likewise.
5814
7a81cbcc
AS
58152014-06-23 Andreas Schwab <schwab@suse.de>
5816
5817 * nptl/sysdeps/unix/sysv/linux/mq_notify.c (init_mq_netlink):
5818 Remove unused errout label.
5819
db224009
AZ
58202014-06-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5821
5822 * sysdeps/powerpc/bits/hwcap.h [PPC_FEATURE2_HAS_VEC_CRYPTO]: New
5823 macro: hardware supports Vector Crypto instructions.
5824
f393b4aa
WN
58252014-06-23 Will Newton <will.newton@linaro.org>
5826
cc7d0447
WN
5827 * elf/dl-lookup.c: Use __glibc_unlikely and __glibc_likely
5828 rather than __builtin_expect.
5829
d6d06225
WN
5830 * elf/dl-lookup.c (undefined_msg): Remove variable.
5831 (_dl_lookup_symbol_x): Replace undefined_msg with string
5832 literal.
5833
f393b4aa
WN
5834 * elf/dl-lookup.c (do_lookup_unique): New function.
5835 (do_lookup_x): Move STB_GNU_UNIQUE handling code
5836 to a separate function.
5837
ac60763e
AS
58382014-06-23 Andreas Schwab <schwab@suse.de>
5839
5840 [BZ #17079]
5841 * nss/nss_files/files-XXX.c (get_contents): Store overflow marker
5842 before reading the next line.
5843
c5c13355
WN
58442014-06-23 Will Newton <will.newton@linaro.org>
5845
5846 * test-skeleton.c (signal_handler): Use printf and %m
5847 rather than perror. Use printf rather than fprintf to
5848 stderr. Use puts rather than fputs to stderr.
5849 (main): Likewise.
5850
bd3675f9
LC
58512014-06-22 Ludovic Courtès <ludo@gnu.org>
5852
5853 * nscd/nscd.c (thread_info_t): Remove typedef.
5854 (thread_info): Remove variable.
5855
d03efb2f
AM
58562014-06-21 Allan McRae <allan@archlinux.org>
5857
5858 * NEWS: Mention CVE-2014-4043.
5859
bc4a86fa
RM
58602014-06-20 Roland McGrath <roland@hack.frob.com>
5861
dc9a54f8
RM
5862 * nptl/sysdeps/unix/sysv/linux/smp.h: Moved ...
5863 * nptl/smp.h: ... here.
5864
bd7022c4
RM
5865 * nptl/sysdeps/unix/sysv/linux/rtld-lowlevel.h: File removed.
5866
26ffd5e6
RM
5867 * include/libc-symbols.h (HAVE_CONFIG_H, STDC_HEADERS): New macros.
5868 * catgets/Makefile (catgets-CPPFLAGS): Remove -DHAVE_CONFIG_H.
5869 * locale/Makefile (CPPFLAGS-locale-programs): Likewise.
5870 * stdlib/strtol_l.c [_LIBC] (STDC_HEADERS): Don't define it.
5871
93a6d082
RM
5872 * nptl/allocatestack.c: Include <stack-aliasing.h>.
5873 * nptl/stack-aliasing.h: New file.
5874 * sysdeps/i386/i686/stack-aliasing.h: New file.
5875 * sysdeps/i386/i686/nptl/Makefile: File removed.
5876 * sysdeps/x86_64/stack-aliasing.h: New file.
5877 * sysdeps/x86_64/nptl/Makefile
5878 (CFLAGS-pthread_create.c): Variable removed.
5879
bc4a86fa
RM
5880 * nptl/sysdeps/unix/sysv/linux/bits/local_lim.h: Moved ...
5881 * sysdeps/unix/sysv/linux/bits/local_lim.h: ... here, replacing the
5882 old file.
5883 * nptl/sysdeps/unix/sysv/linux/bits/posix_opt.h: Moved ...
5884 * sysdeps/unix/sysv/linux/bits/posix_opt.h: ... here, replacing the
5885 old file.
5886
2272ffc1
JM
58872014-06-21 Joseph Myers <joseph@codesourcery.com>
5888
5889 * sysdeps/unix/sysv/linux/arm/kernel-features.h
5890 (__ASSUME_SIGFRAME_V2): Remove macro.
5891 * sysdeps/unix/sysv/linux/arm/sigrestorer.S: Update comment.
5892 [!__ASSUME_SIGFRAME_V2]: Remove conditional code.
5893 (__default_sa_restorer_v2): Rename to __default_sa_restorer.
5894 (__default_rt_sa_restorer_v2): Rename to __default_rt_sa_restorer.
5895 * sysdeps/unix/sysv/linux/arm/sigaction.c (__default_sa_restorer):
5896 Declare as function. Remove conditional macro definitions.
5897 (__default_rt_sa_restorer): Likewise.
5898 (__default_sa_restorer_v1): Remove declaration.
5899 (__default_sa_restorer_v2): Likewise.
5900 (__default_rt_sa_restorer_v1): Likewise.
5901 (__default_rt_sa_restorer_v2): Likewise.
5902 * sysdeps/unix/sysv/linux/arm/Versions (GLIBC_PRIVATE): Remove
5903 __default_sa_restorer_v1, __default_rt_sa_restorer_v1,
5904 __default_sa_restorer_v2 and __default_rt_sa_restorer_v2.
5905
4b88139b
RM
59062014-06-20 Roland McGrath <roland@hack.frob.com>
5907
5908 * sysdeps/unix/sysv/linux/sparc/Makefile [$(subdir) = nptl]
5909 (libpthread-routines): Add sysdep.
5910 * nptl/sysdeps/unix/sysv/linux/sparc/Makefile: File removed.
5911 * sysdeps/unix/sysv/linux/sparc/Versions
5912 (libpthread: GLIBC_2.3.3): New version set.
5913 * nptl/sysdeps/unix/sysv/linux/sparc/Versions: File removed.
5914 * nptl/sysdeps/unix/sysv/linux/sparc/aio_cancel.c: Moved ...
5915 * sysdeps/unix/sysv/linux/sparc/aio_cancel.c: ... here.
5916 * nptl/sysdeps/unix/sysv/linux/sparc/internaltypes.h: Moved ...
5917 * sysdeps/sparc/nptl/internaltypes.h: ... here. Use #include_next.
5918 * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_destroy.c:
5919 Moved ...
5920 * sysdeps/sparc/nptl/pthread_barrier_destroy.c: ... here.
5921 * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_init.c: Moved ...
5922 * sysdeps/sparc/nptl/pthread_barrier_init.c: ... here.
5923 * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_wait.c: Moved ...
5924 * sysdeps/sparc/nptl/pthread_barrier_wait.c: ... here.
5925 * nptl/sysdeps/unix/sysv/linux/sparc/sem_init.c: Moved ...
5926 * sysdeps/sparc/nptl/sem_init.c: ... here.
5927 * nptl/sysdeps/unix/sysv/linux/sparc/sem_post.c: Moved ...
5928 * sysdeps/sparc/nptl/sem_post.c: ... here.
5929 * nptl/sysdeps/unix/sysv/linux/sparc/sem_timedwait.c: Moved ...
5930 * sysdeps/sparc/nptl/sem_timedwait.c: ... here.
5931 * nptl/sysdeps/unix/sysv/linux/sparc/sem_wait.c: Moved ...
5932 * sysdeps/sparc/nptl/sem_wait.c: ... here.
5933 * nptl/sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Moved ...
5934 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: ... here.
5935 * sysdeps/sparc/sparc32/sparcv9/Makefile [$(subdir) = nptl]
5936 (libpthread-routines): Add cpu_relax.
5937 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/Makefile:
5938 File removed.
5939 * sysdeps/unix/sysv/linux/sparc/sparc64/Versions
5940 (librt: GLIBC_2.3.3): New version set.
5941 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Versions: File removed.
5942 * sysdeps/sparc/sparc64/nptl/Makefile: New file.
5943 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile [$(subdir) = nptl]
5944 (CFLAGS-pause.c, CFLAGS-sigsuspend.c): New variables.
5945 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Makefile: File removed.
5946 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/lowlevellock.c: Moved ...
5947 * sysdeps/sparc/sparc32/nptl/lowlevellock.c: ... here.
5948 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pthread_barrier_wait.c:
5949 Moved ...
5950 * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: ... here.
5951 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_post.c: Moved ...
5952 * sysdeps/sparc/sparc32/nptl/sem_post.c: ... here.
5953 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_timedwait.c: Moved ...
5954 * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: ... here.
5955 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_trywait.c: Moved ...
5956 * sysdeps/sparc/sparc32/nptl/sem_trywait.c: ... here.
5957 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_wait.c: Moved ...
5958 * sysdeps/sparc/sparc32/nptl/sem_wait.c: ... here.
5959 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/cpu_relax.S:
5960 Moved ...
5961 * sysdeps/sparc/sparc32/sparcv9/nptl/cpu_relax.S: ... here.
5962 Update #include.
5963 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/pthread_barrier_wait.c:
5964 Moved ...
5965 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_barrier_wait.c: ... here.
5966 Update #include.
5967 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_post.c:
5968 Moved ...
5969 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_post.c: ... here.
5970 Update #include.
5971 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_timedwait.c:
5972 Moved ...
5973 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_timedwait.c: ... here.
5974 Update #include.
5975 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_trywait.c:
5976 Moved ...
5977 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_trywait.c: ... here.
5978 Update #include.
5979 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_wait.c:
5980 Moved ...
5981 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_wait.c: ... here.
5982 Update #include.
5983 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/cpu_relax.S: Moved ...
5984 * sysdeps/sparc/sparc64/nptl/cpu_relax.S: ... here.
5985 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Moved ...
5986 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: ... here.
5987 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Moved ...
5988 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: ... here.
5989 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: Moved ...
5990 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: ... here.
5991 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: Moved ...
5992 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: ... here.
5993 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
5994 Moved ...
5995 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c: ... here.
5996 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: Moved ...
5997 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: ... here.
5998 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: Moved ...
5999 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: ... here.
6000
d7109027
JM
60012014-06-20 Joseph Myers <joseph@codesourcery.com>
6002
9bc6103d
JM
6003 * nptl/pthread_cond_wait.c: Include <kernel-features.h>.
6004 * nptl/pthread_rwlock_timedrdlock.c: Likewise.
6005 * nptl/pthread_rwlock_timedwrlock.c: Likewise.
6006 * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.c: Likewise.
6007 * nscd/nscd.c: Likewise.
6008 * sysdeps/i386/nptl/tcb-offsets.sym: Likewise.
6009 * sysdeps/powerpc/nptl/tcb-offsets.sym: Likewise.
6010 * sysdeps/sh/nptl/tcb-offsets.sym: Likewise.
6011 * sysdeps/x86_64/nptl/tcb-offsets.sym: Likewise.
6012
d7109027
JM
6013 * nptl/sysdeps/unix/sysv/linux/mq_notify.c: Do not include
6014 <kernel-features.h>.
6015 (init_mq_netlink): Remove conditional have_sock_cloexec
6016 definitions. Remove code conditional on have_sock_cloexec < 0.
6017 (init_mq_netlink) [!SOCK_CLOEXEC]: Remove conditional code.
6018 (init_mq_netlink) [!__ASSUME_SOCK_CLOEXEC]: Likewise.
6019 * sysdeps/unix/sysv/linux/opensock.c: Do not include
6020 <kernel-features.h>.
6021 (__opensock) [SOCK_CLOEXEC]: Make code unconditional.
6022 (__opensock) [!__ASSUME_SOCK_CLOEXEC]: Remove conditional code.
6023
d92d8f8a
L
60242014-06-20 H.J. Lu <hongjiu.lu@intel.com>
6025
6026 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
6027 Add tests for memset_chk and memset.
6028
6029 * sysdeps/x86_64/multiarch/init-arch.h (HAS_AVX2): Defined
6030 with AVX2_Usable.
6031
4e6d2347
MR
60322014-06-20 Maciej W. Rozycki <macro@codesourcery.com>
6033
257ce712
MR
6034 [BZ #16046]
6035 * elf/tst-dl-iter-static.c: New file.
6036 * elf/Makefile (tests-static): Add tst-dl-iter-static.
6037
4e6d2347
MR
6038 * stdlib/tst-qsort2.c (main): Fix off-by-one argc interpretation
6039 error.
6040
a2a76afe
JM
60412014-06-20 Joseph Myers <joseph@codesourcery.com>
6042
7fd00f99
JM
6043 * sysdeps/unix/sysv/linux/kernel-features.h
6044 (__ASSUME_F_GETOWN_EX): Remove macro.
6045 * sysdeps/unix/sysv/linux/fcntl.c: Do not include
6046 <kernel-features.h>.
6047 (miss_F_GETOWN_EX): Remove variable or macro.
6048 (do_fcntl): Do not check miss_F_GETOWN_EX.
6049 (do_fcntl) [!__ASSUME_F_GETOWN_EX]: Remove conditional code.
6050
4a103975
JM
6051 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_RANDOM):
6052 Remove macro.
6053 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard)
6054 [!__ASSUME_AT_RANDOM]: Remove conditional code.
6055 (_dl_setup_pointer_guard) [!__ASSUME_AT_RANDOM]: Likewise.
6056
a2a76afe
JM
6057 * sysdeps/unix/sysv/linux/kernel-features.h
6058 (__ASSUME_ADJ_OFFSET_SS_READ): Remove macro.
6059 * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME)
6060 [ADJ_OFFSET_SS_READ]: Make code unconditional.
6061 (ADJTIME) [!ADJ_OFFSET_SS_READ]: Remove conditional code.
6062
90e5dd48
MR
60632014-06-20 Maciej W. Rozycki <macro@codesourcery.com>
6064
6065 [BZ #17075]
6066 * sysdeps/arm/dl-machine.h (elf_machine_rel) <R_ARM_TLS_DESC>:
6067 Fix calculation of the symbol's value.
6068 * sysdeps/arm/tst-armtlsdescloc.c: New file.
6069 * sysdeps/arm/tst-armtlsdesclocmod.c: New file.
6070 * sysdeps/arm/tst-armtlsdescextnow.c: New file.
6071 * sysdeps/arm/tst-armtlsdescextlazymod.c: New file.
6072 * sysdeps/arm/tst-armtlsdescextlazy.c: New file.
6073 * sysdeps/arm/tst-armtlsdescextnowmod.c: New file.
6074 * sysdeps/arm/Makefile (tests): Add `tst-armtlsdesc',
6075 `tst-armtlsdescextnow' and `tst-armtlsdescextlazy'.
6076 (modules-names): Add `tst-armtlsdescmod',
6077 `tst-armtlsdescextlazymod' and `tst-armtlsdescextnowmod'.
6078 (CPPFLAGS-tst-armtlsdescextnowmod.c): New variable.
6079 (CPPFLAGS-tst-armtlsdescextlazymod.c): Likewise.
6080 (CFLAGS-tst-armtlsdesclocmod.c): Likewise.
6081 (CFLAGS-tst-armtlsdescextnowmod.c): Likewise.
6082 (CFLAGS-tst-armtlsdescextlazymod.c): Likewise.
6083 (LDFLAGS-tst-armtlsdescextnowmod.so): Likewise.
6084 ($(objpfx)tst-armtlsdescloc): New dependency.
6085 ($(objpfx)tst-armtlsdescextnow): Likewise.
6086 ($(objpfx)tst-armtlsdescextlazy): Likewise.
6087 * sysdeps/arm/configure.ac: Add a check for tools' GNU descriptor
6088 TLS scheme support.
6089 * sysdeps/arm/configure: Regenerate.
6090
809fdf0d
JM
60912014-06-20 Joseph Myers <joseph@codesourcery.com>
6092
6093 * include/fcntl.h (__atfct_seterrno): Remove prototype.
6094 (__atfct_seterrno_2): Likewise.
6095 * sysdeps/unix/sysv/linux/alpha/dl-fxstatat64.c: Do not include
6096 <kernel-features.h>.
6097 (__ASSUME_ATFCTS): Do not undefine and redefine.
6098 * sysdeps/unix/sysv/linux/alpha/fxstatat.c [__ASSUME_ATFCTS]
6099 (__have_atfcts): Remove conditional definition.
6100 (__fxstatat([__NR_fstatat64]: Make code unconditional.
6101 (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code and code
6102 unreachable if [__ASSUME_ATFCTS].
6103 * sysdeps/unix/sysv/linux/dl-fxstatat64.c (__ASSUME_ATFCTS): Do
6104 not undefine and redefine.
6105 * sysdeps/unix/sysv/linux/faccessat.c: Do not include
6106 <kernel-features.h>.
6107 (faccessat) [__NR_faccessat]: Make code unconditional.
6108 (faccessat) [!__ASSUME_ATFCTS]: Remove conditional code.
6109 * sysdeps/unix/sysv/linux/fchmodat.c: Do not include
6110 <kernel-features.h>.
6111 (fchmodat) [__NR_fchmodat]: Make code unconditional.
6112 (fchmodat) [!__ASSUME_ATFCTS]: Remove conditional code.
6113 * sysdeps/unix/sysv/linux/fchownat.c: Do not include
6114 <kernel-features.h>.
6115 (fchownat) [__NR_fchownat]: Make code unconditional.
6116 (fchownat) [!__ASSUME_ATFCTS]: Remove conditional code.
6117 * sysdeps/unix/sysv/linux/futimesat.c: Do not include
6118 <kernel-features.h>.
6119 (futimesat) [__NR_futimesat]: Make code unconditional.
6120 (futimesat) [!__ASSUME_ATFCTS]: Remove conditional code.
6121 * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
6122 <kernel-features.h>.
6123 (__fxstatat) [__NR_newfstatat]: Make code unconditional.
6124 (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
6125 * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
6126 <kernel-features.h>.
6127 (__fxstatat64) [__NR_fstatat64]: Make code unconditional.
6128 (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
6129 * sysdeps/unix/sysv/linux/i386/fchownat.c: Remove file.
6130 * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
6131 <kernel-features.h>.
6132 (__fxstatat) [__NR_fstatat64]: Make code unconditional.
6133 (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
6134 * sysdeps/unix/sysv/linux/linkat.c: Do not include
6135 <kernel-features.h>.
6136 (linkat) [__NR_linkat]: Make code unconditional.
6137 (linkat) [!__ASSUME_ATFCTS]: Remove conditional code.
6138 * sysdeps/unix/sysv/linux/m68k/fchownat.c: Remove file.
6139 * sysdeps/unix/sysv/linux/mips/mips64/fxstatat64.c: Do not include
6140 <kernel-features.h>.
6141 (__fxstatat64) [__NR_newfstatat]: Make code unconditional.
6142 (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
6143 * sysdeps/unix/sysv/linux/mkdirat.c: Do not include
6144 <kernel-features.h>.
6145 (mkdirat) [__NR_mkdirat]: Make code unconditional.
6146 (mkdirat) [!__ASSUME_ATFCTS]: Remove conditional code.
6147 * sysdeps/unix/sysv/linux/openat.c: Do not include
6148 <kernel-features.h>.
6149 [!__ASSUME_ATFCTS] (__atfct_seterrno): Remove function.
6150 [!__ASSUME_ATFCTS] (__have_atfcts): Remove variable.
6151 (OPENAT_NOT_CANCEL) [__NR_openat]: Make code unconditional.
6152 (OPENAT_NOT_CANCEL) [!__ASSUME_ATFCTS]: Remove conditional code.
6153 * sysdeps/unix/sysv/linux/powerpc/fchownat.c: Remove file.
6154 * sysdeps/unix/sysv/linux/readlinkat.c: Do not include
6155 <kernel-features.h>.
6156 (readlinkat) [__NR_readlinkat]: Make code unconditional.
6157 (readlinkat) [!__ASSUME_ATFCTS]: Remove conditional code. Return
6158 result of INLINE_SYSCALL directly, not via int variable.
6159 * sysdeps/unix/sysv/linux/renameat.c: Do not include
6160 <kernel-features.h>.
6161 [!__ASSUME_ATFCTS] (__atfct_seterrno_2): Remove function.
6162 (renameat) [__NR_renameat]: Make code unconditional.
6163 (renameat) [!__ASSUME_ATFCTS]: Remove conditional code.
6164 * sysdeps/unix/sysv/linux/s390/s390-32/fchownat.c: Remove file.
6165 * sysdeps/unix/sysv/linux/sh/fchownat.c: Remove file.
6166 * sysdeps/unix/sysv/linux/sparc/sparc32/fchownat.c: Remove file.
6167 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c
6168 (__ASSUME_ATFCTS): Do not undefine and redefine.
6169 * sysdeps/unix/sysv/linux/symlinkat.c: Do not include
6170 <kernel-features.h>.
6171 (symlinkat) [__NR_symlinkat]: Make code unconditional.
6172 (symlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
6173 * sysdeps/unix/sysv/linux/unlinkat.c: Do not include
6174 <kernel-features.h>.
6175 (unlinkat) [__NR_unlinkat]: Make code unconditional.
6176 (unlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
6177 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c
6178 (__ASSUME_ATFCTS): Do not undefine and redefine.
6179 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
6180 <kernel-features.h>.
6181 (__fxstatat) [__NR_newfstatat]: Make code unconditional.
6182 (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
6183 * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
6184 <kernel-features.h>.
6185 (__xmknodat) [__NR_mknodat]: Make code unconditional.
6186 (__xmknodat) [!__ASSUME_ATFCTS]: Remove conditional code.
6187
224c6c51
L
61882014-06-20 H.J. Lu <hongjiu.lu@intel.com>
6189
6190 * sysdeps/x86_64/multiarch/rtld-strlen.S: Removed.
6191
aa6ec754
AS
61922014-06-20 Andreas Schwab <schwab@linux-m68k.org>
6193
6194 [BZ #17069]
6195 * posix/regcomp.c (parse_reg_exp): Deallocate partially
6196 constructed tree before returning error.
6197 * posix/bug-regexp36.c: Expand test case.
6198
d8c2869d
SL
61992014-06-20 Stefan Liebler <stli@linux.vnet.ibm.com>
6200
3ef6b850
SL
6201 [BZ #6803]
6202 * math/libm-test.inc (scalbln_test_date):
6203 Add errno expectations.
6204 * math/w_scalblnf.c: New File.
6205 Add wrapper which checks for setting errno to ERANGE.
6206 Add weak_alias for corresponding scalbln function.
6207 * math/w_scalbln.c: Likewise.
6208 * math/w_scalblnl.c: Likewise.
6209 * math/Makefile (libm-calls): Add w_scalbln.
6210 * sysdeps/ieee754/flt-32/s_scalblnf.c:
6211 Remove weak_alias for corresponding scalbln function.
6212 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
6213 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
6214 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
6215 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
6216 * sysdeps/sparc/sparc64/soft-fp/s_scalblnl.c: Likewise.
6217 * sysdeps/i386/fpu/s_scalbnf.S: Likewise.
6218 * sysdeps/i386/fpu/s_scalbn.S: Likewise.
6219 * sysdeps/i386/fpu/s_scalbnl.S: Likewise.
6220 * sysdeps/m68k/m680x0/fpu/s_scalbn.c: Likewise.
6221 * sysdeps/ieee754/ldbl-64-128/s_scalblnl.c:
6222 Remove long_double_symbol for scalblnl function in libm, libc.
6223 * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: New File.
6224 Add wrapper which checks for setting errno to ERANGE.
6225 Add long_double_symbol for scalblnl function in libm, libc.
6226 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c:
6227 Remove long_double_symbol for scalblnl in libm.
6228 * sysdeps/ieee754/ldbl-128ibm/w_scalblnl.c: New File.
6229 Add wrapper which checks for setting errno to ERANGE.
6230 Add long_double_symbol for scalblnl function in libm.
6231 * sysdeps/ia64/fpu/w_scalblnf.c: New File.
6232 Do not use wrapper because of own implementation.
6233
c8daec5c
L
62342014-06-19 H.J. Lu <hongjiu.lu@intel.com>
6235
6236 * sysdeps/x86/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Use
6237 3 bytes for __pad1 for x32.
6238 (__PTHREAD_RWLOCK_ELISION_EXTRA): Likewise.
6239
5c74e47c
LM
62402014-06-19 Ling Ma <ling.ml@alibaba-inc.com>
6241 H.J. Lu <hongjiu.lu@intel.com>
6242
6243 * sysdeps/x86_64/multiarch/Makefile: Add memset-avx2.
6244 * sysdeps/x86_64/multiarch/memset-avx2.S: New file.
6245 * sysdeps/x86_64/multiarch/memset.S: Likewise.
6246 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
6247 * sysdeps/x86_64/multiarch/rtld-memset.S: Likewise.
6248
4d43ef1e
AS
62492014-06-19 Andreas Schwab <schwab@linux-m68k.org>
6250
6251 [BZ #17069]
6252 * posix/regcomp.c (parse_expression): Deallocate partially
6253 constructed tree before returning error.
6254 * posix/Makefile.c (tests): Add bug-regex36.
6255 (generated): Add bug-regex36.mtrace.
6256 (tests-special): Add $(objpfx)bug-regex36-mem.out
6257 (bug-regex36-ENV): New variable.
6258 ($(objpfx)bug-regex36-mem.out): New rule.
6259 * posix/bug-regex36.c: New file.
6260
51a7380b
WN
62612014-06-19 Will Newton <will.newton@linaro.org>
6262
6263 * malloc/malloc.c (systrim): If extra is zero then return
6264 early.
6265
91b84fe5
SP
62662014-06-19 Siddhesh Poyarekar <siddhesh@redhat.com>
6267
6268 * benchtests/Makefile ($(objpfx)bench-%.c): Remove $(.).
6269
f940b965
RE
62702014-06-19 Richard Earnshaw <rearnsha@arm.com>
6271
6272 * sysdeps/aarch64/strchr.S: New file.
6273
4ba7a00f
JM
62742014-06-18 Joseph Myers <joseph@codesourcery.com>
6275
6276 [BZ #17022]
6277 * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Do not subtract 1
6278 from arguments -2 or below.
6279 * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
6280 * sysdeps/x86_64/fpu/e_logl.S (__ieee754_logl): Likewise.
6281
b3a9f56b
AS
62822014-06-18 Andreas Schwab <schwab@suse.de>
6283
6284 [BZ #17062]
6285 * posix/fnmatch_loop.c (FCT): Rerrange loop for skipping over rest
6286 of a bracket expr not to run off the end of the string.
6287 * posix/Makefile (tests): Add tst-fnmatch3.
6288 * posix/tst-fnmatch3.c: New file.
6289
85d89278
JM
62902014-06-18 Joseph Myers <joseph@codesourcery.com>
6291
6292 * elf/Makefile ($(objpfx)tst-unused-dep.out): Use $(rtld-prefix).
6293 * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
6294 [$(cross-compiling) = no]: Likewise.
6295 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
6296 [$(cross-compiling) = no]: Likewise.
6297
754c5a08
RS
62982014-16-17 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
6299
6300 [BZ #17031]
6301 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Consider the low
6302 double, adjusted for any remainder from the high double.
6303 * math/libm-test.inc (nearbyint): Add tests.
6304 (rint): Likewise.
6305
556f529d
AZ
63062014-06-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6307
6308 * nptl/sysdeps/powerpc/Makefile: Moved ...
6309 * sysdeps/powerpc/nptl/Makefile: ... here.
6310 * nptl/sysdeps/powerpc/pthread_spin_lock.c: Moved ...
6311 * sysdeps/powerpc/nptl/pthread_spin_lock.c: .. here.
6312 * nptl/sysdeps/powerpc/pthread_spin_trylock.c: Moved ...
6313 * sysdeps/powerpc/nptl/pthread_spin_trylock.c: ... here.
6314 * nptl/sysdeps/powerpc/pthreaddef.h: Moved ...
6315 * sysdeps/powerpc/nptl/pthreaddef.h: ... here.
6316 * nptl/sysdeps/powerpc/tcb-offsets.sym: Moved ...
6317 * sysdeps/powerpc/nptl/tcb-offsets.sym: ... here.
6318 * nptl/sysdeps/powerpc/tls.h: Moved ...
6319 * sysdeps/powerpc/nptl/tls.h: ... here.
6320
91c03c53
JM
63212014-06-16 Joseph Myers <joseph@codesourcery.com>
6322
6323 [BZ #16681]
6324 * sysdeps/i386/fpu/s_ceil.S (__ceil): Add CFI.
6325 * sysdeps/i386/fpu/s_ceilf.S (__ceilf): Likewise.
6326 * sysdeps/i386/fpu/s_ceill.S (__ceill): Likewise.
6327 * sysdeps/i386/fpu/s_floor.S (__floor): Likewise.
6328 * sysdeps/i386/fpu/s_floorf.S (__floorf): Likewise.
6329 * sysdeps/i386/fpu/s_floorl.S (__floorl): Likewise.
6330 * sysdeps/i386/fpu/s_trunc.S (__trunc): Likewise.
6331 * sysdeps/i386/fpu/s_truncf.S (__truncf): Likewise.
6332 * sysdeps/i386/fpu/s_truncl.S (__truncl): Likewise.
6333
a76e63c5
AS
63342014-06-17 Andreas Schwab <schwab@linux-m68k.org>
6335
6336 * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
6337
f2f6d82f
AS
63382014-06-16 Andreas Schwab <schwab@linux-m68k.org>
6339
ea8a15f6
AS
6340 * sysdeps/m68k/m680x0/bits/huge_vall.h: Fix missing space after
6341 defined operator.
6342
f2f6d82f
AS
6343 * scripts/cross-test-ssh.sh (timeoutfactor): Default to
6344 $TIMEOUTFACTOR.
6345
a7291117
FW
63462014-06-16 Florian Weimer <fweimer@redhat.com>
6347
6348 [BZ #17058]
6349 * nptl/tst-setuid2.c (do_test): Fix tautological comparison in
6350 non-executed part of the test.
6351
3d7c00e3
AS
63522014-06-16 Andreas Schwab <schwab@suse.de>
6353
6354 * string/bits/string2.h (strdup, strndup): Update feature guard.
6355
6957fb31
DM
63562014-06-14 David S. Miller <davem@davemloft.net>
6357
6358 * sysdeps/sparc/fpu/libm-test-ulps: Update.
6359
11b9e55b
AS
63602014-06-14 Andreas Schwab <schwab@linux-m68k.org>
6361
1d2a0492
AS
6362 * sysdeps/unix/sysv/linux/m68k/clone.S: Deconditionalize the code
6363 that was previously under [RESET_PID].
6364 * sysdeps/unix/sysv/linux/m68k/nptl/clone.S: Remove file.
6365
11b9e55b
AS
6366 * sysdeps/unix/sysv/linux/m68k/pt-vfork.c: New file.
6367 * sysdeps/unix/sysv/linux/m68k/nptl/pt-vfork.S: Remove file.
6368 * sysdeps/unix/sysv/linux/m68k/vfork.S: Include <tcb-offsets.h>.
6369 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
6370 (__libc_vfork): New strong alias.
6371 * sysdeps/unix/sysv/linux/m68k/nptl/vfork.S: Remove file.
6372
0f6901d0
AK
63732014-06-14 Andi Kleen <ak@linux.intel.com>
6374
6375 * sysdeps/generic/elide.h: New file.
6376
38bbbb9f
SL
63772014-06-13 Stefan Liebler <stli@linux.vnet.ibm.com>
6378
6379 * Makefile (installed-headers): Adjust path of pthread.h header.
6380
45193bb8
RM
63812014-06-13 Roland McGrath <roland@hack.frob.com>
6382
9a25fd1e
RM
6383 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h: Moved ...
6384 * sysdeps/s390/nptl/bits/pthreadtypes.h: ... here.
6385 * nptl/sysdeps/unix/sysv/linux/s390/bits/semaphore.h: Moved ...
6386 * sysdeps/s390/nptl/bits/semaphore.h: ... here.
6387
4004f7e4
RM
6388 * nptl/sysdeps/s390/Makefile: Moved ...
6389 * sysdeps/s390/nptl/Makefile: ... here.
6390 * nptl/sysdeps/s390/pthread_spin_init.c: Moved ...
6391 * sysdeps/s390/nptl/pthread_spin_init.c: ... here.
6392 * nptl/sysdeps/s390/pthread_spin_lock.c: Moved ...
6393 * sysdeps/s390/nptl/pthread_spin_lock.c: ... here.
6394 * nptl/sysdeps/s390/pthread_spin_trylock.c: Moved ...
6395 * sysdeps/s390/nptl/pthread_spin_trylock.c: ... here.
6396 * nptl/sysdeps/s390/pthread_spin_unlock.c: Moved ...
6397 * sysdeps/s390/nptl/pthread_spin_unlock.c: ... here.
6398 * nptl/sysdeps/s390/pthreaddef.h: Moved ...
6399 * sysdeps/s390/nptl/pthreaddef.h: ... here.
6400 * nptl/sysdeps/s390/tcb-offsets.sym: Moved ...
6401 * sysdeps/s390/nptl/tcb-offsets.sym: ... here.
6402 * nptl/sysdeps/s390/tls.h: Moved ...
6403 * sysdeps/s390/nptl/tls.h: ... here.
6404
45193bb8
RM
6405 * sysdeps/unix/sysv/linux/s390/arch-fork.h: New file.
6406 * nptl/sysdeps/unix/sysv/linux/s390/fork.c: File removed.
6407
f6fdf533
DM
64082014-06-13 David S. Miller <davem@davemloft.net>
6409
6410 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/clone.S: Delete.
6411 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pt-vfork.S: Delete.
6412 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: Moved ...
6413 * sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: ... here.
6414 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/clone.S: Delete.
6415 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/pt-vfork.S: Delete.
6416 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: Moved ...
6417 * sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: ... here.
6418 * sysdeps/unix/sysv/linux/sparc/fork.S: Delete.
6419 * sysdeps/unix/sysv/linux/sparc/pt-vfork.S: New file.
6420 * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S (__thread_start):
6421 Remove RESET_PID cpp guards.
6422 * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S (__thread_start):
6423 Remove RESET_PID cpp guards.
6424 * sysdeps/unix/sysv/linux/sparc/vfork.S: Delete.
6425
f5d71e14
AS
64262014-06-13 Andreas Schwab <schwab@linux-m68k.org>
6427
6428 * sysdeps/m68k/jmpbuf-unwind.h (_JMPBUF_UNWINDS, _jmpbuf_sp): Cast
6429 __sp to uintptr_t.
6430
b7aa8caa
AK
64312014-06-13 Andi Kleen <ak@linux.intel.com>
6432
4b266200
AZ
6433 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: Remove.
6434 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S: dito.
6435 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S: dito.
6436 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: dito.
6437 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: dito.
6438 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: dito.
6439 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S: dito.
6440 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S: dito.
6441 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: dito.
6442 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: dito.
6443 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: dito.
6444 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S: dito.
6445 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S: dito.
6446 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: dito.
6447 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: dito.
6448 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: dito.
6449 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: dito.
6450 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: dito.
6451 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: dito.
6452 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: dito.
8491ed6d
AK
6453
6454 * nptl/pthread_rwlock_rdlock.c: Include elide.h.
4b266200
AZ
6455 (pthread_rwlock_rdlock): Add elision.
6456 * nptl/pthread_rwlock_wrlock.c: Include elide.h.
6457 (pthread_rwlock_wrlock): Add elision.
6458 * nptl/pthread_rwlock_trywrlock.c: Include elide.h.
6459 (pthread_rwlock_trywrlock): Add elision.
6460 * nptl/pthread_rwlock_tryrdlock.c: Include elide.h.
6461 (pthread_rwlock_tryrdlock): Add elision.
6462 * nptl/pthread_rwlock_unlock.c: Include elide.h.
6463 (pthread_rwlock_tryrdlock): Add elision unlock.
6464 * nptl/sysdeps/pthread/pthread.h:
6465 (__PTHREAD_RWLOCK_ELISION_EXTRA): Handle new define
6466 (PTHREAD_RWLOCK_INITIALIZER,
6467 PTHREAD_RWLOCK_WRITER_NONRECURSIVE_INITIALIZER_NP):
6468 Handle new elision field.
6469 * sysdeps/x86/nptl/elide.h: New file. Add generic elision macros.
6470 * sysdeps/arm/nptl/bits/pthreadtypes.h
6471 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
6472 * sysdeps/sh/nptl/bits/pthreadtypes.h
6473 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
6474 * sysdeps/tile/nptl/bits/pthreadtypes.h
6475 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
6476 * sysdeps/a/nptl/bits/pthreadtypes.h
6477 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
6478 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
6479 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
6480 * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
6481 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
6482 * sysdeps/unix/sysv/linux/hppa/nptl/bits/pthreadtypes.h
6483 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
6484 * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
6485 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
6486 * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
6487 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
6488 * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
6489 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
6490 * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
6491 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
6492 * sysdeps/unix/sysv/linux/powerpc/nptl/bits/pthreadtypes.h
6493 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
6494 * sysdeps/unix/sysv/linux/x86/elision-conf.c:
6495 (elision_init): Set try_xbegin to zero when no RTM.
6496 * sysdeps/x86/nptl/bits/pthreadtypes.h
6497 (pthread_rwlock_t): Change __pad1 to __rwelision.
6498 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
8491ed6d 6499
a832bdd3
AK
65002014-06-13 Andi Kleen <ak@linux.intel.com>
6501
6502 * nptl/pthread_rwlock_rdlock (__pthread_rwlock_rdlock):
6503 Split into __do_pthread_rwlock_rdlock and __pthread_rwlock_rdlock.
6504 * nptl/pthread_rwlock_wrlock (__pthread_rwlock_wrlock):
6505 Split into __do_pthread_rwlock_wrlock and __pthread_wrlock_rdlock.
6506
995a46bb
MI
65072014-06-13 Meador Inge <meadori@codesourcery.com>
6508
6509 [BZ #16996]
03ed7738 6510 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Ensure
995a46bb
MI
6511 that the cached result has been set before returning it.
6512
45262aee
RM
65132014-06-12 Roland McGrath <roland@hack.frob.com>
6514
febf6cc5
RM
6515 * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h: Moved ...
6516 * sysdeps/sparc/nptl/bits/pthreadtypes.h: ... here.
6517 * nptl/sysdeps/unix/sysv/linux/sparc/bits/semaphore.h: Moved ...
6518 * sysdeps/sparc/nptl/bits/semaphore.h: ... here.
6519 * nptl/sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: Moved ...
6520 * sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: ... here.
6521
e2682246
RM
6522 * nptl/sysdeps/sparc/Makefile: Moved ...
6523 * sysdeps/sparc/nptl/Makefile: ... here.
6524 * nptl/sysdeps/sparc/tcb-offsets.sym: Moved ...
6525 * sysdeps/sparc/nptl/tcb-offsets.sym: ... here.
6526 * nptl/sysdeps/sparc/tls.h: Moved ...
6527 * sysdeps/sparc/nptl/tls.h: ... here.
6528 * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S: Moved ...
6529 * sysdeps/sparc/sparc32/nptl/pthread_spin_lock.S: ... here.
6530 * nptl/sysdeps/sparc/sparc32/pthread_spin_trylock.S: Moved ...
6531 * sysdeps/sparc/sparc32/nptl/pthread_spin_trylock.S: ... here.
6532 * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Moved ...
6533 * sysdeps/sparc/sparc32/nptl/pthreaddef.h: ... here.
6534 * nptl/sysdeps/sparc/sparc64/pthread_spin_init.c: Moved ...
6535 * sysdeps/sparc/sparc64/nptl/pthread_spin_init.c: ... here.
6536 * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S: Moved ...
6537 * sysdeps/sparc/sparc64/nptl/pthread_spin_lock.S: ... here.
6538 * nptl/sysdeps/sparc/sparc64/pthread_spin_trylock.S: Moved ...
6539 * sysdeps/sparc/sparc64/nptl/pthread_spin_trylock.S: ... here.
6540 * nptl/sysdeps/sparc/sparc64/pthread_spin_unlock.S: Moved ...
6541 * sysdeps/sparc/sparc64/nptl/pthread_spin_unlock.S: ... here.
6542 * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Moved ...
6543 * sysdeps/sparc/sparc64/nptl/pthreaddef.h: ... here.
6544 * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: Moved ...
6545 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_init.c: ... here.
6546 Update #include.
6547 * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: Moved ...
6548 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_lock.S: ... here.
6549 Update #include.
6550 * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: Moved ...
6551 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_trylock.S: ... here.
6552 Update #include.
6553 * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_unlock.S: Moved ...
6554 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: ... here.
6555 Update #include.
6556
b0725f43
RM
6557 * nptl/sysdeps/sparc/tls.h (TLS_DEFINE_INIT_TP): New macro.
6558
b14368b8
RM
6559 * sysdeps/unix/sysv/linux/sparc/arch-fork.h: New file.
6560 * nptl/sysdeps/unix/sysv/linux/sparc/fork.c: File removed.
6561
c5620eb3
RM
6562 * sysdeps/pthread/posix-timer.h: Include <list.h>.
6563 (struct list_links): Type removed.
6564 (struct thread_node, struct timer_node): Replace struct list_links
6565 with struct list_head.
6566 (list_unlink_ip): Likewise.
6567 * sysdeps/pthread/timer_routines.c
6568 (timer_free_list, thread_free_list, thread_active_list): Likewise.
6569 (list_append, list_insbefore): Likewise.
6570 (list_init): Function removed.
6571 (thread_init, init_module): Use INIT_LIST_HEAD instead.
463dc947
RM
6572 * sysdeps/nptl/Makefile: Move tst-timer bits to ...
6573 * sysdeps/pthread/Makefile: ... here, new file.
6574
6575 * nptl/sysdeps/unix/sysv/linux/Implies: Moved ...
6576 * sysdeps/nptl/Implies: ... here.
6577 * sysdeps/unix/sysv/linux/Implies: Add nptl.
6578 * nptl/sysdeps/pthread/list.h: Moved ...
6579 * include/list.h: ... here.
6580 * nptl/sysdeps/pthread/createthread.c: Moved ...
6581 * nptl/createthread.c: ... here.
6582 * nptl/sysdeps/unix/sysv/linux/createthread.c: Update #include.
6583 * nptl/sysdeps/pthread/pt-longjmp.c: Moved ...
6584 * nptl/pt-longjmp.c: ... here.
6585 * nptl/sysdeps/pthread/Makefile: Moved ...
6586 * sysdeps/nptl/Makefile: ... here.
6587 * nptl/sysdeps/pthread/Subdirs: Moved ...
6588 * sysdeps/nptl/Subdirs: ... here.
6589 * nptl/sysdeps/pthread/aio_misc.h: Moved ...
6590 * sysdeps/nptl/aio_misc.h: ... here.
6591 * nptl/sysdeps/pthread/bits/libc-lock.h: Moved ...
6592 * sysdeps/nptl/bits/libc-lock.h: ... here.
6593 * nptl/sysdeps/pthread/bits/libc-lockP.h: Moved ...
6594 * sysdeps/nptl/bits/libc-lockP.h: ... here.
6595 * nptl/sysdeps/pthread/bits/stdio-lock.h: Moved ...
6596 * sysdeps/nptl/bits/stdio-lock.h: ... here.
6597 * nptl/sysdeps/pthread/configure: Moved ...
6598 * sysdeps/nptl/configure: ... here.
6599 * nptl/sysdeps/pthread/configure.ac: Moved ...
6600 * sysdeps/nptl/configure.ac: ... here.
6601 * nptl/sysdeps/pthread/gai_misc.h: Moved ...
6602 * sysdeps/nptl/gai_misc.h: ... here.
6603 * nptl/sysdeps/pthread/librt-cancellation.c: Moved ...
6604 * sysdeps/nptl/librt-cancellation.c: ... here.
6605 * nptl/sysdeps/pthread/malloc-machine.h: Moved ...
6606 * sysdeps/nptl/malloc-machine.h: ... here.
6607 * nptl/sysdeps/pthread/pthread-functions.h: Moved ...
6608 * sysdeps/nptl/pthread-functions.h: ... here.
6609 * nptl/sysdeps/pthread/pthread.h: Moved ...
6610 * sysdeps/nptl/pthread.h: ... here.
6611 * nptl/sysdeps/pthread/setxid.h: Moved ...
6612 * sysdeps/nptl/setxid.h: ... here.
6613 * nptl/sysdeps/pthread/sigfillset.c: Moved ...
6614 * sysdeps/nptl/sigfillset.c: ... here.
6615 * nptl/sysdeps/pthread/tcb-offsets.h: Moved ...
6616 * sysdeps/nptl/tcb-offsets.h: ... here.
6617 * nptl/sysdeps/pthread/tst-mqueue8x.c: Moved ...
6618 * sysdeps/nptl/tst-mqueue8x.c: ... here.
6619 * nptl/sysdeps/pthread/unwind-forcedunwind.c: Moved ...
6620 * sysdeps/nptl/unwind-forcedunwind.c: ... here.
6621 * nptl/sysdeps/pthread/allocalim.h: Moved ...
6622 * sysdeps/pthread/allocalim.h: ... here.
6623 * nptl/sysdeps/pthread/bits/sigthread.h: Moved ...
6624 * sysdeps/pthread/bits/sigthread.h: ... here.
6625 * nptl/sysdeps/pthread/flockfile.c: Moved ...
6626 * sysdeps/pthread/flockfile.c: ... here.
6627 * nptl/sysdeps/pthread/ftrylockfile.c: Moved ...
6628 * sysdeps/pthread/ftrylockfile.c: ... here.
6629 * nptl/sysdeps/pthread/funlockfile.c: Moved ...
6630 * sysdeps/pthread/funlockfile.c: ... here.
6631 * nptl/sysdeps/pthread/posix-timer.h: Moved ...
6632 * sysdeps/pthread/posix-timer.h: ... here.
6633 * nptl/sysdeps/pthread/timer_create.c: Moved ...
6634 * sysdeps/pthread/timer_create.c: ... here.
6635 * nptl/sysdeps/pthread/timer_delete.c: Moved ...
6636 * sysdeps/pthread/timer_delete.c: ... here.
6637 * nptl/sysdeps/pthread/timer_getoverr.c: Moved ...
6638 * sysdeps/pthread/timer_getoverr.c: ... here.
6639 * nptl/sysdeps/pthread/timer_gettime.c: Moved ...
6640 * sysdeps/pthread/timer_gettime.c: ... here.
6641 * nptl/sysdeps/pthread/timer_routines.c: Moved ...
6642 * sysdeps/pthread/timer_routines.c: ... here.
6643 * nptl/sysdeps/pthread/timer_settime.c: Moved ...
6644 * sysdeps/pthread/timer_settime.c: ... here.
6645 * nptl/sysdeps/pthread/tst-timer.c: Moved ...
6646 * sysdeps/pthread/tst-timer.c: ... here.
6647 * nptl/sysdeps/pthread/pthread_sigmask.c: Moved ...
6648 * sysdeps/unix/sysv/linux/pthread_sigmask.c: ... here.
6649
e876b090
RM
6650 * sysdeps/unix/sysv/linux/sigprocmask.c: Include <nptl/pthreadP.h>.
6651 * nptl/sysdeps/pthread/sigprocmask.c: File removed.
6652
f6b07b3d
RM
6653 * nptl/sysdeps/i386/i486/pthread_spin_trylock.S: Moved ...
6654 * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: ... here.
6655 * nptl/sysdeps/i386/i586/pthread_spin_trylock.S: Moved ...
6656 * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: ... here.
6657 Update #include target.
6658 * nptl/sysdeps/i386/i686/Makefile: Moved ...
6659 * sysdeps/i386/i686/nptl/Makefile: ... here.
6660 * nptl/sysdeps/i386/i686/pthread_spin_trylock.S: Moved ...
6661 * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: ... here.
6662 Update #include target.
6663 * nptl/sysdeps/i386/i686/tls.h: Moved ...
6664 * sysdeps/i386/i686/nptl/tls.h: ... here. Use #include_next.
6665 * nptl/sysdeps/i386/Makefile: Moved ...
6666 * sysdeps/i386/nptl/Makefile: ... here.
6667 * nptl/sysdeps/i386/pthread_spin_init.c: Moved ...
6668 * sysdeps/i386/nptl/pthread_spin_init.c: ... here.
6669 * sysdeps/x86_64/nptl/pthread_spin_init.c: Update #include target.
6670 * nptl/sysdeps/i386/pthread_spin_lock.S: Moved ...
6671 * sysdeps/i386/nptl/pthread_spin_lock.S: ... here.
6672 * nptl/sysdeps/i386/pthread_spin_unlock.S: Moved ...
6673 * sysdeps/i386/nptl/pthread_spin_unlock.S: ... here.
6674 * nptl/sysdeps/i386/pthreaddef.h: Moved ...
6675 * sysdeps/i386/nptl/pthreaddef.h: ... here.
6676 * nptl/sysdeps/i386/tcb-offsets.sym: Moved ...
6677 * sysdeps/i386/nptl/tcb-offsets.sym: ... here.
6678 * nptl/sysdeps/i386/tls.h: Moved ...
6679 * sysdeps/i386/nptl/tls.h: ... here.
6680
45262aee
RM
6681 * sysdeps/sh/Makefile [$(subdir) = csu]
6682 (gen-as-const-headers): Add tcb-offsets.sym.
6683 * nptl/sysdeps/sh/Makefile: File removed.
6684 * nptl/sysdeps/sh/pthread_spin_init.c: Moved ...
6685 * sysdeps/sh/nptl/pthread_spin_init.c: ... here.
6686 * nptl/sysdeps/sh/pthread_spin_lock.c: Moved ...
6687 * sysdeps/sh/nptl/pthread_spin_lock.c: ... here.
6688 * nptl/sysdeps/sh/pthread_spin_trylock.S: Moved ...
6689 * sysdeps/sh/nptl/pthread_spin_trylock.S: ... here.
6690 * nptl/sysdeps/sh/pthread_spin_unlock.S: Moved ...
6691 * sysdeps/sh/nptl/pthread_spin_unlock.S: ... here.
6692 * nptl/sysdeps/sh/pthreaddef.h: Moved ...
6693 * sysdeps/sh/nptl/pthreaddef.h: ... here.
6694 * nptl/sysdeps/sh/tcb-offsets.sym: Moved ...
6695 * sysdeps/sh/nptl/tcb-offsets.sym: ... here.
6696 * nptl/sysdeps/sh/tls.h: Moved ...
6697 * sysdeps/sh/nptl/tls.h: ... here.
6698 * nptl/sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: Moved ...
6699 * sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: ... here.
6700 * nptl/sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: Moved ...
6701 * sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: ... here.
6702 * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.S: Moved ...
6703 * sysdeps/unix/sysv/linux/sh/lowlevellock.S: ... here.
6704 * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.h: Moved ...
6705 * sysdeps/unix/sysv/linux/sh/lowlevellock.h: ... here.
6706 * nptl/sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: Moved ...
6707 * sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: ... here.
6708 * nptl/sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: Moved ...
6709 * sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: ... here.
6710 * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: Moved ...
6711 * sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: ... here.
6712 * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: Moved ...
6713 * sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: ... here.
6714 * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: Moved ...
6715 * sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: ... here.
6716 * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: Moved ...
6717 * sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: ... here.
6718 * nptl/sysdeps/unix/sysv/linux/sh/pthread_once.S: Moved ...
6719 * sysdeps/unix/sysv/linux/sh/pthread_once.S: ... here.
6720 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: Moved ...
6721 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: ... here.
6722 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S:
6723 Moved ...
6724 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S: ... here.
6725 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S:
6726 Moved ...
6727 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S: ... here.
6728 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: Moved ...
6729 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: ... here.
6730 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: Moved ...
6731 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: ... here.
6732 * nptl/sysdeps/unix/sysv/linux/sh/sem_post.S: Moved ...
6733 * sysdeps/unix/sysv/linux/sh/sem_post.S: ... here.
6734 * nptl/sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Moved ...
6735 * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: ... here.
6736 * nptl/sysdeps/unix/sysv/linux/sh/sem_trywait.S: Moved ...
6737 * sysdeps/unix/sysv/linux/sh/sem_trywait.S: ... here.
6738 * nptl/sysdeps/unix/sysv/linux/sh/sem_wait.S: Moved ...
6739 * sysdeps/unix/sysv/linux/sh/sem_wait.S: ... here.
6740 * nptl/sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: Moved ...
6741 * sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: ... here.
6742 * nptl/sysdeps/unix/sysv/linux/sh/smp.h: Moved ...
6743 * sysdeps/unix/sysv/linux/sh/smp.h: ... here.
6744 * nptl/sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Moved ...
6745 * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: ... here.
6746
35a5e3e3
SL
67472014-06-12 Stefan Liebler <stli@linux.vnet.ibm.com>
6748
6749 * posix/spawn_faction_addopen.c: Include string.h.
6750
14642b85
RM
67512014-06-11 Roland McGrath <roland@hack.frob.com>
6752
6753 * nptl/sysdeps/x86_64/64/shlib-versions: Moved ...
6754 * sysdeps/x86_64/64/nptl/shlib-versions: ... here.
6755 * nptl/sysdeps/x86_64/Makefile: Moved ...
6756 * sysdeps/x86_64/nptl/Makefile: ... here.
6757 * nptl/sysdeps/x86_64/configure: Moved ...
6758 * sysdeps/x86_64/nptl/configure: ... here.
6759 * nptl/sysdeps/x86_64/configure.ac: Moved ...
6760 * sysdeps/x86_64/nptl/configure.ac: ... here.
6761 * nptl/sysdeps/x86_64/pthread_spin_init.c: Moved ...
6762 * sysdeps/x86_64/nptl/pthread_spin_init.c: ... here.
6763 * nptl/sysdeps/x86_64/pthread_spin_lock.S: Moved ...
6764 * sysdeps/x86_64/nptl/pthread_spin_lock.S: ... here.
6765 * nptl/sysdeps/x86_64/pthread_spin_trylock.S: Moved ...
6766 * sysdeps/x86_64/nptl/pthread_spin_trylock.S: ... here.
6767 * nptl/sysdeps/x86_64/pthread_spin_unlock.S: Moved ...
6768 * sysdeps/x86_64/nptl/pthread_spin_unlock.S: ... here.
6769 * nptl/sysdeps/x86_64/pthreaddef.h: Moved ...
6770 * sysdeps/x86_64/nptl/pthreaddef.h: ... here.
6771 * nptl/sysdeps/x86_64/tcb-offsets.sym: Moved ...
6772 * sysdeps/x86_64/nptl/tcb-offsets.sym: ... here.
6773 * nptl/sysdeps/x86_64/tls.h: Moved ...
6774 * sysdeps/x86_64/nptl/tls.h: ... here.
6775 * nptl/sysdeps/x86_64/x32/shlib-versions: Moved ...
6776 * sysdeps/x86_64/x32/nptl/shlib-versions: ... here.
6777 * nptl/sysdeps/x86_64/x32/tls.h: Moved ...
6778 * sysdeps/x86_64/x32/nptl/tls.h: ... here.
6779
6780 * sysdeps/x86_64/x32/nptl/tls.h: Use #include_next.
6781
31c44fea
AZ
67822014-06-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6783
6784 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
6785
e81a4f9a
JM
67862014-06-11 Joseph Myers <joseph@codesourcery.com>
6787
6788 * conform/data/sys/mman.h-data [POSIX] (size_t): Do not require
6789 type.
6790 [POSIX] (off_t): Likewise.
6791 * conform/data/sys/stat.h-data (S_IRGRP): Require constant.
6792 [POSIX] (S_ISBLK): Require macro.
6793 [POSIX] (S_ISCHR): Likewise.
6794 [POSIX] (S_ISDIR): Likewise.
6795 [POSIX] (S_ISFIFO): Likewise.
6796 [POSIX] (S_ISREG): Likewise.
6797 [POSIX || XPG3 || XPG4 || UNIX98] (S_TYPEISTMO): Do not list
6798 optional-macro.
6799 * conform/data/sys/types.h-data [POSIX] (blkcnt_t): Do not require
6800 type.
6801 [POSIX] (time_t): Likewise.
6802 [POSIX] (timer_t): Likewise.
6803
89e435f3
FW
68042014-06-11 Florian Weimer <fweimer@redhat.com>
6805
6806 [BZ #17048]
6807 * posix/spawn_int.h (struct __spawn_action): Make the path string
6808 non-const to support deallocation.
6809 * posix/spawn_faction_addopen.c
6810 (posix_spawn_file_actions_addopen): Make a copy of the pathname.
6811 * posix/spawn_faction_destroy.c
6812 (posix_spawn_file_actions_destroy): Adjust comment. Deallocate
6813 path in all spawn_do_open actions.
6814 * posix/tst-spawn.c (do_test): Exercise the copy operation in
6815 posix_spawn_file_actions_addopen.
6816
c3a2ebe1
CM
68172014-06-11 Chris Metcalf <cmetcalf@tilera.com>
6818
6819 * sysdeps/unix/sysv/linux/tile/pt-vfork.c: New file.
6820 * sysdeps/unix/sysv/linux/tile/pt-vfork.S: Remove file.
6821 * sysdeps/unix/sysv/linux/tile/vfork.S (__vfork): Make PT_VFORK
6822 conditional code always true.
6823 (__libc_vfork): New alias.
6824
9503784a
RM
68252014-06-11 Roland McGrath <roland@hack.frob.com>
6826
c9cab3d2
RM
6827 * sysdeps/tile/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
6828 * sysdeps/unix/sysv/linux/tile/createthread.c: File removed.
6829
d3996c79
RM
6830 * nptl/sysdeps/s390/tls.h (TLS_DEFINE_INIT_TP): New macro.
6831
ba5ec611
RM
6832 * sysdeps/alpha/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
6833 * sysdeps/unix/sysv/linux/alpha/createthread.c: File removed.
6834
f12b4814
RM
6835 * nptl/sysdeps/powerpc/tls.h (TLS_DEFINE_INIT_TP): New macro.
6836 * sysdeps/unix/sysv/linux/powerpc/createthread.c: File removed.
6837
9503784a
RM
6838 * sysdeps/aarch64/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
6839 * sysdeps/unix/sysv/linux/aarch64/nptl/createthread.c: File removed.
6840
e23d3d26
VR
68412014-06-11 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
6842
6843 * sysdeps/powerpc/powerpc64/power7/strcmp.S: New file: Optimization.
6844 * sysdeps/powerpc/powerpc64/multiarch/strcmp.c: New file:
6845 multiarch strcmp for PPC64.
6846 * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: New file.
6847 * sysdeps/powerpc/powerpc64/multiarch/strcmp-power7.S: New file.
6848 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcmp
6849 multiarch optimizations.
6850 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
6851 (__libc_ifunc_impl_list): Likewise.
6852
42b1161e
SP
68532014-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
6854
6855 * benchtests/scripts/validate_benchout.py: New script.
6856 * benchtests/Makefile (bench-func): Call it.
6857 * benchtests/scripts/benchout.schema.json: New file.
6858
2d0fc4dc
CM
68592014-06-10 Chris Metcalf <cmetcalf@tilera.com>
6860
4a594c34
AZ
6861 * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h: Moved ...
6862 * sysdeps/tile/nptl/bits/pthreadtypes.h: ... here.
6863 * sysdeps/unix/sysv/linux/tile/nptl/bits/semaphore.h: Moved ...
6864 * sysdeps/tile/nptl/bits/semaphore.h: ... here.
6865 * sysdeps/unix/sysv/linux/tile/nptl/Makefile: Removed, merged into ...
6866 * sysdeps/unix/sysv/linux/tile/Makefile: ... here.
6867 * sysdeps/unix/sysv/linux/tile/nptl/clone.S: Moved ...
6868 * sysdeps/unix/sysv/linux/tile/clone.S: ... here.
6869 * sysdeps/unix/sysv/linux/tile/nptl/createthread.c: Moved ...
6870 * sysdeps/unix/sysv/linux/tile/createthread.c: ... here.
6871 * sysdeps/unix/sysv/linux/tile/nptl/lowlevellock.h: Moved ...
6872 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: ... here.
6873 * sysdeps/unix/sysv/linux/tile/nptl/pt-vfork.S: Moved ...
6874 * sysdeps/unix/sysv/linux/tile/pt-vfork.S: ... here.
6875 * sysdeps/unix/sysv/linux/tile/nptl/sysdep-cancel.h: Moved ...
6876 * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: ... here.
6877 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/c++-types.data:
2d0fc4dc 6878 Moved ...
4a594c34 6879 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/c++-types.data:
2d0fc4dc 6880 ... here.
4a594c34 6881 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/ld.abilist:
2d0fc4dc 6882 Moved ...
4a594c34
AZ
6883 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/ld.abilist: ... here.
6884 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libBrokenLocale.abilist:
2d0fc4dc 6885 Moved ...
4a594c34 6886 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libBrokenLocale.abilist:
2d0fc4dc 6887 ... here.
4a594c34 6888 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libanl.abilist:
2d0fc4dc 6889 Moved ...
4a594c34 6890 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libanl.abilist:
2d0fc4dc 6891 ... here.
4a594c34 6892 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libc.abilist:
2d0fc4dc 6893 Moved ...
4a594c34
AZ
6894 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: ... here.
6895 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libcrypt.abilist:
2d0fc4dc 6896 Moved ...
4a594c34 6897 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libcrypt.abilist:
2d0fc4dc 6898 ... here.
4a594c34 6899 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libdl.abilist:
2d0fc4dc 6900 Moved ...
4a594c34 6901 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libdl.abilist:
2d0fc4dc 6902 ... here.
4a594c34 6903 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libm.abilist:
2d0fc4dc 6904 Moved ...
4a594c34
AZ
6905 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist: ... here.
6906 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libnsl.abilist:
2d0fc4dc 6907 Moved ...
4a594c34 6908 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libnsl.abilist:
2d0fc4dc 6909 ... here.
4a594c34 6910 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libpthread.abilist:
2d0fc4dc 6911 Moved ...
4a594c34 6912 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libpthread.abilist:
2d0fc4dc 6913 ... here.
4a594c34 6914 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libresolv.abilist:
2d0fc4dc 6915 Moved ...
4a594c34 6916 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libresolv.abilist:
2d0fc4dc 6917 ... here.
4a594c34 6918 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/librt.abilist:
2d0fc4dc 6919 Moved ...
4a594c34
AZ
6920 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/librt.abilist: ... here.
6921 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libthread_db.abilist:
2d0fc4dc 6922 Moved ...
4a594c34 6923 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libthread_db.abilist:
2d0fc4dc 6924 ... here.
4a594c34 6925 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libutil.abilist:
2d0fc4dc 6926 Moved ...
4a594c34 6927 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libutil.abilist:
2d0fc4dc 6928 ... here.
4a594c34 6929 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/c++-types.data:
2d0fc4dc 6930 Moved ...
4a594c34 6931 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/c++-types.data:
2d0fc4dc 6932 ... here.
4a594c34 6933 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/ld.abilist:
2d0fc4dc 6934 Moved ...
4a594c34
AZ
6935 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/ld.abilist: ... here.
6936 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libBrokenLocale.abilist:
2d0fc4dc 6937 Moved ...
4a594c34 6938 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libBrokenLocale.abilist:
2d0fc4dc 6939 ... here.
4a594c34 6940 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libanl.abilist:
2d0fc4dc 6941 Moved ...
4a594c34 6942 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libanl.abilist:
2d0fc4dc 6943 ... here.
4a594c34 6944 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libc.abilist:
2d0fc4dc 6945 Moved ...
4a594c34
AZ
6946 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: ... here.
6947 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libcrypt.abilist:
2d0fc4dc 6948 Moved ...
4a594c34 6949 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libcrypt.abilist:
2d0fc4dc 6950 ... here.
4a594c34 6951 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libdl.abilist:
2d0fc4dc 6952 Moved ...
4a594c34
AZ
6953 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libdl.abilist: ... here.
6954 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libm.abilist:
2d0fc4dc 6955 Moved ...
4a594c34
AZ
6956 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist: ... here.
6957 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libnsl.abilist:
2d0fc4dc 6958 Moved ...
4a594c34 6959 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libnsl.abilist:
2d0fc4dc 6960 ... here.
4a594c34 6961 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libpthread.abilist:
2d0fc4dc 6962 Moved ...
4a594c34 6963 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libpthread.abilist:
2d0fc4dc 6964 ... here.
4a594c34 6965 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libresolv.abilist:
2d0fc4dc 6966 Moved ...
4a594c34 6967 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libresolv.abilist:
2d0fc4dc 6968 ... here.
4a594c34 6969 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/librt.abilist:
2d0fc4dc 6970 Moved ...
4a594c34
AZ
6971 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/librt.abilist: ... here.
6972 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libthread_db.abilist:
2d0fc4dc 6973 Moved ...
4a594c34 6974 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libthread_db.abilist:
2d0fc4dc 6975 ... here.
4a594c34 6976 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libutil.abilist:
2d0fc4dc 6977 Moved ...
4a594c34 6978 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libutil.abilist:
2d0fc4dc 6979 ... here.
4a594c34
AZ
6980 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/c++-types.data: Moved ...
6981 * sysdeps/unix/sysv/linux/tile/tilepro/c++-types.data: ... here.
6982 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/ld.abilist: Moved ...
6983 * sysdeps/unix/sysv/linux/tile/tilepro/ld.abilist: ... here.
6984 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libBrokenLocale.abilist:
2d0fc4dc 6985 Moved ...
4a594c34 6986 * sysdeps/unix/sysv/linux/tile/tilepro/libBrokenLocale.abilist:
2d0fc4dc 6987 ... here.
4a594c34
AZ
6988 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libanl.abilist: Moved ...
6989 * sysdeps/unix/sysv/linux/tile/tilepro/libanl.abilist: ... here.
6990 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libc.abilist: Moved ...
6991 * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: ... here.
6992 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libcrypt.abilist: Moved ...
6993 * sysdeps/unix/sysv/linux/tile/tilepro/libcrypt.abilist: ... here.
6994 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libdl.abilist: Moved ...
6995 * sysdeps/unix/sysv/linux/tile/tilepro/libdl.abilist: ... here.
6996 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libm.abilist: Moved ...
6997 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: ... here.
6998 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libnsl.abilist: Moved ...
6999 * sysdeps/unix/sysv/linux/tile/tilepro/libnsl.abilist: ... here.
7000 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libpthread.abilist:
2d0fc4dc 7001 Moved ...
4a594c34
AZ
7002 * sysdeps/unix/sysv/linux/tile/tilepro/libpthread.abilist: ... here.
7003 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libresolv.abilist:
2d0fc4dc 7004 Moved ...
4a594c34
AZ
7005 * sysdeps/unix/sysv/linux/tile/tilepro/libresolv.abilist: ... here.
7006 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/librt.abilist: Moved ...
7007 * sysdeps/unix/sysv/linux/tile/tilepro/librt.abilist: ... here.
7008 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libthread_db.abilist:
2d0fc4dc 7009 Moved ...
4a594c34
AZ
7010 * sysdeps/unix/sysv/linux/tile/tilepro/libthread_db.abilist: ... here.
7011 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libutil.abilist: Moved ...
7012 * sysdeps/unix/sysv/linux/tile/tilepro/libutil.abilist: ... here.
7013 * sysdeps/unix/sysv/linux/tile/nptl/vfork.S: Moved ...
7014 * sysdeps/unix/sysv/linux/tile/vfork.S: ... here.
7015 * sysdeps/unix/sysv/linux/tile/nptl/waitpid.S: Moved ...
7016 * sysdeps/unix/sysv/linux/tile/waitpid.S: ... here.
2d0fc4dc 7017
0570cfed
W
70182014-06-10 Wilco <wdijkstr@arm.com>
7019
7020 * math/test-fenv-return.c: New file.
7021 * math/Makefile: Add new test test-fenv-return.
7022
f8ba1b56
JM
70232014-06-10 Joseph Myers <joseph@codesourcery.com>
7024
7025 [BZ #17042]
7026 * sysdeps/i386/fpu/e_log2.S (__ieee754_log2): Take absolete value
7027 when x - 1 is zero.
7028 * sysdeps/i386/fpu/e_log2f.S (__ieee754_log2f): Likewise.
7029 * sysdeps/i386/fpu/e_log2l.S (__ieee754_log2l): Likewise.
7030 * sysdeps/ieee754/ldbl-128/e_log2l.c (__ieee754_log2l): Return
7031 0.0L for an argument of 1.0L.
7032 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l):
7033 Likewise.
7034 * sysdeps/x86_64/fpu/e_log2l.S (__ieee754_log2l): Take absolute
7035 value when x - 1 is zero.
7036 * math/libm-test.inc (log2_test): Use ALL_RM_TEST.
7037 * sysdeps/i386/fpu/libm-test-ulps: Update.
7038 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7039
2c3520d9
BO
70402014-06-09 Bernard Ogden <bernie.ogden@linaro.org>
7041
7042 [BZ #15119]
7043 * ports/sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.c: Remove file.
7044
acaa4d24
RM
70452014-06-09 Roland McGrath <roland@hack.frob.com>
7046
7047 * nptl/sysdeps/sh/tls.h (TLS_DEFINE_INIT_TP): New macro.
7048 * nptl/sysdeps/unix/sysv/linux/sh/createthread.c: File removed.
7049
962b744d
RM
70502014-06-09 Roland McGrath <roland@hack.frob.com>
7051
d752f0cc
RM
7052 * sysdeps/m68k/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
7053 * sysdeps/unix/sysv/linux/m68k/nptl/createthread.c: File removed.
7054
34eda6d1
RM
7055 * sysdeps/hppa/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
7056 * sysdeps/unix/sysv/linux/hppa/nptl/createthread.c: File removed.
7057
50f0a637
RM
7058 * sysdeps/mips/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
7059 * sysdeps/unix/sysv/linux/mips/nptl/createthread.c: File removed.
7060
08f41f04
RM
7061 * sysdeps/arm/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
7062 * sysdeps/unix/sysv/linux/arm/createthread.c: File removed.
7063
962b744d
RM
7064 * nptl/sysdeps/pthread/createthread.c (TLS_DEFINE_INIT_TP): New macro,
7065 if not already defined.
7066 (do_clone): Use that in place of PREPARE_CREATE and TLS_VALUE.
7067 * nptl/sysdeps/x86_64/tls.h (TLS_DEFINE_INIT_TP): New macro.
7068 * nptl/sysdeps/i386/tls.h (tls_fill_user_desc): New function.
7069 (TLS_INIT_TP): Use it.
7070 (TLS_DEFINE_INIT_TP): New macro.
7071 * sysdeps/unix/sysv/linux/i386/createthread.c: File removed.
7072
09f19b05
JM
70732014-06-09 Joseph Myers <joseph@codesourcery.com>
7074
7075 * conform/data/termios.h-data [POSIX] (IUCLC): Do not expect
7076 constant.
7077 [POSIX] (IXANY): Likewise.
7078 [POSIX] (OLCUC): Likewise.
7079 [POSIX || POSIX2008] (CBAUD): Do not allow.
7080 [POSIX || POSIX2008] (DEFECHO): Likewise.
7081 [POSIX || POSIX2008] (ECHOCTL): Likewise.
7082 [POSIX || POSIX2008] (ECHOKE): Likewise.
7083 [POSIX || POSIX2008] (ECHOPRT): Likewise.
7084 [POSIX || POSIX2008] (EXTA): Likewise.
7085 [POSIX || POSIX2008] (EXTB): Likewise.
7086 [POSIX || POSIX2008] (FLUSHO): Likewise.
7087 [POSIX || POSIX2008] (LOBLK): Likewise.
7088 [POSIX || POSIX2008] (PENDIN): Likewise.
7089 [POSIX || POSIX2008] (SWTCH): Likewise.
7090 [POSIX || POSIX2008] (VDISCARD): Likewise.
7091 [POSIX || POSIX2008] (VDSUSP): Likewise.
7092 [POSIX || POSIX2008] (VLNEXT): Likewise.
7093 [POSIX || POSIX2008] (VREPRINT): Likewise.
7094 [POSIX || POSIX2008] (VSTATUS): Likewise.
7095 [POSIX || POSIX2008] (VWERASE): Likewise.
7096 (B*): Change to B[0123456789]*.
7097 * conform/data/time.h-data [POSIX || UNIX98]
7098 (CLOCK_PROCESS_CPUTIME_ID): Do not expect constant.
7099 [POSIX || UNIX98] (CLOCK_THREAD_CPUTIME_ID): Likewise.
7100 [POSIX || UNIX98] (CLOCK_MONOTONIC): Likewise.
7101 [POSIX] (tm_*): Do not allow.
7102
686554bf
JM
71032014-06-07 Joseph Myers <joseph@codesourcery.com>
7104
7105 * Makefile (install): Don't set LANGUAGE.
7106 * Makefile.in (install): Likewise.
7107 * assert/Makefile (test-assert-ENV): Remove variable.
7108 (test-assert-perr-ENV): Likewise.
7109 * elf/Makefile (neededtest4-ENV): Likewise.
7110 * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
7111 [$(cross-compiling) = no]: Don't set LANGUAGE.
7112 * io/ftwtest-sh (LANG): Remove variable.
7113 * libio/Makefile (tst-widetext-ENV): Likewise.
7114 * manual/install.texi (Running make install): Don't refer to
7115 environment settings for make install.
7116 * INSTALL: Regenerated.
7117 * nptl/tst-tls6.sh: Don't set LANG.
7118 * posix/globtest.sh (LANG): Remove variable.
7119 * string/Makefile (tester-ENV): Likewise.
7120 (inl-tester-ENV): Likewise.
7121 (noinl-tester-ENV): Likewise.
7122 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
7123 [$(cross-compiling) = no]: Don't set LANGUAGE.
7124 * timezone/Makefile (build-testdata): Use $(built-program-cmd)
7125 without explicit environment settings.
7126
68e6b6b1
RM
71272014-06-06 Roland McGrath <roland@hack.frob.com>
7128
7129 * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h: Moved ...
7130 * sysdeps/sh/nptl/bits/pthreadtypes.h: ... here.
7131 * nptl/sysdeps/unix/sysv/linux/sh/bits/semaphore.h: Moved ...
7132 * sysdeps/sh/nptl/bits/semaphore.h: ... here.
7133
4d3ae034
CM
71342014-06-06 Chris Metcalf <cmetcalf@tilera.com>
7135
7136 * crypt/crypt-private.h [DOS]: Add some includes taken from the
7137 other files in the crypt directory.
7138 * crypt/crypt.c: Remove duplicate includes.
7139 * crypt/crypt-entry.c: Likewise.
7140 * crypt/crypt_util.c: Likewise.
7141
8540f6d2
JM
71422014-06-06 Joseph Myers <joseph@codesourcery.com>
7143
7144 * Makeconfig (run-program-env): New variable.
7145 (run-program-prefix-before-env): Likewise.
7146 (run-program-prefix-after-env): Likewise.
7147 (run-program-prefix): Define in terms of new variables.
7148 (built-program-cmd-before-env): New variable.
7149 (built-program-cmd-after-env): Likewise.
7150 (built-program-cmd): Define in terms of new variables.
7151 (test-program-prefix-before-env): New variable.
7152 (test-program-prefix-after-env): Likewise.
7153 (test-program-prefix): Define in terms of new variables.
7154 (test-program-cmd-before-env): New variable.
7155 (test-program-cmd-after-env): Likewise.
7156 (test-program-cmd): Define in terms of new variables.
7157 * Rules (make-test-out): Use $(run-program-env).
7158 * scripts/cross-test-ssh.sh (env_blacklist): Remove variable.
7159 (help): Do not mention environment variables. Mention
7160 --timeoutfactor option.
7161 (timeoutfactor): New variable.
7162 (blacklist_exports): Remove function.
7163 (exports): Remove variable.
7164 (command): Do not include ${exports}.
7165 * manual/install.texi (Configuring and compiling): Do not mention
7166 test wrappers preserving environment variables. Mention that last
7167 assignment to a variable must take precedence.
7168 * INSTALL: Regenerated.
7169 * benchtests/Makefile (run-bench): Use $(run-program-env).
7170 * catgets/Makefile ($(objpfx)test1.cat): Use
7171 $(built-program-cmd-before-env), $(run-program-env) and
7172 $(built-program-cmd-after-env).
7173 ($(objpfx)test2.cat): Do not specify environment variables
7174 explicitly.
7175 ($(objpfx)de/libc.cat): Use $(built-program-cmd-before-env),
7176 $(run-program-env) and $(built-program-cmd-after-env).
7177 ($(objpfx)test-gencat.out): Use $(test-program-cmd-before-env),
7178 $(run-program-env) and $(test-program-cmd-after-env).
7179 ($(objpfx)sample.SJIS.cat): Do not specify environment variables
7180 explicitly.
7181 * catgets/test-gencat.sh: Use test_program_cmd_before_env,
7182 run_program_env and test_program_cmd_after_env arguments.
7183 * elf/Makefile ($(objpfx)tst-pathopt.out): Use $(run-program-env).
7184 * elf/tst-pathopt.sh: Use run_program_env argument.
7185 * iconvdata/Makefile ($(objpfx)iconv-test.out): Use
7186 $(test-wrapper-env) and $(run-program-env).
7187 * iconvdata/run-iconv-test.sh: Use test_wrapper_env and
7188 run_program_env arguments.
7189 * iconvdata/tst-table.sh: Do not set GCONV_PATH explicitly.
7190 * intl/Makefile ($(objpfx)tst-gettext.out): Use
7191 $(test-program-prefix-before-env), $(run-program-env) and
7192 $(test-program-prefix-after-env).
7193 ($(objpfx)tst-gettext2.out): Likewise.
7194 * intl/tst-gettext.sh: Use test_program_prefix_before_env,
7195 run_program_env and test_program_prefix_after_env arguments.
7196 * intl/tst-gettext2.sh: Likewise.
7197 * intl/tst-gettext4.sh: Do not set environment variables
7198 explicitly.
7199 * intl/tst-gettext6.sh: Likewise.
7200 * intl/tst-translit.sh: Likewise.
7201 * malloc/Makefile ($(objpfx)tst-mtrace.out): Use
7202 $(test-program-prefix-before-env), $(run-program-env) and
7203 $(test-program-prefix-after-env).
7204 * malloc/tst-mtrace.sh: Use test_program_prefix_before_env,
7205 run_program_env and test_program_prefix_after_env arguments.
7206 * math/Makefile (run-regen-ulps): Use $(run-program-env).
7207 * nptl/Makefile ($(objpfx)tst-tls6.out): Use $(run-program-env).
7208 * nptl/tst-tls6.sh: Use run_program_env argument. Set LANG=C
7209 explicitly with each use of ${test_wrapper_env}.
7210 * posix/Makefile ($(objpfx)wordexp-tst.out): Use
7211 $(test-program-prefix-before-env), $(run-program-env) and
7212 $(test-program-prefix-after-env).
7213 * posix/tst-getconf.sh: Do not set environment variables
7214 explicitly.
7215 * posix/wordexp-tst.sh: Use test_program_prefix_before_env,
7216 run_program_env and test_program_prefix_after_env arguments.
7217 * stdio-common/tst-printf.sh: Do not set environment variables
7218 explicitly.
7219 * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Use
7220 $(test-program-prefix-before-env), $(run-program-env) and
7221 $(test-program-prefix-after-env).
7222 * stdlib/tst-fmtmsg.sh: Use test_program_prefix_before_env,
7223 run_program_env and test_program_prefix_after_env arguments.
7224 Split $test calls into $test_pre and $test.
7225 * timezone/Makefile (build-testdata): Use
7226 $(built-program-cmd-before-env), $(run-program-env) and
7227 $(built-program-cmd-after-env).
7228
ed36bfa1
AZ
72292014-06-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7230
7231 * sysdeps/powerpc/powerpc64/power7/strncat.S [STRLEN]: Define it as
7232 strlen for non SHARED builds.
7233
fc75bf46
SP
72342014-06-05 Siddhesh Poyarekar <siddhesh@redhat.com>
7235
7236 * nptl/allocatestack.c (check_list): Inlined function...
7237 (__reclaim_stacks): ... here.
7238
d89b3d80
OB
72392014-06-05 Ondřej Bílka <neleai@seznam.cz>
7240
7241 [BZ #15698]
7242 * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Fix
7243 memory overrun.
7244
2bf18041
JM
72452014-06-05 Joseph Myers <joseph@codesourcery.com>
7246
7247 * Rules (make-test-out): Include
7248 LOCPATH=$(common-objpfx)localedata in default environment.
7249 * debug/Makefile (tst-chk1-ENV): Remove variable.
7250 (tst-chk2-ENV): Likewise.
7251 (tst-chk3-ENV): Likewise.
7252 (tst-chk4-ENV): Likewise.
7253 (tst-chk5-ENV): Likewise.
7254 (tst-chk6-ENV): Likewise.
7255 (tst-lfschk1-ENV): Likewise.
7256 (tst-lfschk2-ENV): Likewise.
7257 (tst-lfschk3-ENV): Likewise.
7258 (tst-lfschk4-ENV): Likewise.
7259 (tst-lfschk5-ENV): Likewise.
7260 (tst-lfschk6-ENV): Likewise.
7261 * iconvdata/Makefile (bug-iconv6-ENV): Likewise.
7262 (tst-iconv7-ENV): Likewise.
7263 * intl/Makefile (LOCPATH-ENV): Likewise.
7264 (tst-codeset-ENV): Likewise.
7265 (tst-gettext3-ENV): Likewise.
7266 (tst-gettext5-ENV): Likewise.
7267 * libio/Makefile (tst-widetext-ENV): Don't set LOCPATH.
7268 (tst-fopenloc-ENV): Likewise.
7269 (tst-fgetws-ENV): Remove variable.
7270 (tst-ungetwc1-ENV): Likewise.
7271 (tst-ungetwc2-ENV): Likewise.
7272 (bug-ungetwc2-ENV): Likewise.
7273 (tst-swscanf-ENV): Likewise.
7274 (bug-ftell-ENV): Likewise.
7275 (tst-fgetwc-ENV): Likewise.
7276 (tst-fseek-ENV): Likewise.
7277 (tst-ftell-partial-wide-ENV): Likewise.
7278 (tst-ftell-active-handler-ENV): Likewise.
7279 (tst-ftell-append-ENV): Likewise.
7280 * posix/Makefile (tst-fnmatch-ENV): Likewise.
7281 (tst-regexloc-ENV): Likewise.
7282 (bug-regex1-ENV): Likewise.
7283 (tst-regex-ENV): Likewise.
7284 (tst-regex2-ENV): Likewise.
7285 (bug-regex5-ENV): Likewise.
7286 (bug-regex6-ENV): Likewise.
7287 (bug-regex17-ENV): Likewise.
7288 (bug-regex18-ENV): Likewise.
7289 (bug-regex19-ENV): Likewise.
7290 (bug-regex20-ENV): Likewise.
7291 (bug-regex22-ENV): Likewise.
7292 (bug-regex23-ENV): Likewise.
7293 (bug-regex25-ENV): Likewise.
7294 (bug-regex26-ENV): Likewise.
7295 (bug-regex30-ENV): Likewise.
7296 (bug-regex32-ENV): Likewise.
7297 (bug-regex33-ENV): Likewise.
7298 (bug-regex34-ENV): Likewise.
7299 (bug-regex35-ENV): Likewise.
7300 (tst-rxspencer-ENV): Likewise.
7301 (tst-rxspencer-no-utf8-ENV): Likewise.
7302 * stdio-common/Makefile (tst-sprintf-ENV): Likewise.
7303 (tst-sscanf-ENV): Likewise.
7304 (tst-swprintf-ENV): Likewise.
7305 (tst-swscanf-ENV): Likewise.
7306 (test-vfprintf-ENV): Likewise.
7307 (scanf13-ENV): Likewise.
7308 (bug14-ENV): Likewise.
7309 (tst-grouping-ENV): Likewise.
7310 * stdlib/Makefile (tst-strtod-ENV): Likewise.
7311 (tst-strtod3-ENV): Likewise.
7312 (tst-strtod4-ENV): Likewise.
7313 (tst-strtod5-ENV): Likewise.
7314 (testmb2-ENV): Likewise./
7315 * string/Makefile (tst-strxfrm-ENV): Likewise.
7316 (tst-strxfrm2-ENV): Likewise.
7317 (bug-strcoll1-ENV): Likewise.
7318 (test-strcasecmp-ENV): Likewise.
7319 (test-strncasecmp-ENV): Likewise.
7320 * time/Makefile (tst-strptime-ENV): Likewise.
7321 (tst-ftime_l-ENV): Likewise.
7322 * wcsmbs/Makefile (tst-btowc-ENV): Likewise.
7323 (tst-mbrtowc-ENV): Likewise.
7324 (tst-wcrtomb-ENV): Likewise.
7325 (tst-mbrtowc2-ENV): Likewise.
7326 (tst-c16c32-1-ENV): Likewise.
7327 (tst-mbsnrtowcs-ENV): Likewise.
7328
cd1fb604
OB
73292014-06-05 Ondřej Bílka <neleai@seznam.cz>
7330
7331 * manual/resource.texi (How to get information about the memory
7332 subsystem?): Fix typo.
7333 Reported by Peon de la Parra Ivan <peon@keba.com>
7334
b42eca7d
GY
73352014-06-03 Guo Yixuan <culu.gyx@gmail.com>
7336
7337 [BZ #16882]
7338 * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S
7339 (pthread_spin_lock): Branch out of spin loop to proper location.
7340 * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S
7341 (pthread_spin_lock): Likewise.
7342
902b71f9
DM
7343 * nptl/tst-spin4.c: New test.
7344 * nptl/Makefile (tests): Add tst-spin4.
7345
f9d2d032
AS
73462014-06-03 Andreas Schwab <schwab@suse.de>
7347
7348 [BZ #15946]
7349 * resolv/res_send.c (send_dg): Reload file descriptor after
7350 calling reopen.
7351
cf7bfd28
SL
73522014-06-03 Stefan Liebler <stli@linux.vnet.ibm.com>
7353
7354 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
7355
111cc714
RH
73562014-06-03 Richard Henderson <rth@redhat.com>
7357
89b4bd6b
RH
7358 * sysdeps/unix/sysv/linux/aarch64/pt-vfork.c: New file.
7359 * sysdeps/unix/sysv/linux/aarch64/nptl/pt-vfork.S: Remove file.
7360 * sysdeps/unix/sysv/linux/aarch64/vfork.S (__vfork): Incorporate
7361 SAVE_PID and RESTORE_PID blocks from pt-vfork.S. Map 0 to INT_MIN
7362 in the SAVE_PID block.
7363 (__libc_vfork): New alias.
71840409 7364 * sysdeps/unix/sysv/linux/aarch64/nptl/vfork.S: Remove file.
89b4bd6b 7365
111cc714
RH
7366 * sysdeps/unix/sysv/linux/aarch64/clone.S (__clone): Save args for
7367 child in registers, not on the stack. Remove RESET_PID conditionals.
7368 * sysdeps/unix/sysv/linux/aarch64/nptl/clone.S: Remove file.
7369
ccc39911
MS
73702014-06-03 Marcus Shawcroft <marcus.shawcroft@arm.com>
7371
7372 * sysdeps/aarch64/libm-test-ulps: Regenerate.
7373
693096cc
W
73742014-06-03 Wilco <wdijkstr@arm.com>
7375
7376 * sysdeps/aarch64/fpu/math_private.h (libc_fesetround_aarch64)
7377 (libc_feholdexcept_setround_aarch64) (libc_feholdsetround_aarch64)
7378 (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
7379 Use _FPU_FPCR_RM_MASK for rounding mask rather than FE_TOWARDZERO.
7380 * sysdeps/aarch64/fpu/get-rounding-mode.h (get_rounding_mode):
7381 Likewise.
7382
0b4366bc
W
73832014-06-03 Wilco <wdijkstr@arm.com>
7384
7385 * sysdeps/aarch64/fpu/math_private.h
7386 (libc_feholdexcept_aarch64) (libc_feholdexcept_setround_aarch64)
7387 (libc_fetestexcept_aarch64) (libc_fesetenv_aarch64)
7388 (libc_feupdateenv_test_aarch64) (libc_feholdsetround_aarch64)
7389 (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
7390 Fix declarations.
7391
8747cd03
KS
73922014-06-03 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
7393
7394 * crypt/crypt-private.h: Include ufc-crypt.h.
7395 (__b64_from_24bit): Declare extern.
7396 * crypt/crypt_util.c(__b64_from_24bit): New function.
7397 (b64t): New static const variable.
7398 * crypt/md5-crypt.c (b64_from_24bit): Remove function.
7399 (b64t): Remove variable.
7400 (__md5_crypt_r): Replace b64_from_24bit with __b64_from_24bit.
7401 * crypt/sha256-crypt.c: Include crypt-private.h.
7402 (b64t): Remove variable.
7403 (__sha256_crypt_r): Remove b64_from_24bit and replace
7404 with __b64_from_24bit.
7405 * crypt/sha512-crypt.c: Likewise.
7406
d936d379
RM
74072014-06-02 Roland McGrath <roland@hack.frob.com>
7408
7409 * nptl/sysdeps/unix/sysv/linux/sh/vfork.S: Moved ...
7410 * sysdeps/unix/sysv/linux/sh/vfork.S: ... here.
7411 Label the code __libc_vfork rather than __vfork.
7412 [!NOT_IN_libc] (vfork): Define as weak alias.
7413 [!NOT_IN_libc] (__vfork): Define as strong alias, and libc_hidden_def.
7414 * sysdeps/unix/sysv/linux/sh/pt-vfork.S: New file.
7415 * nptl/sysdeps/unix/sysv/linux/sh/pt-vfork.S: File removed.
7416
9fa76613
SP
74172014-06-02 Siddhesh Poyarekar <siddhesh@redhat.com>
7418
7419 * malloc/malloc.c (malloc_info): Fix format specifier for
7420 n_mmaps.
7421
a88dadbe
W
74222014-06-02 Wilco <wdijkstr@arm.com>
7423
7424 * sysdeps/aarch64/fpu/fpu_control.h (_FPU_SETCW): Remove ISB after
7425 FPCR write.
7426
c95b3011
W
74272014-06-02 Wilco <wdijkstr@arm.com>
7428
7429 [BZ #17009]
7430 * sysdeps/aarch64/fpu/feupdateenv (feupdateenv):
7431 Rewrite to reduce FPCR/FPSR accesses.
7432
6b4d7a90
DM
74332014-06-01 David S. Miller <davem@davemloft.net>
7434
7435 * sysdeps/sparc/fpu/libm-test-ulps: Update.
7436
30f3d07c
DM
74372014-05-31 David S. Miller <davem@davemloft.net>
7438
7439 * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Force computations
7440 to occur in round to nearest mode when |x| >= 2.0
7441
74f31c18
RH
74422014-05-30 Richard Henderson <rth@twiddle.net>
7443
f0712b54
RH
7444 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Remove.
7445 (PSEUDO_RET_NOERRNO): Remove.
7446 (ret): Don't redefine.
7447 (ret_NOERRNO): Define in terms of ret.
7448 (ret_ERRVAL): Likewise.
7449
74f31c18
RH
7450 * sysdeps/unix/sysv/linux/aarch64/ioctl.S (__ioctl): Remove the
7451 use of PSEUDO_RET; perform the error check directly.
7452
30477995
MM
74532014-05-30 Marko Myllynen <myllynen@redhat.com>
7454
7455 * sysdeps/x86_64/link-defines.sym (BND_SIZE): Replace __int128
7456 with __int128_t.
7457
62a58816
SP
74582014-05-30 Siddhesh Poyarekar <siddhesh@redhat.com>
7459
7460 * malloc/malloc (malloc_info): Fix formatting.
7461
4d653a59
SP
74622014-05-30 Siddhesh Poyarekar <siddhesh@redhat.com>
7463 Roland McGrath <roland@hack.frob.com>
7464
7465 * malloc/malloc (malloc_info): Also print mmapped statistics.
7466
5190c17f
RM
74672014-05-30 Roland McGrath <roland@hack.frob.com>
7468
7469 * sysdeps/unix/sysv/linux/m68k/arch-fork.h: New file.
7470 * sysdeps/unix/sysv/linux/m68k/nptl/fork.c: File removed.
7471
987c0269
OB
74722014-05-30 Ondřej Bílka <neleai@seznam.cz>
7473
7474 * malloc/malloc.c (malloc_info): Inline mi_arena.
7475
af4e8ef9
RH
74762014-05-29 Richard Henderson <rth@twiddle.net>
7477
1670e207
RH
7478 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (INTERNAL_VSYSCALL_NCS):
7479 Remove comma before expanding ASM_ARGS_##nr.
7480 (INTERNAL_SYSCALL_RAW): Make _sys_result signed, instead of casting.
7481 Make _x0 a strict output; make _x8 a strict input; adjust expansion
7482 of ASM_ARGS_##nr.
7483 (CLOBBER_ARGS_0, CLOBBER_ARGS_1, CLOBBER_ARGS_2): Remove.
7484 (CLOBBER_ARGS_3, CLOBBER_ARGS_4, CLOBBER_ARGS_5): Remove.
7485 (CLOBBER_ARGS_6, CLOBBER_ARGS_7): Remove.
7486 (ASM_ARGS_1): Add leading comma.
7487
11a28aee
RH
7488 * sysdeps/unix/sysv/linux/aarch64/sysdep.h [NOT_IN_libc]
7489 (SYSCALL_ERROR_HANDLER): Use tpidr_el0 instead of a call
7490 to __errno_location.
7491 * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data (libpthread.so):
7492 Remove the expected plt for __errno_location.
7493
a17e5ffb 7494 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
11a28aee 7495 [NOT_IN_libc] (SINGLE_THREAD_P): Use tpidr_el0 instead of a
a17e5ffb
RH
7496 call to __read_tp.
7497
b5be4597
RH
7498 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
7499 Always allocate 64 bytes of stack frame. Use ldp/stp to create
7500 it and break it down.
7501 (DOCARGS_0, DOCARGS_1): Do nothing.
7502 (DOCARGS_2): Update to store into the new stack frame.
7503 (DOCARGS_3, DOCARGS_4, DOCARGS_5, DOCARGS_6): Likewise.
7504 (UNDOCARGS_1): Update to restore from the new stack frame.
7505 (UNDOCARGS_2, UNDOCARGS_3, UNDOCARGS_4): Likewise.
7506 (UNDOCARGS_5, UNDOCARGS_6): Likewise.
7507
645d44ab
RH
7508 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
7509 (SINGLE_THREAD_P): New parameter for result regno.
7510 (PSEUDO): Update to match; use cbz instead of beq.
7511
a8b4f04a
RH
7512 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
7513 Use ENTRY to define the _nocancel entry point. Share the syscall
7514 and syscall error check paths with the cancel path.
7515 (PSEUDO_END): New.
7516
af4e8ef9
RH
7517 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Adjust
7518 whitespace; tabs before and after asm mnemonics.
7519
26b0d2e1
EW
75202014-05-29 Eric Wong <normalperson@yhbt.net>
7521
7522 [BZ #15132]
7523 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
7524 Call fstat64 or stat64 internally, depending on arguments passed.
7525 Replace stat buffer argument with file descriptor argument.
7526 (INTERNAL_STATVFS): Update arguments to match __statvfs_getflags.
7527 * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
7528 Pass fd to __internal_statvfs instead of calling fstat64.
7529 * sysdeps/unix/sysv/linux/fstatvfs64.c (__fstatvfs64):
7530 Pass fd to __internal_statvfs64 instead of calling fstat64.
7531 * sysdeps/unix/sysv/linux/statvfs.c (statvfs):
7532 Pass -1 to __internal_statvfs instead of calling stat64.
7533 * sysdeps/unix/sysv/linux/statvfs64.c (__statvfs64):
7534 Pass -1 to __internal_statvfs64 instead of calling stat64.
7535
1efe2bd9
RM
75362014-05-28 Roland McGrath <roland@hack.frob.com>
7537
0d3b7a19
RM
7538 * sysdeps/unix/sysv/linux/sh/clone.S: Deconditionalize the code
7539 that was previously under [RESET_PID].
7540 * nptl/sysdeps/unix/sysv/linux/sh/clone.S: File removed.
7541
1efe2bd9
RM
7542 * sysdeps/unix/sysv/linux/tile/arch-fork.h: New file.
7543 * sysdeps/unix/sysv/linux/tile/nptl/fork.c: File removed.
7544
a6bea3ca
RM
75452014-05-27 Roland McGrath <roland@hack.frob.com>
7546
30b6629e
RM
7547 * sysdeps/unix/sysv/linux/ia64/arch-fork.h: New file.
7548
a6bea3ca
RM
7549 * sysdeps/unix/sysv/linux/sh/arch-fork.h: New file.
7550 * nptl/sysdeps/unix/sysv/linux/sh/fork.c: File removed.
7551
3dfb9a5c
OB
75522014-05-27 Ondřej Bílka <neleai@seznam.cz>
7553
7554 * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate code.
7555
774f9285
AS
75562014-05-27 Andreas Schwab <schwab@suse.de>
7557
7558 * csu/libc-tls.c (__libc_setup_tls): Remove second argument from
7559 TLS_INIT_TP macro.
7560 * elf/dl-load.c (_dl_map_object_from_fd): Likewise.
7561 * elf/rtld.c (init_tls, dl_main): Likewise.
7562 * nptl/sysdeps/i386/tls.h (TLS_INIT_TP): Likewise.
7563 * nptl/sysdeps/powerpc/tls.h (TLS_INIT_TP): Likewise.
7564 * nptl/sysdeps/s390/tls.h (TLS_INIT_TP): Likewise.
7565 * nptl/sysdeps/sh/tls.h (TLS_INIT_TP): Likewise.
7566 * nptl/sysdeps/sparc/tls.h (TLS_INIT_TP): Likewise.
7567 * nptl/sysdeps/x86_64/tls.h (TLS_INIT_TP): Likewise.
7568 * sysdeps/aarch64/nptl/tls.h (TLS_INIT_TP): Likewise.
7569 * sysdeps/alpha/nptl/tls.h (TLS_INIT_TP): Likewise.
7570 * sysdeps/arm/nptl/tls.h (TLS_INIT_TP): Likewise.
7571 * sysdeps/hppa/nptl/tls.h (TLS_INIT_TP): Likewise.
7572 * sysdeps/ia64/nptl/tls.h (TLS_INIT_TP): Likewise.
7573 * sysdeps/m68k/nptl/tls.h (TLS_INIT_TP): Likewise.
7574 * sysdeps/mach/hurd/i386/tls.h (_hurd_tls_init): Likewise.
7575 * sysdeps/microblaze/nptl/tls.h (TLS_INIT_TP): Likewise.
7576 * sysdeps/mips/nptl/tls.h (TLS_INIT_TP): Likewise.
7577 * sysdeps/tile/nptl/tls.h (TLS_INIT_TP): Likewise.
7578 * sysdeps/generic/tls.h: Update description.
7579
36ffe739
WN
75802014-05-27 Will Newton <will.newton@linaro.org>
7581
7582 [BZ #16990]
7583 * sysdeps/arm/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Save
7584 and restore r2 rather than just restoring.
7585
2482ae43
SP
75862014-05-27 Siddhesh Poyarekar <siddhesh@redhat.com>
7587
7588 [BZ #16724]
7589 * libio/tst-ftell-append.c: New test case.
7590 * libio/Makefile (tests): Add test case.
7591 * libio/fileops.c (do_ftell): Don't trust _IO_read_end when in
7592 append mode.
7593 * libio/wfileops.c (do_ftell_wide): Likewise.
7594
3d1024e8
AZ
75952014-05-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7596
bab90016
AZ
7597 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
7598
c7a8d667
AZ
7599 * nptl/sysdeps/unix/sysv/linux/powerpc/Versions: Remove, merge into
7600 ...
7601 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions: ... here.
7602 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
7603 * nptl/sysdeps/unix/sysv/linux/powerpc/Makefile: Moved rules to ...
7604 * sysdeps/unix/sysv/linux/powerpc/Makefile: ... here.
7605 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: Moved ...
7606 * sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: ... here.
7607 * nptl/sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Moved ...
7608 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: ...here.
7609 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h:
7610 Moved ...
7611 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: ... here.
7612 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h:
7613 Moved ...
7614 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: ... here.
7615 * nptl/sysdeps/unix/sysv/linux/powerpc/createthread.c: Moved ...
7616 * sysdeps/unix/sysv/linux/powerpc/createthread.c: ... here.
7617 * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Moved ...
7618 * sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: ... here.
7619 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: Moved
7620 ...
7621 * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: ... here.
7622 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c:
7623 Moved ...
7624 * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c: ...
7625 here.
7626 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: Moved
7627 ...
7628 * sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: ... here.
7629 * nptl/sysdeps/unix/sysv/linux/powerpc/sem_post.c: Moved ...
7630 * sysdeps/unix/sysv/linux/powerpc/sem_post.c: ... here.
7631
daee7851
AZ
7632 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Moved ...
7633 * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: ... here.
7634 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: Moved ...
7635 * sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: ... here.
7636
50a40819
AZ
7637 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Remove,
7638 merge into ...
7639 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: ... here.
7640 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: Moved
7641 ...
7642 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: ... here.
7643 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: Moved
7644 ...
7645 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: ... here.
7646 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
7647 Moved ...
7648 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c: ...
7649 here.
7650 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
7651 Moved ...
7652 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c: ... here.
7653 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
7654 Moved ...
7655 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c: ... here.
7656
8464c2a1
AZ
7657 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Remove
7658 conditional [RESET_PID].
7659 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Likewise.
7660 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: File
7661 removed.
7662 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: File
7663 removed.
7664
3d1024e8
AZ
7665 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Include
7666 <tcb-offsets.h>.
7667 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
7668 (__libc_vfork): New strong alias.
7669 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/pt-vfork.S: File
7670 removed.
7671 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: File
7672 Removed.
7673
7674 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Include
7675 <tcb-offsets.h>.
7676 (__vfork): Incorporate save/retore of PID from nptl/vfork.S here.
7677 (__libc_vfork): New strong alias.
7678 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/pt-vfork.S: File
7679 removed.
7680 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: File
7681 removed.
7682
fdfd175d
CD
76832014-05-26 Carlos O'Donell <carlos@redhat.com>
7684
7685 * malloc/malloc.c (mi_arena): New function.
7686 (malloc_info): Remove nested function mi_arena. Call non-nosted
7687 function mi_arena.
7688
d298c416
AZ
76892014-05-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7690
7691 * sysdeps/powerpc/powerpc32/power4/memset.S (memset): Replace insrdi
7692 by insrwi.
7693 * sysdeps/powerpc/powerpc32/power6/memset.S (memset): Likewise.
7694 * sysdeps/powerpc/powerpc32/power7/memset.S (memset): Likewise.
7695 * sysdeps/powerpc/powerpc32/power7/memchr.S (memchr): Likewise.
7696 * sysdeps/powerpc/powerpc32/power7/memrchr.S (memrchr): Likewise.
7697 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S (rawmemchr): Likewise.
7698 * sysdeps/powerpc/powerpc32/power7/strchr.S (strchr): Likewise.
7699 * sysdeps/powerpc/powerpc32/power7/strchrnul.S (strchrnul): Likewise.
7700
b60ea6ff
AS
77012014-05-26 Andreas Schwab <schwab@suse.de>
7702
7703 [BZ #16984]
7704 * locale/programs/repertoire.c (repertoire_read): Add slash
7705 between I18NPATH element and file name.
7706 * locale/programs/locfile.c (locfile_read): Likewise.
7707
67365926
SL
77082014-05-26 Stefan Liebler <stli@linux.vnet.ibm.com>
7709
7710 * nptl/pthread_mutexattr_settype.c
7711 (__pthread_mutexattr_settype):
7712 Disable lock elision for PTHREAD_MUTEX_NORMAL.
7713
f8bdf1f0
SL
77142014-05-26 Stefan Liebler <stli@linux.vnet.ibm.com>
7715
7716 * nptl/tst-mutex5 (do_test):
7717 Use #ifndef ENABLE_LOCK_ELISION instead of #ifdef.
7718
15eaf6ff
SP
77192014-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
7720
7721 * benchtests/README: Document 'init' directive.
7722 * benchtests/bench-skeleton.c (main) [BENCH_INIT]: Call
7723 BENCH_INIT.
7724 * scripts/bench.py (gen_source): Define BENCH_INIT macro.
7725 (parse_file): Recognize 'init' directive.
7726
75f11331
KM
77272014-05-26 Kyle McMartin <kyle@redhat.com>
7728
7729 [BZ #16796]
7730 * sysdeps/aarch64/nptl/tls.h: increase TCB alignment to the
7731 alignment of struct pthread.
7732
c3ec475c
SP
77332014-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
7734
7735 [BZ #16878]
7736 * nscd/netgroupcache.c (addgetnetgrentX): Look for
7737 NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
7738 * nscd/nss_files/files-netgrp.c (_nss_netgroup_parseline): Use
7739 NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
7740
82aab97c
RH
77412014-05-25 Richard Henderson <rth@twiddle.net>
7742
aa2f176d
RH
7743 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
7744 (SINGLE_THREAD_P_PIC): Remove.
7745 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h
7746 (SINGLE_THREAD_P_PIC): Remove.
7747
ca3cfa40
RH
7748 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Move
7749 branch to syscall error ...
7750 (PSEUDO): ... here.
7751 [NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Rename the label
7752 from __local_syscall_error to .Lsyscall_error.
7753 [!NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Branch to __syscall_error.
7754 (SYSCALL_ERROR): Update label name.
7755
6e6c2d01
RH
7756 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
7757 Do not use DOARGS/UNDOARGS.
7758 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Likewise.
7759 (DOARGS_0, DOARGS_1, DOARGS_2, DOARGS_3): Remove.
7760 (DOARGS_4, DOARGS_5, DOARGS_6, DOARGS_7): Remove.
7761 (UNDOARGS_0, UNDOARGS_1, UNDOARGS_2, UNDOARGS_3): Remove.
7762 (UNDOARGS_4, UNDOARGS_5, UNDOARGS_6, UNDOARGS_7): Remove.
7763
c69abcee
RH
7764 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Fix
7765 block comment.
7766
82aab97c
RH
7767 * sysdeps/unix/sysv/linux/alpha/vfork.S (vfork, __vfork): Only
7768 define if !NOT_IN_libc.
7769 * sysdeps/unix/sysv/linux/alpha/pt-vfork.S (vfork, __vfork): Only
7770 define with non-default symbol versions.
7771
8820e3ac
RH
77722014-05-23 Richard Henderson <rth@twiddle.net>
7773
900e445f
RH
7774 * nptl/pt-vfork.c (vfork_resolve): Rename from vfork_ifunc.
7775 (vfork, __vfork): Define via compat_symbol.
7776
8820e3ac
RH
7777 * nptl/pt-vfork.c: Error if !HAVE_IFUNC.
7778 [!HAVE_IFUNC] (vfork_compat): Remove.
7779 [!HAVE_IFUNC] (DEFINE_VFORK): Remove.
7780
e59252a5
JM
77812014-05-23 Joseph Myers <joseph@codesourcery.com>
7782
7783 [BZ #16978]
7784 * posix/tar.h [!__USE_XOPEN2K] (TSVTX): Define macro.
7785 * conform/Makefile (test-xfail-POSIX/tar.h/conform): Remove
7786 variable.
7787
132c7f5f
RH
77882014-05-23 Richard Henderson <rth@twiddle.net>
7789
bc89e962
RH
7790 * sysdeps/unix/sysv/linux/alpha/nptl/Makefile: Merge into...
7791 * sysdeps/unix/sysv/linux/alpha/Makefile: ... here.
7792 * sysdeps/unix/sysv/linux/alpha/nptl/Versions: Merge into...
7793 * sysdeps/unix/sysv/linux/alpha/Versions: ... here.
7794
7795 * sysdeps/unix/sysv/linux/alpha/nptl/aio_cancel.c: Moved ...
7796 * sysdeps/unix/sysv/linux/alpha/aio_cancel.c: ... here.
7797 * sysdeps/unix/sysv/linux/alpha/nptl/bits/local_lim.h: Moved ...
7798 * sysdeps/unix/sysv/linux/alpha/bits/local_lim.h: ... here.
7799 * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h: Moved ...
7800 * sysdeps/unix/sysv/linux/alpha/bits/pthreadtypes.h: ... here.
7801 * sysdeps/unix/sysv/linux/alpha/nptl/bits/semaphore.h: Moved ...
7802 * sysdeps/unix/sysv/linux/alpha/bits/semaphore.h: ... here.
7803 * sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data: Moved ...
7804 * sysdeps/unix/sysv/linux/alpha/c++-types.data: ... here.
7805 * sysdeps/unix/sysv/linux/alpha/nptl/createthread.c: Moved ...
7806 * sysdeps/unix/sysv/linux/alpha/createthread.c: ... here.
7807 * sysdeps/unix/sysv/linux/alpha/nptl/ld.abilist: Moved ...
7808 * sysdeps/unix/sysv/linux/alpha/ld.abilist: ... here.
7809 * sysdeps/unix/sysv/linux/alpha/nptl/libBrokenLocale.abilist: Moved ...
7810 * sysdeps/unix/sysv/linux/alpha/libBrokenLocale.abilist: ... here.
7811 * sysdeps/unix/sysv/linux/alpha/nptl/libanl.abilist: Moved ...
7812 * sysdeps/unix/sysv/linux/alpha/libanl.abilist: ... here.
7813 * sysdeps/unix/sysv/linux/alpha/nptl/libc.abilist: Moved ...
7814 * sysdeps/unix/sysv/linux/alpha/libc.abilist: ... here.
7815 * sysdeps/unix/sysv/linux/alpha/nptl/libcrypt.abilist: Moved ...
7816 * sysdeps/unix/sysv/linux/alpha/libcrypt.abilist: ... here.
7817 * sysdeps/unix/sysv/linux/alpha/nptl/libdl.abilist: Moved ...
7818 * sysdeps/unix/sysv/linux/alpha/libdl.abilist: ... here.
7819 * sysdeps/unix/sysv/linux/alpha/nptl/libm.abilist: Moved ...
7820 * sysdeps/unix/sysv/linux/alpha/libm.abilist: ... here.
7821 * sysdeps/unix/sysv/linux/alpha/nptl/libnsl.abilist: Moved ...
7822 * sysdeps/unix/sysv/linux/alpha/libnsl.abilist: ... here.
7823 * sysdeps/unix/sysv/linux/alpha/nptl/libpthread.abilist: Moved ...
7824 * sysdeps/unix/sysv/linux/alpha/libpthread.abilist: ... here.
7825 * sysdeps/unix/sysv/linux/alpha/nptl/libresolv.abilist: Moved ...
7826 * sysdeps/unix/sysv/linux/alpha/libresolv.abilist: ... here.
7827 * sysdeps/unix/sysv/linux/alpha/nptl/librt.abilist: Moved ...
7828 * sysdeps/unix/sysv/linux/alpha/librt.abilist: ... here.
7829 * sysdeps/unix/sysv/linux/alpha/nptl/libthread_db.abilist: Moved ...
7830 * sysdeps/unix/sysv/linux/alpha/libthread_db.abilist: ... here.
7831 * sysdeps/unix/sysv/linux/alpha/nptl/libutil.abilist: Moved ...
7832 * sysdeps/unix/sysv/linux/alpha/libutil.abilist: ... here.
7833 * sysdeps/unix/sysv/linux/alpha/nptl/localplt.data: Moved ...
7834 * sysdeps/unix/sysv/linux/alpha/localplt.data: ... here.
7835 * sysdeps/unix/sysv/linux/alpha/nptl/lowlevellock.h: Moved ...
7836 * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: ... here.
7837 * sysdeps/unix/sysv/linux/alpha/nptl/sem_post.c: Moved ...
7838 * sysdeps/unix/sysv/linux/alpha/sem_post.c: ... here.
7839 * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h: Moved ...
7840 * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: ... here.
7841 * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Moved ...
7842 * sysdeps/unix/sysv/linux/alpha/timer_create.c: ... here.
7843 * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Moved ...
7844 * sysdeps/unix/sysv/linux/alpha/timer_delete.c: ... here.
7845 * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Moved ...
7846 * sysdeps/unix/sysv/linux/alpha/timer_getoverr.c: ... here.
7847 * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Moved ...
7848 * sysdeps/unix/sysv/linux/alpha/timer_gettime.c: ... here.
7849 * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Moved ...
7850 * sysdeps/unix/sysv/linux/alpha/timer_settime.c: ... here.
7851
e2fa4bc2
RH
7852 * sysdeps/unix/sysv/linux/alpha/syscalls.list: Remove vfork.
7853 * sysdeps/unix/sysv/linux/alpha/nptl/vfork.S: Move file ...
7854 * sysdeps/unix/sysv/linux/alpha/vfork.S: ... here. Restore PID
7855 before exiting on error.
7856 (__libc_vfork): New strong alias.
7857 * sysdeps/unix/sysv/linux/alpha/nptl/pt-vfork.S: Remove file.
7858 * sysdeps/unix/sysv/linux/alpha/pt-vfork.S: New file.
7859
279b24e2
RH
7860 * sysdeps/unix/sysv/linux/alpha/clone.S: Deconditionalize the code
7861 that was previously under [RESET_PID].
7862 * sysdeps/unix/sysv/linux/alpha/nptl/clone.S: File removed.
7863
132c7f5f
RH
7864 * sysdeps/unix/sysv/linux/alpha/nptl/fork.c: Remove file.
7865
b72592e7
JM
78662014-05-23 Joseph Myers <joseph@codesourcery.com>
7867
7868 [BZ #16977]
7869 * sysdeps/i386/fpu/e_log10.S (__ieee754_log10): Take absolute
7870 value when x - 1 is zero.
7871 * sysdeps/i386/fpu/e_log10f.S (__ieee754_log10f): Likewise.
7872 * sysdeps/i386/fpu/e_log10l.S (__ieee754_log10l): Likewise.
7873 * sysdeps/ieee754/ldbl-128/e_log10l.c (__ieee754_log10l): Return
7874 0.0L for an argument of 1.0L.
7875 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l):
7876 Likewise.
7877 * sysdeps/x86_64/fpu/e_log10l.S (__ieee754_log10l): Take absolute
7878 value when x - 1 is zero.
7879 * math/libm-test.inc (log10_test): Use ALL_RM_TEST.
7880 * sysdeps/i386/fpu/libm-test-ulps: Update.
7881 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7882
2302d679
RV
78832014-05-23 Rasmus Villemoes <rv@rasmusvillemoes.dk>
7884
7885 * manual/filesys.texi (Scanning Directory Content): Fix prototype of
7886 alphasort and versionsort.
7887
32999d63
AZ
78882014-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7889
7890 * sysdeps/powerpc/fpu/math_private.h [copysign]: Remove unneeded
7891 macro.
7892 [copysignf]: Likewise.
7893
019324d0
SP
78942014-05-22 Siddhesh Poyarekar <siddhesh@redhat.com>
7895
7896 * crypt/md5-crypt.c: Fix formatting.
7897
34fff5c2
KS
78982014-05-22 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
7899
7900 * crypt/md5-crypt.c (__md5_crypt_r): Remove a nested function.
7901 (b64_from_24bit): New function.
7902
3d2badac
AZ
79032014-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7904
7905 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c (memchr): Remove
7906 libc_hidden_builtin_def to ifunc.
7907 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
7908 [libc_hidden_builtin_def]: Define hidden definition to __memchr_ppc32.
7909
f7bb179f 79102014-05-21 Roland McGrath <roland@hack.frob.com>
df54acbb
RM
7911
7912 * sysdeps/unix/sysv/linux/aarch64/arch-fork.h: New file.
7913 * sysdeps/unix/sysv/linux/aarch64/nptl/fork.c: File removed.
7914
4134b50d
JM
79152014-05-21 Joseph Myers <joseph@codesourcery.com>
7916
bb7d0337
JM
7917 * nscd/Depend (linuxthreads): Remove.
7918 (nptl): Add.
7919 * resolv/Depend (linuxthreads): Remove.
7920 * rt/Depend (linuxthreads): Remove.
7921
4134b50d
JM
7922 * Makeconfig [$(build-hardcoded-path-in-tests) = yes]
7923 (rtld-tests-LDFLAGS): Use $(elf-objpfx) instead of
7924 $(common-objpfx)elf/.
7925 (link-libc-before-gnulib): Likewise.
7926 (elfobjdir): Remove variable.
7927 * Makefile (install): Use $(elf-objpfx) instead of
7928 $(common-objpfx)elf/.
7929 * Makerules (link-libc-args): Use $(elf-objpfx) instead of
7930 $(elfobjdir)/.
7931 (link-libc-deps): Likewise.
7932 ($(common-objpfx)libc.so): Likewise.
7933 ($(common-objpfx)linkobj/libc.so): Likewise.
7934 [$(cross-compiling) = no] (symbolic-link-prog): Use $(elf-objpfx)
7935 instead of $(common-objpfx)elf/.
7936 (symbolic-link-list): Likewise.
7937 * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
7938 [$(cross-compiling) = no]: Likewise.
7939 * sysdeps/arm/Makefile (gnulib-arch): Use $(elf-objpfx) instead of
7940 $(elfobjdir)/.
7941 (static-gnulib-arch): Likewise.
7942 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
7943 [$(cross-compiling) = no]: Use $(elf-objpfx) instead of
7944 $(common-objpfx)elf/.
7945
3612eb8f
RH
79462014-05-21 Richard Henderson <rth@redhat.com>
7947
a6b3657b
RH
7948 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
7949 (SINGLE_THREAD_P): Use the correct width load. Fold
7950 into the ldr offset.
7951
3612eb8f
RH
7952 * sysdeps/unix/sysv/linux/aarch64/sysdep.h [RTLD_PRIVATE_ERRNO]
7953 (SYSCALL_ERROR_HANDLER): Fold add insn into str offset.
7954
175cef41
JM
79552014-05-20 Joseph Myers <joseph@codesourcery.com>
7956
7957 * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c
7958 (libgcc_s_resume): Use __attribute_used__.
7959 * sysdeps/unix/sysv/linux/arm/unwind-resume.c (libgcc_s_resume):
7960 Likewise.
7961
e13bccd3
AZ
79622014-05-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7963
7964 * sysdeps/powerpc/fpu/math_private.h [__copysignf]: Fix copysign macro
7965 optimization when used with float constants.
7966
7c112a38
AZ
7967 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
7968
ae75a883
AJ
79692014-05-20 Aurelien Jarno <aurelien@aurel32.net>
7970
7971 [BZ #16915]
7972 * locale/nl_langinfo_l.c: Make direct reference to every
7973 _nl_current_CATEGORY symbol.
7974 * localedata/Makefile (test-srcs): Add tst-langinfo-static.
7975 (tests-static): Add tst-langinfo-static.
7976 (tests-special): Add tst-langinfo-static.out.
7977 ($(objpfx)tst-langinfo.out): Redirect output.
7978 ($(objpfx)tst-langinfo-static.out): New.
7979 * localedata/tst-langinfo.sh: Send output to stdout.
7980 * localedata/tst-langinfo-static.c: New file.
7981
4406c41c
AJ
7982 [BZ #16965]
7983 * stdlib/strtod_l.c (round_and_return): Add code to shift limbs
7984 when the shift amount is modulo the limb size.
7985
4c0a1e63
RH
79862014-05-20 Richard Henderson <rth@redhat.com>
7987
de9d8f20
RH
7988 [BZ #16967]
7989 * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h (struct sigaction):
7990 Change type of sa_flags from unsigned int to int.
7991
4c0a1e63
RH
7992 [BZ #16966]
7993 * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h: Remove file.
57cce706
RH
7994
7995 * sysdeps/alpha/dl-machine.h (ELF_MACHINE_NO_RELA): Define.
7996
a60339aa
WN
79972014-05-20 Will Newton <will.newton@linaro.org>
7998
7999 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
8000 Test the return value of the system call in the nocancel case.
8001
7d05a816
YR
80022014-05-20 Will Newton <will.newton@linaro.org>
8003 Yvan Roux <yvan.roux@linaro.org>
8004
8005 * sysdeps/unix/sysv/linux/aarch64/sys/user.h: Remove unused
8006 #include of asm/ptrace.h.
8007 (PTRACE_GET_THREAD_AREA): Remove #undef.
8008 (PTRACE_GETHBPREGS): Likewise.
8009 (PTRACE_SETHBPREGS): Likewise.
8010 (struct user_regs_struct): New structure.
8011 (struct user_fpsimd_struct): New structure.
8012 * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h: Remove unused
8013 #include of asm/ptrace.h and second #include of sys/user.h.
8014 (PTRACE_GET_THREAD_AREA): Remove #undef.
8015 (PTRACE_GETHBPREGS): Likewise.
8016 (PTRACE_SETHBPREGS): Likewise.
8017 (ELF_NGREG): Use new struct user_regs_struct.
8018 (elf_fpregset_t): Use new struct user_fpsimd_struct.
8019
af121e37
AZ
80202014-05-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8021
8022 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypof.c: Moved ...
8023 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c: ... here.
8024
834caf06
JM
80252014-05-17 Jose E. Marchesi <jose.marchesi@oracle.com>
8026
8027 [BZ #16958]
8028 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Add missing
8029 membar to avoid block loads/stores to overlap previous stores.
8030
e184a918
RH
80312014-05-17 Richard Henderson <rth@redhat.com>
8032
8033 * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h (PSEUDO):
8034 Create the __##syscall_name##_nocancel entry point.
8035 * sysdeps/unix/sysv/linux/alpha/sigsuspend.S (__sigsuspend_nocancel):
8036 Remove; let the sysdep-cancel.h code create it.
8037
f56c7a6a
DM
80382014-05-17 David S. Miller <davem@davemloft.net>
8039
8040 * sysdeps/unix/sysv/linux/sparc/bits/termios.h (PAGEOUT, WRAP):
8041 Protect with __USE_GNU.
8042 (TIOCSET_TEMPT): Likewise.
8043 (TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
8044 TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI): Remove as
8045 these are already provided in bits/ioctl-types.h
8046
f75616b2
RM
80472014-05-16 Roland McGrath <roland@hack.frob.com>
8048
3edeca86
RM
8049 * sysdeps/unix/sysv/linux/alpha/arch-fork.h: New file.
8050 * sysdeps/unix/sysv/linux/ia64/nptl/fork.c: File removed.
8051
f75616b2
RM
8052 * sysdeps/unix/sysv/linux/not-cancel.h (waitpid_not_cancel):
8053 Use wait4 regardless of [__NR_waitpid].
8054
deb0f7f6
MR
80552014-05-16 Maciej W. Rozycki <macro@codesourcery.com>
8056
8057 PR libgcc/60166
8058 * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
8059 (_FP_NANSIGN_Q): Set the quiet bit.
8060
79520f4b
JM
80612014-05-16 Joseph Myers <joseph@codesourcery.com>
8062
8063 * benchtests/Makefile
8064 ($(addprefix $(objpfx)bench-,$(bench-math))): Depend on $(libm),
8065 not $(common-objpfx)math/libm.so.
8066 ($(addprefix $(objpfx)bench-,$(bench-pthread))): Depend on
8067 $(shared-thread-library), not $(common-objpfx)nptl/libpthread.so.
8068 * elf/Makefile ($(objpfx)noload): Depend on $(libdl), not
8069 $(common-objpfx)dlfcn/libdl.so.
8070 ($(objpfx)tst-audit8): Depend on $(libm), not
8071 $(common-objpfx)math/libm.so.
8072 * malloc/Makefile ($(objpfx)libmemusage.so): Depend on $(libdl),
8073 not $(common-objpfx)dlfcn/libdl.so.
8074 * math/Makefile
8075 ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
8076 Depend on $(libm), not $(objpfx)libm.so. Do not condition on
8077 [$(build-shared) = yes].
8078 ($(objpfx)test-fenv-tls): Depend on $(shared-thread-library), not
8079 $(common-objpfx)nptl/libpthread.so.
8080 * misc/Makefile ($(objpfx)tst-tsearch): Depend on $(libm), not
8081 $(common-objpfx)math/libm.so$(libm.so-version) or
8082 $(common-objpfx)math/libm.a depending on [$(build-shared) = yes].
8083 * nptl/Makefile ($(objpfx)tst-unload): Depend on $(libdl), not
8084 $(common-objpfx)dlfcn/libdl.so.
8085 * setjmp/Makefile (link-libm): Remove variable.
8086 ($(objpfx)tst-setjmp-fp): Depend on $(libm), not $(link-libm).
8087 * stdio-common/Makefile (link-libm): Remove variable.
8088 ($(objpfx)tst-printf-round): Depend on $(libm), not $(link-libm).
8089 * stdlib/Makefile (link-libm): Remove variable.
8090 ($(objpfx)bug-getcontext): Depend on $(libm), not $(link-libm).
8091 ($(objpfx)tst-strtod-round): Likewise.
8092 ($(objpfx)tst-tininess): Likewise.
8093 ($(objpfx)tst-strtod-underflow): Likewise.
8094 ($(objpfx)tst-strtod6): Likewise.
8095 ($(objpfx)tst-tls-atexit): Depend on $(shared-thread-library) and
8096 $(libdl), not $(common-objpfx)nptl/libpthread.so and
8097 $(common-objpfx)dlfcn/libdl.so.
8098
026b0fe4
AZ
80992014-05-16 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8100
8101 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_MISC]: Guard
8102 BSD terminal modes definitions.
8103
def4bcb2
RM
81042014-05-16 Roland McGrath <roland@hack.frob.com>
8105
fe39b021
RM
8106 * sysdeps/unix/sysv/linux/arm/arch-fork.h: New file.
8107 * sysdeps/unix/sysv/linux/arm/fork.c: File removed.
8108
1d1fc46e 8109 * sysdeps/unix/sysv/linux/arch-fork.h: New file.
def4bcb2
RM
8110 * sysdeps/unix/sysv/linux/i386/fork.h: Moved ...
8111 * sysdeps/unix/sysv/linux/i386/arch-fork.h: ... here.
8112 Don't do #include_next.
8113 * sysdeps/unix/sysv/linux/x86_64/fork.h: Moved ...
8114 * sysdeps/unix/sysv/linux/x86_64/arch-fork.h: ... here.
8115 Don't do #include_next.
8116 * sysdeps/unix/sysv/linux/mips/arch-fork.h: New file.
8117 * sysdeps/unix/sysv/linux/mips/fork.h: File removed.
8118 * sysdeps/unix/sysv/linux/powerpc/arch-fork.h: New file.
8119 * sysdeps/unix/sysv/linux/powerpc/fork.h: File removed.
8120
c72399fb
AM
81212014-05-16 Allan McRae <allan@archlinux.org>
8122
d51d659d
AM
8123 * po/sv.po: Update Swedish translation from translation project.
8124
c72399fb
AM
8125 * timezone/Makefile ($(objpfx)tzselect): Use correct variable
8126 in sed expression.
8127
d0583c40
AJ
81282014-05-16 Aurelien Jarno <aurelien@aurel32.net>
8129
8130 [BZ #16917]
8131 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal): Return
8132 errno if the TIOCGPTN ioctl fails with an error different than
8133 EINVAL.
8134 * login/tst-ptsname.c: New file.
8135 * login/Makefile (tests): Add tst-ptsname.
8136
d16e6ec7
AJ
8137 [BZ #16943]
8138 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Declare prlimit
8139 and prlimit64.
8140
cf26a0cb
SP
81412014-05-15 Siddhesh Poyarekar <siddhesh@redhat.com>
8142
8143 [BZ #16849]
8144 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only check for
8145 herrno to return EAI_AGAIN.
8146
5675da1e
RM
81472014-05-14 Roland McGrath <roland@hack.frob.com>
8148
a5d87b3d
RM
8149 * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: Moved ...
8150 * sysdeps/unix/sysv/linux/i386/c++-types.data: ... here.
8151 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: Moved ...
8152 * sysdeps/unix/sysv/linux/i386/ld.abilist: ... here.
8153 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: Moved ...
8154 * sysdeps/unix/sysv/linux/i386/libBrokenLocale.abilist: ... here.
8155 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: Moved ...
8156 * sysdeps/unix/sysv/linux/i386/libanl.abilist: ... here.
8157 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Moved ...
8158 * sysdeps/unix/sysv/linux/i386/libc.abilist: ... here.
8159 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: Moved ...
8160 * sysdeps/unix/sysv/linux/i386/libcrypt.abilist: ... here.
8161 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: Moved ...
8162 * sysdeps/unix/sysv/linux/i386/libdl.abilist: ... here.
8163 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: Moved ...
8164 * sysdeps/unix/sysv/linux/i386/libm.abilist: ... here.
8165 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: Moved ...
8166 * sysdeps/unix/sysv/linux/i386/libnsl.abilist: ... here.
8167 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Moved ...
8168 * sysdeps/unix/sysv/linux/i386/libpthread.abilist: ... here.
8169 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: Moved ...
8170 * sysdeps/unix/sysv/linux/i386/libresolv.abilist: ... here.
8171 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: Moved ...
8172 * sysdeps/unix/sysv/linux/i386/librt.abilist: ... here.
8173 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: Moved ...
8174 * sysdeps/unix/sysv/linux/i386/libthread_db.abilist: ... here.
8175 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: Moved ...
8176 * sysdeps/unix/sysv/linux/i386/libutil.abilist: ... here.
8177 * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: Moved ...
8178 * sysdeps/unix/sysv/linux/i386/localplt.data: ... here.
8179 * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: Moved ...
8180 * sysdeps/unix/sysv/linux/x86_64/64/c++-types.data: ... here.
8181 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Moved ...
8182 * sysdeps/unix/sysv/linux/x86_64/64/ld.abilist: ... here.
8183 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
8184 Moved ...
8185 * sysdeps/unix/sysv/linux/x86_64/64/libBrokenLocale.abilist: ... here.
8186 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Moved ...
8187 * sysdeps/unix/sysv/linux/x86_64/64/libanl.abilist: ... here.
8188 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Moved ...
8189 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: ... here.
8190 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Moved ...
8191 * sysdeps/unix/sysv/linux/x86_64/64/libcrypt.abilist: ... here.
8192 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Moved ...
8193 * sysdeps/unix/sysv/linux/x86_64/64/libdl.abilist: ... here.
8194 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Moved ...
8195 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: ... here.
8196 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Moved ...
8197 * sysdeps/unix/sysv/linux/x86_64/64/libnsl.abilist: ... here.
8198 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist: Moved ...
8199 * sysdeps/unix/sysv/linux/x86_64/64/libpthread.abilist: ... here.
8200 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist: Moved ...
8201 * sysdeps/unix/sysv/linux/x86_64/64/libresolv.abilist: ... here.
8202 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Moved ...
8203 * sysdeps/unix/sysv/linux/x86_64/64/librt.abilist: ... here.
8204 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist: Moved ...
8205 * sysdeps/unix/sysv/linux/x86_64/64/libthread_db.abilist: ... here.
8206 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Moved ...
8207 * sysdeps/unix/sysv/linux/x86_64/64/libutil.abilist: ... here.
8208 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data: Moved ...
8209 * sysdeps/unix/sysv/linux/x86_64/x32/c++-types.data: ... here.
8210 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: Moved ...
8211 * sysdeps/unix/sysv/linux/x86_64/x32/ld.abilist: ... here.
8212 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
8213 Moved ...
8214 * sysdeps/unix/sysv/linux/x86_64/x32/libBrokenLocale.abilist: ... here.
8215 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist: Moved ...
8216 * sysdeps/unix/sysv/linux/x86_64/x32/libanl.abilist: ... here.
8217 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Moved ...
8218 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: ... here.
8219 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist: Moved ...
8220 * sysdeps/unix/sysv/linux/x86_64/x32/libcrypt.abilist: ... here.
8221 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist: Moved ...
8222 * sysdeps/unix/sysv/linux/x86_64/x32/libdl.abilist: ... here.
8223 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist: Moved ...
8224 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: ... here.
8225 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist: Moved ...
8226 * sysdeps/unix/sysv/linux/x86_64/x32/libnsl.abilist: ... here.
8227 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist: Moved ...
8228 * sysdeps/unix/sysv/linux/x86_64/x32/libpthread.abilist: ... here.
8229 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist: Moved ...
8230 * sysdeps/unix/sysv/linux/x86_64/x32/libresolv.abilist: ... here.
8231 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist: Moved ...
8232 * sysdeps/unix/sysv/linux/x86_64/x32/librt.abilist: ... here.
8233 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
8234 Moved ...
8235 * sysdeps/unix/sysv/linux/x86_64/x32/libthread_db.abilist: ... here.
8236 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist: Moved ...
8237 * sysdeps/unix/sysv/linux/x86_64/x32/libutil.abilist: ... here.
8238
039890a6
RM
8239 * nptl/sysdeps/unix/sysv/linux/x86/Makefile: File removed.
8240 * sysdeps/unix/sysv/linux/x86/Makefile [$(subdir) = nptl]
8241 (libpthread-sysdep_routines): Add elision-related stuff here instead.
8242 * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.c: Moved ...
8243 * sysdeps/unix/sysv/linux/x86/elision-conf.c: ... here.
8244 * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.h: Moved ...
8245 * sysdeps/unix/sysv/linux/x86/elision-conf.h: ... here.
8246 * nptl/sysdeps/unix/sysv/linux/x86/elision-lock.c: Moved ...
8247 * sysdeps/unix/sysv/linux/x86/elision-lock.c: ... here.
8248 * nptl/sysdeps/unix/sysv/linux/x86/elision-timed.c: Moved ...
8249 * sysdeps/unix/sysv/linux/x86/elision-timed.c: ... here.
8250 * nptl/sysdeps/unix/sysv/linux/x86/elision-trylock.c: Moved ...
8251 * sysdeps/unix/sysv/linux/x86/elision-trylock.c: ... here.
8252 * nptl/sysdeps/unix/sysv/linux/x86/elision-unlock.c: Moved ...
8253 * sysdeps/unix/sysv/linux/x86/elision-unlock.c: ... here.
8254 * nptl/sysdeps/unix/sysv/linux/x86/force-elision.h: Moved ...
8255 * sysdeps/unix/sysv/linux/x86/force-elision.h: ... here.
8256 * nptl/sysdeps/unix/sysv/linux/x86/hle.h: Moved ...
8257 * sysdeps/unix/sysv/linux/x86/hle.h: ... here.
8258 * nptl/sysdeps/unix/sysv/linux/x86/init-arch.c: Moved ...
8259 * sysdeps/unix/sysv/linux/x86/init-arch.c: ... here.
8260 * nptl/sysdeps/unix/sysv/linux/x86/init-arch.h: Moved ...
8261 * sysdeps/unix/sysv/linux/x86/init-arch.h: ... here.
8262 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: Moved ...
8263 * sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: ... here.
8264 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: Moved ...
8265 * sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: ... here.
8266 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: Moved ...
8267 * sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: ... here.
8268 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: Moved ...
8269 * sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: ... here.
8270
65c89320
RM
8271 * sysdeps/unix/sysv/linux/mips/fork.h: New file.
8272 * sysdeps/unix/sysv/linux/mips/nptl/fork.c: File removed.
8273
348f8e8c
RM
8274 * nptl/sysdeps/unix/sysv/linux/i386/Implies: File removed.
8275 * nptl/sysdeps/unix/sysv/linux/i386/i786/Implies: Moved ...
8276 * sysdeps/unix/sysv/linux/i386/i786/Implies: ... here.
8277 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: Moved ...
8278 * sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: ... here.
8279 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S:
8280 Moved ...
8281 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: ... here.
8282 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S:
8283 Moved ...
8284 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S: ... here.
8285 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S:
8286 Moved ...
8287 * sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S: ... here.
8288 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S:
8289 Moved ...
8290 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: ... here.
8291 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: Moved ...
8292 * sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: ... here.
8293 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S:
8294 Moved ...
8295 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S: ... here.
8296 * nptl/sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: Moved ...
8297 * sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: ... here.
8298 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: Moved ...
8299 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: ... here.
8300 * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: Moved ...
8301 * sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: ... here.
8302 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S:
8303 Moved ...
8304 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S: ... here.
8305 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
8306 Moved ...
8307 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
8308 ... here.
8309 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: Moved ...
8310 * sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: ... here.
8311 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_post.S: Moved ...
8312 * sysdeps/unix/sysv/linux/i386/i586/sem_post.S: ... here.
8313 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
8314 Moved ...
8315 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
8316 ... here.
8317 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S:
8318 Moved ...
8319 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: ... here.
8320 * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: Moved ...
8321 * sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: ... here.
8322 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: Moved ...
8323 * sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: ... here.
8324 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S:
8325 Moved ...
8326 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: ... here.
8327 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S:
8328 Moved ...
8329 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S: ... here.
8330 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S:
8331 Moved ...
8332 * sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S: ... here.
8333 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S:
8334 Moved ...
8335 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: ... here.
8336 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: Moved ...
8337 * sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: ... here.
8338 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S:
8339 Moved ...
8340 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S: ... here.
8341 * nptl/sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: Moved ...
8342 * sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: ... here.
8343 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: Moved ...
8344 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: ... here.
8345 * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: Moved ...
8346 * sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: ... here.
8347 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S:
8348 Moved ...
8349 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S: ... here.
8350 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
8351 Moved ...
8352 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
8353 ... here.
8354 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: Moved ...
8355 * sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: ... here.
8356 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_post.S: Moved ...
8357 * sysdeps/unix/sysv/linux/i386/i486/sem_post.S: ... here.
8358 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
8359 Moved ...
8360 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
8361 ... here.
8362 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S:
8363 Moved ...
8364 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: ... here.
8365 * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Moved ...
8366 * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: ... here.
8367 * nptl/sysdeps/unix/sysv/linux/i386/dl-sysdep.h: Moved ...
8368 * sysdeps/unix/sysv/linux/i386/dl-sysdep.h: ... here.
8369 * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h: Moved ...
8370 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: ... here.
8371 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: Moved ...
8372 * sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: ... here.
8373 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S:
8374 Moved ...
8375 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: ... here.
8376 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S:
8377 Moved ...
8378 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S: ... here.
8379 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S:
8380 Moved ...
8381 * sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S: ... here.
8382 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S:
8383 Moved ...
8384 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: ... here.
8385 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: Moved ...
8386 * sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: ... here.
8387 * nptl/sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: Moved ...
8388 * sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: ... here.
8389 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S:
8390 Moved ...
8391 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S: ... here.
8392 * nptl/sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: Moved ...
8393 * sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: ... here.
8394 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: Moved ...
8395 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: ... here.
8396 * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: Moved ...
8397 * sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: ... here.
8398 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S:
8399 Moved ...
8400 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S: ... here.
8401 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
8402 Moved ...
8403 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
8404 ... here.
8405 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: Moved ...
8406 * sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: ... here.
8407 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_post.S: Moved ...
8408 * sysdeps/unix/sysv/linux/i386/i686/sem_post.S: ... here.
8409 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
8410 Moved ...
8411 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
8412 ... here.
8413 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S:
8414 Moved ...
8415 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: ... here.
8416 * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: Moved ...
8417 * sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: ... here.
8418 * nptl/sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Moved ...
8419 * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: ... here.
8420 * nptl/sysdeps/unix/sysv/linux/i386/smp.h: Moved ...
8421 * sysdeps/unix/sysv/linux/i386/smp.h: ... here.
8422 * nptl/sysdeps/unix/sysv/linux/i386/pthread_once.S: Moved ...
8423 * sysdeps/unix/sysv/linux/i386/pthread_once.S: ... here.
8424 * nptl/sysdeps/unix/sysv/linux/i386/createthread.c: Moved ...
8425 * sysdeps/unix/sysv/linux/i386/createthread.c: ... here.
8426
5085af05
RM
8427 * sysdeps/unix/sysv/linux/powerpc/fork.h: New file.
8428 * nptl/sysdeps/unix/sysv/linux/powerpc/fork.c: File removed.
8429
708f0813
RM
8430 * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_init.c: File removed.
8431 * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_unlock.S: File removed.
8432
c96067bc
RM
8433 * nptl/sysdeps/unix/sysv/linux/x86_64/Implies: File removed.
8434 * nptl/sysdeps/unix/sysv/linux/x86_64/cancellation.S: Moved ...
8435 * sysdeps/unix/sysv/linux/x86_64/cancellation.S: ... here.
8436 * nptl/sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: Moved ...
8437 * sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: ... here.
8438 * nptl/sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: Moved ...
8439 * sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: ... here.
8440 * nptl/sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: Moved ...
8441 * sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: ... here.
8442 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Moved ...
8443 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: ... here.
8444 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Moved ...
8445 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: ... here.
8446 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: Moved ...
8447 * sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: ... here.
8448 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: Moved ...
8449 * sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: ... here.
8450 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S:
8451 Moved ...
8452 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S: ... here.
8453 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: Moved ...
8454 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: ... here.
8455 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:
8456 Moved ...
8457 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S: ... here.
8458 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: Moved ...
8459 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: ... here.
8460 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_once.S: Moved ...
8461 * sysdeps/unix/sysv/linux/x86_64/pthread_once.S: ... here.
8462 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: Moved ...
8463 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: ... here.
8464 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S:
8465 Moved ...
8466 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: ... here.
8467 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S:
8468 Moved ...
8469 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: ... here.
8470 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: Moved ...
8471 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: ... here.
8472 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: Moved ...
8473 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: ... here.
8474 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: Moved ...
8475 * sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: ... here.
8476 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_post.S: Moved ...
8477 * sysdeps/unix/sysv/linux/x86_64/sem_post.S: ... here.
8478 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: Moved ...
8479 * sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: ... here.
8480 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: Moved ...
8481 * sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: ... here.
8482 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_wait.S: Moved ...
8483 * sysdeps/unix/sysv/linux/x86_64/sem_wait.S: ... here.
8484 * nptl/sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Moved ...
8485 * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: ... here.
8486
ec136444
RM
8487 * nptl/sysdeps/unix/sysv/linux/fork.c: Use <> for fork.h #include.
8488 * nptl/sysdeps/unix/sysv/linux/x86_64/fork.c: File removed.
8489 * sysdeps/unix/sysv/linux/x86_64/fork.h: New file.
8490 * nptl/sysdeps/unix/sysv/linux/i386/fork.c: File removed.
8491 * sysdeps/unix/sysv/linux/i386/fork.h: New file.
8492
2fbdf533
RM
8493 * nptl/sysdeps/unix/sysv/linux/i386/not-cancel.h: Moved ...
8494 * sysdeps/unix/sysv/linux/not-cancel.h: ... here.
8495 * nptl/sysdeps/unix/sysv/linux/sparc/not-cancel.h: File removed.
8496 * nptl/sysdeps/unix/sysv/linux/sh/not-cancel.h: File removed.
8497 * nptl/sysdeps/unix/sysv/linux/powerpc/not-cancel.h: File removed.
8498 * nptl/sysdeps/unix/sysv/linux/x86_64/not-cancel.h: File removed.
8499 * nptl/sysdeps/unix/sysv/linux/s390/not-cancel.h: File removed.
8500 * sysdeps/unix/sysv/linux/generic/not-cancel.h: File removed.
8501 * sysdeps/unix/sysv/linux/generic/nptl/not-cancel.h: File removed.
8502 * sysdeps/unix/sysv/linux/m68k/nptl/not-cancel.h: File removed.
8503
4c68138b
RM
8504 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_init.c: File removed.
8505 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_unlock.S: Likewise.
8506
4eaae765
RM
8507 * nptl/sysdeps/unix/sysv/linux/x86_64/compat-timer.h: Moved ...
8508 * sysdeps/unix/sysv/linux/x86_64/compat-timer.h: ... here.
3a51fb60
RM
8509 * nptl/sysdeps/unix/sysv/linux/x86_64/Versions: Remove, merge into ...
8510 * sysdeps/unix/sysv/linux/x86_64/Versions: ... here.
8511 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_create.c: Moved ...
8512 * sysdeps/unix/sysv/linux/x86_64/timer_create.c: here.
8513 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_delete.c: Moved ...
8514 * sysdeps/unix/sysv/linux/x86_64/timer_delete.c: ... here
8515 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: Moved ...
8516 * sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: ... here
8517 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: Moved ...
8518 * sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: ... here
8519 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_settime.c: Moved ...
8520 * sysdeps/unix/sysv/linux/x86_64/timer_settime.c: ... here
8521 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c:
8522 Update #include.
8523 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c:
8524 Likewise.
8525 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
8526 Likewise.
8527 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
8528 Likewise.
8529 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
8530 Likewise.
8531 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c:
8532 Likewise.
8533 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c:
8534 Likewise.
8535 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
8536 Likewise.
8537 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c:
8538 Likewise.
8539 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c:
8540 Likewise.
4ef6befa
RM
8541 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Likewise.
8542 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Likewise.
8543 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Likewise.
8544 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Likewise.
8545 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Likewise.
5aa618fb
RM
8546 * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Likewise.
8547 * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Likewise.
8548 * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Likewise.
8549 * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Likewise.
8550 * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Likewise.
8551 * sysdeps/unix/sysv/linux/ia64/nptl/timer_create.c: Likewise.
8552 * sysdeps/unix/sysv/linux/ia64/nptl/timer_delete.c: Likewise.
8553 * sysdeps/unix/sysv/linux/ia64/nptl/timer_getoverr.c: Likewise.
8554 * sysdeps/unix/sysv/linux/ia64/nptl/timer_gettime.c: Likewise.
8555 * sysdeps/unix/sysv/linux/ia64/nptl/timer_settime.c: Likewise.
3a51fb60 8556
941d7dfd
RM
8557 * sysdeps/unix/sysv/linux/x86_64/clone.S: Deconditionalize the code
8558 that was previously under [RESET_PID].
8559 * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
8560 * nptl/sysdeps/unix/sysv/linux/x86_64/clone.S: File removed.
8561 * nptl/sysdeps/unix/sysv/linux/i386/clone.S: File removed.
8562
1b731c35
RM
8563 * sysdeps/i386/nptl/Implies: New file.
8564 * sysdeps/x86_64/nptl/Implies: New file.
8565 * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h: Moved ...
8566 * sysdeps/x86/nptl/bits/pthreadtypes.h: ... here.
8567 * nptl/sysdeps/unix/sysv/linux/x86/bits/semaphore.h: Moved ...
8568 * sysdeps/x86/nptl/bits/semaphore.h: ... here.
8569
e2787137
RM
8570 * sysdeps/unix/sysv/linux/i386/vfork.S: Include <tcb-offsets.h>.
8571 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
8572 (__libc_vfork): New strong alias.
8573 * nptl/sysdeps/unix/sysv/linux/i386/vfork.S: File removed.
8574 * nptl/sysdeps/unix/sysv/linux/i386/pt-vfork.S: File removed.
8575
8576 * sysdeps/unix/sysv/linux/x86_64/vfork.S: Include <tcb-offsets.h>.
8577 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
8578 (__libc_vfork): New strong alias.
8579 * nptl/sysdeps/unix/sysv/linux/x86_64/vfork.S: File removed.
8580 * nptl/sysdeps/unix/sysv/linux/x86_64/pt-vfork.S: File removed.
8581
5675da1e
RM
8582 * sysdeps/unix/sysv/linux/arm/vfork.S: Include <tcb-offsets.h>.
8583 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
8584 (__libc_vfork): New strong alias.
8585 * sysdeps/unix/sysv/linux/arm/nptl/vfork.S: File removed.
8586 * sysdeps/unix/sysv/linux/arm/nptl/pt-vfork.S: File removed.
8587 * nptl/pt-vfork.c: New file.
8588 * nptl/Versions (libc: GLIBC_PRIVATE): Add __libc_vfork.
8589 (libpthread: GLIBC_2.20): New version set (empty).
8590
4f02e2b8
WN
85912014-05-14 Will Newton <will.newton@linaro.org>
8592
8593 * stdlib/gmp-impl.h: Test USE_STACK_ALLOC #ifdef
8594 rather than #if.
8595
0bf061d3
JM
85962014-05-14 Joseph Myers <joseph@codesourcery.com>
8597
1a84c3d6
JM
8598 [BZ #16564]
8599 * sysdeps/i386/fpu/s_log1pl.S (__log1pl): Do not add 1 to positive
8600 arguments with exponent 65 or above.
8601 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): Do not add 1 to
8602 arguments 0x1p113L or above.
8603 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Do not add 1
8604 to arguments 0x1p107L or above.
8605 * sysdeps/x86_64/fpu/s_log1pl.S (__log1pl): Do not add 1 to
8606 positive arguments with exponent 65 or above.
8607 * math/auto-libm-test-in: Add more tests of log1p.
8608 * math/auto-libm-test-out: Regenerated.
8609
01dbacd2
JM
8610 [BZ #16928]
8611 * math/s_cacos.c (__cacos): Ensure zero real part of result from
8612 non-finite arguments is +0.
8613 * math/s_cacosf.c (__cacosf): Likewise.
8614 * math/s_cacosl.c (__cacosl): Likewise.
8615 * math/libm-test.inc (cacos_test): Use ALL_RM_TEST.
8616 * sysdeps/i386/fpu/libm-test-ulps: Update.
8617 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8618
913d03c8
JM
8619 [BZ #16927]
8620 * sysdeps/i386/fpu/e_acosh.S (__ieee754_acosh): Use fabs on x-1
8621 value.
8622 * sysdeps/i386/fpu/e_acoshf.S (__ieee754_acoshf): Likewise.
8623 * sysdeps/i386/fpu/e_acoshl.S (__ieee754_acoshl): Likewise.
8624 * sysdeps/ieee754/ldbl-96/e_acoshl.c (__ieee754_acoshl): Correct
8625 for explicit high bit of mantissa when testing for argument equal
8626 to 1.
8627 * math/libm-test.inc (acosh_test): Use ALL_RM_TEST.
8628 * sysdeps/i386/fpu/libm-test-ulps: Update.
8629 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8630
0bf061d3
JM
8631 [BZ #16516]
8632 * sysdeps/ieee754/dbl-64/s_erf.c (efx8): Remove variable.
8633 (__erf): Scale by 16 instead of 8 in potentially underflowing
8634 case. Ensure exception if result actually underflows.
8635 * sysdeps/ieee754/flt-32/s_erff.c (efx8): Remove variable.
8636 (__erff): Scale by 16 instead of 8 in potentially underflowing
8637 case. Ensure exception if result actually underflows.
8638 * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <float.h>.
8639 (efx8): Remove variable.
8640 (__erfl): Scale by 16 instead of 8 in potentially underflowing
8641 case. Ensure exception if result actually underflows.
8642 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <float.h>.
8643 (efx8): Remove variable.
8644 (__erfl): Scale by 16 instead of 8 in potentially underflowing
8645 case. Ensure exception if result actually underflows.
8646 * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <float.h>.
8647 (efx8): Remove variable.
8648 (__erfl): Scale by 16 instead of 8 in potentially underflowing
8649 case. Ensure exception if result actually underflows.
8650 * math/auto-libm-test-in: Add more tests of erf.
8651 * math/auto-libm-test-out: Regenerated.
8652
73ba67cb
AS
86532014-05-14 Andreas Schwab <schwab@suse.de>
8654
3d8c8bff
AS
8655 * elf/rtld.c (_dl_start_final, _dl_start, init_tls, dl_main):
8656 Remove code conditionalized on USE___THREAD.
8657
73ba67cb
AS
8658 * config.h.in (HAVE_PT_CHOWN): Define as 0.
8659 * sysdeps/unix/grantpt.c (grantpt): Check HAVE_PT_CHOWN for value,
8660 not definedness.
8661
5c521ecd
JM
86622014-05-14 Joseph Myers <joseph@codesourcery.com>
8663
5e7698c6
JM
8664 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMES):
8665 Define unconditionally.
8666 (__ASSUME_O_CLOEXEC): Likewise.
8667 (__ASSUME_SOCK_CLOEXEC): Likewise.
8668 (__ASSUME_IN_NONBLOCK): Likewise.
8669 (__ASSUME_PIPE2): Likewise.
8670 (__ASSUME_EVENTFD2): Likewise.
8671 (__ASSUME_SIGNALFD4): Likewise.
8672 (__ASSUME_DUP3): Likewise.
8673 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
8674 (__ASSUME_DUP3): Do not define.
8675 (__ASSUME_EVENTFD2): Likewise.
8676 (__ASSUME_IN_NONBLOCK): Likewise.
8677 (__ASSUME_O_CLOEXEC): Likewise.
8678 (__ASSUME_PIPE2): Likewise.
8679 (__ASSUME_SIGNALFD4): Likewise.
8680 (__ASSUME_SOCK_CLOEXEC): Likewise.
8681 (__ASSUME_UTIMES): Undefine.
8682 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
8683 (__ASSUME_UTIMES): Do not define.
8684 (__ASSUME_O_CLOEXEC): Likewise.
8685 (__ASSUME_SOCK_CLOEXEC): Likewise.
8686 (__ASSUME_IN_NONBLOCK): Undefine if [__LINUX_KERNEL_VERSION <
8687 0x020621] instead of defining if [__LINUX_KERNEL_VERSION >=
8688 0x020621].
8689 (__ASSUME_PIPE2): Likewise.
8690 (__ASSUME_EVENTFD2): Likewise.
8691 (__ASSUME_SIGNALFD4): Likewise.
8692 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_DUP3): Undefine.
8693 * sysdeps/unix/sysv/linux/arm/kernel-features.h (__ASSUME_UTIMES):
8694 Do not define.
8695 (__ASSUME_EVENTFD2): Likewise.
8696 (__ASSUME_SIGNALFD4): Likewise.
8697 * sysdeps/unix/sysv/linux/hppa/kernel-features.h
8698 (__ASSUME_32BITUIDS): Likewise.
8699 (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
8700 (__ASSUME_IPC64): Likewise.
8701 (__ASSUME_ST_INO_64_BIT): Likewise.
8702 (__ASSUME_GETDENTS64_SYSCALL): Likewise.
8703 [__LINUX_KERNEL_VERSION < 0x030e00] (__ASSUME_UTIMES): Undefine.
8704 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
8705 (__ASSUME_UTIMES): Do not define.
8706 (__ASSUME_PSELECT): Likewise.
8707 (__ASSUME_PPOLL): Likewise.
8708 (__ASSUME_O_CLOEXEC): Likewise.
8709 (__ASSUME_SOCK_CLOEXEC): Likewise.
8710 (__ASSUME_IN_NONBLOCK): Likewise.
8711 (__ASSUME_PIPE2): Likewise.
8712 (__ASSUME_EVENTFD2): Likewise.
8713 (__ASSUME_SIGNALFD4): Likewise.
8714 (__ASSUME_DUP3): Likewise.
8715 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
8716 (__ASSUME_UTIMES): Likewise.
8717 (__ASSUME_O_CLOEXEC): Likewise.
8718 (__ASSUME_SOCK_CLOEXEC): Likewise.
8719 (__ASSUME_IN_NONBLOCK): Likewise.
8720 (__ASSUME_PIPE2): Likewise.
8721 (__ASSUME_EVENTFD2): Likewise.
8722 (__ASSUME_SIGNALFD4): Likewise.
8723 (__ASSUME_DUP3): Likewise.
8724 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
8725 (__ASSUME_UTIMES): Likewise.
8726 (__ASSUME_O_CLOEXEC): Likewise.
8727 (__ASSUME_SOCK_CLOEXEC): Likewise.
8728 (__ASSUME_IN_NONBLOCK): Likewise.
8729 (__ASSUME_PIPE2): Likewise.
8730 (__ASSUME_EVENTFD2): Likewise.
8731 (__ASSUME_SIGNALFD4): Likewise.
8732 (__ASSUME_DUP3): Likewise.
8733 * sysdeps/unix/sysv/linux/mips/kernel-features.h (__ASSUME_IPC64):
8734 Likewise.
8735 (__ASSUME_UTIMES): Likewise.
8736 (__ASSUME_EVENTFD2): Likewise.
8737 (__ASSUME_SIGNALFD4): Likewise.
8738 * sysdeps/unix/sysv/linux/tile/kernel-features.h
8739 (__ASSUME_O_CLOEXEC): Likewise.
8740 (__ASSUME_SOCK_CLOEXEC): Likewise.
8741 (__ASSUME_IN_NONBLOCK): Likewise.
8742 (__ASSUME_PIPE2): Likewise.
8743 (__ASSUME_EVENTFD2): Likewise.
8744 (__ASSUME_SIGNALFD4): Likewise.
8745 (__ASSUME_DUP3): Likewise.
8746 (__ASSUME_UTIMES): Undefine.
8747
5c521ecd
JM
8748 * sysdeps/arm/fclrexcpt.c (__feclearexcept): Rename to
8749 feclearexcept. Remove symbol versioning code.
8750 * sysdeps/arm/fegetenv.c (__fegetenv): Rename to fegetenv. Remove
8751 symbol versioning code.
8752 * sysdeps/arm/fesetenv.c (__fesetenv): Rename to fesetenv. Remove
8753 symbol versioning code.
8754 * sysdeps/arm/feupdateenv.c (__feupdateenv): Rename to
8755 feupdateenv. Remove symbol versioning code.
8756 * sysdeps/arm/fgetexcptflg.c (__fegetexceptflag): Rename to
8757 fegetexceptflag. Remove symbol versioning code.
8758 * sysdeps/arm/fsetexcptflg.c (__fesetexceptflag): Rename to
8759 fesetexceptflag. Remove symbol versioning code.
8760 * sysdeps/unix/sysv/linux/arm/Versions (libc): Remove GLIBC_2.0,
8761 GLIBC_2.2 and GLIBC_2.3.3 entries. Change GLIBC_2.1 to GLIBC_2.4.
8762 * sysdeps/unix/sysv/linux/arm/posix_fadvise64.c
8763 (__posix_fadvise64_l32): Remove prototype.
8764 [SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3)]: Remove conditional
8765 code.
8766
5da9dfad
RM
87672014-05-13 Roland McGrath <roland@hack.frob.com>
8768
8769 * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h: Moved ...
8770 * sysdeps/arm/nptl/bits/pthreadtypes.h: ... here.
8771 * sysdeps/unix/sysv/linux/arm/nptl/bits/semaphore.h: Moved ...
8772 * sysdeps/arm/nptl/bits/semaphore.h: ... here.
8773
893b4f37
SK
87742014-05-13 Sami Kerola <kerolasa@iki.fi>
8775
8776 * timezone/Makefile ($(objpfx)tzselect): Use zonedir instead
8777 current working directory
8778
e0db6517
RM
87792014-05-13 Roland McGrath <roland@hack.frob.com>
8780
58aa195d
RM
8781 * sysdeps/unix/sysv/linux/arm/nptl/c++-types.data: Moved ...
8782 * sysdeps/unix/sysv/linux/arm/c++-types.data: ... here.
8783 * sysdeps/unix/sysv/linux/arm/nptl/createthread.c: Moved ...
8784 * sysdeps/unix/sysv/linux/arm/createthread.c: ... here.
8785 * sysdeps/unix/sysv/linux/arm/nptl/fork.c: Moved ...
8786 * sysdeps/unix/sysv/linux/arm/fork.c: ... here.
8787 * sysdeps/unix/sysv/linux/arm/nptl/ld.abilist: Moved ...
8788 * sysdeps/unix/sysv/linux/arm/ld.abilist: ... here.
8789 * sysdeps/unix/sysv/linux/arm/nptl/libBrokenLocale.abilist: Moved ...
8790 * sysdeps/unix/sysv/linux/arm/libBrokenLocale.abilist: ... here.
8791 * sysdeps/unix/sysv/linux/arm/nptl/libanl.abilist: Moved ...
8792 * sysdeps/unix/sysv/linux/arm/libanl.abilist: ... here.
8793 * sysdeps/unix/sysv/linux/arm/nptl/libc.abilist: Moved ...
8794 * sysdeps/unix/sysv/linux/arm/libc.abilist: ... here.
8795 * sysdeps/unix/sysv/linux/arm/nptl/libcrypt.abilist: Moved ...
8796 * sysdeps/unix/sysv/linux/arm/libcrypt.abilist: ... here.
8797 * sysdeps/unix/sysv/linux/arm/nptl/libdl.abilist: Moved ...
8798 * sysdeps/unix/sysv/linux/arm/libdl.abilist: ... here.
8799 * sysdeps/unix/sysv/linux/arm/nptl/libm.abilist: Moved ...
8800 * sysdeps/unix/sysv/linux/arm/libm.abilist: ... here.
8801 * sysdeps/unix/sysv/linux/arm/nptl/libnsl.abilist: Moved ...
8802 * sysdeps/unix/sysv/linux/arm/libnsl.abilist: ... here.
8803 * sysdeps/unix/sysv/linux/arm/nptl/libpthread.abilist: Moved ...
8804 * sysdeps/unix/sysv/linux/arm/libpthread.abilist: ... here.
8805 * sysdeps/unix/sysv/linux/arm/nptl/libresolv.abilist: Moved ...
8806 * sysdeps/unix/sysv/linux/arm/libresolv.abilist: ... here.
8807 * sysdeps/unix/sysv/linux/arm/nptl/librt.abilist: Moved ...
8808 * sysdeps/unix/sysv/linux/arm/librt.abilist: ... here.
8809 * sysdeps/unix/sysv/linux/arm/nptl/libthread_db.abilist: Moved ...
8810 * sysdeps/unix/sysv/linux/arm/libthread_db.abilist: ... here.
8811 * sysdeps/unix/sysv/linux/arm/nptl/libutil.abilist: Moved ...
8812 * sysdeps/unix/sysv/linux/arm/libutil.abilist: ... here.
8813 * sysdeps/unix/sysv/linux/arm/nptl/localplt.data: Moved ...
8814 * sysdeps/unix/sysv/linux/arm/localplt.data: ... here.
8815 * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.h: Moved ...
8816 * sysdeps/unix/sysv/linux/arm/lowlevellock.h: ... here.
8817 * sysdeps/unix/sysv/linux/arm/nptl/sysdep-cancel.h: Moved ...
8818 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: ... here.
8819 * sysdeps/unix/sysv/linux/arm/nptl/unwind-forcedunwind.c: Moved ...
8820 * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c: ... here.
8821 * sysdeps/unix/sysv/linux/arm/nptl/unwind-resume.c: Moved ...
8822 * sysdeps/unix/sysv/linux/arm/unwind-resume.c: ... here.
8823
8c6d01f0
RM
8824 * sysdeps/unix/sysv/linux/arm/Versions (libc: GLIBC_PRIVATE): New set.
8825 * sysdeps/unix/sysv/linux/arm/nptl/Versions: File removed.
8826
8827 * sysdeps/unix/sysv/linux/arm/Makefile
8828 [$(subdir) = rt] (librt-sysdep_routines, librt-shared-only-routines):
8829 Add rt-aeabi_unwind_cpp_pr1.
8830 [$(subdir) = nptl] (librt-sysdep_routines, librt-shared-only-routines):
8831 Add nptl-aeabi_unwind_cpp_pr1.
8832 [$(subdir) = nptl] (tests): Filter out tst-cleanupx4.
8833 * sysdeps/unix/sysv/linux/arm/nptl/Makefile: File removed.
8834 * sysdeps/unix/sysv/linux/arm/nptl/rt-aeabi_unwind_cpp_pr1.c: Move ...
8835 * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
8836 * sysdeps/unix/sysv/linux/arm/nptl/nptl-aeabi_unwind_cpp_pr1.c: Move ...
8837 * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
8838
8839 * sysdeps/unix/sysv/linux/arm/configure.ac: Force -fexceptions here.
8840 * sysdeps/unix/sysv/linux/arm/configure: Regenerated.
8841 * sysdeps/unix/sysv/linux/arm/nptl/configure.ac: File removed.
8842 * sysdeps/unix/sysv/linux/arm/nptl/configure: File removed.
8843
bba6da4e
RM
8844 * sysdeps/unix/sysv/linux/arm/clone.S: Include <tcb-offsets.h>.
8845 Deconditionalize the code that was previously under [RESET_PID].
8846 * sysdeps/unix/sysv/linux/arm/nptl/clone.S: File removed.
8847
e0db6517
RM
8848 * sysdeps/generic/exit-thread.h: New file.
8849 * sysdeps/unix/sysv/linux/exit-thread.h: New file.
8850 * include/unistd.h (__exit_thread): Remove declaration.
8851 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Drop exit-thread.
8852 * sysdeps/unix/sysv/linux/exit-thread.S: File removed.
8853 * csu/libc-start.c: Include <exit-thread.h>.
8854 (LIBC_START_MAIN): Pass no argument to __exit_thread.
8855 * nptl/pthread_create.c: Include <exit-thread.h>.
8856 (start_thread): Call __exit_thread in place of __exit_thread_inline.
8857 * nptl/sysdeps/i386/pthreaddef.h (__exit_thread_inline): Macro removed.
8858 * nptl/sysdeps/powerpc/pthreaddef.h: Likewise.
8859 * nptl/sysdeps/s390/pthreaddef.h: Likewise.
8860 * nptl/sysdeps/sh/pthreaddef.h: Likewise.
8861 * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Likewise.
8862 * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Likewise.
8863 * nptl/sysdeps/x86_64/pthreaddef.h: Likewise.
8864 * sysdeps/aarch64/nptl/pthreaddef.h: Likewise.
8865 * sysdeps/alpha/nptl/pthreaddef.h: Likewise.
8866 * sysdeps/arm/nptl/pthreaddef.h: Likewise.
8867 * sysdeps/hppa/nptl/pthreaddef.h: Likewise.
8868 * sysdeps/ia64/nptl/pthreaddef.h: Likewise.
8869 * sysdeps/m68k/nptl/pthreaddef.h: Likewise.
8870 * sysdeps/microblaze/nptl/pthreaddef.h: Likewise.
8871 * sysdeps/mips/nptl/pthreaddef.h: Likewise.
8872 * sysdeps/tile/nptl/pthreaddef.h: Likewise.
8873
01eb16fd
AS
88742014-05-13 Andreas Schwab <schwab@suse.de>
8875
8876 * sysdeps/unix/grantpt.c (grantpt): Fix typo in assertion.
8877
637461d9
JM
88782014-05-12 Joseph Myers <joseph@codesourcery.com>
8879
8880 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__]
8881 (__ASSUME_UTIMES): Do not condition on kernel version.
8882 (__ASSUME_PSELECT): Define unconditionally.
8883 (__ASSUME_PPOLL): Likewise.
8884 (__ASSUME_ATFCTS): Likewise.
8885 (__ASSUME_SET_ROBUST_LIST): Do not condition on kernel version.
8886 (__ASSUME_COMPLETE_READV_WRITEV): Define unconditionally.
8887 (__ASSUME_FUTEX_LOCK_PI): Do not condition on kernel version.
8888 (__ASSUME_UTIMENSAT): Define unconditionally.
8889 (__ASSUME_PRIVATE_FUTEX): Likewise.
8890 (__ASSUME_FALLOCATE): Likewise.
8891 (__ASSUME_O_CLOEXEC): Likewise.
8892 (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Remove.
8893 (__ASSUME_ARG_MAX_STACK_BASED): Likewise.
8894 (__ASSUME_ADJ_OFFSET_SS_READ): Define unconditionally.
8895 (__ASSUME_SOCK_CLOEXEC): Do not condition on kernel version.
8896 (__ASSUME_IN_NONBLOCK): Likewise.
8897 (__ASSUME_PIPE2): Likewise.
8898 (__ASSUME_EVENTFD2): Likewise.
8899 (__ASSUME_SIGNALFD4): Likewise.
8900 (__ASSUME_DUP3): Likewise.
8901 [__x86_64__ || __sparc__] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
8902 (__ASSUME_FUTEX_CLOCK_REALTIME): Define unconditionally.
8903 (__ASSUME_AT_RANDOM): Likewise.
8904 (__ASSUME_PREADV): Likewise.
8905 (__ASSUME_PWRITEV): Likewise.
8906 (__ASSUME_REQUEUE_PI): Do not condition on kernel version.
8907 (__ASSUME_F_GETOWN_EX): Define unconditionally.
8908 (__ASSUME_XFS_RESTRICTED_CHOWN): Likewise.
8909 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
8910 [!__ASSUME_ARG_MAX_STACK_BASED]: Remove conditional code.
8911 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
8912 (__ASSUME_O_CLOEXEC): Define unconditionally.
8913 (__ASSUME_PSELECT): Do not undefine conditionally.
8914 (__ASSUME_PPOLL): Likewise.
8915 (__ASSUME_ATFCTS): Likewise.
8916 (__ASSUME_SET_ROBUST_LIST): Likewise.
8917 (__ASSUME_UTIMENSAT): Likewise.
8918 (__ASSUME_FDATASYNC): Define unconditionally.
8919 * sysdeps/unix/sysv/linux/arm/kernel-features.h
8920 (__ASSUME_SIGFRAME_V2): Likewise.
8921 )__ASSUME_EVENTFD2): Likewise.
8922 (__ASSUME_SIGNALFD4): Likewise.
8923 (__ASSUME_PSELECT): Do not undefine conditionally.
8924 (__ASSUME_PPOLL): Likewise.
8925 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
8926 (__ASSUME_PSELECT): Define unconditionally.
8927 (__ASSUME_PPOLL): Likewise.
8928 (__ASSUME_O_CLOEXEC): Likewise.
8929 (__ASSUME_SOCK_CLOEXEC): Likewise.
8930 (__ASSUME_IN_NONBLOCK): Likewise.
8931 (__ASSUME_PIPE2): Likewise.
8932 (__ASSUME_EVENTFD2): Likewise.
8933 (__ASSUME_SIGNALFD4): Likewise.
8934 (__ASSUME_DUP3): Likewise.
8935 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
8936 (__ASSUME_O_CLOEXEC): Likewise.
8937 (__ASSUME_SOCK_CLOEXEC): Likewise.
8938 (__ASSUME_IN_NONBLOCK): Likewise.
8939 (__ASSUME_PIPE2): Likewise.
8940 (__ASSUME_EVENTFD2): Likewise.
8941 (__ASSUME_SIGNALFD4): Likewise.
8942 (__ASSUME_DUP3): Likewise.
8943 * sysdeps/unix/sysv/linux/mips/kernel-features.h
8944 (__ASSUME_EVENTFD2): Likewise.
8945 (__ASSUME_SIGNALFD4): Likewise.
8946 (__ASSUME_ACCEPT4_SYSCALL): Likewise.
8947
315eb1d8
AS
89482014-05-12 Andreas Schwab <schwab@suse.de>
8949
8950 [BZ #16932]
8951 * nis/nss_nis/nis-hosts.c (internal_gethostbyname2_r)
8952 (_nss_nis_gethostbyname4_r): Return error if item length is larger
8953 than maximum RPC packet size.
8954 * nis/nss_nis/nis-initgroups.c (initgroups_netid): Likewise.
8955 * nis/nss_nis/nis-network.c (_nss_nis_getnetbyname_r): Likewise.
8956 * nis/nss_nis/nis-service.c (_nss_nis_getservbyname_r)
8957 (_nss_nis_getservbyport_r): Likewise.
8958
91df99f7
WN
89592014-05-12 Will Newton <will.newton@linaro.org>
8960
8961 * malloc/Makefile (tests): Add tst-mallopt.
8962 * malloc/tst-mallopt.c: New file.
8963
0a982a29
RM
89642014-05-09 Roland McGrath <roland@hack.frob.com>
8965
8966 * sysdeps/arm/armv7/strcmp.S: Use sfi_breg prefix on loads not from sp.
8967 [NO_THUMB]: Cope without cbz, cnbz, and orn instructions.
8968
0ded08a5
AZ
89692014-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8970
8971 * elf/Makefile (tst-tlsmod5.so): Add $(no-as-needed).
8972 (tst-tlsmod6.so): Likewise.
8973
55d4d550
RM
89742014-05-09 Roland McGrath <roland@hack.frob.com>
8975
8976 * sysdeps/gnu/unwind-resume.c (libgcc_s_resume): Mark as noreturn.
8977
77d08aca
JM
89782014-05-09 Joseph Myers <joseph@codesourcery.com>
8979
8980 [BZ #16064]
8981 * sysdeps/i386/fpu/fegetenv.c: Include <unistd.h>, <ldsodefs.h>
8982 and <dl-procinfo.h>.
8983 (__fegetenv): Save SSE state in envp->__eip if supported.
8984 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Save SSE state in
8985 envp->__eip if supported.
8986 * sysdeps/i386/fpu/fesetenv.c: Include <unistd.h>, <ldsodefs.h>
8987 and <dl-procinfo.h>.
8988 (__fesetenv): Always set __eip, __cs_selector, __opcode,
8989 __data_offset and __data_selector in environment to 0. Set SSE
8990 state if supported.
8991 * sysdeps/x86/fpu/Makefile [$(subdir) = math] (tests): Add
8992 test-fenv-sse.
8993 [$(subdir) = math] (CFLAGS-test-fenv-sse.c): Add -msse2
8994 -mfpmath=sse.
8995 * sysdeps/x86/fpu/test-fenv-sse.c: New file.
8996
28162f4d
WN
89972014-05-09 Will Newton <will.newton@linaro.org>
8998
8999 * sysdeps/arm/preconfigure.ac: Set libc_commonpagesize
9000 and libc_relro_required for ARM.
9001 * sysdeps/arm/preconfigure: Regenerate.
9002
5a414ff7
DV
90032014-05-09 Dominik Vogt <vogt@linux.vnet.ibm.com>
9004 Stefan Liebler <stli@linux.vnet.ibm.com>
9005
9006 * config.make.in (enable-lock-elision): New Makefile variable.
9007 * configure.ac: Likewise.
9008 * configure: Regenerate.
9009 * sysdeps/s390/configure.ac:
9010 Add check for gcc transactions support.
9011 * sysdeps/s390/configure: Regenerate.
9012 * nptl/sysdeps/unix/sysv/linux/s390/Makefile: New file.
9013 Build elision files if enabled.
9014 * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: New file.
9015 Add lock elision support for s390.
9016 * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Likewise.
9017 * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Likewise.
9018 * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Likewise.
9019 * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Likewise.
9020 * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Likewise.
9021 * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Likewise.
9022 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
9023 Likewise.
9024 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c:
9025 Likewise.
9026 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c:
9027 Likewise.
9028 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c:
9029 Likewise.
9030 * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h:
9031 (__lll_timedlock_elision, __lll_lock_elision)
9032 (__lll_unlock_elision, __lll_trylock_elision)
9033 (lll_timedlock_elision, lll_lock_elision)
9034 (lll_unlock_elision, lll_trylock_elision): Add.
9035 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
9036 (pthread_mutex_t): Add lock elision support for s390.
9037
1a2f40e5
W
90382014-05-14 Wilco <wdijkstr@arm.com>
9039
9040 * sysdeps/arm/fclrexcpt.c: Cleanup.
9041 * sysdeps/arm/fedisblxcpt.c: Cleanup.
9042 * sysdeps/arm/feenablxcpt.c: Cleanup.
9043 * sysdeps/arm/fegetenv.c: Cleanup.
9044 * sysdeps/arm/fegetexcept.c: Cleanup.
9045 * sysdeps/arm/fegetround.c: Cleanup.
9046 * sysdeps/arm/feholdexcpt.c: Cleanup.
9047 * sysdeps/arm/fesetenv.c: Cleanup.
9048 * sysdeps/arm/fesetround.c: Cleanup.
9049 * sysdeps/arm/feupdateenv.c: Cleanup.
9050 * sysdeps/arm/fgetexcptflg.c: Cleanup.
9051 * sysdeps/arm/fraiseexcpt.c: Cleanup.
9052 * sysdeps/arm/fsetexcptflg.c: Cleanup.
9053 * sysdeps/arm/ftestexcept.c: Cleanup.
9054 * sysdeps/arm/get-rounding-mode.h: Cleanup.
9055 * sysdeps/arm/setfpucw.c: Cleanup.
9056
f63c86fe
WN
90572014-05-09 Will Newton <will.newton@linaro.org>
9058
9059 * sysdeps/arm/armv7/strcmp.S: New file.
9060 * NEWS: Mention addition of ARMv7 optimized strcmp.
9061
7a1a51b5
RM
90622014-05-08 Roland McGrath <roland@hack.frob.com>
9063
95afbbe5
RM
9064 * Makeconfig ($(common-objpfx)config.status): Fix patsubst uses to
9065 look for %.ac rather than %.in.
9066
9067 * sysdeps/mach/hurd/configure.ac (inhibit_glue): Remove variable.
9068 * sysdeps/unix/sysv/linux/configure.ac: Likewise.
9069 * sysdeps/mach/hurd/configure: Regenerated.
9070 * sysdeps/unix/sysv/linux/configure: Regenerated.
9071
7a1a51b5
RM
9072 * bits/utsname.h (_UTSNAME_DOMAIN_LENGTH): New macro, set to 0.
9073
5057ad3b
SE
90742014-05-07 Steve Ellcey <sellcey@mips.com>
9075
9076 [BZ# 16922]
9077 * sysdeps/mips/sys/asm.h (INT_SUB): Fix definition.
9078 (LONG_SUB): Ditto.
9079 (PTR_SUB): Ditto.
9080
8dc97517
AS
90812014-05-07 Andreas Schwab <schwab@suse.de>
9082
9083 * sysdeps/posix/getaddrinfo.c (gaih_inet): Advance address pointer
9084 when skipping over non-matching result from nscd.
9085
ce0c5b8f
OB
90862014-05-07 Ondřej Bílka <neleai@seznam.cz>
9087
9088 [BZ #16876]
9089 * nptl/sockperf.c (client): Check socket return value.
8dc97517 9090
a1189263
OB
9091 [BZ #16877]
9092 * nscd/selinux.c (nscd_request_avc_has_perm): Check if there is
9093 nscd security class.
ce0c5b8f 9094
0f58d252
RM
90952014-05-06 Roland McGrath <roland@hack.frob.com>
9096
9097 * sysdeps/unix/sysv/linux/arm/nptl/unwind.h: File moved to ...
9098 * sysdeps/arm/unwind.h: ... here.
9099
83df9ad0
AJ
91002014-05-06 Aurelien Jarno <aurelien@aurel32.net>
9101
ce0c5b8f
OB
9102 [BZ# 16916]
9103 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h (EFD_SEMAPHORE):
9104 Define.
83df9ad0 9105
f360f94a
VR
91062014-05-06 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
9107
9108 * sysdeps/powerpc/powerpc64/power7/strncpy.S: New file: Optimization.
9109 * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: New file:
9110 multiarch strncpy for PPC64.
9111 * sysdeps/powerpc/powerpc64/multiarch/strncpy-ppc64.c: New file
9112 * sysdeps/powerpc/powerpc64/multiarch/strncpy-power7.S: New file
9113 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpcpy, stpncpy
9114 multiarch optimizations.
9115 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
9116 (__libc_ifunc_impl_list): Likewise.
9117 * sysdeps/powerpc/powerpc64/power7/stpncpy.S: New file: Optimization.
9118 * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: New file:
9119 multiarch stpncpy for PPC64.
9120 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-ppc64.c: New file
9121 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power7.S: New file
9122
978a41c3
AS
91232014-05-06 Andreas Schwab <schwab@suse.de>
9124
9125 [BZ #16912]
9126 * gmon/mcount.c (_MCOUNT_DECL): Use
9127 atomic_compare_and_exchange_bool_acq instead of
9128 catomic_compare_and_exchange_bool_acq.
9129
eb1ed03d
RM
91302014-05-05 Roland McGrath <roland@hack.frob.com>
9131
fe658845
RM
9132 * elf/Makefile (others, install-bin): Remove pldd.
9133 (pldd-modules): Variable removed.
9134 ($(objpfx)pldd): Target removed.
9135 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = elf]
9136 (others, install-bin): Append pldd here.
9137 ($(objpfx)pldd): New target.
9138
eb1ed03d
RM
9139 * sysdeps/gnu/errlist.awk (BEGIN): Emit an initial #define of ERR_MAX
9140 to 0, so the first #if test emitted later doesn't see it undefined.
9141 (END): Emit "!defined ERRLIST_NO_COMPAT" to match what BEGIN does.
9142 * sysdeps/gnu/errlist.c: Regenerated.
9143
19c4bec0
AZ
91442014-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9145
9146 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
9147 [libc_hidden_builtin_def]: Define to empty value.
9148 * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S:
9149 [libc_hidden_builtin_def]: Likewise.
9150 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S:
9151 [libc_hidden_builtin_def]: Likewise.
9152 * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S:
9153 [libc_hidden_builtin_def]: Likewise.
9154 * sysdeps/powerpc/powerpc64/multiarch/memcpy.c (memcpy): Redefined to
9155 __redirect_memcpy and define ifunc as default hidden symbol.
9156 * sysdeps/powerpc/powerpc64/multiarch/memset.c (memset): Likewise.
9157 * sysdeps/powerpc/powerpc64/multiarch/strlen.c (strlen): Likewise.
9158
7776e669
AC
91592014-05-04 Adam Conrad <adconrad@0c3.net>
9160
9161 * locale/iso-4217.def: Reintroduce XDR currency.
9162
d69aeb12
AM
91632014-05-04 Allan McRae <allan@archlinux.org>
9164
9165 * po/eo.po: Update Esperanto translation from translation project.
9166
8f1df5cf
CD
91672014-05-02 Carlos O'Donell <carlos@redhat.com>
9168
9169 * sysdeps/x86_64/multiarch/init-arch.h: Define FEATURE_INDEX_1 to 0,
9170 and FEATURE_INDEX_MAX to 1.
9171 [!__ASSEMBLER__]: Remove anonymous enum for FEATURE_INDEX_*.
9172
13e402e7
SE
91732014-05-01 Steve Ellcey <sellcey@mips.com>
9174
9175 * iconvdata/ansi_x3.110.c (ONE_DIRECTION): Define.
9176 * iconvdata/armscii-8.c (ONE_DIRECTION): Define.
9177 * iconvdata/big5.c (ONE_DIRECTION): Define.
9178 * iconvdata/big5hkscs.c (ONE_DIRECTION): Define.
9179 * iconvdata/cp1255.c (ONE_DIRECTION): Define.
9180 * iconvdata/cp1258.c (ONE_DIRECTION): Define.
9181 * iconvdata/cp932.c (ONE_DIRECTION): Define.
9182 * iconvdata/euc-cn.c (ONE_DIRECTION): Define.
9183 * iconvdata/euc-jisx0213.c (ONE_DIRECTION): Define.
9184 * iconvdata/euc-jp-ms.c (ONE_DIRECTION): Define.
9185 * iconvdata/euc-jp.c (ONE_DIRECTION): Define.
9186 * iconvdata/euc-kr.c (ONE_DIRECTION): Define.
9187 * iconvdata/euc-tw.c (ONE_DIRECTION): Define.
9188 * iconvdata/gb18030.c (ONE_DIRECTION): Define.
9189 * iconvdata/gbbig5.c (ONE_DIRECTION): Define.
9190 * iconvdata/gbgbk.c (ONE_DIRECTION): Define.
9191 * iconvdata/gbk.c (ONE_DIRECTION): Define.
9192 * iconvdata/ibm1364.c (ONE_DIRECTION): Define.
9193 * iconvdata/ibm930.c (ONE_DIRECTION): Define.
9194 * iconvdata/ibm932.c (ONE_DIRECTION): Define.
9195 * iconvdata/ibm933.c (ONE_DIRECTION): Define.
9196 * iconvdata/ibm935.c (ONE_DIRECTION): Define.
9197 * iconvdata/ibm937.c (ONE_DIRECTION): Define.
9198 * iconvdata/ibm939.c (ONE_DIRECTION): Define.
9199 * iconvdata/ibm943.c (ONE_DIRECTION): Define.
9200 * iconvdata/iso-2022-cn-ext.c (ONE_DIRECTION): Define.
9201 * iconvdata/iso-2022-cn.c (ONE_DIRECTION): Define.
9202 * iconvdata/iso-2022-jp-3.c (ONE_DIRECTION): Define.
9203 * iconvdata/iso-2022-jp.c (ONE_DIRECTION): Define.
9204 * iconvdata/iso-2022-kr.c (ONE_DIRECTION): Define.
9205 * iconvdata/iso646.c (ONE_DIRECTION): Define.
9206 * iconvdata/iso8859-1.c (ONE_DIRECTION): Define.
9207 * iconvdata/iso_11548-1.c (ONE_DIRECTION): Define.
9208 * iconvdata/iso_6937-2.c (ONE_DIRECTION): Define.
9209 * iconvdata/iso_6937.c (ONE_DIRECTION): Define.
9210 * iconvdata/johab.c (ONE_DIRECTION): Define.
9211 * iconvdata/shift_jisx0213.c (ONE_DIRECTION): Define.
9212 * iconvdata/sjis.c (ONE_DIRECTION): Define.
9213 * iconvdata/t.61.c (ONE_DIRECTION): Define.
9214 * iconvdata/tcvn5712-1.c (ONE_DIRECTION): Define.
9215 * iconvdata/tscii.c (ONE_DIRECTION): Define.
9216 * iconvdata/uhc.c (ONE_DIRECTION): Define.
9217 * iconvdata/unicode.c (ONE_DIRECTION): Define.
9218 * iconvdata/utf-16.c (ONE_DIRECTION): Define.
9219 * iconvdata/utf-32.c (ONE_DIRECTION): Define.
9220 * iconvdata/utf-7.c (ONE_DIRECTION): Define.
9221
c727f032
RM
92222014-05-01 Roland McGrath <roland@hack.frob.com>
9223
8f2f08d0
RM
9224 * libio/libioP.h [!_IO_USE_OLD_IO_FILE && !_G_IO_NO_BACKWARD_COMPAT]
9225 (_IO_JUMPS_OFFSET): Define to 0.
9226
c727f032
RM
9227 * nptl/sysdeps/pthread/bits/libc-lock.h
9228 [_LIBC && (!NOT_IN_libc || IS_IN_libpthread)]
9229 (__libc_lock_define_initialized_recursive): Always define using
9230 initializer. Modern compilers treat uninitialized (implicit zero) and
9231 explicit zero initializers the same (i.e. put the datum in bss).
9232
a849e800
AS
92332014-05-01 Andreas Schwab <schwab@linux-m68k.org>
9234
9235 * nscd/nscd-client.h: Include <string.h>.
9236
5331255b
DM
92372014-05-01 David S. Miller <davem@davemloft.net>
9238
9239 [BZ #16885]
9240 * sysdeps/sparc/sparc64/strcmp.S: Fix end comparison handling when
9241 multiple zero bytes exist at the end of a string.
9242 Reported by Aurelien Jarno <aurelien@aurel32.net>
9243
9244 * string/test-strcmp.c (check): Add explicit test for situations where
9245 there are multiple zero bytes after the first.
9246
4fdfe821
AS
92472014-05-01 Andreas Schwab <schwab@linux-m68k.org>
9248
9249 [BZ #16890]
9250 * stdio-common/vfprintf.c (process_arg) [%p]: Mark string as wide
9251 when compiling wprintf.
9252 * stdio-common/tstdiomisc.c (t3): New function.
9253 (main): Call it.
9254
0cdddc25
SE
92552014-05-01 Steve Ellcey <sellcey@mips.com>
9256
9257 * intl/iconv/skeleton.c (ONE_DIRECTION): Remove define.
9258 * iconv/gconv_simple.c (ONE_DIRECTION): Define.
9259 * iconvdata/8bit-gap.c (ONE_DIRECTION): Ditto.
9260 * iconvdata/8bit-generic.c (ONE_DIRECTION): Ditto.
9261
6426d77e
SE
92622014-05-01 Steve Ellcey <sellcey@mips.com>
9263
9264 * stdlib/longlong.h: Updated from GCC.
9265
6d96f5e4
WN
92662014-05-01 Will Newton <will.newton@linaro.org>
9267 Bernard Ogden <bernie.ogden@linaro.org>
9268
7470db0c
WN
9269 * NEWS: Update fixed bug list.
9270
6d96f5e4
WN
9271 [BZ #15119]
9272 * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.c: Remove file.
9273
211d653c
DM
92742014-04-30 David S. Miller <davem@davemloft.net>
9275
4fa262fa
DM
9276 * sysdeps/sparc/fpu/fenv_private.h (HAVE_RM_CTX): Define.
9277 (libc_feholdexcept_setround_sparc_ctx): New function.
9278 (libc_fesetenv_sparc_ctx): Likewise.
9279 (libc_feupdateenv_sparc_ctx): Likewise.
9280 (libc_feholdsetround_sparc_ctx): Likewise.
9281 (libc_feholdexcept_setround_ctx): Define.
9282 (libc_feholdexcept_setroundf_ctx): Likewise.
9283 (libc_feholdexcept_setroundl_ctx): Likewise.
9284 (libc_fesetenv_ctx): Likewise.
9285 (libc_fesetenvf_ctx): Likewise.
9286 (libc_fesetenvl_ctx): Likewise.
9287 (libc_feupdateenv_ctx): Likewise.
9288 (libc_feupdateenvf_ctx): Likewise.
9289 (libc_feupdateenvl_ctx): Likewise.
9290 (libc_feresetround_ctx): Likewise.
9291 (libc_feresetroundf_ctx): Likewise.
9292 (libc_feresetroundl_ctx): Likewise.
9293 (libc_feholdsetround_ctx): Likewise.
9294 (libc_feholdsetroundf_ctx): Likewise.
9295 (libc_feholdsetroundl_ctx): Likewise.
9296
1d3d93ef
DM
9297 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
9298 with __USE_GNU instead of XOPEN cpp guards.
9299
8aa583c3
DM
9300 * sysdeps/sparc/bits/string.h (_STRING_ARCH_unaligned): Define to
9301 0.
9302
211d653c
DM
9303 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
9304 with XOPEN cpp guards.
9305
60c8f1f6
JB
93062014-04-30 Julian Brown <julian@codesourcery.com>
9307
9308 [BZ #16888]
9309 * sysdeps/arm/dl-machine.h (elf_machine_rela): Fix R_ARM_IRELATIVE
9310 handling.
9311
9a461d46
JM
93122014-04-30 Joseph Myers <joseph@codesourcery.com>
9313
d0f5b3f8
JM
9314 [BZ #9894]
9315 * sysdeps/unix/sysv/linux/configure.ac (LIBC_LINUX_VERSION):
9316 Change to 2.6.32.
9317 (arch_minimum_kernel): Change all 2.6.16 settings to 2.6.32.
9318 * sysdeps/unix/sysv/linux/configure: Regenerated.
9319 * sysdeps/unix/sysv/linux/microblaze/configure.ac: Remove file.
9320 * sysdeps/unix/sysv/linux/microblaze/configure: Likewise.
9321 * sysdeps/unix/sysv/linux/tile/configure.ac: Likewise.
9322 * sysdeps/unix/sysv/linux/tile/configure: Likewise.
9323 * README: Update reference to required Linux kernel version.
9324 * manual/install.texi (Linux): Update reference to required Linux
9325 kernel headers version.
9326 * INSTALL: Regenerated.
9327
9a461d46
JM
9328 * conform/data/stdlib.h-data [POSIX] (stddef.h): Do not allow
9329 header inclusion.
9330 [POSIX] (limits.h): Likewise.
9331 [POSIX] (math.h): Likewise.
9332 [POSIX] (sys/wait.h): Likewise.
9333 * conform/data/string.h-data [POSIX || UNIX98] (strtok_r): Require
9334 function.
9335 [POSIX] (stddef.h): Do not allow header inclusion.
9336
1775babf
AZ
93372014-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9338
57f41c40 9339 * sysdeps/generic/symbol-hacks.h (memcpy): Add internal alias.
1775babf 9340
8f630cca
YY
93412014-04-30 Yang Yingliang <yangyingliang@huawei.com>
9342
9343 * nptl/pthread_cond_broadcast.c (__pthread_cond_broadcast):
9344 Return immediately after lll_futex_wake.
9345
1cdeb237
SP
93462014-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
9347
bc8f194c
SP
9348 [BZ #16791]
9349 * nscd/nscd-client.h (datahead_init_common): Initialize entire
9350 structure.
9351 (datahead_init_pos): Call datahead_init_common early.
9352 (datahead_init_neg): Likewise.
9353
1cdeb237
SP
9354 * nscd/nscd-client.h (datahead_init_common, datahead_init_pos,
9355 datahead_init_neg): New functions.
9356 * nscd/aicache.c (addhstaiX): Use them.
9357 * nscd/grpcache.c (cache_addgr): Likewise.
9358 * nscd/hstcache.c (cache_addhst): Likewise.
9359 * nscd/initgrcache.c (addinitgroupsX): Likewise.
9360 * nscd/netgroupcache.c (do_notfound): Likewise.
9361 (addgetnetgrentX): Likewise.
9362 (addinnetgrX): Likewise.
9363 * nscd/pwdcache.c (cache_addpw): Likewise.
9364 * nscd/servicescache.c (cache_addserv): Likewise.
9365
16b293a7
SP
93662014-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
9367 Atsushi Onoe <atsushi@onoe.org>
9368
9369 [BZ #14308]
9370 [BZ #12994]
9371 [BZ #13651]
9372 * resolv/res_query.c (__libc_res_nsearch): Return if at least
9373 one response is valid.
9374 * resolv/res_send.c (send_dg): Check for validity of other
9375 response if the current response is a referral.
9376
a28a9b94
SE
93772014-04-29 Steve Ellcey <sellcey@mips.com>
9378
9379 * iconv/skeleton.c (ONE_DIRECTION): Set default value if not set.
9380
2ca180e9
SL
93812014-04-29 Stefan Liebler <stli@linux.vnet.ibm.com>
9382
9383 [BZ #16823]
9384 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl):
9385 Always divide by positive zero when computing -Inf result.
9386 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
9387 * sysdeps/ieee754/flt-32/s_log1pf.c (__log1pf): Likewise.
9388
18f2945a
AZ
93892014-04-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9390
9391 * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Do not update
9392 FPSCR if value do not change.
9393 * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
9394 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Likewise.
9395 * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Likewise.
9396 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
9397 * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Likewise.
9398 * sysdeps/powerpc/fpu/fenv_libc.h (fenv_reg_to_exceptions): New helper
9399 function.
9400
5abebba4
CD
94012014-05-29 Carlos O'Donell <carlos@systemhalted.org>
9402
9403 * sysdeps/hppa: Move directory from ports/sysdeps/hppa.
9404 * sysdeps/unix/sysv/linux/hppa: Move directory from
9405 ports/systeps/unix/sysv/linux/hppa.
9406 * README: Update listing for hppa-*-linux-gnu.
9407
f7ed60c2
OB
94082014-04-28 Ondřej Bílka <neleai@seznam.cz>
9409
fff763a5
OB
9410 [BZ #16754]
9411 * manual/stdio.texi (Hook functions): Fix types of stream hook
9412 functions.
f7ed60c2
OB
9413 [BZ #16854]
9414 * socket/sys/socket.h: Fix typo in comment.
9415
df639d73
WD
94162014-04-28 Wilco <wdijkstr@arm.com>
9417
f7ed60c2 9418 * sysdeps/arm/fenv_private.h: New file.
df639d73
WD
9419 * sysdeps/arm/math_private.h: New file.
9420 * sysdeps/arm/fpu_control.h: Add _FPU_MASK_NCZV and _FPU_MASK_EXCEPT.
9421
48332d82
L
94222014-04-25 H.J. Lu <hongjiu.lu@intel.com>
9423
9424 * sysdeps/x86/bits/link.h (La_x86_64_regs): Replace __int128
9425 with __int128_t.
9426 (La_x86_64_retval): Likewise.
9427
e5e0d9a4
IB
94282014-04-24 Ian Bolton <ian.bolton@arm.com>
9429
9430 * sysdeps/aarch64/fpu/fclrexcpt.c (feclearexcept): Don't write to
9431 fpsr if value didn't change.
9432 * sysdeps/aarch64/fpu/fedisblxcpt.c (fedisableexcept): Don't write
9433 to fpcr if value didn't change.
9434 * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Likewise.
9435 * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Don't write to
9436 fpsr or fpcr if value didn't change.
9437 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
9438 * sysdeps/aarch64/fpu/fesetround.c (fesetround): Don't write to
9439 fpcr if value didn't change.
9440 * sysdeps/aarch64/fpu/fsetexcptflg.c (fesetexceptflag): Don't write
9441 to fpsr if value didn't change.
9442
bacc75f7
SP
94432014-02-23 Siddhesh Poyarekar <siddhesh@redhat.com>
9444
9445 * nptl/tst-sem3.c: Use test-skeleton.c
9446 (main): Rename to do_test. Use return instead of
9447 exit.
9448 * nptl/tst-sem4.c: Use test-skeleton.c
9449 (main): Rename to do_test.
9450
a059d359
DM
94512014-04-22 David S. Miller <davem@davemloft.net>
9452
9453 * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h
9454 (struct sigaction): New struct member __glibc_reserved0, change
9455 type of sa_flags to int.
9456
ea6c92f3
YZ
94572014-04-22 Yufeng Zhang <yufeng.zhang@arm.com>
9458
9459 * stdlib/longlong.h (count_leading_zeros, count_trailing_zeros)
9460 (COUNT_LEADING_ZEROS_0): Define for AArch64.
9461
766c4a36
SP
94622014-04-22 Siddhesh Poyarekar <siddhesh@redhat.com>
9463
9464 * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Include atomic.h.
9465 * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Likewise.
9466
140cc7ab
VK
94672014-04-22 Will Newton <will.newton@linaro.org>
9468 Venkataramanan Kumar <venkataramanan.kumar@linaro.org>
9469
9470 * sysdeps/aarch64/__longjmp.S: Include stap-probe.h.
9471 (__longjmp): Add longjmp and longjmp_target SystemTap
9472 probes.
9473 * sysdeps/aarch64/setjmp.S: Include stap-probe.h.
9474 (__sigsetjmp): Add setjmp SystemTap probe.
9475
c54e5cf7
CD
94762014-04-17 Carlos O'Donell <carlos@redhat.com>
9477
9478 * manual/intro.texi (Roadmap to the manual): Sort chapter listing to
9479 match manual order.
9480
75ffb047
AZ
94812014-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9482
9483 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_once.c: Remove file.
9484
2cd925f7
AZ
9485 * sysdeps/powerpc/fpu/fenv_private.h
9486 (libc_feholdexcept_setroundl_ctx): Define to
9487 libc_feholdexcept_setround_ppc_ctx.
9488 (libc_fesetenvl_ctx): Define to libc_fesetenv_ppc_ctx.
9489 (libc_feholdsetroundl_ctx): Define to libc_feholdsetround_ppc_ctx.
9490 (libc_feresetroundl_ctx): Define to libc_feresetround_ppc_ctx.
9491 (libc_feupdateenvl_ctx): libc_feupdateenv_ppc_ctx.
9492
39e6cd8d
IB
94932014-04-17 Ian Bolton <ian.bolton@arm.com>
9494
9495 * sysdeps/aarch64/math-tests.h: New file.
9496
f9281df9
SY
94972014-04-17 Sihai Yao <sihai.ysh@alibaba-inc.com>
9498
9499 * sysdeps/x86_64/multiarch/ifunc-defines.sym (COMMON_CPUID_INDEX_7):
9500 New.
9501 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
9502 Check and set bit_AVX2_Usable.
9503 * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX2_Usable): New
9504 macro.
9505 (bit_AVX2): Likewise.
9506 (index_AVX2_Usable): Likewise.
9507 (CPUID_AVX2): Likewise.
9508 (HAS_AVX2): Likewise.
9509
37d35007
WN
95102014-04-17 Will Newton <will.newton@linaro.org>
9511
7c677662
WN
9512 * manual/setjmp.texi (System V contexts): Add note that
9513 calling setcontext on a context created by a call to a
9514 signal handler is undefined. Update text to note that
9515 setcontext from a signal handler is possible but not
9516 recommended.
9517
37d35007 9518 [BZ #16629]
e04a4e9d
WN
9519 * stdlib/tst-setcontext.c: Include signal.h.
9520 (main): Check that the signal stack before and
9521 after swapcontext is the same.
9522
37d35007
WN
9523 * sysdeps/unix/sysv/linux/aarch64/setcontext.S (__setcontext):
9524 Re-implement to restore registers in user code and avoid
9525 rt_sigreturn system call.
9526
423a7160
W
95272014-04-17 Wilco <wdijkstr@arm.com>
9528
9529 * sysdeps/arm/math-tests.h: New file: Set ARM math-test settings.
9530 * sysdeps/generic/math-tests.h: Add macro (EXCEPTION_ENABLE_SUPPORTED).
9531 * math/test-fenv.c: Skip exception trap tests on targets which only
9532 support non-stop mode.
9533
bc93ab29
IB
95342014-04-17 Ian Bolton <ian.bolton@arm.com>
9535 Wilco Dijkstra <wilco.dijkstra@arm.com>
9536
9537 * sysdeps/aarch64/fpu/math_private.h (HAVE_RM_CTX)
9538 (libc_feholdsetround_aarch64_ctx)
9539 (libc_feholdsetround_ctx, libc_feholdsetroundf_ctx)
9540 (libc_feholdsetroundl_ctx, libc_feresetround_aarch64_ctx)
9541 (libc_feresetround_ctx, libc_feresetroundf_ctx)
9542 (libc_feresetroundl_ctx, libc_feresetround_noex_aarch64_ctx)
9543 (libc_feresetround_noex_ctx, libc_feresetround_noexf_ctx)
9544 (libc_feresetround_noexl_ctx): Define.
9545
95fc5fa3
RH
95462014-04-16 Richard Henderson <rth@redhat.com>
9547
ddb04724
RH
9548 * sysdeps/unix/sysv/linux/alpha/nptl/pthread_once.c: Remove.
9549
d77c0899
RH
9550 * sysdeps/alpha/Makefile [debug] (CFLAGS-backtrace.c): Enable
9551 unwind tables.
9552
a3df56fc
RH
9553 * sysdeps/unix/alpha/sysdep.h (__pointer_chk_guard): Remove
9554 const from the non-libc, non-ldso copy.
9555
95fc5fa3
RH
9556 * sysdeps/alpha/libm-test-ulps: Regenerate.
9557
7e0b6763
IB
95582014-04-16 Ian Bolton <ian.bolton@arm.com>
9559 Wilco Dijkstra <wilco.dijkstra@arm.com>
9560
9561 * sysdeps/aarch64/fpu/math_private.h: New file.
9562
a9ea2e0c
MS
95632014-04-16 Marcus Shawcroft <marcus.shawcroft@arm.com>
9564
9565 * sysdeps/aarch64/libm-test-ulps: Regenerate.
9566
ea8ba7cd
IZ
95672014-04-16 Igor Zamyatin <igor.zamyatin@intel.com>
9568
7e54fd04 9569 [BZ #16275]
ea8ba7cd
IZ
9570 * sysdeps/x86_64/bits/link.h (La_x86_64_regs): Add lr_bnd.
9571 (La_x86_64_retval): Add lrv_bnd0 and lrv_bnd1.
9572 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Save
9573 Intel MPX bound registers before _dl_profile_fixup.
9574 * sysdeps/x86_64/dl-trampoline.h: Restore Intel MPX bound
9575 registers after _dl_profile_fixup. Save and restore bound
9576 registers bnd0/bnd1 when calling _dl_call_pltexit.
9577 * sysdeps/x86_64/link-defines.sym (BND_SIZE): New.
9578 (LR_BND_OFFSET): Likewise.
9579 (LRV_BND0_OFFSET): Likewise.
9580 (LRV_BND1_OFFSET): Likewise.
9581
9f2a4fbc
ST
95822014-04-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
9583
9584 * sysdeps/mach/hurd/tls.h (dtv, dtv_t, tcbhead_t): Move declarations
9585 to...
9586 * sysdeps/mach/hurd/i386/tls.h: ... here.
3c799e91
ST
9587 (tcbhead_t): Add multiple_threads, sysinfo, stack_guard,
9588 pointer_guard, gscope_flag, private_futex, __private_tm, __private_ss
9589 fields.
9f2a4fbc 9590
fd15a59b
ST
95912014-04-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
9592
9593 * sysdeps/mach/munmap.c (__munmap): Return EINVAL if `addr' is 0.
9594
f19dfa0a
SL
95952014-04-16 Stefan Liebler <stli@linux.vnet.ibm.com>
9596
9597 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
9598
4fa8bc3b
SL
95992014-04-16 Stefan Liebler <stli@linux.vnet.ibm.com>
9600
9601 [BZ #14770]
9602 * sysdeps/s390/configure.ac: Check for Binutils >= 2.24.
9603 * sysdeps/s390/configure: Regenerate.
9604
8ea587db
SL
9605 [BZ #16824]
9606 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l):
9607 Set round-to-nearest internally to reduce error accumulation.
9608
aa5f0ff1
AM
96092014-04-16 Alan Modra <amodra@gmail.com>
9610
9611 [BZ #16740]
9612 [BZ #16619]
9613 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Rewrite.
9614 * math/libm-test.inc (frexp_test_data): Add tests.
9860b045 9615 * NEWS: Update fixed bug list.
aa5f0ff1 9616
bb9c256f
SP
96172014-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
9618
9619 * benchtests/Makefile: Depend on libraries in build directory.
9620 (bench-math): Separate out math tests.
9621 (bench-pthread): Separate out pthread tests.
9622 (bench): Include math and pthread tests.
9623
f737dfd0
CD
96242014-04-14 Carlos O'Donell <carlos@redhat.com>
9625
9626 [BZ #16831]
9627 * csu/libc-start.c (LIBC_START_MAIN) [!SHARED]: Call
9628 _dl_debug_initialize.
9629
0699f766
CD
9630 * configure.ac: Remove SELinux header check.
9631 * configure: Regenerate.
9632 * nscd/selinux.c (perms): Array of const char* to permission names.
9633 (nscd_request_avc_has_perm): Call security_deny_unknown to find
9634 default policy. Call string_to_security_class and string_to_av_perm to
9635 translate strings. Enforce default policy and call avs_has_perm with
9636 results of translated strings.
9637
809bd45f
DM
96382014-04-13 David S. Miller <davem@davemloft.net>
9639
9640 * sysdeps/sparc/fpu/libm-test-ulps: Update.
9641
89e691f2
AM
96422014-04-12 Allan McRae <allan@archlinux.org>
9643
9644 [BZ #16838]
9645 * manual/string.texi (Collation Functions): Fix qsort argument
9646 order in example.
9647 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
9648
9c9daaeb
CM
96492014-04-11 Chris Metcalf <cmetcalf@tilera.com>
9650
9651 * math/test-fenv-preserve.c [FE_ALL_EXCEPT == 0] (do_test):
9652 Make the test a no-op if there are no exceptions defined.
9653
95561fb9
PP
96542014-04-11 Paul Pluzhnikov <ppluzhnikov@google.com>
9655
fe8d072c 9656 * elf/Makefile (tests): make tst-dlopen-aout conditional on
95561fb9
PP
9657 enable-hardcoded-path-in-tests
9658
970c602a
WN
96592014-04-11 Will Newton <will.newton@linaro.org>
9660
9661 * benchtests/Makefile (extra-objs): Add json-lib.o.
9662 (bench-func): Tidy up JSON output.
9663 * benchtests/bench-skeleton.c: Include json-lib.h.
9664 (main): Use JSON library functions to do output of
9665 benchmark results.
9666 * benchtests/bench-timing-type.c (main): Output the
9667 timing type simply, leaving formatting to the user.
9668 * benchtests/json-lib.c: New file.
9669 * benchtests/json-lib.h: Likewise.
9670
36875b06
TR
96712014-04-11 Torvald Riegel <triegel@redhat.com>
9672
9673 [BZ #15215]
9674 * nptl/sysdeps/unix/sysv/linux/sparc/pthread_once.c: Moved to ...
9675 * nptl/sysdeps/unix/sysv/linux/pthread_once.c: ... here. Add missing
9676 memory barriers. Add comments.
9677 * sysdeps/unix/sysv/linux/aarch64/nptl/pthread_once.c: Remove file.
9678 * sysdeps/unix/sysv/linux/arm/nptl/pthread_once.c: Remove file.
9679 * sysdeps/unix/sysv/linux/ia64/nptl/pthread_once.c: Remove file.
9680 * sysdeps/unix/sysv/linux/m68k/nptl/pthread_once.c: Remove file.
9681 * sysdeps/unix/sysv/linux/mips/nptl/pthread_once.c: Remove file.
9682 * sysdeps/unix/sysv/linux/tile/nptl/pthread_once.c: Remove file.
9683
579db35a
SL
96842014-04-11 Stefan Liebler <stli@linux.vnet.ibm.com>
9685
9686 * sysdeps/s390/s390-32/configure.ac: Unify file with ...
9687 * sysdeps/s390/s390-64/configure.ac: ... this ...
9688 * sysdeps/s390/configure.ac: ... to here.
9689 * sysdeps/s390/s390-32/configure: Delete file.
9690 * sysdeps/s390/s390-64/configure: Delete file.
9691 * sysdeps/s390/configure: Regenerate.
9692
c12e9f37
JAPH
96932014-04-11 Joseph Anthony Pasquale Holsten <joseph@josephholsten.com>
9694
9695 * resolv/res_query.c (__libc_res_nsearch): Fix typo in comment.
9696
439bda32
WN
96972014-04-11 Will Newton <will.newton@linaro.org>
9698
9699 * malloc/malloc.c [!MALLOC_DEBUG]: #define MALLOC_DEBUG
9700 to zero if it is not defined elsewhere. (mtrim): Test
9701 the value of MALLOC_DEBUG with #if rather than #ifdef.
9702
6a5d6ea1
TR
97032014-04-10 Torvald Riegel <triegel@redhat.com>
9704
9705 * benchtests/pthread_once-inputs: New file.
9706 * benchtests/pthread_once-source.c: New file.
9707 * benchtests/README: Update documentation.
9708
a4c75cfd
IZ
97092014-04-09 Igor Zamyatin <igor.zamyatin@intel.com>
9710 H.J. Lu <hongjiu.lu@intel.com>
9711
7e54fd04 9712 [BZ #16275]
a4c75cfd
IZ
9713 * config.h.in (HAVE_MPX_SUPPORT): New #undef.
9714 * sysdeps/x86_64/configure.ac: Set HAVE_MPX_SUPPORT.
9715 * sysdeps/x86_64/configure: Regenerated.
9716 * sysdeps/x86_64/dl-trampoline.S (REGISTER_SAVE_AREA): New
9717 macro.
9718 (REGISTER_SAVE_RAX): Likewise.
9719 (REGISTER_SAVE_RCX): Likewise.
9720 (REGISTER_SAVE_RDX): Likewise.
9721 (REGISTER_SAVE_RSI): Likewise.
9722 (REGISTER_SAVE_RDI): Likewise.
9723 (REGISTER_SAVE_R8): Likewise.
9724 (REGISTER_SAVE_R9): Likewise.
9725 (REGISTER_SAVE_BND0): Likewise.
9726 (REGISTER_SAVE_BND1): Likewise.
9727 (REGISTER_SAVE_BND2): Likewise.
9728 (_dl_runtime_resolve): Use them. Save and restore Intel MPX
9729 bound registers when calling _dl_fixup.
9730
27822ce6
AZ
97312014-04-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9732
9733 * bits/string.h (_STRING_ARCH_unaligned): Define it to 0.
57f41c40
AS
9734 * crypt/sha256.c (_STRING_ARCH_unaligned): Check its value instead
9735 of its definition.
27822ce6
AZ
9736 * iconv/gconv_simple.c (_STRING_ARCH_unaligned): Likewise.
9737 * iconv/loop.c (_STRING_ARCH_unaligned): Likewise.
9738 * iconv/skeleton.c (_STRING_ARCH_unaligned): Likewise.
9739 * nscd/nscd_gethst_r.c (_STRING_ARCH_unaligned): Likewise.
9740 * nscd/nscd_getserv_r.c (_STRING_ARCH_unaligned): Likewise.
9741 * nscd/nscd_helper.c (_STRING_ARCH_unaligned): Likewise.
9742 * resolv/res_send.c (_STRING_ARCH_unaligned): Likewise.
9743
a88ddc90
PTB
97442014-04-09 Peter Brett <peter@peter-b.co.uk>
9745
9746 [BZ #15514]
9747 * sysdeps/posix/pathconf.c (__pathconf): Use statvfs64() for
9748 pathconf(_PC_NAME_MAX).
9749
01f8eac2
AZ
97502014-04-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9751
9752 * nptl/sysdeps/pthread/pthread.h (__PTHREAD_MUTEX_HAVE_ELISION):
9753 Remove macro usage.
9754 (__PTHREAD_SPINS): Move definition to ...
9755 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
9756 (__PTHREAD_SPINS): ... here.
9757 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
9758 (__PTHREAD_SPIN): Likewise.
9759 * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h
9760 (__PTHREAD_SPIN): Likewise.
9761 * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h
9762 (__PTHREAD_SPIN): Likewise.
9763 * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h
9764 (__PTHREAD_SPIN): Likewise.
9765 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
9766 (__PTHREAD_SPIN): Likewise.
9767 * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
9768 (__PTHREAD_SPIN): Likewise.
9769 * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h
9770 (__PTHREAD_SPIN): Likewise.
9771 * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
9772 (__PTHREAD_SPIN): Likewise.
9773 * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
9774 (__PTHREAD_SPIN): Likewise.
9775 * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
9776 (__PTHREAD_SPIN): Likewise.
9777 * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
9778 (__PTHREAD_SPIN): Likewise.
9779 * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h
9780 (__PTHREAD_SPIN): Likewise.
9781
de21c33c
AZ
9782 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: New file.
9783 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: new file.
9784 * sysdeps/powerpc/powerpc64/power6x/multiarch/Implies: New file.
9785 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove multiarch
9786 imply folder.
9787 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Likewise.
9788 * sysdeps/powerpc/powerpc64/power7/fpu/Implies: Likewise.
9789 * sysdeps/powerpc/powerpc64/power8/fpu/Implies: Likewise.
9790 * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: Adjust
9791 correct imply path.
9792 * sysdeps/powerpc/powerpc64/power7/strncat.S (STRLEN): Define correct
9793 strlen symbol for non multi-arch builds.
9794 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (__isnan): Add
9795 missing hidden_def and weak_alias.
9796
862c472e
CD
97972014-04-08 Carlos O'Donell <carlos@redhat.com>
9798
9799 * manual/ipc.texi (sem_close): AC-unsafe because of aculock.
9800
8667f90e
WN
98012014-04-07 Will Newton <will.newton@linaro.org>
9802
9803 * string/basename.c [HAVE_CONFIG_H]: Remove #ifdef and
9804 and contents. [!_LIBC] Remove #ifndef and contents.
9805 (basename): Use ANSI prototype. [_LIBC] Remove #idef.
9806 * string/memccpy.c (__memccpy): Use ANSI prototype.
9807 * string/memfrob.c (memfrob): Likewise.
9808 * string/strcoll.c (STRCOLL): Likewise.
9809 * string/strlen.c (strlen): Likewise.
9810 * string/strtok.c (STRTOK): Likewise.
9811 * string/strcat.c: Remove unused #include of memcopy.h.
9812 (strcat): Use ANSI prototype.
9813 * string/strchr.c: Remove unused #include of memcopy.h.
9814 (strchr): Use ANSI prototype.
9815 * string/strcmp.c: Remove unused #include of memcopy.h.
9816 (strcmp): Use ANSI prototype.
9817 * string/strcpy.c: Remove unused #include of memcopy.h.
9818 (strcpy): Use ANSI prototype.
9819
7ffa9423
AZ
98202014-04-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9821
9822 * Makeconfig (CPPFLAGS): Add config-extra-cppflags to list.
9823 * config.make.in (config-extra-cppflags): Set it from
9824 libc_extra_cppflags.
9825 * configure.ac (libc_extra_cflags): Make it accumulate over
9826 configure fragments.
9827 (libc_extra_cppflags): New flag.
9828 * configure. Regenerate.
9829 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
57f41c40
AS
9830 (libc_cv_ppc64_def_call_elf): Define it to yes if compiler does
9831 not set _CALL_ELF and add -D_CALL_ELF=1 to libc_extra_cppflags.
7ffa9423
AZ
9832 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Regenerate.
9833
8bd70862
AZ
9834 [BZ #16815]
9835 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (__nearbyint): Fix
9836 result for FE_DOWNWARD rounding mode.
9837 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S (__nearbyintf):
9838 Likewise.
9839 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
9840
d42f3448
CM
98412014-04-04 Chris Metcalf <cmetcalf@tilera.com>
9842
9843 * sysdeps/tile/dl-runtime.c (_dl_unmap): Fix cut-and-paste bug
9844 in function argument name.
9845
1c21d115
DS
98462014-04-03 David Svoboda <svoboda@cert.org>
9847
9848 [BZ #5666]
9849 * manual/stdio.texi (Line-Oriented Input): Document buffer allocation
9850 explicitly.
9851
fcccd512
RM
98522014-04-03 Roland McGrath <roland@hack.frob.com>
9853
9854 * elf/dl-unmap-segments.h: New file.
9855 * sysdeps/generic/ldsodefs.h
9856 (DL_UNMAP): Use _dl_unmap_segments in place of __munmap.
9857 * elf/dl-close.c: Include <dl-unmap-segments.h>.
9858 * elf/dl-fptr.c: Likewise.
9859 (_dl_unmap): Use _dl_unmap_segments in place of __munmap.
9860 * sysdeps/aarch64/tlsdesc.c: Likewise.
9861 * sysdeps/arm/tlsdesc.c: Likewise.
9862 * sysdeps/i386/tlsdesc.c: Likewise.
9863 * sysdeps/tile/dl-runtime.c: Likewise.
9864 * sysdeps/x86_64/tlsdesc.c: Likewise.
9865 * elf/dl-load.h: New file.
9866 * elf/dl-load.c: Include it.
9867 (MAP_FILE, MAP_COPY, MAP_BASE_ADDR):
9868 Macros moved to dl-load.h.
9869 (ELF_PREFERRED_ADDRESS_DATA, ELF_PREFERRED_ADDRESS): Likewise.
9870 (_dl_map_object_from_fd): Type 'struct loadcmd' moved to dl-load.h.
9871 Use _dl_unmap_segments in place of __munmap.
9872 Break out segment-mapping loop into ...
9873 * elf/dl-map-segments.h (_dl_map_segments): ... here, in new file.
9874
f6488e2b
WN
98752014-04-03 Will Newton <will.newton@linaro.org>
9876
9877 * elf/dl-lookup.c (do_lookup_x): Remove comment
9878 referring to nested function and move variable
9879 declarations down to before first use.
9880
6f05bafe
JM
98812014-04-02 Joseph Myers <joseph@codesourcery.com>
9882
a84e78c8
JM
9883 [BZ #16799]
9884 [BZ #16800]
9885 * math/s_catan.c (__catan): Avoid passing -0 denominator to atan2
9886 with 0 numerator.
9887 * math/s_catanf.c (__catanf): Likewise.
9888 * math/s_catanh.c (__catanh): Likewise.
9889 * math/s_catanhf.c (__catanhf): Likewise.
9890 * math/s_catanhl.c (__catanhl): Likewise.
9891 * math/s_catanl.c (__catanl): Likewise.
9892 * sysdeps/ieee754/flt-32/e_logf.c (__ieee754_logf): Always divide
9893 by positive zero when computing -Inf result.
9894 * math/libm-test.inc (catan_test): Use ALL_RM_TEST.
9895 (catanh_test): Likewise.
9896 * sysdeps/i386/fpu/libm-test-ulps: Update.
9897 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9898
6f05bafe
JM
9899 [BZ #16789]
9900 * math/s_clog.c (__clog): Use math_force_eval to ensure underflow
9901 instead of using underflowing value in computing result.
9902 * math/s_clog10.c (__clog10): Likewise.
9903 * math/s_clog10f.c (__clog10f): Likewise.
9904 * math/s_clog10l.c (__clog10l): Likewise.
9905 * math/s_clogf.c (__clogf): Likewise.
9906 * math/s_clogl.c (__clogl): Likewise.
9907 * math/libm-test.inc (clog_test): Use ALL_RM_TEST.
9908 (clog10_test): Likewise.
9909 * sysdeps/i386/fpu/libm-test-ulps: Update.
9910 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9911
b0abbc21
AM
99122014-04-02 Alan Modra <amodra@gmail.com>
9913
9914 [BZ #16739]
9915 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Correct
9916 output when value is near a power of two. Use int64_t for lx and
9917 remove casts. Use decimal rather than hex exponent constants.
9918 Don't use long double multiplication when double will suffice.
9919 * math/libm-test.inc (nextafter_test_data): Add tests.
9920 * NEWS: Add 16739 and 16786 to bug list.
9921
af6b1797
AM
9922 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Correct stream hint.
9923
483818d7
AM
9924 * sysdeps/powerpc/powerpc64/start.S: Add @toc to toc symbol reference.
9925
f6c55796
WN
99262014-04-01 Will Newton <will.newton@linaro.org>
9927
9928 * benchtests/Makefile (CFLAGS-bench-ffs.c): Add
9929 -fno-builtin. (CFLAGS-bench-ffsll.c): Likewise.
9930
13f7fe35
FW
99312014-04-01 Florian Weimer <fweimer@redhat.com>
9932
9933 [BZ #13347]
9934 * nptl/nptl-init.c (sighandler_setxid): Check system call result.
9935 * nptl/tst-setuid2.c: New file.
9936 * nptl/Makefile (xtests): Add tst-setuid2.
9937
c859b32e
AM
99382014-04-01 Alan Modra <amodra@gmail.com>
9939
9940 [BZ #16786]
9941 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Don't trash stack.
9942
54fa2475
JM
99432014-03-31 Joseph Myers <joseph@codesourcery.com>
9944
8795b4a4
JM
9945 [BZ #6803]
9946 [BZ #6804]
9947 * math/w_scalb.c (__scalb): For non-SVID mode, check result and
9948 set errno as appropriate.
9949 * math/w_scalbf.c (__scalbf): Likewise.
9950 * math/w_scalbl.c (__scalbl): Likewise.
9951 * math/gen-libm-test.pl (parse_args): Handle ERRNO_PLUS_OFLOW,
9952 ERRNO_MINUS_OFLOW, ERRNO_PLUS_UFLOW and ERRNO_MINUS_UFLOW.
9953 * math/libm-test.inc (scalb_test_data): Add errno expectations.
9954 Add more NaN tests.
9955
54fa2475
JM
9956 [BZ #16349]
9957 * math/w_atan2.c: Include <errno.h>.
9958 (__atan2): Set errno for result underflowing to zero.
9959 * math/w_atan2f.c: Include <errno.h>.
9960 (__atan2f): Set errno for result underflowing to zero.
9961 * math/w_atan2l.c: Include <errno.h>.
9962 (__atan2l): Set errno for result underflowing to zero.
9963 * math/auto-libm-test-in: Don't allow missing errno for some atan2
9964 tests.
9965 * math/auto-libm-test-out: Regenerated.
9966
757d9dd5
AZ
99672014-03-31 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9968
9969 * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S (MFVSRD_R3_V1):
9970 Encode instruction correctly in little endian.
9971 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S (MFVSRD_R3_V1):
9972 Likewise.
9973 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (MFVSRD_R3_V1):
9974 Likewise.
9975 * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S (MFVSRD_R3_V1):
9976 Likewise.
9977 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S (MFVSRD_R3_V1):
9978 Likewise.
9979
d7a68734
JM
99802014-03-31 Joseph Myers <joseph@codesourcery.com>
9981
47c5adeb
JM
9982 [BZ #9894]
9983 * sysdeps/unix/sysv/linux/kernel-features.h
9984 [__sparc__ && !__arch64__ && !__sparc_v9__]
9985 (__ASSUME_SET_ROBUST_LIST): Do not define.
9986 [__sparc__ && !__arch64__ && !__sparc_v9__]
9987 (__ASSUME_FUTEX_LOCK_PI): Likewise.
9988 [__sparc__ && !__arch64__ && !__sparc_v9__] (__ASSUME_REQUEUE_PI):
9989 Likewise.
9990 * sysdeps/unix/sysv/linux/arm/kernel-features.h
9991 (__ASSUME_FUTEX_LOCK_PI): Undefine.
9992 (__ASSUME_REQUEUE_PI): Likewise.
9993 (__ASSUME_SET_ROBUST_LIST): Likewise.
9994 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
9995 [__LINUX_KERNEL_VERSION < 0x030a00] (__ASSUME_FUTEX_LOCK_PI):
9996 Undefine.
9997 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
9998 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_FUTEX_LOCK_PI):
9999 Likewise.
10000 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_REQUEUE_PI):
10001 Likewise.
10002 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_SET_ROBUST_LIST):
10003 Likewise.
10004 * sysdeps/unix/sysv/linux/mips/kernel-features.h
10005 [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_FUTEX_LOCK_PI):
10006 Undefine.
10007 [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_REQUEUE_PI): Likewise.
10008 [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_SET_ROBUST_LIST):
10009 Likewise.
10010
d7a68734
JM
10011 [BZ #16648]
10012 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
10013 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_FUTIMESAT): Define.
10014 * sysdeps/unix/sysv/linux/microblaze/futimesat.c: New file.
10015
c760f5c2
WN
100162014-03-31 Will Newton <will.newton@linaro.org>
10017
10018 * benchtests/Makefile (bench): Add ffs and ffsll to list
10019 of tests.
10020 * benchtests/ffs-inputs: New file.
10021 * benchtests/ffsll-inputs: Likewise.
10022
ea6029b1
JM
100232014-03-29 Joseph Myers <joseph@codesourcery.com>
10024
10025 [BZ #16770]
10026 * math/e_scalb.c (__ieee754_scalb): Check second argument is not
10027 too large before casting to int.
10028 * math/e_scalbf.c (__ieee754_scalbf): Likewise.
10029 * math/e_scalbl.c (__ieee754_scalbl): Likewise.
10030 * math/libm-test.inc (scalb_test_data): Add more tests.
10031
cf806aff
SP
100322014-03-29 Siddhesh Poyarekar <siddhesh@redhat.com>
10033
56737508
SP
10034 * benchtests/Makefile (DETAILED_OPT): New make option.
10035 (bench-func): Run benchmark program with -d if DETAILED_OPT is
10036 set.
10037 * benchtests/bench-skeleton.c: Include stdbool.h.
10038 (main): Store and print timings per input.
10039 * benchtests/scripts/bench.py (STRUCT_TEMPLATE): Add timing
10040 member to each argument value.
10041 (EPILOGUE): Define new macros RESULT and RESULT_ACCUM.
10042 (_print_arg_data): Initialize per-input timing to 0.
10043
cb5e4aad
SP
10044 * benchtests/Makefile (timing-type): New binary.
10045 (bench-clean): Also remove bench-timing-type.
10046 (bench): New target for timing-type.
10047 (bench-func): Print output in JSON format.
10048 * benchtests/bench-skeleton.c (main): Print output in JSON
10049 format.
10050 * benchtests/bench-timing-type.c: New file.
10051 * benchtests/bench-timing.h (TIMING_TYPE): New macro.
10052 (TIMING_PRINT_STATS): Remove.
10053 * benchtests/scripts/bench.py (_print_arg_data): Store variant
10054 name separately.
10055
cf806aff
SP
10056 * benchtests/bench-modf.c: Remove.
10057 * benchtests/modf-inputs: New inputs file.
10058
289e0779
JM
100592014-03-28 Joseph Myers <joseph@codesourcery.com>
10060
10061 [BZ #16362]
10062 * math/s_clog10.c (M_PI_LOG10E): New macro.
10063 (__clog10): Use M_PI_LOG10E instead of M_PI when real and
10064 imaginary parts are 0.
10065 * math/s_clog10f.c (M_PI_LOG10Ef): New macro.
10066 (__clog10f): Use M_PI_LOG10Ef instead of M_PI when real and
10067 imaginary parts are 0.
10068 * math/s_clog10l.c (M_PI_LOG10El): New macro.
10069 (__clog10l): Use M_PI_LOG10El instead of M_PIl when real and
10070 imaginary parts are 0.
10071 * math/libm-test.inc (clog10_test_data): Update expected results
10072 for when real and imaginary parts are 0.
10073
277ae3f1
PP
100742014-03-27 Paul Pluzhnikov <ppluzhnikov@google.com>
10075
10076 * elf/dl-load.c: Finish conversion of __builtin_expect into
10077 __glibc_{un}likely.
10078
03a7091f
JM
100792014-03-27 Joseph Myers <joseph@codesourcery.com>
10080
10081 [BZ #16348]
10082 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]: Use
10083 1+x for argument with exponent below -67.
10084 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]:
10085 Likewise.
10086 * math/auto-libm-test-in: Add more tests of exp.
10087 * math/auto-libm-test-out: Regenerated.
10088
ea7d8b95
SP
100892014-03-27 Siddhesh Poyarekar <siddhesh@redhat.com>
10090
dd3022d7
SP
10091 [BZ #16759]
10092 * inet/getnetgrent_r.c (get_nonempty_val): New function.
10093 (nscd_getnetgrent): Use it.
10094
ea7d8b95
SP
10095 [BZ #16760]
10096 * nscd/netgroupcache.c (addgetnetgrentX): Use memmove instead
10097 of stpcpy.
10098
df5b85da
AK
100992014-03-27 Andi Kleen <ak@linux.intel.com>
10100
57f41c40
AS
10101 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (lll_lock)
10102 (lll_robust_lock, lll_cond_lock, lll_timedlock)
10103 (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
10104 (lll_robust_unlock): Remove out of line section. Use cfi
10105 intrinsics.
df5b85da 10106 (LLL_STUB_UNWIND_INFO*): Remove.
57f41c40
AS
10107 * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h (lll_lock)
10108 (lll_robust_lock, lll_cond_lock, lll_timedlock)
10109 (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
10110 (lll_robust_unlock): Remove out of line section. Use cfi
10111 intrinsics.
df5b85da
AK
10112 (LLL_STUB_UNWIND_INFO*): Remove.
10113
fbd6b5a4
SP
101142014-03-27 Siddhesh Poyarekar <siddhesh@redhat.com>
10115
10116 [BZ #16758]
10117 * nscd/netgroupcache.c (addinnetgrX): Succeed if triplet has
10118 blank values.
10119
1b26b855
PP
101202014-03-26 Paul Pluzhnikov <ppluzhnikov@google.com>
10121
10122 * elf/dl-load.c: Convert __builtin_expect into __glibc_{un}likely.
10123
9be36fb8
JM
101242014-03-26 Joseph Myers <joseph@codesourcery.com>
10125
10126 [BZ #16198]
10127 * sysdeps/x86_64/fpu/fegetenv.c (fegetenv): Use fldenv after
10128 fnstenv.
10129 * math/test-fenv-preserve.c: New file.
10130 * math/Makefile (tests): Add test-fenv-preserve.
10131
60a2f3c1
WN
101322014-03-26 Will Newton <will.newton@linaro.org>
10133
10134 * benchtests/bench-strtod.c (TIMEOUT): Define to 10.
10135
a5e5f1e2
RM
101362014-03-25 Roland McGrath <roland@hack.frob.com>
10137
10138 * scripts/versionlist.awk: Partition the version sets and emit all
10139 GLIBC_* (sorted) before all others (sorted).
10140
00f4012a
JM
101412014-03-25 Joseph Myers <joseph@codesourcery.com>
10142
10143 * elf/Versions (libc) [EXPORT_UNWIND_FIND_FDE]: Add empty
10144 GLIBC_2.2.5 version.
10145
7bc5a741
AZ
101462014-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10147
10148 * scripts/localplt.awk: Check for PLT generated by internal IFUNC
10149 calls.
10150
7578473b
AZ
10151 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Revert
10152 previous change.
10153
f3f1dab3
AZ
10154 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
10155
6da36183
AS
101562014-03-25 Andreas Schwab <schwab@suse.de>
10157
10158 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Add out_fail2
10159 label to be used after in6ailist is initialized.
10160
f3f1dab3 101612014-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
449282f2 10162
7578473b 10163 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
449282f2
AZ
10164 (__PTHREAD_MUTEX_HAVE_ELISION): New define.
10165
046651c1
JM
101662014-03-25 Joseph Myers <joseph@codesourcery.com>
10167
10168 [BZ #16357]
10169 [BZ #16599]
10170 * math/gen-auto-libm-tests.c (fp_format_desc): Add field
10171 min_plus_half.
10172 (fp_formats): Update initializers.
10173 (init_fp_formats): Initialize new field.
10174 (output_for_one_input_case): Allow underflow for results up to
10175 min_plus_half.
10176 * math/libm-test.inc (log1p_test): Use ALL_RM_TEST.
10177 * math/auto-libm-test-in: Don't mark some underflows from asin and
10178 atanh as spurious.
10179 * math/auto-libm-test-out: Regenerated.
10180 * sysdeps/i386/fpu/libm-test-ulps: Update.
10181 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10182
003e49ed
AS
101832014-03-25 Andreas Schwab <schwab@suse.de>
10184
10185 * libio/Makefile (tst-ftell-partial-wide-ENV)
10186 (tst-ftell-active-handler-ENV): Define.
10187
de031874
SL
101882014-03-25 Stefan Liebler <stli@linux.vnet.ibm.com>
10189
10190 * NEWS: Add 16712, 16713, 16714 to fixed bug list.
10191
55a81e3b
PP
101922014-03-24 Paul Pluzhnikov <ppluzhnikov@google.com>
10193
10194 * elf/tst-dlopen-aout.c: Adjust comments. Use test-skeleton.c
10195
f3426898
JM
101962014-03-24 Joseph Myers <joseph@codesourcery.com>
10197
10198 * sysdeps/ieee754/dbl-64/e_exp.c: Include <math.h>.
10199 * sysdeps/x86_64/fpu/multiarch/e_exp.c
10200 [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
10201
a42faf59
PP
102022014-03-24 Paul Pluzhnikov <ppluzhnikov@google.com>
10203
10204 [BZ #16634]
a42faf59 10205 * elf/dl-load.c (open_verify): Add mode parameter.
97d8ca99
CD
10206 Error early when ET_EXEC and mode does not have __RTLD_OPENEXEC.
10207 (open_path): Change from boolean 'secure' to complete flag 'mode'
10208 (_dl_map_object): Adjust.
a42faf59
PP
10209 * elf/Makefile (tests): Add tst-dlopen-aout.
10210 * elf/tst-dlopen-aout.c: New test.
10211
50936127
SL
102122014-03-24 Stefan Liebler <stli@linux.vnet.ibm.com>
10213
10214 [BZ #16714]
10215 * sysdeps/unix/sysv/linux/s390/bits/stat.h
10216 (struct stat): Rename member pad0 to __glibc_reserved0.
10217
26011b5c
SL
10218 [BZ #16712]
10219 * sysdeps/s390/s390-32/bits/wordsize.h
10220 (__WORDSIZE32_SIZE_ULONG): New define.
10221 * sysdeps/s390/s390-64/bits/wordsize.h
10222 (__WORDSIZE32_SIZE_ULONG): Likewise.
10223 * sysdeps/generic/stdint.h (SIZE_MAX):
10224 Define as UL if __WORDSIZE32_SIZE_ULONG.
10225
a2d86bf1
SL
10226 [BZ #16713]
10227 * sysdeps/unix/sysv/linux/s390/bits/sigaction.h
10228 (__glibc_reserved0): New variable.
10229 (sa_flags): Change type to int.
10230
78b6eebc
SL
10231 * posix/Makefile (before-compile): Use += before-compile instead
10232 of a :=.
10233
f1399b5a
SL
10234 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
10235 (__PTHREAD_MUTEX_HAVE_ELISION): New define.
10236
a071766e
AS
102372014-03-20 Andreas Schwab <schwab@suse.de>
10238
10239 [BZ #16743]
10240 * sysdeps/posix/getaddrinfo.c (gaih_inet): Properly skip over
10241 non-matching result from nscd.
10242
27c673b8
SP
102432014-03-24 Siddhesh Poyarekar <siddhesh@redhat.com>
10244
10245 * scripts/bench.py: Moved to ...
10246 * benchtests/scripts/bench.py: ... here.
10247 * benchtests/Makefile ($(objpfx)bench-%.c): Adjust.
10248
44152e4b
AS
102492014-03-24 Andreas Schwab <schwab@suse.de>
10250
10251 [BZ #16002]
10252 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Use
10253 alloca_account and account alloca use for struct in6ailist.
10254
b376a11a
JM
102552014-03-24 Joseph Myers <joseph@codesourcery.com>
10256
10257 [BZ #16284]
10258 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use original
10259 rounding mode to recompute results that overflow to infinity or
10260 underflow to zero.
10261 * math/auto-libm-test-in: Don't mark tests as expected to fail for
10262 bug 16284.
10263 * math/auto-libm-test-out: Regenerated.
10264 * math/libm-test.inc (ccos_test): Use ALL_RM_TEST.
10265 (ccosh_test): Likewise.
10266 (csin_test_data): Use plus_oflow.
10267 (csin_test): Use ALL_RM_TEST.
10268 (csinh_test_data): Use plus_oflow.
10269 (csinh_test): Use ALL_RM_TEST.
10270 * sysdeps/i386/fpu/libm-test-ulps: Update.
10271 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10272
f7be7376
JM
102732014-03-21 Joseph Myers <joseph@codesourcery.com>
10274
1ca2d03e
JM
10275 * sysdeps/mips/bits/wordsize.h: Include <sgidefs.h>.
10276 * sysdeps/unix/sysv/linux/mips/getrlimit64.c: Likewise.
10277 * sysdeps/unix/sysv/linux/mips/setrlimit64.c: Likewise.
10278
f7be7376
JM
10279 [BZ #16731]
10280 * sysdeps/i386/fpu/e_log.S (__ieee754_log): Take absolute value
10281 when x - 1 is zero.
10282 * sysdeps/i386/fpu/e_logf.S (__ieee754_logf): Likewise.
10283 * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Likewise.
10284 * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
10285 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Return +0 when
10286 argument is 1.
10287 * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Likewise.
10288 * sysdeps/x86_64/fpu/e_logl.S: Take absolute value when x - 1 is
10289 zero.
10290 * math/libm-test.inc (log_test): Use ALL_RM_TEST.
10291 * sysdeps/i386/fpu/libm-test-ulps: Update.
10292 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10293
fdf4534d
SP
102942014-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
10295
df26ea53
SP
10296 * scripts/bench.pl: Remove file.
10297 * scripts/bench.py: New benchmark script.
10298 * benchtests/Makefile ($(objpfx)bench-%.c): Use it.
10299 * benchtests/README: Mention python dependency.
10300 * scripts/pylintrc: New file.
10301 * scripts/pylint: New file.
10302
fdf4534d
SP
10303 * bits/mathdef.h: Use #ifdef instead of #if.
10304 * sysdeps/arm/bits/mathdef.h [defined __USE_ISOC99 && defined
10305 _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
10306 * sysdeps/tile/bits/mathdef.h [defined __USE_ISOC99 && defined
10307 _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
10308 * sysdeps/x86/bits/mathdef.h [defined __USE_ISOC99 && defined
10309 _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
10310
6f23d093
AZ
103112014-03-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10312 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
10313
10314 * string/strpbrk.c (strpbrk): Using macro to redefine symbol name.
10315 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpbrk-power7
10316 and strpbrk-ppc64 objects.
10317 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
10318 (__libc_ifunc_impl_list): Add new strpbrk optimized symbols.
10319 * sysdeps/powerpc/powerpc64/multiarch/strpbrk-power7.S: New file:
10320 multiarch strpbrk for POWER7.
10321 * sysdeps/powerpc/powerpc64/multiarch/strpbrk-ppc64.c: New file:
10322 multiarch strpbrk for PPC64.
10323 * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: New file: strpbrk
10324 ifunc selector.
10325 * sysdeps/powerpc/powerpc64/power7/strpbrk.S: New file: optimited
10326 strpbrk for POWER7.
10327
8c92dfff
JM
103282014-03-20 Joseph Myers <joseph@codesourcery.com>
10329
10330 * math/libm-test.inc (asinh_test): Use ALL_RM_TEST.
10331 (atan_test): Likewise.
10332 (atanh_test_data): Use NO_TEST_INLINE for two tests.
10333 (atanh_test): Use ALL_RM_TEST.
10334 (atan2_test_data): Likewise.
10335 (cabs_test): Likewise.
10336 (cacosh_test): Likewise.
10337 (carg_test): Likewise.
10338 (casin_test): Likewise.
10339 (casinh_test): Likewise.
10340 (cbrt_test): Likewise.
10341 (csqrt_test): Likewise.
10342 (erf_test): Likewise.
10343 (erfc_test): Likewise.
10344 (pow10_test): Likewise.
10345 (exp2_test): Likewise.
10346 (hypot_test): Likewise.
10347 (j0_test): Likewise.
10348 (j1_test): Likewise.
10349 (lgamma_test): Likewise.
10350 (gamma_test): Likewise.
10351 (sincos_test): Likewise.
10352 (tanh_test): Likewise.
10353 (y0_test): Likewise.
10354 (y1_test): Likewise.
10355 * sysdeps/i386/fpu/libm-test-ulps: Update.
10356 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10357
6eaf95cb
AZ
103582014-03-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10359
a387428c
SP
10360 * string/strcspn.c (strcspn): Using macro to redefine symbol name.
10361 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcspn-power7
6eaf95cb
AZ
10362 and strcspn-ppc64 objects.
10363 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
10364 (__libc_ifunc_impl_list): Add new strcspn optimized symbols.
10365 * sysdeps/powerpc/powerpc64/multiarch/strcspn-power7.S: New file:
10366 multiarch strcspn for POWER7.
10367 * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c: New file:
10368 multiarch strcspn for PPC64.
10369 * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: New file: strcspn
10370 ifunc selector.
10371 * sysdeps/powerpc/powerpc64/power7/strcspn.S: New file: optimited
10372 strcspn for POWER7.
10373
ae3a5dff
JM
103742014-03-20 Joseph Myers <joseph@codesourcery.com>
10375
10376 * math/gen-libm-test.pl (generate_testfile): Expect only function
10377 name as argument to AUTO_TESTS_* and pass results for all rounding
10378 modes to parse_args.
10379 (parse_auto_input): Separate inputs of automatic tests from
10380 outputs before storing in %auto_tests.
10381 * math/libm-test.inc (acos_test_data): Update call to
10382 AUTO_TESTS_f_f.
10383 (acos_test): Use ALL_RM_TEST.
10384 (acos_tonearest_test_data): Remove.
10385 (acos_test_tonearest): Likewise.
10386 (acos_towardzero_test_data): Likewise.
10387 (acos_test_towardzero): Likewise.
10388 (acos_downward_test_data): Likewise.
10389 (acos_test_downward): Likewise.
10390 (acos_upward_test_data): Likewise.
10391 (acos_test_upward): Likewise.
10392 (acosh_test_data): Update call to AUTO_TESTS_f_f.
10393 (asin_test_data): Likewise.
10394 (asin_test): Use ALL_RM_TEST.
10395 (asin_tonearest_test_data): Remove.
10396 (asin_test_tonearest): Likewise.
10397 (asin_towardzero_test_data): Likewise.
10398 (asin_test_towardzero): Likewise.
10399 (asin_downward_test_data): Likewise.
10400 (asin_test_downward): Likewise.
10401 (asin_upward_test_data): Likewise.
10402 (asin_test_upward): Likewise.
10403 (asinh_test_data): Update call to AUTO_TESTS_f_f.
10404 (atan_test_data): Likewise.
10405 (atanh_test_data): Likewise.
10406 (atan2_test_data): Update call to AUTO_TESTS_ff_f.
10407 (cabs_test_data): Update call to AUTO_TESTS_c_f.
10408 (carg_test_data): Likewise.
10409 (cbrt_test_data): Update call to AUTO_TESTS_f_f.
10410 (ccos_test_data): Update call to AUTO_TESTS_c_c.
10411 (ccosh_test_data): Likewise.
10412 (cexp_test_data): Likewise.
10413 (clog_test_data): Likewise.
10414 (clog10_test_data): Likewise.
10415 (cos_test_data): Update call to AUTO_TESTS_f_f.
10416 (cos_test): Use ALL_RM_TEST.
10417 (cos_tonearest_test_data): Remove.
10418 (cos_test_tonearest): Likewise.
10419 (cos_towardzero_test_data): Likewise.
10420 (cos_test_towardzero): Likewise.
10421 (cos_downward_test_data): Likewise.
10422 (cos_test_downward): Likewise.
10423 (cos_upward_test_data): Likewise.
10424 (cos_test_upward): Likewise.
10425 (cosh_test_data): Update call to AUTO_TESTS_f_f.
10426 (cosh_test): Use ALL_RM_TEST.
10427 (cosh_tonearest_test_data): Remove.
10428 (cosh_test_tonearest): Likewise.
10429 (cosh_towardzero_test_data): Likewise.
10430 (cosh_test_towardzero): Likewise.
10431 (cosh_downward_test_data): Likewise.
10432 (cosh_test_downward): Likewise.
10433 (cosh_upward_test_data): Likewise.
10434 (cosh_test_upward): Likewise.
10435 (cpow_test_data): Update call to AUTO_TESTS_cc_c.
10436 (csqrt_test_data): Update call to AUTO_TESTS_c_c.
10437 (ctan_test_data): Likewise.
10438 (ctan_test): Use ALL_RM_TEST.
10439 (ctan_tonearest_test_data): Remove.
10440 (ctan_test_tonearest): Likewise.
10441 (ctan_towardzero_test_data): Likewise.
10442 (ctan_test_towardzero): Likewise.
10443 (ctan_downward_test_data): Likewise.
10444 (ctan_test_downward): Likewise.
10445 (ctan_upward_test_data): Likewise.
10446 (ctan_test_upward): Likewise.
10447 (ctanh_test_data): Update call to AUTO_TESTS_c_c.
10448 (ctanh_test): Use ALL_RM_TEST.
10449 (ctanh_tonearest_test_data): Remove.
10450 (ctanh_test_tonearest): Likewise.
10451 (ctanh_towardzero_test_data): Likewise.
10452 (ctanh_test_towardzero): Likewise.
10453 (ctanh_downward_test_data): Likewise.
10454 (ctanh_test_downward): Likewise.
10455 (ctanh_upward_test_data): Likewise.
10456 (ctanh_test_upward): Likewise.
10457 (erf_test_data): Update call to AUTO_TESTS_f_f.
10458 (erfc_test_data): Likewise.
10459 (exp_test_data): Likewise.
10460 (exp_test): Use ALL_RM_TEST.
10461 (exp_tonearest_test_data): Remove.
10462 (exp_test_tonearest): Likewise.
10463 (exp_towardzero_test_data): Likewise.
10464 (exp_test_towardzero): Likewise.
10465 (exp_downward_test_data): Likewise.
10466 (exp_test_downward): Likewise.
10467 (exp_upward_test_data): Likewise.
10468 (exp_test_upward): Likewise.
10469 (exp10_test_data): Update call to AUTO_TESTS_f_f.
10470 (exp10_test): Use ALL_RM_TEST.
10471 (exp10_tonearest_test_data): Remove.
10472 (exp10_test_tonearest): Likewise.
10473 (exp10_towardzero_test_data): Likewise.
10474 (exp10_test_towardzero): Likewise.
10475 (exp10_downward_test_data): Likewise.
10476 (exp10_test_downward): Likewise.
10477 (exp10_upward_test_data): Likewise.
10478 (exp10_test_upward): Likewise.
10479 (exp2_test_data): Update call to AUTO_TESTS_f_f.
10480 (expm1_test_data): Likewise.
10481 (expm1_test): Use ALL_RM_TEST.
10482 (expm1_tonearest_test_data): Remove.
10483 (expm1_test_tonearest): Likewise.
10484 (expm1_towardzero_test_data): Likewise.
10485 (expm1_test_towardzero): Likewise.
10486 (expm1_downward_test_data): Likewise.
10487 (expm1_test_downward): Likewise.
10488 (expm1_upward_test_data): Likewise.
10489 (expm1_test_upward): Likewise.
10490 (fma_test_data): Update call to AUTO_TESTS_fff_f.
10491 (fma_test): Use ALL_RM_TEST.
10492 (fma_towardzero_test_data): Remove.
10493 (fma_test_towardzero): Likewise.
10494 (fma_downward_test_data): Likewise.
10495 (fma_test_downward): Likewise.
10496 (fma_upward_test_data): Likewise.
10497 (fma_test_upward): Likewise.
10498 (hypot_test_data): Update call to AUTO_TESTS_ff_f.
10499 (j0_test_data): Update call to AUTO_TESTS_f_f.
10500 (j1_test_data): Likewise.
10501 (jn_test_data): Update call to AUTO_TESTS_if_f.
10502 (lgamma_test_data): Update call to AUTO_TESTS_f_f1.
10503 (log_test_data): Update call to AUTO_TESTS_f_f.
10504 (log10_test_data): Likewise.
10505 (log1p_test_data): Likewise.
10506 (log2_test_data): Likewise.
10507 (pow_test_data): Update call to AUTO_TESTS_ff_f.
10508 (pow_tonearest_test_data): Likewise.
10509 (sin_test_data): Update call to AUTO_TESTS_f_f.
10510 (sin_test): Use ALL_RM_TEST.
10511 (sin_tonearest_test_data): Remove.
10512 (sin_test_tonearest): Likewise.
10513 (sin_towardzero_test_data): Likewise.
10514 (sin_test_towardzero): Likewise.
10515 (sin_downward_test_data): Likewise.
10516 (sin_test_downward): Likewise.
10517 (sin_upward_test_data): Likewise.
10518 (sin_test_upward): Likewise.
10519 (sincos_test_data): Update call to AUTO_TESTS_fFF_11.
10520 (sinh_test_data): Update call to AUTO_TESTS_f_f.
10521 (sinh_test): Use ALL_RM_TEST.
10522 (sinh_tonearest_test_data): Remove.
10523 (sinh_test_tonearest): Likewise.
10524 (sinh_towardzero_test_data): Likewise.
10525 (sinh_test_towardzero): Likewise.
10526 (sinh_downward_test_data): Likewise.
10527 (sinh_test_downward): Likewise.
10528 (sinh_upward_test_data): Likewise.
10529 (sinh_test_upward): Likewise.
10530 (sqrt_test_data): Update call to AUTO_TESTS_f_f.
10531 (sqrt_test): Use ALL_RM_TEST.
10532 (sqrt_tonearest_test_data): Remove.
10533 (sqrt_test_tonearest): Likewise.
10534 (sqrt_towardzero_test_data): Likewise.
10535 (sqrt_test_towardzero): Likewise.
10536 (sqrt_downward_test_data): Likewise.
10537 (sqrt_test_downward): Likewise.
10538 (sqrt_upward_test_data): Likewise.
10539 (sqrt_test_upward): Likewise.
10540 (tan_test_data): Update call to AUTO_TESTS_f_f.
10541 (tan_test): Use ALL_RM_TEST.
10542 (tan_tonearest_test_data): Remove.
10543 (tan_test_tonearest): Likewise.
10544 (tan_towardzero_test_data): Likewise.
10545 (tan_test_towardzero): Likewise.
10546 (tan_downward_test_data): Likewise.
10547 (tan_test_downward): Likewise.
10548 (tan_upward_test_data): Likewise.
10549 (tan_test_upward): Likewise.
10550 (tanh_test_data): Update call to AUTO_TESTS_f_f.
10551 (tgamma_test_data): Likewise.
10552 (y0_test_data): Likewise.
10553 (y1_test_data): Likewise.
10554 (yn_test_data): Update call to AUTO_TESTS_if_f.
10555 (main): Do not call removed functions.
10556
d71aeee8
JM
105572014-03-19 Joseph Myers <joseph@codesourcery.com>
10558
10559 * math/libm-test.inc (fdim_test): Use ALL_RM_TEST.
10560 (ldexp_test_data): Remove.
10561 (ldexp_test): Move to after scalbn_test. Use ALL_RM_TEST with
10562 scalbn_test_data.
10563 (scalb_test): Use ALL_RM_TEST.
10564
baaf1ded
AS
105652014-03-19 Andreas Schwab <schwab@suse.de>
10566
10567 * nscd/nscd.service: Also invalidate netgroup cache on reload.
10568
b1115e91
JM
105692014-03-19 Joseph Myers <joseph@codesourcery.com>
10570
10571 [BZ #16649]
10572 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
10573 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PREADV): Undefine.
10574 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PWRITEV): Likewise.
10575 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
10576 (__ASSUME_PREADV): Undefine.
10577 (__ASSUME_PWRITEV): Likewise.
10578
0283ecca
RM
105792014-03-18 Roland McGrath <roland@hack.frob.com>
10580
7d375303
RM
10581 * bits/mman-linux.h: Add comment about non-Linux use.
10582 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add comment about
10583 bits/mman-linux.h resting place.
10584
0283ecca
RM
10585 * sysdeps/unix/sysv/linux/bits/mman-linux.h: Moved to ...
10586 * bits/mman-linux.h: ... here.
10587
aebe1003
AZ
105882014-03-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10589
10590 * conform/conformtest.pl: Add standard definition when calling C
10591 preprocessor on data files.
10592 (checknamespace): Remove unused variable.
10593
b29b6bb8
JM
105942014-03-18 Joseph Myers <joseph@codesourcery.com>
10595
10596 * math/gen-libm-test.pl (parse_args): Handle plus_oflow,
10597 minus_oflow, plus_uflow and minus_uflow in expected results.
10598 * math/libm-test.inc (scalbn_test_data): Add more tests of
10599 negative arguments. Use plus_oflow, minus_oflow, plus_uflow and
10600 minus_uflow.
10601 (scalbn_test): Use ALL_RM_TEST.
10602 (scalbln_test_data): Add more tests of negative arguments. Use
10603 plus_oflow, minus_oflow, plus_uflow and minus_uflow.
10604 (scalbln_test): Use ALL_RM_TEST.
10605
c8f8fa15
RM
106062014-03-18 Roland McGrath <roland@hack.frob.com>
10607
10608 * scripts/abilist.awk: Ignore symbols marked with .hidden.
10609
fede7a5f
WN
106102014-03-18 Will Newton <will.newton@linaro.org>
10611
10612 * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Remove
10613 inaccurate comment.
10614
80cf0a58
JM
106152014-03-18 Joseph Myers <joseph@codesourcery.com>
10616
10617 * Makerules [!subdir] (check-abi): Exit with error status if a
10618 test failed.
10619
b3620862
JM
106202014-03-17 Joseph Myers <joseph@codesourcery.com>
10621
10622 * math/libm-test.inc (nearbyint_test_data): Include all tests used
10623 for rint. Include results for all rounding modes.
10624 (nearbyint_test): Use ALL_RM_TEST.
10625 (rint_test_data): Include all tests used for nearbyint.
10626
788bba36
WN
106272014-03-17 Will Newton <will.newton@linaro.org>
10628
04ec140a
WN
10629 * nptl/sysdeps/pthread/pthread.h: Revert previous
10630 change.
10631
7579d8d5
WN
10632 * sysdeps/generic/ldsodefs.h: Revert previous
10633 change.
10634
c15cf13a
WN
10635 * libio/genops.c: Revert previous change.
10636 * libio/libioP.h: Likewise.
10637 * stdio-common/vfprintf.c: Likewise.
10638
d0ac1324
WN
10639 * sysdeps/generic/math_private.h: Revert previous
10640 change.
10641
9290130a
WN
10642 * sysdeps/generic/math_private.h: Check whether
10643 HAVE_RM_CTX is defined with #ifdef rather
10644 than #if.
10645
afb466fc
WN
10646 * argp/argp-fmtstream.h: Check whether
10647 __STRICT_ANSI__ is defined with #ifdef rather
10648 than #if.
10649 * argp/argp.h: Likewise.
10650
f7efd7c3
WN
10651 * libio/genops.c: Check whether
10652 _IO_JUMPS_OFFSET is defined with #ifdef rather
10653 than #if.
10654 * libio/libioP.h: Likewise.
10655 * stdio-common/vfprintf.c: Likewise.
10656
53f1bed3
WN
10657 * sysdeps/generic/ldsodefs.h: Check whether
10658 HP_SMALL_TIMING_AVAIL is defined with #ifdef rather
10659 than #if.
10660
788bba36
WN
10661 * nptl/sysdeps/pthread/pthread.h: Check
10662 __PTHREAD_MUTEX_HAVE_ELISION is defined before testing
10663 its value.
10664
fcd89ebe
SP
106652014-03-17 Siddhesh Poyarekar <siddhesh@redhat.com>
10666
ae42bbc5
SP
10667 * libio/iofdopen.c (_IO_new_fdopen): Seek to end only if
10668 setting O_APPEND.
10669 * libio/tst-ftell-active-handler.c (do_append_test): Add a
10670 test case.
10671
ea33158c
SP
10672 [BZ #16680]
10673 * libio/fileops.c (_IO_file_open): Seek to end of file but
10674 don't cache the offset.
10675 (get_file_offset): Remove function.
10676 (do_ftell): Use cached offset when available.
10677 * libio/iofdopen.c (_IO_new_fdopen): Seek to end of file but
10678 don't cache the offset.
10679 * libio/tst-ftell-active-handler.c (do_rewind_test): New test
10680 case.
10681 (do_one_test): Call it.
10682 (do_ftell_test): Fix up expected old offset for a+ mode.
10683 * libio/wfileops.c (do_ftell_wide): Used cached offset when
10684 available.
10685
b1dbb426
SP
10686 * libio/tst-ftell-active-handler.c (do_ftell_test): Don't mix
10687 up test status with function return status.
10688 (do_write_test): Likewise.
10689 (do_append_test): Likewise.
10690
fcd89ebe
SP
10691 * nptl/sysdeps/pthread/bits/libc-lockP.h [defined NOT_IN_libc
10692 && !defined IS_IN_libpthread && __LT_SPINNOCK_INIT != 0]:
10693 Remove.
10694
9962a2d3
JM
106952014-03-17 Joseph Myers <joseph@codesourcery.com>
10696
10697 * math/gen-libm-test.pl (parse_args): Handle results specified for
10698 each rounding mode separately.
10699 * math/libm-test.inc (lrint_test_data): Merge in per-rounding-mode
10700 tests and results from lrint_tonearest_test_data,
10701 lrint_towardzero_test_data, lrint_downward_test_data and
10702 lrint_upward_test_data.
10703 (lrint_test): Use ALL_RM_TEST.
10704 (lrint_tonearest_test_data): Remove.
10705 (lrint_test_tonearest): Likewise.
10706 (lrint_towardzero_test_data): Likewise.
10707 (lrint_test_towardzero): Likewise.
10708 (lrint_downward_test_data): Likewise.
10709 (lrint_test_downward): Likewise.
10710 (lrint_upward_test_data): Likewise.
10711 (lrint_test_upward): Likewise.
10712 (llrint_test_data): Merge in per-rounding-mode tests and results
10713 from llrint_tonearest_test_data, llrint_towardzero_test_data,
10714 llrint_downward_test_data and llrint_upward_test_data.
10715 (llrint_test): Use ALL_RM_TEST.
10716 (llrint_tonearest_test_data): Remove.
10717 (llrint_test_tonearest): Likewise.
10718 (llrint_towardzero_test_data): Likewise.
10719 (llrint_test_towardzero): Likewise.
10720 (llrint_downward_test_data): Likewise.
10721 (llrint_test_downward): Likewise.
10722 (llrint_upward_test_data): Likewise.
10723 (llrint_test_upward): Likewise.
10724 (rint_test_data): Merge in per-rounding-mode tests and results
10725 from rint_tonearest_test_data, rint_towardzero_test_data,
10726 rint_downward_test_data and rint_upward_test_data. Add
10727 per-rounding-mode results for tests not in those arrays.
10728 (rint_test): Use ALL_RM_TEST.
10729 (rint_tonearest_test_data): Remove.
10730 (rint_test_tonearest): Likewise.
10731 (rint_towardzero_test_data): Likewise.
10732 (rint_test_towardzero): Likewise.
10733 (rint_downward_test_data): Likewise.
10734 (rint_test_downward): Likewise.
10735 (rint_upward_test_data): Likewise.
10736 (rint_test_upward): Likewise.
10737 (main): Don't call removed functions.
10738
5006148e
RM
107392014-03-14 Roland McGrath <roland@hack.frob.com>
10740
10741 * csu/Makefile ($(objpfx)version-info.h): Remove linux-specific
10742 "Compiled on ..." crapola. It is anti-useful.
10743
d6fe5e58
JM
107442014-03-14 Joseph Myers <joseph@codesourcery.com>
10745
10746 * scripts/evaluate-test.sh: Handle fourth argument to determine
10747 whether test run should stop on failure.
10748 * Makeconfig (stop-on-test-failure): New variable.
10749 (evaluate-test): Pass fourth argument to evaluate-test.sh based on
10750 $(stop-on-test-failure).
10751 * Makefile (tests): Give a summary of results from testing and
10752 exit with failure status if they include an ERROR or FAIL.
10753 (xtests): Likewise.
10754 * manual/install.texi (Configuring and compiling): Mention
10755 stop-on-test-failure=y.
10756 * INSTALL: Regenerated.
10757
498a2233
RM
107582014-03-14 Roland McGrath <roland@hack.frob.com>
10759
22dbc19d
RM
10760 * scripts/versionlist.awk: New file.
10761 * Makerules [$(build-shared) = yes]
10762 (postclean-generated): Add Versions.def, not Versions.def.v and
10763 Versions.def.v.i.
10764 ($(common-objpfx)Versions.def.v.i): Target removed.
10765 ($(common-objpfx)Versions.def): New target.
10766 ($(common-objpfx)Versions.all): Depend on that rather that
10767 $(common-objpfx)Versions.def.v.
10768 * Versions.def: File removed.
10769
498a2233
RM
10770 * Makeconfig (+gccwarn): Add -Wundef.
10771 * include/errno.h [IS_IN_rtld] [!RTLD_PRIVATE_ERRNO]: #error to catch
10772 a dl-sysdep.h breaking its contract.
10773 [!IS_IN_rtld] (RTLD_PRIVATE_ERRNO): Define it to 0.
10774 * include/stackinfo.h: New file.
10775 * nptl/sysdeps/i386/tls.h (TLS_DTV_AT_TP): New macro.
10776 * nptl/sysdeps/powerpc/tls.h (TLS_TCB_AT_TP): New macro.
10777 * nptl/sysdeps/s390/tls.h (TLS_DTV_AT_TP): New macro.
10778 * nptl/sysdeps/sh/tls.h (TLS_TCB_AT_TP): New macro.
10779 * nptl/sysdeps/sparc/tls.h (TLS_DTV_AT_TP): New macro.
10780 * nptl/sysdeps/x86_64/tls.h (TLS_DTV_AT_TP): New macro.
10781 * sysdeps/aarch64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
10782 * sysdeps/alpha/nptl/tls.h (TLS_TCB_AT_TP): New macro.
10783 * sysdeps/arm/nptl/tls.h (TLS_TCB_AT_TP): New macro.
10784 * sysdeps/ia64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
10785 * sysdeps/m68k/nptl/tls.h (TLS_TCB_AT_TP): New macro.
10786 * sysdeps/mach/hurd/i386/tls.h (TLS_DTV_AT_TP): New macro.
10787 * sysdeps/microblaze/nptl/tls.h (TLS_TCB_AT_TP): New macro.
10788 * sysdeps/mips/nptl/tls.h (TLS_TCB_AT_TP): New macro.
10789 * sysdeps/tile/nptl/tls.h (TLS_TCB_AT_TP): New macro.
10790
c7de5025
AZ
107912014-03-14 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10792
10793 [BZ #16707]
10794 * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Remove wrong
10795 implementation.
10796 * math/libm-test.inc (round_test_data): Add more tests.
10797
98fb27a3
AZ
10798 [BZ #16706]
10799 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Remove wrong
10800 implementation.
10801 * math/libm-test.inc (nearbyint_test_data): Add more tests.
10802
374f7f61
AZ
10803 [BZ #16701]
10804 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Remove wrong
10805 implementation.
10806 * math/libm-test.inc (ceil_test_data): Add more tests.
10807
4655c291
AZ
10808 * math/libm-test.inc (trunc_test_data): Add more tests related to
10809 BZ#16414.
10810
d7329d4b
RM
108112014-03-14 Roland McGrath <roland@hack.frob.com>
10812
10813 * nptl/pthread_create.c (__pthread_create_2_1): Test TLS_TCB_AT_TP
10814 with #if rather than #ifdef.
10815 * nptl/sysdeps/pthread/createthread.c (create_thread): Likewise.
10816
aa4de9ce
L
108172014-03-14 H.J. Lu <hongjiu.lu@intel.com>
10818
10819 * sysdeps/x86_64/configure.ac: Check AVX-512 assembler support
10820 first. Disable AVX-512 GCC support if assembler doesn't support
10821 it.
10822 * sysdeps/x86_64/configure: Regenerated.
10823
2e03fae7
CD
108242014-03-13 Carlos O'Donell <carlos@redhat.com>
10825
10826 * nptl/pthread_attr_setstack.c (__pthread_attr_setstack)
10827 [!_STACK_GROWS_DOWN]: Don't add stacksize to stackaddr.
10828 (__old_pthread_attr_setstack): Likewise.
10829 * nptl/pthread_attr_getstack.c (__pthread_attr_getstack)
10830 [!_STACK_GROWS_DOWN]: Likewise.
10831
43ca83ec
MF
108322014-03-13 Mike Frysinger <vapier@gentoo.org>
10833
10834 * config.make.in (have-bash2): Delete.
10835 * configure.ac (libc_cv_have_bash2): Delete.
10836 * configure: Regenerate.
10837 * elf/Makefile (common-ldd-rewrite): Rename to ...
10838 (ldd-rewrite): ... this. Move bash-ldd-rewrite content to end.
10839 (sh-ldd-rewrite): Delete.
10840 (bash-ldd-rewrite): Delete.
10841 (have-bash2): Delete checks.
57f41c40
AS
10842 [ldd-rewrite-script]: Change $(ldd-shell)-ldd-rewrite to
10843 ldd-rewrite.
c66e48b4
MF
10844
10845 * config.make.in (have-ksh): Delete.
10846 (KSH): Delete.
10847 * configure.ac (libc_cv_have_ksh): Delete.
10848 * configure: Regenerate.
10849
b93834ef
MF
10850 * elf/Makefile: Delete $(have-ksh) check.
10851 ($(objpfx)sotruss): Change KSH to BASH.
10852 * elf/sotruss.ksh: Rename to ...
10853 * elf/sotruss.sh: ... this. Change @KSH@ to @BASH@. Change
10854 function style to match POSIX. Drop ksh vim mode setting.
10855
f3a4632a
MF
10856 * manual/time.texi (Specifying the Time Zone with TZ): Change
10857 Tuesday to Thursday.
10858
5896c8bd
MF
10859 * debug/tst-longjmp_chk2.c: Update header comment.
10860 (stackoverflow_handler): Add comment. Call assert on pass value.
10861
2d63a517
IZ
108622014-03-13 Igor Zamyatin <igor.zamyatin@intel.com>
10863
7e54fd04 10864 [BZ #16194]
2d63a517
IZ
10865 * config.h.in (HAVE_AVX512_SUPPORT): New #undef.
10866 (HAVE_AVX512_ASM_SUPPORT): Likewise.
10867 * sysdeps/x86_64/bits/link.h (La_x86_64_zmm): New.
10868 (La_x86_64_vector): Add zmm.
10869 * sysdeps/x86_64/Makefile (tests): Add tst-audit10.
10870 (modules-names): Add tst-auditmod10a and tst-auditmod10b.
10871 ($(objpfx)tst-audit10): New target.
10872 ($(objpfx)tst-audit10.out): Likewise.
10873 (tst-audit10-ENV): New.
10874 (AVX512-CFLAGS): Likewise.
10875 (CFLAGS-tst-audit10.c): Likewise.
10876 (CFLAGS-tst-auditmod10a.c): Likewise.
10877 (CFLAGS-tst-auditmod10b.c): Likewise.
10878 * sysdeps/x86_64/configure.ac: Set config-cflags-avx512,
10879 HAVE_AVX512_SUPPORT and HAVE_AVX512_ASM_SUPPORT.
10880 * sysdeps/x86_64/configure: Regenerated.
10881 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Add
10882 AVX-512 zmm register support.
10883 (_dl_x86_64_save_sse): Likewise.
10884 (_dl_x86_64_restore_sse): Likewise.
10885 * sysdeps/x86_64/dl-trampoline.h: Updated to support different
10886 size vector registers.
10887 * sysdeps/x86_64/link-defines.sym (YMM_SIZE): New.
10888 (ZMM_SIZE): Likewise.
10889 * sysdeps/x86_64/tst-audit10.c: New file.
10890 * sysdeps/x86_64/tst-auditmod10a.c: Likewise.
10891 * sysdeps/x86_64/tst-auditmod10b.c: Likewise.
10892
44c4e5d5
RM
108932014-03-13 Roland McGrath <roland@hack.frob.com>
10894
10895 * configure.ac (HAVE_EHDR_START): New check.
10896 * configure: Regenerated.
10897 * config.h.in (HAVE_EHDR_START): New #undef.
10898 * elf/rtld.c (dl_main) [HAVE_EHDR_START]: Use __ehdr_start rather than
10899 assuming the lowest-addressed segment maps the start of the file.
10900
acd6e389
JM
109012014-03-13 Joseph Myers <joseph@codesourcery.com>
10902
10903 * INSTALL: Regenerated.
10904
6f918f36
WN
109052014-03-13 Will Newton <will.newton@linaro.org>
10906
10907 * manual/setjmp.texi (System V contexts): Improve
10908 clarity and grammar of documentation.
10909
798212a0
PP
109102014-03-12 Paul Pluzhnikov <ppluzhnikov@google.com>
10911
10912 [BZ #16381]
798212a0 10913 * elf/Makefile (tests): Add tst-pie2.
2e03fae7 10914 (tests-pie): Add tst-pie2.
798212a0
PP
10915 * elf/tst-pie2.c: New file.
10916 * elf/dl-load.c (_dl_map_object_from_fd): Assert correct l_type
10917 for ET_EXEC.
10918 * elf/rtld.c (map_doit): Load executable as lt_executable.
10919 (dl_main): Likewise.
10920
abe6d90c
JM
109212014-03-12 Joseph Myers <joseph@codesourcery.com>
10922
10923 [BZ #16642]
10924 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
10925 (__ASSUME_PSELECT): Undefine.
10926
dd3946c6
AZ
109272014-03-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10928
10929 [BZ #16689]
10930 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S
10931 (__bzero_ppc): Call memset@local instead of __memset_ppc@local for
10932 static build.
10933 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: Build IFUNC
10934 selector for static builds.
10935
c44496df
SP
109362014-03-12 Siddhesh Poyarekar <siddhesh@redhat.com>
10937
10938 [BZ #16695]
10939 * nscd/netgroupcache.c (addgetnetgrentX): Factor in space for
10940 key in the buffer.
10941
27c7220a
AZ
109422014-03-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10943
57f41c40
AS
10944 * sysdeps/powerpc/powerpc64/multiarch/strspn.c (strspn): Build
10945 IFUNC selector for static builds.
27c7220a 10946
600fa361
JM
109472014-03-11 Joseph Myers <joseph@codesourcery.com>
10948
76c96cf7
JM
10949 * sysdeps/mips/math_private.h [__mips_hard_float]
10950 (libc_feresetround_ctx): Define to libc_feupdateenv_mips_ctx not
10951 libc_feresetround_mips_ctx.
10952 [__mips_hard_float] (libc_feresetroundf_ctx): Likewise.
10953 [__mips_hard_float] (libc_feresetroundl_ctx): Likewise.
10954 [__mips_hard_float] (libc_feresetround_mips_ctx): Remove.
10955
600fa361
JM
10956 [BZ #16677]
10957 * math/s_nextafter.c (__nextafter): Do not return value from
10958 overflowing computation.
10959 * sysdeps/i386/fpu/s_nextafterl.c (__nextafterl): Likewise.
10960 * sysdeps/ieee754/flt-32/s_nextafterf.c (__nextafterf): Likewise.
10961 * sysdeps/ieee754/ldbl-128/s_nextafterl.c (__nextafterl):
10962 Likewise.
10963 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl):
10964 Likewise.
10965 * sysdeps/m68k/m680x0/fpu/s_nextafterl.c (__nextafterl): Likewise.
10966 * math/libm-test.inc (nextafter_test): Use ALL_RM_TEST.
10967
d7706c32
RM
109682014-03-11 Roland McGrath <roland@hack.frob.com>
10969
10970 * sysdeps/arm/setjmp.S: Use sfi_breg on stores of mangled registers.
10971 * sysdeps/arm/__longjmp.S: Use sfi_breg on loads of mangled registers.
10972 Move sfi_sp use from the load-multiple (that no longer sets sp) to
10973 the new mov targetting sp.
10974
4facea47
AZ
109752014-03-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10976
10977 [BZ #16683]
10978 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S (__bzero_ppc):
10979 Define it for static builds as well.
10980 (NO_BZERO_IMPL): Likewise.
10981
e65caf1f
VR
109822014-03-11 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
10983
10984 * sysdeps/powerpc/powerpc64/power7/strspn.S: New file: Optimization.
10985 * sysdeps/powerpc/powerpc64/multiarch/strspn.c: New file:
10986 multiarch strspn for PPC64.
10987 * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: New file
10988 * sysdeps/powerpc/powerpc64/multiarch/strspn-power7.S: New file
10989 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
10990 (__libc_ifunc_impl_list): Likewise.
10991 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strspn
10992 multiarch optimizations
10993 * string/strspn.c (strspn): Using macro to redefine symbol name.
10994
ba9cc071
AZ
109952014-03-10 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
10996 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10997
10998 * sysdeps/powerpc/powerpc64/power7/strncat.S: New file: Optimization.
10999 * sysdeps/powerpc/powerpc64/multiarch/strncat.c: New file:
11000 multiarch strncat for PPC64.
11001 * sysdeps/powerpc/powerpc64/multiarch/strncat-ppc64.c: New file
11002 * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.S: New file
11003 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
11004 (__libc_ifunc_impl_list): Likewise.
11005 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncat
11006 multiarch optimizations
11007
8b4ff974
SP
110082014-03-10 Siddhesh Poyarekar <siddhesh@redhat.com>
11009
11010 [BZ #16639]
11011 * nscd/nscd.service: Make service type forking.
11012
54b46a4b
AZ
110132014-03-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11014
11015 * sysdeps/powerpc/power5+/fpu/s_modf.c (__modf): Fix to return correct
11016 sign in non default rounding modes.
11017 * sysdeps/powerpc/power5+/fpu/s_modff.c (__modff): Likewise.
11018
e9996ef7
JM
110192014-03-08 Joseph Myers <joseph@codesourcery.com>
11020
11021 * math/libm-test.inc (ALL_RM_TEST): New macro.
11022 (ceil_test): Use ALL_RM_TEST.
11023 (cimag_test): Likewise.
11024 (conj_test): Likewise.
11025 (copysign_test): Likewise.
11026 (cproj_test): Likewise.
11027 (creal_test): Likewise.
11028 (fabs_test): Likewise.
11029 (floor_test): Likewise.
11030 (fmax_test): Likewise.
11031 (fmin_test): Likewise.
11032 (fmod_test): Likewise.
11033 (fpclassify_test): Likewise.
11034 (frexp_test): Likewise.
11035 (ilogb_test): Likewise.
11036 (isfinite_test): Likewise.
11037 (finite_test): Likewise.
11038 (isgreater_test): Likewise.
11039 (isgreaterequal_test): Likewise.
11040 (isinf_test): Likewise.
11041 (isless_test): Likewise.
11042 (islessequal_test): Likewise.
11043 (islessgreater_test): Likewise.
11044 (isnan_test): Likewise.
11045 (isnormal_test): Likewise.
11046 (issignaling_test): Likewise.
11047 (isunordered_test): Likewise.
11048 (logb_test): Likewise.
11049 (logb_downward_test_data): Remove.
11050 (logb_test_downward): Likewise.
11051 (lround_test): Use ALL_RM_TEST.
11052 (llround_test): Likewise.
11053 (modf_test): Likewise.
11054 (nexttoward_test): Likewise.
11055 (remainder_test): Likewise.
11056 (drem_test): Likewise.
11057 (remainder_tonearest_test_data): Likewise.
11058 (remainder_test_tonearest): Likewise.
11059 (drem_test_tonearest): Likewise.
11060 (remainder_towardzero_test_data): Likewise.
11061 (remainder_test_towardzero): Likewise.
11062 (drem_test_towardzero): Likewise.
11063 (remainder_downward_test_data): Likewise.
11064 (remainder_test_downward): Likewise.
11065 (drem_test_downward): Likewise.
11066 (remainder_upward_test_data): Likewise.
11067 (remainder_test_upward): Likewise.
11068 (drem_test_upward): Likewise.
11069 (remquo_test): Use ALL_RM_TEST. Remove comment about x.
11070 (round_test): Use ALL_RM_TEST.
11071 (signbit_test): Likewise.
11072 (trunc_test): Likewise.
11073 (significand_test): Likewise.
11074 (main): Don't call removed functions.
11075
bc61d27c
JM
110762014-03-07 Joseph Myers <joseph@codesourcery.com>
11077
5c780849
JM
11078 [BZ #16674]
11079 * bits/siginfo.h (ILL_ILLOPC): Condition on [__USE_XOPEN_EXTENDED
11080 || __USE_XOPEN2K8].
11081 (ILL_ILLOPN): Likewise.
11082 (ILL_ILLADR): Likewise.
11083 (ILL_ILLTRP): Likewise.
11084 (ILL_PRVOPC): Likewise.
11085 (ILL_PRVREG): Likewise.
11086 (ILL_COPROC): Likewise.
11087 (ILL_BADSTK): Likewise.
11088 (FPE_INTDIV): Likewise.
11089 (FPE_INTOVF): Likewise.
11090 (FPE_FLTDIV): Likewise.
11091 (FPE_FLTOVF): Likewise.
11092 (FPE_FLTUND): Likewise.
11093 (FPE_FLTRES): Likewise.
11094 (FPE_FLTINV): Likewise.
11095 (FPE_FLTSUB): Likewise.
11096 (SEGV_MAPERR): Likewise.
11097 (SEGV_ACCERR): Likewise.
11098 (BUS_ADRALN): Likewise.
11099 (BUS_ADRERR): Likewise.
11100 (BUS_OBJERR): Likewise.
11101 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
11102 (TRAP_TRACE): Likewise.
11103 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
11104 __USE_XOPEN2K8].
11105 (CLD_KILLED): Likewise.
11106 (CLD_DUMPED): Likewise.
11107 (CLD_TRAPPED): Likewise.
11108 (CLD_STOPPED): Likewise.
11109 (CLD_CONTINUED): Likewise.
11110 (POLL_IN): Likewise.
11111 (POLL_OUT): Likewise.
11112 (POLL_MSG): Likewise.
11113 (POLL_ERR): Likewise.
11114 (POLL_PRI): Likewise.
11115 (POLL_HUP): Likewise.
11116 * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h (ILL_ILLOPC):
11117 Likewise.
11118 (ILL_ILLOPN): Likewise.
11119 (ILL_ILLADR): Likewise.
11120 (ILL_ILLTRP): Likewise.
11121 (ILL_PRVOPC): Likewise.
11122 (ILL_PRVREG): Likewise.
11123 (ILL_COPROC): Likewise.
11124 (ILL_BADSTK): Likewise.
11125 (FPE_INTDIV): Likewise.
11126 (FPE_INTOVF): Likewise.
11127 (FPE_FLTDIV): Likewise.
11128 (FPE_FLTOVF): Likewise.
11129 (FPE_FLTUND): Likewise.
11130 (FPE_FLTRES): Likewise.
11131 (FPE_FLTINV): Likewise.
11132 (FPE_FLTSUB): Likewise.
11133 (SEGV_MAPERR): Likewise.
11134 (SEGV_ACCERR): Likewise.
11135 (BUS_ADRALN): Likewise.
11136 (BUS_ADRERR): Likewise.
11137 (BUS_OBJERR): Likewise.
11138 (BUS_MCEERR_AR): Likewise.
11139 (BUS_MCEERR_AO): Likewise.
11140 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
11141 (TRAP_TRACE): Likewise.
11142 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
11143 __USE_XOPEN2K8].
11144 (CLD_KILLED): Likewise.
11145 (CLD_DUMPED): Likewise.
11146 (CLD_TRAPPED): Likewise.
11147 (CLD_STOPPED): Likewise.
11148 (CLD_CONTINUED): Likewise.
11149 (POLL_IN): Likewise.
11150 (POLL_OUT): Likewise.
11151 (POLL_MSG): Likewise.
11152 (POLL_ERR): Likewise.
11153 (POLL_PRI): Likewise.
11154 (POLL_HUP): Likewise.
11155 * sysdeps/unix/sysv/linux/bits/siginfo.h (ILL_ILLOPC): Likewise.
11156 (ILL_ILLOPN): Likewise.
11157 (ILL_ILLADR): Likewise.
11158 (ILL_ILLTRP): Likewise.
11159 (ILL_PRVOPC): Likewise.
11160 (ILL_PRVREG): Likewise.
11161 (ILL_COPROC): Likewise.
11162 (ILL_BADSTK): Likewise.
11163 (FPE_INTDIV): Likewise.
11164 (FPE_INTOVF): Likewise.
11165 (FPE_FLTDIV): Likewise.
11166 (FPE_FLTOVF): Likewise.
11167 (FPE_FLTUND): Likewise.
11168 (FPE_FLTRES): Likewise.
11169 (FPE_FLTINV): Likewise.
11170 (FPE_FLTSUB): Likewise.
11171 (SEGV_MAPERR): Likewise.
11172 (SEGV_ACCERR): Likewise.
11173 (BUS_ADRALN): Likewise.
11174 (BUS_ADRERR): Likewise.
11175 (BUS_OBJERR): Likewise.
11176 (BUS_MCEERR_AR): Likewise.
11177 (BUS_MCEERR_AO): Likewise.
11178 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
11179 (TRAP_TRACE): Likewise.
11180 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
11181 __USE_XOPEN2K8].
11182 (CLD_KILLED): Likewise.
11183 (CLD_DUMPED): Likewise.
11184 (CLD_TRAPPED): Likewise.
11185 (CLD_STOPPED): Likewise.
11186 (CLD_CONTINUED): Likewise.
11187 (POLL_IN): Likewise.
11188 (POLL_OUT): Likewise.
11189 (POLL_MSG): Likewise.
11190 (POLL_ERR): Likewise.
11191 (POLL_PRI): Likewise.
11192 (POLL_HUP): Likewise.
11193 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h (ILL_ILLOPC):
11194 Likewise.
11195 (ILL_ILLOPN): Likewise.
11196 (ILL_ILLADR): Likewise.
11197 (ILL_ILLTRP): Likewise.
11198 (ILL_PRVOPC): Likewise.
11199 (ILL_PRVREG): Likewise.
11200 (ILL_COPROC): Likewise.
11201 (ILL_BADSTK): Likewise.
11202 (ILL_BADIADDR): Likewise.
11203 (ILL_BREAK): Likewise.
11204 (FPE_INTDIV): Likewise.
11205 (FPE_INTOVF): Likewise.
11206 (FPE_FLTDIV): Likewise.
11207 (FPE_FLTOVF): Likewise.
11208 (FPE_FLTUND): Likewise.
11209 (FPE_FLTRES): Likewise.
11210 (FPE_FLTINV): Likewise.
11211 (FPE_FLTSUB): Likewise.
11212 (FPE_DECOVF): Likewise.
11213 (FPE_DECDIV): Likewise.
11214 (FPE_DECERR): Likewise.
11215 (FPE_INVASC): Likewise.
11216 (FPE_INVDEC): Likewise.
11217 (SEGV_MAPERR): Likewise.
11218 (SEGV_ACCERR): Likewise.
11219 (SEGV_PSTKOVF): Likewise.
11220 (BUS_ADRALN): Likewise.
11221 (BUS_ADRERR): Likewise.
11222 (BUS_OBJERR): Likewise.
11223 (BUS_MCEERR_AR): Likewise.
11224 (BUS_MCEERR_AO): Likewise.
11225 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
11226 (TRAP_TRACE): Likewise.
11227 (TRAP_BRANCH): Likewise.
11228 (TRAP_HWBKPT): Likewise.
11229 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
11230 __USE_XOPEN2K8].
11231 (CLD_KILLED): Likewise.
11232 (CLD_DUMPED): Likewise.
11233 (CLD_TRAPPED): Likewise.
11234 (CLD_STOPPED): Likewise.
11235 (CLD_CONTINUED): Likewise.
11236 (POLL_IN): Likewise.
11237 (POLL_OUT): Likewise.
11238 (POLL_MSG): Likewise.
11239 (POLL_ERR): Likewise.
11240 (POLL_PRI): Likewise.
11241 (POLL_HUP): Likewise.
11242 * sysdeps/unix/sysv/linux/mips/bits/siginfo.h (ILL_ILLOPC): Likewise.
11243 (ILL_ILLOPN): Likewise.
11244 (ILL_ILLADR): Likewise.
11245 (ILL_ILLTRP): Likewise.
11246 (ILL_PRVOPC): Likewise.
11247 (ILL_PRVREG): Likewise.
11248 (ILL_COPROC): Likewise.
11249 (ILL_BADSTK): Likewise.
11250 (FPE_INTDIV): Likewise.
11251 (FPE_INTOVF): Likewise.
11252 (FPE_FLTDIV): Likewise.
11253 (FPE_FLTOVF): Likewise.
11254 (FPE_FLTUND): Likewise.
11255 (FPE_FLTRES): Likewise.
11256 (FPE_FLTINV): Likewise.
11257 (FPE_FLTSUB): Likewise.
11258 (SEGV_MAPERR): Likewise.
11259 (SEGV_ACCERR): Likewise.
11260 (BUS_ADRALN): Likewise.
11261 (BUS_ADRERR): Likewise.
11262 (BUS_OBJERR): Likewise.
11263 (BUS_MCEERR_AR): Likewise.
11264 (BUS_MCEERR_AO): Likewise.
11265 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
11266 (TRAP_TRACE): Likewise.
11267 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
11268 __USE_XOPEN2K8].
11269 (CLD_KILLED): Likewise.
11270 (CLD_DUMPED): Likewise.
11271 (CLD_TRAPPED): Likewise.
11272 (CLD_STOPPED): Likewise.
11273 (CLD_CONTINUED): Likewise.
11274 (POLL_IN): Likewise.
11275 (POLL_OUT): Likewise.
11276 (POLL_MSG): Likewise.
11277 (POLL_ERR): Likewise.
11278 (POLL_PRI): Likewise.
11279 (POLL_HUP): Likewise.
11280 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (ILL_ILLOPC): Likewise.
11281 (ILL_ILLOPN): Likewise.
11282 (ILL_ILLADR): Likewise.
11283 (ILL_ILLTRP): Likewise.
11284 (ILL_PRVOPC): Likewise.
11285 (ILL_PRVREG): Likewise.
11286 (ILL_COPROC): Likewise.
11287 (ILL_BADSTK): Likewise.
11288 (FPE_INTDIV): Likewise.
11289 (FPE_INTOVF): Likewise.
11290 (FPE_FLTDIV): Likewise.
11291 (FPE_FLTOVF): Likewise.
11292 (FPE_FLTUND): Likewise.
11293 (FPE_FLTRES): Likewise.
11294 (FPE_FLTINV): Likewise.
11295 (FPE_FLTSUB): Likewise.
11296 (SEGV_MAPERR): Likewise.
11297 (SEGV_ACCERR): Likewise.
11298 (BUS_ADRALN): Likewise.
11299 (BUS_ADRERR): Likewise.
11300 (BUS_OBJERR): Likewise.
11301 (BUS_MCEERR_AR): Likewise.
11302 (BUS_MCEERR_AO): Likewise.
11303 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
11304 (TRAP_TRACE): Likewise.
11305 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
11306 __USE_XOPEN2K8].
11307 (CLD_KILLED): Likewise.
11308 (CLD_DUMPED): Likewise.
11309 (CLD_TRAPPED): Likewise.
11310 (CLD_STOPPED): Likewise.
11311 (CLD_CONTINUED): Likewise.
11312 (POLL_IN): Likewise.
11313 (POLL_OUT): Likewise.
11314 (POLL_MSG): Likewise.
11315 (POLL_ERR): Likewise.
11316 (POLL_PRI): Likewise.
11317 (POLL_HUP): Likewise.
11318 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (ILL_ILLOPC): Likewise.
11319 (ILL_ILLOPN): Likewise.
11320 (ILL_ILLADR): Likewise.
11321 (ILL_ILLTRP): Likewise.
11322 (ILL_PRVOPC): Likewise.
11323 (ILL_PRVREG): Likewise.
11324 (ILL_COPROC): Likewise.
11325 (ILL_BADSTK): Likewise.
11326 (FPE_INTDIV): Likewise.
11327 (FPE_INTOVF): Likewise.
11328 (FPE_FLTDIV): Likewise.
11329 (FPE_FLTOVF): Likewise.
11330 (FPE_FLTUND): Likewise.
11331 (FPE_FLTRES): Likewise.
11332 (FPE_FLTINV): Likewise.
11333 (FPE_FLTSUB): Likewise.
11334 (SEGV_MAPERR): Likewise.
11335 (SEGV_ACCERR): Likewise.
11336 (BUS_ADRALN): Likewise.
11337 (BUS_ADRERR): Likewise.
11338 (BUS_OBJERR): Likewise.
11339 (BUS_MCEERR_AR): Likewise.
11340 (BUS_MCEERR_AO): Likewise.
11341 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
11342 (TRAP_TRACE): Likewise.
11343 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
11344 __USE_XOPEN2K8].
11345 (CLD_KILLED): Likewise.
11346 (CLD_DUMPED): Likewise.
11347 (CLD_TRAPPED): Likewise.
11348 (CLD_STOPPED): Likewise.
11349 (CLD_CONTINUED): Likewise.
11350 (POLL_IN): Likewise.
11351 (POLL_OUT): Likewise.
11352 (POLL_MSG): Likewise.
11353 (POLL_ERR): Likewise.
11354 (POLL_PRI): Likewise.
11355 (POLL_HUP): Likewise.
11356 * sysdeps/unix/sysv/linux/tile/bits/siginfo.h (ILL_ILLOPC): Likewise.
11357 (ILL_ILLOPN): Likewise.
11358 (ILL_ILLADR): Likewise.
11359 (ILL_ILLTRP): Likewise.
11360 (ILL_PRVOPC): Likewise.
11361 (ILL_PRVREG): Likewise.
11362 (ILL_COPROC): Likewise.
11363 (ILL_BADSTK): Likewise.
11364 (ILL_DBLFLT): Likewise.
11365 (ILL_HARDWALL): Likewise.
11366 (FPE_INTDIV): Likewise.
11367 (FPE_INTOVF): Likewise.
11368 (FPE_FLTDIV): Likewise.
11369 (FPE_FLTOVF): Likewise.
11370 (FPE_FLTUND): Likewise.
11371 (FPE_FLTRES): Likewise.
11372 (FPE_FLTINV): Likewise.
11373 (FPE_FLTSUB): Likewise.
11374 (SEGV_MAPERR): Likewise.
11375 (SEGV_ACCERR): Likewise.
11376 (BUS_ADRALN): Likewise.
11377 (BUS_ADRERR): Likewise.
11378 (BUS_OBJERR): Likewise.
11379 (BUS_MCEERR_AR): Likewise.
11380 (BUS_MCEERR_AO): Likewise.
11381 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
11382 (TRAP_TRACE): Likewise.
11383 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
11384 __USE_XOPEN2K8].
11385 (CLD_KILLED): Likewise.
11386 (CLD_DUMPED): Likewise.
11387 (CLD_TRAPPED): Likewise.
11388 (CLD_STOPPED): Likewise.
11389 (CLD_CONTINUED): Likewise.
11390 (POLL_IN): Likewise.
11391 (POLL_OUT): Likewise.
11392 (POLL_MSG): Likewise.
11393 (POLL_ERR): Likewise.
11394 (POLL_PRI): Likewise.
11395 (POLL_HUP): Likewise.
11396 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (ILL_ILLOPC): Likewise.
11397 (ILL_ILLOPN): Likewise.
11398 (ILL_ILLADR): Likewise.
11399 (ILL_ILLTRP): Likewise.
11400 (ILL_PRVOPC): Likewise.
11401 (ILL_PRVREG): Likewise.
11402 (ILL_COPROC): Likewise.
11403 (ILL_BADSTK): Likewise.
11404 (FPE_INTDIV): Likewise.
11405 (FPE_INTOVF): Likewise.
11406 (FPE_FLTDIV): Likewise.
11407 (FPE_FLTOVF): Likewise.
11408 (FPE_FLTUND): Likewise.
11409 (FPE_FLTRES): Likewise.
11410 (FPE_FLTINV): Likewise.
11411 (FPE_FLTSUB): Likewise.
11412 (SEGV_MAPERR): Likewise.
11413 (SEGV_ACCERR): Likewise.
11414 (BUS_ADRALN): Likewise.
11415 (BUS_ADRERR): Likewise.
11416 (BUS_OBJERR): Likewise.
11417 (BUS_MCEERR_AR): Likewise.
11418 (BUS_MCEERR_AO): Likewise.
11419 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
11420 (TRAP_TRACE): Likewise.
11421 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
11422 __USE_XOPEN2K8].
11423 (CLD_KILLED): Likewise.
11424 (CLD_DUMPED): Likewise.
11425 (CLD_TRAPPED): Likewise.
11426 (CLD_STOPPED): Likewise.
11427 (CLD_CONTINUED): Likewise.
11428 (POLL_IN): Likewise.
11429 (POLL_OUT): Likewise.
11430 (POLL_MSG): Likewise.
11431 (POLL_ERR): Likewise.
11432 (POLL_PRI): Likewise.
11433 (POLL_HUP): Likewise.
11434 * conform/Makefile (test-xfail-POSIX/signal.h/conform): Remove.
11435 (test-xfail-POSIX/sys/wait.h/conform): Likewise.
11436
bc61d27c
JM
11437 [BZ #16670]
11438 * posix/sched.h [!__USE_XOPEN2K] (__need_time_t): Don't define
11439 before #include of <time.h>.
11440 [!__USE_XOPEN2K] (__need_timespec): Likewise.
11441 * conform/Makefile (test-xfail-POSIX/sched.h/conform): Remove.
11442 (test-xfail-UNIX98/sched.h/conform): Likewise.
11443
302949e2
MS
114442014-03-07 Marcus Shawcroft <marcus.shawcroft@arm.com>
11445
11446 * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Detect and
11447 error absence of trapping exception support.
11448 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
11449
a00f522a
JM
114502014-03-07 Joseph Myers <joseph@codesourcery.com>
11451
6f99f280
JM
11452 * catgets/Makefile (tests-special): Add $(objpfx)sample.SJIS.cat.
11453 ($(objpfx)sample.SJIS.cat): Use $(evaluate-test).
11454 * timezone/Makefile (testdata): Move definition above include of
11455 Rules.
11456 (test-zones): New variable.
11457 (tests-special): Add zone files.
11458 (build-testdata): Use $(evaluate-test).
11459
0b20a9e8
JM
11460 * elf/Makefile (tests-special): Rename tests to end with .out.
11461 ($(objpfx)noload-mem): Likewise.
11462 ($(objpfx)tst-leaks1-mem): Likewise.
11463 ($(objpfx)tst-leaks1-static-mem.out): Likewise.
11464 * iconv/Makefile (xtests-special): Change test-iconvconfig to
11465 $(objpfx)test-iconvconfig.out.
11466 (test-iconvconfig): Change to $(objpfx)test-iconvconfig.out. Use
11467 set -e inside subshell and redirect output to file.
11468 * iconvdata/Makefile (generated): Rename tests to end with .out.
11469 Correct type.
11470 (tests-special): Rename tests to end with .out.
11471 ($(objpfx)mtrace-tst-loading): Likewise.
11472 * intl/Makefile (generated): Likewise.
11473 (tests-special): Likewise.
11474 ($(objpfx)mtrace-tst-gettext): Likewise.
11475 * misc/Makefile (generated): Likewise.
11476 (tests-special): Likewise.
11477 ($(objpfx)tst-error1-mem): Likewise.
11478 * nptl/Makefile (tests-special): Likewise.
11479 ($(objpfx)tst-stack3-mem): Likewise.
11480 (generated): Likewise.
11481 * posix/Makefile (generated): Likewise.
11482 (tests-special): Likewise.
11483 (xtests-special): Likewise.
11484 ($(objpfx)tst-fnmatch-mem): Likewise.
11485 ($(objpfx)bug-regex2-mem): Likewise.
11486 ($(objpfx)bug-regex14-mem): Likewise.
11487 ($(objpfx)bug-regex21-mem): Likewise.
11488 ($(objpfx)bug-regex31-mem): Likewise.
11489 ($(objpfx)tst-vfork3-mem): Likewise.
11490 ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
11491 ($(objpfx)tst-pcre-mem): Likewise.
11492 ($(objpfx)tst-boost-mem): Likewise.
11493 ($(objpfx)bug-ga2-mem): Likewise.
11494 ($(objpfx)bug-glob2-mem): Likewise.
11495 * resolv/Makefile (generate): Likewise.
11496 (tests-special): Likewise.
11497 (xtests-special): Likewise.
11498 (generated): Likewise.
11499 ($(objpfx)mtrace-tst-leaks): Likewise.
11500 ($(objpfx)mtrace-tst-leaks2): Likewise.
11501
265d52ab
JM
11502 * scripts/merge-test-results.sh: New file.
11503 * Makefile (tests-special-notdir): New variable.
11504 (tests): Run merge-test-results.sh.
11505 (xtests): Likewise.
11506 * Rules (tests-special-notdir): New variable.
11507 (xtests-special-notdir): Likewise.
11508 (tests): Run merge-test-results.sh
11509 (xtests): Likewise.
11510
54ee292d
JM
11511 * Makeconfig (test-xfail-name): New variable.
11512 (evaluate-test): Use $(test-xfail-name) instead of $(@F:.out=) to
11513 compute variable name for expected failures.
11514 * conform/Makefile (conformtest-headers-data): New variable.
11515 (conformtest-standards): Likewise.
11516 (conformtest-headers-ISO): Likewise.
11517 (conformtest-headers-ISO99): Likewise.
11518 (conformtest-headers-ISO11): Likewise.
11519 (conformtest-headers-POSIX): Likewise.
11520 (conformtest-headers-XPG3): Likewise.
11521 (conformtest-headers-XPG4): Likewise.
11522 (conformtest-headers-UNIX98): Likewise.
11523 (conformtest-headers-XOPEN2K): Likewise.
11524 (conformtest-headers-POSIX2008): Likewise.
11525 (conformtest-headers-XOPEN2K8): Likewise.
11526 (conformtest-header-list-base): Likewise.
11527 (conformtest-header-list-tests): Likewise.
11528 (conformtest-header-base): Likewise.
11529 (conformtest-header-tests): Likewise.
11530 (tests-special): Add $(conformtest-header-list-tests). If
11531 [$(fast-check) && !$(cross-compiling)], add
11532 $(conformtest-header-tests) instead of
11533 $(objpfx)run-conformtest.out.
11534 (generated): Add $(conformtest-header-list-base). If
11535 [$(fast-check) && !$(cross-compiling)], add
11536 $(conformtest-header-base). Remove previous setting.
11537 ($(conformtest-header-list-tests)): New target.
11538 (test-xfail-run-conformtest): Remove variable.
11539 ($(objpfx)run-conformtest.out): Remove target.
11540 (test-xfail-ISO11/complex.h/conform): New variable.
11541 (test-xfail-ISO11/stdalign.h/conform): Likewise.
11542 (test-xfail-ISO11/stdnoreturn.h/conform): Likewise.
11543 (test-xfail-XPG3/varargs.h/conform): Likewise.
11544 (test-xfail-XPG4/varargs.h/conform): Likewise.
11545 (test-xfail-UNIX98/varargs.h/conform): Likewise.
11546 (test-xfail-XPG4/ndbm.h/conform): Likewise.
11547 (test-xfail-UNIX98/ndbm.h/conform): Likewise.
11548 (test-xfail-XOPEN2K/ndbm.h/conform): Likewise.
11549 (test-xfail-XOPEN2K8/ndbm.h/conform): Likewise.
11550 (test-xfail-XPG3/fcntl.h/conform): Likewise.
11551 (test-xfail-XPG3/ftw.h/conform): Likewise.
11552 (test-xfail-XPG3/grp.h/conform): Likewise.
11553 (test-xfail-XPG3/langinfo.h/conform): Likewise.
11554 (test-xfail-XPG3/limits.h/conform): Likewise.
11555 (test-xfail-XPG3/pwd.h/conform): Likewise.
11556 (test-xfail-XPG3/search.h/conform): Likewise.
11557 (test-xfail-XPG3/signal.h/conform): Likewise.
11558 (test-xfail-XPG3/stdio.h/conform): Likewise.
11559 (test-xfail-XPG3/stdlib.h/conform): Likewise.
11560 (test-xfail-XPG3/string.h/conform): Likewise.
11561 (test-xfail-XPG3/sys/ipc.h/conform): Likewise.
11562 (test-xfail-XPG3/sys/msg.h/conform): Likewise.
11563 (test-xfail-XPG3/sys/sem.h/conform): Likewise.
11564 (test-xfail-XPG3/sys/shm.h/conform): Likewise.
11565 (test-xfail-XPG3/sys/stat.h/conform): Likewise.
11566 (test-xfail-XPG3/sys/types.h/conform): Likewise.
11567 (test-xfail-XPG3/sys/wait.h/conform): Likewise.
11568 (test-xfail-XPG3/termios.h/conform): Likewise.
11569 (test-xfail-XPG3/time.h/conform): Likewise.
11570 (test-xfail-XPG3/unistd.h/conform): Likewise.
11571 (test-xfail-XPG4/arpa/inet.h/conform): Likewise.
11572 (test-xfail-XPG4/fcntl.h/conform): Likewise.
11573 (test-xfail-XPG4/langinfo.h/conform): Likewise.
11574 (test-xfail-XPG4/netdb.h/conform): Likewise.
11575 (test-xfail-XPG4/netinet/in.h/conform): Likewise.
11576 (test-xfail-XPG4/signal.h/conform): Likewise.
11577 (test-xfail-XPG4/stdio.h/conform): Likewise.
11578 (test-xfail-XPG4/stdlib.h/conform): Likewise.
11579 (test-xfail-XPG4/stropts.h/conform): Likewise.
11580 (test-xfail-XPG4/sys/ipc.h/conform): Likewise.
11581 (test-xfail-XPG4/sys/msg.h/conform): Likewise.
11582 (test-xfail-XPG4/sys/sem.h/conform): Likewise.
11583 (test-xfail-XPG4/sys/shm.h/conform): Likewise.
11584 (test-xfail-XPG4/sys/socket.h/conform): Likewise.
11585 (test-xfail-XPG4/sys/stat.h/conform): Likewise.
11586 (test-xfail-XPG4/sys/time.h/conform): Likewise.
11587 (test-xfail-XPG4/sys/types.h/conform): Likewise.
11588 (test-xfail-XPG4/sys/wait.h/conform): Likewise.
11589 (test-xfail-XPG4/termios.h/conform): Likewise.
11590 (test-xfail-XPG4/ucontext.h/conform): Likewise.
11591 (test-xfail-XPG4/unistd.h/conform): Likewise.
11592 (test-xfail-XPG4/utmpx.h/conform): Likewise.
11593 (test-xfail-POSIX/sched.h/conform): Likewise.
11594 (test-xfail-POSIX/signal.h/conform): Likewise.
11595 (test-xfail-POSIX/sys/wait.h/conform): Likewise.
11596 (test-xfail-POSIX/tar.h/conform): Likewise.
11597 (test-xfail-UNIX98/arpa/inet.h/conform): Likewise.
11598 (test-xfail-UNIX98/fcntl.h/conform): Likewise.
11599 (test-xfail-UNIX98/langinfo.h/conform): Likewise.
11600 (test-xfail-UNIX98/netdb.h/conform): Likewise.
11601 (test-xfail-UNIX98/netinet/in.h/conform): Likewise.
11602 (test-xfail-UNIX98/sched.h/conform): Likewise.
11603 (test-xfail-UNIX98/signal.h/conform): Likewise.
11604 (test-xfail-UNIX98/stdio.h/conform): Likewise.
11605 (test-xfail-UNIX98/stdlib.h/conform): Likewise.
11606 (test-xfail-UNIX98/stropts.h/conform): Likewise.
11607 (test-xfail-UNIX98/sys/ipc.h/conform): Likewise.
11608 (test-xfail-UNIX98/sys/msg.h/conform): Likewise.
11609 (test-xfail-UNIX98/sys/sem.h/conform): Likewise.
11610 (test-xfail-UNIX98/sys/shm.h/conform): Likewise.
11611 (test-xfail-UNIX98/sys/socket.h/conform): Likewise.
11612 (test-xfail-UNIX98/sys/time.h/conform): Likewise.
11613 (test-xfail-UNIX98/sys/wait.h/conform): Likewise.
11614 (test-xfail-UNIX98/ucontext.h/conform): Likewise.
11615 (test-xfail-UNIX98/unistd.h/conform): Likewise.
11616 (test-xfail-UNIX98/utmpx.h/conform): Likewise.
11617 (test-xfail-XOPEN2K/aio.h/conform): Likewise.
11618 (test-xfail-XOPEN2K/arpa/inet.h/conform): Likewise.
11619 (test-xfail-XOPEN2K/fcntl.h/conform): Likewise.
11620 (test-xfail-XOPEN2K/langinfo.h/conform): Likewise.
11621 (test-xfail-XOPEN2K/math.h/conform): Likewise.
11622 (test-xfail-XOPEN2K/mqueue.h/conform): Likewise.
11623 (test-xfail-XOPEN2K/netdb.h/conform): Likewise.
11624 (test-xfail-XOPEN2K/netinet/in.h/conform): Likewise.
11625 (test-xfail-XOPEN2K/semaphore.h/conform): Likewise.
11626 (test-xfail-XOPEN2K/signal.h/conform): Likewise.
11627 (test-xfail-XOPEN2K/stdarg.h/conform): Likewise.
11628 (test-xfail-XOPEN2K/stdio.h/conform): Likewise.
11629 (test-xfail-XOPEN2K/stropts.h/conform): Likewise.
11630 (test-xfail-XOPEN2K/sys/ipc.h/conform): Likewise.
11631 (test-xfail-XOPEN2K/sys/msg.h/conform): Likewise.
11632 (test-xfail-XOPEN2K/sys/sem.h/conform): Likewise.
11633 (test-xfail-XOPEN2K/sys/shm.h/conform): Likewise.
11634 (test-xfail-XOPEN2K/sys/socket.h/conform): Likewise.
11635 (test-xfail-XOPEN2K/sys/wait.h/conform): Likewise.
11636 (test-xfail-XOPEN2K/termios.h/conform): Likewise.
11637 (test-xfail-XOPEN2K/tgmath.h/conform): Likewise.
11638 (test-xfail-XOPEN2K/ucontext.h/conform): Likewise.
11639 (test-xfail-XOPEN2K/utmpx.h/conform): Likewise.
11640 (test-xfail-POSIX2008/arpa/inet.h/conform): Likewise.
11641 (test-xfail-POSIX2008/fcntl.h/conform): Likewise.
11642 (test-xfail-POSIX2008/netdb.h/conform): Likewise.
11643 (test-xfail-POSIX2008/netinet/in.h/conform): Likewise.
11644 (test-xfail-POSIX2008/signal.h/conform): Likewise.
11645 (test-xfail-POSIX2008/stropts.h/conform): Likewise.
11646 (test-xfail-POSIX2008/sys/socket.h/conform): Likewise.
11647 (test-xfail-POSIX2008/sys/wait.h/conform): Likewise.
11648 (test-xfail-XOPEN2K8/arpa/inet.h/conform): Likewise.
11649 (test-xfail-XOPEN2K8/fcntl.h/conform): Likewise.
11650 (test-xfail-XOPEN2K8/limits.h/conform): Likewise.
11651 (test-xfail-XOPEN2K8/math.h/conform): Likewise.
11652 (test-xfail-XOPEN2K8/netdb.h/conform): Likewise.
11653 (test-xfail-XOPEN2K8/netinet/in.h/conform): Likewise.
11654 (test-xfail-XOPEN2K8/signal.h/conform): Likewise.
11655 (test-xfail-XOPEN2K8/stdio.h/conform): Likewise.
11656 (test-xfail-XOPEN2K8/stropts.h/conform): Likewise.
11657 (test-xfail-XOPEN2K8/sys/ipc.h/conform): Likewise.
11658 (test-xfail-XOPEN2K8/sys/msg.h/conform): Likewise.
11659 (test-xfail-XOPEN2K8/sys/select.h/conform): Likewise.
11660 (test-xfail-XOPEN2K8/sys/sem.h/conform): Likewise.
11661 (test-xfail-XOPEN2K8/sys/shm.h/conform): Likewise.
11662 (test-xfail-XOPEN2K8/sys/socket.h/conform): Likewise.
11663 (test-xfail-XOPEN2K8/sys/time.h/conform): Likewise.
11664 (test-xfail-XOPEN2K8/sys/wait.h/conform): Likewise.
11665 (test-xfail-XOPEN2K8/termios.h/conform): Likewise.
11666 (test-xfail-XOPEN2K8/tgmath.h/conform): Likewise.
11667 (test-xfail-XOPEN2K8/utmpx.h/conform): Likewise.
11668 (conformtest-cc-flags): Likewise.
11669 ($(conformtest-header-tests): New target.
11670 * conform/check-header-lists.sh: New file.
11671 * conform/run-conformtest.sh: Remove.
11672
a00f522a
JM
11673 * conform/conformtest.pl: Allow ' and \ in values given for
11674 constants.
11675 * conform/data/semaphore.h-data [POSIX] (fcntl.h): Allow header
11676 inclusion.
11677 [POSIX] (sys/types.h): Likewise.
11678 [POSIX2008 || XOPEN2K8] (sys/types.h): Don't allow header
11679 inclusion.
11680 [POSIX || UNIX98 || XOPEN2K] (time.h): Don't allow header
11681 inclusion.
11682 * conform/data/signal.h-data (SIGIO): Remove expectation.
11683 [XPG3] (SIGBUS): Do not expect.
11684 [POSIX || XPG3] (SIGPOLL): Likewise.
11685 [POSIX || XPG3] (SIGPROF): Likewise.
11686 [POSIX || XPG3] (SIGSYS): Likewise.
11687 [XPG3] (SIGTRAP): Likewise.
11688 [POSIX || XPG3] (SIGURG): Likewise.
11689 [POSIX || XPG3] (SIGVTALRM): Likewise.
11690 [POSIX || XPG3] (SIGXCPU): Likewise.
11691 [POSIX || XPG3] (SIGXFSZ): Likewise.
11692 [POSIX] (SA_SIGINFO): Expect.
11693 [XPG3] (siginfo_t): Do not expect type or contents.
11694 [POSIX] (si_pid): Do not expect element.
11695 [POSIX] (si_uid): Likewise.
11696 [POSIX] (si_addr): Likewise.
11697 [POSIX] (si_status): Likewise.
11698 [POSIX] (si_band): Likewise.
11699 [XPG4] (si_value): Likewise.
11700 [POSIX || XPG3] (ILL_ILLOPC): Do not expect.
11701 [POSIX || XPG3] (ILL_ILLOPN): Likewise.
11702 [POSIX || XPG3] (ILL_ILLADR): Likewise.
11703 [POSIX || XPG3] (ILL_ILLTRP): Likewise.
11704 [POSIX || XPG3] (ILL_PRVOPC): Likewise.
11705 [POSIX || XPG3] (ILL_PRVREG): Likewise.
11706 [POSIX || XPG3] (ILL_COPROC): Likewise.
11707 [POSIX || XPG3] (ILL_BADSTK): Likewise.
11708 [POSIX || XPG3] (FPE_INTDIV): Likewise.
11709 [POSIX || XPG3] (FPE_INTOVF): Likewise.
11710 [POSIX || XPG3] (FPE_FLTDIV): Likewise.
11711 [POSIX || XPG3] (FPE_FLTOVF): Likewise.
11712 [POSIX || XPG3] (FPE_FLTUND): Likewise.
11713 [POSIX || XPG3] (FPE_FLTRES): Likewise.
11714 [POSIX || XPG3] (FPE_FLTINV): Likewise.
11715 [POSIX || XPG3] (FPE_FLTSUB): Likewise.
11716 [POSIX || XPG3] (SEGV_MAPERR): Likewise.
11717 [POSIX || XPG3] (SEGV_ACCERR): Likewise.
11718 [POSIX || XPG3] (BUS_ADRALN): Likewise.
11719 [POSIX || XPG3] (BUS_ADRERR): Likewise.
11720 [POSIX || XPG3] (BUS_OBJERR): Likewise.
11721 [POSIX || XPG3] (CLD_EXITED): Likewise.
11722 [POSIX || XPG3] (CLD_KILLED): Likewise.
11723 [POSIX || XPG3] (CLD_DUMPED): Likewise.
11724 [POSIX || XPG3] (CLD_TRAPPED): Likewise.
11725 [POSIX || XPG3] (CLD_STOPPED): Likewise.
11726 [POSIX || XPG3] (CLD_CONTINUED): Likewise.
11727 [POSIX || XPG3] (POLL_IN): Likewise.
11728 [POSIX || XPG3] (POLL_OUT): Likewise.
11729 [POSIX || XPG3] (POLL_MSG): Likewise.
11730 [POSIX || XPG3] (POLL_ERR): Likewise.
11731 [POSIX || XPG3] (POLL_PRI): Likewise.
11732 [POSIX || XPG3] (POLL_HUP): Likewise.
11733 [POSIX || XPG3 || POSIX2008] (TRAP_BRKPT): Likewise.
11734 [POSIX || XPG3 || POSIX2008] (TRAP_TRACE): Likewise.
11735 (SIG*): Do not allow.
11736 [XPG3] (si_*): Likewise.
11737 [XPG3] (SI_*): Likewise.
11738 [XPG3 || XPG4] (sigev_*): Likewise.
11739 [XPG3 || XPG4] (SIGEV_*): Likewise.
11740 [XPG3 || XPG4] (sival_*): Likewise.
11741 [POSIX || XPG3 || XPG4] (uc_*): Likewise.
11742 [POSIX || XPG3] (BUS_*): Likewise.
11743 [POSIX || XPG3] (CLD_*): Likewise.
11744 [POSIX || XPG3] (FPE_*): Likewise.
11745 [POSIX || XPG3] (ILL_*): Likewise.
11746 [POSIX || XPG3] (POLL_*): Likewise.
11747 [POSIX || XPG3] (SEGV_*): Likewise.
11748 [POSIX || XPG3 || POSIX2008] (SS_*): Likewise.
11749 [POSIX || XPG3 || POSIX2008] (SV_*): Likewise.
11750 [POSIX || XPG3 || POSIX2008] (TRAP_*): Likewise.
11751 [POSIX || XPG3 || POSIX2008] (ss_*): Likewise.
11752 [POSIX || XPG3 || POSIX2008] (sv_*): Likewise.
11753 * conform/data/tar.h-data (TMAGLEN): Use macro-int-constant.
11754 Specify type and value.
11755 (TVERSLEN): Likewise.
11756 (REGTYPE): Likewise.
11757 (AREGTYPE): Likewise.
11758 (LNKTYPE): Likewise.
11759 (SYMTYPE): Likewise.
11760 (CHRTYPE): Likewise.
11761 (BLKTYPE): Likewise.
11762 (DIRTYPE): Likewise.
11763 (FIFOTYPE): Likewise.
11764 (CONTTYPE): Likewise.
11765 (TSUID): Likewise.
11766 (TSGID): Likewise.
11767 (TSVTX): Likewise.
11768 (TUREAD): Likewise.
11769 (TUWRITE): Likewise.
11770 (TUEXEC): Likewise.
11771 (TGREAD): Likewise.
11772 (TGWRITE): Likewise.
11773 (TGEXEC): Likewise.
11774 (TOREAD): Likewise.
11775 (TOWRITE): Likewise.
11776 (TOEXEC): Likewise.
11777 [POSIX] (TSVTX): Expect constant.
11778
aa97dee1
JM
117792014-03-06 Joseph Myers <joseph@codesourcery.com>
11780
f214606a
JM
11781 * Makefile (tests): Change dependencies to ....
11782 (tests-special): ... additions to this variable.
11783 (tests): Depend on $(tests-special).
11784 * Makerules (check-abi-list): New variable.
11785 (check-abi): Depend on $(check-abi-list).
11786 [$(subdir) = elf] (tests-special): Add
11787 $(objpfx)check-abi-libc.out.
11788 [$(build-shared) = yes && subdir] (tests-special): Add
11789 $(check-abi-list).
11790 [$(build-shared) = yes && subdir] (tests): Do not depend on
11791 check-abi.
11792 * Rules (tests): Depend on $(tests-special).
11793 (xtests): Depend on $(xtests-special).
11794 * catgets/Makefile (tests): Change dependencies to ....
11795 (tests-special): ... additions to this variable.
11796 * conform/Makefile (tests): Change dependencies to ....
11797 (tests-special): ... additions to this variable.
11798 * elf/Makefile (tests): Change dependencies to ....
11799 (tests-special): ... additions to this variable.
11800 * grp/Makefile (tests): Change dependencies to ....
11801 (tests-special): ... additions to this variable.
11802 * iconv/Makefile (xtests): Change dependencies to ....
11803 (xtests-special): ... additions to this variable.
11804 * iconvdata/Makefile (tests): Change dependencies to ....
11805 (tests-special): ... additions to this variable.
11806 * intl/Makefile (tests): Change dependencies to ....
11807 (tests-special): ... additions to this variable. Also add
11808 $(objpfx)tst-gettext.out.
11809 * io/Makefile (tests): Change dependencies to ....
11810 (tests-special): ... additions to this variable.
11811 * libio/Makefile (tests): Change dependencies to ....
11812 (tests-special): ... additions to this variable.
11813 * malloc/Makefile (tests): Change dependencies to ....
11814 (tests-special): ... additions to this variable.
11815 * misc/Makefile (tests): Change dependencies to ....
11816 (tests-special): ... additions to this variable.
11817 * nptl/Makefile (tests): Change dependencies to ....
11818 (tests-special): ... additions to this variable.
11819 * nptl_db/Makefile (tests): Change dependencies to ....
11820 (tests-special): ... additions to this variable.
11821 * posix/Makefile (tests): Change dependencies to ....
11822 (tests-special): ... additions to this variable.
11823 (xtests): Change dependencies to ....
11824 (xtests-special): ... additions to this variable.
11825 * resolv/Makefile (tests): Change dependencies to ....
11826 (tests-special): ... additions to this variable.
11827 (xtests): Change dependencies to ....
11828 (xtests-special): ... additions to this variable.
11829 * stdio-common/Makefile (tests): Change dependencies to ....
11830 (tests-special): ... additions to this variable.
11831 (do-tst-unbputc): Remove target.
11832 (do-tst-printf): Likewise.
11833 * stdlib/Makefile (tests): Change dependencies to ....
11834 (tests-special): ... additions to this variable.
11835 * string/Makefile (tests): Change dependencies to ....
11836 (tests-special): ... additions to this variable.
11837 * sysdeps/x86/Makefile (tests): Change dependencies to ....
11838 (tests-special): ... additions to this variable.
11839
81700b53
JM
11840 * conform/data/netinet/tcp.h-data [POSIX2008 || XOPEN2K8]: Enable
11841 whole file.
11842 * conform/data/sys/timeb.h-data [POSIX2008 || XOPEN2K8]: Disable
11843 whole file.
11844 * conform/data/sys/uio.h-data [POSIX2008]: Likewise.
11845 * conform/data/ucontext.h-data [POSIX2008 || XOPEN2K8]: Likewise.
11846
2ea18461
JM
11847 * conform/data/aio.h-data [XPG3 || XPG4]: Disable whole file.
11848 * conform/data/arpa/inet.h-data [XPG3]: Likewise.
11849 * conform/data/dlfcn.h-data [XPG3 || XPG4]: Likewise.
11850 * conform/data/fmtmsg.h-data [XPG3]: Likewise.
11851 * conform/data/libgen.h-data [XPG3]: Likewise.
11852 * conform/data/mqueue.h-data [XPG3 || XPG4]: Likewise.
11853 * conform/data/ndbm.h-data [XPG3]: Likewise.
11854 * conform/data/net/if.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
11855 * conform/data/netdb.h-data [XPG3]: Likewise.
11856 * conform/data/netinet/in.h-data [XPG3]: Likewise.
11857 * conform/data/poll.h-data [XPG3]: Likewise.
11858 * conform/data/spawn.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
11859 * conform/data/strings.h-data [XPG3]: Likewise.
11860 * conform/data/stropts.h-data [XPG3]: Likewise.
11861 * conform/data/sys/mman.h-data [XPG3]: Likewise.
11862 * conform/data/sys/resource.h-data [XPG3]: Likewise.
11863 * conform/data/sys/select.h-data [XPG3 || XPG4 || UNIX98]:
11864 Likewise.
11865 * conform/data/sys/statvfs.h-data [XPG3]: Likewise.
11866 * conform/data/sys/time.h-data [XPG3]: Likewise.
11867 * conform/data/sys/timeb.h-data [XPG3]: Likewise.
11868 * conform/data/sys/uio.h-data [XPG3]: Likewise.
11869 * conform/data/sys/un.h-data [XPG3]: Likewise.
11870 * conform/data/syslog.h-data [XPG3]: Likewise.
11871 * conform/data/ucontext.h-data [XPG3]: Likewise.
11872 * conform/data/utmpx.h-data [XPG3]: Likewise.
11873 * conform/data/varargs.h-data [UNIX98]: Enable file.
11874
355bc986
JM
11875 * manual/Makefile (INSTALL_INFO): Remove variable setting.
11876
215db402
JM
11877 * math/libm-test.inc (struct test_f_f_data): Move expected results
11878 into structure for each rounding mode.
11879 (struct test_ff_f_data): Likewise.
11880 (struct test_ff_f_data_nexttoward): Likewise.
11881 (struct test_fi_f_data): Likewise.
11882 (struct test_fl_f_data): Likewise.
11883 (struct test_if_f_data): Likewise.
11884 (struct test_fff_f_data): Likewise.
11885 (struct test_c_f_data): Likewise.
11886 (struct test_f_f1_data): Likewise.
11887 (struct test_fF_f1_data): Likewise.
11888 (struct test_ffI_f1_data): Likewise.
11889 (struct test_c_c_data): Likewise.
11890 (struct test_cc_c_data): Likewise.
11891 (struct test_f_i_data): Likewise.
11892 (struct test_ff_i_data): Likewise.
11893 (struct test_f_l_data): Likewise.
11894 (struct test_f_L_data): Likewise.
11895 (struct test_fFF_11_data): Likewise.
11896 (RM_): New macro.
11897 (RM_FE_DOWNWARD): Likewise.
11898 (RM_FE_TONEAREST): Likewise.
11899 (RM_FE_TOWARDZERO): Likewise.
11900 (RM_FE_UPWARD): Likewise.
11901 (RUN_TEST_LOOP_f_f): Update references to expected results.
11902 (RUN_TEST_LOOP_2_f): Likewise.
11903 (RUN_TEST_LOOP_fff_f): Likewise.
11904 (RUN_TEST_LOOP_c_f): Likewise.
11905 (RUN_TEST_LOOP_f_f1): Likewise.
11906 (RUN_TEST_LOOP_fF_f1): Likewise.
11907 (RUN_TEST_LOOP_fI_f1): Likewise.
11908 (RUN_TEST_LOOP_ffI_f1): Likewise.
11909 (RUN_TEST_LOOP_c_c): Likewise.
11910 (RUN_TEST_LOOP_cc_c): Likewise.
11911 (RUN_TEST_LOOP_f_i): Likewise.
11912 (RUN_TEST_LOOP_f_i_tg): Likewise.
11913 (RUN_TEST_LOOP_ff_i_tg): Likewise.
11914 (RUN_TEST_LOOP_f_b): Likewise.
11915 (RUN_TEST_LOOP_f_b_tg): Likewise.
11916 (RUN_TEST_LOOP_f_l): Likewise.
11917 (RUN_TEST_LOOP_f_L): Likewise.
11918 (RUN_TEST_LOOP_fFF_11): Likewise.
11919 * math/gen-libm-test.pl (parse_args): Output four copies of
11920 expected results for each test.
11921
67737b8f
JM
11922 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
11923 (__ASSUME_UTIMES): Remove.
11924 * sysdeps/unix/sysv/linux/tile/kernel-features.h
11925 (__ASSUME_UTIMES): Likewise.
11926
aa97dee1
JM
11927 * math/gen-auto-libm-tests.c: Update comment on output format.
11928 (output_for_one_input_case): Generate before-rounding and
11929 after-rounding information as conditions on output flags not
11930 floating-point format.
11931 * math/auto-libm-test-out: Regenerated.
11932 * math/gen-libm-test.pl (cond_value): New function.
11933 (or_cond_value): Use cond_value.
11934 (generate_testfile): Handle conditional exceptions.
11935
e6b6a857
JM
119362014-03-05 Joseph Myers <joseph@codesourcery.com>
11937
2f0a0f44
JM
11938 * math/libm-test.inc (max_valid_error): New variable.
11939 (init_max_error): Take new argument specifying whether function
11940 results are exactly determined. Set max_valid_error and bound
11941 other variables for errors based on this argument.
11942 (set_max_error): Do not record results above max_valid_error.
11943 (check_float_internal): Only accept errors of up to 0.5ulps if
11944 also at most max_valid_error.
11945 (START): Take new argument EXACT and pass it to init_max_error.
11946 (acos_test): Update call to START.
11947 (acos_test_tonearest): Likewise.
11948 (acos_test_towardzero): Likewise.
11949 (acos_test_downward): Likewise.
11950 (acos_test_upward): Likewise.
11951 (acosh_test): Likewise.
11952 (asin_test): Likewise.
11953 (asin_test_tonearest): Likewise.
11954 (asin_test_towardzero): Likewise.
11955 (asin_test_downward): Likewise.
11956 (asin_test_upward): Likewise.
11957 (asinh_test): Likewise.
11958 (atan_test): Likewise.
11959 (atanh_test): Likewise.
11960 (atan2_test): Likewise.
11961 (cabs_test): Likewise.
11962 (cacos_test): Likewise.
11963 (cacosh_test): Likewise.
11964 (carg_test): Likewise.
11965 (casin_test): Likewise.
11966 (casinh_test): Likewise.
11967 (catan_test): Likewise.
11968 (catanh_test): Likewise.
11969 (cbrt_test): Likewise.
11970 (ccos_test): Likewise.
11971 (ccosh_test): Likewise.
11972 (ceil_test): Likewise.
11973 (cexp_test): Likewise.
11974 (cimag_test): Likewise.
11975 (clog_test): Likewise.
11976 (clog10_test): Likewise.
11977 (conj_test): Likewise.
11978 (copysign_test): Likewise.
11979 (cos_test): Likewise.
11980 (cos_test_tonearest): Likewise.
11981 (cos_test_towardzero): Likewise.
11982 (cos_test_downward): Likewise.
11983 (cos_test_upward): Likewise.
11984 (cosh_test): Likewise.
11985 (cosh_test_tonearest): Likewise.
11986 (cosh_test_towardzero): Likewise.
11987 (cosh_test_downward): Likewise.
11988 (cosh_test_upward): Likewise.
11989 (cpow_test): Likewise.
11990 (cproj_test): Likewise.
11991 (creal_test): Likewise.
11992 (csin_test): Likewise.
11993 (csinh_test): Likewise.
11994 (csqrt_test): Likewise.
11995 (ctan_test): Likewise.
11996 (ctan_test_tonearest): Likewise.
11997 (ctan_test_towardzero): Likewise.
11998 (ctan_test_downward): Likewise.
11999 (ctan_test_upward): Likewise.
12000 (ctanh_test): Likewise.
12001 (ctanh_test_tonearest): Likewise.
12002 (ctanh_test_towardzero): Likewise.
12003 (ctanh_test_downward): Likewise.
12004 (ctanh_test_upward): Likewise.
12005 (erf_test): Likewise.
12006 (erfc_test): Likewise.
12007 (exp_test): Likewise.
12008 (exp_test_tonearest): Likewise.
12009 (exp_test_towardzero): Likewise.
12010 (exp_test_downward): Likewise.
12011 (exp_test_upward): Likewise.
12012 (exp10_test): Likewise.
12013 (exp10_test_tonearest): Likewise.
12014 (exp10_test_towardzero): Likewise.
12015 (exp10_test_downward): Likewise.
12016 (exp10_test_upward): Likewise.
12017 (pow10_test): Likewise.
12018 (exp2_test): Likewise.
12019 (expm1_test): Likewise.
12020 (expm1_test_tonearest): Likewise.
12021 (expm1_test_towardzero): Likewise.
12022 (expm1_test_downward): Likewise.
12023 (expm1_test_upward): Likewise.
12024 (fabs_test): Likewise.
12025 (fdim_test): Likewise.
12026 (floor_test): Likewise.
12027 (fma_test): Likewise.
12028 (fma_test_towardzero): Likewise.
12029 (fma_test_downward): Likewise.
12030 (fma_test_upward): Likewise.
12031 (fmax_test): Likewise.
12032 (fmin_test): Likewise.
12033 (fmod_test): Likewise.
12034 (fpclassify_test): Likewise.
12035 (frexp_test): Likewise.
12036 (hypot_test): Likewise.
12037 (ilogb_test): Likewise.
12038 (isfinite_test): Likewise.
12039 (finite_test): Likewise.
12040 (isgreater_test): Likewise.
12041 (isgreaterequal_test): Likewise.
12042 (isinf_test): Likewise.
12043 (isless_test): Likewise.
12044 (islessequal_test): Likewise.
12045 (islessgreater_test): Likewise.
12046 (isnan_test): Likewise.
12047 (isnormal_test): Likewise.
12048 (issignaling_test): Likewise.
12049 (isunordered_test): Likewise.
12050 (j0_test): Likewise.
12051 (j1_test): Likewise.
12052 (jn_test): Likewise.
12053 (ldexp_test): Likewise.
12054 (lgamma_test): Likewise.
12055 (gamma_test): Likewise.
12056 (lrint_test): Likewise.
12057 (lrint_test_tonearest): Likewise.
12058 (lrint_test_towardzero): Likewise.
12059 (lrint_test_downward): Likewise.
12060 (lrint_test_upward): Likewise.
12061 (llrint_test): Likewise.
12062 (llrint_test_tonearest): Likewise.
12063 (llrint_test_towardzero): Likewise.
12064 (llrint_test_downward): Likewise.
12065 (llrint_test_upward): Likewise.
12066 (log_test): Likewise.
12067 (log10_test): Likewise.
12068 (log1p_test): Likewise.
12069 (log2_test): Likewise.
12070 (logb_test): Likewise.
12071 (logb_test_downward): Likewise.
12072 (lround_test): Likewise.
12073 (llround_test): Likewise.
12074 (modf_test): Likewise.
12075 (nearbyint_test): Likewise.
12076 (nextafter_test): Likewise.
12077 (nexttoward_test): Likewise.
12078 (pow_test): Likewise.
12079 (pow_test_tonearest): Likewise.
12080 (pow_test_towardzero): Likewise.
12081 (pow_test_downward): Likewise.
12082 (pow_test_upward): Likewise.
12083 (remainder_test): Likewise.
12084 (drem_test): Likewise.
12085 (remainder_test_tonearest): Likewise.
12086 (drem_test_tonearest): Likewise.
12087 (remainder_test_towardzero): Likewise.
12088 (drem_test_towardzero): Likewise.
12089 (remainder_test_downward): Likewise.
12090 (drem_test_downward): Likewise.
12091 (remainder_test_upward): Likewise.
12092 (drem_test_upward): Likewise.
12093 (remquo_test): Likewise.
12094 (rint_test): Likewise.
12095 (rint_test_tonearest): Likewise.
12096 (rint_test_towardzero): Likewise.
12097 (rint_test_downward): Likewise.
12098 (rint_test_upward): Likewise.
12099 (round_test): Likewise.
12100 (scalb_test): Likewise.
12101 (scalbn_test): Likewise.
12102 (scalbln_test): Likewise.
12103 (signbit_test): Likewise.
12104 (sin_test): Likewise.
12105 (sin_test_tonearest): Likewise.
12106 (sin_test_towardzero): Likewise.
12107 (sin_test_downward): Likewise.
12108 (sin_test_upward): Likewise.
12109 (sincos_test): Likewise.
12110 (sinh_test): Likewise.
12111 (sinh_test_tonearest): Likewise.
12112 (sinh_test_towardzero): Likewise.
12113 (sinh_test_downward): Likewise.
12114 (sinh_test_upward): Likewise.
12115 (sqrt_test): Likewise.
12116 (sqrt_test_tonearest): Likewise.
12117 (sqrt_test_towardzero): Likewise.
12118 (sqrt_test_downward): Likewise.
12119 (sqrt_test_upward): Likewise.
12120 (tan_test): Likewise.
12121 (tan_test_tonearest): Likewise.
12122 (tan_test_towardzero): Likewise.
12123 (tan_test_downward): Likewise.
12124 (tan_test_upward): Likewise.
12125 (tanh_test): Likewise.
12126 (tgamma_test): Likewise.
12127 (trunc_test): Likewise.
12128 (y0_test): Likewise.
12129 (y1_test): Likewise.
12130 (yn_test): Likewise.
12131 (significand_test): Likewise.
12132
e6b6a857
JM
12133 * math/libm-test.inc (struct ulp_data): Don't refer to ulps for
12134 individual tests in comment.
12135 (libm-test-ulps.h): Don't refer to test_ulps in #include comment.
12136 (prev_max_error): New variable.
12137 (prev_real_max_error): Likewise.
12138 (prev_imag_max_error): Likewise.
12139 (compare_ulp_data): Don't refer to test names in comment.
12140 (find_test_ulps): Remove function.
12141 (find_function_ulps): Likewise.
12142 (find_complex_function_ulps): Likewise.
12143 (init_max_error): Take function name as argument. Look up ulps
12144 for that function.
12145 (print_ulps): Remove function.
12146 (print_max_error): Use prev_max_error instead of calling
12147 find_function_ulps.
12148 (print_complex_max_error): Use prev_real_max_error and
12149 prev_imag_max_error instead of calling find_complex_function_ulps.
12150 (check_float_internal): Take max_ulp parameter instead of calling
12151 find_test_ulps. Don't call print_ulps.
12152 (check_float): Update call to check_float_internal.
12153 (check_complex): Update calls to check_float_internal.
12154 (START): Pass argument to init_max_error.
12155 * math/gen-libm-test.pl (%results): Don't include "kind"
12156 information.
12157 (parse_ulps): Don't handle ulps of individual tests.
12158 (print_ulps_file): Likewise.
12159 (output_ulps): Likewise.
12160 * math/README.libm-test: Update.
12161 * manual/libm-err-tab.pl (parse_ulps): Don't handle ulps of
12162 individual tests.
12163 * sysdeps/aarch64/libm-test-ulps: Remove individual test ulps.
12164 * sysdeps/alpha/fpu/libm-test-ulps: Likewise.
12165 * sysdeps/arm/libm-test-ulps: Likewise.
12166 * sysdeps/i386/fpu/libm-test-ulps: Likewise.
12167 * sysdeps/ia64/fpu/libm-test-ulps: Likewise.
12168 * sysdeps/m68k/coldfire/fpu/libm-test-ulps: Likewise.
12169 * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Likewise.
12170 * sysdeps/microblaze/libm-test-ulps: Likewise.
12171 * sysdeps/mips/mips32/libm-test-ulps: Likewise.
12172 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
12173 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
12174 * sysdeps/powerpc/nofpu/libm-test-ulps: Likewise.
12175 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
12176 * sysdeps/sh/libm-test-ulps: Likewise.
12177 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
12178 * sysdeps/tile/libm-test-ulps: Likewise.
12179 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12180
45adef3c
JM
121812014-03-04 Joseph Myers <joseph@codesourcery.com>
12182
12183 * math/libm-test.inc (print_complex_max_error): Check separately
12184 whether real and imaginary errors are within allowed range and
12185 pass 0 to print_complex_function_ulps instead of value within
12186 allowed range.
12187
000232b9
SP
121882014-03-04 Siddhesh Poyarekar <siddhesh@redhat.com>
12189
d4b17258
SP
12190 * libio/tst-ftell-active-handler.c (get_handles_fdopen): Fix
12191 formatting.
12192 (get_handles_fopen): Likewise.
12193 (do_write_test): Likewise.
12194
091eff71
SP
12195 * libio/wfileops.c (do_ftell_wide): Fix up formatting.
12196
fa3cd248
SP
12197 * libio/fileops.c (do_ftell): Use cached offset when
12198 available.
12199 * libio/iofwide.c (do_ftell_wide): Likewise.
12200 * libio/iofdopen.c (_IO_new_fdopen): Don't use
12201 _IO_file_attach.
12202 * libio/wfileops.c (_IO_fwide): Don't cache offset.
12203
000232b9
SP
12204 [BZ #16532]
12205 * libio/libioP.h (get_file_offset): New function.
12206 * libio/fileops.c (get_file_offset): Likewise.
12207 (do_ftell): Likewise.
12208 (_IO_new_file_seekoff): Split out ftell logic.
12209 * libio/wfileops.c (do_ftell_wide): Likewise.
12210 (_IO_wfile_seekoff): Split out ftell logic.
12211 * libio/tst-ftell-active-handler.c: New test case.
12212 * libio/Makefile (tests): Add it.
12213
116f4d1a
RM
122142014-03-03 Roland McGrath <roland@hack.frob.com>
12215
12216 * nptl/ChangeLog: Renamed to nptl/ChangeLog.old, no longer used.
12217 * nptl_db/ChangeLog: Renamed to nptl_db/ChangeLog.old, no longer used.
12218
532a6035
SP
122192014-03-03 Siddhesh Poyarekar <siddhesh@redhat.com>
12220
12221 [BZ #16639]
12222 * nscd/connections.c (nscd_init): Call do_exit.
12223 (start_threads): Call do_exit and notify_parent.
12224 (begin_drop_privileges): Call do_exit.
12225 (finish_drop_privileges): Likewise.
12226 * nscd/selinux.c (preserve_capabilities): Likewise.
12227 (install_real_capabilities): Likewise.
12228 (nscd_selinux_enabled): Likewise.
12229 (avc_create_thread): Likewise.
12230 (avc_alloc_lock): Likewise.
12231 (nscd_avc_init): Likewise.
12232 * nscd/nscd.c (parent_fd): New static variable.
12233 (main): Create a pipe between parent and child processes.
12234 Skip closing parent_fd.
12235 (monitor_child): New function.
12236 (do_exit): Likewise.
12237 (notify_parent): Likewise.
12238 * nscd/nscd.h (notify_parent): Likewise.
12239 (do_exit): Likewise.
12240
d6285c9f
CD
122412014-03-03 Carlos O'Donell <carlos@redhat.com>
12242
12243 * malloc/malloc.c (__libc_calloc): Revert last change.
12244
2b85d2a0
AZ
122452014-03-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12246
12247 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
12248
c7debbdf
RS
122492014-03-03 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
12250
12251 * sysdeps/powerpc/powerpc64/power7/strrchr.S: New file.
12252 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strrchr multiarch
12253 implementation.
12254 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
12255 (__libc_ifunc_impl_list): Likewise.
12256 * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: New file.
12257 * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c: New file.
12258 * sysdeps/powerpc/powerpc64/multiarch/strrchr-power7.S: New file.
12259 * string/strrchr.c: Define STRRCHR.
12260
235eed86
OB
122612014-02-28 Ondřej Bílka <neleai@seznam.cz>
12262
12263 * benchtest/bench-strtok.c (simple_strtok): Delete.
12264 (strtok_string): Use as benchmark.
12265 * string/strtok (STRTOK): New macro.
12266
8e25d1e7
CD
122672014-02-28 Carlos O'Donell <carlos@redhat.com>
12268
ef563f92
CD
12269 * manual/threads.texi: Add header and standard comments to all
12270 functions.
12271
8e25d1e7
CD
12272 * elf/dl-lookup.c (check_match): New function.
12273 (ELF_MACHINE_SYM_NO_MATCH): Adjust comment.
12274 (do_lookup_x): Remove nested function check_match. Use non-nested
12275 function check_match.
12276
ff71cc37
RM
122772014-02-28 Roland McGrath <roland@hack.frob.com>
12278
f08e9a26
RM
12279 * csu/Makefile (generated, before-compile): Use += rather than =.
12280 * catgets/Makefile (generated, generated-dirs): Likewise.
12281 * debug/Makefile (generated): Likewise.
12282 * dlfcn/Makefile (generated): Likewise.
12283 * elf/Makefile (before-compile, generated, generated-dirs): Likewise.
12284 * iconvdata/Makefile (before-compile, generated): Likewise.
12285 * intl/Makefile (before-compile, generated, generated-dirs): Likewise.
12286 * libio/Makefile (generated): Likewise.
12287 * malloc/Makefile (generated): Likewise.
12288 * manual/Makefile (generated, generated-dirs): Likewise.
12289 * misc/Makefile (generated): Likewise.
12290 * posix/Makefile (generated): Likewise.
12291 * resolv/Makefile (generated): Likewise.
12292 * sunrpc/Makefile (generated, generated-dirs): Likewise.
12293 * timezone/Makefile (generated, generated-dirs): Likewise.
12294
ff71cc37
RM
12295 * stdio-common/Versions (libc: GLIBC_PRIVATE): Add missing }.
12296
fe13a20c
AZ
122972014-02-27 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12298
57f41c40
AS
12299 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
12300 power8 implementation.
12301 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power8.S: New
12302 file: POWER8 llround ifunc implementation.
12303 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c
12304 (__lllround): Add POWER8 implementation.
fe13a20c
AZ
12305 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S: New file:
12306 POWER8 llround implementation.
12307
57f41c40
AS
12308 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint
12309 power8 implementation.
12310 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power8.S: New
12311 file: POWER8 llrint ifunc implementation.
12312 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c (__lllrint):
12313 Add POWER8 implementation.
1ad8950a
AZ
12314 * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S: New file:
12315 POWER8 llrint implementation.
12316
57f41c40
AS
12317 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite
12318 power8 implementation.
12319 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power8.S: New
12320 file: POWER8 finite ifunc implementation.
12321 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c (__finite):
12322 Add POWER8 implementation.
cac626d6
AZ
12323 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c (__finitef):
12324 Likewise.
12325 * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: New file:
12326 POWER8 finite implementation.
12327 * sysdeps/powerpc/powerpc64/power8/fpu/s_finitef.S: New file.
12328
57f41c40
AS
12329 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf
12330 power8 implementation.
12331 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power8.S: New
12332 file: POWER8 isinf ifunc implementation.
4393fc11
AZ
12333 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c (__isinf): Add
12334 POWER8 implementation.
12335 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c (__isinff):
12336 Likewise.
57f41c40
AS
12337 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: New file: POWER8
12338 isinf implementation.
4393fc11
AZ
12339 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinff.S: New file.
12340
57f41c40
AS
12341 * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h
12342 (INIT_ARCH): Add hwcap2 initialization.
12343 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
12344 power8 implementation.
12345 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power8.S: New
12346 file: POWER8 isnan ifunc implementation.
487972ae
AZ
12347 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c (__isnan): Add
12348 POWER8 implementation.
12349 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c (__isnanf):
12350 Likewise.
57f41c40
AS
12351 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: New file: POWER8
12352 isnan implementation.
487972ae
AZ
12353 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnanf.S: New file.
12354
7d92b787
JY
123552014-02-27 Joey Ye <joey.ye@arm.com>
12356
12357 * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
12358 (_FP_NANFRAC_Q): Set to zero.
12359
1cadc858
SP
123602014-02-27 Siddhesh Poyarekar <siddhesh@redhat.com>
12361
12362 [BZ #16623]
12363 * math/auto-libm-test-in: New test inputs.
12364 * math/auto-libm-test-out: Regenerate.
12365 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Preserve sign of A
12366 and DA.
12367 (__cos): Likewise.
12368 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
12369
f8c17e79
JM
123702014-02-27 Joseph Myers <joseph@codesourcery.com>
12371
12372 * scripts/evaluate-test.sh: Take new argument indicating whether
12373 failure is expected.
12374 * Makeconfig (evaluate-test): Pass argument to evaluate-test.sh
12375 indicating whether failure is expected.
12376 * conform/Makefile (test-xfail-run-conformtest): New variable.
12377 ($(objpfx)run-conformtest.out): Don't expect to fail at makefile
12378 level.
12379 * posix/Makefile (test-xfail-annexc): New variable.
12380 ($(objpfx)annexc.out): Don't expect to fail at makefile level.
12381
a5f891ac
JM
123822014-02-26 Joseph Myers <joseph@codesourcery.com>
12383
12384 * argp/Makefile: Include Makeconfig immediately after defining
12385 subdir.
12386 * assert/Makefile: Likewise.
12387 * benchtests/Makefile: Likewise.
12388 * catgets/Makefile: Likewise.
12389 * conform/Makefile: Likewise.
12390 * crypt/Makefile: Likewise.
12391 * csu/Makefile: Likewise.
12392 (all): Remove target.
12393 * ctype/Makefile: Include Makeconfig immediately after defining
12394 subdir.
12395 * debug/Makefile: Likewise.
12396 * dirent/Makefile: Likewise.
12397 * dlfcn/Makefile: Likewise.
12398 * gmon/Makefile: Likewise.
12399 * gnulib/Makefile: Likewise.
12400 * grp/Makefile: Likewise.
12401 * gshadow/Makefile: Likewise.
12402 * hesiod/Makefile: Likewise.
12403 * hurd/Makefile: Likewise.
12404 (all): Remove target.
12405 * iconvdata/Makefile: Include Makeconfig immediately after
12406 defining subdir.
12407 * inet/Makefile: Likewise.
12408 * intl/Makefile: Likewise.
12409 * io/Makefile: Likewise.
12410 * libio/Makefile: Likewise.
12411 (all): Remove target.
12412 * locale/Makefile: Include Makeconfig immediately after defining
12413 subdir.
12414 * login/Makefile: Likewise.
12415 * mach/Makefile: Likewise.
12416 (all): Remove target.
12417 * malloc/Makefile: Include Makeconfig immediately after defining
12418 subdir.
12419 (all): Remove target.
12420 * manual/Makefile: Include Makeconfig immediately after defining
12421 subdir.
12422 * math/Makefile: Likewise.
12423 * misc/Makefile: Likewise.
12424 * nis/Makefile: Likewise.
12425 * nss/Makefile: Likewise.
12426 * po/Makefile: Likewise.
12427 (all): Remove target.
12428 * posix/Makefile: Include Makeconfig immediately after defining
12429 subdir.
12430 * pwd/Makefile: Likewise.
12431 * resolv/Makefile: Likewise.
12432 * resource/Makefile: Likewise.
12433 * rt/Makefile: Likewise.
12434 * setjmp/Makefile: Likewise.
12435 * shadow/Makefile: Likewise.
12436 * signal/Makefile: Likewise.
12437 * socket/Makefile: Likewise.
12438 * soft-fp/Makefile: Likewise.
12439 * stdio-common/Makefile: Likewise.
12440 * stdlib/Makefile: Likewise.
12441 * streams/Makefile: Likewise.
12442 * string/Makefile: Likewise.
12443 * sunrpc/Makefile: Likewise.
12444 (all): Remove target.
12445 * sysvipc/Makefile: Include Makeconfig immediately after defining
12446 subdir.
12447 * termios/Makefile: Likewise.
12448 * time/Makefile: Likewise.
12449 * timezone/Makefile: Likewise.
12450 (all): Remove target.
12451 * wcsmbs/Makefile: Include Makeconfig immediately after defining
12452 subdir.
12453 * wctype/Makefile: Likewise.
12454
5b456e9d
SE
124552014-02-26 Steve Ellcey <sellcey@mips.com>
12456
12457 * sysdeps/mips/math_private.h (_FPU_MASK_ALL) New.
12458 (libc_feholdexcept_mips): Use _FPU_MASK_ALL.
12459 (libc_feholdexcept_setround_mips): Ditto.
12460 (libc_feholdsetround): New.
12461 (libc_feholdsetroundf): New.
12462 (libc_feholdsetroundl): New.
12463 (libc_feupdateenv_test_mips): New.
12464 (libc_feupdateenv_test): New.
12465 (libc_feupdateenv_testf): New.
12466 (libc_feupdateenv_testl): New.
12467 (libc_feresetround): New.
12468 (libc_feresetroundf): New.
12469 (libc_feresetroundl): New.
12470 (libc_fetestexcept_mips): New.
12471 (libc_fetestexcept): New.
12472 (libc_fetestexceptf): New.
12473 (libc_fetestexceptl): New.
12474 (HAVE_RM_CTX): New.
12475 (libc_feholdexcept_setround_mips_ctx): New.
12476 (libc_feholdexcept_setround_ctx): New.
12477 (libc_feholdexcept_setroundf_ctx): New.
12478 (libc_feholdexcept_setroundl_ctx): New.
12479 (libc_fesetenv_mips_ctx): New.
12480 (libc_fesetenv_ctx): New.
12481 (libc_fesetenv_ctxf): New.
12482 (libc_fesetenv_ctxl): New.
12483 (libc_feupdateenv_mips_ctx): New.
12484 (libc_feupdateenv_ctx): New.
12485 (libc_feupdateenvf_ctx): New.
12486 (libc_feupdateenvl_ctx): New.
12487 (libc_feholdsetround_mips_ctx): New.
12488 (libc_feholdsetround_ctx): New.
12489 (libc_feholdsetroundf_ctx): New.
12490 (libc_feholdsetroundl_ctx): New.
12491 (libc_feresetround_mips_ctx): New.
12492 (libc_feresetround_ctx): New.
12493 (libc_feresetroundf_ctx): New.
12494 (libc_feresetroundl_ctx): New.
12495
085d0e35
CD
124962014-02-26 Carlos O'Donell <carlos@redhat.com>
12497
f067bf1f
CD
12498 * manual/ipc.texi (Semaphores): Use @Theglibc{}.
12499
085d0e35
CD
12500 * manual/ipc.texi: New file.
12501 * manual/Makefile (chapters): Add ipc.
12502 * manual/job.texi: Add "Inter-Process Communication" to next.
12503 * manual/process.texi: Add "Inter-Process Communication" to prev.
12504
86e58c08
AZ
125052014-02-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12506
12507 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
12508
4248f0da
OB
125092014-02-26 Ondřej Bílka <neleai@seznam.cz>
12510
12511 * malloc/malloc.c (__libc_calloc): Simplify implementation.
12512
cf822e3c
OB
12513 * manual/arith.texi: Fix spaces after sentences.
12514 * manual/charset.texi: Likewise.
12515 * manual/errno.texi: Likewise.
12516 * manual/install.texi: Likewise.
12517 * manual/llio.texi: Likewise.
12518 * manual/locale.texi: Likewise.
12519 * manual/maint.texi: Likewise.
12520 * manual/math.texi: Likewise.
12521 * manual/memory.texi: Likewise.
12522 * manual/message.texi: Likewise.
12523 * manual/probes.texi: Likewise.
12524 * manual/resource.texi: Likewise.
12525 * manual/signal.texi: Likewise.
12526 * manual/socket.texi: Likewise.
12527 * manual/stdio.texi: Likewise.
12528 * manual/string.texi: Likewise.
12529 * manual/time.texi: Likewise.
12530 * manual/users.texi: Likewise.
12531
ade40b10
CD
125322014-02-25 Carlos O'Donell <carlos@redhat.com>
12533
12534 [BZ #16632]
12535 * include/features.h: Don't warn about _BSD_SOURCE or _SVID_SOURCE if
12536 _DEFAULT_SOURCE is defined.
12537
d0503676
CD
125382014-02-25 Ulrich Drepper <drepper@gmail.com>
12539 Carlos O'Donell <carlos@redhat.com>
12540
12541 [BZ #16613]
12542 * elf/dl-tls.c (_dl_count_modids): New function.
12543 * sysdeps/generic/ldsodefs.h: Declare _dl_count_modids.
12544 * elf/rtld.c (dl_main): Call _dl_count_modids to track TLS usage in
12545 audit library and increment generation counter.
12546 (_dl_allocate_tls_init): Add assertion to check TLS generation count.
12547 * elf/tst-audit9.c: New file.
12548 * elf/tst-auditmod9a.c: New file.
12549 * elf/tst-auditmod9b.c: New file.
12550 * elf/Makefile: Add rules to build and run tst-audit9.
12551
4cbf380c
FW
125522014-02-25 Florian Weimer <fweimer@redhat.com>
12553
12554 [BZ #15347]
12555 * misc/sys/select.h (__FD_MASK): Avoid signed integer overflow.
12556
80a56cc3
WN
125572014-02-25 Will Newton <will.newton@linaro.org>
12558
12559 * sysdeps/arm/__longjmp.S: Include stap-probe.h.
12560 (__longjmp): Restore sp and lr before restoring callee
12561 saved registers. Add longjmp and longjmp_target
12562 SystemTap probe point.
12563 * sysdeps/arm/bits/setjmp.h (__jmp_buf): Update comment.
12564 * sysdeps/arm/include/bits/setjmp.h (__JMP_BUF_SP):
12565 Define to zero to match jmpbuf layout.
12566 * sysdeps/arm/setjmp.S: Include stap-probe.h.
12567 (__sigsetjmp): Save sp and lr before saving callee
12568 saved registers. Add setjmp SystemTap probe point.
12569
3ea0f74e
SL
125702014-02-24 Stefan Liebler <stli@linux.vnet.ibm.com>
12571
12572 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
12573
b04acb26
AS
125742014-02-24 Andreas Schwab <schwab@suse.de>
12575
12576 [BZ #15804]
12577 * elf/pldd.c (wait_for_ptrace_stop): New function.
12578 (main): Call it after attaching.
12579
098ad55c
RM
125802014-02-22 Roland McGrath <roland@hack.frob.com>
12581
d4ec6ae1
RM
12582 * Makerules ($(common-objpfx)Versions.v.i): No longer depend
12583 on $(common-objpfx)abi-versions.h; using <shlib-compat.h> inside
12584 Versions files is now verboten.
12585 * hurd/Versions (libc: GLIBC_2.0):
12586 Remove various [SHLIB_COMPAT (libc, GLIBC_2_0, ...)] sections.
12587 (libc: HURD_CTHREADS_0.3): Remove conditionalization, was under
12588 [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_2)].
12589 * mach/Versions: Likewise.
12590
098ad55c
RM
12591 * csu/Versions: Remove unused %include.
12592 * resolv/Versions: Likewise.
12593
acd7f096
JM
125942014-02-21 Joseph Myers <joseph@codesourcery.com>
12595
f0881698
JM
12596 * Makefile ($(objpfx)c++-types-check.out): Use $(evaluate-test).
12597 ($(objpfx)check-local-headers.out): Likewise.
12598 ($(objpfx)begin-end-check.out): Likewise.
12599 * Makerules (check-abi-%.out): Likewise.
12600 * catgets/Makefile ($(objpfx)test1.cat): Likewise.
12601 ($(objpfx)test2.cat): Likewise.
12602 ($(objpfx)de/libc.cat): Likewise.
12603 ($(objpfx)test-gencat.out): Likewise.
12604 * conform/Makefile ($(objpfx)run-conformtest.out): Likewise.
12605 * elf/Makefile ($(objpfx)order-cmp.out): Likewise.
12606 ($(objpfx)noload-mem): Likewise.
12607 ($(objpfx)tst-pathopt.out): Likewise.
12608 ($(objpfx)tst-rtld-load-self.out): Likewise.
12609 ($(objpfx)tst-array1-cmp.out): Likewise.
12610 ($(objpfx)tst-array1-static-cmp.out): Likewise.
12611 ($(objpfx)tst-array2-cmp.out): Likewise.
12612 ($(objpfx)tst-array3-cmp.out): Likewise.
12613 ($(objpfx)tst-array4-cmp.out): Likewise.
12614 ($(objpfx)tst-array5-cmp.out): Likewise.
12615 ($(objpfx)tst-array5-static-cmp.out): Likewise.
12616 ($(objpfx)check-textrel.out): Likewise.
12617 ($(objpfx)check-execstack.out): Likewise.
12618 ($(objpfx)check-localplt.out): Likewise.
12619 ($(objpfx)order2-cmp.out): Likewise.
12620 ($(objpfx)tst-leaks1-mem): Likewise.
12621 ($(objpfx)tst-leaks1-static-mem): Likewise.
12622 ($(objpfx)tst-initorder-cmp.out): Likewise.
12623 ($(objpfx)tst-initorder2-cmp.out): Likewise.
12624 ($(objpfx)tst-unused-dep.out): Likewise.
12625 ($(objpfx)tst-unused-dep-cmp.out): Likewise.
12626 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Likewise.
12627 * iconv/Makefile (test-iconvconfig): Likewise.
12628 * iconvdata/Makefile ($(objpfx)mtrace-tst-loading): Likewise.
12629 ($(objpfx)iconv-test.out): Likewise.
12630 ($(objpfx)tst-tables.out): Likewise.
12631 * intl/Makefile ($(objpfx)mtrace-tst-gettext): Likewise.
12632 ($(objpfx)tst-gettext.out): Likewise.
12633 ($(objpfx)tst-translit.out): Likewise.
12634 ($(objpfx)tst-gettext2.out): Likewise.
12635 ($(objpfx)tst-gettext4.out): Likewise.
12636 ($(objpfx)tst-gettext6.out): Likewise.
12637 * io/Makefile ($(objpfx)ftwtest.out): Likewise.
12638 * libio/Makefile ($(objpfx)test-freopen.out): Likewise.
12639 ($(objpfx)tst-fopenloc-cmp.out): Likewise.
12640 ($(objpfx)tst-fopenloc-mem.out): Likewise.
12641 * malloc/Makefile ($(objpfx)tst-mtrace.out): Likewise.
12642 * misc/Makefile ($(objpfx)tst-error1-mem): Likewise.
12643 * posix/Makefile ($(objpfx)globtest.out): Likewise.
12644 ($(objpfx)wordexp-tst.out): Likewise.
12645 ($(objpfx)annexc.out): Likewise.
12646 ($(objpfx)tst-fnmatch-mem): Likewise.
12647 ($(objpfx)bug-regex2-mem): Likewise.
12648 ($(objpfx)bug-regex14-mem): Likewise.
12649 ($(objpfx)bug-regex21-mem): Likewise.
12650 ($(objpfx)bug-regex31-mem): Likewise.
12651 ($(objpfx)tst-vfork3-mem): Likewise.
12652 ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
12653 ($(objpfx)tst-pcre-mem): Likewise.
12654 ($(objpfx)tst-boost-mem): Likewise.
12655 ($(objpfx)tst-getconf.out): Likewise.
12656 ($(objpfx)bug-ga2-mem): Likewise.
12657 ($(objpfx)bug-glob2-mem): Likewise.
12658 * resolv/Makefile ($(objpfx)mtrace-tst-leaks): Likewise.
12659 ($(objpfx)mtrace-tst-leaks2): Likewise.
12660 * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Likewise.
12661 ($(objpfx)tst-printf.out): Likewise.
12662 ($(objpfx)tst-setvbuf1.out): Likewise.
12663 ($(objpfx)tst-setvbuf1-cmp.out): Likewise.
12664 * stdlib/Makefile ($(objpfx)isomac.out): Likewise.
12665 ($(objpfx)tst-fmtmsg.out): Likewise.
12666 * string/Makefile ($(objpfx)tst-svc-cmp.out): Likewise.
12667 * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Likewise.
12668
acd7f096
JM
12669 * bits/fcntl.h [__USE_MISC]: Remove redundant conditionals.
12670 * bits/sigaction.h [__USE_MISC]: Likewise.
12671 * bits/waitstatus.h: Update #endif comments.
12672 * ctype/ctype.h: Likewise.
12673 * dirent/dirent.h: Likewise.
12674 [__USE_MISC]: Remove redundant conditionals.
12675 * grp/grp.h: Update #endif comments.
12676 [__USE_GNU]: Remove redundant conditionals.
12677 [__USE_MISC]: Likewise.
12678 * inet/netinet/in.h [__USE_GNU]: Likewise.
12679 * io/sys/stat.h [__USE_MISC]: Likewise.
12680 * libio/bits/stdio-ldbl.h [__USE_MISC]: Likewise.
12681 * libio/bits/stdio.h: Update #endif comments.
12682 [__USE_MISC]: Remove redundant conditionals.
12683 * libio/bits/stdio2.h [__USE_MISC]: Likewise.
12684 * libio/stdio.h: Update #endif comments.
12685 [__USE_MISC]: Remove redundant conditionals.
12686 * math/bits/math-finite.h [__USE_MISC]: Likewise.
12687 * math/bits/mathcalls.h [__USE_MISC]: Likewise.
12688 * math/math.h: Update #else and #endif comments.
12689 [__USE_MISC]: Remove redundant conditionals.
12690 * misc/sys/uio.h: Update #endif comments.
12691 * posix/bits/unistd.h [__USE_MISC]: Remove redundant conditionals.
12692 * posix/glob.h [__USE_MISC]: Likewise.
12693 * posix/sys/types.h: Update #endif comments.
12694 [__USE_MISC]: Remove redundant conditionals.
12695 * posix/sys/wait.h: Update #endif comments.
12696 [__USE_MISC]: Remove redundant conditionals.
12697 * posix/unistd.h: Update #endif comments.
12698 [__USE_MISC]: Remove redundant conditionals.
12699 * pwd/pwd.h [__USE_GNU]: Likewise.
12700 [__USE_MISC]: Likewise.
12701 * resolv/netdb.h [__USE_GNU]: Likewise.
12702 * signal/signal.h: Update #endif comments.
12703 [__USE_MISC]: Remove redundant conditionals.
12704 * stdlib/stdlib.h: Update #else and #endif comments.
12705 [__USE_MISC]: Remove redundant conditionals.
12706 [__USE_GNU]: Likewise.
12707 * string/bits/string2.h [__USE_MISC]: Likewise.
12708 * string/string.h: Update #endif comments.
12709 [__USE_MISC]: Remove redundant conditionals.
12710 * sysdeps/m68k/m680x0/fpu/bits/mathinline.h [__USE_MISC]:
12711 Likewise.
12712 * sysdeps/mach/hurd/bits/fcntl.h [__USE_MISC]: Likewise.
12713 * sysdeps/mach/hurd/bits/stat.h [__USE_MISC]: Likewise.
12714 * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h [__USE_MISC]:
12715 Likewise.
12716 * sysdeps/unix/sysv/linux/alpha/bits/stat.h [__USE_MISC]:
12717 Likewise.
12718 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Update #endif
12719 comments.
12720 [__USE_MISC]: Remove redundant conditionals.
12721 * sysdeps/unix/sysv/linux/bits/in.h [__USE_GNU]: Likewise.
12722 * sysdeps/unix/sysv/linux/bits/sigaction.h [__USE_MISC]: Likewise.
12723 * sysdeps/unix/sysv/linux/bits/socket.h [__USE_GNU]: Likewise.
12724 * sysdeps/unix/sysv/linux/bits/stat.h [__USE_MISC]: Likewise.
12725 * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h [__USE_MISC]:
12726 Likewise.
12727 * sysdeps/unix/sysv/linux/m68k/bits/stat.h [__USE_MISC]: Likewise.
12728 * sysdeps/unix/sysv/linux/mips/bits/sigaction.h [__USE_MISC]:
12729 Likewise.
12730 * sysdeps/unix/sysv/linux/mips/bits/stat.h [__USE_MISC]: Likewise.
12731 * sysdeps/unix/sysv/linux/powerpc/bits/stat.h [__USE_MISC]:
12732 Likewise.
12733 * sysdeps/unix/sysv/linux/s390/bits/sigaction.h [__USE_MISC]:
12734 Likewise.
12735 * sysdeps/unix/sysv/linux/s390/bits/stat.h [__USE_MISC]: Likewise.
12736 * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h [__USE_MISC]:
12737 Likewise.
12738 * sysdeps/unix/sysv/linux/sparc/bits/stat.h [__USE_MISC]:
12739 Likewise.
12740 * sysdeps/unix/sysv/linux/x86/bits/stat.h [__USE_MISC]: Likewise.
12741 * sysdeps/x86/bits/string.h: Update #endif comments.
12742 * sysdeps/x86/fpu/bits/mathinline.h [__USE_MISC]: Remove redundant
12743 conditionals.
12744 * time/sys/time.h: Update #endif comments.
12745 * time/time.h: Likewise.
12746 [__USE_MISC]: Remove redundant conditionals.
12747
a5d82e4e
YG
127482014-02-21 Yury Gribov <y.gribov@samsung.com>
12749
12750 [BZ #16600]
12751 * sysdeps/arm/libm-test-ulps: Update for VFPv4.
12752
9a80491d
AS
127532014-02-21 Andreas Schwab <schwab@linux-m68k.org>
12754
12755 * Versions.def (librt): Add GLIBC_2.17.
12756
105fa381
AC
127572014-02-21 Adam Conrad <adconrad@0c3.net>
12758
12759 * sysdeps/powerpc/bits/hwcap.h: Allow _SYSDEPS_SYSDEP_H guard as a
12760 synonym for _SYS_AUXV_H to allow direct inclusion.
12761 * sysdeps/sparc/bits/hwcap.h: Likewise.
12762 * sysdeps/powerpc/sysdep.h: Define _SYSDEPS_SYSDEP_H instead of
12763 _SYS_AUXV_H so we can include sysdep.h and sys/auxv.h together.
12764 * sysdeps/sparc/sysdep.h: Likewise.
12765
b8cd1c4e
SP
127662014-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
12767
12768 * benchtests/bench-strrchr.c (do_test): Fix minor formatting.
12769
bd939d23
RS
127702014-02-21 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
12771
12772 * benchtests/bench-strrchr.c: Print length instead of position.
12773
5d7b57ca
JM
127742014-02-20 Joseph Myers <joseph@codesourcery.com>
12775
bc688c10
JM
12776 [BZ #16611]
12777 * sysdeps/unix/sysv/linux/kernel-features.h
12778 [__LINUX_KERNEL_VERSION >= 0x030000 && __ASSUME_SOCKETCALL]
12779 (__ASSUME_SENDMMSG_SOCKETCALL): Define.
12780 [__LINUX_KERNEL_VERSION >= 0x030000 && (__i386__ || __x86_64__ ||
12781 __powerpc__ || __sh__ || __sparc__)] (__ASSUME_SENDMMSG_SYSCALL):
12782 Likewise.
12783 [__i386__ || __powerpc__ || __sh__ || __sparc__]
12784 (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
12785 [__ASSUME_SENDMMSG_SOCKETCALL || __ASSUME_SENDMMSG_SYSCALL]
12786 (__ASSUME_SENDMMSG): Define instead of using previous
12787 [__LINUX_KERNEL_VERSION >= 0x020627] condition.
12788 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
12789 (__ASSUME_SENDMMSG_SYSCALL): Define.
12790 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
12791 [__LINUX_KERNEL_VERSION >= 0x030200] (__ASSUME_SENDMMSG_SYSCALL):
12792 Likewise.
12793 * sysdeps/unix/sysv/linux/arm/kernel-features.h
12794 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
12795 Likewise.
12796 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
12797 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
12798 Likewise.
12799 * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SOCKETCALL
12800 && !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
12801 !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
12802 [__ASSUME_SENDMMSG]: Change conditionals to
12803 [__ASSUME_SENDMMSG_SOCKETCALL].
12804 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
12805 [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_SENDMMSG_SYSCALL):
12806 Define.
12807 * sysdeps/unix/sysv/linux/mips/kernel-features.h
12808 [__LINUX_KERNEL_VERSION >= 0x030100] (__ASSUME_SENDMMSG_SYSCALL):
12809 Likewise.
12810 * sysdeps/unix/sysv/linux/sendmmsg.c [__ASSUME_SOCKETCALL &&
12811 !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
12812 !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
12813 [!__ASSUME_SENDMMSG]: Change conditional to
12814 [!__ASSUME_SENDMMSG_SOCKETCALL].
12815 * sysdeps/unix/sysv/linux/tile/kernel-features.h
12816 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
12817 Define.
12818
0e31b18c
JM
12819 [BZ #16610]
12820 * sysdeps/unix/sysv/linux/kernel-features.h
12821 [__LINUX_KERNEL_VERSION >= 0x020621 && __ASSUME_SOCKETCALL]
12822 (__ASSUME_RECVMMSG_SOCKETCALL): Define.
12823 [(__LINUX_KERNEL_VERSION >= 0x020621 && (__i386__ || __x86_64__ ||
12824 __sparc__)) || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__
12825 || __sh__))] (__ASSUME_RECVMMSG_SYSCALL): Likewise.
12826 [__i386__ || __sparc__]
12827 (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
12828 [__ASSUME_RECVMMSG_SOCKETCALL || __ASSUME_RECVMMSG_SYSCALL]
12829 (__ASSUME_RECVMMSG): Define instead of using previous
12830 [__LINUX_KERNEL_VERSION >= 0x020621] condition.
12831 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
12832 (__ASSUME_RECVMMSG_SYSCALL): Define.
12833 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
12834 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
12835 Likewise.
12836 * sysdeps/unix/sysv/linux/arm/kernel-features.h
12837 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
12838 Likewise.
12839 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
12840 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
12841 Likewise.
12842 * sysdeps/unix/sysv/linux/internal_recvmmsg.S [__ASSUME_SOCKETCALL
12843 && !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
12844 !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
12845 [__ASSUME_RECVMMSG]: Change condition to
12846 [__ASSUME_RECVMMSG_SOCKETCALL].
12847 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
12848 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
12849 Define.
12850 (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
12851 * sysdeps/unix/sysv/linux/mips/kernel-features.h
12852 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
12853 Likewise.
12854 * sysdeps/unix/sysv/linux/recvmmsg.c [__ASSUME_SOCKETCALL &&
12855 !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
12856 !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
12857 [!__ASSUME_RECVMMSG]: Change condition to
12858 [!__ASSUME_RECVMMSG_SOCKETCALL].
12859 * sysdeps/unix/sysv/linux/tile/kernel-features.h
12860 (__ASSUME_RECVMMSG_SYSCALL): Define.
12861
dd481ccf
JM
12862 [BZ #16609]
12863 * sysdeps/unix/sysv/linux/kernel-features.h [__i386__ ||
12864 __powerpc__ || __s390__ || __sh__ || __sparc__]
12865 (__ASSUME_SOCKETCALL): Define.
12866 [__LINUX_KERNEL_VERSION && __ASSUME_SOCKETCALL]
12867 (__ASSUME_ACCEPT4_SOCKETCALL): Likewise.
12868 [(__LINUX_KERNEL_VERSION >= 0x02061c && (__x86_64__ || __sparc__))
12869 || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__ ||
12870 __sh__))] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
12871 [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
12872 [__ASSUME_ACCEPT4_SOCKETCALL || __ASSUME_ACCEPT4_SYSCALL]
12873 (__ASSUME_ACCEPT4): Define instead of using previous
12874 [__LINUX_KERNEL_VERSION >= 0x02061c && (__i386__ || __x86_64__ ||
12875 __powerpc__ || __sparc__ || __s390__)] condition.
12876 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
12877 (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
12878 * sysdeps/unix/sysv/linux/accept4.c [__ASSUME_SOCKETCALL &&
12879 !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
12880 !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
12881 [!__ASSUME_ACCEPT4]: Change condition to
12882 [!__ASSUME_ACCEPT4_SOCKETCALL].
12883 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
12884 (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL. Correct
12885 condition to [__LINUX_KERNEL_VERSION >= 0x030200].
12886 * sysdeps/unix/sysv/linux/arm/kernel-features.h
12887 [__LINUX_KERNEL_VERSION >= 0x020624] (__ASSUME_ACCEPT4): Change to
12888 __ASSUME_ACCEPT4_SYSCALL.
12889 * sysdeps/unix/sysv/linux/i386/accept4.S [__ASSUME_ACCEPT4]:
12890 Change conditions to [__ASSUME_ACCEPT4_SOCKETCALL].
12891 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
12892 [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_ACCEPT4): Change to
12893 __ASSUME_ACCEPT4_SYSCALL.
12894 * sysdeps/unix/sysv/linux/internal_accept4.S [__ASSUME_SOCKETCALL
12895 && !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
12896 !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
12897 [__ASSUME_ACCEPT4]: Change condition to
12898 [__ASSUME_ACCEPT4_SOCKETCALL].
12899 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
12900 (__ASSUME_SOCKETCALL): Define.
12901 [__LINUX_KERNEL_VERSION >= 0x02061c] (__ASSUME_ACCEPT4): Remove.
12902 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
12903 (__ASSUME_SOCKETCALL): Define.
12904 (__ASSUME_ACCEPT4): Remove.
12905 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_ACCEPT4_SYSCALL):
12906 Define.
12907 * sysdeps/unix/sysv/linux/mips/kernel-features.h
12908 [__LINUX_KERNEL_VERSION >= 0x02061f] (__ASSUME_ACCEPT4_SYSCALL):
12909 Likewise.
12910 * sysdeps/unix/sysv/linux/tile/kernel-features.h
12911 (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
12912
5d7b57ca
JM
12913 * sysdeps/unix/sysv/linux/arm/bits/hwcap.h (HWCAP_ARM_VFPD32): New
12914 macro.
12915 (HWCAP_ARM_LPAE): Likewise.
12916 (HWCAP_ARM_EVTSTRM): Likewise.
12917 * sysdeps/unix/sysv/linux/arm/dl-procinfo.c (_dl_arm_cap_flags):
12918 Add vpfd32, lpae and evtstrm.
12919 * sysdeps/unix/sysv/linux/arm/dl-procinfo.h (_DL_HWCAP_COUNT):
12920 Increase to 22.
12921
63689d61
JM
129222014-02-19 Joseph Myers <joseph@codesourcery.com>
12923
12924 * math/auto-libm-test-in: Add tests of clog10.
12925 * math/auto-libm-test-out: Regenerated.
12926 * math/libm-test.inc (clog10_test_data): Use AUTO_TESTS_c_c.
12927 * sysdeps/i386/fpu/libm-test-ulps: Update.
12928 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12929
ab09bf61
AS
129302014-02-18 Andreas Schwab <schwab@suse.de>
12931
12932 [BZ #16574]
12933 * resolv/res_send.c (send_vc): Add parameter ansp2_malloced.
12934 Store non-zero if the second buffer was newly allocated.
12935 (send_dg): Likewise.
12936 (__libc_res_nsend): Add parameter ansp2_malloced and pass it down
12937 to send_vc and send_dg.
12938 (res_nsend): Pass NULL for ansp2_malloced.
12939 * resolv/res_query.c (__libc_res_nquery): Add parameter
12940 answerp2_malloced and pass it down to __libc_res_nsend.
12941 (res_nquery): Pass additional NULL to __libc_res_nquery.
12942 (__libc_res_nsearch): Add parameter answerp2_malloced and pass it
12943 down to __libc_res_nquery and __libc_res_nquerydomain. Deallocate
12944 second answer buffer if answerp2_malloced was set.
12945 (res_nsearch): Pass additional NULL to __libc_res_nsearch.
12946 (__libc_res_nquerydomain): Add parameter
12947 answerp2_malloced and pass it down to __libc_res_nquery.
12948 (res_nquerydomain): Pass additional NULL to
12949 __libc_res_nquerydomain.
12950 * resolv/nss_dns/dns-network.c (_nss_dns_getnetbyname_r): Pass
12951 additional NULL to __libc_res_nsend and __libc_res_nquery.
12952 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Pass
12953 additional NULL to __libc_res_nsearch.
12954 (_nss_dns_gethostbyname4_r): Revert last change. Use new
12955 parameter of __libc_res_nsearch to check for separately allocated
12956 second buffer.
12957 (_nss_dns_gethostbyaddr2_r): Pass additional NULL to
12958 __libc_res_nquery.
12959 * resolv/nss_dns/dns-canon.c (_nss_dns_getcanonname_r): Pass
12960 additional NULL to __libc_res_nquery.
12961 * resolv/gethnamaddr.c (gethostbyname2): Pass additional NULL to
12962 __libc_res_nsearch.
12963 (gethostbyaddr): Pass additional NULL to __libc_res_nquery.
12964 * include/resolv.h: Update prototypes of __libc_res_nquery,
12965 __libc_res_nsearch, __libc_res_nsend.
12966
a4fb7861
JM
129672014-02-18 Joseph Myers <joseph@codesourcery.com>
12968
c6af2d89
JM
12969 * math/auto-libm-test-in: Add tests of fma.
12970 * math/auto-libm-test-out: Regenerated.
12971 * math/libm-test.inc (fma_test_data): Use AUTO_TESTS_fff_f.
12972 (fma_towardzero_test_data): Likewise.
12973 (fma_downward_test_data): Likewise.
12974 (fma_upward_test_data): Likewise.
12975 * math/gen-auto-libm-tests.c (rounding_mode_desc): Add field
12976 mpc_mode.
12977 (rounding_modes): Add values for new field.
12978 (func_calc_method): Add value mpfr_fff_f.
12979 (func_calc_desc): Add mpfr_fff_f union field.
12980 (test_function): Add field exact_args.
12981 (FUNC): Add macro argument EXACT_ARGS.
12982 (FUNC_mpfr_f_f): Update call to FUNC.
12983 (FUNC_mpfr_f_f): Likewise.
12984 (FUNC_mpfr_ff_f): Likewise.
12985 (FUNC_mpfr_if_f): Likewise.
12986 (FUNC_mpc_c_f): Likewise.
12987 (FUNC_mpc_c_c): Likewise.
12988 (test_functions): Add fma. Update calls to FUNC.
12989 (handle_input_arg): Add argument exact_args.
12990 (add_test): Update call to handle_input_arg.
12991 (calc_generic_results): Add argument mode. Handle mpfr_fff_f.
12992 (output_for_one_input_case): Update call to calc_generic_results.
12993 Recalculate exact zero results in each rounding mode.
12994
a4fb7861
JM
12995 * math/gen-auto-libm-tests.c (adjust_real): Ensure integers are
12996 non-negative before setting low bit.
12997 * math/auto-libm-test-in: Mark one asin test possibly having
12998 spurious underflow.
12999 * math/auto-libm-test-out: Regenerated.
13000 * sysdeps/i386/fpu/libm-test-ulps: Update.
13001 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13002
ef114eaf
DH
130032014-02-17 David Holsgrove <david.holsgrove@xilinx.com>
13004
2b7f4f2c
SP
13005 * sysdeps/microblaze: Move directory from ports/sysdeps/microblaze.
13006 * sysdeps/unix/sysv/linux/microblaze: Move directory from
13007 ports/sysdeps/unix/sysv/linux/microblaze.
ef114eaf
DH
13008 * README: Add missing listing for microblaze*-*-linux-gnu.
13009
8125aedc
AM
130102014-02-16 Ondřej Bílka <neleai@seznam.cz>
13011
13012 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Remove
13013 duplicate code
13014
c70a4b1d
MF
130152014-02-16 Mike Frysinger <vapier@gentoo.org>
13016
13017 * sysdeps/ia64: Move directory from ports/sysdeps/ia64.
13018 * sysdeps/unix/sysv/linux/ia64: Move directory from
13019 ports/sysdeps/unix/sysv/linux/ia64.
13020 * README: Update listing for ia64-*-linux-gnu.
13021
591aeaf7
TD
130222014-02-14 Tomas Dohnalek <tdohnale@redhat.com>
13023 Joseph Myers <joseph@codesourcery.com>
13024
13025 * Makeconfig (test-name): New variable.
13026 (evaluate-test): Likewise.
13027 * Makerules (do-test-clean): Remove .test-result files.
13028 (common-mostlyclean): Likewise.
13029 * Rules ($(objpfx)%.out): Use $(evaluate-test) in both rules.
13030 * scripts/evaluate-test.sh: New file.
13031
6e89caf1
JM
130322014-02-14 Joseph Myers <joseph@codesourcery.com>
13033
7f98f180
JM
13034 * libio/Makefile ($(objpfx)tst-fopenloc.check): Split into
13035 separate $(objpfx)tst-fopenloc-cmp.out and
13036 $(objpfx)tst-fopenloc-mem.out targets.
13037 (tests): Update dependencies.
13038 * posix/Makefile (tests variable): Add tst-rxspencer-no-utf8.
13039 (generated): Change tst-rxspencer-mem and tst-rxspencer.mtrace to
13040 tst-rxspencer-no-utf8-mem and tst-rxspencer-no-utf8.mtrace.
13041 (tst-rxspencer-no-utf8-ARGS): New variable.
13042 (tst-rxspencer-no-utf8-ENV): Likewise.
13043 (tests target): Depend on $(objpfx)tst-rxspencer-no-utf8-mem
13044 instead of $(objpfx)tst-rxspencer-mem.
13045 ($(objpfx)tst-rxspencer-mem): Change target to
13046 $(objpfx)tst-rxspencer-no-utf8-mem. Depend on
13047 $(objpfx)tst-rxspencer-no-utf8.out instead of running test program.
13048 * posix/tst-rxspencer-no-utf8.c: New file.
13049
6e89caf1
JM
13050 * elf/Makefile ($(objpfx)order.out): Remove rule.
13051 [$(run-built-tests) = yes] (tests): Depend on
13052 $(objpfx)order-cmp.out.
13053 ($(objpfx)order-cmp.out): New rule.
13054 [$(run-built-tests) = yes] (tests): Depend on
13055 $(objpfx)tst-array1-cmp.out, $(objpfx)tst-array1-static-cmp.out,
13056 $(objpfx)tst-array2-cmp.out, $(objpfx)tst-array3-cmp.out,
13057 $(objpfx)tst-array4-cmp.out, $(objpfx)tst-array5-cmp.out and
13058 $(objpfx)tst-array5-static-cmp.out.
13059 ($(objpfx)tst-array1.out): Remove rule.
13060 ($(objpfx)tst-array1-cmp.out): New rule.
13061 ($(objpfx)tst-array1-static.out): Remove rule.
13062 ($(objpfx)tst-array1-static-cmp.out): New rule.
13063 ($(objpfx)tst-array2.out): Remove rule.
13064 ($(objpfx)tst-array2-cmp.out): New rule.
13065 ($(objpfx)tst-array3.out): Remove rule.
13066 ($(objpfx)tst-array3-cmp.out): New rule.
13067 ($(objpfx)tst-array4.out): Remove rule.
13068 ($(objpfx)tst-array4-cmp.out): New rule.
13069 ($(objpfx)tst-array5.out): Remove rule.
13070 ($(objpfx)tst-array5-cmp.out): New rule.
13071 ($(objpfx)tst-array5-static.out): Remove rule.
13072 ($(objpfx)tst-array5-static-cmp.out): New rule.
13073 [$(run-built-tests) = yes] (tests): Depend on
13074 $(objpfx)order2-cmp.out.
13075 ($(objpfx)order2.out): Remove rule.
13076 ($(objpfx)order2-cmp.out): New rule.
13077 ($(objpfx)tst-initorder.out): Remove rule.
13078 [$(run-built-tests) = yes] (tests): Depend on
13079 $(objpfx)tst-initorder-cmp.out.
13080 ($(objpfx)tst-initorder-cmp.out): New rule.
13081 ($(objpfx)tst-initorder2.out): Remove rule.
13082 [$(run-built-tests) = yes] (tests): Depend on
13083 $(objpfx)tst-initorder2-cmp.out.
13084 ($(objpfx)tst-initorder2-cmp.out): New rule.
13085 [$(run-built-tests) = yes] (tests): Depend on
13086 $(objpfx)tst-unused-dep-cmp.out.
13087 ($(objpfx)tst-unused-dep-cmp.out): Do not run cmp.
13088 ($(objpfx)tst-unused-dep-cmp.out): New rule.
13089 * stdio-common/Makefile [$(run-built-tests) = yes] (tests): Depend
13090 on $(objpfx)tst-setvbuf1-cmp.out.
13091 ($(objpfx)tst-setvbuf1.out): Do not run cmp.
13092 ($(objpfx)tst-setvbuf1-cmp.out): New rule.
13093 * string/Makefile [$(run-built-tests) = yes] (tests): Depend
13094 $(objpfx)tst-svc-cmp.out instead of $(objpfx)tst-svc.out.
13095 ($(objpfx)tst-svc.out): Remove rule.
13096 ($(objpfx)tst-svc-cmp.out): New rule.
13097
ed9a38e2
JM
130982014-02-13 Joseph Myers <joseph@codesourcery.com>
13099
13100 * bits/mman.h [__USE_MISC]: Remove redundant conditionals.
13101 * ctype/ctype.h [__USE_MISC]: Likewise.
13102 * dirent/dirent.h [__USE_MISC]: Likewise.
13103 * grp/grp.h [__USE_MISC]: Likewise.
13104 * io/fcntl.h [__USE_MISC]: Likewise.
13105 * io/sys/stat.h [__USE_MISC]: Likewise.
13106 * libio/stdio.h [__USE_MISC]: Likewise.
13107 * posix/unistd.h [__USE_MISC]: Likewise.
13108 * pwd/pwd.h [__USE_MISC]: Likewise.
13109 * stdlib.h [__USE_MISC]: Likewise.
13110 * string/bits/string2.h [__USE_MISC]: Likewise.
13111 * string/string.h [__USE_MISC]: Likewise.
13112 * time/time.h [__USE_MISC]: Likewise.
13113
d6680619
AS
131142014-02-13 Andreas Schwab <schwab@suse.de>
13115
13116 [BZ #16574]
13117 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Free the
13118 second answer buffer if it was separately allocated.
13119
ace614b8
JM
131202014-02-12 Joseph Myers <joseph@codesourcery.com>
13121
743151ae
JM
13122 * sysdeps/mips/math-tests.h: Include <features.h>.
13123 [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
13124 (ROUNDING_TESTS_long_double): Do not define.
13125 [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
13126 (EXCEPTION_TESTS_long_double): Likewise.
13127 * sysdeps/mips/mips64/libm-test-ulps: Update.
13128
498afc54
JM
13129 * include/features.h (__USE_BSD): Remove macro definitions.
13130 (__USE_SVID): Likewise.
13131 (_BSD_SOURCE): Likewise.
13132 (_SVID_SOURCE): Likewise.
13133 [!defined _BSD_SOURCE && !defined _SVID_SOURCE]: Remove condition
13134 from definition of _DEFAULT_SOURCE.
13135 [_BSD_SOURCE || _SVID_SOURCE]: Change condition to
13136 [_DEFAULT_SOURCE].
13137 * bits/fcntl.h [__USE_BSD]: Change condition to [__USE_MISC].
13138 * bits/mman.h [__USE_BSD]: Likewise.
13139 * bits/termios.h [__USE_BSD]: Likewise.
13140 * bits/waitstatus.h [__USE_BSD]: Likewise.
13141 * ctype/ctype.h [__USE_SVID]: Likewise.
13142 * dirent/dirent.h [__USE_BSD]: Likewise.
13143 * grp/grp.h [__USE_SVID]: Likewise.
13144 [__USE_BSD]: Likewise.
13145 * inet/netinet/igmp.h [__USE_BSD]: Likewise.
13146 * io/fcntl.h [__USE_BSD]: Likewise.
13147 * io/ftw.h [__USE_BSD]: Likewise.
13148 * io/sys/stat.h [__USE_BSD]: Likewise.
13149 * libio/bits/stdio-ldbl.h [__USE_BSD]: Likewise.
13150 * libio/bits/stdio2.h [__USE_BSD]: Likewise.
13151 * libio/stdio.h [__USE_SVID]: Likewise.
13152 [__USE_BSD]: Likewise.
13153 * math/math.h [__USE_SVID]: Likewise.
13154 [__USE_BSD]: Likewise.
13155 * misc/bits/syslog-ldbl.h [__USE_BSD]: Likewise.
13156 * misc/bits/syslog.h [__USE_BSD]: Likewise.
13157 * misc/search.h [__USE_SVID]: Likewise.
13158 * misc/sys/mman.h [__USE_BSD]: Likewise.
13159 * misc/sys/syslog.h [__USE_BSD]: Likewise.
13160 * misc/sys/uio.h [__USE_BSD]: Likewise.
13161 * posix/bits/unistd.h [__USE_BSD]: Likewise.
13162 * posix/glob.h [__USE_BSD]: Likewise.
13163 * posix/regex.h [__USE_BSD]: Likewise.
13164 * posix/sys/types.h [__USE_BSD]: Likewise.
13165 [__USE_SVID]: Likewise.
13166 * posix/sys/utsname.h [__USE_SVID]: Likewise.
13167 * posix/sys/wait.h [__USE_BSD]: Likewise.
13168 [__USE_SVID]: Likewise.
13169 * posix/unistd.h [__USE_BSD]: Likewise.
13170 [__USE_SVID]: Likewise.
13171 * pwd/pwd.h [__USE_SVID]: Likewise.
13172 * resolv/netdb.h [__USE_BSD]: Likewise.
13173 * setjmp/setjmp.h [__USE_BSD]: Likewise.
13174 * signal/signal.h [__USE_BSD]: Likewise.
13175 [__USE_SVID]: Likewise.
13176 * socket/sys/socket.h [__USE_BSD]: Likewise.
13177 * stdlib/fmtmsg.h [__USE_SVID]: Likewise.
13178 * stdlib/stdlib.h [__USE_BSD]: Likewise.
13179 [__USE_SVID]: Likewise.
13180 * string/bits/string2.h [__USE_BSD]: Likewise.
13181 [__USE_SVID]: Likewise.
13182 * string/bits/string3.h [__USE_BSD]: Likewise.
13183 * string/endian.h [__USE_BSD]: Likewise.
13184 * string/string.h [__USE_SVID]: Likewise.
13185 [__USE_BSD]: Likewise.
13186 * string/strings.h [__USE_BSD]: Likewise.
13187 * sysdeps/generic/netinet/ip.h [__USE_BSD]: Likewise.
13188 * sysdeps/gnu/netinet/ip_icmp.h [__USE_BSD]: Likewise.
13189 * sysdeps/mach/hurd/bits/fcntl.h [__USE_BSD]: Likewise.
13190 * sysdeps/mach/hurd/bits/stat.h [__USE_BSD]: Likewise.
13191 * sysdeps/unix/sysv/linux/alpha/bits/mman.h [__USE_BSD]: Likewise.
13192 * sysdeps/unix/sysv/linux/alpha/bits/termios.h [__USE_BSD]:
13193 Likewise.
13194 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_BSD]:
13195 Likewise.
13196 * sysdeps/unix/sysv/linux/bits/mman-linux.h [__USE_BSD]: Likewise.
13197 * sysdeps/unix/sysv/linux/bits/sys_errlist.h [__USE_BSD]:
13198 Likewise.
13199 * sysdeps/unix/sysv/linux/bits/termios.h [__USE_BSD]: Likewise.
13200 * sysdeps/unix/sysv/linux/mips/bits/termios.h [__USE_BSD]:
13201 Likewise.
13202 * sysdeps/unix/sysv/linux/netinet/if_ether.h [__USE_BSD]:
13203 Likewise.
13204 * sysdeps/unix/sysv/linux/netinet/if_fddi.h [__USE_BSD]: Likewise.
13205 * sysdeps/unix/sysv/linux/netinet/if_tr.h [__USE_BSD]: Likewise.
13206 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_BSD]:
13207 Likewise.
13208 * sysdeps/unix/sysv/linux/sparc/bits/termios.h [__USE_BSD]:
13209 Likewise.
13210 * sysdeps/x86/bits/string.h [__USE_BSD]: Likewise.
13211 * sysvipc/sys/ipc.h [__USE_SVID]: Likewise.
13212 * termios/termios.h [__USE_BSD]: Likewise.
13213 * time/sys/time.h [__USE_BSD]: Likewise.
13214 * time/time.h [__USE_BSD]: Likewise.
13215 [__USE_SVID]: Likewise.
13216
dd7b064c
JM
13217 * Makefile (subdir_targets): Remove subdir_lint.out.
13218
a2c4c199
JM
13219 * stdio-common/Makefile (do-tst-unbputc): Remove target.
13220 (do-tst-printf): Likewise.
13221 (tests): Depend directly on $(objpfx)tst-unbputc.out and
13222 $(objpfx)tst-printf.out.
13223
8756f740
JM
13224 * io/ftwtest-sh (testout): Change to $tmp/ftwtest-tmp.out.
13225
1b6dd3f1
JM
13226 * Makerules (check-abi-%): Change target to
13227 $(objpfx)check-abi-%.out.
13228 (check-abi target): Update dependencies.
13229 (check-abi-pattern variable): Redirect output of diff to $@.
13230 (check-abi variable): Likewise.
13231 * elf/Makefile (check-abi): Update dependencies.
13232
ace614b8
JM
13233 * soft-fp/op-common.h (_FP_DECL): Mark exponent as possibly
13234 unused.
13235 (_FP_PACK_SEMIRAW): Determine tininess based on rounding shifted
13236 value if _FP_TININESS_AFTER_ROUNDING and unrounded value is in
13237 subnormal range.
13238 (_FP_PACK_CANONICAL): Determine tininess based on rounding to
13239 normal precision if _FP_TININESS_AFTER_ROUNDING and unrounded
13240 value has largest subnormal exponent.
13241 * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS]
13242 (_FP_TININESS_AFTER_ROUNDING): Undefine and redefine to 0.
13243 * sysdeps/aarch64/soft-fp/sfp-machine.h
13244 (_FP_TININESS_AFTER_ROUNDING): New macro.
13245 * sysdeps/alpha/soft-fp/sfp-machine.h
13246 (_FP_TININESS_AFTER_ROUNDING): Likewise.
13247 * sysdeps/arm/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
13248 Likewise.
13249 * sysdeps/mips/mips64/soft-fp/sfp-machine.h
13250 (_FP_TININESS_AFTER_ROUNDING): Likewise.
13251 * sysdeps/mips/soft-fp/sfp-machine.h
13252 (_FP_TININESS_AFTER_ROUNDING): Likewise.
13253 * sysdeps/powerpc/soft-fp/sfp-machine.h
13254 (_FP_TININESS_AFTER_ROUNDING): Likewise.
13255 * sysdeps/sh/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
13256 Likewise.
13257 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
13258 (_FP_TININESS_AFTER_ROUNDING): Likewise.
13259 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
13260 (_FP_TININESS_AFTER_ROUNDING): Likewise.
13261 * sysdeps/tile/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
13262 Likewise.
13263
fbfdf9cb
DAS
132642014-02-12 Dylan Alex Simon <dylan@dylex.net>
13265
13266 [BZ #16545]
13267 * sysdeps/x86_64/fpu/libm-test-ulps: Update on AMD family 21h
13268 model 1.
13269
68b7efaa
RH
132702014-02-12 Richard Henderson <rth@redhat.com>
13271
c70a4b1d 13272 * sysdeps/alpha: Move directory from ports/sysdeps/alpha.
68b7efaa
RH
13273 * sysdeps/unix/alpha: Move directory from ports/sysdeps/unix/alpha.
13274 * sysdeps/unix/sysv/linux/alpha: Move directory from
13275 ports/sysdeps/unix/sysv/linux/alpha.
13276 * README: Update listing for alpha-*-linux-gnu.
13277
cb4a2928
JM
132782014-02-11 Joseph Myers <joseph@codesourcery.com>
13279
c941736c
JM
13280 * include/features.h: Update comment documenting feature test
13281 macros.
13282 [_BSD_SOURCE || _SVID_SOURCE]: Give #warning. Define
13283 _DEFAULT_SOURCE.
13284 * manual/creature.texi (_BSD_SOURCE): Remove documentation.
13285 (_SVID_SOURCE): Likewise.
13286 (_DEFAULT_SOURCE): Update description of default features.
13287 (Feature Test Macros): Don't mention _SVID_SOURCE in conjunction
13288 with _GNU_SOURCE.
13289 * manual/filesys.texi (__ftw_func_t): Do not refer to _BSD_SOURCE.
13290 (S_ISVTX): Likewise.
13291 * manual/math.texi (Mathematical Constants): Likewise.
13292 * manual/signal.texi (Interrupted Primitives): Likewise.
13293 * manual/startup.texi (putenv): Do not refer to _SVID_SOURCE.
13294 * math/test-matherr.c (_SVID_SOURCE): Do not define.
13295 * sysvipc/sys/ipc.h [__USE_SVID && !__USE_XOPEN && __GNUC__ >= 2]:
13296 Don't refer to _SVID_SOURCE in warning text.
13297
e8d8d7ec
JM
13298 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
13299
cb4a2928
JM
13300 * elf/dl-lookup.c (ELF_MACHINE_SYM_NO_MATCH): Define if not
13301 already defined.
13302 (do_lookup_x): Use ELF_MACHINE_SYM_NO_MATCH.
13303 * sysdeps/mips/dl-lookup.c: Remove.
13304 * sysdeps/mips/dl-machine.h (ELF_MACHINE_SYM_NO_MATCH): New macro.
13305
7e6424e3
AK
133062014-02-11 Stefan Liebler <stli@linux.vnet.ibm.com>
13307
13308 [BZ #16447]
13309 * math/auto-libm-test-in: Add testcase for expl.
13310 * math/auto-libm-test-out: Regenerate.
13311 * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Fix
13312 calculation of unsafe.
13313 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for added testcase.
13314
75eff3fe
MS
133152014-02-11 Marcus Shawcroft <marcus.shawcroft@arm.com>
13316
13317 * sysdeps/aarch64: Move directory from ports/sysdeps/aarch64.
13318 * sysdeps/unix/sysv/linux/aarch64: Move directory from
13319 ports/sysdeps/unix/sysv/linux/aarch64.
13320 * README: Update listing for aarch64*-*-linux-gnu.
13321
d35f1e80
WN
133222014-02-11 Will Newton <will.newton@linaro.org>
13323
13324 * manual/probes.texi (Mathematical Function Probes): Use
13325 "triggered" instead of "hit".
13326
7b3436d4
WN
13327 * manual/probes.texi (Internal Probes): Add documentation
13328 of setjmp, longjmp and longjmp_target probes.
13329
b4f12ca3
WN
13330 * include/stap-probe.h: Add comment about probe argument
13331 format.
13332
c13a72b7
WN
13333 * malloc/mtrace.c (attribute_hidden): Remove unused macro
13334 definition. (tr_where, tr_freehook, tr_mallochook,
13335 tr_reallochook, tr_memalignhook): Use ANSI protoype.
13336
195b8165
DM
133372014-02-11 David S. Miller <davem@davemloft.net>
13338
13339 * stdio-common/tst-sscanf.c (main): Use 'long' for 'dummy' when
13340 processing int_tests.
13341
2ad7600b
JM
133422014-02-10 Joseph Myers <joseph@codesourcery.com>
13343
13344 * sysdeps/mips: Move directory from ports/sysdeps/mips.
13345 * sysdeps/unix/mips: Move directory from ports/sysdeps/unix/mips.
13346 * sysdeps/unix/sysv/linux/mips: Move directory from
13347 ports/sysdeps/unix/sysv/linux/mips.
13348 * README: Update listing for mips-*-linux-gnu and
13349 mips64-*-linux-gnu.
13350
73588a72
AS
133512014-02-10 Andreas Schwab <schwab@linux-m68k.org>
13352
13353 * sysdeps/m68k: Move directory from ports/sysdeps/m68k.
13354 * sysdeps/unix/sysv/linux/m68k: Move directory from
13355 ports/sysdeps/unix/sysv/linux/m68k.
13356 * README: Update listing for m68k-*-linux-gnu.
13357
4372980f
CM
133582014-02-10 Chris Metcalf <cmetcalf@tilera.com>
13359
13360 * sysdeps/tile: Move directory from ports/sysdeps/tile.
13361 * sysdeps/unix/sysv/linux/generic: Move directory from
13362 ports/sysdeps/unix/sysv/linux/generic.
13363 * sysdeps/unix/sysv/linux/tile: Move directory from
13364 ports/sysdeps/unix/sysv/linux/tile.
13365 * README: Update listing for tile*-*-linux-gnu.
13366
a1ffb40e
OB
133672014-02-10 Ondřej Bílka <neleai@seznam.cz>
13368
57f41c40
AS
13369 * assert/assert.c (__assert_fail_base): Use glibc_likely instead
13370 __builtin_expect.
a1ffb40e
OB
13371 * benchtests/bench-memmem.c (simple_memmem): Likewise.
13372 * catgets/open_catalog.c (__open_catalog): Likewise.
13373 * csu/libc-start.c (LIBC_START_MAIN): Likewise.
13374 * debug/confstr_chk.c: Likewise.
13375 * debug/fread_chk.c (__fread_chk): Likewise.
13376 * debug/fread_u_chk.c (__fread_unlocked_chk): Likewise.
13377 * debug/getgroups_chk.c: Likewise.
13378 * debug/mbsnrtowcs_chk.c: Likewise.
13379 * debug/mbsrtowcs_chk.c: Likewise.
13380 * debug/mbstowcs_chk.c: Likewise.
13381 * debug/memcpy_chk.c: Likewise.
13382 * debug/memmove_chk.c: Likewise.
13383 * debug/mempcpy_chk.c: Likewise.
13384 * debug/memset_chk.c: Likewise.
13385 * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
13386 * debug/strcat_chk.c (__strcat_chk): Likewise.
13387 * debug/strcpy_chk.c (__strcpy_chk): Likewise.
13388 * debug/strncat_chk.c (__strncat_chk): Likewise.
13389 * debug/vsnprintf_chk.c (___vsnprintf_chk): Likewise.
13390 * debug/vswprintf_chk.c (__vswprintf_chk): Likewise.
13391 * debug/wcpcpy_chk.c (__wcpcpy_chk): Likewise.
13392 * debug/wcpncpy_chk.c: Likewise.
13393 * debug/wcscat_chk.c (__wcscat_chk): Likewise.
13394 * debug/wcscpy_chk.c (__wcscpy_chk): Likewise.
13395 * debug/wcsncat_chk.c (__wcsncat_chk): Likewise.
13396 * debug/wcsncpy_chk.c: Likewise.
13397 * debug/wcsnrtombs_chk.c: Likewise.
13398 * debug/wcsrtombs_chk.c: Likewise.
13399 * debug/wcstombs_chk.c: Likewise.
13400 * debug/wmemcpy_chk.c: Likewise.
13401 * debug/wmemmove_chk.c: Likewise.
13402 * debug/wmempcpy_chk.c: Likewise.
13403 * debug/wmemset_chk.c: Likewise.
13404 * dirent/scandirat.c (SCANDIRAT): Likewise.
13405 * dlfcn/dladdr1.c (dladdr1): Likewise.
13406 * dlfcn/dladdr.c (dladdr): Likewise.
13407 * dlfcn/dlclose.c (dlclose_doit): Likewise.
13408 * dlfcn/dlerror.c (__dlerror): Likewise.
13409 * dlfcn/dlinfo.c (dlinfo_doit): Likewise.
13410 * dlfcn/dlmopen.c (dlmopen_doit): Likewise.
13411 * dlfcn/dlopen.c (dlopen_doit): Likewise.
13412 * dlfcn/dlopenold.c (__dlopen_nocheck): Likewise.
13413 * dlfcn/dlsym.c (dlsym_doit): Likewise.
13414 * dlfcn/dlvsym.c (dlvsym_doit): Likewise.
13415 * elf/dl-cache.c (_dl_load_cache_lookup): Likewise.
13416 * elf/dl-close.c (remove_slotinfo, _dl_close_worker, _dl_close):
13417 Likewise.
13418 * elf/dl-conflict.c: Likewise.
13419 * elf/dl-deps.c (_dl_build_local_scope, _dl_map_object_deps): Likewise.
13420 * elf/dl-dst.h: Likewise.
13421 * elf/dl-fini.c (_dl_sort_fini, _dl_fini): Likewise.
13422 * elf/dl-fptr.c (_dl_make_fptr): Likewise.
13423 * elf/dl-hwcaps.c (_dl_important_hwcaps): Likewise.
13424 * elf/dl-init.c (call_init, _dl_init): Likewise.
13425 * elf/dl-libc.c (__libc_dlopen_mode, __libc_dlsym): Likewise.
57f41c40
AS
13426 * elf/dl-load.c (_dl_dst_substitute, fillin_rpath, _dl_init_paths)
13427 (_dl_map_object_from_fd, open_verify, open_path, _dl_map_object):
13428 Likewise.
a1ffb40e
OB
13429 * elf/dl-lookup.c (do_lookup_x, add_dependency, _dl_lookup_symbol_x):
13430 Likewise.
13431 * elf/dl-minimal.c (__libc_memalign): Likewise.
13432 * elf/dl-open.c (add_to_global, dl_open_worker, _dl_open): Likewise.
13433 * elf/dl-reloc.c (_dl_relocate_object): Likewise.
13434 * elf/dl-runtime.c (_dl_fixup, _dl_profile_fixup): Likewise.
13435 * elf/dl-sym.c (do_sym): Likewise.
57f41c40
AS
13436 * elf/dl-tls.c (tls_get_addr_tail, update_get_addr)
13437 (__tls_get_addr, _dl_tls_get_addr_soft): Likewise.
a1ffb40e
OB
13438 * elf/dl-version.c (match_symbol, _dl_check_map_versions): Likewise.
13439 * elf/dl-writev.h (_dl_writev): Likewise.
13440 * elf/ldconfig.c (search_dir): Likewise.
57f41c40
AS
13441 * elf/rtld.c (_dl_start_final, _dl_start, init_tls, do_preload)
13442 (dl_main): Likewise.
a1ffb40e
OB
13443 * elf/setup-vdso.h (setup_vdso): Likewise.
13444 * grp/compat-initgroups.c (compat_call): Likewise.
13445 * grp/fgetgrent.c (fgetgrent): Likewise.
13446 * grp/initgroups.c (getgrouplist, initgroups): Likewise.
13447 * grp/putgrent.c (putgrent): Likewise.
13448 * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
13449 Likewise.
13450 * hurd/hurdinit.c: Likewise.
13451 * iconvdata/8bit-gap.c (struct): Likewise.
13452 * iconvdata/ansi_x3.110.c : Likewise.
13453 * iconvdata/big5.c : Likewise.
13454 * iconvdata/big5hkscs.c : Likewise.
13455 * iconvdata/cp1255.c: Likewise.
13456 * iconvdata/cp1258.c : Likewise.
13457 * iconvdata/cp932.c : Likewise.
13458 * iconvdata/euc-cn.c: Likewise.
13459 * iconvdata/euc-jisx0213.c : Likewise.
13460 * iconvdata/euc-jp.c: Likewise.
13461 * iconvdata/euc-jp-ms.c : Likewise.
13462 * iconvdata/euc-kr.c (euckr_from_ucs4): Likewise.
13463 * iconvdata/gb18030.c : Likewise.
13464 * iconvdata/gbbig5.c (const): Likewise.
13465 * iconvdata/gbgbk.c: Likewise.
13466 * iconvdata/gbk.c : Likewise.
13467 * iconvdata/ibm1364.c : Likewise.
13468 * iconvdata/ibm930.c : Likewise.
13469 * iconvdata/ibm932.c: Likewise.
13470 * iconvdata/ibm933.c : Likewise.
13471 * iconvdata/ibm935.c : Likewise.
13472 * iconvdata/ibm937.c : Likewise.
13473 * iconvdata/ibm939.c : Likewise.
13474 * iconvdata/ibm943.c: Likewise.
13475 * iconvdata/iso_11548-1.c: Likewise.
13476 * iconvdata/iso-2022-cn.c : Likewise.
13477 * iconvdata/iso-2022-cn-ext.c : Likewise.
13478 * iconvdata/iso-2022-jp-3.c: Likewise.
13479 * iconvdata/iso-2022-jp.c (gconv_end): Likewise.
13480 * iconvdata/iso-2022-kr.c : Likewise.
13481 * iconvdata/iso646.c (gconv_end): Likewise.
13482 * iconvdata/iso_6937-2.c : Likewise.
13483 * iconvdata/iso_6937.c : Likewise.
13484 * iconvdata/iso8859-1.c: Likewise.
13485 * iconvdata/johab.c (johab_sym_hanja_to_ucs): Likewise.
13486 * iconvdata/shift_jisx0213.c : Likewise.
13487 * iconvdata/sjis.c : Likewise.
13488 * iconvdata/t.61.c : Likewise.
13489 * iconvdata/tcvn5712-1.c : Likewise.
13490 * iconvdata/tscii.c: Likewise.
13491 * iconvdata/uhc.c : Likewise.
13492 * iconvdata/unicode.c (gconv_end): Likewise.
13493 * iconvdata/utf-16.c (gconv_end): Likewise.
13494 * iconvdata/utf-32.c (gconv_end): Likewise.
13495 * iconvdata/utf-7.c (base64): Likewise.
13496 * iconv/gconv_cache.c (__gconv_load_cache): Likewise.
13497 * iconv/gconv_close.c (__gconv_close): Likewise.
13498 * iconv/gconv_open.c (__gconv_open): Likewise.
57f41c40
AS
13499 * iconv/gconv_simple.c (internal_ucs4_loop_single)
13500 (ucs4_internal_loop, ucs4_internal_loop_unaligned)
13501 (ucs4_internal_loop_single, internal_ucs4le_loop_single)
13502 (ucs4le_internal_loop, ucs4le_internal_loop_unaligned)
13503 (ucs4le_internal_loop_single): Likewise.
a1ffb40e
OB
13504 * iconv/iconv.c (iconv): Likewise.
13505 * iconv/iconv_close.c: Likewise.
13506 * iconv/loop.c (SINGLE): Likewise.
13507 * iconv/skeleton.c (FUNCTION_NAME): Likewise.
13508 * include/atomic.h: Likewise.
13509 * inet/inet6_option.c (option_alloc): Likewise.
13510 * intl/bindtextdom.c (set_binding_values): Likewise.
13511 * intl/dcigettext.c (DCIGETTEXT, _nl_find_msg): Likewise.
13512 * intl/loadmsgcat.c (_nl_load_domain): Likewise.
13513 * intl/localealias.c (read_alias_file): Likewise.
13514 * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
57f41c40
AS
13515 * libio/fileops.c (_IO_file_open, _IO_file_underflow_mmap)
13516 (_IO_new_file_overflow, _IO_file_xsgetn_mmap): Likewise.
a1ffb40e
OB
13517 * libio/fmemopen.c (fmemopen): Likewise.
13518 * libio/iofgets.c (_IO_fgets): Likewise.
13519 * libio/iofgets_u.c (fgets_unlocked): Likewise.
13520 * libio/iofgetws.c (fgetws): Likewise.
13521 * libio/iofgetws_u.c (fgetws_unlocked): Likewise.
13522 * libio/iogetdelim.c (_IO_getdelim): Likewise.
57f41c40
AS
13523 * libio/wfileops.c (_IO_wfile_underflow, _IO_wfile_underflow_mmap)
13524 (adjust_wide_data, _IO_wfile_seekoff): Likewise.
a1ffb40e
OB
13525 * locale/findlocale.c (_nl_find_locale): Likewise.
13526 * locale/loadarchive.c (_nl_load_locale_from_archive): Likewise.
13527 * locale/loadlocale.c (_nl_intern_locale_data, _nl_load_locale):
13528 Likewise.
13529 * locale/setlocale.c (setlocale): Likewise.
13530 * login/programs/pt_chown.c (main): Likewise.
13531 * malloc/arena.c (ptmalloc_init, shrink_heap, arena_get2): Likewise.
13532 * malloc/malloc.c (_int_malloc, _int_free): Likewise.
57f41c40
AS
13533 * malloc/memusage.c (update_data, malloc, realloc, calloc, free)
13534 (mmap, mmap64, mremap, munmap): Likewise.
a1ffb40e
OB
13535 * math/e_exp2l.c: Likewise.
13536 * math/e_scalb.c (invalid_fn, __ieee754_scalb): Likewise.
13537 * math/e_scalbf.c (invalid_fn, __ieee754_scalbf): Likewise.
13538 * math/e_scalbl.c (invalid_fn, __ieee754_scalbl): Likewise.
13539 * math/s_catan.c (__catan): Likewise.
13540 * math/s_catanf.c (__catanf): Likewise.
13541 * math/s_catanh.c (__catanh): Likewise.
13542 * math/s_catanhf.c (__catanhf): Likewise.
13543 * math/s_catanhl.c (__catanhl): Likewise.
13544 * math/s_catanl.c (__catanl): Likewise.
13545 * math/s_ccosh.c (__ccosh): Likewise.
13546 * math/s_ccoshf.c (__ccoshf): Likewise.
13547 * math/s_ccoshl.c (__ccoshl): Likewise.
13548 * math/s_cexp.c (__cexp): Likewise.
13549 * math/s_cexpf.c (__cexpf): Likewise.
13550 * math/s_cexpl.c (__cexpl): Likewise.
13551 * math/s_clog10.c (__clog10): Likewise.
13552 * math/s_clog10f.c (__clog10f): Likewise.
13553 * math/s_clog10l.c (__clog10l): Likewise.
13554 * math/s_clog.c (__clog): Likewise.
13555 * math/s_clogf.c (__clogf): Likewise.
13556 * math/s_clogl.c (__clogl): Likewise.
13557 * math/s_csin.c (__csin): Likewise.
13558 * math/s_csinf.c (__csinf): Likewise.
13559 * math/s_csinh.c (__csinh): Likewise.
13560 * math/s_csinhf.c (__csinhf): Likewise.
13561 * math/s_csinhl.c (__csinhl): Likewise.
13562 * math/s_csinl.c (__csinl): Likewise.
13563 * math/s_csqrt.c (__csqrt): Likewise.
13564 * math/s_csqrtf.c (__csqrtf): Likewise.
13565 * math/s_csqrtl.c (__csqrtl): Likewise.
13566 * math/s_ctan.c (__ctan): Likewise.
13567 * math/s_ctanf.c (__ctanf): Likewise.
13568 * math/s_ctanh.c (__ctanh): Likewise.
13569 * math/s_ctanhf.c (__ctanhf): Likewise.
13570 * math/s_ctanhl.c (__ctanhl): Likewise.
13571 * math/s_ctanl.c (__ctanl): Likewise.
13572 * math/w_pow.c: Likewise.
13573 * math/w_powf.c: Likewise.
13574 * math/w_powl.c: Likewise.
13575 * math/w_scalb.c (sysv_scalb): Likewise.
13576 * math/w_scalbf.c (sysv_scalbf): Likewise.
13577 * math/w_scalbl.c (sysv_scalbl): Likewise.
13578 * misc/error.c (error_tail): Likewise.
13579 * misc/pselect.c (__pselect): Likewise.
13580 * nis/nis_callback.c (__nis_create_callback): Likewise.
13581 * nis/nis_call.c (__nisfind_server): Likewise.
13582 * nis/nis_creategroup.c (nis_creategroup): Likewise.
13583 * nis/nis_domain_of_r.c (nis_domain_of_r): Likewise.
13584 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Likewise.
13585 * nis/nis_getservlist.c (nis_getservlist): Likewise.
13586 * nis/nis_lookup.c (nis_lookup): Likewise.
13587 * nis/nis_subr.c (nis_leaf_of_r, nis_getnames): Likewise.
57f41c40
AS
13588 * nis/nis_table.c (__create_ib_request, nis_list, nis_add_entry)
13589 (nis_modify_entry, nis_first_entry, nis_next_entry): Likewise.
a1ffb40e 13590 * nis/nis_xdr.c (xdr_endpoint): Likewise.
57f41c40
AS
13591 * nis/nss_compat/compat-grp.c (getgrent_next_file)
13592 (internal_getgrnam_r, internal_getgrgid_r): Likewise.
13593 * nis/nss_compat/compat-initgroups.c (add_group)
13594 (internal_getgrent_r): Likewise.
13595 * nis/nss_compat/compat-pwd.c (getpwent_next_file)
13596 (internal_getpwnam_r, internal_getpwuid_r): Likewise.
13597 * nis/nss_compat/compat-spwd.c (getspent_next_file)
13598 (internal_getspnam_r): Likewise.
13599 * nis/nss_nis/nis-alias.c (internal_nis_getaliasent_r)
13600 (_nss_nis_getaliasbyname_r): Likewise.
13601 * nis/nss_nis/nis-ethers.c (_nss_nis_gethostton_r)
13602 (_nss_nis_getntohost_r): Likewise.
13603 * nis/nss_nis/nis-grp.c (internal_nis_setgrent)
13604 (internal_nis_getgrent_r, _nss_nis_getgrnam_r)
13605 (_nss_nis_getgrgid_r): Likewise.
13606 * nis/nss_nis/nis-hosts.c (_nss_nis_sethostent)
13607 (internal_nis_gethostent_r, internal_gethostbyname2_r)
13608 (_nss_nis_gethostbyname_r, _nss_nis_gethostbyaddr_r)
13609 (_nss_nis_gethostbyname4_r): Likewise.
13610 * nis/nss_nis/nis-initgroups.c (internal_getgrent_r)
13611 (initgroups_netid): Likewise.
a1ffb40e 13612 * nis/nss_nis/nis-netgrp.c (_nss_nis_setnetgrent): Likewise.
57f41c40
AS
13613 * nis/nss_nis/nis-network.c (internal_nis_getnetent_r)
13614 (_nss_nis_getnetbyname_r, _nss_nis_getnetbyaddr_r): Likewise.
13615 * nis/nss_nis/nis-proto.c (_nss_nis_getprotobyname_r)
13616 (_nss_nis_getprotobynumber_r): Likewise.
13617 * nis/nss_nis/nis-publickey.c (_nss_nis_getpublickey)
13618 (_nss_nis_getsecretkey): Likewise.
13619 * nis/nss_nis/nis-pwd.c (_nis_saveit, internal_nis_setpwent)
13620 (internal_nis_getpwent_r, _nss_nis_getpwnam_r)
13621 (_nss_nis_getpwuid_r): Likewise.
13622 * nis/nss_nis/nis-rpc.c (internal_nis_getrpcent_r)
13623 (_nss_nis_getrpcbyname_r, _nss_nis_getrpcbynumber_r): Likewise.
13624 * nis/nss_nis/nis-service.c (dosearch, internal_nis_getservent_r)
13625 (_nss_nis_getservbyname_r, _nss_nis_getservbyport_r): Likewise.
13626 * nis/nss_nis/nis-spwd.c (_nss_nis_setspent)
13627 (internal_nis_getspent_r, _nss_nis_getspnam_r): Likewise.
a1ffb40e
OB
13628 * nis/nss_nisplus/nisplus-alias.c (_nss_nisplus_getaliasbyname_r):
13629 Likewise.
57f41c40
AS
13630 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_gethostton_r)
13631 (_nss_nisplus_getntohost_r): Likewise.
13632 * nis/nss_nisplus/nisplus-grp.c (internal_nisplus_getgrent_r)
13633 (_nss_nisplus_getgrnam_r, _nss_nisplus_getgrgid_r): Likewise.
13634 * nis/nss_nisplus/nisplus-hosts.c (internal_gethostbyname2_r)
13635 (_nss_nisplus_gethostbyaddr_r, _nss_nisplus_gethostbyname4_r):
a1ffb40e 13636 Likewise.
57f41c40
AS
13637 * nis/nss_nisplus/nisplus-initgroups.c
13638 (_nss_nisplus_initgroups_dyn): Likewise.
13639 * nis/nss_nisplus/nisplus-network.c (_nss_nisplus_getnetbyname_r)
13640 (_nss_nisplus_getnetbyaddr_r): Likewise.
13641 * nis/nss_nisplus/nisplus-proto.c (_nss_nisplus_getprotobyname_r)
13642 (_nss_nisplus_getprotobynumber_r): Likewise.
13643 * nis/nss_nisplus/nisplus-pwd.c (internal_nisplus_getpwent_r)
13644 (_nss_nisplus_getpwnam_r, _nss_nisplus_getpwuid_r): Likewise.
a1ffb40e
OB
13645 * nis/nss_nisplus/nisplus-rpc.c (_nss_nisplus_getrpcbyname_r):
13646 Likewise.
57f41c40
AS
13647 * nis/nss_nisplus/nisplus-service.c
13648 (internal_nisplus_getservent_r, _nss_nisplus_getservbyname_r)
13649 (_nss_nisplus_getservbyport_r): Likewise.
13650 * nis/nss_nisplus/nisplus-spwd.c (internal_nisplus_getspent_r)
13651 (_nss_nisplus_getspnam_r): Likewise.
13652 * nis/ypclnt.c (__yp_bind, yp_match, yp_all, yp_maplist):
13653 Likewise.
a1ffb40e
OB
13654 * nscd/aicache.c (addhstaiX): Likewise.
13655 * nscd/cache.c (cache_search, prune_cache): Likewise.
57f41c40
AS
13656 * nscd/connections.c (register_traced_file, send_ro_fd)
13657 (handle_request, nscd_run_prune, nscd_run_worker, fd_ready)
13658 (main_loop_epoll): Likewise.
a1ffb40e
OB
13659 * nscd/grpcache.c (addgrbyX): Likewise.
13660 * nscd/hstcache.c (addhstbyX): Likewise.
13661 * nscd/initgrcache.c (addinitgroupsX): Likewise.
13662 * nscd/mem.c (gc, mempool_alloc): Likewise.
57f41c40
AS
13663 * nscd/netgroupcache.c (do_notfound, addgetnetgrentX)
13664 (addinnetgrX): Likewise.
13665 * nscd/nscd-client.h (__nscd_acquire_maplock)
13666 (__nscd_drop_map_ref): Likewise.
a1ffb40e
OB
13667 * nscd/nscd_getai.c (__nscd_getai): Likewise.
13668 * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
13669 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp, nscd_gethst_r):
13670 Likewise.
13671 * nscd/nscd_getpw_r.c (nscd_getpw_r): Likewise.
13672 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
57f41c40
AS
13673 * nscd/nscd_helper.c (__readvall, open_socket, __nscd_get_mapping)
13674 (__nscd_get_map_ref): Likewise.
a1ffb40e 13675 * nscd/nscd_initgroups.c (__nscd_getgrouplist): Likewise.
57f41c40
AS
13676 * nscd/nscd_netgroup.c (__nscd_setnetgrent, __nscd_innetgr):
13677 Likewise.
a1ffb40e
OB
13678 * nscd/pwdcache.c (addpwbyX): Likewise.
13679 * nscd/selinux.c (preserve_capabilities): Likewise.
13680 * nscd/servicescache.c (addservbyX): Likewise.
13681 * nss/nss_files/files-XXX.c (internal_getent): Likewise.
13682 * posix/fnmatch.c (fnmatch): Likewise.
13683 * posix/getopt.c (_getopt_internal_r): Likewise.
13684 * posix/glob.c (glob, glob_in_dir): Likewise.
13685 * posix/wordexp.c (exec_comm_child): Likewise.
57f41c40
AS
13686 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr2_r)
13687 (getanswer_r, gaih_getanswer_slice): Likewise.
a1ffb40e
OB
13688 * resolv/nss_dns/dns-network.c (getanswer_r): Likewise.
13689 * resolv/res_init.c: Likewise.
13690 * resolv/res_mkquery.c (res_nmkquery): Likewise.
13691 * resolv/res_query.c (__libc_res_nquery): Likewise.
13692 * resolv/res_send.c (__libc_res_nsend, send_vc, reopen, send_dg):
13693 Likewise.
13694 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Likewise.
13695 * stdio-common/perror.c (perror): Likewise.
13696 * stdio-common/printf_fp.c (___printf_fp): Likewise.
13697 * stdio-common/tmpnam.c (tmpnam): Likewise.
13698 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
13699 * stdlib/cxa_finalize.c (__cxa_finalize): Likewise.
57f41c40
AS
13700 * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl):
13701 Likewise.
a1ffb40e
OB
13702 * stdlib/drand48-iter.c (__drand48_iterate): Likewise.
13703 * stdlib/putenv.c (putenv): Likewise.
13704 * stdlib/setenv.c (__add_to_environ): Likewise.
13705 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
13706 * stdlib/strtol_l.c (INTERNAL): Likewise.
13707 * string/memmem.c (memmem): Likewise.
13708 * string/strerror.c (strerror): Likewise.
13709 * string/strnlen.c (__strnlen): Likewise.
13710 * string/test-memmem.c (simple_memmem): Likewise.
13711 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Likewise.
13712 * sunrpc/pm_getport.c (__get_socket): Likewise.
13713 * sysdeps/gnu/unwind-resume.c (init, _Unwind_Resume): Likewise.
13714 * sysdeps/i386/dl-irel.h (elf_irel): Likewise.
57f41c40
AS
13715 * sysdeps/i386/dl-machine.h (elf_machine_runtime_setup)
13716 (elf_machine_rel, elf_machine_lazy_rel, elf_machine_lazy_rela):
a1ffb40e
OB
13717 Likewise.
13718 * sysdeps/ieee754/dbl-64/e_atanh.c (__ieee754_atanh): Likewise.
13719 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
13720 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Likewise.
13721 * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r): Likewise.
13722 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Likewise.
57f41c40
AS
13723 * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1, __ieee754_y1):
13724 Likewise.
13725 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn, __ieee754_yn):
13726 Likewise.
a1ffb40e
OB
13727 * sysdeps/ieee754/dbl-64/e_log10.c (__ieee754_log10): Likewise.
13728 * sysdeps/ieee754/dbl-64/e_log2.c (__ieee754_log2): Likewise.
13729 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
13730 * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
13731 * sysdeps/ieee754/dbl-64/s_asinh.c (__asinh): Likewise.
13732 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Likewise.
13733 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
13734 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Likewise.
13735 * sysdeps/ieee754/dbl-64/s_modf.c (__modf): Likewise.
13736 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): Likewise.
13737 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
13738 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c (__ieee754_acosh):
13739 Likewise.
13740 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c (__ieee754_log10):
13741 Likewise.
13742 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c (__ieee754_log2):
13743 Likewise.
13744 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c (__frexp): Likewise.
13745 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
13746 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo): Likewise.
13747 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c (__round): Likewise.
13748 * sysdeps/ieee754/flt-32/e_atanhf.c (__ieee754_atanhf): Likewise.
13749 * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r): Likewise.
13750 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
13751 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Likewise.
13752 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_nearbyint): Likewise.
13753 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Likewise.
13754 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c (__llroundl): Likewise.
13755 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
13756 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
13757 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c (__lroundl): Likewise.
13758 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
57f41c40
AS
13759 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
13760 Likewise.
a1ffb40e
OB
13761 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l, __ieee754_y0l):
13762 Likewise.
13763 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l, __ieee754_y1l):
13764 Likewise.
13765 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl, __ieee754_ynl):
13766 Likewise.
13767 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
13768 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
13769 * sysdeps/posix/clock_getres.c (hp_timing_getres, realtime_getres):
13770 Likewise.
13771 * sysdeps/posix/fdopendir.c (__fdopendir): Likewise.
13772 * sysdeps/posix/getaddrinfo.c (gaih_inet, getaddrinfo): Likewise.
13773 * sysdeps/posix/opendir.c (__opendirat): Likewise.
13774 * sysdeps/posix/sleep.c: Likewise.
13775 * sysdeps/posix/tempname.c: Likewise.
13776 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_irela): Likewise.
13777 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
13778 Likewise.
57f41c40
AS
13779 * sysdeps/powerpc/powerpc32/dl-machine.h
13780 (elf_machine_runtime_setup, elf_machine_rela): Likewise.
a1ffb40e
OB
13781 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
13782 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
13783 * sysdeps/pthread/aio_notify.c (__aio_notify_only): Likewise.
13784 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait, aio_suspend):
13785 Likewise.
13786 * sysdeps/s390/dl-irel.h (elf_irela): Likewise.
57f41c40
AS
13787 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_runtime_setup)
13788 (elf_machine_rela, elf_machine_lazy_rel): Likewise.
13789 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_runtime_setup)
13790 (elf_machine_rela, elf_machine_lazy_rel): Likewise.
a1ffb40e
OB
13791 * sysdeps/s390/s390-64/utf16-utf32-z9.c (gconv_end): Likewise.
13792 * sysdeps/s390/s390-64/utf8-utf16-z9.c (gconv_end): Likewise.
13793 * sysdeps/s390/s390-64/utf8-utf32-z9.c (gconv_end): Likewise.
13794 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
13795 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Likewise.
57f41c40
AS
13796 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela)
13797 (elf_machine_lazy_rel): Likewise.
a1ffb40e 13798 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
57f41c40
AS
13799 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela)
13800 (elf_machine_lazy_rel): Likewise.
a1ffb40e
OB
13801 * sysdeps/sparc/sparc64/dl-plt.h (sparc64_fixup_plt): Likewise.
13802 * sysdeps/unix/clock_gettime.c (hp_timing_gettime): Likewise.
13803 * sysdeps/unix/clock_settime.c (hp_timing_settime): Likewise.
13804 * sysdeps/unix/grantpt.c (grantpt): Likewise.
13805 * sysdeps/unix/sysv/linux/accept4.c (accept4): Likewise.
13806 * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME): Likewise.
13807 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): Likewise.
13808 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
13809 Likewise.
13810 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Likewise.
13811 * sysdeps/unix/sysv/linux/fchmodat.c (fchmodat): Likewise.
13812 * sysdeps/unix/sysv/linux/fchownat.c (fchownat): Likewise.
13813 * sysdeps/unix/sysv/linux/futimesat.c (futimesat): Likewise.
13814 * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
13815 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
13816 * sysdeps/unix/sysv/linux/i386/fallocate64.c (fallocate64): Likewise.
13817 * sysdeps/unix/sysv/linux/i386/fallocate.c (fallocate): Likewise.
13818 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Likewise.
13819 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
13820 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
13821 Likewise.
13822 * sysdeps/unix/sysv/linux/i386/posix_fallocate64.c
13823 (__posix_fallocate64_l64): Likewise.
13824 * sysdeps/unix/sysv/linux/i386/posix_fallocate.c
13825 (posix_fallocate): Likewise.
57f41c40
AS
13826 * sysdeps/unix/sysv/linux/i386/scandir64.c (__old_scandir64):
13827 Likewise.
a1ffb40e 13828 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
57f41c40
AS
13829 * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_request)
13830 (getifaddrs_internal): Likewise.
a1ffb40e
OB
13831 * sysdeps/unix/sysv/linux/linkat.c (linkat): Likewise.
13832 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Likewise.
13833 * sysdeps/unix/sysv/linux/mq_unlink.c (mq_unlink): Likewise.
13834 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Likewise.
13835 * sysdeps/unix/sysv/linux/posix_fallocate64.c
13836 (__posix_fallocate64_l64): Likewise.
13837 * sysdeps/unix/sysv/linux/posix_fallocate.c (posix_fallocate):
13838 Likewise.
13839 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat): Likewise.
57f41c40
AS
13840 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c
13841 (__get_clockfreq): Likewise.
a1ffb40e
OB
13842 * sysdeps/unix/sysv/linux/readlinkat.c (readlinkat): Likewise.
13843 * sysdeps/unix/sysv/linux/recvmmsg.c (recvmmsg): Likewise.
13844 * sysdeps/unix/sysv/linux/renameat.c (renameat): Likewise.
13845 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
13846 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
13847 * sysdeps/unix/sysv/linux/sched_setaffinity.c: Likewise.
13848 * sysdeps/unix/sysv/linux/sendmmsg.c (__sendmmsg): Likewise.
13849 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs, shm_open):
13850 Likewise.
13851 * sysdeps/unix/sysv/linux/sleep.c (__sleep): Likewise.
13852 * sysdeps/unix/sysv/linux/symlinkat.c (symlinkat): Likewise.
13853 * sysdeps/unix/sysv/linux/tcgetattr.c (__tcgetattr): Likewise.
13854 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Likewise.
13855 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
13856 * sysdeps/unix/sysv/linux/unlinkat.c (unlinkat): Likewise.
13857 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c (__fxstatat):
13858 Likewise.
13859 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
13860 (posix_fallocate): Likewise.
13861 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
13862 * sysdeps/unix/sysv/linux/xmknodat.c (__xmknodat): Likewise.
13863 * sysdeps/x86_64/dl-irel.h (elf_irela): Likewise.
57f41c40
AS
13864 * sysdeps/x86_64/dl-machine.h (elf_machine_runtime_setup)
13865 (elf_machine_rela, elf_machine_rela_relative)
13866 (elf_machine_lazy_rel): Likewise.
a1ffb40e
OB
13867 * time/asctime.c (asctime_internal): Likewise.
13868 * time/tzfile.c (__tzfile_read, __tzfile_compute): Likewise.
13869 * time/tzset.c (__tzset_parse_tz): Likewise.
13870 * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
13871 * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
13872 * wcsmbs/wcsmbsload.c (__wcsmbs_load_conv): Likewise.
13873 * wcsmbs/wcsmbsload.h: Likewise.
13874
f3d338c9
OB
13875 [BZ #15894]
13876 * stdlib/setenv.c (__add_to_environ): Remove duplicate code.
13877
57f41c40
AS
13878 * malloc/arena.c (grow_heap, get_free_list, reused_arena)
13879 (arena_get2): Remove THREAD_STATS conditionals.
13880 * malloc/malloc.c (__malloc_assert, __libc_realloc, _int_free)
13881 (__malloc_stats, int): Likewise.
bdfe308a 13882
d674667c
MF
138832014-02-08 Mike Frysinger <vapier@gentoo.org>
13884
13885 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs): Compare
13886 f.f_type to RAMFS_MAGIC too. Compare mp->mnt_type to shm too.
13887
6349768c
MF
13888 * manual/setjmp.texi: Fix typos/grammar errors.
13889
0b7c7473
MF
13890 * debug/tst-backtrace4.c (handle_signal): Add NUM_FUNCTIONS to output.
13891 Only return early when n is <= 0. Delete unused return statement.
13892
ac8cc9e3
MF
13893 * debug/Makefile (CFLAGS-tst-longjmp_chk3.c): Define.
13894 (CPPFLAGS-tst-longjmp_chk3.c): Likewise.
13895 * debug/tst-longjmp_chk3.c: New file.
13896
c5bb8e23
MF
13897 * benchtests/bench-strcpy_chk.c: Move test-skeleton.c to top.
13898 (test_main): Replace code with set_fortify_handler call.
13899 * debug/test-strcpy_chk.c: Likewise.
13900 * debug/tst-chk1.c: Likewise.
13901 * debug/tst-longjmp_chk.c: Likewise.
13902 * test-skeleton.c: Include fcntl.h & paths.h
13903 (set_fortify_handler): Define.
13904
10444e42
MF
13905 * debug/tst-longjmp_chk.c: Add header comment and include
13906 ../test-skeleton.c.
13907 (do_test): Mark static.
13908 (TEST_FUNCTION): Define.
13909
1e805e8d
MF
13910 * sysdeps/unix/sysv/linux/bits/in.h (IP_NODEFRAG): Define.
13911 (IP_PMTUDISC_INTERFACE): Likewise.
13912 (IP_MULTICAST_IF): Likewise.
13913 (IP_MULTICAST_TTL): Likewise.
13914 (IP_MULTICAST_LOOP): Likewise.
13915 (IP_ADD_MEMBERSHIP): Likewise.
13916 (IP_DROP_MEMBERSHIP): Likewise.
13917 (IP_UNBLOCK_SOURCE): Likewise.
13918 (IP_BLOCK_SOURCE): Likewise.
13919 (IP_ADD_SOURCE_MEMBERSHIP): Likewise.
13920 (IP_DROP_SOURCE_MEMBERSHIP): Likewise.
13921 (IP_MSFILTER): Likewise.
13922 (MCAST_JOIN_GROUP): Likewise.
13923 (MCAST_BLOCK_SOURCE): Likewise.
13924 (MCAST_UNBLOCK_SOURCE): Likewise.
13925 (MCAST_LEAVE_GROUP): Likewise.
13926 (MCAST_JOIN_SOURCE_GROUP): Likewise.
13927 (MCAST_LEAVE_SOURCE_GROUP): Likewise.
13928 (MCAST_MSFILTER): Likewise.
13929 (IP_MULTICAST_ALL): Likewise.
13930 (IP_UNICAST_IF): Likewise.
13931
73f79bb7
MF
13932 * timezone/Makefile: Delete $(have-ksh) check.
13933 ($(objpfx)tzselect): Change $(KSH) to $(BASH).
13934 * timezone/tzselect.ksh: Add +x mode bits.
13935
8da79b60
MF
13936 * sysdeps/unix/sysv/linux/linux_fsinfo.h (AFS_SUPER_MAGIC): Define.
13937 (ANON_INODE_FS_MAGIC): Likewise.
13938 (BDEVFS_MAGIC): Likewise.
13939 (BINFMTFS_MAGIC): Likewise.
13940 (BTRFS_TEST_MAGIC): Likewise.
13941 (CRAMFS_MAGIC_WEND): Likewise.
13942 (DEBUGFS_MAGIC): Likewise.
13943 (ECRYPTFS_SUPER_MAGIC): Likewise.
13944 (EXT3_SUPER_MAGIC): Likewise.
13945 (EXT4_SUPER_MAGIC): Likewise.
13946 (FUTEXFS_SUPER_MAGIC): Likewise.
13947 (HOSTFS_SUPER_MAGIC): Likewise.
13948 (HUGETLBFS_MAGIC): Likewise.
13949 (MINIX3_SUPER_MAGIC): Likewise.
13950 (MTD_INODE_FS_MAGIC): Likewise.
13951 (NILFS_SUPER_MAGIC): Likewise.
13952 (OPENPROM_SUPER_MAGIC): Likewise.
13953 (PIPEFS_MAGIC): Likewise.
13954 (PSTOREFS_MAGIC): Likewise.
13955 (QNX6_SUPER_MAGIC): Likewise.
13956 (RAMFS_MAGIC): Likewise.
13957 (REISERFS_SUPER_MAGIC_STRING): Likewise.
13958 (REISER2FS_SUPER_MAGIC_STRING): Likewise.
13959 (REISER2FS_JR_SUPER_MAGIC_STRING): Likewise.
13960 (SECURITYFS_MAGIC): Likewise.
13961 (SELINUX_MAGIC): Likewise.
13962 (SMACK_MAGIC): Likewise.
13963 (SOCKFS_MAGIC): Likewise.
13964 (SQUASHFS_MAGIC): Likewise.
13965 (STACK_END_MAGIC): Likewise.
13966 (TMPFS_MAGIC): Likewise.
13967 (USBDEVICE_SUPER_MAGIC): Likewise.
13968 (V9FS_MAGIC): Likewise.
13969 (XENFS_SUPER_MAGIC): Likewise.
13970 (CRAMFS_MAGIC): Fix typo in comment.
13971 (EXT2_SUPER_MAGIC): Update comment.
13972 (USBDEVFS_SUPER_MAGIC): Fix sorting order by moving further down.
13973
464263cc
JM
139742014-02-08 Joseph Myers <joseph@codesourcery.com>
13975
c6bfe5c4
JM
13976 * sysdeps/arm: Move directory from ports/sysdeps/arm.
13977 * sysdeps/unix/arm: Move directory from ports/sysdeps/unix/arm.
13978 * sysdeps/unix/sysv/linux/arm: Move directory from
13979 ports/sysdeps/unix/sysv/linux/arm.
13980 * README: Update listing for arm-*-linux-gnueabi.
13981
464263cc
JM
13982 * README: Remove mention of am33.
13983
32749f6c
RM
139842014-02-07 Roland McGrath <roland@hack.frob.com>
13985
13986 * bits/sigset.h (__sigemptyset): Use a statement expression rather
13987 than the comma operator, to avoid "rhs of comma has no effect"
13988 compiler warnings.
13989 (__sigfillset, __sigandset, __sigorset): Likewise.
13990 * include/signal.h (__sigemptyset): Likewise.
13991 * sysdeps/generic/malloc-machine.h (mutex_lock): Likewise.
13992
d5b396c1
AM
139932014-02-07 Allan McRae <allan@archlinux.org>
13994
13995 * version.h (RELEASE): Set to "development".
13996 (VERSION): Set to "2.19.90"
13997 * NEWS: Add 2.20 section.
13998
3bfff2ed
CD
139992014-02-06 Carlos O'Donell <carlos@redhat.com>
14000
14001 [BZ #16529]
14002 * inet/netinet/in.h: Remove comma after IPPROTO_MH.
14003
ee7cc385
SP
140042014-02-06 Siddhesh Poyarekar <siddhesh@redhat.com>
14005
14006 * manual/contrib.texi: Update entry for Carlos O'Donell,
14007 Joseph Myers, Roland McGrath, Alexandre Oliva and Ryan Arnold.
14008
f877c4f2
CD
140092014-02-05 Carlos O'Donell <carlos@rehdat.com>
14010
27e839f6
CD
14011 * sysdeps/unix/sysv/linux/kernel-features.h: Fix comment.
14012
f877c4f2
CD
14013 * sysdeps/unix/sysv/linux/kernel-features.h
14014 [__LINUX_KERNEL_VERSION >= 0x020621]
14015 (__ASSUME_PROC_PID_TASK_COMM): Define.
14016
68159946
SP
140172014-02-05 Siddhesh Poyarekar <siddhesh@redhat.com>
14018
ba17cdbd
SP
14019 [BZ #16398]
14020 * libio/wfileops.c (_IO_wfile_seekoff): Break out form
14021 conversion when destination buffer does not have enough space.
14022 * libio/tst-ftell-partial-wide.c: New test case.
14023 * libio/Makefile (tests): Add tst-ftell-partial-wide.
14024
68159946
SP
14025 * manual/contrib.texi: Update entry for Ondrej Bilka, Will
14026 Newton and Alexandre Oliva. Add entries for Steve Ellcey, Chris
14027 Leonard and Allan McRae.
14028
2b528732
DM
140292014-02-04 David S. Miller <davem@davemloft.net>
14030
14031 * sysdeps/sparc/fpu/libm-test-ulps: Update for some 64-bit differences from
14032 32-bit.
14033
0ff82463
AZ
140342014-02-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14035
57f41c40
AS
14036 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
14037 New file
c01603f7
AZ
14038 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
14039 New file
57f41c40
AS
14040 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
14041 New file.
14042 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
14043 New file.
c01603f7
AZ
14044 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
14045 New file.
57f41c40
AS
14046 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
14047 New file.
14048 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
14049 New file.
c01603f7
AZ
14050 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
14051 New file.
14052 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
14053 New file.
14054 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
14055 New file.
14056 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
14057 New file.
14058 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
14059 New file.
14060 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
14061 New file.
14062
140632014-02-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14064
0ff82463
AZ
14065 * nptl/shlib-versions: Change powerpc*le start to 2.17.
14066 * shlib-versions: Likewise.
14067
1695c773
AZ
140682014-02-04 Roland McGrath <roland@hack.frob.com>
14069 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14070
14071 * sysdeps/powerpc/Makefile [$(config-machine) ends with 'le']
14072 (abilist-pattern): New variable, set to %-le.abilist.
14073
14074 * Makerules (abilist-pattern): New variable.
14075 (vpath): Use $(abilist-pattern) in place of %.abilist.
14076 (check-abi-% pattern rule): Likewise.
14077 (check-abi, update-abi): Likewise.
14078
6c0ce4b4
EW
140792014-02-04 Eric Wong <normalperson@yhbt.net>
14080
14081 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
14082
481e3524
CD
140832014-02-03 Carlos O'Donell <carlos@redhat.com>
14084
14085 * manual/startup.texi: Add next, previous, and top entries for
14086 the `Program Arguments' and `Environment Variables' nodes.
14087
375592d3
AO
140882014-02-03 Alexandre Oliva <aoliva@redhat.com>
14089
14090 * manual/macros.texi: Add comments before MTASC-safety macros.
14091
f54838ba
AO
14092 * manual/users.texi: Document MTASC-safety properties.
14093
57f41c40
AS
14094 * manual/threads.texi (pthread_key_create, pthread_key_delete)
14095 (pthread_getspecific, pthread_setspecific): Format with
909e12ad
AO
14096 @deftypefun, and add @safety note.
14097 * manual/signal.texi: Move comments that analyze the above
14098 functions to their home place.
14099
fd3daba4
AM
141002014-02-03 Allan McRae <allan@archlinux.org>
14101
14102 * po/sl.po: Update Slovenian translation from translation project.
14103
597636d7
AO
141042014-02-02 Alexandre Oliva <aoliva@redhat.com>
14105
14106 * manual/time.texi (timegm): Add missing blank after @c.
14107 Reported by Joseph Myers <joseph@codesourcery.com>.
14108
ee196e3c
AO
141092014-02-01 Alexandre Oliva <aoliva@redhat.com>
14110
14111 * manual/check-safety.sh: New.
14112 * manual/Makefile ($(objpfx)stamp-summary): Run it.
14113
f8d529d5
AO
14114 * manual/terminal.texi: Document MTASC-safety properties.
14115
de55fdf4
AO
14116 * manual/filesys.texi: Document MTASC-safety properties.
14117
c3299c08
AO
14118 * manual/errno.texi: Document MTASC-safety properties.
14119
06e90b14
AO
14120 * manual/intro.texi: Document safety identifiers and
14121 conditionals.
14122
1acd4371
AO
14123 * manual/string.texi (wcstok): Fix prototype.
14124 (wcstok, strtok, strtok_r): Adjust reentrancy remarks.
14125
23e5b8cb
AO
14126 * manual/time.texi: Document MTASC-safety properties.
14127
11087373
AO
14128 * manual/string.texi: Document MTASC-safety properties.
14129
5da2c93d
AO
14130 * manual/threads.texi: Document MTASC-safety properties.
14131
171e9210
AO
14132 * manual/stdio.texi: Document MTASC-safety properties.
14133
d9e02532
AO
14134 * manual/syslog.texi: Document MTASC-safety properties.
14135
6af8bab7
AO
14136 * manual/sysinfo.texi: Document MTASC-safety properties.
14137
663b02d7
AO
14138 * manual/startup.texi: Document MTASC-safety properties.
14139
973f180b
AO
14140 * manual/socket.texi: Document MTASC-safety properties.
14141
8f3c25c8
AO
14142 * manual/signal.texi: Document MTASC-safety properties.
14143
542210fb
AO
141442014-01-31 Alexandre Oliva <aoliva@redhat.com>
14145
14146 * manual/setjmp.texi: Document MTASC-safety properties.
14147
433c45a2
AO
14148 * manual/search.texi: Document MTASC-safety properties.
14149
c8ce789c
AO
14150 * manual/resource.texi: Document MTASC-safety properties.
14151
19f5d29c
AO
14152 * manual/process.texi: Document MTASC-safety properties.
14153
e2dfb7f4
AO
14154 * manual/platform.texi: Document MTASC-safety properties.
14155
8c1413f5
AO
14156 * manual/pipe.texi: Document MTASC-safety properties.
14157
03483ada
AO
14158 * manual/pattern.texi: Document MTASC-safety properties.
14159
29e7e2df
AO
14160 * manual/message.texi: Document MTASC-safety properties.
14161
9f529d7c
AO
14162 [BZ #12751]
14163 * manual/memory.texi: Document MTASC-safety properties.
14164
27aaa791
AO
14165 * manual/math.texi: Document MTASC-safety properties.
14166
f2d58726
AO
14167 * manual/locale.texi: Document MTASC-safety properties.
14168
2cc3615c
AO
14169 * manual/llio.texi: Document MTASC-safety properties.
14170
d9f0ec97
AO
14171 * manual/libdl.texi: New.
14172
e7c4409a
AO
14173 * manual/lang.texi: Document MTASC-safety properties.
14174
27bdc63c
AO
14175 * manual/job.texi: Document MTASC-safety properties.
14176
a7b90ea9
AO
14177 * manual/getopt.texi: Document MTASC-safety properties.
14178
c49130e3
AO
14179 * manual/ctype.texi: Document MTASC-safety properties.
14180
0d23a5c1
MR
141812014-01-31 Maciej W. Rozycki <macro@codesourcery.com>
14182
14183 [BZ #16046]
14184 * csu/libc-tls.c (static_map): Remove variable.
14185 (__libc_setup_tls): Use main executable's link map for TLS data.
14186 * elf/dl-close.c (_dl_close_worker) [!SHARED]: Remove special
14187 casing for LM_ID_BASE and GL(dl_nns).
14188 * elf/dl-iteratephdr.c [!SHARED] (dl_iterate_phdr): Remove
14189 function. Alias dl_iterate_phdr to __dl_iterate_phdr.
14190 * elf/dl-load.c (_dl_map_object) [!SHARED]: Remove special
14191 casing for GL(dl_ns)[LM_ID_BASE]._ns_loaded.
14192 * elf/dl-support.c (_dl_main_map): Also initialize l_flags_1
14193 member.
14194 (_dl_non_dynamic_init): Also initialize _dl_main_map's l_phdr and
14195 l_phnum members.
14196
0037bb60
AO
141972014-01-30 Alexandre Oliva <aoliva@redhat.com>
14198
14199 * manual/debug.texi: Document MTASC-safety properties.
14200
409e00bd
L
142012014-01-29 H.J. Lu <hongjiu.lu@intel.com>
14202
14203 [BZ #16510]
14204 * sysdeps/x86/fpu/bits/mathinline.h: Check __SSE2_MATH__ instead
14205 of __x86_64__ when disabling x87 inline functions.
14206
86e60666
AO
142072014-01-29 Alexandre Oliva <aoliva@redhat.com>
14208
14209 * manual/charset.texi: Document MTASC-safety properties.
14210
76167637
AO
14211 * manual/crypt.texi: Document MTASC-safety properties.
14212
e567f2a0
AO
14213 * manual/conf.texi: Document MTASC-safety properties.
14214
b719dafd
AO
14215 * manual/arith.texi: Document MTASC-safety properties.
14216
4a16c662
AO
14217 * manual/argp.texi: Document MTASC-safety properties.
14218
0a57b83e
AO
14219 * manual/macros.texi: Introduce macros to document multi
14220 thread, asynchronous signal and asynchronous cancellation
14221 safety properties.
14222 * manual/intro.texi: Introduce the properties themselves.
14223
feab2397
KK
142242014-01-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
14225
14226 * sysdeps/sh/sh4/Makefile: New file.
14227
1c0d11bc
AS
142282014-01-27 Andreas Schwab <schwab@linux-m68k.org>
14229
14230 * math/gen-libm-test.pl ($srcdir): New variable.
14231 ($auto_input): Use it.
14232
af37a8a3
SP
142332014-01-27 Siddhesh Poyarekar <siddhesh@redhat.com>
14234
d7b00f98
SP
14235 [BZ #16506]
14236 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Avoid
14237 access beyond array bounds when parsing netgroups file.
14238
af37a8a3
SP
14239 * nscd/netgroupcache.c (addgetnetgrentX): Compute offset from
14240 the old buffer before realloc.
14241
0c00f062
AM
142422014-01-27 Allan McRae <allan@archlinux.org>
14243
14244 * po/fr.po: Update French translation from translation project.
14245
7d69a1b0
KK
142462014-01-26 Kaz Kojima <kkojima@rr.iij4u.or.jp>
14247
14248 * sysdeps/sh/libm-test-ulps: Regenerate.
14249
6e697ff7
DM
142502014-01-24 David S. Miller <davem@davemloft.net>
14251
14252 * sysdeps/sparc/fpu/libm-test-ulps: Regenerate.
14253
9cadb35c
KK
142542014-01-25 Kaz Kojima <kkojima@rr.iij4u.or.jp>
14255
14256 * sysdeps/sh/sh4/fpu/libm-test-ulps: Move to ...
14257 * sysdeps/sh/libm-test-ulps: ... here and regenerated.
14258
5d41dadf
SP
142592013-01-24 Siddhesh Poyarekar <siddhesh@redhat.com>
14260
14261 [BZ #16474]
14262 * nscd/netgroupcache.c (addgetnetgrentX): Adjust triplet
14263 string pointers after reallocation.
14264
0bad441c
KK
142652014-01-24 Kaz Kojima <kkojima@rr.iij4u.or.jp>
14266
14267 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: Use __SH4__ and
14268 __SH4A__ instead of __SH_FPU_ANY__.
14269
7007c661
KK
142702014-01-23 Kaz Kojima <kkojima@rr.iij4u.or.jp>
14271
14272 * sysdeps/sh/fpu_control.h: New file.
14273 * sysdeps/sh/sh4/fpu/fpu_control.h: Remove.
14274 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: New file.
14275 * sysdeps/unix/sysv/linux/sh/sh3/sys/ucontext.h: Remove.
14276 * sysdeps/unix/sysv/linux/sh/sh3/sys: Remove directory.
14277 * sysdeps/unix/sysv/linux/sh/sh4/sys/ucontext.h: Remove.
14278 * sysdeps/unix/sysv/linux/sh/sh4/sys: Remove directory.
14279 * sysdeps/sh/sys/ucontext.h: Remove.
14280 * sysdeps/sh/sys: Remove directory.
14281
0f0c35e4
AK
142822014-01-22 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
14283
14284 * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Merge into
14285 s390/sys/ucontext.h.
14286 * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Likewise.
14287 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: New file.
14288
4959e284
L
142892014-01-20 H.J. Lu <hongjiu.lu@intel.com>
14290
14291 [BZ #15605]
14292 * sysdeps/x86_64/x32/symbol-hacks.h: Include generic symbol-hacks.h.
14293
d98720e0
AZ
142942014-01-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14295
14296 [BZ#16431]
14297 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
14298 Adjust the vDSO correctly for internal calls.
14299 * sysdeps/unix/sysv/linux/powerpc/time.c (time): Likewise.
14300
91cbd0bc
AM
143012014-01-20 Allan McRae <allan@archlinux.org>
14302
14303 * po/ca.po: Update Catalan translation from translation project.
14304
7a02cfad
MF
143052014-01-16 Mike Frysinger <vapier@gentoo.org>
14306
14307 * sysdeps/s390/sotruss-lib.c: New file.
14308
736c304a
AZ
143092014-01-16 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14310
14311 [BZ#16430]
6e077ee5 14312 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c
736c304a
AZ
14313 (__GI___gettimeofday): Alias for a different internal symbol to avoid
14314 local calls issues by not having a PLT stub required for IFUNC calls.
14315 * sysdeps/unix/sysv/linux/powerpc/time.c (__GI_time): Likewise.
14316
94d0cea0
JM
143172014-01-16 Joseph Myers <joseph@codesourcery.com>
14318
14319 * math/test-fpucw-ieee.c: Use <> in #include of test-fpucw.c.
14320 * math/test-fpucw-static.c: Likewise.
14321
980cb518
SP
143222013-01-16 Siddhesh Poyarekar <siddhesh@redhat.com>
14323
14324 [BZ #16453]
14325 * nscd/netgroupcache.c (addgetnetgrentX): Don't use alloca.
14326
2393fc01
AZ
143272014-01-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14328
14329 * sysdeps/powerpc/sotruss-lib.c: New file: sotruss-lib.so
14330 implementation for powerpc.
14331
d359bcc2
OB
143322014-01-15 Ondřej Bílka <neleai@seznam.cz>
14333
14334 [BZ #14782]
14335 * sysdeps/posix/system.c (__libc_system): Do not enable
14336 asynchronous cancellation.
14337
7beb48cb
AK
143382014-01-15 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
14339
14340 [BZ #16427]
14341 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Invoke the non-IEEE
14342 handling only for numbers special also in the IEEE case.
14343
c20d5bf5
AK
143442014-01-15 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
14345
14346 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
14347
e83bd4ee
AM
143482014-01-11 Allan McRae <allan@archlinux.org>
14349
76d0ea69
AM
14350 * po/bg.po: Update Bulgarian translation from translation project.
14351
e83bd4ee
AM
14352 * po/de.po: Update German translation from translation project.
14353
bc2ba20a
RM
143542014-01-10 Roland McGrath <roland@hack.frob.com>
14355
14356 * sysdeps/generic/gcc-compat.h: New file.
14357
649ecea2
SP
143582014-01-10 Siddhesh Poyarekar <siddhesh@redhat.com>
14359
14360 * benchtests/asin-inputs: Correct slow inputs.
14361 * benchtests/acos-inputs: Likewise.
14362
1b19c006
AM
143632014-01-10 Allan McRae <allan@archlinux.org>
14364
a46dab08
AM
14365 * po:sv.po: Update Swedish translation from translation project.
14366
421df74a
AM
14367 * po/vi.po: Update Vietnamese translation from translation project.
14368
d61c51a7
AM
14369 * po/eo.po: Update Esperanto translation from translation project.
14370
0339a319
AM
14371 * po/cs.po: Update Czech translation from translation project.
14372
94ad3e99
AM
14373 * po/nl.po: Update Dutch translation from translation project.
14374
e349ca71
AM
14375 * po/pl.po: Update Polish translation from translation project.
14376
ddf930c1
AM
14377 * po/ru.po: Update Russian translation from translation project.
14378
1b19c006
AM
14379 * po/uk.po: Update Ukrainian translation from translation project.
14380
9f236c49
BM
143812014-01-08 Brooks Moses <bmoses@google.com>
14382
14383 * elf/dl-load.c: Fix comment typo.
14384
cd6701cf
CD
143852014-01-08 Carlos O'Donell <carlos@redhat.com>
14386
14387 * po/header.pot: Rename to...
14388 * po/pot.header: ... this.
14389 * po/Makefile: Use pot.header.
14390
66671c84
YK
143912014-01-08 Yuriy Kaminskiy <yumkam@gmail.com>
14392 Maxim Kuvyrkov <maxim@kugelworks.com>
14393
14394 [BZ #16394]
cd6701cf
CD
14395 * sysdeps/i386/i686/memmove.S (memmove): Compare distance between
14396 SRC and DEST against LEN.
66671c84 14397
38f34581
AZ
143982014-01-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14399
14400 [BZ #16414]
14401 * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Remove wrong
14402 implementation.
14403 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Remove bogus comment.
14404
144052014-01-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3ff6304e
AZ
14406
14407 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
14408
4c327f2a
JM
144092014-01-08 Joseph Myers <joseph@codesourcery.com>
14410
14411 [BZ #16408]
14412 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Use __expl
14413 for large positive arguments.
14414
b821f414
JM
144152014-01-07 Joseph Myers <joseph@codesourcery.com>
14416
1f0f2067
JM
14417 * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
14418
a5a326f6
JM
14419 * math/auto-libm-test-in: Mark various tests with
14420 xfail-rounding:ldbl-128ibm.
14421 * math/auto-libm-test-out: Regenerated.
14422
b821f414
JM
14423 [BZ #16407]
14424 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
14425 Increase overflow threshold.
14426
94c8a4bc
OB
144272014-01-07 Ondřej Bílka <neleai@seznam.cz>
14428
14429 [BZ #14286]
14430 * stdio-common/vfprintf.c: Check for integer overflow.
14431
87ded0c3
AK
144322014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
14433
14434 * sysdeps/s390/dl-tls.h: sysdeps/s390/dl-tls.h: Remove casts for
14435 the first argument and return value of __tls_get_addr_internal.
14436
c5eebdd0
AK
144372014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
14438
14439 * sysdeps/s390/s390-32/dl-machine.h: Gate the definition of refsym
14440 also with !RTLD_BOOTSTRAP to get rid of unused variable warning.
14441
05d138ef
AK
144422014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
14443
14444 * sysdeps/s390/Makefile: Build rtld-global-offsets.sym.
14445 * sysdeps/s390/rtld-global-offsets.sym: New file.
14446 * sysdeps/unix/sysv/linux/s390/Versions: Add getcontext as new
14447 GLIBC_2.19 symbol.
14448 * sysdeps/unix/sysv/linux/s390/getcontext.S: New file.
14449 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Rename to ...
14450 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
14451 ... this.
14452 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Rename to ...
14453 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
14454 ... this.
14455 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
14456 Regenerate.
14457 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
14458 Regenerate.
14459 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Restore upper
14460 halfs of GPRs for high_gprs contexts.
14461 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Save and
14462 restore upper halfs of GPRs for high_gprs contexts. Copy uc_flags
14463 field.
14464 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Copy
14465 uc_flags field.
14466 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: Split into 32 and
14467 64 bit versions:
14468 * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Add field
14469 for high GPRs (uc_high_gprs) and for future extensions
14470 (__reserved).
14471 * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Add field
14472 for future extensions (__reserved).
14473 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Split into 32 and
14474 64 bit versions:
14475 * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym: Add
14476 SC_HIGHGPRS offset definition.
14477 * sysdeps/unix/sysv/linux/s390/s390-64/ucontext_i.sym: New file.
14478 * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: New file.
14479
93a45ff1
AK
14480 * Versions.def: Add GLIBC_2.19 for libpthread.
14481 * nptl/sysdeps/unix/sysv/linux/s390/Versions: Add longjmp and
14482 siglongjmp for libpthread with GLIBC_2.19 symver.
14483 * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: New file.
14484 * sysdeps/s390/Makefile: Build v1-longjmp.c and v1-sigjmp.c.
14485 * sysdeps/s390/Versions: New GLIBC_2.19 and GLIBC_PRIVATE symbols.
14486 * sysdeps/s390/__longjmp.c: New file.
14487 * sysdeps/s390/bits/setjmp.h: Add new fields to __s390_jmp_buf.
14488 * sysdeps/s390/longjmp.c: New file.
14489 * sysdeps/s390/setjmp.S: New file.
14490 * sysdeps/s390/sigjmp.S: New file.
14491 * sysdeps/s390/v1-longjmp.c: New file.
14492 * sysdeps/s390/v1-setjmp.h: New file.
14493 * sysdeps/s390/v1-sigjmp.c: New file.
14494 * sysdeps/unix/sysv/linux/s390/Makefile: Build __longjmp_chk.
14495 * sysdeps/unix/sysv/linux/s390/Versions: Add __longjmp_chk with
14496 GLIBC_2.19 version.
14497 * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: New file.
14498 * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c: Provide
14499 versioned symbols for ____longjmp_chk.
14500 * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
14501 Likewise.
14502 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
14503 Regenerate.
14504 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
14505 Regenerate.
14506 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
14507 Regenerate.
14508 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
14509 Regenerate.
14510 * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: New file.
14511 * sysdeps/s390/s390-32/__longjmp.c: Rename to ...
14512 * sysdeps/s390/s390-32/__longjmp-common.c: ... this.
14513 * sysdeps/s390/s390-32/setjmp.S: Rename and adjust to ...
14514 * sysdeps/s390/s390-32/setjmp-common.S: ... this.
14515 * sysdeps/s390/s390-64/__longjmp.c: Rename to ...
14516 * sysdeps/s390/s390-64/__longjmp-common.c: ... this.
14517 * sysdeps/s390/s390-64/setjmp.S: Rename and adjust to ...
14518 * sysdeps/s390/s390-64/setjmp-common.S: ... this.
14519 * sysdeps/s390/rtld-__longjmp.c: New file.
14520 * sysdeps/s390/rtld-setjmp.S: New file.
14521
eb3fc44b
JM
145222014-01-06 Joseph Myers <joseph@codesourcery.com>
14523
14524 [BZ #16400]
14525 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
14526 Return -__logl (x) for small positive arguments without evaluating
14527 a polynomial.
14528
9341dde4
MF
145292014-01-06 Mike Frysinger <vapier@gentoo.org>
14530
14531 * sysdeps/unix/sysv/linux/sys/ptrace.h (ptrace_peeksiginfo_args):
14532 Rename to ...
14533 (__ptrace_peeksiginfo_args): ... this.
14534 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
14535 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
14536 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
14537
4cff0293
AM
145382014-01-06 Allan McRae <allan@archlinux.org>
14539
14540 * inet/netinet/in.h: Fix typo in comment.
14541
75595dcf
AJ
145422014-01-05 Andreas Jaeger <aj@suse.de>
14543
14544 * sysdeps/i386/fpu/libm-test-ulps: Update.
14545
79c1e109
AM
145462014-01-05 Allan McRae <allan@archlinux.org>
14547
dd804818
AM
14548 * po/libc.pot: Regenerated.
14549
79c1e109
AM
14550 * malloc/memusagestat.c: Fix gettext call formatting.
14551
0c813d1f
SK
145522014-01-04 Sami Kerola <kerolasa@iki.fi>
14553
14554 * nscd/nscd.c: Improve usage() output.
14555
20f4a8d9
MF
145562014-01-04 Mike Frysinger <vapier@gentoo.org>
14557
14558 * config.h.in: Add HAVE_LINUX_FANOTIFY_H template.
14559 * sysdeps/unix/sysv/linux/configure: Regenerated.
14560 * sysdeps/unix/sysv/linux/configure.ac: Call AC_DEFINE.
14561 * sysdeps/unix/sysv/linux/tst-fanotify.c: Include config.h.
14562
22562bb2
JM
145632014-01-03 Joseph Myers <joseph@codesourcery.com>
14564
14565 [BZ #16390]
14566 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
14567 (CFLAGS-e_atan2l.c): Use -fno-builtin-fabsl.
14568
d7ad2d9b
AZ
145692014-01-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14570
14571 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: Remove
14572 extra tokens at end of #undef directive.
14573 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: Likewise.
14574 * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: Likewise.
14575 * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
14576
7dd009d8
JM
145772014-01-03 Joseph Myers <joseph@codesourcery.com>
14578
24db925a
JM
14579 * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
14580
7dd009d8
JM
14581 * math/auto-libm-test-in: Mark various tests with
14582 xfail-rounding:ldbl-128ibm.
14583 * math/auto-libm-test-out: Regenerated.
14584
396e3ecf
JM
145852014-01-02 Joseph Myers <joseph@codesourcery.com>
14586
819e5d50
JM
14587 [BZ #16386]
14588 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Adjust
14589 numbers with subnormal high part when calculating exponent.
14590
90b6a1e5
JM
14591 [BZ #16385]
14592 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Use fabsl not
14593 fabs.
14594
396e3ecf
JM
14595 [BZ #16384]
14596 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (ln2): Initialize with
14597 M_LN2l.
14598 (__ieee754_acoshl): Use __log1pl not __log1p.
14599
6c8dbf00
OB
146002013-01-02 Ondřej Bílka <neleai@seznam.cz>
14601
57f41c40
AS
14602 * malloc/arena.c (malloc_atfork, free_atfork, ptmalloc_lock_all)
14603 (ptmalloc_unlock_all, ptmalloc_unlock_all2, next_env_entry)
14604 (__failing_morecore, ptmalloc_init, dump_heap, new_heap)
14605 (grow_heap, heap_trim, _int_new_arena, get_free_list)
14606 (reused_arena, arena_get2): Convert to GNU style.
14607 * malloc/hooks.c (memalign_hook_ini, __malloc_check_init)
14608 (mem2mem_check, mem2chunk_check, top_check, realloc_check)
14609 (memalign_check, __malloc_set_state): Likewise.
6c8dbf00 14610 * malloc/mallocbug.c (main): Likewise.
57f41c40
AS
14611 * malloc/malloc.c (__malloc_assert, malloc_init_state)
14612 (free_perturb, do_check_malloced_chunk, do_check_malloc_state)
14613 (sysmalloc, systrim, mremap_chunk, __libc_malloc, __libc_free)
14614 (__libc_realloc, _mid_memalign, _int_malloc, malloc_consolidate)
14615 (_int_realloc, _int_memalign, mtrim, musable, __libc_mallopt)
14616 (__posix_memalign, malloc_info): Likewise.
6c8dbf00 14617 * malloc/malloc.h: Likewise.
57f41c40
AS
14618 * malloc/mcheck.c (checkhdr, unlink_blk, link_blk, freehook)
14619 (mallochook, memalignhook, reallochook, mabort): Likewise.
6c8dbf00 14620 * malloc/mcheck.h: Likewise.
57f41c40
AS
14621 * malloc/memusage.c (update_data, me, malloc, realloc, calloc)
14622 (free, mmap, mmap64, mremap, munmap, dest): Likewise.
6c8dbf00
OB
14623 * malloc/memusagestat.c (main, parse_opt, more_help): Likewise.
14624 * malloc/morecore.c (__default_morecore): Likewise.
14625 * malloc/mtrace.c (tr_break, lock_and_info, mtrace): Likewise.
57f41c40
AS
14626 * malloc/obstack.c (_obstack_begin, _obstack_newchunk)
14627 (_obstack_allocated_p, obstack_free, _obstack_memory_used)
14628 (print_and_abort): Likewise.
6c8dbf00
OB
14629 * malloc/obstack.h: Likewise.
14630 * malloc/set-freeres.c (__libc_freeres): Likewise.
14631 * malloc/tst-mallocstate.c (main): Likewise.
14632 * malloc/tst-mtrace.c (main): Likewise.
14633 * malloc/tst-realloc.c (do_test): Likewise.
14634
d4124212
SP
146352013-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
14636
9a3c6a6f
SP
14637 [BZ #16366]
14638 * nscd/netgroupcache.c (do_notfound): New function.
14639 (addgetnetgrentX): Use it.
14640
d4124212
SP
14641 [BZ # 16365]
14642 * nscd/netgroupcache.c (addgetnetgrentX): Break if status is
14643 NSS_STATUS_NOTFOUND.
14644
97b9a009
JM
146452014-01-01 Joseph Myers <joseph@codesourcery.com>
14646
14647 * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
14648 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14649
d4697bc9
AM
146502014-01-01 Allan McRae <allan@archlinux.org>
14651
ddb3687f
AM
14652 * scripts/update-copyrights: Update configure input file suffix.
14653
88726d48
AM
14654 * NEWS: Update copyright year.
14655 * catgets/gencat.c: Likewise.
14656 * csu/version.c: Likewise.
14657 * debug/catchsegv.sh: Likewise.
14658 * debug/pcprofiledump.c: Likewise.
14659 * debug/xtrace.sh: Likewise.
14660 * elf/ldconfig.c: Likewise.
14661 * elf/ldd.bash.in: Likewise.
14662 * elf/pldd.c: Likewise.
14663 * elf/sotruss.ksh: Likewise.
14664 * elf/sprof.c: Likewise.
14665 * iconv/iconv_prog.c: Likewise.
14666 * iconv/iconvconfig.c: Likewise.
14667 * locale/programs/locale.c: Likewise.
14668 * locale/programs/localedef.c: Likewise.
14669 * login/programs/pt_chown.c: Likewise.
14670 * malloc/memusage.sh: Likewise.
14671 * malloc/memusagestat.c: Likewise.
14672 * malloc/mtrace.pl: Likewise.
14673 * manual/libc.texinfo: Likewise.
14674 * nscd/nscd.c: Likewise.
14675 * nss/getent.c: Likewise.
14676 * nss/makedb.c: Likewise.
14677 * posix/getconf.c: Likewise.
14678 * scripts/test-installation.pl: Likewise.
14679
d4697bc9
AM
14680 * All files with FSF copyright notices: Update copyright dates
14681 using scripts/update-copyrights.
14682 * intl/plural.c: Regenerated.
14683 * locale/programs/charmap-kw.h: Likewise.
14684 * locale/programs/locfile-kw.h: Likewise.
14685
c8590f9d
MF
146862013-12-31 Mike Frysinger <vapier@gentoo.org>
14687
14688 * sysdeps/unix/sysv/linux/configure: Regenerated.
14689 * sysdeps/unix/sysv/linux/configure.ac: Call AC_CHECK_HEADER on
14690 the linux/fanotify.h header.
14691 * sysdeps/unix/sysv/linux/tst-fanotify.c: Check if
14692 HAVE_LINUX_FANOTIFY_H is defined.
14693
b19221b9
SP
146942013-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
14695
dd1d85e5
SP
14696 * benchtests/cos-inputs: New inputs.
14697 * benchtests/sin-inputs: Likewise.
14698
1acbb90f
SP
14699 * benchtests/atan-inputs: New inputs. Fix name of multiple
14700 precision fallback inputs.
14701
4c012ed3
SP
14702 * benchtests/atanh-inputs: New inputs.
14703 * benchtests/tanh-inputs: Likewise.
14704
eff98324
SP
14705 * benchtests/acosh-inputs: New inputs.
14706 * benchtests/asinh-inputs: Likewise.
14707
ce641152
SP
14708 * benchtests/cosh-inputs: New inputs.
14709 * benchtests/sinh-inputs: Likewise.
14710
b19221b9
SP
14711 * benchtests/acos-inputs: Add more inputs.
14712 * benchtests/asin-inputs: Likewise.
14713
030a4976 147142013-12-30 Ville Skytta <ville.skytta@iki.fi>
9dcc8f11 14715
030a4976 14716 [BZ #16375]
9dcc8f11
VS
14717 * manual/arith.texi: Fix spelling.
14718 * manual/charset.texi: Likewise.
14719 * manual/errno.texi: Likewise.
14720 * manual/filesys.texi: Likewise.
14721 * manual/lang.texi: Likewise.
14722 * manual/llio.texi: Likewise.
14723 * manual/locale.texi: Likewise.
14724 * manual/message.texi: Likewise.
14725 * manual/resource.texi: Likewise.
14726 * manual/search.texi: Likewise.
14727 * manual/setjmp.texi: Likewise.
14728 * manual/stdio.texi: Likewise.
14729 * manual/string.texi: Likewise.
14730 * manual/sysinfo.texi: Likewise.
14731 * manual/time.texi: Likewise.
14732
11520a57
CD
147332013-12-27 Carlos O'Donell <carlos@redhat.com>
14734
14735 * po/sl.po: New file.
14736
471103ae
MF
147372013-12-27 Mike Frysinger <vapier@gentoo.org>
14738
14739 * .gitignore: Add core/.gdbinit/.gdb_history.
14740
6c9642ed
AM
147412013-12-27 Allan McRae <allan@archlinux.org>
14742
14743 [BZ #16369]
14744 * sysdeps/ieee754/dbl-64/s_sin.c (csloww): Fix variable name.
14745 Reported by Il'ya Malakhov <ilmalakhov@yandex.ru>
14746
3f637079
BM
147472013-12-24 Brooks Moses <bmoses@google.com>
14748
14749 * string/string.h (__CORRECT_ISO_CPP_STRING_H_PROTO): Define for
14750 all compilers that claim C++98 compliance, not just GCC.
14751 * string/strings.h (__CORRECT_ISO_CPP_STRINGS_H_PROTO):
14752 Likewise.
14753
abc26e99
MK
147542013-12-24 Maxim Kuvyrkov <maxim@kugelworks.com>
14755
14756 * NEWS: Restore accidentally deleted bug-fix entries.
14757
362b47fe
MK
147582013-12-24 Maxim Kuvyrkov <maxim@kugelworks.com>
14759 Ondřej Bílka <neleai@seznam.cz>
14760
14761 [BZ #15073]
14762 * malloc/malloc.c (_int_free): Perform sanity check only if we
11520a57 14763 have_lock.
362b47fe 14764
b9bcbbcb
OB
147652013-12-23 Ondřej Bílka <neleai@seznam.cz>
14766
14767 [BZ #12986]
14768 * manual/stdio.texi (String Input Conversions): Clarify that character
14769 classes are not supported.
14770
fb55fcd2
AZ
147712013-12-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14772
14773 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
14774
ef7344f0
JM
147752013-12-22 Joseph Myers <joseph@codesourcery.com>
14776
4f40e4b3
JM
14777 [BZ #16337]
14778 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
14779 Calculate results for small negative arguments directly rather
14780 than using reflection formula with special underflow handling.
14781
ef7344f0
JM
14782 * sysdeps/mach/hurd/Implies: Change unix/bsd/bsd4.4 to unix/bsd.
14783 * sysdeps/unix/bsd/syscalls.list (chflags): Add entry from
14784 sysdeps/unix/bsd/bsd4.4/syscalls.list.
14785 (fchflags): Likewise.
14786 (revoke): Likewise.
14787 (setlogin): Likewise.
14788 (sigaltstack): Likewise.
14789 (wait4): Likewise.
14790 (sigblock): Remove.
14791 (sigsetmask): Likewise.
14792 (wait3): Likewise.
14793 (waitpid): Likewise.
14794 * sysdeps/unix/bsd/bsd4.4/syscalls.list: Remove file.
14795 * sysdeps/unix/sysv/linux/wait3.c: Update directory of included
14796 file.
14797 * sysdeps/unix/bsd/bsd4.4/Makefile: Move to ...
14798 * sysdeps/unix/bsd/Makefile: ... here.
14799 * sysdeps/unix/bsd/bsd4.4/Versions: Move to ...
14800 * sysdeps/unix/bsd/Versions: ... here.
14801 * sysdeps/unix/bsd/bsd4.4/bits/sockaddr.h: Move to ...
14802 * sysdeps/unix/bsd/bits/sockaddr.h: ... here.
14803 * sysdeps/unix/bsd/bsd4.4/cmsg_nxthdr.c: Move to ...
14804 * sysdeps/unix/bsd/cmsg_nxthdr.c: ... here.
14805 * sysdeps/unix/bsd/bsd4.4/sigblock.c: Move to ...
14806 * sysdeps/unix/bsd/sigblock.c: ... here.
14807 * sysdeps/unix/bsd/bsd4.4/sigsetmask.c: Move to ...
14808 * sysdeps/unix/bsd/sigsetmask.c: ... here.
14809 * sysdeps/unix/bsd/bsd4.4/sigvec.c: Move to ...
14810 * sysdeps/unix/bsd/sigvec.c: ... here.
14811 * sysdeps/unix/bsd/bsd4.4/tcdrain.c: Move to ...
14812 * sysdeps/unix/bsd/tcdrain.c: ... here.
14813 * sysdeps/unix/bsd/bsd4.4/tcgetattr.c: Move to ...
14814 * sysdeps/unix/bsd/tcgetattr.c: ... here.
14815 * sysdeps/unix/bsd/bsd4.4/tcsetattr.c: Move to ...
14816 * sysdeps/unix/bsd/tcsetattr.c: ... here.
14817 * sysdeps/unix/bsd/bsd4.4/wait.c: Move to ...
14818 * sysdeps/unix/bsd/wait.c: ... here.
14819 * sysdeps/unix/bsd/bsd4.4/wait3.c: Move to ...
14820 * sysdeps/unix/bsd/wait3.c: ... here.
14821 * sysdeps/unix/bsd/bsd4.4/waitpid.c: Move to ...
14822 * sysdeps/unix/bsd/waitpid.c: ... here.
14823
5b0626b9
JM
148242013-12-21 Joseph Myers <joseph@codesourcery.com>
14825
14826 [BZ #16356]
14827 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Also set
14828 round-to-nearest for [!USE_AS_EXPM1L].
14829 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Likewise.
14830 * math/auto-libm-test-in: Do not expect cosh tests to fail. Add
14831 more tests of exp and exp10. Expect some exp10 tests to miss
14832 exceptions or fail in directed rounding modes.
14833 * math/auto-libm-test-out: Regenerated.
14834 * math/libm-test.inc (exp10_tonearest_test_data): New array.
14835 (exp10_test_tonearest): New function.
14836 (exp10_towardzero_test_data): New array.
14837 (exp10_test_towardzero): New function.
14838 (exp10_downward_test_data): New array.
14839 (exp10_test_downward): New function.
14840 (exp10_upward_test_data): New array.
14841 (exp10_test_upward): New function.
14842 (main): Call the new functions.
14843 * sysdeps/i386/fpu/libm-test-ulps: Update.
14844 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14845
7fda5682
JM
148462013-12-20 Joseph Myers <joseph@codesourcery.com>
14847
31e3a405
JM
14848 * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
14849 asinh, atan, atan2, atanh, cbrt, cos and cosh.
14850 * math/auto-libm-test-out: Regenerated.
14851 * math/libm-test.inc (acosh_test_data): Add more tests.
14852 (atanh_test_data): Likewise.
14853 (ceil_test_data): Likewise.
14854 (copysign_test_data): Likewise.
14855 * sysdeps/i386/fpu/libm-test-ulps: Update.
14856 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14857
85bff96a
JM
14858 * timezone/checktab.awk: Update from tzcode 2013i.
14859 * timezone/private.h: Likewise.
14860 * timezone/scheck.c: Likewise.
14861 * timezone/tzfile.h: Likewise.
14862 * timezone/tzselect.ksh: Likewise.
14863 * timezone/zdump.c: Likewise.
14864 * timezone/zic.c: Likewise.
14865
b7867a3b
JM
14866 * math/auto-libm-test-in: Add tests of cpow.
14867 * math/auto-libm-test-out: Regenerated.
14868 * math/libm-test.inc (cpow_test_data): Use AUTO_TESTS_cc_c.
57f41c40 14869 * math/gen-auto-libm-tests.c (func_calc_method): Add value
b7867a3b
JM
14870 mpc_cc_c.
14871 (func_calc_desc): Add mpc_cc_c union field.
14872 (test_functions): Add cpow.
14873 (special_fill_2pi): New function.
14874 (special_real_inputs): Add 2pi.
14875 (calc_generic_results): Handle mpc_cc_c.
14876 * sysdeps/i386/fpu/libm-test-ulps: Update.
14877 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14878
7fda5682
JM
14879 * math/auto-libm-test-in: Add tests of ccos, ccosh, cexp, clog,
14880 csqrt, ctan and ctanh.
14881 * math/auto-libm-test-out: Regenerated.
14882 * math/libm-test.inc (TEST_COND_x86_64): New macro.
14883 (TEST_COND_x86): Likewise.
14884 (ccos_test_data): Use AUTO_TESTS_c_c.
14885 (ccosh_test_data): Likewise.
14886 (cexp_test_data): Likewise.
14887 (clog_test_data): Likewise.
14888 (csqrt_test_data): Likewise.
14889 (ctan_test_data): Likewise.
14890 (ctan_tonearest_test_data): Likewise.
14891 (ctan_towardzero_test_data): Likewise.
14892 (ctan_downward_test_data): Likewise.
14893 (ctan_upward_test_data): Likewise.
14894 (ctanh_test_data): Likewise.
14895 (ctanh_tonearest_test_data): Likewise.
14896 (ctanh_towardzero_test_data): Likewise.
14897 (ctanh_downward_test_data): Likewise.
14898 (ctanh_upward_test_data): Likewise.
14899 * math/gen-auto-libm-tests.c (func_calc_method): Add value
14900 mpc_c_c.
14901 (func_calc_desc): Add mpc_c_c union field.
14902 (FUNC_mpc_c_c): New macro.
14903 (test_functions): Add cacos, cacosh, casin, casinh, catan, catanh,
14904 ccos, ccosh, cexp, clog, clog10, csin, csinh, csqrt, ctan and
14905 ctanh.
14906 (special_fill_min_subnorm_p120): New function.
14907 (special_real_inputs): Add min_subnorm_p120.
14908 (calc_generic_results): Handle mpc_c_c.
14909 * sysdeps/i386/fpu/libm-test-ulps: Update.
14910 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14911
5ff8d60e
SP
149122013-12-20 Siddhesh Poyarekar <siddhesh@redhat.com>
14913
57f41c40
AS
14914 * sysdeps/ieee754/dbl-64/s_sin.c (do_cos, do_cos_slow, do_sin)
14915 (do_sin_slow): New functions.
14916 (__sin, __cos, slow1, slow2, sloww1, sloww2, bsloww1, bsloww2)
14917 (cslow2, csloww1, csloww2): Use the new functions.
392dd2de 14918
84ba214c
SP
14919 * sysdeps/ieee754/dbl-64/s_sin.c (sloww1): Add new argument M.
14920 Use M to change sign of result instead of X. Assume X is
14921 positive.
14922 (csloww1): Likewise.
14923 (__sin): Adjust.
14924 (__cos): Adjust.
14925
975195e4
SP
14926 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): Remove
14927 arguments A and DA.
14928 (__sin): Adjust.
14929 (__cos): Likewise.
14930
5ff8d60e
SP
14931 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use DA directly.
14932 (__cos): Likewise.
14933 (sloww1): Don't adjust sign of DX.
14934 (csloww1): Likewise.
14935 (sloww2): Use X directly and don't adjust sign of DX.
14936 (csloww2): Likewise.
14937
eb983568
JM
149382013-12-19 Joseph Myers <joseph@codesourcery.com>
14939
64a17f1a
JM
14940 * math/auto-libm-test-in: Add tests of cabs and carg.
14941 * math/auto-libm-test-out: Regenerated.
14942 * math/libm-test.inc (cabs_test_data): Use AUTO_TESTS_c_f.
14943 (carg_test_data): Likewise.
14944 * math/gen-auto-libm-tests.c (func_calc_method): Add value
14945 mpc_c_f.
14946 (func_calc_desc): Add mpc_c_f union field.
14947 (test_functions): Add cabs and carg.
14948 (calc_generic_results): Handle mpc_c_f.
14949
eb983568
JM
14950 * sysdeps/powerpc/powerpc32/libgcc-compat.S
14951 [_SOFT_FLOAT || __NO_FPRS__] (__fixdfdi_v_glibc20): Do not define
14952 as a macro and a compat symbol.
14953 [_SOFT_FLOAT || __NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
14954 [_SOFT_FLOAT || __NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
14955 [_SOFT_FLOAT || __NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
14956 [_SOFT_FLOAT || __NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
14957 [_SOFT_FLOAT || __NO_FPRS__] (__floaddisf_v_glibc20): Likewise.
14958 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixdfdi): Do
14959 not use .hidden.
14960 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixsfdi):
14961 Likewise.
14962 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunsdfdi):
14963 Likewise.
14964 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunssfdi):
14965 Likewise.
14966 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddidf):
14967 Likewise.
14968 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddisf):
14969 Likewise.
14970 * sysdeps/powerpc/nofpu/Versions (libc): Remove __fixdfdi,
14971 __fixsfdi, __fixunsdfdi, __fixunssfdi, __floatdidf and __floatdisf
14972 from GLIBC_2.3.2.
14973
6eeb678a
AZ
149742013-12-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14975
14976 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
14977
6f6fc482
JM
149782013-12-19 Joseph Myers <joseph@codesourcery.com>
14979
21fea2e2
JM
14980 * manual/texinfo.tex: Update to version 2013-11-26.10 with
14981 trailing whitespace removed.
14982 * scripts/config.guess: Update to version 2013-11-29.
14983 * scripts/config.sub: Update to version 2013-10-01.
14984
6f6fc482
JM
14985 * math/auto-libm-test-in: Add tests of sincos.
14986 * math/auto-libm-test-out: Regenerated.
14987 * math/libm-test.inc (sincos_test_data): Use AUTO_TESTS_fFF_11.
14988 * math/gen-auto-libm-tests.c (func_calc_method): Add value
14989 mpfr_f_11.
14990 (func_calc_desc): Add mpfr_f_11 union field.
14991 (test_functions): Add sincos.
14992 (calc_generic_results): Handle mpfr_f_11.
14993 * sysdeps/i386/fpu/libm-test-ulps: Update.
14994 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14995
83f5c32d
AS
149962013-12-19 Andreas Schwab <schwab@suse.de>
14997
14998 * sysdeps/powerpc/powerpc64/power7/memchr.S: Fix argument of
14999 CALL_MCOUNT.
15000 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
15001 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S
15002 [USE_IN_EXTENDED_LOCALE_MODEL]: Likewise.
15003
c688b419
JM
150042013-12-19 Joseph Myers <joseph@codesourcery.com>
15005
335ee092
JM
15006 * math/gen-libm-test.pl (%beautify): Remove M_* constants.
15007 * sysdeps/i386/fpu/libm-test-ulps: Update.
15008 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15009
f88acd39
JM
15010 [BZ #16293]
15011 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Set
15012 round-to-nearest mode when using frndint.
15013 * sysdeps/i386/fpu/s_expm1.S (__expm1): Likewise.
15014 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
15015 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
15016 Likewise.
15017 * math/auto-libm-test-in: Add more tests of expm1. Do not expect
15018 sinh test to fail.
15019 * math/auto-libm-test-out: Regenerated.
15020 * math/libm-test.inc (TEST_COND_x86_64): Remove macro.
15021 (TEST_COND_x86): Likewise.
15022 (expm1_tonearest_test_data): New array.
15023 (expm1_test_tonearest): New function.
15024 (expm1_towardzero_test_data): New array.
15025 (expm1_test_towardzero): New function.
15026 (expm1_downward_test_data): New array.
15027 (expm1_test_downward): New function.
15028 (expm1_upward_test_data): New array.
15029 (expm1_test_upward): New function.
15030 (main): Run the new test functions.
15031 * sysdeps/i386/fpu/libm-test-ulps: Update.
15032 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15033
c688b419
JM
15034 * include/features.h: Update comment documenting feature test
15035 macros. Mention _DEFAULT_SOURCE in comment.
15036 [_GNU_SOURCE] (_DEFAULT_SOURCE): Undefine and redefine.
15037 [_DEFAULT_SOURCE]: Undefine and redefine _DEFAULT_SOURCE,
15038 _BSD_SOURCE and _SVID_SOURCE.
15039 [!__STRICT_ANSI__ && !_ISOC99_SOURCE && !_POSIX_SOURCE &&
15040 !_POSIX_C_SOURCE && !_XOPEN_SOURCE && !_BSD_SOURCE &&
15041 !_SVID_SOURCE]: Likewise.
15042 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
15043 (__USE_POSIX_IMPLICITLY): Define.
15044 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
15045 (_POSIX_SOURCE): Undefine and redefine.
15046 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
15047 (_POSIX_C_SOURCE): Likewise.
15048 * manual/creature.texi (_DEFAULT_SOURCE): Document.
15049 (Feature Test Macros): Update documentation of default features.
15050
9f6e964c
RS
150512013-12-19 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
15052
15053 * benchtests/Makefile: Add bench-strtok.
15054 * benchtests/bench-strtok.c: New file: strtok benchtest.
15055
ee0a148a
AM
150562013-12-19 Allan McRae <allan@archlinux.org>
15057
15058 * manual/install.texi: Suppress menu for plain text output.
15059 * INSTALL: Regenerated.
15060
b9ab448f
BM
150612013-12-18 Brooks Moses <bmoses@google.com>
15062
15063 [BZ #15846]
15064 * misc/getauxval.c: Include errno.h.
15065 (__getauxval): Set errno to ENOENT if the requested type is not
15066 found.
15067 * misc/sys/auxv.h (getauxval): Document that it may set errno;
15068 don't declare with __attribute_const__.
15069 * elf/tst-auxv.c: Add tests for errno and type-not-found case.
15070 * manual/startup.texi: Document that getauxval sets errno.
15071
23776487
JM
150722013-12-18 Joseph Myers <joseph@codesourcery.com>
15073
f889953b
JM
15074 * math/auto-libm-test-in: Add tests of jn and yn.
15075 * math/auto-libm-test-out: Regenerated.
15076 * math/libm-test.inc (jn_test_data): Use AUTO_TESTS_if_f.
15077 (yn_test_data): Likewise.
15078 * math/gen-auto-libm-tests.c (func_calc_method): Add value
15079 mpfr_if_f.
15080 (func_calc_desc): Add mpfr_if_f union field.
15081 (FUNC_mpfr_if_f): New macro.
15082 (test_functions): Add jn and yn.
15083 (calc_generic_results): Assert type of second input for
15084 mpfr_ff_f. Handle mpfr_if_f.
15085 (output_for_one_input_case): Disable all checking for arguments
15086 fitting floating-point types in case of an integer argument.
15087 * sysdeps/i386/fpu/libm-test-ulps: Update.
15088 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15089
23776487
JM
15090 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
15091 Don't expect fegetround reference in libm.so.
15092
cb756c6d
MS
150932013-12-17 Marcus Shawcroft <marcus.shawcroft@linaro.org>
15094
15095 * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_sqrt.c): Add
15096 $(config-cflags-nofma).
15097
2dec468f
JM
150982013-12-18 Joseph Myers <joseph@codesourcery.com>
15099
5953eb3a
JM
15100 * math/auto-libm-test-in: Mark some hypot tests no-test-inline.
15101 * math/auto-libm-test-out: Regenerated.
15102
2dec468f
JM
15103 [BZ #16338]
15104 * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Use __frexpl
15105 to determine exponent and adjust argument to have exponent of -1.
15106 * math/auto-libm-test-in: Add more tests of log, log10, log1p and
15107 log2.
15108 * math/auto-libm-test-out: Regenerated.
15109 * sysdeps/i386/fpu/libm-test-ulps: Update.
15110 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15111
4d84e6ad
OB
151122013-12-18 Ondřej Bílka <neleai@seznam.cz>
15113
15114 * manual/probes.texi: Remove cases when per-thread arenas are
15115 disabled.
15116
1818483b
AS
151172013-12-18 Andreas Schwab <schwab@suse.de>
15118
15119 * sysdeps/i386/i686/multiarch/strstr.c: Remove.
15120 * sysdeps/i386/i686/multiarch/strstr-c.c: Remove.
15121 * sysdeps/i386/i686/multiarch/strcasestr.c: Remove.
15122 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: Remove.
15123 * sysdeps/i386/i686/multiarch/Makefile: Update.
15124 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: Update.
15125
25de95bf
JM
151262013-12-17 Joseph Myers <joseph@codesourcery.com>
15127
15128 * sysdeps/unix/bsd/bsd4.4/bits/errno.h: Remove file.
15129 * sysdeps/unix/bsd/bsd4.4/bits/ioctls.h: Likewise.
15130
674762d9
PE
151312013-12-17 Paul Eggert <eggert@cs.ucla.edu>
15132
ed27ed83 15133 [BZ #15968]
0748546f
PE
15134 Support TZ transition times < 00:00:00.
15135 This is needed for version-3 tz-format files; it supports time
15136 stamps past 2037 for America/Godthab (the only entry in the tz
15137 database for which this change is relevant).
15138 * manual/time.texi (TZ Variable): Document transition times
15139 from -167:59:59 through -00:00:01.
15140 * time/tzset.c (tz_rule): Time of day is now signed.
15141 (__tzset_parse_tz): Parse negative time of day.
15142
4480e934
PE
15143 Document TZ transition times >= 25:00:00.
15144 * manual/time.texi (TZ Variable): Document transition times from
15145 25:00:00 through 167:59:59. These are already supported, and this
15146 support will help with version-3 tz-format files.
15147
69947401
PE
15148 * manual/time.texi (TZ Variable): Modernize North America example
15149 to reflect current (i.e., 2007-and-later) daylight saving rules.
15150
674762d9
PE
15151 * manual/time.texi (TZ Variable): POSIX.1 hour can be 24.
15152
7011c262
JM
151532013-12-17 Joseph Myers <joseph@codesourcery.com>
15154
2fc6557e
JM
15155 * sysdeps/unix/bsd/bits/posix_opt.h: Remove file.
15156 * sysdeps/unix/bsd/bits/stat.h: Likewise.
15157 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/environments.h: Likewise.
15158 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
15159 * sysdeps/unix/bsd/bsd4.4/freebsd/sys/sysmacros.h: Likewise.
15160 * sysdeps/unix/bsd/bsdstat.h: Likewise.
15161 * sysdeps/unix/bsd/clock.c: Likewise.
15162 * sysdeps/unix/bsd/i386/vfork.S: Likewise.
15163 * sysdeps/unix/bsd/i386/wait3.S: Likewise.
15164 * sysdeps/unix/bsd/init-posix.c: Likewise.
15165 * sysdeps/unix/bsd/poll.c: Likewise.
15166 * sysdeps/unix/bsd/ptsname.c: Likewise.
15167 * sysdeps/unix/bsd/seekdir.c: Likewise.
15168 * sysdeps/unix/bsd/setegid.c: Likewise.
15169 * sysdeps/unix/bsd/seteuid.c: Likewise.
15170 * sysdeps/unix/bsd/setgid.c: Likewise.
15171 * sysdeps/unix/bsd/setrgid.c: Likewise.
15172 * sysdeps/unix/bsd/setruid.c: Likewise.
15173 * sysdeps/unix/bsd/setsid.c: Likewise.
15174 * sysdeps/unix/bsd/setuid.c: Likewise.
15175 * sysdeps/unix/bsd/sigaction.c: Likewise.
15176 * sysdeps/unix/bsd/sigprocmask.c: Likewise.
15177 * sysdeps/unix/bsd/sigsuspend.c: Likewise.
15178 * sysdeps/unix/bsd/sys/reboot.h: Likewise.
15179 * sysdeps/unix/bsd/telldir.c: Likewise.
15180 * sysdeps/unix/bsd/times.c: Likewise.
15181 * sysdeps/unix/bsd/usleep.c: Likewise.
15182
029c7b25
JM
15183 * misc/Makefile (install-lib): Remove libbsd-compat.a.
15184 ($(objpfx)libbsd-compat.a): Remove rule.
15185
7011c262
JM
15186 * include/features.h (__FAVOR_BSD): Do not define.
15187 * manual/creature.texi (_BSD_SOURCE): Do not document as enabling
15188 features conflicting with POSIX.
15189 (_GNU_SOURCE): Do not mention interaction with _BSD_SOURCE.
15190 (_BSD_SOURCE): Remove description of not being a subset of other
15191 feature test macros.
15192 * manual/job.texi (getpgrp): Do not document BSD version.
15193 (getpgid): Do not document by reference to BSD getpgrp.
15194 * posix/unistd.h [__FAVOR_BSD]: Remove conditional code.
15195 * setjmp/setjmp.h [__FAVOR_BSD]: Likewise.
15196 * signal/signal.h [__FAVOR_BSD]: Likewise.
15197 * sysdeps/gnu/netinet/tcp.h (struct tcphdr): Use anonymous unions
15198 instead of making contents conditional on [__FAVOR_BSD].
15199 * sysdeps/gnu/netinet/udp.h (struct udphdr): Likewise.
15200
affb6f78
AZ
152012013-12-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15202
15203 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
15204
c88769dd
JM
152052013-12-17 Joseph Myers <joseph@codesourcery.com>
15206
6432a540
JM
15207 [BZ #16314]
15208 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Adjust up
15209 values below 2**-450, not 2**-500.
15210 * math/auto-libm-test-in: Don't allow spurious underflow from
15211 hypot.
15212 * math/auto-libm-test-out: Regenerated.
15213
c88769dd
JM
15214 [BZ #16316]
15215 [BZ #16330]
15216 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Update
15217 values of ha and hb and sort them after adjusting subnormal
15218 arguments.
15219 * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
15220 Likewise.
15221 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Update
15222 values of ea and eb and sort them after adjusting subnormal
15223 arguments.
15224 * math/auto-libm-test-in: Do not expect some hypot tests of
15225 subnormals to fail. Add more hypot tests.
15226 * math/auto-libm-test-out: Regenerated.
15227
29618f6b
KK
152282013-12-16 Kaz Kojima <kkojima@rr.iij4u.or.jp>
15229
15230 [BZ #13304]
15231 * sysdeps/sh/s_fma.c: New file.
15232 * sysdeps/sh/s_fmaf.c: New file.
15233 * sysdeps/sh/soft-fp/sfp-machine.h: New file. Based on arm
15234 version.
15235 * sysdeps/sh/Implies: Add sh/soft-fp.
15236
eacfdfbf
RM
152372013-12-16 Roland McGrath <roland@hack.frob.com>
15238
15239 * elf/dl-error.c (struct catch): Add new member `errcode'. Add a
15240 level of indirection to members `objname', `errstring', `malloced'.
15241 (_dl_signal_error): Store through pointers in *LCATCH rather modifying
15242 *LCATCH itself. Set *LCATCH->errcode to ERRCODE rather than passing
15243 it as the __longjmp argument (just pass 1 instead).
15244 (_dl_catch_error): Initialize C with argument pointers and address of
15245 volatile local ERRCODE rather than copying values out of C at return.
15246
ff362e5b
JM
152472013-12-16 Joseph Myers <joseph@codesourcery.com>
15248
15249 * math/auto-libm-test-in: Add tests of atan2, hypot and pow.
15250 * math/auto-libm-test-out: Regenerated.
15251 * math/libm-test.inc (atan2_test_data): Use AUTO_TESTS_ff_f.
15252 (hypot_test_data): Likewise.
15253 (pow_test_data): Likewise.
15254 (pow_tonearest_test_data): Likewise.
15255 * math/gen-auto-libm-tests.c (func_calc_method): Add value
15256 mpfr_ff_f.
15257 (func_calc_desc): Add mpfr_ff_f union field.
15258 (FUNC_mpfr_ff_f): New macro.
15259 (test_functions): Add atan2, hypot and pow.
15260 (special_fill_min): New function.
15261 (special_fill_minus_min): Likewise.
15262 (special_fill_min_subnorm): Likewise.
15263 (special_fill_minus_min_subnorm): Likewise.
15264 (special_real_inputs): Add min, -min, min_subnorm and
15265 -min_subnorm.
15266 (calc_generic_results): Handle mpfr_ff_f.
15267 * sysdeps/i386/fpu/libm-test-ulps: Update.
15268 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15269
5764c27f
WN
152702013-12-16 Will Newton <will.newton@linaro.org>
15271
15272 * manual/memory.texi (Malloc Examples): Mention aligned_alloc.
15273 (Aligned Memory Blocks): Add documentation for aligned_alloc
15274 and suggest it as an alternative to posix_memalign.
15275 (Hooks for Malloc): Document __memalign_hook is also called
15276 for aligned_alloc. (Summary of Malloc): Add summary for
15277 aligned alloc. Document __memalign_hook is also called
15278 for aligned_alloc.
15279
0a096e44
WN
152802013-12-16 Will Newton <will.newton@linaro.org>
15281
15282 * manual/memory.texi (Malloc Examples): Clarify default
15283 alignment documentation. Suggest posix_memalign rather
15284 than memalign or valloc.
15285 (Aligned Memory Blocks): Remove suggestion to use memalign
15286 or valloc. Remove obsolete comment about BSD.
15287 Document memalign errno values and mark the function obsolete.
15288 Document posix_memalign returned error codes. Mark valloc
15289 as obsolete. (Hooks for Malloc): __memalign_hook is also
15290 called for posix_memalign and valloc.
15291 (Summary of Malloc): Add posix_memalign to function summary.
15292 __memalign_hook is also called for posix_memalign and valloc.
15293
8d561986
SP
152942013-12-16 Siddhesh Poyarekar <siddhesh@redhat.com>
15295
15296 * sysdeps/ieee754/dbl-64/s_sin.c (TAYLOR_SINCOS): Rename to
15297 TAYLOR_SIN.
15298 (__sin): Adjust.
15299 (__cos): Likewise.
15300 (sloww): Use mynumber union. Expand ternary operator into
15301 if-else statements.
15302 (cslow): use mynumber union.
15303
73616a74
AM
153042013-12-16 Allan McRae <allan@archlinux.org>
15305
9e8ac24b
AM
15306 * configure.ac: Set AUTOCONF when maintainer-mode is not used.
15307 * configure: Regenerated.
15308
6f8e37eb
AM
15309 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update file name.
15310
8894bad3
AM
15311 [BZ #14120]
15312 * configure.ac: Added --enable-maintainer-mode. Check for
15313 autoconf when enabled.
15314 * configure: Regenerated.
15315
73616a74
AM
15316 * nscd/nscd.service: New file.
15317 * nscd/nscd.tmpfiles: New file.
15318
584b18eb
OB
153192013-12-14 Ondřej Bílka <neleai@seznam.cz>
15320
15321 [BZ #12100]
15322 * sysdeps/x86_64/multiarch/strstr-sse2-unaligned.S: New file
15323 * sysdeps/x86_64/multiarch/strstr-c.c: Moved to ...
15324 * sysdeps/x86_64/multiarch/strstr.c: ... here.
15325 (strstr): Add __strstr_sse2_unaligned ifunc.
15326 * sysdeps/x86_64/multiarch/strcasestr-c.c: Moved to ...
15327 * sysdeps/x86_64/multiarch/strcasestr.c ... here.
15328 (strcasestr): Remove __strcasestr_sse42 ifunc.
15329 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Remove.
15330 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
15331 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
15332
8a5c7897
KK
153332013-12-14 Kaz Kojima <kkojima@rr.iij4u.or.jp>
15334
15335 * sysdeps/sh/sh4/fpu/bits/fenv.h: Move to ...
15336 * sysdeps/sh/bits/fenv.h: ... here.
15337 * sysdeps/sh/sh4/fpu/bits: Remove directory.
15338
fd712ef3
AZ
153392013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15340
15341 * NEWS: Mention ppc64 STT_GNU_IFUNC support.
15342
42fcb46c
AZ
15343 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add hypot and
15344 hypotf multiarch implementations.
15345 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-power7.c: New file.
15346 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-ppc64.c: New file.
15347 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot.c: New file:
15348 multiarch hypot for PPC64.
15349 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-power7.c: New file.
15350 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-ppc64.c: New file.
15351 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c : New file:
15352 multiarch hypotf for PPC64.
15353
83efded4
AZ
15354 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add modf and
15355 modff multiarch implementations.
15356 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-power5+.c: New file.
15357 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-ppc64.c: New file.
15358 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: New file:
15359 multiarch modf for PPC64.
15360 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-power5+.c: New file.
15361 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-ppc64.c: New file.
15362 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff.c : New file:
15363 multiarch modff for PPC64.
15364
43e246d2
AZ
15365 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add logb, logbf,
15366 and logl multiarch implementations.
15367 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-power7.c: New file.
15368 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-ppc64.c: New file.
15369 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb.c: New file:
15370 multiarch logb for PPC64.
15371 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-power7.c: New file.
15372 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-ppc64.c: New file.
15373 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf.c: New file:
15374 multiarch logb for PPC64.
15375 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-power7.c: New file.
15376 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-ppc64.c: New file.
15377 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl.c: New file:
15378 multiarch logb for PPC64.
15379
8fdad123
AZ
15380 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf and
15381 isinff multiarch implementation.
15382 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power7.S: New
15383 file.
15384 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-ppc64.S: New file.
15385 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: New file:
15386 multiarch isinf for PPC64.
15387 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff-ppc64.c: New
15388 file.
15389 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c: New file:
15390 multiarch isinff for PPC64.
15391
1481d706
AZ
15392 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite and
15393 finitef multiarch implementation.
15394 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power7.S: New
15395 file.
15396 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-ppc64.S: New file.
15397 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: New file:
15398 multiarch finite for PPC64.
15399 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef-ppc64.c: New
15400 file.
15401 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c: New file:
15402 multiarch finitef for PPC64.
15403
5ccd5fc8
AZ
15404 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint and
15405 lrint multiarch implementation.
15406 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power6x.S: New
15407 file.
15408 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-ppc64.S: New file.
15409 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c: New file:
15410 multiarch llrint for PPC64.
15411 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lrint.c: New file:
15412 multiarch lrint for PPC64.
15413
2568f3fa
AZ
15414 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add copysign/
15415 copysignf multiarch implementation.
15416 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-power6.S: New
15417 file.
15418 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-ppc64.S: New
15419 file.
15420 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: New file:
15421 multiarch copysign for PPC64.
15422 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysignf.c: New file:
15423 multiarch copysignf for PPC64.
15424
1cb341fd
AZ
15425 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add trunc/truncf
15426 multiarch implementation.
15427 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-power5+.S: New
15428 file.
15429 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-ppc64.S: New
15430 file.
15431 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-power5+.S: New
15432 file.
15433 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-ppc64.S: New
15434 file.
15435 multiarch llround for PPC64.
15436 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc.c: New file:
15437 multiarch trunc for PPC64.
15438 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf.c: New file:
15439 multiarch truncf for PPC64.
15440
59a3e194
AZ
15441 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add round/roundf
15442 multiarch implementation.
15443 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-power5+.S: New
15444 file.
15445 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-ppc64.S: New
15446 file.
15447 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-power5+.S: New
15448 file.
15449 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-ppc64.S: New
15450 file.
15451 multiarch llround for PPC64.
15452 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round.c: New file:
15453 multiarch round for PPC64.
15454 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf.c: New file:
15455 multiarch roundf for PPC64.
15456
357fd3b4
AZ
15457 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add floor/floorf
15458 multiarch implementation.
15459 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-power5+.S: New
15460 file.
15461 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-ppc64.S: New
15462 file.
15463 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-power5+.S: New
15464 file.
15465 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-ppc64.S: New
15466 file.
15467 multiarch llround for PPC64.
15468 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor.c: New file:
15469 multiarch floor for PPC64.
15470 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf.c: New file:
15471 multiarch floorf for PPC64.
15472
96770f12
AZ
15473 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add ceil/ceilf
15474 multiarch implementation.
15475 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-power5+.S: New
15476 file.
15477 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-ppc64.S: New
15478 file.
15479 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-power5+.S: New
15480 file.
15481 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-ppc64.S: New
15482 file.
15483 multiarch llround for PPC64.
15484 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil.c: New file:
15485 multiarch ceil for PPC64.
15486 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf.c: New file:
15487 multiarch ceilf for PPC64.
15488
c3627f6e
AZ
15489 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
15490 multiarch implementation.
15491 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power5+.S: New
15492 file.
15493 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power6x.S: New
15494 file.
15495 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-ppc64.S: New
15496 file.
15497 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c: New file:
15498 multiarch llround for PPC64.
15499 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lround.c: New file:
15500 multiarch lround for PPC64.
15501
b2284ad7
AZ
15502 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
15503 multiarch implementation.
15504 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power5.S: New file.
15505 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6.S: New file.
15506 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6x.S: New
15507 file.
15508 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power7.S: New file.
15509 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S: New file.
15510 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: New file:
15511 multiarch isnan for PPC64.
15512 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c: New file:
15513 multiarch isnanf for PPC64.
15514
69bbc63d
AZ
15515 * sysdeps/powerpc/powerpc64/power5+/fpu/multiarch/Implies: New file.
15516 * sysdeps/powerpc/powerpc64/power5/fpu/multiarch/Implies: New file.
15517 * sysdeps/powerpc/powerpc64/power6/fpu/multiarch/Implies: New file.
15518 * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: New file.
15519 * sysdeps/powerpc/powerpc64/power7/fpu/multiarch/Implies: New file
15520 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/Implies: Remove.
15521
c24517c9
AZ
15522 * sysdeps/powerpc/fpu/w_sqrt.c: Remove file
15523 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
15524 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
15525 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
15526
a52374e8
AZ
15527 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add stpcpy
15528 multiarch implementations.
15529 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
15530 (__libc_ifunc_impl_list): Likewise.
15531 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.c: New file.
15532 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.c: New file.
15533 * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c : New file:
15534 multiarch stpcpy for PPC64.
15535
7f5ec113
AZ
15536 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcpy
15537 multiarch implementations.
15538 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
15539 (__libc_ifunc_impl_list): Likewise.
15540 * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.c: New file.
15541 * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.c: New file.
15542 * sysdeps/powerpc/powerpc64/multiarch/strcpy.c : New file:
15543 multiarch strcpy for PPC64.
15544
e28bcd42
AZ
15545 * string/wordcopy.c (_wordcopy_fwd_aligned): Add define to
15546 redefine function name.
15547 (_wordcopy_fwd_dest_aligned): Likewise.
15548 (_wordcopy_bwd_aligned): Likewise.
15549 (_wordcopy_bwd_dest_aligned): Likewise.
15550 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wordcopy
15551 multiarch implementations.
15552 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
15553 (__libc_ifunc_impl_list): Likewise.
15554 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power6.c: New file.
15555 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power7.c: New file.
15556 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c: New file.
15557 * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c : New file:
15558 multiarch wcscpy for PPC64.
15559
92cacfce
AZ
15560 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcscpy
15561 multiarch implementations.
15562 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
15563 (__libc_ifunc_impl_list): Likewise.
15564 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power6.c: New file.
15565 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power7.c: New file.
15566 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-ppc64.c: New file.
15567 * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c : New file:
15568 multiarch wcscpy for PPC64.
15569
7b714620
AZ
15570 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcsrchr
15571 multiarch implementations.
15572 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
15573 (__libc_ifunc_impl_list): Likewise.
15574 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power6.c: New file.
15575 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power7.c: New file.
15576 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-ppc64.c: New file.
15577 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c : New file:
15578 multiarch wcsrchr for PPC64.
15579
16fd2ae3
AZ
15580 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcschr
15581 multiarch implementations.
15582 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
15583 (__libc_ifunc_impl_list): Likewise.
15584 * sysdeps/powerpc/powerpc64/multiarch/wcschr-power6.c: New file.
15585 * sysdeps/powerpc/powerpc64/multiarch/wcschr-power7.c: New file.
15586 * sysdeps/powerpc/powerpc64/multiarch/wcschr-ppc64.c: New file.
15587 * sysdeps/powerpc/powerpc64/multiarch/wcschr.c : New file:
15588 multiarch wcschr for PPC64.
15589
9ee2969b
AZ
15590 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchrnul
15591 multiarch implementations.
15592 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
15593 (__libc_ifunc_impl_list): Likewise.
15594 * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power7.S: New file.
15595 * sysdeps/powerpc/powerpc64/multiarch/strchrnul-ppc64.c: New file.
15596 * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: New file:
15597 multiarch strchrnul for PPC64.
15598
372dc060
AZ
15599 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchr multiarch
15600 implementations.
15601 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
15602 (__libc_ifunc_impl_list): Likewise.
15603 * sysdeps/powerpc/powerpc64/multiarch/rtld-strchr.S: New file.
15604 * sysdeps/powerpc/powerpc64/multiarch/strchr-power7.S: New file.
15605 * sysdeps/powerpc/powerpc64/multiarch/strchr-ppc64.S: New file.
15606 * sysdeps/powerpc/powerpc64/multiarch/strchr.c: New file: multiarch
15607 strchr for PPC64.
15608
24c2c3b9
AZ
15609 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncmp multiarch
15610 implementations.
15611 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
15612 (__libc_ifunc_impl_list): Likewise.
15613 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power4.S: New file.
15614 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power7.S: New file.
15615 * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: New file.
15616 * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: New file: multiarch
15617 strncmp for PPC64.
15618
1c92d9a0
AZ
15619 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncasecmp
15620 multiarch implementations.
15621 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
15622 (__libc_ifunc_impl_list): Likewise.
15623 * sysdeps/powerpc/powerpc64/multiarch/strncase-power7.c: New file.
15624 * sysdeps/powerpc/powerpc64/multiarch/strncase.c: New file: multiarch
15625 strncasecmp for PPC64.
15626 * sysdeps/powerpc/powerpc64/multiarch/strncase_l-power7.c: New file.
15627 * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: New file:
15628 multiarch strncasecmp_l for PPC64.
15629
17de3ee3
AZ
15630 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcasecmp
15631 multiarch implementations.
15632 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
15633 (__libc_ifunc_impl_list): Likewise.
15634 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: New file.
15635 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: New file:
15636 multiarch strcasecmp for PPC64.
15637 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: New
15638 file.
15639 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: new file:
15640 multiarch strcasecmp_l for PPC64.
15641
62982bf9
AZ
15642 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strnlen multiarch
15643 implementations.
15644 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
15645 (__libc_ifunc_impl_list): Likewise.
15646 * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: New file.
15647 * sysdeps/powerpc/powerpc64/multiarch/strnlen-ppc64.c: New file.
15648 * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: New file: multiarch
15649 strnlen for PPC64.
15650
a65f4904
AZ
15651 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strlen multiarch
15652 implementations.
15653 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
15654 (__libc_ifunc_impl_list): Likewise.
15655 * sysdeps/powerpc/powerpc64/multiarch/strlen-power7.S: New file.
15656 * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: New file.
15657 * sysdeps/powerpc/powerpc64/multiarch/strlen.c: New file: multiarch
15658 strlen for PPC64.
15659
1fd005ad
AZ
15660 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add rawmemch multiarch
15661 implementations.
15662 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
15663 (__libc_ifunc_impl_list): Likewise.
15664 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-power7.S: New file.
15665 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-ppc64.c: New file.
15666 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: New file: multiarch
15667 rawmemrchr for PPC64.
15668
cd05ba91
AZ
15669 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memrchr multiarch
15670 implementation.
15671 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
15672 (__libc_ifunc_impl_list): Likewise.
15673 * sysdeps/powerpc/powerpc64/multiarch/memrchr-power7.S: New file.
15674 * sysdeps/powerpc/powerpc64/multiarch/memrchr-ppc64.c: New file.
15675 * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: New file: multiarch
15676 memrchr for PPC64.
15677
870f8676
AZ
15678 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memchr multiarch
15679 implementation.
15680 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
15681 (__libc_ifunc_impl_list): Likewise.
15682 * sysdeps/powerpc/powerpc64/multiarch/memchr-power7.S: New file.
15683 * sysdeps/powerpc/powerpc64/multiarch/memchr-ppc64.c: New file.
15684 * sysdeps/powerpc/powerpc64/multiarch/memchr.c: New file: multiarch
15685 memchr for PPC64.
15686
f00be62b
AZ
15687 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add mempcpy multiarch
15688 implementation.
15689 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
15690 (__libc_ifunc_impl_list): Likewise.
15691 * sysdeps/powerpc/powerpc64/multiarch/mempcpy-power7.S: New file.
15692 * sysdeps/powerpc/powerpc64/multiarch/mempcpy-ppc64.c: New file.
15693 * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: New file: multiarch
15694 mempcpy for PPC64.
15695
8a29a3d0
AZ
15696 * sysdeps/powerpc/powerpc64/memset.S (NO_BZERO_IMPL): Add macro to
15697 avoid cretion of __bzero symbol.
15698 * sysdeps/powerpc/powerpc64/power4/memset.S (NO_BZERO_IMPL):
15699 Likewise.
15700 * sysdeps/powerpc/powerpc64/power6/memset.S (NO_BZERO_IMPL):
15701 Likewise.
15702 * sysdeps/powerpc/powerpc64/power7/memset.S (NO_BZERO_IMPL):
15703 Likewise.
15704 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memset/bzero
15705 multiarch implementations.
15706 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
15707 (__libc_ifunc_impl_list): Likewise.
15708 * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: New file.
15709 * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: New file.
15710 * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: New file.
15711 * sysdeps/powerpc/powerpc64/multiarch/bzero.c: New file: multiarch
15712 bzero for PPC32.
15713 * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S: New file.
15714 * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: New file.
15715 * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: New file.
15716 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: New file.
15717 * sysdeps/powerpc/powerpc64/multiarch/memset.c: New file: multiarch
15718 memset for PPC64.
15719 * sysdeps/powerpc/powerpc64/multiarch/rtld-memset.c: New file.
15720
07253fcf
AZ
15721 * string/memcmp.c (memcmp): Using macro to redefine symbol name.
15722 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memcpy multiarch
15723 implementations.
15724 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
15725 (__libc_ifunc_impl_list): Likewise.
15726 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power4.S: New file.
15727 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power7.S: New file.
15728 * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: New file.
15729 * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: New file: multiarch
15730 memcmp for PPC64.
15731
b5beafbc
AZ
15732 * sysdeps/powerpc/powerpc64/multiarch/Makefile: New file to support
15733 multiarch for POWER/PPC64.
15734 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
15735 * sysdeps/powerpc/powerpc64/multiarch/init-arch.h: Likewise.
15736 * sysdeps/powerpc/powerpc64/multiarch/memcpy-a2.S: New file.
15737 * sysdeps/powerpc/powerpc64/multiarch/memcpy-cell.S: New file.
15738 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power4.S: New file.
15739 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power6.S: New file.
15740 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power7.S: New file.
15741 * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: New file.
15742 * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: New file: multiarch
15743 memcpy for PPC64.
15744
5e6a4d4b
AZ
15745 * sysdeps/powerpc/powerpc64/power4/fpu/Implies: New file.
15746 * sysdeps/powerpc/powerpc64/power4/fpu/multiarch/Implies: New File.
15747 * sysdeps/powerpc/powerpc64/power4/multiarch/Implies: New File.
15748 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: New File.
15749 * sysdeps/powerpc/powerpc64/power5+/multiarch/Implies: New File.
15750 * sysdeps/powerpc/powerpc64/power5/Implies: New File.
15751 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: New File.
15752 * sysdeps/powerpc/powerpc64/power5/multiarch/Implies: New File.
15753 * sysdeps/powerpc/powerpc64/power6/fpu/Implies: New File.
15754 * sysdeps/powerpc/powerpc64/power6/multiarch/Implies: New File.
15755 * sysdeps/powerpc/powerpc64/power7/fpu/Implies: New File.
15756 * sysdeps/powerpc/powerpc64/power7/multiarch/Implies: New File.
15757 * sysdeps/powerpc/powerpc64/power8/fpu/Implies: New File.
15758 * sysdeps/powerpc/powerpc64/power8/fpu/multiarch/Implies: New File.
15759 * sysdeps/powerpc/powerpc64/power8/multiarch/Implies: New File.
15760 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: Remove.
15761 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/Implies: Remove.
15762 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: Remove.
15763 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: Remove.
15764 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: Remove.
15765 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: Remove.
15766 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Remove.
15767
ddfab6dc
KK
157682013-12-12 Kaz Kojima <kkojima@rr.iij4u.or.jp>
15769
15770 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Use $$ver.
15771
19b5525e
SP
157722013-12-12 Siddhesh Poyarekar <siddhesh@redhat.com>
15773
15774 * benchtests/Makefile (bench): Add exp2 and log2.
15775 (LDLIBS-bench-exp2): Add -lm.
15776 (LDLIBS-bench-log2): Likewise.
15777 * benchtests/exp2-inputs: New inputs file.
15778 * benchtests/log2-inputs: New inputs file.
15779 * benchtests/log-inputs: Add new inputs.
15780 * benchtests/tan-inputs: Likewise.
15781
196f7f5d
SP
157822013-12-11 Siddhesh Poyarekar <siddhesh@redhat.com>
15783
7a74607f
SP
15784 * sysdeps/ieee754/dbl-64/s_sin.c (t22): Consolidate const
15785 definition...
57f41c40
AS
15786 (slow1, slow2, sloww1, sloww2, bsloww1, bsloww2, cslow2, csloww1)
15787 (csloww2): ... from here.
7a74607f 15788
196f7f5d
SP
15789 * sysdeps/ieee754/dbl-64/usncs.h: Define constants as double
15790 instead of structures.
15791 * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): Adjust.
15792 (POLYNOMIAL): Likewise.
15793 (TAYLOR_SLOW): Likewise.
15794 (__sin): Likewise.
15795 (__cos): Likewise.
15796 (slow1): Likewise.
15797 (slow2): Likewise.
15798 (sloww): Likewise.
15799 (sloww1); Likewise.
15800 (sloww2): Likewise.
15801 (bsloww1): Likewise.
15802 (bsloww2): Likewise.
15803 (cslow2): Likewise.
15804 (csloww): Likewise.
15805 (csloww1): Likewise.
15806 (csloww2): Likewise.
15807
0dfa665c
OB
158082013-12-10 Ondřej Bílka <neleai@seznam.cz>
15809
15810 * malloc/malloc.c (MALLOC_COPY, MALLOC_ZERO): Delete.
57f41c40
AS
15811 (__malloc_assert, __libc_realloc, __libc_calloc, _int_realloc):
15812 Expand MALLOC_COPY and MALLOC_ZERO to memcpy and memset.
0dfa665c
OB
15813 * malloc/hooks.c (realloc_check): Likewise.
15814
5782a80f
OB
15815 * malloc/Makefile (CPPFLAGS-malloc.c): Remove -DPER_THREAD flag.
15816 * malloc/arena.c: Remove PER_THREAD conditional.
15817 [!PER_THREAD]: Remove code.
15818 (ptmalloc_unlock_all2): Likewise.
15819 (ptmalloc_init): Likewise.
15820 (_int_new_arena): Likewise.
15821 (arena_get2): Likewise.
15822 * malloc/hooks.c (__malloc_get_state): Likewise.
15823 (__malloc_set_state): Likewise.
15824 * malloc/malloc.c: Likewise.
15825 (struct malloc_state): Likewise.
15826 (struct malloc_par): Likewise.
15827 (__libc_realloc): Likewise.
15828 (__libc_mallopt): Likewise.
15829
aeb95445
AZ
158302013-12-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15831
15832 * Versions.def (libm): Add GLIBC_2.3 and GLIBC_2.19.
15833
e8349efd
OB
158342013-12-09 Ondřej Bílka <neleai@seznam.cz>
15835
15836 * malloc/malloc.c (alloc_perturb, free_perturb): Convert from
15837 macro to a function. Check for zero perturb_byte.
15838 (_int_malloc, _int_free): Remove zero perturb_byte checks.
15839
f3eeb3fc 15840 * malloc/malloc.c: (force_reg): Remove.
57f41c40
AS
15841 (__malloc_assert, __libc_malloc, __libc_free, __libc_realloc)
15842 (_mid_memalign, __libc_calloc, sysmalloc, systrim): Replace
f3eeb3fc
OB
15843 force_reg by atomic_forced_read.
15844 * malloc/arena.c (ptmalloc_init): Likewise.
15845 * malloc/hooks.c (top_check): Likewise.
15846
be2f9009
AZ
158472013-12-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15848
15849 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
15850
e7b914bd
MT
158512013-12-09 Markus Trippelsdorf <markus@trippelsdorf.de>
15852
15853 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
15854
9f0be4f8
JM
158552013-12-08 Joseph Myers <joseph@codesourcery.com>
15856
15857 * math/auto-libm-test-in: Add tests of lgamma.
15858 * math/auto-libm-test-out: Regenerated.
15859 * math/libm-test.inc (M_LOG_SQRT_PIl): Remove macro.
15860 (M_LOG_2_SQRT_PIl): Likewise.
15861 (lgamma_test_data): Use AUTO_TESTS_f_f1.
15862 * math/gen-auto-libm-tests.c (func_calc_method): Add value
15863 mpfr_f_f1.
15864 (func_calc_desc): Add mpfr_f_f1 union field.
15865 (ARGS1): New macro.
15866 (ARGS2): Likewise.
15867 (ARGS3): Likewise.
15868 (ARGS4): Likewise.
15869 (RET1): Likewise.
15870 (RET2): Likewise.
15871 (CALC): Likewise.
15872 (FUNC): Likewise.
15873 (FUNC_mpfr_f_f): Use new macros FUNC, ARGS1, RET1 and CALC.
15874 (test_functions): Add lgamma.
15875 (calc_generic_results): Handle mpfr_f_f1.
15876 * sysdeps/i386/fpu/libm-test-ulps: Update.
15877 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15878
24eeafdb
AZ
158792013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15880
15881 * sysdeps/powerpc/powerpc64/power7/add_n.S: New file: optimized
15882 __mpn_add_n for PowerPC64/POWER7.
15883 * sysdeps/powerpc/powerpc64/power7/sub_n.S: New file: optimized
15884 __mpn_sub_n for PowerPC64/POWER7.
15885
4a2c0fd4
AZ
15886 * sysdeps/powerpc/powerpc64/addmul_1.S: New file: optimized
15887 __mpn_addmul_1 for PowerPC64.
15888 * sysdeps/powerpc/powerpc64/submul_1.S: New file: optimized
15889 __mpn_submul_1 for PowerPC64.
15890 * sysdeps/powerpc/powerpc64/lshift.S: New file: optimized __mpn_lshift
15891 for PowerPC64.
15892 * sysdeps/powerpc/powerpc64/mul_1.S: New file: optimized __mpn_mul_1
15893 for PowerPC64.
15894
4b5b548c
FS
158952013-12-06 Fernando J. V. da Silva <fernandojvdasilva@gmail.com>
15896
15897 [BZ #15089]
15898 * malloc/malloc.c: Exit systrim() if pad is bigger than heap top size.
15899
0a3ac0aa
AZ
159002013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15901
15902 * NEWS: Mention ppc32/power4+ STT_GNU_IFUNC support.
15903
ccdc8438
AZ
15904 * sysdeps/powerpc/powerpc32/power5+/fpu/multiarch/Implies: New file:
15905 add multiarch folders.
15906 * sysdeps/powerpc/powerpc32/power5+/multiarch/Implies: Likewise.
15907 * sysdeps/powerpc/powerpc32/power5/fpu/multiarch/Implies: Likewise.
15908 * sysdeps/powerpc/powerpc32/power5/multiarch/Implies: Likewise.
15909 * sysdeps/powerpc/powerpc32/power6/fpu/multiarch/Implies: Likewise.
15910 * sysdeps/powerpc/powerpc32/power6/multiarch/Implies: Likewise.
15911 * sysdeps/powerpc/powerpc32/power6x/fpu/multiarch/Implies: Likewise.
15912 * sysdeps/powerpc/powerpc32/power6x/multiarch/Implies: Likewise.
15913 * sysdeps/powerpc/powerpc32/power7/fpu/multiarch/Implies: Likewise.
15914 * sysdeps/powerpc/powerpc32/power7/multiarch/Implies: Likewise.
15915 * sysdeps/powerpc/powerpc32/power8/fpu/multiarch/Implies: Likewise.
15916 * sysdeps/powerpc/powerpc32/power8/multiarch/Implies: Likewise.
15917 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/Implies: Remove.
15918 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: Remove.
15919 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: Remove.
15920 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: Remove.
15921 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: Remove.
15922 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Remove.
15923
2e973d99
AZ
15924 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
15925 __ieee754_hypot and __ieee754_hypotf multiarch implementations.
15926 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-power7.c:
15927 New file.
15928 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-ppc32.c:
15929 New file.
15930 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot.c: New file:
15931 multiarch __ieee754_hypot for PowerPC32.
15932 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-power7.c:
15933 New file.
15934 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-ppc32.c:
15935 New file.
15936 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf.c: New file:
15937 multiarch __ieee754_hypotf for PowerPC32.
15938
2d9470b2
AZ
15939 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Define
15940 long_double_symbol only if __logbl is defined.
15941 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Moved to ...
15942 * sysdeps/powerpc/power7/fpu/s_logb.c: ... here.
15943 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: Move to ...
15944 * sysdeps/powerpc/power7/fpu/s_logbf.c: ... here.
15945 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: Move to ...
15946 * sysdeps/powerpc/power7/fpu/s_logbl.c: ... here.
15947 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: Adjust to use new
15948 path for implementation.
15949 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: Likewise.
15950 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: Likewise.
15951 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add logbf,
15952 logb, and logbl multiarch implementations for PowerPC32.
15953 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-power7.c: New
15954 file.
15955 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-ppc32.c: New
15956 file.
15957 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb.c: New file:
15958 multiarch logb for PowerPC32.
15959 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-power7.c: New
15960 file.
15961 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-ppc32.c: New
15962 file.
15963 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf.c: New file:
15964 multiarch logbf for PowerPC32.
15965 * sysdeps/powerpc/power4/fpu/multiarch/s_logbl-power7.c: New file.
15966 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl-ppc32.c: New
15967 file.
15968 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl.c: New file:
15969 multiarch logbl implementation for PowerPC32.
15970
5212ffce
AZ
15971 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add modf
15972 and modff multiarch implementations.
15973 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-power5+.c:
15974 New file.
15975 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-ppc32.c:
15976 New file.
15977 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c: New file:
15978 multiarch modf for PowerPC32.
15979 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-power5+.c:
15980 New file.
15981 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-ppc32.c:
15982 New file.
15983 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff.c: New file:
15984 multiarch modff for PowerPC32.
15985
79dccf31
AZ
15986 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lrint
15987 and lrintf multiarch implementations.
15988 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-power6x.S:
15989 New file.
15990 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-ppc32.S:
15991 New file.
15992 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint.c: New file:
15993 multiarch lrint for PowerPC32.
15994 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrintf.c: New
15995 file: multiarch lrintf for PowerPC32.
15996
deb66480
AZ
15997 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lround
15998 and lroundf multiarch implementations.
15999 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power5+.S:
16000 New file.
16001 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power6.S:
16002 New file.
16003 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-ppc32.S:
16004 New file.
16005 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround.c: New file:
16006 multiarch lround for PowerPC32.
16007 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lroundf.c: New
16008 file: multiarch lroundf for PowerPC32.
16009
264b036b
AZ
16010 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
16011 copysign and copysignf multiarch implementations.
16012 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-power6.S:
16013 New file.
16014 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-ppc32.S:
16015 New file.
16016 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c: New
16017 file: multiarch copysign for PowerPC32.
16018 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysignf.c: New
16019 file: multiarch copysignf for PowerPC32.
16020
d47db6c9
AZ
16021 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add trunc
16022 and truncf multiarch implementations.
16023 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-power5+.S:
16024 New file.
16025 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-ppc32.S: New
16026 file.
16027 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc.c: New file:
16028 multiarch trunc for PowerPC32.
16029 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-power5+.S:
16030 New file.
16031 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-ppc32.S:
16032 New file.
16033 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf.c: New file:
16034 multiarch truncf for PowerPC32.
16035
ddb60b5a
AZ
16036 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add round
16037 and roundf multiarch implementations.
16038 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-power5+.S:
16039 New file.
16040 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-ppc32.S: New
16041 file.
16042 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round.c: New file:
16043 multiarch round for PowerPC32.
16044 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-power5+.S:
16045 New file.
16046 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-ppc32.S:
16047 New file.
16048 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf.c: New file:
16049 multiarch roundf for PowerPC32.
16050
bedcf49b
AZ
16051 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add floor
16052 and floorf multiarch implementations.
16053 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-power5+.S:
16054 New file.
16055 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-ppc32.S: New
16056 file.
16057 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor.c: New file:
16058 multiarch floor for PowerPC32.
16059 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-power5+.S:
16060 New file.
16061 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-ppc32.S:
16062 New file.
16063 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf.c: New file:
16064 multiarch floorf for PowerPC32.
16065
35ae5b40
AZ
16066 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add ceil
16067 and ceilf multiarch implementations.
16068 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-power5+.S:
16069 New file.
16070 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-ppc32.S: New
16071 file.
16072 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil.c: New file:
16073 multiarch ceil for PowerPC32.
16074 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-power5+.S:
16075 New file.
16076 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-ppc32.S: New
16077 file.
16078 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf.c: New file:
16079 multiarch ceilf for PowerPC32.
16080
ae1a4cd9
AZ
16081 * sysdeps/ieee754/dbl-64/s_finite.c (__finite): Redefine it if FINITE
16082 is defined.
16083 * sysdeps/ieee754/flt-32/s_finitef.c (__finitef): Redefine it if
16084 FINITEF is defined.
16085 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add finite
16086 and finitef multiarch implementations.
16087 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-power7.S:
16088 New file.
16089 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-ppc32.c: New
16090 file.
16091 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c: New file:
16092 multiarch finite for PowerPC32.
16093 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef-ppc32.c:
16094 New file.
16095 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef.c: New
16096 file: multiarch finitef for PowerPC32.
16097
64fffd65
AZ
16098 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isinf
16099 and isinff multiarch implementations.
16100 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-power7.S: New
16101 file.
16102 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-ppc32.c: New
16103 file.
16104 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c: New file:
16105 multiarch isinf for PowerPC32.
16106 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff-ppc32.c:
16107 New file.
16108 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff.c: New file:
16109 multiarch isinff for PowerPC32.
16110
8e4e7ba2
AZ
16111 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S (__isnan): Only implement
16112 alias when __isnan is defined.
16113 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isnan
16114 and isnanf multiarch implementations.
16115 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power5.S: New
16116 file.
16117 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power6.S: New
16118 file.
16119 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power7.S: New
16120 file.
16121 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-ppc32.S: New
16122 file.
16123 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c: New file:
16124 multiarch isnan for PowerPC32.
16125 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power6.S:
16126 New file.
16127 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power7.S:
16128 New file.
16129 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf.c: New file:
16130 multiarch isnanf for PowerPC32.
16131
ddba588e
AZ
16132 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add sqrt
16133 and sqrtf multiarch implementations.
16134 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-power5.S: New
16135 file.
16136 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-ppc32.S: New
16137 file.
16138 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt.c: New file:
16139 multiarch sqrt for PowerPC32.
16140 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-power5.S: New
16141 file.
16142 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-ppc32.S: New
16143 file.
16144 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf.c: New file:
16145 multiarch sqrtf for PowerPC32.
16146
0f96a2f0
AZ
16147 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add llround
16148 and llroundf multiarch implementations.
16149 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power5+.S:
16150 New file.
16151 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power6.S:
16152 New file.
16153 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-ppc32.S:
16154 New file.
16155 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround.c: New
16156 file: multiarch llround for PowerPC32.
16157 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llroundf.c: New
16158 file: multiarch llroundf for PowerPC32.
16159
c9b5d79e
AZ
16160 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: New file:
16161 multiarch PowerPC32 fpu implementations.
16162 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-power6.S:
16163 New file.
16164 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-ppc32.S:
16165 New file.
16166 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint.c: New file:
16167 multiarch llrint for PowerPC32.
16168 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-power6.S:
16169 New file.
16170 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-ppc32.S:
16171 New file.
16172 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf.c: New
16173 file.
16174
9cbb3aab
AZ
16175 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/Implies: Remove.
16176
ea5a72f8
AZ
16177 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power6.c: New
16178 file.
16179 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power7.c: New
16180 file.
16181 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c: New
16182 file.
16183 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: New file:
16184 multiarch wordcopy for PPC32.
16185 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
16186 wordcopy objects.
16187 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
16188 (__libc_ifunc_impl_list): Likewise.
16189 * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Move ...
16190 * sysdeps/powerpc/power4/wordcopy.c: ... to here.
16191 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Move ...
16192 * sysdeps/powerpc/power6/wordcopy.c: ... to here.
16193 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Remove uneeded file.
16194 * sysdeps/powerpc/powerpc64/power4/wordcopy.c: Likewise.
16195
93be09e7
AZ
16196 * wcsmbs/wcscpy.c (wcscpy): Using macro to redefine symbol name
16197 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power6.c: New
16198 file.
16199 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power7.c: New
16200 file.
16201 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: New
16202 file.
16203 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: New file:
16204 multiarch wcscpy for PPC32.
16205 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
16206 multiarch objects.
16207 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
16208 (__libc_ifunc_impl_list): Likewise.
16209 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
16210 * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
16211 * sysdeps/powerpc/powerpc64/power6/wcscpy.c: Adjust to use
16212 sysdeps/powerpc/power6/wcscpy.c.
16213
bb04e529
AZ
16214 * wcsmbs/wcsrchr.c (wcsrchr): Using macro to redefine symbol name
16215 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power6.c: New
16216 file.
16217 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power7.c: New
16218 file.
16219 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: New
16220 file.
16221 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: New file:
16222 multiarch wcsrchr for PPC32.
16223 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
16224 multiarch objects.
16225 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
16226 (__libc_ifunc_impl_list): Likewise.
16227 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
16228 * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
16229 * sysdeps/powerpc/powerpc64/power6/wcsrchr.c: Adjust to use
16230 sysdeps/powerpc/power6/wcsrchr.c.
16231
05b5cd1c
AZ
16232 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power6.c: New
16233 file.
16234 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power7.c: New
16235 file.
16236 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: New file.
16237 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: New file:
16238 multiarch wcschr for PPc32.
16239 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
16240 multiarch objects.
16241 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
16242 (__libc_ifunc_impl_list): Likewise.
16243 * sysdeps/powerpc/powerpc32/power6/wcschr.c: Move ...
16244 * sysdeps/powerpc/power6/wcschr.c: ... to here.
16245 * sysdeps/powerpc/powerpc64/power6/wcschr.c: Adjust to use
16246 sysdeps/powerpc/power6/wcschr.c.
16247
ba964147
AZ
16248 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strchr.S: New file.
16249 * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-power7.S: New
16250 file.
16251 * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-ppc32.S: New file.
16252 * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/strchr.c: New
16253 file: multiarch strchr for PPC32.
16254 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchr
16255 multiarch objects.
16256 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
16257 (__libc_ifunc_impl_list): Likewise.
16258
31c81aaa
AZ
16259 * string/strchrnul.c (__strchrnul): Using macro to redefine symbol
16260 name.
16261 * sysdeps/powerpc/powerpc32/power4//multiarch/strchrnul-power7.S: New
16262 file.
16263 * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul-ppc32.c: New
16264 file.
16265 * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: New file:
16266 multiarch strchrnul for PPC32.
16267 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchrnul
16268 multiarch objects.
16269 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
16270 (__libc_ifunc_impl_list): Likewise.
16271
0d0607d9
AZ
16272 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase-power7.c: New
16273 file.
16274 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: New file:
16275 multiarch strncasecmp for PPC32.
16276 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l-power7.c: New
16277 file.
16278 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: New file:
16279 multiarch strncasecmp_l for PPC32.
16280 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added
16281 strncasecmp multiarch objects.
16282 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
16283 (__libc_ifunc_impl_list): Likewise.
16284
4dfd5c86
AZ
16285 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S: New
16286 file.
16287 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: New file:
16288 multiarch strncasecmp for PPC32.
16289 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
16290 New file.
16291 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: New file:
16292 multiarch strcasecmp_l for PPC32.
16293 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strcasecmp
16294 multiarch objects.
16295 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
16296 (__libc_ifunc_impl_list): Likewise.
16297
a19e01a3
AZ
16298 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-power7.S: New
16299 file.
16300 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: New
16301 file.
16302 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: New file:
16303 multiarch strncmp for PPC32.
16304 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strncmp
16305 multiarch objects.
16306 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
16307 (__libc_ifunc_impl_list): Likewise.
16308
ae9cf7a2
AZ
16309 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strnlen.c: New file.
16310 * sysdeps/powerpc/powerpc32//power4/multiarch/strnlen-power7.S: New
16311 file.
16312 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-ppc32.c: New file.
16313 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: New file.
16314 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strnlen
16315 multiarch objects.
16316 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
16317 (__libc_ifunc_impl_list): Likewise.
16318
3148bb7d
AZ
16319 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-power7.S: New
16320 file.
16321 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: New
16322 file.
16323 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: New file.
16324 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strlen
16325 multiarch objects.
16326 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
16327 (__libc_ifunc_impl_list): Likewise.
16328
7af8b946
AZ
16329 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-power7.S: New
16330 file.
16331 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-ppc32.c: New
16332 file.
16333 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: New file:
16334 multiarch rawmemchr for PPC32.
16335 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added rawmemchr
16336 multiarch objects.
16337 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
16338 (__libc_ifunc_impl_list): Likewise.
16339
03a6aa6a
AZ
16340 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-power7.S: New
16341 file.
16342 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: New
16343 file.
16344 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: New
16345 file: memrchr multiarch for PPC32.
16346 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added memrchr
16347 multiarch objects.
16348 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
16349 (__libc_ifunc_impl_list): Likewise.
16350
1c62e6d9
AZ
16351 * string/memchr.c (__memchr): Using macro to redefine symbol name.
16352 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-power7.S: New
16353 file.
16354 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c: New File.
16355 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: New file:
16356 multiarch memchr for PPC32.
16357 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memchr
16358 multiarch objects.
16359 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
16360 (__libc_ifunc_impl_list): Likewise.
16361
87da8bdb
AZ
16362 * string/mempcpy.c (__mempcpy): Using macro to redefine symbol name.
16363 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-power7.S: New
16364 file.
16365 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-ppc32.c: New
16366 file.
16367 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: New
16368 file: multiarch mempcpy for PPC32.
16369 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add mempcpy
16370 multiarch objects.
16371 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
16372 (__libc_ifunc_impl_list): Likewise.
16373
20ed4714
AZ
16374 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power6.S: New file.
16375 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power7.S: New file.
16376 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S: New file.
16377 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: New file:
16378 multiarch bzero for PPC32.
16379 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power6.S: New
16380 file.
16381 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power7.S: New
16382 file.
16383 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: New file.
16384 * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/memset.c: New
16385 file: multiarch memset for PPC32.
16386 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memset.S: New file.
16387 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add bzero and
16388 memset multiarch objects.
16389 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
16390 (__libc_ifunc_impl_list): Likewise.
16391
ab3e3a46
AZ
16392 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-power7.S: New
16393 file.
16394 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: New file.
16395 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: multiarch
16396 memcmp for PPC32.
16397 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memcmp.S: New file.
16398 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcmp
16399 multiarch objects.
16400 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
16401 (__libc_ifunc_impl_list): Likewise.
16402
930de6f0
AZ
16403 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-a2.S: New file.
16404 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-cell.S: New file.
16405 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power6.S: New
16406 file.
16407 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power7.S: New
16408 file.
16409 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: New
16410 file.
16411 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: New file:
16412 multiarch memcpy for PPC32.
16413 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcpy
16414 multiarch objects.
16415 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
16416 (__libc_ifunc_impl_list): Likewise.
16417
4c628e00
AZ
16418 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: New file to
16419 support multiarch for POWER/PPC32.
16420 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c:
16421 Likewise.
16422 * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
16423 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: Remove
16424 Implies file to make multiarch folder appers before the fpu and
16425 default folder for power4 configuration.
16426
f4479220
SP
164272013-12-06 Siddhesh Poyarekar <siddhesh@redhat.com>
16428
16429 * scripts/bench.pl: Append volatile keyword to type.
16430
8517800f
KK
164312013-12-05 Kaz Kojima <kkojima@rr.iij4u.or.jp>
16432
16433 * sysdeps/sh/sotruss-lib.c: New file.
16434 * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: New file.
16435
180138f1
AZ
164362013-12-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16437
16438 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
16439
bbf37bdc
JM
164402013-12-05 Joseph Myers <joseph@codesourcery.com>
16441
e47cc4e0
JM
16442 [BZ #6810]
16443 * math/w_tgamma.c: Include <errno.h>.
16444 (__tgamma): Use __glibc_unlikely. Set errno on underflow to 0.
16445 * math/w_tgammaf.c: Include <errno.h>.
16446 (__tgammaf): Use __glibc_unlikely. Set errno on underflow to 0.
16447 * math/w_tgammal.c: Include <errno.h>.
16448 (__tgammal): Use __glibc_unlikely. Set errno on underflow to 0.
16449 * math/auto-libm-test-in: Do not allow missing errno on tgamma
16450 underflow. Add more tgamma tests.
16451 * math/auto-libm-test-out: Regenerated.
16452 * sysdeps/i386/fpu/libm-test-ulps: Update.
16453 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16454
bbf37bdc
JM
16455 * math/auto-libm-test-in: Add tests of log, log10, log1p, log2,
16456 sin, sinh, tan, tanh, tgamma, y0 and y1.
16457 * math/auto-libm-test-out: Regenerated.
16458 * math/libm-test.inc (TEST_COND_x86_64): New macro.
16459 (TEST_COND_x86): Likewise.
16460 (M_E2l): Remove macro.
16461 (M_E3l): Likewise.
16462 (M_2_SQRT_PIl): Likewise.
16463 (M_SQRT_PIl): Likewise.
16464 (M_1_DIV_El): Likewise.
16465 (log_test_data): Use AUTO_TESTS_f_f.
16466 (log10_test_data): Likewise.
16467 (log1p_test_data): Likewise.
16468 (log2_test_data): Likewise.
16469 (sin_test_data): Likewise.
16470 (sin_tonearest_test_data): Likewise.
16471 (sin_towardzero_test_data): Likewise.
16472 (sin_downward_test_data): Likewise.
16473 (sin_upward_test_data): Likewise.
16474 (sinh_test_data): Likewise.
16475 (sinh_tonearest_test_data): Likewise.
16476 (sinh_towardzero_test_data): Likewise.
16477 (sinh_downward_test_data): Likewise.
16478 (sinh_upward_test_data): Likewise.
16479 (tan_test_data): Likewise.
16480 (tan_tonearest_test_data): Likewise.
16481 (tan_towardzero_test_data): Likewise.
16482 (tan_downward_test_data): Likewise.
16483 (tan_upward_test_data): Likewise.
16484 (tanh_test_data): Likewise.
16485 (tgamma_test_data): Likewise.
16486 (y0_test_data): Likewise.
16487 (y1_test_data): Likewise.
16488 * math/gen-auto-libm-tests.c (special_fill_pi_4): New function.
16489 (special_real_inputs): Add pi/4.
16490 * sysdeps/i386/fpu/libm-test-ulps: Update.
16491 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16492
eb5ad6b9
AZ
164932013-12-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16494
16495 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Add "longjmp" and
16496 "longjmp_target" static probes.
16497 (__longjmp): Rename to __longjmp_symbol.
16498 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
16499 * sysdeps/powerpc/powerpc32/__longjmp.S: Define __longjmp_symbol based
16500 on which longjmp to generate.
16501 * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
16502 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Add "setjmp" static
16503 probe.
16504 (__sigsetjmp): Rename to __sigsetjmp_symbol.
16505 (__sigjmp_save): Rename to __sigjmp_save_symbol.
16506 * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
16507 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Define __sigsetjmp_symbol
16508 and __sigjmp_save_symbol based on which sigsetjmp to generated.
16509 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise
16510 * sysdeps/unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Define
16511 __longjmp_symbol based on which __longjmp to generate.
16512 * sysdeps/powerpc/powerpc64/setjmp-common.S: Add "setjmp" static
16513 probe.
16514 (setjmp): Rename to setjmp_symbol.
16515 (__sigsetjmp): Rename to __sigsetjmp_symbol.
16516 (_setjmp): Rename to _setjmp_symbol.
16517 (__sigsetjmp): Rename to __sigsetjmp_symbol.
16518 * sysdeps/powerpc/powerpc64/setjmp.S: Define setjmp_symbol,
16519 _setjmp_symbol, __sigsetjmp_symbol, and __sigjmp_save_symbol based on
16520 which setjmp to generate.
16521 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Add "longjmp" and
16522 "longjmp_target" static probes.
16523
d136c6dc
SP
165242013-12-05 Siddhesh Poyarekar <siddhesh@redhat.com>
16525
9298ecba
SP
16526 * benchtests/README: Add note about output arguments.
16527 * benchtests/bench-sincos.c: Remove file.
16528 * benchtests/sincos-inputs: New file.
16529 * scripts/bench.pl: Identify output arguments and define
16530 static variables for them.
16531
232983e9
SP
16532 * debug/stpncpy_chk.c (__stpncpy_chk): Remove unused variables.
16533
d136c6dc
SP
16534 [BZ #15941]
16535 * Makefile (INSTALL): Add install-plain.texi as the primary
16536 dependency.
16537 * manual/install-plain.texi: New file.
16538 * manual/install.texi: Include node directive only for
16539 non-plaintext output.
16540
699ff837
JM
165412013-12-04 Joseph Myers <joseph@codesourcery.com>
16542
ab07cea8
JM
16543 * stdlib/longlong.h: Update from GCC.
16544
699ff837
JM
16545 [BZ #6807]
16546 [BZ #15901]
16547 * math/w_j0.c (y0): Raise FE_DIVBYZERO on zero argument.
16548 * math/w_j0f.c (y0f): Likewise.
16549 * math/w_j0l.c (__y0l): Likewise.
16550 * math/w_j1.c (y1): Likewise.
16551 * math/w_j1f.c (y1f): Likewise.
16552 * math/w_j1l.c (__y1l): Likewise
16553 * math/w_jn.c (yn): Likewise.
16554 * math/w_jnf.c (ynf): Likewise.
16555 * sysdeps/ieee754/k_standard.c (__kernel_standard): Use ERANGE for
16556 Bessel function pole errors in _POSIX_ mode. Use NAN as return
16557 value for Bessel function domain errors outside _SVID_ mode.
16558 Adjust sign of return value for yn (negative integer, 0).
16559 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Use division
16560 by zero in return for negative x and set sign appropriately for
16561 negative n.
16562 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Likewise.
16563 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
16564 * math/libm-test.inc (y0_test_data): Add more tests and adjust
16565 expectations in error cases.
16566 (y1_test_data): Likewise.
16567 (yn_test_data): Likewise.
16568 * sysdeps/i386/fpu/libm-test-ulps: Update.
16569 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16570
5b118558
UW
165712013-11-12 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
16572
16573 * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-variants): Rename
16574 "64" to "64-v1". Add "64-v2".
16575 (abi-64-options): Rename to ...
16576 (abi-64-v1-options): ... this. Redefine _CALL_ELF.
16577 (abi-64-condition): Rename to ...
16578 (abi-64-v1-condition): ... this. Add _CALL_ELF check.,
16579 (abi-64-ld-soname): Rename to ...
16580 (abi-64-v1-ld-soname): ... this.
16581 (abi-64-v2-options): Define.
16582 (abi-64-v2-condition): Likewise.
16583 (abi-64-v2-ld-soname): Likewise.
16584 * sysdeps/unix/sysv/linux/powerpc/ldconfig.h
16585 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add "/lib64/ld64.so.2".
16586 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: Delete file.
16587 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: New file.
16588 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Generate.
16589
61cd8fe4
UW
165902013-11-12 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
16591 Alan Modra <amodra@gmail.com>
16592
16593 * sysdeps/powerpc/bits/link.h (La_ppc64v2_regs, La_ppc64v2_retval):
16594 New versions for use with the ELFv2 ABI.
16595 (la_ppc64v2_gnu_pltenter, la_ppc64v2_gnu_pltexit): Add prototypes.
16596 * sysdeps/powerpc/lsdodefs.h (struct La_ppc64v2_regs): Add forward
16597 declaration.
16598 (struct La_ppc64v2_retval): Likewise.
16599 (ARCH_PLTENTER_MEMBERS): Add ppc64v2_gnu_pltenter.
16600 (ARCH_PLTEXIT_MEMBERS): Add ppc64v2_gnu_pltexit.
16601 * sysdeps/powerpc/powerpc64/dl-machine.h (ARCH_LA_PLTENTER): Define
16602 to ppc64v2_gnu_pltenter if _CALL_ELF == 2.
16603 (ARCH_LA_PLTEXIT): Define to ppc64v2_gnu_pltexit if _CALL_ELF == 2.
16604 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
16605 Do not save or restore CR.
16606 (FRAME_SIZE, VR_RTN): Provide updated values for _CALL_ELF == 2.
16607 (_dl_profile_resolve): Do no save or restore CR. Support extended
16608 return values for ELFv2 ABI. Fix location of FPR return registers.
16609 * sysdeps/powerpc/powerpc64/tst-audit.h (pltenter, pltexit): Provide
16610 updated values for _CALL_ELF == 2.
16611 (La_regs, La_retval, int_retval): Likewise.
16612
8b8a692c
UW
166132013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
16614
16615 * sysdeps/powerpc/powerpc64/sysdep.h (FRAME_MIN_SIZE): Define.
16616 (FRAME_MIN_SIZE_PARM): Likewise.
16617 (FRAME_BACKCHAIN): Likewise.
16618 (FRAME_CR_SAVE): Likewise.
16619 (FRAME_LR_SAVE): Likewise.
16620 (FRAME_TOC_SAVE): Likewise.
16621 (FRAME_PARM_SAVE): Likewise.
16622 (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE,
16623 FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE,
16624 FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
16625 (call_mcount_parm_offset): New macro.
16626 (SAVE_ARG, REST_ARG, CFI_SAVE_ARG): Use it.
16627 (PROF): Use symbolic stack frame offsets.
16628 (TAIL_CALL_SYSCALL_ERROR): Likewise.
16629 * sysdeps/powerpc/powerpc64/dl-trampoline.S (FRAME_SIZE, INT_PARMS):
16630 Redefine in terms of FRAME_MIN_SIZE.
16631 (_dl_runtime_resolve): Use symbolic stack frame offsets.
16632 (_dl_profile_resolve): Likewise. Update comment.
16633 * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Use
16634 symbols stack frame offsets.
16635 (__sigsetjmp): Likewise.
16636 * sysdeps/powerpc/powerpc64/__longjmp-common.S (__longjmp): Likewise.
16637 * sysdeps/powerpc/powerpc64/ppc-mcount.S (_mcount): Likewise.
16638 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Likewise.
16639 * sysdeps/powerpc/powerpc64/crtn.S (_init, _fini): Likewise.
16640
16641 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ucontext_i.sym
16642 (FRAME_BACKCHAIN): Remove.
16643 (FRAME_CR_SAVE): Likewise.
16644 (FRAME_LR_SAVE): Likewise.
16645 (FRAME_COMPILER_DW): Likewise.
16646 (FRAME_LINKER_DW): Likewise.
16647 (FRAME_TOC_SAVE): Likewise.
16648 (FRAME_PARM_SAVE): Likewise.
57f41c40
AS
16649 (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE)
16650 (FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE)
16651 (FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
8b8a692c
UW
16652 * sysdeps/unix/sysv/linux/powerpc/powerpc64/____longjmp_chk.S
16653 (CHECK_SP): Use symbolic stack frame offsets.
16654 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Use "red
16655 zone" instead of caller's parameter save area for temp storage.
16656 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
16657 Likewise. Also, use symbolic stack frame offsets.
16658 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (FRAMESIZE,
16659 stackblock): Redefine for _CALL_ELF == 2 to save parameters into
16660 our own stack frame instead of the caller's.
16661 (__socket): Use symbolic stack frame offsets.
16662
122b66de
UW
166632013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
16664 Alan Modra <amodra@gmail.com>
16665
16666 * elf/elf.h (DT_PPC64_OPT, PPC64_OPT_TLS, PPC64_OPT_MULTI_TOC):
16667 Define.
57f41c40
AS
16668 (STO_PPC64_LOCAL_BIT, STO_PPC64_LOCAL_MASK)
16669 (PPC64_LOCAL_ENTRY_OFFSET): Define.
122b66de
UW
16670 * sysdeps/powerpc/powerpc64/dl-machine.h (ppc64_local_entry_offset):
16671 New function.
16672 (elf_machine_fixup_plt): Call it.
16673 (elf_machine_plt_conflict): Likewise. Add map, sym_map, and
16674 reloc arguments.
16675 (elf_machine_rela): Update call to elf_machine_plt_conflict.
57f41c40
AS
16676 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
16677 (_dl_profile_resolve) [_CALL_ELF == 2]: Restore caller's TOC into
122b66de
UW
16678 r2 before calling target.
16679
696caf1d
UW
166802013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
16681 Alan Modra <amodra@gmail.com>
16682
16683 * sysdeps/powerpc/powerpc64/sysdep.h [_CALL_ELF == 2]
16684 (PPC64_LOAD_FUNCPTR, DOT_LABEL, BODY_LABEL, ENTRY_2, END_2): New
16685 versions of macros to support ELFv2 ABI.
16686 (LOCALENTRY): New macro.
16687 (ENTRY, EALIGN): Use it.
16688 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use LOCALENTRY.
16689 * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Do not
16690 fall through into ENTRY entry point.
16691 * libc/sysdeps/powerpc/powerpc64/dl-machine.h (Elf64_FuncDesc):
16692 Only define if _CALL_ELF != 2.
16693
16694 (elf_machine_matches_host): Verify ABI version matches.
16695 (RTLD_START): Use LOCALENTRY.
16696 (elf_machine_type_class): Use SHN_UNDEF PLT handling for ELFv2 ABI.
16697 (PLT_INITIAL_ENTRY_WORDS): New version for _CALL_ELF != 2.
16698 (PLT_ENTRY_WORDS): New macro.
16699 (GLINK_INITIAL_ENTRY_WORDS, GLINK_ENTRY_WORDS): Likewise.
16700 (elf_machine_runtime_setup): Support ELFv2 ABI.
16701 (elf_machine_fixup_plt): Likewise.
16702 (elf_machine_plt_conflict): Likewise.
16703 (resolve_ifunc): Likewise.
16704 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
16705 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
16706 Likewise.
16707 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ldsodefs.h
16708 (DL_ADDR_SYM_MATCH): Only define if _CALL_ELF != 2.
16709 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
16710 (makecontext): Support ELFv2 ABI.
16711 * elf/elf.h (EF_PPC64_ABI): Define.
16712
d31beafa
UW
167132013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
16714
57f41c40
AS
16715 * sysdeps/powerpc/powerpc64/sysdep.h
16716 (PPC64_LOAD_FUNCPTR) [ASSEMBLER]: New assembler macro.
16717 (ENTRY_1) [ASSEMBLER]: Do not switch to .text section here ...
16718 (ENTRY) [ASSEMBLER]: ... but instead here ...
16719 (EALIGN) [ASSEMBLER]: ... and here.
16720 (PPC64_LOAD_FUNCPTR) [!ASSEMBLER]: New macro.
16721 (ENTRY_1) [!ASSEMBLER]: New macro; set up .opd entry.
16722 (ENTRY_2) [!ASSEMBLER]: Use it.
d31beafa
UW
16723 * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Update for
16724 ENTRY_2 changes. Use PPC64_LOAD_FUNCPTR.
57f41c40
AS
16725 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
16726 (_dl_profile_resolve): Use PPC64_LOAD_FUNCPTR.
d31beafa
UW
16727 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use ENTRY_2.
16728 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (clone):
16729 Use PPC64_LOAD_FUNCPTR.
16730
b525166b
UW
16731 * sysdeps/powerpc/tls.h (tcbhead_t): Add __private_ss field.
16732
7ec07d9a
AM
167332013-12-04 Alan Modra <amodra@gmail.com>
16734
16735 * elf/elf.h (R_PPC64_TLSGD, R_PPC64_TLSLD, R_PPC64_TOCSAVE): Define.
16736 (R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA): Likewise.
16737 (R_PPC64_TPREL16_HIGH, R_PPC64_TPREL16_HIGHA): Likewise.
16738 (R_PPC64_DTPREL16_HIGH, R_PPC64_DTPREL16_HIGHA): Likewise.
16739
16740 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Add
16741 overflow checking for R_PPC64_ADDR16_HI, R_PPC64_ADDR16_HA,
16742 R_PPC64_TPREL16_HI, and R_PPC64_TPREL16_HA.
16743 Support new R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA,
16744 R_PPC64_TPREL16_HIGH, and R_PPC64_TPREL16_HIGHA relocations.
16745 Fix overflow checking for R_PPC64_ADDR30 and R_PPC64_ADDR32.
16746
5162e7dd
UW
167472013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
16748
16749 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
16750 (__makecontext): Fix incorrect CFI when backtracing out of
16751 context created via makecontext.
16752 * sysdeps/unix/sysv/linux/powerpc/powerpc64/secontext.S
16753 (__setcontext): Fix incorrect CFI during switch to new context.
16754 (__novec_setcontext): Likewise.
16755
19e3372b
OB
167562013-12-04 Ondřej Bílka <neleai@seznam.cz>
16757
16758 [BZ #4772]
16759 * time/strptime_l.c (__strptime_internal): Allow modifiers
16760 in strptime.
16761 * time/tst-strptime.c (day_tests): Add testcase.
16762
ecaf142d
SP
167632013-12-04 Siddhesh Poyarekar <siddhesh@redhat.com>
16764
16765 * scripts/bench.pl: Skip over blank lines.
16766
fbf964ae
PE
167672013-12-04 Paul Eggert <eggert@cs.ucla.edu>
16768
16769 [BZ #926]
16770 * manual/time.texi (Calendar Time): Clarify what timezone functions
16771 use.
16772
fa60a674
AZ
167732013-12-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16774
16775 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
16776
d674f0ef
OB
167772013-12-04 Ondřej Bílka <neleai@seznam.cz>
16778
16779 * debug/memcpy_chk.c (__memcpy_chk): Use call instead of custom
16780 implementation.
16781 * debug/memmove_chk.c (MEMMOVE_CHK): Likewise.
16782 * debug/mempcpy_chk.c (__mempcpy_chk): Likewise.
16783 * debug/memset_chk.c (__memset_chk): Likewise.
16784 * debug/stpncpy_chk.c (__stpncpy_chk): Likewise.
16785 * debug/strncpy_chk.c: Likewise.
16786
17dea188
JM
167872013-12-03 Joseph Myers <joseph@codesourcery.com>
16788
749008ff
JM
16789 [BZ #15268]
16790 [BZ #15425]
16791 * sysdeps/ieee754/dbl-64/e_exp.c: Include <float.h>.
16792 (__ieee754_exp): For possibly underflowing results, check size of
16793 result and force underflow exception if required.
16794 * math/auto-libm-test-in: Add more tests of exp.
16795 * math/auto-libm-test-out: Regenerated.
16796 * sysdeps/i386/fpu/libm-test-ulps: Update.
16797 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16798
17dea188
JM
16799 [BZ #16283]
16800 * math/w_exp2.c (__exp2): Handle a zero result as underflow.
16801 * math/w_exp2f.c (__exp2f): Likewise.
16802 * math/w_exp2l.c (__exp2l): Likewise.
16803 * math/auto-libm-test-in: Do not allow missing errno on exp2
16804 underflow.
16805 * math/auto-libm-test-out: Regenerated.
16806
b20de2c3
OB
168072013-12-03 Ondřej Bílka <neleai@seznam.cz>
16808
16809 [BZ #16274]
16810 * sysdeps/unix/sysv/linux/shm_open.c (shm_open): Correctly
16811 handle filename validation.
16812 * rt/tst-shm.c (do_test): Do not skip a test when shm_open fails.
16813 (do_open): Delete.
16814
d8e2dbe3
JM
168152013-12-03 Joseph Myers <joseph@codesourcery.com>
16816
34e16df5
JM
16817 [BZ #6786]
16818 * sysdeps/ieee754/dbl-64/s_erf.c: Include <errno.h> and <float.h>.
16819 (__erfc): Set errno to ERANGE when returning 0 or tiny * tiny.
16820 * sysdeps/ieee754/flt-32/s_erff.c: Include <errno.h> and
16821 <float.h>.
16822 (__erfcf): Set errno to ERANGE when returning 0 or tiny * tiny.
16823 * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <errno.h>.
16824 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
16825 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <errno.h>.
16826 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
16827 * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <errno.h>.
16828 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
16829 * math/auto-libm-test-in: Don't allow missing errno from erfc.
16830 Add more erfc tests.
16831 * math/auto-libm-test-out: Regenerated.
16832 * sysdeps/i386/fpu/libm-test-ulps: Update.
16833 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16834
d8e2dbe3
JM
16835 * math/auto-libm-test-in: Add tests of erf, erfc, exp, exp10,
16836 exp2, expm1, j0 and j1.
16837 * math/auto-libm-test-out: Regenerated.
16838 * math/libm-test.inc (erf_test_data): Use AUTO_TESTS_f_f.
16839 (erfc_test_data): Likewise.
16840 (exp_test_data): Likewise.
16841 (exp_tonearest_test_data): Likewise.
16842 (exp_towardzero_test_data): Likewise.
16843 (exp_downward_test_data): Likewise.
16844 (exp_upward_test_data): Likewise.
16845 (exp10_test_data): Likewise.
16846 (exp2_test_data): Likewise.
16847 (expm1_test_data): Likewise.
16848 (j0_test_data): Likewise.
16849 (j1_test_data): Likewise.
16850 * math/gen-auto-libm-tests.c: Mention "xfail-rounding" in comment.
16851 (input_flag_type): Add flag_xfail_rounding.
16852 (input_flags): Add xfail-rounding.
16853 (adjust_real): Assert mpfr_number_p not mpfr_regular_p.
16854 (output_for_one_input_case): Handle flag_xfail_rounding.
16855 * sysdeps/i386/fpu/libm-test-ulps: Update.
16856 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16857
18d14251
AJ
168582013-12-03 Aurelien Jarno <aurelien@aurel32.net>
16859
3d2e6075 16860 [BZ #16289]
18d14251
AJ
16861 * locale/loadarchive.c (_nl_load_locale_from_archive): Avoid
16862 division by 0.
16863
520d437b
SP
168642013-12-03 Siddhesh Poyarekar <siddhesh@redhat.com>
16865
16866 [BZ #16195]
16867 * include/stap-probe.h [!USE_STAP_PROBE && !__ASSEMBLER__]
16868 (LIBC_PROBE): Change definition to call STAP_PROBE* macros.
16869 (STAP_PROBE0): New macro.
16870 (STAP_PROBE1): Likewise.
16871 (STAP_PROBE2): Likewise.
16872 (STAP_PROBE3): Likewise.
16873 (STAP_PROBE4): Likewise.
16874
416e0145
OB
168752013-12-02 Ondřej Bílka <neleai@seznam.cz>
16876
16877 * manual/llio.texi (Memory-mapped I/O): Add shm_open and shm_close.
16878
9d17796a
SE
168792013-12-02 Steve Ellcey <sellcey@mips.com>
16880
16881 * benchtests/Makefile (bench): Add sqrt.
16882 (LDLIBS-bench-sqrt): New.
16883 * benchtests/sqrt-input: New.
16884
f524d6a8
PS
168852013-12-02 Pavel Simerda <psimerda@redhat.com>
16886
639a0ef8
PS
16887 * sysdeps/posix/getaddrinfo.c (GAIH_OKIFUNSPEC): Remove macro.
16888 (GAIH_EAI): Likewise.
16889 (gaih_inet_serv): Don't use GAIH_OKIFUNSPEC.
16890 (gaih_inet): Likewise.
16891 (getaddrinfo): Don't use GAIH_EAI.
16892
f524d6a8
PS
16893 * sysdeps/posix/getaddrinfo.c (UNIX_PATH_MAX): Remove macro.
16894 (struct gaih): Remove definition.
16895
df3aedaf
SP
168962013-12-02 Siddhesh Poyarekar <siddhesh@redhat.com>
16897
16898 * nss/nss_files/files-hosts.c (_nss_files_gethostbyname4_r):
16899 Use HERRNOP directly.
16900
1ab19dec
AZ
169012013-12-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16902
b42ad38d 16903 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1ab19dec 16904
176b0c79
JM
169052013-11-30 Joseph Myers <joseph@codesourcery.com>
16906
16907 * math/gen-auto-libm-tests.c (test_functions): Add more
16908 single-argument functions.
16909 (special_fill_pi_2): New function.
16910 (special_fill_minus_pi_2): Likewise.
16911 (special_fill_pi_6): Likewise.
16912 (special_fill_minus_pi_6): Likewise.
16913 (special_fill_pi_3): Likewise.
16914 (special_fill_2pi_3): Likewise.
16915 (special_fill_e): Likewise.
16916 (special_fill_1_e): Likewise.
16917 (special_fill_e_minus_1): Likewise.
16918 (special_real_inputs): Add more special inputs.
16919 (output_for_one_input_case): Do not require ERANGE on underflow to
16920 zero if round-to-nearest result does not underflow to zero, unless
16921 exact results required.
16922 * math/auto-libm-test-in: Add tests of acos, acosh, asin, asinh,
16923 atan, atanh, cbrt, cos and cosh.
16924 * math/auto-libm-test-out: Regenerated.
16925 * math/libm-test.inc (acos_test_data): Use AUTO_TESTS_f_f.
16926 (acos_tonearest_test_data): Likewise.
16927 (acos_towardzero_test_data): Likewise.
16928 (acos_downward_test_data): Likewise.
16929 (acos_upward_test_data): Likewise.
16930 (acosh_test_data): Likewise.
16931 (asin_test_data): Likewise.
16932 (asin_tonearest_test_data): Likewise.
16933 (asin_towardzero_test_data): Likewise.
16934 (asin_upward_test_data): Likewise.
16935 (asinh_test_data): Likewise.
16936 (atan_test_data): Likewise.
16937 (atanh_test_data): Likewise.
16938 (cbrt_test_data): Likewise.
16939 (cos_test_data): Likewise.
16940 (cos_tonearest_test_data): Likewise.
16941 (cos_towardzero_test_data): Likewise.
16942 (cos_downward_test_data): Likewise.
16943 (cos_upward_test_data): Likewise.
16944 (cosh_test_data): Likewise.
16945 (cosh_tonearest_test_data): Likewise.
16946 (cosh_towardzero_test_data): Likewise.
16947 (cosh_downward_test_data): Likewise.
16948 (cosh_upward_test_data): Likewise.
16949 * sysdeps/i386/fpu/libm-test-ulps: Update.
16950 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16951
ffb536d0
JM
169522013-11-29 Joseph Myers <joseph@codesourcery.com>
16953
2a77a467
JM
16954 [BZ #6787]
16955 * math/w_exp10.c (__exp10): Handle a zero result as underflow.
16956 * math/w_exp10f.c (__exp10f): Likewise.
16957 * math/w_exp10l.c (__exp10l): Likewise.
16958 * math/libm-test.inc (exp10_test_data): Add more tests and expect
16959 errno settings in existing tests.
16960
ea3bc4e8
JM
16961 [BZ #14032]
16962 * sysdeps/i386/fpu/e_sqrt.S (__ieee754_sqrt): Do fsqrt with
16963 precision control set to double precision.
16964 * sysdeps/i386/fpu/w_sqrt.c: New file.
16965 * math/auto-libm-test-in: Add more tests.
16966 * math/auto-libm-test-out: Update.
16967
0712c9d8
JM
16968 * math/libm-test.inc (sqrt_tonearest_test_data): New variable.
16969 (sqrt_test_tonearest): New function.
16970 (sqrt_towardzero_test_data): New variable.
16971 (sqrt_test_towardzero): New function.
16972 (sqrt_downward_test_data): New variable.
16973 (sqrt_test_downward): New function.
16974 (sqrt_upward_test_data): New variable.
16975 (sqrt_test_upward): New function.
16976 (main): Call the new functions.
16977
ffb536d0
JM
16978 * math/gen-auto-libm-tests.c: New file.
16979 * math/auto-libm-test-in: Likewise.
16980 * math/auto-libm-test-out: New generated file.
16981 * math/gen-libm-test.pl ($auto_input, %auto_tests): New global
16982 variables.
16983 (%beautify): Add generated representations of zero.
16984 (top level): Set $auto_input and call parse_auto_input.
16985 (beautify): Remove trailing "f" from hex float constants.
16986 (parse_args): Handle XFAIL_TEST.
16987 (convert_condition): New function.
16988 (or_value): Likewise.
16989 (or_cond_value): Likewise.
16990 (generate_testfile): Handle AUTO_TESTS_* lines.
16991 (parse_auto_input): New function.
16992 * math/libm-test.inc (XFAIL_TEST): New macro.
16993 (ERRNO_UNCHANGED): Update value.
16994 (ERRNO_EDOM): Likewise.
16995 (ERRNO_ERANGE): Likewise.
16996 (IGNORE_RESULT): Likewise.
16997 (TEST_COND_flt_32): New macro.
16998 (TEST_COND_dbl_64): Likewise.
16999 (TEST_COND_ldbl_96_intel): Likewise.
17000 (TEST_COND_ldbl_96_m68k): Likewise.
17001 (TEST_COND_ldbl_128): Likewise.
17002 (TEST_COND_ldbl_128ibm): Likewise.
17003 (TEST_COND_long32): Likewise.
17004 (TEST_COND_long64): Likewise.
17005 (TEST_COND_before_rounding): Likewise.
17006 (TEST_COND_after_rounding): Likewise.
17007 (enable_test): Handle XFAIL_TEST flag.
17008 (sqrt_test_data): Use AUTO_TESTS_f_f for tests of finite inputs
17009 with finite results.
17010 * math/Makefile ($(objpfx)libm-test.stmp): Depend on
17011 auto-libm-test-out.
17012
acd98a8e
AK
170132013-11-29 Siddhesh Poyarekar <siddhesh@redhat.com>
17014 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
17015
17016 [BZ #16214]
17017 * sysdeps/s390/dl-tls.h (__TLS_GET_ADDR): Invoke
17018 __tls_get_addr_internal instead of __tls_get_offset in order to
17019 avoid GOT pointer dependency. Make rtld export
17020 __tls_get_addr_internal@@GLIBC_PRIVATE while still hiding
17021 __tls_get_addr since we are a __tls_get_offset platform.
17022 * sysdeps/s390/s390-64/tls-macros.h (TLS_IE PIC): Don't rely on
17023 GOT pointer being set up before.
17024 * sysdeps/s390/s390-32/tls-macros.h (TLS_IE PIC): Likewise.
17025
3c1c46a6
JM
170262013-11-28 Joseph Myers <joseph@codesourcery.com>
17027
7475aef5
JM
17028 * manual/math.texi (Errors in Math Functions): Document accuracy
17029 goals.
17030
8bca7cd8
JM
17031 [BZ #15004]
17032 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Remove file.
17033 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: Likewise.
17034 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
17035 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
17036 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
17037 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
17038 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
17039 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
17040 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
17041 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
17042 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
17043 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
17044 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
17045 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
17046 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
17047 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
17048
91a1f3fe
JM
17049 * sysdeps/powerpc/nofpu/atomic-feclearexcept.c: New file.
17050 * sysdeps/powerpc/nofpu/atomic-feholdexcept.c: Likewise.
17051 * sysdeps/powerpc/nofpu/atomic-feupdateenv.c: Likewise.
17052 * sysdeps/powerpc/nofpu/flt-rounds.c: Likewise.
17053 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feclearexcept.c:
17054 Likewise.
17055 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feholdexcept.c:
17056 Likewise.
17057 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feupdateenv.c:
17058 Likewise.
17059 * sysdeps/powerpc/powerpc32/e500/nofpu/flt-rounds.c: Likewise.
17060 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = soft-fp]
17061 (sysdep_routines): Add atomic-feholdexcept, atomic-feclearexcept,
17062 atomic-feupdateenv and flt-rounds.
17063 * sysdeps/powerpc/nofpu/Versions (libc): Add
17064 __atomic_feholdexcept, __atomic_feclearexcept,
17065 __atomic_feupdateenv and __flt_rounds to GLIBC_2.19.
17066 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h
17067 (__feraiseexcept_soft): Declare and use libc_hidden_proto here.
17068 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c
17069 (__feraiseexcept_soft): Don't declare and use libc_hidden_proto
17070 here.
17071 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
17072 Update.
17073
c5df7609
JM
17074 * manual/arith.texi (FP Exceptions): Document that exceptions may
17075 not be raised when matherr is used.
17076 (Math Error Reporting): Document overflow in directed rounding
17077 modes. Document that errno may not be set when finite values are
17078 returned on overflow. Document intent to set errno on underflow
17079 only for underflow to zero.
17080
3c1c46a6
JM
17081 [BZ #16271]
17082 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Set
17083 round-to-nearest then adjust result for other rounding modes.
17084 * include/fenv.h (fegetround): Use libm_hidden_proto.
17085 * math/fegetround.c (fegetround): Use libm_hidden_def.
17086 * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
17087 * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
17088 * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
17089 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
17090 Likewise.
17091 * sysdeps/s390/fpu/fegetround.c (fegetround): Likewise.
17092 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
17093 * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
17094 * sysdeps/x86_64/fpu/fegetround.c (fegetround): Likewise.
17095
5a4c6d53
SP
170962013-11-28 Siddhesh Poyarekar <siddhesh@redhat.com>
17097
17098 [BZ #16077]
17099 * nss/Versions (libnss_files): Add
17100 _nss_files_gethostbyname3_r.
17101 * nss/nss_files/files-hosts.c (_nss_files_gethostbyname3_r):
17102 New function.
17103 (HOST_DB_LOOKUP): Remove macro.
17104 (_nss_files_gethostbyname_r): Implement function without the
17105 HOST_DB_LOOKUP macro.
17106 (_nss_files_gethostbyname2_r): Likewise.
17107
897b98ba
OB
171082013-11-28 Ondřej Bílka <neleai@seznam.cz>
17109
17110 * malloc/malloc.c (__libc_calloc): Make memset a tail call.
17111
6f476861
UB
171122013-11-26 Uros Bizjak <ubizjak@gmail.com>
17113
17114 * soft-fp/op-4.h (_FP_FRAC_ASSEMBLE_4): Check rsize against
17115 _FP_W_TYPE_SIZE to avoid "left shift count >= width of type"
17116 warning.
17117
bd12ab55
AZ
171182013-11-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17119
17120 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Use
17121 __fe_nomask_env_priv instead of __fe_nomask_env to avoid a PLT call.
17122 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
17123 * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Likewise.
17124 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Rename to
17125 __fe_nomask_env_priv and attribute_hidden.
17126 * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetenv_ppc): Likewise.
17127 (libc_feupdateenv_test_ppc): Likewise.
17128 (libc_feresetround_ppc): Likewise.
17129 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
17130 (__fe_nomask_env): Rename to __fe_nomask_env_priv and adjust
17131 compat_symbol macro.
17132 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
17133 (__fe_nomask_env): Likewise.
17134 * sysdeps/powerpc/fpu/fe_nomask.c (__fe_nomask_env): Likewise.
17135
52bb6543
OB
171362013-11-26 Ondřej Bílka <neleai@seznam.cz>
17137
17138 * string/Makefile: Remove ifunc tests.
17139 * string/test-string.h: Define TEST_IFUNC.
17140 * string/test-bcopy-ifunc.c: Remove.
17141 * string/test-bzero-ifunc.c: Likewise.
17142 * string/test-memccpy-ifunc.c: Likewise.
17143 * string/test-memchr-ifunc.c: Likewise.
17144 * string/test-memcmp-ifunc.c: Likewise.
17145 * string/test-memcpy-ifunc.c: Likewise.
17146 * string/test-memmem-ifunc.c: Likewise.
17147 * string/test-memmove-ifunc.c: Likewise.
17148 * string/test-mempcpy-ifunc.c: Likewise.
17149 * string/test-memrchr-ifunc.c: Likewise.
17150 * string/test-memset-ifunc.c: Likewise.
17151 * string/test-rawmemchr-ifunc.c: Likewise.
17152 * string/test-stpcpy-ifunc.c: Likewise.
17153 * string/test-stpncpy-ifunc.c: Likewise.
17154 * string/test-strcasecmp-ifunc.c: Likewise.
17155 * string/test-strcasestr-ifunc.c: Likewise.
17156 * string/test-strcat-ifunc.c: Likewise.
17157 * string/test-strchr-ifunc.c: Likewise.
17158 * string/test-strchrnul-ifunc.c: Likewise.
17159 * string/test-strcmp-ifunc.c: Likewise.
17160 * string/test-strcpy-ifunc.c: Likewise.
17161 * string/test-strcspn-ifunc.c: Likewise.
17162 * string/test-strlen-ifunc.c: Likewise.
17163 * string/test-strncasecmp-ifunc.c: Likewise.
17164 * string/test-strncat-ifunc.c: Likewise.
17165 * string/test-strncmp-ifunc.c: Likewise.
17166 * string/test-strncpy-ifunc.c: Likewise.
17167 * string/test-strnlen-ifunc.c: Likewise.
17168 * string/test-strpbrk-ifunc.c: Likewise.
17169 * string/test-strrchr-ifunc.c: Likewise.
17170 * string/test-strspn-ifunc.c: Likewise.
17171 * string/test-strstr-ifunc.c: Likewise.
17172
ab260039 171732013-11-26 Ondřej Bílka <neleai@seznam.cz>
2787db97
OB
17174
17175 * benchtests/Makefile: Remove ifunc tests.
17176 * benchtests/bench-string.h: Define TEST_IFUNC.
17177 * benchtests/bench-bcopy-ifunc.c: Remove.
17178 * benchtests/bench-bzero-ifunc.c: Likewise.
17179 * benchtests/bench-memccpy-ifunc.c: Likewise.
17180 * benchtests/bench-memchr-ifunc.c: Likewise.
17181 * benchtests/bench-memcmp-ifunc.c: Likewise.
17182 * benchtests/bench-memcpy-ifunc.c: Likewise.
17183 * benchtests/bench-memmem-ifunc.c: Likewise.
17184 * benchtests/bench-memmove-ifunc.c: Likewise.
17185 * benchtests/bench-mempcpy-ifunc.c: Likewise.
17186 * benchtests/bench-memrchr-ifunc.c: Likewise.
17187 * benchtests/bench-memset-ifunc.c: Likewise.
17188 * benchtests/bench-rawmemchr-ifunc.c: Likewise.
17189 * benchtests/bench-stpcpy_chk-ifunc.c: Likewise.
17190 * benchtests/bench-stpcpy-ifunc.c: Likewise.
17191 * benchtests/bench-stpncpy-ifunc.c: Likewise.
17192 * benchtests/bench-strcasecmp-ifunc.c: Likewise.
17193 * benchtests/bench-strcasestr-ifunc.c: Likewise.
17194 * benchtests/bench-strcat-ifunc.c: Likewise.
17195 * benchtests/bench-strchr-ifunc.c: Likewise.
17196 * benchtests/bench-strchrnul-ifunc.c: Likewise.
17197 * benchtests/bench-strcmp-ifunc.c: Likewise.
17198 * benchtests/bench-strcpy_chk-ifunc.c: Likewise.
17199 * benchtests/bench-strcpy-ifunc.c: Likewise.
17200 * benchtests/bench-strcspn-ifunc.c: Likewise.
17201 * benchtests/bench-strlen-ifunc.c: Likewise.
17202 * benchtests/bench-strncasecmp-ifunc.c: Likewise.
17203 * benchtests/bench-strncat-ifunc.c: Likewise.
17204 * benchtests/bench-strncmp-ifunc.c: Likewise.
17205 * benchtests/bench-strncpy-ifunc.c: Likewise.
17206 * benchtests/bench-strnlen-ifunc.c: Likewise.
17207 * benchtests/bench-strpbrk-ifunc.c: Likewise.
17208 * benchtests/bench-strrchr-ifunc.c: Likewise.
a9503496 17209 * benchtests/bench-strsep-ifunc.c: Likewise.
2787db97
OB
17210 * benchtests/bench-strspn-ifunc.c: Likewise.
17211 * benchtests/bench-strstr-ifunc.c: Likewise.
17212
172132013-11-26 Ondřej Bílka <neleai@seznam.cz>
17214
ab260039
OB
17215 * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Fix typo.
17216
d1d9eaf4 172172013-11-26 Ondřej Bílka <neleai@seznam.cz>
2787db97 17218
d1d9eaf4
OB
17219 * resolv/netdb.h: Use __glibc_reserved instead __unused.
17220 * rt/aio.h: Likewise.
17221 * sysdeps/gnu/bits/utmp.h: Likewise.
17222 * sysdeps/gnu/bits/utmpx.h: Likewise.
17223 * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
17224 * sysdeps/unix/sysv/linux/bits/ipc.h: Likewise.
17225 * sysdeps/unix/sysv/linux/bits/msq.h: Likewise.
17226 * sysdeps/unix/sysv/linux/bits/sem.h: Likewise.
17227 * sysdeps/unix/sysv/linux/bits/shm.h: Likewise.
17228 * sysdeps/unix/sysv/linux/bits/stat.h: Likewise.
17229 * sysdeps/unix/sysv/linux/kernel_stat.h: Likewise.
17230 * sysdeps/unix/sysv/linux/ntp_gettimex.c: Likewise.
17231 * sysdeps/unix/sysv/linux/powerpc/bits/ipc.h: Likewise.
17232 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h: Likewise.
17233 * sysdeps/unix/sysv/linux/powerpc/bits/sem.h: Likewise.
17234 * sysdeps/unix/sysv/linux/powerpc/bits/shm.h: Likewise.
17235 * sysdeps/unix/sysv/linux/powerpc/bits/stat.h: Likewise.
17236 * sysdeps/unix/sysv/linux/powerpc/powerpc32/kernel_stat.h: Likewise.
17237 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
17238 * sysdeps/unix/sysv/linux/s390/bits/ipc.h: Likewise.
17239 * sysdeps/unix/sysv/linux/s390/bits/msq.h: Likewise.
17240 * sysdeps/unix/sysv/linux/s390/bits/sem.h: Likewise.
17241 * sysdeps/unix/sysv/linux/s390/bits/shm.h: Likewise.
17242 * sysdeps/unix/sysv/linux/s390/bits/stat.h: Likewise.
17243 * sysdeps/unix/sysv/linux/s390/bits/utmp.h: Likewise.
17244 * sysdeps/unix/sysv/linux/s390/bits/utmpx.h: Likewise.
17245 * sysdeps/unix/sysv/linux/s390/s390-32/utmp32.h: Likewise.
17246 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
17247 * sysdeps/unix/sysv/linux/sh/bits/shm.h: Likewise.
17248 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
17249 * sysdeps/unix/sysv/linux/sparc/bits/ipc.h: Likewise.
17250 * sysdeps/unix/sysv/linux/sparc/bits/msq.h: Likewise.
17251 * sysdeps/unix/sysv/linux/sparc/bits/sem.h: Likewise.
17252 * sysdeps/unix/sysv/linux/sparc/bits/shm.h: Likewise.
17253 * sysdeps/unix/sysv/linux/sparc/bits/stat.h: Likewise.
17254 * sysdeps/unix/sysv/linux/sparc/sparc32/kernel_stat.h: Likewise.
17255 * sysdeps/unix/sysv/linux/sparc/sparc64/kernel_stat.h: Likewise.
17256 * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
17257 * sysdeps/unix/sysv/linux/sparc/sys/procfs.h: Likewise.
17258 * sysdeps/unix/sysv/linux/sys/timex.h: Likewise.
17259 * sysdeps/unix/sysv/linux/x86/bits/msq.h: Likewise.
17260 * sysdeps/unix/sysv/linux/x86/bits/sem.h: Likewise.
17261 * sysdeps/unix/sysv/linux/x86/bits/shm.h: Likewise.
17262 * sysdeps/unix/sysv/linux/x86/bits/stat.h: Likewise.
17263 * sysdeps/unix/sysv/linux/xstatconv.c: Likewise.
17264 * sysdeps/x86/fpu/bits/fenv.h: Likewise.
17265
a7624ed9
CD
172662013-11-25 Carlos O'Donell <carlos@redhat.com>
17267
17268 [BZ #16245]
17269 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes):
17270 Rename PTRAVE_EVENT_SECCOMP to PTRACE_EVENT_SECCOMP.
17271
63cfe52b
JM
172722013-11-25 Joseph Myers <joseph@codesourcery.com>
17273
17274 * sysdeps/powerpc/nofpu/fenv_libc.h (__fegetround): New macro.
17275 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
17276 Likewise.
17277
41e8926a
AZ
172782013-11-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17279
17280 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Use
17281 SET_RESTORE_ROUND instead of feholdexcept/fesetround/fesetenv.
17282 * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove define.
17283 (__fesetround): Remove define.
17284 * sysdeps/powerpc/fpu/fenv_private.h: New file: Inline floating point
17285 rounding and exceptions handling.
17286 * sysdeps/powerpc/fpu/math_private.h: Include fenv_private.h.
17287 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_mask_env): Define as hidden.
17288 (__fe_nomask_env): Likewise.
17289 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Use
17290 __fegetround instead of fegetround.
17291 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
17292 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c (__rintl): Likewise.
17293
6851bd4d
RM
172942013-11-21 Roland McGrath <roland@hack.frob.com>
17295
070906ff
RM
17296 * malloc/malloc.c: Move #include <sys/param.h> to the top; comment why
17297 it's there.
17298
6851bd4d
RM
17299 * sysdeps/generic/sys/swap.h (swapon): Add FLAGS argument to prototype.
17300
84ae135d
MI
173012013-11-21 Meador Inge <meadori@codesourcery.com>
17302
17303 [BZ #11157]
17304 * crypt/crypt.h (encrypt): Use __glibc_block instead of __block.
17305 (encrypt_r): Likewise.
17306 * malloc/obstack.h (obstack_free): Likewise.
17307 * posix/unistd.h (encrypt): Likewise.
17308
daf75146
GM
173092013-11-21 Guy Martin <gmsoft@tuxicoman.be>
17310
17311 * sysdeps/generic/ldsodefs.h: Replace DL_DT_INIT_ADDRESS() and
17312 DL_DT_FINI_ADDRESS() macro with DL_CALL_DT_INIT() and
17313 DL_CALL_DT_FINI() that call the functions directly.
17314 * elf/dl-init.c: Use the new DL_CALL_DT_INIT() macro.
17315 * elf/dl-close.c: Use the new DL_CALL_DT_FINI() macro.
17316 * elf/dl-fini.c: Likewise.
17317
10ad46bc
OB
173182013-11-20 Ondřej Bílka <neleai@seznam.cz>
17319
17320 * malloc/hooks.c (memalign_check): Add alignment rounding.
17321 * malloc/malloc.c (_mid_memalign): New function.
17322 (__libc_valloc, __libc_pvalloc, __libc_memalign, __posix_memalign):
17323 Implement by calling _mid_memalign.
17324 * manual/probes.texi (Memory Allocation Probes): Remove
17325 memory_valloc_retry and memory_pvalloc_retry.
17326
f3fd2628
SP
173272013-11-20 Siddhesh Poyarekar <siddhesh@redhat.com>
17328
4712799f
SP
17329 * locale/programs/locarchive.c (open_archive): Add const
17330 qualifier to ARCHIVEFNAME and copy default fname to
17331 DEFAULT_FNAME.
17332
0417b20f
SP
17333 [BZ #15601]
17334 * libio/tst-widetext.input: Rename Oriya to Odia.
17335 * locale/iso-639.def: Likewise.
17336
f3fd2628
SP
17337 * manual/probes.texi (Mathematical Function Probes): Add
17338 documentation for sin, cos, asin and acos probes.
17339 * sysdeps/ieee754/dbl-64/sincos32.c: Include stap-probe.h.
17340 (__sin32): Add slowasin probe.
17341 (__cos32): Add slowacos probe.
17342 (__mpsin): Add slowsin probe.
17343 (__mpcos): Add slowcos probe.
17344
73c1ce4f
JM
173452013-11-19 Joseph Myers <joseph@codesourcery.com>
17346
17347 [BZ #15483]
17348 * sysdeps/powerpc/nofpu/sim-full.c (__sim_exceptions): Change to
17349 thread-local __sim_exceptions_thread and global
17350 __sim_exceptions_global.
17351 (__sim_disabled_exceptions): Change to thread-local
17352 __sim_disabled_exceptions_thread and global
17353 __sim_disabled_exceptions_global.
17354 (__sim_round_mode): Change to thread-local __sim_round_mode_thread
17355 and global __sim_round_mode_global.
17356 (__simulate_exceptions): Use thread-local floating-point state and
17357 set global state from it as needed.
17358 * sysdeps/powerpc/nofpu/Versions (GLIBC_PRIVATE): Add
17359 __sim_exceptions_thread, __sim_disabled_exceptions_thread and
17360 __sim_round_mode_thread.
17361 * sysdeps/powerpc/nofpu/soft-supp.h: Include <shlib-compat.h>.
17362 (__sim_exceptions): Change to thread-local __sim_exceptions_thread
17363 and global __sim_exceptions_global.
17364 (__sim_disabled_exceptions): Change to thread-local
17365 __sim_disabled_exceptions_thread and global
17366 __sim_disabled_exceptions_global.
17367 (__sim_round_mode): Change to thread-local __sim_round_mode_thread
17368 and global __sim_round_mode_global.
17369 [SIM_GLOBAL_COMPAT] (SIM_COMPAT_SYMBOL): New macro.
17370 (SIM_SET_GLOBAL): Likewise.
17371 * sysdeps/powerpc/soft-fp/sfp-machine.h
17372 [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_ROUNDMODE): Use
17373 __sim_round_mode_thread.
17374 [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_TRAPPING_EXCEPTIONS): Use
17375 __sim_disabled_exceptions_thread.
17376 (__sim_exceptions): Change to __sim_exceptions_thread.
17377 (__sim_disabled_exceptions): Change to
17378 __sim_disabled_exceptions_thread.
17379 (__sim_round_mode): Change to __sim_round_mode_thread.
17380 * sysdeps/powerpc/nofpu/fclrexcpt.c (__feclearexcept): Use
17381 thread-local floating-point state and set global state from it as
17382 needed.
17383 * sysdeps/powerpc/nofpu/fedisblxcpt.c (fedisableexcept): Likewise.
17384 * sysdeps/powerpc/nofpu/feenablxcpt.c: Include "soft-supp.h".
17385 (__sim_disabled_exceptions): Remove extern declaration.
17386 (feenableexcept): Use thread-local floating-point state and set
17387 global state from it as needed.
17388 * sysdeps/powerpc/nofpu/fegetenv.c (__sim_exceptions): Remove
17389 extern declaration.
17390 (__sim_disabled_exceptions): Likewise.
17391 (__sim_round_mode): Likewise.
17392 (__fegetenv): Use thread-local floating-point state.
17393 * sysdeps/powerpc/nofpu/fegetexcept.c (fegetexcept): Likewise.
17394 * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
17395 * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Use thread-local
17396 floating-point state and set global state from it as needed.
17397 * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Likewise.
17398 * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
17399 * sysdeps/powerpc/nofpu/fgetexcptflg.c (__fegetexceptflag):
17400 Likewise.
17401 * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
17402 * sysdeps/powerpc/nofpu/fsetexcptflg.c (__fesetexceptflag):
17403 Likewise.
17404 sysdeps/powerpc/nofpu/ftestexcept.c (fetestexcept): Likewise.
17405 * sysdeps/powerpc/nofpu/get-rounding-mode.h (get_rounding_mode):
17406 Use __sim_round_mode_thread.
17407 * math/test-fenv-tls.c: New file.
17408 * math/Makefile (tests): Add test-fenv-tls.
17409 ($(objpfx)test-fenv-tls): Depend on
17410 $(common-objpfx)nptl/libpthread.so.
17411
b5449b12
AS
174122013-11-19 Andreas Schwab <schwab@suse.de>
17413
17414 * locale/programs/locale.c (show_info): Decode wordarray elements.
17415 * locale/categories.def (LC_MONETARY): Add element for
17416 _NL_MONETARY_CRNCYSTR.
17417 * locale/C-monetary.c (conversion_rate): New variable.
17418 (_nl_C_LC_MONETARY): Use it for _NL_MONETARY_CONVERSION_RATE
17419 element.
17420
e186536b
CM
174212013-11-18 Chris Metcalf <cmetcalf@tilera.com>
17422
17423 * math/test-fpucw-ieee.c [!defined _FPU_IEEE] (FPU_CONTROL):
17424 Omit definition of FPU_CONTROL and use default if no _FPU_IEEE.
17425
5c349950
PP
174262013-11-18 Paul Pluzhnikov <ppluzhnikov@google.com>
17427
17428 * elf/Makefile (tst-auxv): New test.
17429 * elf/tst-auxv.c: New
17430 * elf/rtld.c (dl_main): Adjust AT_EXECFN
17431
699df45b
JM
174322013-11-18 Joseph Myers <joseph@codesourcery.com>
17433
17434 * include/libc-symbols.h (__hidden_proto): Add argument "thread".
17435 (hidden_proto): Caller changed.
17436 (hidden_tls_proto): New macro.
17437 (libc_hidden_tls_proto): Likewise.
17438 (rtld_hidden_tls_proto): Likewise.
17439 (libm_hidden_tls_proto): Likewise.
17440 (libresolv_hidden_tls_proto): Likewise.
17441 (librt_hidden_tls_proto): Likewise.
17442 (libdl_hidden_tls_proto): Likewise.
17443 (libnss_files_hidden_tls_proto): Likewise.
17444 (libnsl_hidden_tls_proto): Likewise.
17445 (libnss_nisplus_hidden_tls_proto): Likewise.
17446 (libutil_hidden_tls_proto): Likewise.
17447
b7589107
OB
174482013-11-18 Ondřej Bílka <neleai@seznam.cz>
17449
17450 [BZ #10253]
17451 * elf/dl-load.c (fillin_rpath): Add linkmap parameter and expand path.
17452 (decompose_rpath): Defer expansion to fillin_rpath.
17453 (_dl_init_paths): Pass linkmap to fillin_rpath.
17454
250c23bd
RS
174552013-11-18 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
17456
17457 * benchtests/Makefile: Add strsep.
17458 * benchtests/bench-strsep.c: New file: strsep benchtest.
17459 * benchtests/bench-strsep-ifunc.c: New file: strsep benchtest.
17460
a7931fcf
AS
174612013-11-18 Andreas Schwab <schwab@suse.de>
17462
17463 * locale/programs/locale.c (show_info) [case byte]: Check for
17464 '\377' instead of '\177'.
17465 * locale/C-monetary.c (not_available): Always use "\377".
17466 * stdlib/strfmon_l.c (__vstrfmon_l): Use -2 as marker for
17467 unspecified p_sign_posn and n_sign_posn. Check for '\377' to
17468 detect unavailable sign_posn locale elements.
17469 * locale/localeconv.c (__localeconv): For grouping and
17470 mon_grouping handle "\177" and "\377" like no grouping.
17471 (INT_ELEM): New macro. Use it to set all numeric members.
17472 * locale/programs/ld-monetary.c (monetary_read)
17473 <tok_mon_grouping>: Normalize single -1 to the empty string.
17474 * locale/programs/ld-numeric.c (numeric_read) <tok_grouping>:
17475 Likewise.
17476
728dab0e
OB
174772013-11-07 Ondřej Bílka <neleai@seznam.cz>
17478
17479 [BZ #16055]
17480 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Limit width
17481 when we match (nil).
17482 * stdio-common/tst-sscanf.c (struct test): Add testcase.
17483
66294491
JM
174842013-11-16 Joseph Myers <joseph@codesourcery.com>
17485
ce665817
JM
17486 * math/libm-test.inc (TEST_NAN_SIGN): New macro.
17487 (NO_TEST_INLINE): Update value.
17488 (ERRNO_UNCHANGED): Likewise.
17489 (ERRNO_EDOM): Likewise.
17490 (ERRNO_ERANGE): Likewise.
17491 (IGNORE_RESULT): Likewise.
17492 (check_float_internal): Check signs of NaN results if
17493 TEST_NAN_SIGN used.
17494 (check_complex): Pass TEST_NAN_SIGN flag through to second
17495 check_float_internal call.
17496 (copysign_test_data): Add tests with quiet NaNs as second
17497 argument. Use TEST_NAN_SIGN.
17498 (fabs_test_data): Add test of negative quiet NaN argument. Use
17499 TEST_NAN_SIGN.
17500 (signbit_test_data): Add tests of quiet NaN argument.
17501 * math/gen-libm-test.pl (parse_args): Handle TEST_NAN_SIGN.
17502
ee1466a9
JM
17503 * math/gen-libm-test.pl (show_exceptions): Take extra argument
17504 $ignore_result.
17505 (parse_args): Handle function results specified as IGNORE.
17506 * math/libm-test.inc (IGNORE_RESULT): New macro.
17507 (check_float_internal): Do not check numerical result if flag
17508 IGNORE_RESULT set.
17509 (check_complex): Pass through IGNORE_RESULT to second
17510 check_float_internal call.
17511 (check_int): Do not check numerical result if flag IGNORE_RESULT
17512 set.
17513 (check_long): Likewise.
17514 (check_bool): Likewise.
17515 (check_longlong): Likewise.
17516 (lrint_test_data): Add tests of infinite and NaN arguments.
17517 (lrint_tonearest_test_data): Likewise.
17518 (lrint_towardzero_test_data): Likewise.
17519 (lrint_downward_test_data): Likewise.
17520 (lrint_upward_test_data): Likewise.
17521 (llrint_test_data): Likewise.
17522 (llrint_tonearest_test_data): Likewise.
17523 (llrint_towardzero_test_data): Likewise.
17524 (llrint_downward_test_data): Likewise.
17525 (llrint_upward_test_data): Likewise.
17526 (lround_test_data): Likewise.
17527 (llround_test_data): Likewise.
17528
14407b7e
JM
17529 * math/libm-test.inc (NO_TEST_INLINE): New macro.
17530 (ERRNO_UNCHANGED): Update value.
17531 (ERRNO_EDOM): Likewise.
17532 (ERRNO_ERANGE): Likewise.
17533 (NO_TEST_INLINE_FLOAT): New macro.
17534 (NO_TEST_INLINE_DOUBLE): Likewise.
17535 (enable_test): New function.
17536 (RUN_TEST_f_f): Check enable_test before running test.
17537 (RUN_TEST_2_f): Likewise.
17538 (RUN_TEST_fff_f): Likewise.
17539 (RUN_TEST_c_f): Likewise.
17540 (RUN_TEST_f_f1): Likewise.
17541 (RUN_TEST_fF_f1): Likewise.
17542 (RUN_TEST_fI_f1): Likewise.
17543 (RUN_TEST_ffI_f1): Likewise.
17544 (RUN_TEST_c_c): Likewise.
17545 (RUN_TEST_cc_c): Likewise.
17546 (RUN_TEST_f_i): Likewise.
17547 (RUN_TEST_f_i_tg): Likewise.
17548 (RUN_TEST_ff_i_tg): Likewise.
17549 (RUN_TEST_f_b): Likewise.
17550 (RUN_TEST_f_b_tg): Likewise.
17551 (RUN_TEST_f_l): Likewise.
17552 (RUN_TEST_f_L): Likewise.
17553 (RUN_TEST_fFF_11): Likewise.
17554 (asinh_test_data): Use NO_TEST_INLINE instead of [!TEST_INLINE]
17555 conditionals.
17556 (cosh_test_data): Likewise.
17557 (exp_test_data): Likewise.
17558 (expm1_test_data): Likewise.
17559 (hypot_test_data): Likewise.
17560 (pow_test_data): Likewise.
17561 (sinh_test_data): Likewise.
17562 (tanh_test_data): Likewise.
17563 * math/gen-libm-test.pl (parse_args): Allow NO_TEST_INLINE as
17564 flags argument.
17565
ca07f197
JM
17566 * libm-test.inc (acos_test_data): Disallow inexact exceptions for
17567 tests with quiet NaN input and output.
17568 (acosh_test_data): Likewise.
17569 (asin_test_data): Likewise.
17570 (asinh_test_data): Likewise.
17571 (atan_test_data): Likewise.
17572 (atanh_test_data): Likewise.
17573 (atan2_test_data): Likewise.
17574 (cbrt_test_data): Likewise.
17575 (cos_test_data): Likewise.
17576 (cosh_test_data): Likewise.
17577 (erf_test_data): Likewise.
17578 (erfc_test_data): Likewise.
17579 (exp_test_data): Likewise.
17580 (exp10_test_data): Likewise.
17581 (exp2_test_data): Likewise.
17582 (expm1_test_data): Likewise.
17583 (hypot_test_data): Likewise.
17584 (j0_test_data): Likewise.
17585 (j1_test_data): Likewise.
17586 (jn_test_data): Likewise.
17587 (lgamma_test_data): Likewise.
17588 (log_test_data): Likewise.
17589 (log10_test_data): Likewise.
17590 (log1p_test_data): Likewise.
17591 (log2_test_data): Likewise.
17592 (pow_test_data): Likewise.
17593 (scalb_test_data): Likewise.
17594 (sin_test_data): Likewise.
17595 (sincos_test_data): Likewise.
17596 (sinh_test_data): Likewise.
17597 (tan_test_data): Likewise.
17598 (tanh_test_data): Likewise.
17599 (tgamma_test_data): Likewise.
17600 (y0_test_data): Likewise.
17601 (y1_test_data): Likewise.
17602 (yn_test_data): Likewise.
17603
66294491
JM
17604 [BZ #16167]
17605 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Check for first
17606 argument being NaN and avoid computations with second argument in
17607 that case.
17608 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
17609 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
17610 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
17611
1820b143
CL
176122013-11-15 Arun Kumar Pyasi <arun@chitwanix.com>
17613
17614 * locale/iso-639.def: Add Chitwani Tharu (the).
17615
714bd261
AS
176162013-11-14 Andreas Schwab <schwab@suse.de>
17617
17618 * locale/C-address.c (_nl_C_LC_ADDRESS): Set country_num to zero
17619 word instead of empty string.
17620
7ab44563
AZ
176212013-11-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17622
17623 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
17624 (__fe_nomask_env): Fir compat symbol to be remove for GLIBC_2.19.
17625 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
17626 (__fe_nomask_env): Likewise.
17627
e8470ea2
SE
176282013-11-13 Steve Ellcey <sellcey@mips.com>
17629
17630 * benchtests/bench-timing.h: Include time.h.
17631
17c1d9f0
L
176322013-11-13 H.J. Lu <hongjiu.lu@intel.com>
17633
17634 [BZ #15997]
17635 * sysdeps/unix/sysv/linux/configure.ac (arch_minimum_kernel): Set
17636 to 3.4.0 for x32.
17637 * sysdeps/unix/sysv/linux/configure: Regenerated.
17638
9310c284
JM
176392013-11-13 Joseph Myers <joseph@codesourcery.com>
17640
17641 [BZ #16151]
17642 * stdlib/strtod_l.c (round_and_return): Do not consider
17643 retval[RETURN_LIBM_SIZE - 1] when determining more_bits for an
17644 exponent one less than half the least subnormal exponent.
17645 * stdlib/test-strtod-round-data: Add more tests.
17646 * stdlib/tst-strtod-round.c (tests): Regenerated.
17647
7a2ad8cf
AZ
176482013-11-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17649
17650 [BZ #14143]
17651 * sysdeps/powerpc/bits/fenv.h (__fe_nomask_env): Remove declaration.
17652 (__fe_mask_env): Likewise.
17653 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Remove
17654 libm_hidden_proto and add function prototype.
17655 (__fe_mask_env): Add function prototype.
17656 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
17657 (__fe_nomask_env): Add compat symbol for GLIBC_2.1.
17658 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
17659 (__fe_mask_env): Remove compiler warnings regarding ununsed variables.
17660 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
17661 (__fe_nomask_env): Add compat symbol for GLIBC_2.3.
17662
50727aa7
MS
176632013-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
17664
b2f386c1 17665 * elf/dl-lookup.c (_dl_lookup_symbol_x): If UNDEF_MAP is false
50727aa7
MS
17666 set reference_name to "" to avoid passing NULL to DSO_FILENAME.
17667
a615be46
MS
176682013-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
17669
17670 * elf/tlsdeschtab.h (_dl_make_tlsdesc_dynamic): Handle failure
17671 of htab_find_slot().
17672
7ddace62
DM
176732013-11-11 David S. Miller <davem@davemloft.net>
17674
17675 [BZ #16150]
17676 * sysdeps/sparc/sparc64/multiarch/add_n.S: Resolve to the correct generic
17677 symbol in the non-vis3 case in static builds.
17678 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: Likewise.
17679 * sysdeps/sparc/sparc64/multiarch/mul_1.S: Likewise.
17680 * sysdeps/sparc/sparc64/multiarch/sub_n.S: Likewise.
17681 * sysdeps/sparc/sparc64/multiarch/submul_1.S: Likewise.
17682
9182aa67
JK
176832013-11-11 Jan Kratochvil <jan.kratochvil@redhat.com>
17684
17685 [BZ #387]
17686 * elf/dl-object.c (_dl_new_object): Initialize L_NAME from NEWNAME if
17687 it is empty.
17688
450a2e2d
AZ
176892013-11-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17690
b2f386c1
SP
17691 * benchtests/Makefile: Add bench-strtod.
17692 * benchtests/bench-strtod.c: New file: strtod benchtest
450a2e2d 17693
8ec3f656
AS
176942013-11-11 Andreas Schwab <schwab@suse.de>
17695
17696 [BZ #16153]
17697 * nscd/nscd_getserv_r.c (__nscd_getservbyport_r): Don't include
17698 terminating NUL in key length.
17699
76a9b998
AZ
177002013-11-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17701
17702 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
17703 Add artificial ODP entry for vDSO symbol for PPC64.
17704 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Adjust includes.
17705 * sysdeps/unix/sysv/linux/powerpc/time.c: Likewise.
17706
e4368156
OB
177072013-11-07 Ondřej Bílka <neleai@seznam.cz>
17708
17709 [BZ #15374]
17710 * nss/getent.c (services_keys): Recognize services starting with digit.
17711
8d6bb57c
DM
177122013-11-06 David S. Miller <davem@davemloft.net>
17713
17714 [BZ #15985]
17715 * sysdeps/sparc/sparc32/fpu/s_fdim.S (__fdim): Do not use fnegd
17716 on pre-v9 cpus, use a fnegs+fmovs sequence instead.
17717
e256c421
WN
177182013-11-06 Will Newton <will.newton@linaro.org>
17719
17720 * manual/memory.texi (Malloc Examples): Remove register
17721 keyword from examples.
17722
f6e12daa 177232013-11-04 Chris Leonard <cjl@sugarlabs.org>
1484e657 17724
f6e12daa 17725 * locale/iso-639.def: Correct Walaita (wal) and add Unami Delaware (unm).
1484e657 17726
9d880655
AS
177272013-11-04 Joseph Myers <joseph@codesourcery.com>
17728
fd2f9486 17729 [BZ #6981]
9d880655
AS
17730 * include/stdc-predef.h [__GCC_IEC_559] (__STDC_IEC_559__): Define
17731 depending on [__GCC_IEC_559 > 0].
17732 [__GCC_IEC_559_COMPLEX] (__STDC_IEC_559_COMPLEX__): Define
17733 depending on [__GCC_IEC_559_COMPLEX > 0].
17734
ae129d3c
CL
177352013-11-03 Chris Leonard <cjl@sugarlabs.org>
17736
17737 * locale/iso-639.def: Add Quechua, Southern (quz) and Silesian (szl)
17738 to iso-639.def.
17739
4a15c2a4 177402013-11-03 Ondřej Bílka <neleai@seznam.cz>
17c8c3dc
OB
17741
17742 * elf/rtld.c: Remove unused NONTLS_INIT_TP.
17743
8b35e35d
OB
177442013-11-01 Ondřej Bílka <neleai@seznam.cz>
17745
17746 [BZ #16112]
17747 * malloc/malloc (malloc_info): Do not handle first bin as
17748 special case.
17749
1d70fd6c
CL
177502013-11-01 Chris Leonard <cjl@sugarlabs.org>
17751
17752 * locale/iso-639.def: Add Central Nahuatl (nhn).
17753
8c5c2600
BH
177542013-11-01 Bruno Haible <bruno@clisp.org>
17755
17756 [BZ #7003]
17757 * manual/math.texi (BSD Random): Specify range upper bound as
17758 in POSIX.
17759
da5579c2
CL
177602013-10-31 Chris Leonard <cjl@sugarlabs.org>
17761
17762 * locale/iso-639.def: Add Meadow Mari (mhr).
17763
5d30d853
OB
177642013-10-31 Ondřej Bílka <neleai@seznam.cz>
17765
17766 [BZ #14752], [BZ #15763]
17767 * sysdeps/unix/sysv/linux/shm_open.c (shm_open, shm_unlink):
17768 Validate name.
17769 * rt/tst_shm.c: Add test for escaping directory.
17770
a4966c61
AS
177712013-10-31 Andreas Schwab <schwab@suse.de>
17772
8a43e768 17773 [BZ #15917]
a4966c61
AS
17774 * stdio-common/vfscanf.c (_IO_vfwscanf): Handle leading '0' not
17775 followed by 'x' as part of digit sequence.
17776 * stdio-common/tst-sscanf.c (double_tests2): New tests.
17777
28d708c4
MAP
177782013-10-31 Marc-Antoine Perennou <Marc-Antoine@Perennou.com>
17779
17780 [BZ #16037]
17781 * configure.ac: allow GNU Make 4.0 and greater.
17782 * configure: Regenerated.
17783
a56ee40b
WN
177842013-10-30 Will Newton <will.newton@linaro.org>
17785
17786 [BZ #16038]
17787 * malloc/hooks.c (memalign_check): Limit alignment to the
17788 maximum representable power of two.
17789 * malloc/malloc.c (__libc_memalign): Likewise.
17790 * malloc/tst-memalign.c (do_test): Add test for very
17791 large alignment values.
17792 * malloc/tst-posix_memalign.c (do_test): Likewise.
17793
c6e4925d
OB
177942013-10-30 Ondřej Bílka <neleai@seznam.cz>
17795
17796 [BZ #11087]
17797 * malloc/malloc.c (sysmalloc): Compute statistics atomically.
17798 (munmap_chunk): Likewise.
17799 (mremap_chunk): Likewise.
17800
178012013-10-30 Ondřej Bílka <neleai@seznam.cz>
bbea82f7 17802
8a43e768 17803 [BZ #15799]
bbea82f7
OB
17804 * stdlib/div.c (div): Remove obsolete code.
17805 * stdlib/ldiv.c (ldiv): Likewise.
17806 * stdlib/lldiv.c (lldiv): Likewise.
17807
977f4b31
SP
178082013-10-30 Siddhesh Poyarekar <siddhesh@redhat.com>
17809
17810 [BZ #16071]
17811 * nss/nss_files/files-XXX.c (get_contents_ret): New
17812 enumerator.
17813 (get_contents): New function.
17814 (internal_getent): Use it. Expand size of LINEBUFLEN.
17815
cb8a6dbd
MF
178162013-10-30 Mike Frysinger <vapier@gentoo.org>
17817
17818 * configure.in: Moved to ...
17819 * configure.ac: ... here. Change reference to configure.in
17820 to configure.ac.
17821 * sysdeps/arm/preconfigure.ac: ... here.
17822 configure.in to configure.ac.
17823 * sysdeps/gnu/configure.in: Moved to ...
17824 * sysdeps/gnu/configure.ac: ... here.
17825 * sysdeps/i386/configure.in: Moved to ...
17826 * sysdeps/i386/configure.ac: ... here.
17827 * sysdeps/ieee754/ldbl-opt/configure.in: Moved to ...
17828 * sysdeps/ieee754/ldbl-opt/configure.ac: ... here.
17829 * sysdeps/mach/configure.in: Moved to ...
17830 * sysdeps/mach/configure.ac: ... here.
17831 * sysdeps/mach/hurd/configure.in: Moved to ...
17832 * sysdeps/mach/hurd/configure.ac: ... here.
17833 * sysdeps/powerpc/configure.in: Moved to ...
17834 * sysdeps/powerpc/configure.ac: ... here.
17835 * sysdeps/powerpc/powerpc32/configure.in: Moved to ...
17836 * sysdeps/powerpc/powerpc32/configure.ac: ... here.
17837 * sysdeps/powerpc/powerpc64/configure.in: Moved to ...
17838 * sysdeps/powerpc/powerpc64/configure.ac: ... here.
17839 * sysdeps/s390/s390-32/configure.in: Moved to ...
17840 * sysdeps/s390/s390-32/configure.ac: ... here.
17841 * sysdeps/s390/s390-64/configure.in: Moved to ...
17842 * sysdeps/s390/s390-64/configure.ac: ... here.
17843 * sysdeps/sh/configure.in: Moved to ...
17844 * sysdeps/sh/configure.ac: ... here.
17845 * sysdeps/sparc/configure.in: Moved to ...
17846 * sysdeps/sparc/configure.ac: ... here.
17847 * sysdeps/unix/sysv/linux/configure.in: Moved to ...
17848 * sysdeps/unix/sysv/linux/configure.ac: ... here.
17849 * sysdeps/unix/sysv/linux/powerpc/configure.in: Moved to ...
17850 * sysdeps/unix/sysv/linux/powerpc/configure.ac: ... here.
17851 * sysdeps/x86_64/configure.in: Moved to ...
17852 * sysdeps/x86_64/configure.ac: ... here.
17853 * sysdeps/x86_64/preconfigure.in: Moved to ...
17854 * sysdeps/x86_64/preconfigure.ac: ... here.
17855 * aclocal.m4: Change reference to configure.in to configure.ac.
17856 * config.h.in: Likewise.
17857 * manual/install.texi: Likewise.
17858 * manual/maint.texi: Likewise.
17859 * Makefile: Likewise.
17860 * malloc/Makefile: Likewise.
17861 * nscd/Makefile: Likewise.
17862 * Makeconfig: Change reference to configure.in and
17863 preconfigure.in to configure.ac and preconfigure.ac
17864 respectively.
17865 * INSTALL: Regenerated.
17866 * configure: Likewise.
17867 * sysdeps/gnu/configure: Likewise.
17868 * sysdeps/i386/configure: Likewise.
17869 * sysdeps/ieee754/ldbl-opt/configure: Likewise.
17870 * sysdeps/mach/configure: Likewise.
17871 * sysdeps/mach/hurd/configure: Likewise.
17872 * sysdeps/powerpc/configure: Likewise.
17873 * sysdeps/powerpc/powerpc32/configure: Likewise.
17874 * sysdeps/powerpc/powerpc64/configure: Likewise.
17875 * sysdeps/s390/s390-32/configure: Likewise.
17876 * sysdeps/s390/s390-64/configure: Likewise.
17877 * sysdeps/sh/configure: Likewise.
17878 * sysdeps/sparc/configure: Likewise.
17879 * sysdeps/unix/sysv/linux/configure: Likewise.
17880 * sysdeps/unix/sysv/linux/powerpc/configure: Likewise.
17881 * sysdeps/x86_64/configure: Likewise.
17882 * sysdeps/x86_64/preconfigure: Likewise.
17883
36a4953a
AS
178842013-10-29 Andreas Schwab <schwab@suse.de>
17885
17886 * stdio-common/Makefile (tst-swscanf-ENV): Define.
17887
c79a1204
SP
178882013-10-28 Siddhesh Poyarekar <siddhesh@redhat.com>
17889
dfa1b402
SP
17890 * benchtests/pow-inputs: Add new inputs.
17891
54f73d9c
SP
17892 * benchtests/exp-inputs: Add new inputs.
17893
c79a1204
SP
17894 * sysdeps/ieee754/dbl-64/sincos32.c (__sin32): Consolidate
17895 conditional check for return value.
17896 (__cos32): Likewise.
17897
67beb545 178982013-10-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
69f13dbf
AZ
17899
17900 * sysdeps/powerpc/powerpc64/strcpy.S (strcpy): Add word load/store
17901 to provide a boost for large inputs with word alignment.
17902 * sysdeps/powerpc/powerpc64/stpcpy.S (__stpcpy): Rewrite
17903 implementation based on optimized PPC64 strcpy.
17904 * sysdeps/powerpc/powerpc64/power7/strcpy.S: New file: optimized
17905 strcpy for PPC64/POWER7 based on both doubleword and word load/store.
17906 * sysdeps/powerpc/powerpc64/power7/stpcpy.S: New file: optimized
17907 stpcpy for PPC64/POWER7 based on PPC64/POWER7 strcpy.
17908
151659f6
OB
179092013-10-25 Ondřej Bílka <neleai@seznam.cz>
17910
482a077e 17911 [BZ #2801]
151659f6
OB
17912 * manual/socket.texi (Host Names): Fix gethostbyname_r example.
17913
10b0f26b
OB
179142013-10-25 Ondřej Bílka <neleai@seznam.cz>
17915
17916 [BZ #14876]
17917 * time/strptime_l.c (__strptime_internal): 14876 Read timezone entry.
17918 * time/tst-strptime.c (day_tests): Add testcase.
17919
ca42d35e
OB
179202013-10-25 Ondřej Bílka <neleai@seznam.cz>
17921
482a077e 17922 [BZ #14029]
ca42d35e
OB
17923 * manual/pattern.texi: Acknowledge that fnmatch can fail.
17924
52e6d801
FB
179252013-10-25 Fabrice Bauzac <fbauzac@debian71.nce.amadeus.net>
17926
17927 [BZ #16074]
17928 * manual/llio.texi (Memory-mapped I/O): Indicate that mmap returns
17929 MAP_FAILED on error.
17930
7cbcdb36
SP
179312013-10-25 Siddhesh Poyarekar <siddhesh@redhat.com>
17932
17933 [BZ #16072]
17934 * sysdeps/posix/getaddrinfo.c (gethosts): Allocate tmpbuf on
17935 heap for large requests.
17936
894f3f10
AM
179372013-10-25 Aurelien Jarno <aurelien@aurel32.net>
17938
17939 [BZ #9954]
17940 * sysdeps/posix/getaddrinfo.c (rfc3484_sort): do not assign native
17941 result if the result has no associated interface.
17942 * sysdeps/posix/getaddrinfo.c (getaddrinfo): correctly detect
17943 interface for all 127.X.Y.Z addresses.
17944
b85545a6
CL
179452013-10-24 Chris Leonard <cjl@sugarlabs.org>
17946
17947 * locale/iso-639.def: Add Ligurian (lij)
17948
d1f23d46
OB
179492013-10-21 Ondřej Bílka <neleai@seznam.cz>
17950
17951 [BZ #15825]
17952 * sunrpc/rpc_main.c: Document rpcgen -5.
17953
4db5b08f
MS
179542013-10-19 Michael Stahl <mstahl@redhat.com>
17955
17956 * elf/rtld.c (do_preload): Print the reason why preloading failed.
17957
a471e96a
OB
179582013-10-19 Ondřej Bílka <neleai@seznam.cz>
17959
d1f23d46 17960 [BZ #10278]
a471e96a
OB
17961 * posix/glob.c: Match only directories when trailing slash is present.
17962 * posix/tst-gnuglob.c (my_opendir): Do not open files.
17963 (main): Add testcase.
17964
45c30c61
OB
179652013-10-19 Ondřej Bílka <neleai@seznam.cz>
17966
17967 [BZ #15670]
17968 * time/tzfile.c (__tzfile_read): Replace alloca with malloc.
17969
484c12fb
CD
179702013-10-18 Carlos O'Donell <carlos@redhat.com>
17971
3d7dc513
CD
17972 * manual/crypt.texi (Cryptographic Functions): Using SunRPC and
17973 AUTH_DES will prevent FIPS 140-2 compliance. Add vindex for
17974 AUTH_DES and cindex for FIPS 140-2.
17975 (DES Encryption): Add cindex FIPS 46-3.
17976
484c12fb
CD
17977 * locale/locarchive.h (struct locarhandle): Add fname.
17978 * locale/programs/localedef.c (main): Pass ARGV[remaining]
17979 if an optional argument was specified to --list-archive,
17980 otherwise NULL.
17981 * locale/programs/locarchive.c (show_archive_content): Take new
17982 argument fname and pass it via ah.fname to open_archive.
17983 * locale/programs/localedef.h: Update decl.
17984 (open_archive): If AH->fname is non-null, open that file
17985 rather than the default file name, and don't ignore ENOENT.
17986 (create_archive): Set AH.fname to NULL.
17987 (delete_locales_from_archive): Likewise.
17988 (add_locales_to_archive): Likewise.
17989 * locale/programs/locfile.c (write_all_categories): Likewise.
17990
3c8325fb
JM
179912013-10-18 Joseph Myers <joseph@codesourcery.com>
17992 Aldy Hernandez <aldyh@redhat.com>
17993
17994 * sysdeps/powerpc/powerpc32/e500/nofpu/Makefile: New file.
17995 * sysdeps/powerpc/powerpc32/e500/nofpu/fclrexcpt.c: Likewise.
17996 * sysdeps/powerpc/powerpc32/e500/nofpu/fe_note_change.c: Likewise.
17997 * sysdeps/powerpc/powerpc32/e500/nofpu/fedisblxcpt.c: Likewise.
17998 * sysdeps/powerpc/powerpc32/e500/nofpu/feenablxcpt.c: Likewise.
17999 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c: Likewise.
18000 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetexcept.c: Likewise.
18001 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c: Likewise.
18002 * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c: Likewise.
18003 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_const.c: Likewise.
18004 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h: Likewise.
18005 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c: Likewise.
18006 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c: Likewise.
18007 * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c: Likewise.
18008 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_prctl.c:
18009 Likewise.
18010 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_spe.c:
18011 Likewise.
18012 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_prctl.c:
18013 Likewise.
18014 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_spe.c:
18015 Likewise.
18016 * sysdeps/powerpc/powerpc32/e500/nofpu/fgetexcptflg.c: Likewise.
18017 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c:
18018 Likewise.
18019 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c: Likewise.
18020 * sysdeps/powerpc/powerpc32/e500/nofpu/fsetexcptflg.c: Likewise.
18021 * sysdeps/powerpc/powerpc32/e500/nofpu/ftestexcept.c: Likewise.
18022 * sysdeps/powerpc/powerpc32/e500/nofpu/get-rounding-mode.h:
18023 Likewise.
18024 * sysdeps/powerpc/powerpc32/e500/nofpu/s_fabsf.S: Likewise.
18025 * sysdeps/powerpc/powerpc32/e500/nofpu/spe-raise.c: Likewise.
18026 * sysdeps/powerpc/preconfigure: Likewise.
18027 * sysdeps/unix/sysv/linux/powerpc/powerpc32/e500/nofpu/Implies:
18028 Likewise.
18029 * sysdeps/powerpc/nofpu/soft-supp.h [__NO_FPRS__ && !_SOFT_FLOAT]:
18030 Replace contents of file by #include of <fenv_libc.h>.
18031 * sysdeps/powerpc/soft-fp/sfp-machine.h
18032 [__NO_FPRS__ && !_SOFT_FLOAT]: Include <fenv_libc.h>, <sysdep.h>
18033 and <sys/prctl.h>.
18034 [__NO_FPRS__ && !_SOFT_FLOAT] (__feraiseexcept_soft): Declare.
18035 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INEXACT): Define macro.
18036 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INVALID): Likewise.
18037 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_DIVZERO): Likewise.
18038 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_UNDERFLOW): Likewise.
18039 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_OVERFLOW): Likewise.
18040 [__NO_FPRS__ && !_SOFT_FLOAT] (_FP_DECL_EX): Likewise.
18041 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_ROUNDMODE): Likewise.
18042 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_EXCEPTIONS): Likewise.
18043 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_HANDLE_EXCEPTIONS): Likewise.
18044 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_ROUNDMODE): Likewise.
18045 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_TRAPPING_EXCEPTIONS): Likewise.
18046 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
18047 Allow copysignl PLT reference to be missing.
18048
5abe0682
RS
180492013-10-18 Richard Sandiford <richard@codesourcery.com>
18050 Joseph Myers <joseph@codesourcery.com
18051
18052 [BZ #15948]
18053 * locale/programs/ld-collate.c (new_element): Handle <U0000> as a
18054 single character.
18055 (add_to_tablewc): Assert sequence of wide characters is nonempty.
18056
c7738d08
SP
180572013-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
18058
18059 * elf/tst-tls-dlinfo.c: Don't include tls.h.
18060 * elf/tst-tls1.c: Likewise.
18061 * elf/tst-tls10.h: Likewise.
18062 * elf/tst-tls14.c: Likewise.
18063 * elf/tst-tls2.c: Likewise.
18064 * elf/tst-tls3.c: Likewise.
18065 * elf/tst-tls4.c: Likewise.
18066 * elf/tst-tls5.c: Likewise.
18067 * elf/tst-tls6.c: Likewise.
18068 * elf/tst-tls7.c: Likewise.
18069 * elf/tst-tls8.c: Likewise.
18070 * elf/tst-tls9.c: Likewise.
18071 * elf/tst-tlsmod1.c: Likewise.
18072 * elf/tst-tlsmod13.c: Likewise.
18073 * elf/tst-tlsmod13a.c: Likewise.
18074 * elf/tst-tlsmod14a.c: Likewise.
18075 * elf/tst-tlsmod16a.c: Likewise.
18076 * elf/tst-tlsmod16b.c: Likewise.
18077 * elf/tst-tlsmod2.c: Likewise.
18078 * elf/tst-tlsmod3.c: Likewise.
18079 * elf/tst-tlsmod4.c: Likewise.
18080 * elf/tst-tlsmod5.c: Likewise.
18081 * elf/tst-tlsmod6.c: Likewise.
18082
0bfcf2c7
OB
180832013-10-18 Ondřej Bílka <neleai@seznam.cz>
18084
18085 [BZ #12486]
18086 * malloc/malloc.c: remove checks for statistics.
18087
264aad1e
OB
180882013-10-17 Ondřej Bílka <neleai@seznam.cz>
18089
18090 [BZ #15277]
18091 * inet/inet_net.c (inet_network): Detect additional invalid strings.
18092 * inet/tst-network.c: Add testcase.
18093
b957ced8
AS
180942013-10-17 Andreas Schwab <schwab@suse.de>
18095
18096 [BZ #15218]
18097 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't use gethostbyaddr
18098 to determine canonical name.
18099
c5d5d574
OB
181002013-10-17 Ondřej Bílka <neleai@seznam.cz>
18101
18102 * sysdeps/ieee754/dbl-64/dbl2mpn.c: Fix formatting.
18103 * sysdeps/ieee754/dbl-64/dla.h: Likewise.
18104 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
18105 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
18106 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
18107 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
18108 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
18109 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
18110 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
18111 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
18112 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
18113 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
18114 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
18115 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
18116 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
18117 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
18118 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
18119 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
18120 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
18121 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
18122 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
18123 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
18124 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
18125 * sysdeps/ieee754/dbl-64/MathLib.h: Likewise.
18126 * sysdeps/ieee754/dbl-64/mpa-arch.h: Likewise.
18127 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
18128 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
18129 * sysdeps/ieee754/dbl-64/mpn2dbl.c: Likewise.
18130 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
18131 * sysdeps/ieee754/dbl-64/mydefs.h: Likewise.
18132 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
18133 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
18134 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
18135 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
18136 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
18137 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
18138 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
18139 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
18140 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
18141 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
18142 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
18143 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
18144 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
18145 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
18146 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
18147 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
18148 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
18149 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
18150 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
18151 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
18152 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
18153 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
18154 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
18155 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
18156 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
18157 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
18158 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
18159 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
18160
e5c2c2d0
JM
181612013-10-17 Joseph Myers <joseph@codesourcery.com>
18162
18163 [BZ #16041]
18164 * soft-fp/op-common.h (FP_EXTEND): When input is a signaling NaN,
18165 make result into a quiet NaN.
18166
51ca9e29
JM
181672013-10-16 Joseph Myers <joseph@codesourcery.com>
18168
18169 * soft-fp/adddf3.c: Fix horizontal whitespace.
18170 * soft-fp/addsf3.c: Likewise.
18171 * soft-fp/addtf3.c: Likewise.
18172 * soft-fp/divdf3.c: Likewise.
18173 * soft-fp/divsf3.c: Likewise.
18174 * soft-fp/divtf3.c: Likewise.
18175 * soft-fp/double.h: Likewise.
18176 * soft-fp/eqdf2.c: Likewise.
18177 * soft-fp/eqsf2.c: Likewise.
18178 * soft-fp/eqtf2.c: Likewise.
18179 * soft-fp/extenddftf2.c: Likewise.
18180 * soft-fp/extended.h: Likewise.
18181 * soft-fp/extendsfdf2.c: Likewise.
18182 * soft-fp/extendsftf2.c: Likewise.
18183 * soft-fp/extendxftf2.c: Likewise.
18184 * soft-fp/fixdfdi.c: Likewise.
18185 * soft-fp/fixdfsi.c: Likewise.
18186 * soft-fp/fixdfti.c: Likewise.
18187 * soft-fp/fixsfdi.c: Likewise.
18188 * soft-fp/fixsfsi.c: Likewise.
18189 * soft-fp/fixsfti.c: Likewise.
18190 * soft-fp/fixtfdi.c: Likewise.
18191 * soft-fp/fixtfsi.c: Likewise.
18192 * soft-fp/fixtfti.c: Likewise.
18193 * soft-fp/fixunsdfdi.c: Likewise.
18194 * soft-fp/fixunsdfsi.c: Likewise.
18195 * soft-fp/fixunsdfti.c: Likewise.
18196 * soft-fp/fixunssfdi.c: Likewise.
18197 * soft-fp/fixunssfsi.c: Likewise.
18198 * soft-fp/fixunssfti.c: Likewise.
18199 * soft-fp/fixunstfdi.c: Likewise.
18200 * soft-fp/fixunstfsi.c: Likewise.
18201 * soft-fp/fixunstfti.c: Likewise.
18202 * soft-fp/floatdidf.c: Likewise.
18203 * soft-fp/floatdisf.c: Likewise.
18204 * soft-fp/floatditf.c: Likewise.
18205 * soft-fp/floatsidf.c: Likewise.
18206 * soft-fp/floatsisf.c: Likewise.
18207 * soft-fp/floatsitf.c: Likewise.
18208 * soft-fp/floattidf.c: Likewise.
18209 * soft-fp/floattisf.c: Likewise.
18210 * soft-fp/floattitf.c: Likewise.
18211 * soft-fp/floatundidf.c: Likewise.
18212 * soft-fp/floatundisf.c: Likewise.
18213 * soft-fp/floatunditf.c: Likewise.
18214 * soft-fp/floatunsidf.c: Likewise.
18215 * soft-fp/floatunsisf.c: Likewise.
18216 * soft-fp/floatunsitf.c: Likewise.
18217 * soft-fp/floatuntidf.c: Likewise.
18218 * soft-fp/floatuntisf.c: Likewise.
18219 * soft-fp/floatuntitf.c: Likewise.
18220 * soft-fp/fmadf4.c: Likewise.
18221 * soft-fp/fmasf4.c: Likewise.
18222 * soft-fp/fmatf4.c: Likewise.
18223 * soft-fp/gedf2.c: Likewise.
18224 * soft-fp/gesf2.c: Likewise.
18225 * soft-fp/getf2.c: Likewise.
18226 * soft-fp/ledf2.c: Likewise.
18227 * soft-fp/lesf2.c: Likewise.
18228 * soft-fp/letf2.c: Likewise.
18229 * soft-fp/muldf3.c: Likewise.
18230 * soft-fp/mulsf3.c: Likewise.
18231 * soft-fp/multf3.c: Likewise.
18232 * soft-fp/negdf2.c: Likewise.
18233 * soft-fp/negsf2.c: Likewise.
18234 * soft-fp/negtf2.c: Likewise.
18235 * soft-fp/op-1.h: Likewise.
18236 * soft-fp/op-2.h: Likewise.
18237 * soft-fp/op-4.h: Likewise.
18238 * soft-fp/op-8.h: Likewise.
18239 * soft-fp/op-common.h: Likewise.
18240 * soft-fp/quad.h: Likewise.
18241 * soft-fp/single.h: Likewise.
18242 * soft-fp/soft-fp.h: Likewise.
18243 * soft-fp/sqrtdf2.c: Likewise.
18244 * soft-fp/sqrtsf2.c: Likewise.
18245 * soft-fp/sqrttf2.c: Likewise.
18246 * soft-fp/subdf3.c: Likewise.
18247 * soft-fp/subsf3.c: Likewise.
18248 * soft-fp/subtf3.c: Likewise.
18249 * soft-fp/truncdfsf2.c: Likewise.
18250 * soft-fp/trunctfdf2.c: Likewise.
18251 * soft-fp/trunctfsf2.c: Likewise.
18252 * soft-fp/trunctfxf2.c: Likewise.
18253 * soft-fp/unorddf2.c: Likewise.
18254 * soft-fp/unordsf2.c: Likewise.
18255 * soft-fp/unordtf2.c: Likewise.
18256
9ebb0332
JM
182572013-10-15 Joseph Myers <joseph@codesourcery.com>
18258
18259 * soft-fp/op-2.h (_FP_DIV_MEAT_2_gmp): Remove macro.
18260 * soft-fp/soft-fp.h (FP_UNSET_EXCEPTION): Likewise.
18261
4b1a6d8b
OB
182622013-10-15 Ondřej Bílka <neleai@seznam.cz>
18263
18264 * elf/dl-libc.c: Clear initfini list after freeing.
18265
1e145589
JM
182662013-10-14 Joseph Myers <joseph@codesourcery.com>
18267
18268 * soft-fp/adddf3.c: Fix vertical whitespace and indentation.
18269 * soft-fp/addsf3.c: Likewise.
18270 * soft-fp/addtf3.c: Likewise.
18271 * soft-fp/divdf3.c: Likewise.
18272 * soft-fp/divsf3.c: Likewise.
18273 * soft-fp/divtf3.c: Likewise.
18274 * soft-fp/double.h: Likewise.
18275 * soft-fp/eqdf2.c: Likewise.
18276 * soft-fp/eqsf2.c: Likewise.
18277 * soft-fp/eqtf2.c: Likewise.
18278 * soft-fp/extenddftf2.c: Likewise.
18279 * soft-fp/extended.h: Likewise.
18280 * soft-fp/extendsfdf2.c: Likewise.
18281 * soft-fp/extendsftf2.c: Likewise.
18282 * soft-fp/extendxftf2.c: Likewise.
18283 * soft-fp/fixdfdi.c: Likewise.
18284 * soft-fp/fixdfsi.c: Likewise.
18285 * soft-fp/fixdfti.c: Likewise.
18286 * soft-fp/fixsfdi.c: Likewise.
18287 * soft-fp/fixsfsi.c: Likewise.
18288 * soft-fp/fixsfti.c: Likewise.
18289 * soft-fp/fixtfdi.c: Likewise.
18290 * soft-fp/fixtfsi.c: Likewise.
18291 * soft-fp/fixtfti.c: Likewise.
18292 * soft-fp/fixunsdfdi.c: Likewise.
18293 * soft-fp/fixunsdfsi.c: Likewise.
18294 * soft-fp/fixunsdfti.c: Likewise.
18295 * soft-fp/fixunssfdi.c: Likewise.
18296 * soft-fp/fixunssfsi.c: Likewise.
18297 * soft-fp/fixunssfti.c: Likewise.
18298 * soft-fp/fixunstfdi.c: Likewise.
18299 * soft-fp/fixunstfsi.c: Likewise.
18300 * soft-fp/fixunstfti.c: Likewise.
18301 * soft-fp/floatdidf.c: Likewise.
18302 * soft-fp/floatdisf.c: Likewise.
18303 * soft-fp/floatditf.c: Likewise.
18304 * soft-fp/floatsidf.c: Likewise.
18305 * soft-fp/floatsisf.c: Likewise.
18306 * soft-fp/floatsitf.c: Likewise.
18307 * soft-fp/floattidf.c: Likewise.
18308 * soft-fp/floattisf.c: Likewise.
18309 * soft-fp/floattitf.c: Likewise.
18310 * soft-fp/floatundidf.c: Likewise.
18311 * soft-fp/floatundisf.c: Likewise.
18312 * soft-fp/floatunsidf.c: Likewise.
18313 * soft-fp/floatunsisf.c: Likewise.
18314 * soft-fp/floatuntidf.c: Likewise.
18315 * soft-fp/floatuntisf.c: Likewise.
18316 * soft-fp/floatuntitf.c: Likewise.
18317 * soft-fp/fmadf4.c: Likewise.
18318 * soft-fp/fmasf4.c: Likewise.
18319 * soft-fp/fmatf4.c: Likewise.
18320 * soft-fp/gedf2.c: Likewise.
18321 * soft-fp/gesf2.c: Likewise.
18322 * soft-fp/getf2.c: Likewise.
18323 * soft-fp/ledf2.c: Likewise.
18324 * soft-fp/lesf2.c: Likewise.
18325 * soft-fp/letf2.c: Likewise.
18326 * soft-fp/muldf3.c: Likewise.
18327 * soft-fp/mulsf3.c: Likewise.
18328 * soft-fp/multf3.c: Likewise.
18329 * soft-fp/negdf2.c: Likewise.
18330 * soft-fp/negsf2.c: Likewise.
18331 * soft-fp/negtf2.c: Likewise.
18332 * soft-fp/op-1.h: Likewise.
18333 * soft-fp/op-2.h: Likewise.
18334 * soft-fp/op-4.h: Likewise.
18335 * soft-fp/op-8.h: Likewise.
18336 * soft-fp/op-common.h: Likewise.
18337 * soft-fp/quad.h: Likewise.
18338 * soft-fp/single.h: Likewise.
18339 * soft-fp/soft-fp.h: Likewise.
18340 * soft-fp/sqrtdf2.c: Likewise.
18341 * soft-fp/sqrtsf2.c: Likewise.
18342 * soft-fp/sqrttf2.c: Likewise.
18343 * soft-fp/subdf3.c: Likewise.
18344 * soft-fp/subsf3.c: Likewise.
18345 * soft-fp/subtf3.c: Likewise.
18346 * soft-fp/truncdfsf2.c: Likewise.
18347 * soft-fp/trunctfdf2.c: Likewise.
18348 * soft-fp/trunctfsf2.c: Likewise.
18349 * soft-fp/trunctfxf2.c: Likewise.
18350 * soft-fp/unorddf2.c: Likewise.
18351 * soft-fp/unordsf2.c: Likewise.
18352 * soft-fp/unordtf2.c: Likewise.
18353
17c48a60
OB
183542013-10-14 Ondřej Bílka <neleai@seznam.cz>
18355
18356 [BZ #15672]
18357 * misc/error.c (error_tail): Fix possible buffer overflow.
18358
cabba934
OB
183592013-10-14 Aurelien Jarno <aurelien@aurel32.net>
18360
18361 [BZ #13028]
18362 * res_send.c(__libc_res_nsend): Correctly copy the nameserver
18363 address.
18364
94bf958a
PM
183652013-10-14 P. J. McDermott <pj@pehjota.net>
18366
18367 [BZ #832]
18368 * elf/ldd.bash.in (try_trace): New function. Delete previous code
18369 testing pipefail option.
18370
71b4dea7
JM
183712013-10-12 Joseph Myers <joseph@codesourcery.com>
18372
18373 * soft-fp/double.h: Indent preprocessor directives inside #if.
18374 * soft-fp/extended.h: Likewise.
18375 * soft-fp/op-2.h: Likewise.
18376 * soft-fp/op-4.h: Likewise.
18377 * soft-fp/op-common.h: Likewise.
18378 * soft-fp/quad.h: Likewise.
18379 * soft-fp/single.h: Likewise.
18380 * soft-fp/soft-fp.h: Likewise.
18381
55602758
YC
183822013-10-12 Yuri Chornoivan <yurchor@ukr.net>
18383
18384 * iconv/iconv_prog.c: Fix typos.
18385 * stdio-common/psiginfo-data.h: Likewise.
18386
9cd83302
RT
183872013-10-12 Reuben Thomas <rrt@sc3d.org>
18388
18389 [BZ #15764]
18390 * locale/setlocale.c: Fix typo.
18391
99fd9f47
JM
183922013-10-12 Joseph Myers <joseph@codesourcery.com>
18393
b7ea74f0
JM
18394 [BZ #16036]
18395 * soft-fp/unorddf2.c (__unorddf2): Raise "invalid" exception for
18396 signaling NaN arguments.
18397 * soft-fp/unordsf2.c (__unordsf2): Likewise.
18398 * soft-fp/unordtf2.c (__unordtf2): Likewise.
18399
8a509447
JM
18400 [BZ #14910]
18401 * soft-fp/gedf2.c (__gedf2): Raise "invalid" exception for all
18402 unordered operands.
18403 * soft-fp/gesf2.c (__gesf2): Likewise.
18404 * soft-fp/getf2.c (__getf2): Likewise.
18405 * soft-fp/ledf2.c (__ledf2): Likewise.
18406 * soft-fp/lesf2.c (__lesf2): Likewise.
18407 * soft-fp/letf2.c (__letf2): Likewise.
18408
98998e9f
JM
18409 * soft-fp/eqdf2.c (__eqdf2): Use FP_INIT_EXCEPTIONS.
18410 * soft-fp/eqsf2.c (__eqsf2): Likewise.
18411 * soft-fp/eqtf2.c (__eqtf2): Likewise.
18412 * soft-fp/fixdfdi.c (__fixdfdi): Likewise.
18413 * soft-fp/fixdfsi.c (__fixdfsi): Likewise.
18414 * soft-fp/fixdfti.c (__fixdfti): Likewise.
18415 * soft-fp/fixsfdi.c (__fixsfdi): Likewise.
18416 * soft-fp/fixsfsi.c (__fixsfsi): Likewise.
18417 * soft-fp/fixsfti.c (__fixsfti): Likewise.
18418 * soft-fp/fixtfdi.c (__fixtfdi): Likewise.
18419 * soft-fp/fixtfsi.c (__fixtfsi): Likewise.
18420 * soft-fp/fixtfti.c (__fixtfti): Likewise.
18421 * soft-fp/fixunsdfdi.c (__fixunsdfdi): Likewise.
18422 * soft-fp/fixunsdfsi.c (__fixunsdfsi): Likewise.
18423 * soft-fp/fixunsdfti.c (__fixunsdfti): Likewise.
18424 * soft-fp/fixunssfdi.c (__fixunssfdi): Likewise.
18425 * soft-fp/fixunssfsi.c (__fixunssfsi): Likewise.
18426 * soft-fp/fixunssfti.c (__fixunssfti): Likewise.
18427 * soft-fp/fixunstfdi.c (__fixunstfdi): Likewise.
18428 * soft-fp/fixunstfsi.c (__fixunstfsi): Likewise.
18429 * soft-fp/fixunstfti.c (__fixunstfti): Likewise.
18430 * soft-fp/floatdidf.c (__floatdidf): Use FP_INIT_ROUNDMODE.
18431 * soft-fp/floatdisf.c (__floatdisf): Likewise.
18432 * soft-fp/floatsisf.c (__floatsisf): Likewise.
18433 * soft-fp/floattidf.c (__floattidf): Likewise.
18434 * soft-fp/floattisf.c (__floattisf): Likewise.
18435 * soft-fp/floattitf.c (__floattitf): Likewise.
18436 * soft-fp/floatundidf.c (__floatundidf): Likewise.
18437 * soft-fp/floatundisf.c (__floatundisf): Likewise.
18438 * soft-fp/floatunsisf.c (__floatunsisf): Likewise.
18439 * soft-fp/floatuntidf.c (__floatuntidf): Likewise.
18440 * soft-fp/floatuntisf.c (__floatuntisf): Likewise.
18441 * soft-fp/floatuntitf.c (__floatuntitf): Likewise.
18442 * soft-fp/gedf2.c (__gedf2): Use FP_INIT_EXCEPTIONS.
18443 * soft-fp/gesf2.c (__gesf2): Likewise.
18444 * soft-fp/getf2.c (__getf2): Likewise.
18445 * soft-fp/ledf2.c (__ledf2): Likewise.
18446 * soft-fp/lesf2.c (__lesf2): Likewise.
18447 * soft-fp/letf2.c (__letf2): Likewise.
18448
8edc4a11
JM
18449 * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS] (FP_SET_EXCEPTION):
18450 Undefine and redefine.
18451 [FP_NO_EXCEPTIONS] (FP_CUR_EXCEPTIONS): Likewise.
18452 [FP_NO_EXCEPTIONS] (FP_TRAPPING_EXCEPTIONS): Likewise.
18453 [FP_NO_EXCEPTIONS] (FP_ROUNDMODE): Likewise.
18454 * soft-fp/floatditf.c (FP_NO_EXCEPTIONS): Define macro.
18455 (__floatditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
18456 * soft-fp/floatsidf.c (FP_NO_EXCEPTIONS): Define macro.
18457 (__floatsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
18458 * soft-fp/floatsitf.c (FP_NO_EXCEPTIONS): Define macro.
18459 (__floatsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
18460 * soft-fp/floatunditf.c (FP_NO_EXCEPTIONS): Define macro.
18461 (__floatunditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
18462 * soft-fp/floatunsidf.c (FP_NO_EXCEPTIONS): Define macro.
18463 (__floatunsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
18464 * soft-fp/floatunsitf.c (FP_NO_EXCEPTIONS): Define macro.
18465 (__floatunsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
18466
8399acaf
JM
18467 [BZ #16032]
18468 * soft-fp/op-2.h (_FP_DIV_MEAT_2_udiv): Shift numerator right
18469 without decrementing exponent if mantissa >= that for the
18470 denominator, not >.
18471 (_FP_DIV_MEAT_2_gmp): Test numerator mantissa >= that for the
18472 denominator, not >. Decrement exponent in < case instead of
18473 incrementing in >= case.
18474 * soft-fp/op-4.h (_FP_DIV_MEAT_4_udiv): Shift numerator right
18475 without decrementing exponent if mantissa >= that for the
18476 denominator, not >.
18477
99fd9f47
JM
18478 * soft-fp/op-common.h (_FP_TO_INT): Reverse test of sign for
18479 computing saturated result for unsigned overflow.
18480
10e1cf6b
SP
184812013-10-11 Siddhesh Poyarekar <siddhesh@redhat.com>
18482 Jeff Law <law@redhat.com>
18483
18484 * sysdeps/ieee754/dbl-64/e_atan2.c: Include stap-probe.h.
18485 (atan2Mp): Add systemtap probe marker.
18486 * sysdeps/ieee754/dbl-64/e_log.c: include stap-probe.h.
18487 (__ieee754_log): Add systemtap probe marker.
18488 * sysdeps/ieee754/dbl-64/s_atan.c: Include stap-probe.h.
18489 (atanMp): Add systemtap probe marker.
18490 * sysdeps/ieee754/dbl-64/s_tan.c: Include stap-probe.h.
18491 (tanMp): Add systemtap probe marker.
18492 * sysdeps/ieee754/dbl-64/slowexp.c: Include stap-probe.h.
18493 (__slowexp): Add systemtap probe marker.
18494 * sysdeps/ieee754/dbl-64/slowpow.c: Include stap-probe.h.
18495 (__slowpow): Add systemtap probe marker.
18496 * manual/probes.texi: Document probes.
18497
3d110c7c
EB
184982013-10-11 Eric Biggers <ebiggers3@gmail.com>
18499
18500 [BZ #15362]
18501 * libio/fileops.c (_IO_new_file_write): Return count of bytes
18502 written.
18503 (_IO_new_file_xsputn): Don't return EOF if nothing has been
18504 written.
18505 * libio/iofwrite.c (_IO_fwrite): Return count if bytes were
18506 written to buffer but not flushed.
18507 * libio/iofwrite_u.c: Likewise.
18508 * libio/iopadn.c: Return bytes returned even if EOF was
18509 encountered.
18510 * libio/iowpadn.c: Likewise.
18511 * stdio-common/vfprintf.c [COMPILE_WPRINTF] (PAD): Return error
18512 if _IO_padn does not write the whole buffer.
18513 [!COMPILE_WPRINTF] (PAD): Likewise.
18514
75b4202a
DM
185152013-10-10 David S. Miller <davem@davemloft.net>
18516
18517 * sysdeps/posix/dirstream.h (struct __dirstream): Fix alignment of
18518 directory block.
18519
6c6352e6
JM
185202013-10-10 Joseph Myers <joseph@codesourcery.com>
18521
33b853c3
JM
18522 * soft-fp/extendxftf2.c: Use copyright year range. Use URL
18523 instead of FSF address.
18524 * soft-fp/fixdfti.c: Likewise.
18525 * soft-fp/fixsfti.c: Likewise.
18526 * soft-fp/fixtfti.c: Likewise.
18527 * soft-fp/fixunsdfti.c: Likewise.
18528 * soft-fp/fixunssfti.c: Likewise.
18529 * soft-fp/fixunstfti.c: Likewise.
18530 * soft-fp/floattidf.c: Likewise.
18531 * soft-fp/floattisf.c: Likewise.
18532 * soft-fp/floattitf.c: Likewise.
18533 * soft-fp/floatuntidf.c: Likewise.
18534 * soft-fp/floatuntisf.c: Likewise.
18535 * soft-fp/floatuntitf.c: Likewise.
18536 * soft-fp/trunctfxf2.c: Likewise.
18537
6c6352e6
JM
18538 * soft-fp/extendxftf2.c: New file. Copied from libgcc.
18539 * soft-fp/fixdfti.c: Likewise.
18540 * soft-fp/fixsfti.c: Likewise.
18541 * soft-fp/fixtfti.c: Likewise.
18542 * soft-fp/fixunsdfti.c: Likewise.
18543 * soft-fp/fixunssfti.c: Likewise.
18544 * soft-fp/fixunstfti.c: Likewise.
18545 * soft-fp/floattidf.c: Likewise.
18546 * soft-fp/floattisf.c: Likewise.
18547 * soft-fp/floattitf.c: Likewise.
18548 * soft-fp/floatuntidf.c: Likewise.
18549 * soft-fp/floatuntisf.c: Likewise.
18550 * soft-fp/floatuntitf.c: Likewise.
18551 * soft-fp/trunctfxf2.c: Likewise.
18552
3bf78b71
DM
185532013-10-10 David S. Miller <davem@davemloft.net>
18554
18555 * sysdeps/sparc/fpu/libm-test-ulps: Update.
18556
6f10289e
JM
185572013-10-10 Joseph Myers <joseph@codsourcery.com>
18558
bd878fc0
JM
18559 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
18560 (CFLAGS-e_hypotl.c): Add -fno-builtin-fabsl.
18561 [$(subdir) = math] (CFLAGS-w_acosl.c): Likewise.
18562 [$(subdir) = math] (CFLAGS-w_asinl.c): Likewise.
18563 [$(subdir) = math] (CFLAGS-w_atanhl.c): Likewise.
18564 [$(subdir) = math] (CFLAGS-w_j0l.c): Likewise.
18565 [$(subdir) = math] (CFLAGS-w_j1l.c): Likewise.
18566
6f10289e
JM
18567 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Check
18568 for NaNs before doing comparisons on argument.
18569 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl):
18570 Likewise.
18571
321e2684
WN
185722013-10-10 Will Newton <will.newton@linaro.org>
18573
18574 * malloc/hooks.c (memalign_check): Ensure the value of bytes
18575 passed to _int_memalign does not overflow.
18576
40fefba1
TR
185772013-10-10 Torvald Riegel <triegel@redhat.com>
18578
18579 * scripts/bench.pl: Add include-sources directive.
18580 * benchtests/README: Update documentation.
18581
2ae21ed2
JM
185822013-10-10 Joseph Myers <joseph@codesourcery.com>
18583
dcc2dd3f
JM
18584 * soft-fp/soft-fp.h (FP_INIT_EXCEPTIONS): New macro.
18585 * soft-fp/extenddftf2.c (__extenddftf2): Use FP_INIT_EXCEPTIONS
18586 instead of FP_INIT_ROUNDMODE.
18587 * soft-fp/extendsfdf2.c (__extendsfdf2): Likewise.
18588 * soft-fp/extendsftf2.c (__extendsftf2): Likewise.
18589
2ae21ed2
JM
18590 [BZ #16034]
18591 * soft-fp/op-common.h (_FP_NEG): Document input as raw. Do not
18592 copy class of input value.
18593 * soft-fp/negdf2.c (__negdf2): Use raw unpacking and packing. Do
18594 not handle exceptions.
18595 * soft-fp/negsf2.c (__negsf2): Likewise.
18596 * soft-fp/negtf2.c (__negtf2): Likewise.
18597 * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Likewise.
18598
cb8f9562
JM
185992013-10-09 Joseph Myers <joseph@codesourcery.com>
18600
18601 * soft-fp/op-4.h (_FP_FRAC_DISASSEMBLE_4): Remove trailing
18602 semicolon. From Linux kernel.
18603
5b60c59d
AB
186042013-10-09 Adam Buchbinder <adam.buchbinder@gmail.com>
18605
18606 * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Fix typo in comment.
18607
b86835ca
YC
186082013-10-08 Yogesh Chaudhari <mr.yogesh@gmail.com>
18609
18610 [BZ #156]
18611 * manual/socket.texi: Added statement about buffer
18612 for gethostbyname2_r.
18613
e7044ea7
OB
186142013-10-08 Ondřej Bílka <neleai@seznam.cz>
18615
18616 * sysdeps/x86_64/memset.S (ALIGN): Macro removed.
18617 Use .p2align directive instead, throughout.
18618 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
18619 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
18620 * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Likewise.
18621 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
18622 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
18623 * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: Likewise.
18624 * sysdeps/x86_64/strchr.S: Likewise.
18625 * sysdeps/x86_64/strrchr.S: Likewise.
18626
09544cbc
SP
186272013-10-08 Siddhesh Poyarekar <siddhesh@redhat.com>
18628
88576635
SP
18629 * sysdeps/ieee754/dbl-64/e_pow.c: Fix code formatting.
18630
e7b2d1dd
SP
18631 * sysdeps/ieee754/dbl-64/e_exp.c: Fix code formatting.
18632
09544cbc
SP
18633 * sysdeps/generic/math_private.h (__mpsin1): Remove
18634 declaration.
18635 (__mpcos1): Likewise.
18636 (__mpsin): New argument __range_reduce.
18637 (__mpcos): Likewise.
18638 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
18639 (slow): Use __mpsin and __mpcos.
18640 (slow1): Likewise.
18641 (slow2): Likewise.
18642 (sloww): Likewise.
18643 (sloww1): Likewise.
18644 (sloww2): Likewise.
18645 (bsloww): Likewise.
18646 (bsloww1): Likewise.
18647 (bsloww2): Likewise.
18648 (cslow2): Likewise.
18649 (csloww): Likewise.
18650 (csloww1): Likewise.
18651 (csloww2): Likewise.
18652 * sysdeps/ieee754/dbl-64/sincos32.c (__mpsin): Add argument
18653 range_reduce. Merge in __mpsin1.
18654 (__mpcos): Likewise.
18655 (__mpsin1): Remove.
18656 (__mpcos1): Likewise.
18657
7602d070
JM
186582013-10-07 Joseph Myers <joseph@codesourcery.com>
18659
18660 * locale/loadlocale.c (_nl_intern_locale_data): Use
18661 LOCFILE_ALIGNED_P.
18662 * locale/programs/3level.h (CONCAT(add_locale_,TABLE)): Use
18663 LOCFILE_ALIGN_UP and LOCFILE_ALIGN.
18664 * locale/programs/ld-collate.c (obstack_int32_grow): Assert that
18665 obstack data is appropriately aligned.
18666 (obstack_int32_grow_fast): Likewise.
18667 * locale/programs/ld-ctype.c (ctype_output): Use LOCFILE_ALIGN.
18668 * locale/programs/locfile.c (add_locale_uint32): Likewise.
18669 (add_locale_uint32_array): Likewise.
18670
a357259b
SP
186712013-10-07 Siddhesh Poyarekar <siddhesh@redhat.com>
18672
18673 * benchtests/Makefile: Remove ARGLIST and RET variables.
18674 ($(objpfx)bench-%.c): Pass only function name to the script.
18675 * benchtests/README: Update documentation.
18676 * benchtests/acos-inputs: Add new directives.
18677 * benchtests/acosh-inputs: Likewise.
18678 * benchtests/asin-inputs: Likewise.
18679 * benchtests/asinh-inputs: Likewise.
18680 * benchtests/atan-inputs: Likewise.
18681 * benchtests/atanh-inputs: Likewise.
18682 * benchtests/cos-inputs: Likewise.
18683 * benchtests/cosh-inputs: Likewise.
18684 * benchtests/exp-inputs: Likewise.
18685 * benchtests/log-inputs: Likewise.
18686 * benchtests/pow-inputs: Likewise.
18687 * benchtests/rint-inputs: Likewise.
18688 * benchtests/sin-inputs: Likewise.
18689 * benchtests/sinh-inputs: Likewise.
18690 * benchtests/tan-inputs: Likewise.
18691 * benchtests/tanh-inputs: Likewise.
18692 * scripts/bench.pl: Add support for new directives.
18693
9ec1b13d
AM
186942013-10-07 Alan Modra <amodra@gmail.com>
18695
18696 * README: Fix careless merge.
18697
8b7d57cd
AM
186982013-10-05 Alan Modra <amodra@gmail.com>
18699
18700 * NEWS: Mention powerpc64le support and bugs fixed.
18701 * README: Both big-endian and little-endian powerpc64 supported.
18702
7b7bab13
ST
187032013-10-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
18704
57f41c40
AS
18705 * sysdeps/mach/hurd/fork.c (_hurd_atfork_prepare_hook)
18706 (_hurd_atfork_child_hook, _hurd_atfork_parent_hook): New hooks.
7b7bab13
ST
18707 (__fork): Call _hurd_atfork_prepare_hook hooks before all locking, call
18708 _hurd_atfork_parent_hook or _hurd_atfork_child_hook after all unlocking.
18709
d39baad1
RA
187102013-10-04 Ryan S. Arnold <ryan.arnold@linaro.org>
18711
18712 * misc/swapon.c (swapon): Update definition, adding FLAGS parameter to
18713 match prototype.
18714
cd78f7e7
JM
187152013-10-04 Joseph Myers <joseph@codesourcery.com>
18716
29d73d86
JM
18717 * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = yes] (+cflags):
18718 Move -mhard-float appending from
18719 ports/sysdeps/powerpc/powerpc32/Makefile.
18720 [$(with-fp) = yes] (ASFLAGS): Likewise.
18721 [$(with-fp) = yes] (sysdep-LDFLAGS): Likewise.
18722 * sysdeps/powerpc/nofpu: Move directory from
18723 ports/sysdeps/powerpc/nofpu.
18724 * sysdeps/powerpc/soft-fp: Move directory from
18725 ports/sysdeps/powerpc/soft-fp.
18726 * sysdeps/powerpc/powerpc32/405: Move directory from
18727 ports/sysdeps/powerpc/powerpc32/405.
18728 * sysdeps/powerpc/powerpc32/440: Move directory from
18729 ports/sysdeps/powerpc/powerpc32/440.
18730 * sysdeps/powerpc/powerpc32/464: Move directory from
18731 ports/sysdeps/powerpc/powerpc32/464.
18732 * sysdeps/powerpc/powerpc32/476: Move directory from
18733 ports/sysdeps/powerpc/powerpc32/476.
18734 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu: Move directory
18735 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu.
18736 * sysdeps/unix/sysv/linux/powerpc/powerpc32/405: Move directory
18737 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/405.
18738 * sysdeps/unix/sysv/linux/powerpc/powerpc32/440: Move directory
18739 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/440.
18740 * sysdeps/unix/sysv/linux/powerpc/powerpc32/464: Move directory
18741 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/464.
18742 * sysdeps/unix/sysv/linux/powerpc/powerpc32/476: Move directory
18743 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/476.
18744 * README: Update for powerpc-*-linux-gnu software floating point
18745 support in libc.
18746
e246b347
JM
18747 * sysdeps/unix/sysv/linux/configure.in (powerpc/powerpc32): Change
18748 case to powerpc/powerpc32*.
18749 * sysdeps/unix/sysv/linux/configure: Regenerated.
18750
89c2003e
JM
18751 * sysdeps/powerpc/fpu_control.h [__NO_FPRS__ && !_SOFT_FLOAT]
18752 (_FPU_MASK_OM): Define as 0x04.
18753 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Define as 0x08.
18754 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Define as
18755 0x00c10080.
18756 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Define as
18757 0x0000003c.
18758 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Define as _FPU_DEFAULT.
18759
cd78f7e7
JM
18760 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S
18761 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
18762 getcontext_e500.
18763 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S
18764 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
18765 setcontext_e500.
18766 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S
18767 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use getcontext_e500
18768 and setcontext_e500.
18769
c755294d
CL
187702013-10-04 Chris Leonard <cjl@sugarlabs,.org>
18771
18772 * locale/iso-3166.def: Update iso-1366.def and related occurrences
18773
e16d221c
SP
187742013-10-04 Siddhesh Poyarekar <siddhesh@redhat.com>
18775
18776 * manual/threads.texi (Default Thread Attributes): Fix typo.
18777
215c7d43
WN
187782013-10-04 Will Newton <will.newton@linaro.org>
18779
18780 * malloc/Makefile: Add tst-memalign.
18781 * malloc/tst-memalign.c: New file.
18782
27d0461b
WN
18783 * malloc/tst-posix_memalign.c: Add comments.
18784 (do_test): Add comments and call free on all potentially
18785 allocated pointers. Add space after cast.
18786
1bc92709
WN
18787 * malloc/tst-pvalloc.c: Add comments.
18788 (do_test): Add comments and call free on all potentially
18789 allocated pointers. Remove duplicate check for NULL pointer.
18790 Add space after cast.
18791
66a9be9d
WN
18792 * malloc/tst-valloc.c: Add comments.
18793 (do_test): Add comments and call free on all potentially
18794 allocated pointers. Remove duplicate check for NULL pointer.
18795 Add space after cast.
18796
4cb81307
AM
187972013-10-04 Alan Modra <amodra@gmail.com>
18798
18799 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
18800 Use stdint types in rather than __attribute__((mode())).
18801 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
18802
f8e3e9f3
AM
188032013-10-04 Alan Modra <amodra@gmail.com>
18804
18805 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
18806 Correct handling of unaligned relocs for little-endian.
18807 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
18808
8f9ebb08
AM
188092013-10-04 Alan Modra <amodra@gmail.com>
18810
18811 * configure.in: Map powerpc64le and powerpcle to base_machine/machine.
18812 * configure: Regenerate.
18813 * nptl/shlib-versions: Powerpc*le starts at 2.18.
18814 * shlib-versions: Likewise.
18815
0edf96c2
AM
188162013-10-04 Alan Modra <amodra@gmail.com>
18817
18818 * string/tester.c (test_memrchr): Increment reported test cycle.
18819
e0f7a380
AM
188202013-10-04 Alan Modra <amodra@gmail.com>
18821
18822 * string/test-memcpy.c (do_one_test): When reporting errors, print
18823 string address and don't overrun end of string.
18824
466b0393
AM
188252013-10-04 Alan Modra <amodra@gmail.com>
18826
18827 * sysdeps/powerpc/powerpc64/power7/memchr.S: Replace rlwimi with
18828 insrdi. Make better use of reg selection to speed exit slightly.
18829 Schedule entry path a little better. Remove useless "are we done"
18830 checks on entry to main loop. Handle wrapping around zero address.
18831 Correct main loop count. Handle single left-over word from main
18832 loop inline rather than by using loop_small. Remove extra word
18833 case in loop_small caused by wrong loop count. Add little-endian
18834 support.
18835 * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
18836 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise. Use proper
18837 cache hint.
18838 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
18839 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Add little-endian
18840 support. Avoid rlwimi.
18841 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Likewise.
18842
3be87c77
AM
188432013-10-04 Alan Modra <amodra@gmail.com>
18844
18845 * sysdeps/powerpc/powerpc64/memset.S: Replace rlwimi with
e3764517 18846 insrdi. Formatting.
3be87c77
AM
18847 * sysdeps/powerpc/powerpc64/power4/memset.S: Likewise.
18848 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
18849 * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
18850 * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
18851 * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
18852 * sysdeps/powerpc/powerpc32/power7/memset.S: Likewise.
18853
759cfef3
AM
188542013-10-04 Alan Modra <amodra@gmail.com>
18855
18856 * sysdeps/powerpc/powerpc32/power4/memcpy.S: Add little endian support.
18857 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
18858 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
18859 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Likewise.
18860 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
18861 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
18862 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
18863 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
18864 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Likewise. Make better
18865 use of regs. Use power7 mtocrf. Tidy function tails.
18866
fe6e95d7
AM
188672013-10-04 Alan Modra <amodra@gmail.com>
18868
18869 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Add little-endian support.
18870 Formatting. Consistently use rXXX register defines or rN defines.
18871 Use early exit labels that avoid restoring unused non-volatile regs.
18872 Make cr field use more consistent with rWORDn compares. Rename
18873 regs used as shift registers for unaligned loop, using rN defines
18874 for short lifetime/multiple use regs.
18875 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
18876 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise. Exit with
18877 addi 1,1,64 to pop stack frame. Simplify return value code.
18878 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
18879
664318c3
AM
188802013-10-04 Alan Modra <amodra@gmail.com>
18881
18882 * sysdeps/powerpc/powerpc64/power7/strchr.S (strchr): Add little-endian
18883 support. Correct typos, formatting. Optimize tail. Use insrdi
18884 rather than rlwimi.
18885 * sysdeps/powerpc/powerpc32/power7/strchr.S: Likewise.
18886 * sysdeps/powerpc/powerpc64/power7/strchrnul.S (__strchrnul): Add
18887 little-endian support. Correct typos.
18888 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Likewise. Use insrdi
18889 rather than rlwimi.
18890 * sysdeps/powerpc/powerpc64/strchr.S (rTMP4, rTMP5): Define. Use
18891 in loop and entry code to keep "and." results.
18892 (strchr): Add little-endian support. Comment. Move cntlzd
18893 earlier in tail.
18894 * sysdeps/powerpc/powerpc32/strchr.S: Likewise.
18895
43b84013
AM
188962013-10-04 Alan Modra <amodra@gmail.com>
18897
18898 * sysdeps/powerpc/powerpc64/strcpy.S: Add little-endian support:
18899 * sysdeps/powerpc/powerpc32/strcpy.S: Likewise.
18900 * sysdeps/powerpc/powerpc64/stpcpy.S: Likewise.
18901 * sysdeps/powerpc/powerpc32/stpcpy.S: Likewise.
18902
8a7413f9
AM
189032013-10-04 Alan Modra <amodra@gmail.com>
18904
18905 * sysdeps/powerpc/powerpc64/strcmp.S (rTMP2): Define as r0.
18906 (rTMP): Define as r11.
18907 (strcmp): Add little-endian support. Optimise tail.
18908 * sysdeps/powerpc/powerpc32/strcmp.S: Similarly.
18909 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
18910 * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
18911 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
18912 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
18913 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
18914 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
18915
33ee81de
AM
189162013-10-04 Alan Modra <amodra@gmail.com>
18917
18918 * sysdeps/powerpc/powerpc64/power7/strnlen.S (strnlen): Add
18919 little-endian support. Remove unnecessary "are we done" tests.
18920 Handle "s" wrapping around zero and extremely large "size".
18921 Correct main loop count. Handle single left-over word from main
18922 loop inline rather than by using small_loop. Correct comments.
18923 Delete "zero" tail, use "end_max" instead.
18924 * sysdeps/powerpc/powerpc32/power7/strnlen.S: Likewise.
18925
db9b4570
AM
189262013-10-04 Alan Modra <amodra@gmail.com>
18927
18928 * sysdeps/powerpc/powerpc64/power7/strlen.S (strlen): Add little-endian
18929 support. Don't branch over align.
18930 * sysdeps/powerpc/powerpc32/power7/strlen.S: Likewise.
18931 * sysdeps/powerpc/powerpc64/strlen.S (strlen): Add little-endian
18932 support. Rearrange tmp reg use to suit. Comment.
18933 * sysdeps/powerpc/powerpc32/strlen.S: Likewise.
18934
f7c399cf
AM
189352013-10-04 Alan Modra <amodra@gmail.com>
18936
18937 * sysdeps/unix/sysv/linux/powerpc/bits/sigstack.h: New file.
18938
0b2c2ace
AM
189392013-10-04 Alan Modra <amodra@gmail.com>
18940
18941 * sysdeps/unix/sysv/linux/powerpc/powerpc32/makecontext.S: Use
18942 conditional form of branch and link when obtaining pc.
18943 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
18944
02f04a6c
AM
189452013-10-04 Alan Modra <amodra@gmail.com>
18946
18947 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Use
18948 HIWORD/LOWORD.
18949 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Ditto.
18950 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Ditto.
18951
9b874b2f
AM
189522013-10-04 Alan Modra <amodra@gmail.com>
18953
18954 * sysdeps/powerpc/longjmp.c: Use proper symbol versioning macros.
18955 * sysdeps/powerpc/novmx-longjmp.c: Likewise.
18956 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
18957 * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Likewise.
18958 * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
18959 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
18960 * sysdeps/powerpc/powerpc32/mcount.c: Likewise.
18961 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
18962 * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
18963 * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Likewise.
18964
be1e5d31
AB
189652013-10-04 Anton Blanchard <anton@au1.ibm.com>
18966 Alistair Popple <alistair@ozlabs.au.ibm.com>
18967 Alan Modra <amodra@gmail.com>
18968
18969 [BZ #15723]
18970 * sysdeps/powerpc/jmpbuf-offsets.h: Comment fix.
18971 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Correct
18972 _dl_hwcap access for little-endian.
18973 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise. Don't
18974 destroy vmx regs when saving unaligned.
18975 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Correct CR load.
18976 * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise CR save. Don't
18977 destroy vmx regs when saving unaligned.
18978
fef13a78
AM
189792013-10-04 Alan Modra <amodra@gmail.com>
18980
18981 * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_NOW):
18982 Don't use a union to pack hi/low value.
18983
76a66d51
AB
189842013-10-04 Anton Blanchard <anton@au1.ibm.com>
18985
18986 * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S: Correct float constants
18987 for little-endian.
18988 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
18989 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: Likewise.
18990 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
18991 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
18992 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
18993
6a31fe7f
AM
189942013-10-04 Alan Modra <amodra@gmail.com>
18995
18996 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Increase alignment of
18997 constants to usual value for .cst8 section, and remove redundant
18998 high address load.
18999 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Use float
19000 constant for 0x1p52. Load little-endian words of double from
19001 correct stack offsets.
19002
7b88401f
AM
190032013-10-04 Alan Modra <amodra@gmail.com>
19004
19005 * sysdeps/powerpc/sysdep.h (LOWORD, HIWORD, HISHORT): Define.
19006 * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Load little-endian
19007 words of double from correct stack offsets.
19008 * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
19009 * sysdeps/powerpc/powerpc32/fpu/s_lrint.S: Likewise.
19010 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
19011 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
19012 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
19013 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
19014 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
19015 * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
19016 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
19017 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
19018 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
19019 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
19020 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
19021 * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
19022 * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
19023 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Use HISHORT.
19024 * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
19025
9c008155
AM
190262013-10-04 Alan Modra <amodra@gmail.com>
19027
19028 * sysdeps/powerpc/fpu_control.h (_FPU_GETCW): Rewrite using
19029 64-bit int/double union.
19030 (_FPU_SETCW): Likewise.
19031 * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c (_GET_DI_FPSCR): Likewise.
19032 (_SET_DI_FPSCR, _GET_SI_FPSCR, _SET_SI_FPSCR): Likewise.
19033
da13146d
AM
190342013-10-04 Alan Modra <amodra@gmail.com>
19035
19036 * sysdeps/powerpc/fpu/s_llround.c (__llround): Rewrite.
19037 * sysdeps/powerpc/fpu/s_llroundf.c (__llroundf): Rewrite.
19038
603e8410
AM
190392013-10-04 Alan Modra <amodra@gmail.com>
19040
19041 * sysdeps/powerpc/fpu/s_float_bitwise.h (__float_and_test28): Don't
19042 use vector int constants.
19043 (__float_and_test24, __float_and8, __float_get_exp): Likewise.
19044
4a28b3ca
AB
190452013-10-04 Anton Blanchard <anton@au1.ibm.com>
19046
19047 * sysdeps/powerpc/fpu/fenv_libc.h (fenv_union_t): Replace int
19048 array with long long.
19049 * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Adjust.
19050 * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Adjust.
19051 * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Adjust.
19052 * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Adjust.
19053 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Adjust.
19054 * sysdeps/powerpc/fpu/fegetexcept.c (__fegetexcept): Adjust.
19055 * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Adjust.
19056 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Adjust.
19057 * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Adjust.
19058 * sysdeps/powerpc/fpu/fgetexcptflg.c (__fegetexceptflag): Adjust.
19059 * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Adjust.
19060 * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Adjust.
19061 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Adjust.
19062
2ca85d2b
AB
190632013-10-04 Anton Blanchard <anton@au1.ibm.com>
19064
19065 * sysdeps/powerpc/bits/mathinline.h (__signbitf): Use builtin.
19066 (__signbit): Likewise. Correct for little-endian.
19067 (__signbitl): Call __signbit.
19068 (lrint): Correct for little-endian.
19069 (lrintf): Call lrint.
19070
62a728ae
AM
190712013-10-04 Alan Modra <amodra@gmail.com>
19072
19073 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (mynumber): Replace
19074 union 32-bit int array member with 64-bit int array.
19075 (t515, tm256): Double rather than long double.
19076 (__ieee754_sqrtl): Rewrite using 64-bit arithmetic.
19077
32c301df
AM
190782013-10-04 Alan Modra <amodra@gmail.com>
19079
19080 * sysdeps/ieee754/ldbl-128ibm/ieee754.h (union ieee854_long_double):
19081 Delete.
19082 (IEEE854_LONG_DOUBLE_BIAS): Delete.
19083 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Don't include ieee854
19084 version of math_ldbl.h.
19085
650ef4bd
AM
190862013-10-04 Alan Modra <amodra@gmail.com>
19087
19088 [BZ #15734], [BZ #15735]
19089 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Rewrite
19090 all uses of ieee875 long double macros and unions. Simplify test
19091 for 0.0L. Correct |x|<|y| and |x|=|y| test. Use
19092 ldbl_extract_mantissa value for ix,iy exponents. Properly
19093 normalize after ldbl_extract_mantissa, and don't add hidden bit
19094 already handled. Don't treat low word of ieee854 mantissa like
19095 low word of IBM long double and mask off bit when testing for
19096 zero.
19097 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Rewrite
19098 all uses of ieee875 long double macros and unions. Simplify tests
19099 for 0.0L and inf. Correct double adjustment of k. Delete dead code
19100 adjusting ha,hb. Simplify code setting kld. Delete two600 and
19101 two1022, instead use their values. Recognise that tests for large
19102 "a" and small "b" are mutually exclusive. Rename vars. Comment.
19103 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c (__ieee754_remainderl):
19104 Rewrite all uses of ieee875 long double macros and unions. Simplify
19105 test for 0.0L and nan. Correct negation.
19106 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfl): Rewrite all uses of
19107 ieee875 long double macros and unions. Correct output for large
19108 magnitude x. Correct absolute value calculation.
19109 (__erfcl): Likewise.
19110 * math/libm-test.inc: Add tests for errors discovered in IBM long
19111 double versions of fmodl, remainderl, erfl and erfcl.
19112
765714ca
AM
191132013-10-04 Alan Modra <amodra@gmail.com>
19114
19115 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Rewrite
19116 all uses of ieee854 long double macros and unions. Simplify tests
19117 for long doubles that are fully specified by the high double.
19118 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
19119 Likewise.
19120 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl): Likewise.
19121 Remove dead code too.
19122 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
19123 (__ieee754_ynl): Likewise.
19124 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l): Likewise.
19125 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Likewise.
19126 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
19127 Remove dead code too.
19128 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c (__kernel_tanl): Likewise.
19129 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Likewise.
19130 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Likewise.
19131 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c (__isinf_nsl): Likewise.
19132 Simplify.
19133 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c (___isinfl): Likewise.
19134 Simplify.
19135 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Likewise.
19136 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c (__modfl): Likewise.
19137 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Likewise.
19138 Comment on variable precision.
19139 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward): Likewise.
19140 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
19141 Likewise.
19142 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
19143 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
19144 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
19145 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Likewise.
19146 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust tan_towardzero ulps.
19147
4ebd120c
AM
191482013-10-04 Alan Modra <amodra@gmail.com>
19149
19150 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_high): Define.
19151 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Rewrite
19152 all uses of ieee854 long double macros and unions.
19153 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Likewise.
19154 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
19155 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Likewise.
19156 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl): Likewise.
19157 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l): Likewise.
19158 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
19159 Likewise.
19160 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Likewise.
19161 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
19162 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl): Likewise.
19163 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
19164 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Likewise.
19165 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Likewise.
19166 Simplify sign and nan test too.
19167 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c (__cosl): Likewise.
19168 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c (__fabsl): Likewise.
19169 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c (___finitel): Likewise.
19170 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c (___fpclassifyl):
19171 Likewise.
19172 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
19173 * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c (__issignalingl):
19174 Likewise.
19175 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
19176 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c (___signbitl): Likewise.
19177 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c (__sincosl): Likewise.
19178 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c (__sinl): Likewise.
19179 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c (__tanl): Likewise.
19180 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (__logbl): Likewise.
19181
1b6adf88
AM
191822013-10-04 Alan Modra <amodra@gmail.com>
19183
19184 * stdio-common/printf_size.c (__printf_size): Don't use
19185 union ieee854_long_double in fpnum union.
19186 * stdio-common/printf_fphex.c (__printf_fphex): Likewise. Use
19187 signbit macro to retrieve sign from long double.
19188 * stdio-common/printf_fp.c (___printf_fp): Use signbit macro to
19189 retrieve sign from long double.
19190 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Adjust for fpnum change.
19191 * sysdeps/ieee754/ldbl-128/printf_fphex.c: Likewise.
19192 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Likewise.
19193 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
19194 * math/test-misc.c (main): Don't use union ieee854_long_double.
19195
4cf69995
AM
191962013-10-04 Alan Modra <amodra@gmail.com>
19197
19198 [BZ #15680]
19199 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Comment fix.
19200 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c
19201 (PRINT_FPHEX_LONG_DOUBLE): Tidy code by moving -53 into ediff
19202 calculation. Remove unnecessary test for denormal exponent.
19203 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c (__mpn_extract_long_double):
19204 Correct handling of denormals. Avoid undefined shift behaviour.
19205 Correct normalisation of low mantissa when low double is denormal.
19206 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h
19207 (ldbl_extract_mantissa): Likewise. Comment. Use uint64_t* for hi64.
19208 (ldbl_insert_mantissa): Make both hi64 and lo64 parms uint64_t.
19209 Correct normalisation of low mantissa. Test for overflow of high
19210 mantissa and normalise.
19211 (ldbl_nearbyint): Use more readable constant for two52.
19212 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c
19213 (__mpn_construct_long_double): Fix test for overflow of high
19214 mantissa and correct normalisation. Avoid undefined shift.
19215
9605ca6c
AM
192162013-10-04 Alan Modra <amodra@gmail.com>
19217
19218 * sysdeps/ieee754/ldbl-128ibm/ieee754.h
19219 (union ibm_extended_long_double): Define as an array of ieee754_double.
19220 (IBM_EXTENDED_LONG_DOUBLE_BIAS): Delete.
19221 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Update all references
19222 to ibm_extended_long_double and IBM_EXTENDED_LONG_DOUBLE_BIAS.
19223 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
19224 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
19225 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c: Likewise.
19226 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
19227 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
19228 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
19229 * sysdeps/ieee754/ldbl-128ibm/strtold_l.c: Likewise.
19230 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
19231
975569d0
JM
192322013-10-03 Joseph Myers <joseph@codesourcery.com>
19233
d3d23756
JM
19234 * locale/programs/locarchive.c (add_locale): Use constant 4096 for
19235 page size instead of calling getpagesize.
19236
975569d0
JM
19237 * locale/localeinfo.h (LOCFILE_ALIGN): New macro.
19238 (LOCFILE_ALIGN_MASK): Likewise.
19239 (LOCFILE_ALIGN_UP): Likewise.
19240 (LOCFILE_ALIGNED_P): Likewise.
19241 * locale/programs/ld-collate.c (collate_output): Use the new
19242 macros instead of __alignof__ (int32_t).
19243 * locale/weight.h (findidx): Likewise.
19244
b1fe1f2b
OB
192452013-10-03 Ondřej Bílka <neleai@seznam.cz>
19246
19247 [BZ #431]
19248 * manual/string.texi: Fix strncat and wcsncat.
19249
5f855e35
BM
192502013-10-03 Brooks Moses <bmoses@google.com>
19251
19252 [BZ #15915]
19253 * Makefile (linkobj/libc_pic.a, linkobj/libc.so): Move rules to...
19254 * Makerules: ...here, and adjust associated comments.
19255
3cef6009
WN
192562013-10-02 Will Newton <will.newton@linaro.org>
19257
19258 * malloc/Makefile: Add tst-pvalloc.
19259 * malloc/tst-pvalloc.c: New file.
19260
7815420b
WN
192612013-10-02 Will Newton <will.newton@linaro.org>
19262
19263 * malloc/tst-valloc.c: Rewrite to use test-skeleton.c and
19264 improve test coverage.
19265
4868b204
WN
192662013-10-02 Will Newton <will.newton@linaro.org>
19267
19268 * malloc/Makefile: Add tst-posix_memalign.
19269 * malloc/tst-posix_memalign.c: New file.
19270
29c793b3
EB
192712013-10-01 Eric Blake <eblake@redhat.com>
19272
19273 * posix/glob.c (next_brace_sub, prefix_array, collated_compare):
19274 Use __THROWNL rather than __THROW on static functions.
19275
fd967522
PM
192762013-09-30 Petr Machata <pmachata@redhat.com>
19277
19278 * elf/elf.h (R_AARCH64_ABS16): New macro.
19279 (R_AARCH64_PREL64, R_AARCH64_PREL32): Likewise.
19280 (R_AARCH64_PREL16, R_AARCH64_MOVW_UABS_G0): Likewise.
19281 (R_AARCH64_MOVW_UABS_G0_NC, R_AARCH64_MOVW_UABS_G1): Likewise.
19282 (R_AARCH64_MOVW_UABS_G1_NC, R_AARCH64_MOVW_UABS_G2): Likewise.
19283 (R_AARCH64_MOVW_UABS_G2_NC, R_AARCH64_MOVW_UABS_G3): Likewise.
19284 (R_AARCH64_MOVW_SABS_G0, R_AARCH64_MOVW_SABS_G1): Likewise.
19285 (R_AARCH64_MOVW_SABS_G2, R_AARCH64_LD_PREL_LO19): Likewise.
19286 (R_AARCH64_ADR_PREL_LO21, R_AARCH64_ADR_PREL_PG_HI21): Likewise.
19287 (R_AARCH64_ADR_PREL_PG_HI21_NC, R_AARCH64_ADD_ABS_LO12_NC): Likewise.
19288 (R_AARCH64_LDST8_ABS_LO12_NC, R_AARCH64_LDST16_ABS_LO12_NC): Likewise.
19289 (R_AARCH64_LDST32_ABS_LO12_NC, R_AARCH64_LDST64_ABS_LO12_NC): Likewise.
19290 (R_AARCH64_LDST128_ABS_LO12_NC, R_AARCH64_TSTBR14): Likewise.
19291 (R_AARCH64_CONDBR19, R_AARCH64_JUMP26, R_AARCH64_CALL26): Likewise.
19292 (R_AARCH64_MOVW_PREL_G0, R_AARCH64_MOVW_PREL_G0_NC): Likewise.
19293 (R_AARCH64_MOVW_PREL_G1, R_AARCH64_MOVW_PREL_G1_NC): Likewise.
19294 (R_AARCH64_MOVW_PREL_G2, R_AARCH64_MOVW_PREL_G2_NC): Likewise.
19295 (R_AARCH64_MOVW_PREL_G3, R_AARCH64_MOVW_GOTOFF_G0): Likewise.
19296 (R_AARCH64_MOVW_GOTOFF_G0_NC, R_AARCH64_MOVW_GOTOFF_G1): Likewise.
19297 (R_AARCH64_MOVW_GOTOFF_G1_NC, R_AARCH64_MOVW_GOTOFF_G2): Likewise.
19298 (R_AARCH64_MOVW_GOTOFF_G2_NC, R_AARCH64_MOVW_GOTOFF_G3): Likewise.
19299 (R_AARCH64_GOTREL64, R_AARCH64_GOTREL32): Likewise.
19300 (R_AARCH64_GOT_LD_PREL19, R_AARCH64_LD64_GOTOFF_LO15): Likewise.
19301 (R_AARCH64_ADR_GOT_PAGE, R_AARCH64_LD64_GOT_LO12_NC): Likewise.
19302 (R_AARCH64_LD64_GOTPAGE_LO15, R_AARCH64_TLSGD_ADR_PREL21): Likewise.
19303 (R_AARCH64_TLSGD_ADR_PAGE21, R_AARCH64_TLSGD_ADD_LO12_NC): Likewise.
19304 (R_AARCH64_TLSGD_MOVW_G1, R_AARCH64_TLSGD_MOVW_G0_NC): Likewise.
19305 (R_AARCH64_TLSLD_ADR_PREL21, R_AARCH64_TLSLD_ADR_PAGE21): Likewise.
19306 (R_AARCH64_TLSLD_ADD_LO12_NC, R_AARCH64_TLSLD_MOVW_G1): Likewise.
19307 (R_AARCH64_TLSLD_MOVW_G0_NC, R_AARCH64_TLSLD_LD_PREL19): Likewise.
19308 (R_AARCH64_TLSLD_MOVW_DTPREL_G2): Likewise.
19309 (R_AARCH64_TLSLD_MOVW_DTPREL_G1): Likewise.
19310 (R_AARCH64_TLSLD_MOVW_DTPREL_G1_NC): Likewise.
19311 (R_AARCH64_TLSLD_MOVW_DTPREL_G0): Likewise.
19312 (R_AARCH64_TLSLD_MOVW_DTPREL_G0_NC): Likewise.
19313 (R_AARCH64_TLSLD_ADD_DTPREL_HI12): Likewise.
19314 (R_AARCH64_TLSLD_ADD_DTPREL_LO12): Likewise.
19315 (R_AARCH64_TLSLD_ADD_DTPREL_LO12_NC): Likewise.
19316 (R_AARCH64_TLSLD_LDST8_DTPREL_LO12): Likewise.
19317 (R_AARCH64_TLSLD_LDST8_DTPREL_LO12_NC): Likewise.
19318 (R_AARCH64_TLSLD_LDST16_DTPREL_LO12): Likewise.
19319 (R_AARCH64_TLSLD_LDST16_DTPREL_LO12_NC): Likewise.
19320 (R_AARCH64_TLSLD_LDST32_DTPREL_LO12): Likewise.
19321 (R_AARCH64_TLSLD_LDST32_DTPREL_LO12_NC): Likewise.
19322 (R_AARCH64_TLSLD_LDST64_DTPREL_LO12): Likewise.
19323 (R_AARCH64_TLSLD_LDST64_DTPREL_LO12_NC): Likewise.
19324 (R_AARCH64_TLSLD_LDST128_DTPREL_LO12): Likewise.
19325 (R_AARCH64_TLSLD_LDST128_DTPREL_LO12_NC): Likewise.
19326 (R_AARCH64_TLSIE_MOVW_GOTTPREL_G1): Likewise.
19327 (R_AARCH64_TLSIE_MOVW_GOTTPREL_G0_NC): Likewise.
19328 (R_AARCH64_TLSIE_ADR_GOTTPREL_PAGE21): Likewise.
19329 (R_AARCH64_TLSIE_LD64_GOTTPREL_LO12_NC): Likewise.
19330 (R_AARCH64_TLSIE_LD_GOTTPREL_PREL19): Likewise.
19331 (R_AARCH64_TLSLE_MOVW_TPREL_G2): Likewise.
19332 (R_AARCH64_TLSLE_MOVW_TPREL_G1): Likewise.
19333 (R_AARCH64_TLSLE_MOVW_TPREL_G1_NC): Likewise.
19334 (R_AARCH64_TLSLE_MOVW_TPREL_G0): Likewise.
19335 (R_AARCH64_TLSLE_MOVW_TPREL_G0_NC): Likewise.
19336 (R_AARCH64_TLSLE_ADD_TPREL_HI12): Likewise.
19337 (R_AARCH64_TLSLE_ADD_TPREL_LO12): Likewise.
19338 (R_AARCH64_TLSLE_ADD_TPREL_LO12_NC): Likewise.
19339 (R_AARCH64_TLSLE_LDST8_TPREL_LO12): Likewise.
19340 (R_AARCH64_TLSLE_LDST8_TPREL_LO12_NC): Likewise.
19341 (R_AARCH64_TLSLE_LDST16_TPREL_LO12): Likewise.
19342 (R_AARCH64_TLSLE_LDST16_TPREL_LO12_NC): Likewise.
19343 (R_AARCH64_TLSLE_LDST32_TPREL_LO12): Likewise.
19344 (R_AARCH64_TLSLE_LDST32_TPREL_LO12_NC): Likewise.
19345 (R_AARCH64_TLSLE_LDST64_TPREL_LO12): Likewise.
19346 (R_AARCH64_TLSLE_LDST64_TPREL_LO12_NC): Likewise.
19347 (R_AARCH64_TLSLE_LDST128_TPREL_LO12): Likewise.
19348 (R_AARCH64_TLSLE_LDST128_TPREL_LO12_NC): Likewise.
19349 (R_AARCH64_TLSDESC_LD_PREL19): Likewise.
19350 (R_AARCH64_TLSDESC_ADR_PREL21): Likewise.
19351 (R_AARCH64_TLSDESC_ADR_PAGE21): Likewise.
19352 (R_AARCH64_TLSDESC_LD64_LO12): Likewise.
19353 (R_AARCH64_TLSDESC_ADD_LO12): Likewise.
19354 (R_AARCH64_TLSDESC_OFF_G1): Likewise.
19355 (R_AARCH64_TLSDESC_OFF_G0_NC): Likewise.
19356 (R_AARCH64_TLSDESC_LDR): Likewise.
19357 (R_AARCH64_TLSDESC_ADD): Likewise.
19358 (R_AARCH64_TLSDESC_CALL): Likewise.
19359
b2179107
AS
193602013-09-30 Andreas Schwab <schwab@suse.de>
19361
19362 [BZ #15048]
19363 * nscd/aicache.c (addhstaiX): Properly use the cache variable for
19364 the nss database lookup.
19365 * nscd/initgrcache.c (addinitgroupsX): Likewise.
19366 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
19367
47f28d0a
MF
193682013-09-28 Mike Frysinger <vapier@gentoo.org>
19369
19370 * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Fix style.
19371
193722013-09-28 P. J. McDermott <pj@pehjota.net>
0a834dde
PM
19373
19374 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't use
19375 ${Bash-specific parameter/pattern/string} parameter expansion.
19376 * sysdeps/unix/make-syscalls.sh: Likewise.
19377
f4518a17
KK
193782013-09-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
19379
19380 * sysdeps/sh/stackguard-macros.h: New file.
19381
dc1a95c7
OB
193822013-09-26 Ondřej Bílka <neleai@seznam.cz>
19383
19384 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
19385 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove strrchr ifunc.
19386 * sysdeps/x86_64/multiarch/strend-sse4.S Remove.
19387 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S Likewise.
19388 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
19389 * sysdeps/x86_64/strrchr.S (strrchr): Use optimized implementation.
19390
5ebbff8f
AZ
193912013-09-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19392
19393 * sysdeps/powerpc/powerpc64/stackguard-macros.h (POINTER_CHK_GUARD:
19394 Fix thread ID register.
19395
4fd2cf9f
JM
193962013-09-25 Joseph Myers <joseph@codesourcery.com>
19397
19398 * conform/data/sched.h-data [XPG3 || XPG4]: Disable whole file.
19399 [POSIX || UNIX98]: Require rather than permitting all symbols from
19400 <time.h>.
19401 [POSIX || UNIX98] (sched_ss_low_priority): Do not specify optional
19402 element of struct sched_param.
19403 [POSIX || UNIX98] (sched_ss_repl_period): Likewise.
19404 [POSIX || UNIX98] (sched_ss_init_budget): Likewise.
19405 [POSIX || UNIX98] (sched_ss_max_repl): Likewise.
19406 [POSIX || UNIX98] (SCHED_SPORADIC): Do not specify optional
19407 constant.
19408
12c22bc4
OL
194092013-09-24 Olivier Langlois <olivier@olivierlanglois.net>
19410
19411 * stdio-common/tst-long-dbl-fphex.c (do_test): Fix swprintf length
19412 argument calculation.
19413
a03d8ea7
JM
194142013-09-24 Joseph Myers <joseph@codesourcery.com>
19415
19416 * conform/data/pthread.h-data [POSIX] (PTHREAD_MUTEX_INITIALIZER):
19417 Expect macro.
19418 [POSIX] (pthread_attr_t): Do not require type.
19419 [POSIX] (pthread_cond_t): Likewise.
19420 [POSIX] (pthread_condattr_t): Likewise.
19421 [POSIX] (pthread_key_t): Likewise.
19422 [POSIX] (pthread_mutex_t): Likewise.
19423 [POSIX] (pthread_mutexattr_t): Likewise.
19424 [POSIX] (pthread_once_t): Likewise.
19425 [POSIX] (pthread_t): Likewise.
19426 [POSIX-based standards] (pthread_atfork): Expect function.
19427
6055173a
JM
194282013-09-24 Joseph Myers <joseph@codesourcery.com>
19429 Richard Sandiford <richard@codesourcery.com>
19430
19431 * locale/programs/locfile.h: Include <byteswap.h> and <stdbool.h>.
19432 (swap_endianness_p): New extern variable.
19433 (set_big_endian): New inline function.
19434 (maybe_swap_uint32): Likewise.
19435 (maybe_swap_uint32_array): Likewise.
19436 (maybe_swap_uint32_obstack): Likewise.
19437 * locale/programs/locfile.c: Include <stdbool.h>.
19438 (swap_endianness_p): New variable.
19439 (add_locale_uint32): Call maybe_swap_uint32.
19440 (add_locale_uint32_array): Call maybe_swap_uint32_obstack.
19441 (write_locale_data): Call maybe_swap_uint32_array.
19442 * locale/programs/ld-collate.c (obstack_int32_grow): Call
19443 maybe_swap_uint32.
19444 (obstack_int32_grow_fast): Likewise.
19445 (output_weightwc): Call maybe_swap_uint32_obstack.
19446 (collate_output): Likewise.
19447 * locale/programs/localedef.c (OPT_LITTLE_ENDIAN): New macro.
19448 (OPT_LITTLE_ENDIAN): Likewise.
19449 (options): Add --little-endian and --big-endian options.
19450 (parse_opt): Handle OPT_LITTLE_ENDIAN and OPT_BIG_ENDIAN.
19451 * locale/programs/locarchive.c: Include "locfile.h".
19452 (GET): New macro.
19453 (SET): Likewise.
19454 (INC): Likewise.
19455 (create_archive): Use the new macros to access fields of
19456 structures directly mapped from or written to locale archives.
19457 (oldlocrecentcmp): Likewise.
19458 (enlarge_archive): Likewise.
19459 (insert_name): Likewise.
19460 (add_alias): Likewise.
19461 (add_locale): Likewise.
19462 (delete_locales_from_archive): Likewise.
19463 (show_archive_content): Likewise.
19464 (add_locale_to_archive): Likewise. Use maybe_swap_uint32 on
19465 locale data.
19466
39bf0bb4
RM
194672013-09-24 Roland McGrath <roland@hack.frob.com>
19468
19469 * manual/freemanuals.texi: Updated from (newly) canonical copy at
19470 http://www.gnu.org/doc/freemanuals.texi.
19471 * manual/libc.texinfo (Free Manuals): Put the @appendix line here.
19472
f02eed10
WN
194732013-09-24 Will Newton <will.newton@linaro.org>
19474
19475 * sysdeps/mach/hurd/i386/tls.h (TLS_INIT_TP_EXPENSIVE): Remove
19476 macro.
19477
a3a6c312
JM
194782013-09-23 Joseph Myers <joseph@codesourcery.com>
19479
19480 * locale/hashval.h (compute_hashval): Interpret bytes of key as
19481 unsigned char.
19482
107375ac
MR
194832013-09-23 Maciej W. Rozycki <macro@codesourcery.com>
19484
19485 * manual/threads.texi (POSIX Threads): Fix a typo.
19486
141f3a77
SP
194872013-09-23 Siddhesh Poyarekar <siddhesh@redhat.com>
19488
303e567a
SP
19489 [BZ #14547]
19490 * string/tst-strcoll-overflow.c: New test case.
19491 * string/Makefile (xtests): Add tst-strcoll-overflow.
19492 * string/strcoll_l.c (STRCOLL): Skip allocating memory for
19493 cache if string sizes may cause integer overflow.
19494
141f3a77
SP
19495 [BZ #14547]
19496 * string/strcoll_l.c (coll_seq): New members rule, idx,
19497 save_idx and back_us.
19498 (get_next_seq_nocache): New function.
19499 (do_compare_nocache): New function.
19500 (STRCOLL): Use get_next_seq_nocache and do_compare_nocache
19501 when malloc fails.
19502
c61b4d41
CD
195032013-09-23 Carlos O'Donell <carlos@redhat.com>
19504
0b1f8e35
CD
19505 [BZ #15754]
19506 * sysdeps/generic/stackguard-macros.h: If PTRGUARD_LOCAL use
19507 __pointer_chk_guard_local, otherwise __pointer_chk_guard.
19508 * elf/Makefile: Define CFLAGS-tst-ptrguard1-static.c.
19509
c61b4d41
CD
19510 [BZ #15754]
19511 * elf/Makefile (tests): Add tst-ptrguard1.
19512 (tests-static): Add tst-ptrguard1-static.
19513 (tst-ptrguard1-ARGS): Define.
19514 (tst-ptrguard1-static-ARGS): Define.
19515 * elf/tst-ptrguard1.c: New file.
19516 * elf/tst-ptrguard1-static.c: New file.
19517 * sysdeps/x86_64/stackguard-macros.h: Define POINTER_CHK_GUARD.
19518 * sysdeps/i386/stackguard-macros.h: Likewise.
19519 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
19520 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
19521 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
19522 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
19523 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
19524 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
19525
195262013-09-23 Hector Marco <hecmargi@upv.es>
19527 Ismael Ripoll <iripoll@disca.upv.es>
19528 Carlos O'Donell <carlos@redhat.com>
19529
19530 [BZ #15754]
19531 * sysdeps/generic/stackguard-macros.h: Define
19532 __pointer_chk_guard_local and POINTER_CHK_GUARD.
19533 * csu/libc-start.c [!SHARED && !THREAD_SET_POINTER_GUARD]:
19534 Define __pointer_chk_guard_local.
19535 (LIBC_START_MAIN) [!SHARED]: Call _dl_setup_pointer_guard.
19536 Use THREAD_SET_POINTER_GUARD or set __pointer_chk_guard_local.
19537
f5f4e7b4
VV
195382013-09-15 Vinitha Vijayan <vinitha.vijayann@gmail.com>
19539
19540 [BZ #15859]
19541 * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate declaration.
19542
5bb43a43
AS
195432013-09-20 Andreas Schwab <schwab@linux-m68k.org>
19544
19545 * include/string.h (__ffs): Declare as hidden.
19546 * string/ffs.c (__ffs): Define as hidden.
19547 * sysdeps/i386/ffs.c (__ffs): Likewise.
19548 * sysdeps/i386/i686/ffs.c (__ffs): Likewise.
19549 * sysdeps/powerpc/ffs.c (__ffs): Likewise.
19550 * sysdeps/s390/ffs.c (__ffs): Likewise.
19551 * sysdeps/x86_64/ffs.c (__ffs): Likewise.
19552
3ea5be54
AO
195532013-09-20 Alexandre Oliva <aoliva@redhat.com>
19554
ffb89e53
AO
19555 * NEWS: Mention malloc probes.
19556
322dea08
AO
19557 * malloc/arena.c (new_heap): New memory_heap_new probe.
19558 (grow_heap): New memory_heap_more probe.
19559 (shrink_heap): New memory_heap_less probe.
19560 (heap_trim): New memory_heap_free probe.
19561 * malloc/malloc.c (sysmalloc): New memory_sbrk_more probe.
19562 (systrim): New memory_sbrk_less probe.
19563 * manual/probes.texi: Document them.
19564
655673f3
AO
19565 * malloc/arena.c (arena_get_retry): Add memory_arena_retry probe.
19566 * manual/probes.texi: Document it.
19567
35fed6f1
AO
19568 * malloc/malloc.c (__libc_malloc): Add memory_malloc_retry probe.
19569 (__libc_realloc): Add memory_realloc_retry probe.
19570 (__libc_memalign): Add memory_memalign_retry probe.
19571 (__libc_valloc): Add memory_valloc_retry probe.
19572 (__libc_pvalloc): Add memory_pvalloc_retry probe.
19573 (__libc_calloc): Add memory_calloc_retry probe.
19574 * manual/probes.texi: Document them.
19575
6999d38c
AO
19576 * malloc/arena.c (get_free_list): Add probe
19577 memory_arena_reuse_free_list.
19578 (reused_arena) [PER_THREAD]: Add probes memory_arena_reuse_wait
19579 and memory_arena_reuse.
19580 (arena_get2) [!PER_THREAD]: Likewise.
19581 * malloc/malloc.c (__libc_realloc) [!PER_THREAD]: Add probe
19582 memory_arena_reuse_realloc.
19583 * manual/probes.texi: Document them.
19584
0653427f
AO
19585 * malloc/malloc.c (__libc_free): Add
19586 memory_mallopt_free_dyn_thresholds probe.
19587 (__libc_mallopt): Add multiple memory_mallopt probes.
19588 * manual/probes.texi: Document them.
19589
3ea5be54
AO
19590 * malloc/malloc.c: Include stap-probe.h.
19591 (__libc_mallopt): Add memory_mallopt probe.
19592 * malloc/arena.c (_int_new_arena): Add memory_arena_new probe.
19593 * manual/probes.texi: New.
19594 * manual/Makefile (chapters): Add probes.
19595 * manual/threads.texi: Set next node.
19596
e35696c3 195972013-09-19 Wei-Lun Chao <bluebat@member.fsf.org>
3e181dda 19598
e35696c3
CL
19599 [BZ #15963, #13985]
19600 * locale/iso-639.def: Add Chiga (cgg) and Chinese (gan, hak,
19601 czh, cjy, lzh, cmn, mnp, cdo, czo, cpx, wuu, hsn, yue).
19602 Add `Chinese' to `nan' entry name.
19603
4aafb73c
SP
196042013-09-19 Siddhesh Poyarekar <siddhesh@redhat.com>
19605
19606 * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): New macro.
19607 (POLYNOMIAL): Likewise.
19608 (TAYLOR_SINCOS): Likewise.
19609 (TAYLOR_SLOW): Likewise.
19610 (__sin): Use TAYLOR_SINCOS.
19611 (__cos): Likewise.
19612 (slow): Use TAYLOR_SLOW.
19613 (sloww): Likewise.
19614 (bsloww): Likewise.
19615 (csloww): Likewise.
19616
d84f25c7
LD
196172013-09-19 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
19618
19619 * stdlib/strtod_l.c: Fix buffer overrun.
19620
5eea0404
SP
196212013-09-19 Siddhesh Poyarekar <siddhesh@redhat.com>
19622
7849ff93
SP
19623 * benchtests/Makefile (bench): Add sincos.
19624 * benchtests/bench-sincos.c: New file.
19625
cfa3c886
SP
19626 * math/libm-test.inc (cos_test_data): New test inputs.
19627 (sin_test_data): Likewise.
19628
b348e1e3
SP
19629 * sysdeps/ieee754/dbl-64/s_sin.c (SINCOS_TABLE_LOOKUP): New
19630 macro.
19631 (__sin): Use it.
19632 (__cos): Likewise.
19633 (slow1): Likewise.
19634 (slow2): Likewise.
19635 (sloww1): Likewise.
19636 (sloww2): Likewise.
19637 (bsloww1): Likewise.
19638 (bsloww2): Likewise.
19639 (cslow2): Likewise.
19640 (csloww1): Likewise.
19641 (csloww2): Likewise.
19642
6cce25f8
SP
19643 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): New
19644 function.
19645 (__sin): Use it.
19646 (__cos): Likewise.
19647
5eea0404
SP
19648 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Remove redundant
19649 gotos.
19650 (__cos): Likewise.
19651
9c21573c
MR
196522013-09-18 Maciej W. Rozycki <macro@codesourcery.com>
19653
19654 * config.h.in (HAVE_MIPS_NAN2008): New macro.
19655 * elf/elf.h (EF_MIPS_NAN2008): Likewise.
19656 * sysdeps/generic/ldconfig.h (FLAG_MIPS_LIB32_NAN2008): Likewise.
19657 (FLAG_MIPS64_LIBN32_NAN2008): Likewise.
19658 (FLAG_MIPS64_LIBN64_NAN2008): Likewise.
19659 * elf/cache.c (print_entry): Handle the new cache flags.
19660
24d22e65
JM
196612013-09-18 Joseph Myers <joseph@codesourcery.com>
19662 Aldy Hernandez <aldyh@redhat.com>
19663
19664 * sysdeps/powerpc/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]:
19665 Change condition to [_SOFT_FLOAT].
19666 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_NEAREST): New macro.
19667 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_DOWN): Likewise.
19668 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_UP): Likewise.
19669 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_ZERO): Likewise.
19670 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_ZM): Likewise.
19671 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_OM): Likewise.
19672 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Likewise.
19673 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_XM): Likewise.
19674 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_IM): Likewise.
19675 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Likewise.
19676 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Likewise.
19677 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Likewise.
19678 [__NO_FPRS__ && !_SOFT_FLOAT] (fpu_control_t): New typedef.
19679 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_GETCW): New macro.
19680 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_SETCW): Likewise.
19681 [__NO_FPRS__ && !_SOFT_FLOAT] (__fpu_control): New variable
19682 declaration.
19683
d13ef066
JM
196842013-09-18 Joseph Myers <joseph@codesourcery.com>
19685
2e071de0
JM
19686 * sysdeps/powerpc/powerpc32/__longjmp-common.S (LOAD_GP): Define
19687 macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
19688 (__longjmp): Use LOAD_GP to load saved GPRs.
19689 * sysdeps/powerpc/powerpc32/setjmp-common.S (SAVE_GP): Define
19690 macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
19691 (__sigsetjmp): Use SAVE_GP to save GPRs.
19692
d13ef066
JM
19693 * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = no] (+cflags):
19694 Do not append -msoft-float.
19695 [$(with-fp) = no] (sysdep-LDFLAGS): Likewise.
19696
97a0650b
SP
196972013-09-18 Siddhesh Poyarekar <siddhesh@redhat.com>
19698
19699 * sysdeps/ieee754/dbl-64/sincos32.c: Fix code formatting.
19700
11ca09e9
JM
197012013-09-17 Joseph Myers <joseph@codesourcery.com>
19702
19703 [BZ #15966]
19704 * sysdeps/powerpc/fpu_control.h [!_SOFT_FLOAT && !__NO_FPRS__]
19705 (_FPU_GETCW): Use initial "__" on variable and field names but not
19706 on macro parameter name.
19707 [!_SOFT_FLOAT && !__NO_FPRS__] (_FPU_SETCW): Likewise. Use
19708 parentheses around reference to macro parameter.
19709
08ffcf34
RS
197102013-09-13 Richard Sandiford <richard@codesourcery.com>
19711
19712 * locale/programs/ld-ctype.c (find_idx): Use uint32_t in
19713 prototype.
19714 (ctype_startup): Use uint32_t in cast and sizeof for
19715 ctype->charnames.
19716
ae7080d3
JL
197172013-09-11 Jia Liu <proljc@gmail.com>
19718
19719 * sunrpc/rpc/types.h [__APPLE_CC__]: Define __u_char_defined and
19720 __daddr_t_defined.
19721 [__FreeBSD__]: Likewise.
19722
5905e7b3
OB
197232013-09-11 Ondřej Bílka <neleai@seznam.cz>
19724
19725 * sysdeps/x86_64/multiarch/ifunc-impl-list.c
19726 (__libc_ifunc_impl_list): Remove: __strchr_sse42.
19727 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Remove.
19728 (strchr): Remove __strchr_sse42 ifunc selection.
19729 * sysdeps/x86_64/strchr.S (strchr): Use optimized implementation.
19730 * sysdeps/x86_64/strchrnul.S: Include sysdeps/x86_64/strchr.S.
19731
b987c776
WN
197322013-09-11 Will Newton <will.newton@linaro.org>
19733
19734 * benchtests/bench-timing.h (TIMING_INIT): Rename ITERS
19735 parameter to RES. Remove hardcoded 1000 value.
19736 * benchtests/bench-skeleton.c (main): Pass RES parameter
19737 to TIMING_INIT and multiply result by 1000.
19738
ddf985af
AZ
197392013-09-10 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19740
19741 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
19742
ffdd3181
AS
197432013-09-11 Andreas Schwab <schwab@suse.de>
19744
19745 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
19746 if not defined.
19747 (O_TMPFILE) [__USE_GNU]: Define.
19748 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_TMPFILE):
19749 Define.
19750
b73ed247
WN
197512013-09-11 Will Newton <will.newton@linaro.org>
19752
19753 [BZ #15857]
19754 * malloc/malloc.c (__libc_memalign): Check the value of bytes
19755 does not overflow.
19756
55e17aad
WN
197572013-09-11 Will Newton <will.newton@linaro.org>
19758
19759 [BZ #15856]
19760 * malloc/malloc.c (__libc_valloc): Check the value of bytes
19761 does not overflow.
19762
1159a193
WN
197632013-09-11 Will Newton <will.newton@linaro.org>
19764
19765 [BZ #15855]
19766 * malloc/malloc.c (__libc_pvalloc): Check the value of bytes
19767 does not overflow.
19768
5905e7b3 197692013-09-10 Ondřej Bílka <neleai@seznam.cz>
c7cabd13
OB
19770
19771 * sysdeps/ieee754/dbl-64/e_j0.c: Remove DO_NOT_USE_THIS conditionals.
19772 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
19773 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
19774 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
19775 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
19776
cdfc721b
AM
197772013-09-10 Allan McRae <allan@archlinux.org>
19778
aa04af00
AM
19779 [BZ #15748]
19780 * manual/arith.texi (Parsing of Floats): Clarify
19781 cross-reference.
19782
cdfc721b
AM
19783 [BZ #15849]
19784 * manual/install.texi (Running make install): Mention
19785 --enable-pt-chown.
19786 * INSTALL: Regenerated.
19787
95e7cf29
MR
197882013-09-09 Maciej W. Rozycki <macro@codesourcery.com>
19789
19790 * csu/init-first.c (_init): Remove the !SHARED condition around
19791 FPU control word initialization.
19792 * elf/dl-support.c (_dl_fpu_control): New variable.
19793 (_dl_aux_init) <AT_FPUCW>: Initialize it.
19794 * math/test-fpucw.c [!FPU_CONTROL] (FPU_CONTROL): New macro.
19795 (main): Replace _FPU_DEFAULT with FPU_CONTROL throughout.
19796 * math/test-fpucw-static.c: New file.
19797 * math/test-fpucw-ieee.c: New file.
19798 * math/test-fpucw-ieee-static.c: New file.
19799 * math/Makefile (tests): Add `test-fpucw-ieee' and
19800 `$(tests-static)'.
19801 (tests-static): New variable.
19802 [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests))): Move
19803 dependency to...
19804 [($(build-shared),yes)]
19805 ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
19806 ... this.
19807 [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests-static))):
19808 New dependency.
19809
83e43bf0
AM
198102013-09-09 Allan McRae <allan@archlinux.org>
19811
a9f5ce09
AM
19812 [BZ #15939]
19813 * manual/string.texi (Collation Functions): Fix typo in
19814 strcoll example.
19815 Reported by Suren Karapetyan <me@suren.karapetyan.name>.
19816
34829bc2
AM
19817 [BZ #15893]
19818 * stdlib/isomac.c (get_null_defines): Fix memory leak.
19819
3932737d
AM
19820 [BZ #15892]
19821 * libio/memstream.c (open_memstream): Fix memory leak.
19822 * libio/wmemstream.c (open_wmemstream): Likewise.
19823
83e43bf0
AM
19824 [BZ #15895]
19825 * nscd/netgroupcache.c: Fix nesting of ifdefs.
19826
0c66b8e9
WN
198272013-09-09 Will Newton <will.newton@linaro.org>
19828
19829 * malloc/Makefile: Add tst-realloc to tests.
19830 * malloc/tst-realloc.c: New file.
19831
f6b00fd1
AM
198322013-09-09 Allan McRae <allan@archlinux.org>
19833
19834 [BZ #15844]
19835 * COPYING: Update from GNU website to fix FSF address.
19836 * COPYING.LIB: Likewise.
19837
eec55e16
DM
198382013-09-06 David S. Miller <davem@davemloft.net>
19839
19840 * po/zh_TW.po: Update Chinese (traditional) translation from
19841 translation project.
19842
1ecbb381
RS
198432013-09-06 Richard Sandiford <richard@codesourcery.com>
19844 Joseph Myers <joseph@codesourcery.com>
19845
19846 * locale/programs/locfile.c: Include <assert.h>, <wchar.h> and
19847 "localeinfo.h".
19848 (obstack_chunk_alloc): New macro.
19849 (obstack_chunk_free): Likewise.
19850 (record_offset): New function.
19851 (init_locale_data): Likewise.
19852 (align_locale_data): Likewise.
19853 (add_locale_empty): Likewise.
19854 (add_locale_raw_data): Likewise.
19855 (add_locale_raw_obstack): Likewise.
19856 (add_locale_string): Likewise.
19857 (add_locale_wstring): Likewise.
19858 (add_locale_uint32): Likewise.
19859 (add_locale_uint32_array): Likewise.
19860 (add_locale_char): Likewise.
19861 (start_locale_structure): Likewise.
19862 (end_locale_structure): Likewise.
19863 (start_locale_prelude): Likewise.
19864 (end_locale_prelude): Likewise.
19865 (write_locale_data): Take locale_file structure rather than an
19866 iovec.
19867 * locale/programs/locfile.h: Include "obstack.h".
19868 (struct locale_file): Change to store locale file contents instead
19869 of header.
19870 (init_locale_data): New prototype.
19871 (align_locale_data): Likewise.
19872 (add_locale_empty): Likewise.
19873 (add_locale_raw_data): Likewise.
19874 (add_locale_raw_obstack): Likewise.
19875 (add_locale_string): Likewise.
19876 (add_locale_wstring): Likewise.
19877 (add_locale_uint32): Likewise.
19878 (add_locale_uint32_array): Likewise.
19879 (add_locale_char): Likewise.
19880 (start_locale_structure): Likewise.
19881 (end_locale_structure): Likewise.
19882 (start_locale_prelude): Likewise.
19883 (end_locale_prelude): Likewise.
19884 (write_locale_data): Update prototype.
19885 * locale/programs/3level.h (struct TABLE): Remove result field.
19886 (CONCAT(TABLE,_finalize)): Change to CONCAT(add_locale_,TABLE).
19887 Use new locale_file interface.
19888 [!NO_FINALIZE]: Change condition to [!NO_ADD_LOCALE].
19889 (NO_FINALIZE): Change #undef to #undef of NO_ADD_LOCALE.
19890 * locale/programs/ld-address.c (address_output): Use new
19891 locale_file interface.
19892 * locale/programs/ld-collate.c (NO_FINALIZE): Change to
19893 NO_ADD_LOCALE.
19894 (collate_finish): Don't call collseq_table_finalize.
19895 (collate_output): Use new locale_file interface.
19896 * locale/programs/ld-ctype.c: Move includes of "3level.h" earlier
19897 in file.
19898 (NO_FINALIZE): Change to NO_ADD_LOCALE.
19899 (TABLE): Move defines earlier in file.
19900 (ELEMENT): Likewise.
19901 (DEFAULT): Likewise.
19902 (wctrans_table_add): Move macro and inline function earlier in
19903 file.
19904 (struct wctype_table): Move type earlier in file.
19905 (add_locale_wctype_table): New static prototype.
19906 (struct locale_ctype_t): Use logical types instead of struct iovec
19907 pointers for members.
19908 (ctype_output): Use new locale_file interface.
19909 (wctype_table_finalize): Change to add_locale_wctype_table. Use
19910 new locale_file interface.
19911 (allocate_arrays): Update for use of new locale_file interface.
19912 * locale/programs/ld-identification.c (identification_output): Use
19913 new locale_file interface.
19914 * locale/programs/ld-measurement.c (measurement_output): Likewise.
19915 * locale/programs/ld-messages.c (messages_output): Likewise.
19916 * locale/programs/ld-monetary.c (monetary_output): Likewise.
19917 * locale/programs/ld-name.c (name_output): Likewise.
19918 * locale/programs/ld-numeric.c (numeric_output): Likewise.
19919 * locale/programs/ld-paper.c (paper_output): Likewise.
19920 * locale/programs/ld-telephone.c (telephone_output): Likewise.
19921 * locale/programs/ld-time.c (time_output): Likewise.
19922
e029e2e5
AZ
199232013-09-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19924
19925 * benchtests/Makefile: Add memrchr benchmark.
19926 * benchtests/bench-memchr.c (USE_AS_MEMRCHR): Add define to use
19927 benchmark as memrchr.
19928 * benchtests/bench-memrchr-ifunc.c: New file.
19929 * benchtests/bench-memrchr.c: New file.
19930
bbf6e8e4
WN
199312013-09-06 Will Newton <will.newton@linaro.org>
19932
19933 * benchtests/Makefile (string-bench): Add memcpy.
19934
6c82a2f8
CD
199352013-09-05 Carlos O'Donell <carlos@redhat.com>
19936 Cong Wang <amwang@redhat.com>
19937
e732c5f0 19938 [BZ #15850]
6c82a2f8
CD
19939 * sysdeps/unix/sysv/linux/bits/in.h
19940 [_UAPI_LINUX_IN6_H]: Define __USE_KERNEL_IPV6_DEFS.
19941 * inet/netinet/in.h: Move in_addr definition and bits/in.h inclusion
19942 before __USE_KERNEL_IPV6_DEFS uses.
19943 * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Define IPPROTO_MH, and
19944 IPPROTO_BEETPH.
19945 [__USE_KERNEL_IPV6_DEFS]: Don't define any of IPPROTO_*, in6_addr,
19946 sockaddr_in6, or ipv6_mreq.
19947
5430fc65
AZ
199482013-09-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19949
19950 * sysdeps/powerpc/powerpc32/power7/memrchr.S (__memrchr): Fix invalid
19951 memory access for final bytes in some large inputs.
19952 * sysdeps/powerpc/powerpc64/power7/memrchr.S (__memrchr): Likewise.
19953
4660856c
AZ
199542013-09-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19955
19956 * string/test-memrchr.c: New file.
19957 * string/test-memrchr-ifunc.c: New file.
19958 * string/Makefile: Add new memrchr testcase.
19959
bb8ea713
MF
199602013-09-05 Mike Frysinger <vapier@gentoo.org>
19961
19962 * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Skip test when
19963 fanotify_init returns EPERM.
19964
b92a20b5
JM
199652013-09-04 Joseph Myers <joseph@codesourcery.com>
19966
19967 * conform/conformtest.pl (newtoken): Treat tokens not allowed as
19968 errors.
19969 (top level): Treat second token from macro or constant entries for
19970 allowed headers as allowed.
19971 * include/complex.h: Condition internal declarations on
19972 [!_ISOMAC].
19973 * include/fenv.h: Condition include of <stdbool.h> and internal
19974 declarations on [!_ISOMAC].
7447ccd9
CL
19975
199762013-09-04 Chris Leonard <cjl@sugarlabs,.org>
19977
3e181dda 19978 [BZ #15923]
7447ccd9
CL
19979 * locale/iso-4217.def: Update iso-1427.def and related occurrences.
19980
3f2e46a4
JM
199812013-09-04 Joseph Myers <joseph@codesourcery.com>
19982
19983 * configure.in (--enable-versioning): Remove configure option.
19984 (libc_cv_asm_symver_directive): Remove configure test.
19985 (libc_cv_ld_version_script_option): Likewise.
19986 (VERSIONING): Remove variable and AC_SUBST.
19987 (DO_VERSIONING): Remove AC_DEFINE.
19988 * configure: Regenerated.
19989 * config.h.in (DO_VERSIONING): Remove macro.
19990 * Makerules [$(versioning) = yes]: Change conditionals to
19991 [$(build-shared) = yes].
19992 * config.make.in (versioning): Remove variable.
19993 * dlfcn/Makefile [$(versioning) = yes]: Change conditionals to
19994 [$(build-shared) = yes].
19995 * dlfcn/modstatic2.c (test) [DO_VERSIONING]: Remove conditional.
19996 * dlfcn/tststatic2.c (main) [DO_VERSIONING]: Likewise.
19997 * elf/Makefile [$(versioning) = yes]: Change conditionals to
19998 [$(build-shared) = yes].
19999 * extra-lib.mk [$(versioning) = yes]: Likewise.
20000 * hurd/Makefile [$(versioning) = yes]: Likewise.
20001 * hurd/geteuids.c [SHARED && DO_VERSIONING]: Change conditional to
20002 [SHARED].
20003 * include/libc-symbols.h [DO_VERSIONING]: Change conditional to
20004 [SHARED].
20005 [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
20006 [SHARED && !NO_HIDDEN].
20007 * include/shlib-compat.h [DO_VERSIONING]: Change conditional to
20008 [SHARED].
20009 [SHARED && DO_VERSIONING]: Likewise..
20010 * libio/Makefile [$(versioning) = yes]: Change conditionals to
20011 [$(build-shared) = yes].
20012 * manual/install.texi (--disable-versioning): Remove
20013 documentation.
20014 * INSTALL: Regenerated.
20015 * resolv/res_libc.c [SHARED && DO_VERSIONING]: Change conditional
20016 to [SHARED].
20017 * sunrpc/Makefile [$(versioning) = yes]: Change conditional to
20018 [$(build-shared) = yes].
20019 * sysdeps/gnu/Makefile [$(versioning) = yes]: Likewise.
20020 * sysdeps/i386/i686/multiarch/strstr-c.c
20021 [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
20022 [SHARED && !NO_HIDDEN].
20023 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h
20024 [SHARED && DO_VERSIONING]: Change conditional to [SHARED].
20025 * sysdeps/powerpc/powerpc32/dl-machine.c
20026 [SHARED && !(DO_VERSIONING - 0)]: Remove conditional error.
20027 * sysdeps/powerpc/powerpc32/sysdep.h
20028 [SHARED && DO_VERSIONING && PIC && !NO_HIDDEN]: Change conditional
20029 to [SHARED && PIC && !NO_HIDDEN].
20030 * sysdeps/wordsize-32/divdi3.c [SHARED && DO_VERSIONING]: Change
20031 conditional to [SHARED].
20032
44558701
WN
200332013-09-04 Will Newton <will.newton@linaro.org>
20034
20035 * benchtests/bench-timing.h (TIMING_PRINT_MEAN): New macro.
20036 * benchtests/bench-string.h: Include bench-timing.h instead
20037 of including hp-timing.h directly. (INNER_LOOP_ITERS): New
20038 define. (HP_TIMING_BEST): Delete macro. (test_init): Remove
20039 call to HP_TIMING_DIFF_INIT.
20040 * benchtests/bench-memccpy.c: Use bench-timing.h macros
20041 instead of hp-timing.h macros.
20042 * benchtests/bench-memchr.c: Likewise.
20043 * benchtests/bench-memcmp.c: Likewise.
20044 * benchtests/bench-memcpy.c: Likewise.
20045 * benchtests/bench-memmem.c: Likewise.
20046 * benchtests/bench-memmove.c: Likewise.
20047 * benchtests/bench-memset.c: Likewise.
20048 * benchtests/bench-rawmemchr.c: Likewise.
20049 * benchtests/bench-strcasecmp.c: Likewise.
20050 * benchtests/bench-strcasestr.c: Likewise.
20051 * benchtests/bench-strcat.c: Likewise.
20052 * benchtests/bench-strchr.c: Likewise.
20053 * benchtests/bench-strcmp.c: Likewise.
20054 * benchtests/bench-strcpy.c: Likewise.
20055 * benchtests/bench-strcpy_chk.c: Likewise.
20056 * benchtests/bench-strlen.c: Likewise.
20057 * benchtests/bench-strncasecmp.c: Likewise.
20058 * benchtests/bench-strncat.c: Likewise.
20059 * benchtests/bench-strncmp.c: Likewise.
20060 * benchtests/bench-strncpy.c: Likewise.
20061 * benchtests/bench-strnlen.c: Likewise.
20062 * benchtests/bench-strpbrk.c: Likewise.
20063 * benchtests/bench-strrchr.c: Likewise.
20064 * benchtests/bench-strspn.c: Likewise.
20065 * benchtests/bench-strstr.c: Likewise.
20066
cae16d66
WN
200672013-09-04 Will Newton <will.newton@linaro.org>
20068
20069 * benchtests/Makefile: Use LDLIBS instead of LDFLAGS.
20070
ffa3cd7f
JM
200712013-09-03 Joseph Myers <joseph@codesourcery.com>
20072
20073 [BZ #15427]
20074 * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
20075 2**-30 instead of 2**-70 as threshold for returning -log(|x|).
20076 * math/libm-test.inc (lgamma_test_data): Add more tests.
20077 * sysdeps/i386/fpu/libm-test-ulps: Update.
20078 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20079
8f02859f
OB
200802013-09-03 Ondřej Bílka <neleai@seznam.cz>
20081
20082 * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: New file.
20083 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
20084 Add ifunc.
20085 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
20086 Add strcmp-sse2-unaligned
20087 * sysdeps/x86_64/multiarch/strcmp.S (strcmp): Add ifunc.
20088
18d43716
MF
200892013-09-02 Mike Frysinger <vapier@gentoo.org>
20090
20091 * Versions.def (libc): Add GLIBC_2.19.
20092
ac444012
MF
200932013-09-02 Mike Frysinger <vapier@gentoo.org>
20094
20095 * sysdeps/unix/sysv/linux/tst-fanotify.c: New test.
20096 * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-fanotify.
20097
b7835e32
JM
200982013-09-02 Joseph Myers <joseph@codesourcery.com>
20099
20100 [BZ #14155]
20101 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Use double for
20102 intermediate calculations in recurrence.
20103 (__ieee754_ynf): Likewise.
20104 * math/libm-test.inc (jn_test_data): Do not allow spurious
20105 underflow exception. Add more tests.
20106 (yn_test_data): Add more tests.
20107 * sysdeps/i386/fpu/libm-test-ulps: Update.
20108 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20109
8220f4f0
OB
201102013-09-02 Ondřej Bílka <neleai@seznam.cz>
20111
20112 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Fix typo.
20113
f24a6d08
OB
201142013-08-30 Ondřej Bílka <neleai@seznam.cz>
20115
20116 * csu/init-first.c: Fix then/than typos.
20117 * locale/programs/ld-collate.c: Likewise.
20118 * locale/programs/linereader.h: Likewise.
20119 * manual/charset.texi: Likewise.
20120 * manual/filesys.texi: Likewise.
20121 * manual/stdio.texi: Likewise.
20122 * manual/string.texi: Likewise.
20123 * stdlib/fmtmsg.c: Likewise.
20124 * sysdeps/i386/stpncpy.S: Likewise.
20125 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
20126 * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
20127 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
20128 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
20129
382466e0
OB
201302013-08-30 Ondřej Bílka <neleai@seznam.cz>
20131
20132 * elf/dl-open.c: Fix typos.
20133 * iconvdata/gbbig5.c: Likewise.
20134 * iconvdata/iso-2022-jp.c: Likewise.
20135 * iconv/gconv_int.h: Likewise.
20136 * iconv/loop.c: Likewise.
20137 * nis/rpcsvc/nis.h: Likewise.
20138 * resolv/ns_name.c: Likewise.
20139 * stdio-common/vfscanf.c: Likewise.
20140 * streams/stropts.h: Likewise.
20141 * sunrpc/rpc_thread.c: Likewise.
20142 * sysdeps/i386/strpbrk.S: Likewise.
20143 * sysdeps/ieee754/k_standard.c: Likewise.
20144 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
20145 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
20146 * sysdeps/mach/hurd/dl-sysdep.c: Likewise.
20147 * sysdeps/mach/hurd/profil.c: Likewise.
20148 * sysdeps/s390/dl-procinfo.h: Likewise.
20149 * sysdeps/unix/sysv/linux/i386/chown.c: Likewise.
20150 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
20151 * sysdeps/unix/sysv/linux/sparc/sparc32/makecontext.c: Likewise.
20152 * sysdeps/x86_64/dl-trampoline.S: Likewise.
20153 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
20154
0186c6e9
OB
201552013-08-30 Ondřej Bílka <neleai@seznam.cz>
20156
20157 * sysdeps/x86_64/multiarch/rawmemchr.S: Delete.
20158 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove rawmemchr ifunc.
20159
d4e16af1
OB
201602013-08-29 Ondřej Bílka <neleai@seznam.cz>
20161
20162 * sysdeps/unix/sysv/linux/powerpc/aix/aix-dirent.h: Remove
20163 aix specific files.
20164 * sysdeps/unix/sysv/linux/powerpc/aix/aix-errno.h: Likewise.
20165 * sysdeps/unix/sysv/linux/powerpc/aix/aix-stat.h: Likewise.
20166 * sysdeps/unix/sysv/linux/powerpc/aix/aix-termios.h: Likewise.
20167 * sysdeps/unix/sysv/linux/powerpc/aix/direntconv.c: Likewise.
20168 * sysdeps/unix/sysv/linux/powerpc/aix/errnoconv.c: Likewise.
20169 * sysdeps/unix/sysv/linux/powerpc/aix/statconv.c: Likewise.
20170 * sysdeps/unix/sysv/linux/powerpc/aix/tcgetattr.c: Likewise.
20171 * sysdeps/unix/sysv/linux/powerpc/aix/tcsetattr.c: Likewise.
20172
88335980
TS
201732013-08-29 Thomas Schwinge <thomas@codesourcery.com>
20174 Roland McGrath <roland@hack.frob.com>
20175
20176 * sysdeps/mach/hurd/errnos.awk (BEGIN): Emit ESUCCESS.
20177 * sysdeps/mach/hurd/bits/errno.h: Regenerate.
20178
ed479b02
ST
201792013-08-29 Samuel Thibault <samuel.thibault@ens-lyon.org>
20180
20181 * sysdeps/mach/hurd/i386/init-first.c (init1): Use
20182 __executable_start symbol instead of _start.
20183
f1cc4c86
TS
201842013-08-29 Thomas Schwinge <thomas@codesourcery.com>
20185
d821f07c
TS
20186 * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_HEADER)
20187 (VALID_ELF_OSABI, VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA):
20188 Move macros to...
20189 * sysdeps/gnu/ldsodefs.h: ... this new file.
20190
c54290cf
TS
20191 * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_OSABI)
20192 (VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA): Use ELFOSABI_GNU
20193 instead of ELFOSABI_LINUX.
20194
0007fc9b 20195 [BZ #15522] strtod ("nan(N)") returning a sNaN in some cases
0007fc9b
TS
20196 * stdlib/strtof_l.c (SET_MANTISSA): Rewrite.
20197 * stdlib/strtod_l.c (SET_MANTISSA): Likewise.
20198 * sysdeps/ieee754/ldbl-64-128/strtold_l.c (SET_MANTISSA):
20199 Likewise.
20200 * sysdeps/ieee754/ldbl-96/strtold_l.c (SET_MANTISSA): Likewise.
20201 * sysdeps/ieee754/ldbl-128/strtold_l.c (SET_MANTISSA): Likewise.
20202 * sysdeps/ieee754/ldbl-128ibm/strtold_l.c (SET_MANTISSA):
20203 Likewise.
20204 * sysdeps/ieee754/ldbl-128ibm/ieee754.h
20205 (ibm_extended_long_double): Add ieee_nan member.
20206 * stdlib/tst-strtod6.c (test): New function, renamed from do_test.
20207 (do_test): New function.
20208
f1cc4c86
TS
20209 * math/basic-test.c (TEST_CONVERT): New macro, renamed from
20210 TEST_TRUNC.
20211 (convert_dfsf_test, convert_tfsf_test, convert_tfdf_test): New
20212 functions, renamed from truncdfsf_test, trunctfsf_test,
20213 trunctfdf_test.
20214 (convert_sfdf_test, convert_sftf_test, convert_dftf_test): New
20215 functions.
20216 (do_test): Run all these.
20217
6f65e668
OB
202182013-08-29 Ondřej Bílka <neleai@seznam.cz>
20219
20220 * argp/argp-help.c: Fix typos.
20221 * argp/argp-parse.c: Likewise.
20222 * debug/backtracesyms.c: Likewise.
20223 * elf/elf.h: Likewise.
20224 * malloc/malloc.c: Likewise.
20225 * nis/nis_print.c: Likewise.
20226 * resolv/res_comp.c: Likewise.
20227 * stdlib/stdlib.h: Likewise.
20228 * sunrpc/clnt_tcp.c: Likewise.
20229 * sunrpc/clnt_udp.c: Likewise.
20230 * sunrpc/clnt_unix.c: Likewise.
20231 * sysdeps/unix/bsd/ptsname.c: Likewise.
20232 * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
20233 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Likewise.
99541e80
RM
20234 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S:
20235 Likewise.
20236 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S:
20237 Likewise.
20238 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
20239 Likewise.
6f65e668
OB
20240 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
20241
3a309239
SP
202422013-08-28 Siddhesh Poyarekar <siddhesh@redhat.com>
20243
20244 * nscd/aicache.c (addhstaiX): Use __glibc_unlikely.
20245 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
20246
3b813b29
MF
202472013-08-27 Mike Frysinger <vapier@gentoo.org>
20248
20249 [BZ #15897]
20250 * dlfcn/Makefile (tests): Add bug-dl-leaf.
20251 (modules-names): Add bug-dl-leaf-lib and bug-dl-leaf-lib-cb.
20252 ($(objpfx)bug-dl-leaf): New rule.
20253 ($(objpfx)bug-dl-leaf.so): Likewise.
20254 ($(objpfx)bug-dl-leaf.out): Likewise.
20255 ($(objpfx)bug-dl-leaf-lib.so): Likewise.
20256 ($(objpfx)bug-dl-leaf-lib-cb.so): Likewise.
20257 * dlfcn/bug-dl-leaf.c: New test.
20258 * dlfcn/bug-dl-leaf-lib.c: Likewise.
20259 * dlfcn/bug-dl-leaf-lib-cb.c: Likewise.
20260 * dlfcn/dlfcn.h (dlopen): Change __THROW to __THROWNL.
20261 (dlclose): Likewise.
20262 (dlmopen): Likewise.
20263
8cc3269f
RM
202642013-08-27 Roland McGrath <roland@hack.frob.com>
20265
7f9d0034
RM
20266 * include/netdb.h [!_ISOMAC]:
20267 Don't include <tls.h>.
20268 (h_errno, __libc_h_errno): Move declaration and macros out of
20269 [_LIBC_REENTRANT].
20270
fb431262
RM
20271 * include/resolv.h [_RESOLV_H_]:
20272 Don't include <tls.h>.
20273 (__resp, _res): Move declaration and macro out of [_LIBC_REENTRANT].
20274 * resolv/res_libc.c: Don't include <tls.h>.
20275 (_res): Use __attribute__ ((nocommon)) in place of
20276 __attribute__ ((section (".bss"))).
20277
bd81123a
RM
20278 * Makefile ($(common-objpfx)linkobj/libc_pic.a):
20279 If [sunrpc not in $(subdirs)], define to use libc_pic.a directly.
20280
c4e42566
RM
20281 * resolv/res_send.c (send_dg): Don't try to use ioctl unless [FIONREAD].
20282
f890a59b
RM
20283 * resolv/res_hconf.c [!NOT_IN_libc] (ifaddrs): Declare
20284 only under [SIOCGIFCONF && SIOCGIFNETMASK].
20285
20286 * resolv/res_mkquery.c: Include <sys/time.h>.
20287
5d1f0a09
RM
20288 * inet/ifreq.c: Moved to ...
20289 * sysdeps/unix/ifreq.c: ... here.
20290 * inet/ifreq.c: New file, true stub version.
20291
6fcf28b3
RM
20292 * socket/sa_len.c: New file.
20293 * socket/Makefile (aux): Add it.
20294 * sysdeps/unix/sysv/linux/Makefile
20295 [$(subdir) = socket] (sysdep_routines): Don't add sa_len here.
20296 * sysdeps/unix/sysv/linux/sa_len.c: Just #define HAVE_NET*_H
20297 and #include <socket/sa_len.c>.
20298 * sysdeps/unix/sysv/linux/s390/sa_len.c: Just #define
20299 HAVE_NETIUCV_IUCV_H and #include <sysdeps/unix/sysv/linux/sa_len.c>.
20300
e041fb8b
RM
20301 * sysdeps/unix/bsd/bsd4.4/bits/socket.h: Moved to ...
20302 * bits/socket.h: ... here.
20303
8cc3269f
RM
20304 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (enum __socket_type):
20305 Add SOCK_CLOEXEC, SOCK_NONBLOCK with values from FreeBSD.
20306 (SOCK_MAX, SOCK_TYPE_MASK): New macros.
20307
5d228a43
AS
203082013-08-27 Andreas Schwab <schwab@suse.de>
20309
45b8accc
AS
20310 [BZ #15736]
20311 * locale/categories.def (LC_CTYPE): Add "nonascii-case" element.
20312 * string/Makefile (test-strcasecmp-ENV, test-strncasecmp-ENV)
20313 (test-strcasecmp-ifunc-ENV, test-strncasecmp-ifunc-ENV): Define.
20314 * string/test-strcasecmp.c (test_main): Run tests in several
20315 locales.
20316 * string/test-strncasecmp.c (test_main): Likewise.
20317
5d228a43
AS
20318 * sysdeps/i386/i686/multiarch/strcmp-sse4.S (__strcasecmp_sse4_2)
20319 (__strncasecmp_sse4_2) [PIC]: Restore %ebx before falling through
20320 to __strcasecmp_nonascii and __strncasecmp_nonascii.
20321 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (__strcasecmp_ssse3)
20322 (__strncasecmp_ssse3) [PIC]: Likewise.
20323
59d112a4
RM
203242013-08-26 Roland McGrath <roland@hack.frob.com>
20325
53234cc3
RM
20326 * io/lxstat64.c: Just call __xstat64, for parity with stub __lxstat.
20327
59d112a4
RM
20328 * nss/nss_files/files-key.c: Include <rpc/des_crypt.h>
20329 instead of explicitly declaring xdecrypt.
20330 * nis/nss_nis/nis-publickey.c: Likewise.
20331
595aba70
SP
203322013-08-26 Siddhesh Poyarekar <siddhesh@redhat.com>
20333
20334 [BZ #15890]
20335 * nscd/aicache.c: Include res_hconf.h.
20336 (addhstaiX): Initialize res_hconf.
20337
ffabd393
AS
203382013-08-26 Andreas Schwab <schwab@suse.de>
20339
20340 * stdlib/Makefile (LDFLAGS-tst-tls-atexit): Remove.
20341 ($(objpfx)tst-tls-atexit): Add dependencies here instead.
20342
e0a69f5c
SP
203432013-08-26 Siddhesh Poyarekar <siddhesh@redhat.com>
20344
20345 * nscd/aicache.c (addhstaiX): Fix indentation.
20346
8c12f01d
MF
203472013-08-25 Mike Frysinger <vapier@gentoo.org>
20348
20349 * configure.ac: Quote $build_pt_chown test.
20350 * configure: Regenerated.
20351
8fe89494
JM
203522013-08-23 Joseph Myers <joseph@codesourcery.com>
20353
20354 [BZ #15532]
20355 * math/s_cexp.c (__cexp): Return NaN + i0 for NaN + i0 argument.
20356 * math/s_cexpf.c (__cexpf): Likewise.
20357 * math/s_cexpl.c (__cexpl): Likewise.
20358 * math/libm-test.inc (cexp_test_data): Correct expected return
20359 value for NaN + i0. Add another test.
20360
75b181d6
DM
203612013-08-22 David S. Miller <davem@davemloft.net>
20362
20363 * po/ca.po: Update Catalan translation from translation project.
936241e4 20364 * po/uk.po: Add Ukrainian translations from translation project.
75b181d6 20365
acd06bb1
JM
203662013-08-21 Joseph Myers <joseph@codesourcery.com>
20367
20368 [BZ #15797]
20369 * math/s_fdim.c (__fdim): Check for infinite arguments if result
20370 is infinite, not alongside NaN test.
20371 * math/s_fdimf.c (__fdimf): Likewise.
20372 * math/s_fdiml.c (__fdiml): Likewise.
20373 * math/libm-test.inc (fdim_test_data): Add more tests. Test that
20374 errno is unchanged.
20375
c0c3f78a
OB
203762013-08-21 Ondřej Bílka <neleai@seznam.cz>
20377
20378 * argp/argp-help.c: Fix typos.
20379 * crypt/speeds.c: Likewise.
20380 * csu/check_fds.c: Likewise.
20381 * elf/dl-load.c: Likewise.
20382 * elf/dl-open.c: Likewise.
20383 * elf/reldep3.c: Likewise.
20384 * elf/reldep.c: Likewise.
20385 * elf/sprof.c: Likewise.
20386 * iconv/iconv_charmap.c: Likewise.
20387 * iconv/skeleton.c: Likewise.
20388 * iconv/strtab.c: Likewise.
20389 * io/lockf64.c: Likewise.
20390 * libio/libioP.h: Likewise.
20391 * resolv/gai_notify.c: Likewise.
20392 * resolv/ns_name.c: Likewise.
20393 * resolv/ns_samedomain.c: Likewise.
20394 * resolv/res_send.c: Likewise.
20395 * stdlib/random.c: Likewise.
20396 * sunrpc/rpc/xdr.h: Likewise.
20397 * sysdeps/i386/fpu/fraiseexcpt.c: Likewise.
20398 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
20399 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
20400 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
20401 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
20402 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
20403 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
20404 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
20405 * sysdeps/mach/hurd/check_fds.c: Likewise.
20406 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
20407 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
20408 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
20409 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
20410 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
20411 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
20412 * sysdeps/pthread/aio_notify.c: Likewise.
20413 * sysdeps/sparc/fpu/fraiseexcpt.c: Likewise.
20414 * sysdeps/unix/sysv/linux/socketcall.h: Likewise.
20415 * sysdeps/x86_64/fpu/fraiseexcpt.c: Likewise.
20416 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
20417 * sysdeps/x86/fpu/bits/fenv.h: Likewise.
20418
46ed1038
LD
204192013-08-21 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
20420
20421 * sysdeps/i386/i686/multiarch/strcmp.S: Skip SSE4_2
20422 version if bit_Slow_SSE4_2 is set.
20423 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
20424 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
20425
d400dcac
AZ
204262013-07-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20427
20428 [BZ #15867]
20429 * sysdeps/powerpc/powerpc32/backtrace.c (__backtrace): Handle signal
20430 trampoline stack frame information.
20431 * sysdeps/powerpc/powerpc64/backtrace.c (__backtrace): Likewise.
20432 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h
20433 (__vdso_sigtramp_rt64): New variable: PPC64 signal trampoline.
20434 (__vdso_sigtramp32): New variable: PPC32 signal trampoline.
20435 (__vdso_sigtramp_rt32): New variable: PPC32 signal trampoline.
20436 * sysdeps/unix/sysv/linux/powerpc/init-first.c
20437 (_libc_vdso_platform_setup): Initialize the signal trampolines.
20438 * debug/tst-backtrace5.c (fn): Add an option set modify sigaction
20439 sa_flags value.
20440 * debug/tst-backtrace6.c: New file: check backtrace for signal frames,
20441 interrupting a syscall and set with option SA_SIGINFO.
20442
42c8fdd8
JM
204432013-08-20 Joseph Myers <joseph@codesourcery.com>
20444
c980f2f4
JM
20445 [BZ #15531]
20446 * math/s_cproj.c (__cproj): Only return an infinity if one part of
20447 argument is infinite.
20448 * math/s_cprojf.c (__cprojf): Likewise.
20449 * math/s_cprojl.c (__cprojl): Likewise.
20450 * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c (__cprojl): Likewise.
20451 * math/libm-test.inc (cproj_test_data): Add more tests.
20452
0716c4fc
JM
20453 * sysdeps/unix/sysv/linux/mmap64.c: Include <string.h>.
20454
42c8fdd8
JM
20455 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64)
20456 [MMAP2_PAGE_SHIFT == -1]: Use __getpagesize to determine page
20457 size. Use __ffs to determine corresponding shift.
20458
b31469d0
JM
204592013-08-20 Joseph Myers <joseph@codesourcery.com>
20460 Roland McGrath <roland@hack.frob.com>
20461
20462 * Makefile (INSTALL): Remove trailing blank lines from output of
20463 makeinfo.
20464
4e39af6e
AK
204652013-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
20466
20467 * sysdeps/unix/sysv/linux/s390/sys/procfs.h (struct elf_prstatus):
20468 Align 32 bit compat elf_greg to 8 bytes.
20469
f315524e
AA
204702013-08-20 Andreas Arnez <arnez@linux.vnet.ibm.com>
20471
20472 * elf/setup-vdso.h (setup_vdso): Fix missing string termination.
20473
1326ba1a
SP
204742013-08-20 Siddhesh Poyarekar <siddhesh@redhat.com>
20475
20476 * string/strcoll_l.c (coll_seq): New structure.
20477 (get_next_seq_cached): New function.
20478 (get_next_seq): New function.
20479 (do_compare): New function.
20480 (STRCOLL): Use GNU style definition. Simplify implementation
20481 by using get_next_seq, get_next_seq_cached and do_compare.
20482
91ce4085
FW
204832013-08-16 Florian Weimer <fweimer@redhat.com>
20484
20485 [BZ #14699]
20486 CVE-2013-4237
20487 * sysdeps/posix/dirstream.h (struct __dirstream): Add errcode
20488 member.
20489 * sysdeps/posix/opendir.c (__alloc_dir): Initialize errcode
20490 member.
20491 * sysdeps/posix/rewinddir.c (rewinddir): Reset errcode member.
20492 * sysdeps/posix/readdir_r.c (__READDIR_R): Enforce NAME_MAX limit.
20493 Return delayed error code. Remove GETDENTS_64BIT_ALIGNED
20494 conditional.
20495 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Do not define
20496 GETDENTS_64BIT_ALIGNED.
20497 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
20498 * manual/filesys.texi (Reading/Closing Directory): Document
20499 ENAMETOOLONG return value of readdir_r. Recommend readdir more
20500 strongly.
20501 * manual/conf.texi (Limits for Files): Add portability note to
20502 NAME_MAX, PATH_MAX.
20503 (Pathconf): Add portability note for _PC_NAME_MAX, _PC_PATH_MAX.
20504
ca0a6bc4
AS
205052013-08-13 Andreas Schwab <schwab@suse.de>
20506
20507 [BZ #15749]
20508 * sysdeps/ieee754/ldbl-96/s_cbrtl.c (__cbrtl): Use fabsl instead
20509 of fabs.
20510 * math/libm-test.inc (cbrt_test_data) [TEST_LDOUBLE &&
20511 LDBL_MAX_EXP >= 16384]: Add tests for it.
20512
6c1fd795
DM
205132013-08-12 David S. Miller <davem@davemloft.net>
20514
20515 * version.h (RELEASE): Set to "development".
20516 (VERSION): Set to "2.18.90".
20517 * NEWS: Add 2.19 section.
20518
31ad488d
DM
205192013-08-03 David S. Miller <davem@davemloft.net>
20520
20521 * po/ko.po: Update Korean translation from translation project.
20522
db24e684
DM
205232013-08-01 David S. Miller <davem@davemloft.net>
20524
20525 * manual/contrib.texi: Update entry for Siddhesh Poyarekar. Add
20526 entries for Will Newton, Andi Kleen, David Holsgrove, and Ondrej
20527 Bilka.
20528
f723285b
DM
205292013-07-30 David S. Miller <davem@davemloft.net>
20530
20531 * po/fr.po: Update French translation from translation project.
20532
3cbc52db
DM
205332013-07-28 David S. Miller <davem@davemloft.net>
20534
30bbc0cc
DM
20535 * po/cs.po: Update Czech translation from translation project.
20536
3cbc52db
DM
20537 * po/sv.po: Update Swedish translation from translation project.
20538
d492e6d0
DM
205392013-07-27 David S. Miller <davem@davemloft.net>
20540
f1a7f492
DM
20541 * po/eo.po: Update Esperanto translation from translation project.
20542
90e62a4a
DM
20543 * po/vi.po: Update Vietnamese translation from translation project.
20544
d492e6d0
DM
20545 * po/de.po: Update German translation from translation project.
20546
d4baa62d
DM
205472013-07-26 David S. Miller <davem@davemloft.net>
20548
641aa7b4
DM
20549 * po/bg.po: Update Bulgarian translation from translation project.
20550
d4baa62d
DM
20551 * po/nl.po: Update Dutch translation from translation project.
20552 * po/pl.po: Update Polish translation from translation project.
20553 * po/ru.po: Update Russian translation from translation project.
20554
61a9dcb9
DM
205552013-07-24 David S. Miller <davem@davemloft.net>
20556
20557 * po/libc.pot: Update.
20558
7b1f8b58
AZ
205592013-07-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20560
20561 * sysdeps/unix/sysv/linux/powerpc/dl-static.c: New file to support
20562 variable page size.
20563 * sysdeps/unix/sysv/linux/powerpc/ldsodefs.h: Likewise.
20564 * sysdeps/unix/sysv/linux/powerpc/Makefile: Build dl-static in elf.
20565 * sysdeps/unix/sysv/linux/powerpc/Versions: Add _dl_var_init.
20566
a8fc7a03
AK
205672013-07-22 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
20568
20569 * sysdeps/s390/fpu/libm-test-ulps: Refresh.
20570
e4608715
CD
205712013-07-21 Siddhesh Poyarekar <siddhesh@redhat.com>
20572 Andreas Schwab <schwab@suse.de>
20573 Roland McGrath <roland@hack.frob.com>
20574 Joseph Myers <joseph@codesourcery.com>
20575 Carlos O'Donell <carlos@redhat.com>
20576
20577 [BZ #15755]
20578 * config.h.in: Define HAVE_PT_CHOWN.
20579 * config.make.in (build-pt-chown): New variable.
20580 * configure.in (--enable-pt_chown): New configure option.
20581 * configure: Regenerate.
20582 * login/Makefile: Include Makeconfig. Build pt_chown only if
20583 build-pt-chown is enabled.
20584 * sysdeps/unix/grantpt.c (grantpt) [HAVE_PT_CHOWN]: Spawn
20585 pt_chown to fix pty ownership.
20586 * sysdeps/unix/sysv/linux/grantpt.c [HAVE_PT_CHOWN]: Define
20587 CLOSE_ALL_FDS.
20588 * manual/install.texi (Configuring and compiling): Mention
20589 --enable-pt_chown. Add @findex for grantpt.
20590 * INSTALL: Regenerate.
20591
da2d62df
DM
205922013-07-20 David S. Miller <davem@davemloft.net>
20593
20594 * sysdeps/sparc/fpu/libm-test-ulps: Update ULPs to handle minor
20595 difference between 32-bit and 64-bit.
20596
d7e06450
CD
205972013-07-15 Carlos O'Donell <carlos@redhat.com>
20598
20599 [BZ #15711]
20600 * sysdeps/unix/sysv/linux/Makefile ($(objpfx)bits/syscall%h):
20601 Avoid system header dependency with -ffreestanding.
20602 ($(objpfx)bits/syscall%d): Likewise.
20603
f959cfd7
DM
206042013-07-13 David S. Miller <davem@davemloft.net>
20605
20606 * math/libm-test.inc (casin_test_data): Annotate more cases of missing
20607 underflows from atanl/atan2l due to bug 15319.
20608 (casinh_test_data): Likewise.
20609
c61f8513
DM
206102013-07-07 David S. Miller <davem@davemloft.net>
20611
20612 * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
20613
72c90ed0
JA
206142013-07-05 Jeroen Albers <_jeroen_@yahoo.com>
20615
20616 * sysdeps/i386/fpu/libm-test-ulps: Update.
20617 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20618
52dfbe13
SP
206192013-07-04 Siddhesh Poyarekar <siddhesh@redhat.com>
20620
20621 * configure.in (--enable-lock-elision): Fix message text.
20622 * INSTALL: Regenerate.
20623 * configure: Regenerate.
20624
3f169543
AZ
206252013-07-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20626
20627 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
20628
521c6785
AJ
206292013-07-03 Andreas Jaeger <aj@suse.de>
20630
20631 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_LISTEN): Add
20632 define.
20633 (PTRACE_PEEKSIGINFO): Add new value from Linux 3.10.
20634 (ptrace_peeksiginfo_args): Add.
20635 (__ptrace_peeksiginfo_flags): Add.
20636 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
20637 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
20638 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
20639
d2cc15cb
AM
206402013-07-03 Allan McRae <allan@archlinux.org>
20641
20642 * sysdeps/i386/fpu/libm-test-ulps: Update.
20643
3aaeeca7
DM
206442013-07-02 David S. Miller <davem@davemloft.net>
20645
20646 * sysdeps/sparc/fpu/libm-test-ulps: Update.
20647
5314ed1a
MT
206482013-07-02 Markus Trippelsdorf <markus@trippelsdorf.de>
20649
20650 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
20651
67338156
JM
206522013-07-02 Joseph Myers <joseph@codesourcery.com>
20653
20654 * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
20655 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20656
1717da59
AK
206572013-07-02 Andi Kleen <ak@linux.intel.com>
20658
20659 * config.h.in (ENABLE_LOCK_ELISION): Add.
20660 * configure.in (--enable-lock-elision): Add option.
20661 * manual/install.texi: Document --enable lock elision.
20662 * configure: Regenerate
20663 * INSTALL: Regenerate.
20664
1c81621c
L
206652013-07-02 H.J. Lu <hongjiu.lu@intel.com>
20666
20667 * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Enable
20668 SSE4.2 strcasecmp for libc.a.
20669 * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
20670
77f01ab5
JM
206712013-07-02 Joseph Myers <joseph@codesourcery.com>
20672
20673 [BZ #13304]
20674 * soft-fp/op-common.h (_FP_FMA): New macro.
20675 * soft-fp/op-1.h (_FP_FRAC_HIGHBIT_DW_1): New macro.
20676 (_FP_MUL_MEAT_DW_1_imm): Likewise. Split out of ...
20677 (_FP_MUL_MEAT_1_imm): ... here.
20678 (_FP_MUL_MEAT_DW_1_wide): New macro. Split out of ...
20679 (_FP_MUL_MEAT_1_wide): ... here.
20680 (_FP_MUL_MEAT_DW_1_hard): Likewise. Split out of ...
20681 (_FP_MUL_MEAT_1_hard): ... here.
20682 * soft-fp/op-2.h (_FP_FRAC_HIGHBIT_DW_2): New macro.
20683 (_FP_MUL_MEAT_DW_2_wide): Likewise. Split out of ...
20684 (_FP_MUL_MEAT_2_wide): ... here.
20685 (_FP_MUL_MEAT_DW_2_wide_3mul): New macro. Split out of ...
20686 (_FP_MUL_MEAT_2_wide_3mul): ... here.
20687 (_FP_MUL_MEAT_DW_2_gmp): New macro. Split out of ...
20688 (_FP_MUL_MEAT_2_gmp): ... here.
20689 * soft-fp/op-4.h (_FP_FRAC_HIGHBIT_DW_4): New macro.
20690 (_FP_MUL_MEAT_DW_4_wide): Likewise. Split out of ...
20691 (_FP_MUL_MEAT_4_wide): ... here.
20692 (_FP_MUL_MEAT_DW_4_gmp): New macro. Split out of ...
20693 (_FP_MUL_MEAT_4_gmp): ... here.
20694 * soft-fp/single.h (_FP_FRACTBITS_DW_S): New macro.
20695 (_FP_WFRACBITS_DW_S): Likewise.
20696 (_FP_WFRACXBITS_DW_S): Likewise.
20697 (_FP_HIGHBIT_DW_S): Likewise.
20698 (FP_FMA_S): Likewise.
20699 (_FP_FRAC_HIGH_DW_S): Likewise.
20700 * soft-fp/double.h (_FP_FRACTBITS_DW_D): New macro.
20701 (_FP_WFRACBITS_DW_D): Likewise.
20702 (_FP_WFRACXBITS_DW_D): Likewise.
20703 (_FP_HIGHBIT_DW_D): Likewise.
20704 (FP_FMA_D): Likewise.
20705 (_FP_FRAC_HIGH_DW_D): Likewise.
20706 * soft-fp/extended.h (_FP_FRACTBITS_DW_E): New macro.
20707 (_FP_WFRACBITS_DW_E): Likewise.
20708 (_FP_WFRACXBITS_DW_E): Likewise.
20709 (_FP_HIGHBIT_DW_E): Likewise.
20710 (FP_FMA_E): Likewise.
20711 (_FP_FRAC_HIGH_DW_E): Likewise.
20712 * soft-fp/quad.h (_FP_FRACTBITS_DW_Q): New macro.
20713 (_FP_WFRACBITS_DW_Q): Likewise.
20714 (_FP_WFRACXBITS_DW_Q): Likewise.
20715 (_FP_HIGHBIT_DW_Q): Likewise.
20716 (FP_FMA_Q): Likewise.
20717 (_FP_FRAC_HIGH_DW_Q): Likewise.
20718 * soft-fp/fmasf4.c: New file.
20719 * soft-fp/fmadf4.c: Likewise.
20720 * soft-fp/fmatf4.c: Likewise.
20721
6308fd9a
LD
207222013-06-28 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
20723
20724 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
20725 bit_Slow_SSE4_2 and bit_Prefer_PMINUB_for_stringop for Intel
20726 Silvermont.
20727 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_SSE4_2): New
20728 macro.
20729 (index_Slow_SSE4_2): Likewise.
20730 (index_Prefer_PMINUB_for_stringop): Likewise.
20731 * sysdeps/x86_64/multiarch/strchr.S: Skip SSE4.2 version if
20732 bit_Slow_SSE4_2 is set.
20733 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
20734 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
20735
89cd9569
RA
207362013-06-28 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
20737
20738 * sysdeps/powerpc/Makefile: Add comment about generating an offset to
20739 rtld_global._dl_hwcap2.
20740 * sysdeps/powerpc/bits/hwcap.h: Added PPC_FEATURE2_* definitions for
20741 POWER8.
20742 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Extend for
20743 POWER8 feature descriptions defined in _dl_hwcap2.
20744 * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Implement AT_HWCAP2
20745 string handling for POWER8 feature bits.
20746 (_DL_HWCAP_COUNT): Increment to 64 to cover AT_HWCAP2 bits.
20747 (_DL_HWCAP_LAST): New definition for position of last AT_HWCAP bit in
20748 _dl_powerpc_cap_flags.
20749 (_DL_HWCAP2_LAST): New definition for last usable bit of AT_HWCAP2.
20750 * sysdeps/powerpc/rtld-global-offsets.sym
20751 (RTLD_GLOBAL_RO_DL_HWCAP2_OFFSET): New offset macro to locate
20752 _dl_hwcap2 in the rtld_global_ro structure.
20753
1ae8bfe0
RA
207542013-06-28 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
20755
20756 * elf/dl-support.c (_dl_hwcap2): Add a new hwcap field for more
20757 hardware capabilities in support of AT_HWCAP2.
20758 (_dl_aux_init): Read AT_HWCAP2 into GLRO(dl_hwcap2).
20759 * elf/dl-sysdep.c (_dl_sysdep_start): Read AT_HWCAP2 into
20760 GLRO(dl_hwcap2).
20761 (_dl_show_auxv): Add support for calling _dl_procinfo to display
20762 AT_HWCAP2. If a platform doesn't chose to handle displaying AT_HWCAP2
20763 explicitly the unknown a_type display mechanism is used.
20764 * misc/getauxval.c (__getauxval): Return GLRO(dl_hwcap2) on AT_HWCAP2.
20765 * sysdeps/generic/ldsodefs.h (rtld_global_ro): Add _dl_hwcap2 as a new
20766 struct member.
20767 * sysdeps/generic/dl-procinfo.h (_dl_procinfo): Add TYPE parameter
20768 to macro prototype for AT_HWCAP2 support.
20769 * sysdeps/i386/dl-procinfo.h: Likewise.
20770 * sysdeps/s390/dl-procinfo.h: Likewise.
20771 * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Add TYPE parameter to
20772 macro prototype for AT_HWCAP2 support. Make WORD unsigned long int
20773 rather than signed int. Stub in handler for TYPE == AT_HWCAP2 to
20774 return -1 for unknown a_type display fallback.
20775 * sysdeps/sparc/dl-procinfo.h: Likewise.
20776 * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Likewise.
20777 * sysdeps/unix/sysv/linux/s390/dl-procinfo.h: Likewise.
20778
8fbec010
JM
207792013-06-28 Joseph Myers <joseph@codesourcery.com>
20780
20781 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Shift by page_shift
20782 instead of MMAP2_PAGE_SHIFT in call to INLINE_SYSCALL.
20783
0432680e
PY
207842013-06-28 Pierre Ynard <linkfanel@yahoo.fr>
20785
20786 [BZ #12492]
20787 * elf/dl-load.c (_dl_map_object_from_fd): Test for failure of
20788 mprotect making __stack_prot writable.
20789
ce61a2ad
NF
207902013-06-28 Nathan Froyd <froydnj@codesourcery.com>
20791 Joseph Myers <joseph@codesourcery.com>
20792
20793 * elf/dl-profile.c (struct here_cg_arc_record): Declare 'count'
20794 as being properly aligned.
20795
f91f1c0f
MR
207962013-06-28 Maciej W. Rozycki <macro@codesourcery.com>
20797
3d0f5d0c
MR
20798 * dlfcn/modstatic5.c: New file.
20799 * dlfcn/tststatic5.c: New file.
20800 * dlfcn/Makefile (tests): Add tststatic5.
20801 (tests-static): Likewise.
20802 (modules-names): Add modstatic5.
20803 (tststatic5-ENV): New variable.
20804 ($(objpfx)tststatic5, $(objpfx)tststatic5.out): New dependencies.
20805
f91f1c0f
MR
20806 [BZ #15022]
20807 * elf/dl-support.c (_dl_main_map): New variable.
20808 (_dl_ns): Use it to initialize [LM_ID_BASE] element.
20809 (_dl_nns, _dl_load_adds): Set to 1.
20810 (_dl_initial_searchlist): Refer to _dl_main_map.
20811 (_dl_non_dynamic_init): Initialize _dl_main_map.l_origin.
20812 * elf/dl-load.c (_dl_dst_substitute) [!SHARED]: Remove fallback
20813 call to _dl_get_origin.
20814 * elf/dl-open.c (dl_open_worker): Remove !SHARED special casing
20815 around call_map.
20816 (_dl_open) [!SHARED]: Remove code to initialize GL(dl_nns).
20817 * dlfcn/modstatic3.c: New file.
20818 * dlfcn/tststatic3.c: New file.
20819 * dlfcn/tststatic4.c: New file.
20820 * dlfcn/Makefile (tests): Add tststatic3 and tststatic4.
20821 (tests-static): Likewise.
20822 (modules-names): Add modstatic3.
20823 (tststatic3-ENV, tststatic4-ENV): New variables.
20824 ($(objpfx)tststatic3, $(objpfx)tststatic3.out): New dependencies.
20825 ($(objpfx)tststatic4, $(objpfx)tststatic4.out): Likewise.
20826
cbe7d24b
JM
208272013-06-26 Joseph Myers <joseph@codesourcery.com>
20828
20829 * configure.in (CC): Require GCC version 4.4 or later.
20830 * configure: Regenerated.
20831 * manual/install.texi (Tools for Compilation): Update GCC version
20832 requirement.
20833 * INSTALL: Regenerated.
20834
11b8a0e1
LD
208352013-06-26 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
20836
20837 [BZ #15674]
bb5bb87c
L
20838 * string/test-memcmp.c (check2): New.
20839 (main): Call check2.
20840
11b8a0e1
LD
20841 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Fix buffers overrun.
20842
b0037103
MR
208432013-06-26 Maciej W. Rozycki <macro@codesourcery.com>
20844
20845 [BZ #15022]
20846 * elf/dl-open.c (_dl_open) [!SHARED]: Move call to DL_STATIC_INIT
20847 over to...
20848 (dl_open_worker) [!SHARED]: ... here.
20849
c18c701d
RA
208502013-06-26 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
20851
20852 * elf/elf.h (AT_HWCAP2): Add a new a_type entry.
20853
1d17fa5f
RH
208542013-06-25 Richard Henderson <rth@redhat.com>
20855
20856 * locale/programs/locarchive.c: Include <libc-internal.h>
20857
8fcb833a
JM
208582013-06-25 Joseph Myers <joseph@codesourcery.com>
20859
20860 * manual/texinfo.tex: Update to version 2013-06-21.17, with
20861 trailing whitespace removed.
20862
17db6e8d
MF
208632013-06-24 Mike Frysinger <vapier@gentoo.org>
20864
20865 [BZ #10283]
17db6e8d
MF
20866 * locale/locarchive.h (struct locarhandle): Add mmap_base and mmap_len.
20867 * locale/programs/locarchive.c: Include libc-mmap.h.
20868 (prepare_address_space): Take two new outputs (the mmap base and len).
20869 Align p to MAP_FIXED_ALIGNMENT. Set mmap base and len to the right
20870 values.
20871 (create_archive): Declare new mmap base and len values for
20872 prepare_address_space, and store the result in ah.
20873 (file_data_available_p): Replace pagesz with MAP_FIXED_ALIGNMENT.
20874 (enlarge_archive): If ah->mmap_base is not NULL, use that and
20875 ah->mmap_len to unmap rather than ah->addr and ah->reserved.
20876 Declare new mmap base and len values for
20877 prepare_address_space, and store the result in new_ah.
20878 (open_archive): Declare new mmap base and len values for
20879 prepare_address_space, and store the result in ah.
20880 (close_archive): If ah->mmap_base is not NULL, use that and
20881 ah->mmap_len to unmap rather than ah->addr and ah->reserved.
20882 * sysdeps/generic/libc-mmap.h: New file.
20883
d605071e
MF
208842013-06-24 Mike Frysinger <vapier@gentoo.org>
20885
20886 * include/libc-internal.h (ALIGN_DOWN): New helper macro.
20887 (ALIGN_UP): Likewise.
20888 (PTR_ALIGN_DOWN): Likewise.
20889 (PTR_ALIGN_UP): Likewise.
20890
2f063a6e
RA
208912013-06-24 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
20892
20893 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add "power8"
20894 entry mapped to PPC_PLATFORM_POWER8.
20895 * sysdeps/powerpc/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increment for
20896 POWER8.
20897 (PPC_PLATFORM_POWER8): Add new platform bit for POWER8 processor.
20898 (_dl_string_platform): Add case for exporting platform position for
20899 POWER8.
20900 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Chain
20901 search path to sysdeps/powerpc/powerpc32/power8 directory.
20902 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Chain
20903 search path to sysdeps/powerpc/powerpc64/power8 directory.
20904 * sysdeps/powerpc/powerpc32/power8/Implies: Chain search path to
20905 power7 directories.
20906 * sysdeps/powerpc/powerpc64/power8/Implies: Chain search path to
20907 power7 directories.
20908
a31ee4b3
SP
209092013-06-24 Siddhesh Poyarekar <siddhesh@redhat.com>
20910
a74ca98f
SP
20911 * INSTALL: Regenerate.
20912
a31ee4b3
SP
20913 * nscd/connections.c (nscd_init): Fix comment.
20914
695c378f
JM
209152013-06-22 Joseph Myers <joseph@codesourcery.com>
20916
d8412221
JM
20917 * sysdeps/unix/sysv/linux/libc_fatal.c: Include <string.h>.
20918
695c378f
JM
20919 [BZ #15667]
20920 * soft-fp/op-4.h (__FP_FRAC_ADD_3): Rename variables _c1 and _c2
20921 to __FP_FRAC_ADD_3_c1 and __FP_FRAC_ADD_3_c2.
20922
d1d54715
MR
209232013-06-21 Maciej W. Rozycki <macro@codesourcery.com>
20924
20925 * elf/dl-dst.h (DL_DST_REQUIRED): Remove call to
20926 DL_DST_REQ_STATIC.
20927 (DL_DST_REQ_STATIC): Remove macro.
20928
8fdda7af
JM
209292013-06-21 Joseph Myers <joseph@codesourcery.com>
20930
20931 [BZ #7006]
20932 * soft-fp/op-common.h (_FP_FROM_INT): Do not call _FP_FRAC_SLL
20933 with a shift of 0 bits.
20934
f3bc5e5a
MR
209352013-06-21 Maciej W. Rozycki <macro@codesourcery.com>
20936
20937 * dlfcn/Makefile (tststatic2-ENV): Redefine in terms of
20938 $(tststatic-ENV).
20939
be09e8c9
KK
209402013-06-21 Kaz Kojima <kkojima@rr.iij4u.or.jp>
20941
20942 [BZ #15655]
20943 * sysdeps/sh/sh4/fpu/fgetexcptflg.c: New file.
20944
85c2e611
AZ
209452013-06-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20946
20947 * config.h.in (HAVE_CC_INHIBIT_LOOP_TO_LIBCALL): New define.
20948 * configure.in (libc_cv_cc_loop_to_function): Check if compiler
20949 accepts -fno-tree-loop-distribute-patterns.
20950 * include/libc-symbols.h (inhibit_loop_to_libcall): New macro.
20951 * string/memmove.c (MEMMOVE): Disable loop transformation to avoid
20952 recursive call.
20953 * string/memset.c (memset): Likewise.
20954 * string/test-memmove.c (simple_memmove): Disable loop transformation
20955 to library calls.
20956 * string/test-memset.c (simple_memset): Likewise.
20957 * benchtests/bench-memmove.c (simple_memmove): Likewise.
20958 * benchtests/bench-memset.c (simple_memset): Likewise.
20959 * configure: Regenerated.
20960
c91e0825
JM
209612013-06-20 Joseph Myers <joseph@codesourcery.com>
20962
b8c792af
JM
20963 * math/test-misc.c (main): Ignore fesetround failure when failures
20964 of subsequent rounding tests would be ignored.
20965
c91e0825
JM
20966 [BZ #15654]
20967 * math/fedisblxcpt.c (fedisableexcept): Return 0.
20968 * math/feenablxcpt.c (feenableexcept): Return 0 for argument 0.
20969 * math/fegetenv.c (__fegetenv): Return 0.
20970 * math/fegetexcept.c (fegetexcept): Return 0.
20971 * math/fegetround.c (fegetround) [FE_TONEAREST]: Return
20972 FE_TONEAREST.
20973 * math/feholdexcpt.c (feholdexcept): Return 0.
20974 * math/fesetenv.c (__fesetenv): Return 0.
20975 * math/fesetround.c (fesetround) [FE_TONEAREST]: Return 0 for
20976 argument FE_TONEAREST.
20977 * math/feupdateenv.c (__feupdateenv): Return 0.
20978 * math/fgetexcptflg.c (__fegetexceptflag): Return 0.
20979
bfcacbde
RM
209802013-06-18 Roland McGrath <roland@hack.frob.com>
20981
20982 * elf/rtld-Rules (rtld-compile-command.S): New variable.
20983 (rtld-compile-command.s, rtld-compile-command.c): New variables.
20984 ($(objpfx)rtld-%.os rules): Use them.
20985
e55a9b25
AZ
209862013-06-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20987
20988 * nptl/sysdeps/powerpc/tls.h (tcbhead_t): Add Event-Based Branch
20989 fields.
20990
346d65b3
RM
209912013-06-17 Roland McGrath <roland@hack.frob.com>
20992
12086fb4
RM
20993 * scripts/sysd-rules.awk: Sort sysd_rules_patterns by descending
20994 length of target pattern, then descending length of dependency pattern.
20995 * configure.in (AWK): Require gawk 3.1.2 or newer.
20996 * manual/install.texi (Tools for Compilation): Say that we do.
20997 * configure: Regenerated.
20998
346d65b3
RM
20999 * Makerules [inhibit-sysdep-asm] (check-inhibit-asm): Variable removed.
21000 ($(common-objpfx)sysd-rules): Replace shell logic with running ...
21001 * scripts/sysd-rules.awk: ... this new script.
21002 * sysdeps/mach/hurd/Makefile (inhibit-sysdep-asm): Use a regexp rather
21003 than a glob-style pattern.
21004
1a846317
JM
210052013-06-17 Joseph Myers <joseph@codesourcery.com>
21006
21007 * math/test-misc.c (main): Do not treat incorrectly rounded
21008 conversions as failure unless ROUNDING_TESTS passes.
21009
8fc75e6f
JM
210102013-06-15 Joseph Myers <joseph@codesourcery.com>
21011
3711a167
JM
21012 [BZ #15631]
21013 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Save and
21014 restore exception state around main square root computation, then
21015 check for inexactness explicitly.
21016
8fc75e6f
JM
21017 * math/libm-test.inc (fma_test_data): Add another test.
21018
61dd6208
SP
210192013-06-15 Siddhesh Poyarekar <siddhesh@redhat.com>
21020
adf23d2c
SP
21021 * manual/threads.texi (Non-POSIX Extensions): New document
21022 node. Document pthread_getattr_default_np and
21023 pthread_setattr_default_np.
21024
61dd6208
SP
21025 * Versions.def (libpthread): Add GLIBC_2.18.
21026 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Update.
21027 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
21028 Likewise.
21029 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
21030 Likewise.
21031 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
21032 Likewise.
21033 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
21034 Likewise.
21035 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist:
21036 Likewise.
21037 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
21038 Likewise.
21039 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
21040 Likewise.
21041 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
21042 Likewise.
21043 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
21044 Likewise.
21045
d086fc7b
LD
210462013-06-14 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
21047
21048 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
21049 Set bit_Fast_Unaligned_Load for Intel Silvermont architecture.
21050
747ef469
SP
210512013-06-14 Siddhesh Poyarekar <siddhesh@redhat.com>
21052 H.J. Lu <hjl.tools@gmail.com>
21053
21054 [BZ #15627]
21055 * sysdeps/x86_64/rtld-memset.c: Remove file.
21056 * sysdeps/x86_64/rtld-memset.S: New file.
21057
1b2feed2
JM
210582013-06-14 Joseph Myers <joseph@codesourcery.com>
21059
21060 * stdlib/tst-strtod-round.c: Include <math-tests.h>.
21061 (test_in_one_mode): Take arguments for whether the rounding mode
21062 is supported for each floating-point type.
21063 (do_test): Pass new arguments to test_in_one_mode using
21064 ROUNDING_TESTS.
21065
a58ad3f8
RM
210662013-06-13 Roland McGrath <roland@hack.frob.com>
21067
21068 * posix/tst-waitid.c (do_test): Distinguish different instances of
21069 stopped/continued in CHECK_SIGCHLD uses. Insert a delay between
21070 sending SIGSTOP and calling waitpid to ensure SIGCHLD gets delivered
21071 before entering the kernel for waitpid.
21072
c204ab28
SP
210732013-06-13 Siddhesh Poyarekar <siddhesh@redhat.com>
21074
21075 * NEWS: Fix note on clock function precision. Text by Roland
21076 McGrath.
21077
f4a29fba
RM
210782013-06-13 Roland McGrath <roland@hack.frob.com>
21079
21080 * elf/Makefile ($(objpfx)ld.so): Link into a temporary file and move
21081 it into place only when and if the sanity check passes.
21082
1f24b9ad
JM
210832013-06-13 Joseph Myers <joseph@codesourcery.com>
21084
21085 * stdlib/gen-tst-strtod-round.c (round_str): Always generate
21086 output for whether conversion result is exact. Take argument
21087 indicating whether type is IBM long double.
21088 (round_for_all): Change need_exact field to ibm_ld.
21089 * stdlib/tst-strtod-round.c (struct exactness): New type.
21090 (struct test): Change bool ld_ok field to struct exactness exact.
21091 (TEST): Update all definitions for change to field.
21092 (tests): Regenerate array contents.
21093 (test_in_one_mode): Take pointer to new field instead of old ld_ok
21094 field value. Check for IBM long double here.
21095 (do_test): Update calls to test_in_one_mode.
21096
58206c68
SP
210972013-06-13 Siddhesh Poyarekar <siddhesh@redhat.com>
21098
21099 [BZ #12515]
21100 * sysdeps/unix/sysv/linux/clock.c (clock): Use result from
21101 CLOCK_PROCESS_CPUTIME_ID clock instead of __times.
21102
2d6f4c5b 211032013-06-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6a97b62a
AZ
21104
21105 [BZ #15605]
21106 * sysdeps/generic/symbol-hacks.h: Add workaround for memset/memmove calls
21107 generated by the compiler on loop optimizations.
21108 * sysdeps/wordsize-32/symbol-hacks.h: Include next symbol-hacks.h for
21109 general definitions.
21110
94f2c076
JM
211112013-06-12 Joseph Myers <joseph@codesourcery.com>
21112
21113 * math/bug-nextafter.c: Include <math-tests.h>.
21114 (main): Only test for exceptions if EXCEPTION_TESTS is true for
21115 the relevant type.
21116 * math/bug-nexttoward.c: Include <math-tests.h>.
21117 (main): Only test for exceptions if EXCEPTION_TESTS is true for
21118 the relevant type.
21119 * math/test-misc.c: Include <math-tests.h>.
21120 (main): Only test for exceptions if EXCEPTION_TESTS is true for
21121 the relevant type.
21122
e0e50a0a
AJ
211232013-06-12 Andreas Jaeger <aj@suse.de>
21124
21125 * po/ia.po: Update Interlingua translation from translation
21126 project.
21127
25061094
SP
211282013-06-12 Siddhesh Poyarekar <siddhesh@redhat.com>
21129
21130 * include/fenv.h: Include stdbool.h.
21131 (struct rm_ctx): New structure.
21132 * sysdeps/generic/math_private.h (SET_RESTORE_ROUND_GENERIC):
21133 Define macro.
21134 (SET_RESTORE_ROUND): Define using SET_RESTORE_ROUND_GENERIC.
21135 (SET_RESTORE_ROUNDF): Likewise.
21136 (SET_RESTORE_ROUNDL): Likewise.
21137 (SET_RESTORE_ROUND_NOEX): Likewise.
21138 (SET_RESTORE_ROUND_NOEXF): Likewise.
21139 (SET_RESTORE_ROUND_NOEXL): Likewise.
21140 (SET_RESTORE_ROUND_53BIT): Likewise.
21141 [HAVE_RM_CTX] (libc_feresetround_noex_ctx): Define macro.
21142 (libc_feresetround_noexf_ctx): Likewise.
21143 (libc_feresetround_noexl_ctx): Likewise.
21144 (libc_feholdsetround_53bit_ctx): Likewise.
21145 (libc_feresetround_53bit_ctx): Likewise.
21146 * sysdeps/i386/fpu/fenv_private.h (HAVE_RM_CTX): Define macro.
21147 (libc_feholdexcept_setround_sse_ctx): New function.
21148 (libc_fesetenv_sse_ctx): Likewise.
21149 (libc_feupdateenv_sse_ctx): Likewise.
21150 (libc_feholdexcept_setround_387_prec_ctx): Likewise.
21151 (libc_feholdexcept_setround_387_ctx): Likewise.
21152 (libc_feholdexcept_setround_387_53bit_ctx): Likewise.
21153 (libc_feholdsetround_387_prec_ctx): Likewise.
21154 (libc_feholdsetround_387_ctx): Likewise.
21155 (libc_feholdsetround_387_53bit_ctx): Likewise.
21156 (libc_feholdsetround_sse_ctx): Likewise.
21157 (libc_feresetround_sse_ctx): Likewise.
21158 (libc_feresetround_387_ctx): Likewise.
21159 (libc_feupdateenv_387_ctx): Likewise.
21160 (libc_feholdexcept_setroundf_ctx): Define macro.
21161 (libc_fesetenvf_ctx): Likewise.
21162 (libc_feupdateenvf_ctx): Likewise.
21163 (libc_feholdsetroundf_ctx): Likewise.
21164 (libc_feresetroundf_ctx): Likewise.
21165 (libc_feholdexcept_setround_ctx): Likewise.
21166 (libc_fesetenv_ctx): Likewise.
21167 (libc_feupdateenv_ctx): Likewise.
21168 (libc_feholdsetround_ctx): Likewise.
21169 (libc_feresetround_ctx): Likewise.
21170 (libc_feholdexcept_setroundl_ctx): Likewise.
21171 (libc_feupdateenvl_ctx): Likewise.
21172 (libc_feholdsetroundl_ctx): Likewise.
21173 (libc_feresetroundl_ctx): Likewise.
21174 [!__SSE2_MATH__] (libc_feholdsetround_53bit_ctx): Likewise.
21175 (libc_feresetround_53bit_ctx): Likewise.
21176
59b30555
SP
211772013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
21178
21179 * locale/iso-639.def: Convert to UTF-8.
21180
f1d73d30
JM
211812013-06-11 Joseph Myers <joseph@codesourcery.com>
21182
21183 * sysdeps/generic/math-tests.h (EXCEPTION_TESTS_float): New macro.
21184 (EXCEPTION_TESTS_double): Likewise.
21185 (EXCEPTION_TESTS_long_double): Likewise.
21186 (EXCEPTION_TESTS): Likewise.
21187 * math/libm-test.inc (test_exceptions): Only test exceptions if
21188 EXCEPTION_TESTS (FLOAT).
21189
94aca5e7
SP
211902013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
21191
21192 * benchtests/Makefile (string-bench): Add strcpy_chk and
21193 stpcpy_chk.
21194 * benchtests/bench-stpcpy_chk-ifunc.c: New file.
21195 * benchtests/bench-stpcpy_chk.c: New file.
21196 * benchtests/bench-strcpy_chk-ifunc.c: New file.
21197 * benchtests/bench-strcpy_chk.c: New file.
21198 * debug/test-strcpy_chk.c (do_one_test): Remove HP_TIMING
21199 code.
21200 (do_test): Likewise.
21201
fac0c5f2
RA
212022013-06-11 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
21203
21204 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add ppc405,
21205 ppc440, ppc464, and ppc476, merging from ports/ dl-procinfo.c.
21206 * sysdeps/powerpc/dl-procinfo.h: Fix whitespace by correcting spaces
21207 with tabs where appropriate.
21208 [PPC_PLATFORM_PPC405]: Define new platform merging from ports/
21209 dl-procinfo.h.
21210 [PPC_PLATFORM_PPC440]: Likewise.
21211 [PPC_PLATFORM_PPC464]: Likewise.
21212 [PPC_PLATFORM_PPC476]: Likewise.
21213 (_dl_string_platform): Add support for detecting ppc405, ppc440,
21214 ppc464, and ppc476 platform strings merging from ports/
21215 dl-procinfo.h.
21216
f22bc486
AS
212172013-06-11 Andreas Schwab <schwab@suse.de>
21218
21219 [BZ #14991]
21220 * iconvdata/big5hkscs.c (big5hkscs_to_ucs, from_ucs4)
21221 (from_ucs4_idx): Regenerate.
21222 (MIN_NEEDED_FROM, MAX_NEEDED_FROM, MIN_NEEDED_TO): Remove macros.
21223 (FROM_LOOP_MIN_NEEDED_FROM, FROM_LOOP_MAX_NEEDED_FROM)
21224 (FROM_LOOP_MIN_NEEDED_TO, FROM_LOOP_MAX_NEEDED_TO)
21225 (TO_LOOP_MIN_NEEDED_FROM, TO_LOOP_MAX_NEEDED_FROM)
21226 (TO_LOOP_MIN_NEEDED_TO, TO_LOOP_MAX_NEEDED_TO, PREPARE_LOOP)
21227 (EXTRA_LOOP_ARGS, SAVE_RESET_STATE, EMIT_SHIFT_TO_INIT)
21228 (EXTRA_LOOP_DECLS, MAX_NEEDED_OUTPUT): New macros.
21229 (MIN_NEEDED_INPUT, MAX_NEEDED_INPUT, MIN_NEEDED_OUTPUT): Define
21230 from FROM_LOOP and TO_LOOP specific macros.
21231 (BODY): Handle combining characters.
21232 * iconvdata/BIG5HKSCS.irreversible: Update.
21233 * iconvdata/BIG5HKSCS.precomposed: New file.
21234 * iconvdata/testdata/BIG5HKSCS: Regenerate to cover all assigned
21235 characters.
21236 * iconvdata/testdata/BIG5HKSCS..UTF8: Update.
21237
c1f75dc3
SP
212382013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
21239
4eacded2
SP
21240 * include/sys/time.h: Fix indentation and add copyright header.
21241
fec799f8
SP
21242 * string/test-memccpy.c (do_one_test): Remove HP_TIMING code.
21243 (do_test): Likewise.
21244 * string/test-memchr.c (do_one_test): Likewise.
21245 (do_test): Likewise.
21246 * string/test-memcmp.c (do_one_test): Likewise.
21247 (do_test): Likewise.
21248 * string/test-memcpy.c (do_one_test): Likewise.
21249 (do_test): Likewise.
21250 * string/test-memmem.c (do_one_test): Likewise.
21251 (do_test): Likewise.
21252 (do_random_tests): Likewise.
21253 * string/test-memmove.c (do_one_test): Likewise.
21254 (do_test): Likewise.
21255 * string/test-memset.c (do_one_test): Likewise.
21256 (do_test): Likewise.
21257 * string/test-rawmemchr.c (do_one_test): Likewise.
21258 (do_test): Likewise.
21259 * string/test-strcasecmp.c (do_one_test): Likewise.
21260 (do_test): Likewise.
21261 * string/test-strcasestr.c (do_one_test): Likewise.
21262 (do_test): Likewise.
21263 * string/test-strcat.c (do_one_test): Likewise.
21264 (do_test): Likewise.
21265 * string/test-strchr.c (do_one_test): Likewise.
21266 (do_test): Likewise.
21267 * string/test-strcmp.c (do_one_test): Likewise.
21268 (do_test): Likewise.
21269 * string/test-strcpy.c (do_one_test): Likewise.
21270 (do_test): Likewise.
21271 * string/test-string.h: Likewise.
21272 (test_init): Likewise.
21273 * string/test-strlen.c (do_one_test): Likewise.
21274 (do_test): Likewise.
21275 * string/test-strncasecmp.c (do_one_test): Likewise.
21276 (do_test): Likewise.
21277 * string/test-strncat.c (do_one_test): Likewise.
21278 (do_test): Likewise.
21279 * string/test-strncmp.c (do_one_test): Likewise.
21280 (do_test_limit): Likewise.
21281 (do_test): Likewise.
21282 * string/test-strncpy.c (do_one_test): Likewise.
21283 (do_test): Likewise.
21284 * string/test-strnlen.c (do_one_test): Likewise.
21285 (do_test): Likewise.
21286 * string/test-strpbrk.c (do_one_test): Likewise.
21287 (do_test): Likewise.
21288 * string/test-strrchr.c (do_one_test): Likewise.
21289 (do_test): Likewise.
21290 * string/test-strspn.c (do_one_test): Likewise.
21291 (do_test): Likewise.
21292 * string/test-strstr.c (do_one_test): Likewise.
21293 (do_test): Likewise.
21294
97020474
SP
21295 * benchtests/Makefile (string-bench): Add string benchmarks.
21296 * benchtests/bench-bcopy-ifunc.c: New file.
21297 * benchtests/bench-bcopy.c: New file.
21298 * benchtests/bench-bzero-ifunc.c: New file.
21299 * benchtests/bench-bzero.c: New file.
21300 * benchtests/bench-memccpy-ifunc.c: New file.
21301 * benchtests/bench-memccpy.c: New file.
21302 * benchtests/bench-memchr-ifunc.c: New file.
21303 * benchtests/bench-memchr.c: New file.
21304 * benchtests/bench-memcmp-ifunc.c: New file.
21305 * benchtests/bench-memcmp.c: New file.
21306 * benchtests/bench-memmem-ifunc.c: New file.
21307 * benchtests/bench-memmem.c: New file.
21308 * benchtests/bench-memmove-ifunc.c: New file.
21309 * benchtests/bench-memmove.c: New file.
21310 * benchtests/bench-mempcpy-ifunc.c: New file.
21311 * benchtests/bench-mempcpy.c: New file.
21312 * benchtests/bench-memset-ifunc.c: New file.
21313 * benchtests/bench-memset.c: New file.
21314 * benchtests/bench-rawmemchr-ifunc.c: New file.
21315 * benchtests/bench-rawmemchr.c: New file.
21316 * benchtests/bench-stpcpy-ifunc.c: New file.
21317 * benchtests/bench-stpcpy.c: New file.
21318 * benchtests/bench-stpncpy-ifunc.c: New file.
21319 * benchtests/bench-stpncpy.c: New file.
21320 * benchtests/bench-strcasecmp-ifunc.c: New file.
21321 * benchtests/bench-strcasecmp.c: New file.
21322 * benchtests/bench-strcasestr-ifunc.c: New file.
21323 * benchtests/bench-strcasestr.c: New file.
21324 * benchtests/bench-strcat-ifunc.c: New file.
21325 * benchtests/bench-strcat.c: New file.
21326 * benchtests/bench-strchr-ifunc.c: New file.
21327 * benchtests/bench-strchr.c: New file.
21328 * benchtests/bench-strchrnul-ifunc.c: New file.
21329 * benchtests/bench-strchrnul.c: New file.
21330 * benchtests/bench-strcmp-ifunc.c: New file.
21331 * benchtests/bench-strcmp.c: New file.
21332 * benchtests/bench-strcpy-ifunc.c: New file.
21333 * benchtests/bench-strcpy.c: New file.
21334 * benchtests/bench-strcspn-ifunc.c: New file.
21335 * benchtests/bench-strcspn.c: New file.
21336 * benchtests/bench-strlen-ifunc.c: New file.
21337 * benchtests/bench-strlen.c: New file.
21338 * benchtests/bench-strncasecmp-ifunc.c: New file.
21339 * benchtests/bench-strncasecmp.c: New file.
21340 * benchtests/bench-strncat-ifunc.c: New file.
21341 * benchtests/bench-strncat.c: New file.
21342 * benchtests/bench-strncmp-ifunc.c: New file.
21343 * benchtests/bench-strncmp.c: New file.
21344 * benchtests/bench-strncpy-ifunc.c: New file.
21345 * benchtests/bench-strncpy.c: New file.
21346 * benchtests/bench-strnlen-ifunc.c: New file.
21347 * benchtests/bench-strnlen.c: New file.
21348 * benchtests/bench-strpbrk-ifunc.c: New file.
21349 * benchtests/bench-strpbrk.c: New file.
21350 * benchtests/bench-strrchr-ifunc.c: New file.
21351 * benchtests/bench-strrchr.c: New file.
21352 * benchtests/bench-strspn-ifunc.c: New file.
21353 * benchtests/bench-strspn.c: New file.
21354 * benchtests/bench-strstr-ifunc.c: New file.
21355 * benchtests/bench-strstr.c: New file.
21356
c1f75dc3
SP
21357 * benchtests/Makefile: Disable parallel execution of targets.
21358 (string-bench): Add memcpy.
21359 (benchset): New variable to store a list of benchmark sets.
21360 (bench-func): Renamed from bench.
21361 (bench-set): New target.
21362 (bench): Depend on bench-func and bench-set.
21363 * benchtests/README: Add section on benchmark sets.
21364 * benchtests/bench-memcpy-ifunc.c: New file.
21365 * benchtests/bench-memcpy.c: New file.
21366 * benchtests/bench-string.h: New file.
21367
50fd745b
AS
213682013-06-11 Andreas Schwab <schwab@suse.de>
21369
21370 [BZ #15577]
21371 * nscd/connections.c (nscd_run_worker): Always zero-terminate key.
21372 * nscd/netgroupcache.c (addgetnetgrentX): Properly handle absent
21373 values in the triple.
21374 * nscd/nscd_netgroup.c (__nscd_setnetgrent): Include zero
21375 terminator in the group key.
21376
3ee7e9fe
AJ
213772013-06-11 Andreas Jaeger <aj@suse.de>
21378
21379 * po/zh_TW.po: Update Chinese (traditional) translation from
21380 translation project.
21381
89fb6835
SP
213822013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
21383
21384 * include/time.h (__clock_gettime): Add libc_hidden_proto.
21385 * rt/clock_getcpuclockid.c (clock_getcpuclockid): Rename to
21386 __clock_getcpuclockid. Add weak_alias and libc_hidden_def.
21387 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
21388 (clock_getcpuclockid): Likewise.
21389 * rt/clock_getres.c (clock_getres): Rename to __clock_getres.
21390 Add weak_alias and libc_hidden_def.
21391 * sysdeps/posix/clock_getres.c (clock_getres): Likewise.
21392 * rt/clock_gettime.c (clock_gettime): Rename to
21393 __clock_gettime. Add weak_alias and libc_hidden_def.
21394 * sysdeps/unix/clock_gettime.c (clock_gettime): Likewise.
21395 * rt/clock_nanosleep.c (clock_nanosleep): Rename to
21396 __clock_nanosleep. Add weak_alias and libc_hidden_def.
21397 * sysdeps/unix/clock_nanosleep.c (clock_nanosleep): Likewise.
21398 * sysdeps/unix/sysv/linux/clock_nanosleep.c (clock_nanosleep):
21399 Likewise.
21400 * rt/clock_settime.c (clock_settime): Rename to
21401 __clock_settime. Add weak_alias and libc_hidden_def.
21402 * sysdeps/unix/clock_settime.c (clock_settime): Likewise.
21403
0efa6f8b
JM
214042013-06-10 Joseph Myers <joseph@codesourcery.com>
21405
b8c61b4b
JM
21406 * mach/err_boot.sub: Remove trailing whitespace.
21407 * mach/err_ipc.sub: Likewise.
21408 * mach/err_mach.sub: Likewise.
21409
0efa6f8b
JM
21410 * sysdeps/generic/math-tests.h (ROUNDING_TESTS_float): New macro.
21411 (ROUNDING_TESTS_double): Likewise.
21412 (ROUNDING_TESTS_long_double): Likewise.
21413 (ROUNDING_TESTS): Likewise.
21414 * math/libm-test.inc: Include <math-tests.h>.
21415 (IF_ROUND_INIT_FE_DOWNWARD): Use ROUNDING_TESTS.
21416 (IF_ROUND_INIT_FE_TONEAREST): Likewise.
21417 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
21418 (IF_ROUND_INIT_FE_UPWARD): Likewise.
21419
50b818bf
SP
214202013-06-10 Siddhesh Poyarekar <siddhesh@redhat.com>
21421
21422 * benchtests/Makefile (CPPFLAGS-nonlib): Append values instead
21423 of assigning.
21424
60d2f8f3
JM
214252013-06-08 Joseph Myers <joseph@codesourcery.com>
21426
4902d2c3
JM
21427 * sysdeps/gnu/errlist.awk: Do not generate space at end of
21428 otherwise empty TRANS lines.
21429 * sysdeps/gnu/errlist.c: Regenerated.
21430
60d2f8f3
JM
21431 * catgets/gencat.c (error_print): Use (void) in function
21432 definition.
21433 * crypt/crypt_util.c (__init_des): Likewise.
21434 * crypt/speeds.c (Stop): Likewise.
21435 (main): Likewise.
21436 * hurd/hurdmalloc.c (print_malloc_free_list): Likewise.
21437 * inet/ruserpass.c (token): Likewise.
21438 * intl/finddomain.c (_nl_finddomain_subfreeres): Likewise.
21439 * intl/localealias.c (extend_alias_table): Likewise.
21440 * intl/plural-exp.c (init_germanic_plural): Likewise.
21441 * libio/fcloseall.c (__fcloseall): Likewise.
21442 * libio/genops.c (_IO_flush_all): Likewise.
21443 (_IO_flush_all_linebuffered): Likewise.
21444 (_IO_cleanup): Likewise.
21445 (_IO_iter_begin): Likewise.
21446 (_IO_iter_end): Likewise.
21447 (_IO_list_lock): Likewise.
21448 (_IO_list_unlock): Likewise.
21449 (_IO_list_resetlock): Likewise.
21450 * libio/getchar.c (getchar): Likewise.
21451 * libio/getchar_u.c (getchar_unlocked): Likewise.
21452 * libio/getwchar.c (getwchar): Likewise.
21453 * libio/getwchar_u.c (getwchar_unlocked): Likewise.
21454 * libio/oldstdfiles.c (_IO_check_libio): Likewise.
21455 * login/getpt.c (__getpt): Likewise.
21456 * login/tst-utmp.c (main): Likewise.
21457 * malloc/hooks.c (__malloc_check_init): Likewise.
21458 * malloc/malloc.c (__malloc_stats): Likewise.
21459 * malloc/mtrace.c (tr_break): Likewise.
21460 (mtrace): Likewise.
21461 (muntrace): Likewise.
21462 * misc/fstab.c (endfsent): Likewise.
21463 * misc/getclktck.c (__getclktck): Likewise.
21464 * misc/getdtsz.c (__getdtablesize): Likewise.
21465 * misc/gethostid.c (gethostid): Likewise.
21466 * misc/getpagesize.c (__getpagesize): Likewise.
21467 * misc/getsysstats.c (__get_nprocs_conf): Likewise.
21468 (__get_nprocs): Likewise.
21469 (__get_phys_pages): Likewise.
21470 (__get_avphys_pages): Likewise.
21471 * misc/getttyent.c (getttyent): Likewise.
21472 (setttyent): Likewise.
21473 (endttyent): Likewise.
21474 * misc/getusershell.c (getusershell): Likewise.
21475 (endusershell): Likewise.
21476 (setusershell): Likewise.
21477 (initshells): Likewise.
21478 * misc/hsearch.c (__hdestroy): Likewise.
21479 * misc/sync.c (sync): Likewise.
21480 * misc/syslog.c (closelog_internal): Likewise.
21481 (closelog): Likewise.
21482 * misc/ttyslot.c (ttyslot): Likewise.
21483 * misc/vhangup.c (vhangup): Likewise.
21484 * posix/fork.c (__fork): Likewise.
21485 * posix/getegid.c (__getegid): Likewise.
21486 * posix/geteuid.c (__geteuid): Likewise.
21487 * posix/getgid.c (__getgid): Likewise.
21488 * posix/getpid.c (__getpid): Likewise.
21489 * posix/getppid.c (__getppid): Likewise.
21490 * posix/getuid.c (__getuid): Likewise.
21491 * posix/pause.c (pause): Likewise.
21492 * posix/setpgrp.c (setpgrp): Likewise.
21493 * posix/setsid.c (__setsid): Likewise.
21494 * posix/test-vfork.c (noop): Likewise.
21495 * resolv/gethnamaddr.c (_endhtent): Likewise.
21496 (_gethtent): Likewise.
21497 (ht_endhostent): Likewise.
21498 (gethostent): Likewise.
21499 (dns_service): Likewise.
21500 * stdlib/drand48.c (drand48): Likewise.
21501 * stdlib/lrand48.c (lrand48): Likewise.
21502 * stdlib/mrand48.c (mrand48): Likewise.
21503 * stdlib/rand.c (rand): Likewise.
21504 * stdlib/random.c (__random): Likewise.
21505 * stdlib/setenv.c (clearenv): Likewise.
21506 * sunrpc/clnt_tcp.c (clnttcp_abort): Likewise.
21507 * sunrpc/clnt_unix.c (clntunix_abort): Likewise.
21508 * sysdeps/mach/getpagesize.c (__getpagesize): Likewise.
21509 * sysdeps/mach/getsysstats.c (__get_nprocs_conf): Likewise.
21510 (__get_nprocs): Likewise.
21511 (__get_phys_pages): Likewise.
21512 (__get_avphys_pages): Likewise.
21513 * sysdeps/mach/hurd/dl-sysdep.c (__getpid): Likewise.
21514 * sysdeps/mach/hurd/getclktck.c (__getclktck): Likewise.
21515 * sysdeps/mach/hurd/getdtsz.c (__getdtablesize): Likewise.
21516 * sysdeps/mach/hurd/getegid.c (__getegid): Likewise.
21517 * sysdeps/mach/hurd/geteuid.c (__geteuid): Likewise.
21518 * sysdeps/mach/hurd/getgid.c (__getgid): Likewise.
21519 * sysdeps/mach/hurd/gethostid.c (gethostid): Likewise.
21520 * sysdeps/mach/hurd/getlogin.c (getlogin): Likewise.
21521 * sysdeps/mach/hurd/getpid.c (__getpid): Likewise.
21522 * sysdeps/mach/hurd/getppid.c (__getppid): Likewise.
21523 * sysdeps/mach/hurd/getuid.c (__getuid): Likewise.
21524 * sysdeps/mach/hurd/sync.c (sync): Likewise.
21525 * sysdeps/posix/clock.c (clock): Likewise.
21526 * sysdeps/unix/bsd/setsid.c (__setsid): Likewise.
21527 * sysdeps/unix/getpagesize.c (__getpagesize): Likewise.
21528 * sysdeps/unix/sysv/linux/getclktck.c (__getclktck): Likewise.
21529 * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Likewise.
21530 * sysdeps/unix/sysv/linux/getpagesize.c (__getpagesize): Likewise.
21531 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
21532 (__get_nprocs_conf): Likewise.
21533 (__get_phys_pages): Likewise.
21534 (__get_avphys_pages): Likewise.
21535 * time/clock.c (clock): Likewise.
21536 * time/tzset.c (__tzname_max): Likewise.
21537
2e09a79a
JM
215382013-06-07 Joseph Myers <joseph@codesourcery.com>
21539
21540 * bits/byteswap.h [__GNUC__ && !__GNUC_PREREQ (4, 3)]
21541 (__bswap_32): Do not use "register".
21542 * crypt/crypt.c (_ufc_doit_r): Likewise.
21543 * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
21544 * debug/wcscat_chk.c (__wcscat_chk): Likewise.
21545 * gmon/gmon.c (__monstartup): Likewise.
21546 * gmon/mcount.c (_MCOUNT_DECL(frompc, selfpc)): Likewise.
21547 * hurd/hurdmalloc.c (more_memory): Likewise.
21548 (malloc): Likewise.
21549 (free): Likewise.
21550 (realloc): Likewise.
21551 (malloc_fork_prepare): Likewise.
21552 (malloc_fork_parent): Likewise.
21553 (malloc_fork_child): Likewise.
21554 * include/rpc/auth_des.h (xdr_authdes_verf): Likewise.
21555 (_svcauth_des): Likewise.
21556 * inet/inet_lnaof.c (inet_lnaof): Likewise.
21557 * inet/inet_net.c (inet_network): Likewise.
21558 * inet/inet_netof.c (inet_netof): Likewise.
21559 * inet/rcmd.c (__validuser2_sa): Likewise.
21560 * io/fts.c (fts_open): Likewise.
21561 (fts_load): Likewise.
21562 (fts_close): Likewise.
21563 (fts_read): Likewise.
21564 (fts_children): Likewise.
21565 (fts_build): Likewise.
21566 (fts_stat): Likewise.
21567 (fts_sort): Likewise.
21568 (fts_alloc): Likewise.
21569 (fts_lfree): Likewise.
21570 * libio/fileops.c (_IO_new_file_xsputn): Likewise.
21571 (_IO_file_xsgetn): Likewise.
21572 (_IO_file_xsgetn_mmap): Likewise.
21573 * libio/iofopncook.c (_IO_cookie_read): Likewise.
21574 (_IO_cookie_write): Likewise.
21575 * libio/oldfileops.c (_IO_old_file_xsputn): Likewise.
21576 * libio/wfileops.c (_IO_wfile_xsputn): Likewise.
21577 * mach/msgserver.c (__mach_msg_server_timeout): Likewise.
21578 * malloc/obstack.c (_obstack_begin): Likewise.
21579 (_obstack_begin_1): Likewise.
21580 (_obstack_newchunk): Likewise.
21581 (_obstack_allocated_p): Likewise.
21582 (obstack_free): Likewise.
21583 (_obstack_memory_used): Likewise.
21584 * misc/getttyent.c (getttynam): Likewise.
21585 (getttyent): Likewise.
21586 (skip): Likewise.
21587 (value): Likewise.
21588 * misc/getusershell.c (initshells): Likewise.
21589 * misc/syslog.c (__vsyslog_chk): Likewise.
21590 * misc/ttyslot.c (ttyslot): Likewise.
21591 * nis/nis_hash.c (__nis_hash): Likewise.
21592 * posix/fnmatch_loop.c (FCT): Likewise.
21593 * posix/getconf.c (print_all): Likewise.
21594 (main): Likewise.
21595 * posix/getopt.c (exchange): Likewise.
21596 * posix/glob.c (globfree): Likewise.
21597 (prefix_array): Likewise.
21598 (__glob_pattern_type): Likewise.
21599 * resolv/arpa/nameser.h (NS_GET16): Likewise.
21600 (NS_GET32): Likewise.
21601 (NS_PUT16): Likewise.
21602 (NS_PUT32): Likewise.
21603 * resolv/gethnamaddr.c (getanswer): Likewise.
21604 (gethostbyname2): Likewise.
21605 (gethostbyaddr): Likewise.
21606 (_gethtent): Likewise.
21607 (_gethtbyname2): Likewise.
21608 (_gethtbyaddr): Likewise.
21609 * resolv/ns_print.c (dst_s_get_int16): Likewise.
21610 * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
21611 * resolv/res_init.c (__res_vinit): Likewise.
21612 (net_mask): Likewise.
21613 * resolv/res_mkquery.c (outchar): Likewise.
21614 (PRINT): Likewise.
21615 * stdio-common/printf_fp.c (outchar): Likewise.
21616 (PRINT): Likewise.
21617 * stdio-common/printf_fphex.c (outchar): Likewise.
21618 (PRINT): Likewise.
21619 * stdio-common/printf_size.c (outchar): Likewise.
21620 (PRINT): Likewise.
21621 * stdio-common/test_rdwr.c (main): Likewise.
21622 * stdio-common/tfformat.c (matches): Likewise.
21623 * stdio-common/vfprintf.c (outchar): Likewise.
21624 (printf_unknown): Likewise.
21625 (buffered_vfprintf): Likewise.
21626 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
21627 * stdio-common/xbug.c (AppendToBuffer): Likewise.
21628 (ReadFile): Likewise.
21629 * stdlib/qsort.c (SWAP): Likewise.
21630 (_quicksort): Likewise.
21631 * stdlib/setenv.c (__add_to_environ): Likewise.
21632 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
21633 * stdlib/strtol_l.c (__strtol_l): Likewise.
21634 * stdlib/tst-strtod.c (main): Likewise.
21635 * stdlib/tst-strtol.c (main): Likewise.
21636 * stdlib/tst-strtoll.c (main): Likewise.
21637 * string/bits/string2.h (__strcmp_cc): Likewise.
21638 (__strcmp_cg): Likewise.
21639 (__strcspn_c1): Likewise.
21640 (__strcspn_c2): Likewise.
21641 (__strcspn_c3): Likewise.
21642 (__strspn_c1): Likewise.
21643 (__strspn_c2): Likewise.
21644 (__strspn_c3): Likewise.
21645 (__strsep_1c): Likewise.
21646 (__strsep_2c): Likewise.
21647 (__strsep_3c): Likewise.
21648 * string/memccpy.c (__memccpy): Likewise.
21649 * string/stpcpy.c (__stpcpy): Likewise.
21650 * string/strcmp.c (strcmp): Likewise.
21651 * string/strrchr.c (strrchr): Likewise.
21652 * sysdeps/generic/sigset-cvt-mask.h (sigset_get_old_mask):
21653 Likewise.
21654 * sysdeps/mach/hurd/getcwd.c
21655 (_hurd_canonicalize_directory_name_internal): Likewise.
21656 * sysdeps/mach/i386/sysdep.h (SNARF_ARGS): Likewise.
21657 * sysdeps/powerpc/powerpc32/power6/wcschr.c (wcschr): Likewise.
21658 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c (wcsrchr): Likewise.
21659 * sysdeps/x86/bits/byteswap-16.h [__GNUC__] (__bswap_16):
21660 Likewise, in both definitions.
21661 * sysdeps/x86/bits/byteswap.h (__bswap_32): Likewise, in multiple
21662 definitions.
21663 [__GNUC_PREREQ (2, 0) && !__GNUC_PREREQ (4, 3) && __WORDSIZE ==
21664 64] (__bswap_64): Likewise.
21665 * time/test_time.c (main): Likewise.
21666 * time/tzfile.c (__tzfile_read): Likewise.
21667 (__tzfile_compute): Likewise.
21668 * time/tzset.c (__tzset_parse_tz): Likewise.
21669 (tzset_internal): Likewise.
21670 (compute_change): Likewise.
21671 * wcsmbs/wcscat.c (__wcscat): Likewise.
21672 * wcsmbs/wcschr.c (wcschr): Likewise.
21673 * wcsmbs/wcschrnul.c (__wcschrnul): Likewise.
21674 * wcsmbs/wcscspn.c (wcscspn): Likewise.
21675 * wcsmbs/wcspbrk.c (wcspbrk): Likewise.
21676 * wcsmbs/wcsrchr.c (wcsrchr): Likewise.
21677 * wcsmbs/wcsspn.c (wcsspn): Likewise.
21678 * wcsmbs/wcsstr.c (wcsstr): Likewise.
21679 * wcsmbs/wmemchr.c (wmemchr): Likewise.
21680 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
21681 * wcsmbs/wmemset.c (wmemset): Likewise.
21682
9e54314b
JM
216832013-06-06 Joseph Myers <joseph@codesourcery.com>
21684
21685 * scripts/config.guess: Update to version 2013-05-16.
21686 * scripts/config.sub: Update to version 2013-04-24.
21687 * scripts/install-sh: Update to version 2011-11-20.07.
21688 * scripts/mkinstalldirs: Update to version 2009-04-28.21.
21689 * scripts/move-if-change: Update to version 2012-01-06 07:23.
21690
350635a5
OB
216912013-06-06 Ondřej Bílka <neleai@seznam.cz>
21692
21693 * debug/fgetws_u_chk.c: Fix leading whitespaces.
21694 * elf/sln.c: Likewise.
21695 * hurd/hurd/ioctl.h: Likewise.
21696 * hurd/hurdmalloc.c: Likewise.
21697 * hurd/xattr.c: Likewise.
21698 * include/shlib-compat.h: Likewise.
21699 * inet/ruserpass.c: Likewise.
21700 * libio/iofgets_u.c: Likewise.
21701 * libio/iofgetws_u.c: Likewise.
21702 * locale/programs/ld-identification.c: Likewise.
21703 * locale/programs/ld-time.c: Likewise.
21704 * mach/msg-destroy.c: Likewise.
21705 * nss/nss_files/files-netgrp.c: Likewise.
21706 * resolv/res_data.c: Likewise.
21707 * soft-fp/op-1.h: Likewise.
21708 * soft-fp/op-2.h: Likewise.
21709 * soft-fp/op-4.h: Likewise.
21710 * soft-fp/op-common.h: Likewise.
21711 * stdio-common/printf_fphex.c: Likewise.
21712 * stdlib/strtod_l.c: Likewise.
21713 * sunrpc/rpc/clnt.h: Likewise.
21714 * sysdeps/generic/framestate.c: Likewise.
21715 * sysdeps/i386/bsd-_setjmp.S: Likewise.
21716 * sysdeps/i386/bsd-setjmp.S: Likewise.
21717 * sysdeps/i386/__longjmp.S: Likewise.
21718 * sysdeps/i386/setjmp.S: Likewise.
21719 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
21720 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
21721 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
21722 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
21723 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
21724 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
21725 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
21726 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
21727 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
21728 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
21729 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
21730 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
21731 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
21732 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
21733 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
21734 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
21735 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
21736 * sysdeps/ieee754/ldbl-96/ldbl2mpn.c: Likewise.
21737 * sysdeps/ieee754/support.c: Likewise.
21738 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
21739 * sysdeps/powerpc/powerpc32/lshift.S: Likewise.
21740 * sysdeps/sparc/sparc32/__longjmp.S: Likewise.
21741 * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c: Likewise.
21742 * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c: Likewise.
21743 * sysdeps/sparc/sparc64/soft-fp/qp_feq.c: Likewise.
21744 * sysdeps/sparc/sparc64/soft-fp/qp_fge.c: Likewise.
21745 * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c: Likewise.
21746 * sysdeps/sparc/sparc64/soft-fp/qp_fle.c: Likewise.
21747 * sysdeps/sparc/sparc64/soft-fp/qp_flt.c: Likewise.
21748 * sysdeps/sparc/sparc64/soft-fp/qp_fne.c: Likewise.
21749 * sysdeps/sparc/sparc64/soft-fp/qp_mul.c: Likewise.
21750 * sysdeps/sparc/sparc64/soft-fp/qp_qtoi.c: Likewise.
21751 * sysdeps/sparc/sparc64/soft-fp/qp_qtoui.c: Likewise.
21752 * sysdeps/sparc/sparc64/soft-fp/qp_qtoux.c: Likewise.
21753 * sysdeps/sparc/sparc64/soft-fp/qp_qtox.c: Likewise.
21754 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
21755 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
21756
44a988af
OB
217572013-06-05 Ondřej Bílka <neleai@seznam.cz>
21758
25506f09 21759 * posix/transbug.c: Remove executable mode.
44a988af 21760
9c84384c
JM
217612013-06-05 Joseph Myers <joseph@codesourcery.com>
21762
21763 * crypt/speeds.c: Remove trailing whitespace.
21764 * dlfcn/default.c: Likewise.
21765 * elf/ifuncdep2.c: Likewise.
21766 * elf/ifuncmain1.c: Likewise.
21767 * elf/ifuncmain1vis.c: Likewise.
21768 * elf/testobj.h: Likewise.
21769 * elf/tst-stackguard1.c: Likewise.
21770 * gmon/sys/gmon.h: Likewise.
21771 * hurd/hurdmsg.c: Likewise.
21772 * hurd/new-fd.c: Likewise.
21773 * hurd/ports-get.c: Likewise.
21774 * iconvdata/ibm1008_420.c: Likewise.
21775 * inet/tst-getni1.c: Likewise.
21776 * inet/tst-getni2.c: Likewise.
21777 * libio/ioungetc.c: Likewise.
21778 * libio/wfiledoalloc.c: Likewise.
21779 * manual/libm-err-tab.pl: Likewise.
21780 * math/w_dremf.c: Likewise.
21781 * misc/ftruncate.c: Likewise.
21782 * posix/bug-glob2.c: Likewise.
21783 * posix/tst-pcre.c: Likewise.
21784 * posix/wait4.c: Likewise.
21785 * resolv/README: Likewise.
21786 * resolv/res_debug.h: Likewise.
21787 * resolv/tst-inet_ntop.c: Likewise.
21788 * setjmp/bug269-setjmp.c: Likewise.
21789 * soft-fp/extended.h: Likewise.
21790 * soft-fp/op-1.h: Likewise.
21791 * soft-fp/op-2.h: Likewise.
21792 * soft-fp/op-4.h: Likewise.
21793 * soft-fp/op-8.h: Likewise.
21794 * soft-fp/testit.c: Likewise.
21795 * stdio-common/bug16.c: Likewise.
21796 * stdlib/random.c: Likewise.
21797 * sunrpc/rpcsvc/rquota.x: Likewise.
21798 * sysdeps/ieee754/dbl-64/powtwo.tbl: Likewise.
21799 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
21800 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
21801 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
21802 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
21803 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
21804 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
21805 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
21806 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
21807 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
21808 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
21809 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
21810 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
21811 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
21812 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
21813 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
21814 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
21815 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
21816 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
21817 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
21818 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
21819 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
21820 * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
21821 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
21822 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
21823 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
21824 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
21825 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
21826 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
21827 * sysdeps/ieee754/s_lib_version.c: Likewise.
21828 * sysdeps/mach/hurd/check_fds.c: Likewise.
21829 * sysdeps/mach/hurd/getsockname.c: Likewise.
21830 * sysdeps/mach/hurd/net/if_ppp.h: Likewise.
21831 * sysdeps/mach/hurd/recvfrom.c: Likewise.
21832 * sysdeps/powerpc/bits/link.h: Likewise.
21833 * sysdeps/powerpc/dl-procinfo.c: Likewise.
21834 * sysdeps/powerpc/fpu/feholdexcpt.c: Likewise.
21835 * sysdeps/powerpc/fpu/fenv_const.c: Likewise.
21836 * sysdeps/powerpc/fpu/fesetenv.c: Likewise.
21837 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
21838 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
21839 * sysdeps/powerpc/fpu/t_sqrt.c: Likewise.
21840 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
21841 * sysdeps/powerpc/powerpc32/fpu/s_floor.S: Likewise.
21842 * sysdeps/powerpc/powerpc32/fpu/s_floorf.S: Likewise.
21843 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
21844 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
21845 * sysdeps/powerpc/powerpc32/fpu/s_round.S: Likewise.
21846 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Likewise.
21847 * sysdeps/powerpc/powerpc32/fpu/s_trunc.S: Likewise.
21848 * sysdeps/powerpc/powerpc32/fpu/s_truncf.S: Likewise.
21849 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
21850 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
21851 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
21852 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
21853 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
21854 * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Likewise.
21855 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
21856 * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
21857 * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Likewise.
21858 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
21859 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
21860 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
21861 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
21862 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
21863 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
21864 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
21865 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
21866 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
21867 * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Likewise.
21868 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
21869 * sysdeps/powerpc/powerpc64/fpu/s_floor.S: Likewise.
21870 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
21871 * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
21872 * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Likewise.
21873 * sysdeps/powerpc/powerpc64/fpu/s_llrintf.S: Likewise.
21874 * sysdeps/powerpc/powerpc64/fpu/s_llround.S: Likewise.
21875 * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S: Likewise.
21876 * sysdeps/powerpc/powerpc64/fpu/s_round.S: Likewise.
21877 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
21878 * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Likewise.
21879 * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: Likewise.
21880 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
21881 * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Likewise.
21882 * sysdeps/powerpc/powerpc64/hp-timing.c: Likewise.
21883 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
21884 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
21885 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
21886 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
21887 * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Likewise.
21888 * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
21889 * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
21890 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
21891 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Likewise.
21892 * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
21893 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Likewise.
21894 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Likewise.
21895 * sysdeps/powerpc/powerpc64/strlen.S: Likewise.
21896 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
21897 * sysdeps/powerpc/sysdep.h: Likewise.
21898 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
21899 * sysdeps/s390/s390-64/sub_n.S: Likewise.
21900 * sysdeps/sh/dl-trampoline.S: Likewise.
21901 * sysdeps/sh/memset.S: Likewise.
21902 * sysdeps/sh/sh4/fpu/fclrexcpt.c: Likewise.
21903 * sysdeps/sh/strlen.S: Likewise.
21904 * sysdeps/sparc/sparc32/dl-trampoline.S: Likewise.
21905 * sysdeps/sparc/sparc32/dotmul.S: Likewise.
21906 * sysdeps/sparc/sparc32/memcpy.S: Likewise.
21907 * sysdeps/sparc/sparc32/rem.S: Likewise.
21908 * sysdeps/sparc/sparc32/sdiv.S: Likewise.
21909 * sysdeps/sparc/sparc32/soft-fp/q_neg.c: Likewise.
21910 * sysdeps/sparc/sparc32/strchr.S: Likewise.
21911 * sysdeps/sparc/sparc32/udiv.S: Likewise.
21912 * sysdeps/sparc/sparc32/urem.S: Likewise.
21913 * sysdeps/sparc/sparc64/add_n.S: Likewise.
21914 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
21915 * sysdeps/sparc/sparc64/rawmemchr.S: Likewise.
21916 * sysdeps/sparc/sparc64/soft-fp/s_frexpl.c: Likewise.
21917 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h: Likewise.
21918 * sysdeps/sparc/sparc64/stpncpy.S: Likewise.
21919 * sysdeps/sparc/sparc64/strncmp.S: Likewise.
21920 * sysdeps/sparc/sparc64/strncpy.S: Likewise.
21921 * sysdeps/unix/bsd/times.c: Likewise.
21922 * sysdeps/unix/sysv/linux/a.out.h: Likewise.
21923 * sysdeps/unix/sysv/linux/net/if_ppp.h: Likewise.
21924 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
21925 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
21926 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
21927 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: Likewise.
21928 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
21929 * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Likewise.
21930 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Likewise.
21931 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Likewise.
21932 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Likewise.
21933 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
21934 * sysdeps/unix/sysv/linux/s390/s390-64/mmap.S: Likewise.
21935 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
21936 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
21937 * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
21938 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
21939 * sysdeps/unix/sysv/linux/s390/s390-64/syscall.S: Likewise.
21940 * sysdeps/unix/sysv/linux/scsi/scsi_ioctl.h: Likewise.
21941 * sysdeps/unix/sysv/linux/sh/brk.c: Likewise.
21942 * sysdeps/unix/sysv/linux/sh/clone.S: Likewise.
21943 * sysdeps/unix/sysv/linux/sh/sh3/getcontext.S: Likewise.
21944 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
21945 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S: Likewise.
21946 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S: Likewise.
21947 * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
21948 * sysdeps/unix/sysv/linux/sparc/a.out.h: Likewise.
21949 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
21950 * sysdeps/unix/sysv/linux/sys/personality.h: Likewise.
21951 * sysdeps/x86_64/fpu/s_ceill.S: Likewise.
21952 * sysdeps/x86_64/fpu/s_llrintl.S: Likewise.
21953 * sysdeps/x86_64/strcspn.S: Likewise.
21954
869378a5
RA
219552013-06-05 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
21956
21957 * locale/C-translit.h: Revert #include <stdint.h> because this is a
21958 generated file. Regenerate properly from gen-translit.pl.
21959 * locale/gen-translit.pl: Add #include <stdint.h>. This generates
21960 locale/C-translit.h.
21961
840e2943
AS
219622013-06-05 Andreas Schwab <schwab@suse.de>
21963
21964 [BZ #15100]
21965 * time/strptime_l.c (__strptime_internal): Count Sunday in a %W
21966 week as 6 instead of -1.
21967 * time/tst-strptime.c (day_tests): Add test case.
21968
4c60cb0c
SP
219692013-06-05 Siddhesh Poyarekar <siddhesh@redhat.com>
21970
21971 * sysdeps/generic/math_private.h
21972 (libc_feholdexcept_setround_53bit): Replace with
21973 libc_feholdsetround_53bit.
21974 (libc_feupdateenv_53bit): Replace with
21975 libc_feresetround_53bit.
21976 (SET_RESTORE_ROUND_53BIT): Adjust.
21977
d180203e
SP
219782013-06-03 Siddhesh Poyarekar <siddhesh@redhat.com>
21979
96df079a
SP
21980 * string/test-strchrnul.c: Add copyright header.
21981
d180203e
SP
21982 * posix/tst-getaddrinfo4.c: Increase test timeout.
21983
8b0ccb2d
CD
219842013-06-03 Carlos O'Donell <carlos@redhat.com>
21985
21986 [BZ #15536]
21987 * math/libm-test.inc (MAX_EXP): Remove
21988 (MIN_EXP): Define.
21989 (ulp): Use MIN_EXP - MANT_DIG.
21990 (check_ulp): Verify subnormal ulps. Only allow a range of +/- 1 ulp.
21991
3b3c4d40
CD
219922013-05-31 Carlos O'Donell <carlos@redhat.com>
21993
21994 * po/be.po: Revert last change.
21995 * po/zh_CN.po: Likewise.
21996 * po/header.pot: Likewise.
21997
fab7ce3f
JM
219982013-05-31 Joseph Myers <joseph@codesourcery.com>
21999
22000 * Makefile ($(common-objpfx)linkobj/libc.so): Define
22001 link-libc-deps to empty as target-specific variable.
22002 * Makerules (link-libc-args): New variable.
22003 (libc-for-link): Likewise.
22004 (link-libc-deps): Likewise.
22005 (lib%.so): Depend on $(link-libc-deps). Link with
22006 $(link-libc-args).
22007 (build-module): Link with $(link-libc-args).
22008 (build-module-asneeded): Likewise.
22009 (build-module-helper-objlist): Filter out $(link-libc-deps) from
22010 list of objects.
22011 ($(common-objpfx)libc.so): Define link-libc-deps to empty as
22012 target-specific variable.
22013 ($(extra-modules-build:%=$(objpfx)%.so)): Depend on
22014 $(link-libc-deps) instead of libc.so and libc_nonshared.a.
22015 * crypt/Makefile ($(objpfx)libcrypt.so): Remove dependencies on
22016 libc.
22017 * debug/Makefile ($(objpfx)libSegFault.so): Remove dependencies on
22018 libc and ld.so.
22019 ($(objpfx)libpcprofile.so): Likewise.
22020 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Remove ld.so and
22021 libc_nonshared.a.
22022 ($(objpfx)libdl.so): Remove dependencies on libc and ld.so.
22023 * hesiod/Makefile ($(objpfx)libnss_hesiod.so): Likewise.
22024 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Depend on
22025 $(link-libc-deps).
22026 ($(objpfx)$(mod).so): Remove dependencies on libc and ld.so.
22027 * locale/Makefile ($(objpfx)libBrokenLocale.so): Likewise.
22028 * login/Makefile ($(objpfx)libutil.so): Likewise.
22029 * malloc/Makefile ($(objpfx)libmemusage.so): Likewise.
22030 * math/Makefile ($(objpfx)libm.so): Likewise.
22031 * nis/Makefile ($(services:%=$(objpfx)libnss_%.so)
22032 $(objpfx)libnsl.so): Define libc-for-link as target-specific
22033 variable instead of depending directly on libc.
22034 * nss/Makefile ($(services:%=$(objpfx)libnss_%.so)): Likewise.
22035 ($(objpfx)/libnss_test1.so): Change dependencies on libc to
22036 $(link-libc-deps).
22037 * resolv/Makefile ($(objpfx)libresolv.so): Remove dependencies on
22038 libc.
22039 [$(have-ssp) = yes] (LDLIBS-resolv.so): Remove variable.
22040 ($(objpfx)libnss_dns.so): Remove dependencies on libc.
22041 ($(objpfx)libanl.so): Likewise.
22042 * rt/Makefile ($(objpfx)librt.so): Remove dependencies on libc and
22043 ld.so.
22044 * stdlib/Makefile ($(objpfx)tst-putenvmod.so): Depend on
22045 $(link-libc-deps).
22046 * sysdeps/i386/fpu/Makefile: Remove file.
22047 * sysdeps/powerpc/fpu/Makefile [$(subdir) = math]
22048 ($(objpfx)libm.so): Remove dependency on ld.so.
22049
eca5920c
PF
220502013-05-30 Patsy Franklin <pfrankli@redhat.com>
22051
22052 [BZ # 15553]
22053 * nis/yp_xdr.c (XDRMAXNAME): Define.
22054 (XDRMAXRECORD): Define.
22055 (xdr_domainname): Use XDRMAXNAME.
22056 (xdr_mapname): Likewise.
22057 (xdr_peername): Likewise.
22058 (xdr_keydat): Use XDRMAXRECORD.
22059 (xdr_valdat): Likewise.
22060
220612013-05-30 Jeff Law <law@redhat.com>
96945714
JL
22062
22063 [BZ #14256]
22064 * manual/errno.texi (ESTALE): Update to account for more than
22065 just NFS file systems.
22066 * sysdeps/gnu/errlist.c: Regenerated.
22067
b9375348
SP
220682013-05-29 Siddhesh Poyarekar <siddhesh@redhat.com>
22069
22070 [BZ #15465]
22071 * elf/Makefile (tests): Add tst-null-argv.
22072 (modules-names): Add tst-null-argv-lib.
22073 ($(objpfx)tst-null-argv): Depend on tst-null-argv-lib.so.
22074 (tst-null-argv-ENV): Set environment for tst-null-argv.
22075 * sysdeps/generic/ldsodefs.h (DSO_FILENAME): New macro.
22076 (RTLD_PROGNAME): New macro.
22077 * elf/tst-null-argv.c: New test case.
22078 * elf/tst-null-argv-lib.c: Library for test case.
22079 * elf/dl-conflict.c (_dl_resolve_conflicts): Use DSO_FILENAME.
22080 * elf/dl-deps.c (_dl_map_object_deps): Likewise.
22081 * elf/dl-error.c (_dl_signal_error): Use RTLD_PROGNAME.
22082 * elf/dl-fini.c (_dl_fini): Use DSO_FILENAME.
22083 * elf/dl-init.c (call_init): Likewise.
22084 (_dl_init): Likewise.
22085 * elf/dl-load.c (print_search_path): Likewise.
22086 (_dl_map_object): Likewise.
22087 * elf/dl-lookup.c (do_lookup_x): Likewise.
22088 (add_dependency): Likewise.
22089 (_dl_lookup_symbol_x): Likewise.
22090 (_dl_debug_bindings): Likewise.
22091 * elf/dl-open.c (_dl_show_scope): Likewise.
22092 * elf/dl-reloc.c (_dl_relocate_object): Likewise.
22093 * elf/dl-version.c (match_symbol): Likewise.
22094 (_dl_check_map_versions): Likewise.
22095 * elf/rtld.c (dl_main): Likewise.
22096 (print_unresolved): Use RTLD_PROGNAME.
22097 (print_missing_version): Likewise.
22098 * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
22099 (elf_machine_rela): Likewise.
22100 * sysdeps/powerpc/powerpc32/dl-machine.c
22101 (__process_machine_rela): Likewise.
22102 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
22103 Likewise.
22104 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
22105 Likewise.
22106 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
22107 Likewise.
22108 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
22109 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela):
22110 Likewise.
22111 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela):
22112 Likewise.
22113 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
22114
8a9f20c8
CD
221152013-05-28 Carlos O'Donell <carlos@redhat.com>
22116
22117 * po/be.po: Add descriptive title.
22118 * po/zh_CN.po: Likewise.
22119 * po/header.pot: Likewise.
22120
0e60d68e
MF
221212013-05-28 Mike Frysinger <vapier@gentoo.org>
22122
22123 * locale/programs/locarchive.c (create_archive): Inlucde fname in
22124 error message.
22125 (enlarge_archive): Likewise.
22126
56b672e9
BN
221272013-05-28 Ben North <ben@redfrontdoor.org>
22128
22129 * manual/arith.texi (frexp): It is the magnitude of the return
22130 value which lies in [0.5, 1), not the return value itself.
22131
5e056687
AZ
221322013-05-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22133
22134 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
22135
2b66ef5d
TS
221362013-05-26 Thomas Schwinge <thomas@codesourcery.com>
22137
528c2405
TS
22138 * stdio-common/bug26.c (main): Correct fscanf template.
22139
07b4c13d
TS
22140 * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start:go): Don't
22141 declare _dl_skip_args.
22142
ec9dd97c
TS
22143 * sysdeps/mach/hurd/i386/init-first.c (_dl_non_dynamic_init):
22144 Don't declare.
22145
2b66ef5d
TS
22146 * manual/platform.texi: Add missing @end deftypefun.
22147
4f8dfe27
JM
221482013-05-24 Joseph Myers <joseph@codesourcery.com>
22149
0323d086
JM
22150 [BZ #15529]
22151 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Set high
22152 bit of mantissa of 2^16382.
22153 * math/libm-test.inc (hypot_test_data): Add more tests.
22154
dd4259b9
JM
22155 * math/libm-test.inc: Add drem and pow10 to list of tested
22156 functions.
22157 (pow10_test): New function.
22158 (drem_test): Likewise.
22159 (drem_test_tonearest): Likewise.
22160 (drem_test_towardzero): Likewise.
22161 (drem_test_downward): Likewise.
22162 (drem_test_upward): Likewise.
22163 (main): Call the new functions.
22164
4f8dfe27
JM
22165 * math/libm-test.inc (finite_test_data): Remove.
22166 (finite_test): Run tests from isfinite_test_data.
22167 (gamma_test_data): Remove.
22168 (gamma_test): Run tests from lgamma_test_data.
22169 * sysdeps/i386/fpu/libm-test-ulps: Update.
22170 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22171
d116b7c4
AZ
221722013-05-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22173
22174 * manual/platform.texi: Add PowerPC PPR function set documentation.
22175 * sysdeps/powerpc/sys/platform/ppc.h: Add PowerPC PPR set function
22176 implementation.
22177
e96e3767
CD
221782013-05-24 Carlos O'Donell <carlos@redhat.com>
22179
22180 * math/libm-test.inc (MAX_EXP): Define.
22181 (ULPDIFF): Define.
22182 (ulp): New function.
22183 (check_float_internal): Use ULPDIFF.
22184 (cpow_test): Disable failing test.
22185 (check_ulp): Test ulp() implemetnation.
22186 (main): Call check_ulp before starting tests.
22187
b679a606
JM
221882013-05-24 Joseph Myers <joseph@codesourcery.com>
22189
e8bdba36
JM
22190 * math/gen-libm-test.pl (generate_testfile): Do not handle
22191 START_DATA and END_DATA.
22192 * math/libm-test.inc (acos_test_data): Do not use START_DATA and
22193 END_DATA.
22194 (acos_tonearest_test_data): Likewise.
22195 (acos_towardzero_test_data): Likewise.
22196 (acos_downward_test_data): Likewise.
22197 (acos_upward_test_data): Likewise.
22198 (acosh_test_data): Likewise.
22199 (asin_test_data): Likewise.
22200 (asin_tonearest_test_data): Likewise.
22201 (asin_towardzero_test_data): Likewise.
22202 (asin_downward_test_data): Likewise.
22203 (asin_upward_test_data): Likewise.
22204 (asinh_test_data): Likewise.
22205 (atan_test_data): Likewise.
22206 (atanh_test_data): Likewise.
22207 (atan2_test_data): Likewise.
22208 (cabs_test_data): Likewise.
22209 (cacos_test_data): Likewise.
22210 (cacosh_test_data): Likewise.
22211 (carg_test_data): Likewise.
22212 (casin_test_data): Likewise.
22213 (casinh_test_data): Likewise.
22214 (catan_test_data): Likewise.
22215 (catanh_test_data): Likewise.
22216 (cbrt_test_data): Likewise.
22217 (ccos_test_data): Likewise.
22218 (ccosh_test_data): Likewise.
22219 (ceil_test_data): Likewise.
22220 (cexp_test_data): Likewise.
22221 (cimag_test_data): Likewise.
22222 (clog_test_data): Likewise.
22223 (clog10_test_data): Likewise.
22224 (conj_test_data): Likewise.
22225 (copysign_test_data): Likewise.
22226 (cos_test_data): Likewise.
22227 (cos_tonearest_test_data): Likewise.
22228 (cos_towardzero_test_data): Likewise.
22229 (cos_downward_test_data): Likewise.
22230 (cos_upward_test_data): Likewise.
22231 (cosh_test_data): Likewise.
22232 (cosh_tonearest_test_data): Likewise.
22233 (cosh_towardzero_test_data): Likewise.
22234 (cosh_downward_test_data): Likewise.
22235 (cosh_upward_test_data): Likewise.
22236 (cpow_test_data): Likewise.
22237 (cproj_test_data): Likewise.
22238 (creal_test_data): Likewise.
22239 (csin_test_data): Likewise.
22240 (csinh_test_data): Likewise.
22241 (csqrt_test_data): Likewise.
22242 (ctan_test_data): Likewise.
22243 (ctan_tonearest_test_data): Likewise.
22244 (ctan_towardzero_test_data): Likewise.
22245 (ctan_downward_test_data): Likewise.
22246 (ctan_upward_test_data): Likewise.
22247 (ctanh_test_data): Likewise.
22248 (ctanh_tonearest_test_data): Likewise.
22249 (ctanh_towardzero_test_data): Likewise.
22250 (ctanh_downward_test_data): Likewise.
22251 (ctanh_upward_test_data): Likewise.
22252 (erf_test_data): Likewise.
22253 (erfc_test_data): Likewise.
22254 (exp_test_data): Likewise.
22255 (exp_tonearest_test_data): Likewise.
22256 (exp_towardzero_test_data): Likewise.
22257 (exp_downward_test_data): Likewise.
22258 (exp_upward_test_data): Likewise.
22259 (exp10_test_data): Likewise.
22260 (exp2_test_data): Likewise.
22261 (expm1_test_data): Likewise.
22262 (fabs_test_data): Likewise.
22263 (fdim_test_data): Likewise.
22264 (finite_test_data): Likewise.
22265 (floor_test_data): Likewise.
22266 (fma_test_data): Likewise.
22267 (fma_towardzero_test_data): Likewise.
22268 (fma_downward_test_data): Likewise.
22269 (fma_upward_test_data): Likewise.
22270 (fmax_test_data): Likewise.
22271 (fmin_test_data): Likewise.
22272 (fmod_test_data): Likewise.
22273 (fpclassify_test_data): Likewise.
22274 (frexp_test_data): Likewise.
22275 (gamma_test_data): Likewise.
22276 (hypot_test_data): Likewise.
22277 (ilogb_test_data): Likewise.
22278 (isfinite_test_data): Likewise.
22279 (isgreater_test_data): Likewise.
22280 (isgreaterequal_test_data): Likewise.
22281 (isinf_test_data): Likewise.
22282 (isless_test_data): Likewise.
22283 (islessequal_test_data): Likewise.
22284 (islessgreater_test_data): Likewise.
22285 (isnan_test_data): Likewise.
22286 (isnormal_test_data): Likewise.
22287 (issignaling_test_data): Likewise.
22288 (isunordered_test_data): Likewise.
22289 (j0_test_data): Likewise.
22290 (j1_test_data): Likewise.
22291 (jn_test_data): Likewise.
22292 (ldexp_test_data): Likewise.
22293 (lgamma_test_data): Likewise.
22294 (lrint_test_data): Likewise.
22295 (lrint_tonearest_test_data): Likewise.
22296 (lrint_towardzero_test_data): Likewise.
22297 (lrint_downward_test_data): Likewise.
22298 (lrint_upward_test_data): Likewise.
22299 (llrint_test_data): Likewise.
22300 (llrint_tonearest_test_data): Likewise.
22301 (llrint_towardzero_test_data): Likewise.
22302 (llrint_downward_test_data): Likewise.
22303 (llrint_upward_test_data): Likewise.
22304 (log_test_data): Likewise.
22305 (log10_test_data): Likewise.
22306 (log1p_test_data): Likewise.
22307 (log2_test_data): Likewise.
22308 (logb_test_data): Likewise.
22309 (logb_downward_test_data): Likewise.
22310 (lround_test_data): Likewise.
22311 (llround_test_data): Likewise.
22312 (modf_test_data): Likewise.
22313 (nearbyint_test_data): Likewise.
22314 (nextafter_test_data): Likewise.
22315 (nexttoward_test_data): Likewise.
22316 (pow_test_data): Likewise.
22317 (pow_tonearest_test_data): Likewise.
22318 (pow_towardzero_test_data): Likewise.
22319 (pow_downward_test_data): Likewise.
22320 (pow_upward_test_data): Likewise.
22321 (remainder_test_data): Likewise.
22322 (remainder_tonearest_test_data): Likewise.
22323 (remainder_towardzero_test_data): Likewise.
22324 (remainder_downward_test_data): Likewise.
22325 (remainder_upward_test_data): Likewise.
22326 (remquo_test_data): Likewise.
22327 (rint_test_data): Likewise.
22328 (rint_tonearest_test_data): Likewise.
22329 (rint_towardzero_test_data): Likewise.
22330 (rint_downward_test_data): Likewise.
22331 (rint_upward_test_data): Likewise.
22332 (round_test_data): Likewise.
22333 (scalb_test_data): Likewise.
22334 (scalbn_test_data): Likewise.
22335 (scalbln_test_data): Likewise.
22336 (signbit_test_data): Likewise.
22337 (sin_test_data): Likewise.
22338 (sin_tonearest_test_data): Likewise.
22339 (sin_towardzero_test_data): Likewise.
22340 (sin_downward_test_data): Likewise.
22341 (sin_upward_test_data): Likewise.
22342 (sincos_test_data): Likewise.
22343 (sinh_test_data): Likewise.
22344 (sinh_tonearest_test_data): Likewise.
22345 (sinh_towardzero_test_data): Likewise.
22346 (sinh_downward_test_data): Likewise.
22347 (sinh_upward_test_data): Likewise.
22348 (sqrt_test_data): Likewise.
22349 (tan_test_data): Likewise.
22350 (tan_tonearest_test_data): Likewise.
22351 (tan_towardzero_test_data): Likewise.
22352 (tan_downward_test_data): Likewise.
22353 (tan_upward_test_data): Likewise.
22354 (tanh_test_data): Likewise.
22355 (tgamma_test_data): Likewise.
22356 (trunc_test_data): Likewise.
22357 (y0_test_data): Likewise.
22358 (y1_test_data): Likewise.
22359 (yn_test_data): Likewise.
22360 (significand_test_data): Likewise.
22361
b679a606
JM
22362 * math/gen-libm-test.pl (@functions): Remove variable.
22363 (generate_testfile): Don't handle START and END lines.
22364 * math/libm-test.inc (START): New macro.
22365 (END): Likewise.
22366 (END_COMPLEX): Likewise.
22367 (acos_test): Use END macro without arguments.
22368 (acos_test_tonearest): Likewise.
22369 (acos_test_towardzero): Likewise.
22370 (acos_test_downward): Likewise.
22371 (acos_test_upward): Likewise.
22372 (acosh_test): Likewise.
22373 (asin_test): Likewise.
22374 (asin_test_tonearest): Likewise.
22375 (asin_test_towardzero): Likewise.
22376 (asin_test_downward): Likewise.
22377 (asin_test_upward): Likewise.
22378 (asinh_test): Likewise.
22379 (atan_test): Likewise.
22380 (atanh_test): Likewise.
22381 (atan2_test): Likewise.
22382 (cabs_test): Likewise.
22383 (cacos_test): Use END_COMPLEX macro without arguments.
22384 (cacosh_test): Likewise.
22385 (carg_test): Use END macro without arguments.
22386 (casin_test): Use END_COMPLEX macro without arguments.
22387 (casinh_test): Likewise.
22388 (catan_test): Likewise.
22389 (catanh_test): Likewise.
22390 (cbrt_test): Use END macro without arguments.
22391 (ccos_test): Use END_COMPLEX macro without arguments.
22392 (ccosh_test): Likewise.
22393 (ceil_test): Use END macro without arguments.
22394 (cexp_test): Use END_COMPLEX macro without arguments.
22395 (cimag_test): Use END macro without arguments.
22396 (clog_test): Use END_COMPLEX macro without arguments.
22397 (clog10_test): Likewise.
22398 (conj_test): Likewise.
22399 (copysign_test): Use END macro without arguments.
22400 (cos_test): Likewise.
22401 (cos_test_tonearest): Likewise.
22402 (cos_test_towardzero): Likewise.
22403 (cos_test_downward): Likewise.
22404 (cos_test_upward): Likewise.
22405 (cosh_test): Likewise.
22406 (cosh_test_tonearest): Likewise.
22407 (cosh_test_towardzero): Likewise.
22408 (cosh_test_downward): Likewise.
22409 (cosh_test_upward): Likewise.
22410 (cpow_test): Use END_COMPLEX macro without arguments.
22411 (cproj_test): Likewise.
22412 (creal_test): Use END macro without arguments.
22413 (csin_test): Use END_COMPLEX macro without arguments.
22414 (csinh_test): Likewise.
22415 (csqrt_test): Likewise.
22416 (ctan_test): Likewise.
22417 (ctan_test_tonearest): Likewise.
22418 (ctan_test_towardzero): Likewise.
22419 (ctan_test_downward): Likewise.
22420 (ctan_test_upward): Likewise.
22421 (ctanh_test): Likewise.
22422 (ctanh_test_tonearest): Likewise.
22423 (ctanh_test_towardzero): Likewise.
22424 (ctanh_test_downward): Likewise.
22425 (ctanh_test_upward): Likewise.
22426 (erf_test): Use END macro without arguments.
22427 (erfc_test): Likewise.
22428 (exp_test): Likewise.
22429 (exp_test_tonearest): Likewise.
22430 (exp_test_towardzero): Likewise.
22431 (exp_test_downward): Likewise.
22432 (exp_test_upward): Likewise.
22433 (exp10_test): Likewise.
22434 (exp2_test): Likewise.
22435 (expm1_test): Likewise.
22436 (fabs_test): Likewise.
22437 (fdim_test): Likewise.
22438 (finite_test): Likewise.
22439 (floor_test): Likewise.
22440 (fma_test): Likewise.
22441 (fma_test_towardzero): Likewise.
22442 (fma_test_downward): Likewise.
22443 (fma_test_upward): Likewise.
22444 (fmax_test): Likewise.
22445 (fmin_test): Likewise.
22446 (fmod_test): Likewise.
22447 (fpclassify_test): Likewise.
22448 (frexp_test): Likewise.
22449 (gamma_test): Likewise.
22450 (hypot_test): Likewise.
22451 (ilogb_test): Likewise.
22452 (isfinite_test): Likewise.
22453 (isgreater_test): Likewise.
22454 (isgreaterequal_test): Likewise.
22455 (isinf_test): Likewise.
22456 (isless_test): Likewise.
22457 (islessequal_test): Likewise.
22458 (islessgreater_test): Likewise.
22459 (isnan_test): Likewise.
22460 (isnormal_test): Likewise.
22461 (issignaling_test): Likewise.
22462 (isunordered_test): Likewise.
22463 (j0_test): Likewise.
22464 (j1_test): Likewise.
22465 (jn_test): Likewise.
22466 (ldexp_test): Likewise.
22467 (lgamma_test): Likewise.
22468 (lrint_test): Likewise.
22469 (lrint_test_tonearest): Likewise.
22470 (lrint_test_towardzero): Likewise.
22471 (lrint_test_downward): Likewise.
22472 (lrint_test_upward): Likewise.
22473 (llrint_test): Likewise.
22474 (llrint_test_tonearest): Likewise.
22475 (llrint_test_towardzero): Likewise.
22476 (llrint_test_downward): Likewise.
22477 (llrint_test_upward): Likewise.
22478 (log_test): Likewise.
22479 (log10_test): Likewise.
22480 (log1p_test): Likewise.
22481 (log2_test): Likewise.
22482 (logb_test): Likewise.
22483 (logb_test_downward): Likewise.
22484 (lround_test): Likewise.
22485 (llround_test): Likewise.
22486 (modf_test): Likewise.
22487 (nearbyint_test): Likewise.
22488 (nextafter_test): Likewise.
22489 (nexttoward_test): Likewise.
22490 (pow_test): Likewise.
22491 (pow_test_tonearest): Likewise.
22492 (pow_test_towardzero): Likewise.
22493 (pow_test_downward): Likewise.
22494 (pow_test_upward): Likewise.
22495 (remainder_test): Likewise.
22496 (remainder_test_tonearest): Likewise.
22497 (remainder_test_towardzero): Likewise.
22498 (remainder_test_downward): Likewise.
22499 (remainder_test_upward): Likewise.
22500 (remquo_test): Likewise.
22501 (rint_test): Likewise.
22502 (rint_test_tonearest): Likewise.
22503 (rint_test_towardzero): Likewise.
22504 (rint_test_downward): Likewise.
22505 (rint_test_upward): Likewise.
22506 (round_test): Likewise.
22507 (scalb_test): Likewise.
22508 (scalbn_test): Likewise.
22509 (scalbln_test): Likewise.
22510 (signbit_test): Likewise.
22511 (sin_test): Likewise.
22512 (sin_test_tonearest): Likewise.
22513 (sin_test_towardzero): Likewise.
22514 (sin_test_downward): Likewise.
22515 (sin_test_upward): Likewise.
22516 (sincos_test): Likewise.
22517 (sinh_test): Likewise.
22518 (sinh_test_tonearest): Likewise.
22519 (sinh_test_towardzero): Likewise.
22520 (sinh_test_downward): Likewise.
22521 (sinh_test_upward): Likewise.
22522 (sqrt_test): Likewise.
22523 (tan_test): Likewise.
22524 (tan_test_tonearest): Likewise.
22525 (tan_test_towardzero): Likewise.
22526 (tan_test_downward): Likewise.
22527 (tan_test_upward): Likewise.
22528 (tanh_test): Likewise.
22529 (tgamma_test): Likewise.
22530 (trunc_test): Likewise.
22531 (y0_test): Likewise.
22532 (y1_test): Likewise.
22533 (yn_test): Likewise.
22534 (significand_test): Likewise.
22535
bae143d2
OB
225362013-05-24 Ondřej Bílka <neleai@seznam.cz>
22537
22538 [BZ #15381]
22539 * libio/genops.c (_IO_no_init): Initialize wide struct info.
22540
9323d39b
EM
225412013-05-23 Edjunior Machado <emachado@linux.vnet.ibm.com>
22542
d4ea44a0 22543 [BZ #14894]
9323d39b
EM
22544 * sysdeps/powerpc/sys/platform/ppc.h: Add __ppc_yield,
22545 __ppc_mdoio and __ppc_mdoom.
22546 * manual/platform.texi: Document new functions __ppc_yield,
22547 __ppc_mdoio and __ppc_mdoom.
22548
13e23af7
CD
225492013-05-22 Carlos O'Donell <carlos@redhat.com>
22550
22551 * elf/ldconfig.c (is_hwcap_platform): Make comments full setences.
22552 (main): Mention "tls" pseudo-hwcap is legacy.
22553 * elf/dl-hwcaps.c (_dl_important_hwcaps): Correct rounding comment.
22554
351fe550
JM
225552013-05-22 Joseph Myers <joseph@codesourcery.com>
22556
22557 * math/gen-libm-test.pl (parse_args): Output only string of
22558 arguments as text for test name, not full call or descriptions of
22559 tests for extra outputs.
22560 (generate_testfile): Do not pass function name to parse_args.
22561 Generate this_func variable from START.
22562 * math/libm-test.inc (struct test_f_f_data): Rename test_name
22563 field to arg_str.
22564 (struct test_ff_f_data): Likewise.
22565 (test_ff_f_data_nexttoward): Likewise.
22566 (struct test_fi_f_data): Likewise.
22567 (struct test_fl_f_data): Likewise.
22568 (struct test_if_f_data): Likewise.
22569 (struct test_fff_f_data): Likewise.
22570 (struct test_c_f_data): Likewise.
22571 (struct test_f_f1_data): Likewise. Remove field extra_name.
22572 (struct test_fF_f1_data): Likewise.
22573 (struct test_ffI_f1_data): Likewise.
22574 (struct test_c_c_data): Rename test_name field to arg_str.
22575 (struct test_cc_c_data): Likewise.
22576 (struct test_f_i_data): Likewise.
22577 (struct test_ff_i_data): Likewise.
22578 (struct test_f_l_data): Likewise.
22579 (struct test_f_L_data): Likewise.
22580 (struct test_fFF_11_data): Likewise. Remove fields extra1_name
22581 and extra2_name.
22582 (COMMON_TEST_SETUP): New macro.
22583 (EXTRA_OUTPUT_TEST_SETUP): Likewise.
22584 (COMMON_TEST_CLEANUP): Likewise.
22585 (EXTRA_OUTPUT_TEST_CLEANUP): Likewise.
22586 (RUN_TEST_f_f): Take argument string. Call new setup and cleanup
22587 macros.
22588 (RUN_TEST_LOOP_f_f): Update call to RUN_TEST_f_f.
22589 (RUN_TEST_2_f): Take argument string. Call new setup and cleanup
22590 macros.
22591 (RUN_TEST_LOOP_2_f): Update call to RUN_TEST_2_f.
22592 (RUN_TEST_fff_f): Take argument string. Call new setup and
22593 cleanup macros.
22594 (RUN_TEST_LOOP_fff_f): Update call to RUN_TEST_fff_f.
22595 (RUN_TEST_c_f): Take argument string. Call new setup and cleanup
22596 macros.
22597 (RUN_TEST_LOOP_c_f): Update call to RUN_TEST_c_f.
22598 (RUN_TEST_f_f1): Take argument string. Call new setup and cleanup
22599 macros.
22600 (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
22601 (RUN_TEST_fF_f1): Take argument string. Call new setup and
22602 cleanup macros.
22603 (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
22604 (RUN_TEST_fI_f1): Take argument string. Call new setup and
22605 cleanup macros.
22606 (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
22607 (RUN_TEST_ffI_f1): Take argument string. Call new setup and
22608 cleanup macros.
22609 (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
22610 (RUN_TEST_c_c): Take argument string. Call new setup and cleanup
22611 macros.
22612 (RUN_TEST_LOOP_c_c): Update call to RUN_TEST_c_c.
22613 (RUN_TEST_cc_c): Take argument string. Call new setup and cleanup
22614 macros.
22615 (RUN_TEST_LOOP_cc_c): Update call to RUN_TEST_cc_c.
22616 (RUN_TEST_f_i): Take argument string. Call new setup and cleanup
22617 macros.
22618 (RUN_TEST_LOOP_f_i): Update call to RUN_TEST_f_i.
22619 (RUN_TEST_f_i_tg): Take argument string. Call new setup and
22620 cleanup macros.
22621 (RUN_TEST_LOOP_f_i_tg): Update call to RUN_TEST_f_i_tg.
22622 (RUN_TEST_ff_i_tg): Take argument string. Call new setup and
22623 cleanup macros.
22624 (RUN_TEST_LOOP_ff_i_tg): Update call to RUN_TEST_ff_i_tg.
22625 (RUN_TEST_f_b): Take argument string. Call new setup and cleanup
22626 macros.
22627 (RUN_TEST_LOOP_f_b): Update call to RUN_TEST_f_b.
22628 (RUN_TEST_f_b_tg): Take argument string. Call new setup and
22629 cleanup macros.
22630 (RUN_TEST_LOOP_f_b_tg): Update call to RUN_TEST_f_b_tg.
22631 (RUN_TEST_f_l): Take argument string. Call new setup and cleanup
22632 macros.
22633 (RUN_TEST_LOOP_f_l): Update call to RUN_TEST_f_l.
22634 (RUN_TEST_f_L): Take argument string. Call new setup and cleanup
22635 macros.
22636 (RUN_TEST_LOOP_f_L): Update call to RUN_TEST_f_L.
22637 (RUN_TEST_fFF_11): Take argument string. Call new setup and
22638 cleanup macros.
22639 (RUN_TEST_LOOP_fFF_11): Update call to RUN_TEST_fFF_11.
22640
85118d4d
EBM
226412013-05-22 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
22642
22643 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add si_addr_lsb
22644 to _sifields.sigfault.
22645 (si_addr_lsb): Define new macro.
22646 (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
22647 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
22648 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: Likewise.
22649
7a44c18f
CD
226502013-05-03 Carlos O'Donell <carlos at redhat.com>
22651
22652 [BZ #15441]
22653 * intl/dcigettext.c (DCIGETTEXT): Skip translating if _nl_find_msg
22654 returns -1.
22655 (_nl_find_msg): Return -1 if recursive call returned -1. If newmem is
22656 null return -1.
22657 * intl/loadmsgcat.c (_nl_load_domain): If _nl_find_msg returns -1 abort
22658 loading the domain.
22659
b50a7181
JM
226602013-05-22 Joseph Myers <joseph@codesourcery.com>
22661
22662 * math/gen-libm-test.pl (parse_args): Do not include expected
22663 result in test name.
22664 * sysdeps/i386/fpu/libm-test-ulps: Update test names.
22665 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
22666 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
22667 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
22668 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
22669 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22670
051063c8
SP
226712013-05-22 Siddhesh Poyarekar <siddhesh@redhat.com>
22672
3ce9e010
SP
22673 * benchtests/Makefile: Sort function entries.
22674
051063c8
SP
22675 * benchtests/Makefile (bench): Add asin, acos, sinh, cosh,
22676 tanh, asinh, acosh, atanh.
22677 * benchtests/acos-inputs: New file.
22678 * benchtests/acosh-inputs: New file.
22679 * benchtests/asin-inputs: New file.
22680 * benchtests/asinh-inputs: New file.
22681 * benchtests/atanh-inputs: New file.
22682 * benchtests/cosh-inputs: New file.
22683 * benchtests/log-inputs: New file.
22684 * benchtests/sinh-inputs: New file.
22685 * benchtests/tanh-inputs: New file.
22686
47c22455
DL
226872013-05-21 Dmitry V. Levin <ldv@altlinux.org>
22688
22689 [BZ #15339]
22690 * posix/tst-getaddrinfo4.c: New test.
22691 * posix/Makefile (tests): Add it.
22692
3d04f5db
SP
226932013-05-21 Siddhesh Poyarekar <siddhesh@redhat.com>
22694
22695 [BZ #15339]
22696 * nss/getXXbyYY_r.c (REENTRANT_NAME): Set NETDB_INTERNAL only
22697 when no services were used.
22698 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set h_errno.
22699 Return EAI_SYSTEM if h_errno is NETDB_INTERNAL.
22700
d5dd6189
AS
227012013-05-21 Andreas Schwab <schwab@suse.de>
22702
22703 [BZ #15014]
22704 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME))
22705 [HANDLE_DIGITS_DOTS]: Set any_service when digits-dots parsing was
22706 successful.
22707 * nss/digits_dots.c (__nss_hostname_digits_dots): Remove
22708 redundant variable declarations and reallocation of buffer when
22709 parsing as IPv6 address. Always set NSS status when called from
22710 reentrant functions. Use NETDB_INTERNAL instead of TRY_AGAIN when
22711 buffer too small. Correct computation of needed size.
22712 * nss/Makefile (tests): Add test-digits-dots.
22713 * nss/test-digits-dots.c: New test.
22714
fef94eab
SP
227152013-05-21 Siddhesh Poyarekar <siddhesh@redhat.com>
22716
22717 * benchtests/Makefile: Remove instructions for adding
22718 benchmark tests.
22719 * benchtests/README: New file to explain how to execute and
22720 enhance the benchmark tests.
22721
e39adf43
AS
227222013-05-21 Andreas Schwab <schwab@suse.de>
22723
22724 [BZ #15493]
22725 * setjmp/Makefile (tests): Add tst-sigsetjmp.
22726 * setjmp/tst-sigsetjmp.c: New test.
22727
b2b671b6
OB
227282013-05-20 Ondřej Bílka <neleai@seznam.cz>
22729
22730 * sysdeps/x86_64/memset.S (memset): New implementation.
22731 (__bzero): Likewise.
22732 (__memset_tail): New function.
22733
2d48b41c
OB
227342013-05-20 Ondřej Bílka <neleai@seznam.cz>
22735
22736 * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: New file.
22737 * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Add
22738 __memcpy_sse2_unaligned ifunc selection.
22739 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
22740 Add memcpy-sse2-unaligned.S.
22741 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
22742 Add: __memcpy_sse2_unaligned.
22743
f16cc3eb
JM
227442013-05-19 Joseph Myers <joseph@codesourcery.com>
22745
3e694268
JM
22746 [BZ #15490]
22747 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
22748 math_force_eval before restoring floating-point envrionment.
22749 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Likewise.
22750 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
22751 Likewise.
22752 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Include
22753 <math_private.h>.
22754 (__nearbyintl): Use math_force_eval before restoring
22755 floating-point environment.
22756 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c (__nearbyintl): Likewise.
22757
db62a907
JM
22758 * math/gen-libm-test.pl (special_functions): Remove.
22759 (parse_args): Don't handle TEST_extra. Handle functions with no
22760 return value.
22761 * math/libm-test.inc (struct test_sincos_data): Replace with
22762 struct test_fFF_11_data.
22763 (RUN_TEST_sincos): Replace with RUN_TEST_fFF_11.
22764 (RUN_TEST_LOOP_sincos): Replace with RUN_TEST_LOOP_fFF_11.
22765 (sincos_test_data): Change element type to struct
22766 test_fFF_11_data. Use TEST_fFF_11 instead of TEST_extra.
22767 (sincos_test): Use RUN_TEST_LOOP_fFF_11 instead of
22768 RUN_TEST_LOOP_sincos.
22769 * math/README.libm-test: Don't mention special handling of
22770 individual functions.
22771 * sysdeps/i386/fpu/libm-test-ulps: Update names of sincos tests.
22772 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
22773 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
22774 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
22775 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
22776 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22777
f16cc3eb
JM
22778 * math/gen-libm-test.pl (get_variable): Remove function.
22779 (parse_args): Don't show pointer parameters to call in test
22780 names. Use "extra output N" in test names for extra outputs
22781 rather than naming variables.
22782
3779b5b6
JM
227832013-05-18 Joseph Myers <joseph@codesourcery.com>
22784
2ee094ff
JM
22785 [BZ #15488]
22786 * math/complex.h [__USE_ISOC11 && __GNUC_PREREQ (4, 7) &&
22787 __NO_LONG_DOUBLE_MATH] (CMPLXL): Define macro.
22788 * math/tst-CMPLX.c (do_test) [NO_LONG_DOUBLE]: Do not disable long
22789 double tests.
22790 * make/tst-CMPLX2.c [NO_LONG_DOUBLE] (check_long_double): Do not
22791 disable.
22792 (do_test) [NO_LONG_DOUBLE]: Do not disable call to
22793 check_long_double.
22794
3779b5b6
JM
22795 * math/gen-libm-test.pl (@tests): Remove variable.
22796 ($count): Likewise.
22797 (new_test): Remove function.
22798 (show_exceptions): New function.
22799 (special_functions): Use show_exceptions instead of new_test.
22800 (parse_args): Likewise.
22801 (generate_testfile): Pass only function name in generated call to
22802 print_max_error or print_complex_max_error.
22803 (get_ulps): Do not handle complex tests specially.
22804 (output_test): Rename to ...
22805 (get_all_ulps_for_test): ... this. Return a string rather than
22806 printing to a file. Require ulps to be present.
22807 (output_ulps): Generate arrays rather than #defines.
22808 * math/libm-test.inc: Move down #include of "libm-test-ulps.h".
22809 (struct ulp_data): New type.
22810 (BUILD_COMPLEX_ULP): Remove macro.
22811 (compare_ulp_data): New function.
22812 (find_ulps): Likewise.
22813 (find_test_ulps): Likewise.
22814 (find_function_ulps): Likewise.
22815 (find_complex_function_ulps): Likewise.
22816 (print_max_error): Determine allowed ulps using
22817 find_function_ulps.
22818 (print_complex_max_error): Determine allowed ulps using
22819 find_complex_function_ulps.
22820 (check_float_internal): Determine max ulps using find_test_ulps.
22821 (check_float): Do not take max_ulp parameter. Update call to
22822 check_float_internal.
22823 (check_complex): Likewise.
22824 (check_int): Do not take max_ulp parameter.
22825 (check_long): Likewise.
22826 (check_bool): Likewise.
22827 (check_longlong): Likewise.
22828 (struct test_f_f_data): Remove max_ulp field.
22829 (struct test_ff_f_data): Likewise.
22830 (struct test_ff_f_data_nexttoward): Likewise.
22831 (struct test_fi_f_data): Likewise.
22832 (struct test_fl_f_data): Likewise.
22833 (struct test_if_f_data): Likewise.
22834 (struct test_fff_f_data): Likewise.
22835 (struct test_c_f_data): Likewise.
22836 (struct test_f_f1_data): Remove max_ulp and extra_ulp fields.
22837 (struct test_fF_f1_data): Likewise.
22838 (struct test_ffI_f1_data): Likewise.
22839 (struct test_c_c_data): Remove max_ulp field.
22840 (struct test_cc_c_data): Likewise.
22841 (struct test_f_i_data): Likewise.
22842 (struct test_ff_i_data): Likewise.
22843 (struct test_f_l_data): Likewise.
22844 (struct test_f_L_data): Likewise.
22845 (struct test_sincos_data): Likewise.
22846 (RUN_TEST_f_f): Do not handle ulps.
22847 (RUN_TEST_LOOP_f_f): Likewise.
22848 (RUN_TEST_2_f): Likewise.
22849 (RUN_TEST_LOOP_2_f): Likewise.
22850 (RUN_TEST_fff_f): Likewise.
22851 (RUN_TEST_LOOP_fff_f): Likewise.
22852 (RUN_TEST_c_f): Likewise.
22853 (RUN_TEST_LOOP_c_f): Likewise.
22854 (RUN_TEST_f_f1): Likewise.
22855 (RUN_TEST_LOOP_f_f1): Likewise.
22856 (RUN_TEST_fF_f1): Likewise.
22857 (RUN_TEST_LOOP_fF_f1): Likewise.
22858 (RUN_TEST_fI_f1): Likewise.
22859 (RUN_TEST_LOOP_fI_f1): Likewise.
22860 (RUN_TEST_ffI_f1): Likewise.
22861 (RUN_TEST_LOOP_ffI_f1): Likewise.
22862 (RUN_TEST_c_c): Likewise.
22863 (RUN_TEST_LOOP_c_c): Likewise.
22864 (RUN_TEST_cc_c): Likewise.
22865 (RUN_TEST_LOOP_cc_c): Likewise.
22866 (RUN_TEST_f_i): Likewise.
22867 (RUN_TEST_LOOP_f_i): Likewise.
22868 (RUN_TEST_f_i_tg): Likewise.
22869 (RUN_TEST_LOOP_f_i_tg): Likewise.
22870 (RUN_TEST_ff_i_tg): Likewise.
22871 (RUN_TEST_LOOP_ff_i_tg): Likewise.
22872 (RUN_TEST_f_b): Likewise.
22873 (RUN_TEST_LOOP_f_b): Likewise.
22874 (RUN_TEST_f_b_tg): Likewise.
22875 (RUN_TEST_LOOP_f_b_tg): Likewise.
22876 (RUN_TEST_f_l): Likewise.
22877 (RUN_TEST_LOOP_f_l): Likewise.
22878 (RUN_TEST_f_L): Likewise.
22879 (RUN_TEST_LOOP_f_L): Likewise.
22880 (RUN_TEST_sincos): Likewise.
22881 (RUN_TEST_LOOP_sincos): Likewise.
22882
8269107f
JM
228832013-05-17 Joseph Myers <joseph@codesourcery.com>
22884
bb38759d
JM
22885 [BZ #15480]
22886 [BZ #15485]
22887 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): For
22888 main case of finite arguments, set rounding mode to FE_TONEAREST
22889 and discard exceptions.
22890 * math/libm-test.inc (remainder_test_data): Disallow "inexact"
22891 exceptions.
22892 (remainder_tonearest_test_data): New variable.
22893 (remainder_test_tonearest): New function.
22894 (remainder_towardzero_test_data): New variable.
22895 (remainder_test_towardzero): New function.
22896 (remainder_downward_test_data): New variable.
22897 (remainder_test_downward): New function.
22898 (remainder_upward_test_data): New variable.
22899 (remainder_test_upward): New function.
22900 (main): Call the new test functions.
22901
a00bdcf0
JM
22902 * math/libm-test.inc (struct test_f_f1_data): Remove field
22903 extra_init.
22904 (struct test_fF_f1_data): Likewise.
22905 (struct test_ffI_f1_data): Likewise.
22906 (RUN_TEST_f_f1): Remove argument EXTRA_INIT. Initialize EXTRA_VAR
22907 based on value of EXTRA_EXPECTED.
22908 (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
22909 (RUN_TEST_fF_f1): Remove argument EXTRA_INIT. Initialize
22910 EXTRA_VAR based on value of EXTRA_EXPECTED.
22911 (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
22912 (RUN_TEST_fI_f1): Remove argument EXTRA_INIT. Initialize
22913 EXTRA_VAR based on value of EXTRA_EXPECTED.
22914 (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
22915 (RUN_TEST_ffI_f1): Remove argument EXTRA_INIT. Initialize
22916 EXTRA_VAR based on value of EXTRA_EXPECTED.
22917 (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
22918 * math/gen-libm-test.pl (parse_args): Don't output initializers
22919 for extra output values.
22920
de407f79
JM
22921 * math/libm-test.inc (check_int): Expect result to be exactly
22922 equal to expected value and do not handle ulps.
22923 (check_long): Likewise.
22924 (check_longlong): Likewise.
22925
8269107f
JM
22926 * math/libm-test.inc (ceil_test_data): Test for "inexact"
22927 exceptions.
22928 (cimag_test_data): Likewise.
22929 (conj_test_data): Likewise.
22930 (copysign_test_data): Likewise.
22931 (cproj_test_data): Likewise.
22932 (creal_test_data): Likewise.
22933 (fabs_test_data): Likewise.
22934 (fdim_test_data): Likewise.
22935 (finite_test_data): Likewise.
22936 (floor_test_data): Likewise.
22937 (fmax_test_data): Likewise.
22938 (fmin_test_data): Likewise.
22939 (fmod_test_data): Likewise.
22940 (fpclassify_test_data): Likewise.
22941 (frexp_test_data): Likewise.
22942 (ilogb_test_data): Likewise.
22943 (isfinite_test_data): Likewise.
22944 (isgreater_test_data): Likewise.
22945 (isgreaterequal_test_data): Likewise.
22946 (isinf_test_data): Likewise.
22947 (isless_test_data): Likewise.
22948 (islessequal_test_data): Likewise.
22949 (islessgreater_test_data): Likewise.
22950 (isnan_test_data): Likewise.
22951 (isnormal_test_data): Likewise.
22952 (issignaling_test_data): Likewise.
22953 (isunordered_test_data): Likewise.
22954 (ldexp_test_data): Likewise.
22955 (lrint_test_data): Likewise.
22956 (lrint_test_data) [TEST_FLOAT]: Disable one test.
22957 (lrint_test_data) [!TEST_LDOUBLE]: Likewise.
22958 (lrint_tonearest_test_data): Test for "inexact" exceptions.
22959 (lrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
22960 (lrint_tonearest_test_data) [!TEST_LDOUBLE]: Likewise.
22961 (lrint_tonearest_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
22962 test input.
22963 (lrint_towardzero_test_data): Test for "inexact" exceptions.
22964 (lrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
22965 (lrint_towardzero_test_data) [!TEST_LDOUBLE]: Likewise.
22966 (lrint_towardzero_test_data) [TEST_LDOUBLE]: Use "L" suffix on
22967 that test input.
22968 (lrint_downward_test_data): Test for "inexact" exceptions.
22969 (lrint_downward_test_data) [TEST_FLOAT]: Disable one test.
22970 (lrint_downward_test_data) [!TEST_LDOUBLE]: Likewise.
22971 (lrint_downward_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
22972 test input.
22973 (lrint_upward_test_data): Test for "inexact" exceptions.
22974 (lrint_upward_test_data) [TEST_LDOUBLE]: Use "L" suffix on one
22975 test input.
22976 (llrint_test_data): Test for "inexact" exceptions.
22977 (llrint_test_data) [TEST_FLOAT]: Disable one test.
22978 (llrint_tonearest_test_data): Test for "inexact" exceptions.
22979 (llrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
22980 (llrint_towardzero_test_data): Test for "inexact" exceptions.
22981 (llrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
22982 (llrint_downward_test_data): Test for "inexact" exceptions.
22983 (llrint_downward_test_data) [TEST_FLOAT]: Disable one test.
22984 (llrint_upward_test_data): Test for "inexact" exceptions.
22985 (logb_test_data): Likewise.
22986 (logb_downward_test_data): Likewise.
22987 (nextafter_test_data): Likewise.
22988 (nexttoward_test_data): Likewise.
22989 (remainder_test_data): Likewise.
22990 (remquo_test_data): Likewise.
22991 (scalbn_test_data): Likewise.
22992 (scalbln_test_data): Likewise.
22993 (signbit_test_data): Likewise.
22994 (sqrt_test_data): Likewise.
22995 (significand_test_data): Likewise.
22996
48a18de1
SP
229972013-05-17 Siddhesh Poyarekar <siddhesh@redhat.com>
22998
22999 [BZ #15424]
23000 * benchtests/bench-modf.c (struct args): Mark arg0 as
23001 volatile.
23002 * scripts/bench.pl: Mark members of struct args as volatile.
23003
13d3b41a
AZ
230042013-05-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23005
68191c1d 23006 [BZ # 15497]
13d3b41a
AZ
23007 * sysdeps/powerpc/fpu/e_hypot.c (GET_TWO_FLOAT_WORD): Fix test for
23008 negative infinity on POWER6 or lower.
23009 * sysdeps/powerpc/fpu/e_hypotf.c (GET_TWO_FLOAT_WORD): Likewise.
23010
2848b105
MR
230112013-05-16 Maciej W. Rozycki <macro@codesourcery.com>
23012
23013 [BZ #15442]
23014 * soft-fp/op-common.h (_FP_FRAC_SNANP): New macro.
23015 (_FP_FRAC_SNANP_SEMIRAW): Likewise.
23016 (_FP_UNPACK_CANONICAL): Use _FP_FRAC_SNANP.
23017 (_FP_CHECK_SIGNAN_SEMIRAW): Use _FP_FRAC_SNANP_SEMIRAW.
23018 (_FP_SETQNAN): New macro.
23019 (_FP_SETQNAN_SEMIRAW): Likewise.
23020 (_FP_PACK_SEMIRAW): Use _FP_SETQNAN.
23021 (_FP_PACK_CANONICAL): Use _FP_SETQNAN.
23022 (_FP_ISSIGNAN): Use _FP_FRAC_SNANP.
23023 (FP_EXTEND): Use _FP_FRAC_SNANP.
23024 (FP_TRUNC): Use _FP_SETQNAN_SEMIRAW.
23025 * soft-fp/testit.c (gen_special_double): Take _FP_QNANNEGATEDP
23026 into account.
23027 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
23028 New macro.
23029 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
23030 Likewise.
23031
323e5cb7
JM
230322013-05-16 Joseph Myers <joseph@codesourcery.com>
23033
c58b274f
JM
23034 * math/libm-test.inc (atanh_test_data): Use ERRNO_ERANGE together
23035 with DIVIDE_BY_ZERO_EXCEPTION.
23036 (gamma_test_data): Likewise.
23037 (lgamma_test_data): Likewise.
23038 (log_test_data): Likewise.
23039 (log10_test_data): Likewise.
23040 (log2_test_data): Likewise.
23041 (tgamma_test_data): Likewise.
23042
0ab34904
JM
23043 * math/libm-test.inc (acos_test): Don't test for ENOSYS error.
23044 (acos_test_tonearest): Likewise.
23045 (acos_test_towardzero): Likewise.
23046 (acos_test_downward): Likewise.
23047 (acos_test_upward): Likewise.
23048 (acosh_test): Likewise.
23049 (asin_test): Likewise.
23050 (asin_test_tonearest): Likewise.
23051 (asin_test_towardzero): Likewise.
23052 (asin_test_downward): Likewise.
23053 (asin_test_upward): Likewise.
23054 (asinh_test): Likewise.
23055 (atan_test): Likewise.
23056 (atanh_test): Likewise.
23057 (atan2_test): Likewise.
23058 (cabs_test): Likewise.
23059 (cacos_test): Likewise.
23060 (cacosh_test): Likewise.
23061 (casin_test): Likewise.
23062 (casinh_test): Likewise.
23063 (catan_test): Likewise.
23064 (catanh_test): Likewise.
23065 (cbrt_test): Likewise.
23066 (ccos_test): Likewise.
23067 (ccosh_test): Likewise.
23068 (cexp_test): Likewise.
23069 (clog_test): Likewise.
23070 (clog10_test): Likewise.
23071 (cos_test): Likewise.
23072 (cos_test_tonearest): Likewise.
23073 (cos_test_towardzero): Likewise.
23074 (cos_test_downward): Likewise.
23075 (cos_test_upward): Likewise.
23076 (cosh_test): Likewise.
23077 (cosh_test_tonearest): Likewise.
23078 (cosh_test_towardzero): Likewise.
23079 (cosh_test_downward): Likewise.
23080 (cosh_test_upward): Likewise.
23081 (cpow_test): Likewise.
23082 (csin_test): Likewise.
23083 (csinh_test): Likewise.
23084 (csqrt_test): Likewise.
23085 (ctan_test): Likewise.
23086 (ctan_test_tonearest): Likewise.
23087 (ctan_test_towardzero): Likewise.
23088 (ctan_test_downward): Likewise.
23089 (ctan_test_upward): Likewise.
23090 (ctanh_test): Likewise.
23091 (ctanh_test_tonearest): Likewise.
23092 (ctanh_test_towardzero): Likewise.
23093 (ctanh_test_downward): Likewise.
23094 (ctanh_test_upward): Likewise.
23095 (erf_test): Likewise.
23096 (erfc_test): Likewise.
23097 (exp_test): Likewise.
23098 (exp_test_tonearest): Likewise.
23099 (exp_test_towardzero): Likewise.
23100 (exp_test_downward): Likewise.
23101 (exp_test_upward): Likewise.
23102 (exp10_test): Likewise.
23103 (exp2_test): Likewise.
23104 (expm1_test): Likewise.
23105 (fmod_test): Likewise.
23106 (gamma_test): Likewise.
23107 (hypot_test): Likewise.
23108 (j0_test): Likewise.
23109 (j1_test): Likewise.
23110 (jn_test): Likewise.
23111 (lgamma_test): Likewise.
23112 (log_test): Likewise.
23113 (log10_test): Likewise.
23114 (log1p_test): Likewise.
23115 (log2_test): Likewise.
23116 (logb_test_downward): Likewise.
23117 (pow_test): Likewise.
23118 (pow_test_tonearest): Likewise.
23119 (pow_test_towardzero): Likewise.
23120 (pow_test_downward): Likewise.
23121 (pow_test_upward): Likewise.
23122 (remainder_test): Likewise.
23123 (remquo_test): Likewise.
23124 (sin_test): Likewise.
23125 (sin_test_tonearest): Likewise.
23126 (sin_test_towardzero): Likewise.
23127 (sin_test_downward): Likewise.
23128 (sin_test_upward): Likewise.
23129 (sincos_test): Likewise.
23130 (sinh_test): Likewise.
23131 (sinh_test_tonearest): Likewise.
23132 (sinh_test_towardzero): Likewise.
23133 (sinh_test_downward): Likewise.
23134 (sinh_test_upward): Likewise.
23135 (sqrt_test): Likewise.
23136 (tan_test): Likewise.
23137 (tan_test_tonearest): Likewise.
23138 (tan_test_towardzero): Likewise.
23139 (tan_test_downward): Likewise.
23140 (tan_test_upward): Likewise.
23141 (tanh_test): Likewise.
23142 (tgamma_test): Likewise.
23143 (y0_test): Likewise.
23144 (y1_test): Likewise.
23145 (yn_test): Likewise.
23146
323e5cb7
JM
23147 * math/gen-libm-test.pl (adjust_arg): Remove function.
23148 (special_function): Remove argument $in_func. Only handle
23149 generating output for tables of tests, not inside functions.
23150 (parse_args): Likewise.
23151 (generate_testfile): Remove variable $in_func. Update call to
23152 parse_args.
23153 * math/libm-test.inc (PLUS_ZERO_INIT): Rename macro to plus_zero.
23154 (MINUS_ZERO_INIT): Rename macro to minus_zero.
23155 (PLUS_INFTY_INIT): Rename macro to plus_infty.
23156 (MINUS_INFTY_INIT): Rename macro to minus_infty.
23157 (QNAN_VALUE_INIT): Rename macro to qnan_value.
23158 (MAX_VALUE_INIT): Rename macro to max_value.
23159 (MIN_VALUE_INIT): Rename macro to min_value.
23160 (MIN_SUBNORM_VALUE_INIT): Rename macro to min_subnorm_value.
23161 (plus_zero): Remove variable.
23162 (minus_zero): Likewise.
23163 (plus_infty): Likewise.
23164 (minus_infty): Likewise.
23165 (qnan_value): Likewise.
23166 (max_value): Likewise.
23167 (min_value): Likewise.
23168 (min_subnorm_value): Likewise.
23169
e054f494
RA
231702013-05-16 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
23171
23172 * crypt/sha512-block.c: Add missing #include <stdint.h> due to
23173 uint64_t or uint32_t usage.
23174 * crypt/sha256-block.c: Likewise.
23175 * crypt/sha256-crypt.c: Likewise.
23176 * crypt/sha256.c: Likewise.
23177 * crypt/sha512-block.c: Likewise.
23178 * crypt/sha512-crypt.c: Likewise.
23179 * crypt/sha512.c: Likewise.
23180 * debug/backtrace-tst.c: Likewise.
23181 * debug/pcprofiledump.c: Likewise.
23182 * elf/cache.c: Likewise.
23183 * elf/dl-cache.c: Likewise.
23184 * elf/dl-misc.c: Likewise.
23185 * elf/dl-profile.c: Likewise.
23186 * elf/dl-support.c: Likewise.
23187 * elf/ldconfig.c: Likewise.
23188 * elf/sprof.c: Likewise.
23189 * iconv/dummy-repertoire.c: Likewise.
23190 * iconv/iconv_charmap.c: Likewise.
23191 * iconv/skeleton.c: Likewise.
23192 * iconvdata/8bit-generic.c: Likewise.
23193 * iconvdata/cp737.h: Likewise.
23194 * iconvdata/cp775.h: Likewise.
23195 * iconvdata/ibm1008.h: Likewise.
23196 * iconvdata/ibm1025.h: Likewise.
23197 * iconvdata/ibm1046.h: Likewise.
23198 * iconvdata/ibm1097.h: Likewise.
23199 * iconvdata/ibm1112.h: Likewise.
23200 * iconvdata/ibm1122.h: Likewise.
23201 * iconvdata/ibm1123.h: Likewise.
23202 * iconvdata/ibm1124.h: Likewise.
23203 * iconvdata/ibm1129.h: Likewise.
23204 * iconvdata/ibm1130.h: Likewise.
23205 * iconvdata/ibm1132.h: Likewise.
23206 * iconvdata/ibm1133.h: Likewise.
23207 * iconvdata/ibm1137.h: Likewise.
23208 * iconvdata/ibm1140.h: Likewise.
23209 * iconvdata/ibm1141.h: Likewise.
23210 * iconvdata/ibm1142.h: Likewise.
23211 * iconvdata/ibm1143.h: Likewise.
23212 * iconvdata/ibm1144.h: Likewise.
23213 * iconvdata/ibm1145.h: Likewise.
23214 * iconvdata/ibm1146.h: Likewise.
23215 * iconvdata/ibm1147.h: Likewise.
23216 * iconvdata/ibm1148.h: Likewise.
23217 * iconvdata/ibm1149.h: Likewise.
23218 * iconvdata/ibm1153.h: Likewise.
23219 * iconvdata/ibm1154.h: Likewise.
23220 * iconvdata/ibm1155.h: Likewise.
23221 * iconvdata/ibm1156.h: Likewise.
23222 * iconvdata/ibm1157.h: Likewise.
23223 * iconvdata/ibm1158.h: Likewise.
23224 * iconvdata/ibm1160.h: Likewise.
23225 * iconvdata/ibm1161.h: Likewise.
23226 * iconvdata/ibm1162.h: Likewise.
23227 * iconvdata/ibm1163.h: Likewise.
23228 * iconvdata/ibm1164.h: Likewise.
23229 * iconvdata/ibm1166.h: Likewise.
23230 * iconvdata/ibm1167.h: Likewise.
23231 * iconvdata/ibm12712.h: Likewise.
23232 * iconvdata/ibm1390.h: Likewise.
23233 * iconvdata/ibm1399.h: Likewise.
23234 * iconvdata/ibm16804.h: Likewise.
23235 * iconvdata/ibm4517.h: Likewise.
23236 * iconvdata/ibm4899.h: Likewise.
23237 * iconvdata/ibm4909.h: Likewise.
23238 * iconvdata/ibm4971.h: Likewise.
23239 * iconvdata/ibm5347.h: Likewise.
23240 * iconvdata/ibm803.h: Likewise.
23241 * iconvdata/ibm856.h: Likewise.
23242 * iconvdata/ibm901.h: Likewise.
23243 * iconvdata/ibm902.h: Likewise.
23244 * iconvdata/ibm9030.h: Likewise.
23245 * iconvdata/ibm9066.h: Likewise.
23246 * iconvdata/ibm921.h: Likewise.
23247 * iconvdata/ibm922.h: Likewise.
23248 * iconvdata/ibm9448.h: Likewise.
23249 * iconvdata/isiri-3342.h: Likewise.
23250 * iconvdata/jis0201.h: Likewise.
23251 * include/link.h: Likewise.
23252 * include/netdb.h: Likewise.
23253 * inet/check_native.c: Likewise.
23254 * inet/check_pf.c: Likewise.
23255 * inet/getipv4sourcefilter.c: Likewise.
23256 * inet/getnameinfo.c: Likewise.
23257 * inet/getsourcefilter.c: Likewise.
23258 * inet/htonl.c: Likewise.
23259 * inet/setipv4sourcefilter.c: Likewise.
23260 * inet/setsourcefilter.c: Likewise.
23261 * inet/test-inet6_opt.c: Likewise.
23262 * inet/tst-network.c: Likewise.
23263 * locale/C-collate.c: Likewise.
23264 * locale/C-ctype.c: Likewise.
23265 * locale/C-time.c: Likewise.
23266 * locale/C-translit.h: Likewise.
23267 * locale/loadarchive.c: Likewise.
23268 * locale/programs/3level.h: Likewise.
23269 * locale/programs/charmap.c: Likewise.
23270 * locale/programs/charmap.h: Likewise.
23271 * locale/programs/ld-address.c: Likewise.
23272 * locale/programs/ld-collate.c: Likewise.
23273 * locale/programs/ld-ctype.c: Likewise.
23274 * locale/programs/ld-identification.c: Likewise.
23275 * locale/programs/ld-measurement.c: Likewise.
23276 * locale/programs/ld-messages.c: Likewise.
23277 * locale/programs/ld-monetary.c: Likewise.
23278 * locale/programs/ld-name.c: Likewise.
23279 * locale/programs/ld-numeric.c: Likewise.
23280 * locale/programs/ld-paper.c: Likewise.
23281 * locale/programs/ld-telephone.c: Likewise.
23282 * locale/programs/ld-time.c: Likewise.
23283 * locale/programs/linereader.c: Likewise.
23284 * locale/programs/locale.c: Likewise.
23285 * locale/programs/locarchive.c: Likewise.
23286 * locale/programs/locfile.h: Likewise.
23287 * locale/programs/repertoire.c: Likewise.
23288 * locale/programs/simple-hash.c: Likewise.
23289 * locale/programs/simple-hash.h: Likewise.
23290 * malloc/memusage.c: Likewise.
23291 * malloc/memusagestat.c: Likewise.
23292 * nis/nis_defaults.c: Likewise.
23293 * nis/nis_hash.c: Likewise.
23294 * nis/nis_print.c: Likewise.
23295 * nis/nis_xdr.c: Likewise.
23296 * nscd/connections.c: Likewise.
23297 * nscd/hstcache.c: Likewise.
23298 * nscd/nscd_gethst_r.c: Likewise.
23299 * nscd/nscd_getserv_r.c: Likewise.
23300 * nscd/nscd_helper.c: Likewise.
23301 * nscd/servicescache.c: Likewise.
23302 * nss/makedb.c: Likewise.
23303 * nss/nss_db/db-XXX.c: Likewise.
23304 * nss/nss_db/db-initgroups.c: Likewise.
23305 * nss/nss_db/db-netgrp.c: Likewise.
23306 * nss/nss_files/files-network.c: Likewise.
23307 * nss/nss_files/files-parse.c: Likewise.
23308 * posix/bug-regex5.c: Likewise.
23309 * posix/fnmatch_loop.c: Likewise.
23310 * posix/regcomp.c: Likewise.
23311 * posix/regexec.c: Likewise.
23312 * posix/tst-rfc3484-2.c: Likewise.
23313 * posix/tst-rfc3484-3.c: Likewise.
23314 * posix/tst-rfc3484.c: Likewise.
23315 * resolv/nss_dns/dns-canon.c: Likewise.
23316 * resolv/nss_dns/dns-network.c: Likewise.
23317 * resolv/res_init.c: Likewise.
23318 * resolv/res_mkquery.c: Likewise.
23319 * resolv/tst-aton.c: Likewise.
23320 * stdlib/cxa_atexit.c: Likewise.
23321 * stdlib/cxa_finalize.c: Likewise.
23322 * stdlib/gen-fpioconst.c: Likewise.
23323 * stdlib/strtol_l.c: Likewise.
23324 * string/tst-endian.c: Likewise.
23325 * sunrpc/auth_des.c: Likewise.
23326 * sunrpc/clnt_udp.c: Likewise.
23327 * sunrpc/rtime.c: Likewise.
23328 * sunrpc/svcauth_des.c: Likewise.
23329 * sunrpc/xdr.c: Likewise.
23330 * sunrpc/xdr_intXX_t.c: Likewise.
23331 * sunrpc/xdr_rec.c: Likewise.
23332 * sysdeps/generic/ldconfig.h: Likewise.
23333 * sysdeps/generic/ldsodefs.h: Likewise.
23334 * sysdeps/generic/memusage.h: Likewise.
23335 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
23336 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: Likewise.
23337 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Likewise.
23338 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
23339 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
23340 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
23341 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
23342 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
23343 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
23344 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
23345 * sysdeps/posix/getaddrinfo.c: Likewise.
23346 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
23347 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
23348 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
23349 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
23350 * sysdeps/powerpc/test-gettimebase.c: Likewise.
23351 * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
23352 * sysdeps/unix/sysv/linux/getipv4sourcefilter.c: Likewise.
23353 * sysdeps/unix/sysv/linux/getsourcefilter.c: Likewise.
23354 * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
23355 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: Likewise.
23356 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
23357 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
23358 * sysdeps/unix/sysv/linux/setipv4sourcefilter.c: Likewise.
23359 * sysdeps/unix/sysv/linux/setsourcefilter.c: Likewise.
23360 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: Likewise.
23361 * sysdeps/x86_64/dl-tls.h: Likewise.
23362 * sysdeps/x86_64/dl-tlsdesc.h: Likewise.
23363 * time/alt_digit.c: Likewise.
23364 * time/era.c: Likewise.
23365 * wcsmbs/tst-c16c32-1.c: Likewise.
23366
8c75f674
JM
233672013-05-16 Joseph Myers <joseph@codesourcery.com>
23368
23369 * math/libm-test.inc (struct test_sincos_data): New type.
23370 (RUN_TEST_LOOP_sincos): New macro.
23371 (sincos_test_data): New variable.
23372 (sincos_test): Run tests with RUN_TEST_LOOP_sincos.
23373
e6e49e59
RH
233742013-05-16 Richard Henderson <rth@redhat.com>
23375
23376 * math/atest-exp2.c (LIMB64): New macro.
23377 (CONSTSZ): New macro.
23378 (mp_exp1, mp_exp_m1, mp_log2): New variables.
23379 (hexdig): Move ...
23380 (print_mpn_fp): ... to function scope.
23381 (read_mpn_hex): Remove.
23382 (get_log2): Remove.
23383 (exp2_mpn): Use mp_log2.
23384 (main): Use mp_exp1.
23385
15c7c18d
JM
233862013-05-16 Joseph Myers <joseph@codesourcery.com>
23387
105a07df
JM
23388 * math/libm-test.inc: Remove comment about not testing "inexact"
23389 exceptions.
23390 (INEXACT_EXCEPTION): New macro.
23391 (NO_INEXACT_EXCEPTION): Likewise.
23392 (INVALID_EXCEPTION_OK): Update value.
23393 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
23394 (OVERFLOW_EXCEPTION_OK): Likewise.
23395 (UNDERFLOW_EXCEPTION_OK): Likewise.
23396 (IGNORE_ZERO_INF_SIGN): Likewise.
23397 (ERRNO_UNCHANGED): Likewise.
23398 (ERRNO_EDOM): Likewise.
23399 (ERRNO_ERANGE): Likewise.
23400 (test_exceptions): Handle testing "inexact" exceptions.
23401 (nearbyint_test_data): Use NO_INEXACT_EXCEPTION on all tests.
23402 (rint_test_data): Use NO_INEXACT_EXCEPTION and INEXACT_EXCEPTION.
23403 (rint_test_data) [LDBL_MANT_DIG <= 100]: Disable some tests.
23404 (rint_tonearest_test_data): Use NO_INEXACT_EXCEPTION and
23405 INEXACT_EXCEPTION.
23406 (rint_towardzero_test_data): Likewise.
23407 (rint_downward_test_data): Likewise.
23408 (rint_upward_test_data): Likewise.
23409
e9eee333
JM
23410 * math/libm-test.inc (exp_test_data): Use ERRNO_ERANGE together
23411 with OVERFLOW_EXCEPTION.
23412 (exp10_test_data): Likewise.
23413 (exp2_test_data): Likewise.
23414 (expm1_test_data): Likewise.
23415 (lgamma_test_data): Likewise.
23416 (pow_test_data): Likewise.
23417 (tgamma_test_data): Likewise.
23418 (yn_test_data): Remove duplicate test of overflow.
23419
1c38ff73
JM
23420 * math/libm-test.inc (struct test_cc_c_data): New type.
23421 (RUN_TEST_LOOP_cc_c): New macro.
23422 (cpow_test_data): New variable.
23423 (cpow_test): Run tests with RUN_TEST_LOOP_cc_c.
23424
15c7c18d
JM
23425 * math/libm-test.inc (struct test_f_L_data): New type.
23426 (RUN_TEST_LOOP_f_L): New macro.
23427 (llrint_test_data): New variable.
23428 (llrint_test): Run tests with RUN_TEST_LOOP_f_L.
23429 (llrint_tonearest_test_data): New variable.
23430 (llrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_L.
23431 (llrint_towardzero_test_data): New variable.
23432 (llrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_L.
23433 (llrint_downward_test_data): New variable.
23434 (llrint_test_downward): Run tests with RUN_TEST_LOOP_f_L.
23435 (llrint_upward_test_data): New variable.
23436 (llrint_test_upward): Run tests with RUN_TEST_LOOP_f_L.
23437 (llround_test_data): New variable.
23438 (llround_test): Run tests with RUN_TEST_LOOP_f_L.
23439
f137ff13
PC
234402013-05-13 Peter Collingbourne <pcc@google.com>
23441
23442 * math/atest-exp2.c (get_log2): Remove const attribute.
23443
3608cb24
JM
234442013-05-15 Joseph Myers <joseph@codesourcery.com>
23445
23446 * math/libm-test.inc (struct test_f_l_data): New type.
23447 (RUN_TEST_LOOP_f_l): New macro.
23448 (lrint_test_data): New variable.
23449 (lrint_test): Run tests with RUN_TEST_LOOP_f_l.
23450 (lrint_tonearest_test_data): New variable.
23451 (lrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_l.
23452 (lrint_towardzero_test_data): New variable.
23453 (lrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_l.
23454 (lrint_downward_test_data): New variable.
23455 (lrint_test_downward): Run tests with RUN_TEST_LOOP_f_l.
23456 (lrint_upward_test_data): New variable.
23457 (lrint_test_upward): Run tests with RUN_TEST_LOOP_f_l.
23458 (lround_test_data): New variable.
23459 (lround_test): Run tests with RUN_TEST_LOOP_f_l.
23460
39b1f617
PC
234612013-05-15 Peter Collingbourne <pcc@google.com>
23462
1deff3dc
PC
23463 * sysdeps/x86_64/fpu/math_private.h (MOVQ): New macro.
23464 (EXTRACT_WORDS64) Use where appropriate.
23465 (INSERT_WORDS64) Likewise.
23466
791f3ba0
PC
23467 * sysdeps/x86_64/fpu/multiarch/s_fma.c (__fma_fma4): Replace xm
23468 constraints with x constraints.
23469 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c (__fmaf_fma4): Likewise.
23470
39b1f617
PC
23471 * malloc/obstack.c (_obstack_compat): Add initializer.
23472
12fba011
EM
234732013-05-15 Edjunior Machado <emachado@linux.vnet.ibm.com>
23474
23475 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Remove
23476 si_trapno and add si_addr_lsb to _sifields.sigfault.
23477 (si_trapno): Remove macro.
23478 (si_addr_lsb): Define new macro.
23479 (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
23480
d369f531
JM
234812013-05-15 Joseph Myers <joseph@codesourcery.com>
23482
b861c6c4
JM
23483 * math/libm-test.inc (llrint_test): Consistently use TEST_f_L
23484 instead of TEST_f_l.
23485 (llrint_test_tonearest): Likewise.
23486 (llrint_test_towardzero): Likewise.
23487 (llrint_test_downward): Likewise.
23488 (llrint_test_upward): Likewise.
23489 (llround_test): Likewise.
23490
7abeee12
JM
23491 * math/libm-test.inc (struct test_f_i_data): Add comment.
23492 (RUN_TEST_LOOP_f_b): New macro.
23493 (RUN_TEST_LOOP_f_b_tg): Likewise.
23494 (finite_test_data): New variable.
23495 (finite_test): Run tests with RUN_TEST_LOOP_f_b.
23496 (isfinite_test_data): New variable.
23497 (isfinite_test): Run tests with RUN_TEST_LOOP_f_b_tg.
23498 (isinf_test_data): New variable.
23499 (isinf_test): Run tests with RUN_TEST_LOOP_f_b_tg.
23500 (isnan_test_data): New variable.
23501 (isnan_test): Run tests with RUN_TEST_LOOP_f_b_tg.
23502 (isnormal_test_data): New variable.
23503 (isnormal_test): Run tests with RUN_TEST_LOOP_f_b_tg.
23504 (issignaling_test_data): New variable.
23505 (issignaling_test): Run tests with RUN_TEST_LOOP_f_b_tg.
23506 (signbit_test_data): New variable.
23507 (signbit_test): Run tests with RUN_TEST_LOOP_f_b_tg.
23508
cbe8c4d3
JM
23509 * math/libm-test.inc (acos_test_data): Use ERRNO_EDOM together
23510 with INVALID_EXCEPTION.
23511 (acosh_test_data): Likewise.
23512 (asin_test_data): Likewise.
23513 (atanh_test_data): Likewise.
23514 (fmod_test_data): Likewise.
23515 (log_test_data): Likewise.
23516 (log10_test_data): Likewise.
23517 (log2_test_data): Likewise.
23518 (pow_test_data): Likewise.
23519 (sqrt_test_data): Likewise.
23520 (y0_test_data): Likewise.
23521 (y1_test_data): Likewise.
23522 (yn_test_data): Likewise.
23523
5575c0e5
JM
23524 * math/libm-test.inc (test_single_errno) [TEST_INLINE]: Disable
23525 function contents.
23526
d369f531
JM
23527 * math/libm-test.inc (struct test_ff_i_data): New type.
23528 (RUN_TEST_LOOP_ff_i_tg): New macro.
23529 (isgreater_test_data): New variable.
23530 (isgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
23531 (isgreaterequal_test_data): New variable.
23532 (isgreaterequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
23533 (isless_test_data): New variable.
23534 (isless_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
23535 (islessequal_test_data): New variable.
23536 (islessequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
23537 (islessgreater_test_data): New variable.
23538 (islessgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
23539 (isunordered_test_data): New variable.
23540 (isunordered_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
23541
781fd748
DM
235422013-05-14 David S. Miller <davem@davemloft.net>
23543
23544 * sysdeps/sparc/fpu/libm-test-ulps: Update.
23545
87aa21df
JM
235462013-05-14 Joseph Myers <joseph@codesourcery.com>
23547
5e908270
JM
23548 * math/libm-test.inc (RUN_TEST_LOOP_2_f): Fix whitespace.
23549
f71172e5
JM
23550 * math/libm-test.inc (struct test_fF_f1_data): Change type of
23551 extra_test to int.
23552 (struct test_f_i_data): Change type of max_ulp to int.
23553
8cfa635a
JM
23554 * math/libm-test.inc (test_ffI_f1_data): New type.
23555 (RUN_TEST_LOOP_ffI_f1): New macro.
23556 (remquo_test_data): New variable.
23557 (remquo_test): Run tests with RUN_TEST_LOOP_ffI_f1.
23558
2bcb36b2
JM
23559 * setjmp/tst-setjmp-fp.c: New file.
23560 * setjmp/Makefile (tests): Add tst-setjmp-fp.
23561 (link-libm): New variable.
23562 ($(objpfx)tst-setjmp-fp): Depend on $(link-libm).
23563
acbd839a
JM
23564 * math/libm-test.inc (struct test_f_i_data): New type.
23565 (RUN_TEST_LOOP_f_i): New macro.
23566 (RUN_TEST_LOOP_f_i_tg): Likewise.
23567 (fpclassify_test_data): New variable.
23568 (fpclassify_test): Run tests with RUN_TEST_LOOP_f_i_tg.
23569 (ilogb_test_data): New variable.
23570 (ilogb_test): Run tests with RUN_TEST_LOOP_f_i.
23571
e414d745
JM
23572 * math/libm-test.inc (scalbln_test): Correct function name in END
23573 call.
23574
d9c2a0fd
JM
23575 * math/libm-test.inc (struct test_f_f1_data): Add comment.
23576 (RUN_TEST_LOOP_fI_f1): New macro.
23577 (frexp_test_data): New variable.
23578 (frexp_test): Run tests with RUN_TEST_LOOP_fI_f1.
23579
9dc9095d
JM
23580 * math/libm-test.inc (struct test_fF_f1_data): New type.
23581 (RUN_TEST_LOOP_fF_f1): New macro.
23582 (modf_test_data): New variable.
23583 (modf_test): Run tests with RUN_TEST_LOOP_fF_f1.
23584
87aa21df
JM
23585 * math/libm-test.inc (struct test_f_f1_data): New type.
23586 (RUN_TEST_LOOP_f_f1): New macro.
23587 (gamma_test_data): New variable.
23588 (gamma_test): Run tests with RUN_TEST_LOOP_f_f1.
23589 (lgamma_test_data): New variable.
23590 (lgamma_test): Run tests with RUN_TEST_LOOP_f_f1.
23591
141af660
CD
235922013-05-13 Carlos O'Donell <carlos@redhat.com>
23593
23594 * elf/dl-hwcaps.c (_dl_important_hwcaps): Comment vDSO hwcap loading.
23595 * elf/ldconfig.c (is_hwcap_platform): Comment each hwcap check.
23596 (main): Comment "tls" pseudo-hwcap.
23597
6d33265c
JM
235982013-05-13 Joseph Myers <joseph@codesourcery.com>
23599
68fc074c
JM
23600 * math/libm-test.inc (struct test_fl_f_data): New type.
23601 (RUN_TEST_LOOP_fl_f): New variable.
23602 (scalbln_test_data): New variable.
23603 (scalbln_test): Run tests with RUN_TEST_LOOP_fl_f.
23604
243216e1
JM
23605 * math/libm-test.inc (struct test_fi_f_data): New type.
23606 (RUN_TEST_LOOP_fi_f): New macro.
23607 (ldexp_test_data): New variable.
23608 (ldexp_test): Run tests with RUN_TEST_LOOP_fi_f.
23609 (scalbn_test_data): New variable.
23610 (scalbn_test): Run tests with RUN_TEST_LOOP_fi_f.
23611
6a1992e2
JM
23612 * math/libm-test.inc (struct test_c_f_data): New type.
23613 (RUN_TEST_LOOP_c_f): New macro.
23614 (cabs_test_data): New variable.
23615 (cabs_test): Run tests with RUN_TEST_LOOP_c_f.
23616 (carg_test_data): New variable.
23617 (carg_test): Run tests with RUN_TEST_LOOP_c_f.
23618 (cimag_test_data): New variable.
23619 (cimag_test): Run tests with RUN_TEST_LOOP_c_f.
23620 (creal_test_data): New variable.
23621 (creal_test): Run tests with RUN_TEST_LOOP_c_f.
23622
0e400df5
JM
23623 * math/libm-test.inc (struct test_if_f_data): New type.
23624 (RUN_TEST_LOOP_if_f): New macro.
23625 (jn_test_data): New variable.
23626 (jn_test): Run tests with RUN_TEST_LOOP_if_f.
23627 (yn_test_data): New variable.
23628 (yn_test): Run tests with RUN_TEST_LOOP_if_f.
23629
6d33265c
JM
23630 * math/libm-test.inc (scalbln_test): Consistently use TEST_fl_f.
23631
f98ece5f
AZ
236322013-05-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23633
23634 * math/libm-test.inc (M_1_DIV_El): Define using decimal constant.
23635 (log_test_data): Use M_1_DIV_El instead of 1.0 / M_El.
23636
0f7d347b
SP
236372013-05-13 Siddhesh Poyarekar <siddhesh@redhat.com>
23638
43fe811b
SP
23639 * benchtests/Makefile (CPPFLAGS-nonlib): Add
23640 -DUSE_CLOCK_GETTIME if USE_CLOCK_GETTIME is defined.
23641 (bench-deps): Add bench-timing.h.
23642 * benchtests-bench-skeleton.c: Include bench-timing.h.
23643 (main): Use TIMING_* macros instead of clock_gettime.
23644 * benchtests/bench-timing.h: New file.
23645
0f7d347b
SP
23646 [BZ #14582]
23647 * sysdeps/ieee754/s_lib_version.c (_LIB_VERSION_INTERNAL):
23648 Renamed from _LIB_VERSION.
23649 (_LIB_VERSION): Set as weak alias of _LIB_VERSION_INTERNAL.
23650
601a3a5f
JM
236512013-05-12 Joseph Myers <joseph@codesourcery.com>
23652
4f184d30
JM
23653 * math/libm-test.inc (struct test_fff_f_data): New type.
23654 (RUN_TEST_LOOP_fff_f): New macro.
23655 (fma_test_data): New variable.
23656 (fma_test): Run tests with RUN_TEST_LOOP_fff_f.
23657 (fma_towardzero_test_data): New variable.
23658 (fma_test_towardzero): Run tests with RUN_TEST_LOOP_fff_f.
23659 (fma_downward_test_data): New variable.
23660 (fma_test_downward): Run tests with RUN_TEST_LOOP_fff_f.
23661 (fma_upward_test_data): New variable.
23662 (fma_test_upward): Run tests with RUN_TEST_LOOP_fff_f.
23663
08198877
JM
23664 * math/libm-test.inc (BUILD_COMPLEX_ULP): New macro.
23665 (struct test_c_c_data): New type.
23666 (RUN_TEST_LOOP_c_c): New macro.
23667 (cacos_test_data): New variable.
23668 (cacos_test): Run tests with RUN_TEST_LOOP_c_c.
23669 (cacosh_test_data): New variable.
23670 (cacosh_test): Run tests with RUN_TEST_LOOP_c_c.
23671 (casin_test_data): New variable.
23672 (casin_test): Run tests with RUN_TEST_LOOP_c_c.
23673 (casinh_test_data): New variable.
23674 (casinh_test): Run tests with RUN_TEST_LOOP_c_c.
23675 (catan_test_data): New variable.
23676 (catan_test): Run tests with RUN_TEST_LOOP_c_c.
23677 (catanh_test_data): New variable.
23678 (catanh_test): Run tests with RUN_TEST_LOOP_c_c.
23679 (ccos_test_data): New variable.
23680 (ccos_test): Run tests with RUN_TEST_LOOP_c_c.
23681 (ccosh_test_data): New variable.
23682 (ccosh_test): Run tests with RUN_TEST_LOOP_c_c.
23683 (cexp_test_data): New variable.
23684 (cexp_test): Run tests with RUN_TEST_LOOP_c_c.
23685 (clog_test_data): New variable.
23686 (clog_test): Run tests with RUN_TEST_LOOP_c_c.
23687 (clog10_test_data): New variable.
23688 (clog10_test): Run tests with RUN_TEST_LOOP_c_c.
23689 (conj_test_data): New variable.
23690 (conj_test): Run tests with RUN_TEST_LOOP_c_c.
23691 (cproj_test_data): New variable.
23692 (cproj_test): Run tests with RUN_TEST_LOOP_c_c.
23693 (csin_test_data): New variable.
23694 (csin_test): Run tests with RUN_TEST_LOOP_c_c.
23695 (csinh_test_data): New variable.
23696 (csinh_test): Run tests with RUN_TEST_LOOP_c_c.
23697 (csqrt_test_data): New variable.
23698 (csqrt_test): Run tests with RUN_TEST_LOOP_c_c.
23699 (ctan_test_data): New variable.
23700 (ctan_test): Run tests with RUN_TEST_LOOP_c_c.
23701 (ctan_tonearest_test_data): New variable.
23702 (ctan_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
23703 (ctan_towardzero_test_data): New variable.
23704 (ctan_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
23705 (ctan_downward_test_data): New variable.
23706 (ctan_test_downward): Run tests with RUN_TEST_LOOP_c_c.
23707 (ctan_upward_test_data): New variable.
23708 (ctan_test_upward): Run tests with RUN_TEST_LOOP_c_c.
23709 (ctanh_test_data): New variable.
23710 (ctanh_test): Run tests with RUN_TEST_LOOP_c_c.
23711 (ctanh_tonearest_test_data): New variable.
23712 (ctanh_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
23713 (ctanh_towardzero_test_data): New variable.
23714 (ctanh_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
23715 (ctanh_downward_test_data): New variable.
23716 (ctanh_test_downward): Run tests with RUN_TEST_LOOP_c_c.
23717 (ctanh_upward_test_data): New variable.
23718 (ctanh_test_upward): Run tests with RUN_TEST_LOOP_c_c.
23719 * math/gen-libm-test.pl (get_ulps): Use BUILD_COMPLEX_ULP instead
23720 of BUILD_COMPLEX.
23721
601a3a5f
JM
23722 * math/libm-test.inc (struct test_ff_f_data): New type.
23723 (struct test_ff_f_data_nexttoward): Likewise.
23724 (RUN_TEST_LOOP_2_f): New macro.
23725 (RUN_TEST_LOOP_ff_f): Likewise.
23726 (atan2_test_data): New variable.
23727 (atan2_test): Run tests with RUN_TEST_LOOP_ff_f.
23728 (copysign_test_data): New variable.
23729 (copysign_test): Run tests with RUN_TEST_LOOP_ff_f.
23730 (fdim_test_data): New variable.
23731 (fdim_test): Run tests with RUN_TEST_LOOP_ff_f.
23732 (fmax_test_data): New variable.
23733 (fmax_test): Run tests with RUN_TEST_LOOP_ff_f.
23734 (fmin_test_data): New variable.
23735 (fmin_test): Run tests with RUN_TEST_LOOP_ff_f.
23736 (fmod_test_data): New variable.
23737 (fmod_test): Run tests with RUN_TEST_LOOP_ff_f.
23738 (hypot_test_data): New variable.
23739 (hypot_test): Run tests with RUN_TEST_LOOP_ff_f.
23740 (nextafter_test_data): New variable.
23741 (nextafter_test): Run tests with RUN_TEST_LOOP_ff_f.
23742 (nexttoward_test_data): New variable.
23743 (nexttoward_test): Run tests with RUN_TEST_LOOP_ff_f.
23744 (pow_test_data): New variable.
23745 (pow_test): Run tests with RUN_TEST_LOOP_ff_f.
23746 (pow_tonearest_test_data): New variable.
23747 (pow_test_tonearest): Run tests with RUN_TEST_LOOP_ff_f.
23748 (pow_towardzero_test_data): New variable.
23749 (pow_test_towardzero): Run tests with RUN_TEST_LOOP_ff_f.
23750 (pow_downward_test_data): New variable.
23751 (pow_test_downward): Run tests with RUN_TEST_LOOP_ff_f.
23752 (pow_upward_test_data): New variable.
23753 (pow_test_upward): Run tests with RUN_TEST_LOOP_ff_f.
23754 (remainder_test_data): New variable.
23755 (remainder_test): Run tests with RUN_TEST_LOOP_ff_f.
23756 (scalb_test_data): New variable.
23757 (scalb_test): Run tests with RUN_TEST_LOOP_ff_f.
23758 * sysdeps/i386/fpu/libm-test-ulps: Update.
23759
74c57478
JM
237602013-05-11 Joseph Myers <joseph@codesourcery.com>
23761
8329e4da
JM
23762 * math/libm-test.inc (fma_test): Use max_value instead of local
23763 variable fltmax.
23764 (nextafter_test): Likewise.
23765
74c57478
JM
23766 * math/libm-test.inc (acos_towardzero_test_data): New variable.
23767 (acos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
23768 (acos_downward_test_data): New variable.
23769 (acos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
23770 (acos_upward_test_data): New variable.
23771 (acos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
23772 (acosh_test_data): New variable.
23773 (acosh_test): Run tests with RUN_TEST_LOOP_f_f.
23774 (asin_test_data): New variable.
23775 (asin_test): Run tests with RUN_TEST_LOOP_f_f.
23776 (asin_tonearest_test_data): New variable.
23777 (asin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
23778 (asin_towardzero_test_data): New variable.
23779 (asin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
23780 (asin_downward_test_data): New variable.
23781 (asin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
23782 (asin_upward_test_data): New variable.
23783 (asin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
23784 (asinh_test_data): New variable.
23785 (asinh_test): Run tests with RUN_TEST_LOOP_f_f.
23786 (atan_test_data): New variable.
23787 (atan_test): Run tests with RUN_TEST_LOOP_f_f.
23788 (atanh_test_data): New variable.
23789 (atanh_test): Run tests with RUN_TEST_LOOP_f_f.
23790 (cbrt_test_data): New variable.
23791 (cbrt_test): Run tests with RUN_TEST_LOOP_f_f.
23792 (ceil_test_data): New variable.
23793 (ceil_test): Run tests with RUN_TEST_LOOP_f_f.
23794 (cos_test_data): New variable.
23795 (cos_test): Run tests with RUN_TEST_LOOP_f_f.
23796 (cos_tonearest_test_data): New variable.
23797 (cos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
23798 (cos_towardzero_test_data): New variable.
23799 (cos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
23800 (cos_downward_test_data): New variable.
23801 (cos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
23802 (cos_upward_test_data): New variable.
23803 (cos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
23804 (cosh_test_data): New variable.
23805 (cosh_test): Run tests with RUN_TEST_LOOP_f_f.
23806 (cosh_tonearest_test_data): New variable.
23807 (cosh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
23808 (cosh_towardzero_test_data): New variable.
23809 (cosh_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
23810 (cosh_downward_test_data): New variable.
23811 (cosh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
23812 (cosh_upward_test_data): New variable.
23813 (cosh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
23814 (erf_test_data): New variable.
23815 (erf_test): Run tests with RUN_TEST_LOOP_f_f.
23816 (erfc_test_data): New variable.
23817 (erfc_test): Run tests with RUN_TEST_LOOP_f_f.
23818 (exp_test_data): New variable.
23819 (exp_test): Run tests with RUN_TEST_LOOP_f_f.
23820 (exp_tonearest_test_data): New variable.
23821 (exp_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
23822 (exp_towardzero_test_data): New variable.
23823 (exp_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
23824 (exp_downward_test_data): New variable.
23825 (exp_test_downward): Run tests with RUN_TEST_LOOP_f_f.
23826 (exp_upward_test_data): New variable.
23827 (exp_test_upward): Run tests with RUN_TEST_LOOP_f_f.
23828 (exp10_test_data): New variable.
23829 (exp10_test): Run tests with RUN_TEST_LOOP_f_f.
23830 (exp2_test_data): New variable.
23831 (exp2_test): Run tests with RUN_TEST_LOOP_f_f.
23832 (expm1_test_data): New variable.
23833 (expm1_test): Run tests with RUN_TEST_LOOP_f_f.
23834 (fabs_test_data): New variable.
23835 (fabs_test): Run tests with RUN_TEST_LOOP_f_f.
23836 (floor_test_data): New variable.
23837 (floor_test): Run tests with RUN_TEST_LOOP_f_f.
23838 (j0_test_data): New variable.
23839 (j0_test): Run tests with RUN_TEST_LOOP_f_f.
23840 (j1_test_data): New variable.
23841 (j1_test): Run tests with RUN_TEST_LOOP_f_f.
23842 (log_test_data): New variable.
23843 (log_test): Run tests with RUN_TEST_LOOP_f_f.
23844 (log10_test_data): New variable.
23845 (log10_test): Run tests with RUN_TEST_LOOP_f_f.
23846 (log1p_test_data): New variable.
23847 (log1p_test): Run tests with RUN_TEST_LOOP_f_f.
23848 (log2_test_data): New variable.
23849 (log2_test): Run tests with RUN_TEST_LOOP_f_f.
23850 (logb_test_data): New variable.
23851 (logb_test): Run tests with RUN_TEST_LOOP_f_f.
23852 (logb_downward_test_data): New variable.
23853 (logb_test_downward): Run tests with RUN_TEST_LOOP_f_f.
23854 (nearbyint_test_data): New variable.
23855 (nearbyint_test): Run tests with RUN_TEST_LOOP_f_f.
23856 (rint_test_data): New variable.
23857 (rint_test): Run tests with RUN_TEST_LOOP_f_f.
23858 (rint_tonearest_test_data): New variable.
23859 (rint_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
23860 (rint_towardzero_test_data): New variable.
23861 (rint_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
23862 (rint_downward_test_data): New variable.
23863 (rint_test_downward): Run tests with RUN_TEST_LOOP_f_f.
23864 (rint_upward_test_data): New variable.
23865 (rint_test_upward): Run tests with RUN_TEST_LOOP_f_f.
23866 (round_test_data): New variable.
23867 (round_test): Run tests with RUN_TEST_LOOP_f_f.
23868 (sin_test_data): New variable.
23869 (sin_test): Run tests with RUN_TEST_LOOP_f_f.
23870 (sin_tonearest_test_data): New variable.
23871 (sin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
23872 (sin_towardzero_test_data): New variable.
23873 (sin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
23874 (sin_downward_test_data): New variable.
23875 (sin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
23876 (sin_upward_test_data): New variable.
23877 (sin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
23878 (sinh_test_data): New variable.
23879 (sinh_test): Run tests with RUN_TEST_LOOP_f_f.
23880 (sinh_tonearest_test_data): New variable.
23881 (sinh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
23882 (sinh_towardzero_test_data): New variable.
23883 (sinh_towardzero): Run tests with RUN_TEST_LOOP_f_f.
23884 (sinh_downward_test_data): New variable.
23885 (sinh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
23886 (sinh_upward_test_data): New variable.
23887 (sinh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
23888 (sqrt_test_data): New variable.
23889 (sqrt_test): Run tests with RUN_TEST_LOOP_f_f.
23890 (tan_test_data): New variable.
23891 (tan_test): Run tests with RUN_TEST_LOOP_f_f.
23892 (tan_tonearest_test_data): New variable.
23893 (tan_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
23894 (tan_towardzero_test_data): New variable.
23895 (tan_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
23896 (tan_downward_test_data): New variable.
23897 (tan_test_downward): Run tests with RUN_TEST_LOOP_f_f.
23898 (tan_upward_test_data): New variable.
23899 (tan_test_upward): Run tests with RUN_TEST_LOOP_f_f.
23900 (tanh_test_data): New variable.
23901 (tanh_test): Run tests with RUN_TEST_LOOP_f_f.
23902 (tgamma_test_data): New variable.
23903 (tgamma_test): Run tests with RUN_TEST_LOOP_f_f.
23904 (trunc_test_data): New variable.
23905 (trunc_test): Run tests with RUN_TEST_LOOP_f_f.
23906 (y0_test_data): New variable.
23907 (y0_test): Run tests with RUN_TEST_LOOP_f_f.
23908 (y1_test_data): New variable.
23909 (y1_test): Run tests with RUN_TEST_LOOP_f_f.
23910 (significand_test_data): New variable.
23911 (significand_test): Run tests with RUN_TEST_LOOP_f_f.
23912
7187d844
CG
239132013-05-10 Christian Grönke <cgr_bugs@sysgo.com>
23914
23915 [BZ #12387]
23916 * sysdeps/unix/sysv/linux/sh/getgid.c: New file.
23917
f63fae73
PT
239182013-05-10 Pino Toscano <toscano.pino@tiscali.it>
23919
23920 * sysdeps/mach/hurd/bits/statvfs.h: Add ST_NOATIME.
23921
8a67a4b3
AJ
239222013-05-10 Andreas Jaeger <aj@suse.de>
23923
23924 [BZ #15448]
23925 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_SET_S)
23926 (__CPU_CLR_S, __CPU_ISSET_S): Avoid integer overflow.
23927
51df539d
JM
239282013-05-10 Joseph Myers <joseph@codesourcery.com>
23929
23930 * math/gen-libm-test.pl (adjust_arg): New function.
23931 (special_functions): Handle generating output in both functions
23932 and arrays.
23933 (parse_args): Likewise.
23934 (generate_testfile): Handle START_DATA and END_DATA. Pass extra
23935 $in_func argument to parse_args.
23936 * math/libm-test.inc (struct test_f_f_data): New type.
23937 (IF_ROUND_INIT_): New macro.
23938 (IF_ROUND_INIT_FE_DOWNWARD): Likewise.
23939 (IF_ROUND_INIT_FE_TONEAREST): Likewise.
23940 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
23941 (IF_ROUND_INIT_FE_UPWARD): Likewise.
23942 (ROUND_RESTORE_): Likewise.
23943 (ROUND_RESTORE_FE_DOWNWARD): Likewise.
23944 (ROUND_RESTORE_FE_TONEAREST): Likewise.
23945 (ROUND_RESTORE_FE_TOWARDZERO): Likewise.
23946 (ROUND_RESTORE_FE_UPWARD): Likewise.
23947 (RUN_TEST_LOOP_f_f): New macro.
23948 (acos_test_data): New variable.
23949 (acos_test): Run tests with RUN_TEST_LOOP_f_f.
23950 (acos_tonearest_test_data): New variable.
23951 (acos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
23952
5c637fe5
SP
239532013-05-10 Siddhesh Poyarekar <siddhesh@redhat.com>
23954
23955 * benchtests/bench-skeleton.c (startup): Fix coding style.
23956
ab2b9461
JM
239572013-05-10 Joseph Myers <joseph@codesourcery.com>
23958
23959 [BZ #6809]
23960 * math/w_tgamma.c (__tgamma): Also call __kernel_standard for
23961 negative infinity argument.
23962 * math/w_tgammaf.c (__tgammaf): Also call __kernel_standard_f for
23963 negative infinity argument.
23964 * math/w_tgammal.c (__tgammal): Also call __kernel_standard_l for
23965 negative infinity argument.
23966 * math/libm-test.inc (tgamma_test): Expect errno to be set for
23967 domain errors.
23968
4c0fe6fe
FW
239692013-05-10 Florian Weimer <fweimer@redhat.com>
23970
23971 * elf/sprof.c (load_profdata): Use fstat64 instead of fstat.
23972 * iconv/iconv_charmap.c (charmap_conversion): Likewise.
23973 * iconv/iconv_prog.c (main): Likewise.
23974 * locale/programs/charmap-dir.c (charmap_readdir)
23975 (fopen_uncompressed): Likewise.
23976 * locale/programs/locfile.c (siblings_uncached)
23977 (write_locale_data): Use lstat64 instead of lstat.
23978 * sunrpc/rpc_main.c (find_cpp, checkfiles): Use stat64 instead of
23979 stat.
23980
a3375d29
AJ
239812013-05-10 Andreas Jaeger <aj@suse.de>
23982
23983 [BZ #15395]
23984 * sunrpc/rpc_main.c (main): Invoke setlocale and textdomain for
23985 localization.
23986 Include <locale.h>.
23987
36129722
CD
239882013-05-09 Carlos O'Donell <carlos@redhat.com>
23989
23990 * elf/dl-close.c (_dl_close_worker): Add comments.
23991
faa7f811
JM
239922013-05-09 Joseph Myers <joseph@codesourcery.com>
23993
ed41ffef
JM
23994 [BZ #15359]
23995 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (c): Use 106 bits for
23996 high part of pi/2.
23997 (__ieee754_rem_pio2l): Update comments.
23998
d0213cd0
JM
23999 [BZ #15429]
24000 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c (c): Use 113 bits for
24001 high part of pi/2.
24002 (__ieee754_rem_pio2l): Update comments.
24003
0d3e777a
JM
24004 * math/libm-test.inc (M_SQRT_2_2): Remove macro.
24005 (csqrt_test): Use M_SQRT1_2l instead of M_SQRT_2_2.
24006
24f56066
JM
24007 * math/libm-test.inc (carg_test): Use M_PI_34l instead of 3 *
24008 M_PI_4l.
24009
faa7f811
JM
24010 * math/libm-test.inc (M_PI_34l): Define using decimal constant.
24011 (M_PI_34_LOG10El): Likewise.
24012 (M_PI2_LOG10El): Likewise.
24013 (M_PI4_LOG10El): Likewise.
24014 (M_PI_LOG10El): Likewise.
24015
e9a5e0fd
AZ
240162013-05-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
24017
24018 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
24019
d8cd06db
JM
240202013-05-08 Joseph Myers <joseph@codesourcery.com>
24021
a0d9f9d7
JM
24022 * math/libm-test.inc (PLUS_ZERO_INIT): New macro.
24023 (MINUS_ZERO_INIT): Likewise.
24024 (PLUS_INFTY_INIT): Likewise.
24025 (MINUS_INFTY_INIT): Likewise.
24026 (QNAN_VALUE_INIT): Likewise.
24027 (MAX_VALUE_INIT): Likewise.
24028 (MIN_VALUE_INIT): Likewise.
24029 (MIN_SUBNORM_VALUE_INIT): Likewise.
24030 (plus_zero): Initialize with PLUS_ZERO_INIT.
24031 (minus_zero): Initialize with MINUS_ZERO_INIT.
24032 (plus_infty): Initialize with PLUS_INFTY_INIT.
24033 (minus_infty): Initialize with MINUS_INFTY_INIT.
24034 (qnan_value): Initialize with QNAN_VALUE_INIT.
24035 (max_value): Initialize with MAX_VALUE_INIT.
24036 (min_value): Initialize with MIN_VALUE_INIT.
24037 (min_subnorm_value): Initialize with MIN_SUBNORM_VALUE_INIT.
24038
ae08db3b
JM
24039 * math/libm-test.inc (RUN_TEST_if_f): New macro.
24040 (jn_test): Use TEST_if_f instead of TEST_ff_f.
24041 (ldexp_text): Use TEST_fi_i instead of TEST_ff_f.
24042 (yn_test): Use TEST_if_f instead of TEST_ff_f.
24043
f44bf14a
JM
24044 * math/libm-test.inc (RUN_TEST_f_f): New macro.
24045 (RUN_TEST_2_f): Likewise.
24046 (RUN_TEST_ff_f): Likewise.
24047 (RUN_TEST_fi_f): Likewise.
24048 (RUN_TEST_fl_f): Likewise.
24049 (RUN_TEST_fff_f): Likewise.
24050 (RUN_TEST_c_f): Likewise.
24051 (RUN_TEST_f_f1): Likewise.
24052 (RUN_TEST_fF_f1): Likewise.
24053 (RUN_TEST_fI_f1): Likewise.
24054 (RUN_TEST_ffI_f1): Likewise.
24055 (RUN_TEST_c_c): Likewise.
24056 (RUN_TEST_cc_c): Likewise.
24057 (RUN_TEST_f_i): Likewise.
24058 (RUN_TEST_f_i_tg): Likewise.
24059 (RUN_TEST_ff_i_tg): Likewise.
24060 (RUN_TEST_f_b): Likewise.
24061 (RUN_TEST_f_b_tg): Likewise.
24062 (RUN_TEST_f_l): Likewise.
24063 (RUN_TEST_f_L): Likewise.
24064 (RUN_TEST_sincos): Likewise.
24065 * math/gen-libm-test.pl (new_test): Take new argument to indicate
24066 whether to show exceptions. Do not include ");\n" in return
24067 value.
24068 (special_functions): Output call to RUN_TEST_sincos instead of
24069 check_float calls. Update calls to new_test.
24070 (parse_args): Output call to single RUN_TEST_* macro instead of
24071 check_* calls and other assignments. Update calls to new_test.
24072
d8cd06db
JM
24073 [BZ #2546]
24074 [BZ #2560]
24075 [BZ #5159]
24076 [BZ #15426]
24077 * sysdeps/ieee754/k_standard.c (__kernel_standard): Copy sign of
24078 input to result for tgamma overflow.
24079 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Include <float.h>.
24080 (gamma_coeff): New variable.
24081 (NCOEFF): New macro.
24082 (gamma_positive): New function.
24083 (__ieee754_gamma_r): Handle positive infinity, NaN, overflow and
24084 underflow here. Use gamma_positive instead of exp (lgamma) for
24085 other arguments.
24086 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Include <float.h>.
24087 (gamma_coeff): New variable.
24088 (NCOEFF): New macro.
24089 (gammaf_positive): New function.
24090 (__ieee754_gammaf_r): Handle positive infinity, NaN, overflow and
24091 underflow here. Use gamma_positive instead of exp (lgamma) for
24092 other arguments.
24093 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Include <float.h>.
24094 (gamma_coeff): New variable.
24095 (NCOEFF): New macro.
24096 (gammal_positive): New function.
24097 (__ieee754_gammal_r): Handle positive infinity, NaN, overflow and
24098 underflow here. Use gamma_positive instead of exp (lgamma) for
24099 other arguments.
24100 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Include <float.h>.
24101 (gamma_coeff): New variable.
24102 (NCOEFF): New macro.
24103 (gammal_positive): New function.
24104 (__ieee754_gammal_r): Handle positive infinity, overflow and
24105 underflow here. Handle NaN the same as positive infinity. Remove
24106 check x < 0xffffffff for negative integers. Use gamma_positive
24107 instead of exp (lgamma) for other arguments.
24108 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Include <float.h>.
24109 (gamma_coeff): New variable.
24110 (NCOEFF): New macro.
24111 (gammal_positive): New function.
24112 * sysdeps/ieee754/dbl-64/gamma_product.c: New file.
24113 * sysdeps/ieee754/dbl-64/gamma_productf.c: Likewise.
24114 * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
24115 * sysdeps/ieee754/ldbl-128ibm/gamma_productl.c: Likewise.
24116 * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
24117 * sysdeps/ieee754/ldbl-96/gamma_productl.c: Likewise.
24118 * sysdeps/generic/math_private.h (__gamma_productf): New
24119 prototype.
24120 (__gamma_product): Likewise.
24121 (__gamma_productl): Likewise.
24122 * math/Makefile (libm-calls): Add gamma_product.
24123 * math/libm-test.inc (tgamma_test): Add more tests.
24124 * sysdeps/i386/fpu/libm-test-ulps: Update.
24125 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24126
bb7cf681
OB
241272013-05-08 Ondřej Bílka <neleai@seznam.cz>
24128
24129 * benchtests/bench-skeleton.c (main): Preheat CPU.
24130
ba853947
AJ
241312013-05-07 Aurelien Jarno <aurelien@aurel32.net>
24132
24133 * misc/sys/param.h (DEV_BSIZE): Define only if not already defined.
24134
8347c74c
RM
241352013-05-07 Roland McGrath <roland@hack.frob.com>
24136
24137 * sysdeps/generic/ldsodefs.h [IS_IN_rtld]: Declare _dl_skip_args
24138 and _dl_skip_args_internal.
24139
e8dd4791
CD
241402013-05-07 Carlos O'Donell <carlos@redhat.com>
24141
24142 * manual/message.texi (Message Translation): Talk about users.
24143 Message to key mapping impacts design.
24144
c7405830
RM
241452013-05-06 Roland McGrath <roland@hack.frob.com>
24146
a9173057
RM
24147 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: New file.
24148
976e2f03
RM
24149 * elf/dl-open.c: Remove declaration of _dl_sysdep_start.
24150
9723ffc5
RM
24151 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: Moved to ...
24152 * sysdeps/wordsize-64/glob64.c: ... here.
24153
962e6658
RM
24154 * sysdeps/generic/not-cancel.h (NO_CANCELLATION): New macro.
24155 (pause_not_cancel, nanosleep_not_cancel, sigsuspend_not_cancel):
24156 New macros.
24157
ee586a6d
RM
24158 * debug/getlogin_r_chk.c: Moved to ...
24159 * login/getlogin_r_chk.c: ... here.
24160 * debug/Makefile (routines): Move getlogin_r_chk to ...
24161 * login/Makefile (routines): ... here.
24162 * debug/Versions (libc: GLIBC_2.4): Move getlogin_r_chk to ...
24163 * login/Versions (libc: GLIBC_2.4): ... here.
24164
355f9165
RM
24165 * io/poll.c (__poll): Renamed from poll.
24166 Add libc_hidden_def.
24167 (poll): Define as weak alias.
24168
bd9ffde6
RM
24169 * debug/ptsname_r_chk.c: Moved to ...
24170 * login/ptsname_r_chk.c: ... here.
24171 * debug/Makefile (routines): Move ptsname_r_chk to ...
24172 * login/Makefile (routines): ... here.
24173 * debug/Versions (libc: GLIBC_2.4): Move __ptsname_r_chk to ...
24174 * login/Versions (libc: GLIBC_2.4): ... here.
24175
8fb16a04
RM
24176 * posix/getlogin.c: Moved to ...
24177 * login/getlogin.c: ... here.
24178 * posix/getlogin_r.c: Moved to ...
24179 * login/getlogin_r.c: ... here.
24180 * posix/getlogin_r.c: Moved to ...
24181 * login/getlogin_r.c: ... here.
24182 * posix/Makefile (routines): Move getlogin, getlogin_r, setlogin to ...
24183 * login/Makefile (routines): ... here.
24184 * posix/Versions (libc: GLIBC_2.0): Move setlogin to ...
24185 * login/Versions (libc: GLIBC_2.0): ... here.
24186
b99b892f
RM
24187 * resource/setrlimit.c (__setrlimit): Renamed from setrlimit.
24188 (setrlimit): Define as weak alias.
24189
c7405830
RM
24190 * sysdeps/posix/truncate.c (__truncate): Renamed from truncate.
24191 Call __ names for open, ftruncate, and close.
24192 For LENGTH==0 case, just use O_TRUNC rather than calling ftruncate.
24193 (truncate): Define as weak alias.
24194
5bf96de5
JM
241952013-05-06 Joseph Myers <joseph@codesourcery.com>
24196
9ea3513c
JM
24197 * math/gen-libm-test.pl (parse_args): Initialize x before each
24198 test of frexp, modf and remquo.
24199
5bf96de5
JM
24200 * math/libm-test.inc (gamma_test): Consistently use TEST_f_f1 to
24201 test signgam value.
24202
16e616a7
AZ
242032013-05-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
24204
24205 [BZ #15418]
24206 [BZ #15419]
24207 * sysdeps/powerpc/fpu/e_hypot.c: Fix spurious FP exception generated by
24208 internal tests.
24209 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
24210
d5e82754
RM
242112013-05-06 Roland McGrath <roland@hack.frob.com>
24212
24213 * elf/dl-writev.h: New file.
24214 * elf/dl-misc.c: Include it.
24215 (_dl_debug_vdprintf): Call _dl_writev instead of __writev et al.
24216 * sysdeps/unix/sysv/linux/dl-writev.h: New file.
24217
a7548d41
JM
242182013-05-04 Joseph Myers <joseph@codesourcery.com>
24219
b7dab1e4
JM
24220 * math/libm-test.inc (noXFails): Remove variable.
24221 (noXPasses): Likewise.
24222 (BUILD_COMPLEX_INT): Remove macro.
24223 (print_screen): Remove xfail argument.
24224 (print_screen_max_error): Likewise.
24225 (update_stats): Likewise.
24226 (print_max_error): Likewise. Update calls to other affected
24227 functions.
24228 (print_complex_max_error): Likewise.
24229 (test_single_exception): Update calls to print_screen.
24230 (test_single_errno): Likewise.
24231 (check_float_internal): Remove xfail argument. Update calls to
24232 other affected functions.
24233 (check_float): Likewise.
24234 (check_complex): Likewise.
24235 (check_int): Likewise.
24236 (check_long): Likewise.
24237 (check_bool): Likewise.
24238 (check_longlong): Likewise.
24239 (main): Don't print noXFails and noXPasses.
24240 * math/gen-libm-test.pl (top level): Don't mention expected
24241 failure handling in comment.
24242 (new_test): Don't handle expected failures.
24243 (parse_args): Don't mention expected failure handling in comment.
24244 (generate_testfile): Don't handle expected failures.
24245 (parse_ulps): Likewise.
24246 (print_ulps_file): Likewise.
24247 (get_failure): Remove function.
24248 (output_test): Don't handle expected failures.
24249 * make/README.libm-test: Don't mention expected failure handling.
24250
a7548d41
JM
24251 * math/libm-test.inc (plus_zero): Make const. Add initializer.
24252 (minus_zero): Likewise.
24253 (plus_infty): Likewise.
24254 (minus_infty): Likewise.
24255 (qnan_value): Likewise.
24256 (max_value): Likewise.
24257 (min_value): Likewise.
24258 (min_subnorm_value): Likewise.
24259 (initialize): Do not initialize those variables dynamically.
24260
60bfd54c
RM
242612013-05-03 Roland McGrath <roland@hack.frob.com>
24262
cc0e6ed8
RM
24263 * io/open.c (__open_2): Moved to ...
24264 * io/open_2.c: ... this new file.
24265 * io/open64.c (__open64_2): Moved to ...
24266 * io/open64_2.c: ... this new file.
24267 * io/openat.c (__openat_2): Moved to ...
24268 * io/openat_2.c: ... this new file.
24269 * io/openat64.c (__openat64_2): Moved to ...
24270 * io/openat64_2.c: ... this new file.
24271 * io/Makefile (routines): Add them.
24272 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove them.
24273 * sysdeps/unix/sysv/linux/open_2.c: File removed.
24274 * sysdeps/unix/sysv/linux/open64_2.c: File removed.
24275 * sysdeps/unix/sysv/linux/openat.c (__OPENAT_2): Removed.
24276 * sysdeps/unix/sysv/linux/openat64.c (__OPENAT_2): Removed.
24277 * sysdeps/unix/sysv/linux/wordsize-64/openat.c (__openat_2): Removed.
24278 (__openat64): Add hidden_ver.
24279 * sysdeps/mach/hurd/open.c (__open_2, __open64_2): Removed.
24280 * sysdeps/mach/hurd/openat.c (__openat_2): Removed.
24281
60bfd54c
RM
24282 * elf/dl-sysdep.c (_dl_sysdep_start) [NEED_DL_SYSINFO]:
24283 Separately conditionalize setting of GLRO(dl_sysinfo) so
24284 that the GLRO(dl_sysinfo_dso) test is under [NEED_DL_SYSINFO_DSO]
24285 as well, but the actual setting is only under [NEED_DL_SYSINFO].
24286
83e7640f
AZ
242872013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
24288
24289 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_time symbol.
24290 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Add __vdso_time
24291 definition.
24292 (VDSO_IFUNC_RET): Cast to void * to silence compiler warning.
24293 * sysdeps/unix/sysv/linux/powerpc/init-first.c
24294 (_libc_vdso_platform_setup): Add __vdso_time initialization.
24295 * sysdeps/unix/sysv/linux/powerpc/time.c: New file: time implementation
24296 for PowerPC using vDSO where is avaliable or gettimeofday as a fallback.
24297
d5dc2af3
JM
242982013-05-03 Joseph Myers <joseph@codesourcery.com>
24299
c31a5b1e
JM
24300 * math/libm-test.inc (lgamma_test): Consistently use TEST_f_f1 to
24301 test signgam value.
24302
d5dc2af3
JM
24303 * math/libm-test.inc (hypot_test): Do not use
24304 IGNORE_ZERO_INF_SIGN.
24305
164fd39d
AJ
243062013-05-03 Andreas Jaeger <aj@suse.de>
24307
24308 * sysdeps/gnu/netinet/tcp.h (TCP_TIMESTAMP): New value, from
24309 Linux 3.9.
24310 * sysdeps/unix/sysv/linux/bits/socket.h (PF_VSOCK, AF_VSOCK): Add.
24311 (PF_MAX): Adjust for VSOCK change.
24312
8237f48c
AZ
243132013-05-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
24314
24315 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
24316
9df02941
CD
243172013-05-02 Carlos O'Donell <carlos@redhat.com>
24318
24319 [BZ #15264]
24320 * localedata/locales/en_CA (LC_MESSAGES): Define yesstr and nostr.
24321 * localedata/locales/es_AR (LC_MESSAGES): Copy es_ES.
24322 * localedata/locales/es_ES (LC_MESSAGES): Define yesstr and nostr.
24323
d422395e
DM
243242013-05-02 David S. Miller <davem@davemloft.net>
24325
24326 * sysdeps/sparc/fpu/libm-test-ulps: Update.
24327
a07c5731
OB
243282013-05-01 Ondřej Bílka <neleai@seznam.cz>
24329
24330 * string/bits/string2.h (__strcmp_cg): Call __strcmp_gc.
24331
1324e37f
RM
243322013-05-01 Roland McGrath <roland@hack.frob.com>
24333
24334 * sysdeps/posix/opendir.c: Include <sys/param.h> to get MIN/MAX macros.
24335
0695940b
RS
243362013-05-01 Richard Smith <richard@metafoo.co.uk>
24337
bb5f27ad 24338 [BZ #14952]
0695940b
RS
24339 * misc/sys/cdefs.h (__extern_inline, __extern_always_inline)
24340 [__GNUC__ && (__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
24341 Use __attribute__ ((__gnu_inline__)).
24342 [__GNUC__ && !(__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
24343 Don't use __attribute__ ((__gnu_inline__)).
24344
10de07f5
JM
243452013-05-01 Joseph Myers <joseph@codesourcery.com>
24346
24347 [BZ #15423]
24348 * math/s_catan.c (__catan): Handle small real or imaginary part of
24349 input specially to avoid spurious underflow.
24350 * math/s_catanf.c (__catanf): Likewise.
24351 * math/s_catanh.c (__catanh): Likewise.
24352 * math/s_catanhf.c (__catanhf): Likewise.
24353 * math/s_catanhl.c (__catanhl): Likewise.
24354 * math/s_catanl.c (__catanl): Likewise.
24355 * math/libm-test.inc (catan_test): Add more tests.
24356 (catanh_test): Likewise.
24357 * sysdeps/i386/fpu/libm-test-ulps: Update.
24358 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24359
cb4d5414
AZ
243602013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
24361
24362 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
24363
caf84319
JM
243642013-04-30 Joseph Myers <joseph@codesourcery.com>
24365
24366 [BZ #15416]
24367 * math/s_catan.c (__catan): Compute expressions 1 - x^2 - y^2 more
24368 accurately for denominator in atan2.
24369 * math/s_catanf.c (__catanf): Likewise.
24370 * math/s_catanh.c (__catanh): Likewise.
24371 * math/s_catanhf.c (__catanhf): Likewise.
24372 * math/s_catanhl.c (__catanhl): Likewise.
24373 * math/s_catanl.c (__catanl): Likewise.
24374 * math/libm-test.inc (catan_test): Add more tests.
24375 (catanh_test): Likewise.
24376 * sysdeps/i386/fpu/libm-test-ulps: Update.
24377 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24378
d569c6ee
SP
243792013-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
24380
6dbe713d
SP
24381 * sysdeps/ieee754/dbl-64/s_sin.c: Format code.
24382
f0ee064b
SP
24383 * benchtests/Makefile (bench): Remove slow benchmarks.
24384 * benchtests/atan-inputs: Add slow benchmark inputs.
24385 * benchtests/bench-modf.c (NUM_VARIANTS): Define.
24386 (BENCH_FUNC): Accept variant offset.
24387 (VARIANT): Define.
24388 * benchtests/bench-skeleton.c (main): Run benchmark for each
24389 variant.
24390 * benchtests/cos-inputs: Add slow benchmark inputs.
24391 * benchtests/exp-inputs: Likewise.
24392 * benchtests/pow-inputs: Likewise.
24393 * benchtests/sin-inputs: Likewise.
24394 * benchtests/slowatan-inputs: Remove.
24395 * benchtests/slowatan.c: Remove.
24396 * benchtests/slowcos-inputs: Remove.
24397 * benchtests/slowcos.c: Remove.
24398 * benchtests/slowexp-inputs: Remove.
24399 * benchtests/slowexp.c: Remove.
24400 * benchtests/slowpow-inputs: Remove.
24401 * benchtests/slowpow.c: Remove.
24402 * benchtests/slowsin-inputs: Remove.
24403 * benchtests/slowsin.c: Remove.
24404 * benchtests/slowtan-inputs: Remove.
24405 * benchtests/slowtan.c: Remove.
24406 * benchtests/tan-inputs: Add slow benchmark inputs.
24407 * scripts/bench.pl: Parse comments and directives.
24408
d569c6ee
SP
24409 * benchtests/Makefile: Remove *-ITER. Define BENCH_DURATION
24410 in CPPFLAGS.
24411 ($(objpfx)bench-%.c): Remove *-ITER.
24412 * benchtests/bench-modf.c: Remove definition of ITER.
24413 * benchtests/bench-skeleton.c (TIMESPEC_AFTER): New macro.
24414 (main): Loop for DURATION seconds instead of fixed number of
24415 iterations.
24416 * scripts/bench.pl: Don't expect iterations in parameters.
24417
a6a242fe
RM
244182013-04-29 Roland McGrath <roland@hack.frob.com>
24419
24420 * io/fchdir.c (__fchdir): Renamed from fchdir.
24421 (fchdir): Define as weak alias.
24422
f2da7793
JM
244232013-04-29 Joseph Myers <joseph@codesourcery.com>
24424
24425 * math/libm-test.inc (ERRNO_UNCHANGED): New macro.
24426 (ERRNO_EDOM): Likewise.
24427 (ERRNO_ERANGE): Likewise.
24428 (noErrnoTests): New variable.
24429 (init_max_error): Set errno to 0.
24430 (test_single_errno): New function.
24431 (test_errno): Likewise.
24432 (check_float_internal): Call test_errno. Set errno to 0.
24433 (check_complex): Refer to errno tests in comment.
24434 (check_int): Call test_errno. Set errno to 0.
24435 (check_long): Likewise.
24436 (check_bool): Likewise.
24437 (check_longlong): Likewise.
24438 (cos_test): Use ERRNO_* flags for errno tests instead of
24439 check_int.
24440 (expm1_test): Likewise.
24441 (fmod_test): Likewise.
24442 (ilogb_test): Likewise.
24443 (lgamma_test): Likewise.
24444 (pow_test): Likewise.
24445 (remainder_test): Likewise.
24446 (sin_test): Likewise.
24447 (tan_test): Likewise.
24448 (yn_test): Likewise.
24449 (initialize): Set errno to 0.
24450 (main): Print number of errno tests.
24451 * math/gen-libm-test.pl (parse_args): Allow ERRNO flags on tests.
24452
b1a36ceb
AJ
244532013-04-29 Andreas Jaeger <aj@suse.de>
24454
c3ed8088
AJ
24455 [BZ #15084]
24456 * resolv/res_debug.c (p_option): Fix strings for RES_USEBSTRING
24457 and RES_USEVC.
24458
f1a24198
AJ
24459 [BZ #15085]
24460 * resolv/resolv.h (RES_NOCHECKNAME): Mark as unimplemented.
24461 * resolv/res_debug.c (p_option): Mark RES_NOCHECKNAME as
24462 unimplemented.
24463
9ce3b2cb
AJ
24464 [BZ #15380]
24465 * stdlib/random.c (__initstate): Return NULL if
24466 __initstate fails.
24467
f1a24198 24468 [BZ #15086]
b1a36ceb
AJ
24469 * resolv/res_debug.c (p_option): Handle RES_NOALIASES,
24470 RES_KEEPTSIG, RES_BLAST, RES_NOIP6DOTINT, RES_SNGLKUP,
24471 RES_SNGLKUPREOP.
24472
7e7b6f36
AZ
244732013-04-29 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
24474
24475 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
24476
4d14f449
JM
244772013-04-29 Joseph Myers <joseph@codesourcery.com>
24478
24479 * math/libm-test.inc (cacos_test): Add missing semicolons at ends
24480 of individual tests.
24481 (casin_test): Likewise.
24482 (casinh_test): Likewise.
24483
5b4217d7
JM
244842013-04-27 Joseph Myers <joseph@codesourcery.com>
24485
24486 [BZ #15409]
24487 * math/s_catan.c (__catan): Handle arguments with large real or
24488 imaginary part separately without squaring.
24489 * math/s_catanf.c (__catanf): Likewise.
24490 * math/s_catanh.c (__catanh): Likewise.
24491 * math/s_catanhf.c (__catanhf): Likewise.
24492 * math/s_catanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
24493 and redefine.
24494 (__catanhl): Handle arguments with large real or imaginary part
24495 separately without squaring.
24496 * math/s_catanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
24497 and redefine.
24498 (__catanl): Handle arguments with large real or imaginary part
24499 separately without squaring.
24500 * math/libm-test.inc (catan_test): Add more tests.
24501 (catanh_test): Likewise.
24502 * sysdeps/i386/fpu/libm-test-ulps: Update.
24503 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24504
4220c3ef
AJ
245052013-04-27 Andreas Jaeger <aj@suse.de>
24506
24507 [BZ #15007]
24508 * stdlib/stdlib.h: Update guards for qecvt.
24509 * stdlib/bits/stdlib-ldbl.h: Sync guards for qecvt etc with
24510 <stdlib.h>.
24511
4721b2d1
AM
245122013-04-27 Allan McRae <allan@archlinux.org>
24513
24514 * sysdeps/i386/fpu/libm-test-ulps: Update.
24515
f0302940
JM
245162013-04-26 Joseph Myers <joseph@codesourcery.com>
24517
9457fd95
JM
24518 [BZ #15406]
24519 * math/s_catan.c: Include <float.h>.
24520 (__catan): Ensure underflow exception occurs for underflowed
24521 result.
24522 * math/s_catanf.c: Include <float.h>.
24523 (__catanf): Ensure underflow exception occurs for underflowed
24524 result.
24525 * math/s_catanh.c: Include <float.h>.
24526 (__catanh): Ensure underflow exception occurs for underflowed
24527 result.
24528 * math/s_catanhf.c: Include <float.h>.
24529 (__catanhf): Ensure underflow exception occurs for underflowed
24530 result.
24531 * math/s_catanhl.c: Include <float.h>.
24532 (__catanhl): Ensure underflow exception occurs for underflowed
24533 result.
24534 * math/s_catanl.c: Include <float.h>.
24535 (__catanl): Ensure underflow exception occurs for underflowed
24536 result.
24537 * math/libm-test.inc (catan_test): Add more tests.
24538 (catanh_test): Likewise.
24539
f0302940
JM
24540 [BZ #15405]
24541 * math/s_ccosh.c (__ccosh): Ensure underflow exception occurs for
24542 underflowed result.
24543 * math/s_ccoshf.c (__ccoshf): Likewise.
24544 * math/s_ccoshl.c (__ccoshl): Likewise.
24545 * math/s_csin.c (__csin): Likewise.
24546 * math/s_csinf.c (__csinf): Likewise.
24547 * math/s_csinh.c (__csinh): Likewise.
24548 * math/s_csinhf.c (__csinhf): Likewise.
24549 * math/s_csinhl.c (__csinhl): Likewise.
24550 * math/s_csinl.c (__csinl): Likewise.
24551 * math/libm-test.inc (ccos_test): Add more tests.
24552 (ccosh_test): Likewise.
24553 (csin_test): Likewise.
24554 (csinh_test): Likewise.
24555
aa630f59
AZ
245562013-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
24557
24558 * sysdeps/powerpc/power5/fpu/s_modf.c: Moved to ...
24559 * sysdeps/powerpc/power5+/fpu/s_modf.c: ... this.
24560 * sysdeps/powerpc/power5/fpu/s_modff.c: Moved to ...
24561 * sysdeps/powerpc/power5+/fpu/s_modff.c: ... this.
24562 * sysdeps/powerpc/powerpc32/power5+/Implies: Add powerpc/power5+ and
24563 powerpc/power5+/fpu folders.
24564 * sysdeps/powerpc/powerpc64/power5+/Implies: Likewise.
24565
24566
1b835983
MT
245672013-04-26 Markus Trippelsdorf <markus@trippelsdorf.de>
24568
24569 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
24570
73709b26
JM
245712013-04-25 Joseph Myers <joseph@codesourcery.com>
24572
24573 * elf/Makefile [$(config-machine) = x86_64] (tests): Remove
24574 additions to variable.
24575 [$(config-machine) = x86_64] (modules-names): Likewise.
24576 ($(objpfx)tst-audit3): Remove dependency.
24577 ($(objpfx)tst-audit3.out): Likewise.
24578 ($(objpfx)tst-audit4): Likewise.
24579 ($(objpfx)tst-audit4.out): Likewise.
24580 ($(objpfx)tst-audit5): Likewise.
24581 ($(objpfx)tst-audit5.out): Likewise.
24582 ($(objpfx)tst-audit6): Likewise.
24583 ($(objpfx)tst-audit6.out): Likewise.
24584 ($(objpfx)tst-audit7): Likewise.
24585 ($(objpfx)tst-audit7.out): Likewise.
24586 (tst-audit3-ENV): Remove variable.
24587 (tst-audit4-ENV): Likewise.
24588 (tst-audit5-ENV): Likewise.
24589 (tst-audit6-ENV): Likewise.
24590 (tst-audit7-ENV): Likewise.
24591 [$(config-cflags-avx) = yes] (AVX-CFLAGS): Likewise.
24592 [$(config-cflags-avx) = yes] (CFLAGS-tst-audit4.c): Remove
24593 addition to variable.
24594 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4a.c): Likewise.
24595 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4b.c): Likewise.
24596 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6b.c): Likewise.
24597 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6c.c): Likewise.
24598 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod7b.c): Likewise.
24599 * sysdeps/x86_64/Makefile [$(subdir) = elf] (tests): Add
24600 tst-audit3, tst-audit4 and tst-audit5.
24601 [$(subdir) = elf && $(config-cflags-avx) = yes] (tests): Add
24602 tst-audit6 and tst-audit7.
24603 [$(subdir) = elf] (modules-names): Add audit modules for those
24604 tests.
24605 [$(subdir) = elf] ($(objpfx)tst-audit3): New dependency.
24606 [$(subdir) = elf] ($(objpfx)tst-audit3.out): Likewise.
24607 [$(subdir) = elf] ($(objpfx)tst-audit4): Likewise.
24608 [$(subdir) = elf] ($(objpfx)tst-audit4.out): Likewise.
24609 [$(subdir) = elf] ($(objpfx)tst-audit5): Likewise.
24610 [$(subdir) = elf] ($(objpfx)tst-audit5.out): Likewise.
24611 [$(subdir) = elf] ($(objpfx)tst-audit6): Likewise.
24612 [$(subdir) = elf] ($(objpfx)tst-audit6.out): Likewise.
24613 [$(subdir) = elf] ($(objpfx)tst-audit7): Likewise.
24614 [$(subdir) = elf] ($(objpfx)tst-audit7.out): Likewise.
24615 [$(subdir) = elf] (tst-audit3-ENV): New variable.
24616 [$(subdir) = elf] (tst-audit4-ENV): Likewise.
24617 [$(subdir) = elf] (tst-audit5-ENV): Likewise.
24618 [$(subdir) = elf] (tst-audit6-ENV): Likewise.
24619 [$(subdir) = elf] (tst-audit7-ENV): Likewise.
24620 [$(subdir) = elf && $(config-cflags-avx) = yes] (AVX-CFLAGS):
24621 Likewise.
24622 [$(subdir) = elf && $(config-cflags-avx) = yes]
24623 (CFLAGS-tst-audit4.c): Append $(AVX-CFLAGS).
24624 [$(subdir) = elf && $(config-cflags-avx) = yes]
24625 (CFLAGS-tst-auditmod4a.c): Likewise.
24626 [$(subdir) = elf && $(config-cflags-avx) = yes]
24627 (CFLAGS-tst-auditmod4b.c): Likewise.
24628 [$(subdir) = elf && $(config-cflags-avx) = yes]
24629 (CFLAGS-tst-auditmod6b.c): Likewise.
24630 [$(subdir) = elf && $(config-cflags-avx) = yes]
24631 (CFLAGS-tst-auditmod6c.c): Likewise.
24632 [$(subdir) = elf && $(config-cflags-avx) = yes]
24633 (CFLAGS-tst-auditmod7b.c): Likewise.
24634 * elf/tst-audit3.c: Move to ...
24635 * sysdeps/x86_64/tst-audit3.c: ... here.
24636 * elf/tst-audit4.c: Move to ...
24637 * sysdeps/x86_64/tst-audit4.c: ... here.
24638 * elf/tst-audit5.c: Move to ...
24639 * sysdeps/x86_64/tst-audit5.c: ... here.
24640 * elf/tst-audit6.c: Move to ...
24641 * sysdeps/x86_64/tst-audit6.c: ... here.
24642 * elf/tst-audit7.c: Move to ...
24643 * sysdeps/x86_64/tst-audit7.c: ... here.
24644 * elf/tst-auditmod3a.c: Move to ...
24645 * sysdeps/x86_64/tst-auditmod3a.c: ... here.
24646 * elf/tst-auditmod3b.c: Move to ...
24647 * sysdeps/x86_64/tst-auditmod3b.c: ... here.
24648 * elf/tst-auditmod4a.c: Move to ...
24649 * sysdeps/x86_64/tst-auditmod4a.c: ... here.
24650 * elf/tst-auditmod4b.c: Move to ...
24651 * sysdeps/x86_64/tst-auditmod4b.c: ... here.
24652 * elf/tst-auditmod5a.c: Move to ...
24653 * sysdeps/x86_64/tst-auditmod5a.c: ... here.
24654 * elf/tst-auditmod5b.c: Move to ...
24655 * sysdeps/x86_64/tst-auditmod5b.c: ... here.
24656 * elf/tst-auditmod6a.c: Move to ...
24657 * sysdeps/x86_64/tst-auditmod6a.c: ... here.
24658 * elf/tst-auditmod6b.c: Move to ...
24659 * sysdeps/x86_64/tst-auditmod6b.c: ... here.
24660 * elf/tst-auditmod6c.c: Move to ...
24661 * sysdeps/x86_64/tst-auditmod6c.c: ... here.
24662 * elf/tst-auditmod7a.c: Move to ...
24663 * sysdeps/x86_64/tst-auditmod7a.c: ... here.
24664 * elf/tst-auditmod7b.c: Move to ...
24665 * sysdeps/x86_64/tst-auditmod7b.c: ... here.
24666
1ef74943
PP
246672013-04-25 Paul Pluzhnikov <ppluzhnikov@google.com>
24668
24669 [BZ #15366]
24670 * sysdeps/generic/inttypes.h (PRId8, PRId16, etc.):
24671 define unconditionally.
24672 * sysdeps/generic/stdint.h (INT8_MIN, INT16_MIN, etc.):
24673 define unconditionally.
24674 (INT8_C, INT16_C, etc.): Likewise.
24675
93fd48c5
MR
246762013-04-25 Maciej W. Rozycki <macro@codesourcery.com>
24677
ae9552cf
MR
24678 * csu/libc-start.c (__libc_start_main) [!SHARED]: Declare
24679 __ehdr_start with hidden visibility.
24680
93fd48c5
MR
24681 * soft-fp/op-common.h (_FP_SQRT): s/sNAN/NAN/ in a comment.
24682
418601aa
CD
246832013-04-24 Carlos O'Donell <carlos@redhat.com>
24684
24685 * math/libm-test.inc (cos_test): Use accurate hex constants.
24686 (sincost_test): Likewise.
24687
2f38fbfe
JM
246882013-04-24 Joseph Myers <joseph@codesourcery.com>
24689
5e221800
JM
24690 * math/libm-test.inc (catan_test): Add more tests.
24691 (catanh_test): Likewise.
24692
77f143fd
JM
24693 * math/s_catanf.c (__catanf): Use suffixed floating-point
24694 constants.
24695 * math/s_catanhf.c (__catanhf): Likewise.
24696 * math/s_catanhl.c (__catanhl): Likewise.
24697 * math/s_catanl.c (__catanl): Likewise.
24698
2f38fbfe
JM
24699 [BZ #15394]
24700 * math/s_catan.c (__catan): Calculate imaginary part of result
24701 with log1p not log unless computing log of number close to 0.
24702 * math/s_catanf.c (__catanf): Likewise.
24703 * math/s_catanl.c (__catanl): Likewise.
24704 * math/s_catanh.c (__catanh): Calculate real part of result with
24705 log1p not log unless computing log of number close to 0.
24706 * math/s_catanhf.c (__catanhf): Likewise.
24707 * math/s_catanhl.c (__catanhl): Likewise.
24708 * math/libm-test.inc (catan_test): Add more tests.
24709 (catanh_test): Likewise.
24710 * sysdeps/i386/fpu/libm-test-ulps: Update.
24711 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24712
45d69176
SP
247132013-04-24 Siddhesh Poyarekar <siddhesh@redhat.com>
24714
24715 * benchtests/Makefile: Mention files in which fast and slow
24716 paths of math functions are implemented.
24717
87f51853
RM
247182013-04-23 Roland McGrath <roland@hack.frob.com>
24719
24720 * sysdeps/posix/timespec_get.c: New file.
24721
3c026539
AZ
247222013-04-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
24723
24724 * sysdeps/powerpc/power5/fpu/s_modf.c: New file: modf optimization for
24725 POWER.
24726 * sysdeps/powerpc/power5/fpu/s_modff.c: New file: modff optimization
24727 for POWER.
24728 * sysdeps/powerpc/powerpc64/power5/Implies: Add powerpc/power5 and
24729 powerpc/power5/fpu folders.
24730 * sysdeps/powerpc/powerpc32/power5/Implies: Likewise.
24731 * benchtests/Makefile: Add modf testcase.
24732 * benchtests/bench-modf.c: New file: Benchmark test for mo
24733
ff491d14
SP
247342013-04-23 Siddhesh Poyarekar <siddhesh@redhat.com>
24735
24736 [BZ #14888]
24737 * time/Makefile (tests): Add tst-strptime-whitespace.
24738 * time/strptime_l.c (get_number): Use ISSPACE.
24739 (__strptime_internal): Likewise.
24740 * time/tst-strptime-whitespace.c: New test case.
24741
7ed3f4e8
AS
247422013-04-23 Andreas Schwab <schwab@linux-m68k.org>
24743
24744 * nss/nss_files/files-init.c (TF): Don't initialize flexible array
24745 member.
24746 (_nss_files_init): Set it here.
24747
5c95f7b6
HC
247482013-04-23 Heiko Carstens <heiko.carstens@de.ibm.com>
24749
24750 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Change types of
24751 f_type, f_bsize, f_namelen, f_frsize, f_flags,and f_spare to
24752 unsigned.
24753
d34c9158
JBG
247542013-04-22 Jan-Benedict Glaw <jbglaw@getslash.de>
24755
24756 * nss/getent.c (shadow_keys): Call endspent, not endpwent.
24757
2169712d
SP
247582013-04-22 Siddhesh Poyarekar <siddhesh@redhat.com>
24759
24760 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Compute results
24761 size just once.
24762
29c5de99
DM
247632013-04-21 David S. Miller <davem@davemloft.net>
24764
24765 * po/ru.po: Update Russion translation from translation project.
24766
ccdad15d
AC
247672013-04-17 Adam Conrad <adconrad@0c3.net>
24768
24769 * sysdeps/unix/sysv/linux/sys/fsuid.h: Remove __wur from setfsuid
24770 and setfsgid.
24771
0f122b8d
CD
247722013-04-17 Carlos O'Donell <carlos@redhat.com>
24773
5c5b07da 24774 * configure.in: Remove i386 configure warning. Remove i386 case.
0f122b8d 24775 * configure: Regenerate.
5c5b07da 24776 * sysdeps/i386/configure.in: Raise error if config_machine is i386.
0f122b8d
CD
24777 Add example to error message.
24778 * sysdeps/i386/configure: Regenerate.
24779
037714dd
SP
247802013-04-17 Siddhesh Poyarekar <siddhesh@redhat.com>
24781
24782 * benchtests/Makefile (bench): Add cos, tan, slowcos and
24783 slowtan.
24784 * benchtests/cos-inputs: New file.
24785 * benchtests/slowcos-inputs: New file.
24786 * benchtests/slowcos.c: New file.
24787 * benchtests/slowtan-inputs: New file.
24788 * benchtests/slowtan.c: New file.
24789 * benchtests/tan-inputs: New file.
24790
e913141d
RM
247912013-04-16 Roland McGrath <roland@hack.frob.com>
24792
24793 * rt/tst-aio7.c (do_test): Don't test O_RDONLY fd case, which is now
24794 considered kosher.
24795
a2964074
SP
247962013-04-16 Siddhesh Poyarekar <siddhesh@redhat.com>
24797
4856bcd2
SP
24798 * benchtests/Makefile: Include cppflags-iterator.mk to add
24799 -DNOT_IN_libc=1 to CPPFLAGS of all benchmark programs.
24800
a2964074
SP
24801 * Makefile.in (bench-clean): New target.
24802 * benchtests/Makefile (bench-clean): Likewise.
24803
9fbf9aca
DH
248042013-04-16 David Holsgrove <david.holsgrove@xilinx.com>
24805
24806 * elf/elf.h: Add EM_MICROBLAZE and MicroBlaze relocations.
24807
207d1e2a
TS
248082013-04-15 Thomas Schwinge <thomas@codesourcery.com>
24809
24810 * stdio-common/tstdiomisc.c: Fix coding-style violation.
24811
306dfba9
AS
248122013-04-15 Andreas Schwab <schwab@suse.de>
24813
24814 * nscd/grpcache.c (cache_addgr): Properly check for short write.
24815 * nscd/initgrcache.c (addinitgroupsX): Likewise.
24816 * nscd/pwdcache.c (cache_addpw): Likewise.
24817 * nscd/servicescache.c (cache_addserv): Likewise. Don't write
24818 more than recsize.
24819
206a6699
SP
248202013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
24821
24822 * benchtests/Makefile (bench): Write all output to
24823 bench-out.tmp together.
24824
0582f6b3
AS
248252013-04-15 Andreas Schwab <schwab@suse.de>
24826
24827 * nscd/nscd.c (main): Don't fork again after closing files.
24828
acb4325f
SP
248292013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
24830
5cb26d0a
SP
24831 * libio/tst-fwrite-error.c (do_test): Fix BUF array definition.
24832
acb4325f
SP
24833 * benchtests/Rules (bench-deps): Collect dependencies into a
24834 single variable. Add Makefile to dependencies.
24835 ($(objpfx)bench-%.c): Depend on bench-deps.
24836
47792506
RM
248372013-04-12 Roland McGrath <roland@hack.frob.com>
24838 Xavier Roche <roche+kml2@exalead.com>
24839
24840 [BZ #15361]
24841 * sysdeps/pthread/aio_fsync.c (aio_fsync): Don't check open modes,
24842 just that it's a file descriptor.
24843 * manual/llio.texi (Synchronizing AIO Operations): Update description
24844 for EBADF error from aio_fsync.
24845
8fc1bee5
SP
248462013-04-12 Siddhesh Poyarekar <siddhesh@redhat.com>
24847
24848 * Rules (bench): Move target definition...
24849 * benchtests/Makefile: ... here.
24850
aba5e333
CD
248512013-04-11 Carlos O'Donell <carlos@redhat.com>
24852
24853 * math/libm-test.inc (cos_test): Fix PI/2 test.
24854 (sincos_test): Likewise.
24855 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
24856 * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
24857
273cdee8
AS
248582013-04-11 Andreas Schwab <schwab@suse.de>
24859
6ecec3b6
AS
24860 [BZ #13988]
24861 * stdio-common/vfscanf.c (_IO_vfwscanf): When parsing a float
24862 accept exponent character only when digits were seen.
24863 * stdio-common/Makefile (tests): Add bug26.
24864 * stdio-common/bug26.c: New file.
24865
273cdee8
AS
24866 [BZ #14293]
24867 * elf/dl-load.c (_dl_init_paths): Mark decomposed RUNPATH as
24868 non-freeable.
24869
8da491f5
SP
248702013-04-11 Siddhesh Poyarekar <siddhesh@redhat.com>
24871
01dc6df9
SP
24872 * Makeconfig (rtld-prefix): Define built linker prefix.
24873 * Rules (run-bench): Use it.
24874 * math/Makefile (run-regen-ulps): Likewise.
24875
8da491f5
SP
24876 * Rules (bench): Remove eval.
24877
abe7f530
SP
248782013-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
24879 Roland McGrath <roland@hack.frob.com>
24880 Ondrej Bilka <neleai@seznam.cz>
24881
24882 [BZ #15346]
24883 * time/getdate.c: Include ctype.h and alloca.h.
24884 (__getdate_r): Trim leading and trailing spaces of input.
24885 * time/tst-getdate.c (tests): Add tests with leading and
24886 trailing spaces.
24887
61c23e62
RM
248882013-04-08 Roland McGrath <roland@hack.frob.com>
24889
24890 [BZ #14280]
24891 * sysdeps/mach/hurd/bits/ioctls.h (_IOTS): Cast to enum __ioctl_datum
24892 when computing value.
24893
7208a313
CD
248942013-04-06 Carlos O'Donell <carlos@redhat.com>
24895
085b2d41
CD
24896 * math/README.libm-test (How can I generate "libm-test-ulps"?):
24897 Use testrun.sh to run libm tests.
24898
7208a313
CD
24899 [BZ #15309]
24900 * elf/dl-open.c (dl_open_worker): memset all of seen array.
24901
872c0acd
MM
249022013-04-06 Marko Myllynen <myllynen@redhat.com>
24903
24904 [BZ #15264]
24905 * locales/fi_FI (LC_MESSAGES): Define yesstr and nostr.
24906
26510bdd
CD
249072013-04-06 Carlos O'Donell <carlos@redhat.com>
24908
24909 * Makefile.in (regen-ulps): New target.
24910 * math/Makefile [ifneq (no,$(PERL)]: Declare regen-ulps with .PHONY.
24911 [ifneq (no,$(PERL)] (run-regen-ulps): New variable.
24912 [ifneq (no,$(PERL)] (regen-ulps): New target.
24913 [ifeq (no,$(PERL)] (regen-ulps): New target.
24914 * math/libm-test.inc (ulps_file_name): Define.
24915 (output_dir): New variable.
24916 (options): Add "output-dir" option.
24917 (parse_opt): Handle 'o' case.
24918 (main): If output_dir is non-NULL use it as a prefix
24919 otherwise use "".
24920 * math/README.libm-test: Update `How can I generate "libm-test-ulps"?'
24921
a01f19c8
CD
249222013-04-06 Carlos O'Donell <carlos@redhat.com>
24923
24924 [BZ #10060, #10062]
24925 * aclocal.m4 (LIBC_COMPILER_BUILTIN_INLINED): New macro.
24926 * sysdeps/i386/configure.in: Use LIBC_COMPILER_BUILTIN_INLINED and
24927 fail configure if __sync_val_compare_and_swap is not inlined.
24928 * sysdeps/i386/configure: Regenerate.
24929 * configure.in: Build for i686 when configured for i386.
24930 * configure: Regenerate.
24931 * README: Remove i386 reference.
24932
b7a329a5
CD
249332013-04-06 Carlos O'Donell <carlos@redhat.com>
24934
24935 * sysdeps/s390/s390-32/sysdep.h: Undefine PSEUDO before redefinition.
24936 * sysdeps/s390/s390-64/sysdep.h: Likewise.
24937
bf0f50df
TS
249382013-04-05 Thomas Schwinge <thomas@codesourcery.com>
24939
ee091edf
TS
24940 * stdio-common/tstdiomisc.c (snanval, msnanval, lsnanval)
24941 (lmsnanval): New variables.
24942 (F): Add conversion tests.
24943 * stdlib/tst-strtod6.c (do_test): Add issignaling tests.
24944 * stdlib/Makefile ($(objpfx)tst-strtod6): Depend on $(link-libm).
24945
a8b792d6
TS
24946 * stdio-common/tstdiomisc.c (F): Properly collect individual
24947 tests' results.
24948
a1cbf437
TS
24949 [BZ #14686, #15336]
24950 * sysdeps/ieee754/dbl-64/urem.h (nNAN, NAN): Remove definitions.
24951 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
24952 Instead, use input NaN values or generate a qNaN by arithmetic
24953 operation. Also fix bugs to comply with the standard.
24954 * math/libm-test.inc (remainder_test): Add more tests.
24955
8b43a0c9
TS
24956 [BZ #15335, #15342]
24957 * sysdeps/ieee754/dbl-64/upow.h (NaNQ): Remove definitions.
24958 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Instead, use
24959 input NaN values or generate a qNaN by arithmetic operation.
24960
d91da4ce
TS
24961 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Remove
24962 unreachable code.
24963
bf0f50df
TS
24964 * sysdeps/ieee754/dbl-64/usncs.h (NAN): Removed unused
24965 definitions.
24966
05e166c8
JM
249672013-04-03 Joseph Myers <joseph@codesourcery.com>
24968
24969 [BZ #14478]
24970 * math/s_cexp.c (__cexp): Ensure underflow exception occurs for
24971 underflowed result.
24972 * math/s_cexpf.c (__cexpf): Likewise.
24973 * math/s_cexpl.c (__cexpl): Likewise.
24974 * math/libm-test.inc (cexp_test): Add more tests.
24975
1cef1b19
AS
249762013-04-03 Andreas Schwab <schwab@suse.de>
24977
24978 [BZ #15330]
24979 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Allocate results and
24980 order arrays from heap if bigger than alloca cutoff.
24981
74d87055
TS
249822013-04-03 Thomas Schwinge <thomas@codesourcery.com>
24983
24984 * sysdeps/i386/fpu/math-tests.h (SNAN_TESTS_float)
24985 (SNAN_TESTS_double): Refer to GCC PR56831.
24986 * sysdeps/powerpc/math-tests.h (SNAN_TESTS_TYPE_CAST): Refer to
24987 GCC PR56828.
24988
d755bba4
SP
249892013-04-03 Siddhesh Poyarekar <siddhesh@redhat.com>
24990
90d5d5bb
SP
24991 * Rules (bench): Move bench.out after the run is complete.
24992
73e0cd5d
SP
24993 * Rules (bench): Echo currently running benchmark.
24994
64aabd4b
SP
24995 * benchtests/Makefile (bench): Add atan and slowatan.
24996 * benchtests/atan-inputs: New file.
24997 * benchtests/slowatan-inputs: New file.
24998 * benchtests/slowatan.c: New file.
24999
c871eccd
SP
25000 * sysdeps/ieee754/dbl-64/mpa.h (TWO): Remove definition.
25001 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Replace TWO with
25002 its value.
25003
d755bba4
SP
25004 [BZ #15305]
25005 * sysdeps/unix/sysv/linux/kernel-features.h
25006 [__LINUX_KERNEL_VERSION >= 0x02061d]: Define
25007 __ASSUME_XFS_RESTRICTED_CHOWN.
25008 * sysdeps/unix/sysv/linux/pathconf.c
25009 (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
25010 Save and restore errno.
25011
52ce4860
JM
250122013-04-02 Joseph Myers <joseph@codesourcery.com>
25013
25014 [BZ #15327]
25015 * math/s_cacosh.c (__cacosh): Implement for finite nonzero
25016 arguments using __kernel_casinh.
25017 * math/s_cacoshf.c (__cacoshf): Implement for finite nonzero
25018 arguments using __kernel_casinhf.
25019 * math/s_cacoshl.c (__cacoshl): Implement for finite nonzero
25020 arguments using __kernel_casinhl.
25021 * math/libm-test.inc (cacosh_test): Add more tests.
25022 * sysdeps/i386/fpu/libm-test-ulps: Update.
25023 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25024
81f311c2
SP
250252013-04-02 Siddhesh Poyarekar <siddhesh@redhat.com>
25026
e7906a47
SP
25027 * sysdeps/ieee754/dbl-64/mpa.h (HALFRAD): Define as TWO23.
25028 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Use mantissa_t.
25029
92e3664b
SP
25030 * bench/Makefile (bench): Add sin and slowsin.
25031 * benchtests/sin-inputs: New file.
25032 * benchtests/slowsin-inputs: New file.
25033 * benchtests/slowsin.c: New file.
25034
81f311c2
SP
25035 * benchtests/Makefile: Add benchmarks for slowpow and slowexp.
25036 (bench): Add slowexp and slowpow.
25037 (exp-ITER): Increase iterations.
25038 (pow-ITER): Likewise.
25039 * benchtests/exp-inputs: Change input.
25040 * benchtests/pow-inputs: Likewise.
25041 * benchtests/slowexp-inputs: New file.
25042 * benchtests/slowexp.c: New file.
25043 * benchtests/slowpow-inputs: New file.
25044 * benchtests/slowpow.c: New file.
25045
ab0f1aa9
AZ
250462013-04-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
25047
25048 * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Remove branch prediction
25049 instructions.
25050 * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Likewise.
25051 * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Likewise.
25052 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
25053 * benchtests/Makefile: Add rint benchtest.
25054 * benchtests/rint-inputs: Input for rint benchtest.
25055
57267616
TS
250562013-04-02 Thomas Schwinge <thomas@codesourcery.com>
25057
25058 * Versions.def (libm): Add GLIBC_2.18.
25059 * include/math.h [!_ISOMAC] (__issignaling, __issignalingf): Add
25060 hidden libm prototypes.
25061 [!_ISOMAC && !__NO_LONG_DOUBLE_MATH] (__issignalingl): Likewise.
25062 * math/Makefile (libm-calls): Add s_issignaling.
25063 * math/Versions (libm: GLIBC_2.18): Add __issignaling,
25064 __issignalingf, __issignalingl. Adjust all libm.abilist files.
25065 * math/bits/mathcalls.h [__USE_GNU] (__issignaling): New prototype
25066 declaration.
25067 * math/math.h [__USE_GNU] (issignaling): New macro.
25068 * sysdeps/ieee754/flt-32/s_issignalingf.c: New file.
25069 * sysdeps/ieee754/dbl-64/s_issignaling.c: Likewise.
25070 * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c: Likewise.
25071 * sysdeps/ieee754/ldbl-96/s_issignalingl.c: Likewise.
25072 * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Likewise.
25073 * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c: Likewise.
25074 * manual/arith.texi (issignaling): New section.
25075 * manual/libm-err-tab.pl (@all_functions): Update comment.
25076 * math/gen-libm-test.pl (parse_args): Apply special handling for
25077 issignaling.
25078 * math/libm-test.inc (print_float, issignaling_test): New
25079 functions.
25080 (check_float_internal): Add issignaling checks.
25081 * sysdeps/generic/math-tests.h (SNAN_TESTS_TYPE_CAST): Provide
25082 default definition.
25083 * sysdeps/powerpc/math-tests.h: New file.
25084 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Add issignaling
25085 tests.
25086 * math/test-snan.c (TEST_FUNC): Likewise.
25087
6142896d
DM
250882013-03-30 David S. Miller <davem@davemloft.net>
25089
25090 * po/de.po: Update from translation team.
25091
ccc8cadf
JM
250922013-03-30 Joseph Myers <joseph@codesourcery.com>
25093
25094 [BZ #10357]
25095 * math/k_casinh.c (__kernel_casinh): Handle arguments with
25096 imaginary part less than 1.0 and real part less than 0.5
25097 specially.
25098 * math/k_casinhf.c (__kernel_casinhf): Likewise.
25099 * math/k_casinhl.c (__kernel_casinhl): Likewise.
25100 * math/libm-test.inc (UNDERFLOW_EXCEPTION_OK_DOUBLE): New macro.
25101 (cacos_test): Add more tests.
25102 (casin_test): Likewise.
25103 (casinh_test): Likewise.
25104 * sysdeps/i386/fpu/libm-test-ulps: Update.
25105 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25106
0f6a8d4b
SP
251072013-03-29 Siddhesh Poyarekar <siddhesh@redhat.com>
25108
0d1029de
SP
25109 * sysdeps/powerpc/power4/fpu/mpa-arch.h (INTEGER_OF): Replace
25110 ONE with its value.
25111
c2d94018
SP
25112 * sysdeps/ieee754/dbl-64/mpa.h (ONE, MONE): Remove defines.
25113 (__pow_mp): Replace ONE and MONE with their values.
25114 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
25115 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Likewise.
25116 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
25117 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Likewise.
25118 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
25119 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
25120
27ec37f1
SP
25121 * sysdeps/ieee754/dbl-64/s_tan.c: Fix formatting.
25122
a64d7e0e
SP
25123 * sysdeps/ieee754/dbl-64/mpa.h (ZERO, MZERO): Remove defines.
25124 (__pow_mp): Replace ZERO and MZERO with their values.
25125 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
25126 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
25127 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
25128 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
25129 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
25130 * sysdeps/powerpc/power4/fpu/mpa.c (__mul): Likewise.
25131 (__sqr): Likewise.
25132
d26dd3eb
SP
25133 * sysdeps/ieee754/dbl-64/s_atan.c: Fix formatting.
25134
0f6a8d4b
SP
25135 * sysdeps/ieee754/dbl-64/e_log.c: Fix formatting.
25136
e57b0c61
RM
251372013-03-28 Roland McGrath <roland@hack.frob.com>
25138
25139 * include/stdlib.h [!SHARED] (__call_tls_dtors):
25140 Declare with __attribute__ ((weak)).
25141 * stdlib/exit.c (__libc_atexit) [!SHARED]:
25142 Call __call_tls_dtors only if it's not NULL.
25143
356b3480
RM
251442013-03-28 Roland McGrath <roland@hack.frob.com>
25145
288f7d79
RM
25146 * csu/libc-start.c (__libc_start_main) [!SHARED]: If _dl_aux_init
25147 didn't do it already, then set _dl_phdr and _dl_phnum based on the
25148 magic __ehdr_start linker symbol if it's defined.
25149 * sysdeps/mach/hurd/i386/init-first.c (init1) [!SHARED]: Don't set
25150 them up here if it was already done.
25151
dc0a0263
RM
25152 * elf/dl-support.c (_dl_phdr): Make pointer to const.
25153 (_dl_aux_init): Use const in cast when setting it.
25154 * sysdeps/mach/hurd/i386/init-first.c (init1): Remove superfluous cast.
25155 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr): Update decl.
25156 * csu/libc-tls.c (__libc_setup_tls): Make PHDR pointer to const.
25157
3d3436ae
RM
25158 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr, _dl_phnum):
25159 Declare them here.
25160 * elf/dl-iteratephdr.c [!SHARED] (_dl_phdr, _dl_phnum): Not here.
25161 * csu/libc-tls.c: Nor here.
25162 * sysdeps/mach/hurd/i386/init-first.c (init1): Nor here.
25163
356b3480
RM
25164 * sysdeps/posix/libc_fatal.c: Don't include <sys/syslog.h>.
25165 (__libc_message): Never call vsyslog.
25166
b0f1246a
AM
251672013-03-28 Alan Modra <amodra@gmail.com>
25168
25169 * sysdeps/powerpc/powerpc32/start.S (cfi_startproc, cfi_endproc):
25170 Define as empty.
25171 * sysdeps/powerpc/powerpc64/start.S (cfi_startproc, cfi_endproc):
25172 Likewise.
25173
fbbe2b9a
AZ
251742013-03-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
25175
25176 [BZ #15214]
25177 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Fix spurious
25178 underflow.
25179 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
25180
1728ab37
SP
251812013-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
25182
7a86be6e
SP
25183 [BZ #15304]
25184 * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
25185 Don't add gid passed as argument.
25186
1728ab37
SP
25187 * sysdeps/ieee-754/dbl-64/e_atan2.c: Reformat.
25188
3a7182a1
JM
251892013-03-27 Joseph Myers <joseph@codesourcery.com>
25190
25191 [BZ #15307]
25192 * math/k_casinh.c (__kernel_casinh): Handle arguments with
25193 imaginary part between 1.0 and 1.5 and real part less than 0.5
25194 specially.
25195 * math/k_casinhf.c (__kernel_casinhf): Likewise.
25196 * math/k_casinhl.c (__kernel_casinhl): Likewise.
25197 * math/libm-test.inc (cacos_test): Add more tests.
25198 (casin_test): Likewise.
25199 (casinh_test): Likewise.
25200 * sysdeps/i386/fpu/libm-test-ulps: Update.
25201 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25202
6f2e90e7
SP
252032013-03-26 Siddhesh Poyarekar <siddhesh@redhat.com>
25204
5739f705
SP
25205 * sysdeps/ieee754/dbl-64/mpa.c (__acr): Use integral
25206 constants.
25207 (norm): Likewise.
25208 (denorm): Likewise.
25209 (__dbl_mp): Likewise.
25210 (add_magnitudes): Likewise.
25211 (sub_magnitudes): Likewise.
25212 (__add): Likewise.
25213 (__sub): Likewise.
25214 (__mul): Likewise.
25215 (__sqr): Likewise.
25216 (__inv): Likewise.
25217 (__dvd): Likewise.
25218
e375e83d
SP
25219 * sysdeps/ieee754/dbl-64/branred.c (__branred): Remove
25220 commented code.
25221 * sysdeps/ieee754/dbl-64/dosincos.c (__dubsin): Likewise.
25222 (__dubcos): Likewise.
25223 * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Likewise.
25224 (__ieee754_acos): Likewise.
25225 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
25226 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Likewise.
25227 (__exp1): Likewise.
25228 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
25229 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
25230 (log1): Likewise.
25231 (my_log2): Likewise.
25232 (checkint): Likewise.
25233 * sysdeps/ieee754/dbl-64/e_remainder.c
25234 (__ieee754_remainder): Likewise.
25235 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
25236 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
25237 (bsloww): Likewise.
25238 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
25239
6f2e90e7
SP
25240 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
25241 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T and
25242 MANTISSA_STORE_T to store computations on mantissa. Use
25243 macros for rounding and division.
25244 (denorm): Likewise.
25245 (__dbl_mp): Likewise.
25246 (add_magnitudes): Likewise.
25247 (sub_magnitudes): Likewise.
25248 (__mul): Likewise.
25249 (__sqr): Likewise.
25250 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
25251 powers of two in terms of TWOPOW macro.
25252 (mp_no): Make type of mantissa as MANTISSA_T.
25253 [!RADIXI]: Define RADIXI.
25254 [!TWO52]: Define TWO52.
25255 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
25256
fce14d4e
AZ
252572013-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
25258
25259 * sysdeps/powerpc/fpu/s_llround.c: Fix libm ABI issue with missing
25260 llroundl symbol when building for PPC32.
25261
9ad027fb
MW
252622013-03-24 Mark H Weaver <mhw@netris.org>
25263
25264 * manual/arith.texi (Normalization Functions): Fix prototypes for
25265 scalbn, scalbnf, scalbnl, scalbln, scalblnf, and scalblnl.
25266
e42a38dd
AZ
252672013-03-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
25268
25269 [BZ #13889]
25270 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Increase the
25271 high value to check if expl overflow.
25272 * sysdeps/ieee754/ldbl-128ibm/w_expl.c (__expl): Fix threshold constants
25273 to check for underflow and overflow.
25274 * math/libm-test.inc: Add exp test.
25275
2e0fb521
DL
252762013-03-21 Dmitry V. Levin <ldv@altlinux.org>
25277
25278 [BZ #11120]
25279 * sysdeps/x86_64/strcmp.S: Replace all occurrences of NOT_IN_lib
25280 with NOT_IN_libc.
25281
b5784d95
AZ
252822013-03-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
25283
25284 * sysdeps/powerpc/fpu/w_sqrt.c (compat_symbol): Add sqrtl compat
25285 symbol.
25286
5aa4a1a1
TS
252872013-03-21 Thomas Schwinge <thomas@codesourcery.com>
25288
bdef0be7
TS
25289 * math/gen-libm-test.pl (parse_args, special_functions): Properly
25290 wrap blocks consisting of several statements.
25291
5aa4a1a1
TS
25292 * sysdeps/generic/math-tests.h: New file.
25293 * sysdeps/i386/fpu/math-tests.h: Likewise.
25294 * math/test-snan.c: Include it.
25295 (TEST_FUNC): Use SNAN_TESTS to short-circuit certain tests.
25296
98c48fe5
JM
252972013-03-21 Joseph Myers <joseph@codesourcery.com>
25298
25299 [BZ #15285]
25300 * sysdeps/ieee754/ldbl-128/e_j0l.c: Include <float.h>.
25301 (__ieee754_j0l): Do not improve calculations using cos of twice
25302 input for inputs above LDBL_MAX / 2.0L.
25303 (__ieee754_y0l): Likewise.
25304 * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <float.h>.
25305 (__ieee754_j1l): Do not improve calculations using cos of twice
25306 input for inputs above LDBL_MAX / 2.0L.
25307 (__ieee754_y1l): Likewise.
25308 * math/libm-test.inc (j0_test): Add another test.
25309 (j1_test): Likewise.
25310 (y0_test): Likewise.
25311 (y1_test): Likewise.
25312 * sysdeps/i386/fpu/libm-test-ulps: Update.
25313
3775a8bc
SP
253142013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
25315
25316 * Rules ($(objpfx)bench-%.c): Include code from a C source
25317 file.
25318
0a1b2ae6
JM
253192013-03-21 Joseph Myers <joseph@codesourcery.com>
25320
25321 [BZ #15287]
25322 * math/k_casinh.c (__kernel_casinh): Handle arguments with
25323 imaginary part 1.0 and real part less than 0.5 specially.
25324 * math/k_casinhf.c (__kernel_casinhf): Likewise.
25325 * math/k_casinhl.c (__kernel_casinhl): Likewise.
25326 * math/libm-test.inc (cacos_test): Add more tests.
25327 (casin_test): Likewise.
25328 (casinh_test): Likewise.
25329 * sysdeps/i386/fpu/libm-test-ulps: Update.
25330 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25331
b33d4ce4
SP
253322013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
25333
25334 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Use HALFRAD.
25335 * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Likewise.
25336
bef0b507
JM
253372013-03-20 Joseph Myers <joseph@codesourcery.com>
25338
25339 * aclocal.m4 (LIBC_CONFIG_VAR): New autoconf macro.
25340 * config.make.in (config-cflags-sse4): Remove variable.
25341 (config-cflags-avx): Likewise.
25342 (config-cflags-sse2avx): Likewise.
25343 (config-cflags-novzeroupper): Likewise.
25344 (config-asflags-i686): Likewise.
25345 (have-mfma4): Likewise.
25346 (have-as-vis3): Likewise.
25347 (MIG): Likewise.
25348 * configure.in (MIG): Do not AC_SUBST.
25349 (libc_cv_cc_nofma): Move AC_SUBST next to configure test.
25350 (libc_cv_cc_sse4): Do not AC_SUBST.
25351 (libc_cv_cc_avx): Likewise.
25352 (libc_cv_cc_sse2avx): Likewise.
25353 (libc_cv_cc_novzeroupper): Likewise.
25354 (libc_cv_cc_fma4): Likewise.
25355 (libc_cv_as_i686): Likewise.
25356 (libc_cv_sparc_as_vis3): Likewise.
25357 * sysdeps/i386/configure.in (config-cflags-sse4): Set using
25358 LIBC_CONFIG_VAR.
25359 (config-asflags-i686): Likewise.
25360 (config-cflags-avx): Likewise.
25361 (config-cflags-sse2avx): Likewise.
25362 (have-mfma4): Likewise.
25363 (config-cflags-novzeroupper): Likewise.
25364 * sysdeps/mach/configure.in (MIG): Likewise.
25365 * sysdeps/sparc/configure.in (have-as-vis3): Likewise.
25366 * sysdeps/x86_64/configure.in (config-cflags-sse4): Set using
25367 LIBC_CONFIG_VAR.
25368 (config-cflags-avx): Likewise.
25369 (config-cflags-sse2avx): Likewise.
25370 (have-mfma4): Likewise.
25371 (config-cflags-novzeroupper): Likewise.
25372 * configure: Regenerated.
25373 * sysdeps/i386/configure: Likewise.
25374 * sysdeps/mach/configure: Likewise.
25375 * sysdeps/sparc/configure: Likewise.
25376 * sysdeps/x86_64/configure: Likewise.
25377
912cc4b3
RM
253782013-03-20 Roland McGrath <roland@hack.frob.com>
25379
25380 [BZ #14812]
25381 * locale/programs/localedef.c (options): Put N_ translation marker
25382 on argument names, not just descriptions.
25383
04eed2b0
MS
253842013-03-20 Marcus Shawcroft <marcus.shawcroft@linaro.org>
25385
25386 * Makerules ($(inst_libdir)/libc.so): Use $(rtlddir).
25387
a065ceff
OB
253882013-03-20 Ondřej Bílka <neleai@seznam.cz>
25389
9bb2a810 25390 [BZ #14176]
a065ceff
OB
25391 * stdlib/stdlib.h (mblen, mbtowc, wctomb): Remove __wur.
25392
a600e5ce
RM
253932013-03-19 Roland McGrath <roland@hack.frob.com>
25394
25395 * sysdeps/posix/libc_fatal.c: Include <sys/mman.h>.
25396 [!WRITEV_FOR_FATAL] (writev_for_fatal): New function.
25397 [!WRITEV_FOR_FATAL] (WRITEV_FOR_FATAL): New macro; call that.
25398 [!BEFORE_ABORT] (before_abort): New function.
25399 [!BEFORE_ABORT] (BEFORE_ABORT): New macro; call that.
25400 * sysdeps/unix/sysv/linux/libc_fatal.c: Trim includes.
25401 (writev_for_fatal): New function.
25402 (WRITEV_FOR_FATAL): New macro; call that.
25403 (backtrace_and_maps): New function.
25404 (BEFORE_ABORT): New macro; call that.
25405 (struct str_list): Type removed.
25406 (__libc_message, __libc_fatal): Functions removed.
25407 Include <sysdeps/posix/libc_fatal.c> instead.
25408
6b18bea6
JM
254092013-03-19 Joseph Myers <joseph@codesourcery.com>
25410
25411 * math/k_casinhf.c (__kernel_casinhf): Consistently use float
25412 constants.
25413 * math/k_casinhl.c (__kernel_casinhl): Consistently use long
25414 double constants.
25415
aaa8cb4b
AS
254162013-03-19 Andreas Schwab <schwab@suse.de>
25417
44673770
AS
25418 * sysdeps/gnu/configure.in: Set libc_cv_rtldir for s390x.
25419 * sysdeps/gnu/configure: Regenerate.
25420
aaa8cb4b
AS
25421 * configure.in: Substitute libc_cv_rtlddir.
25422 * configure: Regenerate.
25423 * config.make.in (rtlddir): Set from libc_cv_rtlddir.
25424 * Makeconfig (rtlddir, inst_rtlddir): New variables.
25425 (rtld-LDFLAGS): Use them with $(rtld-installed-name).
25426 * elf/Makefile (install-others, CFLAGS-interp.c)
25427 (ldso_install, common-ldd-rewrite): Likewise.
25428 ($(inst_rtlddir)/$(rtld-installed-name)): Renamed from
25429 $(inst_slibdir)/$(rtld-installed-name).
25430 * scripts/rellns-sh: Add -p option.
25431 * Makerules (make-shlib-link): Use rellns-sh to get relative name
25432 for source.
25433
d3cfc668
SP
254342013-03-19 Siddhesh Poyarekar <siddhesh@redhat.com>
25435
25436 * manual/nptl.texi: Renamed to ...
25437 * manual/threads.texi: ... this.
25438 * manual/Makefile (chapters): Update.
25439
0e2b9cdd
RM
254402013-03-18 Roland McGrath <roland@hack.frob.com>
25441
25442 [BZ #14812]
25443 * argp/argp-parse.c (argp_default_options): Put N_ translation marker
25444 on argument names, not just descriptions.
0e2b9cdd
RM
25445 * malloc/memusagestat.c (options): Likewise.
25446 * nss/getent.c (options): Likewise.
63270c24
RM
25447
254482013-03-18 Benno Schulenberg <bensberg@justemail.net>
25449
25450 [BZ #14812]
25451 * iconv/iconv_prog.c (options): Put N_ translation marker
25452 on argument names, not just descriptions.
25453 * iconv/iconvconfig.c (options): Likewise.
0e2b9cdd 25454
b2e1393c
OB
254552013-03-18 Ondrej Bilka <neleai@seznam.cz>
25456
25457 * sysdeps/x86_64/strlen.S: Replace with new SSE2 based
25458 implementation which is faster on all x86_64 architectures.
25459 Tested on AMD, Intel Nehalem, SNB, IVB.
25460 * sysdeps/x86_64/strnlen.S: Likewise.
25461
25462 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
25463 Remove all multiarch strlen and strnlen versions.
25464 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
25465 Remove strlen and strnlen related parts.
25466
25467 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Update.
25468 Inline strlen part.
25469 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
25470
25471 * sysdeps/x86_64/multiarch/strlen.S: Remove.
25472 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S: Likewise.
25473 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: Likewise.
25474 * sysdeps/x86_64/multiarch/strlen-sse4.S: Likewise.
25475 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
25476 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: Likewise.
25477
ec4ff04d
CD
254782013-03-17 Carlos O'Donell <carlos@redhat.com>
25479
25480 * manual/memory.texi (Malloc Tunable Parameters):
25481 Sort parameters alphabetically. Add comments for missing entries.
25482
cd18e90a
DM
254832013-03-17 David S. Miller <davem@davemloft.net>
25484
25485 * sysdeps/sparc/fpu/libm-test-ulps: Update.
25486
2a185d32
JM
254872013-03-16 Joseph Myers <joseph@codesourcery.com>
25488
d2f9799e
JM
25489 [BZ #15283]
25490 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_y1l): Correct test
25491 for arguments at most half maximum finite value.
25492 * math/libm-test.inc (j0_test): Add more tests.
25493 (j1_test): Likewise.
25494 (y0_test): Likewise.
25495 (y1_test): Likewise.
25496 * sysdeps/i386/fpu/libm-test-ulps: Update.
25497 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25498
2a185d32
JM
25499 [BZ #14155]
25500 * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Do not compute
25501 1 / x and functions P and Q for arguments above 0x1p256L.
25502 (__ieee754_y0l): Likewise.
25503 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
25504 (__ieee754_y1l): Likewise.
25505 * math/libm-test.inc (j0_test): Do not allow spurious underflows.
25506 (j1_test): Likewise.
25507 (y0_test): Likewise.
25508 (y1_test): Likewise.
25509
6cbec759
TS
255102013-03-16 Thomas Schwinge <thomas@codesourcery.com>
25511
25512 * math/test-snan.c (TEST_FUNC): Add and use minus_sNaN_var
25513 variable.
25514
bc16e260
RM
255152013-03-15 Roland McGrath <roland@hack.frob.com>
25516
aefc9b8c
RM
25517 * elf/dl-support.c (_dl_aux_init): Ignore zero value for AT_PAGESZ.
25518 (_dl_non_dynamic_init): Don't set _dl_pagesize; it will never be
25519 zero since it's initialized to EXEC_PAGESIZE.
25520
bc16e260
RM
25521 * sysdeps/unix/sysv/linux/ldsodefs.h
25522 (_dl_non_dynamic_init, _dl_aux_init): Move declarations to ...
25523 * sysdeps/generic/ldsodefs.h: ... here.
25524
a57da955
TS
255252013-03-15 Thomas Schwinge <thomas@codesourcery.com>
25526
af00a34d
TS
25527 * math/libm-test.inc (ldexp_test): Add missing START/END markers.
25528
495ded2c
TS
25529 * sysdeps/powerpc/fpu/test-powerpc-snan.c: Rename to
25530 math/test-snan.c.
25531 * math/test-snan.c: Renamed from
25532 sysdeps/powerpc/fpu/test-powerpc-snan.c.
25533 * math/Makefile (tests): Add test-snan.
25534 * sysdeps/powerpc/fpu/Makefile (libm-tests): Don't add
25535 test-powerpc-snan.
25536
777b0332
TS
25537 * math/basic-test.c (TEST_FUNC): Replace NANFUNC argument with
25538 SUFFIX. Initialize qNaN_var with __builtin_nan family of
25539 functions.
25540 (TEST_TRUNC): Add SUFFIX argument. Initialize qNaN_var with
25541 __builtin_nan family of functions.
25542 * math/libm-test.inc (initialize): Initialize qnan_value with
25543 __builtin_nan family of functions.
25544 * sysdeps/powerpc/fpu/test-powerpc-snan.c (SNANf, SNAN, SNANl):
25545 Remove variables.
25546 (init_signaling_nan, snan_float, snan_double, snan_ldouble):
25547 Remove functions.
25548 (TEST_FUNC): Add SUFFIX argument. Move sNaN_var into static
25549 storage class. Initialize qNaN_var and sNaN_var with
25550 __builtin_nan and __builtin_nans families of functions,
25551 respectively.
25552
64d063b8
TS
25553 * math/libm-test.inc (acosh_test): Also test with qNaN input.
25554 (sqrt_test): Remove duplicate test with qNaN input.
25555 (lrint_test, llrint_test, lround_test, llround_test, rint_test)
25556 (round_test, signbit_test, significand_test): Note missing +/-Inf
25557 as well as qNaN tests.
25558
67e971f1
TS
25559 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Rename NaN_var to
25560 qNaN_var. Fix a few strings, too.
25561 * math/libm-test.inc (nan_value): Rename to qnan_value.
25562 * math/gen-libm-test.pl (%beautify): Adjust to that.
25563 * math/bits/mathcalls.h (nan): Refer to qNaN instead of NaN.
25564 * math/test-misc.c (main): Likewise.
25565 * sysdeps/ieee754/bits/nan.h (__nan_bytes, __nan_union): Rename
25566 to __qnan_bytes, and __qnan_union, respectively.
25567 * ports/sysdeps/mips/bits/nan.h (__nan_bytes, __nan_union):
25568 Likewise.
25569 * stdio-common/tstdiomisc.c (nanval, lnanval): Rename to qnanval,
25570 and lqnanval, respectively.
25571 * sysdeps/powerpc/bits/fenv.h: Fix usage of NaN/qNaN/sNaN.
25572 * sysdeps/powerpc/fpu/fenv_libc.h: Likewise.
25573 * sysdeps/powerpc/fpu/test-powerpc-snan.c (TEST_FUNC): Likewise,
25574 and rename NaN_var to qNaN_var, and SNaN_var to sNaN_var.
25575
64487e12
TS
25576 * math/libm-test.inc (fpstack_test) [__x86_64__]: Enable test.
25577 * math/test-misc.c (main) [__x86_64__]: Enable test for long
25578 doubles.
25579
e015e27b
TS
25580 * math/test-misc.c (main): Fix copy'n'pastos.
25581 * misc/tst-efgcvt.c (special): Likewise.
25582
a57da955
TS
25583 * stdio-common/printf_fp.c (__isinfl_internal, __isnanl_internal):
25584 Remove declarations.
25585
1e380345
SP
255862013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
25587
25588 * sysdeps/ieee754/dbl-64/mpa-arch.h: Remove.
25589 * sysdeps/ieee754/dbl-64/mpa.c: Revert last change.
25590 * sysdeps/ieee754/dbl-64/mpa.h: Revert last change.
25591 * sysdeps/powerpc/power4/fpu/mpa-arch.h: Remove.
25592
ef26eece
AZ
255932013-03-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
25594
25595 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET): Add
25596 macro to return vdso values correctly in IFUNC implementations.
25597 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
25598 Optimization by using IFUNC.
25599
8cfdb7e0
SP
256002013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
25601 Richard Henderson <rth@redhat.com>
25602 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
25603
25604 * Makefile.in (bench): New target.
25605 * NEWS: Mention the benchmark framework.
25606 * Rules (bench): Likewise.
25607 (binaries-bench): Generate binaries for functions to
25608 benchmark.
25609 * benchtests/Makefile: New makefile for benchmark tests.
25610 * benchtests/bench-skeleton.c: New skeleton file for benchmark
25611 programs.
25612 * benchtests/exp-inputs: New input file for EXP function.
25613 * benchtests/pow-inputs: New input file for POW function.
25614 * scripts/bench.pl: New script to generate source files for
25615 benchmark programs.
25616
bcda9880
SP
256172013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
25618
d22ca8cd
SP
25619 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
25620 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T to store
25621 computations on mantissa. Use macros for rounding and
25622 division.
25623 (denorm): Likewise.
25624 (__dbl_mp): Likewise.
25625 (add_magnitudes): Likewise.
25626 (sub_magnitudes): Likewise.
25627 (__mul): Likewise.
25628 (__sqr): Likewise.
25629 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
25630 powers of two in terms of TWOPOW macro.
25631 (mp_no): Make type of mantissa as MANTISSA_T.
25632 [!RADIXI]: Define RADIXI.
25633 [!TWO52]: Define TWO52.
25634 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
25635
bcda9880
SP
25636 * manual/nptl.texi (cindex): Modify threads to pthreads.
25637
06d5adfb
JM
256382013-03-15 Joseph Myers <joseph@codesourcery.com>
25639
25640 * sysdeps/x86_64/preconfigure: Regenerated.
25641
41c7328e
JM
256422013-03-14 Joseph Myers <joseph@codesourcery.com>
25643
25644 [BZ #14155]
25645 * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Return 1.0 for arguments
25646 0x1p28 and above.
25647 (qzero): Return -0.125 / x for arguments 0x1p28 and above.
25648 * sysdeps/ieee754/dbl-64/e_j1.c (pzero): Return 1.0 for arguments
25649 0x1p28 and above.
25650 (qzero): Return 0.375 / x for arguments 0x1p28 and above.
25651 * math/libm-test.inc (j0_test): Do not allow one spurious
25652 underflow exception.
25653 (y1_test): Likewise.
25654
e25cfa60
SP
256552013-03-14 Siddhesh Poyarekar <siddhesh@redhat.com>
25656
0409959c
SP
25657 * manual/Makefile (chapters): Add nptl.
25658 * manual/debug.texi (Debugging Support): Add link to Threads
25659 chapter.
25660 * manual/nptl.texi: New file.
25661
e25cfa60
SP
25662 * sysdeps/unix/sysv/linux/times.c (__times): Fix formatting.
25663
58a1335e
PB
256642013-03-14 Petr Baudis <pasky@ucw.cz>
25665
25666 * sysdeps/unix/sysv/linux/times.c (__times): On EFAULT, test
25667 for non-NULL pointer before the memory validity test. Pointed
25668 out by Holger Brunck <holger.brunck@keymile.com>.
25669
9dc7c64f
AS
256702013-03-13 Andreas Schwab <schwab@suse.de>
25671
25672 * extra-lib.mk (extra-objs): Add static-only-routines as .oS
25673 instead of .os.
25674
54206aa6
JM
256752013-03-13 Joseph Myers <joseph@codesourcery.com>
25676
25677 * timezone/zic.c: Update from tzcode 2013b.
25678
e98cdb38
CD
256792013-03-12 Carlos O'Donell <carlos@redhat.com>
25680
25681 * manual/install.texi (Configuring and compiling):
25682 Mention i686 and i586.
25683 * INSTALL: Regenerate.
25684
9967e003
RM
256852013-03-12 Roland McGrath <roland@hack.frob.com>
25686
25687 * sysdeps/init_array/elf-init.c: New file.
25688 * csu/elf-init.c
25689 (__libc_csu_init) [!NO_INITFINI]: Conditionalize _init call on this.
25690 (__libc_csu_fini) [!NO_INITFINI]: Conditionalize _fini call on this.
25691
25692 * csu/gmon-start.c [GMON_START_ARRAY_SECTION]: Don't define
25693 __gmon_start__ as global, but as static with a .preinit_array pointer.
25694 * sysdeps/init_array/gmon-start.c: New file. Use that.
25695 * sysdeps/init_array/crti.S: New file, empty except for comments.
25696 * sysdeps/init_array/crtn.S: Likewise.
25697
e6b5a293 256982013-03-11 Ondřej Bílka <neleai@seznam.cz>
80f844c9
OB
25699
25700 * sysdeps/x86_64/memset.S: Remove USE_MULTIARCH conditional for
25701 definining bcopy.
80f844c9
OB
25702 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
25703 Remove Prefer_SSE_for_memop.
25704 * sysdeps/x86_64/multiarch/init-arch.h: Remove
25705 bit_Prefer_SSE_for_memop, index_Prefer_SSE_for_memop,
25706 HAS_PREFER_SSE_FOR_MEMOP.
80f844c9
OB
25707 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
25708 memset-x86-64.
80f844c9 25709 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
e6b5a293 25710 Remove bzero, memset ifunc support.
80f844c9
OB
25711 * sysdeps/x86_64/multiarch/bzero.S: Remove file.
25712 * sysdeps/x86_64/multiarch/memset-x86-64.S: Likewise.
25713 * sysdeps/x86_64/multiarch/memset.S: Likewise.
25714 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
25715
fb6b0fcb
AS
257162013-03-11 Andreas Schwab <schwab@suse.de>
25717
25718 [BZ #15234]
25719 * Versions.def (libpthread): Add GLIBC_2.3, so that it can be used
25720 by SHLIB_COMPAT.
25721 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist
25722 (GLIBC_2.16): Remove pthread_atfork.
25723
3e6bd4b1
PP
257242013-03-08 Paul Pluzhnikov <ppluzhnikov@google.com>
25725
25726 * posix/Makefile (testcases.h): Set LC_ALL=C before sed.
25727 (ptestcases.h): Likewise.
25728
222d7f00
RM
257292013-03-08 Roland McGrath <roland@hack.frob.com>
25730
25731 * Makeconfig ($(common-objpfx)config.status): Depend on
25732 sysdeps/*/preconfigure{,.in} too.
25733
1ba4f030
JM
257342013-03-08 Joseph Myers <joseph@codesourcery.com>
25735
a222d91a
JM
25736 * malloc/malloc.h (__malloc_ptr_t): Remove macro.
25737 (__free_hook): Use void * instead of __malloc_ptr_t.
25738 (__malloc_hook): Likewise.
25739 (__realloc_hook): Likewise.
25740 (__memalign_hook): Likewise.
25741 (__after_morecore_hook): Likewise.
25742 * malloc/arena.c (save_malloc_hook): Likewise.
25743 (save_free_hook): Likewise.
25744 * malloc/hooks.c (malloc_hook_ini): Likewise.
25745 (realloc_hook_ini): Likewise.
25746 (memalign_hook_ini): Likewise.
25747 * malloc/malloc.c (malloc_hook_ini): Likewise.
25748 (realloc_hook_ini): Likewise.
25749 (memalign_hook_ini): Likewise.
25750 (__free_hook): Likewise.
25751 (__malloc_hook): Likewise.
25752 (__realloc_hook): Likewise.
25753 (__memalign_hook): Likewise.
25754 (__libc_malloc): Likewise.
25755 (__libc_free): Likewise.
25756 (__libc_realloc): Likewise.
25757 (__libc_memalign): Likewise.
25758 (__libc_valloc): Likewise.
25759 (__libc_pvalloc): Likewise.
25760 (__libc_calloc): Likewise.
25761 (__posix_memalign): Likewise.
25762 * malloc/morecore.c (__sbrk): Likewise.
25763 (__default_morecore): Likewise.
25764
5cc45e10
JM
25765 * malloc/morecore.c (__default_morecore): Use ISO C prototype.
25766
dd54b864
JM
25767 * malloc/malloc.h (__malloc_ptrdiff_t): Remove macro.
25768 * malloc/morecore.c (__default_morecore): Use ptrdiff_t instead of
25769 __malloc_ptrdiff_t.
25770
1ba4f030
JM
25771 * malloc/malloc.h (__malloc_size_t): Remove macro.
25772 * malloc/mcheck.c (old_malloc_hook): Use size_t instead of
25773 __malloc_size_t.
25774 (old_memalign_hook): Likewise.
25775 (old_realloc_hook): Likewise.
25776 (struct hdr): Likewise.
25777 (flood): Likewise.
25778 (mallochook): Likewise.
25779 (memalignhook): Likewise.
25780 (reallochook): Likewise.
25781 * malloc/mtrace.c (tr_old_malloc_hook): Likewise.
25782 (tr_old_realloc_hook): Likewise.
25783 (tr_old_memalign_hook): Likewise.
25784 (tr_mallochook): Likewise.
25785 (tr_reallochook): Likewise.
25786 (tr_memalignhook): Likewise.
25787
edf66e57
AZ
257882013-03-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
25789
25790 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_pack): Rename to
25791 default_ldbl_pack and using as default implementation.
25792 (ldbl_unpack): Rename to default_ldbl_unpack and using as default
25793 implementation.
25794 * sysdeps/powerpc/fpu/math_ldbl.h (ldbl_extract_mantissa): Remove
25795 redundant definition.
25796 (ldbl_insert_mantissa): Likewise.
25797 (ldbl_canonicalize): Likewise.
25798 (ldbl_nearbyint): Likewise.
25799 (ldbl_pack): Rename to ldbl_pack_ppc.
25800 (ldbl_unpack): Rename to ldbl_unpack_ppc.
25801 * sysdeps/unix/sysv/linux/powerpc/Implies: Remove file.
25802 * sysdeps/powerpc/Implies: Add ieee754/ldbl-opt after ieee754/ldbl-128ibm.
25803
6d9145d8
SP
258042013-03-08 Siddhesh Poyarekar <siddhesh@redhat.com>
25805
25806 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Move file...
25807 * sysdeps/powerpc/power4/fpu/mpa.c: ... here.
25808 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile: Move file...
25809 * sysdeps/powerpc/power4/fpu/Makefile: ... here.
25810 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Remove file.
25811 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile: Remove file.
25812 * sysdeps/powerpc/powerpc32/power4/Implies: New file.
25813 * sysdeps/powerpc/powerpc64/power4/Implies: New file.
25814
4dd4e157
AJ
258152013-03-07 Andreas Jaeger <aj@suse.de>
25816
25817 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
25818 bits/mman-linux.h.
25819
adbb8027
SP
258202013-03-07 Siddhesh Poyarekar <siddhesh@redhat.com>
25821
ce544b5b
SP
25822 * sysdeps/ieee754/dbl-64/slowexp.c [!USE_LONG_DOUBLE_FOR_MP]:
25823 Include mpa.h and declare __MPEXP.
25824 [USE_LONG_DOUBLE_FOR_MP] (__slowexp): Call __IEEE754_EXPL.
25825 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
25826 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
25827 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Remove.
25828 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
25829 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
25830 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Remove.
25831
4cc149fd
SP
25832 * sysdeps/ieee754/dbl-64/slowpow.c [USE_LONG_DOUBLE_FOR_MP]
25833 (__slowpow): Use long double EXPL and LOGL functions to
25834 compute POW.
25835 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
25836 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
25837 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Remove.
25838 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
25839 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
25840 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Remove.
25841
e6ebd4a7
SP
25842 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Use
25843 intermediate variable to calculate exponent.
25844 (__sqr): Likewise.
25845 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
25846 Likewise.
25847 (__sqr): Likewise.
25848
82a9811d
SP
25849 * sysdeps/ieee754/dbl-64/mpa.c [!NO__MUL]: Define __mul.
25850 [!NO__SQR]: Define __sqr.
25851 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: define NO__MUL
25852 and NO__SQR. Remove all code except __mul and __sqr. Include
25853 sysdeps/ieee754/dbl-64/mpa.c.
25854 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
25855
adbb8027
SP
25856 [BZ #12723]
25857 * posix/Makefile (tests): Add tst-pathconf.
25858 * posix/tst-pathconf.c: New test case.
25859 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Remove
25860 _PC_PIPE_BUF.
25861 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Likewise.
25862
39120df9
PF
258632013-03-06 Patsy Franklin <pfrankli@redhat.com>
25864
25865 * io/fcntl.h: Added a comment about AT_EACCESS and AT_REMOVEDIR.
25866
67525cb8
AJ
258672013-03-06 Andreas Jaeger <aj@suse.de>
25868
664a9ce4
AJ
25869 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_ANONYMOUS): Allow
25870 definition via __MAP_ANONYMOUS.
25871
8e39047d
AJ
25872 * sysdeps/unix/sysv/linux/s390/bits/mman.h (MAP_GROWSUP): Remove,
25873 it's not part of Linux headers.
25874
67525cb8
AJ
25875 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_HUGE_SHIFT): Define.
25876 (MAP_HUGE_MASK): Define.
25877
25878 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h (PTRACE_O_EXIT_KILL):
25879 Define.
25880 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
25881 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_O_EXIT_KILL):
25882 Define.
25883 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
25884 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_EXIT_KILL):
25885 Define.
25886 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
25887 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_O_EXITKILL):
25888 Define.
25889 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
25890
25891 * sysdeps/unix/sysv/linux/x86/bits/msq.h (MSG_COPY): Likewise.
25892 * sysdeps/unix/sysv/linux/generic/bits/msq.h (MSG_COPY): Define.
25893 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h (MSG_COPY): Likewise.
25894 * sysdeps/unix/sysv/linux/bits/msq.h (MSG_COPY): Likewise.
25895 * sysdeps/unix/sysv/linux/s390/bits/msq.h (MSG_COPY): Likewise.
25896 * sysdeps/unix/sysv/linux/sparc/bits/msq.h (MSG_COPY): Define.
25897
25898 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
25899 Handle f2fs.
25900
25901 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
25902 Handle f2fs and efivarfs.
25903
25904 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Handle
25905 f2fs.
25906
25907 * sysdeps/unix/sysv/linux/linux_fsinfo.h (F2FS_SUPER_MAGIC): Add.
25908 (EFIVARFS_MAGIC): Add.
25909 (F2FS_LINK_MAX): Add.
25910
e1b42695
PP
259112013-03-06 Paul Pluzhnikov <ppluzhnikov@google.com>
25912
25913 * stdio-common/vfprintf.c: Replace __builtin_expect with
25914 __glibc_unlikely.
25915
2d67d91a
JM
259162013-03-06 Joseph Myers <joseph@codesourcery.com>
25917
25918 [BZ #13550]
25919 * sysdeps/generic/bp-sym.h: Remove file.
25920 * sysdeps/powerpc/powerpc64/bp-asm.h: Likewise.
25921 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Don't include
25922 <bp-sym.h> and <bp-asm.h>.
25923 (__longjmp): Don't use BP_SYM.
25924 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Don't include <bp-sym.h>
25925 and <bp-asm.h>.
25926 (memcpy): Don't use BP_SYM.
25927 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Don't include
25928 <bp-sym.h> and <bp-asm.h>.
25929 (memcpy): Don't use BP_SYM.
25930 * sysdeps/powerpc/powerpc64/memcpy.S: Don't include <bp-sym.h> and
25931 <bp-asm.h>.
25932 (memcpy): Don't use BP_SYM.
25933 * sysdeps/powerpc/powerpc64/memset.S: Don't include <bp-sym.h> and
25934 <bp-asm.h>.
25935 (memset): Don't use BP_SYM.
25936 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
25937 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
25938 (__bzero): Don't use BP_SYM.
25939 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
25940 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
25941 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Don't include
25942 <bp-sym.h> and <bp-asm.h>.
25943 (memcmp): Don't use BP_SYM. Remove comment about bounded
25944 pointers.
25945 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Don't include
25946 <bp-sym.h> and <bp-asm.h>.
25947 (memcpy): Don't use BP_SYM.
25948 * sysdeps/powerpc/powerpc64/power4/memset.S: Don't include
25949 <bp-sym.h> and <bp-asm.h>.
25950 (memset): Don't use BP_SYM.
25951 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
25952 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
25953 (__bzero): Don't use BP_SYM.
25954 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
25955 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
25956 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Don't include
25957 <bp-sym.h> and <bp-asm.h>.
25958 (strncmp): Don't use BP_SYM. Remove comment about bounded
25959 pointers.
25960 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Don't include
25961 <bp-sym.h> and <bp-asm.h>.
25962 (memcpy): Don't use BP_SYM.
25963 * sysdeps/powerpc/powerpc64/power6/memset.S: Don't include
25964 <bp-sym.h> and <bp-asm.h>.
25965 (memset): Don't use BP_SYM.
25966 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
25967 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
25968 (__bzero): Don't use BP_SYM.
25969 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
25970 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
25971 * sysdeps/powerpc/powerpc64/power7/memchr.S: Don't include
25972 <bp-sym.h> and <bp-asm.h>.
25973 (__memchr): Don't use BP_SYM.
25974 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Don't include
25975 <bp-sym.h> and <bp-asm.h>.
25976 (memcmp): Don't use BP_SYM. Remove comment about bounded
25977 pointers.
25978 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Don't include
25979 <bp-sym.h> and <bp-asm.h>.
25980 (memcpy): Don't use BP_SYM.
25981 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Don't include
25982 <bp-sym.h> and <bp-asm.h>.
25983 (__mempcpy): Don't use BP_SYM.
25984 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Don't include
25985 <bp-sym.h> and <bp-asm.h>.
25986 (__memrchr): Don't use BP_SYM.
25987 * sysdeps/powerpc/powerpc64/power7/memset.S: Don't include
25988 <bp-sym.h> and <bp-asm.h>.
25989 (memset): Don't use BP_SYM.
25990 (__bzero): Likewise.
25991 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Don't include
25992 <bp-sym.h> and <bp-asm.h>.
25993 (__rawmemchr): Don't use BP_SYM.
25994 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Don't include
25995 <bp-sym.h> and <bp-asm.h>.
25996 (__STRCMP): Don't use BP_SYM.
25997 * sysdeps/powerpc/powerpc64/power7/strchr.S: Don't include
25998 <bp-sym.h> and <bp-asm.h>.
25999 (strchr): Don't use BP_SYM.
26000 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: Don't include
26001 <bp-sym.h> and <bp-asm.h>.
26002 (__strchrnul): Don't use BP_SYM.
26003 * sysdeps/powerpc/powerpc64/power7/strlen.S: Don't include
26004 <bp-sym.h> and <bp-asm.h>.
26005 (strlen): Don't use BP_SYM.
26006 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Don't include
26007 <bp-sym.h> and <bp-asm.h>.
26008 (strncmp): Don't use BP_SYM. Remove comment about bounded
26009 pointers.
26010 * sysdeps/powerpc/powerpc64/power7/strnlen.S: Don't include
26011 <bp-sym.h> and <bp-asm.h>.
26012 (__strnlen): Don't use BP_SYM.
26013 * sysdeps/powerpc/powerpc64/setjmp-common.S: Don't include
26014 <bp-sym.h> and <bp-asm.h>.
26015 (__GI__setjmp): Don't use BP_SYM.
26016 (_setjmp): Likewise.
26017 (__sigsetjmp): Likewise.
26018 * sysdeps/powerpc/powerpc64/start.S: Don't include "bp-sym.h".
26019 (L(start_addresses)): Don't use BP_SYM.
26020 (_start): Likewise.
26021 * sysdeps/powerpc/powerpc64/stpcpy.S: Don't include <bp-sym.h> and
26022 <bp-asm.h>.
26023 (__stpcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW,
26024 STORE_RETURN_BOUNDS, CHECK_BOUNDS_HIGH and STORE_RETURN_VALUE.
26025 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
26026 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
26027 * sysdeps/powerpc/powerpc64/strchr.S: Don't include <bp-sym.h> and
26028 <bp-asm.h>.
26029 (strchr): Don't use BP_SYM, CHECK_BOUNDS_LOW, STORE_RETURN_BOUNDS,
26030 CHECK_BOUNDS_HIGH_RTN and STORE_RETURN_VALUE. Remove comment
26031 about bounded pointers.
26032 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
26033 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
26034 * sysdeps/powerpc/powerpc64/strcmp.S: Don't include <bp-sym.h> and
26035 <bp-asm.h>.
26036 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
26037 about bounded pointers. Remove GKM FIXME comments.
26038 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
26039 * sysdeps/powerpc/powerpc64/strcpy.S: Don't include <bp-sym.h> and
26040 <bp-asm.h>.
26041 (strcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW and
26042 STORE_RETURN_BOUNDS. Remove comment about bounded pointers.
26043 Remove GKM FIXME comments.
26044 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
26045 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
26046 * sysdeps/powerpc/powerpc64/strlen.S: Don't include <bp-sym.h> and
26047 <bp-asm.h>.
26048 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
26049 about bounded pointers. Remove GKM FIXME comment.
26050 * sysdeps/powerpc/powerpc64/strncmp.S: Don't include <bp-sym.h>
26051 and <bp-asm.h>.
26052 (strncmp): Don't use BP_SYM. Remove comment about bounded
26053 pointers.
26054 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S: Don't include
26055 <bp-sym.h> and <bp-asm.h>.
26056 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
26057 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Don't include
26058 <bp-sym.h> and <bp-asm.h>.
26059 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
26060 comment.
26061
cdcf361f
PP
260622013-03-05 Paul Pluzhnikov <ppluzhnikov@google.com>
26063
26064 * stdio-common/vfprintf.c (vfprintf): Check malloc return; don't
26065 call free(NULL).
26066
3c4a2b15
DM
260672013-03-05 David S. Miller <davem@davemloft.net>
26068
26069 * po/es.po: Update from translation team.
26070
cdcf361f 260712013-03-05 Andreas Jaeger <aj@suse.de>
890b58d3
AJ
26072
26073 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Include
26074 <bits/mman-linux.h>.
26075 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
26076 is fine.
26077 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Move include of
26078 <bits/mman-linux.h> to end of file.
26079 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
26080 is fine.
26081 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Move include of
26082 <bits/mman-linux.h> to end of file.
26083 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
26084 is fine.
26085 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Move include of
26086 <bits/mman-linux.h> to end of file.
26087
26088 * sysdeps/unix/sysv/linux/bits/mman-linux.h [!MCL_CURRENT]
26089 (MCL_CURRENT, MCL_FUTURE): Define here.
26090
5f67c04f
AK
260912013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
26092
8a4473cc 26093 [BZ #15232]
5f67c04f
AK
26094 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Use
26095 attribute_hidden.
26096 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
26097
c3e94a95
AK
260982013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
26099
26100 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Set the
26101 fourth parameter needed for rt_sigprocmask syscall.
26102 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
26103 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
26104 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
26105 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
26106 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
26107 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Define _NSIG8.
26108
cfb6382a
JM
261092013-03-04 Joseph Myers <joseph@codesourcery.com>
26110
26111 [BZ #13550]
26112 * sysdeps/powerpc/powerpc32/power4/strncmp.S (strncmp): Remove
26113 comment about bounded pointers.
26114 * sysdeps/powerpc/powerpc32/power7/strncmp.S (strncmp): Likewise.
26115 * sysdeps/powerpc/powerpc32/strncmp.S (strncmp): Likewise.
26116
539d8e01
AJ
261172013-03-04 Andreas Jaeger <aj@suse.de>
26118
26119 * sysdeps/unix/sysv/linux/bits/mman-linux.h: New file, with Linux
26120 common definitions.
26121
26122 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Remove all defines
26123 provided by bits/mman-linux.h and include <bits/mman-linux.h>.
26124 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Likewise.
26125 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
26126 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
539d8e01
AJ
26127 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
26128
2e167a70 261292013-03-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
e0b780ad
AZ
26130
26131 [BZ #15055]
26132 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
26133 __ieee754_sqrl instead of __sqrl.
26134
68508633
JM
261352013-03-01 Joseph Myers <joseph@codesourcery.com>
26136
26137 * sysdeps/powerpc/fpu/fpu_control.h: Move to ...
26138 * sysdeps/powerpc/fpu_control.h: ... here.
26139 * sysdeps/powerpc/fpu/bits/fenvinline.h: Move to ...
26140 * sysdeps/powerpc/bits/fenvinline.h: ... here.
26141 * sysdeps/powerpc/fpu/bits/mathinline.h: Move to ...
26142 * sysdeps/powerpc/bits/mathinline.h: ... here.
26143
7775448e
RM
261442013-03-01 Roland McGrath <roland@hack.frob.com>
26145
26146 * elf/dl-hwcaps.c (_dl_important_hwcaps):
26147 Change [NEED_DL_SYSINFO || NEED_DL_SYSINFO_DSO] conditionals
26148 to just [NEED_DL_SYSINFO_DSO].
26149 * elf/dl-support.c: Likewise.
26150 * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
26151 * elf/rtld.c (dl_main): Likewise.
26152 * elf/setup-vdso.h (setup_vdso): Likewise.
26153 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Likewise.
26154 * sysdeps/unix/sysv/linux/dl-sysdep.c
26155 (_dl_discover_osversion): Likewise.
26156
4e9b5995
CD
261572013-03-01 Carlos O'Donell <carlos@redhat.com>
26158
26159 * csu/libc-start.c (__pthread_initialize_minimal): Revert last change.
26160 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
26161
e23872c8
SP
261622013-03-01 Siddhesh Poyarekar <siddhesh@redhat.com>
26163
e5c74c63
SP
26164 * NEWS: Mention libm performance improvements and non-x86 PI
26165 futex support.
26166
e23872c8
SP
26167 * csu/libc-start.c (__pthread_initialize_minimal): Change
26168 function arguments.
26169 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
26170
b5510883
JM
261712013-02-28 Joseph Myers <joseph@codesourcery.com>
26172
26173 [BZ #13550]
26174 * sysdeps/powerpc/powerpc32/bp-asm.h: Remove file.
26175 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Don't include
26176 <bp-sym.h> and <bp-asm.h>.
26177 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
26178 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Don't include <bp-sym.h>
26179 and <bp-asm.h>.
26180 (memcpy): Don't use BP_SYM.
26181 * sysdeps/powerpc/powerpc32/add_n.S: Don't include <bp-sym.h> and
26182 <bp-asm.h>.
26183 (__mpn_add_n): Don't use BP_SYM.
26184 (__mpn_add_n) [__BOUNDED_POINTERS_]: Remove conditional code.
26185 * sysdeps/powerpc/powerpc32/addmul_1.S: Don't include <bp-sym.h>
26186 and <bp-asm.h>.
26187 (__mpn_addmul_1): Don't use BP_SYM.
26188 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
26189 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Don't include
26190 <bp-sym.h>.
26191 (_setjmp): Don't use BP_SYM.
26192 (__novmx_setjmp): Likewise.
26193 (__GI__setjmp): Likewise.
26194 (__vmx_setjmp): Likewise.
26195 * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Don't include
26196 <bp-sym.h>.
26197 * sysdeps/powerpc/powerpc32/bzero.S: Don't include <bp-sym.h>.
26198 (__bzero): Don't use BP_SYM.
26199 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
26200 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
26201 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Don't include
26202 <bp-sym.h> and <bp-asm.h>.
26203 (memcpy): Don't use BP_SYM.
26204 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Don't include
26205 <bp-sym.h> and <bp-asm.h>.
26206 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
26207 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Don't include
26208 <bp-sym.h> and <bp-asm.h>.
26209 (__sigsetjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
26210 * sysdeps/powerpc/powerpc32/lshift.S: Don't include <bp-sym.h> and
26211 <bp-asm.h>.
26212 (__mpn_lshift): Don't use BP_SYM.
26213 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
26214 * sysdeps/powerpc/powerpc32/memset.S: Don't include <bp-sym.h> and
26215 <bp-asm.h>.
26216 (memset): Don't use BP_SYM.
26217 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
26218 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
26219 * sysdeps/powerpc/powerpc32/mul_1.S: Don't include <bp-sym.h> and
26220 <bp-asm.h>.
26221 (__mpn_mul_1): Don't use BP_SYM.
26222 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
26223 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Don't include
26224 <bp-sym.h> and <bp-asm.h>.
26225 (memcmp): Don't use BP_SYM.
26226 * sysdeps/powerpc/powerpc32/power4/memcpy.S: Don't include
26227 <bp-sym.h> and <bp-asm.h>.
26228 (memcpy): Don't use BP_SYM.
26229 * sysdeps/powerpc/powerpc32/power4/memset.S: Don't include
26230 <bp-sym.h> and <bp-asm.h>.
26231 (memset): Don't use BP_SYM.
26232 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't include
26233 <bp-sym.h> and <bp-asm.h>.
26234 (strncmp): Don't use BP_SYM.
26235 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Don't include
26236 <bp-sym.h> and <bp-asm.h>.
26237 (memcpy): Don't use BP_SYM.
26238 * sysdeps/powerpc/powerpc32/power6/memset.S: Don't include
26239 <bp-sym.h> and <bp-asm.h>.
26240 (memset): Don't use BP_SYM.
26241 * sysdeps/powerpc/powerpc32/power7/memchr.S: Don't include
26242 <bp-sym.h> and <bp-asm.h>.
26243 (__memchr): Don't use BP_SYM.
26244 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Don't include
26245 <bp-sym.h> and <bp-asm.h>.
26246 (memcmp): Don't use BP_SYM.
26247 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Don't include
26248 <bp-sym.h> and <bp-asm.h>.
26249 (memcpy): Don't use BP_SYM.
26250 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Don't include
26251 <bp-sym.h> and <bp-asm.h>.
26252 (__mempcpy): Don't use BP_SYM.
26253 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Don't include
26254 <bp-sym.h> and <bp-asm.h>.
26255 (__memrchr): Don't use BP_SYM.
26256 * sysdeps/powerpc/powerpc32/power7/memset.S: Don't include
26257 <bp-sym.h> and <bp-asm.h>.
26258 (memset): Don't use BP_SYM.
26259 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Don't include
26260 <bp-sym.h> and <bp-asm.h>.
26261 (__rawmemchr): Don't use BP_SYM.
26262 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Don't include
26263 <bp-sym.h> and <bp-asm.h>.
26264 (__STRCMP): Don't use BP_SYM.
26265 * sysdeps/powerpc/powerpc32/power7/strchr.S: Don't include
26266 <bp-sym.h> and <bp-asm.h>.
26267 (strchr): Don't use BP_SYM.
26268 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Don't include
26269 <bp-sym.h> and <bp-asm.h>.
26270 (__strchrnul): Don't use BP_SYM.
26271 * sysdeps/powerpc/powerpc32/power7/strlen.S: Don't include
26272 <bp-sym.h> and <bp-asm.h>.
26273 (strlen): Don't use BP_SYM.
26274 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Don't include
26275 <bp-sym.h> and <bp-asm.h>.
26276 (strncmp): Don't use BP_SYM.
26277 * sysdeps/powerpc/powerpc32/power7/strnlen.S: Don't include
26278 <bp-sym.h> and <bp-asm.h>.
26279 (__strnlen): Don't use BP_SYM.
26280 * sysdeps/powerpc/powerpc32/rshift.S: Don't include <bp-sym.h> and
26281 <bp-asm.h>.
26282 (__mpn_rshift): Don't use BP_SYM.
26283 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
26284 * sysdeps/powerpc/powerpc32/setjmp-common.S: Don't include
26285 <bp-sym.h> and <bp-asm.h>.
26286 (__sigsetjmp): Don't use BP_SYM.
26287 * sysdeps/powerpc/powerpc32/start.S: Don't include "bp-sym.h".
26288 (L(start_addresses)): Don't use BP_SYM.
26289 (_start): Likewise.
26290 * sysdeps/powerpc/powerpc32/stpcpy.S: Don't include <bp-sym.h> and
26291 <bp-asm.h>.
26292 (__stpcpy): Don't use BP_SYM and macros from bp-asm.h.
26293 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
26294 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
26295 * sysdeps/powerpc/powerpc32/strchr.S: Don't include <bp-sym.h> and
26296 <bp-asm.h>.
26297 (strchr): Don't use BP_SYM.h and macros from bp-asm.h.
26298 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
26299 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
26300 * sysdeps/powerpc/powerpc32/strcmp.S: Don't include <bp-sym.h> and
26301 <bp-asm.h>.
26302 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
26303 comments.
26304 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
26305 * sysdeps/powerpc/powerpc32/strcpy.S: Don't include <bp-sym.h> and
26306 <bp-asm.h>.
26307 (strcpy): Don't use BP_SYM and macros from bp-asm.h. Remove GKM
26308 FIXME comments.
26309 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
26310 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
26311 * sysdeps/powerpc/powerpc32/strlen.S: Don't include <bp-sym.h> and
26312 <bp-asm.h>.
26313 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
26314 comment.
26315 * sysdeps/powerpc/powerpc32/strncmp.S: Don't include <bp-sym.h>
26316 and <bp-asm.h>.
26317 (strncmp): Don't use BP_SYM,
26318 * sysdeps/powerpc/powerpc32/sub_n.S: Don't include <bp-sym.h> and
26319 <bp-asm.h>.
26320 (__mpn_sub_n): Don't use BP_SYM.
26321 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
26322 * sysdeps/powerpc/powerpc32/submul_1.S: Don't include <bp-sym.h>
26323 and <bp-asm.h>.
26324 (__mpn_submul_1): Don't use BP_SYM.
26325 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
26326 * sysdeps/unix/sysv/linux/powerpc/powerpc32/brk.S: Don't include
26327 <bp-sym.h> and <bp-asm.h>.
26328 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
26329 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Don't include
26330 <bp-sym.h> and <bp-asm.h>.
26331 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
26332 comment.
26333
8d19fe64
SP
263342013-02-28 Siddhesh Poyarekar <siddhesh@redhat.com>
26335
26336 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (add_magnitudes):
26337 Use ZK to minimize writes to Z.
26338 (sub_magnitudes): Simplify code a bit.
26339 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (add_magnitudes):
26340 Use ZK to minimize writes to Z.
26341 (sub_magnitudes): Simplify code a bit.
26342
85bd816a
RM
263432013-02-27 Roland McGrath <roland@hack.frob.com>
26344
26345 * csu/gmon-start.c: Add special exception to license text.
26346
b5977bf2
RH
263472013-02-27 Richard Henderson <rth@redhat.com>
26348
26349 * scripts/config.guess: Update from config.git.
26350 * scripts/config.sub: Likewise.
26351
11d6e2f2
SP
263522013-02-27 Siddhesh Poyarekar <siddhesh@redhat.com>
26353
09c14ed2
SP
26354 * sysdeps/ieee754/dbl-64/mpsqrt.c: Reformat.
26355
a688864e
SP
26356 * sysdeps/ieee754/dbl-64/mpatan2.c: Reformat.
26357
6295157a
SP
26358 * sysdeps/ieee754/dbl-64/mpatan.c: Reformat.
26359
b8de2202
SP
26360 * sysdeps/ieee754/dbl-64/mptan.c: Reformat.
26361
11d6e2f2
SP
26362 * sysdeps/ieee754/dbl-64/mplog.c: Reformat.
26363
7e80ddb8
RM
263642013-02-26 Roland McGrath <roland@hack.frob.com>
26365
26366 * Makeconfig (%.v.i, %.v): Move these pattern rules outside of
26367 [$(build-shared = yes].
7e80ddb8 26368
7da6d9ed
SP
263692013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
26370
45f05884
SP
26371 * sysdeps/ieee754/dbl-64/mpa.c: Include alloca.h.
26372 (__mul): Reduce iterations for calculating mantissa.
26373
2236d359
SP
26374 * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use MPONE and
26375 MPTWO.
26376 (__mpranred): Likewise.
26377
7da6d9ed
SP
26378 [BZ #15160]
26379 * malloc/memusagestat.c (main): Draw graphs for heap and stack
26380 only if MAXSIZE_HEAP and MAXSIZE_STACK are non-zero.
26381
b7688c42
PE
263822013-02-26 Paul Eggert <eggert@cs.ucla.edu>
26383
26384 * posix/regex_internal.h [__GNUC__ < 3 + (__GNUC_MINOR__ < 1]:
26385 Define __attribute__.
26386
53a5c423
SP
263872013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
26388
26389 * locale/elem-hash.h (elem_hash): Mark as pure and possibly
26390 unused.
26391 * posix/regex_internal.h (__attribute): Remove.
26392 [!_LIBC && __i386__]: Use __attribute__ instead of __attribute.
26393 (re_string_context_at): Likewise.
26394 (bitset_not): Use __attribute__ and mark function as possibly
26395 unused.
26396 (bitset_merge): Likewise.
26397 (bitset_mask): Likewise.
26398 (re_string_char_size_at): Likewise.
26399 (re_string_wchar_at): Likewise.
26400 (re_string_elem_size_at): Likewise.
26401
60f5a8b5
SP
264022013-02-25 Siddhesh Poyarekar <siddhesh@redhat.com>
26403
2a983a2e
SP
26404 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Remove commented
26405 code.
26406 (cc32): Likewise.
26407
e69804d1
SP
26408 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Use long instead of int.
26409 (__acr): Likewise.
26410 (__cpy): Likewise.
26411 (norm): Likewise.
26412 (denorm): Likewise.
26413 (__dbl_mp): Likewise.
26414 (add_magnitudes): Likewise.
26415 (sub_magnitudes): Likewise.
26416 (__mul): Likewise.
26417 (__inv): Likewise.
26418
2f22a1e8
SP
26419 * sysdeps/ieee754/dbl-64/slowexp.c: Reformat in GNU coding
26420 style.
26421
8930ddc7
SP
26422 * sysdeps/ieee754/dbl-64/slowpow.c: Reformat in GNU coding
26423 style.
26424
dc60cb11
SP
26425 * sysdeps/ieee754/dbl-64/slowexp.c (__slowexp): Remove commented
26426 code.
26427
60f5a8b5
SP
26428 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mp_dbl): Sync
26429 up changes with default code.
26430 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mp_dbl):
26431 Likewise.
26432
b4d1fd33
AM
264332013-02-24 Allan McRae <allan@archlinux.org>
26434
faf6f8bc
AM
26435 * manual/socket.texi (The Internet Namespace): Order menu items
26436 to match that in the file.
26437
b4d1fd33
AM
26438 * manual/libc-texinfo.sh: Use @detailmenu around the detailed
26439 node listing of the info page menu.
26440
2366713d
JM
264412013-02-21 Joseph Myers <joseph@codesourcery.com>
26442
26443 [BZ #13550]
26444 * sysdeps/i386/bp-asm.h: Remove file.
26445 * sysdeps/i386/add_n.S: Do not include "bp-sym.h" and "bp-asm.h".
26446 (PARMS): Do not use macros from bp-asm.h.
26447 (S1): Likewise.
26448 (S2): Likewise.
26449 (SIZE): Likewise.
26450 (__mpn_add_n): Do not use BP_SYM
26451 * sysdeps/i386/addmul_1.S: Do not include "bp-sym.h" and
26452 "bp-asm.h".
26453 (PARMS): Do not use macros from bp-asm.h.
26454 (S1): Likewise.
26455 (SIZE): Likewise.
26456 (__mpn_addmul_1): Do not use BP_SYM
26457 * sysdeps/i386/bsd-_setjmp.S: Do not include "bp-sym.h" and
26458 "bp-asm.h".
26459 (PARMS): Do not use macros from bp-asm.h.
26460 (SIGMSK): Likewise.
26461 (_setjmp): Likewise. Do not use BP_SYM.
26462 * sysdeps/i386/bsd-setjmp.S: Do not include "bp-sym.h" and
26463 "bp-asm.h".
26464 (PARMS): Do not use macros from bp-asm.h.
26465 (SIGMSK): Likewise.
26466 (setjmp): Likewise. Do not use BP_SYM.
26467 * sysdeps/i386/fpu/s_frexp.S: Do not include "bp-sym.h" and
26468 "bp-asm.h".
26469 (PARMS): Do not use macros from bp-asm.h.
26470 (__frexp): Do not use BP_SYM.
26471 (frexp): Likewise.
26472 * sysdeps/i386/fpu/s_frexpf.S: Do not include "bp-sym.h" and
26473 "bp-asm.h".
26474 (PARMS): Do not use macros from bp-asm.h.
26475 (__frexpf): Do not use BP_SYM.
26476 (frexpf): Likewise.
26477 * sysdeps/i386/fpu/s_frexpl.S: Do not include "bp-sym.h" and
26478 "bp-asm.h".
26479 (PARMS): Do not use macros from bp-asm.h.
26480 (__frexpl): Do not use BP_SYM.
26481 (frexpl): Likewise.
26482 * sysdeps/i386/fpu/s_remquo.S: Do not include "bp-sym.h" and
26483 "bp-asm.h".
26484 (PARMS): Do not use macros from bp-asm.h.
26485 (__remquo): Do not use BP_SYM.
26486 (remquo): Likewise.
26487 * sysdeps/i386/fpu/s_remquof.S: Do not include "bp-sym.h" and
26488 "bp-asm.h".
26489 (PARMS): Do not use macros from bp-asm.h.
26490 (__remquof): Do not use BP_SYM.
26491 (remquof): Likewise.
26492 * sysdeps/i386/fpu/s_remquol.S: Do not include "bp-sym.h" and
26493 "bp-asm.h".
26494 (PARMS): Do not use macros from bp-asm.h.
26495 (__remquol): Do not use BP_SYM.
26496 (remquol): Likewise.
26497 * sysdeps/i386/i486/strcat.S: Do not include "bp-sym.h" and
26498 "bp-asm.h".
26499 (PARMS): Do not use macros from bp-asm.h.
26500 (DEST): Likewise.
26501 (SRC): Likewise.
26502 (strcat): Remove GKM FIXME comment. Do not use BP_SYM.
26503 * sysdeps/i386/i486/strlen.S: Do not include "bp-sym.h" and
26504 "bp-asm.h".
26505 (PARMS): Do not use macros from bp-asm.h.
26506 (strlen): Do not use BP_SYM.
26507 * sysdeps/i386/i586/add_n.S: Do not include "bp-sym.h" and
26508 "bp-asm.h".
26509 (PARMS): Do not use macros from bp-asm.h.
26510 (S1): Likewise.
26511 (S2): Likewise.
26512 (SIZE): Likewise.
26513 (__mpn_add_n): Do not use BP_SYM.
26514 * sysdeps/i386/i586/addmul_1.S: Do not include "bp-sym.h" and
26515 "bp-asm.h".
26516 (PARMS): Do not use macros from bp-asm.h.
26517 (S1): Likewise.
26518 (SIZE): Likewise.
26519 (__mpn_addmul_1): Do not use BP_SYM.
26520 * sysdeps/i386/i586/bzero.S (__bzero): Do not use BP_SYM in
26521 weak_alias.
26522 (bzero): Likewise.
26523 * sysdeps/i386/i586/lshift.S: Do not include "bp-sym.h" and
26524 "bp-asm.h".
26525 (PARMS): Do not use macros from bp-asm.h.
26526 (S): Likewise.
26527 (SIZE): Likewise.
26528 (__mpn_lshift): Do not use BP_SYM.
26529 * sysdeps/i386/i586/memcpy.S: Do not include "bp-sym.h" and
26530 "bp-asm.h".
26531 (PARMS): Do not use macros from bp-asm.h.
26532 (DEST): Likewise.
26533 (SRC): Likewise.
26534 (LEN): Likewise.
26535 (memcpy): Likewise. Do not use BP_SYM.
26536 * sysdeps/i386/i586/mempcpy.S (__mempcpy): Do not use BP_SYM in
26537 libc_hidden_def and weak_alias.
26538 (mempcpy): Do not use BP_SYM in weak_alias.
26539 * sysdeps/i386/i586/memset.S: Do not include "bp-sym.h" and
26540 "bp-asm.h".
26541 (PARMS): Do not use macros from bp-asm.h.
26542 (DEST): Likewise.
26543 (LEN): Likewise.
26544 [!BZERO_P] (CHR): Likewise.
26545 (memset): Likewise. Do not use BP_SYM.
26546 * sysdeps/i386/i586/mul_1.S: Do not include "bp-sym.h" and
26547 "bp-asm.h".
26548 (PARMS): Do not use macros from bp-asm.h.
26549 (S1): Likewise.
26550 (SIZE): Likewise.
26551 (__mpn_mul_1): Do not use BP_SYM.
26552 * sysdeps/i386/i586/rshift.S: Do not include "bp-sym.h" and
26553 "bp-asm.h".
26554 (PARMS): Do not use macros from bp-asm.h.
26555 (S): Likewise.
26556 (SIZE): Likewise.
26557 (__mpn_rshift): Do not use BP_SYM.
26558 * sysdeps/i386/i586/strchr.S: Do not include "bp-sym.h" and
26559 "bp-asm.h".
26560 (PARMS): Do not use macros from bp-asm.h.
26561 (STR): Likewise.
26562 (CHR): Likewise.
26563 (strchr): Likewise. Do not use BP_SYM.
26564 (index): Do not use BP_SYM in weak_alias.
26565 * sysdeps/i386/i586/strcpy.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 (SRC): Likewise.
26570 (STRCPY): Likewise. Remove GKM FIXME comment. Do not use BP_SYM.
26571 * sysdeps/i386/i586/strlen.S: Do not include "bp-sym.h" and
26572 "bp-asm.h".
26573 (PARMS): Do not use macros from bp-asm.h.
26574 (strlen): Do not use BP_SYM.
26575 * sysdeps/i386/i586/sub_n.S: Do not include "bp-sym.h" and
26576 "bp-asm.h".
26577 (PARMS): Do not use macros from bp-asm.h.
26578 (S1): Likewise.
26579 (S2): Likewise.
26580 (SIZE): Likewise.
26581 (__mpn_sub_n): Do not use BP_SYM.
26582 * sysdeps/i386/i586/submul_1.S: Do not include "bp-sym.h" and
26583 "bp-asm.h".
26584 (PARMS): Do not use macros from bp-asm.h.
26585 (S1): Likewise.
26586 (SIZE): Likewise.
26587 (__mpn_submul_1): Do not use BP_SYM.
26588 * sysdeps/i386/i686/add_n.S: Do not include "bp-sym.h" and
26589 "bp-asm.h".
26590 (PARMS): Do not use macros from bp-asm.h.
26591 (S1): Likewise.
26592 (S2): Likewise.
26593 (SIZE): Likewise.
26594 (__mpn_add_n): Do not use BP_SYM.
26595 * sysdeps/i386/i686/bzero.S (__bzero): Do not use BP_SYM in
26596 weak_alias.
26597 (bzero): Likewise.
26598 * sysdeps/i386/i686/memcmp.S: Do not include "bp-sym.h" and
26599 "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/i686/memcpy.S: Do not include "bp-sym.h" and
26606 "bp-asm.h".
26607 (PARMS): Do not use macros from bp-asm.h.
26608 (DEST): Likewise.
26609 (SRC): Likewise.
26610 (LEN): Likewise.
26611 (memcpy): Likewise. Do not use BP_SYM.
26612 * sysdeps/i386/i686/memmove.S: Do not include "bp-sym.h" and
26613 "bp-asm.h".
26614 (PARMS): Do not use macros from bp-asm.h.
26615 (DEST): Likewise.
26616 (SRC): Likewise.
26617 (LEN): Likewise.
26618 (memmove): Likewise. Do not use BP_SYM.
26619 * sysdeps/i386/i686/mempcpy.S: Do not include "bp-sym.h" and
26620 "bp-asm.h".
26621 (PARMS): Do not use macros from bp-asm.h.
26622 (DEST): Likewise.
26623 (SRC): Likewise.
26624 (LEN): Likewise.
26625 (__mempcpy): Likewise. Do not use BP_SYM.
26626 (mempcpy): Do not use BP_SYM in weak_alias.
26627 * sysdeps/i386/i686/memset.S: Do not include "bp-sym.h" and
26628 "bp-asm.h".
26629 (PARMS): Do not use macros from bp-asm.h.
26630 (DEST): Likewise.
26631 (LEN): Likewise.
26632 [!BZERO_P] (CHR): Likewise.
26633 (memset): Likewise. Do not use BP_SYM.
26634 * sysdeps/i386/i686/strcmp.S: Do not include "bp-sym.h" and
26635 "bp-asm.h".
26636 (PARMS): Do not use macros from bp-asm.h.
26637 (STR2): Likewise.
26638 (strcmp): Do not use BP_SYM.
26639 * sysdeps/i386/i686/strtok.S: Do not include "bp-sym.h" and
26640 "bp-asm.h".
26641 (PARMS): Do not use macros from bp-asm.h.
26642 (STR): Likewise.
26643 (DELIM): Likewise.
26644 [USE_AS_STRTOK_R] (SAVE): Likewise.
26645 (FUNCTION): Likewise. Do not use BP_SYM.
26646 * sysdeps/i386/i686/strtok_r.S (__strtok_r): Do not use BP_SYM in
26647 aliases.
26648 (strtok_r): Likewise.
26649 (__GI___strtok_r): Likewise.
26650 * sysdeps/i386/lshift.S: Do not include "bp-sym.h" and "bp-asm.h".
26651 (PARMS): Do not use macros from bp-asm.h.
26652 (S): Likewise.
26653 (SIZE): Likewise.
26654 (__mpn_lshift): Do not use BP_SYM.
26655 * sysdeps/i386/memchr.S: Do not include "bp-sym.h" and "bp-asm.h".
26656 (PARMS): Do not use macros from bp-asm.h.
26657 (STR): Likewise.
26658 (CHR): Likewise.
26659 (__memchr): Do not use BP_SYM.
26660 (memchr): Do not use BP_SYM in weak_alias.
26661 * sysdeps/i386/memcmp.S: Do not include "bp-sym.h" and "bp-asm.h".
26662 (PARMS): Do not use macros from bp-asm.h.
26663 (BLK2): Likewise.
26664 (LEN): Likewise.
26665 (memcmp): Do not use BP_SYM.
26666 (bcmp): Do not use BP_SYM in weak_alias.
26667 * sysdeps/i386/mul_1.S: Do not include "bp-sym.h" and "bp-asm.h".
26668 (PARMS): Do not use macros from bp-asm.h.
26669 (S1): Likewise.
26670 (SIZE): Likewise.
26671 (__mpn_mul_1): Do not use BP_SYM.
26672 * sysdeps/i386/rawmemchr.S: Do not include "bp-sym.h" and
26673 "bp-asm.h".
26674 (PARMS): Do not use macros from bp-asm.h.
26675 (STR): Likewise.
26676 (CHR): Likewise.
26677 (__rawmemchr): Do not use BP_SYM.
26678 (rawmemchr): Do not use BP_SYM in weak_alias.
26679 * sysdeps/i386/rshift.S: Do not include "bp-sym.h" and "bp-asm.h".
26680 (PARMS): Do not use macros from bp-asm.h.
26681 (S): Likewise.
26682 (SIZE): Likewise.
26683 (__mpn_rshift): Do not use BP_SYM.
26684 * sysdeps/i386/setjmp.S: Do not include "bp-sym.h" and "bp-asm.h".
26685 (PARMS): Do not use macros from bp-asm.h.
26686 (SIGMSK): Likewise.
26687 (__sigsetjmp): Likewise. Do not use BP_SYM.
26688 * sysdeps/i386/start.S: Do not include "bp-sym.h".
26689 (_start): Do not use BP_SYM.
26690 * sysdeps/i386/stpcpy.S: Do not include "bp-sym.h" and "bp-asm.h".
26691 (PARMS): Do not use macros from bp-asm.h.
26692 (DEST): Likewise.
26693 (SRC): Likewise.
26694 (__stpcpy): Likewise. Do not use BP_SYM.
26695 (stpcpy): Do not use BP_SYM in weak_alias.
26696 * sysdeps/i386/stpncpy.S: Do not include "bp-sym.h" and
26697 "bp-asm.h".
26698 (PARMS): Do not use macros from bp-asm.h.
26699 (DEST): Likewise.
26700 (SRC): Likewise.
26701 (LEN): Likewise.
26702 (__stpncpy): Likewise. Do not use BP_SYM.
26703 (stpncpy): Do not use BP_SYM in weak_alias.
26704 * sysdeps/i386/strchr.S: Do not include "bp-sym.h" and "bp-asm.h".
26705 (PARMS): Do not use macros from bp-asm.h.
26706 (STR): Likewise.
26707 (CHR): Likewise.
26708 (strchr): Likewise. Do not use BP_SYM.
26709 * sysdeps/i386/strchrnul.S: Do not include "bp-sym.h" and
26710 "bp-asm.h".
26711 (PARMS): Do not use macros from bp-asm.h.
26712 (STR): Likewise.
26713 (CHR): Likewise.
26714 (__strchrnul): Likewise. Do not use BP_SYM.
26715 (strchrnul): Do not use BP_SYM in weak_alias.
26716 * sysdeps/i386/strcspn.S: Do not include "bp-sym.h" and
26717 "bp-asm.h".
26718 (PARMS): Do not use macros from bp-asm.h.
26719 (STOP): Likewise.
26720 (strcspn): Do not use BP_SYM.
26721 * sysdeps/i386/strpbrk.S: Do not include "bp-sym.h" and
26722 "bp-asm.h".
26723 (PARMS): Do not use macros from bp-asm.h.
26724 (STR): Likewise.
26725 (STOP): Likewise.
26726 (strpbrk): Likewise. Do not use BP_SYM.
26727 * sysdeps/i386/strrchr.S: Do not include "bp-sym.h" and
26728 "bp-asm.h".
26729 (PARMS): Do not use macros from bp-asm.h.
26730 (STR): Likewise.
26731 (CHR): Likewise.
26732 (strrchr): Likewise. Do not use BP_SYM.
26733 * sysdeps/i386/strspn.S: Do not include "bp-sym.h" and "bp-asm.h".
26734 (PARMS): Do not use macros from bp-asm.h.
26735 (SKIP): Likewise.
26736 (strspn): Do not use BP_SYM.
26737 * sysdeps/i386/strtok.S: Do not include "bp-sym.h" and "bp-asm.h".
26738 (PARMS): Do not use macros from bp-asm.h.
26739 (STR): Likewise.
26740 (DELIM): Likewise.
26741 (SAVE): Likewise.
26742 (FUNCTION): Likewise. Do not use BP_SYM.
26743 * sysdeps/i386/strtok_r.S (__strtok_r): Do not use BP_SYM in
26744 aliases.
26745 (strtok_r): Likewise.
26746 (__GI___strtok_r): Likewise.
26747 * sysdeps/i386/sub_n.S: Do not include "bp-sym.h" and "bp-asm.h".
26748 (PARMS): Do not use macros from bp-asm.h.
26749 (S1): Likewise.
26750 (S2): Likewise.
26751 (SIZE): Likewise.
26752 (__mpn_sub_n): Do not use BP_SYM.
26753 * sysdeps/i386/submul_1.S: Do not include "bp-sym.h" and
26754 "bp-asm.h".
26755 (PARMS): Do not use macros from bp-asm.h.
26756 (S1): Likewise.
26757 (SIZE): Likewise.
26758 (__mpn_submul_1): Do not use BP_SYM.
26759 * sysdeps/unix/i386/sysdep.S: Do not include <bp-asm.h> and
26760 <bp-sym.h>.
26761 * sysdeps/unix/sysv/linux/i386/clone.S: Do not include <bp-sym.h>
26762 and <bp-asm.h>.
26763 (PARMS): Do not use macros from bp-asm.h.
26764 (FLAGS): Likewise.
26765 (PTID): Likewise.
26766 (TLS): Likewise.
26767 (CTID): Likewise.
26768 (__clone): Do not use BP_SYM.
26769 (clone): Do not use BP_SYM in weak_alias.
26770 * sysdeps/unix/sysv/linux/i386/mmap64.S: Do not include <bp-sym.h>
26771 and <bp-asm.h>.
26772 (PARMS): Do not use macros from bp-asm.h.
26773 (LEN): Likewise.
26774 (__mmap64): Do not use BP_SYM.
26775 (mmap64): Do not use BP_SYM in weak_alias.
26776 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
26777 <bp-sym.h> and <bp-asm.h>.
26778 (PARMS): Do not use macros from bp-asm.h.
26779 (__posix_fadvise64_l64): Do not use BP_SYM.
26780 * sysdeps/unix/sysv/linux/i386/semtimedop.S
26781 (PARMS): Do not use macros from bp-asm.h.
26782 (NSOPS): Likewise.
26783 (semtimedop): Do not use BP_SYM.
26784 * sysdeps/unix/sysv/linux/i386/sysdep.h: Do not include <bp-sym.h>
26785 and <bp-asm.h>.
26786
582a3cff
AM
267872013-02-21 Allan McRae <allan@archlinux.org>
26788
26789 * manual/message.texi (Charset conversion in gettext):
26790 Move @end statement to beginning of line.
26791
bab8a695
SP
267922013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
26793
80945231
SP
26794 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Mark as
26795 static.
26796 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
26797 Likewise.
26798
bab8a695
SP
26799 * sysdeps/ieee754/dbl-64/mpa.c (norm): Fix whitespace.
26800 (denorm): Likewise.
26801 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (norm): Likewise.
26802 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (norm): Likewise.
26803
e21d7aa7
AK
268042013-02-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
26805
26806 * sysdeps/s390/s390-32/dl-trampoline.S (_dl_runtime_profile): Do a
26807 tail-call to the resolved function if pltexit isn't needed.
26808
4c7a4263
SP
268092013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
26810
26811 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Mark X
26812 or Y being zero as being unlikely.
26813 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
26814 Likewise.
26815
41f49342
CD
268162013-02-20 Carlos O'Donell <carlos@redhat.com>
26817
26818 * manual/nss.texi (System Databases and Name Service Switch):
26819 Remove frobnicate @pxref.
26820
50022a93
TS
268212013-02-20 Thomas Schwinge <thomas@codesourcery.com>
26822
26823 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
26824 __attribute__ ((unused)) to __attribute__ ((__unused__)).
26825
08cbd996
PM
268262013-02-20 Petr Machata <pmachata@redhat.com>
26827
26828 * elf/elf.h (R_ARM_TARGET1): New macro.
26829 (R_ARM_SBREL31, R_ARM_V4BX, R_ARM_TARGET2): Likewise.
26830 (R_ARM_PREL31, R_ARM_MOVW_ABS_NC, R_ARM_MOVT_ABS): Likewise.
26831 (R_ARM_MOVW_PREL_NC, R_ARM_MOVT_PREL): Likewise.
26832 (R_ARM_THM_MOVW_ABS_NC, R_ARM_THM_MOVT_ABS): Likewise.
26833 (R_ARM_THM_MOVW_PREL_NC, R_ARM_THM_MOVT_PREL): Likewise.
26834 (R_ARM_THM_JUMP19, R_ARM_THM_JUMP6): Likewise.
26835 (R_ARM_THM_ALU_PREL_11_0, R_ARM_THM_PC12): Likewise.
26836 (R_ARM_ABS32_NOI, R_ARM_REL32_NOI): Likewise.
26837 (R_ARM_ALU_PC_G0_NC, R_ARM_ALU_PC_G0): Likewise.
26838 (R_ARM_ALU_PC_G1_NC, R_ARM_ALU_PC_G1): Likewise.
26839 (R_ARM_ALU_PC_G2, R_ARM_LDR_PC_G1, R_ARM_LDR_PC_G2): Likewise.
26840 (R_ARM_LDRS_PC_G0, R_ARM_LDRS_PC_G1): Likewise.
26841 (R_ARM_LDRS_PC_G2, R_ARM_LDC_PC_G0): Likewise.
26842 (R_ARM_LDC_PC_G1, R_ARM_LDC_PC_G2): Likewise.
26843 (R_ARM_ALU_SB_G0_NC, R_ARM_ALU_SB_G0): Likewise.
26844 (R_ARM_ALU_SB_G1_NC, R_ARM_ALU_SB_G1): Likewise.
26845 (R_ARM_ALU_SB_G2, R_ARM_LDR_SB_G0, R_ARM_LDR_SB_G1): Likewise.
26846 (R_ARM_LDR_SB_G2, R_ARM_LDRS_SB_G0): Likewise.
26847 (R_ARM_LDRS_SB_G1, R_ARM_LDRS_SB_G2): Likewise.
26848 (R_ARM_LDC_SB_G0, R_ARM_LDC_SB_G1, R_ARM_LDC_SB_G2): Likewise.
26849 (R_ARM_MOVW_BREL_NC, R_ARM_MOVT_BREL): Likewise.
26850 (R_ARM_MOVW_BREL, R_ARM_THM_MOVW_BREL_NC): Likewise.
26851 (R_ARM_THM_MOVT_BREL, R_ARM_THM_MOVW_BREL): Likewise.
26852 (R_ARM_PLT32_ABS, R_ARM_GOT_ABS, R_ARM_GOT_PREL): Likewise.
26853 (R_ARM_GOT_BREL12, R_ARM_GOTOFF12, R_ARM_GOTRELAX): Likewise.
26854 (R_ARM_TLS_LDO12, R_ARM_TLS_LE12, R_ARM_TLS_IE12GP): Likewise.
26855 (R_ARM_PRIVATE_0, R_ARM_PRIVATE_1, R_ARM_PRIVATE_2): Likewise.
26856 (R_ARM_PRIVATE_3, R_ARM_PRIVATE_4, R_ARM_PRIVATE_5): Likewise.
26857 (R_ARM_PRIVATE_6, R_ARM_PRIVATE_7, R_ARM_PRIVATE_8): Likewise.
26858 (R_ARM_PRIVATE_9, R_ARM_PRIVATE_10): Likewise.
26859 (R_ARM_PRIVATE_11, R_ARM_PRIVATE_12): Likewise.
26860 (R_ARM_PRIVATE_13, R_ARM_PRIVATE_14): Likewise.
26861 (R_ARM_PRIVATE_15, R_ARM_ME_TOO): Likewise.
26862 (R_ARM_THM_TLS_DESCSEQ16, R_ARM_THM_TLS_DESCSEQ32): Likewise.
26863 (R_ARM_THM_GOT_BREL12): Likewise.
26864 (R_ARM_PC24, R_ARM_PLT32): Updated a comment at this macro.
26865 (R_ARM_THM_PC11, R_ARM_THM_PC9): Likewise.
26866 (R_ARM_THM_ABS5, R_ARM_THM_PC22): Added a comment to this macro.
26867 (R_ARM_THM_PC8, R_ARM_THM_SWI8, R_ARM_XPC25): Likewise.
26868 (R_ARM_THM_XPC22, R_ARM_ALU_PCREL_7_0): Likewise.
26869 (R_ARM_ALU_PCREL_15_8, R_ARM_ALU_PCREL_23_15): Likewise.
26870 (R_ARM_LDR_SBREL_11_0, R_ARM_ALU_SBREL_19_12): Likewise.
26871 (R_ARM_ALU_SBREL_27_20, R_ARM_TLS_DESCSEQ): Likewise.
26872 (R_ARM_THM_TLS_DESCSEQ): Fixed whitespace.
26873
c7b275d6
TS
268742013-02-20 Thomas Schwinge <thomas@codesourcery.com>
26875
26876 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
26877 __attribute_used__ to __attribute__ ((unused)).
26878
20cd7fb3
SP
268792013-02-20 Siddhesh Poyarekar <siddhesh@redhat.com>
26880
26881 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Copy over comment from
26882 powerpc mpa.c.
26883 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Fix
26884 comment formatting.
26885 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul): Likewise.
26886
92945b52
JM
268872013-02-19 Joseph Myers <joseph@codesourcery.com>
26888
26889 [BZ #13550]
26890 * sysdeps/i386/bp-asm.h [__BOUNDED_POINTERS__] (BOUNDS_VIOLATED):
26891 Remove macro.
26892 (ENTER): Remove both macro definitions.
26893 (LEAVE): Likewise.
26894 (CHECK_BOUNDS_LOW): Likewise.
26895 (CHECK_BOUNDS_HIGH): Likewise.
26896 (CHECK_BOUNDS_BOTH): Likewise.
26897 (CHECK_BOUNDS_BOTH_WIDE): Likewise.
26898 (RETURN_BOUNDED_POINTER): Likewise.
26899 (RETURN_NULL_BOUNDED_POINTER): Likewise.
26900 (PUSH_ERRNO_LOCATION_RETURN): Likewise.
26901 (POP_ERRNO_LOCATION_RETURN): Likewise.
26902 * sysdeps/i386/add_n.S (__mpn_add_n): Do not use removed macros.
26903 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
26904 * sysdeps/i386/addmul_1.S (__mpn_addmul_1): Do not use removed
26905 macros.
26906 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
26907 * sysdeps/i386/bsd-_setjmp.S (_setjmp): Do not use removed macros.
26908 * sysdeps/i386/bsd-setjmp.S (setjmp): Likewise.
26909 * sysdeps/i386/fpu/s_frexp.S (__frexp): Likewise.
26910 * sysdeps/i386/fpu/s_frexpf.S (__frexpf): Likewise.
26911 * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Likewise.
26912 * sysdeps/i386/fpu/s_remquo.S (__remquo): Likewise.
26913 * sysdeps/i386/fpu/s_remquof.S (__remquof): Likewise.
26914 * sysdeps/i386/fpu/s_remquol.S (__remquol): Likewise.
26915 * sysdeps/i386/i486/strcat.S (strcat): Likewise.
26916 * sysdeps/i386/i486/strlen.S (strlen): Likewise.
26917 * sysdeps/i386/i586/add_n.S (__mpn_add_n): Likewise.
26918 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
26919 * sysdeps/i386/i586/addmul_1.S (__mpn_addmul_1): Do not use
26920 removed macros.
26921 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
26922 * sysdeps/i386/i586/lshift.S (__mpn_lshift): Do not use removed
26923 macros.
26924 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
26925 * sysdeps/i386/i586/memcpy.S (memcpy): Do not use removed macros.
26926 * sysdeps/i386/i586/memset.S (memset): Likewise.
26927 * sysdeps/i386/i586/mul_1.S (__mpn_mul_1): Likewise.
26928 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
26929 * sysdeps/i386/i586/rshift.S (__mpn_rshift): Do not use removed
26930 macros.
26931 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
26932 * sysdeps/i386/i586/strchr.S (strchr): Do not use removed macros.
26933 Change uses of L(2) to L(out).
26934 * sysdeps/i386/i586/strcpy.S (STRCPY): Do not use removed macros.
26935 * sysdeps/i386/i586/strlen.S (strlen): Likewise.
26936 * sysdeps/i386/i586/sub_n.S (__mpn_sub_n): Likewise.
26937 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
26938 * sysdeps/i386/i586/submul_1.S (__mpn_submul_1): Do not use
26939 removed macros.
26940 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
26941 * sysdeps/i386/i686/add_n.S (__mpn_add_n): Do not use removed
26942 macros.
26943 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
26944 * sysdeps/i386/i686/memcmp.S (ENTRANCE): Do not use macro ENTER.
26945 (RETURN): Do not use macro LEAVE.
26946 * sysdeps/i386/i686/memcpy.S (memcpy): Do not use removed macros.
26947 * sysdeps/i386/i686/memmove.S (memmove): Likewise.
26948 * sysdeps/i386/i686/mempcpy.S (mempcpy): Likewise.
26949 * sysdeps/i386/i686/memset.S (memset): Likewise.
26950 * sysdeps/i386/i686/strcmp.S (strcmp): Likewise.
26951 (strcmp) [!__BOUNDED_POINTERS__]: Make code unconditional.
26952 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
26953 * sysdeps/i386/i686/strtok.S (save_ptr) [__BOUNDED_POINTERS__]:
26954 Likewise.
26955 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
26956 (FUNCTION): Do not use removed macros. Combine labels L(1_1),
26957 L(1_2) and L(1_3) into L(1).
26958 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
26959 * sysdeps/i386/lshift.S (__mpn_lshift): Do not use removed macros.
26960 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
26961 * sysdeps/i386/memchr.S (__memchr): Do not use removed macros.
26962 (__memchr) [__BOUNDED_POINTERS__]: Remove conditional code.
26963 * sysdeps/i386/memcmp.S (memcmp): Do not use removed macros.
26964 * sysdeps/i386/mul_1.S (__mpn_mul_1): Likewise.
26965 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
26966 * sysdeps/i386/rawmemchr.S (__rawmemchr): Do not use removed
26967 macros.
26968 * sysdeps/i386/rshift.S (__mpn_rshift): Likewise.
26969 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
26970 * sysdeps/i386/setjmp.S (__sigsetjmp): Do not use removed macros.
26971 * sysdeps/i386/stpcpy.S (__stpcpy): Likewise.
26972 * sysdeps/i386/stpncpy.S (__stpncpy): Likewise.
26973 (__stpncpy) [__BOUNDED_POINTERS__]: Remove conditional code.
26974 * sysdeps/i386/strchr.S (strchr): Do not use removed macros.
26975 * sysdeps/i386/strchrnul.S (__strchrnul): Likewise.
26976 * sysdeps/i386/strcspn.S (strcspn): Likewise.
26977 * sysdeps/i386/strpbrk.S (strpbrk): Likewise.
26978 * sysdeps/i386/strrchr.S (strrchr): Likewise.
26979 * sysdeps/i386/strspn.S (strspn): Likewise.
26980 * sysdeps/i386/strtok.S (save_ptr) [__BOUNDED_POINTERS__]: Remove
26981 conditional code.
26982 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
26983 (FUNCTION) [!__BOUNDED_POINTERS__]: Likewise.
26984 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
26985 (FUNCTION): Do not use removed macros. Combine labels L(1_2) and
26986 L(1_3) into L(1_1).
26987 * sysdeps/i386/sub_n.S (__mpn_sub_n): Do not use removed macros.
26988 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
26989 * sysdeps/i386/submul_1.S (__mpn_submul_1): Do not use removed
26990 macros.
26991 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
26992
2389741a
JJ
269932013-02-19 Jakub Jelinek <jakub@redhat.com>
26994
26995 * stdlib/strtod_l.c (__mpn_lshift_1): Rewritten as function-like
26996 macro.
26997
2016b3cd
SP
269982013-02-19 Siddhesh Poyarekar <siddhesh@redhat.com>
26999
e4f22324
SP
27000 * math/atest-exp.c (exp_mpn): Remove ROUND.
27001 * math/atest-exp2.c (exp_mpn): Likewise.
27002 * math/atest-sincos.c (sincosx_mpn): Remove ROUND and CHK.
27003
2016b3cd
SP
27004 * stdlib/cxa_thread_atexit_impl.c: Fix Copyright year.
27005 * stdlib/tst-tls-atexit-lib.c: Likewise.
27006 * stdlib/tst-tls-atexit.c: Likewise.
27007
4be9b544
MF
270082013-02-18 Mike Frysinger <vapier@gentoo.org>
27009
27010 * stdlib/stdlib.h (aligned_alloc): Use __attribute_malloc__
27011 and __attribute_alloc_size__.
27012
2f62b9ee
MF
270132013-02-18 Mike Frysinger <vapier@gentoo.org>
27014
27015 * include/programs/xmalloc.h: Change __attribute_alloc_size to
27016 __attribute_alloc_size__.
27017 * include/sys/cdefs.h (__attribute_alloc_size): Macro removed.
27018 * misc/sys/cdefs.h (__attribute_alloc_size__): New macro.
27019
6ff444c4
MF
270202013-02-18 Mike Frysinger <vapier@gentoo.org>
27021
27022 * include/programs/xmalloc.h: New file.
27023 * catgets/gencat.c: Include it.
27024 (xmalloc, xcalloc, xrealloc, xstrdup): Don't declare them.
27025 * elf/pldd.c: Likewise.
27026 * iconv/iconv_charmap.c: Likewise.
27027 * iconv/iconvconfig.c: Likewise.
27028 * iconv/strtab.c: Likewise.
27029 * locale/programs/locale.c: Likewise.
27030 * locale/programs/localedef.h: Likewise.
27031 * locale/programs/simple-hash.c: Likewise.
27032 * nscd/nscd.h: Likewise.
27033 * nss/makedb.c: Likewise.
27034 * sysdeps/generic/ldconfig.h: Likewise.
27035
be179c8a
SP
270362013-02-18 Siddhesh Poyarekar <siddhesh@redhat.com>
27037
ba384f6e
SP
27038 * Versions.def: Add GLIBC_2.18.
27039 * include/link.h (struct link_map): New member l_tls_dtor_count.
27040 * include/stdlib.h (__cxa_thread_atexit_impl): Declare.
27041 (__call_tls_dtors): Likewise.
27042 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add
27043 __cxa_thread_atexit_impl.
27044 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
27045 Likewise.
27046 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
27047 Likewise.
27048 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
27049 Likewise.
27050 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
27051 Likewise.
27052 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
27053 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist:
27054 Likewise.
27055 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist:
27056 Likewise.
27057 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
27058 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
27059 Likewise.
27060 * stdlib/Makefile (routines): Add __cxa_thread_atexit_impl.
27061 (tests): Add test case tst-tls-atexit.
27062 (modules-names): Add shared library for tst-tls-atexit.
85891aca 27063 * stdlib/Versions (GLIBC_2.18): Add __cxa_thread_atexit_impl.
ba384f6e
SP
27064 (GLIBC_PRIVATE): Add __call_tls_dtors.
27065 * stdlib/cxa_thread_atexit_impl.c: New file with helper function
27066 for libstdc++.
27067 * stdlib/exit.c (__run_exit_handlers): Call __call_tls_dtors.
27068 * stdlib/tst-tls-atexit.c: New test case.
27069 * stdlib/tst-tls-atexit-lib.c: New test case.
27070
ffaa74cf 27071 * misc/tst-pselect.c: Include stdlib.h for declaration of exit.
ffaa74cf 27072
be179c8a
SP
27073 * elf/Versions (ld): Add _dl_find_dso_for_object.
27074 * elf/dl-addr.c (_dl_addr): Use _dl_find_dso_for_object.
27075 * elf/dl-open.c (_dl_find_dso_for_object): New function.
27076 (dl_open_worker): Use _dl_find_dso_for_object.
27077 * elf/dl-sym.c (do_sym): Likewise.
27078 * sysdeps/generic/ldsodefs.h: Declare _dl_find_dso_for_object.
27079
f78b5caa
AK
270802013-02-18 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
27081
27082 * sysdeps/s390/s390-64/dl-trampoline.S (_dl_runtime_resolve):
27083 Syntactic changes only.
27084 (_dl_runtime_profile): Do a tail-call to the resolved function.
27085
29691210
JM
270862013-02-17 Joseph Myers <joseph@codesourcery.com>
27087
27088 [BZ #13550]
27089 * sysdeps/x86_64/bp-asm.h: Remove file.
27090 * sysdeps/unix/sysv/linux/x86_64/clone.S: Do not include
27091 <bp-sym.h> and <bp-asm.h>.
27092 (__clone): Do not use BP_SYM.
27093 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Do not include
27094 <bp-sym.h> and <bp-asm.h>.
27095 * sysdeps/unix/x86_64/sysdep.S: Likewise.
27096 * sysdeps/x86_64/bsd-_setjmp.S: Do not include "bp-sym.h" and
27097 "bp-asm.h".
27098 (_setjmp): Do not use BP_SYM.
27099 * sysdeps/x86_64/bsd-setjmp.S: Do not include "bp-sym.h" and
27100 "bp-asm.h".
27101 (setjmp): Do not use BP_SYM.
27102 * sysdeps/x86_64/mempcpy.S (__mempcpy): Do not use BP_SYM in
27103 libc_hidden_def.
27104 (mempcpy): Do not use BP_SYM in weak_alias.
27105 * sysdeps/x86_64/rtld-strchr.S: Do not include "bp-sym.h" and
27106 "bp-asm.h".
27107 (strchr): Do not use BP_SYM.
27108 * sysdeps/x86_64/rtld-strlen.S: Do not include "bp-sym.h" and
27109 "bp-asm.h".
27110 * sysdeps/x86_64/setjmp.S (__sigsetjmp): Do not use BP_SYM.
27111 * sysdeps/x86_64/start.S: Do not include "bp-sym.h".
27112 (_start): Do not use BP_SYM.
27113 * sysdeps/x86_64/strcat.S: Do not include "bp-sym.h" and
27114 "bp-asm.h".
27115 (strcat): Do not use BP_SYM.
27116 * sysdeps/x86_64/strcmp.S: Do not include "bp-sym.h" and
27117 "bp-asm.h".
27118 (STRCMP): Do not use BP_SYM.
27119 * sysdeps/x86_64/strcpy.S: Do not include "bp-sym.h" and
27120 "bp-asm.h".
27121 (STRCPY): Do not use BP_SYM.
27122 * sysdeps/x86_64/strcpy_chk.S: Do not include "bp-sym.h" and
27123 "bp-asm.h".
27124 * sysdeps/x86_64/strtok.S: Do not include "bp-sym.h" and
27125 "bp-asm.h".
27126 (FUNCTION): Do not use BP_SYM.
27127 * sysdeps/x86_64/strtok_r.S (strtok_r): Do not use BP_SYM in
27128 weak_alias.
27129 (__GI___strtok_r): Do not use BP_SYM in strong_alias.
27130
f238fd19
AJ
271312013-02-17 Andreas Jaeger <aj@suse.de>
27132
27133 * time/Versions: Sort entries.
27134 * string/Versions: Likewise.
27135 * resolv/Versions: Likewise.
27136 * posix/Versions: Likewise.
27137 * iconv/Versions: Likewise.
27138 * elf/Versions: Likewise.
27139 * wcsmbs/Versions: Likewise.
27140
bd07f23c 271412013-02-15 Siddhesh Poyarekar <siddhesh@redhat.com>
4709fe76 27142
22af19f9
SP
27143 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Avoid using LIM in
27144 loop termination condition.
27145
4709fe76
SP
27146 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Use intermediate
27147 variable to calculate EZ.
27148 (__sqr): Likewise.
2d0e0f29
SP
27149
27150 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Fix determination of
27151 the lower precision input.
27152
daaa7713
JM
271532013-02-15 Joseph Myers <joseph@codesourcery.com>
27154
27155 [BZ #13550]
27156 * Makeconfig [!+link-bounded] (+link-bounded): Remove variable.
27157 [!link-extra-libs] (link-extra-libs-bounded): Likewise.
27158 (run-via-rtld-prefix): Do not handle %-bp tests.
27159 (test-via-rtld-prefix): Do not mention %-bp tests in comment.
27160 (all-object-suffixes): Remove .ob.
27161 (bppfx): Remove variable.
27162 [$(build-bounded) = yes] (object-suffixes): Do not add .ob.
27163 [$(build-bounded) = yes] (CPPFLAGS-.ob): Remove variable.
27164 [$(build-bounded) = yes] (CFLAGS-.ob): Likewise.
27165 [$(build-bounded) = yes] (libtype.ob): Likewise.
27166 * Makerules (elide-routines.ob): Remove variable.
27167 (do-tests-clean): Do not handle *-bp.out.
27168 (common-mostlyclean): Do not handle *-bp and *-bp.out.
27169 * Rules [$(build-bounded) = yes] (tests-bp.out): Remove variable.
27170 [$(build-bounded) = yes] (xtests-bp.out): Likewise.
27171 (tests): Do not include $(tests-bp.out).
27172 (xtests): Do not include $(xtests-bp.out).
27173 [$(build-bounded) = yes] (binaries-bounded): Remove variable.
27174 [$(build-bounded) = yes] ($(addprefix
27175 $(objpfx),$(binaries-bounded))): Remove rule.
27176 ($(objpfx)%-bp.out): Remove rule.
27177 * config.make.in (build-bounded): Remove variable.
27178 * crypt/Makefile [$(build-bounded) = yes]
27179 ($(tests:%=$(objpfx)%-bp)): Remove dependency.
27180 * csu/Makefile [$(build-bounded) = yes] (extra-objs): Do not
27181 append to variable.
27182 [$(build-bounded) = yes] (install-lib): Likewise.
27183 [$(build-bounded) = yes] (generated): Likewise.
27184 [!start-installed-name-rule] ($(objpfx)b$(start-installed-name)):
27185 Remove rule.
27186 * intl/Makefile [$(build-bounded) = yes]
27187 ($(multithread-test-srcs:%=$(objpfx)%-bp)): Remove dependency.
27188 * math/Makefile [$(build-bounded) = yes]
27189 ($(tests:%=$(objpfx)%-bp): Likewise.
27190 * misc/Makefile [$(build-bounded) = yes]
27191 ($(objpfx)tst-tsearch-bp): Likewise.
27192 * nptl/Makeconfig (bounded-thread-library): Remove variable.
27193 * rt/Makefile [$(build-bounded) = yes] ($(tests:%=$(objpfx)%-bp)):
27194 Remove dependency.
27195 * string/Makefile (o-objects.ob): Remove variable.
27196 * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]
27197 (CFLAGS-.ob): Remove variable.
27198 [$(config-asflags-i686) = yes] (ASFLAGS-.ob): Likewise.
27199 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.ob): Remove
27200 both definitions of variable.
27201 * sysdeps/sparc/sparc64/Makefile [$(have-as-vis3) = yes]
27202 (ASFLAGS-.ob): Remove variable.
27203
e97ed6dd
JM
272042013-02-14 Joseph Myers <joseph@codesourcery.com>
27205
2bdd4ca6
JM
27206 [BZ #13550]
27207 * config.h.in [USE_REGPARMS && !PROF && !__BOUNDED_POINTERS__]:
27208 Remove __BOUNDED_POINTERS__ from condition.
27209 * elf/dl-runtime.c [!PROF && !__BOUNDED_POINTERS__]: Likewise.
27210 * string/bits/string2.h [!__NO_STRING_INLINES &&
27211 !__BOUNDED_POINTERS__]: Likewise.
27212 * sysdeps/i386/dl-machine.h [!PROF && !__BOUNDED_POINTERS__]:
27213 Likewise.
27214 * sysdeps/unix/sysv/linux/shmat.c (shmat) [__BOUNDED_POINTERS__]:
27215 Remove conditional code.
27216 * sysdeps/x86/bits/string.h [!__NO_STRING_INLINES &&
27217 __USE_STRING_INLINES && __GNUC__ && __GNUC__ >= 2 &&
27218 !__BOUNDED_POINTERS__]: Remove __BOUNDED_POINTERS__ from
27219 condition.
27220
e97ed6dd
JM
27221 [BZ #13550]
27222 * csu/libc-start.c: Do not include <bp-sym.h>.
27223 [!LIBC_START_MAIN] (LIBC_START_MAIN): Do not use BP_SYM.
27224 * elf/dl-open.c: Do not include <bp-sym.h>.
27225 (_dl_sysdep_start): Do not use BP_SYM in weak_extern.
27226 * math/fegetenv.c: Do not include <bp-sym.h>.
27227 (fegetenv): Do not use BP_SYM in versioned symbols.
27228 * nptl/sysdeps/pthread/bits/libc-lockP.h
27229 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]: Do not include
27230 <bp-sym.h>.
27231 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
27232 (__pthread_mutex_init): Do not use BP_SYM in weak_extern.
27233 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
27234 (__pthread_mutex_destroy): Likewise.
27235 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
27236 (__pthread_mutex_lock): Likewise.
27237 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
27238 (__pthread_mutex_trylock): Likewise.
27239 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
27240 (__pthread_mutex_unlock): Likewise.
27241 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
27242 (__pthread_mutexattr_init): Likewise.
27243 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
27244 (__pthread_mutexattr_destroy): Likewise.
27245 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
27246 (__pthread_mutexattr_settype): Likewise.
27247 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
27248 (__pthread_rwlock_init): Likewise.
27249 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
27250 (__pthread_rwlock_destroy): Likewise.
27251 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
27252 (__pthread_rwlock_rdlock): Likewise.
27253 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
27254 (__pthread_rwlock_tryrdlock): Likewise.
27255 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
27256 (__pthread_rwlock_wrlock): Likewise.
27257 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
27258 (__pthread_rwlock_trywrlock): Likewise.
27259 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
27260 (__pthread_rwlock_unlock): Likewise.
27261 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
27262 (__pthread_key_create): Likewise.
27263 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
27264 (__pthread_setspecific): Likewise.
27265 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
27266 (__pthread_getspecific): Likewise.
27267 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern] (__pthread_once):
27268 Likewise.
27269 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
27270 (_pthread_cleanup_push_defer): Likewise.
27271 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
27272 (_pthread_cleanup_pop_restore): Likewise.
27273 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
27274 (pthread_setcancelstate): Likewise.
27275 * string/memchr.c [HAVE_BP_SYM_H || _LIBC]: Do not include
27276 <bp-sym.h>.
27277 [!(HAVE_BP_SYM_H || _LIBC)] (BP_SYM): Remove macro definition.
27278 (memchr): Do not use BP_SYM in weak_alias.
27279 * sysdeps/i386/fpu/fegetenv.c: Do not include <bp-sym.h>.
27280 (fegetenv): Do not use BP_SYM in versioned symbols.
27281 * sysdeps/i386/fpu/fesetenv.c: Do not include <bp-sym.h>.
27282 (fesetenv): Do not use BP_SYM in versioned symbols.
27283 * sysdeps/i386/fpu/feupdateenv.c: Do not include <bp-sym.h>.
27284 (feupdateenv): Do not use BP_SYM in versioned symbols.
27285 * sysdeps/i386/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
27286 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
27287 * sysdeps/posix/open64.c: Do not include <bp-sym.h>.
27288 (__open64): Do not use BP_SYM in weak_alias and libc_hidden_weak.
27289 (open64): Do not use BP_SYM in weak_alias.
27290 * sysdeps/powerpc/fpu/fegetenv.c: Do not include <bp-sym.h>.
27291 (fegetenv): Do not use BP_SYM in versioned symbols.
27292 * sysdeps/powerpc/fpu/fesetenv.c: Do not include <bp-sym.h>.
27293 (fesetenv): Do not use BP_SYM in versioned symbols.
27294 * sysdeps/powerpc/fpu/feupdateenv.c: Do not include <bp-sym.h>.
27295 (feupdateenv): Do not use BP_SYM in versioned symbols.
27296 * sysdeps/powerpc/fpu/fgetexcptflg.c: Do not include <bp-sym.h>.
27297 (fegetexceptflag): Do not use BP_SYM in versioned symbols.
27298 * sysdeps/powerpc/fpu/fraiseexcpt.c: Do not include <bp-sym.h>.
27299 (feraiseexcept): Do not use BP_SYM in versioned symbols.
27300 * sysdeps/powerpc/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
27301 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
27302 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Do not include
27303 <bp-sym.h>.
27304 (__libc_start_main): Do not use BP_SYM.
27305
d6752ccd
SP
273062013-02-14 Siddhesh Poyarekar <siddhesh@redhat.com>
27307
cb57ce60
SP
27308 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cpy): Remove
27309 redundant return line.
27310 (norm): Likewise.
27311 (denorm): Likewise.
27312 (dbl_mp): Likewise.
27313 (sub_magnitudes): Likewise.
27314 (__add): Likewise.
27315 (__sub): Likewise.
27316 (__mul): Likewise.
27317 (__inv): Likewise.
27318 (__dvd): Likewise.
27319 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cpy): Likewise.
27320 (norm): Likewise.
27321 (denorm): Likewise.
27322 (dbl_mp): Likewise.
27323 (sub_magnitudes): Likewise.
27324 (__add): Likewise.
27325 (__sub): Likewise.
27326 (__mul): Likewise.
27327 (__inv): Likewise.
27328 (__dvd): Likewise.
27329
f414520d
SP
27330 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __sqr
27331 instead of __mul.
27332 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
27333 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Likewise.
27334 (cc32): Likewise.
27335
d6752ccd
SP
27336 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): New function.
27337 * sysdeps/ieee754/dbl-64/mpa.h (__sqr): Declare.
27338 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): use __sqr instead
27339 of __mul for squares.
27340 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__sqr): New
27341 function
27342 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__sqr):
27343 Likewise.
27344 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define __sqr.
27345 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
27346
70d9946a
JM
273472013-02-13 Joseph Myers <joseph@codesourcery.com>
27348
27349 [BZ #13550]
27350 * misc/sys/cdefs.h [!__BOUNDED_POINTERS__]: Remove conditional
27351 code.
27352 * csu/libc-start.c (LIBC_START_MAIN): Do not use __unbounded in
27353 prototype or function definition. Rename ubp_* variables and
27354 parameters. Remove argv definitions conditional on
27355 [__BOUNDED_POINTERS__].
27356 * debug/backtrace.c (__backtrace): Do not use __unbounded.
27357 * elf/dl-runtime.c (_dl_fixup): Likewise.
27358 * include/set-hooks.h (RUN_HOOK): Likewise.
27359 * stdio-common/vfprintf.c (JUMP): Do not use __unbounded in either
27360 definition.
27361 * string/strcpy.c (strcpy): Do not use __unbounded.
27362 * sysdeps/generic/frame.h (struct layout): Likewise.
27363 * sysdeps/gnu/bits/msq.h (struct msqid_ds): Likewise.
27364 * sysdeps/i386/dl-machine.h (_dl_fixup): Likewise.
27365 * sysdeps/powerpc/powerpc32/backtrace.c (struct layout): Likewise.
27366 * sysdeps/powerpc/powerpc64/backtrace.c (struct layout): Likewise.
27367 * sysdeps/sparc/backtrace.c (struct layout): Likewise.
27368 (__backtrace): Likewise.
27369 * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Do not
27370 use __ptrvalue.
27371 * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
27372 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
27373 * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
27374 Likewise.
27375 * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Likewise.
27376 * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Likewise.
27377 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
27378 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
27379 * sysdeps/unix/sysv/linux/i386/msgctl.c (struct __old_msqid_ds):
27380 Do not use __unbounded.
27381 * sysdeps/unix/sysv/linux/i386/setrlimit.c (__new_setrlimit):
27382 Rename __unboundedrlimits parameter to rlimits in prototype.
27383 * sysdeps/unix/sysv/linux/i386/shmctl.c (struct __old_shmid_ds):
27384 Do not use __unbounded.
27385 * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction): Do
27386 not use __ptrvalue.
27387 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
27388 * sysdeps/unix/sysv/linux/llseek.c (__llseek): Likewise.
27389 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
27390 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Do not use
27391 __ptrvalue or __unbounded.
27392 (__mmap64) [__BOUNDED_POINTERS__]: Remove conditional code.
27393 * sysdeps/unix/sysv/linux/msgctl.c (struct __old_msqid_ds): Do not
27394 use __unbounded.
27395 (__new_msgctl): Do not use __ptrvalue.
27396 * sysdeps/unix/sysv/linux/msgrcv.c (struct ipc_kludge): Do not use
27397 __unbounded.
27398 (__libc_msgrcv): Do not use __ptrvalue.
27399 * sysdeps/unix/sysv/linux/powerpc/libc-start.c (struct
27400 startup_info): Do not use __unbounded.
27401 (__libc_start_main): Likewise. Rename ubp_* variables and
27402 parameters. Remove argv definitions conditional on
27403 [__BOUNDED_POINTERS__].
27404 * sysdeps/unix/sysv/linux/ptrace.c (ptrace): Do not use
27405 __ptrvalue.
27406 * sysdeps/unix/sysv/linux/semctl.c (struct __old_semid_ds): Do not
27407 use __unbounded.
27408 * sysdeps/unix/sysv/linux/shmat.c (shmat): Do not use __unbounded
27409 or __ptrvalue.
27410 * sysdeps/unix/sysv/linux/shmctl.c (struct __old_shmid_ds): Do not
27411 use __unbounded.
27412 (__new_shmctl): Do not use __ptrvalue.
27413 * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
27414 * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
27415 Likewise.
27416 * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
27417 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c
27418 (__libc_sigaction): Likewise.
27419 * sysdeps/unix/sysv/linux/sysctl.c (__sysctl): Likewise.
27420 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (__libc_sigaction):
27421 Likewise.
27422 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
27423
cc7834d6
OB
274242013-02-13 Ondřej Bílka <neleai@seznam.cz>
27425
ffb1ec7b 27426 * stdlib/Makefile (headers): Add bits/stdlib-bsearch.h.
170704c9
OB
27427
27428 * string/mempcpy.c: Implement by calling memcpy.
27429
bdf02814
SP
274302013-02-13 Siddhesh Poyarekar <siddhesh@redhat.com>
27431
c2af38aa
SP
27432 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove NFA.
27433
4e92d59e
SP
27434 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Faster polynomial
27435 evaluation.
27436
909279a5
SP
27437 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Don't bother with zero
27438 values in the mantissa.
27439
bdf02814
SP
27440 * sysdeps/ieee754/dbl-64/mpa.c (add_magnitudes): Use ZK to
27441 minimize writes to Z.
27442 (sub_magnitudes): Simplify code a bit.
27443
cd525923
RM
274442013-02-12 Roland McGrath <roland@hack.frob.com>
27445
27446 * include/libc-symbols.h (stub_warning): Remove "warning: " prefix
27447 from the message. The linker prefixes all warnings with that already.
27448
7e2f0d2d
AS
274492013-02-12 Andreas Schwab <schwab@suse.de>
27450
a445af0b
AS
27451 [BZ #15078]
27452 * posix/regexec.c (extend_buffers): Add parameter min_len.
27453 (check_matching): Pass minimum needed length.
27454 (clean_state_log_if_needed): Likewise.
27455 (get_subexp): Likewise.
27456 * posix/Makefile (tests): Add bug-regex34.
27457 (bug-regex34-ENV): Define.
27458 * posix/bug-regex34.c: New file.
27459
7e2f0d2d
AS
27460 [BZ #11561]
27461 * posix/regcomp.c (parse_bracket_exp): When looking up collating
27462 elements compare against the byte sequence of it, not its name.
27463 * posix/Makefile (tests): Add bug-regex35.
27464 (bug-regex35-ENV): Define.
27465 * posix/bug-regex35.c: New file.
27466
a175b684
TV
274672013-02-11 Tom de Vries <tom@codesourcery.com>
27468
27469 * string/str-two-way.h: Fix typo RESULT_TYPE -> RETURN_TYPE in
27470 comment.
27471 Add RET0_IF_0 and CHECK_EOL to macro list in comment.
27472 (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J): Remove superfluous undef.
27473 (CHECK_EOL): Add undef.
27474
310998fe 274752013-02-11 Ondřej Bílka <neleai@seznam.cz>
41eda41d
OB
27476
27477 * bits/stdlib-bsearch.h: New file.
27478 * stdlib/bsearch.c: Include bits/stdlib-bsearch.h.
310998fe 27479 * stdlib/stdlib.h: Likewise.
41eda41d 27480
8ded91fb
RM
274812013-02-11 Roland McGrath <roland@hack.frob.com>
27482
27483 * manual/conf.texi (General Limits): Fix SSIZE_MAX type to ssize_t.
27484 * manual/errno.texi (Error Messages): Fix typo in error_print_progname
27485 declaration.
27486 * manual/search.texi (Array Search Function): Add missing const in
27487 lfind prototype.
27488 * manual/resource.texi (Limits on Resources): Fix RLIM_INFINITY
27489 declaration to use rlim_t.
27490 (Basic Scheduling Functions): Remove erroneous const from
27491 sched_getparam prototype. Remove erroneous * from
27492 sched_get_priority_max and sched_get_priority_min prototypes.
27493 (Resource Usage): Fix summary @comment on vtimes to refer to
27494 sys/vtimes.h rather than vtimes.h.
27495 Add missing *s in vtimes prototype.
27496 (Limits on Resources): Fix ulimit prototype to return long int.
27497 * manual/math.texi (SVID Random): Fix lrand48_r and mrand48_r
27498 prototypes to use long int rather than double.
27499 (BSD Random): Fix initstate and setstate to use char *, not void *.
27500 * manual/llio.texi (Asynchronous Reads/Writes): Fix lio_listio64
27501 prototype to make second argument 'struct aiocb64 *const[]'.
27502 Fix aio_read64 and aio_write64 prototypes to use struct aiocb64.
27503 (Status of AIO Operations): Remove erroneous const in aio_return and
27504 aio_return64 prototypes.
27505 (Synchronizing I/O): Fix sync prototype to return void.
27506 * manual/startup.texi (Suboptions): Remove an erroneous const in
27507 getsubopt prototype.
27508 * manual/getopt.texi (Using Getopt): Add a const in getopt prototype.
27509 * manual/users.texi (Lookup Netgroup): Fix getnetgrent_r prototype to
27510 use size_t rather than int.
27511 (Scanning All Users): Likewise for getpwent_r.
27512 (Setting Groups): Add missing const to setgroups prototype.
27513 * manual/sysinfo.texi (mtab): Fix typo in getmntent_r prototype.
27514 * manual/socket.texi (Host Names): Fix gethostbyaddr and
27515 gethostbyaddr_r prototypes to use socklen_t rather than size_t and
27516 'const void *' rather than 'const char *'.
27517 (Host Address Functions): Likewise for inet_ntop.
27518 (Networks Database): Fix getnetbyaddr prototype to use uint32_t.
27519 (Receiving Data): Fix recv, recvfrom, recvmsg prototypes to use
27520 ssize_t for return value.
27521 (Sending Data): Likewise for send, sendto, sendmsg.
27522 (Socket Option Functions): Add a missing const in setsockopt prototype.
27523 * manual/stdio.texi (Simple Output): Fix fputwc_unlocked prototype to
27524 use wchar_t for the argument.
27525 (Formatted Input Functions): Fix swscanf prototype to use wchar_t *.
27526 * manual/arith.texi (Control Functions): Fix fegetexcept prototype to
27527 take no arguments.
27528 (Normalization Functions): Fix scalb, scalbf, scalbl prototypes to use
27529 double/float/long double for second argument.
27530 Fix return types of significand, significandf, significandl.
27531 * manual/filesys.texi (Setting Permissions): Use mode_t for second
27532 argument in fchmod prototype.
27533 (File Owner): Use uid_t and gid_t in fchown prototype.
27534 (File Times): Add const to utimes, futimes, and lutimes prototypes.
27535 (Making Special Files): Use mode_t and dev_t in mknod prototype.
27536 (Scanning Directory Content): Fix scandir and scandir64 prototypes to
27537 use 'const struct dirent **' as argument types to CMP function pointer
27538 argument.
27539 (Symbolic Links): Fix readlink prototype with ssize_t as return value.
27540 (File Times): Fix summary magic @comment for struct utimbuf and utime
27541 to refer to utime.h, not time.h.
27542 * manual/string.texi (Argz Functions): Add missing const in
27543 argz_extract and argz_next prototypes.
27544 (Finding Tokens in a String): Likewise for basename.
27545 (String/Array Comparison): Fix typo in wcscasecmp prototype.
27546 (Copying and Concatenation): Fix typo in wmemmove prototype.
27547 * manual/signal.texi (Using Pause): Use (void) in pause prototype.
27548 (Signal Stack): Remove erroneous const in sigstack prototype.
27549 * manual/time.texi (Setting an Alarm): Add missing const in setitimer
27550 prototype.
27551 (Simple Calendar Time): Likewise for stime.
27552 * manual/terminal.texi (BSD Terminal Modes): Add missing const in stty
27553 prototype.
27554 * manual/sysinfo.texi (System Parameters): Fix mentions of sysctl.h to
27555 say sys/sysctl.h instead.
27556 * manual/syslog.texi (syslog; vsyslog): Add missing const in syslog
27557 and vsyslog prototypes.
27558
fe77fe6d
TV
275592013-02-11 Tom de Vries <tom@codesourcery.com>
27560
27561 * string/Makefile (CFLAGS-bug-strstr1.c, CFLAGS-bug-strcasestr1.c):
27562 Remove.
27563
3a09b620
RM
275642013-02-11 Roland McGrath <roland@hack.frob.com>
27565
27566 * misc/sys/mman.h: Fix typo in mremap comment.
27567
550a0b89
RM
275682013-02-08 Roland McGrath <roland@hack.frob.com>
27569
27570 * manual/examples/mkfsock.c (make_named_socket): Don't add one for
27571 the '\0' terminator.
27572
a2da1673
JM
275732013-02-08 Joseph Myers <joseph@codesourcery.com>
27574
27575 [BZ #13550]
27576 * debug/segfault.c: Don't include <bp-checks.h>.
27577 * sysdeps/generic/bp-checks.h: Remove file.
27578 * sysdeps/unix/sysv/linux/getdents.c: Don't include <bp-checks.h>.
27579 (__GETDENTS): Don't use CHECK_N.
27580 * sysdeps/unix/sysv/linux/i386/brk.c: Don't include <bp-checks.h>.
27581 * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
27582 (__getgroups): Don't use CHECK_N.
27583 * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
27584 (setgroups): Don't use CHECK_N.
27585 * sysdeps/unix/sysv/linux/mmap64.c: Don't include <bp-checks.h>.
27586 * sysdeps/unix/sysv/linux/msgrcv.c: Likewise.
27587 (__libc_msgrcv): Don't use CHECK_N.
27588 * sysdeps/unix/sysv/linux/msgsnd.c: Don't include <bp-checks.h>.
27589 (__libc_msgsnd): Don't use CHECK_N.
27590 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Don't include
27591 <bp-checks.h>.
27592 (__libc_pread): Don't use CHECK_N.
27593 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Don't
27594 include <bp-checks.h>.
27595 (__libc_pread64): Don't use CHECK_N.
27596 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Don't
27597 include <bp-checks.h>.
27598 (__libc_pwrite): Don't use CHECK_N.
27599 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Don't
27600 include <bp-checks.h>.
27601 (__libc_pwrite64): Don't use CHECK_N.
27602 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Don't include
27603 <bp-checks.h>.
27604 (__libc_pread): Don't use CHECK_N.
27605 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Don't
27606 include <bp-checks.h>.
27607 (__libc_pread64): Don't use CHECK_N.
27608 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Don't
27609 include <bp-checks.h>.
27610 (__libc_pwrite): Don't use CHECK_N.
27611 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Don't
27612 include <bp-checks.h>.
27613 (__libc_pwrite64): Don't use CHECK_N.
27614 * sysdeps/unix/sysv/linux/pread.c: Don't include <bp-checks.h>.
27615 (do_pread): Don't use CHECK_N.
27616 * sysdeps/unix/sysv/linux/pread64.c: Don't include <bp-checks.h>.
27617 (do_pread64): Don't use CHECK_N.
27618 * sysdeps/unix/sysv/linux/pwrite.c: Don't include <bp-checks.h>.
27619 (do_pwrite): Don't use CHECK_N.
27620 * sysdeps/unix/sysv/linux/pwrite64.c: Don't include <bp-checks.h>.
27621 (do_pwrite64): Don't use CHECK_N.
27622 * sysdeps/unix/sysv/linux/readv.c: Don't include <bp-checks.h>.
27623 (__libc_readv): Don't use CHECK_N.
27624 * sysdeps/unix/sysv/linux/semop.c: Don't include <bp-checks.h>.
27625 (semop): Don't use CHECK_N.
27626 * sysdeps/unix/sysv/linux/semtimedop.c: Don't include
27627 <bp-checks.h>.
27628 (semtimedop): Don't use CHECK_N.
27629 * sysdeps/unix/sysv/linux/sh/pread.c: Don't include <bp-checks.h>.
27630 (__libc_pread): Don't use CHECK_N.
27631 * sysdeps/unix/sysv/linux/sh/pread64.c: Don't include
27632 <bp-checks.h>.
27633 (__libc_pread64): Don't use CHECK_N.
27634 * sysdeps/unix/sysv/linux/sh/pwrite.c: Don't include
27635 <bp-checks.h>.
27636 (__libc_pwrite): Don't use CHECK_N.
27637 * sysdeps/unix/sysv/linux/sh/pwrite64.c: Don't include
27638 <bp-checks.h>.
27639 (__libc_pwrite64): Don't use CHECK_N.
27640 * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c: Don't include
27641 <bp-checks.h>.
27642 (__libc_msgrcv): Don't use CHECK_N.
27643 * sysdeps/unix/sysv/linux/sysctl.c: Don't include <bp-checks.h>.
27644 (__sysctl): Don't use CHECK_N. Remove GKM FIXME comment.
27645 * sysdeps/unix/sysv/linux/writev.c: Don't include <bp-checks.h>.
27646 (__libc_writev): Don't use CHECK_N.
27647
b84660a8
RM
276482013-02-08 Roland McGrath <roland@hack.frob.com>
27649
7f3e75f8
RM
27650 * string/strcpy.c: Removed unused variable.
27651
b84660a8
RM
27652 * Makeconfig (+sysdep-includes): Define with := rather than =.
27653 Use an existing include/ subdir of each sysdeps dir before it.
27654
471514d3
CD
276552013-02-08 Carlos O'Donell <carlos@redhat.com>
27656
27657 * nscd/connection.c (register_traced_file): Comment function.
27658 [HAVE_INOTIFY] (union __inev): Define.
27659 [HAVE_INOTIFY] (inotify_check_files): New function.
27660 [HAVE_INOTIFY] (clear_db_cache): Likewise.
27661 [HAVE_INOTIFY] (main_loop_poll): Call inotify_check_files and
27662 clear_db_cache.
27663 [HAVE_INOTIFY] (main_loop_epoll): Likewise.
27664
b2d3c3be
CD
276652013-02-08 Carlos O'Donell <carlos@redhat.com>
27666
27667 * elf/dl-cache.c (_dl_load_cache_lookup): Comment that cache is
27668 loaded if not already and that a failure is permanent.
27669
b39949d2
CD
276702013-02-08 Carlos O'Donell <carlos@redhat.com>
27671
ddacd1db 27672 [BZ #15006]
b39949d2
CD
27673 * sysdeps/generic/ldconfig.h: Define FLAG_ARM_LIBSF.
27674 * elf/cache.c (print_entry): Add FLAG_ARM_LIBSF support.
27675
b2c9eff4
JM
276762013-02-08 Joseph Myers <joseph@codesourcery.com>
27677
f3aae3f3
JM
27678 [BZ #13550]
27679 * sysdeps/generic/bp-checks.h (CHECK_1): Remove all definitions.
27680 (CHECK_1_NULL_OK): Likewise.
27681 * sysdeps/unix/sysv/linux/fxstat.c: Do not include <bp-checks.h>.
27682 (__fxstat): Do not use CHECK_1.
27683 * sysdeps/unix/sysv/linux/fxstat64.c: Do not include
27684 <bp-checks.h>.
27685 (___fxstat64): Do not use CHECK_1.
27686 * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
27687 <bp-checks.h>.
27688 (__fxstatat): Do not use CHECK_1.
27689 * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
27690 <bp-checks.h>.
27691 (__fxstatat64): Do not use CHECK_1.
27692 * sysdeps/unix/sysv/linux/i386/fxstat.c: Do not include
27693 <bp-checks.h>.
27694 (__fxstat): Do not use CHECK_1.
27695 * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
27696 <bp-checks.h>.
27697 (__fxstatat): Do not use CHECK_1.
27698 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
27699 <bp-checks.h>.
27700 (__getresgid): Do not use CHECK_1.
27701 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
27702 <bp-checks.h>.
27703 (__getresuid): Do not use CHECK_1.
27704 * sysdeps/unix/sysv/linux/i386/lxstat.c: Do not include
27705 <bp-checks.h>.
27706 (__lxstat): Do not use CHECK_1.
27707 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
27708 <bp-checks.h>.
27709 (__old_msgctl): Do not use CHECK_1.
27710 (__new_msgctl): Likewise.
27711 * sysdeps/unix/sysv/linux/i386/setrlimit.c: Do not include
27712 <bp-checks.h>.
27713 (__new_setrlimit): Do not use CHECK_1.
27714 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
27715 <bp-checks.h>.
27716 (__old_shmctl): Do not use CHECK_1.
27717 (__new_shmctl): Likewise.
27718 * sysdeps/unix/sysv/linux/i386/xstat.c: Do not include
27719 <bp-checks.h>.
27720 (__xstat): Do not use CHECK_1.
27721 * sysdeps/unix/sysv/linux/lxstat.c: Do not include <bp-checks.h>.
27722 (__lxstat): Do not use CHECK_1.
27723 * sysdeps/unix/sysv/linux/lxstat64.c: Do not include
27724 <bp-checks.h>.
27725 (___lxstat64): Do not use CHECK_1.
27726 * sysdeps/unix/sysv/linux/msgctl.c: Do not include <bp-checks.h>.
27727 (__old_msgctl): Do not use CHECK_1.
27728 (__new_msgctl): Likewise.
27729 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Do not include
27730 <bp-checks.h>.
27731 (__gettimeofday): Do not use CHECK_1.
27732 * sysdeps/unix/sysv/linux/ptrace.c: Do not include <bp-checks.h>.
27733 (ptrace) [__BOUNDED_POINTERS__]: Remove conditional code.
27734 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Do not include
27735 <bp-checks.h>.
27736 (__gettimeofday): Do not use CHECK_1.
27737 * sysdeps/unix/sysv/linux/shmctl.c: Do not include <bp-checks.h>.
27738 (__old_shmctl): Do not use CHECK_1_NULL_OK.
27739 (__new_shmctl): Do not use CHECK_1.
27740 * sysdeps/unix/sysv/linux/sigtimedwait.c: Do not include
27741 <bp-checks.h>.
27742 (do_sigtimedwait): Do not use CHECK_1.
27743 * sysdeps/unix/sysv/linux/sigwaitinfo.c: Do not include
27744 <bp-checks.h>.
27745 (do_sigwaitinfo): Do not use CHECK_1.
27746 * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Do not include
27747 <bp-checks.h>.
27748 (msgctl): Do not use CHECK_1.
27749 * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Do not include
27750 <bp-checks.h>.
27751 (shmctl): Do not use CHECK_1.
27752 * sysdeps/unix/sysv/linux/ustat.c: Do not include <bp-checks.h>.
27753 (ustat): Do not use CHECK_1.
27754 * sysdeps/unix/sysv/linux/wordsize-64/fxstat.c: Do not include
27755 <bp-checks.h>.
27756 (__fxstat): Do not use CHECK_1.
27757 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
27758 <bp-checks.h>.
27759 (__fxstatat): Do not use CHECK_1.
27760 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c: Do not include
27761 <bp-checks.h>.
27762 (__lxstat): Do not use CHECK_1.
27763 * sysdeps/unix/sysv/linux/wordsize-64/xstat.c: Do not include
27764 <bp-checks.h>.
27765 (__xstat): Do not use CHECK_1.
27766 * sysdeps/unix/sysv/linux/xstat.c: Do not include <bp-checks.h>.
27767 (__xstat): Do not use CHECK_1.
27768 * sysdeps/unix/sysv/linux/xstat64.c: Do not include <bp-checks.h>.
27769 (___xstat64): Do not use CHECK_1.
27770
b2c9eff4
JM
27771 [BZ #13550]
27772 * sysdeps/generic/bp-checks.h (CHECK_BOUNDS_LOW): Remove all
27773 definitions.
27774 (CHECK_BOUNDS_HIGH): Likewise.
27775 * string/strcpy.c: Do not include <bp-checks.h>.
27776 (strcpy): Do not use CHECK_BOUNDS_LOW and CHECK_BOUNDS_HIGH.
27777
f1d70dad
RM
277782013-02-07 Roland McGrath <roland@hack.frob.com>
27779
27780 * nscd/nscd-client.h (__nscd_drop_map_ref):
27781 Add __attribute__ ((unused)).
27782 * nis/nss-nisplus.h (niserr2nss): Likewise.
27783
27784 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Define it only
27785 under [!(USE_AS_STRCASESTR && STRCASESTR_NONASCII)].
27786
27787 * csu/libc-tls.c (init_static_tls, init_slotinfo):
27788 Remove inline keyword.
27789 * include/rounding-mode.h (round_away): Likewise.
27790 * libio/wfileops.c (adjust_wide_data): Likewise.
27791 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Likewise.
27792 (__m128i_strloadu_tolower): Likewise.
27793 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c
27794 (__m128i_strloadu_tolower): Likewise.
27795 * time/mktime.c (ydhms_diff): Likewise.
27796 * locale/elem-hash.h (elem_hash): Likewise.
27797 * locale/setlocale.c (setdata): Likewise.
27798 * posix/regex_internal.h (re_string_char_size_at): Likewise.
27799 (re_string_wchar_at): Likewise.
27800 (bitset_not, bitset_merge, bitset_mask): Likewise.
27801 [!(__GNUC__ > 3)] (inline): Remove macro.
27802 * nscd/nscd-client.h (__nscd_drop_map_ref): Remove inline keyword.
27803 * elf/dl-deps.c (_dl_map_object_deps: preload): Likewise.
27804 * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
27805 (_dl_tlsdesc_wake_up_held_fixups): Likewise.
27806 * string/memcmp.c (memcmp_bytes): Likewise.
27807 * locale/programs/locarchive.c (compute_hashval): Likewise.
27808 * sysdeps/ieee754/dbl-64/x2y2m1.c (mul_split): Likewise.
27809 * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
27810 * resolv/res_send.c (evNowTime, evCmpTime): Likewise.
27811 * nss/getent.c (print_rpc, print_protocols): Likewise.
27812 (print_passwd, print_group, print_aliases): Likewise.
27813 * nis/nss-nisplus.h (niserr2nss): Likewise.
27814 * nscd/connections.c (restart_p): Likewise.
27815 Change return type to bool.
27816
eab55bfb
RM
278172013-02-05 Roland McGrath <roland@hack.frob.com>
27818
7bd642f5
RM
27819 * Makeconfig (all-Depend-files): Add existing
27820 $(sorted-subdirs:=/Depend) files.
27821 (all-subdirs): Remove nss.
27822 * sysdeps/unix/inet/Subdirs: Add it here instead.
27823 * hesiod/Depend: New file.
27824
573c29b2
RM
27825 * elf/dl-hwcaps.c (_dl_important_hwcaps): Use a variable-length array
27826 instead of calling alloca.
27827
b2e25af0
RM
27828 * io/lseek.c (__lseek): Rename to __libc_lseek.
27829 Define __lseek as an alias.
27830
eab55bfb
RM
27831 * sysdeps/generic/malloc-sysdep.h: Include <stdbool.h> and <unistd.h>.
27832
9a0d1941
CD
278332013-02-04 Carlos O'Donell <carlos@redhat.com>
27834
27835 * stdlib/getenv.c (getenv): Assume __BIG_ENDIAN in the
27836 else clause and remove check for non-standard endianness.
27837
b83bbec4
DM
278382013-02-04 David S. Miller <davem@davemloft.net>
27839
27840 * sysdeps/sparc/fpu/libm-test-ulps: Update.
27841
6277fdab
JM
278422013-02-04 Joseph Myers <joseph@codesourcery.com>
27843
27844 [BZ #13550]
27845 * sysdeps/generic/bp-checks.h [__BOUNDED_POINTERS__]
27846 (__ubp_memchr): Remove prototype.
27847 [__BOUNDED_POINTERS__] (_CHECK_STRING): Remove macro.
27848 [__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
27849 [__BOUNDED_POINTERS__] (CHECK_STRING_NULL_OK): Likewise.
27850 [!__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
27851 * sysdeps/i386/memchr.S [!__BOUNDED_POINTERS__] (__ubp_memchr):
27852 Remove alias.
27853 * sysdeps/sparc/sparc32/memchr.S [!__BOUNDED_POINTERS__]
27854 (__ubp_memchr): Likewise.
27855 * sysdeps/sparc/sparc64/memchr.S [!__BOUNDED_POINTERS__]
27856 (__ubp_memchr): Likewise.
27857 * sysdeps/unix/sysv/linux/execve.c: Do not include <bp-checks.h>.
27858 (__execve) [__BOUNDED_POINTERS__]: Remove conditional code.
27859 (__execve) [!__BOUNDED_POINTERS__]: Make code unconditional.
27860 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Do not use
27861 CHECK_STRING.
27862 * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
27863 * sysdeps/unix/sysv/linux/getcwd.c: Do not include <bp-checks.h>.
27864 (__getcwd): Do not use CHECK_STRING.
27865 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
27866 <bp-checks.h>.
27867 (__real_chown): Do not use CHECK_STRING.
27868 * sysdeps/unix/sysv/linux/i386/fchownat.c: Do not include
27869 <bp-checks.h>.
27870 (fchownat): Do not use CHECK_STRING.
27871 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Do not use
27872 CHECK_STRING.
27873 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
27874 <bp-checks.h>.
27875 (__lchown): Do not use CHECK_STRING.
27876 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
27877 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
27878 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
27879 * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
27880 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
27881 include <bp-checks.h>.
27882 (truncate64): Do not use CHECK_STRING.
27883 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
27884 <bp-checks.h>.
27885 (__real_chown): Do not use CHECK_STRING.
27886 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
27887 <bp-checks.h>.
27888 (__lchown): Do not use CHECK_STRING.
27889 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
27890 <bp-checks.h>.
27891 (__chown): Do not use CHECK_STRING.
27892 * sysdeps/unix/sysv/linux/truncate64.c: Do not include
27893 <bp-checks.h>.
27894 (truncate64): Do not use CHECK_STRING.
27895 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c (__lxstat):
27896 Likewise.
27897 * sysdeps/unix/sysv/linux/xmknod.c: Do not include <bp-checks.h>.
27898 (__xmknod): Do not use CHECK_STRING.
27899 * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
27900 <bp-checks.h>.
27901 (__xmknodat): Do not use CHECK_STRING.
27902 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
27903 * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
27904
903ae060
AS
279052013-02-04 Andreas Schwab <schwab@suse.de>
27906
27907 [BZ #14142]
27908 * include/errno.h: Redefine errno only if !NOT_IN_libc || IN_LIB.
27909 * include/netdb.h: Likewise for h_errno.
27910 * elf/tst-stackguard1.c: Include <tls.h>.
27911
542f9466
JK
279122013-02-02 Jan Kratochvil <jan.kratochvil@redhat.com>
27913
27914 * elf/link.h (struct link_map): Extend the l_addr comment.
27915 * include/link.h (struct link_map): Likewise.
27916
e782a927
JM
279172013-02-01 Joseph Myers <joseph@codesourcery.com>
27918
27919 [BZ #13550]
27920 * sysdeps/generic/bp-checks.h (BOUNDED_N): Remove all definitions.
27921 (BOUNDED_1): Remove macro.
27922 * debug/backtrace.c: Don't include <bp-checks.h>.
27923 (ADVANCE_STACK_FRAME): Don't use BOUNDED_1.
27924 (__backtrace): Likewise.
27925 * sysdeps/powerpc/powerpc32/backtrace.c: Don't include
27926 <bp-checks.h>.
27927 (__backtrace): Don't use BOUNDED_1.
27928 * sysdeps/powerpc/powerpc64/backtrace.c: Don't include
27929 <bp-checks.h>.
27930 (__backtrace): Don't use BOUNDED_1.
27931 * sysdeps/sparc/backtrace.c: Don't include <bp-checks.h>.
27932 (__backtrace): Don't use BOUNDED_1.
27933 * sysdeps/unix/sysv/linux/shmat.c: Don't include <bp-checks.h>.
27934 (shmat): Don't use BOUNDED_N.
27935
8cf28c5e
JM
279362013-01-31 Joseph Myers <joseph@codesourcery.com>
27937
3a7ac8a0
JM
27938 [BZ #13550]
27939 * sysdeps/generic/bp-start.h: Remove file.
27940 * csu/libc-start.c: Don't include <bp-start.h>.
27941 (LIBC_START_MAIN): Set up __environ directly instead of using
27942 INIT_ARGV_and_ENVIRON.
27943 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Don't include
27944 <bp-start.h>.
27945
f3499f95
JM
27946 [BZ #13550]
27947 * sysdeps/generic/bp-checks.h (CHECK_IOCTL): Remove both
27948 definitions.
27949 (CHECK_FCNTL): Likewise.
27950 (CHECK_N_PAGES): Likewise.
27951
32a45bea
JM
27952 [BZ #13550]
27953 * sysdeps/generic/bp-checks.h (CHECK_SIGSET): Remove both
27954 definitions.
27955 (CHECK_SIGSET_NULL_OK): Likewise.
27956 * sysdeps/unix/sysv/linux/sigpending.c: Don't include
27957 <bp-checks.h>.
27958 (sigpending): Don't use CHECK_SIGSET.
27959 * sysdeps/unix/sysv/linux/sigprocmask.c: Don't include
27960 <bp-checks.h>.
27961 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
27962 * sysdeps/unix/sysv/linux/sigsuspend.c: Don't include
27963 <bp-checks.h>.
27964 (do_sigsuspend): Don't use CHECK_SIGSET.
27965 * sysdeps/unix/sysv/linux/sigtimedwait.c (do_sigtimedwait): Don't
27966 use CHECK_SIGSET.
27967 * sysdeps/unix/sysv/linux/sigwait.c: Don't include <bp-checks.h>.
27968 (do_sigwait): Don't use CHECK_SIGSET.
27969 * sysdeps/unix/sysv/linux/sigwaitinfo.c (do_sigwaitinfo): Don't
27970 use CHECK_SIGSET.
27971 * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Don't
27972 include <bp-checks.h>.
27973 (sigpending): Don't use CHECK_SIGSET.
27974 * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: Don't
27975 include <bp-checks.h>.
27976 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
27977 * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Don't include
27978 <bp-checks.h>.
27979 (sigpending): Don't use CHECK_SIGSET.
27980 * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c: Don't include
27981 <bp-checks.h>.
27982 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
27983
2e8a5c8c
JM
27984 [BZ #13550]
27985 * sysdeps/generic/bp-semctl.h: Remove file.
27986 * sysdeps/unix/sysv/linux/i386/semctl.c: Don't include
27987 <bp-checks.h> and <bp-semctl.h>.
27988 (__old_semctl): Don't use CHECK_SEMCTL.
27989 (__new_semctl): Likewise.
27990 * sysdeps/unix/sysv/linux/semctl.c: Don't include <bp-checks.h>
27991 and <bp-semctl.h>.
27992 (__old_semctl): Don't use CHECK_SEMCTL.
27993 (__new_semctl): Likewise.
27994 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Don't include
27995 <bp-checks.h> and <bp-semctl.h>.
27996 (__old_semctl): Don't use CHECK_SEMCTL.
27997 (__new_semctl): Likewise.
27998 * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Don't include
27999 <bp-checks.h> and <bp-semctl.h>.
28000 (semctl): Don't use CHECK_SEMCTL.
28001
c2d54929
JM
28002 [BZ #13550]
28003 * Makerules (elide-bp-thunks): Remove variable.
28004 (elide-routines.oS): Don't use $(elide-bp-thunks).
28005 (elide-routines.os): Likewise.
28006 (elide-routines.o): Likewise.
28007 (elide-routines.op): Likewise.
28008 (elide-routines.og): Likewise.
28009 (objects): Don't use $(bp-thunks).
28010 * sysdeps/unix/Makefile ($(common-objpfx)s-proto-bp.d): Do not
28011 include.
28012 (common-generated): Do not add s-proto-bp.d.
28013 * sysdeps/unix/make-syscalls.sh (ptr): Remove variable.
28014 (int): Likewise.
28015 (typ): Likewise.
28016 Do not generate makefile rules for bounded-pointer thunks.
28017 * sysdeps/generic/bp-thunks.h: Remove file.
28018 * sysdeps/unix/sysv/linux/i386/bp-thunks.h: Likewise.
28019 * sysdeps/unix/s-proto-bp.S: Likewise.
28020
8cf28c5e
JM
28021 [BZ #15062]
28022 * math/k_casinh.c (__kernel_casinh): Compute real and imaginary
28023 parts of result separately when argument is not close to line from
28024 -i to i and one part of argument is small.
28025 * math/k_casinhf.c (__kernel_casinhf): Likewise.
28026 * math/k_casinhl.c (__kernel_casinhl): Likewise.
28027 * math/libm-test.inc (cacos_test): Add more tests.
28028 (casin_test): Likewise.
28029 (casinh_test): Likewise.
28030 * sysdeps/i386/fpu/libm-test-ulps: Update.
28031 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28032
c4e33b8d
DM
280332013-01-31 David S. Miller <davem@davemloft.net>
28034
28035 * po/de.po: Update from translation team.
28036
3b60b421
MK
280372013-01-25 Maxim Kuvyrkov <maxim.kuvyrkov@gmail.com>
28038
28039 * time/tzfile.c: Include stdint.h for SIZE_MAX.
28040
bb931195
TS
280412013-01-25 Thomas Schwinge <thomas@codesourcery.com>
28042
b5a5da23
TS
28043 * configure.in (_AC_PROG_CC_C89): New definition.
28044 * configure: Regenerate.
28045
bb931195
TS
28046 * configure.in (AC_PROG_CPP): New definition.
28047 * configure: Regenerate.
28048
8c53a12c
JM
280492013-01-23 Joseph Myers <joseph@codesourcery.com>
28050
28051 * debug/tst-backtrace.h: New file.
28052 * debug/tst-backtrace2.c: Include tst-backtrace.h.
28053 (ret): Remove variable.
28054 (x): Likewise.
28055 (FAIL): Remove macro.
28056 (NO_INLINE): Likewise.
28057 (fn1): Use match function instead of strstr.
28058 * debug/tst-backtrace3.c: Include tst-backtrace.h.
28059 (ret): Remove variable.
28060 (x): Likewise.
28061 (FAIL): Remove macro.
28062 (NO_INLINE): Likewise.
28063 (fn): Use match function instead of strstr.
28064 * debug/tst-backtrace4.c: Include tst-backtrace.h.
28065 (ret): Remove variable.
28066 (x): Likewise.
28067 (FAIL): Remove macro.
28068 (NO_INLINE): Likewise.
28069 (handle_signal): Use match function instead of strstr.
28070 * debug/tst-backtrace5.c: Include tst-backtrace.h.
28071 (ret): Remove variable.
28072 (x): Likewise.
28073 (FAIL): Remove macro.
28074 (NO_INLINE): Likewise.
28075 (handle_signal): Use match function instead of strstr.
28076
4858fa2a
RM
280772013-01-23 Roland McGrath <roland@hack.frob.com>
28078
28079 * misc/sys/cdefs.h (__glibc_unlikely, __glibc_likely): Fix whitespace.
28080
bae8e7f5
DM
280812013-01-23 David S. Miller <davem@davemloft.net>
28082
28083 * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h
28084 (__arch_compare_and_exchange_val_32_acq): Use %g0 as second
28085 argument of CAS if possible.
28086 * sysdeps/sparc/sparc64/bits/atomic.h
28087 (__arch_compare_and_exchange_val_32_acq): Likewise.
28088 (__arch_compare_and_exchange_val_64_acq): Likewise.
28089
9cbbc4ae
PT
280902013-01-23 Pino Toscano <toscano.pino@tiscali.it>
28091
28092 * sysdeps/unix/sysv/linux/ulimit.c: Moved to ...
28093 * sysdeps/posix/ulimit.c: ... this.
92a601b8 28094 Include <limits.h>.
67b3f58c 28095 * sysdeps/unix/bsd/ulimit.c: Remove file.
9cbbc4ae 28096
5655a0b5
AC
280972013-01-23 Adam Conrad <adconrad@0c3.net>
28098
28099 * elf/Makefile (LDFLAGS-tst-array2): Add $(no-as-needed).
28100 (LDFLAGS-tst-array5): Likewise.
28101
052aff95
JM
281022013-01-23 Joseph Myers <joseph@codesourcery.com>
28103
28104 [BZ #15036]
28105 * bits/wchar.h (__WCHAR_MAX): Define based on __WCHAR_MAX__, or
28106 based on [L'\0' - 1 > 0] if [!__WCHAR_MAX__].
28107 (__WCHAR_MIN): Likewise, using __WCHAR_MIN__.
28108 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: Remove.
28109
7c1e01aa
DM
281102013-01-21 David S. Miller <davem@davemloft.net>
28111
28112 * sysdeps/sparc/backtrace.c: New file.
28113 * sysdeps/sparc/sparc32/backtrace.h: New file.
28114 * sysdeps/sparc/sparc32/sparcv9/backtrace.h: New file.
28115 * sysdeps/sparc/sparc64/backtrace.h: New file.
28116 * sysdeps/sparc/sparc64/backtrace.c: Delete.
28117 * sysdeps/sparc/Makefile (CFLAGS-backtrace.c): Add
28118 -funwind-tables.
28119
ab087e0a
AS
281202013-01-21 Andreas Schwab <schwab@suse.de>
28121
28122 [BZ #15020]
28123 * posix/wordexp.c (exec_comm): Avoid busy loop when command has
28124 closed its stdout.
28125
ed689c2f
AS
281262013-01-20 Andreas Schwab <schwab@linux-m68k.org>
28127
28128 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Don't include
28129 "mpa2.h".
28130 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
28131
31d470ac
JM
281322013-01-18 Joseph Myers <joseph@codesourcery.com>
28133 Mark Mitchell <mark@codesourcery.com>
28134 Tom de Vries <tom@codesourcery.com>
28135 Paul Pluzhnikov <ppluzhnikov@google.com>
28136
28137 * debug/tst-backtrace2.c: New file.
28138 * debug/tst-backtrace3.c: Likewise.
28139 * debug/tst-backtrace4.c: Likewise.
28140 * debug/tst-backtrace5.c: Likewise.
28141 * debug/Makefile (CFLAGS-tst-backtrace2.c): New variable.
28142 (CFLAGS-tst-backtrace3.c): Likewise.
28143 (CFLAGS-tst-backtrace4.c): Likewise.
28144 (CFLAGS-tst-backtrace5.c): Likewise.
28145 (LDFLAGS-tst-backtrace2): Likewise.
28146 (LDFLAGS-tst-backtrace3): Likewise.
28147 (LDFLAGS-tst-backtrace4): Likewise.
28148 (LDFLAGS-tst-backtrace5): Likewise.
28149 (tests): Add new tests tst-backtrace2, tst-backtrace3,
28150 tst-backtrace4 and tst-backtrace5.
28151
90567f30 281522013-01-18 Anton Blanchard <anton@samba.org>
471a1672
AB
28153 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
28154
28155 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Rename
28156 __kernel_vdso_get_tbfreq to __kernel_get_tbfreq.
28157 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Add parameter to
28158 INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK to specify return type.
28159 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
28160 (INTERNAL_VSYSCALL_NCS): Change "=&r" in inline asm output regs list to
28161 "+r" and remove output regs list as redundant. Add explicit inline
28162 asm to specify register of return val to work around compiler codegen
28163 bug. Remove (int) cast on return value. Add return type parameter to
28164 use in macro so that this macro does not truncate return value for
28165 64-bit values.
28166 (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Add return type parameter and
28167 pass to INTERNAL_VSYSCALL_NCS.
28168 (INLINE_VSYSCALL): Add 'long int' as return type to
28169 INTERNAL_VSYSCALL_NCS macro invocation.
28170 (INTERNAL_VSYSCALL): Add 'long int' as return type to
28171 INTERNAL_VSYSCALL_NCS macro invocation.
28172 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
28173
d3b9ea61
SP
281742013-01-18 Siddhesh Poyarekar <siddhesh@redhat.com>
28175
0b57daeb
SP
28176 [BZ #14496]
28177 * sysdeps/i386/fpu/fenv_private.h (libc_feupdateenv_test_sse):
28178 Fix application of SIMD FP exception mask.
28179
caa99d06
SP
28180 * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): New function to get an
28181 mp_no from a power of two.
28182 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove
28183 __mpexp_twomm1. Use __pow_mp.
28184
d3b9ea61
SP
28185 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove unnecessary
28186 multiplication.
28187
1dbaee3c
DM
281882013-01-17 David S. Miller <davem@davemloft.net>
28189
28190 * sysdeps/sparc/fpu/libm-test-ulps: Update.
28191
728d7b43
JM
281922013-01-17 Joseph Myers <joseph@codesourcery.com>
28193
28194 [BZ #15023]
28195 * include/complex.h: Condition contents on [!_COMPLEX_H].
28196 (__kernel_casinhf): New prototype.
28197 (__kernel_casinh): Likewise.
28198 (__kernel_casinhl): Likewise.
28199 * math/Makefile (libm_calls): Add k_casinh.
28200 * math/k_casinh.c: New file.
28201 * math/k_casinhf.c: Likewise.
28202 * math/k_casinhl.c: Likewise.
28203 * math/s_cacos.c (__cacos): Implement using __kernel_casinh for
28204 finite nonzero arguments.
28205 * math/s_cacosf.c (__cacosf): Implement using __kernel_casinhf for
28206 finite nonzero arguments.
28207 * math/s_cacosl.c (__cacosl): Implement using __kernel_casinhl for
28208 finite nonzero arguments.
28209 * math/s_casinh.c: Do not include <float.h>.
28210 (__casinh): Move code for finite nonzero arguments to k_casinh.c.
28211 * math/s_casinhf.c: Do not include <float.h>.
28212 (__casinhf): Move code for finite nonzero arguments to
28213 k_casinhf.c.
28214 * math/s_casinhl.c: Do not include <float.h>.
28215 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Do not undefine and
28216 redefine.
28217 (__casinhl): Move code for finite nonzero arguments to
28218 k_casinhl.c.
28219 * math/libm-test.inc (cacos_test): Add more tests.
28220 * sysdeps/i386/fpu/libm-test-ulps: Update.
28221 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28222
2a26ef3a
PT
282232013-01-17 Pino Toscano <toscano.pino@tiscali.it>
28224
28225 * sysdeps/unix/sysv/linux/malloc-sysdep.h (HAVE_MREMAP): New define.
28226 * malloc/malloc.c: Include <unistd.h> and <malloc-sysdep.h>.
28227 [!HAVE_MREMAP]: Remove [defined linux] case.
28228 * malloc/arena.c: Do not include <malloc-sysdep.h>.
28229
a897655d
SP
282302013-01-17 Siddhesh Poyarekar <siddhesh@redhat.com>
28231
28232 * sysdeps/ieee754/dbl-64/mpa.c: Fix header comment.
28233
881ebe89 282342013-01-17 H.J. Lu <hongjiu.lu@intel.com>
22676eaf
L
28235
28236 * elf/elf.h (R_386_SIZE32): New relocation.
28237 * sysdeps/i386/dl-machine.h (elf_machine_rel): Handle
28238 R_386_SIZE32.
28239 (elf_machine_rela): Likewise.
28240 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
28241 R_X86_64_SIZE64 and R_X86_64_SIZE32.
28242
59981e9b
JM
282432013-01-17 Joseph Myers <joseph@codesourcery.com>
28244
28245 * sysdeps/powerpc/bits/mathdef.h [_SOFT_FLOAT || __NO_FPRS__]
28246 (FP_FAST_FMA): Do not define.
28247 [_SOFT_FLOAT || __NO_FPRS__] (FP_FAST_FMAF): Likewise.
28248 * sysdeps/powerpc/fpu/bits/fenvinline.h [__GNUC__ && !_SOFT_FLOAT
28249 && !__NO_MATH_INLINES]: Add [!__NO_FPRS__] condition.
28250 * sysdeps/powerpc/fpu/bits/mathinline.h [__GNUC__ &&
28251 !_SOFT_FLOAT]: Likewise.
28252 * sysdeps/powerpc/fpu/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]
28253 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_RESERVED): Define with generic
28254 value.
28255 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_DEFAULT): Likewise.
28256 [_SOFT_FLOAT || __NO_FPRS__] (fpu_control_t): Likewise.
28257 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_GETCW): Likewise.
28258 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_SETCW): Likewise.
28259 [_SOFT_FLOAT || __NO_FPRS__] (__fpu_control): Likewise.
28260 [!_SOFT_FLOAT && !__NO_FPRS__]: Condition previous contents of
28261 file.
28262
cfa8054f
AS
282632013-01-16 Andreas Schwab <schwab@suse.de>
28264
28265 [BZ #14327]
28266 * include/stdlib.h (__mktemp): Add declaration.
28267 * misc/mktemp.c (__mktemp): Renamed from mktemp, add weak alias.
28268 * misc/Versions (GLIBC_PRIVATE): Add __mktemp.
28269
dd930cc5
SP
282702013-01-16 Siddhesh Poyarekar <siddhesh@redhat.com>
28271
881ebe89
SP
28272 * sysdeps/ieee754/dbl-64/atnat.h: Remove constant value
28273 definitions.
28274 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
28275 * sysdeps/ieee754/dbl-64/mpa.c: Do not include mpa2.h.
28276 * sysdeps/ieee754/dbl-64/mpa.h: Move all constant value
28277 definitions here.
28278 * sysdeps/ieee754/dbl-64/mpa2.h: Remove.
28279 * sysdeps/ieee754/dbl-64/mpatan.h: Remove constant value
28280 definitions.
28281 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Remove ZERO
28282 and ONE.
28283 * sysdeps/ieee754/dbl-64/mpexp.c: Do not include mpexp.h.
28284 * sysdeps/ieee754/dbl-64/mpexp.h: Remove.
28285 * sysdeps/ieee754/dbl-64/mpsqrt.h: Remove constant value
28286 definitions.
28287 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Remove MONE.
28288 * sysdeps/ieee754/dbl-64/ulog.h: Remove constant value
28289 definitions.
28290 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
f93a8d15 28291
dd930cc5
SP
28292 * sysdeps/ieee754/dbl-64/mpa2.h: Fix the value of TWO.
28293
c19a9f89
DM
282942013-01-15 David S. Miller <davem@davemloft.net>
28295
1aa61767
DM
28296 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
28297 trunc{,f} to libm-sysdep_routes.
28298 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
28299 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: New
28300 file.
28301 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: New file.
28302 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: New
28303 file.
28304 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: New
28305 file.
28306 * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: New file.
28307 * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: New file.
28308 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: New file.
28309 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: New file.
28310 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: New file.
28311 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: New file.
28312 * sysdeps/sparc/sparc64/fpu/s_trunc.S: New file.
28313 * sysdeps/sparc/sparc64/fpu/s_truncf.S: New file.
28314
c42d5e98
DM
28315 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
28316 nearbyint{,f} to libm-sysdep_routes.
28317 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
28318 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S:
28319 New file.
28320 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: New
28321 file.
28322 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S:
28323 New file.
28324 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S: New
28325 file.
28326 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: New file.
28327 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: New file.
28328 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S: New
28329 file.
28330 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: New file.
28331 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S: New
28332 file.
28333 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: New file.
28334 * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: New file.
28335 * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: New file.
28336
c19a9f89
DM
28337 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
28338 libc_feholdexcept and libc_fesetenv.
28339
357679d2
MF
283402013-01-15 Mike Frysinger <vapier@gentoo.org>
28341
28342 * sysdeps/unix/sysv/linux/scsi/sg.h: Include stddef.h.
28343
65a82e3d
DM
283442013-01-14 David S. Miller <davem@davemloft.net>
28345
8b954ab9
DM
28346 * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC2): New macro.
28347 (SPARC_ASM_VIS2_IFUNC): Likewise.
28348 (SPARC_ASM_VIS3_VIS2_IFUNC): Likewise.
28349 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Make
28350 use of 'siam' instruction.
28351 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S:
28352 Likewise.
28353 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S:
28354 Likewise.
28355 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S:
28356 Likewise.
28357 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
28358 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
28359 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
28360 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
28361 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: New
28362 file.
28363 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: New
28364 file.
28365 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: New
28366 file.
28367 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: New
28368 file.
28369 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: New file.
28370 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: New file.
28371 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: New file.
28372 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: New file.
28373 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Hook in
28374 new VIS2 routines.
28375 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
28376 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
28377 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
28378 Likewise.
28379 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
28380 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
28381 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
28382 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
28383 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new VIS2
28384 routines to libm-sysdep_routines.
28385 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
28386
65a82e3d
DM
28387 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
28388 fdim/fdimf to libm-sysdep_routines.
28389 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: New
28390 file.
28391 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: New file.
28392 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: New
28393 file.
28394 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: New file.
28395 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: New file.
28396 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: New file.
28397 * sysdeps/sparc/sparc32/fpu/s_fdim.S: New file.
28398 * sysdeps/sparc/sparc32/fpu/s_fdimf.S: New file.
28399 * sysdeps/sparc/sparc64/fpu/s_fdim.S: New file.
28400 * sysdeps/sparc/sparc64/fpu/s_fdimf.S: New file.
28401
e34ab705
SP
284022013-01-14 Siddhesh Poyarekar <siddhesh@redhat.com>
28403
2a91b573
SP
28404 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Add a local variable
28405 to optimize copies.
28406
1066a534
SP
28407 * sysdeps/ieee754/dbl-64/mpa.c: Fix formatting.
28408 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
28409 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
28410
e34ab705
SP
28411 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Remove
28412 local variable MPTWO.
28413 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
28414 Likewise.
28415
aba5e596
MF
284162013-01-13 Mike Frysinger <vapier@gentoo.org>
28417
28418 * manual/pattern.texi (Flags for Globbing): Move GLOB_NOSORT after
28419 GLOB_NOESCAPE.
28420
e557e9e5
MF
284212013-01-13 Mike Frysinger <vapier@gentoo.org>
28422
28423 * manual/pattern.texi (Flags for Globbing): Highlight GNU extensions.
28424
0428cec9
MF
284252013-01-13 Mike Frysinger <vapier@gentoo.org>
28426
28427 * manual/pattern.texi (glob_t): Document gl_flags.
28428 (glob64_t): Likewise.
28429
8794a964
DM
284302013-01-11 David S. Miller <davem@davemloft.net>
28431
66438c3f
RM
28432 * math/Makefile (gmp-objs): Use $(gmp-sysdep_routines).
28433 * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = math]
28434 (gmp-sysdep_routines): New variable. Add VIS3 optimized GMP routines.
32fcb36d
DM
28435 * sysdeps/sparc/sparc64/multiarch/add_n-vis3.S: New file.
28436 * sysdeps/sparc/sparc64/multiarch/add_n.S: New file.
28437 * sysdeps/sparc/sparc64/multiarch/addmul_1-vis3.S: New file.
28438 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: New file.
28439 * sysdeps/sparc/sparc64/multiarch/mul_1-vis3.S: New file.
28440 * sysdeps/sparc/sparc64/multiarch/mul_1.S: New file.
28441 * sysdeps/sparc/sparc64/multiarch/sub_n-vis3.S: New file.
28442 * sysdeps/sparc/sparc64/multiarch/sub_n.S: New file.
28443 * sysdeps/sparc/sparc64/multiarch/submul_1-vis3.S: New file.
28444 * sysdeps/sparc/sparc64/multiarch/submul_1.S: New file.
28445
4ae4244d
DM
28446 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
28447 sparc V9 rather than using V8 code.
28448 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
28449 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
28450
8794a964
DM
28451 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
28452 Move to...
28453 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/multiarch/Implies:
28454 Here.
28455
6270516e
RM
284562013-01-11 Roland McGrath <roland@hack.frob.com>
28457
28458 * configure.in (sysnames): Use $multi_arch_d in setting up $mach list,
28459 not in the main loop.
28460 * configure: Regenerated.
28461
6a57d931
JM
284622013-01-11 Joseph Myers <joseph@codesourcery.com>
28463
28464 * include/features.h (__GLIBC_HAVE_LONG_LONG): Remove.
28465 * bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change #elif condition
28466 to just #else.
28467 * bits/types.h [__GLIBC_HAVE_LONG_LONG]: Likewise. Remove
28468 [!__GLIBC_HAVE_LONG_LONG] case.
28469 * posix/sys/types.h [__GLIBC_HAVE_LONG_LONG]: Change #elif
28470 condition to just #else.
28471 * stdlib/stdlib.h [__USE_ISOC99 || (__GLIBC_HAVE_LONG_LONG &&
28472 __USE_MISC)]: Change all uses to [__USE_ISOC99 || __USE_MISC].
28473 [__GLIBC_HAVE_LONG_LONG && __USE_BSD]: Change to [__USE_BSD].
28474 * string/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Make code
28475 unconditional.
28476 * string/endian.h [__GLIBC_HAVE_LONG_LONG]: Likewise.
28477 * sysdeps/s390/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
28478 #elif condition to just #else.
28479 * sysdeps/unix/sysv/linux/sys/sysmacros.h
28480 [__GLIBC_HAVE_LONG_LONG]: Make code unconditional.
28481 * sysdeps/x86/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
28482 #elif condition to just #else.
28483
0e8529e9
SE
284842013-01-11 Steve Ellcey <sellcey@mips.com>
28485
28486 * elf/elf.h (EF_MIPS_ARCH_32): Fix value.
28487 (EF_MIPS_ARCH_64): Fix value.
28488 (EF_MIPS_ARCH_32R2): New.
28489 (EF_MIPS_ARCH_64R2): New.
28490
740b3dbe
L
284912013-01-11 H.J. Lu <hongjiu.lu@intel.com>
28492
28493 * Makeconfig (+link-pie-before-libc): New.
28494 (+link-pie-after-libc): Likewise.
28495 (+link-pie-tests): Likewise.
28496 (+link-pie): Rewritten.
28497 (link-before-libc): Remove $(config-LDFLAGS).
28498 (+link): Add $(rtld-LDFLAGS) after $(+link-before-libc).
28499 (+link-tests): Add $(rtld-tests-LDFLAGS) after $(+link-before-libc).
28500 (config-LDFLAGS): Renamed to ...
28501 (rtld-LDFLAGS): This.
28502 (rtld-tests-LDFLAGS): New macro.
28503 (link-libc-rpath-link): Likewise.
28504 (link-libc-tests-rpath-link): Likewise.
28505 (link-libc-before-gnulib): Remove -Wl,-rpath-link=$(rpath-link).
28506 (link-libc): Prepand $(link-libc-rpath-link).
28507 (link-libc-tests): Prepand $(link-libc-tests-rpath-link).
28508 (test-program-prefix): New macro.
28509 (test-via-rtld-prefix): Likewise.
28510 (test-program-cmd): Likewise.
28511 (host-test-program-cmd): Likewise.
28512 * Makefile ($(common-objpfx)testrun.sh): Replace
28513 $(run-program-prefix) with $(test-program-prefix).
28514 * Makerules ($(LINK.o)): Replace $(config-LDFLAGS) with
28515 $(rtld-LDFLAGS).
28516 ($(common-objpfx)shlib.lds): Likewise.
28517 (build-module-helper): Likewise.
28518 ($(common-objpfx)format.lds): Likewise.
28519 * Rules (binaries-pie-tests): New.
28520 (binaries-pie-notests): Likewise.
28521 (binaries-pie): Rewritten.
28522 ($(addprefix $(objpfx),$(binaries-pie))): Renamed to ...
28523 ($(addprefix $(objpfx),$(binaries-pie-notests))): This.
28524 ($(addprefix $(objpfx),$(binaries-pie-tests))): New.
28525 (make-test-out): Replace $(host-built-program-cmd) with
28526 $(host-test-program-cmd).
28527 * config.make.in (build-hardcoded-path-in-tests): New variable.
28528 * configure.in (--enable-hardcoded-path-in-tests): New configure
28529 option.
28530 (hardcoded_path_in_tests): New AC_SUBST.
28531 * configure: Regenerated.
28532 * catgets/Makefile ($(objpfx)test-gencat.out): Replace
28533 $(built-program-cmd) with $(test-program-cmd).
28534 * catgets/test-gencat.sh (run_program_cmd): Renamed to ...
28535 (test_program_cmd): This.
28536 * elf/Makefile ($(objpfx)order.out): Run test with
28537 $(test-program-prefix).
28538 ($(objpfx)order2.out): Likewise.
28539 ($(objpfx)tst-initorder.out): Likewise.
28540 ($(objpfx)tst-initorder2.out): Likewise.
28541 ($(objpfx)tst-array1.out): Replace $(built-program-cmd) with
28542 $(test-program-cmd).
28543 ($(objpfx)tst-array1-static.out): Likewise.
28544 ($(objpfx)tst-array2.out): Likewise.
28545 ($(objpfx)tst-array3.out): Likewise.
28546 ($(objpfx)tst-array4.out): Likewise.
28547 ($(objpfx)tst-array5.out): Likewise.
28548 ($(objpfx)tst-array5-static.out): Likewise.
28549 (tst-stackguard1-ARGS): Replace $(built-program-cmd) with
28550 $(test-program-cmd).
28551 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Replace
28552 $(run-program-prefix) with $(test-program-prefix).
28553 * grp/tst_fgetgrent.sh (run_program_prefix): Renamed to ...
28554 (test_program_prefix): This.
28555 * iconvdata/Makefile ($(objpfx)tst-tables.out): Replace
28556 $(run-program-prefix) with $(test-program-prefix).
28557 * iconvdata/tst-table.sh (run_program_prefix): Renamed to ...
28558 (test_program_prefix): This.
28559 * iconvdata/tst-tables.sh: Likewise.
28560 * intl/Makefile ($(objpfx)tst-gettext.out): Replace
28561 $(run-program-prefix) with $(test-program-prefix).
28562 ($(objpfx)tst-translit.out): Likewise.
28563 ($(objpfx)tst-gettext2.out): Likewise.
28564 ($(objpfx)tst-gettext4.out): Likewise.
28565 ($(objpfx)tst-gettext6.out): Likewise.
28566 * intl/tst-gettext.sh (run_program_prefix): Renamed to ...
28567 (test_program_prefix): This.
28568 * intl/tst-gettext2.sh: Likewise.
28569 * intl/tst-gettext4.sh Likewise.
28570 * intl/tst-gettext6.sh: Likewise.
28571 * intl/tst-translit.sh: Likewise.
28572 * io/Makefile ($(objpfx)ftwtest.out): Replace $(run-program-cmd)
28573 with $(test-program-cmd).
28574 * libio/Makefile ($(objpfx)test-freopen.out): Replace
28575 $(run-program-prefix) with $(test-program-prefix).
28576 * libio/test-freopen.sh (run_program_prefix): Renamed to ...
28577 (test_program_prefix): This.
28578 * malloc/Makefile ($(objpfx)tst-mtrace.out): Replace
28579 $(run-program-prefix) with $(test-program-prefix).
28580 * malloc/tst-mtrace.sh (run_program_prefix): Renamed to ...
28581 (test_program_prefix): This.
28582 * manual/install.texi: Document --enable-hardcoded-path-in-tests.
28583 * posix/Makefile ($(objpfx)globtest.out): Replace
28584 $(run-via-rtld-prefix) and $(test-wrapper) with
28585 $(test-program-prefix) and $(test-via-rtld-prefix).
28586 ($(objpfx)wordexp-tst.out): Replace $(run-program-prefix) with
28587 $(test-program-prefix).
28588 (tst-exec-ARGS): Replace $(host-built-program-cmd) with
28589 $(host-test-program-cmd).
28590 (tst-spawn-ARGS): Likewise.
28591 ($(objpfx)tst-rxspencer-mem): Replace $(run-program-prefix) with
28592 $(test-program-prefix).
28593 * posix/globtest.sh (un_via_rtld_prefix): Renamed to ...
28594 (test_via_rtld_prefix): This.
28595 (test_wrapper): Renamed to ...
28596 (test_program_prefix): This.
28597 (run_program_prefix): Replaced by test_program_prefix.
28598 * posix/wordexp-tst.sh (run_program_prefix): Renamed to ...
28599 (test_program_prefix): This.
28600 * rt/Makefile (tst-mqueue7-ARGS): Replace $(host-built-program-cmd)
28601 with $(host-test-program-cmd).
28602 * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Replace
28603 $(run-program-prefix) with $(test-program-prefix).
28604 ($(objpfx)tst-printf.out): Likewise.
28605 ($(objpfx)tst-setvbuf1.out): Replace $(built-program-cmd) with
28606 $(test-program-cmd).
28607 * stdio-common/tst-printf.sh (run_program_prefix): Renamed to ...
28608 (test_program_prefix): This.
28609 * stdio-common/tst-unbputc.sh: Likewise.
28610 * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Replace
28611 $(run-program-prefix) with $(test-program-prefix).
28612 * stdlib/tst-fmtmsg.sh (run_program_prefix): Renamed to ...
28613 (test_program_prefix): This.
28614 * string/Makefile ($(objpfx)tst-svc.out): Replace
28615 $(built-program-cmd) with $(test-program-cmd).
28616
c6fe55cf
AJ
286172013-01-11 Andreas Jaeger <aj@suse.de>
28618
28619 [BZ #15003]
28620 * sysdeps/unix/sysv/linux/bits/socket.h (MSG_FASTOPEN): New
28621 value. Sync with Linux 3.7.
28622
9e6919c8
DM
286232013-01-10 David S. Miller <davem@davemloft.net>
28624
28625 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Revert previous changes.
28626 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
28627 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
28628
1c9f1a02
RM
286292013-01-10 Roland McGrath <roland@hack.frob.com>
28630
28631 * configure.in (sysnames): Drop use of $m0sub and $msub, which are
28632 never set.
28633 * configure: Regenerated.
28634
b9de2dde
DM
286352013-01-10 David S. Miller <davem@davemloft.net>
28636
28637 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
28638 sparc V9 rather than using V8 code.
28639 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
28640 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
28641
e7f68ef4
RM
286422013-01-10 Roland McGrath <roland@hack.frob.com>
28643
28644 * elf/elf.h (DT_SPARC_REGISTER, DT_SPARC_NUM): Fix whitespace.
28645 (EF_MIPS_NOREORDER, EF_MIPS_PIC, EF_MIPS_CPIC, EF_MIPS_XGOT): Likewise.
28646 (EF_MIPS_64BIT_WHIRL, EF_MIPS_ABI2, EF_MIPS_ABI_ON32): Likewise.
28647 (EF_MIPS_ARCH, EF_MIPS_ARCH_1, EF_MIPS_ARCH_2): Likewise.
28648 (EF_MIPS_ARCH_3, EF_MIPS_ARCH_4, EF_MIPS_ARCH_5): Likewise.
28649 (EF_MIPS_ARCH_32, EF_MIPS_ARCH_64): Likewise.
28650 (E_MIPS_ARCH_1): Define in terms of EF_MIPS_ARCH_* counterpart.
28651 (E_MIPS_ARCH_2, E_MIPS_ARCH_3, E_MIPS_ARCH_4, E_MIPS_ARCH_5): Likewise.
28652 (E_MIPS_ARCH_32, E_MIPS_ARCH_64): Likewise.
28653 (SHN_MIPS_ACOMMON, SHN_MIPS_TEXT, SHN_MIPS_DATA): Fix whitespace.
28654 (SHN_MIPS_SCOMMON, SHN_MIPS_SUNDEFINED): Likewise.
28655 (SHT_MIPS_LIBLIST, SHT_MIPS_MSYM, SHT_MIPS_CONFLICT): Likewise.
28656 (SHT_MIPS_GPTAB, SHT_MIPS_UCODE, SHT_MIPS_DEBUG): Likewise.
28657 (SHT_MIPS_REGINFO, SHT_MIPS_PACKAGE, SHT_MIPS_PACKSYM): Likewise.
28658 (SHT_MIPS_RELD, SHT_MIPS_IFACE, SHT_MIPS_CONTENT): Likewise.
28659 (SHT_MIPS_OPTIONS, SHT_MIPS_SHDR, SHT_MIPS_FDESC): Likewise.
28660 (SHT_MIPS_EXTSYM, SHT_MIPS_DENSE, SHT_MIPS_PDESC): Likewise.
28661 (SHT_MIPS_LOCSYM, SHT_MIPS_AUXSYM, SHT_MIPS_OPTSYM): Likewise.
28662 (SHT_MIPS_LOCSTR, SHT_MIPS_LINE, SHT_MIPS_RFDESC): Likewise.
28663 (SHT_MIPS_DELTASYM, SHT_MIPS_DELTAINST, SHT_MIPS_DELTACLASS): Likewise.
28664 (SHT_MIPS_DELTADECL, SHT_MIPS_SYMBOL_LIB, SHT_MIPS_EVENTS): Likewise.
28665 (SHT_MIPS_TRANSLATE, SHT_MIPS_PIXIE, SHT_MIPS_XLATE): Likewise.
28666 (SHT_MIPS_XLATE_DEBUG, SHT_MIPS_WHIRL, SHT_MIPS_EH_REGION): Likewise.
28667 (SHT_MIPS_XLATE_OLD, SHT_MIPS_PDR_EXCEPTION): Likewise.
28668 (SHF_MIPS_GPREL, SHF_MIPS_MERGE, SHF_MIPS_ADDR): Likewise.
28669 (SHF_MIPS_STRINGS, SHF_MIPS_NOSTRIP, SHF_MIPS_LOCAL): Likewise.
28670 (SHF_MIPS_NAMES, SHF_MIPS_NODUPE): Likewise.
28671
5a47cc9c
DM
286722013-01-10 David S. Miller <davem@davemloft.net>
28673
28674 * sysdeps/sparc/fpu/libm-test-ulps: Update.
28675
4cf8f209
L
286762013-01-10 H.J. Lu <hongjiu.lu@intel.com>
28677
28678 * posix/Makefile (tests-static): New variable.
28679 (tests): Add $(tests-static).
28680 (tst-exec-static-ARGS): New variable.
28681 (tst-spawn-static-ARGS): Likewise.
28682 * posix/tst-exec-static.c: New file.
28683 * posix/tst-spawn-static.c: Likewise.
28684 * posix/tst-exec.c: Support run directly.
28685 * posix/tst-spawn.c: Likewise.
28686
fed0faa1
JM
286872013-01-10 Joseph Myers <joseph@codesourcery.com>
28688
828beb13
JM
28689 * elf/link.h (struct dl_phdr_info): Use __extension__ with long
28690 long.
28691 * math/bits/mathcalls.h (llrint): Likewise.
28692 (llround): Likewise.
28693 * stdlib/stdlib.h (struct drand48_data): Likewise.
28694 * sysdeps/generic/inttypes.h (imaxdiv_t): Likewise.
28695 * sysdeps/s390/bits/byteswap.h (__bswap_64): Likewise.
28696 * sysdeps/unix/sysv/linux/sparc/bits/ipc.h (struct ipc_perm):
28697 Likewise.
28698 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu):
28699 Likewise.
28700 * sysdeps/unix/sysv/linux/x86/sys/procfs.h [__x86_64__]
28701 (elf_greg_t): Likewise.
28702 * sysdeps/x86/bits/setjmp.h [__x86_64__ && __WORDSIZE != 64]
28703 (__jmp_buf): Likewise.
28704 * sysdeps/x86/fpu/bits/mathinline.h (llrintf): Likewise, for all
28705 definitions.
28706 (llrint): Likewise, for all definitions.
28707 (llrintl): Likewise.
28708
fed0faa1
JM
28709 * string/string.h [__USE_BSD && __USE_GNU && __GNUC__] (ffsll):
28710 Remove [__GNUC__] condition.
28711 * wcsmbs/wchar.h [__USE_ISOC99 || (__GNUC__ && __USE_GNU)]: Change
28712 condition to just [__USE_ISOC99].
28713 [__GNUC__ && __USE_GNU]: Change condition to just [__USE_GNU].
28714
1a20cb20
L
287152013-01-10 H.J. Lu <hongjiu.lu@intel.com>
28716
28717 [BZ #14200]
28718 * sysdeps/unix/sysv/linux/x86/bits/environments.h
28719 (_POSIX_V7_ILP32_OFF32): Defined as 1 only if __x86_64__ isn't
28720 defined.
28721 (_POSIX_V6_ILP32_OFF32): Likewise.
28722 (_XBS5_ILP32_OFF32): Likewise.
28723 (__ILP32_OFFBIG_CFLAGS): Defined as "-mx32" for x32.
28724 (__ILP32_OFFBIG_LDFLAGS): Likewise.
28725
751b85f7
SP
287262013-01-10 Siddhesh Poyarekar <siddhesh@redhat.com>
28727
7490eb81
SP
28728 * sysdeps/ieee754/dbl-64/mpexp.c: Fix formatting.
28729
751b85f7
SP
28730 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): New array of
28731 doubles __mpexp_twomm1. Adjust usage.
28732 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1):
28733 Remove.
28734
988197f0
AS
287352013-01-10 Andreas Schwab <schwab@suse.de>
28736
28737 [BZ #14964]
28738 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (FALLOC_FL_KEEP_SIZE)
28739 (FALLOC_FL_PUNCH_HOLE) [__USE_GNU]: New macros.
28740
e83d7298
DM
287412013-01-09 David S. Miller <davem@davemloft.net>
28742
034ed64b 28743 [BZ #15003]
57f41c40
AS
28744 * sysdeps/gnu/netinet/tcp.h (TCP_COOKIE_TRANSACTIONS)
28745 (TCP_THIN_LINEAR_TIMEOUTS, TCP_THIN_DUPACK, TCP_USER_TIMEOUT)
28746 (TCP_REPAIR, TCP_REPAIR_QUEUE, TCP_QUEUE_SEQ, TCP_REPAIR_OPTIONS)
28747 (TCP_FASTOPEN): Define.
e83d7298
DM
28748 (tcp_repair_opt): New structure.
28749 (TCP_NO_QUEUE, TCP_RECV_QUEUE, TCP_SEND_QUEUE, TCP_QUEUES_NR): New
28750 enum values.
57f41c40
AS
28751 (TCP_COOKIE_MIN, TCP_COOKIE_MAX, TCP_COOKIE_PAIR_SIZE)
28752 (TCP_COOKIE_IN_ALWAYS, TCP_COOKIE_OUT_NEVER, TCP_S_DATA_IN)
28753 (TCP_S_DATA_OUT, TCP_MSS_DEFAULT, TCP_MSS_DESIRED): Define.
e83d7298
DM
28754 (tcp_cookie_transactions): New structure.
28755
d5e0b9bd
AB
287562013-01-09 Anton Blanchard <anton@samba.org>
28757
28758 * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: New file.
28759 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_getcpu.
28760 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Likewise.
28761 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
28762
0c07e3ea
JM
287632013-01-09 Joseph Myers <joseph@codesourcery.com>
28764
28765 * include/features.h (__USE_ANSI): Remove.
28766
232f7002
RM
287672013-01-09 Roland McGrath <roland@hack.frob.com>
28768
ad98e30c
RM
28769 * posix/Makefile (others): Depend on $(objpfx)getconf.speclist.
28770
232f7002
RM
28771 * misc/error.c (error_tail: ALLOCA_LIMIT): Remove unused macro.
28772
950c99ca
SP
287732013-01-09 Siddhesh Poyarekar <siddhesh@redhat.com>
28774
b5792741
SP
28775 * sysdeps/s390/fpu/libm-test-ulps: Update.
28776
47cf2278
SP
28777 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
28778
950c99ca
SP
28779 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Reword comment.
28780 (__acr): Likewise.
28781 (__cpy): Likewise.
28782 (norm): Likewise.
28783 (denorm): Likewise.
28784 (__mp_dbl): Likewise.
28785 (__dbl_mp): Likewise.
28786 (add_magnitudes): Likewise.
28787 (sub_magnitudes): Likewise.
28788 (__add): Likewise.
28789 (__sub): Likewise.
28790 (__mul): Likewise.
28791 (__inv): Likewise.
28792 (__dvd): Likewise.
28793 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mcr): Likewise.
28794 (__acr): Likewise.
28795 (__cpy): Likewise.
28796 (norm): Likewise.
28797 (denorm): Likewise.
28798 (__mp_dbl): Likewise.
28799 (__dbl_mp): Likewise.
28800 (add_magnitudes): Likewise.
28801 (sub_magnitudes): Likewise.
28802 (__add): Likewise.
28803 (__sub): Likewise.
28804 (__mul): Likewise.
28805 (__inv): Likewise.
28806 (__dvd): Likewise.
28807 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mcr): Likewise.
28808 (__acr): Likewise.
28809 (__cpy): Likewise.
28810 (norm): Likewise.
28811 (denorm): Likewise.
28812 (__mp_dbl): Likewise.
28813 (__dbl_mp): Likewise.
28814 (add_magnitudes): Likewise.
28815 (sub_magnitudes): Likewise.
28816 (__add): Likewise.
28817 (__sub): Likewise.
28818 (__mul): Likewise.
28819 (__inv): Likewise.
28820 (__dvd): Likewise.
28821
eede9df9
JM
288222013-01-08 Joseph Myers <joseph@codesourcery.com>
28823
28824 * io/sys/stat.h [__GNUC__ && __GNUC__ >= 2 &&
28825 __USE_EXTERN_INLINES]: Change condition to [__USE_EXTERN_INLINES].
28826 * sysdeps/unix/sysv/linux/sys/sysmacros.h [__GNUC__ && __GNUC__ >=
28827 2 && __USE_EXTERN_INLINES]: Likewise.
28828
c40ea3d9
AJ
288292013-01-08 Andreas Jaeger <aj@suse.de>
28830
28831 [BZ# 14985]
28832 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h (EPOLL_NONBLOCK):
28833 Remove.
28834 * sysdeps/unix/sysv/linux/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
28835 * sysdeps/unix/sysv/linux/x86/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
28836
2ccdea26
AB
288372013-01-07 Anton Blanchard <anton@samba.org>
28838
28839 * sysdeps/powerpc/fpu/feholdexcpt.c: Fixed spelling errors.
28840 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
28841 * sysdeps/powerpc/fpu/math_ldbl.h: Likewise.
28842 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
28843 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
28844 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
28845 * sysdeps/powerpc/powerpc32/dl-start.S: Likewise.
28846 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
28847 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
28848 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
28849 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
28850 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
28851 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
28852 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
28853 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
28854 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
28855 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
28856 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
28857 * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
28858 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
28859 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
28860 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Likewise.
28861 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
28862 * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
28863 * sysdeps/powerpc/powerpc64/bits/atomic.h: Likewise.
28864 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
28865 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
28866 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
28867 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Likewise.
28868 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
28869 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
28870 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
28871 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
28872 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
28873 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
28874 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
28875 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
28876 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
28877 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Likewise.
28878 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
28879 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Likewise.
28880 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
28881 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
28882
a9708fed
JM
288832013-01-07 Joseph Myers <joseph@codesourcery.com>
28884
375607b9
JM
28885 * malloc/malloc.h (__MALLOC_P): Remove all definitions.
28886 (__MALLOC_PMT): Likewise.
28887 [__GNUC__] (__MALLOC_HOOK_VOLATILE): Make not conditional on
28888 [__GNUC__], only on [_LIBC].
28889 [__GNUC__] (__MALLOC_DEPRECATED): Likewise.
28890 [!__GNUC__] (__MALLOC_HOOK_VOLATILE): Remove definition.
28891 [!__GNUC__] (__MALLOC_DEPRECATED): Likewise.
28892 * malloc/malloc.c (malloc_hook_ini): Do not use __MALLOC_P in
28893 forward declaration.
28894 (realloc_hook_ini): Likewise.
28895 (memalign_hook_ini): Likewise.
28896 (__libc_memalign): Do not use __MALLOC_PMT in variable
28897 declaration.
28898 (__libc_valloc): Likewise.
28899 (__libc_pvalloc): Likewise.
28900 (__libc_calloc): Likewise.
28901 (__posix_memalign): Likewise.
28902
a9708fed
JM
28903 [BZ #14996]
28904 * math/s_casinh.c: Include <float.h>.
28905 (__casinh): Do not do computation with squaring and square root
28906 for large arguments.
28907 * math/s_casinhf.c: Include <float.h>.
28908 (__casinhf): Do not do computation with squaring and square root
28909 for large arguments.
28910 * math/s_casinhl.c: Include <float.h>.
28911 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine and redefine.
28912 (__casinhl): Do not do computation with squaring and square root
28913 for large arguments.
28914 * math/libm-test.inc (casin_test): Add more tests.
28915 (casinh_test): Likewise.
28916 * sysdeps/i386/fpu/libm-test-ulps: Update.
28917 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28918
afec409a
L
289192013-01-04 H.J. Lu <hongjiu.lu@intel.com>
28920
28921 * sysdeps/i386/i686/cacheinfo.c (__x86_64_data_cache_size): Removed.
28922 (__x86_64_raw_data_cache_size): Likewise.
28923 (__x86_64_data_cache_size_half): Likewise.
28924 (__x86_64_raw_data_cache_size_half): Likewise.
28925 (__x86_64_shared_cache_size): Likewise.
28926 (__x86_64_raw_shared_cache_size): Likewise.
28927 (__x86_64_shared_cache_size_half): Likewise.
28928 (__x86_64_raw_shared_cache_size_half): Likewise.
28929 * sysdeps/x86_64/cacheinfo.c (__x86_64_data_cache_size): Renamed
28930 to ...
28931 (__x86_data_cache_size): This.
28932 (__x86_64_raw_data_cache_size): Renamed to ...
28933 (__x86_raw_data_cache_size): This.
28934 (__x86_64_data_cache_size_half): Renamed to ...
28935 (__x86_data_cache_size_half): This.
28936 (__x86_64_raw_data_cache_size_half): Renamed to ...
28937 (__x86_raw_data_cache_size_half): This.
28938 (__x86_64_shared_cache_size): Renamed to ...
28939 (__x86_shared_cache_size): This.
28940 (__x86_64_raw_shared_cache_size): Renamed to ...
28941 (__x86_raw_shared_cache_size): This.
28942 (__x86_64_shared_cache_size_half): Renamed to ...
28943 (__x86_shared_cache_size_half): This.
28944 (__x86_64_raw_shared_cache_size_half): Renamed to ...
28945 (__x86_raw_shared_cache_size_half): This.
28946 * sysdeps/x86_64/memcpy.S: Updated.
28947 * sysdeps/x86_64/memset.S: Likewise.
28948 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
28949 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
28950 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
28951
0b3986d0
DM
289522013-01-04 David S. Miller <davem@davemloft.net>
28953
28954 * sysdeps/sparc/fpu/libm-test-ulps: Update.
28955
e47686e9
AS
289562013-01-04 Andreas Schwab <schwab@linux-m68k.org>
28957
d643bac1
AS
28958 * sysdeps/powerpc/fpu/test-powerpc-snan.c (_GNU_SOURCE): Define as
28959 1 to avoid redefinition warning.
28960 (__USE_GNU): Don't define.
28961 (init_signaling_nan): Protoize.
28962
e47686e9
AS
28963 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
28964
b18decba
SP
289652013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
28966
fffb407f
SP
28967 * sysdeps/ieee754/dbl-64/mpa.c: Remove commented code.
28968 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cr): Remove.
28969 (__cpymn): Likewise.
28970 (norm): Remove commented code.
28971 (denorm): Likewise.
28972 (__mp_dbl): Likewise.
28973 (__inv): Likewise.
28974 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cr): Remove.
28975 (__cpymn): Likewise.
28976 (norm): Remove commented code.
28977 (denorm): Likewise.
28978 (__mp_dbl): Likewise.
28979 (__inv): Likewise.
28980
b18decba
SP
28981 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mpone): Define
28982 mp_no value for 1.0 and 2.0.
28983 (norm): Use RADIXI instead of radixi.d.
28984 (denorm): Likewise.
28985 (__mul): Use 0.0 instead of zero.d.
28986 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mpone): Define
28987 mp_no value for 1.0 and 2.0.
28988 (norm): Use RADIXI instead of radixi.d.
28989 (denorm): Likewise.
28990 (__mul): Use 0.0 instead of zero.d.
28991
cdc1c96f
JM
289922013-01-04 Joseph Myers <joseph@codesourcery.com>
28993
28994 [BZ #14994]
28995 * math/s_casinh.c (__casinh): Reduce finite argument to first
28996 quadrant then set signs of results at the end.
28997 * math/s_casinhf.c (__casinhf): Likewise.
28998 * math/s_casinhl.c (__casinhl): Likewise.
28999 * math/libm-test.inc (casin_test): Add more tests.
29000 (casinh_test): Likewise.
29001 * sysdeps/i386/fpu/libm-test-ulps: Update.
29002 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29003
302913e1
SP
290042013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
29005
6420d207
SP
29006 * sysdeps/ieee754/dbl-64/mpa.h: Fix code formatting.
29007
a9e48ab4
SP
29008 * sysdeps/ieee754/dbl-64/mpa.h: Clean up comment for MP_NO.
29009
b7837264
SP
29010 * sysdeps/ieee754/dbl-64/mpa.c(norm): Remove commented
29011 declarations.
29012 (denorm): Likewise.
29013 (__mp_dbl): Likewise.
29014 (__inv): Likewise.
29015
f8af25d2
SP
29016 * sysdeps/ieee754/dbl-64/mpa.h: Remove commented declarations
29017 and adjust the header comment.
29018
302913e1
SP
29019 * sysdeps/ieee754/dbl-64/mpa.h (__mpexp): Remove unnecessary
29020 variable name from declaration.
29021
5d7dd1ca
L
290222013-01-03 H.J. Lu <hongjiu.lu@intel.com>
29023
29024 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
29025 Initialize COMMON_CPUID_INDEX_7 element.
29026 * sysdeps/x86_64/multiarch/init-arch.h (bit_RTM): New macro.
29027 (CPUID_RTM): Likewise.
29028 (HAS_RTM): Likewise.
29029 (COMMON_CPUID_INDEX_7): New enum.
29030
2f5f40f4
AS
290312013-01-03 Andreas Schwab <schwab@linux-m68k.org>
29032
29033 [BZ #14981]
29034 * malloc/mtrace.c (tr_reallochook): If realloc returns NULL when
29035 size is zero, record memory as freed.
29036
4056f4a0
AJ
290372013-01-03 Andreas Jaeger <aj@suse.de>
29038
29039 * po/ia.po: Add new Interlingua translation.
29040
ab15736f 290412012-01-03 Allan McRae <allan@archlinux.org>
fd80f0b7
AM
29042
29043 * locale/programs/localedef.c: Fix description of '--posix' flag.
29044
568035b7
JM
290452013-01-02 Joseph Myers <joseph@codesourcery.com>
29046
e6898b8d
JM
29047 * NEWS: Update dates in second copyright notice.
29048 * README: Update copyright dates in example.
29049 * manual/libc.texinfo: Update copyright dates.
29050 * scripts/test-installation.pl: Update copyright date in --version
29051 output.
29052
0e2f9562
JM
29053 * hurd/ctty-input.c: Fix copyright notice formatting.
29054 * hurd/ctty-output.c: Likewise.
29055 * hurd/dtable.c: Likewise.
29056 * hurd/hurd-raise.c: Likewise.
29057 * hurd/hurdprio.c: Likewise.
29058 * hurd/msgportdemux.c: Likewise.
29059 * misc/sys/file.h: Likewise.
29060 * misc/sys/ioctl.h: Likewise.
29061 * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
29062 * sysdeps/mach/hurd/chdir.c: Likewise.
29063 * sysdeps/mach/hurd/fchdir.c: Likewise.
29064 * sysdeps/mach/hurd/rename.c: Likewise.
29065 * sysdeps/mach/hurd/rmdir.c: Likewise.
29066 * sysdeps/mach/hurd/seekdir.c: Likewise.
29067 * sysdeps/mach/hurd/setsid.c: Likewise.
29068 * sysdeps/posix/wait3.c: Likewise.
29069
568035b7
JM
29070 * All files with FSF copyright notices: Update copyright dates
29071 using scripts/update-copyrights.
29072 * intl/plural.c: Regenerated.
29073 * locale/programs/charmap-kw.h: Likewise.
29074 * locale/programs/locfile-kw.h: Likewise.
29075
da08f647
SP
290762013-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
29077
0f5477af
SP
29078 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1): Fix first
29079 four values.
29080
44e0d4c2
SP
29081 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Split mantissa
29082 calculation loop and add branch prediction.
29083
4d55b4e5
SP
29084 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Add assert to
29085 check access beyond bounds of m1np.
29086
da08f647
SP
29087 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
29088 MPTWO.
29089 (__inv): Remove local variable MPTWO to use the global
29090 constant.
29091 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPTWO.
29092 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
29093 variable MPTWO.
29094 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Make MPHALF and
29095 MP3HALFS static const.
29096
8e051029
DM
290972013-01-01 David S. Miller <davem@davemloft.net>
29098
29099 * po/ca.po: Update from translation team.
29100
f4cf5f2d
JM
291012013-01-01 Joseph Myers <joseph@codesourcery.com>
29102
29103 * scripts/update-copyrights: New file.
29104 * Makeconfig: Reformat copyright notice.
29105 * ctype/ctype.h: Likewise.
29106 * debug/swprintf_chk.c: Likewise.
29107 * elf/dl-cache.c: Likewise.
29108 * elf/dl-debug.c: Likewise.
29109 * elf/dl-object.c: Likewise.
29110 * grp/initgroups.c: Likewise.
29111 * hurd/Makefile: Likewise.
29112 * hurd/hurd/signal.h: Likewise.
29113 * hurd/hurdfault.c: Likewise.
29114 * hurd/hurdioctl.c: Likewise.
29115 * hurd/hurdlookup.c: Likewise.
29116 * hurd/intr-msg.c: Likewise.
29117 * iconv/gconv_open.c: Likewise.
29118 * libio/swprintf.c: Likewise.
29119 * locale/lc-ctype.c: Likewise.
29120 * locale/nl_langinfo.c: Likewise.
29121 * mach/Machrules: Likewise.
29122 * mach/Makefile: Likewise.
29123 * malloc/obstack.h: Likewise.
29124 * manual/Makefile: Likewise.
29125 * manual/tsort.awk: Likewise.
29126 * misc/bits/stab.def: Likewise.
29127 * nis/nis_print_group_entry.c: Likewise.
29128 * nis/nis_table.c: Likewise.
29129 * nis/nss_compat/compat-pwd.c: Likewise.
29130 * nis/nss_compat/compat-spwd.c: Likewise.
29131 * po/Makefile: Likewise.
29132 * posix/fnmatch.c: Likewise.
29133 * posix/regex.h: Likewise.
29134 * resolv/Makefile: Likewise.
29135 * resolv/nss_dns/dns-network.c: Likewise.
29136 * resolv/res_hconf.c: Likewise.
29137 * scripts/gen-sorted.awk: Likewise.
29138 * soft-fp/soft-fp.h: Likewise.
29139 * stdio-common/printf.h: Likewise.
29140 * stdlib/monetary.h: Likewise.
29141 * stdlib/random.c: Likewise.
29142 * stdlib/random_r.c: Likewise.
29143 * sysdeps/generic/Makefile: Likewise.
29144 * sysdeps/gnu/Makefile: Likewise.
29145 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
29146 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
29147 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
29148 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
29149 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
29150 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
29151 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
29152 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
29153 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
29154 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
29155 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
29156 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
29157 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
29158 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
29159 * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
29160 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
29161 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
29162 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
29163 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
29164 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
29165 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
29166 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
29167 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
29168 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
29169 * sysdeps/ieee754/ldbl-128/mpn2ldbl.c: Likewise.
29170 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
29171 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
29172 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Likewise.
29173 * sysdeps/mach/hurd/errnos.awk: Likewise.
29174 * sysdeps/mach/hurd/fork.c: Likewise.
29175 * sysdeps/mach/hurd/getcwd.c: Likewise.
29176 * sysdeps/mach/hurd/i386/trampoline.c: Likewise.
29177 * sysdeps/mach/hurd/mmap.c: Likewise.
29178 * sysdeps/mach/hurd/utimes.c: Likewise.
29179 * sysdeps/mach/hurd/xmknod.c: Likewise.
29180 * sysdeps/posix/profil.c: Likewise.
29181 * sysdeps/posix/readdir_r.c: Likewise.
29182 * sysdeps/powerpc/bits/mathdef.h: Likewise.
29183 * sysdeps/powerpc/bits/setjmp.h: Likewise.
29184 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Likewise.
29185 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
29186 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
29187 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
29188 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
29189 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
29190 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
29191 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
29192 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
29193 * sysdeps/pthread/lio_listio.c: Likewise.
29194 * sysdeps/sparc/dl-procinfo.h: Likewise.
29195 * sysdeps/unix/i386/sysdep.S: Likewise.
29196 * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
29197 * sysdeps/unix/sysv/linux/fstatvfs64.c: Likewise.
29198 * sysdeps/unix/sysv/linux/getdents.c: Likewise.
29199 * sysdeps/unix/sysv/linux/msgctl.c: Likewise.
29200 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
29201 * sysdeps/unix/sysv/linux/semctl.c: Likewise.
29202 * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
29203 * sysdeps/unix/sysv/linux/speed.c: Likewise.
29204 * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
29205 * sysdeps/wordsize-32/divdi3.c: Likewise.
29206 * time/sys/time.h: Likewise.
29207 * wcsmbs/Makefile: Likewise.
29208
0549fbba
DM
292092013-01-01 David S. Miller <davem@davemloft.net>
29210
a141f1a7
DM
29211 * po/fr.po: Update from translation team.
29212
0549fbba
DM
29213 * catgets/gencat.c: Update copyright year.
29214 * csu/version.c: Likewise.
29215 * debug/catchsegv.sh: Likewise.
29216 * debug/pcprofiledump.c: Likewise.
29217 * debug/xtrace.sh: Likewise.
29218 * elf/ldconfig.c: Likewise.
29219 * elf/ldd.bash.in: Likewise.
29220 * elf/pldd.c: Likewise.
29221 * elf/sotruss.ksh: Likewise.
29222 * elf/sprof.c: Likewise.
29223 * iconv/iconv_prog.c: Likewise.
29224 * iconv/iconvconfig.c: Likewise.
29225 * locale/programs/locale.c: Likewise.
29226 * locale/programs/localedef.c: Likewise.
29227 * login/programs/pt_chown.c: Likewise.
29228 * malloc/memusage.sh: Likewise.
29229 * malloc/memusagestat.c: Likewise.
29230 * malloc/mtrace.pl: Likewise.
29231 * nscd/nscd.c: Likewise.
29232 * nss/getent.c: Likewise.
29233 * nss/makedb.c: Likewise.
29234 * posix/getconf.c: Likewise.
29235
18ea052c
SP
292362012-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
29237
29238 * sysdeps/ieee754/dbl-64/mpa.c (__mp_dbl): Favour normal
29239 numbers.
29240
9c89fca6
MF
292412012-12-30 Mike Frysinger <vapier@gentoo.org>
29242
29243 * math/bits/mathcalls.h (modf): Use __nonnull.
29244
085ec079
SP
292452012-12-29 Siddhesh Poyarekar <siddhesh@redhat.com>
29246
29247 * sysdeps/ieee754/dbl-64/branred.h: Include dla.h.
29248 (split): Use macro CN instead of the bare value.
29249 * sysdeps/ieee754/dbl-64/dla.h: Add comment to explain why CN
29250 could be used.
29251 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use CN
29252 instead of the bare value.
29253 (power1): Likewise.
29254
6d9f97e1
SP
292552012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
29256
d63f73be
SP
29257 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove
29258 __ATAN_TWOM.
29259 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
29260
6d9f97e1
SP
29261 * sysdeps/ieee754/dbl-64/atnat.h: Replaced constants with
29262 their values.
29263 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
29264 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
29265 * sysdeps/ieee754/dbl-64/ulog.h: Likewise.
29266 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
29267
4c4febf5
AJ
292682012-12-28 Andreas Jaeger <aj@suse.de>
29269
af5843ef
AJ
29270 * elf/elf.h (NT_S390_TDB, NT_FILE, NT_SIGINFO): Define. New
29271 values are from Linux 3.7.
29272
4c4febf5
AJ
29273 * sysdeps/gnu/netinet/tcp.h (TCPI_OPT_SYN_DATA)
29274 (TCPI_OPT_ECN_SEEN): Define. Sync with Linux 3.7.
29275
99136f82
SP
292762012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
29277
2f216c3c 29278 * misc/sys/cdefs.h (__glibc_likely): Wrap __builtin_expect for
91998e44
SP
29279 TRUE case.
29280
99136f82
SP
29281 * sysdeps/ieee754/dbl-64/mpa.c (norm): Define R as RADIXI.
29282 (norm): Likewise.
29283 * sysdeps/ieee754/dbl-64/mpa2.h: Remove all static const
29284 variables with preprocessor constants.
29285 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
29286 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
29287 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
29288
7fffbdff
BH
292892012-12-27 Bruno Haible <bruno@clisp.org>
29290
29291 [BZ #14317]
29292 * string/xpg-strerror.c (__xpg_strerror_r): Optimize, call strlen
29293 only if needed.
29294
b76eb5f0
SP
292952012-12-27 Siddhesh Poyarekar <siddhesh@redhat.com>
29296
31a7fe5c
SP
29297 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Eliminate __mpexp_nn
29298 and use variable directly.
29299 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_nn): Remove.
29300
b76eb5f0
SP
29301 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
29302 MPONE.
29303 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPONE.
29304 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
29305 variable MPONE.
29306 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
29307 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
29308 * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Remove mplog.h
29309 include directive. Remove local variable MPONE.
29310 * sysdeps/ieee754/dbl-64/mplog.h: Remove.
29311 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define NO__CONST.
29312 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
29313
2c8bfe7d
DM
293142012-12-25 David S. Miller <davem@davemloft.net>
29315
29316 * version.h (RELEASE): Set to "development".
29317 (VERSION): Set to "2.17.90".
29318 * NEWS: Add 2.18 section.
29319
147d03b0
DM
293202012-12-21 David S. Miller <davem@davemloft.net>
29321
29322 * po/hr.po: Update from translation team.
29323
a8ebb2b9
AK
293242012-12-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
29325
29326 * sysdeps/s390/fpu/libm-test-ulps: Refreshed.
29327
95b4f1b6
SE
293282012-12-19 Steve Ellcey <sellcey@mips.com>
29329
b2d94007 29330 * NEWS: Mention new memcpy for MIPS.
95b4f1b6 29331
cedb2a90
MS
293322012-12-18 Marcus Shawcroft <marcus.shawcroft@linaro.org>
29333
29334 * manual/contrib.texi (Contributors): Spelling correction.
29335
bbf527d6
DM
293362012-12-15 David S. Miller <davem@davemloft.net>
29337
29338 * po/ru.po: Update from translation team.
29339
bc38c906
DM
293402012-12-13 David S. Miller <davem@davemloft.net>
29341
85429b1a
DM
29342 * NEWS: Mention IFUNC testsuite enhancements.
29343
d283e353
DM
29344 * po/pl.po: Update from translation team.
29345 * po/bg.po: Likewise.
29346
bc38c906
DM
29347 * manual/contrib.texi (Contributors): Update entries for Hongjiu
29348 Lu and Joseph S. Myers. Add entry for Marcus Shawcroft.
29349
a181b0d7
DM
293502012-12-11 David S. Miller <davem@davemloft.net>
29351
4641d57e
DM
29352 * po/sv.po: Update from translation team.
29353
f7bc6495
DM
29354 * po/vi.po: Update from translation team.
29355
6fc9048f
DM
29356 * po/cs.po: Update from translation team.
29357
a181b0d7
DM
29358 * po/de.po: Update from translation team.
29359 * po/eo.po: Likewise.
29360 * po/nl.po: Likewise.
29361
f70bfe80
SP
293622012-12-11 Siddhesh Poyarekar <siddhesh@redhat.com>
29363
3c8b4190
SP
29364 [BZ #14246]
29365 * manual/argp.texi (Argp Helper Functions): Move node to follow
29366 Argp Parsing State.
29367
f70bfe80
SP
29368 [BZ #14872]
29369 * manual/conf.texi (Limits on File System Capacity): Mention if
29370 terminating null is included in the max size.
29371
188f0adf
AJ
293722012-12-10 Andreas Jaeger <aj@suse.de>
29373
29374 * po/cs.po: Update from translation team.
29375
56e7d3ad
SP
293762012-12-08 Siddhesh Poyarekar <siddhesh@redhat.com>
29377
29378 * sysdeps/s390/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as
29379 void pointer and cast to uintptr_t.
29380 * sysdeps/s390/s390-64/memcmp.S: Pick sysdep.h from include
29381 path.
29382 * sysdeps/s390/s390-64/memcpy.S: Likewise.
29383 * sysdeps/s390/s390-64/memset.S: Likewise.
29384
76f2d2ea 293852012-12-08 Benno Schulenberg <bensberg@justemail.net>
c430c4af
BS
29386
29387 [BZ #14833]
29388 * menual/message.texi (Message Translation): Fix typos.
29389 (Helper programs for gettext): Likewise.
29390
67cbf9a2
AS
293912012-12-07 Andreas Schwab <schwab@linux-m68k.org>
29392
29393 [BZ #14898]
29394 * include/link.h (FORCED_DYNAMIC_TLS_OFFSET) [NO_TLS_OFFSET == 0]:
29395 Change to -1.
29396
682d0e9a
DM
293972012-12-07 David S. Miller <davem@davemloft.net>
29398
29399 * po/libc.pot: Update.
29400
573cd484
RH
294012012-12-07 Richard Henderson <rth@redhat.com>
29402
7e9da188 29403 [BZ #10114]
573cd484
RH
29404 * soft-fp/op-common.h (_FP_MUL): Pull computation of R_e from the
29405 normal/normal case to before the switch.
29406 (_FP_DIV): Likewise.
29407
e933a943
MF
294082012-12-06 Carlos O'Donell <carlos@systemhalted.org>
29409 Mike Frysinger <vapier@gentoo.org>
29410
29411 * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Also
29412 check for __NR_fadvise64_64.
29413
82123268
CM
294142012-12-06 Chris Metcalf <cmetcalf@tilera.com>
29415
29416 * sysdeps/generic/fpu_control.h (_FPU_GETCW): Define to set cw to
29417 0, not just to plain "0" as a statement.
29418 (_FPU_SETCW): Define to (void) (cw), rather than doing nothing
29419 with cw.
29420
d9814526
JM
294212012-12-06 Joseph Myers <joseph@codesourcery.com>
29422
29423 * NEWS: Use sourceware.org in Bugzilla URL.
29424
7728c574
SP
294252012-12-06 Siddhesh Poyarekar <siddhesh@redhat.com>
29426
f16946dd
SP
29427 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
29428 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
29429
5704bbcb
SP
29430 * stdio-common/tst-put-error.c (do_test): Add newline to the
29431 padded test to ensure flush.
29432
17aa0516
JL
294332012-12-05 Jeff Law <law@redhat.com>
29434
29435 * sunrpc/etc.rpc (fedfs_admin): Add entry.
29436
363313b5
JM
294372012-12-05 Joseph Myers <joseph@codesourcery.com>
29438
effbd42a
JM
29439 * README: Don't refer to ports add-on as distributed separately.
29440 Mention AArch64 in list of systems supported in the ports add-on.
29441
87600365
JM
29442 * LICENSES: Add more non-FSF copyright and license notices.
29443
a0d7066a
JM
29444 * soft-fp/op-common.h (_FP_DECL): Declare X##_s with __attribute__
29445 ((unused)).
29446
66ca5a5b
JM
29447 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Include <stdlib.h>.
29448
363313b5
JM
29449 * stdio-common/tst-put-error.c (do_test): Use 10000000 instead of
29450 10000 as width of padded output.
29451
b37984ad
JM
294522012-12-04 Joseph Myers <joseph@codesourcery.com>
29453
9003570a
JM
29454 * sysdeps/powerpc/sysdep.h (_SYS_AUXV_H): Define to 1 not empty.
29455
b37984ad
JM
29456 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Mark
29457 variable LX with __attribute__ ((unused)).
29458 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
29459 Likewise.
29460 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
29461 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
29462 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Mark variable LY
29463 with __attribute__ ((unused)).
29464
c8df52ec
DM
294652012-12-04 David S. Miller <davem@abraco.davemloft.net>
29466
29467 * sysdeps/generic/memcopy.h: Add multiple inclusion protection.
29468
b3b099af
JM
294692012-12-04 Joseph Myers <joseph@codesourcery.com>
29470
c33aa6e3
JM
29471 * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math]
29472 (CFLAGS-nldbl-acos.c): New variable.
29473 [$(subdir) = math] (CFLAGS-nldbl-acosh.c): Likewise.
29474 [$(subdir) = math] (CFLAGS-nldbl-asin.c): Likewise.
29475 [$(subdir) = math] (CFLAGS-nldbl-asinh.c): Likewise.
29476 [$(subdir) = math] (CFLAGS-nldbl-atan.c): Likewise.
29477 [$(subdir) = math] (CFLAGS-nldbl-atan2.c): Likewise.
29478 [$(subdir) = math] (CFLAGS-nldbl-atanh.c): Likewise.
29479 [$(subdir) = math] (CFLAGS-nldbl-cabs.c): Likewise.
29480 [$(subdir) = math] (CFLAGS-nldbl-cacos.c): Likewise.
29481 [$(subdir) = math] (CFLAGS-nldbl-cacosh.c): Likewise.
29482 [$(subdir) = math] (CFLAGS-nldbl-carg.c): Likewise.
29483 [$(subdir) = math] (CFLAGS-nldbl-casin.c): Likewise.
29484 [$(subdir) = math] (CFLAGS-nldbl-casinh.c): Likewise.
29485 [$(subdir) = math] (CFLAGS-nldbl-catan.c): Likewise.
29486 [$(subdir) = math] (CFLAGS-nldbl-catanh.c): Likewise.
29487 [$(subdir) = math] (CFLAGS-nldbl-cbrt.c): Likewise.
29488 [$(subdir) = math] (CFLAGS-nldbl-ccos.c): Likewise.
29489 [$(subdir) = math] (CFLAGS-nldbl-ccosh.c): Likewise.
29490 [$(subdir) = math] (CFLAGS-nldbl-ceil.c): Likewise.
29491 [$(subdir) = math] (CFLAGS-nldbl-cexp.c): Likewise.
29492 [$(subdir) = math] (CFLAGS-nldbl-cimag.c): Likewise.
29493 [$(subdir) = math] (CFLAGS-nldbl-clog.c): Likewise.
29494 [$(subdir) = math] (CFLAGS-nldbl-clog10.c): Likewise.
29495 [$(subdir) = math] (CFLAGS-nldbl-conj.c): Likewise.
29496 [$(subdir) = math] (CFLAGS-nldbl-copysign.c): Likewise.
29497 [$(subdir) = math] (CFLAGS-nldbl-cos.c): Likewise.
29498 [$(subdir) = math] (CFLAGS-nldbl-cosh.c): Likewise.
29499 [$(subdir) = math] (CFLAGS-nldbl-cpow.c): Likewise.
29500 [$(subdir) = math] (CFLAGS-nldbl-cproj.c): Likewise.
29501 [$(subdir) = math] (CFLAGS-nldbl-creal.c): Likewise.
29502 [$(subdir) = math] (CFLAGS-nldbl-csin.c): Likewise.
29503 [$(subdir) = math] (CFLAGS-nldbl-csinh.c): Likewise.
29504 [$(subdir) = math] (CFLAGS-nldbl-csqrt.c): Likewise.
29505 [$(subdir) = math] (CFLAGS-nldbl-ctan.c): Likewise.
29506 [$(subdir) = math] (CFLAGS-nldbl-ctanh.c): Likewise.
29507 [$(subdir) = math] (CFLAGS-nldbl-drem.c): Likewise.
29508 [$(subdir) = math] (CFLAGS-nldbl-erf.c): Likewise.
29509 [$(subdir) = math] (CFLAGS-nldbl-erfc.c): Likewise.
29510 [$(subdir) = math] (CFLAGS-nldbl-exp.c): Likewise.
29511 [$(subdir) = math] (CFLAGS-nldbl-exp10.c): Likewise.
29512 [$(subdir) = math] (CFLAGS-nldbl-exp2.c): Likewise.
29513 [$(subdir) = math] (CFLAGS-nldbl-expm1.c): Likewise.
29514 [$(subdir) = math] (CFLAGS-nldbl-fabs.c): Likewise.
29515 [$(subdir) = math] (CFLAGS-nldbl-fdim.c): Likewise.
29516 [$(subdir) = math] (CFLAGS-nldbl-finite.c): Likewise.
29517 [$(subdir) = math] (CFLAGS-nldbl-floor.c): Likewise.
29518 [$(subdir) = math] (CFLAGS-nldbl-fma.c): Likewise.
29519 [$(subdir) = math] (CFLAGS-nldbl-fmax.c): Likewise.
29520 [$(subdir) = math] (CFLAGS-nldbl-fmin.c): Likewise.
29521 [$(subdir) = math] (CFLAGS-nldbl-fmod.c): Likewise.
29522 [$(subdir) = math] (CFLAGS-nldbl-frexp.c): Likewise.
29523 [$(subdir) = math] (CFLAGS-nldbl-gamma.c): Likewise.
29524 [$(subdir) = math] (CFLAGS-nldbl-hypot.c): Likewise.
29525 [$(subdir) = math] (CFLAGS-nldbl-ilogb.c): Likewise.
29526 [$(subdir) = math] (CFLAGS-nldbl-isinf.c): Likewise.
29527 [$(subdir) = math] (CFLAGS-nldbl-isnan.c): Likewise.
29528 [$(subdir) = math] (CFLAGS-nldbl-j0.c): Likewise.
29529 [$(subdir) = math] (CFLAGS-nldbl-j1.c): Likewise.
29530 [$(subdir) = math] (CFLAGS-nldbl-jn.c): Likewise.
29531 [$(subdir) = math] (CFLAGS-nldbl-ldexp.c): Likewise.
29532 [$(subdir) = math] (CFLAGS-nldbl-lgamma.c): Likewise.
29533 [$(subdir) = math] (CFLAGS-nldbl-lgamma_r.c): Likewise.
29534 [$(subdir) = math] (CFLAGS-nldbl-llrint.c): Likewise.
29535 [$(subdir) = math] (CFLAGS-nldbl-llround.c): Likewise.
29536 [$(subdir) = math] (CFLAGS-nldbl-log.c): Likewise.
29537 [$(subdir) = math] (CFLAGS-nldbl-log10.c): Likewise.
29538 [$(subdir) = math] (CFLAGS-nldbl-log1p.c): Likewise.
29539 [$(subdir) = math] (CFLAGS-nldbl-log2.c): Likewise.
29540 [$(subdir) = math] (CFLAGS-nldbl-logb.c): Likewise.
29541 [$(subdir) = math] (CFLAGS-nldbl-lrint.c): Likewise.
29542 [$(subdir) = math] (CFLAGS-nldbl-lround.c): Likewise.
29543 [$(subdir) = math] (CFLAGS-nldbl-modf.c): Likewise.
29544 [$(subdir) = math] (CFLAGS-nldbl-nan.c): Likewise.
29545 [$(subdir) = math] (CFLAGS-nldbl-nearbyint.c): Likewise.
29546 [$(subdir) = math] (CFLAGS-nldbl-nextafter.c): Likewise.
29547 [$(subdir) = math] (CFLAGS-nldbl-nexttoward.c): Likewise.
29548 [$(subdir) = math] (CFLAGS-nldbl-nexttowardf.c): Likewise.
29549 [$(subdir) = math] (CFLAGS-nldbl-pow.c): Likewise.
29550 [$(subdir) = math] (CFLAGS-nldbl-pow10.c): Likewise.
29551 [$(subdir) = math] (CFLAGS-nldbl-remainder.c): Likewise.
29552 [$(subdir) = math] (CFLAGS-nldbl-remquo.c): Likewise.
29553 [$(subdir) = math] (CFLAGS-nldbl-rint.c): Likewise.
29554 [$(subdir) = math] (CFLAGS-nldbl-round.c): Likewise.
29555 [$(subdir) = math] (CFLAGS-nldbl-scalb.c): Likewise.
29556 [$(subdir) = math] (CFLAGS-nldbl-scalbln.c): Likewise.
29557 [$(subdir) = math] (CFLAGS-nldbl-scalbn.c): Likewise.
29558 [$(subdir) = math] (CFLAGS-nldbl-significand.c): Likewise.
29559 [$(subdir) = math] (CFLAGS-nldbl-sin.c): Likewise.
29560 [$(subdir) = math] (CFLAGS-nldbl-sincos.c): Likewise.
29561 [$(subdir) = math] (CFLAGS-nldbl-sinh.c): Likewise.
29562 [$(subdir) = math] (CFLAGS-nldbl-sqrt.c): Likewise.
29563 [$(subdir) = math] (CFLAGS-nldbl-tan.c): Likewise.
29564 [$(subdir) = math] (CFLAGS-nldbl-tanh.c): Likewise.
29565 [$(subdir) = math] (CFLAGS-nldbl-tgamma.c): Likewise.
29566 [$(subdir) = math] (CFLAGS-nldbl-trunc.c): Likewise.
29567 [$(subdir) = math] (CFLAGS-nldbl-y0.c): Likewise.
29568 [$(subdir) = math] (CFLAGS-nldbl-y1.c): Likewise.
29569 [$(subdir) = math] (CFLAGS-nldbl-yn.c): Likewise.
29570
20f0018d
JM
29571 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
29572 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
29573
b3b099af
JM
29574 [BZ #14914]
29575 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Clear
29576 whole low double instead of just low 47 bits when splitting values
29577 into two parts.
29578
029264d1
AM
295792012-12-03 Allan McRae <allan@archlinux.org>
29580
29581 * manual/stdio.texi (Predefined Printf Handlers): Remove
29582 @hsep and @vsep usage.
29583
c9d6789e
MF
295842012-12-03 Mike Frysinger <vapier@gentoo.org>
29585
29586 * bits/byteswap.h [__GNUC__]: Change __GNUC_PREREQ from 4.2 to 4.3.
29587 * sysdeps/x86/bits/byteswap.h [__GNUC__]: Likewise.
29588
4b7634a5
JL
295892012-12-03 Jeff Law <law@redhat.com>
29590
29591 * time/sys/time.h (settimeofday): Do not mark TV argument
29592 as __nonnull.
29593
eb6cbd24
MF
295942012-12-01 Mike Frysinger <vapier@gentoo.org>
29595
29596 * libio/fileops.c (_IO_new_file_close_it): Do not always flush
29597 when currently writing and seek to current position when not.
29598 * libio/Makefile (tests): Remove bug-fclose1.
29599 * libio/bug-fclose1.c: Delete.
29600
f638872a
JM
296012012-12-01 Joseph Myers <joseph@codesourcery.com>
29602
29603 * manual/arith.texi (feenableexcept): Fix typo.
29604 (fedisableexcept): Likewise.
29605
48085d14
RM
296062012-11-30 Roland McGrath <roland@hack.frob.com>
29607
29608 * sysdeps/powerpc/powerpc64/entry.h (TEXT_START): Define using a
29609 second, differently-typed declaration, rather than a cast.
29610
1a538b9f
SP
296112012-11-30 Siddhesh Poyarekar <siddhesh@redhat.com>
29612
29613 * sunrpc/rpc/svc.h (__svc_accept_failed): Move declaration...
29614 * include/rpc/svc.h: ... here.
29615
d07f2ff1 296162012-11-30 Aurelien Jarno <aurel32@debian.org>
cc8bb21c
AJ
29617
29618 [BZ #13013]
29619 * resolv/res_query.c(__libc_res_nquery): Assign hp and hp2
29620 depending n and resplen2 to catch cases where answer
29621 equals answerp2.
29622
c93ec1f0
CD
296232012-11-29 Carlos O'Donell <carlos@systemhalted.org>
29624
29625 * elf/get-dynamic-info.h (elf_get_dynamic_info): Warn
29626 for unsupported DF_1_* bits when DL_DEBUG_FILES is set.
29627
37db69de
MF
296282012-11-29 Mike Frysinger <vapier@gentoo.org>
29629
29630 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c (HAS_CPUCLOCK): Delete.
29631
e10c4e4f
RM
296322012-11-29 Roland McGrath <roland@hack.frob.com>
29633
29634 * inet/tst-inet6_rth.c (do_test): Use a union rather than type punning.
29635
2af1b328
JL
296362012-11-28 Jeff Law <law@redhat.com>
29637
29638 [BZ #13761]
29639 * nscd/grpcache.c (cache_addgr): Rename alloca_used to
29640 dataset_temporary. Track alloca usage into alloca_used.
29641 If dataset is large allocate and release it via malloc/free.
29642
111db5b1
FW
296432012-06-04 Florian Weimer <fweimer@redhat.com>
29644
f06cc227 29645 [BZ #14197]
111db5b1
FW
29646 * debug/test-strcpy_chk.c: Mention __chk_fail ABI test.
29647
dd694abd
DM
296482012-11-28 David S. Miller <davem@davemloft.net>
29649
29650 * sysdeps/sparc/fpu/libm-test-ulps: Update.
29651
9984dd01
JM
296522012-11-28 Joseph Myers <joseph@codesourcery.com>
29653
29654 [BZ #14803]
29655 * sysdeps/ieee754/ldbl-96/e_asinl.c (pio2_hi): Use hex float value
29656 of pi/2 rounded to nearest to 64 bits.
29657 (pio2_lo): Use hex float value of pi/2 - pio2_hi rounded to
29658 nearest to 64 bits.
29659 (pio4_hi): Use hex float value of pi/4 rounded to nearest to 64
29660 bits.
29661
14bc93a9
JL
296622012-11-28 Jeff Law <law@redhat.com>
29663 Martin Osvald <mosvald@redhat.com>
29664
29665 [BZ #14889]
29666 * sunrpc/rpc/svc.h (__svc_accept_failed): New prototype.
29667 * sunrpc/svc.c: Include time.h.
29668 (__svc_accept_failed): New function.
29669 * sunrpc/svc_tcp.c (rendezvous_request): If the accept fails for
29670 any reason other than EINTR, call __svc_accept_failed.
29671 * sunrpc/svc_udp.c (svcudp_recv): Similarly.
29672 * sunrpc/svc_unix.c (rendezvous_request): Similarly.
29673
e3c6aa3a
AS
296742012-11-28 Andreas Schwab <schwab@suse.de>
29675
29676 * scripts/abilist.awk: Also handle indirect functions in .opd
29677 section.
29678
1bead169
JM
296792012-11-28 Joseph Myers <joseph@codesourcery.com>
29680
29681 [BZ #13881]
29682 * sysdeps/x86/fpu/powl_helper.c: New file.
29683 * sysdeps/x86/fpu/Makefile: Likewise.
29684 * sysdeps/i386/fpu/e_powl.S (limit): Remove object.
29685 (p3): New object.
29686 (__ieee754_powl): Use __powl_helper for finite arguments except
29687 integer exponents below 8.
29688 * sysdeps/x86_64/fpu/e_powl.S (limit): Remove object.
29689 (p3): New object.
29690 (__ieee754_powl): Use __powl_helper for finite arguments except
29691 integer exponents below 8.
29692 * math/libm-test.inc (pow_test): Add more tests and enable some
29693 previously disabled tests.
29694 * sysdeps/i386/fpu/libm-test-ulps: Update.
29695 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29696
0817d63d
SP
296972012-11-28 Siddhesh Poyarekar <siddhesh@redhat.com>
29698 Carlos O'Donell <carlos_odonell@mentor.com>
29699
29700 * nss/makedb.c (is_prime): Assert that input is odd and greater
29701 than 4. Note that fact in a comment too.
29702 (next_prime): Add 4 to input.
29703
de2fd463
SP
297042012-11-27 Siddhesh Poyarekar <siddhesh@redhat.com>
29705
29706 [BZ #11741]
29707 * libio/Makefile (tests): Add test case tst-fwrite-error.
29708 * libio/iofwrite.c (_IO_fwrite): Return 0 on EOF.
29709 * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
29710 * libio/tst-fwrite-error.c: New test case.
29711
c515fb51
L
297122012-11-26 H.J. Lu <hongjiu.lu@intel.com>
29713
29714 * elf/dl-load.c (_dl_map_object_from_fd): Cast to uintptr_t
29715 before casting to void *.
29716 * include/libc-internal.h (__pointer_type): New macro.
29717 (__integer_if_pointer_type_sub): Likewise.
29718 (__integer_if_pointer_type): Likewise.
29719 (cast_to_integer): Likewise.
29720 * sysdeps/x86_64/bits/atomic.h: Include <libc-internal.h>.
29721 (__arch_c_compare_and_exchange_val_64_acq): Use cast_to_integer
29722 before casting to atomic64_t.
29723 (atomic_exchange_acq): Likewise.
29724 (__arch_exchange_and_add_body): Likewise.
29725 (__arch_add_body): Likewise.
29726 (atomic_add_negative): Likewise.
29727 (atomic_add_zero): Likewise.
29728
4cf77aa9
JM
297292012-11-26 Joseph Myers <joseph@codesourcery.com>
29730
29731 * sysdeps/generic/unwind-dw2-fde.c (get_pc_begin): New function.
29732 (fde_unencoded_compare): Use get_pc_begin instead of type-punning.
29733 (add_fdes): Likewise.
29734 (linear_search_fdes): Likewise.
29735 (binary_search_unencoded_fdes): Likewise.
29736
d260b3b4
AS
297372012-11-26 Andreas Schwab <schwab@linux-m68k.org>
29738
29739 * elf/sotruss.ksh: Correctly locate argument of -F and -T options.
29740
67060746
AC
297412012-11-24 Adam Conrad <adconrad@0c3.net>
29742
29743 * configure.in: Autodetect C++ header directories.
29744 * configure: Regenerated.
29745
800938a1
MF
297462012-11-23 Mike Frysinger <vapier@gentoo.org>
29747
29748 * elf/Makefile ($(objpfx)ld.so): Change readelf to $(READELF).
29749
4e6e34e6
AS
297502012-11-23 Andreas Schwab <schwab@linux-m68k.org>
29751
29752 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
29753
7c7feb47
JM
297542012-11-22 Joseph Myers <joseph@codesourcery.com>
29755
7184dcdf
JM
29756 * math/libm-test.inc (fma_test_towardzero) [TEST_LDOUBLE &&
29757 LDBL_MANT_DIG == 106]: Disable some tests.
29758 (fma_test_downward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
29759 Likewise.
29760 (fma_test_upward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
29761 Likewise.
29762
0a42601f
JM
29763 [BZ #14871]
29764 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Return the
29765 input for small inputs. Return +/- pi/2 for large inputs.
29766 * math/libm-test.inc (atan_test): Add more tests.
29767
79c9b9fe
JM
29768 * sysdeps/generic/unwind-dw2-fde-glibc.c
29769 (_Unwind_IteratePhdrCallback): Declare P_DYNAMIC with
29770 __attribute__ ((unused)).
29771
c60d3bf2
JM
29772 [BZ #14645]
29773 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Compute result as
29774 x * y if x and y are nonzero and z is zero.
29775
ef1e0867
JM
29776 [BZ #14811]
29777 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Saturate
29778 nonzero exponents with absolute value below 0x1p-117 to +/-
29779 0x1p-117.
29780
1468ded3
JM
29781 [BZ #14869]
29782 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Scale
29783 up arguments below 2**-450, not just those below 2**-500.
29784 * math/libm-test.inc (hypot_test): Add another test.
29785
8e27e3cc
JM
29786 [BZ #14868]
29787 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
29788 Return a+b for ratio over 2**120, not 2**60.
29789 * math/libm-test.inc (hypot_test): Add another test.
29790
c9c0279b
JM
29791 * math/libm-test.inc (clog_test): Use
29792 UNDERFLOW_EXCEPTION_LDOUBLE_IBM on two tests.
29793 (clog10_test): Likewise.
29794
7c7feb47
JM
29795 [BZ #6778]
29796 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (big): Change to 1e290L.
29797
fff1530e
AS
297982012-11-22 Andreas Schwab <schwab@suse.de>
29799
29800 * sysdeps/i386/fpu/libm-test-ulps: Update.
29801
94558d30
PT
298022012-11-22 Pino Toscano <toscano.pino@tiscali.it>
29803
29804 * sysdeps/x86_64/multiarch/test-multiarch.c (get_cpuinfo): Terminate
29805 printf output with newline.
29806
7e1be741
L
298072012-11-21 H.J. Lu <hongjiu.lu@intel.com>
29808
6bfea974
L
29809 [BZ #14865]
29810 * aclocal.m4 (LIBC_LINKER_FEATURE): New macro.
29811 * configure.in: Use LIBC_LINKER_FEATURE to check -z nodelete,
29812 -z nodlopen, -z initfirst and -z execstack support.
29813 * configure: Regenerated.
29814
7e1be741
L
29815 * elf/elf.h (DF_1_NODIRECT): New macro.
29816 (DF_1_IGNMULDEF): Likewise.
29817 (DF_1_NOKSYMS): Likewise.
29818 (DF_1_NOHDR): Likewise.
29819 (DF_1_EDITED): Likewise.
29820 (DF_1_NORELOC): Likewise.
29821 (DF_1_SYMINTPOSE): Likewise.
29822 (DF_1_GLOBAUDIT): Likewise.
29823 (DF_1_SINGLETON): Likewise.
29824 * elf/get-dynamic-info.h (elf_get_dynamic_info): Assert
29825 DT_1_SUPPORTED_MASK bits.
29826 * include/elf.h (DT_1_SUPPORTED_MASK): New macro.
29827
105ce2ce
CD
298282012-11-20 Carlos O'Donell <carlos_odonell@mentor.com>
29829
29830 * sysdeps/unix/make-syscalls.sh: Document prefixes.
29831
123be9de
TS
298322012-11-20 Thomas Schwinge <thomas@codesourcery.com>
29833
d072f3f7
TS
29834 * sysdeps/sh/dl-machine.h (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): New
29835 macro.
29836
123be9de
TS
29837 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr, recvmmsg)
29838 (sendmmsg): Move declarations...
29839 * socket/sys/socket.h: ... here.
29840 * sysdeps/unix/sysv/linux/recvmmsg.c [!defined __NR_recvmmsg &&
29841 !defined __NR_socketcall] (recvmmsg): Move ENOSYS stub into and
29842 include it from...
29843 * socket/recvmmsg.c: ... this new file.
29844 * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SENDMMSG]
29845 (sendmmsg): Rename to __sendmmsg, create weak alias and make
29846 definition of __sendmmsg hidden.
29847 * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
29848 [!defined __NR_sendmmsg && !defined __NR_socketcall] (sendmmsg):
29849 Move ENOSYS stub into and include it from...
29850 * socket/sendmmsg.c: ... this new file.
29851 * sysdeps/unix/sysv/linux/Makefile [subdir=socket]
29852 (sysdep_routines): Move recvmmsg and sendmmsg...
29853 * socket/Makefile (routines): ... here.
29854 * socket/Versions (GLIBC_2.17): Add recvmmsg and sendmmsg.
29855 (GLIBC_PRIVATE): Add __sendmmsg.
29856 * include/sys/socket.h (__sendmmsg): Add declarations.
29857 * resolv/res_send.c (send_dg): Invoke __sendmmsg instead of
29858 sendmmsg.
29859
cf9a5d18
JM
298602012-11-20 Joseph Myers <joseph@codesourcery.com>
29861
29862 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Mark
29863 variable I1 with __attribute__ ((unused)).
29864 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
29865
ecd4caf9
JM
298662012-11-19 Joseph Myers <joseph@codesourcery.com>
29867
be14d48f
JM
29868 * stdio-common/_itowa.c (_itowa) [BITS_PER_MP_LIMB == 64]: Declare
29869 DUMMY variables with __attribute__ ((unused)).
29870
ecd4caf9
JM
29871 * bits/byteswap.h: Include <bits/types.h>.
29872 (__bswap_64): Use __uint64_t instead of unsigned long long int.
29873
986cab95
PT
298742012-11-19 Pino Toscano <toscano.pino@tiscali.it>
29875
29876 * sysdeps/mach/hurd/ptsname.c (ptsname): Change the type of PEERNAME to
29877 string_t. Do not manually set errno.
29878 (__ptsname_r): Change the type of PEERNAME to string_t, and check its
29879 length with __strnlen. Make sure to both set errno and return it on
29880 failure.
29881
6d33cc9d
DM
298822012-11-19 David S. Miller <davem@davemloft.net>
29883
29884 With help from Joseph Myers.
29885 * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Handle tiny and
29886 very large arguments properly.
29887 * math/libm-test.inc (atan_test): New tests.
29888 (atan2_test): New tests.
29889 * sysdeps/sparc/fpu/libm-test-ulps: Update.
29890 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
29891
ee663277
JM
298922012-11-19 Joseph Myers <joseph@codesourcery.com>
29893
877f2d8e
JM
29894 [BZ #14856]
29895 * posix/bits/posix1_lim.h [!__USE_XOPEN2K] (_POSIX_TZNAME_MAX):
29896 Define to 3.
29897
116fc08a
JM
29898 * conform/data/errno.h-data [POSIX] (EADDRINUSE): Do not expect.
29899 [POSIX] (EADDRNOTAVAIL): Likewise.
29900 [POSIX] (EAFNOSUPPORT): Likewise.
29901 [POSIX] (EALREADY): Likewise.
29902 [POSIX] (ECONNABORTED): Likewise.
29903 [POSIX] (ECONNREFUSED): Likewise.
29904 [POSIX] (ECONNRESET): Likewise.
29905 [POSIX] (EDESTADDRREQ): Likewise.
29906 [POSIX] (EDQUOT): Likewise.
29907 [POSIX] (EHOSTUNREACH): Likewise.
29908 [POSIX] (EIDRM): Likewise.
29909 [POSIX] (EISCONN): Likewise.
29910 [POSIX] (ELOOP): Likewise.
29911 [POSIX] (EMULTIHOP): Likewise.
29912 [POSIX] (ENETDOWN): Likewise.
29913 [POSIX] (ENETUNREACH): Likewise.
29914 [POSIX] (ENOBUFS): Likewise.
29915 [POSIX] (ENODATA): Likewise.
29916 [POSIX] (ENOLINK): Likewise.
29917 [POSIX] (ENOMSG): Likewise.
29918 [POSIX] (ENOPROTOOPT): Likewise.
29919 [POSIX] (ENOSR): Likewise.
29920 [POSIX] (ENOSTR): Likewise.
29921 [POSIX] (ENOTCONN): Likewise.
29922 [POSIX] (ENOTSOCK): Likewise.
29923 [POSIX] (EOPNOTSUPP): Likewise.
29924 [POSIX] (EOVERFLOW): Likewise.
29925 [POSIX] (EPROTO): Likewise.
29926 [POSIX] (EPROTONOSUPPORT): Likewise.
29927 [POSIX] (EPROTOTYPE): Likewise.
29928 [POSIX] (ESTALE): Likewise.
29929 [POSIX] (ETIME): Likewise.
29930 [POSIX] (ETXTBSY): Likewise.
29931 [POSIX] (EWOULDBLOCK): Likewise.
29932 [!ISO && !ISO99 && !ISO11] (E*): Do not allow.
29933 * conform/data/fcntl.h-data [POSIX] (SEEK_SET): Allow.
29934 [POSIX] (SEEK_CUR): Likewise.
29935 [POSIX] (SEEK_END): Likewise.
29936 [POSIX || UNIX98] (mode_t): Do not require.
29937 [POSIX] (off_t): Likewise.
29938 [POSIX] (pid_t): Likewise.
29939 [POSIX] (sys/stat.h): Do not allow header.
29940 [POSIX] (unistd.h): Likewise.
29941 [!ISO && !ISO99 && !ISO11] (timespec): Do not allow.
29942 [!ISO && !ISO99 && !ISO11] (tv_nsec): Likewise.
29943 [!ISO && !ISO99 && !ISO11] (tv_sec): Likewise.
29944 * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Do not
29945 require.
29946 * conform/data/mqueue.h-data [!ISO && !ISO99 && !ISO11] (struct
29947 sigevent): Specify elements.
29948 [XOPEN2K8 || POSIX2008] (struct sigevent): Remove duplicate type
29949 entry.
29950 [!ISO && !ISO99 && !ISO11] (mq_*): Allow.
29951 [!ISO && !ISO99 && !ISO11] (MQ_*): Likewise.
29952
a483863f
JM
29953 * conform/data/cpio.h-data [POSIX]: Disable whole file.
29954 * conform/data/glob.h-data [POSIX] (GLOB_NOSYS): Do not expect.
29955 * conform/data/limits.h-data [!ISO && !ISO99 && !ISO11]
29956 (AIO_LIST_MAX): Change to AIO_LISTIO_MAX.
29957 [!ISO && !ISO99 && !ISO11] (ATEXT_MAX): Remove.
29958 [!ISO && !ISO99 && !ISO11 && !POSIX && !XPG3] (ATEXIT_MAX): Allow.
29959 [POSIX || POSIX2008 || XPG3] (IOV_MAX): Do not allow.
29960 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Likewise.
29961 [!ISO && !ISO99 && !ISO11] (MQ_PRIO_MAX): Allow.
29962 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Remove duplicate entry.
29963 [POSIX || XPG3 || XPG4 || UNIX98] (SS_REPL_MAX): Do not allow.
29964 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLOOP_MAX): Likewise.
29965 [POSIX || XPG3 || XPG4] (FILESIZEBITS): Likewise.
29966 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_ALLOC_SIZE_MIN):
29967 Likewise.
29968 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_INCR_XFER_SIZE):
29969 Likewise.
29970 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_MAX_XFER_SIZE):
29971 Likewise.
29972 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_XFER_ALIGN):
29973 Likewise.
29974 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLINK_MAX): Likewise.
29975 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SS_REPL_MAX): Likewise.
29976 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLINK_MAX): Likewise.
29977 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLOOP_MAX): Likewise.
29978 [!ISO && !ISO99 && !ISO11] (BC_BASE_MAX): Use macro-constant.
29979 Specify lower bound on value.
29980 [!ISO && !ISO99 && !ISO11] (BC_DIM_MAX): Likewise.
29981 [!ISO && !ISO99 && !ISO11] (BC_SCALE_MAX): Likewise.
29982 [!ISO && !ISO99 && !ISO11] (BC_STRING_MAX): Likewise.
29983 [!ISO && !ISO99 && !ISO11] (COLL_WEIGHTS_MAX): Likewise.
29984 [!ISO && !ISO99 && !ISO11] (EXPR_NEST_MAX): Likewise.
29985 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Likewise
29986 [POSIX || XPG3 || XPG4] (CHARCLASS_NAME_MAX): Do not allow.
29987 [!ISO && !ISO99 && !ISO11] (_POSIX_CLOCKRES_MIN): Specify exact
29988 value.
29989 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_LISTIO_MAX): Do not specify
29990 as optional.
29991 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_MAX): Likewise.
29992 [!ISO && !ISO99 && !ISO11] (_POSIX_ARG_MAX): Likewise.
29993 [!ISO && !ISO99 && !ISO11] (_POSIX_CHILD_MAX): Likewise.
29994 [!ISO && !ISO99 && !ISO11] (_POSIX_DELAYTIMER_MAX): Likewise.
29995 [!ISO && !ISO99 && !ISO11] (_POSIX_LINK_MAX): Likewise.
29996 [!ISO && !ISO99 && !ISO11] (_POSIX_LOGIN_NAME_MAX): Likewise.
29997 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_CANON): Likewise.
29998 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_INPUT): Likewise.
29999 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_OPEN_MAX): Likewise.
30000 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_PRIO_MAX): Likewise.
30001 [!ISO && !ISO99 && !ISO11] (_POSIX_NAME_MAX): Likewise.
30002 [!ISO && !ISO99 && !ISO11] (_POSIX_NGROUPS_MAX): Likewise.
30003 [!ISO && !ISO99 && !ISO11] (_POSIX_OPEN_MAX): Likewise.
30004 [!ISO && !ISO99 && !ISO11] (_POSIX_PATH_MAX): Likewise.
30005 [!ISO && !ISO99 && !ISO11] (_POSIX_PIPE_BUF): Likewise.
30006 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Remove duplicate
30007 entry.
30008 [!ISO && !ISO99 && !ISO11] (_POSIX_RTSIG_MAX): Do not specify as
30009 optional.
30010 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_NSEMS_MAX): Likewise.
30011 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_VALUE_MAX): Likewise.
30012 [!ISO && !ISO99 && !ISO11] (_POSIX_SIGQUEUE_MAX): Likewise.
30013 [!ISO && !ISO99 && !ISO11] (_POSIX_SSIZE_MAX): Likewise.
30014 [!ISO && !ISO99 && !ISO11] (_POSIX_STREAM_MAX): Likewise.
30015 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_DESTRUCTOR_ITERATIONS):
30016 Likewise.
30017 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_KEYS_MAX): Likewise.
30018 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_THREADS_MAX): Likewise.
30019 [!ISO && !ISO99 && !ISO11] (_POSIX_TIMER_MAX): Likewise.
30020 [!ISO && !ISO99 && !ISO11] (_POSIX_TTY_NAME_MAX): Likewise.
30021 [!ISO && !ISO99 && !ISO11] (_POSIX_TZNAME_MAX): Likewise. Give
30022 value as 3 for [POSIX || XPG3 || XPG4 || UNIX98].
30023 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_BASE_MAX): Do not specify
30024 as optional.
30025 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_DIM_MAX): Likewise.
30026 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_SCALE_MAX): Likewise.
30027 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_STRING_MAX): Likewise.
30028 [!ISO && !ISO99 && !ISO11] (_POSIX2_CHARCLASS_NAME_MAX):
30029 Likewise. Do not allow for [POSIX || XPG3 || XPG4 || UNIX98].
30030 [!ISO && !ISO99 && !ISO11] (_POSIX2_COLL_WEIGHTS_MAX): Do not
30031 specify as optional.
30032 [!ISO && !ISO99 && !ISO11] (_POSIX2_EXPR_NEST_MAX): Likewise.
30033 [!ISO && !ISO99 && !ISO11] (_POSIX2_LINE_MAX): Likewise.
30034 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Likewise.
30035 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Do not allow.
30036 [POSIX || XPG3] (NL_ARGMAX): Do not allow.
30037 [XPG3] (NL_LANGMAX): Likewise.
30038 [POSIX || XPG3] (NL_MSGMAX): Likewise.
30039 [POSIX || XPG3] (NL_NMAX): Likewise.
30040 [POSIX || XPG3] (NL_SETMAX): Likewise.
30041 [POSIX || XPG3] (NL_TEXTMAX): Likewise.
30042 [XPG3] (NZERO): Likewise.
30043 [XPG4 || UNIX98] (TMP_MAX): Only enable for these conditions.
30044 [POSIX || XPG3 || XPG4 || UNIX98] (*_MIN): Do not allow.
30045 [!ISO && !ISO99 && !ISO11] (*_t): Allow.
30046 * conform/data/regex.h-data [!ISO && !ISO99 && !ISO11]
30047 (REG_ERANGE): Expect.
30048 * conform/data/stdio.h-data [POSIX] (L_cuserid): Use
30049 optional-constant.
30050 [POSIX || XOPEN2K || XOPEN2K8 || POSIX2008] (getchar_unlocked):
30051 Use (void) in prototype.
30052 [POSIX] (*_t): Allow.
30053 * conform/data/sys/times.h-data [POSIX]: Enable whole file.
30054 * conform/data/wordexp.h-data [!ISO && !ISO99 && !ISO11]
30055 (WRDE_BADVAL): Expect.
30056
5ba924e3
JM
30057 * conform/data/fcntl.h-data [XPG3 || XPG4] (O_DSYNC): Do not
30058 expect.
30059 [XPG3 || XPG4] (O_RSYNC): Likewise.
30060 * conform/data/signal.h-data [XPG3 || XPG4] (pthread_kill):
30061 Likewise.
30062 [XPG3 || XPG4] (pthread_sigmask): Likewise.
30063 [XPG3 || XPG4] (sigqueue): Likewise.
30064 [XPG3 || XPG4] (sigtimedwait): Likewise.
30065 [XPG3 || XPG4] (sigwaitinfo): Likewise.
30066 * conform/data/stdio.h-data [XPG3 || XPG4] (snprintf): Likewise.
30067 [XPG3 || XPG4] (vsnprintf): Likewise.
30068 * conform/data/sys/stat.h-data [XPG3 || XPG4] (blkcnt_t):
30069 Likewise.
30070 [XPG3 || XPG4] (blksize_t): Likewise.
30071 * conform/data/time.h-data [XPG3 || XPG4] (struct timespec):
30072 Likewise.
30073 [XPG3 || XPG4] (CLOCK_PROCESS_CPUTIME_ID): Likewise.
30074 [XPG3 || XPG4] (CLOCK_THREAD_CPUTIME_ID): Likewise.
30075 [XPG3 || XPG4] (struct itimerspec): Likewise.
30076 [XPG3 || XPG4] (CLOCK_REALTIME): Likewise.
30077 [XPG3 || XPG4] (TIMER_ABSTIME): Likewise.
30078 [XPG3 || XPG4] (CLOCK_MONOTONIC): Likewise.
30079 [XPG3 || XPG4] (clockid_t): Likewise.
30080 [XPG3 || XPG4] (timer_t): Likewise.
30081 [XPG3 || XPG4] (clock_getres): Likewise.
30082 [XPG3 || XPG4] (clock_gettime): Likewise.
30083 [XPG3 || XPG4] (clock_settime): Likewise.
30084 [XPG3 || XPG4] (nanosleep): Likewise.
30085 [XPG3 || XPG4] (timer_create): Likewise.
30086 [XPG3 || XPG4] (timer_delete): Likewise.
30087 [XPG3 || XPG4] (timer_gettime): Likewise.
30088 [XPG3 || XPG4] (timer_getoverrun): Likewise.
30089 [XPG3 || XPG4] (timer_settime): Likewise.
30090 * conform/data/unistd.h-data [XPG3 || XPG4] (fdatasync): Likewise.
30091 [XPG3 || XPG4] (getlogin_r): Likewise.
30092 [XPG3 || XPG4] (pread): Likewise.
30093 [XPG3 || XPG4] (pthread_atfork): Likewise.
30094 [XPG3 || XPG4] (pwrite): Likewise.
30095
ee663277
JM
30096 [BZ #14835]
30097 * signal/signal.h [__USE_XOPEN_EXTENDED]: Include
30098 <bits/siginfo.h>.
30099
942caa16
PT
301002012-11-19 Pino Toscano <toscano.pino@tiscali.it>
30101
e19af380
PT
30102 * malloc/mtrace.c (muntrace): Reset MALLSTREAM and the hooks before
30103 finalizing MALLSTREAM.
30104
942caa16
PT
30105 * sysdeps/mach/hurd/syncfs.c: New file.
30106
cfde9b46
SP
301072012-11-19 Siddhesh Poyarekar <siddhesh@redhat.com>
30108
30109 [BZ #14719]
30110 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Set h_errno to
30111 NETDB_INTERNAL when NSS_STATUS_UNAVAIL.
30112 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Set
30113 h_errno to NETDB_INTERNAL when errno is EMFILE or ENFILE.
30114 (_nss_dns_gethostbyname4_r): Likewise.
30115 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set result to
30116 EAI_SYSTEM if NSS_STATUS_UNAVAIL.
30117
f6da27e5
PH
301182012-11-19 Peng Haitao <penght@cn.fujitsu.com>
30119
30120 [BZ #13763]
30121 * sunrpc/bindrsvprt.c: Add lock to protect static variable.
30122
6665d4a2
SM
301232012-11-19 Steve McIntyre <steve.mcintyre@linaro.org>
30124
1f51ee92
SM
30125 * sysdeps/generic/ldconfig.h (FLAG_AARCH64_LIB64): New macro.
30126 * elf/cache.c (print_entry): Print ",AArch64" for
30127 FLAG_AARCH64_LIB64
30128
6665d4a2
SM
30129 * sysdeps/generic/ldconfig.h (FLAG_ARM_LIBHF): New macro.
30130 * elf/cache.c (print_entry): Print ",hard-float" for
30131 FLAG_ARM_LIBHF.
30132
05b227bd
DM
301332012-11-18 David S. Miller <davem@davemloft.net>
30134
30135 With help from Joseph Myers.
30136 * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Adjust tinyness
30137 cutoff to 2**-13.
30138 * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Adjust tinyness
30139 cutoff to 2**-25.
30140 * sysdeps/ieee754/ldbl-128/e_j0l.c (U0): New constant.
30141 ( __ieee754_y0l): Avoid arithmetic underflow when 'x' is very
30142 small.
30143 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
30144 * math/libm-test.inc (y0_test): New tests.
30145 (y1_test): New tests.
30146 * sysdeps/i386/fpu/libm-test-ulps: Update.
30147 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
30148 * sysdeps/sparc/fpu/libm-test-ulps: Update.
30149
786b0b67
AS
301502012-11-18 Andreas Schwab <schwab@linux-m68k.org>
30151
30152 * configure.in (libc_cv_ld_gnu_indirect_function): Use .quad on
30153 64-bit targets.
30154 * configure: Regenerated.
30155
8e18b86d
DM
301562012-11-17 David S. Miller <davem@davemloft.net>
30157
30158 [BZ #14811]
30159 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Saturate
30160 nonzero exponents with absolute value below 0x1p-128 to +/-
30161 0x1p-128.
30162
531f1ae0
JM
301632012-11-17 Joseph Myers <joseph@codesourcery.com>
30164
12df29e2
JM
30165 * sysdeps/unix/sysv/linux/fxstatat.c: Include <string.h>.
30166
150dc1a0
JM
30167 * elf/dl-runtime.c [!ELF_MACHINE_NO_PLT]: Make code unconditional.
30168
531f1ae0
JM
30169 * posix/getconf-speclist.c: New file.
30170 * posix/posix-envs.def: Likewise.
30171 * posix/confstr.c (START_ENV_GROUP): New macro.
30172 (END_ENV_GROUP): Likewise.
30173 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
30174 (KNOWN_PRESENT_ENV_STRING): Likewise.
30175 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
30176 (UNKNOWN_ENVIRONMENT): Likewise.
30177 (confstr): Include posix-envs.def instead of handling
30178 _CS_V7_WIDTH_RESTRICTED_ENVS, _CS_V6_WIDTH_RESTRICTED_ENVS and
30179 _CS_V5_WIDTH_RESTRICTED_ENVS directly here.
30180 * sysdeps/posix/sysconf.c (START_ENV_GROUP): New macro.
30181 (END_ENV_GROUP): Likewise.
30182 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
30183 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
30184 (UNKNOWN_ENVIRONMENT): Likewise.
30185 (__sysconf): Include posix-envs.def instead of handling associated
30186 cases directly here.
30187 * posix/Makefile ($(objpfx)getconf.speclist): Generate by
30188 preprocessing getconf-speclist.c rather than running getconf or
30189 generating empty file.
30190
a93f9cbc
PT
301912012-11-16 Pino Toscano <toscano.pino@tiscali.it>
30192
30193 * scripts/check-local-headers.sh: Ignore 'mach' headers.
30194
d64d9f87
AL
301952012-11-16 Andrej Lajovic <natrij@gmail.com>
30196
30197 [BZ #14672]
30198 * iconv/iconv_prog.c (main): Fix -c handling of '/'.
30199
447885eb
DM
302002012-11-16 David S. Miller <davem@davemloft.net>
30201
30202 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): If xm1 is
30203 smaller than LDBL_EPSILON/2.0L, just return xm1.
30204
bcbf9830
L
302052012-11-16 H.J. Lu <hongjiu.lu@intel.com>
30206
30207 * elf/tst-array1.c (init): Set constructor priority to 1000.
30208 (fini): Set destructor priority to 1000.
30209 * elf/tst-array2dep.c: Likewise.
30210
2b766585
SP
302112012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
30212
30213 [BZ #11741]
30214 * libio/fileops.c (_IO_new_file_write): Correctly return error.
30215 (_IO_new_file_xsputn): Also return EOF if none of the input
30216 data was written when overflow failed.
30217 * libio/iopadn.c (_IO_padn): Likewise.
30218 * libio/iowpadn.c (_IO_wpadn): Likewise.
30219 * stdio-common/tst-put-error.c: Add copyright notice.
30220 (do_test): Add case for printing padded string.
30221 * stdio-common/vfprintf [!COMPILE_WPRINTF] (PAD): Flag error if
30222 _IO_padn returned error.
30223 [COMPILE_WPRINTF] (PAD): Flag error if _IO_wpadn returned error.
30224 * libio/libioP.h (_IO_xsputn_t): Note in comment that xsputn can
30225 return EOF.
30226
b1848fde
SP
302272012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
30228
30229 * libio/libioP.h: Add comment note that the references to C++
30230 bits are now obsolete.
30231
2fd89785
MS
302322012-11-15 Marcus Shawcroft <marcus.shawcroft@linaro.org>
30233
30234 * math/libm-test.inc (check_complex): Use asprintf.
30235
e3ea5409
JM
302362012-11-14 Joseph Myers <joseph@codesourcery.com>
30237
30238 * debug/pcprofiledump.c (print_version): Update copyright year.
30239 * malloc/memusagestat.c (print_version): Likewise.
30240
2e64d265
L
302412012-11-14 H.J. Lu <hongjiu.lu@intel.com>
30242
30243 [BZ #14831]
30244 * elf/Makefile (tests): Add tst-audit8.
30245 ($(objpfx)tst-audit8): Also depend on $(common-objpfx)math/libm.so.
30246 ($(objpfx)tst-audit8.out): New target.
30247 (tst-audit8-ENV): New variable.
30248 * elf/dl-runtime.c (_dl_profile_fixup): Call _dl_fixup to skip
30249 audit if l_reloc_result is NULL.
30250 (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): Issue an error if it isn't
30251 defined and ELF_MACHINE_RUNTIME_FIXUP_ARGS is defined.
30252 * elf/tst-audit8.c: New file.
30253
c485e4d2
MS
302542012-11-14 Marcus Shawcroft <marcus.shawcroft@linaro.org>
30255
30256 * io/Makefile (CFLAGS-open.c, CFLAGS-open64.c): Define.
30257 * misc/Makefile (CFLAGS-select.c): Define.
30258 * posix/Makefile (CFLAGS-pause.c): Define.
30259
3a0d900a
DM
302602012-11-13 David S. Miller <davem@davemloft.net>
30261
30262 * crypt/Makefile: Move test targets after toplevel Rules
30263 inclusion. Grab any necessary sysdep routines when linking.
30264 * crypt/md5.c (md5_process_block): Remove define, we will always
30265 name it __md5_process_block.
30266 (md5_finish_ctx): Update md5_process_block call.
30267 (md5_stream): Likewise.
30268 (md5_process_bytes): Likewise.
30269 (md5_process_block): Rename to __md5_process_block and move to ...
30270 * crypt/md5-block.c: ... here.
30271 * crypt/sha256.c (sha256_process_block): Move to ...
30272 * crypt/sha256-block.c: ... here.
30273 * crypt/sha512.c (sha512_process_block): Move to ...
30274 * crypt/sha512-block.c: ... here.
30275 * locale/Makefile (CFLAGS-md5.c): Define to add crypt/ to include
30276 path.
30277 * sysdeps/sparc/sparc-ifunc.c (sparc_libc_ifunc): Define.
30278 * sysdeps/sparc/sparc64/multiarch/Makefile
30279 (libcrypt-sysdep_routines): Add crypto assembler sysdeps when in
30280 crypt subdir.
30281 (localedef-aux): Add md5 crypto assembler when in locale subdir.
30282 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Mirror sparc64
30283 multiarch changes.
30284 * sysdeps/sparc/sparc64/multiarch/md5-block.c: New file.
30285 * sysdeps/sparc/sparc64/multiarch/md5-crop.S: New file.
30286 * sysdeps/sparc/sparc64/multiarch/sha256-block.c: New file.
30287 * sysdeps/sparc/sparc64/multiarch/sha256-crop.S: New file.
30288 * sysdeps/sparc/sparc64/multiarch/sha512-block.c: New file.
30289 * sysdeps/sparc/sparc64/multiarch/sha512-crop.S: New file.
30290 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-block.c: New file.
30291 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-crop.S: New file.
30292 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-block.c: New
30293 file.
30294 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-crop.S: New file.
30295 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-block.c: New
30296 file.
30297 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-crop.S: New file.
30298
8ca89318
JM
302992012-11-13 Joseph Myers <joseph@codesourcery.com>
30300
e27d476a
JM
30301 * timezone/tzselect.ksh: Update from tzcode git revision
30302 a435f9f0ecafa56d9e0263835836bd0c64cd7307.
30303 * timezone/zdump.c: Likewise.
30304 * timezone/zic.c: Likewise.
30305 * timezone/Makefile ($(objpfx)version.h): Only include $(version)
30306 in TZVERSION setting, not $(PKGVERSION).
30307 ($(objpfx)tzselect): Likewise. Also substitute PKGVERSION and
30308 REPORT_BUGS_TO settings.
30309
8ca89318
JM
30310 [BZ #14838]
30311 * resolv/netdb.h [__USE_XOPEN_EXTENDED] (IPPORT_RESERVED): Define
30312 macro.
30313
47594329
MS
303142012-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
30315
30316 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Move underflow
30317 detection to immediately after _FP_ROUND().
30318 * soft-fp/soft-fp.h (_FP_ROUND): Don't round if working
30319 bits are 0.
30320
640ac3f1
DM
303212012-11-11 David S. Miller <davem@davemloft.net>
30322
30323 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Include
30324 inttypes.h
30325 (__get_clockfreq_via_proc_openprom): Use __open, __read, and
30326 __close rather than their public counterparts.
30327
3d2577bb
JM
303282012-11-10 Joseph Myers <joseph@codesourcery.com>
30329
30330 * conform/data/semaphore.h-data [XPG3 || XPG4]: Disable whole
30331 file.
30332 [UNIX98] (sem_timedwait): Do not expect.
30333 * conform/data/sys/socket.h-data [XPG3]: Disable whole file.
30334 [XPG4 || UNIX98] (sockatmark): Do not expect.
30335 * conform/data/time.h-data [XPG3 || XPG4 || UNIX98]
30336 (clock_getcpuclockid): Do not expect.
30337 [XPG3 || XPG4 || UNIX98] (clock_nanosleep): Do not expect.
30338 * conform/data/unistd.h-data [XPG3 || XPG4 || UNIX98] (setegid):
30339 Do not expect.
30340 [XPG3 || XPG4 || UNIX98] (seteuid): Likewise.
30341 * conform/data/wchar.h-data [UNIX98] (vfwscanf): Do not expect.
30342 [UNIX98] (vwscanf): Likewise.
30343 [UNIX98] (vswscanf): Likewise.
30344
fb1ae1ee
JM
303452012-11-09 Joseph Myers <joseph@codesourcery.com>
30346
9ec6f8bd
JM
30347 * timezone/version.h: Remove file.
30348 * timezone/README: Do not refer to version.h.
30349 * timezone/Makefile ($(objpfx)zic.o): New dependency on
30350 $(objpfx)version.h.
30351 ($(objpfx)zdump.o): Likewise.
c3f81911 30352 ($(objpfx)version.h): New target.
9ec6f8bd 30353
0aa8f8a1
JM
30354 * timezone/tzselect.ksh: Change to verbatim copy from tzcode
30355 2012i.
30356 * timezone/README: Don't mention modification to tzselect.ksh.
30357 * timezone/Makefile ($(objpfx)tzselect): Update substitutions to
30358 work on unmodified tzselect.ksh. Substitute version numbers in
30359 tzselect.ksh.
30360
4e87147f
JM
30361 * Makefile (format-me): Remove.
30362 (INSTALL): Adjust indentation. Use commands directly instead of
30363 using $(format-me).
30364
8b748aed
JM
30365 * aclocal.m4 (ACX_PKGVERSION): New macro.
30366 (ACX_BUGURL): Likewise.
30367 * configure.in: Use ACX_PKGVERSION and ACX_BUGURL.
30368 (PKGVERSION): New AC_DEFINE_UNQUOTED.
30369 (REPORT_BUGS_TO): Likewise.
30370 * configure: Regenerated.
30371 * config.h.in (PKGVERSION): New macro.
30372 (REPORT_BUGS_TO): Likewise.
30373 * config.make.in (PKGVERSION): New variable.
30374 (PKGVERSION_TEXI): Likewise.
30375 (REPORT_BUGS_TO): Likewise.
30376 (REPORT_BUGS_TEXI): Likewise.
30377 * Makefile (format-me): Use -I$(common-objpfx)manual.
30378 (INSTALL): Depend on $(common-objpfx)manual/pkgvers.texi.
30379 ($(common-objpfx)manual/%): New target.
30380 (manual/%): Remove target.
30381 * catgets/gencat.c (more_help): Use REPORT_BUGS_TO.
30382 (print_version): Use PKGVERSION.
30383 * csu/version.c (banner): Use PKGVERSION and REPORT_BUGS_TO.
30384 * debug/Makefile ($(objpfx)catchsegv): Also substitute PKGVERSION
30385 and REPORT_BUGS_TO.
30386 ($(objpfx)xtrace): Likewise.
30387 * debug/catchsegv.sh: Use PKGVERSION and REPORT_BUGS_TO.
30388 * debug/pcprofiledump.c (more_help): Use REPORT_BUGS_TO.
30389 (print_version): Use PKGVERSION.
30390 * debug/xtrace.sh (do_help): Use REPORT_BUGS_TO.
30391 (do_version): Use PKGVERSION.
30392 * elf/Makefile ($(objpfx)sotruss): Also substitute PKGVERSION and
30393 REPORT_BUGS_TO.
30394 (common-ldd-rewrite): Likewise.
30395 * elf/dl-close.c (_dl_close_worker): Use REPORT_BUGS_TO.
30396 * elf/ldconfig.c (more_help): Use REPORT_BUGS_TO.
30397 (print_version): Use PKGVERSION.
30398 * elf/ldd.bash.in: Use PKGVERSION and REPORT_BUGS_TO.
30399 * elf/pldd.c (argp_program_bug_address): Remove variable.
30400 (more_help): New function.
30401 (argp): Use more_help.
30402 (print_version): Use PKGVERSION.
30403 * elf/sln.c (main): Use PKGVERSION.
30404 (usage): Use REPORT_BUGS_TO.
30405 * elf/sotruss.ksh (do_help): Use REPORT_BUGS_TO.
30406 (top level): Use PKGVERSION.
30407 * elf/sprof.c (more_help): Use REPORT_BUGS_TO.
30408 (print_version): Use PKGVERSION.
30409 * iconv/iconv_prog.c (more_help): Use REPORT_BUGS_TO.
30410 (print_version): Use PKGVERSION.
30411 * iconv/iconvconfig.c (more_help): Use REPORT_BUGS_TO.
30412 (print_version): Use PKGVERSION.
30413 * locale/programs/locale.c (more_help): Use REPORT_BUGS_TO.
30414 (print_version): Use PKGVERSION.
30415 * locale/programs/localedef.c (more_help): Use REPORT_BUGS_TO.
30416 (print_version): Use PKGVERSION.
30417 * login/programs/pt_chown.c (more_help): Use REPORT_BUGS_TO.
30418 (print_version): Use PKGVERSION.
30419 * malloc/Makefile ($(objpfx)mtrace): Also substitute PKGVERSION
30420 and BUGURL.
30421 ($(objpfx)memusage): Likewise.
30422 * malloc/memusage.sh (do_help): Use REPORT_BUGS_TO.
30423 (do_version): Use PKGVERSION.
30424 * malloc/memusagestat.c (more_help): Use REPORT_BUGS_TO.
30425 (print_version): Use PKGVERSION.
30426 * malloc/mtrace.pl ($PACKAGE): Remove variable.
30427 ($PKGVERSION): New variable.
30428 ($REPORT_BUGS_TO): Likewise.
30429 (usage): Use $REPORT_BUGS_TO.
30430 (top level): Use $PKGVERSION.
30431 * manual/Makefile (libc-texi-generated): Add pkgvers.texi.
30432 ($(objpfx)pkgvers.texi): New rule.
30433 ($(objpfx)stamp-pkgvers): Likewise.
30434 * manual/install.texi: Include pkgvers.texi.
30435 (--with-pkgversion): Document new configure option.
30436 (--with-bugurl): Likewise.
30437 (Reporting Bugs): Describe Bugzilla as upstream tracker rather
30438 than necessarily for this particular distribution. Use
30439 REPORT_BUGS_TO for where to report bugs.
30440 * INSTALL: Regenerated.
30441 * manual/libc.texinfo: Include pkgvers.texi.
30442 [!PKGVERSION_DEFAULT]: Include PKGVERSION in version information.
30443 * nscd/nscd.c (more_help): Use REPORT_BUGS_TO.
30444 (print_version): Use PKGVERSION.
30445 * nss/getent.c (more_help): Use REPORT_BUGS_TO.
30446 (print_version): Use PKGVERSION.
30447 * nss/makedb.c (more_help): Use REPORT_BUGS_TO.
30448 (print_version): Use PKGVERSION.
30449 * posix/getconf.c (main): Use PKGVERSION and REPORT_BUGS_TO.
30450 * sunrpc/proto.h [IS_IN_build] (_libc_intl_domainname): Remove
30451 macro.
30452 * sunrpc/rpc_main.c (options_usage): Use REPORT_BUGS_TO.
30453 (print_version): Use PKGVERSION.
30454 * sunrpc/rpcinfo.c (usage): Use REPORT_BUGS_TO.
30455 (print_version): Use PKGVERSION.
30456 * sysdeps/unix/sysv/linux/lddlibc4.c (main): Use REPORT_BUGS_TO
30457 and PKGVERSION.
30458
92e4b6a9
JM
30459 * timezone/checktab.awk: Update from tzcode 2012i.
30460 * timezone/ialloc.c: Likewise.
30461 * timezone/private.h: Likewise.
30462 * timezone/scheck.c: Likewise.
30463 * timezone/tzfile.h: Likewise.
30464 * timezone/tzselect.ksh: Merge in changes from tzcode 2012i.
30465 (TZVERSION): Hardcode tzcode version number.
30466 * timezone/zdump.c: Update from tzcode 2012i.
30467 * timezone/zic.c: Likewise.
30468 * timezone/version.h: New file.
30469 * timezone/README: Describe version.h. Update upstream location.
30470
9bde902c
JM
30471 [BZ #14824]
30472 * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && __USE_XOPEN2K]
30473 (mktemp): Enable declaration.
30474 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (ecvt): Likewise.
30475 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (fcvt): Likewise.
30476 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (gcvt): Likewise.
30477 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qecvt):
30478 Likewise.
30479 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qfcvt):
30480 Likewise.
30481 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qgcvt):
30482 Likewise.
30483 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (ecvt_r):
30484 Likewise.
30485 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (fcvt_r):
30486 Likewise.
30487 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (gcvt_r):
30488 Likewise.
30489
fb1ae1ee
JM
30490 [BZ #14821]
30491 * sunrpc/clnt_tcp.c (clnttcp_control): Access values at fixed
30492 offset in buffer as u_int32_t not u_long. Consistently use memcpy
30493 for copies of such integer values.
30494 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
30495 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
30496
2c1adbcb
AJ
304972012-11-09 Andreas Jaeger <aj@suse.de>
30498
30499 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove all
30500 definitions and declarations that are provided by
30501 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
30502
d0f8457e
AK
305032012-11-08 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
30504
3a235abb 30505 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add "te".
d0f8457e
AK
30506 * sysdeps/s390/dl-procinfo.h (HWCAP_S390_TE): Add enum value.
30507 * sysdeps/unix/sysv/linux/s390/hwcap.h (HWCAP_S390_TE): Add macro
30508 definition.
30509
57241e26
MS
305102012-11-08 Marcus Shawcroft <marcus.shawcroft@linaro.org>
30511
30512 * elf/elf.h: Update comment before AArch64 relocations.
30513
60e8270d
DM
305142012-11-07 David S. Miller <davem@davemloft.net>
30515
30516 * sysdeps/unix/sysv/linux/sparc/sparc64/__start_context.S: New file.
30517 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
30518 (__start_context): Declare.
30519 (__makecontext_ret): Delete.
30520 (__makecontext): Hook up __start_context instead of
30521 __makecontext_ret.
30522 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
30523 (sysdep_routines): Add __start_context when in stdlib.
30524
0fbb0fbc
JM
305252012-11-07 Joseph Myers <joseph@codesourcery.com>
30526
30527 * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Pass $(NM),
30528 $(OBJDUMP) and $(READELF) to tst-xmmymm.sh.
30529 * sysdeps/x86/tst-xmmymm.sh (NM): New variable. Use it instead of
30530 hardcoded "nm".
30531 (OBJDUMP): New variable. Use it instead of hardcoded "objdump".
30532 (READELF): New variable. Use it instead of hardcoded "readelf".
30533
eb48db7e
L
305342012-11-07 H.J. Lu <hongjiu.lu@intel.com>
30535
30536 * sysdeps/x86_64/Makefile ($(objpfx)tst-xmmymm.out): Moved to ...
30537 * sysdeps/x86/Makefile: Here.
30538 * sysdeps/x86_64/tst-xmmymm.sh: Renamed to ...
30539 * sysdeps/x86/tst-xmmymm.sh: This.
30540
05bcf62a
JM
305412012-11-07 Joseph Myers <joseph@codesourcery.com>
30542
c4b6cf53
JM
30543 * conform/data/pthread.h-data [XPG3 || XPG4]: Disable all
30544 expectations.
30545 [UNIX98] (pthread_barrier_t): Do not expect.
30546 [UNIX98] (pthread_barrierattr_t): Likewise.
30547 [UNIX98] (pthread_spinlock_t): Likewise.
30548 [UNIX98] (pthread_barrier_destroy): Likewise.
30549 [UNIX98] (pthread_barrier_init): Likewise.
30550 [UNIX98] (pthread_barrier_wait): Likewise.
30551 [UNIX98] (pthread_barrierattr_destroy): Likewise.
30552 [UNIX98] (pthread_barrierattr_getpshared): Likewise.
30553 [UNIX98] (pthread_barrierattr_init): Likewise.
30554 [UNIX98] (pthread_barrierattr_setpshared): Likewise.
30555 [UNIX98] (pthread_getcpuclockid): Likewise.
30556 [UNIX98] (pthread_mutex_timedlock): Likewise.
30557 [UNIX98] (pthread_rwlock_timedrdlock): Likewise.
30558 [UNIX98] (pthread_rwlock_timedwrlock): Likewise.
30559 [UNIX98] (pthread_sigmask): Likewise.
30560 [UNIX98] (pthread_spin_destroy): Likewise.
30561 [UNIX98] (pthread_spin_init): Likewise.
30562 [UNIX98] (pthread_spin_lock): Likewise.
30563 [UNIX98] (pthread_spin_trylock): Likewise.
30564 [UNIX98] (pthread_spin_unlock): Likewise.
30565 * conform/data/sys/types.h-data [XPG3 || XPG4] (pthread_attr_t):
30566 Do not expect.
30567 [XPG3 || XPG4 || UNIX98] (pthread_barrier_t): Likewise.
30568 [XPG3 || XPG4 || UNIX98] (pthread_barrierattr_t): Likewise.
30569 [XPG3 || XPG4] (pthread_cond_t): Likewise.
30570 [XPG3 || XPG4] (pthread_condattr_t): Likewise.
30571 [XPG3 || XPG4] (pthread_key_t): Likewise.
30572 [XPG3 || XPG4] (pthread_mutex_t): Likewise.
30573 [XPG3 || XPG4] (pthread_mutexattr_t): Likewise.
30574 [XPG3 || XPG4] (pthread_once_t): Likewise.
30575 [XPG3 || XPG4] (pthread_rwlock_t): Likewise.
30576 [XPG3 || XPG4] (pthread_rwlockattr_t): Likewise.
30577 [XPG3 || XPG4 || UNIX98] (pthread_spinlock_t): Likewise.
30578 [XPG3 || XPG4] (pthread_t): Likewise.
30579
cbe6e120
JM
30580 * conform/data/stdlib.h-data [XPG3 || XPG4 || UNIX98] (setenv): Do
30581 not expect.
30582 [XPG3 || XPG4 || UNIX98] (unsetenv): Likewise.
30583
1b126443
JM
30584 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (isnan):
30585 Change function return type to int.
30586
b961a573
JM
30587 * conform/data/sys/mman.h-data [!POSIX] (POSIX_MADV_NORMAL):
30588 Change condition to [!POSIX && !XPG3 && !XPG4 && !UNIX98].
30589 [!POSIX] (POSIX_MADV_SEQUENTIAL): Likewise.
30590 [!POSIX] (POSIX_MADV_RANDOM): Likewise.
30591 [!POSIX] (POSIX_MADV_WILLNEED): Likewise.
30592 [!POSIX] (POSIX_MADV_DONTNEED): Likewise.
30593 [!POSIX] (posix_madvise): Likewise.
30594 (POSIX_TYPED_MEM_ALLOCATE): Condition on [!POSIX && !XPG3 && !XPG4
30595 && !UNIX98].
30596 (POSIX_TYPED_MEM_ALLOCATE_CONTIG): Likewise.
30597 (POSIX_TYPED_MEM_MAP_ALLOCATABLE): Likewise.
30598 (mode_t): Likewise.
30599 (posix_mem_offset): Likewise.
30600 (posix_typed_mem_get_info): Likewise.
30601 (posix_typed_mem_open): Likewise.
30602
9e188909
JM
30603 * conform/data/sys/stat.h-data [!POSIX && !POSIX2008] (mknodat):
30604 Change condition to [XOPEN2K8].
30605
05bcf62a
JM
30606 * conform/conformtest.pl: Preprocess allow-header data with -x c
30607 instead of from stdin.
30608 (@headers): Add stdalign.h, stdbool.h and stdnoreturn.h.
30609 * conform/data/complex.h-data [C99-based standards] (cerf): Allow.
30610 [C99-based standards] (cerfc): Likewise.
30611 [C99-based standards] (cexp2): Likewise.
30612 [C99-based standards] (cexpm1): Likewise.
30613 [C99-based standards] (clog10): Likewise.
30614 [C99-based standards] (clog1p): Likewise.
30615 [C99-based standards] (clog2): Likewise.
30616 [C99-based standards] (clgamma): Likewise.
30617 [C99-based standards] (ctgamma): Likewise.
30618 [C99-based standards] (cerff): Likewise.
30619 [C99-based standards] (cerfcf): Likewise.
30620 [C99-based standards] (cexp2f): Likewise.
30621 [C99-based standards] (cexpm1f): Likewise.
30622 [C99-based standards] (clog10f): Likewise.
30623 [C99-based standards] (clog1pf): Likewise.
30624 [C99-based standards] (clog2f): Likewise.
30625 [C99-based standards] (clgammaf): Likewise.
30626 [C99-based standards] (ctgammaf): Likewise.
30627 [C99-based standards] (cerfl): Likewise.
30628 [C99-based standards] (cerfcl): Likewise.
30629 [C99-based standards] (cexp2l): Likewise.
30630 [C99-based standards] (cexpm1l): Likewise.
30631 [C99-based standards] (clog10l): Likewise.
30632 [C99-based standards] (clog1pl): Likewise.
30633 [C99-based standards] (clog2l): Likewise.
30634 [C99-based standards] (clgammal): Likewise.
30635 [C99-based standards] (ctgammal): Likewise.
30636 * conform/data/inttypes.h-data [C99-based standards]: Include
30637 stdint.h-data. Remove all expectations for stdint.h contents.
30638 [C99-based standards] (PRI*): Do not allow.
30639 [C99-based standards] (SCN*): Likewise.
30640 [C99-based standards] (*_t): Likewise.
30641 [C99-based-standards] (PRId8): Expect macro.
30642 [C99-based-standards] (PRIi8): Likewise.
30643 [C99-based-standards] (PRIo8): Likewise.
30644 [C99-based-standards] (PRIu8): Likewise.
30645 [C99-based-standards] (PRIx8): Likewise.
30646 [C99-based-standards] (PRIX8): Likewise.
30647 [C99-based-standards] (SCNd8): Likewise.
30648 [C99-based-standards] (SCNi8): Likewise.
30649 [C99-based-standards] (SCNo8): Likewise.
30650 [C99-based-standards] (SCNu8): Likewise.
30651 [C99-based-standards] (SCNx8): Likewise.
30652 [C99-based-standards] (PRIdLEAST8): Likewise.
30653 [C99-based-standards] (PRIiLEAST8): Likewise.
30654 [C99-based-standards] (PRIoLEAST8): Likewise.
30655 [C99-based-standards] (PRIuLEAST8): Likewise.
30656 [C99-based-standards] (PRIxLEAST8): Likewise.
30657 [C99-based-standards] (PRIXLEAST8): Likewise.
30658 [C99-based-standards] (SCNdLEAST8): Likewise.
30659 [C99-based-standards] (SCNiLEAST8): Likewise.
30660 [C99-based-standards] (SCNoLEAST8): Likewise.
30661 [C99-based-standards] (SCNuLEAST8): Likewise.
30662 [C99-based-standards] (SCNxLEAST8): Likewise.
30663 [C99-based-standards] (PRIdFAST8): Likewise.
30664 [C99-based-standards] (PRIiFAST8): Likewise.
30665 [C99-based-standards] (PRIoFAST8): Likewise.
30666 [C99-based-standards] (PRIuFAST8): Likewise.
30667 [C99-based-standards] (PRIxFAST8): Likewise.
30668 [C99-based-standards] (PRIXFAST8): Likewise.
30669 [C99-based-standards] (SCNdFAST8): Likewise.
30670 [C99-based-standards] (SCNiFAST8): Likewise.
30671 [C99-based-standards] (SCNoFAST8): Likewise.
30672 [C99-based-standards] (SCNuFAST8): Likewise.
30673 [C99-based-standards] (SCNxFAST8): Likewise.
30674 [C99-based-standards] (PRId16): Likewise.
30675 [C99-based-standards] (PRIi16): Likewise.
30676 [C99-based-standards] (PRIo16): Likewise.
30677 [C99-based-standards] (PRIu16): Likewise.
30678 [C99-based-standards] (PRIx16): Likewise.
30679 [C99-based-standards] (PRIX16): Likewise.
30680 [C99-based-standards] (SCNd16): Likewise.
30681 [C99-based-standards] (SCNi16): Likewise.
30682 [C99-based-standards] (SCNo16): Likewise.
30683 [C99-based-standards] (SCNu16): Likewise.
30684 [C99-based-standards] (SCNx16): Likewise.
30685 [C99-based-standards] (PRIdLEAST16): Likewise.
30686 [C99-based-standards] (PRIiLEAST16): Likewise.
30687 [C99-based-standards] (PRIoLEAST16): Likewise.
30688 [C99-based-standards] (PRIuLEAST16): Likewise.
30689 [C99-based-standards] (PRIxLEAST16): Likewise.
30690 [C99-based-standards] (PRIXLEAST16): Likewise.
30691 [C99-based-standards] (SCNdLEAST16): Likewise.
30692 [C99-based-standards] (SCNiLEAST16): Likewise.
30693 [C99-based-standards] (SCNoLEAST16): Likewise.
30694 [C99-based-standards] (SCNuLEAST16): Likewise.
30695 [C99-based-standards] (SCNxLEAST16): Likewise.
30696 [C99-based-standards] (PRIdFAST16): Likewise.
30697 [C99-based-standards] (PRIiFAST16): Likewise.
30698 [C99-based-standards] (PRIoFAST16): Likewise.
30699 [C99-based-standards] (PRIuFAST16): Likewise.
30700 [C99-based-standards] (PRIxFAST16): Likewise.
30701 [C99-based-standards] (PRIXFAST16): Likewise.
30702 [C99-based-standards] (SCNdFAST16): Likewise.
30703 [C99-based-standards] (SCNiFAST16): Likewise.
30704 [C99-based-standards] (SCNoFAST16): Likewise.
30705 [C99-based-standards] (SCNuFAST16): Likewise.
30706 [C99-based-standards] (SCNxFAST16): Likewise.
30707 [C99-based-standards] (PRId32): Likewise.
30708 [C99-based-standards] (PRIi32): Likewise.
30709 [C99-based-standards] (PRIo32): Likewise.
30710 [C99-based-standards] (PRIu32): Likewise.
30711 [C99-based-standards] (PRIx32): Likewise.
30712 [C99-based-standards] (PRIX32): Likewise.
30713 [C99-based-standards] (SCNd32): Likewise.
30714 [C99-based-standards] (SCNi32): Likewise.
30715 [C99-based-standards] (SCNo32): Likewise.
30716 [C99-based-standards] (SCNu32): Likewise.
30717 [C99-based-standards] (SCNx32): Likewise.
30718 [C99-based-standards] (PRIdLEAST32): Likewise.
30719 [C99-based-standards] (PRIiLEAST32): Likewise.
30720 [C99-based-standards] (PRIoLEAST32): Likewise.
30721 [C99-based-standards] (PRIuLEAST32): Likewise.
30722 [C99-based-standards] (PRIxLEAST32): Likewise.
30723 [C99-based-standards] (PRIXLEAST32): Likewise.
30724 [C99-based-standards] (SCNdLEAST32): Likewise.
30725 [C99-based-standards] (SCNiLEAST32): Likewise.
30726 [C99-based-standards] (SCNoLEAST32): Likewise.
30727 [C99-based-standards] (SCNuLEAST32): Likewise.
30728 [C99-based-standards] (SCNxLEAST32): Likewise.
30729 [C99-based-standards] (PRIdFAST32): Likewise.
30730 [C99-based-standards] (PRIiFAST32): Likewise.
30731 [C99-based-standards] (PRIoFAST32): Likewise.
30732 [C99-based-standards] (PRIuFAST32): Likewise.
30733 [C99-based-standards] (PRIxFAST32): Likewise.
30734 [C99-based-standards] (PRIXFAST32): Likewise.
30735 [C99-based-standards] (SCNdFAST32): Likewise.
30736 [C99-based-standards] (SCNiFAST32): Likewise.
30737 [C99-based-standards] (SCNoFAST32): Likewise.
30738 [C99-based-standards] (SCNuFAST32): Likewise.
30739 [C99-based-standards] (SCNxFAST32): Likewise.
30740 [C99-based-standards] (PRId64): Likewise.
30741 [C99-based-standards] (PRIi64): Likewise.
30742 [C99-based-standards] (PRIo64): Likewise.
30743 [C99-based-standards] (PRIu64): Likewise.
30744 [C99-based-standards] (PRIx64): Likewise.
30745 [C99-based-standards] (PRIX64): Likewise.
30746 [C99-based-standards] (SCNd64): Likewise.
30747 [C99-based-standards] (SCNi64): Likewise.
30748 [C99-based-standards] (SCNo64): Likewise.
30749 [C99-based-standards] (SCNu64): Likewise.
30750 [C99-based-standards] (SCNx64): Likewise.
30751 [C99-based-standards] (PRIdLEAST64): Likewise.
30752 [C99-based-standards] (PRIiLEAST64): Likewise.
30753 [C99-based-standards] (PRIoLEAST64): Likewise.
30754 [C99-based-standards] (PRIuLEAST64): Likewise.
30755 [C99-based-standards] (PRIxLEAST64): Likewise.
30756 [C99-based-standards] (PRIXLEAST64): Likewise.
30757 [C99-based-standards] (SCNdLEAST64): Likewise.
30758 [C99-based-standards] (SCNiLEAST64): Likewise.
30759 [C99-based-standards] (SCNoLEAST64): Likewise.
30760 [C99-based-standards] (SCNuLEAST64): Likewise.
30761 [C99-based-standards] (SCNxLEAST64): Likewise.
30762 [C99-based-standards] (PRIdFAST64): Likewise.
30763 [C99-based-standards] (PRIiFAST64): Likewise.
30764 [C99-based-standards] (PRIoFAST64): Likewise.
30765 [C99-based-standards] (PRIuFAST64): Likewise.
30766 [C99-based-standards] (PRIxFAST64): Likewise.
30767 [C99-based-standards] (PRIXFAST64): Likewise.
30768 [C99-based-standards] (SCNdFAST64): Likewise.
30769 [C99-based-standards] (SCNiFAST64): Likewise.
30770 [C99-based-standards] (SCNoFAST64): Likewise.
30771 [C99-based-standards] (SCNuFAST64): Likewise.
30772 [C99-based-standards] (SCNxFAST64): Likewise.
30773 [C99-based-standards] (PRIdMAX): Likewise.
30774 [C99-based-standards] (PRIiMAX): Likewise.
30775 [C99-based-standards] (PRIoMAX): Likewise.
30776 [C99-based-standards] (PRIuMAX): Likewise.
30777 [C99-based-standards] (PRIxMAX): Likewise.
30778 [C99-based-standards] (PRIXMAX): Likewise.
30779 [C99-based-standards] (SCNdMAX): Likewise.
30780 [C99-based-standards] (SCNiMAX): Likewise.
30781 [C99-based-standards] (SCNoMAX): Likewise.
30782 [C99-based-standards] (SCNuMAX): Likewise.
30783 [C99-based-standards] (SCNxMAX): Likewise.
30784 [C99-based-standards] (PRIdPTR): Likewise.
30785 [C99-based-standards] (PRIiPTR): Likewise.
30786 [C99-based-standards] (PRIoPTR): Likewise.
30787 [C99-based-standards] (PRIuPTR): Likewise.
30788 [C99-based-standards] (PRIxPTR): Likewise.
30789 [C99-based-standards] (PRIXPTR): Likewise.
30790 [C99-based-standards] (SCNdPTR): Likewise.
30791 [C99-based-standards] (SCNiPTR): Likewise.
30792 [C99-based-standards] (SCNoPTR): Likewise.
30793 [C99-based-standards] (SCNuPTR): Likewise.
30794 [C99-based-standards] (SCNxPTR): Likewise.
30795 * conform/data/iso646.h-data [ISO C standards] (*_t): Do not
30796 allow.
30797 * conform/data/stdint.h-data: Update comments to clarify
30798 requirements.
30799 [C99-based standards] (INT8_MIN): Use macro-int-constant. Specify
30800 type.
30801 [C99-based standards] (INT8_MAX): Likewise.
30802 [C99-based standards] (INT16_MIN): Likewise.
30803 [C99-based standards] (INT16_MAX): Likewise.
30804 [C99-based standards] (INT32_MIN): Likewise.
30805 [C99-based standards] (INT32_MAX): Likewise.
30806 [C99-based standards] (INT64_MIN): Likewise.
30807 [C99-based standards] (INT64_MAX): Likewise.
30808 [C99-based standards] (UINT8_MAX): Likewise.
30809 [C99-based standards] (UINT16_MAX): Likewise.
30810 [C99-based standards] (UINT32_MAX): Likewise.
30811 [C99-based standards] (UINT64_MAX): Likewise.
30812 [C99-based standards] (INT_LEAST8_MIN): Likewise.
30813 [C99-based standards] (INT_LEAST8_MAX): Likewise.
30814 [C99-based standards] (INT_LEAST16_MIN): Likewise.
30815 [C99-based standards] (INT_LEAST16_MAX): Likewise.
30816 [C99-based standards] (INT_LEAST32_MIN): Likewise.
30817 [C99-based standards] (INT_LEAST32_MAX): Likewise.
30818 [C99-based standards] (INT_LEAST64_MIN): Likewise.
30819 [C99-based standards] (INT_LEAST64_MAX): Likewise.
30820 [C99-based standards] (UINT_LEAST8_MAX): Likewise.
30821 [C99-based standards] (UINT_LEAST16_MAX): Likewise.
30822 [C99-based standards] (UINT_LEAST32_MAX): Likewise.
30823 [C99-based standards] (UINT_LEAST64_MAX): Likewise.
30824 [C99-based standards] (INT_FAST8_MIN): Likewise.
30825 [C99-based standards] (INT_FAST8_MAX): Likewise.
30826 [C99-based standards] (INT_FAST16_MIN): Likewise.
30827 [C99-based standards] (INT_FAST16_MAX): Likewise.
30828 [C99-based standards] (INT_FAST32_MIN): Likewise.
30829 [C99-based standards] (INT_FAST32_MAX): Likewise.
30830 [C99-based standards] (INT_FAST64_MIN): Likewise.
30831 [C99-based standards] (INT_FAST64_MAX): Likewise.
30832 [C99-based standards] (UINT_FAST8_MAX): Likewise.
30833 [C99-based standards] (UINT_FAST16_MAX): Likewise.
30834 [C99-based standards] (UINT_FAST32_MAX): Likewise.
30835 [C99-based standards] (UINT_FAST64_MAX): Likewise.
30836 [C99-based standards] (INTPTR_MIN): Likewise.
30837 [C99-based standards] (INTPTR_MAX): Likewise.
30838 [C99-based standards] (UINTPTR_MAX): Likewise.
30839 [C99-based standards] (INTMAX_MIN): Likewise.
30840 [C99-based standards] (INTMAX_MAX): Likewise.
30841 [C99-based standards] (UINTMAX_MAX): Likewise.
30842 [C99-based standards] (PTRDIFF_MIN): Likewise.
30843 [C99-based standards] (PTRDIFF_MAX): Likewise.
30844 [C99-based standards] (SIG_ATOMIC_MAX): Likewise.
30845 [C99-based standards] (SIZE_MAX): Likewise.
30846 [C99-based standards] (WCHAR_MAX): Likewise.
30847 [C99-based standards] (WINT_MAX): Likewise.
30848 [C99-based standards] (SIG_ATOMIC_MIN): Likewise. Do not specify
30849 constraint on value.
30850 [C99-based standards] (WCHAR_MIN): Likewise.
30851 [C99-based standards] (WINT_MIN): Likewise.
30852 [C99-based standards] (*_t): Allow.
30853 * conform/data/tgmath.h-data [XOPEN2K || POSIX2008]: Change
30854 condition to [!ISO && !POSIX && !XPG3 && !XPG4 && !UNIX98].
30855 Include math.h-data and complex.h-data. Remove all expectations
30856 of math.h and complex.h contents.
30857 * conform/data/uchar.h-data [ISO11] (c16rtomb): Remove stray "16"
30858 at end of line.
30859 * conform/data/wchar.h-data [!ISO && !POSIX && !XPG3 && !XPG4]
30860 (struct tm): Expect tag.
30861 [C99-based-standards] (wcstof): Expect function.
30862 [C99-based-standards] (wcstold): Likewise.
30863 [C99-based-standards] (wcstoll): Likewise.
30864 [C99-based-standards] (wcstoull): Likewise.
30865 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MIN): Use
30866 macro-int-constant. Specify type.
30867 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MAX): Likewise. Specify
30868 constraint on value.
30869 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
30870 Specify type.
30871 [!ISO && !POSIX && !XPG3 && !XPG4] (NULL): Use macro-constant.
30872 Specify value.
30873 [ISO C standards]: Do not allow headers.
30874 [!ISO && !POSIX && !XPG3 && !XPG4] (wcs*): Change to
30875 wcs[abcdefghijklmnopqrstuvwxyz]*.
30876 [ISO C standards] (*_t): Do not allow.
30877 * conform/data/wctype.h-data [C99-based standards] (iswblank):
30878 Expect function.
30879 [XOPEN2K8 || POSIX2008] (iswblank_l): Likewise.
30880 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
30881 Specify type.
30882 [ISO C standards]: Do not allow headers.
30883 [!ISO && !POSIX && !XPG3 && !XPG4] (is*): Change to
30884 is[abcdefghijklmnopqrstuvwxyz]*.
30885 [!ISO && !POSIX && !XPG3 && !XPG4] (to*): Change to
30886 to[abcdefghijklmnopqrstuvwxyz]*.
30887 [ISO C standards] (*_t): Do not allow.
30888 * conform/data/stdalign.h-data: New file.
30889 * conform/data/stdbool.h-data: Likewise.
30890 * conform/data/stdnoreturn.h-data: Likewise.
30891
7514feb8
RM
308922012-11-07 Roland McGrath <roland@hack.frob.com>
30893
30894 [BZ #14815]
30895 * manual/filesys.texi (Directory Entries): Typo fix.
30896 Reported by <h-iwamoto@kit.hi-ho.ne.jp>.
30897
19b2ecfc
MS
308982012-11-07 Marcus Shawcroft <marcus.shawcroft@linaro.org>
30899
30900 * elf/elf.h (EM_AARCH64): New macro.
30901 (R_AARCH64_NONE, R_AARCH64_ABS64, R_AARCH64_ABS32): Likewise.
30902 (R_AARCH64_COPY, R_AARCH64_GLOB_DAT, R_AARCH64_JUMP_SLOT): Likewise.
30903 (R_AARCH64_RELATIVE, R_AARCH64_TLS_DTPMOD64): Likewise.
30904 (R_AARCH64_TLS_DTPREL64, R_AARCH64_TLS_TPREL64): Likewise.
30905 (R_AARCH64_TLSDESC): Likewise.
30906 (NT_ARM_TLS): Likewise.
30907 (NT_ARM_HW_BREAK): Likewise.
30908 (NT_ARM_HW_WATCH): Likewise.
30909
60e235ee
JM
309102012-11-07 Joseph Myers <joseph@codesourcery.com>
30911
30912 [BZ #14811]
30913 * sysdeps/i386/fpu/e_powl.S (pm79): New object.
30914 (__ieee754_powl): Saturate nonzero exponents with absolute value
30915 below 0x1p-79 to +/- 0x1p-79.
30916 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Saturate nonzero
30917 exponents with absolute value below 0x1p-64 to +/- 0x1p-64.
30918 * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Saturate
30919 nonzero exponents with absolute value below 0x1p-32 to +/-
30920 0x1p-32.
30921 * sysdeps/x86_64/fpu/e_powl.S (pm79): New object.
30922 (__ieee754_powl): Saturate nonzero exponents with absolute value
30923 below 0x1p-79 to +/- 0x1p-79.
30924 * math/libm-test.inc (pow_test): Add more tests.
30925
0ab234b7
AK
309262012-11-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
30927
30928 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Sync
30929 _dl_s390_cap_flags with kernel. Increase string length.
30930 (_dl_s390_platforms): Add z196 and zEC12.
30931
45832f74
JM
309322012-11-07 Joseph Myers <joseph@codesourcery.com>
30933
30934 * conform/data/time.h-data [!XOPEN21K && !XOPEN2K8 && !POSIX2008]:
30935 Change XOPEN21K to XOPEN2K.
30936
19218757
MK
309372012-11-06 Maxim Kuvyrkov <maxim@codesourcery.com>
30938
30939 * string/memmove.c: Use memcpy when possible.
30940
c5f45721
AJ
309412012-11-06 Andreas Jaeger <aj@suse.de>
30942
30943 * po/eo.po: Update from translation team.
30944
82477c28
JM
309452012-11-06 Joseph Myers <joseph@codesourcery.com>
30946
30947 [BZ #14793]
30948 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): In case of large z
30949 exponent and small x and y exponents, scale x or y up. Increase
30950 by 2 the exponent used in scaling up.
30951 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
30952 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
30953 * math/libm-test.inc (fma_test): Add more tests.
30954 (fma_test_towardzero): Likewise.
30955 (fma_test_downward): Likewise.
30956 (fma_test_upward): Likewise.
30957
99252c8c
JM
309582012-11-05 Joseph Myers <joseph@codesourcery.com>
30959
acfa885f
JM
30960 [BZ #14805]
30961 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_DFL_ENV): Use cast to const
30962 fenv_t *.
30963
99252c8c
JM
30964 [BZ #14801]
30965 * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Use implementation
30966 namespace for names of struct fields.
30967 * sysdeps/s390/fpu/fegetenv.c (fegetenv): Update references to
30968 fenv_t fields.
30969 * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
30970 * sysdeps/s390/fpu/fesetenv.c (fesetenv): Likewise.
30971
d6d98dea
ST
309722012-11-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
30973
30974 [BZ #3665]
30975 * sysdeps/mach/hurd/bits/errno.h: Regenerated.
30976
e10bb107
TS
309772012-11-04 Thomas Schwinge <thomas@codesourcery.com>
30978
30979 * csu/libc-start.c (LIBC_START_MAIN): Conditionalize use of
30980 PTR_DEMANGLE.
30981
30982 [BZ #5246]
30983 * sysdeps/mach/hurd/i386/____longjmp_chk.S: Conditionalize use of
30984 PTR_DEMANGLE.
30985
a0c2940d
JM
309862012-11-04 Joseph Myers <joseph@codesourcery.com>
30987
30988 [BZ #14797]
30989 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute cases that
30990 definitely overflow as x * y not x * y + z.
30991 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
30992 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
30993 * math/libm-test.inc (fma_test): Add more tests.
30994 (fma_test_towardzero): Likewise.
30995 (fma_test_downward): Likewise.
30996 (fma_test_upward): Likewise.
30997
b830319d
TS
309982012-11-04 Thomas Schwinge <thomas@codesourcery.com>
30999
31000 [BZ #157]
31001
31002 * include/stub-tag.h: Remove file.
31003 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't emit
31004 '#include' of it.
31005 * manual/maint.texi (Porting): Don't reference it.
31006 * Makerules ($(objpfx)stubs): Likewise.
31007 * dirent/closedir.c: Don't include <stub-tag.h>.
31008 * dirent/dirfd.c: Likewise.
31009 * dirent/fdopendir.c: Likewise.
31010 * dirent/getdents.c: Likewise.
31011 * dirent/getdents64.c: Likewise.
31012 * dirent/opendir.c: Likewise.
31013 * dirent/readdir.c: Likewise.
31014 * dirent/readdir64.c: Likewise.
31015 * dirent/readdir64_r.c: Likewise.
31016 * dirent/readdir_r.c: Likewise.
31017 * dirent/rewinddir.c: Likewise.
31018 * dirent/seekdir.c: Likewise.
31019 * dirent/telldir.c: Likewise.
31020 * gmon/profil.c: Likewise.
31021 * grp/setgroups.c: Likewise.
31022 * inet/if_index.c: Likewise.
31023 * io/access.c: Likewise.
31024 * io/chdir.c: Likewise.
31025 * io/chmod.c: Likewise.
31026 * io/chown.c: Likewise.
31027 * io/close.c: Likewise.
31028 * io/dup.c: Likewise.
31029 * io/dup2.c: Likewise.
31030 * io/dup3.c: Likewise.
31031 * io/euidaccess.c: Likewise.
31032 * io/faccessat.c: Likewise.
31033 * io/fchdir.c: Likewise.
31034 * io/fchmod.c: Likewise.
31035 * io/fchmodat.c: Likewise.
31036 * io/fchown.c: Likewise.
31037 * io/fchownat.c: Likewise.
31038 * io/fcntl.c: Likewise.
31039 * io/flock.c: Likewise.
31040 * io/fstatfs.c: Likewise.
31041 * io/fstatfs64.c: Likewise.
31042 * io/fstatvfs.c: Likewise.
31043 * io/fstatvfs64.c: Likewise.
31044 * io/futimens.c: Likewise.
31045 * io/fxstat.c: Likewise.
31046 * io/fxstat64.c: Likewise.
31047 * io/fxstatat.c: Likewise.
31048 * io/fxstatat64.c: Likewise.
31049 * io/getcwd.c: Likewise.
31050 * io/isatty.c: Likewise.
31051 * io/lchmod.c: Likewise.
31052 * io/lchown.c: Likewise.
31053 * io/link.c: Likewise.
31054 * io/linkat.c: Likewise.
31055 * io/lseek.c: Likewise.
31056 * io/lseek64.c: Likewise.
31057 * io/lxstat64.c: Likewise.
31058 * io/mkdir.c: Likewise.
31059 * io/mkdirat.c: Likewise.
31060 * io/mkfifo.c: Likewise.
31061 * io/mkfifoat.c: Likewise.
31062 * io/open.c: Likewise.
31063 * io/open64.c: Likewise.
31064 * io/openat.c: Likewise.
31065 * io/openat64.c: Likewise.
31066 * io/pipe.c: Likewise.
31067 * io/pipe2.c: Likewise.
31068 * io/poll.c: Likewise.
31069 * io/posix_fadvise.c: Likewise.
31070 * io/posix_fadvise64.c: Likewise.
31071 * io/posix_fallocate.c: Likewise.
31072 * io/posix_fallocate64.c: Likewise.
31073 * io/read.c: Likewise.
31074 * io/readlink.c: Likewise.
31075 * io/readlinkat.c: Likewise.
31076 * io/rmdir.c: Likewise.
31077 * io/sendfile.c: Likewise.
31078 * io/sendfile64.c: Likewise.
31079 * io/statfs.c: Likewise.
31080 * io/statfs64.c: Likewise.
31081 * io/statvfs.c: Likewise.
31082 * io/statvfs64.c: Likewise.
31083 * io/symlink.c: Likewise.
31084 * io/symlinkat.c: Likewise.
31085 * io/ttyname.c: Likewise.
31086 * io/ttyname_r.c: Likewise.
31087 * io/umask.c: Likewise.
31088 * io/unlink.c: Likewise.
31089 * io/unlinkat.c: Likewise.
31090 * io/utime.c: Likewise.
31091 * io/utimensat.c: Likewise.
31092 * io/write.c: Likewise.
31093 * io/xmknod.c: Likewise.
31094 * io/xmknodat.c: Likewise.
31095 * io/xstat.c: Likewise.
31096 * io/xstat64.c: Likewise.
31097 * login/getpt.c: Likewise.
31098 * login/grantpt.c: Likewise.
31099 * login/unlockpt.c: Likewise.
31100 * math/e_acoshl.c: Likewise.
31101 * math/e_acosl.c: Likewise.
31102 * math/e_asinl.c: Likewise.
31103 * math/e_atan2l.c: Likewise.
31104 * math/e_atanhl.c: Likewise.
31105 * math/e_coshl.c: Likewise.
31106 * math/e_expl.c: Likewise.
31107 * math/e_fmodl.c: Likewise.
31108 * math/e_gammal_r.c: Likewise.
31109 * math/e_hypotl.c: Likewise.
31110 * math/e_j0l.c: Likewise.
31111 * math/e_j1l.c: Likewise.
31112 * math/e_jnl.c: Likewise.
31113 * math/e_lgammal_r.c: Likewise.
31114 * math/e_log10l.c: Likewise.
31115 * math/e_log2l.c: Likewise.
31116 * math/e_logl.c: Likewise.
31117 * math/e_powl.c: Likewise.
31118 * math/e_rem_pio2l.c: Likewise.
31119 * math/e_sinhl.c: Likewise.
31120 * math/e_sqrtl.c: Likewise.
31121 * math/fclrexcpt.c: Likewise.
31122 * math/fedisblxcpt.c: Likewise.
31123 * math/feenablxcpt.c: Likewise.
31124 * math/fegetenv.c: Likewise.
31125 * math/fegetexcept.c: Likewise.
31126 * math/fegetround.c: Likewise.
31127 * math/feholdexcpt.c: Likewise.
31128 * math/fesetenv.c: Likewise.
31129 * math/fesetround.c: Likewise.
31130 * math/feupdateenv.c: Likewise.
31131 * math/fgetexcptflg.c: Likewise.
31132 * math/fraiseexcpt.c: Likewise.
31133 * math/fsetexcptflg.c: Likewise.
31134 * math/ftestexcept.c: Likewise.
31135 * math/k_cosl.c: Likewise.
31136 * math/k_rem_pio2l.c: Likewise.
31137 * math/k_sinl.c: Likewise.
31138 * math/k_tanl.c: Likewise.
31139 * math/s_asinhl.c: Likewise.
31140 * math/s_atanl.c: Likewise.
31141 * math/s_cbrtl.c: Likewise.
31142 * math/s_erfl.c: Likewise.
31143 * math/s_expm1l.c: Likewise.
31144 * math/s_log1pl.c: Likewise.
31145 * math/s_tanhl.c: Likewise.
31146 * misc/acct.c: Likewise.
31147 * misc/brk.c: Likewise.
31148 * misc/chflags.c: Likewise.
31149 * misc/chroot.c: Likewise.
31150 * misc/fchflags.c: Likewise.
31151 * misc/fgetxattr.c: Likewise.
31152 * misc/flistxattr.c: Likewise.
31153 * misc/fremovexattr.c: Likewise.
31154 * misc/fsetxattr.c: Likewise.
31155 * misc/fsync.c: Likewise.
31156 * misc/ftruncate.c: Likewise.
31157 * misc/futimes.c: Likewise.
31158 * misc/futimesat.c: Likewise.
31159 * misc/getdomain.c: Likewise.
31160 * misc/getdtsz.c: Likewise.
31161 * misc/gethostid.c: Likewise.
31162 * misc/gethostname.c: Likewise.
31163 * misc/getloadavg.c: Likewise.
31164 * misc/getpagesize.c: Likewise.
31165 * misc/getsysstats.c: Likewise.
31166 * misc/getxattr.c: Likewise.
31167 * misc/gtty.c: Likewise.
31168 * misc/ioctl.c: Likewise.
31169 * misc/lgetxattr.c: Likewise.
31170 * misc/listxattr.c: Likewise.
31171 * misc/llistxattr.c: Likewise.
31172 * misc/lremovexattr.c: Likewise.
31173 * misc/lsetxattr.c: Likewise.
31174 * misc/lutimes.c: Likewise.
31175 * misc/madvise.c: Likewise.
31176 * misc/mincore.c: Likewise.
31177 * misc/mlock.c: Likewise.
31178 * misc/mlockall.c: Likewise.
31179 * misc/mmap.c: Likewise.
31180 * misc/mprotect.c: Likewise.
31181 * misc/msync.c: Likewise.
31182 * misc/munlock.c: Likewise.
31183 * misc/munlockall.c: Likewise.
31184 * misc/munmap.c: Likewise.
31185 * misc/preadv.c: Likewise.
31186 * misc/preadv64.c: Likewise.
31187 * misc/ptrace.c: Likewise.
31188 * misc/pwritev.c: Likewise.
31189 * misc/pwritev64.c: Likewise.
31190 * misc/readv.c: Likewise.
31191 * misc/reboot.c: Likewise.
31192 * misc/remap_file_pages.c: Likewise.
31193 * misc/removexattr.c: Likewise.
31194 * misc/revoke.c: Likewise.
31195 * misc/select.c: Likewise.
31196 * misc/setdomain.c: Likewise.
31197 * misc/setegid.c: Likewise.
31198 * misc/seteuid.c: Likewise.
31199 * misc/sethostid.c: Likewise.
31200 * misc/sethostname.c: Likewise.
31201 * misc/setregid.c: Likewise.
31202 * misc/setreuid.c: Likewise.
31203 * misc/setxattr.c: Likewise.
31204 * misc/sstk.c: Likewise.
31205 * misc/stty.c: Likewise.
31206 * misc/swapoff.c: Likewise.
31207 * misc/swapon.c: Likewise.
31208 * misc/sync.c: Likewise.
31209 * misc/syncfs.c: Likewise.
31210 * misc/syscall.c: Likewise.
31211 * misc/truncate.c: Likewise.
31212 * misc/ualarm.c: Likewise.
31213 * misc/usleep.c: Likewise.
31214 * misc/ustat.c: Likewise.
31215 * misc/utimes.c: Likewise.
31216 * misc/vhangup.c: Likewise.
31217 * misc/writev.c: Likewise.
31218 * posix/_exit.c: Likewise.
31219 * posix/alarm.c: Likewise.
31220 * posix/execve.c: Likewise.
31221 * posix/fexecve.c: Likewise.
31222 * posix/fork.c: Likewise.
31223 * posix/fpathconf.c: Likewise.
31224 * posix/getaddrinfo.c: Likewise.
31225 * posix/getegid.c: Likewise.
31226 * posix/geteuid.c: Likewise.
31227 * posix/getgid.c: Likewise.
31228 * posix/getgroups.c: Likewise.
31229 * posix/getlogin.c: Likewise.
31230 * posix/getlogin_r.c: Likewise.
31231 * posix/getpgid.c: Likewise.
31232 * posix/getpid.c: Likewise.
31233 * posix/getppid.c: Likewise.
31234 * posix/getresgid.c: Likewise.
31235 * posix/getresuid.c: Likewise.
31236 * posix/getsid.c: Likewise.
31237 * posix/getuid.c: Likewise.
31238 * posix/glob64.c: Likewise.
31239 * posix/nanosleep.c: Likewise.
31240 * posix/pathconf.c: Likewise.
31241 * posix/pause.c: Likewise.
31242 * posix/posix_madvise.c: Likewise.
31243 * posix/pread.c: Likewise.
31244 * posix/pread64.c: Likewise.
31245 * posix/pwrite.c: Likewise.
31246 * posix/pwrite64.c: Likewise.
31247 * posix/sched_getaffinity.c: Likewise.
31248 * posix/sched_getp.c: Likewise.
31249 * posix/sched_gets.c: Likewise.
31250 * posix/sched_primax.c: Likewise.
31251 * posix/sched_primin.c: Likewise.
31252 * posix/sched_rr_gi.c: Likewise.
31253 * posix/sched_setaffinity.c: Likewise.
31254 * posix/sched_setp.c: Likewise.
31255 * posix/sched_sets.c: Likewise.
31256 * posix/sched_yield.c: Likewise.
31257 * posix/setgid.c: Likewise.
31258 * posix/setlogin.c: Likewise.
31259 * posix/setpgid.c: Likewise.
31260 * posix/setresgid.c: Likewise.
31261 * posix/setresuid.c: Likewise.
31262 * posix/setsid.c: Likewise.
31263 * posix/setuid.c: Likewise.
31264 * posix/sleep.c: Likewise.
31265 * posix/spawni.c: Likewise.
31266 * posix/sysconf.c: Likewise.
31267 * posix/times.c: Likewise.
31268 * posix/wait.c: Likewise.
31269 * posix/wait3.c: Likewise.
31270 * posix/wait4.c: Likewise.
31271 * posix/waitpid.c: Likewise.
31272 * resolv/gai_sigqueue.c: Likewise.
31273 * resource/getpriority.c: Likewise.
31274 * resource/getrlimit.c: Likewise.
31275 * resource/getrusage.c: Likewise.
31276 * resource/nice.c: Likewise.
31277 * resource/setpriority.c: Likewise.
31278 * resource/setrlimit.c: Likewise.
31279 * resource/ulimit.c: Likewise.
31280 * rt/aio_cancel.c: Likewise.
31281 * rt/aio_fsync.c: Likewise.
31282 * rt/aio_read.c: Likewise.
31283 * rt/aio_sigqueue.c: Likewise.
31284 * rt/aio_suspend.c: Likewise.
31285 * rt/aio_write.c: Likewise.
31286 * rt/clock_getres.c: Likewise.
31287 * rt/clock_gettime.c: Likewise.
31288 * rt/clock_nanosleep.c: Likewise.
31289 * rt/clock_settime.c: Likewise.
31290 * rt/lio_listio.c: Likewise.
31291 * rt/mq_close.c: Likewise.
31292 * rt/mq_getattr.c: Likewise.
31293 * rt/mq_notify.c: Likewise.
31294 * rt/mq_open.c: Likewise.
31295 * rt/mq_receive.c: Likewise.
31296 * rt/mq_send.c: Likewise.
31297 * rt/mq_setattr.c: Likewise.
31298 * rt/mq_timedreceive.c: Likewise.
31299 * rt/mq_timedsend.c: Likewise.
31300 * rt/mq_unlink.c: Likewise.
31301 * rt/shm_open.c: Likewise.
31302 * rt/shm_unlink.c: Likewise.
31303 * rt/timer_create.c: Likewise.
31304 * rt/timer_delete.c: Likewise.
31305 * rt/timer_getoverr.c: Likewise.
31306 * rt/timer_gettime.c: Likewise.
31307 * rt/timer_settime.c: Likewise.
31308 * setjmp/__longjmp.c: Likewise.
31309 * setjmp/setjmp.c: Likewise.
31310 * signal/kill.c: Likewise.
31311 * signal/killpg.c: Likewise.
31312 * signal/raise.c: Likewise.
31313 * signal/sigaction.c: Likewise.
31314 * signal/sigaltstack.c: Likewise.
31315 * signal/sigblock.c: Likewise.
31316 * signal/sigignore.c: Likewise.
31317 * signal/sigintr.c: Likewise.
31318 * signal/signal.c: Likewise.
31319 * signal/sigpause.c: Likewise.
31320 * signal/sigpending.c: Likewise.
31321 * signal/sigqueue.c: Likewise.
31322 * signal/sigreturn.c: Likewise.
31323 * signal/sigset.c: Likewise.
31324 * signal/sigsetmask.c: Likewise.
31325 * signal/sigstack.c: Likewise.
31326 * signal/sigsuspend.c: Likewise.
31327 * signal/sigtimedwait.c: Likewise.
31328 * signal/sigvec.c: Likewise.
31329 * signal/sigwait.c: Likewise.
31330 * signal/sigwaitinfo.c: Likewise.
31331 * signal/sysv_signal.c: Likewise.
31332 * socket/accept.c: Likewise.
31333 * socket/accept4.c: Likewise.
31334 * socket/bind.c: Likewise.
31335 * socket/connect.c: Likewise.
31336 * socket/getpeername.c: Likewise.
31337 * socket/getsockname.c: Likewise.
31338 * socket/getsockopt.c: Likewise.
31339 * socket/isfdtype.c: Likewise.
31340 * socket/listen.c: Likewise.
31341 * socket/recv.c: Likewise.
31342 * socket/recvfrom.c: Likewise.
31343 * socket/recvmsg.c: Likewise.
31344 * socket/send.c: Likewise.
31345 * socket/sendmsg.c: Likewise.
31346 * socket/sendto.c: Likewise.
31347 * socket/setsockopt.c: Likewise.
31348 * socket/shutdown.c: Likewise.
31349 * socket/sockatmark.c: Likewise.
31350 * socket/socket.c: Likewise.
31351 * socket/socketpair.c: Likewise.
31352 * stdio-common/ctermid.c: Likewise.
31353 * stdio-common/cuserid.c: Likewise.
31354 * stdio-common/remove.c: Likewise.
31355 * stdio-common/rename.c: Likewise.
31356 * stdio-common/renameat.c: Likewise.
31357 * stdio-common/tempname.c: Likewise.
31358 * stdlib/getcontext.c: Likewise.
31359 * stdlib/makecontext.c: Likewise.
31360 * stdlib/setcontext.c: Likewise.
31361 * stdlib/swapcontext.c: Likewise.
31362 * stdlib/system.c: Likewise.
31363 * streams/fattach.c: Likewise.
31364 * streams/fdetach.c: Likewise.
31365 * streams/getmsg.c: Likewise.
31366 * streams/getpmsg.c: Likewise.
31367 * streams/putmsg.c: Likewise.
31368 * streams/putpmsg.c: Likewise.
31369 * sysdeps/unix/bsd/getpt.c: Likewise.
31370 * sysdeps/unix/sysv/linux/epoll_pwait.c: Likewise.
31371 * sysdeps/unix/sysv/linux/futimens.c: Likewise.
31372 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
31373 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
31374 Likewise.
31375 * sysdeps/unix/sysv/linux/readahead.c: Likewise.
31376 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
31377 * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
31378 * sysvipc/msgctl.c: Likewise.
31379 * sysvipc/msgget.c: Likewise.
31380 * sysvipc/msgrcv.c: Likewise.
31381 * sysvipc/msgsnd.c: Likewise.
31382 * sysvipc/semctl.c: Likewise.
31383 * sysvipc/semget.c: Likewise.
31384 * sysvipc/semop.c: Likewise.
31385 * sysvipc/semtimedop.c: Likewise.
31386 * sysvipc/shmat.c: Likewise.
31387 * sysvipc/shmctl.c: Likewise.
31388 * sysvipc/shmdt.c: Likewise.
31389 * sysvipc/shmget.c: Likewise.
31390 * termios/tcdrain.c: Likewise.
31391 * termios/tcflow.c: Likewise.
31392 * termios/tcflush.c: Likewise.
31393 * termios/tcgetattr.c: Likewise.
31394 * termios/tcgetpgrp.c: Likewise.
31395 * termios/tcsendbrk.c: Likewise.
31396 * termios/tcsetattr.c: Likewise.
31397 * termios/tcsetpgrp.c: Likewise.
31398 * time/adjtime.c: Likewise.
31399 * time/clock.c: Likewise.
31400 * time/getitimer.c: Likewise.
31401 * time/gettimeofday.c: Likewise.
31402 * time/setitimer.c: Likewise.
31403 * time/settimeofday.c: Likewise.
31404 * time/stime.c: Likewise.
31405 * time/time.c: Likewise.
31406
314072012-11-04 Pino Toscano <toscano.pino@tiscali.it>
72e182e3 31408
a20492cf
PT
31409 * sysdeps/generic/paths.h (_PATH_STDPATH): Remove /usr/contrib/bin and
31410 /usr/old/bin.
31411
72e182e3
PT
31412 * sysdeps/generic/paths.h (_PATH_MNTTAB, _PATH_MOUNTED): Use tabs
31413 instead of spaces.
31414 * sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP, _PATH_WTMP): Likewise.
31415
fbeafede
JM
314162012-11-03 Joseph Myers <joseph@codesourcery.com>
31417
5b5b04d6
JM
31418 [BZ #14796]
31419 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Set rounding mode to
31420 FE_TONEAREST before applying Dekker multiplication and Knuth
31421 addition. Clear inexact exceptions and check for exact zero
31422 results afterwards.
31423 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
31424 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
31425 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
31426 * math/libm-test.inc (fma_test): Add more tests.
31427 (fma_test_towardzero): Likewise.
31428 (fma_test_downward): Likewise.
31429 (fma_test_upward): Likewise.
31430 * sysdeps/generic/math_private.h (default_libc_fesetround): New
31431 function.
31432 (libc_fesetround): New macro.
31433 (libc_fesetroundf): Likewise.
31434 (libc_fesetroundl): Likewise.
31435 * sysdeps/i386/fpu/fenv_private.h (libc_fesetround_sse): New
31436 function.
31437 (libc_fesetround_387): Likewise.
31438 (libc_fesetroundf): New macro.
31439 (libc_fesetround): Likewise.
31440 (libc_fesetroundl): Likewise.
31441 * sysdeps/sparc/fpu/fenv_private.h (libc_fesetround): New
31442 function.
31443 (libc_fesetroundf): New macro.
31444 (libc_fesetround): Likewise.
31445 (libc_fesetroundl): Likewise.
31446 * include/fenv.h (feclearexcept): Add libm_hidden_proto.
31447 * math/fclrexcpt.c (feclearexcept): Add libm_hidden_ver.
31448 * sysdeps/i386/fpu/fclrexcpt.c (feclearexcept): Add
31449 libm_hidden_ver.
31450 * sysdeps/powerpc/fpu/fclrexcpt.c (feclearexcept): Likewise.
31451 * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Add
31452 libm_hidden_def.
31453 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Likewise.
31454 * sysdeps/sparc/fpu/fclrexcpt.c (feclearexcept): Add
31455 libm_hidden_ver.
31456 * sysdeps/x86_64/fpu/fclrexcpt.c (feclearexcept): Add
31457 libm_hidden_def.
31458
fbeafede
JM
31459 [BZ #3439]
31460 * sysdeps/powerpc/bits/fenv.h (FE_INEXACT): Define macro to
31461 integer constant usable in #if and use that to give value to enum
31462 constant.
31463 (FE_DIVBYZERO): Likewise.
31464 (FE_UNDERFLOW): Likewise.
31465 (FE_OVERFLOW): Likewise.
31466 (FE_INVALID): Likewise.
31467 (FE_INVALID_SNAN): Likewise.
31468 (FE_INVALID_ISI): Likewise.
31469 (FE_INVALID_IDI): Likewise.
31470 (FE_INVALID_ZDZ): Likewise.
31471 (FE_INVALID_IMZ): Likewise.
31472 (FE_INVALID_COMPARE): Likewise.
31473 (FE_INVALID_SOFTWARE): Likewise.
31474 (FE_INVALID_SQRT): Likewise.
31475 (FE_INVALID_INTEGER_CONVERSION): Likewise.
31476 (FE_TONEAREST): Likewise.
31477 (FE_TOWARDZERO): Likewise.
31478 (FE_UPWARD): Likewise.
31479 (FE_DOWNWARD): Likewise.
31480 * sysdeps/s390/fpu/bits/fenv.h (FE_INVALID): Likewise.
31481 (FE_DIVBYZERO): Likewise.
31482 (FE_OVERFLOW): Likewise.
31483 (FE_UNDERFLOW): Likewise.
31484 (FE_INEXACT): Likewise.
31485 (FE_TONEAREST): Likewise.
31486 (FE_DOWNWARD): Likewise.
31487 (FE_UPWARD): Likewise.
31488 (FE_TOWARDZERO): Likewise.
31489 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_INEXACT): Likewise.
31490 (FE_UNDERFLOW): Likewise.
31491 (FE_OVERFLOW): Likewise.
31492 (FE_DIVBYZERO): Likewise.
31493 (FE_INVALID): Likewise.
31494 (FE_TONEAREST): Likewise.
31495 (FE_TOWARDZERO): Likewise.
31496 * sysdeps/sparc/fpu/bits/fenv.h (FE_INVALID): Likewise.
31497 (FE_OVERFLOW): Likewise.
31498 (FE_UNDERFLOW): Likewise.
31499 (FE_DIVBYZERO): Likewise.
31500 (FE_INEXACT): Likewise.
31501 (FE_TONEAREST): Likewise.
31502 (FE_TOWARDZERO): Likewise.
31503 (FE_UPWARD): Likewise.
31504 (FE_DOWNWARD): Likewise.
31505 * sysdeps/x86/fpu/bits/fenv.h (FE_INVALID): Likewise.
31506 (FE_DIVBYZERO): Likewise.
31507 (FE_OVERFLOW): Likewise.
31508 (FE_UNDERFLOW): Likewise.
31509 (FE_INEXACT): Likewise.
31510 (FE_TONEAREST): Likewise.
31511 (FE_DOWNWARD): Likewise.
31512 (FE_UPWARD): Likewise.
31513 (FE_TOWARDZERO): Likewise.
31514
105ca950
CM
315152012-11-02 Chris Metcalf <cmetcalf@tilera.com>
31516
31517 * elf/elf.h (R_TILEGX_IMM16_X[01]_HW[012]_(|LAST_)PLT_PCREL): Add.
31518
a542b389
AS
315192012-11-03 Andreas Schwab <schwab@linux-m68k.org>
31520
31521 * scripts/cross-test-ssh.sh (command): Use newlines to separate
31522 commands. Quote $PWD.
31523 (blacklist_exports): Don't use remove_newlines. Replace "declare
31524 -x" by "export".
31525 (remove_newlines): Remove.
31526
f62c8abc
L
315272012-11-02 H.J. Lu <hongjiu.lu@intel.com>
31528
31529 * stdlib/Makefile (headers): Add bits/stdlib-float.h.
31530 * stdlib/stdlib.h (atof): Moved to ...
31531 * include/bits/stdlib-float.h: Here. New file.
31532 * stdlib/stdlib.h: Include <bits/stdlib-float.h>.
31533 * stdlib/bits/stdlib-float.h: New file.
31534 * sysdeps/x86/Makefile (CFLAGS-.os): Compile rtld routines with
31535 -mno-sse -mno-mmx.
31536 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Include
31537 <xmmintrin.h>.
31538
0155d5b2
JM
315392012-11-02 Joseph Myers <joseph@codesourcery.com>
31540
a68d0680
JM
31541 * conform/conformtest.pl (@headers): Add fenv.h.
31542 * conform/data/fenv.h-data: New file.
31543 * include/fenv.h [_ISOMAC]: Disable all contents of file except
31544 include of <math/fenv.h>.
31545
caf7f573
JM
31546 * conform/data/complex.h-data [ISO99 || ISO11 || XOPEN2K ||
31547 POSIX2008]: Change condition to [!ISO && !POSIX && !XPG3 && !XPG4
31548 && !UNIX98]. Enables tests for XOPEN2K8.
31549 * conform/data/inttypes.h-data [ISO99 || ISO11 || XOPEN2K ||
31550 POSIX2008]: Likewise.
31551
6c073ad6
JM
31552 * conform/data/sys/wait.h-data [XPG3 || XOPEN2K8 || POSIX2008]
31553 (struct rusage): Do not expect type or its members.
31554
0155d5b2
JM
31555 [BZ #3439]
31556 * math/math.h (FP_NAN): Define macro to integer constant usable in
31557 #if and use that to give value to enum constant.
31558 (FP_INFINITE): Likewise.
31559 (FP_ZERO): Likewise.
31560 (FP_SUBNORMAL): Likewise.
31561 (FP_NORMAL): Likewise.
31562
b5dcacb4
AS
315632012-11-02 Andreas Schwab <schwab@linux-m68k.org>
31564
31565 * iconvdata/bug-iconv8.c (do_test): Use %z for size_t arguments.
31566 * iconvdata/bug-iconv9.c (do_test): Use %t for ptrdiff_t
31567 arguments.
31568
f7934be8
RM
315692012-11-02 Roland McGrath <roland@hack.frob.com>
31570
31571 * aclocal.m4 (GLIBC_AUTOCONF_VERSION): New macro.
31572 Check that AC_AUTOCONF_VERSION matches it and m4_fatal at
31573 autoconf-time if not.
31574 * configure.in: Remove AC_PREREQ.
31575
d7d08bde
TMQMF
315762012-11-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
31577
31578 * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Use
31579 __builtin_ppc_get_timebase when building with GCC >= 4.8 instead
31580 of the internal implementation.
31581
dcdae19a
JM
315822012-11-02 Joseph Myers <joseph@codesourcery.com>
31583
31584 * include/sys/syslog.h [_ISOMAC]: Disable all contents of file
31585 except include of <misc/sys/syslog.h>.
31586
d6cffd3e
AS
315872012-11-01 Andreas Schwab <schwab@linux-m68k.org>
31588
31589 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: If the
31590 function returns with a NULL context exit with zero.
31591
b3563932
TMQMF
315922012-11-01 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
31593
31594 * sysdeps/powerpc/Makefile (cflags): Remove -mnew-mnemonics.
31595
b288a93d
L
315962012-11-01 H.J. Lu <hongjiu.lu@intel.com>
31597
31598 * catgets/test-gencat.sh (run_program_prefix): Renamed to ...
31599 (run_program_cmd): This.
31600 * localedata/tst-langinfo.sh (run_program_prefix): Removed.
31601 (tst_langinfo): New variable. Use it.
31602
a2421a68
SAS
316032012-11-01 Sebastan Andrzej Siewior <bigeasy@linutronix.de>
31604
31605 * sysdeps/powerpc/powerpc32/dl-trampoline.S: Put __NO_FPRS__ around
31606 floating point opcodes.
31607
6f796e1b
TS
316082012-11-01 Thomas Schwinge <thomas@codesourcery.com>
31609
7402596b
TS
31610 * sysdeps/mach/hurd/Makefile (link-libc-static-tests): New
31611 variable.
31612
d0d4f868
TS
31613 * elf/dl-support.c: Unconditionally include "setup-vdso.h".
31614
6f796e1b
TS
31615 * sysdeps/mach/hurd/powerpc: Remove directory.
31616 * sysdeps/mach/powerpc: Likewise.
31617
4da224a2
AS
316182012-11-01 Andreas Schwab <schwab@linux-m68k.org>
31619
31620 * scripts/check-local-headers.sh: Ignore c++ headers.
31621
341dd673
TS
316222012-11-01 Thomas Schwinge <thomas@codesourcery.com>
31623
31624 * libio/genops.c (_IO_flush_all_lockp): Use NULL rather than 0 for
31625 __libc_cleanup_region_start argument.
31626
473611b2
JM
316272012-11-01 Joseph Myers <joseph@codesourcery.com>
31628
31629 [BZ #14784]
31630 [BZ #14785]
31631 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle cases with small
31632 x * y using scaling, not as x * y + z.
31633 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
31634 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
31635 * math/libm-test.inc (fma_test): Add more tests.
31636 (fma_test_towardzero): Likewise.
31637 (fma_test_downward): Likewise.
31638 (fma_test_upward): Likewise.
31639
4078da3d
TS
316402012-11-01 Thomas Schwinge <thomas@codesourcery.com>
31641
31642 * sysdeps/mach/hurd/bits/param.h: Remove stray #endif.
31643
903252aa
JM
316442012-10-31 Joseph Myers <joseph@codesourcery.com>
31645
31646 * sysdeps/sh/Makefile [$(subdir) = debug] (CFLAGS-backtrace.c):
31647 New variable.
31648
cbc818d0
TS
316492012-10-31 Thomas Schwinge <thomas@codesourcery.com>
31650
31651 * rt/tst-shm.c (worker): Correct checking for mmap failure.
31652
5a03cb1e
AS
316532012-10-31 Andreas Schwab <schwab@linux-m68k.org>
31654
31655 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
31656 Fix sort order.
31657 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
31658 Likewise.
31659
90aff2ff
TMQMF
316602012-10-31 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
31661
31662 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
31663 Fix the order of the list for glibc 2.17.
31664 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
31665 Likewise.
31666
1818fcb7
AS
316672012-10-31 Andreas Schwab <schwab@linux-m68k.org>
31668
31669 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
31670
ef82f4da
JM
316712012-10-31 Joseph Myers <joseph@codesourcery.com>
31672
16a0e2ec
JM
31673 [BZ #14610]
31674 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Check
31675 for low part of x being zero before using __atanl (y).
31676 * math/libm-test.inc (atan2_test): Add another test.
31677
0eb69512
JM
31678 * manual/install.texi (Configuring and compiling): Document
31679 general use of test-wrapper and test-wrapper-env.
31680 * INSTALL: Regenerated.
31681
ef82f4da
JM
31682 * sysdeps/ieee754/dbl-64/s_fma.c: Include <tininess.h>.
31683 (__fma): Do not extract and scale down low bits on after-rounding
31684 systems when result rounded to normal precision would have normal
31685 exponent.
31686 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <tininess.h>.
31687 (__fmal): Do not extract and scale down low bits on after-rounding
31688 systems when result rounded to normal precision would have normal
31689 exponent.
31690 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <tininess.h>.
31691 (__fmal): Do not extract and scale down low bits on after-rounding
31692 systems when result rounded to normal precision would have normal
31693 exponent.
31694 * math/libm-test.inc (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): New
31695 macro.
31696 (fma_test): Add more tests.
31697 (fma_test_towardzero): Likewise.
31698 (fma_test_downward): Likewise.
31699 (fma_test_upward): Likewise.
31700
954ef0d9
L
317012012-10-30 H.J. Lu <hongjiu.lu@intel.com>
31702
31703 * sysdeps/i386/tininess.h: Renamed to ...
31704 * sysdeps/x86/tininess.h: This.
31705 * sysdeps/x86_64/tininess.h: Removed.
31706
df61ffb2
JM
317072012-10-30 Joseph Myers <joseph@codesourcery.com>
31708
31709 * elf/Makefile ($(objpfx)tst-array1.out): Depend on comparison
31710 input. Use $(build-program-cmd).
31711 ($(objpfx)tst-array1-static.out): Likewise.
31712 ($(objpfx)tst-array2.out): Likewise.
31713 ($(objpfx)tst-array3.out): Likewise.
31714 ($(objpfx)tst-array4.out): Likewise.
31715 ($(objpfx)tst-array5.out): Likewise.
31716 ($(objpfx)tst-array5-static.out): Likewise.
31717
01767843
CM
317182012-10-30 Chris Metcalf <cmetcalf@tilera.com>
31719
47cc1490
CM
31720 * elf/dl-load.c (_dl_map_object_from_fd): Call DL_AFTER_LOAD
31721 if defined.
31722
01767843
CM
31723 * nss/nsswitch.h (nss_interface_function): Provide new
31724 macro for use with NSS functions.
31725 * grp/initgroups.c: Use new macro.
31726 * nss/getXXbyYY.c: Likewise.
31727 * nss/getXXbyYY_r.c: Likewise.
31728 * nss/getXXent.c: Likewise.
31729 * nss/getXXent_r.c: Likewise.
31730 * sysdeps/posix/getaddrinfo.c: Likewise.
31731
8321aa97
AJ
317322012-10-30 Andreas Jaeger <aj@suse.de>
31733
31734 * po/ru.po: Update Russion translation from translation project.
31735
2a27fd6d
JM
317362012-10-30 Joseph Myers <joseph@codesourcery.com>
31737
8627a232
JM
31738 [BZ #14152]
31739 [BZ #14783]
31740 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Extract low bits of
31741 result and shift together with sticky bit instead of replicating
31742 round-to-nearest rounding.
31743 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
31744 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
31745 * math/libm-test.inc (fma_test): Add more tests. Do not permit
31746 missing underflow exceptions.
31747 (fma_test_towardzero): Add more tests.
31748 (fma_test_downward): Likewise.
31749 (fma_test_upward): Likewise.
31750
2a27fd6d
JM
31751 [BZ #14047]
31752 * sysdeps/generic/tininess.h: New file.
31753 * sysdeps/i386/tininess.h: Likewise.
31754 * sysdeps/sh/tininess.h: Likewise.
31755 * sysdeps/x86_64/tininess.h: Likewise.
31756 * stdlib/tst-strtod-underflow.c: Likewise.
31757 * stdlib/tst-tininess.c: Likewise.
31758 * stdlib/strtod_l.c: Include <tininess.h>.
31759 (round_and_return): Do not set errno for exact underflow cases.
31760 Force an underflow exception when setting errno for underflow.
31761 Determine underflow based on rounding to normal precision if
31762 TININESS_AFTER_ROUNDING.
31763 * stdlib/tst-strtod.c (tests): Do not expect errno to be set to
31764 ERANGE for exact underflow cases.
31765 * stdlib/Makefile (tests): Add tst-tininess and
31766 tst-strtod-underflow.
31767 ($(objpfx)tst-tininess): Use $(link-libm).
31768 ($(objpfx)tst-strtod-underflow): Likewise.
31769
e7170363
AJ
317702012-10-30 Andreas Jaeger <aj@suse.de>
31771
e5088dc6
AJ
31772 [BZ#14767]
31773 * elf/Makefile (tests): Remove conditional for have-initfini-array
31774 since this is now always required and the variable does not exist
31775 anymore.
31776 (tests-static): Likewise.
31777 (modules-names): Likewise.
31778
e7170363 31779 * po/eo.po: Add Esperanto translation from translation project.
b0988f10
AJ
31780
31781 * elf/tst-array1.c (fini_array): Make writeable so that it can be
31782 merged with constructor/destructor.
31783 (init_array): Likewise.
31784 * elf/tst-array2dep.c (fini_array): Likewise.
31785 (init_array): Likewise.
31786
60457d8a
MF
317872012-10-29 Mike Frysinger <vapier@gentoo.org>
31788
31789 * manual/message.texi: Delete @cartouche tags.
31790
8bece752
PT
317912012-10-29 Pino Toscano <toscano.pino@tiscali.it>
31792
94ce799f
PT
31793 * sysdeps/mach/hurd/fdatasync.c: Turn ERR into EINVAL if it is
31794 EOPNOTSUPP.
31795 * sysdeps/mach/hurd/fsync.c: Likewise.
31796
8bece752
PT
31797 * sysdeps/pthread/aio_notify.c (__aio_notify_only)
31798 [_POSIX_REALTIME_SIGNALS]: Change condition to
31799 [_POSIX_REALTIME_SIGNALS > 0].
31800
86ebe6b1
AJ
318012012-10-27 Andreas Jaeger <aj@suse.de>
31802
31803 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (__O_LARGEFILE)
31804 [!__x86_64]: Do not define, take value from <bits/fcntl-linux.h>.
31805 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE):
31806 [__WORDSIZE != 64]: Likewise.
31807
54399c08
L
318082012-10-26 H.J. Lu <hongjiu.lu@intel.com>
31809
31810 * iconvdata/tst-table.sh: Remove ${SHELL}.
31811 * iconvdata/tst-tables.sh: Likewise.
31812
e2211bed
DM
318132012-10-25 David S. Miller <davem@davemloft.net>
31814
31815 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
31816 (__get_clockfreq_via_proc_openprom): Use strtoumax instead
31817 of strtoull.
31818
f303f97c
DM
31819 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add comments for
31820 ifunc-impl-list.c
31821 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
31822 * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c: New file.
31823 * sysdeps/sparc/sparc32/sparcv9/multiarch/ifunc-impl-list.c: New
31824 file.
31825
1e9d84cd
RM
318262012-10-25 Roland McGrath <roland@hack.frob.com>
31827
31828 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
31829 (__get_clockfreq_via_proc_openprom): Use __getdents instead of
31830 __getdirentries.
31831
df381762
JM
318322012-10-25 Joseph Myers <joseph@codesourcery.com>
31833 Jim Blandy <jimb@codesourcery.com>
31834
31835 * scripts/cross-test-ssh.sh: New file.
31836 * manual/install.texi (Configuring and compiling): Document use of
31837 cross-test-ssh.sh.
31838 * INSTALL: Regenerated.
31839
bff64913
PT
318402012-10-25 Pino Toscano <toscano.pino@tiscali.it>
31841
31842 * sysdeps/mach/hurd/ptrace.c (ptrace): Use __hurd_fail to return
31843 EOPNOTSUPP.
31844
25fe8932
JM
318452012-10-25 Joseph Myers <joseph@codesourcery.com>
31846
31847 * Makeconfig (run-program-prefix): Fix comment.
31848
cc1290d0
JM
318492012-10-24 Joseph Myers <joseph@codesourcery.com>
31850 Jim Blandy <jimb@codesourcery.com>
31851
31852 * Makeconfig (test-wrapper): New variable,
31853 (test-wrapper-env): Likewise.
31854 [$(cross-compiling) = yes && $(test-wrapper) != ""]
31855 (run-built-tests): Define to yes.
31856 (run-program-prefix): Use $(test-wrapper).
31857 (built-program-cmd): Likewise.
31858 * Rules (make-test-out): Use $(test-wrapper-env) and
31859 $(host-built-program-cmd).
31860 * elf/Makefile ($(objpfx)order.out): Use $(test-wrapper).
31861 ($(objpfx)tst-pathopt.out): Pass $(test-wrapper-env) to
31862 tst-pathopt.sh.
31863 ($(objpfx)tst-rtld-load-self.out): Pass $(test-wrapper) and
31864 $(test-wrapper-env) to tst-rtld-load-self.sh.
31865 ($(objpfx)order2.out): Use $(test-wrapper).
31866 ($(objpfx)tst-initorder.out): Likewise.
31867 ($(objpfx)tst-initorder2.out): Likewise.
31868 ($(objpfx)tst-unused-dep.out): Use $(test-wrapper-env).
31869 * elf/tst-pathopt.sh (run_program_prefix): Remove unused variable.
31870 (test_wrapper_env): New variable. Use it to run ld.so.
31871 * elf/tst-rtld-load-self.sh (test_wrapper): New variable.
31872 Use it to run ld.so.
31873 (test_wrapper_env): Likewise.
31874 * iconvdata/Makefile ($(objpfx)iconv-test.out): Pass
31875 $(test-wrapper) to run-iconv-test.sh.
31876 * iconvdata/run-iconv-test.sh (test_wrapper): New variable.
31877 (ICONV): Use $test_wrapper.
31878 * posix/Makefile ($(objpfx)globtest.out): Pass
31879 $(run-via-rtld-prefix), $(test-wrapper) and $(test-wrapper-env) to
31880 globtest.sh, not $(run-program-prefix).
31881 * posix/globtest.sh (run_via_rtld_prefix): New variable.
31882 (test_wrapper): Likewise.
31883 (test_wrapper_env): Likewise. Use it to run globtest with HOME
31884 set together with run_via_rtld_prefix.
31885 (run_program_prefix): Define in terms of test_wrapper and
31886 run_via_rtld_prefix.
31887
6e6249d0
RM
318882012-10-24 Roland McGrath <roland@hack.frob.com>
31889
31890 * nscd/Makefile ($(objpfx)nscd): Remove librt dependency.
31891 * posix/Makefile ($(objpfx)tst-regex, $(objpfx)tst-regex2):
31892 Targets removed.
31893
31894 [BZ #14743]
31895 * include/time.h: Remove librt_hidden_proto (clock_gettime).
31896 Declare __clock_getres, __clock_gettime, __clock_settime,
31897 __clock_nanosleep, and __clock_getcpuclockid.
31898 * rt/clock_gettime.c: Define __clock_gettime as an alias.
31899 Remove librt_hidden_def (clock_gettime).
31900 * sysdeps/unix/clock_gettime.c: Likewise.
31901 * rt/clock_getcpuclockid.c: Define __clock_getcpuclockid as an alias.
31902 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
31903 * rt/clock_getres.c: Define __clock_getres as an alias.
31904 * sysdeps/posix/clock_getres.c: Likewise.
31905 * rt/clock_settime.c: Define __clock_settime as an alias.
31906 * sysdeps/unix/clock_settime.c: Likewise.
31907 * rt/clock_nanosleep.c: Define __clock_nanosleep as an alias.
31908 * sysdeps/unix/clock_nanosleep.c: Likewise.
31909 * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
31910 * rt/clock-compat.c: New file.
31911 * rt/Makefile (librt-routines): Add clock-compat and move
31912 $(clock-routines) to ...
31913 (routines): ... here, new variable.
31914 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_routines):
31915 Don't add get_clockfreq here.
31916 * rt/Versions (libc: GLIBC_2.17): New version set.
31917 Add clock_* symbols here.
31918 (libc: GLIBC_PRIVATE): New version set. Add __clock_* symbols here.
31919 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist
31920 (GLIBC_2.17): Add clock_* symbols.
31921 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
31922 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
31923 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
31924 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
31925 Likewise.
31926 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
31927 Likewise.
31928 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
31929 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
31930 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
31931 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
31932 * NEWS: Mention the move.
31933
31934 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
31935 Use __open, __read, __close rather than their public counterparts.
31936 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
31937 (__get_clockfreq_via_cpuinfo): Likewise.
31938 (__get_clockfreq_via_proc_openprom): Likewise, and __getdirentries.
31939 (__get_clockfreq_via_dev_openprom): Likewise, and __ioctl.
31940
31941 * config.h.in (HAVE_IFUNC): New #undef.
31942 * configure.in: Define it if libc_cv_ld_gnu_indirect_function
31943 was successful.
31944 * configure: Regenerated.
31945
0cae3f4b
MF
319462012-10-24 Mike Frysinger <vapier@gentoo.org>
31947
31948 * configure.in: Move READELF check to start of file.
31949 (libc_cv_ld_gnu_indirect_function): Change to a link test. Rename from
31950 libc_cv_asm_gnu_indirect_function in the process.
31951 * configure: Regenerated.
31952
8175a253
MF
319532012-10-24 Mike Frysinger <vapier@gentoo.org>
31954
31955 * configure.in (libc_cv_gcc_static_libgcc): Drop -q flag to grep and
31956 send the output to /dev/null.
31957 (libc_cv_cc_with_libunwind): Likewise.
31958 (libc_cv_as_noexecstack): Likewise.
31959 * configure: Regenerate.
31960
0708a7d1
JM
319612012-10-24 Joseph Myers <joseph@codesourcery.com>
31962
10b40d85
JM
31963 * io/ftwtest-sh (tmp): Define to ${objpfx}io, not using `pwd`.
31964
0708a7d1
JM
31965 * posix/globtest.sh (TMPDIR): Do not set.
31966 (testdir): Define using ${common_objpfx}posix not $TMPDIR.
31967 (testout): Likewise.
31968
9fddec1a
AJ
319692012-10-24 Andreas Jaeger <aj@suse.de>
31970
3a8db22f
AJ
31971 * io/fcntl.h: Always define mode_t, off_t, pid_t and use these
31972 types for creat, creat64, lockf, posix_fadvise, posix_fallocate.
31973 [__USE_LARGEFILE64 && !__off64_t_defined]: Define off64_t.
31974 [__USE_LARGEFILE64]: Use off64_t in declaration of lock64,
31975 posix_fadvise64, posix_fallocate64.
31976
9fddec1a
AJ
31977 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (F_GETLK, F_SETLK)
31978 (F_SETLKW) [__x86_64]: Remove, provided by <bits/fcntl-linux.h>.
31979 (F_GETLK, F_SETLK, F_SETLKW) [!__USE_FILE_OFFSET64 && !__x86_64__]:
31980 Likewise.
31981 (F_GETLK, F_SETLK, F_SETLKW) [__USE_FILE_OFFSET64 && ! __x86_64__]:
31982 Likewise.
31983 (F_GETLK64, F_SETLK64, F_SETLKW64) [!__x86_64__]: Likewise.
31984
31985 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_GETLK, F_SETLK)
31986 (F_SETLKW) [__USE_FILE_OFFSET64]: Remove, provided by
31987 <bits/fcntl-linux.h>.
31988 (F_GETLK64, F_SETLK64, F_SETLKW64) [__WORDSIZE == 64]: Likewise.
31989
31990 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_DUPFD, F_GETFD)
31991 (F_SETFD, F_GETFL, F_SETFL): Remove, provided by <bits/fcntl-linux.h>.
31992 (F_GETLK, F_SETLK, F_SETLKW) [__WORDSIZE == 64]: Likewise.
31993 (F_GETLK, F_SETLK, F_SETLKW, F_GETLK64, F_SETLK64, F_SETLKW64)
31994 [__WORDSIZE != 64]: Likewise.
31995
ebfd1bbd
JM
319962012-10-23 Joseph Myers <joseph@codesourcery.com>
31997
03ac099f
JM
31998 * Makeconfig (run-built-tests): New variable.
31999 * Rules [$(cross-compiling) = yes]: Change condition to
32000 [$(run-built-tests) = no].
32001 * catgets/Makefile [$(cross-compiling) != yes]: Change condition
32002 to [$(run-built-tests) = yes].
32003 * elf/Makefile [$(cross-compiling) = no]: Likewise
32004 * grp/Makefile [$(cross-compiling) = no]: Likewise.
32005 * iconv/Makefile [$(cross-compiling) != yes]: Likewise.
32006 * iconvdata/Makefile [$(cross-compiling) = no]: Likewise.
32007 * intl/Makefile [$(cross-compiling) = no]: Likewise.
32008 * io/Makefile [$(cross-compiling) = no]: Likewise.
32009 * libio/Makefile [$(cross-compiling) = no]: Likewise.
32010 * malloc/Makefile [$(cross-compiling) = no]: Likewise.
32011 * misc/Makefile [$(cross-compiling) = no]: Likewise.
32012 * posix/Makefile [$(cross-compiling) = no]: Likewise.
32013 * resolv/Makefile [$(cross-compiling) = no]: Likewise.
32014 * stdio-common/Makefile [$(cross-compiling) = no]: Likewise.
32015 * stdlib/Makefile [$(cross-compiling) = no]: Likewise.
32016 * string/Makefile [$(cross-compiling) = no]: Likewise.
32017
ebfd1bbd
JM
32018 * posix/Makefile ($(objpfx)globtest.out): Pass
32019 $(run-program-prefix) to globtest.sh, not $(elf-objpfx) and
32020 $(rtld-installed-name).
32021 * posix/globtest.sh (elf_objpfx): Remove variable.
32022 (rtld_installed_name): Likewise.
32023 (library_path): Likewise.
32024 (run_program_prefix): New variable. Use for running globtest
32025 binary.
32026
166bca24
JB
320272012-10-23 Jim Blandy <jimb@codesourcery.com>
32028 Joseph Myers <joseph@codesourcery.com>
32029
32030 * Makeconfig (host-built-program-cmd): New variable.
32031 * elf/Makefile (tst-stackguard1-ARGS): Use
32032 $(host-built-program-cmd).
32033 * posix/Makefile (tst-exec-ARGS): Use $(host-built-program-cmd).
32034 (tst-spawn-ARGS): Likewise.
32035 * rt/Makefile (tst-mqueue7-ARGS): Use $(host-built-program-cmd).
32036
88866099
JM
320372012-10-23 Joseph Myers <joseph@codesourcery.com>
32038 Jim Blandy <jimb@codesourcery.com>
32039
32040 * Makeconfig (run-via-rtld-prefix): New variable.
32041 (run-program-prefix): Define in terms of $(run-via-rtld-prefix).
32042 (built-program-cmd): Likewise.
32043
b4b4c296
AJ
320442012-10-22 Andreas Jaeger <aj@suse.de>
32045
32046 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (O_RSYNC): Define to
32047 __O_RSYNC if it exists, otherwise to O_SYNC.
32048
6fb54a22
JB
320492012-10-22 Jim Blandy <jimb@codesourcery.com>
32050 Joseph Myers <joseph@codesourcery.com>
32051
32052 * iconvdata/run-iconv-test.sh: Redirect iconv stdin in loops from
32053 /dev/null.
32054 * iconvdata/tst-tables.sh: Redirect tst-table.sh stdin in loop
32055 from /dev/null
32056 * posix/tst-getconf.sh: Redirect getconf stdin in loop from
32057 /dev/null.
32058
481b90b9
AJ
320592012-10-22 Andreas Jaeger <aj@suse.de>
32060
2a0e2669
AJ
32061 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_LARGEFILE):
32062 Define always.
32063 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE): Likewise.
32064
76e38f9a
AJ
32065 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
32066 bits/fcntl-linux.h.
32067
7cd37b43
AJ
32068 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (F_GETLK, F_SETLK)
32069 (F_SETLKW) [!F_GETLK]: Define values for [!__USE_FILE_OFFSET64].
32070
481b90b9
AJ
32071 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_LARGEFILE): Rename
32072 to __O_LARGEFILE.
32073 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Rename
32074 to __O_LARGEFILE.
32075
aba75984
JB
320762012-10-21 Jim Blandy <jimb@codesourcery.com>
32077 Joseph Myers <joseph@codesourcery.com>
32078
32079 * config.make.in (NM): New variable.
32080
88d4247f
AJ
320812012-10-21 Andreas Jaeger <aj@suse.de>
32082
32083 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Remove all
32084 definitions and declarations that are provided by
32085 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
32086
f2eed205
L
320872012-10-20 H.J. Lu <hongjiu.lu@intel.com>
32088
32089 [BZ #14683]
32090 * elf/Makefile (tests-static): Add tst-leaks1-static.
32091 (tests): Also depend on $(objpfx)tst-leaks1-static-mem.
32092 ($(objpfx)tst-leaks1-static): New rule.
32093 ($(objpfx)tst-leaks1-static-mem): Likewise.
32094 (tst-leaks1-static-ENV): New macro.
32095 * elf/dl-open.c (dl_open_worker): Check the main application
32096 only if SHARED is defined.
32097 * elf/tst-leaks1-static.c: New file.
32098
335e6931
AJ
320992012-10-20 Andreas Jaeger <aj@suse.de>
32100
32101 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: New file, contains
32102 generic values for Linux.
32103 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: Remove all definitions
32104 and declarations that are provided by <bits/fcntl-linux.h> and
32105 include <bits/fcntl-linux.h>.
32106 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
32107 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
32108
ac5c94d3
RM
321092012-10-20 Roland McGrath <roland@hack.frob.com>
32110
32111 * io/fcntl.h: Move include of <bits/types.h> to the top and
32112 include it unconditionally.
32113
de54b33a
L
321142012-10-20 H.J. Lu <hongjiu.lu@intel.com>
32115
228cfb01
L
32116 * wcsmbs/Makefile (tests-ifunc): New variable.
32117 (tests): Add $(tests-ifunc).
32118 * wcsmbs/test-wcschr-ifunc.c: New file.
32119 * wcsmbs/test-wcscmp-ifunc.c: Likewise.
32120 * wcsmbs/test-wcscpy-ifunc.c: Likewise.
32121 * wcsmbs/test-wcslen-ifunc.c: Likewise.
32122 * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
32123 * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
32124
69f07e5f
L
32125 * string/Makefile (tests-ifunc): New variable.
32126 (tests): Add $(tests-ifunc).
32127 * string/test-memccpy.c (TEST_NAME): New macro.
32128 * string/test-memchr.c (TEST_NAME): Likewise.
32129 * string/test-memcmp.c (TEST_NAME): Likewise.
32130 * string/test-memcpy.c (TEST_NAME): Likewise.
32131 * string/test-memmem.c (TEST_NAME): Likewise.
32132 * string/test-memmove.c (TEST_NAME): Likewise.
32133 * string/test-memset.c (TEST_NAME): Likewise.
32134 * string/test-rawmemchr.c (TEST_NAME): Likewise.
32135 * string/test-stpcpy.c (TEST_NAME): Likewise.
32136 * string/test-stpncpy.c (TEST_NAME): Likewise.
32137 * string/test-strcasecmp.c (TEST_NAME): Likewise.
32138 * string/test-strcasestr.c (TEST_NAME): Likewise.
32139 * string/test-strcat.c (TEST_NAME): Likewise.
32140 * string/test-strchr.c (TEST_NAME): Likewise.
32141 * string/test-strcmp.c(TEST_NAME): Likewise.
32142 * string/test-strcpy.c (TEST_NAME): Likewise.
32143 * string/test-strcspn.c (TEST_NAME): Likewise.
32144 * string/test-strlen.c (TEST_NAME): Likewise.
32145 * string/test-strncasecmp.c (TEST_NAME): Likewise.
32146 * string/test-strncmp.c (TEST_NAME): Likewise.
32147 * string/test-strncpy.c (TEST_NAME): Likewise.
32148 * string/test-strnlen.c (TEST_NAME): Likewise.
32149 * string/test-strpbrk.c (TEST_NAME): Likewise.
32150 * string/test-strrchr.c (TEST_NAME): Likewise.
32151 * string/test-strspn.c (TEST_NAME): Likewise.
32152 * string/test-strstr.c (TEST_NAME): Likewise.
32153 * string/test-bcopy-ifunc.c: New file.
32154 * string/test-bzero-ifunc.c: Likewise.
32155 * string/test-memccpy-ifunc.c: Likewise.
32156 * string/test-memchr-ifunc.c: Likewise.
32157 * string/test-memcmp-ifunc.c: Likewise.
32158 * string/test-memcpy-ifunc.c: Likewise.
32159 * string/test-memmem-ifunc.c: Likewise.
32160 * string/test-memmove-ifunc.c: Likewise.
32161 * string/test-mempcpy-ifunc.c: Likewise.
32162 * string/test-memset-ifunc.c: Likewise.
32163 * string/test-rawmemchr-ifunc.c: Likewise.
32164 * string/test-stpcpy-ifunc.c: Likewise.
32165 * string/test-stpncpy-ifunc.c: Likewise.
32166 * string/test-strcasecmp-ifunc.c: Likewise.
32167 * string/test-strcasestr-ifunc.c: Likewise.
32168 * string/test-strcat-ifunc.c: Likewise.
32169 * string/test-strchr-ifunc.c: Likewise.
32170 * string/test-strchrnul-ifunc.c: Likewise.
32171 * string/test-strcmp-ifunc.c: Likewise.
32172 * string/test-strcpy-ifunc.c: Likewise.
32173 * string/test-strcspn-ifunc.c: Likewise.
32174 * string/test-strlen-ifunc.c: Likewise.
32175 * string/test-strncasecmp-ifunc.c: Likewise.
32176 * string/test-strncat-ifunc.c: Likewise.
32177 * string/test-strncmp-ifunc.c: Likewise.
32178 * string/test-strncpy-ifunc.c: Likewise.
32179 * string/test-strnlen-ifunc.c: Likewise.
32180 * string/test-strpbrk-ifunc.c: Likewise.
32181 * string/test-strrchr-ifunc.c: Likewise.
32182 * string/test-strspn-ifunc.c: Likewise.
32183 * string/test-strstr-ifunc.c: Likewise.
32184
de54b33a
L
32185 * debug/Makefile (tests-ifunc): New variable.
32186 (tests): Add $(tests-ifunc).
32187 * debug/test-stpcpy_chk.c (TEST_NAME): New macro.
32188 * debug/test-strcpy_chk.c (TEST_NAME): Likewise.
32189 * debug/test-stpcpy_chk-ifunc.c: New file.
32190 * debug/test-strcpy_chk-ifunc.c: Likewise.
32191
88481c16
SP
321922012-10-20 Siddhesh Poyarekar <siddhesh@redhat.com>
32193
32194 [BZ #13601]
32195 * elf/dl-load.c (open_verify): Retry read if the entire ELF
32196 header is not read in.
32197
135948bd
JM
321982012-10-19 Joseph Myers <joseph@codesourcery.com>
32199
89f1c388
JM
32200 * io/Makefile ($(objpfx)ftwtest.out): Depend on ftwtest-sh. Pass
32201 script to $(SHELL) as $<. Pass $(common-objpfx) to script
32202 directly. Pass built executable to script as
32203 $(built-program-cmd).
32204 * io/ftwtest-sh (ldso): Remove variable. Run ftwtest directly as
32205 $testprogram without using LD_LIBRARY_PATH and $ldso.
32206
e40a0d21
JM
32207 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Pass
32208 $(run-program-prefix) to tst_fgetgrent.sh, not $(elf-objpfx) and
32209 $(rtld-installed-name).
32210 * grp/tst_fgetgrent.sh (elf_objpfx): Remove variable.
32211 (rtld_installed_name): Likewise.
32212 (library_path): Likewise.
32213 (run_program_prefix): New variable. Use it to run tst_fgetgrent.
32214 * iconvdata/Makefile ($(objpfx)tst-tables.out): Pass
32215 $(run-program-prefix) to tst-tables.sh.
32216 * iconvdata/tst-table.sh (run_program_prefix): New variable. Use
32217 it to run tst-table-from and tst-table-to.
32218 * iconvdata/tst-tables.sh (run_program_prefix): New variable.
32219 Pass it to tst-table.sh.
32220 * intl/Makefile ($(objpfx)tst-gettext.out): Pass
32221 $(run-program-prefix) to tst-gettext.sh.
32222 ($(objpfx)tst-translit.out): Pass $(run-program-prefix) to
32223 tst-translit.sh.
32224 ($(objpfx)tst-gettext2.out): Pass $(run-program-prefix) to
32225 tst-gettext2.sh.
32226 * intl/tst-gettext.sh (run_program_prefix): New variable. Use it
32227 to run tst-gettext.
32228 * intl/tst-gettext2.sh (run_program_prefix): New variable. Use it
32229 to run tst-gettext2.
32230 * intl/tst-translit.sh (run_program_prefix): New variable. Use it
32231 to run tst-translit.
32232 * malloc/Makefile ($(objpfx)tst-mtrace.out): Pass
32233 $(run-program-prefix) to tst-mtrace.sh.
32234 * malloc/tst-mtrace.sh (run_program_prefix): New variable. Use it
32235 to run tst-mtrace.
32236 * posix/Makefile ($(objpfx)wordexp-tst.out): Pass
32237 $(run-program-prefix) to wordexp-tst.sh, not $(elf-objpfx) and
32238 $(rtld-installed-name).
32239 * posix/wordexp-tst.sh (elf_objpfx): Remove variable.
32240 (rtld_installed_name): Likewise.
32241 (run_program_prefix): New variable. Use it to run wordexp-test.
32242
728e272a
JM
32243 * Makeconfig (ARCH): Remove all definitions.
32244 (machine): Likewise.
32245 [ARCH]: Remove conditional code.
32246 [!objdir]: Give error.
32247 [!objdir] (objpfx): Remove.
32248 [!objdir] (common-objpfx): Likewise.
32249 [!objdir] (common-objdir): Likewise.
32250 * configure.in (config_makefile): Remove. Hardcode Makefile in
32251 AC_CONFIG_FILES call.
32252 * configure: Regenerated.
32253
d528cdcf
JM
32254 [BZ #13888]
32255 * io/ftwtest-sh (tmp): Set to use the working directory, not /tmp
32256 or TMPDIR.
32257 (testout): Likewise.
32258
135948bd
JM
32259 * posix/Makefile ($(objpfx)tst-getconf.out): Pass
32260 $(built-program-cmd) to tst-getconf.sh, not $(elf-objpfx) and
32261 $(rtld-installed-name).
32262 * posix/tst-getconf.sh (elf_objpfx): Remove variable.
32263 (rtld_installed_name): Likwise.
32264 (runit): Remove function.
32265 (run_getconf): New variable, Use it for running getconf binary.
32266
38c78296
L
322672012-10-18 H.J. Lu <hongjiu.lu@intel.com>
32268
32269 [BZ #14716]
32270 * string/test-memmem.c (check_result): New function.
32271 (do_one_test): Use it.
32272 (check1): New function.
32273 (test_main): Use it.
32274
d077f65f
MT
322752012-10-18 Markus Trippelsdorf <markus@trippelsdorf.de>
32276
32277 * math/Makefile: Comment on slow compilation of test-tgmath2.c.
32278
ced52c71
JM
322792012-10-18 Joseph Myers <joseph@codesourcery.com>
32280
32281 * sysdeps/generic/_G_config.h (_G_OPEN64): Remove.
32282 (_G_LSEEK64): Likewise.
32283 (_G_MMAP64): Likewise.
32284 (_G_FSTAT64): Likewise.
32285 * sysdeps/unix/sysv/linux/_G_config.h (_G_OPEN64): Remove.
32286 (_G_LSEEK64): Likewise.
32287 (_G_MMAP64): Likewise.
32288 (_G_FSTAT64): Likewise.
32289 * libio/fileops.c (mmap_remap_check) [_G_MMAP64]: Make code
32290 unconditional. Call __mmap64 directly.
32291 (mmap_remap_check) [!_G_MMAP64]: Remove conditional code.
32292 (mmap_remap_check) [_G_LSEEK64]: Make code unconditional. Call
32293 __lseek64 directly.
32294 (mmap_remap_check) [!_G_LSEEK64]: Remove conditional code.
32295 (decide_maybe_mmap) [_G_MMAP64]: Make code unconditional. Call
32296 __mmap64 directly.
32297 (decide_maybe_mmap) [!_G_MMAP64]: Remove conditional code.
32298 (decide_maybe_mmap) [_G_LSEEK64]: Make code unconditional. Call
32299 __lseek64 directly.
32300 (decide_maybe_mmap) [!_G_LSEEK64]: Remove conditional code.
32301 (_IO_file_sync_mmap) [_G_LSEEK64]: Make code unconditional. Call
32302 __lseek64 directly.
32303 (_IO_file_sync_mmap) [!_G_LSEEK64]: Remove conditional code.
32304 (_IO_file_seek) [_G_LSEEK64]: Make code unconditional. Call
32305 __lseek64 directly.
32306 (_IO_file_seek) [!_G_LSEEK64]: Remove conditional code.
32307 (_IO_file_stat) [_G_FSTAT64]: Make code unconditional. Call
32308 __fxstat64 directly.
32309 (_IO_file_stat) [!_G_FSTAT64]: Remove conditional code.
32310 * libio/freopen64.c (freopen64) [_G_OPEN64]: Make code
32311 unconditional.
32312 (freopen64) [!_G_OPEN64]: Remove conditional code.
32313 * libio/fseeko64.c (fseeko64) [_G_LSEEK64]: Make code
32314 unconditional.
32315 (fseeko64) [!_G_LSEEK64]: Remove conditional code.
32316 * libio/ftello64.c (ftello64) [_G_LSEEK64]: Make code
32317 unconditional.
32318 (ftello64) [!_G_LSEEK64]: Remove conditional code.
32319 * libio/iofgetpos64.c (_IO_new_fgetpos64) [_G_LSEEK64]: Make code
32320 unconditional.
32321 (_IO_new_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
32322 * libio/iofopen64.c (_IO_fopen64) [_G_OPEN64]: Make code
32323 unconditional.
32324 (_IO_fopen64) [!_G_OPEN64]: Remove conditional code.
32325 * libio/iofsetpos64.c (_IO_new_fsetpos64) [_G_LSEEK64]: Make code
32326 unconditional.
32327 (_IO_new_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
32328 * libio/oldiofgetpos64.c (_IO_old_fgetpos64) [_G_LSEEK64]: Make code
32329 unconditional.
32330 (_IO_old_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
32331 * libio/oldiofsetpos64.c (_IO_old_fsetpos64) [_G_LSEEK64]: Make code
32332 unconditional.
32333 (_IO_old_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
32334
b741de23
SP
323352012-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
32336
32337 [BZ #12140]
32338 * manual/memory.texi (Malloc Tunable Parameters): Add note
32339 about free list pointers overwriting some perturb bytes.
32340 Wording suggested by Roland McGrath.
32341
f9b9d9c9
JM
323422012-10-17 Joseph Myers <joseph@codesourcery.com>
32343
32344 * math/libm-test.inc (gamma_test): Do not call feclearexcept.
32345 (lgamma_test): Likewise.
32346 (tgamma_test): Likewise.
32347
172a631a
FW
323482012-10-16 Florian Weimer <fweimer@redhat.com>
32349
32350 [BZ #14700]
32351 * sysdeps/posix/opendir.c (MAX_DIR_BUFFER_SIZE): New constant.
32352 (__alloc_dir): Limit buffer to MAX_DIR_BUFFER_SIZE.
32353
e9f37252
MK
323542012-10-16 Maxim Kuvyrkov <maxim@codesourcery.com>
32355
32356 * NEWS: Mention BZ #14716.
32357 * string/str-two-way.h (two_way_short_needle): Fix thinko introduced
32358 when removing AVAILABLE1_USES_J macro.
32359
d394eb74
L
323602012-10-12 H.J. Lu <hongjiu.lu@intel.com>
32361
32362 * sysdeps/x86/bits/byteswap.h: Include <bits/types.h>.
32363 (__bswap_64): __uint64_t for unsigned 64-bit int.
32364
ca38dc17
AS
323652012-10-12 Andreas Schwab <schwab@linux-m68k.org>
32366
32367 * include/string.h (memmem): Declare libc hidden alias.
32368 * string/memmem.c (memmem): Define libc hidden alias.
32369 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use __open,
32370 __read, __close instead of open, read, close.
32371
9a387d1f
L
323722012-10-11 H.J. Lu <hongjiu.lu@intel.com>
32373
ac49ecaf
L
32374 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: New file.
32375 * sysdeps/x86_64/multiarch/memcmp.S (__memcmp_sse2): Make it
32376 global and hidden.
32377 * sysdeps/x86_64/multiarch/memcpy.S (__memcpy_sse2): Likewise.
32378 * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy_sse2): Likewise.
32379 * sysdeps/x86_64/multiarch/rawmemchr.S (__rawmemchr_sse42):
32380 Likewise.
32381 (__rawmemchr_sse2): Likewise.
32382 * sysdeps/x86_64/multiarch/strcat.S (STRCAT_SSE2): Likewise.
32383 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Likewise.
32384 (__strchr_sse2): Likewise.
32385 * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Likewise.
32386 * sysdeps/x86_64/multiarch/strcmp.S (STRCMP_SSE2): Likewise.
32387 (__strcasecmp_sse2): Likewise.
32388 (__strncasecmp_sse2): Likewise.
32389 * sysdeps/x86_64/multiarch/strcpy.S (STRCPY_SSE2): Likewise.
32390 * sysdeps/x86_64/multiarch/strlen.S (__strlen_sse2): Likewise.
32391 * sysdeps/x86_64/multiarch/strnlen.S (__strnlen_sse2): Likewise.
32392 * sysdeps/x86_64/multiarch/strrchr.S (__strrchr_sse42): Likewise.
32393 (__strrchr_sse2): Likewise.
32394 * sysdeps/x86_64/multiarch/memcmp.S: Add comments for
32395 ifunc-impl-list.c.
32396 * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
32397 * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
32398 * sysdeps/x86_64/multiarch/memmove.c: Likewise.
32399 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
32400 * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
32401 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
32402 * sysdeps/x86_64/multiarch/memset.S: Likewise.
32403 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
32404 * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise.
32405 * sysdeps/x86_64/multiarch/stpcpy.S: Likewise.
32406 * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
32407 * sysdeps/x86_64/multiarch/strcasecmp_l.S: Likewise.
32408 * sysdeps/x86_64/multiarch/strcasestr-c.c: Likewise.
32409 * sysdeps/x86_64/multiarch/strcat.S: Likewise.
32410 * sysdeps/x86_64/multiarch/strchr.S: Likewise.
32411 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
32412 * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
32413 * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
32414 * sysdeps/x86_64/multiarch/strlen.S: Likewise.
32415 * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
32416 * sysdeps/x86_64/multiarch/strncat.S: Likewise.
32417 * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
32418 * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
32419 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
32420 * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
32421 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
32422 * sysdeps/x86_64/multiarch/strspn.S: Likewise.
32423 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
32424 * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
32425 * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
32426
b090e8ea
L
32427 * sysdeps/i386/i686/multiarch/bcopy.S (__bcopy_ia32): Make it
32428 global and hidden.
32429 * sysdeps/i386/i686/multiarch/bzero.S (__bzero_ia32): Likewise.
32430 * sysdeps/i386/i686/multiarch/memcmp.S (__memcmp_ia32): Likewise.
32431 * sysdeps/i386/i686/multiarch/memcpy.S (__memcpy_ia32): Likewise.
32432 * sysdeps/i386/i686/multiarch/memmove.S (__memmove_ia32):
32433 Likewise.
32434 * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy_ia32):
32435 Likewise.
32436 * sysdeps/i386/i686/multiarch/strcat.S (STRCAT_IA32): Likewise.
32437 * sysdeps/i386/i686/multiarch/strcmp.S (__STRCMP_IA32): Likewise.
32438 * sysdeps/i386/i686/multiarch/strcpy.S (STRCPY_IA32): Likewise.
32439 * sysdeps/i386/i686/multiarch/bcopy.S: Add comments for
32440 ifunc-impl-list.c.
32441 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
32442 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
32443 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
32444 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
32445 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
32446 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
32447 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
32448 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
32449 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
32450 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
32451 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
32452 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
32453 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
32454 * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
32455 * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
32456 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
32457 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
32458 * sysdeps/i386/i686/multiarch/strcasestr-c.c: Likewise.
32459 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
32460 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
32461 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
32462 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
32463 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
32464 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
32465 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
32466 * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
32467 * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
32468 * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
32469 * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
32470 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
32471 * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
32472 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
32473 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
32474 * sysdeps/i386/i686/multiarch/strstr-c.c: Likewise.
32475 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
32476 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
32477 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
32478 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
32479 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
32480 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
32481 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: New file.
32482
11dd4af6
L
32483 * Rules [$(multi-arch) = no] (tests): Filter out $(tests-ifunc).
32484 [$(multi-arch) = no] (xtests): Filter out $(xtests-ifunc).
32485 * include/ifunc-impl-list.h: New file.
32486 * misc/ifunc-impl-list.c: Likewise.
32487 * misc/Makefile (routines): Add ifunc-impl-list.
32488 * misc/Versions (GLIBC_PRIVATE): Add __libc_ifunc_impl_list.
32489 * string/test-string.h: Include <ifunc-impl-list.h>.
57f41c40
AS
32490 (func_list, func_count, impl_count, impl_array) [TEST_IFUNC &&
32491 TEST_NAME]: New variables.
11dd4af6
L
32492 (FOR_EACH_IMPL): Support func_list if TEST_IFUNC and TEST_NAME
32493 are defined.
32494 (test_init): Call __libc_ifunc_impl_list to initialize
32495 func_list if TEST_IFUNC and TEST_NAME are defined.
32496
9a387d1f
L
32497 * string/Makefile (strop-tests): Add bcopy and bzero.
32498 * string/test-bcopy.c: New file.
32499 * string/test-bzero.c: Likewise.
32500 * string/test-memmove.c: Support bcopy test if TEST_BCOPY is
32501 defined.
32502 * string/test-memset.c: Support bzero test if TEST_BZERO is
32503 defined.
32504 * sysdeps/x86_64/multiarch/bcopy.S (bcopy): Jump to
32505 __libc_memmove.
32506 * sysdeps/x86_64/multiarch/bzero.S (__bzero): Jump to
32507 __libc_memset.
32508 * sysdeps/x86_64/multiarch/memset.S (__libc_memset): New alias
32509 of memset.
32510
472371b9
JM
325112012-10-10 Joseph Myers <joseph@codesourcery.com>
32512
1e4a9536
JM
32513 * configure.in: Run $CXX, not cc1plus, to locate C++ headers.
32514 * configure: Regenerated.
32515
d173d12e
JM
32516 * Makeconfig (+link-static-before-libc): Don't include
32517 $(link-static-libc).
32518
472371b9
JM
32519 * libio/libio.h (_IO_pos_t): Remove.
32520
89a3ad0b
AO
325212012-10-10 Alexandre Oliva <aoliva@redhat.com>
32522
32523 * NEWS: Add note about FIPS mode. Wording suggested by Roland
32524 McGrath.
32525
e7451425
AO
325262012-10-10 Alexandre Oliva <aoliva@redhat.com>
32527
32528 * crypt/crypt-entry.c: Include fips-private.h.
32529 (__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled.
32530 * crypt/md5c-test.c (main): Tolerate disabled MD5.
32531 * sysdeps/unix/sysv/linux/fips-private.h: New file.
32532 * sysdeps/generic/fips-private.h: New file, dummy fallback.
32533
4ba74a35
AO
325342012-10-10 Alexandre Oliva <aoliva@redhat.com>
32535
32536 * crypt/crypt-private.h: Include stdbool.h.
32537 (_ufc_setup_salt_r): Return bool.
32538 * crypt/crypt-entry.c: Include errno.h.
32539 (__crypt_r): Return NULL with EINVAL for bad salt.
32540 * crypt/crypt_util.c (bad_for_salt): New.
32541 (_ufc_setup_salt_r): Check that salt is long enough and within
32542 the specified alphabet.
32543 * crypt/badsalttest.c: New file.
32544 * crypt/Makefile (tests): Add it.
32545 ($(objpfx)badsalttest): New.
32546
f96f1242
MK
325472012-10-09 Maxim Kuvyrkov <maxim@codesourcery.com>
32548
32549 * NEWS: Add entry for BZ #14602.
32550
0e8e0c1c
JM
325512012-10-09 Joseph Myers <joseph@codesourcery.com>
32552
32553 * math/gen-libm-test.pl (parse_args): Handle comparison macros as
32554 type-generic.
32555 * math/libm-test.inc: Update comment listing what functions and
32556 macros are tested.
32557 (isgreater_test): New function.
32558 (isgreaterequal_test): Likewise.
32559 (isless_test): Likewise.
32560 (islessequal_test): Likewise.
32561 (islessgreater_test): Likewise.
32562 (isunordered_test): Likewise.
32563 (main): Call the new functions.
32564
273edc5e
RM
325652012-10-09 Roland McGrath <roland@hack.frob.com>
32566
b8493de0
RM
32567 * aclocal.m4 (GLIBC_PROVIDES): Provide _AS_BASENAME_PREPARE,
32568 _AS_ME_PREPARE, _AS_VAR_ARITH_PREPARE, AS_SHELL_FN_as_fn_set_status,
32569 AS_SHELL_FN_as_fn_exit, AS_SHELL_FN_ac_fn_c_try_compile.
32570 * sysdeps/i386/configure: Regenerated.
32571 * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
32572 * sysdeps/mach/configure: Regenerated.
32573 * sysdeps/mach/hurd/configure: Regenerated.
32574 * sysdeps/powerpc/configure: Regenerated.
32575 * sysdeps/powerpc/powerpc32/configure: Regenerated.
32576 * sysdeps/powerpc/powerpc64/configure: Regenerated.
32577 * sysdeps/s390/s390-32/configure: Regenerated.
32578 * sysdeps/s390/s390-64/configure: Regenerated.
32579 * sysdeps/sh/configure: Regenerated.
32580 * sysdeps/sparc/configure: Regenerated.
32581 * sysdeps/unix/sysv/linux/configure: Regenerated.
32582 * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
32583 * sysdeps/x86_64/configure: Regenerated.
32584
273edc5e
RM
32585 * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
32586 defined. Don't check if MAP is NULL.
32587
c8450f70
JM
325882012-10-09 Joseph Myers <joseph@codesourcery.com>
32589
32590 * sysdeps/generic/_G_config.h (_G_off64_t): Remove.
32591 (_G_stat64): Likewise.
32592 * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove.
32593 (_G_stat64): Likewise.
32594 * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64
32595 instead of struct _G_stat64.
32596 * libio/fileops.c (mmap_remap_check): Likewise.
32597 (decide_maybe_mmap): Likewise.
32598 (_IO_new_file_seekoff): Likewise.
32599 (_IO_file_stat): Likewise.
32600 * libio/libio.h (_IO_off64_t): Define to __off64_t, not
32601 _G_off64_t.
32602 * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64
32603 instead of struct _G_stat64.
32604 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
32605
57e605ba
MK
326062012-10-08 Maxim Kuvyrkov <maxim@codesourcery.com>
32607
32608 [BZ #14602]
32609 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
32610 Replace with ...
32611 (CHECK_EOL): New macro.
32612 (two_way_short_needle): Check beginning of haystack for EOL. Use
32613 CHECK_EOL.
32614 * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
32615 Replace with CHECK_EOL.
32616 * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
32617 Replace with CHECK_EOL.
32618
ef1bb361
JM
326192012-10-08 Joseph Myers <joseph@codesourcery.com>
32620
32621 * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
32622 type-generic.
32623 * math/libm-test.inc: Update comment listing what functions and
32624 macros are tested.
32625 (finite_test): New function.
32626 (isinf_test): Likewise.
32627 (isnan_test): Likewise.
32628 (fpclassify_test): Test subnormal input.
32629 (isfinite_test): Likewise.
32630 (isnormal_test): Likewise.
32631 (main): Call the new functions.
32632
55f11534
JN
326332012-10-08 Jonathan Nieder <jrnieder@gmail.com>
32634
32635 [BZ #14660]
32636 * Makerules (%.dynsym): Force C locale when running
32637 $(OBJDUMP) --dynamic-syms.
32638
1ab29350
AS
326392012-10-08 Andreas Schwab <schwab@linux-m68k.org>
32640
32641 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
32642 <stdint.h>.
32643
f1ecb7ef
DM
326442012-10-06 David S. Miller <davem@davemloft.net>
32645
32646 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
32647 upper 32-bits of the length value in %o2 since we use branch-on-register
32648 tests which consider the entire 64-bit register.
32649
5d41d91a
L
326502012-10-06 H.J. Lu <hongjiu.lu@intel.com>
32651
32652 * string/test-strstr.c (check2): Add a test for page boundary.
32653
3baddb72
DM
326542012-10-05 David S. Miller <davem@davemloft.net>
32655
32656 * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
32657 * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
32658 file.
32659 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
32660 sysdep_routines.
32661 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
32662 * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
32663 and bzero when HWCAP_SPARC_CRYPTO is present.
32664
9cee5585
L
326652012-10-05 H.J. Lu <hongjiu.lu@intel.com>
32666
d7e0dab9
L
32667 [BZ #14602]
32668 * string/test-strstr.c (check2): New function.
32669 (test_main): Call check2.
32670
03759f47
L
32671 * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
32672 and bug-strchr1.
32673 * string/bug-strcasestr1.c (do_test): Moved to ...
32674 * string/test-strcasestr.c (check1): Here. New function.
32675 (do_one_test): Break out result checking code into ...
32676 (check_result): This. New function.
32677 (do_one_test): Call check_result.
32678 (test_main): Call check1.
32679 * string/bug-strchr1.c (do_test): Moved to ...
32680 * string/test-strchr.c (check1): Here. New function.
32681 (do_one_test): Break out result checking code into ...
32682 (check_result): This. New function.
32683 (do_one_test): Call check_result.
32684 (test_main): Call check1.
32685 * string/bug-strstr1.c (main): Moved to ...
046f153e 32686 * string/test-strstr.c (check1): Here. New function.
03759f47
L
32687 (do_one_test): Break out result checking code into ...
32688 (check_result): This. New function.
32689 (do_one_test): Call check_result.
32690 (test_main): Call check1.
32691 * string/bug-strcasestr1.c: Removed.
32692 * string/bug-strchr1.c: Likewise.
32693 * string/bug-strstr1.c: Likewise.
32694
53cea63e
L
32695 * elf/Makefile (dl-routines): Add hwcaps.
32696 * elf/dl-support.c (_dl_important_hwcaps): Removed.
32697 * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
32698 (_dl_important_hwcaps): Moved to ...
32699 * elf/dl-hwcaps.c: Here. New file.
32700 * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
32701
9cee5585 32702 [BZ #14557]
bb859b06
L
32703 * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
32704 if IS_IN_rtld isn't defined.
32705
9cee5585
L
32706 * elf/dl-support.c (_dl_sysinfo_map): New.
32707 Include "get-dynamic-info.h" and "setup-vdso.h".
32708 (_dl_non_dynamic_init): Call setup_vdso.
32709 * elf/dynamic-link.h: Don't include <assert.h>.
32710 (elf_get_dynamic_info): Moved to ...
32711 * elf/get-dynamic-info.h: Here. New file.
32712 * elf/dynamic-link.h: Include "get-dynamic-info.h".
32713 * elf/rtld.c (dl_main): Break out vDSO setup code into ...
32714 * elf/setup-vdso.h: Here. New file.
32715 * elf/rtld.c: Include "setup-vdso.h".
32716 (dl_main): Call setup_vdso.
32717
23c31b76
JM
327182012-10-05 Joseph Myers <joseph@codesourcery.com>
32719
28234b07
JM
32720 * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
32721 creal in comment listing functions tested. List finite, isinf,
32722 isnan, isless, islessequal, isgreater, isgreaterequal,
32723 islessgreater, isunordered, lgamma_r and pow10 as functions and
32724 macros not tested. Mention which functions not tested are aliases
32725 for other functions. Fix typo. Note that signs of NaNs are not
32726 tested.
32727
23c31b76
JM
32728 * scripts/config.guess: Update from config.git.
32729 * scripts/config.sub: Likewise.
32730
9043e228
RM
327312012-10-04 Roland McGrath <roland@hack.frob.com>
32732
32733 * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
32734 * misc/madvise.c (madvise): Renamed to __madvise.
32735 Make madvise a weak alias.
32736 * include/sys/mman.h: Declare __madvise.
32737 Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
32738 * sysdeps/unix/syscalls.list
32739 (madvise): Make __madvise the strong name, and madvise a weak alias.
32740 * sysdeps/unix/sysv/linux/syscalls.list
32741 (madvise, mmap): Remove redundant entries.
32742 * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
32743 * malloc/malloc.c (mtrim): Likewise.
32744 * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
32745
f57f8055
RM
327462012-10-03 Roland McGrath <roland@hack.frob.com>
32747
32748 * sysdeps/mach/hurd/dl-cache.c: File removed.
32749 * config.h.in (USE_LDCONFIG): New #undef.
32750 * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
32751 * configure: Regenerated.
32752 * elf/Makefile (dl-routines): Add dl-cache only under
32753 [$(use-ldconfig) = yes].
32754 * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
32755 cache on [USE_LDCONFIG].
32756 * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
32757 [USE_LDCONFIG].
32758 * elf/rtld.c (dl_main): Likewise.
32759
5bb0c10a
PT
327602012-10-03 Pino Toscano <toscano.pino@tiscali.it>
32761
32762 * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
32763 _SC_LEVEL4_CACHE_LINESIZE.
32764
010188c6
RM
327652012-10-03 Roland McGrath <roland@hack.frob.com>
32766
32767 * sysdeps/unix/bsd/confstr.h: File removed.
32768
b6c5ec07
AO
327692012-10-02 Alexandre Oliva <aoliva@redhat.com>
32770
32771 * scripts/check-local-headers.sh: Exclude sys/sdt.h and
32772 sys/sdt-config.h.
32773
408223d4
RM
327742012-10-02 Roland McGrath <roland@hack.frob.com>
32775
32776 * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
32777 Make 'mapoff' field ElfW(Off) rather than off_t.
32778
bb9510dc
DL
327792012-10-02 Dmitry V. Levin <ldv@altlinux.org>
32780
fc997c6e
DL
32781 * nscd/Makefile: Remove nscd-cflags and all its users.
32782 (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
32783 (CFLAGS-nonlib): Add compiler flags for nscd modules.
32784
bb9510dc
DL
32785 [BZ #10631]
32786 * malloc.c (malloc_printerr): Clarify error message.
32787
05699367
L
327882012-10-02 H.J. Lu <hongjiu.lu@intel.com>
32789
32790 [BZ #14648]
32791 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
32792 Set bit_FMA_Usable if FMA is supported.
32793 * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
32794 macro.
32795 (bit_FMA4_Usable): Updated.
32796 (index_FMA_Usable): New macro.
32797 (CPUID_FMA): Likewise
32798 (HAS_FMA): Defined with bit_FMA_Usable.
32799
51367701
RM
328002012-10-01 Roland McGrath <roland@hack.frob.com>
32801
32802 * bits/types.h (__swblk_t): Type removed.
32803 * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
32804 * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
32805 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
32806 (__SWBLK_T_TYPE): Likewise.
32807 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
32808 (__SWBLK_T_TYPE): Likewise.
32809 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
32810 (__SWBLK_T_TYPE): Likewise.
32811 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
32812 (__SWBLK_T_TYPE): Likewise.
32813
4d57bf63 328142012-10-01 Patsy Franklin <pfrankli@redhat.com>
1e9d84cd 32815 Honza Horak <hhorak@redhat.com>
4d57bf63
JL
32816
32817 * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
32818 (xdr_mapname): Use YPMAXMAP as maxsize.
32819 (xdr_peername): Use YPMAXPEER as maxsize.
32820 (xdr_keydat): Use YPAXRECORD as maxsize.
32821 (xdr_valdat): Use YPMAXRECORD as maxsize.
32822
93c65d43
RM
328232012-10-01 Roland McGrath <roland@hack.frob.com>
32824
497a03d6
RM
32825 * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
32826
93c65d43
RM
32827 * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
32828 * csu/init-first.c: ... here.
32829 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
32830 * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
32831 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
32832 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
32833 * sysdeps/i386/init-first.c: File removed.
32834 * sysdeps/sh/init-first.c: File removed.
32835
bec749fd
JM
328362012-10-01 Joseph Myers <joseph@codesourcery.com>
32837
32838 [BZ #14645]
32839 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
32840 if x * y might underflow to zero and z is zero.
32841 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
32842 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
32843 * math/libm-test.inc (min_subnorm_value): New variable.
32844 (fma_test): Add more tests.
32845 (fma_test_towardzero): Likewise.
32846 (fma_test_downward): Likewise
32847 (fma_test_upward): Likewise.
32848 (initialize): Set min_subnorm_value.
32849
8ec5b013
JM
328502012-09-29 Joseph Myers <joseph@codesourcery.com>
32851
32852 [BZ #14638]
32853 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
32854 0 + 0.
32855 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
32856 mode for addition resulting in exact zero.
32857 * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
32858 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
32859 exact 0 + 0.
32860 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
32861 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
32862 * math/libm-test.inc (fma_test): Add more tests.
32863 (fma_test_towardzero): New function.
32864 (fma_test_downward): Likewise.
32865 (fma_test_upward): Likewise.
32866 (main): Call the new functions.
32867
b1fa802e
DM
328682012-09-28 David S. Miller <davem@davemloft.net>
32869
32870 * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
32871
d3b9fd9e
RM
328722012-09-28 Roland McGrath <roland@hack.frob.com>
32873
ea4d37b3
RM
32874 * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
32875 instead of SIGALRM.
32876
ac51c949
RM
32877 * sysdeps/gnu/_G_config.h: Moved to ...
32878 * sysdeps/unix/sysv/linux/_G_config.h: ... here.
32879 * sysdeps/mach/hurd/_G_config.h: Moved to ...
32880 * sysdeps/generic/_G_config.h: ... here.
32881
28c195f7
RM
32882 * io/open.c (__open): Renamed to __libc_open. Make __open an alias.
32883
848917f9
RM
32884 * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
32885
6bacf05b
RM
32886 * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
32887 Conditionalize target on [libnss_test1.so-version].
32888
91363dbb
RM
32889 * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
32890
cc87f7d8
RM
32891 * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
32892 (elfobjdir): Move out of conditionals.
32893
b1c608fe
RM
32894 * nss/nsswitch.c (nss_new_service): Conditionalize definition and
32895 declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
32896 (__nss_lookup_function): Conditionalize label remove_from_tree on
32897 [!DO_STATIC_NSS || SHARED], matching its only use.
d3b9fd9e 32898
1d9a6d96
DM
328992012-09-28 David S. Miller <davem@davemloft.net>
32900
32901 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
32902 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
32903 file.
32904 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
32905 sysdep_routines.
32906 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
32907 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
32908 when HWCAP_SPARC_CRYPTO is present.
32909
72581615
PT
329102012-09-28 Pino Toscano <toscano.pino@tiscali.it>
32911
32912 * io/tst-mknodat.c: Create a FIFO instead of a socket.
32913
715a900c
JL
329142012-09-28 Andreas Schwab <schwab@linux-m68k.org>
32915
32916 [BZ #6530]
32917 * stdio-common/vfprintf.c (process_string_arg): Revert
32918 2000-07-22 change.
32919
329202011-09-28 Jonathan Nieder <jrnieder@gmail.com>
32921
32922 * stdio-common/Makefile (tst-sprintf-ENV): Set environment
32923 for testcase.
32924 * stdio-common/tst-sprintf.c: Include <locale.h>
32925 (main): Test sprintf's handling of incomplete multibyte
32926 characters.
32927
9bac1d86
L
329282012-09-28 H.J. Lu <hongjiu.lu@intel.com>
32929
32930 * elf/dl-runtime.c (VERSYMIDX): Removed.
32931 * elf/dl-version.c (VERSYMIDX): Likewise.
32932 * elf/do-rel.h (VERSYMIDX): Likewise.
32933 (VALIDX): Likewise.
32934 * elf/dynamic-link.h (VERSYMIDX): Likewise.
32935 * elf/rtld.c (VALIDX): Likewise.
32936 (ADDRIDX): Likewise.
9bac1d86
L
32937 * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
32938 * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
32939 * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
9c464f9c
L
32940 * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
32941 (VALIDX): Likewise.
32942 (ADDRIDX): Likewise.
9bac1d86 32943
b31606c0
PT
329442012-09-28 Pino Toscano <toscano.pino@tiscali.it>
32945
32946 * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
32947
11541177
JL
329482012-09-28 Dmitry V. Levin <ldv@altlinux.org>
32949
32950 [BZ #11438]
32951 * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
32952 to global scope.
32953 * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
32954 addresses are in the same scope as 192.0.2/24.
32955 * posix/gai.conf: Document new scope table defaults.
32956
adb26fae
SP
329572012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
32958
32959 [BZ #5298]
32960 * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
32961 for ftell. Compute offsets from write pointers instead.
32962 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
32963
4573c6b0
SP
329642012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
32965
32966 [BZ #14543]
32967 * libio/Makefile (tests): New test case tst-fseek.
32968 * libio/tst-fseek.c: New test case to verify that fseek/ftell
32969 combination works in wide mode.
32970 * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
32971 state when the external buffer state changes.
32972
aa9bbfe6
DM
329732012-09-27 David S. Miller <davem@davemloft.net>
32974
32975 [BZ #14376]
32976 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
32977 pass reloc->r_addend in as the 'high' argument to
32978 sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
32979
784421e7
DM
32980 * sysdeps/sparc/fpu/libm-test-ulps: Update.
32981
c39bc8b8
PT
329822012-09-28 Pino Toscano <toscano.pino@tiscali.it>
32983
32984 * rt/tst-aio2.c: Include <pthread.h>.
32985 * rt/tst-aio3.c: Likewise.
32986
1ccc2399
SE
329872012-09-27 Steve Ellcey <sellcey@mips.com>
32988
32989 * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
32990
31ed4153
L
329912012-09-27 H.J. Lu <hongjiu.lu@intel.com>
32992
25f5f885
L
32993 * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
32994 contents on [SHARED].
31ed4153 32995
b7bfe116
MP
329962012-09-26 Marek Polacek <polacek@redhat.com>
32997
32998 [BZ #14530]
32999 [BZ #13741]
33000 * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
33001 for C++ and GCC <4.3 as well as for non GCC compilers.
33002
43c4edba
MT
330032012-09-26 Markus Trippelsdorf <markus@trippelsdorf.de>
33004
33005 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
33006
6a1bf82f
RM
330072012-09-25 Roland McGrath <roland@hack.frob.com>
33008
33009 * Makefile.in (all, install): Declare with .PHONY.
33010 Reported by Michael Hope <michael.hope@linaro.org>.
33011
8ad11b9a
TMQMF
330122012-09-25 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
33013
33014 * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
33015 * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
33016 system header.
33017 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
33018 Likewise.
33019 (sydep_routines): Add the new and the internal functions.
33020 * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
33021 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
33022 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
33023 (GLIBC_2.17): Add the new function.
33024 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
33025 (GLIBC_2.17): Likewise.
33026 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
33027 (GLIBC_2.17): Likewise.
33028 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
33029 (GLIBC_2.17): Likewise.
33030 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
33031
7e2fca8d
AM
330322012-09-25 Alan Modra <amodra@gmail.com>
33033
33034 * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
33035 Add release barrier before setting once_control to say
33036 initialisation is done. Add hints on lwarx. Use macro in
33037 place of isync.
33038 (clear_once_control): Add release barrier.
33039
b87c4b24
JM
330402012-09-25 Joseph Myers <joseph@codesourcery.com>
33041
d032e0d2
JM
33042 [BZ #13629]
33043 * math/s_clog.c (__clog): Handle more values close to |z| = 1
33044 specially.
33045 * math/s_clog10.c (__clog10): Likewise.
33046 * math/s_clog10f.c (__clog10f): Likewise.
33047 * math/s_clog10l.c (__clog10l): Likewise.
33048 * math/s_clogf.c (__clogf): Likewise.
33049 * math/s_clogl.c (__clogl): Likewise.
33050 * math/Makefile (libm-calls): Add x2y2m1.
33051 * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
33052 (__x2y2m1): Likewise.
33053 (__x2y2m1l): Likewise.
33054 * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
33055 * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
33056 * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
33057 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
33058 * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
33059 * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
33060 * math/libm-test.inc (clog_test, clog10_test): Add more tests.
33061 * sysdeps/i386/fpu/libm-test-ulps: Update.
33062 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33063
b87c4b24
JM
33064 [BZ #14621]
33065 * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
33066 int as type of variable DEPTH.
33067 (glob): Use size_t instead of int as type of variables NEWCOUNT
33068 and OLD_PATHC.
33069
6d3bf199
LD
330702012-09-25 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
33071
22bf5c17
LD
33072 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
33073 Add s_sincosf-sse2.
33074 * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
33075 * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
33076 * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
33077 macros for using routine as __sincosf_ia32.
33078 Use macro for function declaration and weak_alias.
33079 * sysdeps/i386/fpu/libm-test-ulps: Update.
33080
33081 * sysdeps/x86_64/fpu/s_sincosf.S: New file.
33082 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
33083
33084 * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
6d3bf199
LD
33085 subnormal argument.
33086 * math/s_cexpf.c (__cexpf): Likewise.
33087 * math/s_csinf.c (__csinf): Likewise.
33088 * math/s_csinhf.c (__csinhf): Likewise.
33089 * math/s_ctanf.c (__ctanf): Likewise.
33090 * math/s_ctanhf.c (__ctanhf): Likewise.
33091 * math/s_ccosh.c (__ccoshf): Likewise.
33092 * math/s_cexp.c (__cexpl): Likewise.
33093 * math/s_csin.c (__csin): Likewise.
33094 * math/s_csinh.c (__csinh): Likewise.
33095 * math/s_ctan.c (__ctan): Likewise.
33096 * math/s_ctanh.c (ctanh): Likewise.
33097 * math/s_ccoshl.c (__ccoshl): Likewise.
33098 * math/s_cexpl.c (__cexpl): Likewise.
33099 * math/s_csinl.c (__csinl): Likewise.
33100 * math/s_csinhl.c (__csinhl): Likewise.
33101 * math/s_ctanl.c (__ctanl): Likewise.
33102 * math/s_ctanhl.c (__ctanhl): Likewise.
33103
203e5603
JM
331042012-09-25 Joseph Myers <joseph@codesourcery.com>
33105
33106 * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
33107 (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
33108 (_IO_off_t): Define to __off_t, not _G_off_t.
33109 (_IO_pid_t): Define to __pid_t, not _G_pid_t.
33110 (_IO_uid_t): Define to __uid_t, not _G_uid_t.
33111 (_IO_wint_t): Define to wint_t, not _G_wint_t.
33112 * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
33113 type of __dummy and __dummy2 fields.
33114 * sysdeps/generic/_G_config.h (_G_size_t): Remove.
33115 (_G_ssize_t): Likewise.
33116 (_G_off_t): Likewise.
33117 (_G_pid_t): Likewise.
33118 (_G_uid_t): Likewise.
33119 (_G_wchar_t): Likewise.
33120 (_G_wint_t): Likewise.
33121 * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
33122 (_G_ssize_t): Likewise.
33123 (_G_off_t): Likewise.
33124 (_G_pid_t): Likewise.
33125 (_G_uid_t): Likewise.
33126 (_G_wchar_t): Likewise.
33127 (_G_wint_t): Likewise.
33128 * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove.
33129 (_G_ssize_t): Likewise.
33130 (_G_off_t): Likewise.
33131 (_G_pid_t): Likewise.
33132 (_G_uid_t): Likewise.
33133 (_G_wchar_t): Likewise.
33134 (_G_wint_t): Likewise.
33135
9fab36eb
SP
331362012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
33137
33138 * malloc/arena.c: Include malloc-sysdep.h.
33139 (shrink_heap): Use check_may_shrink_heap to decide if madvise
33140 is sufficient to shrink the heap or an unmap is needed.
33141 * sysdeps/generic/malloc-sysdep.h: New file. Define
33142 new function check_may_shrink_heap.
33143 * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file. Define
33144 new function check_may_shrink_heap.
33145
2b4f00d1
SP
331462012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
33147
33148 * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
33149 comments.
33150
9a9028b1
DL
331512012-09-24 Dmitry V. Levin <ldv@altlinux.org>
33152
57c69bef
DL
33153 * catgets/test-gencat.sh: Add "set -e".
33154 * elf/tst-pathopt.sh: Likewise.
33155 * grp/tst_fgetgrent.sh: Likewise.
33156 * iconvdata/run-iconv-test.sh: Likewise.
33157 * intl/tst-gettext.sh: Likewise.
33158 * intl/tst-gettext2.sh: Likewise.
33159 * intl/tst-gettext4.sh: Likewise.
33160 * intl/tst-gettext6.sh: Likewise.
33161 * intl/tst-translit.sh: Likewise.
33162 * io/ftwtest-sh: Likewise.
33163 * libio/test-freopen.sh: Likewise.
33164 * malloc/tst-mtrace.sh: Likewise.
33165 * posix/globtest.sh: Likewise.
33166 * posix/tst-getconf.sh: Likewise.
33167 * posix/wordexp-tst.sh: Likewise.
33168 * stdio-common/tst-printf.sh: Likewise.
33169 * stdio-common/tst-unbputc.sh: Likewise.
33170 * stdlib/tst-fmtmsg.sh: Likewise.
33171 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
33172 * catgets/Makefile: Do not specify -e option when running
33173 testsuite shell scripts.
33174 * elf/Makefile: Likewise.
33175 * grp/Makefile: Likewise.
33176 * iconvdata/Makefile: Likewise.
33177 * intl/Makefile: Likewise.
33178 * io/Makefile: Likewise.
33179 * libio/Makefile: Likewise.
33180 * malloc/Makefile: Likewise.
33181 * posix/Makefile: Likewise.
33182 * stdio-common/Makefile: Likewise.
33183 * stdlib/Makefile: Likewise.
33184 * sysdeps/x86_64/Makefile: Likewise.
33185
9a9028b1
DL
33186 * io/ftwtest-sh: Add copyright header.
33187 * posix/globtest.sh: Likewise.
33188 * posix/tst-getconf.sh: Likewise.
33189 * posix/wordexp-tst.sh: Likewise.
33190 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
33191
ced6f16e
L
331922012-09-24 H.J. Lu <hongjiu.lu@intel.com>
33193
94b32c39
L
33194 [BZ #13679]
33195 * Makeconfig (+link): Defined as $(+link-static) if
33196 $(build-shared) isn't yes.
33197 (link-tests): Defined as $(+link-static-tests) if $(build-shared)
33198 isn't yes.
33199 (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
33200
189e935b
L
33201 * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
33202
ced6f16e
L
33203 [BZ #14562]
33204 * malloc/arena.c (heap_trim): Properly get fencepost and adjust
33205 new chunk size with MALLOC_ALIGN_MASK.
33206
a9f8e53a
JM
332072012-09-24 Joseph Myers <joseph@codesourcery.com>
33208
33209 [BZ #5044]
33210 * stdio-common/printf_fphex.c: Include <stdbool.h> and
33211 <rounding-mode.h>.
33212 (__printf_fphex): Determine rounding using get_rounding_mode and
33213 round_away.
33214 * stdio-common/tst-printf-round.c (struct hex_test): New
33215 structure.
33216 (hex_tests): New variable.
33217 (test_hex_in_one_mode): New function.
33218 (do_test): Also run tests for hex float output.
33219
43153109
JM
332202012-09-21 Joseph Myers <joseph@codesourcery.com>
33221
33222 * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
33223 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
33224 * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
33225 * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
33226 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
33227 * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
33228 * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
33229 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
33230
8a26625d
JM
332312012-09-20 Joseph Myers <joseph@codesourcery.com>
33232
33233 * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
33234 * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
33235 * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
33236 * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
33237
f3fd569c
DL
332382012-09-19 Dmitry V. Levin <ldv@altlinux.org>
33239
33240 [BZ #14579]
33241 * elf/rtld.c (dl_main): Limit the check for self loading to normal
33242 mode only.
33243 * elf/tst-rtld-load-self.sh: New test.
33244 * elf/Makefile: Run it.
33245
63bbedd4
JM
332462012-09-18 Joseph Myers <joseph@codesourcery.com>
33247
33248 * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
33249 (tst-writev-ENV): Remove.
33250 * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
33251
626f8b6a
CM
332522012-09-17 Chris Metcalf <cmetcalf@tilera.com>
33253
33254 * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
33255
b7aaa4d6
JM
332562012-09-17 Joseph Myers <joseph@codesourcery.com>
33257
33258 * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
33259 unconditional.
33260 * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
33261 Likewise.
33262 * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
33263 * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
33264 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
33265 Likewise.
33266
65513990
L
332672012-09-14 H.J. Lu <hongjiu.lu@intel.com>
33268
33269 [BZ #14587]
33270 * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
33271 * config.make.in (have-cpp-asm-debuginfo): Removed.
33272 * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
33273 * configure: Regenerated.
33274
784761be
JM
332752012-09-14 Joseph Myers <joseph@codesourcery.com>
33276
33277 [BZ #5044]
33278 * stdio-common/printf_fp.c: Include <stdbool.h> and
33279 <rounding-mode.h>.
33280 (___printf_fp): Determine rounding using get_rounding_mode and
33281 round_away.
33282 * stdio-common/tst-printf-round.c: New file.
33283 * stdio-common/Makefile (tests): Add tst-printf-round.
33284 (link-libm): New variable.
33285 ($(objpfx)tst-printf-round): Depend in $(link-libm).
33286
9503345f
L
332872012-09-13 H.J. Lu <hongjiu.lu@intel.com>
33288
33289 [BZ #14576]
33290 * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
33291 * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
33292 Likewise.
33293 * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
33294 Likewise.
33295
ad35fc00
JM
332962012-09-13 Joseph Myers <joseph@codesourcery.com>
33297
33298 * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
33299 * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
33300 * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
33301 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
33302
6c9b0f68
JM
333032012-09-12 Joseph Myers <joseph@codesourcery.com>
33304
33305 [BZ #14518]
33306 * include/rounding-mode.h: New file.
33307 * sysdeps/generic/get-rounding-mode.h: Likewise.
33308 * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
33309 * stdlib/strtod_l.c: Include <rounding-mode.h>.
33310 (MAX_VALUE): New macro.
33311 (MIN_VALUE): Likewise.
33312 (overflow_value): New function.
33313 (underflow_value): Likewise.
33314 (round_and_return): Use overflow_value and underflow_value to
33315 determine return values in overflow and underflow cases. Use
33316 round_away to determine rounding depending on rounding mode.
33317 (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
33318 determine return values in overflow and underflow cases.
33319 * stdlib/tst-strtod-round.c: Include <fenv.h>.
33320 (struct test_results): New structure.
33321 (struct test): Use struct test_results to store expected results
33322 for all rounding modes.
33323 (TEST): Include expected results for all rounding modes.
33324 (test_in_one_mode): New function.
33325 (do_test): Use test_in_one_mode to compute and check results.
33326 Check results for all rounding modes.
33327 * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
33328 $(link-libm).
33329
19fcedd5
AM
333302012-12-09 Allan McRae <allan@archlinux.org>
33331
1e9d84cd 33332 * sysdeps/i386/fpu/libm-test-ulps: Update
19fcedd5 33333
8bbfd2f1
JM
333342012-09-11 Joseph Myers <joseph@codesourcery.com>
33335
33336 * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
33337 (_G_int32_t): Likewise.
33338 (_G_uint16_t): Likewise.
33339 (_G_uint32_t): Likewise.
33340 (_G_HAVE_BOOL): Likewise.
33341 (_G_HAVE_ATEXIT): Likewise.
33342 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
33343 (_G_HAVE_IO_FILE_OPEN): Likewise.
33344 * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
33345 (_G_int32_t): Likewise.
33346 (_G_uint16_t): Likewise.
33347 (_G_uint32_t): Likewise.
33348 (_G_HAVE_BOOL): Likewise.
33349 (_G_HAVE_ATEXIT): Likewise.
33350 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
33351 (_G_HAVE_IO_FILE_OPEN): Likewise.
33352 * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
33353 (_G_int32_t): Likewise.
33354 (_G_uint16_t): Likewise.
33355 (_G_uint32_t): Likewise.
33356 (_G_HAVE_BOOL): Likewise.
33357 (_G_HAVE_ATEXIT): Likewise.
33358 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
33359 (_G_HAVE_IO_FILE_OPEN): Likewise.
33360
b1dc5912
L
333612012-09-11 H.J. Lu <hongjiu.lu@intel.com>
33362
33363 * csu/libc-tls.c: Update copyright years.
33364
0e886ef9
JM
333652012-09-10 Joseph Myers <joseph@codesourcery.com>
33366
28361c5e
JM
33367 * libioP.h [_G_USING_THUNKS]: Make code unconditional.
33368 [!_G_USING_THUNKS]: Remove conditional code.
33369 * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
33370 * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
33371
0e886ef9
JM
33372 * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
33373 [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
33374 * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
33375 (_G_VTABLE_LABEL_PREFIX): Likewise.
33376 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
33377 * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
33378 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
33379 (_G_VTABLE_LABEL_PREFIX): Likewise.
33380 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
33381 * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
33382 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
33383 (_G_VTABLE_LABEL_PREFIX): Likewise.
33384 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
33385
bcba7aa2
L
333862012-09-10 H.J. Lu <hongjiu.lu@intel.com>
33387
33388 * libio/Makefile: Include ../Makeconfig before tests.
33389 (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
33390 only if $(build-shared) is yes.
33391
06585ee8
L
33392 * iconv/gconv_db.c: Update copyright years.
33393
80ccd52c
LD
333942012-09-10 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
33395
33396 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
33397 unwind info if defined PIC. Fix special cases description.
33398 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
33399
33400 * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
33401 DP_HI_MASK entry.
33402 * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
33403
691bc9c1
L
334042012-09-07 H.J. Lu <hongjiu.lu@intel.com>
33405
3d9b46b3
L
33406 * scripts/check-local-headers.sh: Add "shopt -s nullglob".
33407
de2139a9
L
33408 * iconv/gconv_db.c (free_derivation): Check if deriv->steps
33409 is NULL.
33410
5ca78dd0
L
33411 * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
33412 (LDLIBS-tst-chk4): This.
33413 (LDFLAGS-tst-chk5): Renamed to ...
33414 (LDLIBS-tst-chk5): This.
33415 (LDFLAGS-tst-chk6): Renamed to ...
33416 (LDLIBS-tst-chk6): This.
33417 (LDFLAGS-tst-lfschk4): Renamed to ...
33418 (LDLIBS-tst-lfschk4): This.
33419 (LDFLAGS-tst-lfschk5): Renamed to ...
33420 (LDLIBS-tst-lfschk5): This.
33421 (LDFLAGS-tst-lfschk6): Renamed to ...
33422 (LDLIBS-tst-lfschk6): This.
33423
691bc9c1
L
33424 * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
33425 on $(common-objpfx)soversions.mk.
33426
65cafb1c
JM
334272012-09-07 Joseph Myers <joseph@codesourcery.com>
33428
33429 [BZ #10014]
33430 * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
33431 example host name.
33432
c78ab094
SP
334332012-09-07 Siddhesh Poyarekar <siddhesh@redhat.com>
33434
33435 * malloc/arena.c (arena_get_retry): New function that gets
33436 another arena for the caller to try its request on.
33437 * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
33438 current arena cannot fulfill the request.
33439 (__libc_memalign): Likewise.
33440 (__libc_memalign): Likewise.
33441 (__libc_pvalloc): Likewise.
33442 (__libc_calloc): Likewise.
33443
01f49f59
JT
334442012-09-05 John Tobey <john.tobey@gmail.com>
33445
33446 [BZ #13542]
33447 * manual/arith.texi (Operations on Complex): Fix description
33448 of carg branch cut.
33449
4c23fed5
JM
334502012-09-06 Joseph Myers <joseph@codesourcery.com>
33451
1d3c8572
JM
33452 [BZ #10014]
33453 * manual/socket.texi (Host Addresses): Use www.gnu.org as example
33454 host name.
33455
4c23fed5
JM
33456 [BZ #10038]
33457 * manual/memory.texi (Memory): Make order of menu items match
33458 order of sections.
33459
04570aaa
L
334602012-09-06 H.J. Lu <hongjiu.lu@intel.com>
33461
33462 * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
33463 (_dl_initial_dtv): New. Defined if SHARED isn't defined.
33464 (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
33465
b80af2f4
L
334662012-09-06 H.J. Lu <hongjiu.lu@intel.com>
33467
33468 * csu/libc-tls.c (static_dtv): Renamed to ...
33469 (_dl_static_dtv): This. Make it global.
33470 (_dl_initial_dtv): Removed.
33471 (__libc_setup_tls): Updated.
33472 * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
33473 (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
33474 DL_INITIAL_DTV.
33475
2abe9f15
PM
334762012-09-06 Petr Machata <pmachata@redhat.com>
33477
33478 * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
33479 (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
33480 (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
33481 (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
33482
0948c3af
L
334832012-09-06 H.J. Lu <hongjiu.lu@intel.com>
33484
33485 [BZ #14545]
33486 * csu/libc-tls.c (_dl_initial_dtv): New variable.
33487 * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
33488 freeing dtv[-1].
33489
a5055ad1
L
334902012-09-06 H.J. Lu <hongjiu.lu@intel.com>
33491
33492 [BZ #14544]
33493 * Makeconfig (link-static-before-libc): Replace $(+prector)
33494 with $(+prectorT).
33495 (link-static-after-libc): Replace $(+postctor) with
33496 $(+postctorT).
33497 (link-bounded): Replace $(+prector)/$(+postctor) with
33498 $(+prectorT)/$(+postctorT).
33499 (+prectorT): New macro.
33500 (+postctorT): Likewise.
33501
ed8c2ecd
JM
335022012-09-06 Joseph Myers <joseph@codesourcery.com>
33503
33504 * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
33505 (round_str): Handle values above the maximum for IBM long double
33506 as inexact.
33507 * stdlib/tst-strtod-round.c (tests): Regenerated.
33508
14c996c8
AK
335092012-09-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
33510
33511 * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
33512 assembler flag.
33513 * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
33514 zarch_nohighgprs around the zarch optimized routines.
33515 * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
33516 * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
33517 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
33518 for zarch.
33519
430d6ce6
DM
335202012-09-05 David S. Miller <davem@davemloft.net>
33521
33522 * sysdeps/sparc/fpu/libm-test-ulps: Update.
33523
57f41c40
AS
33524 * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE)
33525 (HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
ff04dda4
DM
33526 * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
33527 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
33528 entries.
33529
24d4e01b
AO
335302012-09-05 Alexandre Oliva <aoliva@redhat.com>
33531
33532 * malloc/arena.c: Fold copyright years.
33533 * malloc/mcheck.c, malloc/memusage.c: Likewise.
33534
61d58174
AO
335352012-09-05 Alexandre Oliva <aoliva@redhat.com>
33536
33537 * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
33538
20196a5e
AO
335392012-09-05 Alexandre Oliva <aoliva@redhat.com>
33540
33541 * manual/contrib.texi (Contributors): Fix typo. Complete entry.
33542
5c447383
AO
335432012-09-05 Alexandre Oliva <aoliva@redhat.com>
33544
33545 * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
33546 change internal state upon failure.
33547
fad64255
AO
335482012-09-05 Alexandre Oliva <aoliva@redhat.com>
33549
33550 * malloc/mcheck.c (mcheck_check_all): Fix typo.
33551 * malloc/memusage.c (mmap): Likewise.
33552 (mmap64, mremap): Likewise. Adjust name in comment.
33553
1ffb8c90
SP
335542012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
33555
33556 * libio/fileops.c: Fix typos in comments.
33557 * libio/oldfileops.c: Likewise.
33558 * libio/wfileops.c: Likewise.
33559
6ef9cc37
SP
335602012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
33561
33562 [BZ #1349]
33563 * malloc/Makefile (tests): Add tst-malloc-usable test case.
33564 (tst-malloc-usable-ENV): Set environment for test case.
33565 * malloc/hooks.c (malloc_check_get_size): New function to get
33566 requested size.
33567 * malloc/malloc.c (musable): Use malloc_check_get_size.
33568 * malloc/tst-malloc-usable.c: New test case.
33569
4d038ae3
AS
335702012-09-05 Andreas Schwab <schwab@linux-m68k.org>
33571
33572 * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
33573
c4e85184
AM
335742012-09-05 Allan McRae <allan@archlinux.org>
33575
b9dafc56 33576 [BZ #13966]
c4e85184
AM
33577 * configure.in (CXX_SYSINCLUDES): Use compiler output to
33578 determine header location.
33579 * configure: Regenerated.
33580
e1343020
AS
335812012-09-05 Andreas Schwab <schwab@linux-m68k.org>
33582
33583 * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
33584 float format.
33585 * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
a0070b7e
AS
33586 LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
33587 format.
e1343020
AS
33588 (test): Regenerate.
33589
0a9f1987
DM
335902012-09-04 David S. Miller <davem@davemloft.net>
33591
33592 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
33593 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
33594 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
33595
29237804
FW
335962012-09-04 Florian Weimer <fweimer@redhat.com>
33597
33598 * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
33599 failures.
33600
edb3cb88
FW
33601 * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
33602
60160d83
JM
336032012-09-04 Joseph Myers <joseph@codesourcery.com>
33604
33605 [BZ #9914]
33606 * libio/iogetdelim.c: Include <limits.h>.
33607 (_IO_getdelim): Avoid integer overflow in testing whether cur_len
33608 + len + 1 would overflow.
33609
bcd6c8dc
AJ
336102012-09-03 Andreas Jaeger <aj@suse.de>
33611
33612 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
33613 * sysdeps/i386/fpu/libm-test-ulps: Update.
33614
4ffffbd2
LD
336152012-09-03 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
33616
33617 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
33618 Add s_sinf-sse2, s_conf-sse2.
33619
33620 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
33621 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
33622 * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
33623 * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
33624
33625 * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
33626 for using routine as __sinf_ia32.
33627 Use macro for function declaration and weak_alias.
33628 * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
33629 for using routine as __cosf_ia32.
33630 Use macro for function declaration and weak_alias.
33631
33632 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
33633 * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
33634
33635 * sysdeps/x86_64/fpu/s_sinf.S: New file.
33636 * sysdeps/x86_64/fpu/s_cosf.S: New file.
33637 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
33638
33639 * math/libm-test.inc (cos_test): Add more test cases.
33640 (sin_test): Likewise.
33641 (sincos_test): Likewise.
33642
511fa286
AK
336432012-09-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
33644
33645 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
33646 (IFUNC_RESOLVE): Make pointers to the specialized implementations
33647 hidden.
33648 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
33649
5f30cfec
L
336502012-09-02 H.J. Lu <hongjiu.lu@intel.com>
33651
33652 [BZ #14538]
33653 * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
33654 first element of the GOT.
33655 (elf_machine_load_address): Return the difference between
33656 the runtime address of _DYNAMIC and elf_machine_dynamic ().
33657
0786794f
AM
336582012-09-01 Allan McRae <allan@archlinux.org>
33659
5f30cfec
L
33660 [BZ #13412]
33661 * configure.in (AWK): Require gawk version 3.0 or later.
33662 * configure: Regenerated.
0786794f 33663
26889eac
JM
336642012-09-01 Joseph Myers <joseph@codesourcery.com>
33665
33666 * sysdeps/unix/sysv/linux/kernel-features.h
33667 (__ASSUME_POSIX_CPU_TIMERS): Remove.
33668 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
33669 [__NR_clock_getres]: Make code unconditional.
33670 [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
33671 (clock_getcpuclockid): Remove code left unreachable by removal of
33672 conditionals.
33673 * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
33674 code unconditional.
33675 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
33676 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
33677 * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
33678 Make code unconditional.
33679 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
33680 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
33681 * sysdeps/unix/sysv/linux/clock_settime.c
33682 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
33683 conditional code.
33684 [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
33685 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
33686
d22e28b0
L
336872012-08-29 H.J. Lu <hongjiu.lu@intel.com>
33688
33689 [BZ #14476]
33690 * Makefile (install): Also pass LD_SO=$(ld.so-version) to
33691 scripts/test-installation.pl.
33692
33693 * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
33694 and $ld_so_version if it is set.
33695
050af9c4
SP
336962012-08-29 Siddhesh Poyarekar <siddhesh@redhat.com>
33697
33698 [BZ #14516]
33699 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
33700 failure if reading from procfs failed.
33701 * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
33702
ad845c0b
JM
337032012-08-27 Joseph Myers <joseph@codesourcery.com>
33704
33705 * sysdeps/unix/sysv/linux/kernel-features.h
33706 (__ASSUME_STAT64_SYSCALL): Remove all definitions.
33707 * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
33708 Remove conditional code.
33709 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
33710 * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
33711 Remove conditional code.
33712 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
33713 * sysdeps/unix/sysv/linux/i386/fxstat.c
33714 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
33715 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
33716 * sysdeps/unix/sysv/linux/i386/fxstatat.c
33717 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
33718 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
33719 * sysdeps/unix/sysv/linux/i386/lxstat.c
33720 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
33721 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
33722 * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
33723 Remove conditional code.
33724 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
33725 * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
33726 Remove conditional code.
33727 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
33728 * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
33729 <kernel-features.h>.
33730 [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
33731 Remove.
33732 * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
33733 Remove conditional code.
33734 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
33735 * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
33736 Remove conditional.
33737
5dbf56af
MF
337382012-08-27 Mike Frysinger <vapier@gentoo.org>
33739
33740 [BZ #5400]
33741 * NEWS: Add fixed bug number.
33742
d6e70f43
JM
337432012-08-27 Joseph Myers <joseph@codesourcery.com>
33744
7efb4737
JM
33745 [BZ #14519]
33746 * stdlib/strtod_l.c (round_and_return): Return -0.0 for
33747 underflowing exponent in case of negative sign.
33748 * stdlib/tst-strtod-round-data: Add more tests.
33749 * stdlib/tst-strtod-round.c (tests): Regenerated.
33750
af92131a
JM
33751 [BZ #3479]
33752 * stdlib/strtod_l.c (NDIG): Remove.
33753 (HEXNDIG): Likewise.
33754 (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
33755 smallest representable value.
33756 (____STRTOF_INTERNAL): Use all fractional decimal digits that may
33757 lie within an exact representation of 1/2 ulp of the result.
33758 * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
33759 unconditionally.
33760 (TENS_P9_IDX): Define unconditionally.
33761 (TENS_P9_SIZE): Likewise.
33762 (TENS_P10_IDX): Likewise.
33763 (TENS_P10_SIZE): Likewise.
33764 [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
33765 to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
33766 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
33767 entries for 10^2^13 and 10^2^14.
33768 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
33769 (TENS_P13_IDX): Define.
33770 (TENS_P13_SIZE): Likewise.
33771 (TENS_P14_IDX): Likewise.
33772 (TENS_P14_SIZE): Likewise.
33773 (_fpioconst_pow10): Change array size to
33774 FPIOCONST_POW10_ARRAY_SIZE. Make entries for 10^2^9 and 10^2^10
33775 unconditional.
33776 (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
33777 1024]: Add entries for 10^2^13 and 10^2^14.
33778 [LAST_POW10 > _LAST_POW10]: Remove #error.
33779 * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
33780 (_fpioconst_pow10): Change array size to
33781 FPIOCONST_POW10_ARRAY_SIZE.
33782 * stdlib/gen-fpioconst.c: New file.
33783 * stdlib/gen-tst-strtod-round.c: Likewise.
33784 * stdlib/tst-strtod-round-data: Likewise.
33785 * stdlib/tst-strtod-round.c: Likewise.
33786 * stdlib/Makefile (tests): Add tst-strtod-round.
33787
d6e70f43
JM
33788 [BZ #14459]
33789 * stdlib/strtod_l.c: Include <stdint.h>.
33790 (NDEBUG): Do not define.
33791 (round_and_return): Change EXPONENT parameter to type intmax_t.
33792 Rearrange calculations to avoid internal overflow possibilities.
33793 (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
33794 Rearrange calculations to avoid internal overflow possibilities.
33795 Assert that number fits inside MPNSIZE limbs.
33796 (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
33797 Change DIG_NO, INT_NO and LEAD_ZERO to type size_t. Rearrange
33798 calculations and add assertions to avoid internal overflow
33799 possibilities. Add casts to avoid signed/unsigned operations.
33800 * stdlib/tst-strtod-overflow.c: New file.
33801 * stdlib/Makefile (tests): Add tst-strtod-overflow.
33802
1f529f7d
MP
338032012-08-25 Marek Polacek <polacek@redhat.com>
33804
33805 * time/time.h: Fix some typos in comments.
33806
59a629f1
RM
338072012-08-23 Roland McGrath <roland@hack.frob.com>
33808
33809 * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
33810 * posix/tst-rfc3484-2.c: Likewise.
33811 * posix/tst-rfc3484-3.c: Likewise.
33812
d3bafbc9
SM
338132012-08-23 Steve McIntyre <steve.mcintyre@linaro.org>
33814
33815 * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
33816 (EF_ARM_ABI_FLOAT_HARD): Likewise.
33817
4efcc022
JM
338182012-08-23 Joseph Myers <joseph@codesourcery.com>
33819
33820 * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
33821 #include of fxstatat64.c.
33822
3cc3ef96
RM
338232012-08-22 Roland McGrath <roland@hack.frob.com>
33824
f04e2132
RM
33825 * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
33826 * shadow/getspent_r.c: Likewise.
33827 * shadow/getspnam.c: Likewise.
33828 * shadow/getspnam_r.c: Likewise.
33829 * gshadow/getsgent.c: Likewise.
33830 * gshadow/getsgent_r.c: Likewise.
33831 * gshadow/getsgnam.c: Likewise.
33832 * gshadow/getsgnam_r.c: Likewise.
33833 * inet/getnetbyad.c: Likewise.
33834 * inet/getnetbyad_r.c: Likewise.
33835 * inet/getnetbynm.c: Likewise.
33836 * inet/getnetbynm_r.c: Likewise.
33837 * inet/getnetent.c: Likewise.
33838 * inet/getnetent_r.c: Likewise.
33839 * inet/getproto.c: Likewise.
33840 * inet/getproto_r.c: Likewise.
33841 * inet/getprtent.c: Likewise.
33842 * inet/getprtent_r.c: Likewise.
33843 * inet/getprtname.c: Likewise.
33844 * inet/getprtname_r.c: Likewise.
33845 * inet/getrpcbyname.c: Likewise.
33846 * inet/getrpcbyname_r.c: Likewise.
33847 * inet/getrpcbynumber.c: Likewise.
33848 * inet/getrpcbynumber_r.c: Likewise.
33849 * inet/getrpcent.c: Likewise.
33850 * inet/getrpcent_r.c: Likewise.
33851 * inet/getaliasent.c: Likewise.
33852 * inet/getaliasent_r.c: Likewise.
33853 * inet/getaliasname.c: Likewise.
33854 * inet/getaliasname_r.c: Likewise.
33855 * nscd/getgrgid_r.c: Likewise.
33856 * nscd/getgrnam_r.c: Likewise.
33857 * nscd/gethstbyad_r.c: Likewise.
33858 * nscd/gethstbynm3_r.c: Likewise.
33859 * nscd/getpwnam_r.c: Likewise.
33860 * nscd/getpwuid_r.c: Likewise.
33861 * nscd/getsrvbynm_r.c: Likewise.
33862 * nscd/getsrvbypt_r.c: Likewise.
33863 * nscd/gai.c: Likewise.
33864
c53d909c
RM
33865 * configure.in (build_nscd): New substituted variable, set
33866 by --disable-build-nscd and defaults to $use_nscd.
33867 * configure: Regenerated.
33868 * config.make.in (build-nscd): New substituted variable.
33869 * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
33870 Change conditional to require [$(build-nscd) = yes] as well.
33871 * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
33872
3cc3ef96
RM
33873 [BZ# 13696]
33874 * configure.in (use_nscd): New substituted variable, set by
33875 --disable-nscd. If enabled, define USE_NSCD.
33876 * configure: Regenerated.
33877 * config.h.in: Add USE_NSCD.
33878 * config.make.in (use-nscd): New substituted variable.
33879 * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
33880 (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
33881 (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
33882 * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
33883 (CFLAGS-getgrnam_r.c): Likewise.
33884 (CFLAGS-initgroups.c): Likewise.
33885 * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
33886 * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
33887 Variables removed.
33888 * inet/getnetgrent_r.c
33889 (nscd_setnetgrent): New function, broken out of ...
33890 (setnetgrent): ... here. Call it.
33891 (innetgr): Conditionalize nscd bits on [USE_NSCD].
33892 (nscd_getnetgrent): Conditionalize on [USE_NSCD].
33893 (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
33894 * nscd/Makefile (routines, aux): Move definitions after include of
33895 Makeconfig. Conditionalize on [$(use-nscd) != no].
33896 * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
33897 Conditionalize on [USE_NSCD].
33898 (is_nscd, nscd_init_cb): Likewise.
33899 (nss_load_library): Conditionalize init callback on [USE_NSCD].
33900 * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
33901 * nss/nss_db/db-init.c: Likewise.
33902 * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
33903 [USE_NSCD].
33904 * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
33905 (make_request): Use it.
33906 (cache_valid_p): New function.
33907 (__check_pf): Use it.
33908 * NEWS: Add item for --disable-nscd.
33909
07e51550
DL
339102012-08-22 Dmitry V. Levin <ldv@altlinux.org>
33911
33912 * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
33913 to support sed >= 4.2.1-20-ga9bf076.
33914 * configure: Regenerated.
33915
35a5b08b
RM
339162012-08-22 Roland McGrath <roland@hack.frob.com>
33917
33918 * csu/libc-start.c (apply_irel): Move extern declarations inside here.
33919 Conditionalize whole body on [IREL].
33920
8479f23a
JL
339212012-08-22 Jeff Law <law@redhat.com>
33922
33923 [BZ #14505]
33924 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
33925 if the family is PF_UNSPEC.
33926
48da0b21
MF
339272012-08-22 Mike Frysinger <vapier@gentoo.org>
33928
33929 * Makerules (lib-version): Rename from V.
33930 (install-lib-nosubdir): Change V to lib-version.
33931
15d0da8c
WS
339322012-08-22 Will Schmidt <will_schmidt@vnet.ibm.com>
33933
33934 [BZ #14252]
33935 * powerpc32/power6/wcschr.c: New file.
33936 * powerpc32/power6/wcscpy.c: New file.
33937 * powerpc32/power6/wcsrchr.c: New file.
33938 * powerpc64/power6/wcschr.c: New file.
33939 * powerpc64/power6/wcscpy.c: New file.
33940 * powerpc64/power6/wcsrchr.c: New file.
33941
bcca0895
MK
339422012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
33943
33944 * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
33945 (two_way_short_needle): Use it.
5a4aaa33
RM
33946 * string/strstr.c (AVAILABLE1_USES_J): Define.
33947 * string/strcasestr.c: Likewise.
99677e57
MK
33948
33949 * string/str-two-way.h (two_way_short_needle): Use pointers instead of
33950 array references.
33951 * string/strcasestr.c (TOLOWER): Make side-effect safe.
33952
400726de
MK
33953 [BZ #11607]
33954 * NEWS: Add an entry.
33955 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
33956 define their defaults.
33957 (two_way_short_needle): Detect end-of-string on-the-fly.
33958 * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
33959 (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
33960 * string/bug-strcasestr1.c: New test.
33961 * string/Makefile: Run it.
33962
20a71f2c
MK
339632012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
33964
33965 [BZ #11607]
33966 * string/str-two-way.h (two_way_short_needle): Optimize matching of
33967 the first character.
33968
21ad0558
RM
339692012-08-21 Roland McGrath <roland@hack.frob.com>
33970
33971 * csu/elf-init.c (__libc_csu_irel): Function removed.
33972 * csu/libc-start.c (apply_irel): New function.
33973 (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
33974
0e1d9911
JM
339752012-08-21 Joseph Myers <joseph@codesourcery.com>
33976
33977 * sysdeps/unix/sysv/linux/kernel-features.h
33978 (__ASSUME_FADVISE64_64_SYSCALL): Remove.
33979 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
33980 <kernel-features.h>.
33981 [__NR_fadvise64_64]: Make code unconditional.
33982 [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
33983 [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
33984 !__NR_fadvise64_64)]: Likewise.
33985 [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
33986 !__NR_fadvise64_64))]: Likewise.
33987 [__NR_fadvise64]: Make code unconditional.
33988 [!__NR_fadvise64]: Remove conditional code.
33989 * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
33990 <kernel-features.h>.
33991 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
33992 unconditional.
33993 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
33994 conditional code.
33995 * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
33996 not include <kernel-features.h>.
33997 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
33998 unconditional.
33999 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
34000 conditional code.
34001 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
34002 include <kernel-features.h>.
34003 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
34004 unconditional.
34005 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
34006 conditional code.
34007
14a50c9d
WS
340082012-08-21 Will Schmidt <will_schmidt@vnet.ibm.com>
34009
34010 * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
34011 slight instruction rearrangements per scrollpipe analysis.
34012 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
34013
c0f4faf0
RM
340142012-08-20 Roland McGrath <roland@hack.frob.com>
34015
696da859
RM
34016 * manual/syslog.texi (syslog; vsyslog, closelog):
34017 Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
34018 Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
34019
c0f4faf0
RM
34020 * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
34021 DSOCAPS to match condition on defining it.
34022
348363b2
JM
340232012-08-20 Joseph Myers <joseph@codesourcery.com>
34024
a35cbf28
JM
34025 * sysdeps/unix/sysv/linux/kernel-features.h
34026 (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
34027 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
34028 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
34029 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
34030 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
34031 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
34032 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
34033 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
34034 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
34035 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
34036
445f7ecd
JM
34037 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
34038 __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
34039
348363b2
JM
34040 * sysdeps/unix/sysv/linux/kernel-features.h
34041 (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
34042 * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
34043 unconditional.
34044 [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
34045 * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
34046 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
34047 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
34048 * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
34049 Make code unconditional.
34050 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
34051 (__mmap64) [!__NR_mmap2]: Likewise.
34052 * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
34053 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
34054 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
34055 * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
34056 [__NR_mmap2]: Make code unconditional.
34057 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
34058 (__mmap64) [!__NR_mmap2]: Likewise.
34059
bc5bc0e5
AK
340602012-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
34061
34062 * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
34063
88d506de
AJ
340642012-08-18 Andreas Jaeger <aj@suse.de>
34065
34066 * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
34067
493387d2
MF
340682012-08-18 Mike Frysinger <vapier@gentoo.org>
34069
34070 * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
34071 * include/unistd.h (__have_sock_cloexec): Likewise.
34072 (__have_pipe2): Likewise.
34073 (__have_dup3): Likewise.
34074
a277af22
MF
340752012-08-18 Mike Frysinger <vapier@gentoo.org>
34076
34077 [BZ #9685]
34078 * include/unistd.h (__have_pipe2): Change define into an extern int.
34079 (__have_dup3): Likewise.
34080 * socket/have_sock_cloexec.c: Include fcntl.h.
34081 (__have_pipe2): New variable.
34082 (__have_dup3): Likewise.
34083
fdab8fd3
MF
340842012-08-17 Mike Frysinger <vapier@gentoo.org>
34085
34086 * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
34087
31035e80
MP
340882012-08-17 Marek Polacek <polacek@redhat.com>
34089
34090 * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
34091 ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
34092
3bd9e993
RM
340932012-08-17 Roland McGrath <roland@hack.frob.com>
34094
c91c505f
RM
34095 * configure.in: Add AC_SUBST for sysheaders.
34096 * configure: Regenerated.
34097 * config.make.in (sysheaders): New substituted variable.
34098
7c6f9d53
RM
34099 * sysdeps/unix/mkfifo.c: Moved ...
34100 * sysdeps/posix/mkfifo.c: ... here.
34101 * sysdeps/unix/mkfifoat.c: Moved ...
34102 * sysdeps/posix/mkfifoat.c: ... here.
34103
34104 * sysdeps/unix/utime.c: Moved ...
34105 * sysdeps/posix/utime.c: ... here.
34106
34107 * sysdeps/unix/time.c: Moved ...
34108 * sysdeps/posix/time.c: ... here.
e3b398f9
RM
34109 * sysdeps/unix/sysv/linux/time.c: Adjust #include.
34110 * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
7c6f9d53
RM
34111
34112 * sysdeps/unix/nice.c: Moved ...
34113 * sysdeps/posix/nice.c: ... here.
34114
34115 * sysdeps/unix/alarm.c: Moved ...
34116 * sysdeps/posix/alarm.c: ... here.
34117
3bd9e993
RM
34118 * intl/Makefile ($(codeset_mo)): Depend on the input file.
34119
d1f09384
JL
341202012-08-17 Jeff Law <law@redhat.com>
34121
34122 * intl/Makefile (codeset_mo): New variable.
34123 ($(codeset_mo)): New target.
34124 (tst-codeset.out): Depend on that. Remove explicit rule.
34125 (tst-gettext3.out, tst-gettext5.out): Likewise.
34126 (LOCPATH-ENV, tst-codeset-ENV): New variables.
34127 (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
34128 * intl/tst-codeset.sh: Remove.
34129 * intl/tst-gettext3.sh: Likewise.
34130 * intl/tst-gettext5.sh: Likewise.
34131
2ae1ae5c
RM
341322012-08-17 Roland McGrath <roland@hack.frob.com>
34133
c31fdb83
RM
34134 * sysdeps/unix/inet/syscalls.list: File removed. Move contents into ...
34135 * sysdeps/unix/syscalls.list: ... here.
34136
a0844057
RM
34137 * sysdeps/posix/getaddrinfo.c
34138 (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
34139 (gaiconf_init, gaiconf_reload): Use them.
34140 [!_STATBUF_ST_NSEC]
34141 (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
34142 Define using time_t rather than struct timespec.
34143
750c1f2a
RM
34144 * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
34145 (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
34146 Macros removed.
34147 * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
34148 [!NO_THREADS].
34149 (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
34150 (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
34151 Likewise.
34152
2ae1ae5c
RM
34153 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
34154 __libc_cleanup_push argument.
34155
e66a42f5
RM
34156 * bits/param.h: New file.
34157 * misc/sys/param.h: New file.
34158 * include/sys/param.h: New file.
34159 * misc/Makefile (headers): Add bits/param.h.
34160 * sysdeps/generic/sys/param.h: File removed.
34161 * sysdeps/unix/sysv/linux/bits/param.h: New file.
34162 * sysdeps/unix/sysv/linux/sys/param.h: File removed.
34163 * sysdeps/mach/hurd/bits/param.h: New file.
4078da3d 34164 * sysdeps/mach/hurd/sys/param.h: File removed.
e66a42f5 34165
b7c08a66
RM
34166 * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
34167 last change.
34168
b2e1c562
RM
34169 * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
34170 [_IO_MTSAFE_IO].
34171 * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
34172 (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
34173 New macros.
34174
c75ccd4c
RM
34175 * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
34176 * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
34177 rather than -D_IO_MTSAFE_IO conditionally.
34178 * stdio-common/Makefile (CPPFLAGS): Likewise.
34179 * wcsmbs/Makefile (CPPFLAGS): Likewise.
34180 * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
34181 Use $(libio-mtsafe).
34182 * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
34183 of -D_IO_MTSAFE_IO.
34184 (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
34185 (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
34186 (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
34187 (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
34188 (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
34189 (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
34190 (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
34191 (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
34192 (CFLAGS-fread_u_chk.c): Likewise.
34193 (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
34194 (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
34195 (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
34196 (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
34197 * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
34198 * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
34199 * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
34200 * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
34201 * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
34202
34203 * libio/Makefile: Test [$(libc-reentrant) = yes]
34204 instead of [$(filter %REENTRANT, $(defines)) nonempty].
34205
34206 * Makeconfig
34207 [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
34208 * sysdeps/pthread/configure: File removed.
34209 * sysdeps/pthread/Makeconfig: New file.
34210 * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
34211 * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
34212
d9195db8
GB
342132012-08-16 Gary Benson <gbenson@redhat.com>
34214
34215 * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
34216 unmapping the first object in a namespace.
34217
86466cd9
RM
342182012-08-16 Roland McGrath <roland@hack.frob.com>
34219
34220 * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
34221 (__internal_setnetgrent): ... this. Add internal_function to
34222 definition. Add libc_hidden_def.
34223 (setnetgrent): Update caller.
34224 (internal_endnetgrent): Renamed to ...
34225 (__internal_endnetgrent): ... this. Add internal_function to
34226 definition. Add libc_hidden_def.
34227 (endnetgrent): Update caller.
34228 (internal_getnetgrent_r): Renamed to ...
34229 (__internal_getnetgrent_r): ... this. Add internal_function to
34230 definition. Add libc_hidden_def.
34231 (__getnetgrent_r): Update caller.
34232 * inet/netgroup.h: Update declarations. Add libc_hidden_proto uses.
34233
c3c8283c
JM
342342012-08-16 Joseph Myers <joseph@codesourcery.com>
34235
34236 * stdlib/longlong.h: Update from GCC.
34237
db1ee0a8
RM
342382012-08-16 Roland McGrath <roland@hack.frob.com>
34239
34240 * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
34241 on _QL, which is set by umul_ppmm but never used.
34242 * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
34243 variables, which are set by GMP macros but never used.
34244 * stdio-common/_itowa.c (_itowa): Likewise.
34245 * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
34246 * stdlib/mod_1.c (mpn_mod_1): Likewise.
34247
30f69637
CD
342482012-08-16 Carlos O'Donell <carlos_odonell@mentor.com>
34249
34250 * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
34251 struct La_sh_regs is not constant.
34252 * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
34253 <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
34254 and struct La_sparc64_regs are not constant.
34255
93a78ac4
JM
342562012-08-16 Joseph Myers <joseph@codesourcery.com>
34257
34258 * sysdeps/unix/sysv/linux/kernel-features.h
34259 (__ASSUME_POSIX_TIMERS): Remove.
34260 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
34261 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
34262 * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
34263 Make code unconditional.
34264 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
34265 * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
34266 Make code unconditional.
34267 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
34268 * sysdeps/unix/sysv/linux/clock_nanosleep.c
34269 [__ASSUME_POSIX_TIMERS]: Make code unconditional.
34270 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
34271 * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
34272 Make code unconditional.
34273 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
34274 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
34275 (__libc_missing_posix_timers): Remove.
34276
dd924cd7
RM
342772012-08-15 Roland McGrath <roland@hack.frob.com>
34278
4b4f2771
RM
34279 * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
34280 check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
34281
601c888b
RM
34282 * bits/libc-lock.h (__rtld_lock_initialize): New macro.
34283
176790a7
RM
34284 * elf/dl-sym.c: Include <stdlib.h>.
34285
329bc018
RM
34286 * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
34287 constants, which avoids warnings in 32-bit builds.
34288
e04e272d
RM
34289 * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
34290 (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
34291
952bf94a
RM
34292 * misc/lseek.c: File moved to ...
34293 * io/lseek.c: ... here.
34294
7c99b50a
RM
34295 * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
34296
dd924cd7
RM
34297 * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
34298 shifting LEN more than 31 bits at once.
34299
b3f479a8
LD
343002012-08-15 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
34301
34302 [BZ #14195]
8c4ae0d4
RM
34303 * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
34304 segmentation fault for a case of two empty input strings.
b3f479a8
LD
34305 * string/test-strncasecmp.c (check1): Renamed to...
34306 (bz12205): ...this.
34307 (bz14195): Add new testcase for two empty input strings and N > 0.
34308 (test_main): Call new testcase, adapt for renamed function.
34309
9c55864e
AJ
343102012-08-15 Andreas Jaeger <aj@suse.de>
34311
34312 [BZ #14090]
34313 * crypt/md5test2.c: New test, based on test supplied by Serge
34314 Belyshev <belyshev@depni.sinp.msu.ru>.
34315 * crypt/Makefile (xtests): Add md5test-giant..
34316 * crypt/Makefile ($(objpfx)md5test-giant): Add.
34317
02dcb6c5
PE
343182012-08-15 Paul Eggert <eggert@cs.ucla.edu>
34319
34320 [BZ #14090]
34321 * crypt/md5.c (md5_process_block): Don't assume the buffer
34322 length is less than 2**32.
34323 * crypt/sha512.c (sha512_process_block): Don't assume the buffer
34324 length is less than 2**64.
34325
a3f95dcc
RM
343262012-08-15 Roland McGrath <roland@hack.frob.com>
34327
be75d758
RM
34328 * string/str-two-way.h: Include <sys/param.h>.
34329 (MAX): Macro removed.
34330
7312ca90
RM
34331 * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
34332 Move #define and #undef of memmove to just before and after
34333 including <string.h>.
34334
9a0a5486
RM
34335 * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
34336 [!NOT_IN_libc]: Move #define and #undef of memmove to just before
34337 and after including <string.h>. Move declarations of
34338 __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
34339 to before #include "string/memmove.c".
34340
67cc348d
RM
34341 * include/dirent.h: Declare __getdirentries.
34342
a3f95dcc
RM
34343 * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
34344 using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
34345
ca98e171
MF
343462012-08-14 Mike Frysinger <vapier@gentoo.org>
34347
34348 * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
34349 * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
34350 * sysdeps/i386/configure: Regenerated.
34351 * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
34352 STABS_CURRENT_FILE, and STABS_FUN.
34353 (END): Remove call to STABS_FUN_END.
34354 (STABS_CURRENT_FILE1): Delete.
34355 (STABS_CURRENT_FILE): Likewise.
34356 (STABS_FUN): Likewise.
34357 (STABS_FUN_END): Likewise.
34358 (STABS_FUN2): Likewise.
34359 * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
34360 * sysdeps/x86_64/configure: Regenerated.
34361
5908bf46
RM
343622012-08-14 Roland McGrath <roland@hack.frob.com>
34363
34364 * elf/dl-open.c: Include <atomic.h>.
1ec79f26 34365 * elf/dl-lookup.c: Likewise.
5908bf46 34366
f2c05b9e
JM
343672012-08-14 Joseph Myers <joseph@codesourcery.com>
34368
34369 * sysdeps/unix/sysv/linux/kernel-features.h
34370 (__ASSUME_CLONE_THREAD_FLAGS): Remove.
34371 * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
34372 unconditionally.
34373 * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
34374 unconditionally.
34375 * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
34376 condition on __ASSUME_CLONE_THREAD_FLAGS.
34377
e11f5155
AJ
343782012-08-14 Andreas Jaeger <aj@suse.de>
34379
34380 * sysdeps/i386/fpu/libm-test-ulps: Update.
34381
51a9ba86
MK
343822012-08-13 Maxim Kuvyrkov <maxim@codesourcery.com>
34383
2fdd4f78
AJ
34384 * include/atomic.h (atomic_exchange_and_add): Split into ...
34385 (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
34386 New atomic macros.
51a9ba86 34387
ba6cba9e
MT
343882012-08-13 Markus Trippelsdorf <markus@trippelsdorf.de>
34389
34390 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
34391
42443a47
JL
343922012-08-13 Jeff Law <law@redhat.com>
34393
34394 * manual/stdio.texi (snprintf): Clarify handling of the trailing
34395 null byte in the output string.
34396
121dce05
JM
343972012-08-10 Joseph Myers <joseph@codesourcery.com>
34398
34399 * sysdeps/unix/sysv/linux/kernel-features.h
34400 (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
34401 [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
34402 (__ASSUME_ARG_MAX_STACK_BASED): Define.
34403 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
34404 [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
34405 !__ASSUME_ARG_MAX_STACK_BASED. Compare version with
34406 __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
34407
bf51f568
JL
344082012-08-09 Jeff Law <law@redhat.com>
34409
34410 [BZ #13939]
34411 * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
34412 When avoid_arena is set, don't retry in the that arena. Pick the
34413 next one, whatever it might be.
34414 (arena_get2): New parameter avoid_arena, pass through to reused_arena.
34415 (arena_lock): Pass in new parameter to arena_get2.
34416 * malloc/malloc.c (__libc_memalign): Pass in new parameter to
34417 arena_get2.
34418 (__libc_malloc): Unify retrying after main arena failure with
34419 __libc_memalign version.
34420 (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
34421
f85fa270
L
344222012-08-09 H.J. Lu <hongjiu.lu@intel.com>
34423
34424 [BZ #14166]
34425 * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
34426 to __redirect_strstr.
34427 (__strstr_sse42): Use typeof __redirect_strstr.
34428 (__strstr_ia32): Likewise.
34429 (__libc_strstr): New prototype.
34430 (strstr): Renamed to ...
34431 (__libc_strstr): This.
34432 (strstr): New strong alias of __libc_strstr.
34433 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
34434 * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
34435 __redirect_time.
34436 Include <time.h>.
34437 (__libc_time): New prototype.
34438 (time_ifunc): Replace time with __libc_time.
34439 (time): New strong alias and hidden definition of __libc_time.
34440 (__GI_time): Remove strong alias.
34441 * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
34442 Include <stddef.h>.
34443 (memmove): Redefined to __redirect_memmove.
34444 (__memmove_sse2): Use typeof __redirect_memmove.
34445 (__memmove_ssse3): Likewise.
34446 (__memmove_ssse3_back): Likewise.
34447 (__libc_memmove): New prototype.
34448 (memmove): Renamed to ...
34449 (__libc_memmove): This.
34450 (memmove): New strong alias of __libc_memmove.
34451
33b4a91e
MS
344522012-08-08 Mark Salter <msalter@redhat.com>
34453
34454 * elf/elf.h
34455 (R_MN10300_TLS_GD): Define.
34456 (R_MN10300_TLS_LD): Likewise.
34457 (R_MN10300_TLS_LDO): Likewise.
34458 (R_MN10300_TLS_GOTIE): Likewise.
34459 (R_MN10300_TLS_IE): Likewise.
34460 (R_MN10300_TLS_LE): Likewise.
34461 (R_MN10300_TLS_DTPMOD): Likewise.
34462 (R_MN10300_TLS_DTPOFF): Likewise.
34463 (R_MN10300_TLS_TPOFF): Likewise.
34464 (R_MN10300_SYM_DIFF): Likewise.
34465 (R_MN10300_ALIGN): Likewise.
34466 (R_MN10300_NUM): Update.
34467
b36137f1
JM
344682012-08-08 Joseph Myers <joseph@codesourcery.com>
34469
34470 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
34471 Remove.
34472
cdd915fd
RM
344732012-08-08 Roland McGrath <roland@hack.frob.com>
34474
a2433aac
RM
34475 * sysdeps/posix/fdopendir.c: Include <stddef.h>.
34476
cdd915fd
RM
34477 * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
34478 sysdeps/unix -> sysdeps/posix move.
34479 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
34480
bf9b740a
AM
344812012-08-07 Allan McRae <allan@archlinux.org>
34482
34483 [BZ #14303]
34484 * sunrpc/rpc_main.c (SVR4_CPP): Remove.
34485 (SUNOS_CPP): Likewise.
34486 (find_cpp): Fall back to selecting system cpp when /lib/cpp is
34487 not found.
34488 (open_input): Call CPP using execvp.
34489
93df14ee
JM
344902012-08-07 Joseph Myers <joseph@codesourcery.com>
34491
34492 * sysdeps/unix/sysv/linux/kernel-features.h
34493 (__ASSUME_PROT_GROWSUPDOWN): Remove.
34494 (__ASSUME_NO_CLONE_DETACHED): Likewise.
34495 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
34496 (__ASSUME_WAITID_SYSCALL): Likewise.
34497 * sysdeps/unix/sysv/linux/dl-execstack.c
34498 (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
34499 code unconditional.
34500 (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
34501 conditional code.
34502 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
34503 [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
34504 (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
34505 code.
34506 * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
34507 unconditional.
34508 [__ASSUME_WAITID_SYSCALL]: Likewise.
34509 [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
34510
d34689de
RM
345112012-08-07 Roland McGrath <roland@hack.frob.com>
34512
a281decc
RM
34513 * sysdeps/unix/closedir.c: Renamed to ...
34514 * sysdeps/posix/closedir.c: ... here.
34515 * sysdeps/unix/dirfd.c: Renamed to ...
34516 * sysdeps/posix/dirfd.c: ... here.
34517 * sysdeps/unix/dirstream.h: Renamed to ...
34518 * sysdeps/posix/dirstream.h: ... here.
34519 * sysdeps/unix/fdopendir.c: Renamed to ...
34520 * sysdeps/posix/fdopendir.c: ... here.
34521 * sysdeps/unix/opendir.c: Renamed to ...
34522 * sysdeps/posix/opendir.c: ... here.
34523 * sysdeps/unix/readdir.c: Renamed to ...
34524 * sysdeps/posix/readdir.c: ... here.
34525 * sysdeps/unix/readdir_r.c: Renamed to ...
34526 * sysdeps/posix/readdir_r.c: ... here.
34527 * sysdeps/unix/rewinddir.c: Renamed to ...
34528 * sysdeps/posix/rewinddir.c: ... here.
34529 * sysdeps/unix/seekdir.c: Renamed to ...
34530 * sysdeps/posix/seekdir.c: ... here.
34531 * sysdeps/unix/telldir.c: Renamed to ...
34532 * sysdeps/posix/telldir.c: ... here.
34533 * sysdeps/unix/sysv/linux/opendir.c: Update #include.
34534 * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
34535 * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
34536 * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
34537
22895b47
RM
34538 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
34539 * bits/fcntl.h: ... here.
34540
707a53b6
RM
34541 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
34542 not 0.
34543 (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
34544 [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
34545 (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
34546 (struct flock): Move l_start, l_len to the beginning.
34547 Use __pid_t for l_pid.
34548 [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
34549 [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
34550 [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
34551 (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
34552 [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
34553 [__USE_LARGEFILE64] (struct flock64): New type.
34554 (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
34555
f0bd3e25
RM
34556 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
34557 * bits/dirent.h: ... here.
34558
d34689de
RM
34559 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
34560 [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
34561
6dad2c06
JM
345622012-08-07 Joseph Myers <joseph@codesourcery.com>
34563
34564 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
34565 Change from 2.6.0 to 2.6.16.
34566 * sysdeps/unix/sysv/linux/configure: Regenerated.
34567 * sysdeps/unix/sysv/linux/kernel-features.h
34568 (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
34569 (__ASSUME_TGKILL): Define conditional on architectures, not kernel
34570 version.
34571 (__ASSUME_UTIMES): Likewise.
34572 (__ASSUME_CLONE_STOPPED): Remove.
34573 (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
34574 architectures, not kernel version.
34575 (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
34576 (__ASSUME_NO_CLONE_DETACHED): Likewise.
34577 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
34578 (__ASSUME_WAITID_SYSCALL): Likewise.
34579 [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
34580 condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
34581 * README: State 2.6.16 as minimum Linux kernel version. Do not
34582 refer to older versions.
34583
03af9520
RM
345842012-08-06 Roland McGrath <roland@hack.frob.com>
34585
8e49df1d
RM
34586 * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
34587 Define alphasort64 as an alias.
34588 * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
34589 Define versionsort64 as an alias.
34590 * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
34591 Define scandir64 as an alias.
34592 * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
34593 Define scandirat64 as an alias.
34594 * dirent/alphasort64.c (alphasort64):
34595 Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
34596 * dirent/versionsort64.c: Likewise.
34597 * dirent/scandir64.c: Likewise.
34598 * dirent/scandirat64.c: Likewise.
34599 * sysdeps/wordsize-64/alphasort.c: File removed.
34600 * sysdeps/wordsize-64/alphasort64.c: File removed.
34601 * sysdeps/wordsize-64/scandir.c: File removed.
34602 * sysdeps/wordsize-64/scandir64.c: File removed.
34603 * sysdeps/wordsize-64/scandirat.c: File removed.
34604 * sysdeps/wordsize-64/scandirat64.c: File removed.
34605 * sysdeps/wordsize-64/versionsort.c: File removed.
34606 * sysdeps/wordsize-64/versionsort64.c: File removed.
34607 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
34608 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
34609 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
34610 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
34611 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
34612 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
34613 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
34614 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
34615
34616 * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
34617 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
34618 [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
34619 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
34620 [defined __arch64__ || defined __sparcv9]
34621 (__INO_T_MATCHES_INO64_T): New macro.
34622 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
34623 [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
34624 * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
34625 * sysdeps/unix/sysv/linux/bits/dirent.h
34626 [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
34627 (_DIRENT_MATCHES_DIRENT64): New macro.
34628
03af9520
RM
34629 * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
34630 Define lockf64 as an alias.
34631 * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
34632 Define fseeko64 as an alias.
34633 * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
34634 Define ftello64 as an alias.
34635 * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
34636 Define _IO_fgetpos64 and fgetpos64 as aliases.
34637 * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
34638 Define _IO_fsetpos64 and fsetpos64 as aliases.
34639 * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
34640 Conditionalize body on this.
34641 * libio/fseeko64.c: Likewise.
34642 * libio/ftello64.c: Likewise.
34643 * libio/iofgetpos64.c: Likewise.
34644 * libio/iofsetpos64.c: Likewise.
34645 * sysdeps/wordsize-64/lockf.c: File removed.
34646 * sysdeps/wordsize-64/lockf64.c: File removed.
34647 * sysdeps/wordsize-64/fseeko.c: File removed.
34648 * sysdeps/wordsize-64/fseeko64.c: File removed.
34649 * sysdeps/wordsize-64/ftello.c: File removed.
34650 * sysdeps/wordsize-64/ftello64.c: File removed.
34651 * sysdeps/wordsize-64/iofgetpos.c: File removed.
34652 * sysdeps/wordsize-64/iofgetpos64.c: File removed.
34653 * sysdeps/wordsize-64/iofsetpos.c: File removed.
34654 * sysdeps/wordsize-64/iofsetpos64.c: File removed.
34655 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
34656 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
34657 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
34658 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
34659 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
34660 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
34661 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
34662 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
34663 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
34664 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
34665
34666 * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
34667 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
34668 [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
34669 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
34670 [defined __arch64__ || defined __sparcv9]
34671 (__OFF_T_MATCHES_OFF64_T): New macro.
34672 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
34673 [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
34674 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
34675 (__OFF_T_MATCHES_OFF64_T): New macro.
34676
c5757acd
L
346772012-08-06 H.J. Lu <hongjiu.lu@intel.com>
34678
34679 * stdlib/secure-getenv.c (__secure_getenv): Replace
34680 GLIBC_2_16 with GLIBC_2_17.
34681
3a31811e
L
346822012-08-06 H.J. Lu <hongjiu.lu@intel.com>
34683
34684 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
34685 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
34686
faa2bccb
DM
346872012-08-03 David S. Miller <davem@davemloft.net>
34688
34689 * sysdeps/sparc/fpu/libm-test-ulps: Update.
34690
85fe1997
JM
346912012-08-03 Joseph Myers <joseph@codesourcery.com>
34692
34693 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
34694 Remove.
34695 (__ASSUME_CORRECT_SI_PID): Likewise.
34696 (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
34697 (__ASSUME_TMPFS_NAME): Likewise.
34698 * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
34699 [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
34700 * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
34701 (HAVE_AUX_SECURE): Make definition unconditional.
34702 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
34703 [!__ASSUME_TMPFS_NAME]: Remove conditional code.
34704
4f75b7a0
RM
347052012-08-03 Roland McGrath <roland@hack.frob.com>
34706
34707 * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
34708 * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
34709 * sysdeps/mach/hurd/eloop-threshold.h: New file.
34710 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
34711 __eloop_threshold instead of SYMLOOP_MAX.
34712
34713 * sysdeps/generic/eloop-threshold.h: New file.
34714 * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
34715 of MAXSYMLINKS.
34716 * elf/chroot_canon.c (chroot_canon): Likewise.
34717
7aab07e4
JM
347182012-08-03 Joseph Myers <joseph@codesourcery.com>
34719
34720 [BZ #13717]
34721 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
34722 Change to 2.6.0 everywhere.
34723 * sysdeps/unix/sysv/linux/configure: Regenerated.
34724 * sysdeps/unix/sysv/linux/kernel-features.h
34725 (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
34726 (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
34727 kernel versions.
34728 (__ASSUME_POSIX_TIMERS): Define unconditionally.
34729 (__ASSUME_FUTEX_REQUEUE): Remove.
34730 (__ASSUME_STATFS64): Define unconditionally.
34731 (__ASSUME_AT_SECURE): Likewise.
34732 (__ASSUME_CORRECT_SI_PID): Likewise.
34733 (__ASSUME_TGKILL): Define without depending on kernel version for
34734 i386.
34735 (__ASSUME_UTIMES): Likewise.
34736 (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
34737 kernel version.
34738 (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
34739 (__ASSUME_TMPFS_NAME): Likewise.
34740 * README: Update reference to Linux kernel versions.
34741
b67e9372
MP
347422012-08-02 Marek Polacek <polacek@redhat.com>
34743
1f529f7d 34744 [BZ# 14150]
b67e9372
MP
34745 * configure.in (libc_cv_asm_type_prefix): Remove test. Replace
34746 libc_cv_asm_type_prefix with %.
34747 * configure: Regenerated.
d2441631
RM
34748 * include/libc-symbols.h: Remove comment about
34749 ASM_TYPE_DIRECTIVE_PREFIX. Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
b67e9372
MP
34750 (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
34751 (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
34752 (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
34753 (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
34754 * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
34755 [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
34756 [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
34757 * elf/tst-unique2mod1.c: Likewise.
34758 * elf/tst-unique1mod2.c: Likewise.
34759 * elf/tst-unique1mod1.c: Likewise.
34760 * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
34761 * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
34762 Replace ASM_TYPE_DIRECTIVE with .type.
34763 * sysdeps/s390/s390-64/sysdep.h: Likewise.
34764 * sysdeps/i386/sysdep.h: Likewise.
34765 * sysdeps/x86_64/sysdep.h: Likewise.
34766 * sysdeps/sh/sysdep.h: Likewise.
d2441631
RM
34767 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
34768 Do not define ASM_TYPE_DIRECTIVE.
b67e9372 34769 * sysdeps/powerpc/sysdep.h: Likewise.
d2441631
RM
34770 * sysdeps/powerpc/powerpc32/sysdep.h:
34771 Replace ASM_TYPE_DIRECTIVE with .type.
b67e9372
MP
34772 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
34773 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
34774 * sysdeps/i386/fpu/e_powf.S: Likewise.
34775 * sysdeps/i386/fpu/e_expl.S: Likewise.
34776 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
34777 * sysdeps/i386/fpu/e_acosh.S: Likewise.
34778 * sysdeps/i386/fpu/e_pow.S: Likewise.
34779 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
34780 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
34781 * sysdeps/i386/fpu/s_expm1.S: Likewise.
34782 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
34783 * sysdeps/i386/fpu/e_log2.S: Likewise.
34784 * sysdeps/i386/fpu/e_log2l.S: Likewise.
34785 * sysdeps/i386/fpu/e_scalb.S: Likewise.
34786 * sysdeps/i386/fpu/e_powl.S: Likewise.
34787 * sysdeps/i386/fpu/e_log10f.S: Likewise.
34788 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
34789 * sysdeps/i386/fpu/e_logl.S: Likewise.
34790 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
34791 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
34792 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
34793 * sysdeps/i386/fpu/e_log2f.S: Likewise.
34794 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
34795 * sysdeps/i386/fpu/e_log.S: Likewise.
34796 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
34797 * sysdeps/i386/fpu/e_logf.S: Likewise.
34798 * sysdeps/i386/fpu/e_log10l.S: Likewise.
34799 * sysdeps/i386/fpu/e_atanh.S: Likewise.
34800 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
34801 * sysdeps/i386/fpu/e_log10.S: Likewise.
34802 * sysdeps/i386/fpu/s_frexp.S: Likewise.
34803 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
34804 * sysdeps/i386/fpu/s_asinh.S: Likewise.
34805 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
34806 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
34807 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
34808 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
34809 * sysdeps/i386/i686/strtok.S: Likewise.
34810 * sysdeps/i386/i386-mcount.S: Likewise.
34811 * sysdeps/i386/strtok.S: Likewise.
34812 * sysdeps/x86_64/fpu/e_expl.S: Likewise.
34813 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
34814 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
34815 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
34816 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
34817 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
34818 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
34819 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
34820 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
34821 * sysdeps/x86_64/_mcount.S: Likewise.
34822 * sysdeps/x86_64/strtok.S: Likewise.
34823 * sysdeps/sh/_mcount.S: Likewise.
34824
2747bf9a
RM
348252012-08-01 Roland McGrath <roland@hack.frob.com>
34826
34827 * libio/iofopen.c: Include <fcntl.h>.
34828 [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
34829 (_IO_fopen64, fopen64): Define as aliases.
34830 * libio/iofopen64.c: Include <fcntl.h>.
34831 [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
34832 Conditionalize body on this.
34833 * sysdeps/wordsize-64/iofopen.c: File removed.
34834 * sysdeps/wordsize-64/iofopen64.c: File removed.
34835
3fb791b8
MP
348362012-08-01 Marek Polacek <polacek@redhat.com>
34837
34838 * libc/Makeconfig: Use elf in place of binfmt-subdir.
34839 Use dlfcn directly instead of a variable.
34840 (binfmt-subdir): Do not define.
34841 (dlfcn): Likewise.
34842
a9f1039f
JM
348432012-08-01 Joseph Myers <joseph@codesourcery.com>
34844
23bddc06
JM
34845 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
34846 Remove all definitions.
34847 * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
34848 <kernel-features.h>.
34849 [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
34850 (miss_F_GETOWN_EX): Remove all definitions.
34851 [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
34852 macro definition.
34853 [!__ASSUME_FCNTL64]: Remove conditional code.
34854 [__ASSUME_FCNTL64]: Make code unconditional.
34855 * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
34856 <kernel-features.h>.
34857 [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
34858 (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
34859 (lockf64) [__NR_fcntl64]: Make code unconditional.
34860 (lockf64) [__ASSUME_FCNTL64]: Likewise.
34861
a9f1039f
JM
34862 * sysdeps/unix/sysv/linux/kernel-features.h
34863 (__ASSUME_VFORK_SYSCALL): Remove all definitions.
34864 * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
34865 Make code unconditional.
34866 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
34867 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
34868 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
34869 [__NR_vfork]: Make code unconditional.
34870 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
34871 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
34872 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
34873 [__NR_vfork]: Make code unconditional.
34874 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
34875 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
34876
09c0ee5f
RM
348772012-08-01 Roland McGrath <roland@hack.frob.com>
34878
48aec5b9
RM
34879 * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
34880 (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
34881
cd97c966
RM
34882 * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
34883 Define mkstemp64 as an alias.
3f55550c
RM
34884 * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
34885 Define mkstemps64 as an alias.
cd97c966
RM
34886 * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
34887 Define mkostemp64 as an alias.
b8625cfc
RM
34888 * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
34889 Define mkostemps64 as an alias.
cd97c966
RM
34890 * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
34891 Conditionalize body on this.
34892 * misc/mkostemp64.c: Likewise.
b8625cfc 34893 * misc/mkostemps64.c: Likewise.
3f55550c 34894 * misc/mkstemps64.c: Likewise.
cd97c966
RM
34895 * sysdeps/wordsize-64/mkstemp64.c: File removed.
34896 * sysdeps/wordsize-64/mkostemp64.c: File removed.
34897 * sysdeps/wordsize-64/mkostemp.c: File removed.
34898 * sysdeps/wordsize-64/mkstemp.c: File removed.
34899 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
34900 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
34901 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
34902 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
34903
09c0ee5f
RM
34904 [BZ #14138]
34905 * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
34906 * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
34907 * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
34908 * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
34909
34910 * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
34911 compat_symbol macros from <shlib-compat.h> rather than the underlying
34912 default_symbol_version and symbol_version macros, so that DEFAULT
34913 lines in shlib-versions are respected.
34914 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
34915
7e66ee51
FW
349162012-08-01 Florian Weimer <fweimer@redhat.com>
34917
34918 * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
34919 Declare with warn_unused_result.
34920 (setgid, setregid, setegid, setresgid): Likewise.
34921 * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
34922 Likewise.
34923 * WUR-REPORT: Remove set*id functions.
34924
d2a54255
PT
349252012-07-31 Pino Toscano <toscano.pino@tiscali.it>
34926
34927 * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
34928
7ecdb005
RM
349292012-07-31 Roland McGrath <roland@hack.frob.com>
34930
b4180a5e 34931 [BZ #10191]
789bd351
RM
34932 * include/sys/socket.h (__libc_accept, __libc_accept4):
34933 Add attribute_hidden.
34934 * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
34935
40ce302d
RM
34936 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
34937 use of PTR_MANGLE.
34938 * inet/getnetgrent_r.c (setup): Likewise.
34939
7ecdb005
RM
34940 * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
34941
e2eabb2c
DM
349422012-07-31 David S. Miller <davem@davemloft.net>
34943
34944 * sysdeps/sparc/fpu/libm-test-ulps: Update.
34945
d0419dbf
JM
349462012-07-31 Joseph Myers <joseph@codesourcery.com>
34947
34948 [BZ #13629]
34949 * math/s_clog.c (__clog): Use __log1p if larger part has absolute
34950 value between 1.0 and 2.0 and smaller part has absolute value less
34951 than 1.0.
34952 * math/s_clog10.c (__clog10): Likewise.
34953 * math/s_clog10f.c (__clog10f): Likewise.
34954 * math/s_clog10l.c (__clog10l): Likewise.
34955 * math/s_clogf.c (__clogf): Likewise.
34956 * math/s_clogl.c (__clogl): Likewise.
34957 * math/libm-test.inc (clog_test): Add more tests.
34958 (clog10_test): Likewise.
34959 * sysdeps/i386/fpu/libm-test-ulps: Update.
34960 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34961
2bc13872
FW
349622012-07-31 Florian Weimer <fweimer@redhat.com>
34963
34964 * stdlib/tst-secure-getenv.c: Use printf for error reporting.
34965 Exit with zero in case no suitable GID is found, and write a
34966 message to standard error.
34967
bea9b193
RM
349682012-07-30 Roland McGrath <roland@hack.frob.com>
34969
34970 * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
34971 rather than to 1.
34972 (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
34973 (MAXPATHLEN): Removed.
34974 (NOGROUP, NODEV): New macros.
34975 (setbit, clrbit, isset, isclr): New macros.
34976 (howmany, roundup, powerof2): New macros.
34977 (DEV_BSIZE): New macro.
34978
34979 * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
34980 * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
34981
34982 * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
34983 definition on [!__NO_LONG_DOUBLE_MATH].
34984
34985 * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
34986 PTR_MANGLE and PTR_DEMANGLE.
34987
34988 * socket/accept4.c (accept4): Rename to __libc_accept4.
34989 Define accept4 as a weak alias.
34990
34991 * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
34992 on [_DIRENT_HAVE_D_TYPE].
34993 * io/ftw.c (ftw_dir): Likewise.
34994
34995 * io/xmknod.c (__xmknod): Don't check PATH for being null.
34996
34997 * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
34998
34999 * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
35000 Use the BSD numbers rather than the arbitrary ones we had.
35001 (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
35002 (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
35003 (SIGXCPU, SIGXFSZ): New macros.
35004 (_NSIG): Now 32.
35005
35006 * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
35007 initializer on [_LIBC_REENTRANT].
35008
35009 * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
35010 definitions inside [_POSIX_MAPPED_FILES].
35011
35012 * posix/regex.c: Include <sys/param.h> for MIN/MAX.
35013
35014 * dirent/opendir.c: Include <fcntl.h>.
35015
35016 * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
35017 (__libc_getspecific): Likewise.
35018 (__libc_key_create): Likewise.
35019
35020 * stdio-common/tmpfile64.c: Include <fcntl.h> first.
35021 [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
35022 * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
35023 (tmpfile64): Define as alias.
35024 * sysdeps/wordsize-64/tmpfile.c: File removed.
35025 * sysdeps/wordsize-64/tmpfile64.c: File removed.
35026 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
35027 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
35028
35029 * stdio-common/vfscanf.c: Include <stdbool.h>.
35030 * nss/makedb.c: Likewise.
35031 * stdio-common/_i18n_number.h: Likewise.
35032 * argp/argp-help.c: Likewise.
35033 * posix/wordexp.c: Likewise.
35034 * sysdeps/posix/spawni.c: Likewise.
35035 * nss/nss_files/files-initgroups.c: Likewise.
35036 * stdio-common/reg-modifier.c: Include <stdlib.h>.
35037 * nss/nss_files/files-initgroups.c: Likewise.
35038 * nss/nss_db/db-netgrp.c: Likewise.
35039 * nss/nss_db/db-initgroups.c: Likewise.
35040 * io/fchmodat.c: Include <sys/stat.h>.
35041
35042 * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
35043 __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
35044
35045 * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
35046 [HAVE_MMAP].
35047
35048 * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
35049 Add multiple inclusion protection.
35050
e5abc686
DM
350512012-07-27 David S. Miller <davem@davemloft.net>
35052
35053 * sysdeps/sparc/fpu/libm-test-ulps: Update.
35054
815e6fa3
GB
350552012-07-27 Gary Benson <gbenson@redhat.com>
35056
35057 [BZ #14298]
35058 * elf/rtld.c: Include <stap-probe.h>.
35059 (dl_main): Added static probes "init_start" and "init_complete".
35060 * elf/dl-load.c: Include <stap-probe.h>.
35061 (lose): Take new parameter "nsid".
35062 Added static probe "map_failed".
35063 (_dl_map_object_from_fd): Pass namespace id to lose.
35064 Added static probe "map_start".
35065 (open_verify): Pass namespace id to lose.
35066 * elf/dl-open.c: Include <stap-probe.h>.
35067 (dl_open_worker) Added static probes "map_complete", "reloc_start"
35068 and "reloc_complete".
35069 * elf/dl-close.c: Include <stap-probe.h>.
35070 (_dl_close_worker): Added static probes "unmap_start" and
35071 "unmap_complete".
35072 * elf/rtld-debugger-interface.txt: New file documenting the above.
35073
9f98c16c
RM
350742012-07-26 Roland McGrath <roland@hack.frob.com>
35075
35076 * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
35077 rather than a string variable.
35078 * sunrpc/rpc_main.c (h_output): Likewise.
35079 * sunrpc/rpc_svcout.c (write_real_program): Likewise.
35080
f3c22df3
PT
350812012-07-26 Pino Toscano <toscano.pino@tiscali.it>
35082
35083 * inet/check_native.c: New file.
35084
3129cfc6
JM
350852012-07-26 Joseph Myers <joseph@codesourcery.com>
35086
da865e95
JM
35087 [BZ #13629]
35088 * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
35089 if larger part has absolute value 1.0.
35090 * math/s_clog10.c (__clog10): Likewise.
35091 * math/s_clog10f.c (__clog10f): Likewise.
35092 * math/s_clog10l.c (__clog10l): Likewise.
35093 * math/s_clogf.c (__clogf): Likewise.
35094 * math/s_clogl.c (__clogl): Likewise.
35095 * math/libm-test.inc (clog_test): Add more tests.
35096 (clog10_test): Likewise.
35097 * sysdeps/i386/fpu/libm-test-ulps: Update.
35098 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35099
3129cfc6
JM
35100 * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
35101 (pltexit): Likewise.
35102 (La_regs): Likewise.
35103 (La_retval): Likewise.
35104 (int_retval): Likewise.
35105 Update #error for removed macros to refer only to definitions in
35106 tst-audit.h.
35107 * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
35108 macro.
35109 (pltexit): Likewise.
35110 (La_regs): Likewise.
35111 (La_retval): Likewise.
35112 (int_retval): Likewise.
35113 * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
35114 macro.
35115 (pltexit): Likewise.
35116 (La_regs): Likewise.
35117 (La_retval): Likewise.
35118 (int_retval): Likewise.
35119 * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
35120 macro.
35121 (pltexit): Likewise.
35122 (La_regs): Likewise.
35123 (La_retval): Likewise.
35124 (int_retval): Likewise.
35125 * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
35126 macro.
35127 (pltexit): Likewise.
35128 (La_regs): Likewise.
35129 (La_retval): Likewise.
35130 (int_retval): Likewise.
35131 * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
35132 macro.
35133 (pltexit): Likewise.
35134 (La_regs): Likewise.
35135 (La_retval): Likewise.
35136 (int_retval): Likewise.
35137 * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
35138 macro.
35139 (pltexit): Likewise.
35140 (La_regs): Likewise.
35141 (La_retval): Likewise.
35142 (int_retval): Likewise.
35143 * sysdeps/generic/tst-audit.h: Update comment to refer only to
35144 macro definitions in tst-audit.h.
35145 * sysdeps/i386/tst-audit.h: New file.
35146 * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
35147 * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
35148 * sysdeps/s390/s390-32/tst-audit.h: Likewise.
35149 * sysdeps/s390/s390-64/tst-audit.h: Likewise.
35150 * sysdeps/sh/tst-audit.h: Likewise.
35151 * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
35152 * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
35153 * sysdeps/x86_64/tst-audit.h: Likewise.
35154
bfc07087
AJ
351552012-07-26 Andreas Jaeger <aj@suse.de>
35156
b1b2aaf8
AJ
35157 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
35158 ptrace.
35159
35160 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
35161 new value PTRACE_EVENT_SECCOMP from Linux 3.5.
35162 (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
35163 PTRACE_O_MASK.
35164 * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
35165 * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
35166 * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
35167
bfc07087
AJ
35168 * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
35169 value.
35170
35171 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
35172 _sigsys.
35173 (si_call_addr, si_syscall, si_arch): Define new macro.
35174 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
35175 _sigsys.
35176 (si_call_addr, si_syscall, si_arch): Define new marcro.
35177 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
35178 _sigsys.
35179 (si_call_addr, si_syscall, si_arch): Define new macro.
35180 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
35181 _sigsys.
35182 (si_call_addr, si_syscall, si_arch): Define new macro.
35183
89b4b02f
JM
351842012-07-25 Joseph Myers <joseph@codesourcery.com>
35185
35186 [BZ #13717]
35187 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
35188 Change to 2.4.21 where previously 2.4.1.
35189 * sysdeps/unix/sysv/linux/configure: Regenerated.
35190 * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
35191 __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
35192 Linux kernel version.
35193 (__ASSUME_STD_AUXV): Remove.
35194 [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
35195 kernel version.
35196 [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
35197 (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
35198 (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
35199 (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
35200 (__ASSUME_NETLINK_SUPPORT): Likewise.
35201 * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
35202 (__no_netlink_support): Remove conditional definition.
35203 * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
35204 Remove.
35205 (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
35206 [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
35207 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
35208 (if_nameindex_ioctl): Remove.
35209 (if_nameindex_netlink): Do not handle __no_netlink_support.
35210 (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
35211 code.
35212 * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
35213 Remove conditional code.
35214 (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
35215 code.
35216 (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
35217 unconditional.
35218 [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
35219 [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
35220 * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
35221 Remove.
35222 * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
35223 [!__ASSUME_STD_AUXV]: Remove conditional code.
35224 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
35225 [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
35226 [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
35227 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
35228 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
35229 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
35230 code.
35231 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
35232 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
35233 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
35234 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
35235 conditional code.
35236 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
35237 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
35238 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
35239 code.
35240 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
35241 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
35242 conditional code.
35243 * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
35244 (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
35245 code unconditional.
35246 (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
35247 conditional code.
35248 (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
35249 unconditional.
35250 (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
35251 conditional code.
35252 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
35253 (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
35254 unconditional.
35255 (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
35256 conditional code.
35257 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
35258 (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
35259 code unconditional.
35260 (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
35261 conditional code.
35262 (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
35263 unconditional.
35264 (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
35265 conditional code.
35266 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
35267 (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
35268 code unconditional.
35269 (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
35270 conditional code.
35271 (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
35272 unconditional.
35273 (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
35274 conditional code.
35275
842a39cd
AS
352762012-07-25 Andreas Schwab <schwab@linux-m68k.org>
35277
35278 * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
35279 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
35280 * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
35281 * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
35282 * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
35283 * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
35284 * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
35285 * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
35286 * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
35287 * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
35288 * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
35289 * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
35290 * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
35291 * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
35292 * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
35293 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
35294 * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
35295 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
35296 * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
35297 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
35298 * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
35299 * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
35300 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
35301
84b3fd84
FW
353022012-07-25 Florian Weimer <fweimer@redhat.com>
35303
35304 * Versions.def: Add GLIBC_2.17.
84b3fd84
FW
35305 * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
35306 * include/stdlib.h: Rename __secure_getenv to secure_getenv.
35307 Introduce __libc_secure_getenv.
0c7936d5
FW
35308 * stdlib/Versions (2.17): Add secure_getenv
35309 (GLIBC_PRIVATE): Add __libc_secure_getenv.
35310 * stdlib/secure-getenv.c: Rename __secure_getenv to
35311 __libc_secure_getenv. Add secure_getenv alias. Add compatibility
35312 symbol __secure_getenv for GLIBC_2.0.
84b3fd84
FW
35313 * stdlib/tst-secure-getenv.c: New.
35314 * stdlib/Makefile (tests): Add testcase.
84b3fd84
FW
35315 * manual/startup.texi (Environment Access): Document
35316 secure_getenv.
84b3fd84
FW
35317 * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
35318 __libc_secure_getenv.
35319 * inet/ruserpass.c (ruserpass): Likewise.
35320 * malloc/mtrace.c (mtrace): Likewise.
35321 * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
0c7936d5 35322 * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
84b3fd84
FW
35323 * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
35324 * sysdeps/posix/tempname.c: Likewise. Evaluate
35325 HAVE_SECURE_GETENV.
35326 * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
0c7936d5 35327 __secure_getenv to __libc_secure_getenv.
84b3fd84 35328 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
84b3fd84
FW
35329 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
35330 Likewise.
35331 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
35332 Likewise.
35333 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
35334 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
35335 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
35336 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
35337 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
35338 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
35339 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
84b3fd84 35340
56e49b71
JM
353412012-07-25 Joseph Myers <joseph@codesourcery.com>
35342
35343 * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
35344 (struct La_i86_retval): Likewise.
35345 (struct La_x86_64_regs): Likewise.
35346 (struct La_x86_64_retval): Likewise.
35347 (struct La_x32_regs): Likewise.
35348 (struct La_x32_retval): Likewise.
35349 (struct La_ppc32_regs): Likewise.
35350 (struct La_ppc32_retval): Likewise.
35351 (struct La_ppc64_regs): Likewise.
35352 (struct La_ppc64_retval): Likewise.
35353 (struct La_sh_regs): Likewise.
35354 (struct La_sh_retval): Likewise.
35355 (struct La_s390_32_regs): Likewise.
35356 (struct La_s390_32_retval): Likewise.
35357 (struct La_s390_64_regs): Likewise.
35358 (struct La_s390_64_retval): Likewise.
35359 (struct La_sparc32_regs): Likewise.
35360 (struct La_sparc32_retval): Likewise.
35361 (struct La_sparc64_regs): Likewise.
35362 (struct La_sparc64_retval): Likewise.
35363 (struct audit_ifaces): Remove architecture-specific pltenter and
35364 pltexit members.
35365 * sysdeps/i386/ldsodefs.h: New file.
35366 * sysdeps/powerpc/ldsodefs.h: Likewise.
35367 * sysdeps/s390/ldsodefs.h: Likewise.
35368 * sysdeps/sh/ldsodefs.h: Likewise.
35369 * sysdeps/sparc/ldsodefs.h: Likewise.
35370 * sysdeps/x86_64/ldsodefs.h: Likewise.
35371
354691b7
MP
353722012-07-25 Marek Polacek <polacek@redhat.com>
35373
35374 [BZ #6808]
35375 * math/libm-test.inc (yn_test): Add another test.
35376 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
35377 to ERANGE when the result is +-Inf.
35378 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
35379 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
35380 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
35381 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
35382
bf9e2071
JM
353832012-07-24 Joseph Myers <joseph@codesourcery.com>
35384
35385 * conform/data/time.h-data (NULL): Use macro-constant. Require
35386 equal to 0.
35387 (CLOCKS_PER_SEC): Use macro instead of constant. Specify type as
35388 clock_t.
35389 [ISO11] (TIME_UTC): Use macro-int-constant. Require value > 0.
35390
57633811
TS
353912012-07-23 Thomas Schwinge <thomas@codesourcery.com>
35392
35393 * configure.in <sysdeps resolving>: Correct printing
35394 Implies_before.
35395 * configure: Regenerate.
35396
c23c33b0
TS
353972012-07-22 Thomas Schwinge <thomas@codesourcery.com>
35398
35399 * math/w_ilogb.c: Include <limits.h>.
35400 * math/w_ilogbl.c: Likewise.
35401
b5982523
JM
354022012-07-20 Joseph Myers <joseph@codesourcery.com>
35403
35404 * manual/lang.texi (__va_copy): Document primarily as ISO C99
35405 va_copy. Document allowing for unavailable va_copy only as
35406 pre-C99 compatibility.
35407 * manual/string.texi (Copying and Concatenation): Use va_copy
35408 instead of __va_copy in concat example.
35409
ac4ea442
PT
354102012-07-20 Pino Toscano <toscano.pino@tiscali.it>
35411
35412 * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
35413 (__sendto): Use create_address_port. Initialize APORT and deallocate
35414 it if not null.
35415
f98eafbd
PT
35416 * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
35417 with O_NOLINK passed to __file_name_lookup.
35418
898c7aab
PT
35419 * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
35420 with O_NOLINK passed to __file_name_lookup.
35421
0ced335a
PT
35422 * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
35423 negative N or less than NGIDS.
35424
b3404dbd
PT
35425 * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
35426 type to string_t. Set ERANGE as errno and return it if NAME is not big
35427 enough. Use memcpy instead of strncpy.
35428
0f48659e
JM
354292012-07-20 Joseph Myers <joseph@codesourcery.com>
35430
35431 * elf/Makefile (check-data): Remove.
35432 (localplt.data): New vpath directive.
35433 ($(objpfx)check-localplt.out): Use localplt.data from vpath
35434 instead of $(check-data).
35435 * scripts/data/localplt-generic.data: Move to ...
35436 * sysdeps/generic/localplt.data: ... here.
35437 * scripts/data/localplt-i386-linux-gnu.data: Move to ...
35438 * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
35439 * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
35440 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
35441 ... here.
35442 * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
35443 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
35444 ... here.
35445 * scripts/data/localplt-s390-linux-gnu.data: Move to ...
35446 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
35447 ... here.
35448 * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
35449 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
35450 ... here.
35451 * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
35452 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
35453 ... here.
35454 * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
35455 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
35456 ... here.
35457
d37cbdaa
AZ
354582012-07-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
35459
35460 * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
35461 PPC32 and PPC64 files.
35462 * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
35463 * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
35464
46f85fc2
AK
354652012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
35466
35467 * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
35468 __makecontext_ret to ...
35469 * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
35470 ... here and call exit if uc_link is NULL. New file.
35471 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
35472 __makecontext_ret.S.
35473 * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
35474 __makecontext_ret to ...
35475 * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
35476 ... here and call exit if uc_link is NULL. New file.
35477 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
35478 __makecontext_ret.S.
35479
08f43f9b
AK
354802012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
35481
35482 * elf/elf.h (R_390_IRELATIVE): New definition.
35483 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
35484 resolver function for IFUNC symbols. Support R_390_IRELATIVE.
35485 (elf_machine_lazy_rel): Support R_390_IRELATIVE.
35486 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
35487 (elf_machine_lazy_rel): Likewise.
35488 * sysdeps/s390/dl-irel.h: New file.
35489 * sysdeps/s390/s390-64/memcpy.S: New asm code.
35490 * sysdeps/s390/s390-64/memset.S: New asm code.
35491 * sysdeps/s390/s390-64/memcmp.S: New asm code.
35492 * sysdeps/s390/s390-64/multiarch/memset.S: New file.
35493 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
35494 * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
35495 * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
35496 * sysdeps/s390/s390-64/multiarch/Makefile: New file.
35497 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
35498 * sysdeps/s390/s390-32/multiarch/Makefile: New file.
35499 * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
35500 * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
35501 * sysdeps/s390/s390-32/multiarch/memset.S: New file.
35502 * sysdeps/s390/s390-32/memcpy.S: New asm code.
35503 * sysdeps/s390/s390-32/memset.S: New asm code.
35504 * sysdeps/s390/s390-32/memcmp.S: New asm code.
35505
3b05db33
MP
355062012-07-17 Marek Polacek <polacek@redhat.com>
35507
35508 [BZ #14349]
35509 * sysdeps/s390/s390-32/configure.in: Remove TLS check.
35510 * sysdeps/s390/s390-64/configure.in: Likewise.
35511 * sysdeps/sparc/configure.in: Likewise.
35512 * sysdeps/powerpc/powerpc32/configure.in: Likewise.
35513 * sysdeps/powerpc/powerpc64/configure.in: Likewise.
35514 * sysdeps/i386/configure.in: Likewise.
35515 * sysdeps/x86_64/configure.in: Likewise.
35516 * sysdeps/sh/configure.in: Likewise.
35517 * sysdeps/s390/s390-32/configure: Regenerated.
35518 * sysdeps/s390/s390-64/configure: Likewise.
35519 * sysdeps/x86_64/configure: Likewise.
35520 * sysdeps/sh/configure: Likewise.
35521 * sysdeps/powerpc/powerpc64/configure: Likewise.
35522 * sysdeps/powerpc/powerpc32/configure: Likewise.
35523 * sysdeps/sparc/configure: Likwise.
35524 * sysdeps/i386/configure: Likewise.
35525
a66877c6
MP
35526 * elf/dl-open.c: Comment fixes.
35527
cfc82fd8
JM
355282012-07-17 Joseph Myers <joseph@codesourcery.com>
35529
bd29910a
JM
35530 * Makefile [CXX] (check-data): Remove.
35531 [CXX] (c++-types.data): New vpath directive.
35532 [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
35533 vpath. Do not allow for C++ type data being missing.
35534 * scripts/data/c++-types-alpha-linux-gnu.data: Move to
35535 ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
35536 * scripts/data/c++-types-ia64-linux-gnu.data: Move to
35537 ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
35538 * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
35539 * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
35540 * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
35541 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
35542 ... here.
35543 * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
35544 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
35545 ... here.
35546 * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
35547 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
35548 ... here.
35549 * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
35550 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
35551 ... here.
35552 * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
35553 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
35554 ... here.
35555 * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
35556 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
35557 ... here.
35558 * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
35559 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
35560 ... here.
35561 * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
35562 * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
35563
cfc82fd8
JM
35564 * elf/tls-macros.h (TLS_LE): Move architecture-specific
35565 definitions to architecture-specific files.
35566 (TLS_IE): Likewise.
35567 (TLS_LD): Likewise.
35568 (TLS_GD): Likewise.
35569 * sysdeps/i386/tls-macros.h: New file.
35570 * sysdeps/powerpc/tls-macros.h: Likewise.
35571 * sysdeps/s390/s390-32/tls-macros.h: Likewise.
35572 * sysdeps/s390/s390-64/tls-macros.h: Likewise.
35573 * sysdeps/sh/tls-macros.h: Likewise.
35574 * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
35575 * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
35576 * sysdeps/x86_64/tls-macros.h: Likewise.
35577
f7db3170
TS
355782012-07-17 Thomas Schwinge <thomas@codesourcery.com>
35579
07cbfc23
TS
35580 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
35581 zero value for regular exit case.
35582
f7db3170
TS
35583 * sysdeps/unix/sysv/linux/x86_64/__start_context.S
35584 (__start_context): Preserve zero value for regular exit case.
35585
dc97c227
TS
355862012-07-17 Thomas Schwinge <thomas@codesourcery.com>
35587 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
35588
35589 * manual/setjmp.texi (setcontext): Clarify normal process
35590 termination when uc_link is the null pointer.
35591 * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
35592 exit call.
35593
d0cd7d02
AS
355942012-07-16 Andreas Schwab <schwab@linux-m68k.org>
35595
35596 * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
35597 preprocessor. Test for each exception mask separately.
35598
dd318934
AJ
355992012-07-16 Andreas Jaeger <aj@suse.de>
35600
35601 * po/ru.po: Update from translation team.
35602
8048311a
JM
356032012-07-15 Joseph Myers <joseph@codesourcery.com>
35604
35605 * conform/data/string.h-data (NULL): Use macro-constant. Require
35606 equal to 0.
35607 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
35608 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
35609 (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
35610 (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
35611 [ISO || ISO99 || ISO11] (*_t): Do not allow.
35612
b637d46e
AJ
356132012-07-13 Andreas Jaeger <aj@suse.de>
35614
35615 * po/fr.po: Update from translation team.
35616
541428fe
MP
356172012-07-12 Marek Polacek <polacek@redhat.com>
35618
35619 [BZ #14173]
35620 * math/libm-test.inc (yn_test): Add test for BZ #14173.
35621 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
35622 loop condition.
35623
ec332e94
JM
356242012-07-12 Joseph Myers <joseph@codesourcery.com>
35625
35626 [BZ #13717]
35627 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
35628 Change to 2.4.1 where previously 2.4.0.
35629 * sysdeps/unix/sysv/linux/configure: Regenerated.
35630 * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
35631 (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
35632 version.
35633 [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
35634 (__ASSUME_AT_CLKTCK): Remove.
35635 (__ASSUME_AT_PAGESIZE): Likewise.
35636 (__ASSUME_AT_XID): Likewise.
35637 (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
35638 [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
35639 * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
35640 unconditionally.
35641 (HAVE_AUX_PAGESIZE): Likewise.
35642 * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
35643 [__ASSUME_AT_CLKTCK]: Make code unconditional.
35644 [!__ASSUME_AT_CLKTCK]: Remove conditional code.
35645
7b6e99be
JB
356462012-07-12 Jeroen van Bemmel <jvb127@gmail.com>
35647
35648 [BZ #14307]
35649 * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
35650 the temporary buffer used to invoke __gethostbyname2_r,
35651 __gethostbyaddr_r and gethostbyname4_r to make room for struct
35652 host_data / struct gaih_addrtuple.
35653 * resolv/nss_dns/dns-host.c (global scope): Move definition of
35654 implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
35655 header file nss/nsswitch.h.
35656 * nss/nsswitch.h (global scope): Add definition of implementation
35657 constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
35658 resolv/nss_dns/dns-host.c).
35659
608404eb
AJ
356602012-07-11 Andreas Jaeger <aj@suse.de>
35661
35662 * po/fr.po: Update from translation team.
35663
71220aca
AJ
35664 * po/sv.po: Update from translation team
35665 * po/fr.po: Another update from translation team.
35666
28cfe843
AZ
356672012-07-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
35668
35669 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
35670 for subnormals or multiply small sinh result by itself.
35671 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
35672 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
35673
6b90f981
DM
356742012-07-11 David S. Miller <davem@davemloft.net>
35675
35676 * sysdeps/sparc/fpu/libm-test-ulps: Update.
35677
c6825772
AS
356782012-07-10 Andreas Schwab <schwab@linux-m68k.org>
35679
35680 [BZ #14347]
35681 * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
35682 (INTERNAL_MARK): Shift it here.
35683
7b8e0d49
MP
356842012-07-10 Marek Polacek <polacek@redhat.com>
35685
35686 [BZ #14151]
35687 * configure.in (libc_cv_asm_global_directive): Remove test. Replace
35688 libc_cv_asm_global_directive with .globl.
35689 * configure: Regenerated.
35690 * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
35691 with .globl.
35692 * sysdeps/i386/configure: Regenerated.
35693 * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
35694 with .globl.
35695 * sysdeps/x86_64/configure: Regenerated.
35696 * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
35697 * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
35698 * elf/tst-unique2mod2.c: Likewise.
35699 * elf/tst-unique2mod1.c: Likewise.
35700 * elf/tst-unique1mod2.c: Likewise.
35701 * elf/tst-unique1mod1.c: Likewise.
35702 * sysdeps/s390/s390-32/sysdep.h: Likewise.
35703 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
35704 * sysdeps/s390/s390-64/sysdep.h: Likewise.
35705 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
35706 * sysdeps/mach/sysdep.h: Likewise.
35707 * sysdeps/i386/sysdep.h: Likewise.
35708 * sysdeps/i386/i386-mcount.S: Likewise.
35709 * sysdeps/x86_64/_mcount.S: Likewise.
35710 * sysdeps/x86_64/sysdep.h: Likewise.
35711 * sysdeps/sh/_mcount.S: Likewise.
35712 * sysdeps/sh/sysdep.h: Likewise.
35713 * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
35714 * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
35715 * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
35716 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
35717 * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
35718 * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
35719 * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
35720 * locale/localeinfo.h: Likewise.
35721 (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
35722 (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
35723
6c55cda3
RM
357242012-07-09 Roland McGrath <roland@hack.frob.com>
35725
35726 [BZ #14336]
35727 * manual/charset.texi (Extended Char Intro): Word use fix, "operating
35728 system".
35729 * manual/message.texi (The Uniforum approach): Likewise.
35730 * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
35731 (glibc iconv Implementation): Likewise.
35732
638a572e
JM
357332012-07-09 Joseph Myers <joseph@codesourcery.com>
35734
35735 [BZ #14337]
35736 * math/s_clog.c (__clog): Avoid scaling a value down where that
35737 could result in underflow.
35738 * math/s_clog10.c (__clog10): Likewise.
35739 * math/s_clog10f.c (__clog10f): Likewise.
35740 * math/s_clog10l.c (__clog10l): Likewise.
35741 * math/s_clogf.c (__clogf): Likewise.
35742 * math/s_clogl.c (__clogl): Likewise.
35743 * math/libm-test.inc (clog_test): Add more tests.
35744 (clog10_test): Likewise.
35745 * sysdeps/i386/fpu/libm-test-ulps: Update.
35746 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35747
261f4859
AS
357482012-07-06 Andreas Schwab <schwab@linux-m68k.org>
35749
0abaf3e4
AS
35750 [BZ #14283]
35751 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
35752 by 7 not 8 to examine high bit of fractional part.
35753
261f4859
AS
35754 [BZ #14042]
35755 * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
35756 for call to __mcount_internal.
35757 * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
35758 (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
35759 * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
35760
f17ac40d
JM
357612012-07-06 Joseph Myers <joseph@codesourcery.com>
35762
9ad63c23
JM
35763 [BZ #14154]
35764 * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
35765 approximation for values within 0x1p-13f of an odd multiple of
35766 pi/4.
35767 * math/libm-test.inc (tan_test): Do not allow spurious underflow
35768 exception. Add more tests.
35769 * sysdeps/i386/fpu/libm-test-ulps: Update.
35770
f17ac40d
JM
35771 [BZ #6778]
35772 * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
35773 inputs and return -1 for them. Do not check for +Inf in case not
35774 reachable for +Inf.
35775 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
35776 * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
35777 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
35778 and return -1 for them. Do not check for +Inf in case not
35779 reachable for +Inf.
35780 * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
35781 define.
35782 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
35783 and return -1 for them. Do not check for +Inf in case not
35784 reachable for +Inf.
35785 * math/libm-test.inc (expm1_test): Add more tests. Do not allow
35786 spurious underflow.
35787 * sysdeps/i386/fpu/libm-test-ulps: Update.
35788 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35789
fb21f89b
MF
357902012-07-06 Mike Frysinger <vapier@gentoo.org>
35791
35792 * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
35793
cdfe2c5e
JM
357942012-07-05 Joseph Myers <joseph@codesourcery.com>
35795
35796 [BZ #14157]
35797 [BZ #14331]
35798 * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
35799 could result in spurious underflow. Scale down values above
35800 DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
35801 * math/s_csqrtf.c (__csqrtf): Likewise.
35802 * math/s_csqrtl.c (__csqrtl): Likewise.
35803 * math/libm-test.inc (csqrt_test): Add more tests. Do not allow
35804 spurious underflow.
35805 * sysdeps/i386/fpu/libm-test-ulps: Update.
35806 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35807
70d35b67
AS
358082012-07-04 Andreas Schwab <schwab@linux-m68k.org>
35809
704bc459
AS
35810 * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
35811 xopen-msg.sed.
35812 * catgets/xopen-msg.awk: New file.
35813 * catgets/xopen-msg.sed: Removed.
35814
70d35b67
AS
35815 * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
35816 po2text.sed.
35817 * intl/po2test.awk: New file.
35818 * intl/po2test.sed: Removed.
35819
ca61cf32
JM
358202012-07-04 Joseph Myers <joseph@codesourcery.com>
35821
35822 [BZ #14328]
35823 * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
35824 or multiply small sinh result by itself.
35825 * math/s_ctanf.c (__ctanf): Likewise.
35826 * math/s_ctanh.c (__ctanh): Likewise.
35827 * math/s_ctanhf.c (__ctanhf): Likewise.
35828 * math/s_ctanhl.c (__ctanhl): Likewise.
35829 * math/s_ctanl.c (__ctanl): Likewise.
35830 * math/libm-test.inc (ctan_test_tonearest): New function.
35831 (ctan_test_towardzero): Likewise.
35832 (ctan_test_downward): Likewise.
35833 (ctan_test_upward): Likewise.
35834 (ctanh_test_tonearest): Likewise.
35835 (ctanh_test_towardzero): Likewise.
35836 (ctanh_test_downward): Likewise.
35837 (ctanh_test_upward): Likewise.
35838 (main): Call these new functions.
35839 * sysdeps/i386/fpu/libm-test-ulps: Update.
35840 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35841
ca48a46a
MF
358422012-07-03 Mike Frysinger <vapier@gentoo.org>
35843
35844 * .gitignore: Delete /ports entry.
35845
9d63d37d
AJ
358462012-07-03 Andreas Jaeger <aj@suse.de>
35847
35848 * po/bg.po: Update from translation team.
35849 * po/cs.po: Likewise.
35850 * po/de.po: Likewise.
35851 * po/hr.po: Likewise.
35852 * po/nl.pl: Likewise.
35853 * po/pl.po: Likewise.
35854 * po/vi.po: Likewise.
35855
370ca3d2
JM
358562012-07-03 Joseph Myers <joseph@codesourcery.com>
35857
95f5a9a8
JM
35858 * Makeconfig [!+link] (+link-before-libc): New variable.
35859 [!+link] (+link-after-libc): Likewise.
35860 [!+link] (+link-tests): Likewise.
35861 [!+link] (+link): Define in terms of $(+link-before-libc) and
35862 $(+link-after-libc).
35863 [!+link-static] (+link-static-before-libc): New variable.
35864 [!+link-static] (+link-static-after-libc): Likewise.
35865 [!+link-static] (+link-static-tests): Likewise.
35866 [!+link-static] (+link-static): Define in terms of
35867 $(+link-static-before-libc) and $(+link-static-after-libc).
35868 [build-shared] (link-libc-before-gnulib): New variable.
35869 [build-shared] (link-libc-tests): Likewise.
35870 [build-shared] (link-libc): Define in terms of
35871 $(link-libc-before-gnulib).
35872 [!build-shared] (link-libc-tests): New variable.
35873 (link-libc-static-tests): New variable.
35874 [!gnulib] (gnulib-arch): New variable.
35875 [!gnulib] (gnulib-tests): Likewise.
35876 [!gnulib] (static-gnulib-arch): Likewise.
35877 [!gnulib] (static-gnulib-tests): Likewise.
35878 [!gnulib] (gnulib): Use $(gnulib-arch). Do not use $(libgcc_eh).
35879 Define with "=" instead of ":=".
35880 [!gnulib] (static-gnulib): Use $(static-gnulib-arch). Do not use
35881 -lgcc_eh $(libunwind). Define with "=" instead of ":=".
35882 * Rules (binaries-all-notests): New variable.
35883 (binaries-all-tests): Likewise.
35884 (binaries-static-notests): Likewise.
35885 (binaries-static-tests): Likewise.
35886 (binaries-all): Define using $(binaries-all-notests) and
35887 $(binaries-all-tests).
35888 (binaries-static): Define using $(binaries-static-notests) and
35889 $(binaries-static-tests).
35890 (binaries-shared-tests): New variable.
35891 (binaries-shared-notests): Likewise.
35892 (binaries-shared): Remove variable.
35893 ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
35894 ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
35895 ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
35896 ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
35897 ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
35898 ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
35899 * elf/Makefile (sln-modules): New variable.
35900 (extra-objs): Add $(sln-modules:=.o).
35901 (ldconfig-modules): Add static-stubs.
35902 ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
35903 * elf/static-stubs.c: New file.
35904
7a845b2c
JM
35905 [BZ #14283]
35906 * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
35907 by 7 not 8 to examine high bit of fractional part. Use volatile
35908 variables when splitting into final array of floats if
35909 __FLT_EVAL_METHOD__ != 0.
35910 * math/libm-test.inc (cos_test): Add another test.
35911 (sin_test): Likewise.
35912 * sysdeps/i386/fpu/libm-test-ulps: Update.
35913
e2283f38
JM
35914 [BZ #14273]
35915 * math/libm-test.inc (cosh_test): Add more tests.
35916
370ca3d2
JM
35917 * version.h (RELEASE): Set to "development".
35918 (VERSION): Set to "2.16.90".
35919
ee9247c3
CD
359202012-06-30 Carlos O'Donell <carlos_odonell@mentor.com>
35921
35922 * NEWS: Update copyright. Remove last-updated date.
35923 Mention math library bug fixes and timezone data changes.
35924 * README: Mention GNU/Hurd, x32, and HPPA support status.
35925
4648c381
TS
359262012-06-28 Thomas Schwinge <thomas@codesourcery.com>
35927
35928 * manual/contrib.texi (Contributors): Sort alphabetically by last name.
35929
aac78a43
AJ
359302012-06-27 Andreas Jaeger <aj@suse.de>
35931
35932 * manual/contrib.texi (Contributors): Add Samuel Thibault.
35933
ed3dbfad
AJ
359342012-06-25 Andreas Jaeger <aj@suse.de>
35935
35936 * sysdeps/s390/fpu/libm-test-ulps: Update.
35937
4d0ee855
AS
359382012-06-23 Andreas Schwab <schwab@linux-m68k.org>
35939 Thomas Schwinge <thomas@codesourcery.com>
35940
35941 * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
35942 * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
35943 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
35944 fanotify_mark.
35945
af1bce34
TS
359462012-06-23 Thomas Schwinge <thomas@codesourcery.com>
35947
a9fa33ba
TS
35948 * sysdeps/mach/start.c: Remove file.
35949 * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
35950 * sysdeps/i386/init-first.c: Fix comment regarding start.S.
35951 * sysdeps/sh/init-first.c: Likewise.
35952
58f902b8
TS
35953 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
35954 registers for frame unwinding purposes, add CFI directives.
35955 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
35956 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise
35957 * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
35958 Likewise.
35959
1518f58b
TS
35960 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
35961 __fortify_fail returning.
35962 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
35963
db9b5059
TS
35964 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
35965 sysdeps/sh/____longjmp_chk.S.
35966 * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
35967 on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
35968 * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
35969 (gen-as-const-headers): Append sigaltstack-offsets.sym.
35970
967705fe
TS
35971 * sysdeps/sh/abort-instr.h: New file.
35972 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
35973 process in case exit returns.
35974
a9def8c4
TS
35975 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
35976 initialize the GOT register before use.
35977
2a649725
TS
35978 * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
35979 calculation of ARGC > 4.
35980
af1bce34
TS
35981 * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
35982 meaningful names to some local labels.
35983
d230f50a
KK
359842012-06-22 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
35985 Kaz Kojima <kkojima@rr.iij4u.or.jp>
35986
35987 * sysdeps/unix/sysv/linux/sh/bits/atomic.h
35988 (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
35989 (__arch_compare_and_exchange_val_16_acq): Likewise.
35990 (__arch_compare_and_exchange_val_32_acq): Likewise.
35991 (atomic_exchange_and_add): Fix gUSA sequence.
35992 (atomic_add): Likewise.
35993 (atomic_add_negative): Likewise.
35994 (atomic_add_zero): Likewise.
35995 (atomic_bit_test_set): Likewise.
35996
0479b305
AS
359972012-06-22 Andreas Schwab <schwab@redhat.com>
35998
35999 [BZ #13579]
36000 * include/link.h (struct link_map): Add l_free_initfini.
36001 * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
36002 l_initfini.
36003 * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
36004 * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
36005 * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
36006 set.
36007
0e3933b9
CD
360082012-06-22 Carlos O'Donell <carlos_odonell@mentor.com>
36009
36010 * configure.in: Use AC_LANG_SOURCE.
36011 * configure: Regenerate.
36012
4248b1b1
RM
360132012-06-22 Roland McGrath <roland@hack.frob.com>
36014
36015 * configure.in (libc_cv_localstatedir): New substituted variable.
36016 * configure: Regenerated.
36017 * config.make.in (localstatedir): New variable, substituted from
36018 libc_cv_localstatedir.
36019 * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
36020 * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
36021 ${prefix}/var to /var when we change ${prefix}/etc to /etc.
36022 * sysdeps/gnu/configure: Regenerated.
36023
006dd861
JL
360242012-06-21 Jeff Law <law@redhat.com>
36025
36026 [BZ #14277]
36027 * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
36028 free. Simplify list management for _LIBC case.
36029
79662d42
JM
360302012-06-21 Joseph Myers <joseph@codesourcery.com>
36031
b7abb4bf
JM
36032 [BZ #14273]
36033 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
36034 Clear sign bit of 64-bit integer value before comparing against
36035 overflow value.
36036
79662d42
JM
36037 * sysdeps/mach/configure: Regenerated.
36038
1f150908
L
360392012-06-21 H.J. Lu <hongjiu.lu@intel.com>
36040
36041 [BZ #14278]
36042 * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
36043
28363bbf
JL
360442012-06-21 Jeff Law <law@redhat.com>
36045
36046 [BZ #13882]
36047 * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection. Use
36048 uint16_t for elements in the "seen" array to avoid char overflows.
80784193 36049 * elf/dl-fini.c (_dl_sort_fini): Likewise.
28363bbf
JL
36050 * elf/dl-open.c (dl_open_worker): Likewise.
36051
09615db4
CD
360522012-06-21 Carlos O'Donell <carlos_odonell@mentor.com>
36053
36054 * scripts/list-sources.sh: Scan PORTS for translations.
36055 * po/libc.pot: Regenerated.
36056
2174c6dd
AJ
360572012-06-21 Andreas Jaeger <aj@suse.de>
36058
36059 [BZ #12194]
36060 * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
36061 warning.
36062 * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
36063 * bits/byteswap-16.h (__bswap_16): Likewise.
36064 * bits/byteswap.h (__bswap_constant_16): Likewise.
36065
3ee947b1
L
360662012-06-18 H.J. Lu <hongjiu.lu@intel.com>
36067
36068 [BZ #14117]
a2f34833
L
36069 * sysdeps/i386/fpu_control.h: Removed.
36070 * sysdeps/x86_64/fpu_control.h: Moved to ...
36071 * sysdeps/x86/fpu_control.h: Here.
36072
3ee947b1
L
36073 * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
36074 (_FPU_SETCW): Likewise.
36075
ed1825f8
L
360762012-06-15 H.J. Lu <hongjiu.lu@intel.com>
36077
25f1282a
L
36078 [BZ #14117]
36079 * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
36080 * sysdeps/x86/fpu/bits/mathinline.h: This.
36081 * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
36082
ed1825f8
L
36083 [BZ #14050]
36084 [BZ #14117]
36085 * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
36086 functions if __x86_64__ is defined.
36087
36d54b74
CLT
360882012-06-15 Chung-Lin Tang <cltang@codesourcery.com>
36089
36090 * string/endian.h: Add !__ASSEMBLER__ condition for including
36091 conversion interfaces.
36092
10285c21
JM
360932012-06-15 Joseph Myers <joseph@codesourcery.com>
36094
36095 [BZ #14241]
36096 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
36097 of ABS(x) in calculating zero to negative powers other than odd
36098 integers.
36099 * math/libm-test.inc (pow_test): Add more tests.
36100
06c5abbd
AJ
361012012-06-15 Andreas Jaeger <aj@suse.de>
36102
36103 * manual/contrib.texi (Contributors): Update entry of Liubov
36104 Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
36105 Machado Filho.
36106
a3aeac40
CH
361072012-06-15 Cyril Hrubis <metan@ucw.cz>
36108
36109 * string/string.h: Add __wur to GNU version of strerror_r.
36110
49bdf4c1
L
361112012-06-14 H.J. Lu <hongjiu.lu@intel.com>
36112
36113 [BZ #14229]
36114 * string/Makefile (tests): Add tst-strtok_r.
36115 * string/tst-strtok_r.c: New file.
36116 * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
36117 RAX_LP/RDX_LP on SAVE_PTR.
36118
834f9b8d
RM
361192012-06-14 Roland McGrath <roland@hack.frob.com>
36120
36121 * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
36122
75fa1921
JM
361232012-06-14 Joseph Myers <joseph@codesourcery.com>
36124
36125 * libm_test.inc (csqrt_test): Allow more spurious underflow
36126 exceptions.
36127 (j0_test): Likewise.
36128 (j1_test): Likewise.
36129 (y0_test): Likewise.
36130 (y1_test): Likewise.
36131
771766df
CD
361322012-06-13 Carlos O'Donell <carlos_odonell@mentor.com>
36133
36134 * po/Makefile (libc.pot): Use UTF-8 charset.
36135
ceb9e56b
PP
361362012-06-13 Paul Pluzhnikov <ppluzhnikov@google.com>
36137
36138 [BZ #14210]
36139 Suppress sign-conversion warning from FD_SET.
36140 See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
36141 * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
36142 not unsigned long int.
36143 * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
36144
ddb28975
L
361452012-06-12 H.J. Lu <hongjiu.lu@intel.com>
36146
36147 [BZ #14050]
36148 [BZ #14117]
36149 * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
36150 __extern_always_inline instead of __extern_inline.
36151 (__signbitf): Support __SSE2_MATH__ and C++ namespace.
36152 (__signbit): Likewise.
36153 (__signbitl): Support C++ namespace.
36154 (lrintf): New inline function.
36155 (lrint): Likewise.
36156 (llrintf): Likewise.
36157 (llrint): Likewise.
36158 (fmaxf): Likewise.
36159 (fmax): Likewise.
36160 (fminf): Likewise.
36161 (fmin): Likewise.
36162 (rint): Likewise.
36163 (rintf): Likewise.
36164 (ceil): Likewise.
36165 (ceilf): Likewise.
36166 (floor): Likewise.
36167 (floorf): Likewise.
36168 (nearbyint): Likewise.
36169 (nearbyintf): Likewise.
36170
d7b4fb26
TS
361712012-06-12 Thomas Schwinge <thomas@codesourcery.com>
36172
36173 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
36174 non-default versions.
36175
eb55f5c2
RM
361762012-06-11 Roland McGrath <roland@hack.frob.com>
36177
36178 [BZ #14218]
36179 * manual/argp.texi (Argp): Reword argp_parse description slightly.
36180
366af02c
TS
361812012-06-09 Thomas Schwinge <thomas@codesourcery.com>
36182
99ff6e5c
TS
36183 * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
36184 (FE_UPWARD, FE_DOWNWARD): Don't define.
36185 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
36186 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
36187
366af02c
TS
36188 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
36189 reading it.
36190 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
36191 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
36192
793ea851
KK
361932012-06-09 Kaz Kojima <kkojima@rr.iij4u.or.jp>
36194
36195 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
36196 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
36197 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
36198 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
36199
a728a38f
L
362002012-06-06 H.J. Lu <hongjiu.lu@intel.com>
36201
36202 [BZ #14117]
c08010c7
L
36203 * sysdeps/i386/fpu/bits/fenv.h: Removed.
36204 * sysdeps/i386/fpu/Implies: New file.
36205 * sysdeps/x86_64/fpu/Implies: Likewise.
36206 * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
36207 * sysdeps/x86/fpu/bits/fenv.h: This.
36208
a728a38f
L
36209 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
36210 __SSE_MATH__.
36211
6e230d11
SP
362122012-06-06 Siddhesh Poyarekar <siddhesh@redhat.com>
36213
36214 [BZ #14134]
36215 * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
36216 character 0xffff that matches the last element of the
36217 conversion table.
36218
1b671feb
AZ
362192012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
36220
36221 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
36222 fmodl commit.
36223
6043738b
AZ
362242012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
36225
36226 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
36227 values higher than 25.6283.
36228
34ae0b32
AZ
362292012-06-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
36230
36231 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
36232 subnormal exponent extraction and add some __builtin_expect.
36233 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
36234 Fix for subnormal mantissa calculation.
36235
1214ec8f
MF
362362012-06-04 Mike Frysinger <vapier@gentoo.org>
36237
36238 * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
36239 cpu2 is -1 and errno is not ENOSYS.
36240
f3d1f93c
L
362412012-06-04 H.J. Lu <hongjiu.lu@intel.com>
36242
36243 [BZ #14117]
0e4a3cd7
L
36244 * sysdeps/i386/i486/bits/string.h: Renamed to ...
36245 * sysdeps/x86/bits/string.h: This.
36246 * sysdeps/x86_64/bits/string.h: Removed.
36247
6704c645
L
36248 * sysdeps/i386/i486/bits/string.h: Define inline functions only
36249 if not compiling for x86-64, but compiling for >= i486.
36250
48495318
L
36251 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
36252 * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
36253
14adcbfc
L
36254 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
36255 New macro from Linux kernel 3.4.0.
36256 (FP_XSTATE_MAGIC2): Likewise.
36257 (FP_XSTATE_MAGIC2_SIZE): Likewise.
36258 (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
36259 (struct _fpx_sw_bytes): New struct.
36260 (struct _xsave_hdr): Likewise.
36261 (struct _ymmh_state): Likewise.
36262 (struct _xstate): Likewise.
36263
68e408ab
L
36264 * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
36265 * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
36266 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
36267 * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
36268 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
36269 * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
36270
f3d1f93c
L
36271 * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
36272 * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
36273 * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
36274 * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
36275 * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
36276 * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
36277
d9dc34cd
TMQMF
362782012-06-04 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
36279
36280 [BZ #13743]
36281 * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
36282 * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
36283 (sysdep_headers): Include sys/platform/ppc.h.
36284 * sysdeps/powerpc/test-gettimebase.c: Test for
36285 __ppc_get_timebase() to catch future ISA opcode/insn changes.
36286 * manual/Makefile (appendices): Include platform.texi.
36287 * manual/contrib.texi (Contributors): Update @node pointers.
36288 * manual/maint.texi (Maintenance): Likewise.
36289 (Platform): New node.
36290 * manual/platform.texi: New file. Document the new features.
36291
4af3879c
SP
362922012-06-04 Siddhesh Poyarekar <siddhesh@redhat.com>
36293 Jakub Jelinek <jakub@redhat.com>
36294
36295 [BZ #14188]
36296 * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
36297 where __builtin_expect is unavailable.
36298
2fd6ff13
DM
362992012-06-03 David S. Miller <davem@davemloft.net>
36300
36301 * stdlib/longlong.h: Updated from GCC.
36302
173f7220
AS
363032012-06-02 Andreas Schwab <schwab@linux-m68k.org>
36304
36305 [BZ #14042]
36306 * sysdeps/powerpc/powerpc32/mcount.c: New file.
36307 * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
36308 __mcount_internal.
36309 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
36310 (GLIBC_2.16): Likewise.
36311
f34a1c6f
L
363122012-06-01 H.J. Lu <hongjiu.lu@intel.com>
36313
36314 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
36315
88a4576f
JM
363162012-06-01 Joseph Myers <joseph@codesourcery.com>
36317
ea32bcdd
JM
36318 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
36319 (default-abi): New variable.
36320 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
36321 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
36322 variable.
36323 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
36324 Likewise.
36325 * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
36326 Likewise.
36327 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
36328 Likewise.
36329
88a4576f
JM
36330 * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
36331 definition. Document in comment.
36332
402fe938
DM
363332012-06-01 David S. Miller <davem@davemloft.net>
36334
36335 * stdlib/longlong.h: Updated from GCC.
36336
3553723f
L
363372012-06-01 H.J. Lu <hongjiu.lu@intel.com>
36338
36339 [BZ #14117]
3bd872c4
L
36340 * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
36341 Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
36342 sys/debugreg.h sys/io.h here.
36343 * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
36344 sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
36345 sys/io.h.
36346 * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
36347 Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
36348 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
36349 * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
36350 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
36351 * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
36352
3553723f
L
36353 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
36354 Define only if __x86_64__ is defined.
36355
4842e4fe
JM
363562012-06-01 Joseph Myers <joseph@codesourcery.com>
36357
c5bfe3d5
JM
36358 [BZ #14048]
36359 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
36360 Use int64_t for variable i.
36361 * math/libm-test.inc (fmod_test): Add more tests.
36362
4842e4fe
JM
36363 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
36364 z computation is not scheduled after fetestexcept.
36365 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
36366 Use math_force_eval instead of asm to ensure calculation scheduled
36367 before exception test.
36368 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
36369 Ensure a1 + u.d computation is not scheduled after fetestexcept.
36370
efb73488
AJ
363712012-06-01 Aurelien Jarno <aurelien@aurel32.net>
36372
36373 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
36374 computation is not scheduled after fetestexcept.
36375
29bcce7c
L
363762012-06-01 H.J. Lu <hongjiu.lu@intel.com>
36377
36378 [BZ #14117]
36379 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
36380 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
36381
73a68f94
AZ
363822012-06-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
36383
36384 * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
36385 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
36386
67b6df78
L
363872012-05-31 H.J. Lu <hongjiu.lu@intel.com>
36388
edf2933a 36389 [BZ #14117]
ebc64a18
L
36390 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
36391 <bits/wordsize.h>.
36392 (__WCHAR_MIN): Support __WORDSIZE == 64.
36393 (__WCHAR_MAX): Likewise.
36394
edf2933a
L
36395 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
36396 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
36397
57c6cf40
L
36398 [BZ #14183]
36399 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
36400 Defined with __SWORD_TYPE if __x86_64__ isn't defined.
36401
67b6df78 36402 [BZ #14117]
8eb6281e
L
36403 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
36404 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
36405
aac639f4
L
36406 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
36407 * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
36408
67b6df78
L
36409 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
36410 Defined to 1 if __x86_64__ isn't defined.
36411 (_STAT_VER_LINUX_OLD): New.
36412 (st_atime): Remove duplicate.
36413 (st_mtime): Likewise.
36414 (st_ctime): Likewise.
36415
1c2cfe81
DM
364162012-05-31 David S. Miller <davem@davemloft.net>
36417
36418 * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
36419 entries.
36420
5be8418c
AS
364212012-06-01 Andreas Schwab <schwab@linux-m68k.org>
36422
e7725326
AS
36423 * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
36424 gen-libm-test.pl.
36425
5be8418c
AS
36426 [BZ #14132]
36427 * elf/dl-reloc.c: Include <_itoa.h>.
36428 (_dl_reloc_bad_type): Remove use of INTUSE.
36429 * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
36430 * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
36431 * stdio-common/psiginfo.c (psiginfo): Likewise.
36432 * stdio-common/psignal.c (psignal): Likewise.
36433 * string/strsignal.c (strsignal): Likewise.
36434 * include/signal.h (_sys_siglist): Declare hidden proto.
36435 * stdio-common/itoa-digits.c: Include <_itoa.h>. Replace
36436 INTVARDEF with libc_hidden_data_def.
36437 * stdio-common/itoa-udigits.c: Likewise.
36438 * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
36439 (_itoa_lower_digits_internal): Remove declaration.
36440 (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
36441 * sysdeps/gnu/siglist.c (_sys_siglist_internal)
36442 (_sys_sigabbrev_internal): Remove aliases.
36443 (_sys_siglist): Define hidden alias.
36444
507352f1
MT
364452012-05-31 Markus Trippelsdorf <markus@trippelsdorf.de>
36446
36447 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
36448 bits/sysctl.h.
36449
42bbb1c3
L
364502012-05-31 H.J. Lu <hongjiu.lu@intel.com>
36451
36452 [BZ #14117]
6bd784b6
L
36453 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
36454 * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
36455
8bca20f0
L
36456 * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
36457 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
36458 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
36459 * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
36460 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
36461 * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
36462
f9e890a9
L
36463 * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
36464 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
36465 * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
36466
471101a1
L
36467 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
36468 with __addr.
36469 (insw): Likewise.
36470 (insl): Likewise.
36471 (outsb): Likewise.
36472 (outsw): Likewise.
36473 (outsl): Likewise.
36474
6451c862
L
36475 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
36476 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
36477 * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
36478
a254b8c9
L
36479 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
36480 * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
36481 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
36482 * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
36483 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
36484 * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
36485
b8dfdd92
L
36486 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
36487 * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
36488
578cd270
L
36489 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
36490 * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
36491
de662f5f
L
36492 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
36493 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
36494 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
36495
25653439
L
36496 * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
36497 * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
36498 to ...
36499 * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
36500
6bad24a0
L
36501 * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
36502 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
36503 * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
36504
42bbb1c3
L
36505 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
36506 for x86-64.
36507 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
36508
2d10d547
JM
365092012-05-31 Joseph Myers <joseph@codesourcery.com>
36510
36511 * math/math.h (M_El): Use two more decimal places.
36512 (M_LOG2El): Likewise.
36513 (M_LOG10El): Likewise.
36514 (M_LN2l): Likewise.
36515 (M_LN10l): Likewise.
36516 (M_PIl): Likewise.
36517 (M_PI_2l): Likewise.
36518 (M_PI_4l): Likewise.
36519 (M_1_PIl): Likewise.
36520 (M_2_PIl): Likewise.
36521 (M_2_SQRTPIl): Likewise.
36522 (M_SQRT2l): Likewise.
36523 (M_SQRT1_2l): Likewise.
36524
f230c29b
DM
365252012-05-31 David S. Miller <davem@davemloft.net>
36526
36527 * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
36528 values between float registers.
36529 * sysdeps/sparc/sparc64/memset.S: Likewise.
36530 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
36531
fed806c3
MF
365322012-05-31 Mike Frysinger <vapier@gentoo.org>
36533
36534 * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
36535 -D_FORTIFY_SOURCE=1.
36536 (CPPFLAGS-tst-longjmp_chk.c): Define.
36537 (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
36538 (CPPFLAGS-tst-longjmp_chk2.c): Define.
36539 * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
36540 CFLAGS-tst-wchar-h.c.
36541
30917259
MP
365422012-05-31 Marek Polacek <polacek@redhat.com>
36543
36544 [BZ #14132]
36545 * include/mntent.h (__setmntent_internal, __getmntent_r_internal
36546 __endmntent_internal): Remove declaration.
36547 (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
36548 (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
36549 * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
36550
1c58d5dc
DM
365512012-05-30 David S. Miller <davem@davemloft.net>
36552
36553 * sysdeps/sparc/sparc32/soft-fp/q_util.c
36554 (___Q_simulate_exceptions): Use real FP ops rather than writing
36555 into the %fsr.
36556 * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
36557 Likewise.
36558
7dc00e0d
L
365592012-05-30 H.J. Lu <hongjiu.lu@intel.com>
36560
36561 [BZ #14117]
0bd53985
L
36562 * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
36563 * sysdeps/x86/bits/xtitypes.h: This.
36564
3a257e66
L
36565 * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
36566 * sysdeps/x86/bits/wordsize.h: This.
36567
62f62904
L
36568 * sysdeps/i386/bits/huge_vall.h: Renamed to ...
36569 * sysdeps/x86/bits/huge_vall.h: This.
36570
404fe9d9
L
36571 * sysdeps/i386/bits/select.h: Removed.
36572 * sysdeps/x86_64/bits/select.h: Renamed to ...
36573 * sysdeps/x86/bits/select.h: This.
36574
d48d0446
L
36575 * sysdeps/i386/bits/setjmp.h: Removed.
36576 * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
36577 * sysdeps/x86/bits/setjmp.h: This.
36578
7dc00e0d
L
36579 * sysdeps/i386/bits/mathdef.h: Removed.
36580 * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
36581 * sysdeps/x86/bits/mathdef.h: This.
36582
03277f8f
AS
365832012-05-30 Andreas Schwab <schwab@linux-m68k.org>
36584
36585 [BZ #14132]
36586 * include/sys/socket.h (__connect_internal)
36587 (__libc_sa_len_internal): Remove declaration.
36588 (__connect, __libc_sa_len): Declare hidden_proto.
36589 (SA_LEN): Remove use of INTUSE.
36590 * socket/connect.c: Add libc_hidden_def.
36591 * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
36592 * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
36593 * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
36594 alias.
36595 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
36596 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
36597 * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
36598 of adding _internal alias.
36599
13764867
L
366002012-05-30 H.J. Lu <hongjiu.lu@intel.com>
36601
36602 [BZ #14117]
6bd97696
L
36603 * sysdeps/i386/bits/link.h: Removed.
36604 * sysdeps/i386/bits/linkmap.h: Likewise.
36605 * sysdeps/x86_64/bits/link.h: Renamed to ...
36606 * sysdeps/x86/bits/link.h: This.
36607 * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
36608 * sysdeps/x86/bits/linkmap.h: This.
36609
f726f0bb
L
36610 * sysdeps/i386/bits/endian.h: Removed.
36611 * sysdeps/x86_64/bits/endian.h: Renamed to ...
36612 * sysdeps/x86/bits/endian.h: This.
36613
13764867
L
36614 * sysdeps/i386/bits/byteswap.h: Removed.
36615 * sysdeps/i386/bits/byteswap-16.h: Likewise.
36616 * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
36617 * sysdeps/x86/bits/byteswap.h: This.
36618 * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
36619 * sysdeps/x86/bits/byteswap-16.h: This.
36620 * sysdeps/i386/Implies: Add x86.
36621 * sysdeps/x86_64/Implies: Likewise.
36622
ae251b0b
DM
366232012-05-30 David S. Miller <davem@davemloft.net>
36624
36625 * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
36626 (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
36627 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
36628 (FP_TRAPPING_EXCEPTIONS): Define.
36629 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
36630 (FP_TRAPPING_EXCEPTIONS): Define.
36631 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
36632 subnormals only when inexact has been signalled or underflow
36633 exceptions are enabled.
36634 (_FP_PACK_CANONICAL): Likewise.
36635
d5c90867
L
366362012-05-30 H.J. Lu <hongjiu.lu@intel.com>
36637
36638 [BZ #14183]
36639 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
36640 Defined with __UWORD_TYPE if __x86_64__ isn't defined.
36641
63f1549e
RH
366422012-05-30 Richard Henderson <rth@twiddle.net>
36643
8d8f2279
RH
36644 * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
36645 with #ifndef NOT_IN_libc.
36646
63f1549e
RH
36647 * scripts/abilist.awk: Accept 8 fields. Handle Alpha functions
36648 marked to avoid plt entry.
36649
0ab0291b
L
366502012-05-30 H.J. Lu <hongjiu.lu@intel.com>
36651
36652 [BZ #14112]
36653 * Makeconfig (default-abi): New macro.
36654 (abi-includes): Likewise.
36655 ($(common-objpfx)soversions.mk): Remove WORDSIZE check. Use
36656 $(abi-$(default-abi)-lib-soname) for soname if defined.
36657 ($(common-objpfx)gnu/lib-names.stmp): Generate from
36658 abi-variants.
36659 * Makefile (installed-stubs): Likewise.
36660 * include/stubs-biarch.h: Removed.
36661 * scripts/lib-names.awk: Only handle one library at a time.
36662 * scripts/soversions.awk: Remove WORDSIZE support.
36663 * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
36664 entries.
36665 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
36666 Removed.
36667 (syscall-list-default-condition): Likewise.
36668 (syscall-list-default-condition): Likewise.
36669 (syscall-list-includes): Likewise.
36670 ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
36671 syscall-list-* with abi-*. Handle undefined abi-variants.
36672 * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
36673 * sysdeps/unix/sysv/linux/i386/Implies: New file.
36674 * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
36675 * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
36676 * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
36677 * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
36678 Removed.
36679 (syscall-list-32-options): Likewise.
36680 (syscall-list-32-condition): Likewise.
36681 (syscall-list-64-options): Likewise.
36682 (syscall-list-64-condition): Likewise.
36683 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
36684 macro.
36685 * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
36686 Renamed to ...
36687 (abi-*): This.
36688 (abi-64-ld-soname): New macro.
36689 * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
36690 * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
36691 Renamed to ...
36692 (abi-*): This.
36693 * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
36694 * sysdeps/x86_64/x32/shlib-versions: Likewise.
36695
4da0431d
JM
366962012-05-30 Joseph Myers <joseph@codesourcery.com>
36697
3a85279c
JM
36698 * sysdeps/unix/sysv/linux/kernel-features.h
36699 (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
36700 * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
36701 include <kernel-features.h>.
36702 [!__NR_ftruncate64]: Remove conditional code.
36703 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
36704 [__NR_ftruncate64]: Make code unconditional.
36705 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
36706 * sysdeps/unix/sysv/linux/truncate64.c: Do not
36707 include <kernel-features.h>.
36708 [!__NR_ftruncate64]: Remove conditional code.
36709 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
36710 [__NR_ftruncate64]: Make code unconditional.
36711 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
36712 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
36713 include <kernel-features.h>.
36714 [!__NR_ftruncate64]: Remove conditional code.
36715 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
36716 [__NR_ftruncate64]: Make code unconditional.
36717 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
36718 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
36719 include <kernel-features.h>.
36720 [!__NR_ftruncate64]: Remove conditional code.
36721 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
36722 [__NR_ftruncate64]: Make code unconditional.
36723 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
36724
4da0431d
JM
36725 * configure.in (libc_cv_fpie): Weaken to a compile test using
36726 LIBC_TRY_CC_OPTION.
36727 * configure: Regenerated.
36728
11ef492c
AK
367292012-05-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
36730
36731 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
36732 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
36733 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
36734 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
36735 Refreshed.
36736 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
36737 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
36738 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
36739 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
36740 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
36741 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
36742 Refreshed.
36743
d66ef399
DM
367442012-05-27 David S. Miller <davem@davemloft.net>
36745
36746 * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
36747 (___Q_zero): New.
36748 (__Q_simulate_exceptions): Return void. Change to simulate
36749 exceptions by writing into the %fsr.
36750 * sysdeps/sparc/sparc64/soft-fp/qp_util.c
36751 (__Qp_handle_exceptions): Likewise.
36752 (numbers): Delete.
36753 * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
36754 __Qp_handle_exceptions.
36755 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
36756 __Qp_handle_exceptions.
36757 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
36758 as unused and give dummy FP_RND_NEAREST initializer.
36759 (FP_INHIBIT_RESULTS): Define.
36760 (___Q_simulate_exceptions): Update declaration.
36761 (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
36762 formatting.
36763 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
36764 as unused and give dummy FP_RND_NEAREST initializer.
36765 (__Qp_handle_exceptions): Update declaration.
36766 (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
36767 formatting.
36768
04fb54b5
TS
367692012-05-27 Thomas Schwinge <thomas@codesourcery.com>
36770
36771 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
36772 the temporary FPU control word.
36773 * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
36774 * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
36775 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
36776 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
36777 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
36778 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
36779 * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
36780 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
36781 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
36782 * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
36783 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
36784
3f99608f
KK
367852012-05-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
36786
36787 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
36788 fields.
36789
65a4de4e
CLT
367902012-05-27 Chung-Lin Tang <cltang@codesourcery.com>
36791
36792 * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
36793 * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
36794 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
36795 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
36796 Likewise.
36797 * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
36798 * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
36799 Likewise.
36800
15749d40
UD
368012012-05-27 Ulrich Drepper <drepper@gmail.com>
36802
36803 * po/h.po: Update from translation team.
36804
25dbcb27
AS
368052012-05-26 Andreas Schwab <schwab@linux-m68k.org>
36806
3d3f8e55
AS
36807 * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
36808
25dbcb27
AS
36809 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
36810 handling of denormals.
36811 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
36812 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
36813 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
36814 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
36815 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
36816 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
36817 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
36818 Likewise.
36819
7ad47a80 368202012-05-26 Marek Polacek <polacek@redhat.com>
d81dcb35
MP
36821
36822 [BZ #14152]
36823 * math/libm-test.inc (fma_test): Don't always expect underflow
36824 exception.
36825
9c6ea9fa
SP
368262012-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
36827
36828 [BZ #12416]
36829 * elf/tst-execstack.c: Include stackinfo.h.
36830 (do_test): Adjust test case to ensure that pthread_getattr_np
36831 behaviour remains the same after marking stack executable.
36832
a8239222
JM
368332012-05-25 Joseph Myers <joseph@codesourcery.com>
36834
36835 * sysdeps/unix/sysv/linux/kernel-features.h
36836 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
36837 * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
36838 kernel-features.h.
36839 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
36840 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
36841 * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
36842 kernel-features.h.
36843 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
36844 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
36845
918b5606
L
368462012-05-25 H.J. Lu <hongjiu.lu@intel.com>
36847
36848 * configure.in: Define the default includes to being none.
36849 * configure: Regenerated.
36850
3a097cc7
RM
368512012-05-25 Roland McGrath <roland@hack.frob.com>
36852
8422c9a5
RM
36853 * sysdeps/x86_64/__longjmp.S: Add a static probe here.
36854 * sysdeps/x86_64/setjmp.S: Likewise.
36855 * sysdeps/i386/bsd-setjmp.S: Likewise.
36856 * sysdeps/i386/bsd-_setjmp.S: Likewise.
36857 * sysdeps/i386/setjmp.S: Likewise.
36858 * sysdeps/i386/__longjmp.S: Likewise.
36859 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
36860 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
36861
3a097cc7
RM
36862 * include/stap-probe.h: New file.
36863 * configure.in: Handle --enable-systemtap.
36864 * configure: Regenerated.
36865 * config.h.in (USE_STAP_PROBE): New #undef.
36866 * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
36867 * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
36868 * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
36869
21708942
JM
368702012-05-25 Joseph Myers <joseph@codesourcery.com>
36871
36872 [BZ #13717]
36873 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
36874 to 2.4.0 where earlier.
36875 * sysdeps/unix/sysv/linux/configure: Regenerated.
36876 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
36877 <kernel-features.h>.
36878 [__ASSUME_32BITUIDS]: Make code unconditional.
36879 [!__ASSUME_32BITUIDS]: Remove conditional code.
36880 * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
36881 <kernel-features.h>.
36882 [__ASSUME_32BITUIDS]: Make code unconditional.
36883 [!__ASSUME_32BITUIDS]: Remove conditional code.
36884 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
36885 [__ASSUME_32BITUIDS]: Make code unconditional.
36886 (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
36887 * sysdeps/unix/sysv/linux/i386/getegid.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/geteuid.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/getgid.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/getgroups.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/getresgid.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/getresuid.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/getuid.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/i386/lchown.c: Do not include
36916 <kernel-features.h>.
36917 [__ASSUME_32BITUIDS]: Make code unconditional.
36918 [!__ASSUME_32BITUIDS]: Remove conditional code.
36919 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
36920 <kernel-features.h>.
36921 [__ASSUME_32BITUIDS]: Make code unconditional.
36922 [!__ASSUME_32BITUIDS]: Remove conditional code.
36923 * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include
36924 <kernel-features.h>.
36925 [__ASSUME_32BITUIDS]: Make code unconditional.
36926 [!__ASSUME_32BITUIDS]: Remove conditional code.
36927 * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
36928 <kernel-features.h>.
36929 [__NR_setresgid] (__setresgid): Do not declare.
36930 [__ASSUME_32BITUIDS]: Make code unconditional.
36931 [!__ASSUME_32BITUIDS]: Remove conditional code.
36932 * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
36933 <kernel-features.h>.
36934 [__NR_setresuid] (__setresuid): Do not declare.
36935 [__ASSUME_32BITUIDS]: Make code unconditional.
36936 [!__ASSUME_32BITUIDS]: Remove conditional code.
36937 * sysdeps/unix/sysv/linux/i386/setfsgid.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/i386/setfsuid.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/i386/setgid.c: Do not include
36946 <kernel-features.h>.
36947 [__ASSUME_32BITUIDS]: Make code unconditional.
36948 [!__ASSUME_32BITUIDS]: Remove conditional code.
36949 * sysdeps/unix/sysv/linux/i386/setgroups.c: Do not include
36950 <kernel-features.h>.
36951 [__ASSUME_32BITUIDS]: Make code unconditional.
36952 [!__ASSUME_32BITUIDS]: Remove conditional code.
36953 * sysdeps/unix/sysv/linux/i386/setregid.c: Do not include
36954 <kernel-features.h>.
36955 [__ASSUME_32BITUIDS]: Make code unconditional.
36956 [!__ASSUME_32BITUIDS]: Remove conditional code.
36957 * sysdeps/unix/sysv/linux/i386/setresgid.c: Do not include
36958 <kernel-features.h>.
36959 [__ASSUME_32BITUIDS]: Make code unconditional.
36960 [!__ASSUME_32BITUIDS]: Remove conditional code.
36961 * sysdeps/unix/sysv/linux/i386/setresuid.c: Do not include
36962 <kernel-features.h>.
36963 [__ASSUME_32BITUIDS]: Make code unconditional.
36964 [!__ASSUME_32BITUIDS]: Remove conditional code.
36965 * sysdeps/unix/sysv/linux/i386/setreuid.c: Do not include
36966 <kernel-features.h>.
36967 [__ASSUME_32BITUIDS]: Make code unconditional.
36968 [!__ASSUME_32BITUIDS]: Remove conditional code.
36969 * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
36970 <kernel-features.h>.
36971 [__ASSUME_32BITUIDS]: Make code unconditional.
36972 [!__ASSUME_32BITUIDS]: Remove conditional code.
36973 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
36974 <kernel-features.h>.
36975 [__ASSUME_32BITUIDS]: Make code unconditional.
36976 [!__ASSUME_32BITUIDS]: Remove conditional code.
36977 * sysdeps/unix/sysv/linux/kernel-features.h
36978 (__ASSUME_SETRESUID_SYSCALL): Remove.
36979 (__ASSUME_SETRESGID_SYSCALL): Likewise.
36980 (__ASSUME_32BITUIDS): Likewise.
36981 (__ASSUME_LDT_WORKS): Likewise.
36982 (__ASSUME_O_DIRECTORY): Likewise.
36983 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
36984 architecture but not kernel version.
36985 (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
36986 (__ASSUME_MMAP2_SYSCALL): Likewise.
36987 (__ASSUME_STAT64_SYSCALL): Likewise.
36988 (__ASSUME_IPC64): Likewise.
36989 * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
36990 <kernel-features.h>.
36991 [__ASSUME_32BITUIDS]: Make code unconditional.
36992 [!__ASSUME_32BITUIDS]: Remove conditional code.
36993 * sysdeps/unix/sysv/linux/opendir.c: Do not include
36994 <kernel-features.h>.
36995 [__ASSUME_O_DIRECTORY]: Make code unconditional.
36996 * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
36997 132096]: Remove conditional code.
36998 [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
36999 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
37000 <kernel-features.h>.
37001 [__ASSUME_32BITUIDS]: Make code unconditional.
37002 [!__ASSUME_32BITUIDS]: Remove conditional code.
37003 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
37004 <kernel-features.h>.
37005 [__ASSUME_32BITUIDS]: Make code unconditional.
37006 [!__ASSUME_32BITUIDS]: Remove conditional code.
37007 * sysdeps/unix/sysv/linux/setegid.c: Do not include
37008 <kernel-features.h>.
37009 [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
37010 unconditional.
37011 (__setresgid): Do not declare.
37012 [__ASSUME_32BITUIDS]: Make code unconditional.
37013 [!__ASSUME_32BITUIDS]: Remove conditional code.
37014 * sysdeps/unix/sysv/linux/seteuid.c: Do not include
37015 <kernel-features.h>.
37016 [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
37017 unconditional.
37018 (__setresuid): Do not declare.
37019 [__ASSUME_32BITUIDS]: Make code unconditional.
37020 [!__ASSUME_32BITUIDS]: Remove conditional code.
37021 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
37022 <kernel-features.h>.
37023 [__ASSUME_32BITUIDS]: Make code unconditional.
37024 [!__ASSUME_32BITUIDS]: Remove conditional code.
37025 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
37026 <kernel-features.h>.
37027 [__ASSUME_32BITUIDS]: Make code unconditional.
37028 [!__ASSUME_32BITUIDS]: Remove conditional code.
37029
a386f1cc
RH
370302012-05-25 Richard Henderson <rth@twiddle.net>
37031
37032 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
37033 dl_hwcap to ifunc resolver.
37034 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
37035 elf_ifunc_invoke.
37036 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
37037 dl_hwcap to ifunc resolver.
37038 * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
37039
b6550497
JM
370402012-05-24 Joseph Myers <joseph@codesourcery.com>
37041
37042 [BZ #14153]
37043 * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
37044 for |x| <= 2**-26, not 2**-57.
37045 * math/libm-test.inc (acos_test): Do not allow spurious underflow
37046 exception.
37047
b0bc23a1
JL
370482012-05-24 Jeff Law <law@redhat.com>
37049
37050 * stdio-common/Makefile (tests): Add bug25.
37051 * stdio-common/bug25.c: New test.
37052
347c92e9
L
370532012-05-24 H.J. Lu <hongjiu.lu@intel.com>
37054
37055 [BZ #13576]
37056 * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
37057 multiple of MALLOC_ALIGNMENT in size.
37058 (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
37059
6bcc8b3f
JM
370602012-05-24 Joseph Myers <joseph@codesourcery.com>
37061
37062 * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
37063 Require >= 256.
37064 (FILENAME_MAX): Use macro-int-constant.
37065 (FOPEN_MAX): Use macro-int-constant. Require >= 8.
37066 (_IOFBF): Use macro-int-constant.
37067 (_IOLBF): Likewise.
37068 (_IONBF): Likewise.
37069 (SEEK_CUR): Likewise.
37070 (SEEK_END): Likewise.
37071 (SEEK_SET): Likewise.
37072 (TMP_MAX): Likewise.
37073 (EOF): Use macro-int-constant. Require < 0.
37074 (NULL): Use macro-constant. Require == 0.
37075 (stdin): Require type to be FILE *.
37076 (stdout): Likewise.
37077 (stderr): Likewise.
37078 * conform/data/stdlib.h-data (EXIT_FAILURE): Use
37079 macro-int-constant.
37080 (EXIT_SUCCESS): Likewise.
37081 (NULL): Use macro-constant. Require == 0.
37082 (RAND_MAX): Use macro-int-constant.
37083 [ISO99 || ISO11] (lldiv_t): Require also for these standards.
37084 [C99-based standards] (strtof): Require function.
37085 [C99-based standards] (strtold): Likewise.
37086 [C99-based standards] (strtoll): Likewise.
37087 [C99-based standards] (strtoull): Likewise.
37088 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
37089 [ISO || ISO99 || ISO11] (limits.h): Likewise.
37090 [ISO || ISO99 || ISO11] (math.h): Likewise.
37091 [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
37092 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
37093 [ISO || ISO99 || ISO11] (*_t): Do not allow.
37094
d18ea0c5
AS
370952012-05-24 Andreas Schwab <schwab@linux-m68k.org>
37096
37097 [BZ #14132]
56d25bb8
AS
37098 * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
37099 * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
37100 * intl/dgettext.c (DCGETTEXT): Likewise.
37101 * intl/gettext.c (DCGETTEXT): Likewise.
37102 * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
37103 * posix/regex_internal.h (gettext): Likewise.
37104 * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
37105 Remove declaration.
37106 * include/argz.h (__argz_count_internal)
37107 (__argz_stringify_internal): Remove declaration.
37108 (__argz_count, __argz_stringify): Declare hidden proto.
37109 * intl/dcgettext.c: Remove use of INTDEF.
37110 * string/argz-count.c: Replace INTDEF with libc_hidden_def.
37111 * string/argz-stringify.c: Likewise.
37112 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
37113 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
37114 Declare hidden proto.
d18ea0c5
AS
37115 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
37116 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
37117 Declare hidden proto.
37118 * include/stdio.h (__asprintf_internal): Don't declare.
37119 (__asprintf): Don't define as macro. Declare hidden proto.
37120 * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
37121 (__fsetlocking): Declare hidden proto.
37122 * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
37123 (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
37124 hidden proto.
37125 (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
37126 (_IO_setlinebuf): Remove use of INTUSE.
37127 (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
37128 (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
37129 (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
37130 Remove declaration.
37131 * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
37132 (_IO_do_flush): Remove use of INTUSE.
37133 (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
37134 (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
37135 (_IO_adjust_column, _IO_least_wmarker)
37136 (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
37137 (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
37138 (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
37139 (_IO_default_doallocate, _IO_wdefault_doallocate)
37140 (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
37141 (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
37142 (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
37143 (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
37144 (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
37145 (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
37146 (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
37147 (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
37148 (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
37149 (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
37150 (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
37151 (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
37152 (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
37153 proto.
37154 (_IO_flush_all_internal, _IO_adjust_column_internal)
37155 (_IO_default_uflow_internal, _IO_default_finish_internal)
37156 (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
37157 (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
37158 (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
37159 (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
37160 (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
37161 (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
37162 (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
37163 (_IO_file_xsgetn_internal, _IO_file_stat_internal)
37164 (_IO_file_close_internal, _IO_file_close_it_internal)
37165 (_IO_file_underflow_internal, _IO_file_overflow_internal)
37166 (_IO_file_init_internal, _IO_file_attach_internal)
37167 (_IO_file_fopen_internal, _IO_file_read_internal)
37168 (_IO_file_sync_internal, _IO_file_seek_internal)
37169 (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
37170 (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
37171 (_IO_str_underflow_internal, _IO_str_overflow_internal)
37172 (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
37173 (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
37174 (_IO_list_all_internal, _IO_link_in_internal)
37175 (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
37176 (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
37177 (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
37178 (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
37179 (_IO_do_write_internal, _IO_padn_internal)
37180 (_IO_getline_info_internal, _IO_getline_internal)
37181 (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
37182 (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
37183 (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
37184 (_IO_vfscanf_internal, _IO_vfprintf_internal)
37185 (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
37186 (_IO_init_internal, _IO_un_link_internal): Don't declare.
37187 * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
37188 with libc_hidden_ver, remove use of INTUSE.
37189 * libio/genops.c: Likewise.
37190 * libio/freopen.c: Likewise.
37191 * libio/freopen64.c: Likewise.
37192 * libio/iofclose.c: Likewise.
37193 * libio/iofdopen.c: Likewise.
37194 * libio/iofflush.c: Likewise.
37195 * libio/iofflush_u.c: Likewise.
37196 * libio/iofgets.c: Likewise.
37197 * libio/iofgets_u.c: Likewise.
37198 * libio/iofopen.c: Likewise.
37199 * libio/iofopncook.c: Likewise.
37200 * libio/iofread.c: Likewise.
37201 * libio/iofread_u.c: Likewise.
37202 * libio/ioftell.c: Likewise.
37203 * libio/iofwrite.c: Likewise.
37204 * libio/iogetline.c: Likewise.
37205 * libio/iogets.c: Likewise.
37206 * libio/iogetwline.c: Likewise.
37207 * libio/iopadn.c: Likewise.
37208 * libio/iopopen.c: Likewise.
37209 * libio/ioseekoff.c: Likewise.
37210 * libio/ioseekpos.c: Likewise.
37211 * libio/iosetbuffer.c: Likewise.
37212 * libio/iosetvbuf.c: Likewise.
37213 * libio/ioungetc.c: Likewise.
37214 * libio/ioungetwc.c: Likewise.
37215 * libio/iovdprintf.c: Likewise.
37216 * libio/iovsprintf.c: Likewise.
37217 * libio/iovsscanf.c: Likewise.
37218 * libio/memstream.c: Likewise.
37219 * libio/obprintf.c: Likewise.
37220 * libio/oldfileops.c: Likewise.
37221 * libio/oldiofclose.c: Likewise.
37222 * libio/oldiofdopen.c: Likewise.
37223 * libio/oldiofopen.c: Likewise.
37224 * libio/oldiopopen.c: Likewise.
37225 * libio/oldstdfiles.c: Likewise.
37226 * libio/putc.c: Likewise.
37227 * libio/setbuf.c: Likewise.
37228 * libio/setlinebuf.c: Likewise.
37229 * libio/stdfiles.c: Likewise.
37230 * libio/strops.c: Likewise.
37231 * libio/vasprintf.c: Likewise.
37232 * libio/vscanf.c: Likewise.
37233 * libio/vsnprintf.c: Likewise.
37234 * libio/vswprintf.c: Likewise.
37235 * libio/wfiledoalloc.c: Likewise.
37236 * libio/wfileops.c: Likewise.
37237 * libio/wgenops.c: Likewise.
37238 * libio/wmemstream.c: Likewise.
37239 * libio/wstrops.c: Likewise.
37240 * libio/__fpurge.c: Likewise.
37241 * libio/__fsetlocking.c: Likewise.
37242 * assert/assert.c: Likewise.
37243 * debug/fgets_chk.c: Likewise.
37244 * debug/fgets_u_chk.c: Likewise.
37245 * debug/fread_chk.c: Likewise.
37246 * debug/fread_u_chk.c: Likewise.
37247 * debug/gets_chk.c: Likewise.
37248 * debug/obprintf_chk.c: Likewise.
37249 * debug/vasprintf_chk.c: Likewise.
37250 * debug/vdprintf_chk.c: Likewise.
37251 * debug/vsnprintf_chk.c: Likewise.
37252 * debug/vsprintf_chk.c: Likewise.
37253 * malloc/mtrace.c: Likewise.
37254 * misc/error.c: Likewise.
37255 * misc/syslog.c: Likewise.
37256 * stdio-common/asprintf.c: Likewise.
37257 * stdio-common/fxprintf.c: Likewise.
37258 * stdio-common/getw.c: Likewise.
37259 * stdio-common/isoc99_fscanf.c: Likewise.
37260 * stdio-common/isoc99_scanf.c: Likewise.
37261 * stdio-common/isoc99_vfscanf.c: Likewise.
37262 * stdio-common/isoc99_vscanf.c: Likewise.
37263 * stdio-common/isoc99_vsscanf.c: Likewise.
37264 * stdio-common/printf-prs.c: Likewise.
37265 * stdio-common/printf_fp.c: Likewise.
37266 * stdio-common/printf_fphex.c: Likewise.
37267 * stdio-common/printf_size.c: Likewise.
37268 * stdio-common/putw.c: Likewise.
37269 * stdio-common/scanf.c: Likewise.
37270 * stdio-common/sprintf.c: Likewise.
37271 * stdio-common/tmpfile.c: Likewise.
37272 * stdio-common/vfprintf.c: Likewise.
37273 * stdio-common/vfscanf.c: Likewise.
37274 * stdlib/strfmon_l.c: Likewise.
37275 * sunrpc/openchild.c: Likewise.
37276 * sunrpc/xdr_stdio.c: Likewise.
37277 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
37278 * sysdeps/mach/hurd/tmpfile.c: Likewise.
37279
d6c33fda
RM
372802012-05-24 Roland McGrath <roland@hack.frob.com>
37281
c1487492
RM
37282 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
37283
37284 * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
37285 in the third column, to generate for the shared library an IFUNC
37286 that uses _dl_vdso_vsym.
37287 * Makerules (COMPILE.c, compile-stdin.c): New variables.
37288 * Makeconfig (object-suffixes-noshared): New variable.
37289
37290 * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
37291 (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
37292 (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
37293 (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
37294
d6c33fda
RM
37295 [BZ #14132]
37296 * include/sys/time.h (__gettimeofday): Remove macro.
37297 (__gettimeofday, gettimeofday): Add libc_hidden_proto.
37298 * time/gettimeofday.c (__gettimeofday): Remove #undef.
37299 Remove INTDEF.
37300 (__gettimeofday): Add libc_hidden_def.
37301 (gettimeofday): Add libc_hidden_weak.
37302 * sysdeps/mach/gettimeofday.c: Likewise.
37303 * sysdeps/posix/gettimeofday.c: Likewise.
37304 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
37305 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
37306 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
37307 (__gettimeofday_internal): Remove strong_alias.
37308 (__gettimeofday): Add libc_hidden_def.
37309 (gettimeofday): Add libc_hidden_weak.
37310 * sysdeps/unix/syscalls.list (gettimeofday):
37311 Remove __gettimeofday_internal alias.
37312
b5a2bbe6
L
373132012-05-24 Daniel Jacobowitz <drow@false.org>
37314 H.J. Lu <hongjiu.lu@intel.com>
37315
37316 [BZ #12495]
37317 * malloc/malloc.c (SMALLBIN_CORRECTION): New.
37318 (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
37319 (largebin_index_32_big): New.
37320 (largebin_index): Use it for 16-byte alignment.
37321 (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ. Don't update
37322 correction with front_misalign.
37323
cfba4fda
L
373242012-05-24 H.J. Lu <hongjiu.lu@intel.com>
37325
7f907421
L
37326 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
37327 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
37328 Likewise.
37329 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
37330 Likewise.
37331 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
37332 Likewise.
37333 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
37334 Likewise.
37335 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
37336 Likewise.
37337 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
37338 Likewise.
37339 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
37340 Likewise.
37341 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
37342 Likewise.
37343 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
37344 Likewise.
37345 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
37346 Likewise.
37347 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
37348 Likewise.
37349 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
37350 Likewise.
37351
cfba4fda
L
37352 * scripts/data/c++-types-x32-linux-gnu.data: New file.
37353 * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
37354
80bad0cc
JM
373552012-05-24 Joseph Myers <joseph@codesourcery.com>
37356
7a25eb06
JM
37357 [BZ #10846]
37358 [BZ #14036]
37359 * math/libm-test.inc (exp_test): Add test from bug 14036.
37360 (pow_test): Add test from bug 10846.
37361
795405f9
JM
37362 * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
37363 and other flags.
37364 (special_function): Do not include flags in test name.
37365 (parse_args): Likewise.
37366 * sysdeps/i386/fpu/libm-test-ulps: Update.
37367 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
37368 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
37369 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
37370 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37371
80bad0cc
JM
37372 * math/gen-libm-test.pl (%beautify): Add entries for underflow
37373 exceptions.
37374 * math/libm-test.inc ("Philosophy"): Update comment about
37375 exception testing.
37376 (UNDERFLOW_EXCEPTION): New macro.
37377 (UNDERFLOW_EXCEPTION_OK): Likewise.
37378 (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
37379 (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
37380 (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
37381 (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
37382 (INVALID_EXCEPTION_OK): Update value.
37383 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
37384 (OVERFLOW_EXCEPTION_OK): Likewise.
37385 (IGNORE_ZERO_INF_SIGN): Likewise.
37386 (test_exceptions): Handle underflow exceptions.
37387 (acos_test): Update for underflow exception expectations.
37388 (cexp_test): Likewise.
37389 (clog_test): Likewise.
37390 (clog10_test): Likewise.
37391 (csqrt_test): Likewise.
37392 (ctan_test): Likewise.
37393 (ctanh_test): Likewise.
37394 (exp_test): Likewise.
37395 (exp10_test): Likewise.
37396 (exp2_test): Likewise.
37397 (expm1_test): Likewise.
37398 (fma_test): Likewise.
37399 (j0_test): Likewise.
37400 (jn_test): Likewise.
37401 (nexttoward_test): Likewise.
37402 (pow_test): Likewise.
37403 (scalbn_test): Likewise.
37404 (scalbln_test): Likewise.
37405 (tan_test): Likewise.
37406 (y1_test): Likewise.
37407 * sysdeps/i386/fpu/libm-test-ulps: Update.
37408 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37409
9e0e3d0b
DM
374102012-05-23 David S. Miller <davem@davemloft.net>
37411
37412 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
37413 (__libc_sigaction): Remove unused local variables.
37414
ccd0a08f
L
374152012-05-23 H.J. Lu <hongjiu.lu@intel.com>
37416
37417 * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
37418
62bdf9a6
PE
374192012-05-23 Paul Eggert <eggert@cs.ucla.edu>
37420
f8591f80
PE
37421 mktime: avoid signed integer overflow
37422 * time/mktime.c (__mktime_internal): Do not mishandle the case
37423 where diff == INT_MIN.
37424
94c7d826
PE
37425 mktime: simplify computation of average
37426 * time/mktime.c (ranged_convert): Use new time_t_avg function
37427 instead of rolling our own (probably-slower) code.
37428
ce73d683
PE
37429 mktime: do not assume signed right shift propagates sign bit
37430 * time/mktime.c (isdst_differ): New static function.
37431 (__mktime_internal): No need to normalize tm_isdst now.
37432 (__mktime_internal, not_equal_tm): Use isdst_differ to compare
37433 tm_isdst values.
37434
72a22e59
PE
37435 mktime: merge another wrapv change from gnulib
37436 * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
37437 from some compilers.
37438
68605433
PE
37439 mktime: remove incorrect attempt at unusual arithmetics
37440 * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
37441 The code didn't really work on such machines anyway.
37442 (TYPE_MINIMUM): Assume two's complement.
37443 (twos_complement_arithmetic): Verify that long_int and time_t
37444 are two's complement (or unsigned, in the latter case).
37445
03cf7fe3
PE
37446 mktime: check signed shifts on long_int and time_t, too
37447 * time/mktime.c (SHR): Check that shifts work as desired
37448 on the types long_int and time_t too, as SHR is used on
37449 such types.
37450
f04dfbc2
PE
37451 mktime: do not assume 'long' is wide enough
37452 * time/mktime.c (verify): Move decl up.
37453 (long_int): New type.
37454 (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
37455 to remove assumption in the code that 'long' is wide enough to
37456 store year values. This assumption is not true on x32 and on
37457 some non-glibc platforms.
37458
62bdf9a6
PE
37459 mktime: merge wrapv change from gnulib
37460 * time/mktime.c (WRAPV): New macro.
37461 (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
37462 (guess_time_tm, __mktime_internal): Do not assume that signed
37463 integer overflow wraps around; modern compilers generate code
37464 where this assumption is no longer valid.
37465
5e292e4f
L
374662012-05-23 H.J. Lu <hongjiu.lu@intel.com>
37467
37468 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
37469 Replace "jmp L(pseudo_end)" with "ret".
37470 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
37471 Likewise.
37472
8caf8c87
AJ
374732012-05-23 Andreas Jaeger <aj@suse.de>
37474
37475 * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
37476 * sysdeps/unix/sysv/linux/poll.c: Remove file.
37477
1a09dc56
AJ
374782012-05-23 Andreas Jaeger <aj@suse.de>
37479 Maximilian Attems <max@stro.at>
37480
37481 * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
37482 New macros.
37483
1c87aba0
L
374842012-05-23 H.J. Lu <hongjiu.lu@intel.com>
37485
37486 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
37487 code so that pseudo_end is just ret and the stack pointer is
37488 correct also for static library in error case.
37489
40e45bd5
JM
374902012-05-23 Joseph Myers <joseph@codesourcery.com>
37491
c2670533
JM
37492 * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
37493 move to syscalls.list.
37494 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
37495 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
37496 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
37497 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
37498
40e45bd5
JM
37499 * manual/install.texi (Running make install): Do not mention Linux
37500 kernel version for which pt_chown is not needed.
37501 (Linux): Do not mention problems with nscd with 2.0 kernels.
37502 * INSTALL: Regenerated.
37503
be08eda5
AJ
375042012-05-23 Andreas Jaeger <aj@suse.de>
37505
37506 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
37507 (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
37508 macro.
37509 * sysdeps/unix/sysv/linux/s390/bits/mman.h
37510 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
37511 * sysdeps/unix/sysv/linux/sh/bits/mman.h
37512 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
37513 * sysdeps/unix/sysv/linux/i386/bits/mman.h
37514 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
37515 * sysdeps/unix/sysv/linux/sparc/bits/mman.h
37516 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
37517 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
37518 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
37519 * sysdeps/unix/sysv/linux/bits/in.h
37520 (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
37521
a6a056bb
RM
375222012-05-22 Roland McGrath <roland@hack.frob.com>
37523
37524 * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
37525 (PREPARE_VERSION): Just use assert instead, it will be elided
37526 under [NDEBUG] anyway.
37527
c9009328
L
375282012-05-22 H.J. Lu <hongjiu.lu@intel.com>
37529
37530 * sysdeps/unix/sysv/linux/Makefile: Include
37531 $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
cb191f23 37532 (sysdep_routines): Remove sysctl.
c9009328
L
37533 * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
37534 * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
37535 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
37536 * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
37537 * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
37538
73338355
AJ
375392012-05-22 Andreas Jaeger <aj@suse.de>
37540
37541 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
37542 that pseudo_end is just ret and the stack pointer is correct also
37543 for static library in error case.
37544
d44638b0
PP
375452012-05-22 Paul Pluzhnikov <ppluzhnikov@google.com>
37546
37547 [BZ #14122]
37548 * nss/nsswitch.c (defconfig_entries): New variable.
37549 (__nss_database_lookup): Don't leak defconfig entries.
37550 (nss_parse_service_list): Don't leak on error paths.
37551 (free_database_entries): New function.
37552 (free_defconfig): New function.
37553 (free_mem): Move common code to free_database_entries.
37554
31a39bd8
L
375552012-05-22 H.J. Lu <hongjiu.lu@intel.com>
37556
da0331a8
L
37557 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
37558 Add arch_prctl.
37559 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
37560
31a39bd8
L
37561 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
37562 (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
37563 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
37564 New macro.
37565 (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
37566 (INTERNAL_SYSCALL_TYPES): Likewise.
37567 (LOAD_ARGS_TYPES_[1-6]): Likewise.
37568 (LOAD_REGS_TYPES_[1-6]): Likewise.
37569 (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
37570 (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
37571
45470df3
AZ
375722012-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
37573
37574 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
37575 copysignl for GLIBC_2_0.
37576 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
37577 finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
37578 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
37579 logbl for GLIBC_2_0.
37580 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
37581 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
37582
98a61bcb
L
375832012-05-22 H.J. Lu <hongjiu.lu@intel.com>
37584
a4f6e481
L
37585 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
37586 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
37587
f63d5db6
L
37588 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
37589 Use "neg %eax".
37590
98a61bcb
L
37591 * time/mktime.c: Update copyright years.
37592
95770f14
PE
375932012-05-22 Paul Eggert <eggert@cs.ucla.edu>
37594
6226efbd
PE
37595 mktime: merge comment-quoting-style change from gnulib
37596 * time/mktime.c: Quote 'like this' in comments.
37597 The GNU coding standards suggest that we no longer quote `like this',
37598 as "`" and "'" are typically rendered asymmetrically nowadays.
37599 The typical gnulib style is to quote 'like this' when quoting
37600 code, and "like this" when quoting English.
37601
b99e4f78
PE
37602 * time/mktime.c (compile-command): Add "-I.".
37603
643e01e6
PE
37604 mktime: merge mktime-internal.h change from gnulib
37605 * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
37606
2554247d
PE
37607 mktime: merge time_r change from gnulib
37608 * time/mktime.c [!_LIBC]: Do not include "time_r.h".
37609
826dd0ab
PE
37610 mktime: merge DEBUG change from gnulib
37611 * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
37612 case system <time.h> has a #define.
37613
bd83aabe
PE
37614 mktime: merge <sys/types.h> change from gnulib
37615 * time/mktime.c: Do not include <sys/types.h>; no longer needed,
37616 since <time.t> is now guaranteed to define time_t.
37617
95770f14
PE
37618 mktime: merge HAVE_CONFIG_H change from gnulib
37619 * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
37620
5e1a27a9
L
376212012-05-22 H.J. Lu <hongjiu.lu@intel.com>
37622
0e44a77e
L
37623 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
37624 Use "neg %eax".
37625
5e1a27a9
L
37626 * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
37627 __rlim_t cast.
37628 (struct rusage): Use anonymous union to pad each field to
37629 __syscall_slong_t.
37630
46259bec
DM
376312012-05-21 David S. Miller <davem@davemloft.net>
37632
37633 * Makefules (o-iterator): Remove .s cases.
37634 (compile-command.s): Delete.
37635 (COMPILE.s): Delete.
37636 * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
37637
59f0c22e
JM
376382012-05-21 Joseph Myers <joseph@codesourcery.com>
37639
37640 * configure.in (libc_cv_predef_stack_protector): Only consider
37641 "foobar" and "__stack_chk_fail" lines in libc_undefs.
37642 * configure: Regenerated.
37643
20c07380
L
376442012-05-21 H.J. Lu <hongjiu.lu@intel.com>
37645
bbb3154b
L
37646 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
37647 New macro. Use R*LP on int and pointer.
37648 (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
c5b3a2c0
L
37649 * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
37650 * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
bbb3154b
L
37651 * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
37652
20c07380
L
37653 * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
37654 [__WORDSIZE_TIME64_COMPAT32] instead of
37655 [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
37656 (struct utmp): Likewise.
37657 * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
37658 * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
37659 Renamed to ...
37660 (__WORDSIZE_TIME64_COMPAT32): This.
37661 * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
37662 * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
37663 * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
37664 * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
37665 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
37666 (__WORDSIZE_TIME64_COMPAT32): New macro.
37667
d8d1017e
AJ
376682012-05-21 Andreas Jaeger <aj@suse.de>
37669
37670 * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
37671 only if [SHARED]. Add prototype for __wcschr_ia32.
37672
6c7fb145
RM
376732012-05-21 Roland McGrath <roland@hack.frob.com>
37674
37675 * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
37676 of %rbp unmolested in the jmp_buf while mangling the low bits.
37677 * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
37678 unmolested high bits of %rbp while demangling the low bits.
37679 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
37680
66274218
AJ
376812012-05-21 Andreas Jaeger <aj@suse.de>
37682
07c58f8f
AJ
37683 * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
37684 * sunrpc/svc_simple.c: Use it for registerrpc.
37685 * sunrpc/xcrypt.c: Use it for passwd2des.
37686
66274218
AJ
37687 * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
37688
61f65140
L
376892012-05-21 H.J. Lu <hongjiu.lu@intel.com>
37690
37691 * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
37692 Don't define if [__SYSCALL_WORDSIZE != 32].
37693 * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
37694 New macro.
37695
5fefb436
AJ
376962012-05-21 Bruno Haible <bruno@clisp.org>
37697 Andreas Jaeger <aj@suse.de>
37698
37699 [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
37700 * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
37701 inptr and inend for must_buffer_ch.
37702 * wcsmbs/tst-mbsnrtowcs.c: Remove file.
37703 * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
37704 * stdio-common/Makefile (tests): Remove bug15.
37705 (bug15-ENV): Remove macro.
37706 * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
37707 anymore.
37708
d8e272ab
AJ
377092012-05-19 Andreas Jaeger <aj@suse.de>
37710 Roland McGrath <roland@hack.frob.com>
37711
37712 * manual/contrib.texi: Completely rewritten. It contains now an
37713 alphabetical list of contributors and their contributions.
37714
4a56a162
RH
377152012-05-21 Richard Henderson <rth@twiddle.net>
37716
37717 * misc/getauxval.c (__getauxval): Use unsigned long int.
37718 * misc/sys/auxv.h: Include <sys/cdefs.h>.
37719 (getauxval): Use unsigned long int.
37720
d024d23c
L
377212012-05-21 H.J. Lu <hongjiu.lu@intel.com>
37722
37723 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
37724
cbc00a03
RM
377252012-05-21 Roland McGrath <roland@hack.frob.com>
37726
37727 * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
37728 (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
37729 __alignof__ (long double).
37730
478143fa
AZ
377312012-05-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
37732
37733 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
37734
c7683a6d
RH
377352012-05-20 Richard Henderson <rth@twiddle.net>
37736
37737 * misc/getauxval.c: New file.
37738 * misc/sys/auxv.h: New file.
37739 * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
37740 (routines): Add getauxval.
37741 * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
37742 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
37743 * elf/dl-sysdep.c (_dl_auxv): Remove.
37744 (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
37745 * elf/dl-support.c (_dl_auxv): New variable.
37746 (_dl_aux_init): Initialize it.
37747 * manual/startup.texi (Auxiliary Vector): New node.
37748 * sysdeps/generic/bits/hwcap.h: New file.
37749 * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
37750 * sysdeps/powerpc/sysdep.h: ... here. Include it.
37751 * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
37752 * sysdeps/sparc/sysdep.h: ... here. Include it.
37753 * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
37754 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
cbc00a03
RM
37755 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
37756 Update.
c7683a6d
RH
37757 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
37758 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
37759 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
37760 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
37761 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
37762 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
37763 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
37764 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
37765
a6f1845d
AZ
377662012-05-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
37767
37768 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
37769
cbcbe830
DM
377702012-05-19 David S. Miller <davem@davemloft.net>
37771
37772 * sysdeps/sparc/fpu/libm-test-ulps: Update.
37773
e0b16cc2
JM
377742012-05-19 Joseph Myers <joseph@codesourcery.com>
37775
37776 [BZ #14123]
37777 * math/s_ccosh.c: Include <float.h>
37778 (__ccosh): Avoid internal overflow calculating sinh and cosh
37779 values before multiplying by sin and cos values.
37780 * math/s_ccoshf.c: Likewise.
37781 * math/s_ccoshl.c: Likewise.
37782 * math/s_csin.c: Likewise.
37783 * math/s_csinf.c: Likewise.
37784 * math/s_csinl.c: Likewise.
37785 * math/s_csinh.c: Likewise.
37786 * math/s_csinhf.c: Likewise.
37787 * math/s_csinhl.c: Likewise.
37788 * math/libm-test.inc (ccos_test): Add more tests.
37789 (ccosh_test): Likewise.
37790 (csin_test): Likewise.
37791 (csinh_test): Likewise.
37792 * sysdeps/i386/fpu/libm-test-ulps: Update.
37793 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37794
6ad13e08
L
377952012-05-19 H.J. Lu <hongjiu.lu@intel.com>
37796
f66f0ce8
L
37797 * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
37798 * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
37799
6ad13e08
L
37800 * sysdeps/x86_64/x32/_itoa.h: Add comment.
37801
b1d072a7
JM
378022012-05-19 Joseph Myers <joseph@codesourcery.com>
37803
37804 * sysdeps/powerpc/soft-fp/Makefile: Remove file.
37805 * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
37806 * sysdeps/powerpc/soft-fp/Versions: Likewise.
37807 * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
37808 * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
37809 * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
37810 * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
37811 * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
37812 * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
37813 * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
37814 * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
37815 * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
37816 * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
37817 * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
37818 * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
37819 * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
37820 * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
37821 * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
37822 * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
37823 * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
37824 * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
37825 * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
37826 * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
37827 * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
37828 * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
37829 * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
37830 * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
37831 * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
37832 * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
37833 * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
37834 * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
37835
9eae47cb
AJ
378362012-05-18 Andreas Jaeger <aj@suse.de>
37837
37838 * csu/.gitignore: Delete.
37839
bb07f69f
L
378402012-05-18 H.J. Lu <hongjiu.lu@intel.com>
37841
37842 * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
37843 (timex): Use __syscall_slong_t.
37844
e6bdb741
AJ
378452012-05-18 Andreas Jaeger <aj@suse.de>
37846 Carlos O'Donell <carlos_odonell@mentor.com>
37847
37848 * manual/install.texi (Configuring and compiling): Update
37849 description about files modified in the source directory.
d6c33fda 37850 * INSTALL: Regenerated.
e6bdb741 37851
1b74487e
L
378522012-05-18 H.J. Lu <hongjiu.lu@intel.com>
37853
37854 * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
37855 value. Use "or" to set return value to -1.
37856 * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
37857 negate return value.
37858
a88b64b9
TMQMF
378592012-05-18 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
37860
57f41c40
AS
37861 * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c)
37862 (CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
a88b64b9
TMQMF
37863 failure if the compiler has Graphite support disabled.
37864 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
37865 Likewise.
57f41c40
AS
37866 * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c)
37867 (CFLAGS-memmove.c): Likewise.
a88b64b9
TMQMF
37868 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
37869 Likewise.
37870
3707636e
L
378712012-05-18 H.J. Lu <hongjiu.lu@intel.com>
37872
610b8622
L
37873 * sysdeps/x86_64/x32/_itoa.h: New file.
37874
7cd195df
L
37875 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
37876 getdents system call only if kernel and user dirents have the
37877 same d_ino and d_off.
37878
94b07d20
L
37879 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
37880 LLONG_MAX != LONG_MAX.
37881 (_itoa_word): Use _ITOA_WORD_TYPE on value.
37882 (_fitoa_word): Likewise.
37883
18298070
L
37884 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
37885 years.
37886 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
37887 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
37888 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
37889
553c7ea4
L
37890 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
37891 include <bits/wordsize.h>. Check __x86_64__ instead of
37892 __WORDSIZE.
37893 (sigcontext): Use "__uint64_t" instead of "unsigned long int"
37894 if __x86_64__ is defined. Use anonymous union on fpstate.
37895
3707636e
L
37896 * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
37897 anonymous union.
37898
b53ef01a
AS
378992012-05-18 Andreas Schwab <schwab@linux-m68k.org>
37900
37fb1dc0
AS
37901 * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
37902 INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
37903 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
37904 Refer to _rtld_local_ro instead of _rtld_global_ro.
37905 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
37906 Likewise.
37907 * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
37908 Likewise.
37909 * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
37910 Likewise.
37911 * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
37912 * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
37913 of _rtld_global, and rtld_progname instead of _dl_argv[0].
37914
b53ef01a
AS
37915 * sysdeps/powerpc/powerpc32/dl-machine.c
37916 (__elf_machine_runtime_setup) [PROF]: Don't reference
37917 _dl_prof_resolve.
37918
7a185db2
AJ
379192012-05-18 Andreas Jaeger <aj@suse.de>
37920
37921 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
37922 function only available for GCCs before 3.4 since GCC 3.4
37923 introduced a builtin.
37924 (lrint): Likewise.
37925 (llrintf): Likewise.
37926 (llrint): Likewise.
37927 (fmaxf): Likewise.
37928 (fmax): Likewise.
37929 (fminf): Likewise.
37930 (fmin): Likewise.
37931 (rint): Likewise.
37932 (rintf): Likewise.
37933 (nearbyint): Likewise.
37934 (nearbyintf): Likewise.
37935 (ceil): Likewise.
37936 (ceilf): Likewise.
37937 (floor): Likewise.
37938 (floorf): Likewise.
37939
3e5aef87
L
379402012-05-17 H.J. Lu <hongjiu.lu@intel.com>
37941
428bd707
L
37942 * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
37943 on both fields and cast pointer to __syscall_ulong_t.
37944
3e5aef87
L
37945 * bits/types.h (__fsword_t): New type.
37946 * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
37947 sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
37948 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
37949 (__FSWORD_T_TYPE): Likewise.
37950 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
37951 (__FSWORD_T_TYPE): Likewise.
37952 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
37953 (__FSWORD_T_TYPE): Likewise.
37954 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
37955 (__FSWORD_T_TYPE): Likewise.
37956 * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
37957 __SWORD_TYPE with __fsword_t.
37958 (statfs64): Likewise.
37959
1ba7c3dc
DM
379602012-05-17 David S. Miller <davem@davemloft.net>
37961
37962 * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
37963
59910343
AJ
379642012-05-17 Andreas Jaeger <aj@suse.de>
37965
37966 * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
37967 warning.
37968
2e4c1e9e
L
379692012-05-17 H.J. Lu <hongjiu.lu@intel.com>
37970
37971 * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
37972
de7f5ce7
AJ
379732012-05-17 Andreas Jaeger <aj@suse.de>
37974
37975 * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
37976 when it is used.
37977
286abc3d
CM
379782012-05-17 Chris Metcalf <cmetcalf@tilera.com>
37979
37980 * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
37981
477cc68e
L
379822012-05-17 H.J. Lu <hongjiu.lu@intel.com>
37983
37984 * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
37985 * sysdeps/x86_64/tst-mallocalign1.c: New file.
37986
1a0994f5
CD
379872012-05-17 Andreas Jaeger <aj@suse.de>
37988 Carlos O'Donell <carlos_odonell@mentor.com>
37989
37990 [BZ #14059]
37991 * sysdeps/x86_64/multiarch/init-arch.h
37992 (bit_YMM_Usable): Rename to...
37993 (bit_AVX_Usable): ... this.
37994 (bit_FMA4_Usable): New macro.
37995 (bit_XMM_state): New macro.
37996 (bit_YMM_state): New macro.
37997 [__ASSEMBLER__] (index_YMM_Usable): Rename to...
37998 [__ASSEMBLER__] (index_AVX_Usable): ... this.
37999 [__ASSEMBLER__] (index_FMA4_Usable): New macro.
38000 (CPUID_OSXSAVE): New macro.
38001 (CPUID_AVX): New macro.
38002 (CPUID_FMA4): New macro.
38003 (index_YMM_Usable): Rename to...
38004 (index_AVX_Usable): ... this.
38005 (HAS_AVX): Use HAS_ARCH_FEATURE.
38006 (HAS_FMA4): Likewise.
38007 (HAS_YMM_USABLE): Remove.
38008 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
38009 Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
38010 are present.
38011 * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
38012 * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
38013 * sysdeps/x86_64/multiarch/Makefile: Likewise.
38014 * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
38015 * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
38016
0af797de
CM
380172012-05-17 Chris Metcalf <cmetcalf@tilera.com>
38018
38019 * math/libm-test.c: Support platforms without multiple rounding modes.
38020 * math/bug-nextafter.c: Support platforms without FP exceptions.
38021 * math/bug-nexttoward.c: Likewise.
38022 * math/test-fenv.c: Likewise.
38023 * math/test-misc.c: Likewise.
38024 * stdlib/bug-getcontext.c: Likewise.
38025
e39745ff
AJ
380262012-05-17 Andreas Jaeger <aj@suse.de>
38027
38028 * manual/examples/search.c (critter_cmp): Change signature to
38029 avoid warnings.
38030 * manual/string.texi (Collation Functions): Likewise.
38031
48970aba
L
380322012-05-16 H.J. Lu <hongjiu.lu@intel.com>
38033
38034 * bits/types.h: Fold copyright years.
38035 * bits/typesizes.h: Likewise.
38036 * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
38037 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
38038 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
38039 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
38040 * time/time.h: Likewise.
38041
bedee953
PP
380422012-05-16 Paul Pluzhnikov <ppluzhnikov@google.com>
38043
38044 [BZ #208]
38045 * malloc.c (int_mallinfo): Add parameter to accumulate statistics
38046 in instead of returning them. Return void.
38047 (__libc_mallinfo): Accumulate over all arenas.
38048 (__malloc_stats): Adjust for change in int_mallinfo interface.
38049
61653dfb
RM
380502012-05-16 Roland McGrath <roland@hack.frob.com>
38051
30b99d79
RM
38052 [BZ #10375]
38053 * configure.in (NM): Add AC_CHECK_TOOL for it.
38054 (libc_extra_cflags): New substituted variable.
38055 Check for -fstack-protector being used implicitly.
38056 * configure: Regenerated.
38057 * config.make.in (config-extra-cflags): New variable,
38058 gets @libc_extra_cflags@.
38059 * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
38060
61653dfb
RM
38061 [BZ #10375]
38062 * configure.in: Check for _FORTIFY_SOURCE being predefined.
38063 (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
38064 * configure: Regenerated.
38065 * config.make.in (CPPUNDEFS): New substituted variable.
38066 * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
38067 * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
38068 * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
38069
661768bb
L
380702012-05-16 H.J. Lu <hongjiu.lu@intel.com>
38071
38072 * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
38073 (mq_attr): Use __syscall_slong_t.
38074
d4261567
L
380752012-05-16 H.J. Lu <hongjiu.lu@intel.com>
38076
38077 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
38078 Check __x86_64__ instead of __WORDSIZE.
38079 (_STAT_VER_LINUX): Likewise.
38080 (stat): Check __x86_64__ instead of __WORDSIZE. Use
38081 __syscall_ulong_t and __syscall_slong_t.
38082 (stat64): Likewise.
38083
cf3ff365
L
380842012-05-16 H.J. Lu <hongjiu.lu@intel.com>
38085
38086 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
38087
76cf3e4d
L
380882012-05-16 H.J. Lu <hongjiu.lu@intel.com>
38089
38090 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
38091
a637753a
L
380922012-05-16 H.J. Lu <hongjiu.lu@intel.com>
38093
38094 * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
38095 __syscall_ulong_t.
38096
d5e05119
L
38097 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
38098 include <bits/wordsize.h>. Check __x86_64__ instead of
38099 __WORDSIZE.
38100 (greg_t): Use "__extension__ long long int" if __x86_64__ is
38101 defined.
38102 (mcontext_t): Replace "unsigned long" with "unsigned long long".
38103
f62ee380
L
38104 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
38105 include <bits/wordsize.h>. Check __x86_64__ instead of
38106 __WORDSIZE.
38107 (user_regs_struct): Use "__extension__ unsigned long long"
38108 instead of "unsigned long" if __x86_64__ is defined.
38109 (user): Likewise. Pad after pointer field if __ILP32__ is
38110 defined.
38111
4e124ced
JM
381122012-05-16 Joseph Myers <joseph@codesourcery.com>
38113
6a3951a0
JM
38114 * configure.in (makeinfo): Require version 4.5 or later. Allow
38115 versions 5 to 9.
38116 * configure: Regenerated.
38117 * manual/install.texi (texinfo): Increase version requirement to
38118 4.5 or later.
38119 * INSTALL: Regenerated.
38120
4e124ced
JM
38121 * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
38122
953ca31a
L
381232012-05-16 H.J. Lu <hongjiu.lu@intel.com>
38124
38125 * sysdeps/x86_64/x32/gmp-mparam.h: New file.
38126
617aca05
L
38127 * sysdeps/x86_64/x32/ffs.c: New file.
38128
5762f7ae
L
38129 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
38130 __syscall_ulong_t.
38131 (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
38132 defined. Use __syscall_ulong_t.
38133 (shminfo): Use __syscall_ulong_t.
38134 (shm_info): Likewise.
38135
a26b6856
L
38136 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
38137 __syscall_ulong_t.
38138
cb2b9ef7
L
38139 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
38140 <bits/wordsize.h>.
38141 (msgqnum_t): Use __syscall_ulong_t.
38142 (msglen_t): Likewise.
38143 (msqid_ds): Check __x86_64__ instead of __WORDSIZE. Use
38144 __syscall_ulong_t.
38145
34683bb0
L
38146 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
38147 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
38148
84a68786
L
38149 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
38150
48baa5f1
L
38151 * sysdeps/x86_64/x32/divdi3.c: New dummy file.
38152 * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
38153
180be88b
L
38154 * sysvipc/sys/msg.h (msgbuf): Replace long int with
38155 __syscall_slong_t.
38156
5e90c8ad
L
38157 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
38158 include <bits/wordsize.h>. Check __x86_64__ instead of
38159 __WORDSIZE.
38160
23dfb58b
L
38161 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
38162 "unsigned long long int" if __x86_64__ is defined.
38163 (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
38164
ce5d54b0
L
38165 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
38166 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
38167 (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
38168
13dc9eac
L
38169 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
38170 <stdint.h>.
38171 (GET_PC): Cast to uintptr_t first.
38172 (GET_FRAME): Likewise.
38173 (GET_STACK): Likewise.
38174
a7895d15
L
38175 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
38176 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
38177 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
38178 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
38179 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
38180 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
38181 * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
38182 * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
38183 * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
38184 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
38185 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
38186 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
38187 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
38188 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
38189 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
38190 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
38191 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
38192 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
38193 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
38194 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
38195 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
38196 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
38197 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
38198 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
38199 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
38200 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
38201 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
38202 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
38203 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
38204
656416c9
AS
382052012-05-16 Andreas Schwab <schwab@linux-m68k.org>
38206
5bd66283
AS
38207 * Makerules (+depfiles): Also collect depfiles from .oS in
38208 $(extra-objs).
38209 * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
38210 .oS, $(libnldbl-routines)).
38211
656416c9
AS
38212 * Makerules (native-compile-mkdep-flags): Define.
38213 * sunrpc/Makefile (extra-objs): Add $(addprefix
38214 cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
38215 ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
38216 of $(compile-mkdep-flags). Depend on $(before-compile) instead of
38217 calling $(make-target-directory).
38218
a46f2169
L
382192012-05-15 H.J. Lu <hongjiu.lu@intel.com>
38220
38221 * bits/types.h (__snseconds_t): Removed.
38222 * time/time.h (struct timespec): Replace __snseconds_t with
38223 __syscall_slong_t.
38224 * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
38225 * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
38226 Likewise.
38227 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
38228 (__SNSECONDS_T_TYPE): Likewise.
38229 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
38230 (__SNSECONDS_T_TYPE): Likewise.
38231 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
38232 (__SNSECONDS_T_TYPE): Likewise.
38233
6af6528b
L
382342012-05-15 H.J. Lu <hongjiu.lu@intel.com>
38235
38236 * sysdeps/mach/hurd/bits/typesizes.h
38237 (__SYSCALL_SLONG_TYPE): New macro.
38238 (__SYSCALL_ULONG_TYPE): Likewise.
38239
de986b56
L
382402012-05-15 H.J. Lu <hongjiu.lu@intel.com>
38241
38242 * bits/types.h (__syscall_slong_t): New type.
38243 (__syscall_ulong_t): Likewise.
38244
38245 * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
38246 (__SYSCALL_ULONG_TYPE): Likewise.
38247 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
38248 (__SYSCALL_SLONG_TYPE): Likewise.
38249 (__SYSCALL_ULONG_TYPE): Likewise.
38250 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
38251 (__SYSCALL_SLONG_TYPE): Likewise.
38252 (__SYSCALL_ULONG_TYPE): Likewise.
38253 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
38254 (__SYSCALL_SLONG_TYPE): Likewise.
38255 (__SYSCALL_ULONG_TYPE): Likewise.
38256
85736dc7
L
382572012-05-15 H.J. Lu <hongjiu.lu@intel.com>
38258
38259 * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
38260 Add sigaltstack-offsets.sym.
38261 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
38262 <sigaltstack-offsets.h>.
38263 (CALL_FAIL): Use RSP_LP to operate on stack. Use RDI_LP on
38264 longjmp_msg pointer.
38265 (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC. Use
38266 R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
38267 signal stack.
38268 * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
38269
cc03b296
JM
382702012-05-15 Joseph Myers <joseph@codesourcery.com>
38271
a9538892
JM
38272 * elf/stackguard-macros.h: Remove file.
38273 * sysdeps/generic/stackguard-macros.h: New file.
38274 * sysdeps/i386/stackguard-macros.h: Likewise.
38275 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
38276 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
38277 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
38278 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
38279 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
38280 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
38281 * sysdeps/x86_64/stackguard-macros.h: Likewise.
38282 * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
38283 <elf/stackguard-macros.h>.
38284
cc03b296
JM
38285 [BZ #14109]
38286 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
38287 __aligned__ in attribute.
38288 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
38289 (gregset_t): Likewise.
38290
93171016
L
382912012-05-15 H.J. Lu <hongjiu.lu@intel.com>
38292
38293 * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
38294 * sysdeps/x86_64/64/Implies-after: Here. New file.
38295 * sysdeps/x86_64/x32/Implies-after: New file.
38296
d86813a0
L
382972012-05-15 H.J. Lu <hongjiu.lu@intel.com>
38298
38299 * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
38300 and access return value for _dl_profile_fixup. Use R10_LP to
38301 load frame size.
38302
2953ec75
L
383032012-05-15 H.J. Lu <hongjiu.lu@intel.com>
38304
38305 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
38306
3b550e9e
L
383072012-05-15 H.J. Lu <hongjiu.lu@intel.com>
38308
38309 * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
38310 * sysdeps/x86_64/x32/sysdep.h: New file.
38311
eda41706
L
383122012-05-15 H.J. Lu <hongjiu.lu@intel.com>
38313
38314 * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
38315 * sysdeps/x86_64/setjmp.S: Likewise.
38316
9ea01d93
AZ
383172012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
38318
38319 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
38320 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
38321 * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
38322 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
38323 remove unused global constant.
38324
02a91938
CM
383252012-05-15 Chris Metcalf <cmetcalf@tilera.com>
38326
38327 * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
38328 include of <not-cancel.h>.
38329
6540185f
RM
383302012-05-15 Roland McGrath <roland@hack.frob.com>
38331
38332 * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
38333
509072a0
AJ
383342012-05-15 Jeff Law <law@redhat.com>
38335 Andreas Jaeger <aj@suse.de>
38336
38337 [BZ #13594]
38338 * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
38339 out from...
38340 * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
38341 * nscd/nscd-client.h: Add __nscd_acquire_maplock.
38342 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
38343 code changing __hst_map_handle.map.
38344
ba75122d
RM
383452012-05-15 Roland McGrath <roland@hack.frob.com>
38346
38347 * configure.in (sysnames): Look for Implies-before and Implies-after
38348 files.
38349 * configure: Regenerated.
38350
890d8bd8
L
383512012-05-15 H.J. Lu <hongjiu.lu@intel.com>
38352
38353 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
38354 8-byte data alignment with LP_SIZE alignment.
38355
f6ee6623
L
383562012-05-15 H.J. Lu <hongjiu.lu@intel.com>
38357
38358 * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
38359 into R10_LP.
38360
ea2626f6
L
383612012-05-15 H.J. Lu <hongjiu.lu@intel.com>
38362
38363 * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
38364
085f715e
L
383652012-05-15 H.J. Lu <hongjiu.lu@intel.com>
38366
38367 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
38368 * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
38369 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
38370 Likewise.
38371 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
38372
be8498fc
L
383732012-05-15 H.J. Lu <hongjiu.lu@intel.com>
38374
38375 * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
38376 (stackinfo_sub_sp): Likewise.
38377
70bc83b9
L
383782012-05-15 H.J. Lu <hongjiu.lu@intel.com>
38379
38380 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
38381 RAX_LP.
38382
9bc0b730
L
383832012-05-15 H.J. Lu <hongjiu.lu@intel.com>
38384
38385 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
38386 into R*_LP.
38387
6d2850e7
L
383882012-05-15 H.J. Lu <hongjiu.lu@intel.com>
38389
38390 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
38391 sizes into R*_LP.
38392
3cb84561
L
383932012-05-15 H.J. Lu <hongjiu.lu@intel.com>
38394
38395 * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
38396
54e2ed81
L
383972012-05-15 H.J. Lu <hongjiu.lu@intel.com>
38398
38399 * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
38400 into R11_LP and load __x86_64_shared_cache_size_half into
38401 R8_LP.
38402
8a17f349
L
384032012-05-15 H.J. Lu <hongjiu.lu@intel.com>
38404
38405 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
38406 R8_LP.
38407
777b1eea
AZ
384082012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
38409
38410 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
38411 logb for POWER7.
38412 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
38413 logbf for POWER7.
38414 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
38415 logbl for POWER7.
38416 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
38417 powerpc32/power7/fpu/s_logb.c via #include.
38418 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
38419 powerpc32/power7/fpu/s_logbf.c via #include.
38420 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
38421 powerpc32/power7/fpu/s_logbl.c via #include.
38422
d20d4ac2
JM
384232012-05-15 Joseph Myers <joseph@codesourcery.com>
38424
38425 * README.libm: Remove file.
38426
6cdef1ab
L
384272012-05-14 H.J. Lu <hongjiu.lu@intel.com>
38428
38429 * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
38430 count for x32. Use R*_LP and omit operand-size suffix.
38431
0b254d8f
L
384322012-05-14 H.J. Lu <hongjiu.lu@intel.com>
38433
38434 * shlib-versions: Move x86_64-.*-linux.* entries to ...
38435 * sysdeps/x86_64/64/shlib-versions: Here. New file.
38436 * sysdeps/x86_64/x32/shlib-versions: New file.
38437
ceb809dc
RM
384382012-05-14 Roland McGrath <roland@hack.frob.com>
38439
38440 * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
38441 * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
38442 Use _dl_fatal_printf instead.
38443
37f1abd4
JM
384442012-05-14 Joseph Myers <joseph@codesourcery.com>
38445
38446 * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
38447 set if not set by the user. Do not allow for being unset.
38448 * sysdeps/unix/sysv/linux/configure: Regenerated.
38449
11de3a33
L
384502012-05-14 H.J. Lu <hongjiu.lu@intel.com>
38451
38452 * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
38453 the `q' suffix from lea and replace .quad with ASM_ADDR.
38454
e02f153a
L
384552012-05-14 H.J. Lu <hongjiu.lu@intel.com>
38456
38457 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
38458 the `q' suffix from xor/rol instructions. Use $2*LP_SIZE+1
38459 instead of $17.
38460 (PTR_DEMANGLE): Likewise.
38461
520ae0fd
L
384622012-05-14 H.J. Lu <hongjiu.lu@intel.com>
38463
38464 * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
38465 (LP_OP): Likewise.
38466 (ASM_ADDR): Likewise.
38467 (RAX_LP): Likewise.
38468 (RBP_LP): Likewise.
38469 (RBX_LP): Likewise.
38470 (RCX_LP): Likewise.
38471 (RDI_LP): Likewise.
38472 (RSI_LP): Likewise.
38473 (RSP_LP): Likewise.
38474 (R8_LP): Likewise.
38475 (R9_LP): Likewise.
38476 (R10_LP): Likewise.
38477 (R10_LP): Likewise.
38478 (R11_LP): Likewise.
38479 (R12_LP): Likewise.
38480 (R13_LP): Likewise.
38481 (R14_LP): Likewise.
38482 (R15_LP): Likewise.
38483
b985be81
L
384842012-05-14 H.J. Lu <hongjiu.lu@intel.com>
38485
38486 * sysdeps/x86_64/x32/dl-machine.h: New file.
38487
6a4888ff
AJ
384882012-05-14 Andreas Jaeger <aj@suse.de>
38489
38490 * manual/Makefile (subdir): Remove export of subdir.
38491 (all): Remove target.
38492 (.PHONY): Remove all from list.
38493 (mkinstalldirs): Remove.
38494 (.PHONY): Remove installdirs from list.
38495 ($(inst_infodir)/libc.info): Use make-target-directory.
38496 (installdirs): Remove.
38497 (subdir_%): Remove.
38498 (glibc-targets): Remove.
38499 (lib): Remove.
38500 (stubs): Remove.
38501 ($(objpfx)stubs ../po/manual.pot): Remove.
38502 ($(objpfx)stamp%): Remove.
38503 (make-target-directory): Remove.
38504 (subdir_install): Remove.
38505 (routines): Remove.
38506 (aux): Remove.
38507 (sources): Remove.
38508 (objects): Remove.
38509 (headers): Remove.
38510
38511 [BZ #13750]
38512 * manual/.gitignore: Remove, it's not needed anymore.
38513 * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
38514 all files in it.
38515 * manual/Makefile (dvi, pdf, info, html): Depend on files in build
38516 directory.
38517 (texis): Renamed to $(objpfx)texis.
38518 (texis-path): New, contains path to generated files.
38519 (chapters.%): Use texis-path for complete path, add extra argument
38520 libc-texinfo.sh.
38521 (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
38522 (libc/index.html, summary.texi): Add $(objpfx) as prefix.
38523 (summary,texi, stamp-summary): Use complete path of
38524 files. Generate files in build dir.
38525 (dir-add.texi): Build in build dir.
38526 (libm-err.texi,stamp-libm-err): Likewise.
38527 (version.texi, stamp-version): Likewise.
38528 (.%c.texi): Likewise.
38529 (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
38530 (mostlyclean): Remove target.
38531 (realclean): Remove target.
38532 (generated): Add new variable with contents from mostlyclean and
38533 realclean, remove entries duplicated in common-mostlyclean, add
38534 stamp-libm-err and stamp-version.
38535 (generated-dirs): Add libc directory.
38536 ($(inst_infodir)/libc.info): Install files from build dir.
38537
38538 * manual/install.texi (Configuring and compiling): Adjust since
38539 the info files are not part of the tar ball anymore.
38540
7ac77294
AJ
385412012-05-14 Andreas Jaeger <aj@suse.de>
38542
38543 * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
38544 variable.
38545
ffb7875d
JM
385462012-05-14 Joseph Myers <joseph@codesourcery.com>
38547
38548 [BZ #13717]
38549 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
38550 to 2.2.0 where earlier.
38551 * sysdeps/unix/sysv/linux/configure: Regenerated.
38552 * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
38553 Remove conditional code.
38554 [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
38555 * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
38556 Remove conditional code.
38557 [!__NR_lchown]: Likewise.
38558 [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
38559 [__NR_lchown]: Likewise.
38560 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
38561 comment referencing __ASSUME_LCHOWN_SYSCALL.
38562 * sysdeps/unix/sysv/linux/i386/sigaction.c
38563 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
38564 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
38565 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
38566 Remove conditional code.
38567 [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
38568 (__protocol_available): Remove #if 0 code.
38569 * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
38570 conditional code.
38571 [__ASSUME_SIOCGIFNAME]: Make code unconditional.
38572 * sysdeps/unix/sysv/linux/kernel-features.h
38573 (__ASSUME_GETCWD_SYSCALL): Don't define.
38574 (__ASSUME_REALTIME_SIGNALS): Likewise.
38575 (__ASSUME_PREAD_SYSCALL): Likewise.
38576 (__ASSUME_PWRITE_SYSCALL): Likewise.
38577 (__ASSUME_POLL_SYSCALL): Likewise.
38578 (__ASSUME_LCHOWN_SYSCALL): Likewise.
38579 (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
38580 non-SPARC.
38581 (__ASSUME_SIOCGIFNAME): Don't define.
38582 (__ASSUME_MSG_NOSIGNAL): Likewise.
38583 (__ASSUME_SENDFILE): Define unconditionally.
38584 (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
38585 * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
38586 conditional code.
38587 [__ASSUME_POLL_SYSCALL]: Make code unconditional.
38588 * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
38589 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
38590 (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
38591 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
38592 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
38593 (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
38594 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
38595 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
38596 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
38597 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
38598 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
38599 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
38600 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
38601 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
38602 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
38603 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
38604 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
38605 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
38606 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
38607 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
38608 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
38609 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
38610 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
38611 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
38612 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
38613 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
38614 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
38615 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
38616 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
38617 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
38618 * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
38619 Remove conditional code.
38620 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
38621 * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
38622 Remove conditional code.
38623 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
38624 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
38625 [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
38626 * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
38627 Remove conditional code.
38628 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
38629 * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
38630 Remove conditional code.
38631 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
38632 * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
38633 Remove conditional code.
38634 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
38635 * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
38636 Remove conditional code.
38637 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
38638 * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
38639 Remove conditional code.
38640 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
38641 * sysdeps/unix/sysv/linux/sh/pwrite64.c
38642 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
38643 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
38644 * sysdeps/unix/sysv/linux/sigaction.c
38645 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
38646 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
38647 * sysdeps/unix/sysv/linux/sigpending.c
38648 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
38649 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
38650 * sysdeps/unix/sysv/linux/sigprocmask.c
38651 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
38652 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
38653 * sysdeps/unix/sysv/linux/sigsuspend.c
38654 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
38655 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
38656 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
38657 (__libc_missing_rt_sigs): Remove.
38658 (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
38659 (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
38660 * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
38661 Remove conditional code.
38662 [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
38663 * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
38664 return 1.
38665 * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
38666 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
38667 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
38668 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
38669
1bfb7291
AJ
386702012-05-14 Andreas Jaeger <aj@suse.de>
38671
caae5a81
AJ
38672 * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
38673 it's not used in glibc.
38674 (__coshm1): Likewise.
38675 (__acosh1p): Likewise.
38676 (__sgn): Likewise.
38677
1bfb7291
AJ
38678 * manual/string.texi (Copying and Concatenation): Add missing
38679 variable in concat example.
38680 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
38681
c044d724
L
386822012-05-14 H.J. Lu <hongjiu.lu@intel.com>
38683
144c5467 38684 [BZ #14103]
c044d724
L
38685 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
38686 __builtin_clzl with __builtin_clzll.
38687
2523c62b
L
386882012-05-14 H.J. Lu <hongjiu.lu@intel.com>
38689
38690 [BZ #14104]
38691 * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
38692 libc_freeres_ptr.
38693
d7bb4c42
LD
386942012-05-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
38695
38696 * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
38697 * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
38698 * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
38699 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
38700
9dc4e1fb
MF
387012012-05-14 Mike Frysinger <vapier@gentoo.org>
38702
38703 * NEWS: Update ia64 info.
38704
c7df0112
AS
387052012-05-12 Andreas Schwab <schwab@linux-m68k.org>
38706
38707 * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
38708 used as bcopy.
38709
dc70356c
TS
387102012-05-12 Thomas Schwinge <thomas@codesourcery.com>
38711
38712 * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
38713 * sysdeps/unix/syscalls.list (dup3): Likewise.
38714 * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
38715 * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
38716
9fb1a21f
L
387172012-05-11 H.J. Lu <hongjiu.lu@intel.com>
38718
38719 * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
38720 "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
38721
4822a2a5
L
387222012-05-11 H.J. Lu <hongjiu.lu@intel.com>
38723
38724 * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
38725 thread pointer.
38726 (TLS_IE): Use mov/add instead of movq/addq to load thread
38727 pointer.
38728 (TLS_GD_PREFIX): New.
38729 (TLS_GD): Use it.
38730
842b81d6
DM
387312012-05-11 David S. Miller <davem@davemloft.net>
38732
38733 * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
38734 * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
38735 (_FPU_SETCW): Likewise.
38736
1cf463cd
L
387372012-05-10 H.J. Lu <hongjiu.lu@intel.com>
38738
38739 * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
38740 is 32-byte aligned.
38741
60cc4a18
AS
387422012-05-11 Andreas Schwab <schwab@linux-m68k.org>
38743
38744 [BZ #11837]
38745 * iconvdata/gb18030.c: Update tables.
38746 (BODY for FROM_LOOP): Update. Handle two-byte encoded non-BMP
38747 characters specially.
38748 (BODY for TO_LOOP): Add encoding of missing ranges.
38749
febb44a4
TS
387502012-05-11 Thomas Schwinge <thomas@codesourcery.com>
38751
38752 [BZ #13673]
38753 * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
38754 * sysdeps/mach/hurd/dup3.c: Likewise.
38755 * sysdeps/mach/hurd/readlinkat.c: Likewise.
38756 * sysdeps/powerpc/memmove.c:: Likewise.
38757
0a10fb9e
L
387582012-05-10 H.J. Lu <hongjiu.lu@intel.com>
38759
38760 * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
38761 R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
38762
df8a552f
L
387632012-05-10 H.J. Lu <hongjiu.lu@intel.com>
38764
38765 * elf/elf.h (R_X86_64_RELATIVE64): New.
38766 (R_X86_64_NUM): Updated.
38767 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
38768 R_X86_64_RELATIVE64. Always use Elf64_Addr with R_X86_64_64.
38769 (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
38770 * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
38771 tst-quad1pie tst-quad2pie
38772 (modules-names): Add tst-quadmod1 tst-quadmod2.
38773 ($(objpfx)tst-quad1): New dependency.
38774 ($(objpfx)tst-quad2): Likewise.
38775 ($(objpfx)tst-quad1pie): Likewise.
38776 ($(objpfx)tst-quad2pie): Likewise.
38777 * sysdeps/x86_64/tst-quad1.c: New file.
38778 * sysdeps/x86_64/tst-quad1pie.c: New file.
38779 * sysdeps/x86_64/tst-quad2.c: Likewise.
38780 * sysdeps/x86_64/tst-quad2pie.c: Likewise.
38781 * sysdeps/x86_64/tst-quadmod1.S: Likewise.
38782 * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
38783 * sysdeps/x86_64/tst-quadmod2.S: Likewise.
38784 * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
38785
f34d6f84
ST
387862012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
38787
f42d41d1
ST
38788 * io/fcntl.h (mode_t, off_t, pid_t): Define types.
38789 (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
38790 * streams/stropts.h (t_scalar_t): Define type.
38791
3c3571fc
ST
38792 * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
38793 (_PATH_PRESERVE): Set to "/var/lib".
38794 (_PATH_RWHODIR): Set to "/var/spool/rwho".
38795
61f06bd3
ST
38796 * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
38797 instead of int.
38798
918d4d71
ST
38799 * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
38800 if __dir_mkfile succeeded.
38801
f34d6f84
ST
38802 * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
38803 checking for _hurd_dtablesize. Unlock it right after having
38804 finished _hurd_dtable allocation.
38805
10589b4a
TS
388062012-05-10 Thomas Schwinge <thomas@schwinge.name>
38807
674cdbc7
TS
38808 * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
38809 * sysdeps/mach/hurd/configure: Regenerated.
38810 * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
38811 special-casing to...
38812 * sysdeps/gnu/configure.in: ... this new file.
38813 * sysdeps/unix/sysv/linux/configure: Regenerated.
38814 * sysdeps/gnu/configure: New generated file.
38815
8e41b99f
TS
38816 * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
38817 for Linux: use nsec instead of usec, as well as:
38818 [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
38819 members of type struct timespec.
38820 [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
38821 New macros.
38822 (struct stat64): Likewise.
38823 (_STATBUF_ST_NSEC): New macro.
38824 * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
38825
10589b4a
TS
38826 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
38827 __strtoul_internal rather than strtoul.
38828
63643c85
PT
388292012-05-10 Pino Toscano <toscano.pino@tiscali.it>
38830
38831 * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
38832 and reject them.
38833
3faebe6a
ST
388342012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
38835
38836 * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
38837 which preserves existing values.
38838 * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
38839
c6474b07
PT
388402012-05-10 Pino Toscano <toscano.pino@tiscali.it>
38841
38842 * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
38843 TIMEOUT values. Return EINVAL for NFDS values either negative or
38844 greater than FD_SETSIZE.
38845
1043890b
ST
388462012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
38847
38848 * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
38849 allocated, call __vm_protect to finish enabling the existing space, and
38850 pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
38851 allocate the remainder.
38852
37ed8b9b
PT
388532012-05-10 Pino Toscano <toscano.pino@tiscali.it>
38854
38855 * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
38856 address port. Set ADDR_LEN to 0 when not filling ADDRARG.
38857
db653660
ST
388582012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
38859
37ed8b9b
PT
38860 * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
38861 sysdeps/mach/hurd/readlink.c.
b29d4053 38862
db653660
ST
38863 * posix/tst-sysconf.c (posix_options): Only use
38864 _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
38865 _POSIX_SYNCHRONIZED_IO when they are defined
38866 * sysdeps/mach/hurd/bits/posix_opt.h:
38867 (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
38868 (_XOPEN_REALTIME): Undefine macro.
38869 (_XOPEN_REALTIME_THREADS): Undefine macro.
38870 (_XOPEN_SHM): Undefine macro.
38871 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
38872 macro to -1.
38873 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
38874 macro to -1.
38875 (_POSIX_ASYNC_IO): Undefine macro.
38876 (_POSIX_PRIORITIZED_IO): Undefine macro.
38877 (_POSIX_SPIN_LOCKS): Define macro to -1.
38878
ee16e894
ST
38879 * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
38880 SA_NODEFER, SA_RESETHAND.
38881 * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
38882 O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
38883 F_DUPFD_CLOEXEC.
38884
6103ae3b
TS
388852012-05-10 Thomas Schwinge <thomas@schwinge.name>
38886
38887 * elf/Makefile (pldd-modules): Define unconditionally.
38888
80b4e5f3
TS
388892012-05-10 Thomas Schwinge <thomas@schwinge.name>
38890
38891 * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
38892
edadcbd6
ST
388932012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
38894
38895 * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
38896 Return ENOENT when name is empty.
38897 * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
38898
80694780
TS
388992012-05-10 Thomas Schwinge <thomas@schwinge.name>
38900
1792c087
TS
38901 * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
38902
80694780
TS
38903 * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
38904
6b645f0d
ST
389052012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
38906
80694780
TS
38907 Fix mlock in all cases except non-readable pages.
38908 * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
38909 instead of VM_PROT_ALL as parameter to __vm_wire function.
66cbbebc 38910
6b645f0d
ST
38911 * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
38912 (__mkdir): When path is `/', just fail with EEXIST.
38913 * sysdeps/mach/hurd/mkdirat.c: Likewise.
38914
e468f8a3
TS
389152012-05-10 Thomas Schwinge <thomas@schwinge.name>
38916
38917 * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
38918 <sys/uio.h> (for writev).
38919 * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
38920 and <sys/param.h> (for MIN).
38921
a4186cff
PT
389222012-05-10 Pino Toscano <toscano.pino@tiscali.it>
38923
38924 * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
38925 REQUESTED_TIME. Properly set the remaining time and return EINTR
38926 if interrupted.
38927
510bbf14
TS
389282012-05-10 Thomas Schwinge <thomas@schwinge.name>
38929
38930 * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
38931 Depend on against $(link-rpcuserlibs).
38932
5d5722e8
ST
389332012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
38934
a4186cff
PT
38935 * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
38936 (__libc_stack_end): Do not use attribute_relro.
38937 * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
38938 * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
5d5722e8 38939 to libthread-provided value.
a4186cff
PT
38940 * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
38941 attribute_relro.
5d5722e8 38942
37233df9
TS
389432012-05-10 Thomas Schwinge <thomas@schwinge.name>
38944
be971a2b
TS
38945 [BZ #3748]
38946 * bits/libc-lock.h (__libc_once_get): New macro.
38947 * sysdeps/mach/bits/libc-lock.h: Likewise.
38948 * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
38949 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
38950 instead of using implementation details.
38951
37233df9
TS
38952 * libio/fileops.c: Unconditionally include <kernel-features.h>.
38953 * libio/freopen.c: Likewise.
38954 * libio/freopen64.c: Likewise.
38955 * misc/syslog.c: Likewise.
38956 * nscd/connections.c: Likewise.
38957 * nscd/netgroupcache.c: Likewise.
38958 * sysdeps/posix/getcwd.c: Likewise.
38959
38de94a5
RM
389602012-05-10 Roland McGrath <roland@hack.frob.com>
38961
38962 * math/w_ilogbf.c: Add #include <limits.h>.
38963
67530489
ST
389642012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
38965
a4186cff 38966 * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
bbc49098
ST
38967 path instead of returning without unlocking.
38968
67530489
ST
38969 * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
38970 immediate-write ioctls.
38971 * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
38972
5aa3a74a
TS
389732012-05-10 Thomas Schwinge <thomas@schwinge.name>
38974
18bad2ae
TS
38975 * sysdeps/mach/hurd/i386/init-first.c (init): Use
38976 __builtin_frame_address instead of making assumptions about the
38977 location of the return address relative to DATA. Force early load of
38978 the return address.
38979 (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
38980 __builtin_frame_address.
38981
5aa3a74a
TS
38982 dup3 for GNU Hurd.
38983 * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
38984 * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c. Evolve it to
38985 implement dup3 and do some further code clean-ups.
38986 * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
38987 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
38988
ecd0de9a
ST
389892012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
38990
cd9fa985
ST
38991 * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
38992
a4186cff
PT
38993 * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
38994 HURD_CRITICAL_END around holding _hurd_dtable_lock.
38995 * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
38996 * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
38997 HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
38998 d->port.lock.
802ca5a5 38999
a4186cff
PT
39000 * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
39001 instead of setjmp/longjmp to restore the signal mask. Call sigsetjmp
39002 when handler == SIG_ERR, not when handler != SIG_ERR.
ecd0de9a 39003
bcf55240
TS
390042012-05-10 Thomas Schwinge <thomas@schwinge.name>
39005
6960eb42
TS
39006 * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
39007 (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
39008 definitions.
39009
eb43375f
TS
39010 accept4 for GNU Hurd.
39011 * include/sys/socket.h (__libc_accept4): New prototype.
39012 * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c. Evolve it
39013 to implement __libc_accept4.
39014 * sysdeps/mach/hurd/accept.c (accept): Reimplement using
39015 __libc_accept4.
39016 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
39017
bcf55240
TS
39018 * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
39019 * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
39020 * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
39021 signal-defines.sym.
39022
6178c55b
ST
390232012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
39024
a4186cff 39025 * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
6178c55b 39026
6f080c2f
TS
390272012-05-10 Thomas Schwinge <thomas@schwinge.name>
39028
39029 * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
39030 assertion on O_CLOEXEC flag.
39031 * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
39032 * hurd/intern-fd.c: Likewise.
39033 * hurd/port2fd.c: Likewise.
39034
bcfe3a54
ST
390352012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
39036
39037 [BZ #3906]
39038 * bits/in.h (IPV6_PKTINFO): Define new macro.
39039 (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
39040
89c9aa49
AZ
390412012-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
39042
39043 [BZ #13954]
39044 [BZ #13955]
39045 [BZ #13956]
39046 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
39047 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
39048 * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
39049 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
39050 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
39051 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
39052 * math/libm-test.inc (logb_test) : Additional logb tests.
39053
021db4be
AJ
390542012-05-09 Andreas Schwab <schwab@linux-m68k.org>
39055 Andreas Jaeger <aj@suse.de>
39056
39057 * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
39058 * configure: Regenerated.
39059 * config.h.in (LINK_OBSOLETE_RPC): New macro.
39060 * config.make.in (link-obsolete-rpc): New substituted variable.
39061 * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
39062 libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
39063 * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
39064 (shared-only-routines): Don't set it under [link-obsolete-rpc],
39065 so that libc.a contains the symbols.
39066 * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
39067 * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
39068 * sunrpc/auth_none.c: Likewise.
39069 * sunrpc/auth_unix.c: Likewise.
39070 * sunrpc/authdes_prot.c: Likewise.
39071 * sunrpc/authuxprot.c: Likewise.
39072 * sunrpc/clnt_gen.c: Likewise.
39073 * sunrpc/clnt_perr.c: Likewise.
39074 * sunrpc/clnt_raw.c: Likewise.
39075 * sunrpc/clnt_simp.c: Likewise.
39076 * sunrpc/clnt_tcp.c: Likewise.
39077 * sunrpc/clnt_udp.c: Likewise.
39078 * sunrpc/clnt_unix.c: Likewise.
39079 * sunrpc/des_crypt.c: Likewise.
39080 * sunrpc/des_soft.c: Likewise.
39081 * sunrpc/get_myaddr.c: Likewise.
39082 * sunrpc/key_call.c: Likewise.
39083 * sunrpc/key_prot.c: Likewise.
39084 * sunrpc/netname.c: Likewise.
39085 * sunrpc/pm_getmaps.c: Likewise.
39086 * sunrpc/pm_getport.c: Likewise.
39087 * sunrpc/pmap_clnt.c: Likewise.
39088 * sunrpc/pmap_prot.c: Likewise.
39089 * sunrpc/pmap_prot2.c: Likewise.
39090 * sunrpc/pmap_rmt.c: Likewise.
39091 * sunrpc/publickey.c: Likewise.
39092 * sunrpc/rpc_cmsg.c: Likewise.
39093 * sunrpc/rpc_common.c: Likewise.
39094 * sunrpc/rpc_dtable.c: Likewise.
39095 * sunrpc/rpc_prot.c: Likewise.
39096 * sunrpc/rpc_thread.c: Likewise.
39097 * sunrpc/rtime.c: Likewise.
39098 * sunrpc/svc.c: Likewise.
39099 * sunrpc/svc_auth.c: Likewise.
39100 * sunrpc/svc_raw.c: Likewise.
39101 * sunrpc/svc_run.c: Likewise.
39102 * sunrpc/svc_tcp.c: Likewise.
39103 * sunrpc/svc_udp.c: Likewise.
39104 * sunrpc/svc_unix.c: Likewise.
39105 * sunrpc/svcauth_des.c: Likewise.
39106 * sunrpc/xcrypt.c: Likewise.
39107 * sunrpc/xdr.c: Likewise.
39108 * sunrpc/xdr_array.c: Likewise.
39109 * sunrpc/xdr_float.c: Likewise.
39110 * sunrpc/xdr_intXX_t.c: Likewise.
39111 * sunrpc/xdr_mem.c: Likewise.
39112 * sunrpc/xdr_rec.c: Likewise.
39113 * sunrpc/xdr_ref.c: Likewise.
39114 * sunrpc/xdr_sizeof.c: Likewise.
39115 * sunrpc/xdr_stdio.c: Likewise.
39116
b5c086a2
RM
391172012-05-10 Roland McGrath <roland@hack.frob.com>
39118
39119 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
39120 change. Update copyright years.
39121
6d74dd09
JM
391222012-05-10 Joseph Myers <joseph@codesourcery.com>
39123
39124 * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
39125
28e72501
MK
391262012-05-10 Maxim Kuvyrkov <maxim@codesourcery.com>
39127 Joseph Myers <joseph@codesourcery.com>
39128 Paul Pluzhnikov <ppluzhnikov@google.com>
39129
39130 [BZ #14012]
39131 * sunrpc/Makefile [cross-compiling] (headers): Enable additions
39132 requiring rpcgen.
39133 [cross-compiling] (extra-libs): Likewise.
39134 [cross-compiling] (extra-libs-others): Likewise.
39135 [cross-compiling] (librpcsvc-routines): Likewise.
39136 [cross-compiling] (librpcsvc-inhibit-o): Likewise.
39137 [cross-compiling] (omit-deps): Likewise.
39138 (sunrpc-CPPFLAGS): New variable.
39139 (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
39140 (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
39141 (cross-rpcgen-objs): New variable.
39142 (extra-objs): Append $(cross-rpcgen-objs).
39143 ($(cross-rpcgen-objs)): New rule.
39144 ($(objpfx)cross-rpcgen): Likewise.
39145 (rpcgen-cmd): Define to use $(built-program-file). Expand
39146 comment.
39147 ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
39148 ($(objpfx)x%.stmp): Likewise.
39149 * sunrpc/proto.h [IS_IN_build] (_): Define.
39150 [IS_IN_build] (_libc_intl_domainname): Likewise.
39151
c8c59454
L
391522012-05-10 H.J. Lu <hongjiu.lu@intel.com>
39153
39154 * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
39155 Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
39156 and R_X86_64_TPOFF64.
39157
6f27cd16
JM
391582012-05-10 Joseph Myers <joseph@codesourcery.com>
39159
39160 * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
39161 sysdeps/unix/sysv/syscalls.list.
39162 (stime): Likewise.
39163 (utime): Likewise.
39164 * sysdeps/unix/sysv/syscalls.list: Remove file.
39165
02467e1c
PE
391662012-05-10 Paul Eggert <eggert@cs.ucla.edu>
39167
39168 [BZ #3440]
39169 * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
39170 (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
39171 (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
39172 (__LC_IDENTIFICATION): Make these macros useful in #if
39173 expressions, as required by C99.
39174
da392631
AS
391752012-05-10 Andreas Schwab <schwab@linux-m68k.org>
39176
39177 * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
39178 $(addsuffix .os,$(rpc-compat-routines)). Move include ../Rules
39179 after this.
39180
8115f29b
L
391812012-05-09 H.J. Lu <hongjiu.lu@intel.com>
39182
39183 * stdlib/longlong.h: Updated from GCC.
39184
bdd74070
AJ
391852012-05-09 Andreas Jaeger <aj@suse.de>
39186
edfe0dbe
AJ
39187 * nscd/nscd.c (run_modes): Make named enum, reorder so that
39188 default is first entry.
39189 (run_mode): Set type.
39190 (main): Remove informal message about syslog.
39191 (options): Fix typo.
39192
bcfe3a54
ST
39193 [BZ #14053]
39194 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
bdd74070 39195 to asm.
bcfe3a54
ST
39196 (lrint): Likewise.
39197 (llrintf): Likewise.
39198 (llrint): Likewise.
39199 (rint): Likewise.
39200 (rintf): Likewise.
39201 (nearbyint): Likewise.
39202 (nearbyintf): Likewise.
bdd74070 39203
91d8d69e
AJ
392042012-05-09 Andreas Jaeger <aj@suse.de>
39205 Pedro Alves <palves@redhat.com>
39206
39207 * nscd/nscd.c (run_mode): Use enum.
39208 (main): Cleanup coding style issue.
39209
bb90b80b
AJ
392102012-05-09 Alexandre Oliva <aoliva@redhat.com>
39211 Andreas Jaeger <aj@suse.de>
39212
bcfe3a54
ST
39213 * nscd/nscd.c (go_background): Replaced with...
39214 (run_mode): ... this.
bb90b80b 39215 (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
bcfe3a54
ST
39216 (options): Add -F --foreground.
39217 (main): Implement it.
39218 (parse_opt): Parse it.
bb90b80b 39219
1a4b75a1
AJ
392202012-05-09 Andreas Jaeger <aj@suse.de>
39221
39222 [BZ #14083]
39223 * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
39224 !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
39225 -Wconversion warning.
39226 (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
39227 Likewise.
39228
b1cc2472
JM
392292012-05-09 Joseph Myers <joseph@codesourcery.com>
39230
39231 * conform/data/locale.h-data (NULL): Use macro-constant. Require
39232 == 0.
39233 (LC_ALL): Use macro-int-constant.
39234 (LC_COLLATE): Likewise.
39235 (LC_CTYPE): Likewise.
39236 (LC_MESSAGES): Likewise.
39237 (LC_MONETARY): Likewise.
39238 (LC_NUMERIC): Likewise.
39239 (LC_TIME): Likewise.
39240 [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
39241 (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
39242 [ISO || ISO99 || ISO11] (*_t): Do not allow.
39243 * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
39244 Specify type.
39245 [C99-based standards] (float_t): Expect type.
39246 [C99-based standards] (double_t): Expect type.
39247 [C99-based standards] (HUGE_VALF): Use macro-constant. Specify
39248 type.
39249 [C99-based standards] (HUGE_VALL): Likewise.
39250 [C99-based standards] (INFINITY): Likewise.
39251 [C99-based standards] (NAN): Likewise.
39252 [C99-based standards] (FP_INFINITE): Use macro-int-constant.
39253 [C99-based standards] (FP_NAN): Likewise.
39254 [C99-based standards] (FP_NORMAL): Likewise.
39255 [C99-based standards] (FP_SUBNORMAL): Likewise.
39256 [C99-based standards] (FP_ZERO): Likewise.
39257 [C99-based standards] (FP_FAST_FMA): Use
39258 optional-macro-int-constant. Specify type. Require == 1.
39259 [C99-based standards] (FP_FAST_FMAF): Likewise.
39260 [C99-based standards] (FP_FAST_FMAL): Likewise.
39261 [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
39262 [C99-based standards] (FP_ILOGBNAN): Likewise.
39263 [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
39264 Specify type.
39265 [C99-based standards] (MATH_ERREXCEPT): Likewise.
39266 [C99-based standards] (math_errhandling): Specify type.
39267 [ISO99 || ISO11] (signgam): Do not allow.
39268 [non-C99-based standards] (copysignf): Do not allow.
39269 [non-C99-based standards] (exp2f): Likewise.
39270 [non-C99-based standards] (log2f): Likewise.
39271 [non-C99-based standards] (modff): Allow.
39272 [non-C99-based standards] (erff): Do not allow.
39273 [non-C99-based standards] (erfcf): Likewise.
39274 [non-C99-based standards] (gammaf): Likewise.
39275 [non-C99-based standards] (hypotf): Likewise.
39276 [non-C99-based standards] (j0f): Likewise.
39277 [non-C99-based standards] (j1f): Likewise.
39278 [non-C99-based standards] (jnf): Likewise.
39279 [non-C99-based standards] (lgammaf): Likewise.
39280 [non-C99-based standards] (tgammaf): Likewise.
39281 [non-C99-based standards] (y0f): Likewise.
39282 [non-C99-based standards] (y1f): Likewise.
39283 [non-C99-based standards] (ynf): Likewise.
39284 [non-C99-based standards] (isnanf): Likewise.
39285 [non-C99-based standards] (acoshf): Likewise.
39286 [non-C99-based standards] (asinhf): Likewise.
39287 [non-C99-based standards] (atanhf): Likewise.
39288 [non-C99-based standards] (cbrtf): Likewise.
39289 [non-C99-based standards] (expm1f): Likewise.
39290 [non-C99-based standards] (ilogbf): Likewise.
39291 [non-C99-based standards] (log1pf): Likewise.
39292 [non-C99-based standards] (logbf): Likewise.
39293 [non-C99-based standards] (nextafterf): Likewise.
39294 [non-C99-based standards] (remainderf): Likewise.
39295 [non-C99-based standards] (rintf): Likewise.
39296 [non-C99-based standards] (scalbf): Likewise.
39297 [non-C99-based standards] (copysignl): Likewise.
39298 [non-C99-based standards] (exp2l): Likewise.
39299 [non-C99-based standards] (log2l): Likewise.
39300 [non-C99-based standards] (modfl): Allow.
39301 [non-C99-based standards] (erfl): Do not allow.
39302 [non-C99-based standards] (erfcl): Likewise.
39303 [non-C99-based standards] (gammal): Likewise.
39304 [non-C99-based standards] (hypotl): Likewise.
39305 [non-C99-based standards] (j0l): Likewise.
39306 [non-C99-based standards] (j1l): Likewise.
39307 [non-C99-based standards] (jnl): Likewise.
39308 [non-C99-based standards] (lgammal): Likewise.
39309 [non-C99-based standards] (tgammal): Likewise.
39310 [non-C99-based standards] (y0l): Likewise.
39311 [non-C99-based standards] (y1l): Likewise.
39312 [non-C99-based standards] (ynl): Likewise.
39313 [non-C99-based standards] (isnanl): Likewise.
39314 [non-C99-based standards] (acoshl): Likewise.
39315 [non-C99-based standards] (asinhl): Likewise.
39316 [non-C99-based standards] (atanhl): Likewise.
39317 [non-C99-based standards] (cbrtl): Likewise.
39318 [non-C99-based standards] (expm1l): Likewise.
39319 [non-C99-based standards] (ilogbl): Likewise.
39320 [non-C99-based standards] (log1pl): Likewise.
39321 [non-C99-based standards] (logbl): Likewise.
39322 [non-C99-based standards] (nextafterl): Likewise.
39323 [non-C99-based standards] (remainderl): Likewise.
39324 [non-C99-based standards] (rintl): Likewise.
39325 [non-C99-based standards] (scalbl): Likewise.
39326 [ISO || ISO99 || ISO11] (*_t): Do not allow.
39327 [non-C99-based standards] (FP_*): Do not allow.
39328 [C99-based standards] (FP_*): Change to
39329 FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
39330 * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
39331 allow.
39332 * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
39333 (SIG_ERR): Likewise.
39334 [X/Open-based standards] (SIG_HOLD): Likewise.
39335 (SIG_IGN): Likewise.
39336 (SIGABRT): Use macro-int-constant. Specify type. Require
39337 positive value.
39338 (SIGFPE): Likewise.
39339 (SIGILL): Likewise.
39340 (SIGINT): Likewise.
39341 (SIGSEGV): Likewise.
39342 (SIGTER): Likewise.
39343 [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
39344 [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
39345 [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
39346 [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
39347 [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
39348 [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
39349 [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
39350 [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
39351 [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
39352 [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
39353 [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
39354 [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
39355 [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
39356 [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
39357 [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
39358 [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
39359 [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
39360 [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
39361 [X/Open-based standards] (SIGTRAP): Likewise.
39362 [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
39363 [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
39364 [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
39365 [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
39366 * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
39367 allow.
39368
b9f1922d
IW
393692012-05-08 Ian Wienand <ianw@vmware.com>
39370
39371 [BZ #14080]
39372 * time/tzset.c (__tzset_parse_tz): Update default rules for
39373 daylight time changes in the Energy Policy Act of 2005.
39374
1db86e88
AJ
393752012-05-09 Andreas Jaeger <aj@suse.de>
39376
39377 [BZ #13983]
39378 * elf/ldconfig.c (parse_conf): Change string to make clear that
39379 ldconfig only issued a warning if ld.so.conf does not exist.
39380
dee4a4e3
DM
393812012-05-08 David S. Miller <davem@davemloft.net>
39382
ee0db190
DM
39383 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
39384 movxtod instead of popping the value on the stack.
39385
dee4a4e3
DM
39386 * sysdeps/sparc/fpu/libm-test-ulps: Update.
39387
6a43ec98
CD
393882012-05-08 Carlos O'Donell <carlos_odonell@mentor.com>
39389
39390 * config.h.in: Add HAVE_ARM_PCS_VFP.
39391
05c2c961
RMG
393922012-05-08 Roland Mc Grath <roland@hack.frob.com>
39393
bcfe3a54
ST
39394 [BZ #13979]
39395 * include/features.h: Warn if user requests __FORTIFY_SOURCE
39396 checking but the checks are disabled for any reason.
05c2c961 39397
4b30f61a
L
393982012-05-08 H.J. Lu <hongjiu.lu@intel.com>
39399
39400 * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
39401 and ELF64_R_TYPE with ELFW(R_TYPE).
39402
eee2bc67
JM
394032012-05-08 Joseph Myers <joseph@codesourcery.com>
39404
7ea5391a
JM
39405 * sysdeps/unix/sysv/syscalls.list (pause): Remove.
39406 (ulimit): Likewise.
39407
eee2bc67
JM
39408 * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
39409 (settimeofday): Likewise.
39410
abb66a67
MF
394112012-05-08 Mike Frysinger <vapier@gentoo.org>
39412
39413 * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1. Add
39414 a struct th_u2 inside the union, and move tu_block/tu_code into
39415 a new th_u3 union of tu_block/tu_code inside of that. Move
39416 th_data[1] into the th_u2 as tu_data[0]. Change tu_stuff[1] to
39417 tu_stuff[0]. Add a new tu_padding[4] to keep sizeof() the same.
39418 (th_block): Change to th_u1.th_u2.th_u3.tu_block.
39419 (th_code): Change to th_u1.th_u2.th_u3.tu_code.
39420 (th_stuff): Change to th_u1.tu_stuff.
39421 (th_data): Define.
39422 (th_msg): Change to th_u1.th_u2.tu_data.
39423
7f18b530
DM
394242012-05-07 David S. Miller <davem@davemloft.net>
39425
05760585
DM
39426 * sysdeps/sparc/fpu/libm-test-ulps: Update.
39427
7f18b530
DM
39428 [BZ #14074]
39429 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
39430 (SETUP_PIC_REG): Use it.
39431 (SETUP_PIC_REG_LEAF): Use it.
39432
495fd99f
JM
394332012-05-07 Joseph Myers <joseph@codesourcery.com>
39434
39435 [BZ #13885]
39436 [BZ #13923]
39437 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
39438 USE_AS_EXPM1L.
39439 (EXPL_FINITE): Likewise.
39440 (FLDLOG): Likewise.
39441 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
39442 * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
39443 e_expl.S.
39444 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
39445 USE_AS_EXPM1L.
39446 (EXPL_FINITE): Likewise.
39447 (FLDLOG): Likewise.
39448 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
39449 * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
39450 e_expl.S.
39451 * math/libm-test.inc (expm1_test): Add more tests. Do not disable
39452 test of -max_value argument for long double.
39453 * sysdeps/i386/fpu/libm-test-ulps: Update.
39454 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39455
6693d694
DM
394562012-05-06 David S. Miller <davem@davemloft.net>
39457
39458 * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
39459 quad soft-float symbols whose references which are compiler
39460 generated.
39461 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
39462
6c23e11c
JM
394632012-05-06 Joseph Myers <joseph@codesourcery.com>
39464
d8b82cad
JM
39465 [BZ #13884]
39466 [BZ #13914]
39467 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
39468 USE_AS_EXP10L.
39469 (EXPL_FINITE): Likewise.
39470 (FLDLOG): Likewise.
39471 (c0): Likewise.
39472 (c1): Likewise.
39473 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
39474 Adjust comments for base varying.
39475 (__expl_finite): Change alias to EXPL_FINITE.
39476 * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
39477 e_expl.S.
39478 * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
39479 * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
39480 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
39481 * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
39482 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
39483 USE_AS_EXP10L.
39484 (EXPL_FINITE): Likewise.
39485 (FLDLOG): Likewise.
39486 (c0): Likewise.
39487 (c1): Likewise.
39488 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
39489 Adjust comments for base varying.
39490 (__expl_finite): Change alias to EXPL_FINITE.
39491 * math/libm-test.inc (exp10_test): Add more tests. Do not disable
39492 tests for bugs.
39493 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
39494
6c23e11c
JM
39495 [BZ #14064]
39496 * math/libm-test.inc (check_float_internal): Correct ulp
39497 calculation for subnormal expected results.
39498
29ba805c
AJ
394992012-05-06 Andreas Jaeger <aj@suse.de>
39500
39501 * Makeconfig (+math-flags): New, set to -frounding-math.
39502 (+cflags): Add +math-flags so that all of glibc gets compiled with
39503 it.
39504
39505 * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
39506
7b17aeda
JM
395072012-05-05 Joseph Myers <joseph@codesourcery.com>
39508
5779f134
JM
39509 * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
39510 Disable one test.
39511
41498f4d
JM
39512 [BZ #13787]
39513 [BZ #13922]
39514 [BZ #14036]
39515 * sysdeps/i386/fpu/e_expl.S (csat): New constant.
39516 (__ieee754_expl): Allow for and saturate large arguments.
39517 * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
39518 (u_threshold): Likewise.
39519 (__exp): Call __ieee754_exp before checking for overflow and
39520 underflow.
39521 * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
39522 (u_threshold): Likewise.
39523 (__expf): Call __ieee754_expf before checking for overflow and
39524 underflow.
39525 * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
39526 (u_threshold): Likewise.
39527 (__expl): Call __ieee754_expl before checking for overflow and
39528 underflow.
39529 * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
39530 (__ieee754_expl): Allow for and saturate large arguments.
39531 * math/libm-test.inc (exp_test): Add another test. Do not allow
39532 missing overflow exception on overflow.
39533 (expm1_test): Do not allow missing overflow exception on overflow.
39534
6698b8bf
JM
39535 * sysdeps/i386/fpu/e_expl.c: Move to ...
39536 * sysdeps/i386/fpu/e_expl.S: ... here. Write directly in assembly
39537 rather than using inline asm.
39538 * sysdeps/x86_64/fpu/e_expl.c: Remove file.
39539 * sysdeps/x86_64/fpu/e_expl.S: Copy from
39540 sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
39541
7b17aeda
JM
39542 * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
39543 (nice): Likewise.
39544 (poll): Likewise.
39545 (signal): Likewise.
39546 (time): Likewise.
39547 (times): Likewise.
39548
f7c85819
JM
395492012-05-04 Joseph Myers <joseph@codesourcery.com>
39550
39551 * sysdeps/unix/syscalls.list (adjtime): Add entry from
39552 sysdeps/unix/common/syscalls.list.
39553 (fchmod): Likewise.
39554 (fchown): Likewise.
39555 (ftruncate): Likewise.
39556 (getrusage): Likewise.
39557 (gettimeofday): Likewise.
39558 (setpgid): Likewise.
39559 (setregid): Likewise.
39560 (setreuid): Likewise.
39561 (sigaction): Likewise.
39562 (truncate): Likewise.
39563 (vhangup): Likewise.
39564 * sysdeps/unix/common/syscalls.list: Remove file.
39565 * sysdeps/unix/bsd/Implies: Don't include unix/common.
39566 * sysdeps/unix/sysv/linux/Implies: Likewise.
39567
336270d0
L
395682012-05-04 H.J. Lu <hongjiu.lu@intel.com>
39569
39570 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
39571 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
39572 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
39573 Moved to ...
39574 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
39575 Here.
39576 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
39577 to ...
39578 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
39579 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
39580 to ...
39581 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
39582 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
39583 to ...
39584 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
39585 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
39586 to ...
39587 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
39588 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
39589 to ...
39590 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
39591 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
39592 to ...
39593 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
39594 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
39595 to ...
39596 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
39597 Here.
39598 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
39599 to ...
39600 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
39601 Here.
39602 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
39603 to ...
39604 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
39605 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
39606 Moved to ...
39607 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
39608 Here.
39609 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
39610 to ...
39611 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
39612
d128e450
JM
396132012-05-04 Joseph Myers <joseph@codesourcery.com>
39614
fa8ee516
JM
39615 * sysdeps/unix/common/bits/dirent.h: Remove file.
39616 * sysdeps/unix/common/bits/fcntl.h: Likewise.
39617
d128e450
JM
39618 * sysdeps/unix/bsd/bits/dirent.h: Remove file.
39619 * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
39620 * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
39621 * sysdeps/unix/bsd/isatty.c: Likewise.
39622 * sysdeps/unix/bsd/tcdrain.c: Likewise.
39623 * sysdeps/unix/bsd/tcgetattr.c: Likewise.
39624 * sysdeps/unix/bsd/tcsetattr.c: Likewise.
39625
ff8faaf0 396262012-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31dc8730 39627
62881be4 39628 [BZ #13563]
31dc8730
AZ
39629 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
39630 long double comparison inaccuracies.
39631 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
39632 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
39633
6fef930c
AS
396342012-05-04 Andreas Schwab <schwab@linux-m68k.org>
39635
39636 * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
39637 * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
39638
8f203e6c
JM
396392012-05-04 Joseph Myers <joseph@codesourcery.com>
39640
39641 [BZ #14049]
39642 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
39643 nonzero digits before rounding a hex value.
39644 * stdlib/tst-strtod.c (tests): Add another test.
39645
5197d9c2
AK
396462012-05-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
39647
39648 * sysdeps/s390/fpu/libm-test-ulps: Update.
39649
f0c1dedf
AJ
396502012-05-03 Andreas Jaeger <aj@suse.de>
39651
39652 * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
39653 does not get optimized out.
39654 (malloc_opt_barrier): New.
39655
a65ef2ae 396562012-05-03 Andreas Jaeger <aj@suse.de>
461b8e5a 39657 Roland McGrath <roland@hack.frob.com>
a65ef2ae 39658
2b942cb7 39659 * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
a65ef2ae 39660 intermediate file deletion.
2b942cb7 39661 (generated): Add .symlist files.
a65ef2ae 39662
54b71e02
JM
396632012-05-03 Joseph Myers <joseph@codesourcery.com>
39664
39665 [BZ #13775]
39666 * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
39667 Redirect under this condition.
39668 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
39669 [__USE_GNU] (__dprintf_chk): Not under this condition.
39670 [__USE_GNU] (__vdprintf_chk): Likewise.
39671 * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
39672 under this condition.
39673 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
39674 [__USE_XOPEN2K8] (dprintf): Define under this condition.
39675 [__USE_XOPEN2K8] (vdprintf): Likewise.
39676 [__USE_GNU] (__dprintf_chk): Not under this condition.
39677 [__USE_GNU] (__vdprintf_chk): Likewise.
39678 [__USE_GNU] (dprintf): Likewise.
39679 [__USE_GNU] (vdprintf): Likewise.
39680
d3dfcc41
RM
396812012-05-03 Roland McGrath <roland@hack.frob.com>
39682
39683 * elf/Makefile (common-generated): Set this instead of generated for
39684 .dyn, .phdr, .jmprel files. Remove $(common-objpfx) from the
39685 $(all-built-dso)-derived lists.
39686
7ac30cc5
AJ
396872012-05-03 Andreas Jaeger <aj@suse.de>
39688
0c51e550
AJ
39689 * sysdeps/i386/fpu/libm-test-ulps: Update.
39690
7ac30cc5
AJ
39691 * FAQ: Removed.
39692 * FAQ.in: Likewise.
39693 * scripts/gen-FAQ.pl: Likewise.
39694 * manual/install.texi (Installation): Point to online location of
39695 FAQ.
39696 * Makefile (files-for-dist): Remove FAQ.
39697 (FAQ): Remove.
39698
d4c2917f
AM
396992012-05-02 Allan McRae <allan@archlinux.org>
39700
39701 * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
39702 (LDFLAGS-reldepmod5.so): Likewise.
39703 (LDFLAGS-reldep6mod1.so): Likewise.
39704 (LDFLAGS-reldep6mod4.so): Likewise.
39705 (LDFLAGS-reldep8mod3.so): Likewise.
39706 (LDFLAGS-unload4mod1.so): Likewise.
39707 (LDFLAGS-unload4mod2.so): Likewise.
39708 (LDFLAGS-tst-initorder): Likewise.
39709 (LDFLAGS-tst-initordera2.so): Likewise.
39710 (LDFLAGS-tst-initordera3.so): Likewise.
39711 (LDFLAGS-tst-initordera4.so): Likewise.
39712 (LDFLAGS-tst-initorderb2.so): Likewise.
39713 (LDFLAGS-noload): Likewise.
39714 (LDFLAGS-next): Likewise.
39715 (LDFLAGS-order2mod1.so): Likewise.
39716 (LDFLAGS-order2mod2.so): Likewise.
39717 (LDFLAGS-tst-initorder2): Likewise.
39718 (LDFLAGS-tst-initorder2a.so): Likewise.
39719 (LDFLAGS-tst-initorder2b.so): Likewise.
39720 (LDFLAGS-tst-initorder2c.so): Likewise.
39721 * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
39722
d77f993f
DM
397232012-05-02 David S. Miller <davem@davemloft.net>
39724
39725 * sysdeps/sparc/fpu/libm-test-ulps: Update.
39726
171a70b4
PP
397272012-05-02 Paul Pluzhnikov <ppluzhnikov@google.com>
39728
39729 [BZ #14055]
39730 * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
39731
0be196ad
AJ
397322012-05-02 Andreas Jaeger <aj@suse.de>
39733
39734 * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
39735 since we manipulate rounding mode.
39736 (CPPFLAGS-test-idouble.c): Likewise.
39737 (CPPFLAGS-test-ifloat.c): Likewise.
39738 (CFLAGS-test-ldouble.c): Likewise.
39739 (CFLAGS-test-double.c): Likewise.
39740 (CFLAGS-test-float.c): Likewise.
39741 (CFLAGS-test-misc.c): Likewise.
39742 (CFLAGS-test-test-fenv.c): Likewise.
39743
4f9d04aa
AZ
397442012-05-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
39745
2b942cb7
RM
39746 [BZ #2550]
39747 [BZ #2570]
39748 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
39749 comparisons to determine direction to adjust input.
4f9d04aa 39750
82a79e7d
RM
397512012-05-01 Roland McGrath <roland@hack.frob.com>
39752
f5a01ca9
RM
39753 * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
39754 output to the target.
39755
90fe4186
RM
39756 * scripts/localplt.awk: New file.
39757 * elf/Makefile ($(objpfx)check-localplt): Target removed.
39758 (check-localplt-CFLAGS): Variable removed.
39759 ($(all-built-dso:=.jmprel)): New static pattern rule.
39760 (generated): Add those targets.
39761 (localplt-built-dso): New variable.
39762 ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
39763
39764 * elf/check-localplt.c: File removed.
39765
82397ed6
RM
39766 * scripts/check-execstack.awk: New file.
39767 * elf/Makefile ($(objpfx)check-execstack): Target removed.
39768 (check-execstack-CFLAGS): Variable removed.
39769 ($(objpfx)check-execstack.h): Target removed.
39770 ($(objpfx)execstack-default): New target.
39771 (generated): Add that instead of check-execstack.h.
39772 ($(all-built-dso:=.phdr)): New static pattern rule.
39773 (generated): Add those targets.
39774 * elf/check-execstack.c: File removed.
39775
82a79e7d
RM
39776 * scripts/check-textrel.awk: New file.
39777 * elf/Makefile ($(objpfx)check-textrel): Target removed.
39778 (check-textrel-CFLAGS): Variable removed.
39779 (all-built-dso): Use := to define.o
39780 ($(all-built-dso:=.dyn)): New static pattern rule.
39781 (generated): Add those targets.
39782 ($(objpfx)check-textrel.out): Use the script on the .dyn files.
39783 * config.make.in (READELF): New substituted variable.
39784 * elf/check-textrel.c: File removed.
39785
62fde54f 397862012-05-01 Joseph Myers <joseph@codesourcery.com>
ee74b9cb 39787
615605c9
JM
39788 * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
39789 allow.
39790 * conform/data/ctype.h-data [C99-based standards] (isblank):
39791 Expect function.
39792 (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
39793 (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
39794 [ISO || ISO99 || ISO11] (*_t): Do not allow.
39795 * conform/data/errno.h-data (EDOM): Use macro-int-constant.
39796 Specify type. Require positive value.
39797 (EILSEQ): Likewise.
39798 (ERANGE): Likewise.
39799 [ISO || POSIX] (EILSEQ): Do not expect.
39800 [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
39801 Specify type. Require positive value.
39802 [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
39803 [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
39804 [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
39805 [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
39806 [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
39807 [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
39808 [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
39809 [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
39810 [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
39811 [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
39812 [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
39813 [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
39814 [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
39815 [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
39816 [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
39817 [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
39818 [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
39819 [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
39820 [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
39821 [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
39822 [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
39823 [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
39824 [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
39825 [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
39826 [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
39827 [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
39828 [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
39829 [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
39830 [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
39831 [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
39832 [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
39833 [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
39834 [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
39835 [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
39836 [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
39837 [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
39838 [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
39839 [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
39840 [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
39841 [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
39842 [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
39843 [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
39844 [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
39845 [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
39846 [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
39847 [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
39848 [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
39849 [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
39850 [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
39851 [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
39852 [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
39853 [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
39854 [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
39855 [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
39856 [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
39857 [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
39858 [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
39859 [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
39860 [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
39861 [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
39862 [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
39863 [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
39864 [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
39865 [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
39866 [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
39867 [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
39868 [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
39869 [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
39870 [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
39871 [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
39872 [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
39873 [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
39874 [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
39875 [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
39876 [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
39877 [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
39878 * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
39879 Require >= 2.
39880 (FLT_ROUNDS): Expect as macro, not constant.
39881 (FLT_MANT_DIG): Use macro-int-constant.
39882 (DBL_MANT_DIG): Likewise.
39883 (LDBL_MANT_DIG): Likewise.
39884 (FLT_DIG): Likewise.
39885 (DBL_DIG): Likewise.
39886 (LDBL_DIG): Likewise.
39887 (FLT_MIN_EXP): Use macro-int-constant. Require < 0.
39888 (DBL_MIN_EXP): Likewise.
39889 (LDBL_MIN_EXP): Likewise.
39890 (FLT_MAX_EXP): Use macro-int-constant.
39891 (DBL_MAX_EXP): Likewise.
39892 (LDBL_MAX_EXP): Likewise.
39893 (FLT_MAX_10_EXP): Likewise.
39894 (DBL_MAX_10_EXP): Likewise.
39895 (LDBL_MAX_10_EXP): Likewise.
39896 (FLT_MAX): Use macro-constant.
39897 (DBL_MAX): Likewise.
39898 (LDBL_MAX): Likewise.
39899 (FLT_EPSILON): Use macro-constant. Give upper bound.
39900 (DBL_EPSILON): Likewise.
39901 (LDBL_EPSILON): Likewise.
39902 (FLT_MIN): Likewise.
39903 (DBL_MIN): Likewise.
39904 (LDBL_MIN): Likewise.
39905 [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
39906 [C99-based standards] (FLT_EVAL_METHOD): Likewise.
39907 [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
39908 [ISO11] (FLT_HAS_SUBNORM): Likewise.
39909 [ISO11] (LDBL_HAS_SUBNORM): Likewise.
39910 [ISO11] (DBL_DECIMAL_DIG): Likewise.
39911 [ISO11] (FLT_DECIMAL_DIG): Likewise.
39912 [ISO11] (LDBL_DECIMAL_DIG): Likewise.
39913 [ISO11] (DBL_TRUE_MIN): Use macro-constant.
39914 [ISO11] (FLT_TRUE_MIN): Likewise.
39915 [ISO11] (LDBL_TRUE_MIN): Likewise.
39916 [ISO || ISO99 || ISO11] (*_t): Do not allow.
39917 * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
39918 (SCHAR_MIN): Use macro-int-constant. Specify type.
39919 (SCHAR_MAX): Likewise.
39920 (UCHAR_MAX): Likewise.
39921 (CHAR_MIN): Likewise.
39922 (CHAR_MAX): Likewise.
39923 (MB_LEN_MAX): Use macro-int-constant.
39924 (SHRT_MIN): Use macro-int-constant. Specify type.
39925 (SHRT_MAX): Likewise.
39926 (USHRT_MAX): Likewise.
39927 (INT_MAX): Likewise.
39928 (INT_MIN): Use macro-int-constant. Specify type. Make upper
39929 bound negative.
39930 (UINT_MAX): Use macro-int-constant. Specify type. Suffix lower
39931 bound with "U".
39932 (LONG_MAX): Use macro-int-constant. Specify type. Suffix lower
39933 bound with "L".
39934 (LONG_MIN): Use macro-int-constant. Specify type. Make upper
39935 bound negative. Suffix upper bound with "L".
39936 (ULONG_MAX): Use macro-int-constant. Specify type. Suffix lower
39937 bound with "UL".
39938 [C99-based standards] (LLONG_MIN): Use macro-int-constant.
39939 Specify type.
39940 [C99-based standards] (LLONG_MAX): Likewise.
39941 [C99-based standards] (ULLONG_MAX): Likewise.
39942 * conform/data/stddef.h-data (NULL): Use macro-constant. Require
39943 == 0.
39944 [ISO11] (max_align_t): Require type.
39945 [ISO || ISO99 || ISO11] (*_t): Do not allow.
39946
c9140a62
JM
39947 * conform/conformtest.pl ($CFLAGS_namespace): Define separately
39948 from $CFLAGS, without defining away __attribute__ calls.
39949 (checknamespace): Use $CFLAGS_namespace.
39950
9af0bf29
JM
39951 * conform/conformtest.pl (@keywords): Only include C99 keywords
39952 for standards based on C99 or C11.
39953
343222a2
JM
39954 * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
39955 Disable tests.
39956 * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
39957 UNIX98]: Likewise.
39958
661f8cf0
JM
39959 * conform/conformtest.pl: Handle "macro-int-constant" and test for
39960 usability of symbols in #if.
39961
ee74b9cb
JM
39962 * conform/conformtest.pl: If macro or constant types start
39963 "promoted:", expect the symbol to be of the following type
39964 promoted by the integer promotions.
62fde54f 39965
aafc49b3
JM
39966 * conform/conformtest.pl: Parse all "constant" and "macro" lines
39967 in one place. Also handle "macro-constant".
39968
fefdf574
JM
39969 * conform/conformtest.pl: Only accept expected macro values with
39970 "==". Parse all "macro" lines in one place.
39971 * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
39972
f2d922fe
JM
39973 * conform/conformtest.pl: Handle braced types on "constant" lines
39974 instead of handling "typed-constant".
39975 * conform/data/signal.h-data: Use "constant" instead of
39976 "typed-constant".
39977
d22956c9
JM
39978 * conform/conformtest.pl: Handle "optional-" at start of lines in
39979 one place rather than duplicating several cases. Handle each
39980 format of "macro" line with initial "optional-".
39981
028e2e38
JM
39982 * conform/conformtest.pl: Only accept expected constant or
39983 optional-constant values with "==". Parse all "constant" lines in
39984 one place. Parse all "optional-constant" lines in one place.
39985 * conform/data/cpio.h-data: Use "==" form on "constant" lines.
39986 * conform/data/fmtmsg.h-data: Likewise.
39987 * conform/data/netinet/in.h-data: Likewise.
39988 * conform/data/tar.h-data: Likewise.
39989 * conform/data/limits.h-data: Use "==" form on "constant" and
39990 "optional-constant" lines.
39991
1b8f2850
JM
39992 * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
39993 Use -std=c99 for XOPEN2K.
39994 (@knownproblems): Remove.
39995 (newtoken): Don't check %isknown.
39996
a05a144b
JM
39997 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
39998 Do not expect macro.
39999 [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
40000 [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
40001 [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
40002 [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
40003 [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
40004 [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
40005 [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
40006 [XPG3 || XPG4 || UNIX98] (isless): Likewise.
40007 [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
40008 [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
40009 [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
40010 [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
40011 [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
40012 [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
40013 [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
40014 [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
40015 [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
40016 [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
40017 [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
40018 [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
40019 [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
40020 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
40021 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
40022 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
40023 [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
40024 [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
40025 [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
40026 [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
40027 [XPG3 || XPG4 || UNIX98] (log2): Likewise.
40028 [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
40029 [XPG3] (acosh): Likewise.
40030 [XPG3] (asinh): Likewise.
40031 [XPG3] (atanh): Likewise.
40032 [XPG3] (cbrt): Likewise.
40033 [XPG3] (expm1): Likewise.
40034 [XPG3] (ilogb): Likewise.
40035 [XPG3] (log1p): Likewise.
40036 [XPG3] (logb): Likewise.
40037 [XPG3] (nextafter): Likewise.
40038 [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
40039 [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
40040 [XPG3] (remainder): Likewise.
40041 [XPG3] (rint): Likewise.
40042 [XPG3 || XPG4 || UNIX98] (round): Likewise.
40043 [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
40044 [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
40045 [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
40046 [XPG3 || XPG4 || UNIX98] (lround): Likewise.
40047 [XPG3 || XPG4 || UNIX98] (llround): Likewise.
40048 [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
40049 [UNIX98 || XOPEN2K] (scalb): Expect.
40050 [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
40051 [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
40052 [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
40053 [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
40054 [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
40055 [XPG3 || XPG4 || UNIX98] (fma): Likewise.
40056 [XPG3 || XPG4 || UNIX98] (nan): Likewise.
40057 [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
40058 [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
40059 [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
40060 [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
40061 [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
40062 [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
40063 [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
40064 [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
40065 [XPG3 || XPG4 || UNIX98] (expf): Likewise.
40066 [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
40067 [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
40068 [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
40069 [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
40070 [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
40071 [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
40072 [XPG3 || XPG4 || UNIX98] (logf): Likewise.
40073 [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
40074 [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
40075 [XPG3 || XPG4 || UNIX98] (modff): Likewise.
40076 [XPG3 || XPG4 || UNIX98] (powf): Likewise.
40077 [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
40078 [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
40079 [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
40080 [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
40081 [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
40082 [XPG3 || XPG4 || UNIX98] (erff): Likewise.
40083 [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
40084 [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
40085 [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
40086 [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
40087 [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
40088 [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
40089 [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
40090 [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
40091 [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
40092 [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
40093 [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
40094 [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
40095 [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
40096 [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
40097 [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
40098 [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
40099 [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
40100 [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
40101 [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
40102 [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
40103 [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
40104 [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
40105 [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
40106 [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
40107 [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
40108 [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
40109 [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
40110 [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
40111 [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
40112 [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
40113 [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
40114 [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
40115 [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
40116 [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
40117 [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
40118 [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
40119 [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
40120 [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
40121 [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
40122 [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
40123 [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
40124 [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
40125 [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
40126 [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
40127 [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
40128 [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
40129 [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
40130 [XPG3 || XPG4 || UNIX98] (expl): Likewise.
40131 [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
40132 [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
40133 [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
40134 [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
40135 [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
40136 [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
40137 [XPG3 || XPG4 || UNIX98] (logl): Likewise.
40138 [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
40139 [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
40140 [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
40141 [XPG3 || XPG4 || UNIX98] (powl): Likewise.
40142 [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
40143 [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
40144 [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
40145 [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
40146 [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
40147 [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
40148 [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
40149 [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
40150 [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
40151 [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
40152 [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
40153 [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
40154 [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
40155 [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
40156 [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
40157 [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
40158 [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
40159 [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
40160 [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
40161 [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
40162 [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
40163 [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
40164 [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
40165 [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
40166 [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
40167 [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
40168 [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
40169 [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
40170 [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
40171 [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
40172 [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
40173 [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
40174 [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
40175 [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
40176 [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
40177 [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
40178 [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
40179 [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
40180 [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
40181 [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
40182 [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
40183 [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
40184 [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
40185 [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
40186 [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
40187
73c5ebe3
JM
40188 * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
40189 _XOPEN_SOURCE_EXTENDED for XPG4.
40190
39c33b6c
JM
40191 * conform/conformtest.pl: Handle "symbol" lines for allow-header.
40192
62fde54f
JM
40193 * Makeconfig (localtime): Remove variable.
40194 (inst_localtime-file): Likewise.
40195
0741d64c
AS
401962012-05-01 Andreas Schwab <schwab@linux-m68k.org>
40197
40198 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
40199 Update.
40200 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
40201 Update.
40202 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
40203 Update.
40204 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
40205 Update.
40206 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
40207 Update.
40208 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
40209 Update.
40210 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
40211 Update.
40212 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
40213 Update.
40214 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
40215 Update.
40216
7cb029ee
JM
402172012-05-01 Joseph Myers <joseph@codesourcery.com>
40218
40219 [BZ #2550]
40220 [BZ #2570]
40221 * math/s_nexttowardf.c (__nexttowardf): Use floating-point
40222 comparisons to determine direction to adjust input.
40223 * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
40224 * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
40225 * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
40226 Likewise.
40227 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
40228 Likewise.
40229 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
40230 Likewise.
40231 * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
40232 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
40233 Likewise.
40234 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
40235 Likewise.
40236 * math/libm-test.inc (nexttoward_test): Add more tests.
40237
412bd966
AS
402382012-05-01 Andreas Schwab <schwab@linux-m68k.org>
40239
40240 [BZ #14040]
40241 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
40242 in version GLIBC_2.1, not GLIBC_2.0.
40243 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
40244 Likewise.
40245
9568c0c2
JM
402462012-04-30 Joseph Myers <joseph@codesourcery.com>
40247
adfbc8ac
JM
40248 [BZ #13942]
40249 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
40250 (1 - x) * (1 + x).
40251 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
40252 * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
40253 * math/libm-test.inc (acos_test): Add more tests.
40254 (asin_test): Likewise.
40255 * sysdeps/i386/fpu/libm-test-ulps: Update.
40256 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40257
5ba3cc69
JM
40258 [BZ #14034]
40259 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
40260 of square root.
40261 * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
40262 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
40263 * math/libm-test.inc (acos_test_tonearest): New function.
40264 (acos_test_towardzero): Likewise.
40265 (acos_test_downward): Likewise.
40266 (acos_test_upward): Likewise.
40267 (asin_test_tonearest): Likewise.
40268 (asin_test_towardzero): Likewise.
40269 (asin_test_downward): Likewise.
40270 (asin_test_upward): Likewise.
40271 (main): Call the new functions.
40272 * sysdeps/i386/fpu/libm-test-ulps: Update.
40273 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
40274
9568c0c2
JM
40275 [BZ #13884]
40276 [BZ #13924]
40277 * math/e_exp10.c: Include <float.h>.
40278 (__ieee754_exp10): Handle underflow here rather than multiplying
40279 large negative argument by M_LN10.
40280 * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
40281 of __ieee754_expf.
40282 * math/e_exp10l.c: Include <float.h>.
40283 (__ieee754_exp10l): Handle underflow here rather than multiplying
40284 large negative argument by M_LN10l.
40285 * math/libm-test.inc (exp10_test): Add another test. Do not allow
40286 spurious overflow exception on underflow.
40287
5ac3ea17
MP
402882012-04-29 Marek Polacek <polacek@redhat.com>
40289
40290 * misc/sys/cdefs.h (__attribute_artificial__): New macro.
40291 (__fortify_function): New macro.
40292 (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
40293 * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
40294 __extern_always_inline.
40295 * libio/bits/stdio2.h: Likewise.
40296 * libio/bits/stdio.h: Likewise.
40297 * string/string.h: Likewise.
40298 * string/bits/string3.h: Likewise.
40299 * include/stdio.h: Likewise.
40300 * stdlib/bits/stdlib.h: Likewise.
40301 * stdlib/stdlib.h: Likewise.
40302 * rt/bits/mqueue2.h: Likewise.
40303 * rt/mqueue.h: Likewise.
40304 * posix/bits/unistd.h: Likewise.
40305 * posix/unistd.h: Likewise.
40306 * io/bits/poll2.h: Likewise.
40307 * io/bits/fcntl2.h: Likewise.
40308 * io/fcntl.h: Likewise.
40309 * io/sys/poll.h: Likewise.
40310 * misc/bits/syslog.h: Likewise.
40311 * misc/bits/syslog-ldbl.h: Likewise.
40312 * misc/sys/syslog.h: Likewise.
40313 * socket/bits/socket2.h: Likewise.
40314 * socket/sys/socket.h: Likewise.
40315 * debug/tst-chk1.c: Likewise.
40316 * wcsmbs/bits/wchar2.h: Likewise.
40317 * wcsmbs/bits/wchar-ldbl.h: Likewise.
40318 * wcsmbs/wchar.h: Likewise.
40319
ecf0ebfb
AJ
403202012-04-29 Andreas Jaeger <aj@suse.de>
40321
40322 * Makerules (tests): Remove enable-check-abi protection.
40323 (check-abi-warn): Remove.
40324 (check-abi-%): Remove check-abi-warn usage.
40325
40326 * configure.in: Remove check-abi configure option.
40327 * configure: Regenerated.
40328 * config.make.in (enable-check-abi): Remove.
40329
6d5c57fa
AS
403302012-04-28 Andreas Schwab <schwab@linux-m68k.org>
40331
24c5d07e 40332 [BZ #14033]
ded5180a
AS
40333 * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
40334 double functions to double *_finite functions.
40335
7e0d315d
AS
40336 [BZ #13941]
40337 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
40338 (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
40339 LDBL_MIN_EXP.
40340 * stdio-common/Makefile (tests): Add tst-sprintf3.
40341 * stdio-common/tst-sprintf3.c: New file.
40342
6d5c57fa
AS
40343 * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
40344 ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
40345
0749ff8b
JM
403462012-04-28 Joseph Myers <joseph@codesourcery.com>
40347
40348 * conform/conformtest.pl: Remove duplicate typed-constant
40349 handling.
40350
8dbd5d7b
DM
403512012-04-28 David S. Miller <davem@davemloft.net>
40352
40353 * Makerules (%.abilist): Add vpath on sysdep_dirs.
40354 (check-abi-%): Remove AWK script prerequisite and explicit
40355 abilist directory.
40356 (check-abi): Rewrite to just diff the symlist with the abilist.
40357 (config-tls, config-abi-config): Delete, no longer used.
40358 (update-abi-%): Remove AWK script and explicit abilist directory.
40359 (update-abi): Rewrite to simply compare and conditionally copy the
40360 symlist and the sysdep abilist file. Remove update-abi-config
40361 checks.
40362 * abilist/ld.abilist: Remove.
40363 * abilist/libBrokenLocale.abilist: Remove.
40364 * abilist/libanl.abilist: Remove.
40365 * abilist/libcrypt.abilist: Remove.
40366 * abilist/libdl.abilist: Remove.
40367 * abilist/librt.abilist: Remove.
40368 * abilist/libthread_db.abilist: Remove.
40369 * abilist/libutil.abilist: Remove.
40370 * scripts/extract-abilist.awk: Remove.
40371 * scripts/merge-abilist.awk: Remove.
40372 * sysdeps/generic/libcidn.abilist: New file.
40373 * sysdeps/generic/libnss_compat.abilist: New file.
40374 * sysdeps/generic/libnss_db.abilist: New file.
40375 * sysdeps/generic/libnss_dns.abilist: New file.
40376 * sysdeps/generic/libnss_files.abilist: New file.
40377 * sysdeps/generic/libnss_hesiod.abilist: New file.
40378 * sysdeps/generic/libnss_nis.abilist: New file.
40379 * sysdeps/generic/libnss_nisplus.abilist: New file.
40380 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
40381 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
40382 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
40383 file.
40384 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
40385 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
40386 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
40387 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
40388 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
40389 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
40390 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
40391 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
40392 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
40393 file.
40394 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
40395 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
40396 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
40397 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
40398 file.
40399 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
40400 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
40401 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
40402 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
40403 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
40404 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
40405 file.
40406 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
40407 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
40408 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
40409 file.
40410 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
40411 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
40412 New file.
40413 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
40414 New file.
40415 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
40416 New file.
40417 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
40418 New file.
40419 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
40420 New file.
40421 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
40422 New file.
40423 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
40424 New file.
40425 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
40426 New file.
40427 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
40428 New file.
40429 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
40430 New file.
40431 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
40432 New file.
40433 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
40434 New file.
40435 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
40436 New file.
40437 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
40438 file.
40439 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
40440 New file.
40441 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
40442 New file.
40443 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
40444 file.
40445 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
40446 New file.
40447 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
40448 New file.
40449 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
40450 file.
40451 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
40452 New file.
40453 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
40454 New file.
40455 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
40456 New file.
40457 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
40458 New file.
40459 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
40460 New file.
40461 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
40462 New file.
40463 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
40464 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
40465 file.
40466 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
40467 New file.
40468 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
40469 file.
40470 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
40471 file.
40472 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
40473 file.
40474 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
40475 file.
40476 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
40477 file.
40478 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
40479 New file.
40480 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
40481 file.
40482 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
40483 file.
40484 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
40485 New file.
40486 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
40487 file.
40488 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
40489 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
40490 file.
40491 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
40492 New file.
40493 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
40494 file.
40495 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
40496 file.
40497 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
40498 file.
40499 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
40500 file.
40501 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
40502 file.
40503 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
40504 New file.
40505 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
40506 file.
40507 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
40508 file.
40509 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
40510 New file.
40511 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
40512 file.
40513 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
40514 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
40515 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
40516 file.
40517 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
40518 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
40519 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
40520 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
40521 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
40522 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
40523 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
40524 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
40525 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
40526 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
40527 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
40528 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
40529 file.
40530 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
40531 New file.
40532 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
40533 file.
40534 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
40535 file.
40536 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
40537 file.
40538 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
40539 file.
40540 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
40541 file.
40542 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
40543 New file.
40544 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
40545 New file.
40546 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
40547 file.
40548 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
40549 New file.
40550 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
40551 file.
40552 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
40553 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
40554 file.
40555 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
40556 New file.
40557 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
40558 file.
40559 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
40560 file.
40561 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
40562 file.
40563 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
40564 file.
40565 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
40566 file.
40567 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
40568 New file.
40569 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
40570 New file.
40571 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
40572 file.
40573 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
40574 New file.
40575 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
40576 file.
40577
41d73a1b
JM
405782012-04-28 Joseph Myers <joseph@codesourcery.com>
40579
40580 * conform/conformtest.pl: Fix typo in handling typed-constant from
40581 allow-header.
40582
28aeeda4
JM
405832012-04-27 Joseph Myers <joseph@codesourcery.com>
40584
adae8f5e
JM
40585 * README: Cut down references to pre-2.6 Linux kernels and
40586 Linuxthreads. Update lists of configurations in libc and ports
40587 and sort alphabetically. Say "or newer" with Linux kernel version
40588 requirements.
40589
28aeeda4
JM
40590 * config.h.in [IS_IN_build]: Allow compiling without optimization.
40591
a462cb63
RA
405922012-04-27 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
40593
40594 [BZ #887]
40595 * math/libm-test.inc (logb_test_downward): New test to expose
40596 erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
40597 rounding mode.
40598
6ad3493e
JM
405992012-04-27 Joseph Myers <joseph@codesourcery.com>
40600
40601 [BZ #14027]
40602 * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
40603 to be done.
40604 * math/fraiseexcpt.c (__feraiseexcept): Likewise.
40605 * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
40606
2ce4f015
JM
406072012-04-26 Joseph Myers <joseph@codesourcery.com>
40608
5aeb141a
JM
40609 * sysdeps/unix/i386/brk.S: Remove file.
40610 * sysdeps/unix/i386/dl-brk.S: Likewise.
40611 * sysdeps/unix/i386/pipe.S: Likewise.
40612 * sysdeps/unix/i386/sigreturn.S: Likewise.
40613 * sysdeps/unix/i386/syscall.S: Likewise.
40614 * sysdeps/unix/i386/vfork.S: Likewise.
40615 * sysdeps/unix/i386/wait.S: Likewise.
40616
7143acae
JM
40617 * sysdeps/unix/common/tcsendbrk.c: Move to ...
40618 * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
40619
2ce4f015
JM
40620 * configure.in (arm*-none*): Do not allow without
40621 --enable-hacker-mode.
40622 (netbsd*): Remove case setting base_os.
40623 (386bsd*): Likewise.
40624 (freebsd*): Likewise.
40625 (bsdi*): Likewise.
40626 (osf*): Likewise.
40627 (sunos*): Likewise.
40628 (ultrix*): Likewise.
40629 (newsos*): Likewise.
40630 (dynix*): Likewise.
40631 (*bsd*): Likewise.
40632 (sysv*): Likewise.
40633 (isc*): Likewise.
40634 (esix*): Likewise.
40635 (sco*): Likewise.
40636 (minix*): Likewise.
40637 (irix4*): Likewise.
40638 (irix6*): Likewise.
40639 (solaris[2-9]*): Likewise.
40640 (none): Likewise.
40641 * configure: Regenerated.
40642
0ac229c8
AZ
406432012-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
40644
40645 [BZ #11521]
40646 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
40647 overflow or cancellation in calculating denominator.
40648 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
40649 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
40650 down expression to avoid unexpected rounding in newer GCCs.
40651 * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
40652
33f244f4
DM
406532012-04-26 David S. Miller <davem@davemloft.net>
40654
40655 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
40656 long-double compat symbols.
40657 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
40658 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
40659 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
40660 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
40661 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
40662 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
40663 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
40664 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
40665 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
40666 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
40667 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
40668 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
40669 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
40670
cfa1f3e8
DM
406712012-04-25 David S. Miller <davem@davemloft.net>
40672
40673 * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
40674 HWCAP_* values only after the memory barriers have been defined.
40675 (atomic_full_barrier): Define.
40676 (atomic_read_barrier): Define.
40677 (atomic_write_barrier): Define.
40678
6e236b92
SP
406792012-04-26 Siddhesh Poyarekar <siddhesh@redhat.com>
40680
40681 * shlib-versions: Add libgcc_s version information.
40682 * sysdeps/generic/libgcc_s.h: Remove.
40683 * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
40684 libgcc_s.h.
40685 * sysdeps/gnu/unwind-resume.c: Likewise.
40686 * scripts/test-installation.pl: Remove libgcc_s from link_libs.
40687
aab39a09
DM
406882012-04-25 David S. Miller <davem@davemloft.net>
40689
40690 * sysdeps/unix/sparc/brk.S: Delete.
40691 * sysdeps/unix/sparc/dl-brk.S: Delete.
40692 * sysdeps/unix/sparc/pipe.S: Delete.
40693 * sysdeps/unix/sparc/sysdep.S: Delete.
40694 * sysdeps/unix/sparc/sysdep.h: Delete.
40695 * sysdeps/unix/sparc/vfork.S: Delete.
57f41c40
AS
40696 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG)
40697 (SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
40698 * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO)
40699 (ret_ERRVAL, r0, r1, MOVE): Define.
aab39a09
DM
40700 (JUMPTARGET): Remove.
40701 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
40702 sysdeps/unix/sparc/sysdep.h
40703 (ENTRY, END): Remove.
40704 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
40705
a3cc4f48
JM
407062012-04-25 Joseph Myers <joseph@codesourcery.com>
40707
2ed8cda2
JM
40708 * Makerules (native-compile): Use $(BUILD_LDFLAGS).
40709 (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
40710 -DIS_IN_build.
40711
35d76d59
JM
40712 * timezone/README: Update upstream location and email address for
40713 tzcode and tzdata.
40714 * timezone/zdump.c: Update from tzcode 2012b.
40715 * timezone/zic.c: Likewise.
40716
a3cc4f48
JM
40717 * configure.in (libc_cv_as_needed): Remove test.
40718 * configure: Regenerated.
40719 * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
40720 conditional definition.
40721 [$(have-as-needed) != yes] (no-as-needed): Likewise.
40722 [$(have-as-needed) != yes] (libgcc_eh): Likewise.
40723 * config.make.in (have-as-needed): Remove variable.
40724
ceab42c3
SP
407252012-04-25 Siddhesh Poyarekar <siddhesh@redhat.com>
40726 Paul Pluzhnikov <ppluzhnikov@google.com>
40727
40728 * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
40729 strings correctly.
40730
3ce2865f
CLT
407312012-04-25 Chung-Lin Tang <cltang@codesourcery.com>
40732
40733 * sysdeps/sh/memcpy.S: Remove include of endian.h, change
40734 preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
40735 * sysdeps/sh/strlen.S: Likewise.
40736
f37e0d68
JM
407372012-04-24 Joseph Myers <joseph@codesourcery.com>
40738
ae186e9a
JM
40739 * sysdeps/unix/fork.S: Remove file.
40740 * sysdeps/unix/i386/fork.S: Likewise.
40741 * sysdeps/unix/sparc/fork.S: Likewise.
40742
b96914af
JM
40743 * sysdeps/unix/system.c: Remove file.
40744 * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
40745
f37e0d68
JM
40746 * sysdeps/unix/getegid.S: Remove file.
40747 * sysdeps/unix/geteuid.S: Likewise.
40748
87ef29ca
RM
407492012-04-24 Roland McGrath <roland@hack.frob.com>
40750
83bcd236
RM
40751 * scripts/check-localplt.awk: New file.
40752 * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
40753 of diff.
40754 * scripts/data/localplt-generic.data: Add a comment.
40755
87ef29ca
RM
40756 * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
40757 NODE when __dir_mkfile failed.
40758 * sysdeps/mach/hurd/symlinkat.c: Likewise.
40759 Reported by Ludovic Courtès <ludo@gnu.org>.
40760
e5a6e567
AJ
407612012-04-24 Andreas Jaeger <aj@suse.de>
40762
40763 * Makerules (common-clean): Also remove gen-as-const-headers
40764 files.
40765
c1820385
JM
407662012-04-24 Joseph Myers <joseph@codesourcery.com>
40767
40768 * Makerules (native-compile): Do not change working directory for
40769 build. Use $(OUTPUT_OPTION) in command.
40770 (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
40771
94e02fc4
AZ
407722012-04-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
40773
40774 [BZ #13886]
40775 * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
40776 sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
40777 * math/libm-test.inc (floor_test): Add more tests.
40778 * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
40779
3a533ca3
JM
407802012-04-24 Joseph Myers <joseph@codesourcery.com>
40781
940ab4b3
JM
40782 * sysdeps/unix/getdents.c: Remove file.
40783 * sysdeps/unix/sysv/getdents.c: Likewise.
40784 * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
40785
90e037bd
JM
40786 * sysdeps/unix/syscalls.list (madvise): Add syscall from
40787 sysdeps/unix/mman/syscalls.list.
40788 (mmap): Likewise.
40789 (mprotect): Likewise.
40790 (msync): Likewise.
40791 (munmap): Likewise.
40792 * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
40793 * sysdeps/unix/mman/syscalls.list: Remove.
40794 * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
40795
3a533ca3
JM
40796 * configure.in (libc_cv_libgcc_s_suffix): Remove test.
40797 (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
40798 * configure: Regenerated.
40799 * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
40800 $(libgcc_s_suffix).
40801 * config.make.in (libgcc_s_suffix): Remove variable.
40802
1ad743de
JM
408032012-04-23 Joseph Myers <joseph@codesourcery.com>
40804
4ad451e2
JM
40805 * sysdeps/unix/sysv/gethostname.c: Move to ...
40806 * sysdeps/posix/gethostname.c: ... here.
40807
5e37ce39
JM
40808 * sysdeps/unix/execve.S: Remove file.
40809
1ad743de
JM
40810 * sysdeps/unix/_exit.S: Remove file.
40811
4e681b5b
AJ
408122012-04-23 Andreas Jaeger <aj@suse.de>
40813
40814 [BZ #13739]
40815 * manual/Makefile: Remove make dist support, there's no
40816 need for a stand-alone documentation tar ball.
40817 (TEXI2DVI): Define always, it's not in Makeconfig.
40818 (dist): Removed.
40819 (tar-it): Removed.
40820 (edition): Removed.
40821 (glibc-doc-$(edition).tar): Removed
40822 (%.Z): Removed.
40823 (%.gz): Removed.
40824 (%.uu): Removed.
40825 (ETAGS): Remove, it's in Makeconfig.
40826 (move-if-change): Remove, it's in Makeconfig.
40827
38686a03 408282012-04-23 Paul Eggert <eggert@cs.ucla.edu>
c0baea34
PE
40829
40830 [BZ #13970]
40831 * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
40832 (strtod, strtof, strtold, strtol, strtoul, strtoq)
40833 (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
40834 (strtod_l, strtof_l, strtold_l): Remove __wur.
40835 It is not necessarily an error to ignore strtol's return value.
40836 One can reliably look at the stored endptr to decide whether
40837 the number had valid syntax.
40838
7c0616fa
AJ
408392012-04-21 Andreas Jaeger <aj@suse.de>
40840
803cb6b7 40841 [BZ #13739]
7c0616fa
AJ
40842 * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
40843
b0fe253f
JM
408442012-04-21 Joseph Myers <joseph@codesourcery.com>
40845
40846 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
40847 * sysdeps/unix/sysv/Versions: Remove file.
40848
8280f22d
MT
408492012-04-21 Markus Trippelsdorf <markus@trippelsdorf.de>
40850
40851 [BZ #13927]
40852 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
40853
75ce411f 408542012-04-21 Nick Alcock <nick.alcock@oracle.com>
b8e33728
N
40855
40856 [BZ #7064]
40857 * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
40858 version from __vm86.
40859
097d59fa
JM
408602012-04-20 Joseph Myers <joseph@codesourcery.com>
40861
a90f3bcb
JM
40862 * sysdeps/unix/common/lxstat.c: Remove file.
40863 * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
40864
edc7ea78
JM
40865 * sysdeps/unix/sysv/Makefile: Remove file.
40866
cb78c221
JM
40867 * sysdeps/unix/sysv/direct.h: Remove file.
40868
efa6a45f
JM
40869 * sysdeps/unix/sysv/bits/dirent.h: Remove file.
40870 * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
40871 * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
40872 * sysdeps/unix/sysv/bits/signum.h: Likewise.
40873 * sysdeps/unix/sysv/bits/stat.h: Likewise.
40874 * sysdeps/unix/sysv/bits/utmp.h: Likewise.
40875 * sysdeps/unix/sysv/bits/utsname.h: Likewise.
40876
9c9f2d0c
JM
40877 * sysdeps/unix/sysv/setrlimit.c: Remove file.
40878
4541c83b
JM
40879 * sysdeps/unix/xmknod.c: Remove file.
40880 * sysdeps/unix/syscalls.list (sys_mknod): Remove.
40881
f5d153a0
JM
40882 * sysdeps/unix/sysv/settimeofday.c: Remove file.
40883
aa746595
JM
40884 * sysdeps/unix/sysv/i386/time.S: Remove file.
40885
cce5905e
JM
40886 * sysdeps/unix/fxstat.c: Remove file.
40887 * sysdeps/unix/xstat.c: Likewise.
40888 * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
40889
37fa3841
JM
40890 * sysdeps/unix/sysv/sigaction.c: Remove file.
40891
ff1962a3
JM
40892 * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
40893 (sysdep_headers): Remove variable.
40894 [termio.h not in sysdep_headers] (generated): Likewise.
40895 [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
40896 * sysdeps/unix/sysv/sysv_termio.h: Remove file.
40897 * sysdeps/unix/sysv/tcdrain.c: Likewise.
40898 * sysdeps/unix/sysv/tcflow.c: Likewise.
40899 * sysdeps/unix/sysv/tcflush.c: Likewise.
40900 * sysdeps/unix/sysv/tcgetattr.c: Likewise.
40901 * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
40902 * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
40903 * sysdeps/unix/sysv/tcsetattr.c: Likewise.
40904 * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
40905
e7740d31
JM
40906 * sysdeps/unix/siglist.c: Remove file.
40907
ee06f18b
JM
40908 * sysdeps/unix/getppid.S: Remove file.
40909
097d59fa
JM
40910 * sysdeps/unix/mkdir.c: Remove file.
40911 * sysdeps/unix/rmdir.c: Likewise.
40912
ff3d51ec
AS
409132012-04-19 Andreas Schwab <schwab@linux-m68k.org>
40914
40915 * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
40916 ERR_MAX value.
40917 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
40918 errlist-compat value.
40919
50f81fd7
DM
409202012-04-18 David S. Miller <davem@davemloft.net>
40921
40922 * sysdeps/generic/memcopy.h (reg_char): Delete.
40923 * debug/strcat_chk.c: Use char, not reg_char.
40924 * debug/strcpy_chk.c: Likewise.
40925 * debug/strncat_chk.c: Likewise.
40926 * debug/strncpy_chk.c: Likewise.
40927 * string/memchr.c: Likewise.
40928 * string/memrchr.c: Likewise.
40929 * string/rawmemchr.c: Likewise.
40930 * string/strcat.c: Likewise.
40931 * string/strchr.c: Likewise.
40932 * string/strchrnul.c: Likewise.
40933 * string/strcmp.c: Likewise.
40934 * string/strcpy.c: Likewise.
40935 * string/strncat.c: Likewise.
40936 * string/strncmp.c: Likewise.
40937 * string/strncpy.c: Likewise.
40938
8ff41c46
WS
409392012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
40940
40941 * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
40942 __builtin_memcopy is called when src and dest ranges are known to not
40943 overlap.
40944
6b652f46
WS
409452012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
40946
40947 * sysdeps/powerpc/powerpc64/power6/wordcopy.c
40948 (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
40949 fwd_align_merge macro call.
40950 (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
40951 bwd_align_merge macro call.
40952 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
40953
b282631e
WS
409542012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
40955
40956 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
40957 bwd_align_merge macros.
40958 (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
40959 (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
40960 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
40961
95aa737c
DM
409622012-04-18 David S. Miller <davem@davemloft.net>
40963
40964 * sysdeps/sparc/sparc64/memcopy.h: Delete.
40965
7a99a614
AJ
409662012-04-18 Andreas Jaeger <aj@suse.de>
40967
40968 [BZ# 6794]
40969 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
40970 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
40971 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
40972
40973 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
40974 * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
40975 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
40976
40977 * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
40978 * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
40979 Adjust for changed ldbl-128 files.
40980
40981 * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
40982 * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
40983 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
40984
e5270c23
DM
409852012-04-17 David S. Miller <davem@davemloft.net>
40986
40987 * sysdeps/sparc/sparc32/memcopy.h: Delete.
40988
fb5e92c9
AS
409892012-04-17 Andreas Schwab <schwab@linux-m68k.org>
40990
40991 * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
40992 * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
40993 * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
40994 * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
40995 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
40996 * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
40997
76da7265
AZ
409982012-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
40999
41000 [BZ #6794]
41001 * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
41002 * math/libm-test.inc: Add ilogb errno and exception tests.
41003 * math/w_ilogb.c: New file: ilogb wrapper.
41004 * math/w_ilogbf.c: New file: ilogbf wrapper.
41005 * math/w_ilogbl.c: New file: ilogbl wrapper.
41006 * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
41007 * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
41008 * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
41009 exception being thrown with 0.0 as argument.
41010 * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
41011 * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
41012 exception being thrown with 0.0 as argument.
41013 * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
41014 * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
41015 exception being thrown with 0.0 as argument.
41016 * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
41017 * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
41018 exception being thrown with 0.0 as argument.
41019 * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
41020 * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
7a99a614 41021 * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
76da7265
AZ
41022 * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
41023 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
41024 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
41025 * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
41026 * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
41027 * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
41028
0396e69d
PB
410292012-04-17 Petr Baudis <pasky@ucw.cz>
41030
41031 * include/sys/uio.h: Change __vector to __iovec to avoid clash
41032 with altivec.
41033
750b5926
MP
410342012-04-16 Marek Polacek <polacek@redhat.com>
41035
41036 * elf/pldd-xx.c: Rename static_assert to pldd_assert.
41037
751728a1
MP
410382012-04-16 Marek Polacek <polacek@redhat.com>
41039
41040 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
41041 operands of fdivp instruction.
41042
34a27407
L
410432012-04-13 H.J. Lu <hongjiu.lu@intel.com>
41044
41045 * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
41046 * elf/tst-auditmod3b.c: Likewise.
41047 * elf/tst-auditmod4b.c: Likewise.
41048 * elf/tst-auditmod5b.c: Likewise.
41049 * elf/tst-auditmod6b.c: Likewise.
41050 * elf/tst-auditmod6c.c: Likewise.
41051 * elf/tst-auditmod7b.c: Likewise.
41052 * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
41053 * sysdeps/x86_64/preconfigure.in: Likewise.
41054 * sysdeps/x86_64/preconfigure: Regenerated.
41055
7e73e17d
L
410562012-04-13 H.J. Lu <hongjiu.lu@intel.com>
41057
41058 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
41059 __ILP32__.
41060
c7a6ab72
AB
410612012-04-13 Antoine Balestrat <merkil33@gmail.com>
41062
41063 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
41064 (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
41065
a9e8e0e0
CL
410662012-04-13 Chris Leonard <cjlhomeaddress@gmail.com>
41067
41068 [BZ #13973]
41069 * locale/iso-639.def: Fix gl language name. Spotted by
41070 Yaron Shahrabani.
41071
ec98af7d
RM
410722012-04-12 Roland McGrath <roland@hack.frob.com>
41073
41074 [BZ #2074]
41075 * libio/libio.h (__io_write_fn): Update comment.
41076
247c3ede
PB
410772012-04-12 Petr Baudis <pasky@ucw.cz>
41078
41079 [BZ #2074]
41080 * stdio.texi (Hook Functions): The user provided writer function
41081 is not allowed to return -1.
41082
55939d6d
DM
410832012-04-11 David S. Miller <davem@davemloft.net>
41084
41085 * sysdeps/sparc/fpu/libm-test-ulps: Update.
41086
90020f5a
MF
410872012-04-11 Mike Frysinger <vapier@gentoo.org>
41088
41089 * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
41090 Add a leading slash to rtkaio.
41091
288f9098
JM
410922012-04-11 Jim Meyering <meyering@redhat.com>
41093
90020f5a
MF
41094 [BZ #11959]
41095 * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
41096 It is not necessarily an error to ignore fwrite's return
41097 value. One can reliably use ferror to test for errors after
41098 the fact.
288f9098 41099
4be2b570
L
411002012-04-10 H.J. Lu <hongjiu.lu@intel.com>
41101
41102 * bits/types.h (__snseconds_t): New type.
41103 * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
41104
41105 * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
41106 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
41107 (__SNSECONDS_T_TYPE): Likewise.
41108 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
41109 (__SNSECONDS_T_TYPE): Likewise.
41110 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
41111 (__SNSECONDS_T_TYPE): Likewise.
41112
288f9098 411132012-04-10 Andreas Jaeger <aj@suse.de>
4cfd8026
AJ
41114
41115 [BZ #2636]
41116 * manual/time.texi (Processor Time): Return type of times is
41117 elapsed real time since an arbitrary point in the past.
41118 (CPU Time): Move CLK_TCK from here...
41119 (Processor Time): ...to here. Correct description.
41120 * manual/conf.texi (Constants for Sysconf): Correct description of
41121 _SC_CLK_TCK.
41122
d7dd4413
DM
411232012-04-10 David S. Miller <davem@davemloft.net>
41124
41125 [BZ #13967]
41126 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
41127 where the is a gap between DT_REL(A) and DT_JMPREL.
41128
b46068fc
L
411292012-04-10 H.J. Lu <hongjiu.lu@intel.com>
41130
41131 * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
41132 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
41133 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
41134
73d65cc3
SP
411352012-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
41136
41137 * elf/dl-support.c (_dl_inhibit_cache): New variable.
41138 * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
41139 (dl_main): Handle --inhibit-cache.
41140 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
41141 _dl_inhibit_cache.
41142 * elf/dl-load.c (_dl_map_object): Use it.
41143 * elf/Makefile: Define SYSCONFDIR when building rtld.c.
41144
bcc8d661
JM
411452012-04-09 Joseph Myers <joseph@codesourcery.com>
41146
8f9a2fae
JM
41147 [BZ #13872]
41148 * sysdeps/i386/fpu/e_powl.S (p78): New object.
41149 (__ieee754_powl): Saturate large exponents rather than testing for
41150 overflow of y*log2(x).
41151 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
41152 * math/libm-test.inc (pow_test): Do not permit spurious overflow
41153 exceptions.
41154
bcc8d661
JM
41155 [BZ #11521]
41156 * math/s_ctan.c: Include <float.h>.
41157 (__ctan): Avoid internal overflow or cancellation in calculating
41158 denominator.
41159 * math/s_ctanf.c: Likewise.
41160 * math/s_ctanl.c: Likewise.
41161 * math/s_ctanh.c: Likewise.
41162 * math/s_ctanhf.c: Likewise.
41163 * math/s_ctanhl.c: Likewise.
41164 * math/libm-test.inc (ctan_test): Add more tests.
41165 (ctanh_test): Likewise.
41166 * sysdeps/i386/fpu/libm-test-ulps: Update.
41167 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
41168
823fbbb4
AJ
411692012-04-09 Andreas Jaeger <aj@suse.de>
41170
03879793
AJ
41171 [BZ #6894]
41172 * manual/filesys.texi (Directory Entries): Mention that d_namlen
41173 is an optional BSD extension.
41174
823fbbb4
AJ
41175 [BZ #10254]
41176 * manual/stdio.texi (Opening Streams): Document additional fopen
41177 parameters.
41178
8de131cb
RM
411792012-04-09 Roland McGrath <roland@hack.frob.com>
41180
41181 * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
41182 %eax without telling the compiler.
41183
c0ed9d7d
CD
411842012-04-09 Carlos O'Donell <carlos_odonell@mentor.com>
41185
41186 [BZ # 13963]
41187 * manual/install.texi: Use sourceware.org.
41188
c483f6b4
JM
411892012-04-09 Joseph Myers <joseph@codesourcery.com>
41190
d7dd9453
JM
41191 [BZ #13873]
41192 * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
41193 (__ieee754_pow): Generate overflow and underflow using huge*huge
41194 and tiny*tiny rather than just returning constant infinity or zero
41195 for large exponents.
41196 * math/libm-test.inc (pow_test): Require overflow exceptions for
41197 applicable cases of large exponents.
41198
c483f6b4
JM
41199 [BZ #706]
41200 * sysdeps/i386/fpu/e_pow.S (p10): New object.
41201 (__ieee754_pow): Use iterative multiplication algorithm only for
41202 integer exponents with absolute value below 1024. Check for odd
41203 integer exponents when using algorithm for real exponents.
41204 * math/libm-test.inc (pow_test): Add more tests.
41205 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
41206
d2de7579
JM
412072012-04-08 Joseph Myers <joseph@codesourcery.com>
41208
41209 [BZ #13705]
41210 * math/libm-test.inc (exp_test): Do not allow overflow exception
41211 on underflow test.
41212
f77f1232
AJ
412132012-04-08 Aurelien Jarno <aurelien@aurel32.net>
41214
41215 [BZ #13705]
41216 * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
41217 instead of __kernel_standard_f.
41218
3884932b
MF
412192012-04-08 Mike Frysinger <vapier@gentoo.org>
41220
41221 * sysdeps/i386/i686/memset_chk.S: Update copyright year.
41222 * sysdeps/x86_64/memset_chk.S: Likewise.
41223
54472e9c
AJ
412242012-04-08 Andreas Jaeger <aj@suse.de>
41225
6ab0fbfc
AJ
41226 [BZ #10153]
41227 * manual/startup.texi (Environment Access): Describe return value
41228 for putenv and setenv.
41229
61efba8c
AJ
41230 [BZ #6895]
41231 * manual/filesys.texi (Directory Entries): Add description for
41232 DT_LNK.
41233
95c3f29a
AJ
41234 [BZ #6890]
41235 * manual/filesys.texi (Directory Entries): Clarify that it's file
41236 system not operating system in the description of DT_UNKNOWN.
41237
54472e9c
AJ
41238 [BZ #6578]
41239 * manual/syslog.texi (closelog): Fix reference, it's openlog.
41240
624254b1
SC
412412012-04-08 Stephen Compall <s11@member.fsf.org>
41242
41243 [BZ #6649]
41244 * manual/llio.texi (Opening and Closing Files): Add cross
41245 reference to explain mode argument.
41246
1e4920e0
MF
412472012-04-07 Mike Frysinger <vapier@gentoo.org>
41248
41249 * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
41250 * sysdeps/x86_64/memset_chk.S: Likewise.
41251
5ed848f3
DM
412522012-04-07 David S. Miller <davem@davemloft.net>
41253
41254 * elf/elf.h (R_SPARC_WDISP10): Define.
41255 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
41256 R_SPARC_SIZE32.
41257 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
41258 R_SPARC_SIZE64 and R_SPARC_H34.
41259
96154cd8
CD
412602012-04-07 Carlos O'Donell <carlos_odonell@mentor.com>
41261
41262 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
41263 conditions and remove no longer applicable assertion.
41264
9904dc47
L
412652012-04-06 H.J. Lu <hongjiu.lu@intel.com>
41266
41267 * bits/byteswap.h: Include <features.h>.
41268 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
41269 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
41270
f8887d0a
L
412712012-04-06 H.J. Lu <hongjiu.lu@intel.com>
41272
41273 * bits/byteswap.h (__bswap_16): Removed.
41274 Include <bits/byteswap-16.h> to get __bswap_16.
41275 * sysdeps/i386/bits/byteswap.h: Likewise.
41276 * sysdeps/s390/bits/byteswap.h: Likewise.
41277 * sysdeps/x86_64/bits/byteswap.h: Likewise.
41278 * bits/byteswap-16.h: New file.
41279 * sysdeps/i386/bits/byteswap-16.h: Likewise.
41280 * sysdeps/s390/bits/byteswap-16.h: Likewise.
41281 * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
41282 * string/Makefile (headers): Add bits/byteswap-16.h.
41283
62470f60
PP
412842012-04-06 Paul Pluzhnikov <ppluzhnikov@google.com>
41285
41286 [BZ #13895]
41287 * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
41288 extra indirection.
41289 * nss/Makefile (tests-static, tests): Add tst-nss-static.
41290 * nss/tst-nss-static.c: New.
41291
4dad7bab
RM
412922012-04-06 Robert Millan <rmh@gnu.org>
41293
41294 [BZ #6486]
41295 * manual/llio.texi (File Position Primitive): lseek
41296 refers to WHENCE when it really means OFFSET.
41297
e9142a17
AJ
412982012-04-06 Andreas Jaeger <aj@suse.de>
41299
2c040eff
AJ
41300 * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
41301 strncmp declarations.
41302
e9142a17
AJ
41303 * abilist/libc.abilist: Add __poll and __ppoll.
41304
ff9f1c5f
DM
413052012-04-05 David S. Miller <davem@davemloft.net>
41306
dcd2ae90
DM
41307 * scripts/check-local-headers.sh: Accept a host triplet in the
41308 path matched by the exclude regexp.
41309
993eb054
DM
41310 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
41311 definition.
41312 * sysdeps/powerpc/powerpc32/dl-machine.h
41313 (ELF_MACHINE_PLTREL_OVERLAP): Delete.
41314 * sysdeps/s390/s390-32/dl-machine.h
41315 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
41316 * sysdeps/sparc/sparc32/dl-machine.h
41317 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
41318 * sysdeps/sparc/sparc64/dl-machine.h
41319 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
41320
ff9f1c5f
DM
41321 * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
41322 lazy binding.
48e2e132 41323 * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
ff9f1c5f
DM
41324 undefined symbol errors.
41325
48e2e132 41326 * elf/rtld.c (dl_main): Skip VDSO when checking for unused
ff9f1c5f
DM
41327 DT_NEEDED entries.
41328
e80d6f94
MM
413292012-04-05 Michael Matz <matz@suse.de>
41330
41331 [BZ #13592]
41332 * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
41333
349fa79f
AJ
413342012-04-05 Andreas Jaeger <aj@suse.de>
41335
41336 [BZ #13908]
41337 * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
41338 comment.
41339
f402708f
KK
413402012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
41341
41342 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
41343 which ROUND is no valid rounding mode.
41344
2ecccfc9
KK
413452012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
41346
41347 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
41348 read again.
41349 * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
41350
8a53f50f
KK
413512012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
41352
41353 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
41354 an exception using FPU order intentionally.
41355
413562012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
41357
41358 * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
41359 * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
41360 * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
41361 * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
41362
d653abb7
SJ
413632012-04-05 Simon Josefsson <simon@josefsson.org>
41364
41365 [BZ #12340]
41366 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
41367 EINVAL when BUFLEN is too smal.
41368
c3b1bf7d
TS
413692012-04-05 Thomas Schwinge <thomas@codesourcery.com>
41370
41371 [BZ #13553]
41372 * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
41373 * sysdeps/mach/powerpc/machine-lock.h: Likewise.
41374
b1aa60f3
AJ
413752012-04-03 Andreas Jaeger <aj@suse.de>
41376
c3b1bf7d 41377 [BZ #13938]
67f60a26
AJ
41378 * manual/setjmp.texi (System V contexts): Fix sentence.
41379
b1aa60f3
AJ
41380 [BZ #13926]
41381 * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
41382 New macro for this case.
41383 [!__GNUC__] (__bswap_64): New inline function for this case.
41384 * sysdeps/x86_64/bits/byteswap.h: Likewise.
41385 * bits/byteswap.h: Likewise.
41386 * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
41387 ull, guard with __GLIBC_HAVE_LONG_LONG.
41388
41389 * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
41390 __GLIBC_HAVE_LONG_LONG.
41391
41392 * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
41393 Include <features.h> for __GLIBC_HAVE_LONG_LONG.
41394
39c59c35
TMQMF
413952012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
41396
41397 [BZ #13691]
41398 * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
41399 inptr and inend, rather than using last_ch.
41400
135ffda8
DM
414012012-04-02 David S. Miller <davem@davemloft.net>
41402
41403 With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
41404 * stdio-common/printf-parse.h (read_int): Change return type to
41405 'int', return -1 on INT_MAX overflow.
41406 * stdio-common/vfprintf.c (vfprintf): Validate width and precision
41407 against overflow of INT_MAX. Set errno to EOVERFLOW when 'done'
41408 overflows INT_MAX. Check for overflow of in-format-string precision
41409 values properly. Use EOVERFLOW rather than ERANGE throughout. Use
41410 SIZE_MAX not INT_MAX for integer overflow test.
41411 * stdio-common/printf-parsemb.c: If read_int signals an overflow,
41412 skip the construct in the format string but do not record anything.
41413 * stdio-common/bug22.c: Adjust to test both width/prevision
41414 INT_MAX overflow as well as total length INT_MAX overflow. Check
41415 explicitly for proper errno values.
41416
228c019e
TS
414172012-04-02 Thomas Schwinge <thomas@codesourcery.com>
41418
302cadd3
TS
41419 * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
41420 CHAR_MAX.
41421 * string/test-strcmp.c [! WIDE]: Likewise.
41422 * time/tst-mktime2.c: Likewise for INT_MAX.
41423 * string/test-string.h: #include <sys/param.h> for MIN.
41424
228c019e
TS
41425 * csu/init-first.c (__libc_init_first): Call __ctype_init.
41426 * sysdeps/i386/init-first.c (init): Likewise.
41427 * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
41428 * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
41429 * sysdeps/sh/init-first.c (init): Likewise.
41430
cfa633f5
UD
414312012-04-01 Ulrich Drepper <drepper@gmail.com>
41432
41433 * po/ru.po: Update from translation team.
d1635ef8 41434 * po/vi.po: Likewise.
cfa633f5 41435
6cd0a5ea
SP
414362012-03-31 Siddhesh Poyarekar <siddhesh@redhat.com>
41437
41438 * resolv/nss_dns/dns-host.c: Merge copyright years.
41439
4b43400f
LD
414402012-03-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
41441
41442 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
41443 Optimize memcpy with prefetch if
41444 DATA_CACHE_SIZE_HALF <= len < SHARED_CACHE_SIZE_HALF and
41445 src, dst pointers have unequal 16 byte alignments.
41446
48c41d04
SP
414472012-03-30 Siddhesh Poyarekar <siddhesh@redhat.com>
41448
41449 [BZ #13928]
41450 * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
41451 from a CNAME entry and return the minimum ttl for the query.
41452 (gaih_getanswer_slice): Likewise.
41453
b8dc394d
JL
414542012-03-30 Jeff Law <law@redhat.com>
41455
41456 * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
41457 due to long keys.
41458 * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
41459 * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
41460
2f5a5ed0
JL
41461 * resolv/nss_dns/dns-host.c: Update copyright year.
41462
1d39e359
UD
414632012-03-30 Ulrich Drepper <drepper@gmail.com>
41464
c030f70c 41465 * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
8e6d1083 41466 requests to save a system call. Fix check that all bytes are sent.
c030f70c 41467
1d39e359
UD
41468 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
41469 comments for sendmmsg.
41470
414712012-03-30 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
e64d2de5
TMQMF
41472
41473 [BZ #13691]
41474 * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
41475 with only 1 character between 0x0041 and 0x01b0.
41476 * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
41477 * wcsmbs/tst-mbsnrtowcs.c: New file.
41478
20fde227
DM
414792012-03-29 David S. Miller <davem@davemloft.net>
41480
41481 * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
41482 small copies by hand.
41483
984a4237
JL
414842012-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
41485
41486 [BZ #13761]
57f41c40
AS
41487 * nis/nss_compat/compat-initgroups.c (getgrent_next_nss)
41488 (_nss_compat_initgroups_dyn): Fall back to malloc/free for large
41489 group memberships.
984a4237 41490
18c9d62b
DM
414912012-03-28 David S. Miller <davem@davemloft.net>
41492
88d85d4f
DM
41493 * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
41494 that branches into memcpy.
41495 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
41496 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
41497 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
41498 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
41499 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
41500 bits.
41501 * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
41502 implementation too.
41503 * sysdeps/sparc/mempcpy.S: New file.
41504
e5aa83e1
DM
41505 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
41506 the IFUNC routine in the libc case.
41507 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
41508
88570753
DM
41509 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
41510 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
41511 * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
41512 * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
41513 * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
41514 * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
41515 * sysdeps/sparc/sparc64/rtld-memset.c: New file.
41516 * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
41517
249d7567
DM
41518 * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
41519 loop to 256 bytes instead of 64 bytes and fix test signedness.
41520
18c9d62b
DM
41521 * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
41522 * sysdeps/sparc/sparc32/Makefile: rather than here...
41523 * sysdeps/sparc/sparc64/Makefile: and here.
41524
05f3d1f6
UD
415252012-03-28 Ulrich Drepper <drepper@gmail.com>
41526
41527 * malloc/mallocbug.c: Avoid warnings about unused variables.
41528
86ae07a8
JL
415292012-02-22 Siddhesh Poyarekar <siddhesh@redhat.com>
41530
41531 [BZ #13760]
41532 * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
41533 in the right place. Discard and retry query if response is
41534 larger than input buffer size.
41535
41bf21a1
JM
415362012-03-28 Joseph Myers <joseph@codesourcery.com>
41537
d6270972
JM
41538 [BZ #369]
41539 [BZ #2678]
41540 [BZ #3866]
41541 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
41542 x for large integer exponent.
41543 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
41544 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise. Adjust
41545 sign of result as needed afterwards.
41546 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
41547 * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
41548 result for underflowing pow the same as for overflow.
41549 (__kernel_standard_l): Handle powl overflow and underflow here
41550 rather than calling __kernel_standard.
41551 * math/libm-test.inc (pow_test): Add more tests.
41552
414fca03 41553 [BZ #3868]
41bf21a1
JM
41554 [BZ #13879]
41555 [BZ #13910]
41556 [BZ #13911]
41557 [BZ #13912]
41558 [BZ #13913]
41559 [BZ #13915]
41560 [BZ #13916]
41561 [BZ #13917]
41562 [BZ #13918]
41563 [BZ #13919]
41564 [BZ #13920]
41565 [BZ #13921]
41566 * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
41567 * sysdeps/ieee754/k_standard.c: Include <float.h>.
41568 (__kernel_standard_l): New function.
41569 * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
41570 __kernel_standard.
41571 * math/w_acosl.c (__acosl): Likewise.
41572 * math/w_asinl.c (__asinl): Likewise.
41573 * math/w_atan2l.c (__atan2l): Likewise.
41574 * math/w_atanhl.c (__atanhl): Likewise.
41575 * math/w_coshl.c (__coshl): Likewise.
41576 * math/w_exp10l.c (__exp10l): Likewise.
41577 * math/w_exp2l.c (__exp2l): Likewise.
41578 * math/w_fmodl.c (__fmodl): Likewise.
41579 * math/w_hypotl.c (__hypotl): Likewise.
41580 * math/w_j0l.c (__j0l, __y0l): Likewise.
41581 * math/w_j1l.c (__j1l, __y1l): Likewise.
41582 * math/w_jnl.c (__jnl, __ynl): Likewise.
41583 * math/w_lgammal.c (__lgammal): Likewise.
41584 * math/w_log10l.c (__log10l): Likewise.
41585 * math/w_log2l.c (__log2l): Likewise.
41586 * math/w_logl.c (__logl): Likewise.
41587 * math/w_powl.c (__powl): Likewise.
41588 * math/w_remainderl.c (__remainderl): Likewise.
41589 * math/w_scalbl.c (sysv_scalbl): Likewise.
41590 * math/w_sinhl.c (__sinhl): Likewise.
41591 * math/w_sqrtl.c (__sqrtl): Likewise.
41592 * math/w_tgammal.c (__tgammal): Likewise.
41593 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
41594 * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
41595 * math/libm-test.inc (acos_test): Add more tests.
41596 (acosh_test): Likewise.
41597 (asin_test): Likewise.
41598 (atanh_test): Likewise.
41599 (exp_test): Likewise.
41600 (exp10_test): Likewise.
41601 (exp2_test): Likewise.
41602 (expm1_test): Likewise.
41603 (lgamma_test): Likewise.
41604 (log_test): Likewise.
41605 (log10_test): Likewise.
41606 (log1p_test): Likewise.
41607 (log2_test): Likewise.
41608 (pow_test): Do not allow some spurious overflow exceptions.
41609 (sqrt_test): Add more tests.
41610 (tgamma_test): Likewise.
41611 (y0_test): Likewise.
41612 (y1_test): Likewise.
41613 (yn_test): Likewise.
41614
dd62fda6
AB
416152012-03-27 Anton Blanchard <anton@samba.org>
41616
41617 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
41618 MAP_HUGETLB.
41619 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
41620 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
41621 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
41622
1e3cdfda
AJ
416232012-03-27 David S. Miller <davem@davemloft.net>
41624
b855ab85
DM
41625 * conform/Makefile: Run run-conformtest.sh using $(BASH).
41626
1e3cdfda
AJ
41627 * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
41628 have-as-vis3 check.
41629
416302012-03-27 Andreas Jaeger <aj@suse.de>
41631
41632 * sysdeps/x86_64/elf/configure.in: Moved to ...
41633 * sysdeps/x86_64/configure.in: ... here.
41634 * sysdeps/x86_64/elf/start.S: Moved to ...
41635 * sysdeps/x86_64/start.S: ... here.
41636 * sysdeps/x86_64/elf/configure: Delete.
41637
41638 * sysdeps/x86_64/configure.in: Merge contents from
41639 sysdeps/i386/configure.in (without i686 check).
41640
41641 * sysdeps/i386/elf/Versions: Merge into ...
41642 * sysdeps/i386/Versions: ... this.
41643 * sysdeps/i386/elf/Versions: Delete file.
41644 * sysdeps/i386/elf/start.S: Moved to ...
41645 * sysdeps/i386/start.S: ...here.
41646 * sysdeps/i386/elf/configure.in: Merge into...
41647 * sysdeps/i386/configure.in: ...here.
41648 * sysdeps/i386/elf/configure.in: Delete file.
41649 * sysdeps/i386/elf/configure: Delete file.
41650
41651 * sysdeps/generic/elf/backtracesyms.c: Moved to ...
41652 * debug/backtracesyms.c: ... here.
41653 * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
41654 * debug/backtracesymsfd.c: ... here.
41655 * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
41656 * sysdeps/generic/ifunc-sel.h: ... here.
41657
41658 * sysdeps/unix/i386/start.c: Delete file.
41659 * sysdeps/unix/sparc/start.c: Delete file.
41660 * sysdeps/unix/start.c: Delete file.
41661
41662 * sysdeps/sh/elf/configure.in: Moved to ...
41663 * sysdeps/sh/configure.in: ... here.
41664 * sysdeps/sh/elf/start.S: Moved to ...
41665 * sysdeps/sh/start.S: ... here.
41666 * sysdeps/sh/elf/configure: Delete file.
41667
41668 * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
41669 * sysdeps/powerpc/powerpc64/bzero.S: ... here.
41670 * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
41671 * sysdeps/powerpc/powerpc64/entry.h: ... here.
41672 * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
41673 * sysdeps/powerpc/powerpc64/start.S: here.
41674 * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
41675 * sysdeps/powerpc/powerpc64/Makefile: ... this.
41676 * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
41677 * sysdeps/powerpc/powerpc64/configure.in: ... this.
41678 * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
41679
41680 * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
41681 * sysdeps/powerpc/powerpc32/bzero.S: ... here.
41682 * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
41683 * sysdeps/powerpc/powerpc32/start.S: ... here.
41684 * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
41685 * sysdeps/powerpc/powerpc32/configure.in: ... this.
41686 * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
41687
41688 * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
41689 * sysdeps/powerpc/ifunc-sel.h: ... here.
41690 * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
41691 * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
41692
41693 * sysdeps/sparc/elf/configure.in: Moved to ...
41694 * sysdeps/sparc/configure.in: ... here.
41695 * sysdeps/sparc/elf/configure: Delete file.
41696 * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
41697 * sysdeps/sparc/sparc32/start.S: ... here.
41698 * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
41699 * sysdeps/sparc/sparc64/start.S: ... here.
41700 * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
41701 * sysdeps/sparc/sparc32/Makefile: ... this.
41702 * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
41703 * sysdeps/sparc/sparc64/Makefile: ... this.
41704
41705 * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
41706 * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
41707 * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
41708 * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
41709 * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
41710 * sysdeps/s390/s390-32/setjmp.S: ... here.
41711 * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
41712 * sysdeps/s390/s390-32/configure.in: ... here.
41713 * sysdeps/s390/s390-32/elf/configure: Delete file.
41714 * sysdeps/s390/s390-32/elf/start.S: Moved to ...
41715 * sysdeps/s390/s390-32/start.S: ... here.
41716
41717 * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
41718 * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
41719 * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
41720 * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
41721 * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
41722 * sysdeps/s390/s390-64/setjmp.S: ... here.
41723 * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
41724 * sysdeps/s390/s390-64/configure.in: ... here
41725 * sysdeps/s390/s390-64/elf/configure: Delete file.
41726 * sysdeps/s390/s390-64/elf/start.S: Moved to ...
41727 * sysdeps/s390/s390-64/start.S: ... here.
41728 * sysdeps/s390/s390-64/elf/configure: Delete.
41729
41730 * configure.in: Remove support for elf directories in sysdeps.
41731
41732 * configure: Regenerated.
41733 * sysdeps/i386/configure: Regenerated.
41734 * sysdeps/powerpc/powerpc32/configure: Regenerated.
41735 * sysdeps/powerpc/powerpc64/configure: Regenerated.
41736 * sysdeps/s390/s390-32/configure: Regenerated.
41737 * sysdeps/s390/s390-64/configure: Regenerated.
41738 * sysdeps/sh/configure: Regenerated.
41739 * sysdeps/sparc/configure: Regenerated.
41740 * sysdeps/x86_64/configure: Regenerated.
41741
a3f61311
AS
417422012-03-26 Andreas Schwab <schwab@linux-m68k.org>
41743
c876e002
AS
41744 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
41745
a3f61311
AS
41746 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
41747 denormal result into account.
41748
ac4c54f0
RM
417492012-03-25 Roland McGrath <roland@hack.frob.com>
41750
41751 * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
41752 Reported by Allan McRae <allan@archlinux.org>.
41753
6a9b9c02
JL
417542012-03-23 Jeff Law <law@redhat.com>
41755
41756 * nss/getnssent.c (__nss_getent): Fix typo.
41757
4c42a0c1
DM
417582012-03-23 David S. Miller <davem@davemloft.net>
41759
41760 * sysdeps/sparc/fpu/libm-test-ulps: Update.
41761
1532c7ac
L
417622012-03-23 H.J. Lu <hongjiu.lu@intel.com>
41763
41764 * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
41765 to pad to uint64_t for each field.
41766 (dl_tls_index): Replace unsigned long with uint64_t.
41767
3ff42526
PP
417682012-03-23 Daniel Jacobowitz <dmj@google.com>
41769 Paul Pluzhnikov <ppluzhnikov@google.com>
41770
41771 [BZ #6528]
41772 * grp/Makefile (otherlibs): Don't set it.
41773 * inet/Makefile (otherlibs): Likewise.
41774 * login/Makefile (otherlibs): Likewise.
41775 * nscd/Makefile (otherlibs): Likewise.
41776 * posix/Makefile (otherlibs): Likewise.
41777 * pwd/Makefile (otherlibs): Likewise.
41778 * rt/Makefile (otherlibs): Likewise.
41779 * sunrpc/Makefile (otherlibs): Likewise.
41780 * nss/Makefile (otherlibs): Likewise.
41781 Add libnss_files to routines and static-only-routines.
41782 ($(objpfx)getent): Remove rule.
41783 * resolv/Makefile: Add libnss_dns and libresolv to routines and
41784 static-only-routines.
41785
7c69cd14
JM
417862012-03-22 Joseph Myers <joseph@codesourcery.com>
41787
41788 [BZ #13892]
41789 * math/s_cexp.c: Include <float.h>.
41790 (__cexp): Handle exp result overflowing not necessarily
41791 overflowing both real and imaginary parts of result.
41792 * math/s_cexpf.c: Likewise.
41793 * math/s_cexpl.c: Likewise.
41794 * math/libm-test.inc (cexp_test): Add more tests.
41795 * sysdeps/i386/fpu/libm-test-ulps: Update.
41796 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
41797
81b035fe
L
417982012-03-22 H.J. Lu <hongjiu.lu@intel.com>
41799
41800 * include/link.h (ELFW): New macro.
41801 * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
41802 Replace ELF64_R_TYPE with ELFW(R_TYPE).
41803
1da7940c
L
418042012-03-22 H.J. Lu <hongjiu.lu@intel.com>
41805
41806 * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
41807 with uint64_t.
41808
b749dbb9
L
418092012-03-22 H.J. Lu <hongjiu.lu@intel.com>
41810
41811 * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
41812 declaration.
41813 (struct La_x32_retval): Likewise.
41814
2ff87f3f
L
418152012-03-22 H.J. Lu <hongjiu.lu@intel.com>
41816
41817 * sysdeps/x86_64/preconfigure.in: New file.
41818 * sysdeps/x86_64/preconfigure: New generated file.
41819
c0df8e69
JM
418202012-03-22 Joseph Myers <joseph@codesourcery.com>
41821
48e44791
JM
41822 [BZ #13824]
41823 * math/e_exp2l.c: Include <float.h>.
41824 (__ieee754_exp2l): Handle overflow and underflow cases
41825 separately. Only pass fractional part of argument to
41826 __ieee754_expl.
41827 * math/libm-test.inc (exp2_test): Add more tests.
41828
c0df8e69
JM
41829 * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
41830 negating x to take absolute value.
41831 * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
41832 Likewise.
41833 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
41834 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
41835 Likewise.
41836 * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
41837 computing low part if x was negated.
41838 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
41839
c8e43ba7
L
418402012-03-21 H.J. Lu <hongjiu.lu@intel.com>
41841
41842 * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
41843 la_x32_gnu_pltexit.
41844 (pltexit): Cast int_retval to ptrdiff_t.
41845 * elf/tst-auditmod3b.c: Likewise.
41846 * elf/tst-auditmod4b.c: Likewise.
41847 * elf/tst-auditmod5b.c: Likewise.
41848 * elf/tst-auditmod6b.c: Likewise.
41849 * elf/tst-auditmod6c.c: Likewise.
41850 * elf/tst-auditmod7b.c: Likewise.
41851
41852 * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
41853 and x32_gnu_pltexit.
41854
41855 * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
41856 __ELF_NATIVE_CLASS.
41857 (La_x32_regs): New macro.
41858 (La_x32_retval): Likewise.
41859 (la_x32_gnu_pltenter): New function prototype.
41860 (la_x32_gnu_pltexit): Likewise.
41861
7998fa78
AS
418622012-03-21 Andreas Schwab <schwab@linux-m68k.org>
41863
dcb33988
AS
41864 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
41865 exponent.
41866
233fc563
AS
41867 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
41868
7998fa78
AS
41869 * configure.in (libc_cv_cc_nofma): Check for option to disable
41870 generation of FMA instructions.
41871 * configure: Regenerate.
41872 * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
41873 * sysdeps/ieee754/dbl-64/Makefile: New file.
41874 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
41875 Remove brandred-fma4.
41876 (CFLAGS-brandred-fma4.c): Remove.
41877 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
41878 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
41879 define.
41880 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
41881 define.
41882
8e95c99a
L
418832012-03-21 H.J. Lu <hongjiu.lu@intel.com>
41884
41885 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
41886 LLONG_MAX != LONG_MAX.
41887 (_itoa_word): Use _ITOA_WORD_TYPE on value.
41888 (_fitoa_word): Likewise.
41889 * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
41890 LLONG_MAX != LONG_MAX.
41891 * stdio-common/_itowa.h: Include <_itoa.h>.
41892 (_itowa_word): Use _ITOA_WORD_TYPE on value.
41893 (_itowa): New macro. Defined only if _ITOA_NEEDED is false.
41894 * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro. Defined
41895 only if not defined.
41896 (_ITOA_WORD_TYPE): Likewise.
41897 (_itoa_word): Use _ITOA_WORD_TYPE on value.
41898 Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
41899
6f4db457
DM
419002012-03-21 David S. Miller <davem@davemloft.net>
41901
41902 * sysdeps/sparc/fpu/libm-test-ulps: Update.
41903
7785fe5a
L
419042012-03-21 H.J. Lu <hongjiu.lu@intel.com>
41905
41906 * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
41907 of x86_64 when setting libc_cv_slibdir, libdir and
41908 libc_cv_localedir.
41909 * sysdeps/unix/sysv/linux/configure: Regenerated.
41910
4535cd55
JM
419112012-03-21 Joseph Myers <joseph@codesourcery.com>
41912
41913 * manual/lang.texi (Old Varargs): Remove section.
41914 (How Variadic): Update menu.
41915 (va_start): Do not mention varargs.h.
41916
17228132
TS
419172012-03-21 Thomas Schwinge <thomas@codesourcery.com>
41918 Joseph Myers <joseph@codesourcery.com>
41919
41920 * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
41921 link test.
41922 * configure: Regenerated.
41923
8149f976
TS
419242012-03-21 Thomas Schwinge <thomas@codesourcery.com>
41925
05f3d1f6
UD
41926 * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
41927 * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
41928 conformtest.pl
8149f976 41929
1a4ac776
JM
419302012-03-21 Joseph Myers <joseph@codesourcery.com>
41931
be22ce65
JM
41932 * NOTES: Remove.
41933 * Makefile (files-for-dist): Remove NOTES.
41934 (NOTES): Remove rule.
41935 * README: Don't refer to NOTES.
41936 * manual/creature.texi: Don't include macros.texi.
41937 * manual/intro.texi (creature.texi): Remove comment referring to
41938 NOTES.
41939
40b601fb
JM
41940 * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
41941 * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
41942 * configure: Regenerated.
41943 * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
41944 LIBC_TRY_CC_OPTION.
41945 (libc_cv_as_i686): Likewise.
41946 (libc_cv_cc_avx): Likewise.
41947 (libc_cv_cc_sse2avx): Likewise.
41948 (libc_cv_cc_fma4): Likewise.
41949 (libc_cv_cc_novzeroupper): Likewise.
41950 * sysdeps/i386/configure: Regenerated.
41951
1a4ac776
JM
41952 [BZ #13883]
41953 * sysdeps/i386/fpu/s_cexp.S: Remove.
41954 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
41955 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
41956 * math/libm-test.inc (cexp_test): Add more tests.
41957 * sysdeps/i386/fpu/libm-test-ulps: Update.
41958 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
41959
a458e7fe
AM
419602012-03-21 Allan McRae <allan@archlinux.org>
41961
41962 * timezone/Makefile: Do not install iso3166.tab and zone.tab
41963
0cb7efc5
JM
419642012-03-21 Joseph Myers <joseph@codesourcery.com>
41965
41966 [BZ #13871]
41967 * math/w_exp2.c: Do not include <float.h>.
41968 (o_threshold, u_threshold): Remove.
41969 (__exp2): Calculate result before checking finiteness and calling
41970 __kernel_standard.
41971 * math/w_exp2f.c: Likewise.
41972 * math/w_exp2l.c: Likewise.
41973 * math/libm-test.inc (exp2_test): Require overflow exception for
41974 1e6 input.
2460d3aa
JM
41975
41976 [BZ #3866]
41977 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
41978 range of signed 64-bit integers before using fistpll. Remove
41979 checks for whether integers fit in mantissa bits.
41980 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
41981 the range of signed 32-bit integers before using fistpl. Remove
41982 checks for whether integers fit in mantissa bits.
41983 * sysdeps/i386/fpu/e_powl.S (p64): New object.
41984 (__ieee754_powl): Test for y outside the range of signed 64-bit
41985 integers before using fistpll. Reduce 64-bit values to 63-bit
41986 ones as needed.
41987 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
41988 divide-by-zero is raised for zero to large negative powers.
41989 * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
41990 (__ieee754_powl): Test for y outside the range of signed 64-bit
41991 integers before using fistpll. Reduce 64-bit values to 63-bit
41992 ones as needed.
41993 * math/libm-test.inc (pow_test): Add more tests.
41994
eb96ffb0
L
419952012-03-20 H.J. Lu <hongjiu.lu@intel.com>
41996
41997 * debug/backtracesymsfd.c: Include <_itoa.h> instead of
41998 <stdio-common/_itoa.h>.
41999 * debug/segfault.c: Likewise.
42000 * elf/dl-cache.c: Likewise.
42001 * elf/dl-minimal.c: Likewise.
42002 * elf/dl-misc.c: Likewise.
42003 * elf/dl-sysdep.c: Likewise.
42004 * elf/dl-version.c: Likewise.
42005 * elf/rtld.c: Likewise.
42006 * hurd/hurdsock.c: Likewise.
42007 * hurd/lookup-retry.c: Likewise.
42008 * malloc/malloc.c: Likewise.
42009 * malloc/mtrace.c: Likewise.
42010 * nscd/nscd_getgr_r.c: Likewise.
42011 * nscd/nscd_getpw_r.c: Likewise.
42012 * nscd/nscd_getserv_r.c: Likewise.
42013 * posix/getopt_init.c: Likewise.
42014 * posix/wordexp.c: Likewise.
42015 * stdio-common/_itoa.c: Likewise.
42016 * stdio-common/printf_fphex.c: Likewise.
42017 * stdio-common/vfprintf.c: Likewise.
42018 * string/_strerror.c: Likewise.
42019 * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
42020 * sysdeps/i386/i686/hp-timing.h: Likewise.
42021 * sysdeps/mach/_strerror.c: Likewise.
42022 * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
42023 * sysdeps/mach/hurd/sethostid.c: Likewise.
42024 * sysdeps/mach/hurd/xmknodat.c: Likewise.
42025 * sysdeps/mach/xpg-strerror.c: Likewise.
42026 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
42027 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
42028 * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
42029 * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
42030 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
42031 * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
42032 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
42033 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
42034 * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
42035 * sysdeps/unix/sysv/linux/futimes.c: Likewise.
42036 * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
42037 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
42038 * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
42039 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
42040 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
42041 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
42042 * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
42043 * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
42044 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
42045 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
42046 * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
42047
42048 * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
42049
42050 * stdio-common/_itoa.h: Moved to ...
42051 * sysdeps/generic/_itoa.h: Here.
42052
42053 * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
42054
42055 * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
42056 instead of "_itoa.h" and "_itowa.h".
42057 * stdio-common/vfprintf.: Likewise.
42058
d1af992d
L
420592012-03-20 H.J. Lu <hongjiu.lu@intel.com>
42060
42061 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
42062 <bits/wordsize.h>.
42063 (__signbitf): Check __x86_64__ instead of __WORDSIZE.
42064 (__signbit): Likwise.
42065 (llrintf): Likwise.
42066 (llrint): Likwise.
42067
114883e0
L
420682012-03-20 H.J. Lu <hongjiu.lu@intel.com>
42069
42070 * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
42071 __WORDSIZE != 64.
42072
c135cc1b
JM
420732012-03-20 Joseph Myers <joseph@codesourcery.com>
42074
42075 * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
42076 OVERFLOW_EXCEPTION_OK.
42077 * math/libm-test.inc ("Philosophy"): Update comment about
42078 exception testing.
42079 (OVERFLOW_EXCEPTION): Define.
42080 (OVERFLOW_EXCEPTION_OK): Likewise.
42081 (INVALID_EXCEPTION_OK): Renumber.
42082 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
42083 (IGNORE_ZERO_INF_SIGN): Likewise.
42084 (test_exceptions): Handle FE_OVERFLOW.
42085 (exp10_test): Expect overflow exceptions.
42086 (exp2_test): Likewise.
42087 (expm1_test): Likewise.
42088 (nextafter_test): Likewise.
42089 (pow_test): Likewise.
42090 (scalbn_test): Likewise.
42091 (scalbln_test): Likewise.
42092
95443d88
L
420932012-03-19 H.J. Lu <hongjiu.lu@intel.com>
42094
42095 * sysdeps/x86_64/bits/atomic.h
42096 (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
42097 64bit integer.
42098 (atomic_exchange_acq): Likewise.
42099 (__arch_exchange_and_add_body): Likewise.
42100 (__arch_add_body): Likewise.
42101 (atomic_add_negative): Likewise.
42102 (atomic_add_zero): Likewise.
42103
490df6c4
L
421042012-03-19 H.J. Lu <hongjiu.lu@intel.com>
42105
c2722551 42106 * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
490df6c4
L
42107 (fenv_t): Check __x86_64__ instead of __WORDSIZE.
42108
5e52b189
L
421092012-03-19 H.J. Lu <hongjiu.lu@intel.com>
42110
42111 * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
42112 Check __x86_64__ instead of __WORDSIZE.
42113
a9879d4c
L
421142012-03-19 H.J. Lu <hongjiu.lu@intel.com>
42115
42116 * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
42117
5df98260
DM
421182012-03-19 David S. Miller <davem@davemloft.net>
42119
e1497744
DM
42120 * sysdeps/sparc/fpu/libm-test-ulps: Update.
42121
5df98260
DM
42122 * sysdeps/sparc/fpu/fenv_private.h: New file.
42123 * sysdeps/sparc/fpu/math_private.h: Use it.
42124 (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
42125 Remove.
57f41c40 42126 (libc_feholdexcept_setround, libc_feholdexcept_setroundf)
5df98260
DM
42127 (libc_feholdexcept_setroundl): Remove.
42128 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
42129 Remove.
42130 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
42131 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
42132
b4c35121
L
421332012-03-19 H.J. Lu <hongjiu.lu@intel.com>
42134
42135 * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
42136 int64_t instead of long int.
42137 (INSERT_WORDS64): Likwise.
42138
56965fd7
L
421392012-03-19 H.J. Lu <hongjiu.lu@intel.com>
42140
42141 * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
42142 _Unwind_GetCFA return to _Unwind_Ptr first.
42143
83d1aec8
JM
421442012-03-19 Joseph Myers <joseph@codesourcery.com>
42145
1897ad44
JM
42146 [BZ #13629]
42147 * math/s_clog.c: Include <float.h>.
42148 (__clog): Scale large or subnormal inputs.
42149 * math/s_clogf.c: Likewise.
42150 * math/s_clogl.c: Likewise.
42151 * math/s_clog10.c: Include <float.h>.
42152 (M_LOG10_2): Define.
42153 (__clog10): Scale large or subnormal inputs.
42154 * math/s_clog10f.c: Likewise.
42155 * math/s_clog10l.c: Likewise.
42156 * math/libm-test.inc (clog_test): Add more tests.
42157 (clog10_test): Likewise.
42158 * sysdeps/i386/fpu/libm-test-ulps: Update.
42159 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
42160
7726d6a9
JM
42161 [BZ #11451]
42162 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
42163 x and y.
42164 * math/libm-test.inc (atan2_test): Add another test.
42165
83d1aec8
JM
42166 * Makerules (common-objdir-compile): Remove.
42167 * sysdeps/unix/Makefile (config-generated): Do not add
42168 $(unix-generated) to variable.
42169 [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
42170 [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
42171 Remove rule.
42172 [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
42173 Likewise.
42174 [generic bits/local_lim.h] (before-compile): Do not append to
42175 variable.
42176 [generic bits/local_lim.h] (common-generated): Likewise.
42177 [generic sys/param.h] (before-compile): Do not append to variable.
42178 [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
42179 [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
42180 [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
42181 [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
42182 include.
42183 [generic sys/param.h] (sys/param.h-includes): Remove variable.
42184 [generic sys/param.h] (sys/param.h-includes): Remove rule.
42185 [generic sys/param.h] ($(addprefix
42186 $(common-objpfx),$(sys/param.h-includes))): Likewise.
42187 [generic sys/param.h] (common-generated): Do not append to
42188 variable.
42189 [generic sys/param.h] (sysdep_headers): Likewise.
42190 [generic bits/errno.h] (before-compile): Do not append to
42191 variable.
42192 [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
42193 rule.
42194 [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
42195 [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
42196 [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
42197 [generic bits/errno.h] (common-generated): Do not append to
42198 variable.
42199 [generic bits/ioctls.h] (before-compile): Do not append to
42200 variable.
42201 [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
42202 rule.
42203 [generic bits/ioctls.h] (ioctl-includes): Remove variable.
42204 [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
42205 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
42206 rule.
42207 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
42208 [generic bits/ioctls.h] (bits_termios.h): Remove variable.
42209 [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
42210 [generic bits/ioctls.h] (common-generated): Do not append to
42211 variable.
42212 [generic sys/syscall.h] (syscall.h): Remove variable.
42213 [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
42214 rule.
42215 [generic sys/syscall.h] (before-compile): Do not append to
42216 variable.
42217 [generic sys/syscall.h] (common-generated): Likewise.
42218 * sysdeps/unix/errnos-tmpl.c: Remove file.
42219 * sysdeps/unix/errnos.awk: Likewise.
42220 * sysdeps/unix/ioctls-tmpl.c: Likewise.
42221 * sysdeps/unix/ioctls.awk: Likewise.
42222 * sysdeps/unix/mk-local_lim.c: Likewise.
42223 * sysdeps/unix/snarf-ioctls: Likewise.
42224
4851a949
RH
422252012-03-19 Richard Henderson <rth@twiddle.net>
42226
bd37f2ee
RH
42227 * sysdeps/i386/fpu/fenv_private.h: New file.
42228 * sysdeps/i386/fpu/math_private.h: Use it.
42229 (math_opt_barrier, math_force_eval): Remove.
42230 (libc_feholdexcept_setround_53bit): Remove.
42231 (libc_feupdateenv_53bit): Remove.
42232 * sysdeps/x86_64/fpu/math_private.h: Likewise.
42233 (math_opt_barrier, math_force_eval): Remove.
42234 (libc_feholdexcept): Remove.
42235 (libc_feholdexcept_setround): Remove.
42236 (libc_fetestexcept, libc_fesetenv): Remove.
42237 (libc_feupdateenv_test): Remove.
42238 (libc_feupdateenv, libc_feholdsetround): Remove.
42239 (libc_feresetround): Remove.
42240
d0adc922
RH
42241 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
42242 * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
42243
0fe0f1f8
RH
42244 * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
42245 (libc_feupdateenv_test, libc_feupdateenv_testf): New.
42246 (libc_feupdateenv_testl): New.
42247 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
42248 (libc_feupdateenv_testf): New.
42249 (libc_feupdateenv): Use libc_feupdateenv_test.
42250 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
42251 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
42252
eb92c487
RH
42253 * sysdeps/generic/math_private.h (libc_feholdsetround): New.
42254 (libc_feholdsetroundf, libc_feholdsetroundl): New.
42255 (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
42256 (libc_feresetround_noex): New.
42257 (libc_feresetround_noexf): New.
42258 (libc_feresetround_noexl): New.
42259 (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
42260 (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
42261 (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
42262 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
42263 SET_RESTORE_ROUND.
42264 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
42265 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
42266 (__cos): Likewise.
42267 * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
42268 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
42269 SET_RESTORE_ROUND_NOEX.
42270 * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
42271 SET_RESTORE_ROUND_NOEXF.
42272 * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
42273 * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
42274 (libc_feholdsetroundf): New.
42275 (libc_feresetround, libc_feresetroundf): New.
42276
7d2e8012
RH
42277 * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
42278 (libc_feholdexcept_setround_53bit): Convert from macro to function.
42279 (libc_feupdateenv_53bit): Likewise. Don't force _FPU_EXTENDED.
42280
b4dabbb4
RH
42281 * sysdeps/generic/math_private.h: Include <fenv.h>.
42282 (default_libc_feholdexcept): New.
42283 (default_libc_feholdexcept_setround): New.
42284 (default_libc_fesetenv, default_libc_feupdateenv): New.
42285 (libc_feholdexcept): Only define if undefined.
42286 (libc_feholdexceptf, libc_feholdexceptl): Likewise.
42287 (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
42288 (libc_feholdexcept_setroundl): Likewise.
42289 (libc_feholdexcept_setround_53bit): Likewise.
42290 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
42291 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
42292 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
42293 (libc_feupdateenv_53bit): Likewise.
42294 * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
42295 (libc_feholdexcept): Convert from macro to inline function.
42296 (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
42297 (libc_fesetenv, libc_feupdateenv): Likewise.
42298
4851a949
RH
42299 * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
42300 not previously defined.
42301 (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
42302 (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
42303 (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
42304 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
42305 * sysdeps/ieee754/flt-32/math_private.h: New file.
42306 * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
42307 math_private.h below SET_FLOAT_WORD.
42308 (__isnan, __isinf_ns, __finite): Remove.
42309 (__isnanf, __isinf_nsf, __finitef): Remove.
42310
e79d442e
AS
423112012-03-18 Andreas Schwab <schwab@linux-m68k.org>
42312
42313 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
42314
90b80344
DM
423152012-03-17 David S. Miller <davem@davemloft.net>
42316
42317 [BZ #6471]
42318 * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
42319 for 2.16.
42320
edc21804
DM
423212012-03-16 David S. Miller <davem@davemloft.net>
42322
77e927af
DM
42323 * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
42324 warnings.
42325
374976dd
DM
42326 [BZ #6471]
42327 * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
42328 properly.
42329 * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
42330 * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
42331 sysdep_routines when subdir is sysvipc.
42332 * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
42333 __getshmlba helper.
42334
edc21804
DM
42335 * sysdeps/sparc/fpu/libm-test/ulps: Update.
42336
473c3ef3
L
423372012-03-16 H.J. Lu <hongjiu.lu@intel.com>
42338
42339 * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
42340 [__LP64__].
42341
eb0f39b6
L
423422012-03-16 H.J. Lu <hongjiu.lu@intel.com>
42343
42344 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
42345 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
42346 (__lround): Renamed to ...
42347 (__llround): This. Replace long int with long long int.
42348 Define lround functions as aliases of llround functions.
42349 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
42350
6b6cd74b
L
423512012-03-16 H.J. Lu <hongjiu.lu@intel.com>
42352
42353 * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
42354 Use greg_t on sp. Use unsigned int on idx_uc_link. Cast
42355 adresses to uintptr_t. Replace "long int" and "unsigned long
42356 int" with "greg_t" on va_arg.
42357
f1a77b01
L
423582012-03-16 H.J. Lu <hongjiu.lu@intel.com>
42359
42360 * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
42361 * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
42362
42363 * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
42364 Move e_machine check before EI_CLASS check. Handle x32
42365 libraries. Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
42366 * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
42367 SKIP_EM_IA_64 and include
42368 <sysdeps/unix/sysv/linux/i386/readelflib.c>.
42369
42370 * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
42371 Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
42372 (add_system_dir): New macro.
42373
42374 * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
42375 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
42376
11b90b9f
JM
423772012-03-16 Joseph Myers <joseph@codesourcery.com>
42378
c36e1d23
JM
42379 [BZ #2551]
42380 [BZ #2552]
42381 [BZ #2553]
42382 [BZ #2554]
42383 [BZ #2562]
42384 [BZ #2563]
42385 [BZ #2565]
42386 [BZ #2566]
42387 [BZ #2576]
42388 * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
42389 (y0): Likewise.
42390 * math/w_j0f.c (j0f): Likewise.
42391 (y0f): Likewise.
42392 * math/w_j0l.c (__j0l): Likewise.
42393 (__y0l): Likewise.
42394 * math/w_j1.c (j1): Likewise.
42395 (y1): Likewise.
42396 * math/w_j1f.c (j1f): Likewise.
42397 (y1f): Likewise.
42398 * math/w_j1l.c (__j1l): Likewise.
42399 (__y1l): Likewise.
42400 * math/w_jn.c (jn): Likewise.
42401 (yn): Likewise.
42402 * math/w_jnf.c (jnf): Likewise.
42403 (ynf): Likewise.
42404 * math/w_jnl.c (__jnl): Likewise.
42405 (__ynl): Likewise.
42406 * math/libm-test.inc (j0_test): Add more tests.
42407 (j1_test): Likewise.
42408 (jn_test): Likewise. Add trailing semicolon to existing test.
42409 (y0_test): Likewise.
42410 (y1_test): Likewise.
42411 * sysdeps/i386/fpu/libm-test-ulps: Update.
42412 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
42413
11b90b9f
JM
42414 [BZ #13851]
42415 [BZ #13854]
42416 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
42417 libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
42418 * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
42419 * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
42420 (__tanl): Set errno for infinite argument.
42421 * sysdeps/i386/fpu/mptan.c: Remove.
42422 * sysdeps/i386/fpu/s_tan.S: Likewise.
42423 * sysdeps/i386/fpu/s_tanl.S: Likewise.
42424 * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
42425 * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
42426 * math/libm-test.inc (tan_test): Add more tests and enable more
42427 tests for double and long double.
42428 * sysdeps/i386/fpu/libm-test-ulps: Update.
42429 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
42430
6a1bd2a1
JK
424312012-03-16 Jan Kratochvil <jan.kratochvil@redhat.com>
42432
42433 * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
42434 (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
42435
10a803e0
RM
424362012-03-16 Roland McGrath <roland@hack.frob.com>
42437
42438 * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
42439 * configure.in: Use it for both main tree and add-ons.
42440 * configure: Regenerated.
42441
f196c7f7
L
424422012-03-16 H.J. Lu <hongjiu.lu@intel.com>
42443
42444 * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
42445
8848d99d
JM
424462012-03-16 Joseph Myers <joseph@codesourcery.com>
42447
96cbe7f4
JM
42448 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
42449 in comment.
42450
8848d99d
JM
42451 [BZ #13851]
42452 * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
42453 * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
42454 * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
42455 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
42456 * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
42457 infinite argument.
42458 * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
42459 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
42460 != 0 for prec == 2.
42461 * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
42462 * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
42463 * sysdeps/i386/fpu/s_cosl.S: Likewise.
42464 * sysdeps/i386/fpu/s_sincosl.S: Likewise.
42465 * sysdeps/i386/fpu/s_sinl.S: Likewise.
42466 * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
42467 * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
42468 * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
42469 * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
42470 * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
42471 * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
42472 * math/libm-test.inc (cos_test): Add more tests and enable more
42473 tests for long double.
42474 (sin_test): Likewise.
42475 (sincos_test): Likewise.
42476 * sysdeps/i386/fpu/libm-test-ulps: Update.
42477 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
42478
dd7f4703
DM
424792012-03-16 David S. Miller <davem@davemloft.net>
42480
42481 * sysdeps/sparc/fpu/math_private.h: New file.
42482
006f1daa
DM
424832012-03-15 David S. Miller <davem@davemloft.net>
42484
c0c83bc8
DM
42485 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
42486 file.
e6a62e18 42487 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
c0c83bc8
DM
42488 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
42489 file.
e6a62e18
DM
42490 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
42491 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
42492 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
42493 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
42494 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
42495 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
42496 sysdep routines.
42497 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
42498
88cb87d9
DM
42499 * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
42500 * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
42501
006f1daa 42502 * sysdeps/sparc/sparc-ifunc.h: New file.
c0c83bc8
DM
42503 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
42504 sparc-ifunc.h
006f1daa 42505 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
c0c83bc8
DM
42506 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
42507 Likewise.
42508 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
42509 Likewise.
006f1daa
DM
42510 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
42511 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
42512 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
c0c83bc8
DM
42513 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
42514 Likewise.
006f1daa
DM
42515 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
42516 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
42517 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
42518 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
c0c83bc8
DM
42519 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
42520 Likewise.
42521 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
42522 Likewise.
006f1daa
DM
42523 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
42524 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
42525 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
42526 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
42527 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
42528 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
42529 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
42530 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
42531 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
42532 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
42533 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
42534 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
42535 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
42536 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
42537 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
42538 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
42539 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
42540 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
42541 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
42542 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
42543 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
42544 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
42545 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
42546 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
42547
11e0098e
AS
425482012-03-15 Andreas Schwab <schwab@linux-m68k.org>
42549
42550 * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
42551 scaling.
42552 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
42553
e85b09d0
AJ
425542012-03-15 Andreas Jaeger <aj@suse.de>
42555
42556 [BZ #13852]
42557 * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
42558 ieee754/flt-32 implementation for sin, cos and sincos.
42559 * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
42560 * sysdeps/i386/fpu/s_cosf.S: Likewise.
42561 * sysdeps/i386/fpu/s_sincosf.S: Likewise.
42562 * sysdeps/i386/fpu/s_sinf.S: Likewise.
42563 * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
42564 ieee754/flt-32 implementation for tan.
42565
42566 * math/libm-test.inc (cos_test): Enable some large input tests for
42567 float as well
42568 (sin_test): Likewise.
42569 (sincos_test): Likewise.
42570 (tan_test): Add tests for large input.
42571
42572 * sysdeps/i386/fpu/libm-test-ulps: Update.
42573
81c64153
AJ
425742012-03-15 Andreas Jaeger <aj@suse.de>
42575
42576 [BZ #13658]
42577 * math/libm-test.inc (cos_test): Add more test cases.
42578 (sin_test): Likewise.
42579 (sincos_test): Likewise.
42580
7bbfa5c6
AJ
425812012-03-15 Andreas Jaeger <aj@suse.de>
42582
42583 [BZ #13837]
42584 * math/libm-test.inc (cos_test): Add a test case for large input
42585 value.
42586 (sin_test): Likewise.
42587 (sincos_test): Likewise.
42588
57f41c40
AS
425892012-03-15 Andreas Jaeger <aj@suse.de>
42590 Joseph Myers <joseph@codesourcery.com>
7bbfa5c6
AJ
42591
42592 [BZ #13658]
0671f479 42593 * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
7bbfa5c6
AJ
42594 x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
42595 * sysdeps/i386/fpu/branred.c: Likewise.
42596 * sysdeps/i386/fpu/dosincos.c: Likewise.
42597 * sysdeps/i386/fpu/mpa.c: Likewise.
42598 * sysdeps/i386/fpu/s_cos.S: Likewise.
42599 * sysdeps/i386/fpu/s_sin.S: Likewise.
42600 * sysdeps/i386/fpu/s_sincos.S: Likewise.
42601 * sysdeps/i386/fpu/sincos32.c: Likewise.
42602
42603 * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
42604 Define.
42605 (libc_feupdateenv_53bit): Define.
42606 * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
42607 Define.
42608 (libc_feupdateenv_53bit): Define.
42609
42610 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
42611 53 bit (without extend i386 double precision).
42612
42613 * math/libm-test.inc (sincos_test): Add tests for large input.
42614 (sin): Likewise.
42615 (cos): Likewise.
42616
42617 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
42618
9cad04ea
AS
426192012-03-15 Andreas Schwab <schwab@linux-m68k.org>
42620
42621 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
42622
f7062b9a
DM
426232012-03-15 David S. Miller <davem@davemloft.net>
42624
42625 * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
42626 * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
42627 * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
42628 * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
42629 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
42630 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
42631 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
42632 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
42633 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
42634 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
42635 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
42636 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
42637 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
42638 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
42639 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
c0c83bc8
DM
42640 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
42641 file.
f7062b9a 42642 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
c0c83bc8
DM
42643 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
42644 file.
f7062b9a 42645 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
c0c83bc8
DM
42646 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
42647 file.
f7062b9a 42648 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
c0c83bc8
DM
42649 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
42650 file.
f7062b9a
DM
42651 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
42652 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
42653 fmin/fmax sysdep routines.
42654 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
42655
7bd951ff
DM
426562012-03-14 David S. Miller <davem@davemloft.net>
42657
559398ab
DM
42658 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
42659 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
42660 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
42661 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
42662 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
42663 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
42664 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
42665 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
42666 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
42667 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
42668 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
42669 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
42670 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
42671 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
42672 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
42673 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
42674 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
42675 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
42676 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
42677 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
42678 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
42679 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
42680 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
42681 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
42682 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
42683 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
42684 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
42685 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
c0c83bc8
DM
42686 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
42687 routines.
42688 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
42689 file.
559398ab 42690 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
c0c83bc8
DM
42691 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
42692 file.
559398ab 42693 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
c0c83bc8
DM
42694 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
42695 file.
559398ab 42696 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
c0c83bc8
DM
42697 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
42698 file.
559398ab 42699 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
c0c83bc8
DM
42700 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
42701 file.
559398ab 42702 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
c0c83bc8
DM
42703 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
42704 file.
42705 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
42706 file.
42707 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
42708 file.
42709 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
42710 file.
42711 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
42712 New file.
42713 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
42714 file.
42715 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
42716 file.
559398ab 42717 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
c0c83bc8
DM
42718 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
42719 file.
559398ab 42720 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
c0c83bc8
DM
42721 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
42722 file.
559398ab 42723 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
c0c83bc8
DM
42724 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
42725 file.
559398ab 42726 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
c0c83bc8
DM
42727 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
42728 VIS3 routines.
559398ab
DM
42729
42730 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
42731 New file.
42732
5a1c1e32
DM
42733 * sysdeps/sparc/fpu/libm-test-ulps: Update.
42734
eae47a36
DM
42735 * sysdeps/sparc/configure.in: New file.
42736 * sysdeps/sparc/configure: Generate.
42737 * configure.in (libc_cv_sparc_as_vis3): Substitute.
42738 * configure: Regenerate.
42739 * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
42740 * config.make.in (have-as-vis3): New.
42741 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
42742 available use -Av9d instead of -Av9a.
42743 * sysdeps/sparc/sparc64/Makefile: Likewise.
42744 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
c0c83bc8
DM
42745 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
42746 New file.
42747 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
42748 file.
42749 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
42750 New file.
42751 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
42752 file.
eae47a36
DM
42753 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
42754 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
42755 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
42756 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
42757 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
42758
c0c83bc8
DM
42759 * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
42760 fzeros/fnegs to load 0x80000000 into a float register instead of
42761 using the stack.
7bd951ff
DM
42762 * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
42763
bd951ccb
JM
427642012-03-14 Joseph Myers <joseph@codesourcery.com>
42765
42766 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
42767 bits/syscall.h.
42768 ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
42769 ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
42770 ($(inst_includedir)/bits/syscall.h): Remove rule.
42771 ($(objpfx)bits/syscall.d): Include instead of
42772 $(objpfx)syscall-list.d.
42773 (generated): Change syscall-list.h and syscall-list.d to
42774 bits/syscall.h and bits/syscall.d.
42775
bb4e6db2
RM
427762012-03-14 Roland McGrath <roland@hack.frob.com>
42777
42778 [BZ #13846]
42779 * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
42780
aa4a2ae1
JM
427812012-03-14 Joseph Myers <joseph@codesourcery.com>
42782
e456826d
JM
42783 [BZ #13841]
42784 * math/s_csqrt.c: Include <float.h>.
42785 (__csqrt): Scale large or subnormal inputs.
42786 * math/s_csqrtf.c: Likewise.
42787 * math/s_csqrtl.c: Likewise.
42788 * math/libm-test.inc (csqrt_test): Add more tests.
42789 * sysdeps/i386/fpu/libm-test-ulps: Update.
42790 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
42791
aa4a2ae1
JM
42792 [BZ #13840]
42793 * math/libm-test.inc (hypot_test): Add more tests.
42794
7c10fd35
DM
427952012-03-13 David S. Miller <davem@davemloft.net>
42796
42797 [BZ #13840]
42798 * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
42799 double-precision for the calculation instead of scaling.
42800
f453b98b
JM
428012012-03-13 Joseph Myers <joseph@codesourcery.com>
42802
42803 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
42804 manipulate bits before adding and subtracting TWO52[sx].
42805 * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
42806 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
42807 Likewise.
42808 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
42809
09a3453f
DM
428102012-03-13 David S. Miller <davem@davemloft.net>
42811
8e59da90
DM
42812 * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
42813 * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
42814 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
42815 rtld-global-offsets.h
42816 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
42817
2a8ab7f2
DM
42818 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
42819 large parameters.
42820
10f62770
DM
42821 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
42822
5f0bdb18
DM
42823 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
42824 'err' in the ifdef scope in which it is actually used.
42825
09a3453f
DM
42826 * nss/nss_db/db-init.c: Include string.h
42827
b4b2eb5e
DM
428282012-03-12 David S. Miller <davem@davemloft.net>
42829
98bb2f1c
DM
42830 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
42831 masking out of the most significant byte of random value used.
42832 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
42833 Fix coding style in previous change.
42834
b4b2eb5e
DM
42835 * sysdeps/unix/sysv/linux/kernel-features.h
42836 (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
42837 (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
42838 expression.
42839 (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
42840 later.
42841
6e226b09
DM
428422012-03-11 David S. Miller <davem@davemloft.net>
42843
a1bcbd40
DM
42844 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
42845 (__makecontext): Fix signedness of pointer casts setting up 'sp'.
42846 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
42847 for 'resultvar' otherwise things get truncated on 64-bit.
42848
cb9d6174
DM
42849 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
42850 Fix masking out of the most significant byte of random value used.
42851
6e226b09
DM
42852 * sysdeps/sparc/fpu/libm-test-ulps: Update.
42853
058c132d
AS
428542012-03-10 Andreas Schwab <schwab@linux-m68k.org>
42855
42856 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
42857
2d2cd515
DM
428582012-03-09 David S. Miller <davem@davemloft.net>
42859
42860 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
42861 variables with appropriate CPP guards.
57f41c40
AS
42862 * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr
42863 from the frame pointer, not the stack pointer. Correct layout
42864 comments. Fix test on resulting framesize and the management of
42865 the outregs buffer for pltexit. Preserve floating point return
42866 values across _dl_call_pltexit call.
2d2cd515
DM
42867 * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
42868 framesize and the management of the outregs buffer for pltexit.
42869 Preserve floating point return values across _dl_call_pltexit
42870 call.
57f41c40
AS
42871 * elf/sotruss-lib.c (la_sparc32_gnu_pltenter)
42872 (la_sparc64_gnu_pltenter, la_sparc32_gnu_pltexit)
42873 (la_sparc64_gnu_pltexit): New functions.
2d2cd515
DM
42874 (print_exit): Fix format string for return register value.
42875
9a07f9d0
JM
428762012-03-10 Joseph Myers <joseph@codesourcery.com>
42877
42878 * sunrpc/Makefile (others): Add rpcgen.
42879 ($(objpfx)rpcgen): Remove special build rule and dependency on
42880 libc.
42881 * sunrpc/rpcgen.c: New file.
42882
547b5e30
PE
428832012-03-09 Paul Eggert <eggert@cs.ucla.edu>
42884
c524201a
PE
42885 [BZ #13673]
42886 * posix/bug-regex33.c: Replace FSF snail mail address with URL.
42887 * stdio-common/bug-vfprintf-nargs.c: Likewise.
42888 * sysdeps/i386/crti.S: Likewise.
42889 * sysdeps/i386/crtn.S: Likewise.
42890 * sysdeps/powerpc/powerpc32/crti.S: Likewise.
42891 * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
42892 * sysdeps/powerpc/powerpc64/crti.S: Likewise.
42893 * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
42894 * sysdeps/sh/crti.S: Likewise.
42895 * sysdeps/sh/crtn.S: Likewise.
42896 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
42897
7b6235f2
PE
42898 [BZ #13673]
42899 * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
42900 with URL.
42901 * locale/programs/locfile-kw.gperf: Likewise.
42902 * locale/programs/charmap-kw.h: Regenerated.
42903 * locale/programs/locfile-kw.h: Likewise.
42904
547b5e30
PE
42905 [BZ #13673]
42906 * intl/plural.y: Replace FSF snail mail address with URL.
42907 * intl/plural.c: Regenerated.
42908
5f0a5dae
RH
429092012-03-09 Richard Henderson <rth@twiddle.net>
42910
42911 * include/math_private.h: Remove file.
42912 * math/math_private.h: Move file ...
42913 * sysdeps/generic/math_private.h: ... here.
42914
b8c03620
RH
42915 * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
42916 * sysdeps/powerpc/fpu/math_private.h: Likewise.
42917 * sysdeps/x86_64/fpu/math_private.h: Likewise.
42918
4e234f5d 42919 * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
33154d7b
RH
42920 and <math_private.h>.
42921 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
42922 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
42923 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
42924 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
42925 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
42926 * sysdeps/ieee754/dbl-64/branred.c: Likewise.
42927 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
42928 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
42929 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
42930 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
42931 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
42932 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
42933 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
42934 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
42935 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
42936 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
42937 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
42938 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
42939 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
42940 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
42941 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
42942 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
42943 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
42944 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
42945 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
42946 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
42947 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
42948 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
42949 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
42950 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
42951 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
42952 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
42953 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
42954 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
42955 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
42956 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
42957 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
42958 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
42959 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
42960 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
42961 * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
42962 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
42963 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
42964 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
42965 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
42966 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
42967 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
42968 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
42969 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
42970 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
42971 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
42972 * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
42973 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
42974 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
42975 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
42976 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
42977 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
42978 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
42979 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
42980 * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
42981 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
42982 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
42983 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
42984 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
42985 * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
42986 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
42987 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
42988 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
42989 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
42990 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
42991 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
42992 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
42993 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
42994 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
42995 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
42996 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
42997 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
42998 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
42999 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
43000 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
43001 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
43002 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
43003 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
43004 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
43005 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
43006 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
43007 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
43008 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
43009 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
43010 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
43011 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
43012 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
43013 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
43014 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
43015 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
43016 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
43017 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
43018 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
43019 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
43020 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
43021 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
43022 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
43023 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
43024 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
43025 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
43026 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
43027 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
43028 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
43029 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
43030 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
43031 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
43032 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
43033 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
43034 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
43035 * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
43036 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
43037 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
43038 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
43039 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
43040 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
43041 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
43042 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
43043 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
43044 * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
43045 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
43046 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
43047 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
43048 * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
43049 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
43050 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
43051 * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
43052 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
43053 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
43054 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
43055 * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
43056 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
43057 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
43058 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
43059 * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
43060 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
43061 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
43062 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
43063 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
43064 * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
43065 * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
43066 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
43067 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
43068 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
43069 * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
43070 * sysdeps/ieee754/k_standard.c: Likewise.
43071 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
43072 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
43073 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
43074 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
43075 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
43076 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
43077 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
43078 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
43079 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
43080 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
43081 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
43082 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
43083 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
43084 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
43085 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
43086 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
43087 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
43088 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
43089 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
43090 * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
43091 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
43092 * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
43093 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
43094 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
43095 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
43096 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
43097 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
43098 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
43099 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
43100 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
43101 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
43102 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
43103 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
43104 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
43105 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
43106 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
43107 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
43108 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
43109 * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
43110 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
43111 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
43112 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
43113 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
43114 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
43115 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
43116 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
43117 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
43118 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
43119 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
43120 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
43121 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
43122 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
43123 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
43124 * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
43125 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
43126 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
43127 * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
43128 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
43129 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
43130 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
43131 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
43132 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
43133 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
43134 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
43135 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
43136 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
43137 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
43138 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
43139 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
43140 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
43141 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
43142 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
43143 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
43144 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
43145 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
43146 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
43147 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
43148 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
43149 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
43150 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
43151 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
43152 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
43153 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
43154 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
43155 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
43156 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
43157 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
43158 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
43159 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
43160 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
43161 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
43162 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
43163 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
43164 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
43165 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
43166 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
43167 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
43168 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
43169 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
43170 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
43171 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
43172 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
43173 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
43174 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
43175 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
43176 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
43177 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
43178 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
43179 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
43180 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
43181 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
43182 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
43183 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
43184 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
43185 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
43186 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
43187 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
43188 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
43189 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
43190 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
43191 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
43192 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
43193 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
43194 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
43195 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
43196 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
43197 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
43198 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
43199 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
43200 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
43201 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
43202 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
43203 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
43204 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
43205 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
43206 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
43207 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
43208 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
43209 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
43210 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
43211 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
43212 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
43213 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
43214 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
43215 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
43216 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
43217 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
43218 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
43219 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
43220 * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
43221 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
43222 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
43223 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
43224 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
43225 * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
43226 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
43227 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
43228 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
43229 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
43230 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
43231 * sysdeps/ieee754/s_lib_version.c: Likewise.
43232 * sysdeps/ieee754/s_matherr.c: Likewise.
43233 * sysdeps/ieee754/s_signgam.c: Likewise.
43234 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
43235 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
43236 * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
43237 * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
43238 * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
43239 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
43240 * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
43241 * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
43242 * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
43243 * sysdeps/powerpc/fpu/s_rint.c: Likewise.
43244 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
43245 * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
43246 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
43247 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
43248 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
43249 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
43250 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
43251 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
43252 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
43253 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
43254 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
1ed0291c 43255
1991fa03
JM
432562012-03-09 Joseph Myers <joseph@codesourcery.com>
43257
43258 * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
43259 * sunrpc/rpc_main.c: Likewise.
43260 * sunrpc/rpc_svcout.c: Likewise.
43261
60d6f5a6
DM
432622012-03-09 David S. Miller <davem@davemloft.net>
43263
43264 * include/math_private.h: New file.
43265
4962050e
JM
432662012-03-09 Joseph Myers <joseph@codesourcery.com>
43267
02a6f887
JM
43268 * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
43269 * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
43270 * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
43271 from <bits/socket_type.h>.
43272 (enum __socket_type): Don't define here.
43273 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
43274 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
43275 bits/socket_type.h.
43276
c6e013c1
JM
43277 [BZ #13566]
43278 * libio/stdio.h (gets): Always declare for C++ up to C++11 without
43279 checking __USE_GNU.
43280
4962050e
JM
43281 * Makerules ($(inst_includedir)/%.h): New rule.
43282 * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
43283 (install-others): Remove variable setting.
43284 ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
43285
38842f45
RH
432862012-03-08 Richard Henderson <rth@twiddle.net>
43287
67bb6da6
RH
43288 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
43289 from macro to inline function; merge with the
43290 !__LIBC_INTERNAL_MATH_INLINES version.
43291 (__ieee754_sqrtf): Likewise.
43292
15194b4b
RH
43293 * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
43294 to inline function.
43295 (__rintf, __floor, __floorf): Likewise.
43296
64e21ede
RH
43297 * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
43298 macro to inline function.
43299 (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
43300
38842f45
RH
43301 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
43302 not <math/math_private.h>.
43303
c64bf5fe
DM
433042012-03-08 David S. Miller <davem@davemloft.net>
43305
43306 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
43307 copyright year.
43308 * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
43309
82d86f28
TS
433102012-03-08 Thomas Schwinge <thomas@codesourcery.com>
43311
43312 * resolv/gai_misc.c (handle_requests): Fix struct timespec
43313 normalization.
43314 * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
43315 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
43316
aea5d727
UD
433172012-03-08 Ulrich Drepper <drepper@gmail.com>
43318
43319 * stdio-common/tst-fphex.c: Various cleanups. The macros cannot
43320 be defined individually, they must be defined as a block. Define
43321 S for printing a string instead of hidint the different by using a
43322 macro for adding the 'l'.
43323 * stdio-common/tst-fphex-wide.c: Adjust.
43324
70bca0a3
MP
433252012-03-07 Marek Polacek <polacek@redhat.com>
43326
43327 * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
43328
65b81130
MP
433292012-03-08 Marek Polacek <polacek@redhat.com>
43330
43331 [BZ #13806]
43332 * stdio-common/Makefile (tests): Add tst-fphex-wide.
43333 * stdio-common/tst-fphex.c: Define a few macros to make the
43334 test reusable. Use them.
43335 * stdio-common/tst-fphex-wide.c: New file.
43336
07037eeb
JM
433372012-03-08 Joseph Myers <joseph@codesourcery.com>
43338
a7a93d50
JM
43339 [BZ #6911]
43340 * manual/macros.texi (gnusystems): New macro.
43341 (nongnusystems): Likewise.
43342 (gnulinuxhurdsystems): Likewise.
43343 (gnuhurdsystems): Likewise..
43344 (gnulinuxsystems): Likewise.
43345 * manual/charset.texi: Use new macros or @theglibc{} to refer to
43346 variants of the GNU system, not "GNU system".
43347 * manual/conf.texi: Likewise.
43348 * manual/errno.texi: Likewise. Update example of errno macro
43349 expansion.
43350 * manual/filesys.texi: Likewise.
43351 (getumask): Document as specific to GNU/Hurd.
43352 * manual/install.texi: Likewise. Reword some references to
43353 GNU/Linux.
43354 * manual/intro.texi: Likewise.
43355 * manual/io.texi: Likewise.
43356 (File Name Portability): Detail which constraints are inapplicable
43357 to all GNU systems and which are only inapplicable to GNU/Hurd.
43358 * manual/job.texi: Likewise.
43359 * manual/llio.texi: Likewise.
43360 (O_NOCTTY): Document as present on GNU/Linux.
43361 * manual/maint.texi: Likewise.
43362 * manual/memory.texi: Likewise.
43363 * manual/pattern.texi: Likewise.
43364 * manual/pipe.texi: Likewise.
43365 * manual/process.texi: Likewise.
43366 * manual/resource.texi: Likewise.
43367 (RUSAGE_CHILDREN): Remove statement about specifying a particular
43368 child on GNU/Hurd.
43369 * manual/setjmp.texi: Likewise.
43370 * manual/signal.texi: Likewise.
43371 * manual/startup.texi: Likewise.
43372 * manual/stdio.texi: Likewise.
43373 * manual/terminal.texi: Likewise.
43374 (ONLCR): Document as POSIX.
43375 (OXTABS): Document availability on GNU/Linux as XTABS.
43376 (ONOEOT): Document availability separately from other bits.
43377 (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
43378 * manual/time.texi: Likewise.
43379 * manual/users.texi: Likewise.
43380 * INSTALL: Regenerated.
43381 * sysdeps/gnu/errlist.c: Regenerated.
43382
07037eeb
JM
43383 * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
43384 * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
43385 (libc_cv_ctors_header): Likewise. Use asm ("") instead of calling
43386 puts.
43387 * configure: Regenerated.
43388
d1d3431a
JM
433892012-03-07 Joseph Myers <joseph@codesourcery.com>
43390
af6a1e37
JM
43391 * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
43392 default includes instead of AC_HEADER_CHECK.
43393 * sysdeps/i386/configure: Regenerated.
43394
d1d3431a
JM
43395 [BZ #10716]
43396 * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
43397 * math/s_cacoshf.c (__cacoshf): Likewise.
43398 * math/s_cacoshl.c (__cacoshl): Likewise.
43399 * math/s_casinh.c (__casinh): Set signs of result from argument.
43400 * math/s_casinhf.c (__casinhf): Likewise.
43401 * math/s_casinhl.c (__casinhl): Likewise.
43402 * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
43403 (casinh_test): Add more tests.
43404 * sysdeps/i386/fpu/libm-test-ulps: Update.
43405 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
43406
482ff4da
UD
434072012-03-07 Ulrich Drepper <drepper@gmail.com>
43408
872fda05
UD
43409 * po/zh_TW.po: Update from translation team.
43410
a4300c7a
UD
43411 * login/Makefile (distribute): Remove variable.
43412 * catgets/Makefile: Likewise.
43413 * mach/Makefile: Likewise.
43414 * malloc/Makefile: Likewise.
43415 * misc/Makefile: Likewise.
43416 * iconv/Makefile: Likewise.
43417 * nscd/Makefile: Likewise.
43418 * hurd/Makefile: Likewise.
43419 * manual/Makefile: Likewise.
43420 * locale/Makefile: Likewise.
43421 * intl/Makefile: Likewise.
43422 * conform/Makefile: Likewise.
43423 * nss/Makefile: Likewise.
43424 * time/Makefile: Likewise.
43425 * soft-fp/Makefile: Likewise.
43426 * dirent/Makefile: Likewise.
43427 * gmon/Makefile: Likewise.
43428 * po/Makefile: Likewise.
43429 * rt/Makefile: Likewise.
43430 * socket/Makefile: Likewise.
43431 * math/Makefile: Likewise.
43432 * signal/Makefile: Likewise.
43433 * debug/Makefile: Likewise.
43434 * elf/Makefile: Likewise.
43435 * timezone/Makefile: Likewise.
43436 * stdlib/Makefile: Likewise.
43437 * iconvdata/Makefile: Likewise.
43438 * sunrpc/Makefile: Likewise.
43439 * io/Makefile: Likewise.
43440 * argp/Makefile: Likewise.
43441 * inet/Makefile: Likewise.
43442 * hesiod/Makefile: Likewise.
43443 * grp/Makefile: Likewise.
43444 * csu/Makefile: Likewise.
43445 * wctype/Makefile: Likewise.
43446 * crypt/Makefile: Likewise.
43447 * libio/Makefile: Likewise.
43448 * string/Makefile: Likewise.
43449 * nis/Makefile: Likewise.
43450 * resolv/Makefile: Likewise.
43451 * stdio-common/Makefile: Likewise.
43452 * wcsmbs/Makefile: Likewise.
43453 * dlfcn/Makefile: Likewise.
43454 * posix/Makefile: Likewise.
43455
3b7c4e74 43456 [BZ #6959]
482ff4da
UD
43457 * timezone/Makefile: Don't install timezone files, just the programs
43458 and scripts.
43459
f72ed77d
UD
434602012-03-06 Ulrich Drepper <drepper@gmail.com>
43461
a000466f
UD
43462 * nss/databases.def: Add missing gshadow entry.
43463
f72ed77d
UD
43464 * stdio-common/vfprintf.c: Fix formatting. Missing copyright update.
43465
a53b7a4e
MP
434662012-03-06 Marek Polacek <polacek@redhat.com>
43467
43468 [BZ #13726]
43469 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
43470 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
43471 * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
43472 * stdio-common/tst-long-dbl-fphex.c: New file.
43473
e9258400
DM
434742012-03-06 David S. Miller <davem@davemloft.net>
43475
43476 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
43477 (set_obp_int): New function.
43478 (get_obp_int): New function.
43479 (__get_clockfreq_via_dev_openprom): Likewise.
f72ed77d
UD
43480 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
43481 Avoid unused variable warnings on 'val' and use builtin_expect.
43482 (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
43483 __builtin_expect.
e9258400
DM
43484 (INLINE_CLONE_SYSCALL): Likewise.
43485
3bd2c723
DM
434862012-03-05 David S. Miller <davem@davemloft.net>
43487
43488 * sysdeps/sparc/fpu/libm-test-ulps: Update.
43489
bbb78d03
AS
434902012-03-05 Andreas Schwab <schwab@linux-m68k.org>
43491
884c5db4
AS
43492 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
43493
bbb78d03
AS
43494 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
43495 only for |x| >= 40.
43496 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
43497
1c9f702a 434982012-03-05 H.J. Lu <hongjiu.lu@intel.com>
8542dee3
L
43499
43500 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
43501 Replace gettimeofday with __vdso_gettimeofday.
43502
7be16f82
RM
43503 * sysdeps/unix/sysv/linux/x86_64/init-first.c
43504 (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
43505 __vdso_clock_gettime and __vdso_getcpu.
8542dee3
L
43506
43507 * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
43508 time with __vdso_time.
43509
ed58a00f
JM
435102012-03-05 Joseph Myers <joseph@codesourcery.com>
43511
43512 * manual/lang.texi (size_t): Note types to which size_t may be
43513 equivalent with the GNU C Library, but do not describe when
43514 differences between them are significant.
43515
30ee4ced
AJ
435162012-03-05 Andreas Jaeger <aj@suse.de>
43517
43518 * sysdeps/i386/fpu/libm-test-ulps: Update.
43519
b7cd39e8
JM
435202012-03-05 Joseph Myers <joseph@codesourcery.com>
43521
43522 [BZ #3976]
43523 * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
43524 (__ieee754_pow): Save and restore rounding mode and use
43525 round-to-nearest for main computations.
43526 * math/libm-test.inc (pow_test_tonearest): New function.
43527 (pow_test_towardzero): Likewise.
43528 (pow_test_downward): Likewise.
43529 (pow_test_upward): Likewise.
43530 (main): Call the new functions.
43531 * sysdeps/i386/fpu/libm-test-ulps: Update.
43532 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
ca811b22
JM
43533
43534 [BZ #3976]
43535 * math/libm-test.inc (cosh_test_tonearest): New function.
43536 (cosh_test_towardzero): Likewise.
43537 (cosh_test_downward): Likewise.
43538 (cosh_test_upward): Likewise.
43539 (sinh_test_tonearest): Likewise.
43540 (sinh_test_towardzero): Likewise.
43541 (sinh_test_downward): Likewise.
43542 (sinh_test_upward): Likewise.
43543 (main): Call the new functions.
43544 * sysdeps/i386/fpu/libm-test-ulps: Update.
43545 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
43546
6c6a98c9
TV
435472012-03-05 Tom de Vries <tom@codesourcery.com>
43548
43549 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
43550 default stack guard is set in last bytes.
43551 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
43552
21bb2d2e 435532012-03-05 Kees Cook <keescook@chromium.org>
7c1f4834 43554
21bb2d2e 43555 * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
fa035517 43556
21bb2d2e
AJ
43557 [BZ #13656]
43558 * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
43559 possibly allocate from heap instead of stack.
43560 * stdio-common/bug-vfprintf-nargs.c: New file.
43561 * stdio-common/Makefile (tests): Add nargs overflow test.
7c1f4834 43562
c6922934
AS
435632012-03-03 Andreas Schwab <schwab@linux-m68k.org>
43564
43565 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
43566
bc957d53
MP
435672012-03-03 Marek Polacek <polacek@redhat.com>
43568
43569 * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
43570 * math/math_private.h: Likewise.
43571 * stdlib/tst-strtod.c: Likewise.
43572 * sysdeps/i386/i486/bits/atomic.h: Likewise.
43573 * sysdeps/x86_64/bits/atomic.h: Likewise.
43574
6358490d
DM
435752012-03-02 David S. Miller <davem@davemloft.net>
43576
43577 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
43578 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
43579 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
43580 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
43581 * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
43582 * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
43583 * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
43584 * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
43585
01ae168d
RM
435862012-03-02 Roland McGrath <roland@hack.frob.com>
43587
d9a17c07
RM
43588 [BZ #13792]
43589 * manual/examples/README: New file, says the example source files
43590 can be used under GPL>=2.
43591 * manual/Makefile (%.c.texi): Eat the leading part of the file until a
43592 line containing just "*/".
43593 * manual/examples/add.c: Add copyright header (GPL>=2).
43594 * manual/examples/argp-ex1.c: Likewise.
43595 * manual/examples/argp-ex2.c: Likewise.
43596 * manual/examples/argp-ex3.c: Likewise.
43597 * manual/examples/argp-ex4.c: Likewise.
43598 * manual/examples/atexit.c: Likewise.
43599 * manual/examples/db.c: Likewise.
43600 * manual/examples/dir.c: Likewise.
43601 * manual/examples/dir2.c: Likewise.
43602 * manual/examples/execinfo.c: Likewise.
43603 * manual/examples/filecli.c: Likewise.
43604 * manual/examples/filesrv.c: Likewise.
43605 * manual/examples/fmtmsgexpl.c: Likewise.
43606 * manual/examples/genpass.c: Likewise.
43607 * manual/examples/inetcli.c: Likewise.
43608 * manual/examples/inetsrv.c: Likewise.
43609 * manual/examples/isockad.c: Likewise.
43610 * manual/examples/longopt.c: Likewise.
43611 * manual/examples/memopen.c: Likewise.
43612 * manual/examples/memstrm.c: Likewise.
43613 * manual/examples/mkfsock.c: Likewise.
43614 * manual/examples/mkisock.c: Likewise.
43615 * manual/examples/mygetpass.c: Likewise.
43616 * manual/examples/pipe.c: Likewise.
43617 * manual/examples/popen.c: Likewise.
43618 * manual/examples/rprintf.c: Likewise.
43619 * manual/examples/search.c: Likewise.
43620 * manual/examples/select.c: Likewise.
43621 * manual/examples/setjmp.c: Likewise.
43622 * manual/examples/sigh1.c: Likewise.
43623 * manual/examples/sigusr.c: Likewise.
43624 * manual/examples/stpcpy.c: Likewise.
43625 * manual/examples/strdupa.c: Likewise.
43626 * manual/examples/strftim.c: Likewise.
43627 * manual/examples/strncat.c: Likewise.
43628 * manual/examples/subopt.c: Likewise.
43629 * manual/examples/swapcontext.c: Likewise.
43630 * manual/examples/termios.c: Likewise.
43631 * manual/examples/testopt.c: Likewise.
43632 * manual/examples/testpass.c: Likewise.
43633 * manual/examples/timeval_subtract.c: Likewise.
43634
01ae168d
RM
43635 [BZ #13792]
43636 * manual/time.texi (Elapsed Time): Move timeval_subtract example
43637 function to ...
43638 * manual/timeval_subtract.c.texi: ... here, new file.
43639
49efa33d
DM
436402012-03-02 David S. Miller <davem@davemloft.net>
43641
43642 * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
43643
28afd92d
JM
436442012-03-02 Joseph Myers <joseph@codesourcery.com>
43645
804360ed
JM
43646 [BZ #3976]
43647 * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
43648 (__sin): Save and restore rounding mode and use round-to-nearest
43649 for all computations.
43650 (__cos): Save and restore rounding mode and use round-to-nearest
43651 for all computations.
43652 * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
43653 <fenv.h>.
43654 (tan): Save and restore rounding mode and use round-to-nearest for
43655 all computations.
43656 * math/libm-test.inc (cos_test_tonearest): New function.
43657 (cos_test_towardzero): Likewise.
43658 (cos_test_downward): Likewise.
43659 (cos_test_upward): Likewise.
43660 (sin_test_tonearest): Likewise.
43661 (sin_test_towardzero): Likewise.
43662 (sin_test_downward): Likewise.
43663 (sin_test_upward): Likewise.
43664 (tan_test_tonearest): Likewise.
43665 (tan_test_towardzero): Likewise.
43666 (tan_test_downward): Likewise.
43667 (tan_test_upward): Likewise.
43668 (main): Call the new functions.
43669 * sysdeps/i386/fpu/libm-test-ulps: Update.
43670 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
43671
a6d06d7b
JM
43672 [BZ #10135]
43673 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
43674 small n, then large n, before computing and testing k+n.
43675 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
43676 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
43677 Likewise.
43678 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
43679 Likewise.
43680 * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
43681 * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
43682 * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
43683 * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
43684 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
43685 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
43686 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
43687 * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
43688 * math/libm-test.inc (scalbn_test): Add more tests.
43689 (scalbln_test): Likewise.
43690
07e12bb3
JM
43691 * manual/filesys.texi (mode_t): Describe constraints on size and
43692 signedness, not exact equivalence to a particular type.
43693 (ino_t): Likewise.
43694 (ino64_t): Likewise.
43695 (dev_t): Likewise.
43696 (nlink_t): Likewise.
43697 (blkcnt_t): Likewise.
43698 (blkcnt64_t): Likewise.
43699 * manual/llio.texi (off_t): Likewise.
43700
28afd92d
JM
43701 [BZ #3976]
43702 * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
43703 (__ieee754_exp): Save and restore rounding mode and use
43704 round-to-nearest for all computations.
43705 * math/libm-test.inc (exp_test_tonearest): New function.
43706 (exp_test_towardzero): Likewise.
43707 (exp_test_downward): Likewise.
43708 (exp_test_upward): Likewise.
43709 (main): Call the new functions.
43710 * sysdeps/i386/fpu/libm-test-ulps: Update.
43711 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
43712
b1eeb65d
CD
437132012-03-01 Chris Demetriou <cgd@google.com>
43714
43715 * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
43716 have predictable order.
43717
53362a4b
DM
437182012-03-01 David S. Miller <davem@davemloft.net>
43719
3c969083
DM
43720 * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
43721
759707de
DM
43722 * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
43723 * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
43724 * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
43725 * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
43726
dfdb8ff2
DM
43727 * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
43728 * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
43729 * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
43730 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
43731 * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
43732 * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
43733 * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
43734 * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
43735 * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
43736
ead89f96
DM
43737 * sysdeps/sparc/fpu/libm-test-ulps: Update.
43738
7f66bd07
DM
43739 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
43740 * sysdeps/sparc/fpu/libm-test-ulps: to here.
43741 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
43742
53362a4b
DM
43743 * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
43744 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
43745 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
43746 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
43747 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
43748 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
43749 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
43750 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
43751 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
43752 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
43753 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
43754 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
43755 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
43756 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
43757 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
43758 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
43759 * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
43760 * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
43761 * sysdeps/sparc/elf/configure: Regenerated.
43762
7b1902cb
JM
437632012-03-01 Joseph Myers <joseph@codesourcery.com>
43764
bec039bc
JM
43765 * configure.in (AS, LD): Require binutils 2.20 or later.
43766 * configure: Regenerated.
43767 * manual/install.texi (Tools for Compilation): Give binutils 2.20
43768 as required minimum version.
43769 * INSTALL: Regenerated.
43770
7b1902cb
JM
43771 [BZ #2541]
43772 [BZ #4108]
43773 * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
43774 before squaring exponent.
43775 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
43776 bottom long double and 27 bits of top long double before squaring
43777 exponent.
43778 * math/libm-test.inc (erfc_test): Add more tests.
43779 * sysdeps/i386/fpu/libm-test-ulps: Update.
43780 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
43781 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
43782
f775c276
KT
437832012-03-01 Kai Tietz <ktietz@redhat.com>
43784
43785 * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
43786 * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
43787 containing bit-fields.
43788 * soft-fp/extended.h (_FP_UNION_E): Likewise.
43789 * soft-fp/single.h (_FP_UNION_S): Likewise.
43790 * soft-fp/double.h (_FP_UNION_D): Likewise.
43791
5b8a4d4a
JM
437922012-02-29 Joseph Myers <joseph@codesourcery.com>
43793
0bab47b6
JM
43794 [BZ #13786]
43795 * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
43796 not include ../strcmp.S.
43797 [USE_AS_STRNCASECMP_L]: Likewise.
43798 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
43799 (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
43800 * sysdeps/i386/i686/multiarch/strncase_l-c.c
43801 (__strncasecmp_l_ia32): Define as alias to
43802 __strncasecmp_l_nonascii.
43803
0fcad3e2
JM
43804 [BZ #5794]
43805 * math/libm-test.inc (expm1_test): Add test for bug 5794.
43806 * sysdeps/i386/fpu/libm-test-ulps: Update.
43807 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
43808
5b8a4d4a
JM
43809 * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
43810 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
43811
8fdceb2e
JL
438122012-02-29 Jeff Law <law@redhat.com>
43813
43814 * resolv/res_query.c (__libc_res_nquerydomain): Avoid
43815 out of bounds read.
43816
1f393a11
MP
438172012-02-29 Marek Polacek <polacek@redhat.com>
43818
43819 [BZ #13706]
43820 * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
43821 * elf/Makefile: Add rules to run tst-unused-dep.out.
43822
8847f037
DM
438232012-02-28 David S. Miller <davem@davemloft.net>
43824
43825 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
43826 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
43827 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
43828 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
43829 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
43830 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
43831
169d7f11
JM
438322012-02-29 Joseph Myers <joseph@codesourcery.com>
43833
43834 * math/libm-test.inc (llround_test): Move one test from
43835 lround_test. Use TEST_f_L in moved test.
43836 (lround_test): Move misplaced test to llround_test. Add testcase
43837 from bug 2561.
43838
39adf059
UD
438392012-02-28 Ulrich Drepper <drepper@gmail.com>
43840
43841 * sysdeps/x86_64/fpu/e_expf.S: New file.
43842 Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
43843
71b5d1c5
SB
438442012-02-28 Stanislav Brabec <sbrabec@suse.cz>
43845
43846 [BZ #13637]
43847 * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
43848 of remain_len that may cause incomplete multi-byte character and
43849 false match.
43850 * posix/bug-regex33.c: New file.
43851 * posix/Makefile (tests): Add bug-regex33.
43852
1f77f049
JM
438532012-02-28 Joseph Myers <joseph@codesourcery.com>
43854
43855 * manual/macros.texi: New file.
43856 * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
43857 * manual/libc.texinfo: Include macros.texi.
43858 * manual/creatute.texi: Likewise.
43859 * manual/install.texi: Likewise.
43860 * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
43861 @glibcadj{} in references to the GNU C Library.
43862 * manual/charset.texi: Likewise.
43863 * manual/conf.texi: Likewise.
43864 * manual/contrib.texi: Likewise. Consistently use "GNU C Library"
43865 when not using those macros.
43866 * manual/creature.texi: Likewise.
43867 * manual/crypt.texi: Likewise.
43868 * manual/errno.texi: Likewise.
43869 * manual/filesys.texi: Likewise.
43870 * manual/header.texi: Likewise.
43871 * manual/install.texi: Likewise.
43872 * manual/intro.texi: Likewise.
43873 * manual/io.texi: Likewise.
43874 * manual/job.texi: Likewise.
43875 * manual/lang.texi: Likewise.
43876 * manual/libc.texiinfo: Likewise.
43877 * manual/llio.texi: Likewise.
43878 * manual/locale.texi: Likewise.
43879 * manual/maint.texi: Likewise.
43880 * manual/math.texi: Likewise.
43881 * manual/memory.texi: Likewise.
43882 * manual/message.texi: Likewise.
43883 * manual/nss.texi: Likewise.
43884 * manual/pattern.texi: Likewise.
43885 * manual/process.texi: Likewise.
43886 * manual/resource.texi: Likewise.
43887 * manual/search.texi: Likewise.
43888 * manual/setjmp.texi: Likewise.
43889 * manual/signal.texi: Likewise.
43890 * manual/socket.texi: Likewise.
43891 * manual/startup.texi: Likewise.
43892 * manual/stdio.texi: Likewise.
43893 * manual/string.texi: Likewise.
43894 * manual/sysinfo.texi: Likewise.
43895 * manual/syslog.texi: Likewise.
43896 * manual/terminal.texi: Likewise.
43897 * manual/time.texi: Likewise.
43898 * manual/users.texi: Likewise.
43899 * INSTALL: Regenerated.
43900 * NOTES: Regenerated.
d40c5d54 43901 * sysdeps/gnu/errlist.c: Regenerated.
1f77f049 43902
450bf206
AS
439032012-02-28 Andreas Schwab <schwab@linux-m68k.org>
43904
43905 * include/dirent.h: Include <dirstream.h> before
43906 <dirent/dirent.h>.
43907
741a235b
DM
439082012-02-28 David S. Miller <davem@davemloft.net>
43909
43910 * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
43911 * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
43912 * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
43913 * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
43914
d6b5aa58
DM
439152012-02-27 David S. Miller <davem@davemloft.net>
43916
1aff59a3
DM
43917 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
43918 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
43919 * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
43920 * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
43921
d6b5aa58
DM
43922 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
43923 frame pointer instead of stack pointer relative arg slot.
43924 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
43925 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
43926 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
43927
433f48bf
CD
439282012-02-27 Carlos O'Donell <carlos_odonell@mentor.com>
43929
43930 [BZ #3992]
43931 * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
43932
d674b76d
DM
439332012-02-27 David S. Miller <davem@davemloft.net>
43934
43935 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
43936 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
43937 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
43938 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
43939 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
43940 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
43941 * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
43942 * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
43943
0e7727f7
JM
439442012-02-27 Joseph Myers <joseph@codesourcery.com>
43945
43946 * configure.in (CC): Restrict allowed GCC versions to 4.3 and
43947 later. Allow versions 5-9.
43be4ca2 43948 * configure: Regenerated.
0e7727f7
JM
43949 * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
43950 required minimum version and 4.6 as recommended version. Do not
43951 mention bugs in GCC 2.7 and 2.8.
43be4ca2 43952 * INSTALL: Regenerated.
0e7727f7 43953
a78bc654
DM
439542012-02-27 David S. Miller <davem@davemloft.net>
43955
428d5830
DM
43956 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
43957 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
43958 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
43959 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
43960 * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
43961 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
43962 * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
43963 * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
43964
a78bc654
DM
43965 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
43966 manipulate bits before adding and subtracting TWO112[sx].
43967 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
43968
4579f81c
RM
439692012-02-27 Roland McGrath <roland@hack.frob.com>
43970
36c8acb4
RM
43971 [BZ #13775]
43972 * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
43973 [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
43974 * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
43975 being in POSIX, because they are in 1003.1-2008.
43976
84ad622b
RM
43977 * rt/tst-aio.c: Include <fcntl.h>.
43978 * rt/tst-aio7.c: Likewise.
43979 * rt/tst-aio64.c: Likewise.
43980
4579f81c
RM
43981 * stdio-common/tst-fmemopen.c (main): Remove spurious const.
43982
abd923db
JM
439832012-02-27 Joseph Myers <joseph@codesourcery.com>
43984
43985 * manual/install.texi (--with-headers): Describe headers as
43986 interface headers, not private headers.
43987 (Specific advice for GNU/Linux systems): Describe use of headers
43988 from "make headers_install", not private headers from older
43989 kernels.
43be4ca2 43990 * INSTALL: Regenerated.
abd923db
JM
43991 * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
43992 Change to 2.6.19.
43993 * sysdeps/unix/sysv/linux/configure: Regenerated.
43994
6664049b
JM
43995 * manual/llio.texi (fclean): Remove documentation.
43996
bb8b6697
JM
43997 * manual/Makefile (libc-texi-generated): New variable. Include
43998 version.texi.
43999 (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
44000 $(libc-texi-generated), not duplicated list of files.
44001 (version.texi, stamp-version): New rules.
44002 (realclean): Remove $(libc-texi-generated), not individual files
44003 from that list. Do not remove dir-add.texinfo.
44004 * manual/libc.texinfo: Comment out uses of edition numbers and
44005 references to printed manual. Remove last-updated dates.
44006 (EDITION): Comment out.
44007 (ISBN): Likewise.
44008 (VERSION, UPDATED): Remove.
44009 (version.texi): Include.
44010
12e5c3b9
AS
440112012-02-27 Andreas Schwab <schwab@linux-m68k.org>
44012
44013 * sysdeps/posix/spawni.c: Include <signal.h>.
44014 * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
44015 * sysdeps/pthread/aio_fsync.c: Likewise.
44016
4efeffc1 440172012-02-26 Ulrich Drepper <drepper@gmail.com>
d94a4670 44018
ba63ba08
UD
44019 * conform/Makefile (tests): Run only when not cross-compiling and
44020 when fast-check is not defined.
44021
d94a4670
UD
44022 * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
44023 * conform/data/limits.h-data: Fixes for POSIX2008.
44024 * conform/run-conformtest.sh: Run all tests.
44025 * include/arpa/inet.h: Changes to allow conformtest.pl to use the
44026 headers.
44027 * include/bits/dlfcn.h: Likewise.
44028 * include/langinfo.h: Likewise.
44029 * include/monetary.h: Likewise.
44030 * include/sys/poll.h: Likewise.
44031
44032 * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
44033 for __USE_GNU.
44034 * posix/spawn.h: Define __need_sigset_t.
44035 * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
44036 * posix/unistd.h: Declare ctermid only for XPG before XPG6.
44037 * rt/aio.h: Don't include fcntl.h and signal.h. Use bits/siginfo.h
44038 to get sigevent_t only.
44039 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
44040 only for __USE_GNU.
44041 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
44042 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
44043 process_vm_writev only for __USE_GNU.
44044 * termios/termios.h: Declare tcgetsid also for POSIX2008.
4efeffc1
UD
44045
44046 * conform/Makefile: For now ignore errors from run-conformtest.
44047 * conform/conformtest.pl: Simplify code. Add -ansi to CFLAGS for
44048 POSIX to avoid namespace pollution. Don't prepend headers.
44049 * conform/data/aio.h-data: Fixes for POSIX testing.
44050 * conform/data/fcntl.h-data: Likewise.
44051 * conform/data/glob.h-data: Likewise.
44052 * conform/data/grp.h-data: Likewise.
44053 * conform/data/pthread.h-data: Likewise.
44054 * conform/data/pwd.h-data: Likewise.
44055 * conform/data/signal.h-data: Likewise.
44056 * conform/data/spawn.h-data: Likewise.
44057 * conform/data/stdio.h-data: Likewise.
44058 * conform/data/stdlib.h-data: Likewise.
44059 * conform/data/stropts.h-data: Likewise.
44060 * conform/data/sys/mman.h-data: Likewise.
44061 * conform/data/sys/stat.h-data: Likewise.
44062 * conform/data/sys/types.h-data: Likewise.
44063 * conform/data/sys/wait.h-data: Likewise.
44064 * conform/data/time.h-data: Likewise.
44065 * conform/data/unistd.h-data: Likewise.
44066 * conform/data/utime.h-data: Likewise.
44067
44068 * io/sys/stat.h: fchmod was always in POSIX.
44069 * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
44070 * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
44071 * rt/aio.h: Define __need_timespec before including <time.h>.
44072 * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
44073 struct. Add forward declaration of pthread_attr_t and use it in
44074 sigevent.
44075 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
44076 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
44077 * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
44078 always remove CLK_TCK definition.
44079
c20105c3
AS
440802012-02-26 Andreas Schwab <schwab@linux-m68k.org>
44081
44082 * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
44083
7a270350
UD
440842012-02-25 Ulrich Drepper <drepper@gmail.com>
44085
31341567
UD
44086 * conform/run-conformtest.sh: New file.
44087 * conform/Makefile: Run run-conformtest for tests.
44088 * conform/conformtest.pl: Many bug fixes. Add ISO C99, ISO C11
44089 support.
44090
44091 * conform/data/uchar.h-data: New file.
44092 * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
44093 * conform/data/arpa/inet.h-data: Likewise.
44094 * conform/data/assert.h-data: Likewise.
44095 * conform/data/complex.h-data: Likewise.
44096 * conform/data/cpio.h-data: Likewise.
44097 * conform/data/ctype.h-data: Likewise.
44098 * conform/data/dirent.h-data: Likewise.
44099 * conform/data/dlfcn.h-data: Likewise.
44100 * conform/data/errno.h-data: Likewise.
44101 * conform/data/fcntl.h-data: Likewise.
44102 * conform/data/float.h-data: Likewise.
44103 * conform/data/fmtmsg.h-data: Likewise.
44104 * conform/data/fnmatch.h-data: Likewise.
44105 * conform/data/ftw.h-data: Likewise.
44106 * conform/data/glob.h-data: Likewise.
44107 * conform/data/grp.h-data: Likewise.
44108 * conform/data/iconv.h-data: Likewise.
44109 * conform/data/inttypes.h-data: Likewise.
44110 * conform/data/langinfo.h-data: Likewise.
44111 * conform/data/libgen.h-data: Likewise.
44112 * conform/data/limits.h-data: Likewise.
44113 * conform/data/locale.h-data: Likewise.
44114 * conform/data/math.h-data: Likewise.
44115 * conform/data/monetary.h-data: Likewise.
44116 * conform/data/mqueue.h-data: Likewise.
44117 * conform/data/ndbm.h-data: Likewise.
44118 * conform/data/net/if.h-data: Likewise.
44119 * conform/data/netdb.h-data: Likewise.
44120 * conform/data/netinet/in.h-data: Likewise.
44121 * conform/data/nl_types.h-data: Likewise.
44122 * conform/data/poll.h-data: Likewise.
44123 * conform/data/pthread.h-data: Likewise.
44124 * conform/data/pwd.h-data: Likewise.
44125 * conform/data/regex.h-data: Likewise.
44126 * conform/data/sched.h-data: Likewise.
44127 * conform/data/search.h-data: Likewise.
44128 * conform/data/semaphore.h-data: Likewise.
44129 * conform/data/setjmp.h-data: Likewise.
44130 * conform/data/signal.h-data: Likewise.
44131 * conform/data/spawn.h-data: Likewise.
44132 * conform/data/stdarg.h-data: Likewise.
44133 * conform/data/stdio.h-data: Likewise.
44134 * conform/data/stdlib.h-data: Likewise.
44135 * conform/data/string.h-data: Likewise.
44136 * conform/data/strings.h-data: Likewise.
44137 * conform/data/stropts.h-data: Likewise.
44138 * conform/data/sys/ipc.h-data: Likewise.
44139 * conform/data/sys/mman.h-data: Likewise.
44140 * conform/data/sys/msg.h-data: Likewise.
44141 * conform/data/sys/resource.h-data: Likewise.
44142 * conform/data/sys/select.h-data: Likewise.
44143 * conform/data/sys/sem.h-data: Likewise.
44144 * conform/data/sys/shm.h-data: Likewise.
44145 * conform/data/sys/socket.h-data: Likewise.
44146 * conform/data/sys/stat.h-data: Likewise.
44147 * conform/data/sys/statvfs.h-data: Likewise.
44148 * conform/data/sys/time.h-data: Likewise.
44149 * conform/data/sys/timeb.h-data: Likewise.
44150 * conform/data/sys/times.h-data: Likewise.
44151 * conform/data/sys/types.h-data: Likewise.
44152 * conform/data/sys/uio.h-data: Likewise.
44153 * conform/data/sys/un.h-data: Likewise.
44154 * conform/data/sys/utsname.h-data: Likewise.
44155 * conform/data/sys/wait.h-data: Likewise.
44156 * conform/data/syslog.h-data: Likewise.
44157 * conform/data/tar.h-data: Likewise.
44158 * conform/data/termios.h-data: Likewise.
44159 * conform/data/utime.h-data: Likewise.
44160 * conform/data/utmpx.h-data: Likewise.
44161 * conform/data/varargs.h-data: Likewise.
44162 * conform/data/wchar.h-data: Likewise.
44163 * conform/data/wctype.h-data: Likewise.
44164 * conform/data/wordexp.h-data: Likewise.
44165
44166 * include/stropts.h: New file.
44167 * include/uchar.h: New file.
44168 * include/aio.h: Changes to allow conformtest.pl to use the headers.
44169 * include/assert.h: Likewise.
44170 * include/ctype.h: Likewise.
44171 * include/dirent.h: Likewise.
44172 * include/dlfcn.h: Likewise.
44173 * include/fcntl.h: Likewise.
44174 * include/fnmatch.h: Likewise.
44175 * include/glob.h: Likewise.
44176 * include/grp.h: Likewise.
44177 * include/libio.h: Likewise.
44178 * include/locale.h: Likewise.
44179 * include/math.h: Likewise.
44180 * include/net/if.h: Likewise.
44181 * include/netdb.h: Likewise.
44182 * include/netinet/in.h: Likewise.
44183 * include/pthread.h: Likewise.
44184 * include/pwd.h: Likewise.
44185 * include/regex.h: Likewise.
44186 * include/sched.h: Likewise.
44187 * include/search.h: Likewise.
44188 * include/setjmp.h: Likewise.
44189 * include/signal.h: Likewise.
44190 * include/stdio.h: Likewise.
44191 * include/stdlib.h: Likewise.
44192 * include/string.h: Likewise.
44193 * include/sys/cdefs.h: Likewise.
44194 * include/sys/mman.h: Likewise.
44195 * include/sys/msg.h: Likewise.
44196 * include/sys/resource.h: Likewise.
44197 * include/sys/select.h: Likewise.
44198 * include/sys/socket.h: Likewise.
44199 * include/sys/stat.h: Likewise.
44200 * include/sys/statvfs.h: Likewise.
44201 * include/sys/time.h: Likewise.
44202 * include/sys/times.h: Likewise.
44203 * include/sys/uio.h: Likewise.
44204 * include/sys/utsname.h: Likewise.
44205 * include/sys/wait.h: Likewise.
44206 * include/termios.h: Likewise.
44207 * include/time.h: Likewise.
44208 * include/ulimit.h: Likewise.
44209 * include/unistd.h: Likewise.
44210 * include/utime.h: Likewise.
44211 * include/wchar.h: Likewise.
44212 * include/wctype.h: Likewise.
44213 * include/wordexp.h: Likewise.
44214
44215 * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
44216
7a270350
UD
44217 * time/time.h: TIME_UTC must be a macro.
44218 Make timespec_get available for ISO C11 only as well.
44219
7724defc
UD
442202012-02-24 Ulrich Drepper <drepper@gmail.com>
44221
44222 * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
44223 Reported by Peng Haitao <penght@cn.fujitsu.com>.
44224
6b1d1d46
JM
442252012-02-24 Joseph Myers <joseph@codesourcery.com>
44226
44227 * configure.in: Use -o not -a in test for unsupported multi-arch.
6b1d1d46 44228
0f8bbd69
JM
442292012-02-24 Joseph Myers <joseph@codesourcery.com>
44230
44231 * manual/texinfo.tex: Update to version 2012-01-19.16.
44232
66ab80bc
JM
442332012-02-24 Joseph Myers <joseph@codesourcery.com>
44234
44235 * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
44236
74981cc5
RM
442372012-02-24 Roland McGrath <roland@hack.frob.com>
44238
ee968201
RM
44239 [BZ #13738]
44240 * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
44241 * manual/fdl-1.3.texi: New file.
44242 * manual/fdl-1.1.texi: File removed.
44243
74981cc5
RM
44244 [BZ #13738]
44245 * manual/libc.texinfo (FDL_VERSION): New @set.
44246 Use it for mention of FDL in cover text.
44247 (Documentation License): Use it in @include file name.
44248
7bb764bc
JM
442492012-02-22 Joseph Myers <joseph@codesourcery.com>
44250 Roland McGrath <roland@hack.frob.com>
44251
44252 [BZ #5461]
57f41c40
AS
44253 * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN)
44254 (not LONG_LONG_MAX and LONG_LONG_MIN.
7bb764bc
JM
44255 * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
44256 LLONG_MIN. Refer to LONG_LONG_MIN only as older GCC-specific
44257 name.
44258 (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
44259
6cbeae47
JM
442602012-02-22 Joseph Myers <joseph@codesourcery.com>
44261
44262 [BZ #2547]
44263 [BZ #11365]
44264 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
44265 manipulate bits before adding and subtracting TWO23[sx].
44266 * math/libm-test.inc (nearbyint_test): Add more tests.
44267
fe45ce09
JM
442682012-02-22 Joseph Myers <joseph@codesourcery.com>
44269
44270 [BZ #2548]
44271 * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
44272 bits before adding and subtracting TWO23[sx].
44273 * math/libm-test.inc (rint_test): Add more tests.
44274 (rint_test_tonearest): Likewise.
44275 (rint_test_towardzero): Likewise.
44276 (rint_test_downward): Likewise.
44277 (rint_test_upward: Likewise.
44278
ff3b3d82
JM
442792012-02-22 Joseph Myers <joseph@codesourcery.com>
44280
44281 [BZ #10110]
44282 * include/stdc-predef.h: New file. Extracted from features.h.
44283 * include/features.h: Include stdc-predef.h.
44284 * Makefile (headers): Add stdc-predef.h.
44285 * CONFORMANCE (Compiler limitations): Update.
44286
ef0aab35
JM
442872012-02-22 Joseph Myers <joseph@codesourcery.com>
44288
44289 * manual/libc.texinfo (VERSION, UPDATED): Revert.
44290
58639409
DM
442912012-02-21 David S. Miller <davem@davemloft.net>
44292
44293 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
44294 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
44295
c0e70b25
DM
442962012-02-20 David S. Miller <davem@davemloft.net>
44297
44298 * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
44299 using a normal save/restore sequence, rather than allocating a
44300 dummy stack frame just to store a frame pointer and restore.
44301 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
44302
fb06851d
JM
443032012-02-21 Joseph Myers <joseph@codesourcery.com>
44304
44305 * manual/install.texi: Fix stray word in line-wrapped comment.
44306
7a8b71c3
DM
443072012-02-20 David S. Miller <davem@davemloft.net>
44308
d510c123
DM
44309 * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
44310 both binutils and gcc support GOTDATA.
44311
0722d7c2
DM
44312 * sysdeps/unix/sparc/sysdep.h: Document why we don't use
44313 "rd %pc" in the PIC register setup sequences.
44314
3d2b3019
DM
44315 * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
44316 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
44317 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
44318 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
44319 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
44320 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
44321 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
44322 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
44323 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
44324 (SYSCALL_ERROR_HANDLER): Likewise.
44325 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
44326 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
44327 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
44328 (SYSCALL_ERROR_HANDLER): Likewise.
44329
c80098a9
DM
44330 * config.h.in (HAVE_BINUTILS_GOTDATA): New.
44331 (HAVE_GCC_GOTDATA): New.
44332 * sysdeps/sparc/elf/configure.in: Test for GOTDATA
44333 relocation support in both binutils and gcc.
44334 * sysdeps/sparc/elf/configure: Regenerate.
44335
3a2545a0
DM
44336 * sysdeps/sparc/sparc32/elf/configure.in: Delete.
44337 * sysdeps/sparc/sparc32/elf/configure: Delete.
44338 * sysdeps/sparc/sparc64/elf/configure.in: Delete.
44339 * sysdeps/sparc/sparc64/elf/configure: Delete.
44340 * sysdeps/sparc/elf/configure.in: New file.
44341 * sysdeps/sparc/elf/configure: Generate.
44342
7a8b71c3
DM
44343 * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
44344 * sysdeps/sparc/sparc32/elf/configure: Regenerate.
44345 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
44346 * sysdeps/sparc/sparc64/elf/configure: Regenerate.
44347 * config.h.in (BROKEN_SPARC_WDISP22): Remove.
44348
f1e86fca
JM
443492012-02-21 Joseph Myers <joseph@codesourcery.com>
44350
44351 * manual/install.texi: Do not mention specific glibc version
44352 numbers.
44353 * manual/libc.texinfo (VERSION, UPDATED): Update.
44354 (@copying): Use @copyright{} and range of years.
44355
0e7dfaef
JM
443562012-02-21 Joseph Myers <joseph@codesourcery.com>
44357
44358 [BZ #13695]
44359 * csu/Makefile (distribute): Remove initfini.c and defs.awk.
44360 [crti.S not in sysdirs] (generated): Do not append.
44361 [crti.S not in sysdirs] (omit-deps): Likewise.
44362 [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
44363 [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
44364 [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
44365 [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
44366 [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
44367 Likewise.
44368 [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
44369 [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
44370 [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
44371 * csu/defs.awk: Remove file.
44372 * sysdeps/generic/initfini.c: Likewise.
44373 * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
44374 variable.
44375 * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
44376 Likewise.
44377
599af3ca
JM
443782012-02-20 Joseph Myers <joseph@codesourcery.com>
44379
44380 * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
44381 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
44382 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
44383 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
44384 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
44385 * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
44386 <bits/epoll.h>.
44387 (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
44388 (__EPOLL_PACKED): Define to empty if not defined by
44389 <bits/epoll.h>.
44390 (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
44391 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
44392 bits/epoll.h.
44393
0e499750
JM
443942012-02-20 Joseph Myers <joseph@codesourcery.com>
44395
44396 * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
44397 * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
44398 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
44399 * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
44400 <bits/timerfd.h>.
44401 (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
44402 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
44403 bits/timerfd.h.
44404
5ad91f6e
JM
444052012-02-20 Joseph Myers <joseph@codesourcery.com>
44406
44407 * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
44408 in C locale.
44409 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
44410 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
44411 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
44412 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
44413
06b99b02
AJ
444142012-02-20 Aurelien Jarno <aurelien@aurel32.net>
44415
44416 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
44417 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
44418
7638c0fd
AS
444192012-02-19 Andreas Schwab <schwab@linux-m68k.org>
44420
44421 * manual/errno.texi (Error Codes): Add EHWPOISON entry.
44422 * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
44423 defined.
44424 * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
44425 Likewise.
44426 * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
44427 entry for 2.16.
44428
92221550
AJ
444292012-02-19 Aurelien Jarno <aurelien@aurel32.net>
44430
44431 * math/w_acos.c: Use non-signaling floating-point comparisons.
44432 * math/w_acosf.c: Likewise.
44433 * math/w_acosh.c: Likewise.
44434 * math/w_acoshf.c: Likewise.
44435 * math/w_acoshl.c: Likewise.
44436 * math/w_acosl.c: Likewise.
44437 * math/w_asin.c: Likewise.
44438 * math/w_asinf.c: Likewise.
44439 * math/w_asinl.c: Likewise.
44440 * math/w_atanh.c: Likewise.
44441 * math/w_atanhf.c: Likewise.
44442 * math/w_atanhl.c: Likewise.
44443 * math/w_exp2.c: Likewise.
44444 * math/w_exp2f.c: Likewise.
44445 * math/w_exp2l.c: Likewise.
44446 * math/w_j0.c: Likewise.
44447 * math/w_j0f.c: Likewise.
44448 * math/w_j0l.c: Likewise.
44449 * math/w_j1.c: Likewise.
44450 * math/w_j1f.c: Likewise.
44451 * math/w_j1l.c: Likewise.
44452 * math/w_jn.c: Likewise.
44453 * math/w_jnf.c: Likewise.
44454 * math/w_log.c: Likewise.
44455 * math/w_log10.c: Likewise.
44456 * math/w_log10f.c: Likewise.
44457 * math/w_log10l.c: Likewise.
44458 * math/w_log2.c: Likewise.
44459 * math/w_log2f.c: Likewise.
44460 * math/w_log2l.c: Likewise.
44461 * math/w_logf.c: Likewise.
44462 * math/w_logl.c: Likewise.
44463 * math/w_sqrt.c: Likewise.
44464 * math/w_sqrtf.c: Likewise.
44465 * math/w_sqrtl.c: Likewise.
44466 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
44467 * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
44468 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
44469 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
44470 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
44471
ebaf36eb
JM
444722012-02-19 Joseph Myers <joseph@codesourcery.com>
44473
44474 [BZ #9739]
44475 * manual/string.texi (strnlen): Use correct parameter name in
44476 equivalent expression.
44477
71c254a6
JM
444782012-02-19 Joseph Myers <joseph@codesourcery.com>
44479
44480 [BZ #11174]
44481 * manual/users.texi (seteuid): Consistently use neweuid for
44482 argument name.
44483
16d2c631
JM
444842012-02-19 Joseph Myers <joseph@codesourcery.com>
44485
44486 [BZ #13704]
44487 * manual/nss.texi (Services in the NSS configuration): Correct
44488 list of services in example configuration file.
44489
cd837b09
NB
444902012-02-19 Nick Bowler <nbowler@draconx.ca>
44491
44492 [BZ #11322]
44493 * manual/arith.texi: Remove statements about negative zero
44494 behaving identically to zero.
44495
02c4bbad
JM
444962012-02-18 Joseph Myers <joseph@codesourcery.com>
44497
44498 [BZ #5993]
44499 * manual/install.texi: Do not document upgrading from libc5.
44500
366842e7
JM
445012012-02-18 Joseph Myers <joseph@codesourcery.com>
44502
44503 [BZ #4596]
44504 * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
44505
dd54084d
DM
445062012-02-18 David S. Miller <davem@davemloft.net>
44507
44508 * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
44509 (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
44510 %o7 across the call.
44511 (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
44512 instead.
44513 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
44514 SETUP_PIC_REG_LEAF.
44515 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
44516 * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
44517 * sysdeps/sparc/crtn.S: Likewise.
44518
2bcc53a3
UD
445192012-02-17 Ulrich Drepper <drepper@gmail.com>
44520
44521 * aout/Makefile: Remove.
44522
09c093b5
RK
445232012-02-18 Rafe Kettler <rafe.kettler@gmail.com>
44524
44525 [BZ #13058]
44526 * manual/examples/argp-ex1.c (main): Format definition in GNU
44527 style.
44528 * manual/examples/argp-ex2.c (main): Likewise.
44529 * manual/examples/argp-ex3.c (main): Likewise.
44530 * manual/examples/argp-ex4.c (main): Likewise.
44531 * manual/examples/longopt.c (main): Use new-style prototype
44532 definition.
44533 * manual/examples/strncat.c (main): Specify return type and use
44534 (void) for arguments.
44535 * manual/examples/subopt.c (main): Use char **argv argument.
44536
2ee633a2
JM
445372012-02-17 Joseph Myers <joseph@codesourcery.com>
44538
44539 [BZ #5077]
44540 * manual/lang.texi (FLT_EPSILON): Avoid description depending on
44541 rounding modes.
44542
0520adde
FB
445432012-02-17 Fabrice Bauzac <fabrice.bauzac@wanadoo.fr>
44544
44545 [BZ #6907]
44546 * manual/string.texi (strchr): Change when strchrnul is
44547 recommended.
44548
3f4081cd
DGM
445492012-02-17 Dwayne Grant McConnell <decimal@us.ibm.com>
44550
44551 [BZ #174]
44552 * manual/locale.texi (setlocale): Document LOCPATH.
44553
d1b10e78
JM
445542012-02-17 Joseph Myers <joseph@codesourcery.com>
44555
44556 [BZ #10210]
44557 * manual/process.texi (execle): Move @dots{} before last argument.
44558
79c6869c
PB
445592012-02-17 Paul Bolle <pebolle@tiscali.nl>
44560
44561 [BZ #12047]
44562 * manual/charset.texi (Generic Charset Conversion): Fix typo
44563 (LC_TYPE -> LC_CTYPE).
44564
cc6e48bc
NB
445652012-02-17 Nicolas Boulenguez <nicolas.boulenguez@free.fr>
44566
44567 [BZ #5805]
44568 * manual/arith.texi (scalbn): Use @var{} on parameter names.
44569 (scalbnf): Likewise.
44570 (scalbnl): Likewise.
44571 (scalbln): Likewise.
44572 (scalblnf): Likewise.
44573 (scalblnl): Likewise.
44574 * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
44575 (vwarnx): Likewise.
44576 (verr): Likewise.
44577 (verrx): Likewise.
44578 * manual/filesys.texi (telldir): Use braces around return type.
44579 * manual/llio.texi (mmap): Add space after comma.
44580 (mmap64): Likewise.
44581 * manual/math.texi (jn): Use @var{} on parameter names.
44582 (jnf): Likewise.
44583 (jnl): Likewise.
44584 (yn): Likewise.
44585 (ynf): Likewise.
44586 (ynl): Likewise.
44587 * manual/memory.texi (alloca): Remove semicolon on @deftypefun
44588 line.
44589 * manual/resource.texi (ulimit): Use @dots{} instead of literal
44590 "...".
44591 (sched_get_priority_min): Remove semicolon on @deftypefun line.
44592 (sched_get_priority_max): Likewise.
44593 * manual/signal.texi (sigvec): Add space after comma.
44594 * manual/socket.texi (if_nametoindex): Use @var{} on parameter
44595 names.
44596 (if_indextoname): Likewise.
44597 (if_freenameindex): Likewise.
44598 (sendto): Use ',' instead of '.' in prototype.
44599 * manual/startup.texi (syscall): Use @dots{} instead of literal
44600 "...".
44601 * manual/stdio.texi (__fpending): Separate initial words of
44602 paragraph from @deftypefun line.
44603 * manual/syslog.texi (syslog): Use @dots{} instead of literal
44604 "...".
44605 (vsyslog): Use @var{} on parameter names.
44606 * manual/terminal.texi (stty): Use @var{} on parameter names.
44607 * manual/users.texi (getutmp): Use @var{} on parameter names.
44608 (getutmpx): Likewise.
44609
5b23062f
JM
446102012-02-17 Joseph Myers <joseph@codesourcery.com>
44611
44612 [BZ #6884]
44613 * manual/stdio.texi (fopen): Fix typos in description of
44614 ",ccs=STRING".
44615
8dee4833
AJ
446162012-02-17 Aurelien Jarno <aurelien@aurel32.net>
44617
44618 [BZ #4026]
44619 * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
44620 get clock_id definition.
44621
9078ce93
TS
446222012-02-17 Thomas Schwinge <thomas@schwinge.name>
44623
44624 [BZ #4822]
44625 * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
44626 (madvise): Cast every argument to void on its own.
44627
3835c55f
JM
446282012-02-17 Joseph Myers <joseph@codesourcery.com>
44629
44630 [BZ #9902]
44631 * manual/startup.texi (Exit Status): Fix typo.
44632
35c47e37
JM
446332012-02-17 Joseph Myers <joseph@codesourcery.com>
44634
44635 [BZ #10140]
44636 * manual/examples/argp-ex1.c: Include <stdlib.h>.
44637 * manual/examples/argp-ex2.c: Likewise.
44638 * manual/examples/argp-ex3.c: Likewise.
44639
e3b69ca7
RH
446402012-02-16 Richard Henderson <rth@redhat.com>
44641
44642 * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
44643 * sysdeps/s390/s390-32/initfini.c: Remove.
44644 * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
44645 * sysdeps/s390/s390-64/initfini.c: Remove.
44646
df83af67
KK
446472012-02-15 Kaz Kojima <kkojima@rr.iij4u.or.jp>
44648
44649 * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
44650 compiler output for sysdeps/generic/initfini.c.
44651 * sysdeps/sh/elf/initfini.c: Remove file.
44652
f63f3380
DM
446532012-02-16 David S. Miller <davem@davemloft.net>
44654
fb59b3a4
DM
44655 [BZ #11494]
44656 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
44657
f63f3380
DM
44658 * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
44659 * sysdeps/sparc/crti.S: New file.
44660 * sysdeps/sparc/crtn.S: New file.
44661 * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
44662 * sysdeps/sparc/sparc64/Makefile: Likewise.
44663
df6a4a4a
MF
446642012-02-15 Mike Frysinger <vapier@gentoo.org>
44665
6dd8f3dc 44666 [BZ #3335]
df6a4a4a
MF
44667 * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
44668
1cac7236
RM
446692012-02-15 Roland McGrath <roland@hack.frob.com>
44670
d2c736f8
RM
44671 [BZ #4822]
44672 * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
44673
1cac7236
RM
44674 * mach/devstream.c (cookie_io_functions_t): Macro removed.
44675 (write, read, close): Likewise.
44676 Patch by Aurelien Jarno <aurelien@aurel32.net>.
44677
8e475601
JM
446782012-02-15 Joseph Myers <joseph@codesourcery.com>
44679
44680 * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
44681 * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
44682 * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
44683 * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
44684 <bits/signalfd.h>.
44685 (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
44686 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
44687 bits/signalfd.h.
44688
ed656b40
MP
446892012-02-14 Marek Polacek <polacek@redhat.com>
44690
44691 * sysdeps/x86_64/crti.S: New file.
44692 * sysdeps/x86_64/crtn.S: New file.
44693 * sysdeps/x86_64/elf/initfini.c: Remove file.
44694
2a979d3a
JM
446952012-02-13 Joseph Myers <joseph@codesourcery.com>
44696
44697 * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
44698 * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
44699 * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
44700 * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
44701 <bits/inotify.h>.
44702 (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
44703 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
44704 bits/inotify.h.
44705
2a418ac3
JM
447062012-02-13 Joseph Myers <joseph@codesourcery.com>
44707
44708 * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
44709 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
44710 * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
44711 * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
44712 <bits/eventfd.h>.
44713 (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
44714 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
44715 bits/eventfd.h.
44716
fb779be7
TS
447172012-02-10 Thomas Schwinge <thomas@codesourcery.com>
44718
e19e83c5
RM
44719 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
44720 __feraiseexcept instead of feraiseexcept.
7c35ffed 44721
fb779be7
TS
44722 * rt/tst-cpuclock1.c: Add a few comments, and error checking for
44723 nanosleep invocations.
44724 * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
44725 strings, and add error checking for a nanosleep invocations.
44726
59ba27a6
PE
447272012-02-09 Paul Eggert <eggert@cs.ucla.edu>
44728
44729 Replace FSF snail mail address with URLs, as per GNU coding standards.
44730 Most of the snail mail addresses were wrong anyway, and omitting
44731 them makes the source code easier to maintain. Almost all of the
44732 changes are to license notices and to locale LC_IDENTIFICATION
44733 addresses, except for this one:
44734 * manual/libc.texinfo: In "Published by", give the FSF's URL,
44735 not its snail mail address.
44736
57b957eb
RH
447372012-02-09 Richard Henderson <rth@twiddle.net>
44738
af850b1c
RH
44739 * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
44740 of kernel-features.h.
44741
57b957eb
RH
44742 * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
44743
6b73181a
MP
447442012-02-08 Marek Polacek <polacek@redhat.com>
44745
44746 * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
44747 * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
44748 * sysdeps/gnu/_G_config.h: Likewise.
44749 * sysdeps/generic/_G_config.h: Likewise.
44750
26ecc33a
AS
447512012-02-08 Andreas Schwab <schwab@linux-m68k.org>
44752
6c6dbc63
AS
44753 * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
44754 tests.
44755 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
44756
e216c012
AS
44757 * sysdeps/powerpc/powerpc32/crti.S: New file.
44758 * sysdeps/powerpc/powerpc32/crtn.S: New file.
44759 * sysdeps/powerpc/powerpc64/crti.S: New file.
44760 * sysdeps/powerpc/powerpc64/crtn.S: New file.
44761
26ecc33a
AS
44762 * Makeconfig (have-initfini): Don't set.
44763 * config.make.in (have-initfini, need-nopic-initfini): Don't set.
44764 * configure.in (nopic_initfini): Don't substitute.
44765 * config.h.in (HAVE_INITFINI): Don't #undef.
44766 * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
44767 * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
44768
3add8e13
JM
447692012-02-08 Joseph Myers <joseph@codesourcery.com>
44770
44771 Support crti.S and crtn.S provided directly by architectures.
44772 * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
44773 [crti.S in sysdirs] (omit-deps): Likewise.
44774 [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
44775 [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
44776 [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
44777 [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
44778 [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
44779 [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
44780 [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
44781 [crti.S in sysdirs] (initfini.c): Remove vpath directive.
44782 * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
44783 compiler output for sysdeps/generic/initfini.c.
44784 * sysdeps/i386/elf/Makefile: Remove file.
44785 * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
44786
a22f12b4
MP
447872012-02-07 Marek Polacek <polacek@redhat.com>
44788
44789 * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
44790 * sysdeps/gnu/_G_config.h: Likewise.
44791 * sysdeps/mach/hurd/_G_config.h: Likewise.
44792
148cf100
MP
447932012-02-07 Marek Polacek <polacek@redhat.com>
44794
44795 * math/Makefile (tests): Add tst-CMPLX2.
44796 * math/tst-CMPLX2.c: New file.
44797
cfdc0dd7
AS
447982012-02-07 Andreas Schwab <schwab@linux-m68k.org>
44799
84ba42c4
AS
44800 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
44801
cfdc0dd7
AS
44802 * math/libm-test.inc (jn_test): Add missing L suffix.
44803
622c86f4
MP
448042012-02-06 Marek Polacek <polacek@redhat.com>
44805
44806 * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
44807 * sysdeps/i386/fpu/e_powf.S: Likewise.
44808 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
44809 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
44810 * sysdeps/i386/fpu/e_acosh.S: Likewise.
44811 * sysdeps/i386/fpu/e_pow.S: Likewise.
44812 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
44813 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
44814 * sysdeps/i386/fpu/s_expm1.S: Likewise.
44815 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
44816 * sysdeps/i386/fpu/e_log2.S: Likewise.
44817 * sysdeps/i386/fpu/e_log2l.S: Likewise.
44818 * sysdeps/i386/fpu/e_scalb.S: Likewise.
44819 * sysdeps/i386/fpu/e_powl.S: Likewise.
44820 * sysdeps/i386/fpu/s_log1p.S: Likewise.
44821 * sysdeps/i386/fpu/e_log10f.S: Likewise.
44822 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
44823 * sysdeps/i386/fpu/e_logl.S: Likewise.
44824 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
44825 * sysdeps/i386/fpu/s_expm1l.S: Likewise.
44826 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
44827 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
44828 * sysdeps/i386/fpu/e_log2f.S: Likewise.
44829 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
44830 * sysdeps/i386/fpu/e_log.S: Likewise.
44831 * sysdeps/i386/fpu/s_cexp.S: Likewise.
44832 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
44833 * sysdeps/i386/fpu/s_log1pl.S: Likewise.
44834 * sysdeps/i386/fpu/e_logf.S: Likewise.
44835 * sysdeps/i386/fpu/e_log10l.S: Likewise.
44836 * sysdeps/i386/fpu/e_atanh.S: Likewise.
44837 * sysdeps/i386/fpu/s_log1pf.S: Likewise.
44838 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
44839 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
44840 * sysdeps/i386/fpu/e_log10.S: Likewise.
44841 * sysdeps/i386/fpu/s_frexp.S: Likewise.
44842 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
44843 * sysdeps/i386/fpu/s_asinh.S: Likewise.
44844 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
44845 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
44846 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
44847 * sysdeps/i386/asm-syntax.h: Likewise.
44848 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
44849 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
44850 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
44851 * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
44852 * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
44853 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
44854 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
44855 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
44856 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
44857 * sysdeps/powerpc/sysdep.h: Likewise.
44858 * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
44859 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
44860
d4a54ac6
JM
448612012-02-06 Joseph Myers <joseph@codesourcery.com>
44862
44863 [BZ #411]
44864 * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
44865
314054ea
JM
448662012-02-06 Joseph Myers <joseph@codesourcery.com>
44867
44868 * sysdeps/i386/sysdep.h: Include <features.h>.
44869 (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
44870 version.
44871
d8e0ca50
JM
448722012-02-05 Joseph Myers <joseph@codesourcery.com>
44873
44874 * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
44875 Define.
44876 * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
44877 LOAD_PIC_REG_STR.
44878
b1da7dd9
JM
448792012-02-03 Joseph Myers <joseph@codesourcery.com>
44880
44881 * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
44882 (SETUP_PIC_REG): Use GET_PC_THUNK.
44883 * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
44884 macro.
44885
9a1d9254
JM
448862012-02-03 Joseph Myers <joseph@codesourcery.com>
44887
44888 * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
44889 for non-PIC compilation.
44890 (SETUP_PIC_REG): Add .p2align directive.
44891 * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
44892 * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
44893 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
44894 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
44895 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
44896 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
44897 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
44898 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
44899 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
44900 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
44901 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
44902 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
44903 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
44904 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
44905 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
44906 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
44907 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
44908 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
44909 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
44910 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
44911 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
44912 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
44913 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
44914 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
44915 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
44916 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
44917 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
44918 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
44919 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
44920 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
44921 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
44922 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
44923 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
44924 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
44925 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
44926 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
44927 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
44928 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
44929 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
44930 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
44931 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
44932
65dc3b75
JM
449332012-02-03 Joseph Myers <joseph@codesourcery.com>
44934
44935 * math/tst-CMPLX.c: Include <stdio.h>.
44936
d55bf177
JM
449372012-01-31 Joseph Myers <joseph@codesourcery.com>
44938
44939 * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
44940 float.
44941 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
44942 * sysdeps/sparc/bits/mathdef.h: Likewise.
44943
69db4f8f
MP
449442012-01-31 Marek Polacek <polacek@redhat.com>
44945
44946 * libio/libio.h: Don't define _PARAMS.
44947 * locale/programs/config.h: Don't define PARAMS.
44948 * stdlib/strtol_l.c: Likewise.
44949 (__strtol_l): Remove PARAMS from the prototype.
44950
41b81892
UD
449512012-01-31 Ulrich Drepper <drepper@gmail.com>
44952
3b49edc0
UD
44953 * malloc/malloc.c: Remove name translation. Don't use mixed-cap
44954 names. Just use the correct names. Remove unnecessary wrapper
44955 functions.
44956 * malloc/arena.c: Likewise.
44957 * malloc/hooks.c: Likewise.
44958
41b81892
UD
44959 * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
44960 ARENA_TEST says not to. Simplify test for creation of a new arena.
44961 Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
44962
27a25b6e
UD
449632012-01-30 Ulrich Drepper <drepper@gmail.com>
44964
44965 * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
44966 into tail calls.
44967 (update_get_addr): New function.
44968 (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
44969 GET_ADDR_MODULE parameter.
44970
c8a89e7d
JM
449712012-01-30 Joseph Myers <joseph@codesourcery.com>
44972
44973 * crypt/cert.c: Remove __STDC__ conditionals.
44974 * crypt/crypt-entry.c: Likewise.
44975 * crypt/crypt_util.c: Likewise.
44976 * libio/filedoalloc.c: Likewise.
44977 * libio/fileops.c: Likewise.
44978 * libio/genops.c: Likewise.
44979 * libio/iofclose.c: Likewise.
44980 * libio/iofdopen.c: Likewise.
44981 * libio/iofopen.c: Likewise.
44982 * libio/iofopen64.c: Likewise.
44983 * libio/iogetdelim.c: Likewise.
44984 * libio/iopopen.c: Likewise.
44985 * libio/obprintf.c: Likewise.
44986 * libio/oldfileops.c: Likewise.
44987 * libio/oldiofclose.c: Likewise.
44988 * libio/oldiofdopen.c: Likewise.
44989 * libio/oldiofopen.c: Likewise.
44990 * libio/oldiopopen.c: Likewise.
44991 * libio/wfiledoalloc.c: Likewise.
44992 * libio/wgenops.c: Likewise.
44993 * locale/programs/xmalloc.c: Likewise.
44994 * misc/syslog.c: Likewise.
44995 * stdio-common/xbug.c: Likewise.
44996 * string/memchr.c: Likewise.
44997 * string/memcmp.c: Likewise.
44998 * string/memrchr.c: Likewise.
44999 * string/rawmemchr.c: Likewise.
45000 * sysdeps/posix/getcwd.c: Likewise.
45001 * time/strftime_l.c: Likewise.
45002
3b100462
JM
450032012-01-30 Joseph Myers <joseph@codesourcery.com>
45004
45005 * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
3b100462
JM
45006 * config.make.in (config-cflags-sse2avx): Define.
45007 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
45008 Fix typo.
45009
607998af
CM
450102012-01-29 Chris Metcalf <cmetcalf@tilera.com>
45011
45012 * scripts/config.guess: Update from upstream config git repository.
45013 * scripts/config.sub: Likewise.
45014
3601428f
CM
450152012-01-28 Chris Metcalf <cmetcalf@tilera.com>
45016
3ac8b282
CM
45017 * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
45018 (EM_NUM): Update.
45019 (R_TILEPRO_*, R_TILEGX_*): New macros.
45020
e034841e
CM
45021 * scripts/firstversions.awk: Fix bug in version range handling.
45022
540d7568
CM
45023 * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
45024
3601428f
CM
45025 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
45026
463de862
CM
45027 * include/sys/epoll.h: New file.
45028 * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
45029 libc_hidden_def.
45030
73139a76
UD
450312012-01-28 Ulrich Drepper <drepper@gmail.com>
45032
96bc5b45
UD
45033 * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
45034 Avoid unnecessary __WORDSIZE == 64 test.
45035 (fmaxf): Use VEX format if possible.
45036 (fmax): Likewise.
45037 (fminf): Likewise.
45038 (fmin): Likewise.
45039
56f6f6a2
UD
45040 * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
45041 * math/math_private.h: Remove libc_fegetround* and
45042 libc_fesetround*.
45043 * sysdeps/i386/configure.in: Check for -msse2avx.
45044 * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
45045 also if SSE2AVX is defined.
45046 Remove libc_fegetround* and libc_fesetround*.
45047 * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
45048 if config-cflags-sse2avx is yes. Also add -DSSE2AVX to defines.
45049 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
45050 of HAS_YMM_USABLE.
45051 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
45052 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
45053 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
45054 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
45055 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
45056
73139a76
UD
45057 * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
45058
d73f93a4
AZ
450592012-01-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
45060
45061 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
45062 size is not set.
45063 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
45064
6ee65ed6
UD
450652012-01-27 Ulrich Drepper <drepper@gmail.com>
45066
45067 [BZ #13618]
45068 * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
45069 relocation.
45070 * Makeconfig (libm): Define.
45071 * elf/Makefile: Add rules to build and run tst-relsort1.
45072 * elf/tst-relsort1.c: New file.
45073 * elf/tst-relsort1mod1.c: New file.
45074 * elf/tst-relsort1mod2.c: New file.
45075
8db21882
JM
450762012-01-27 Joseph Myers <joseph@codesourcery.com>
45077
45078 * math/s_ldexp.c: Remove __STDC__ conditionals.
45079 * math/s_ldexpf.c: Likewise.
45080 * math/s_ldexpl.c: Likewise.
45081 * math/s_nextafter.c: Likewise.
45082 * math/s_nexttowardf.c: Likewise.
45083 * math/s_significand.c: Likewise.
45084 * math/s_significandf.c: Likewise.
45085 * math/s_significandl.c: Likewise.
45086 * math/w_jnl.c: Likewise.
45087 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
45088 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
45089 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
45090 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
45091 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
45092 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
45093 * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
45094 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
45095 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
45096 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
45097 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
45098 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
45099 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
45100 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
45101 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
45102 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
45103 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
45104 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
45105 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
45106 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
45107 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
45108 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
45109 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
45110 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
45111 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
45112 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
45113 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
45114 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
45115 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
45116 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
45117 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
45118 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
45119 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
45120 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
45121 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
45122 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
45123 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
45124 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
45125 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
45126 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
45127 * sysdeps/ieee754/k_standard.c: Likewise.
45128 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
45129 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
45130 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
45131 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
45132 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
45133 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
45134 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
45135 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
45136 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
45137 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
45138 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
45139 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
45140 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
45141 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
45142 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
45143 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
45144 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
45145 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
45146 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
45147 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
45148 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
45149 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
45150 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
45151 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
45152 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
45153 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
45154 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
45155 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
45156 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
45157 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
45158 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
45159 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
45160 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
45161 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
45162 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
45163 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
45164 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
45165 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
45166 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
45167 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
45168 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
45169 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
45170 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
45171 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
45172 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
45173 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
45174 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
45175 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
45176 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
45177 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
45178 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
45179 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
45180 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
45181 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
45182 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
45183 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
45184 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
45185 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
45186 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
45187 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
45188 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
45189 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
45190 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
45191 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
45192 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
45193 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
45194 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
45195 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
45196 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
45197 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
45198 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
45199 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
45200 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
45201 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
45202 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
45203 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
45204 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
45205 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
45206 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
45207 * sysdeps/ieee754/s_matherr.c: Likewise.
45208 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
45209 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
45210 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
45211 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
45212
965a54a4
JM
452132012-01-26 Joseph Myers <joseph@codesourcery.com>
45214
45215 * crypt/md5.h: Remove __STDC__ conditionals.
45216 * libio/libioP.h: Likewise.
45217 * locale/programs/config.h: Likewise.
45218 * sysdeps/generic/sysdep.h: Likewise.
45219 * sysdeps/i386/asm-syntax.h: Likewise.
45220 * sysdeps/s390/asm-syntax.h: Likewise.
45221 * sysdeps/unix/sysdep.h: Likewise.
45222 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
45223 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
45224
7071ad79
JM
452252012-01-26 Joseph Myers <joseph@codesourcery.com>
45226
45227 * libio/libio.h: Remove __STDC__ conditionals.
45228 * malloc/obstack.h: Likewise.
45229 * math/complex.h: Likewise.
45230 * math/math.h: Likewise.
45231 * sysdeps/generic/_G_config.h: Likewise.
45232 * sysdeps/gnu/_G_config.h: Likewise.
45233 * sysdeps/mach/hurd/_G_config.h: Likewise.
45234 * sysdeps/powerpc/bits/mathdef.h: Likewise.
45235 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
45236 * sysdeps/sparc/bits/mathdef.h: Likewise.
45237
afc5ed09
UD
452382012-01-26 Ulrich Drepper <drepper@gmail.com>
45239
45240 [BZ #13583]
45241 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
08cf777f 45242 Clean up HAS_* macros.
afc5ed09 45243 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
08cf777f
UD
45244 bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
45245 possible.
45246 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
45247 HAS_AVX.
45248 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
45249 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
45250 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
45251 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
45252 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
afc5ed09 45253
bdb6de1d
JM
452542012-01-25 Joseph Myers <joseph@codesourcery.com>
45255
45256 * elf/tst-unique3.cc (gets): Remove declaration.
45257 * elf/tst-unique3lib.cc (gets): Likewise.
45258 * elf/tst-unique3lib2.cc (gets): Likewise.
45259 * elf/tst-unique4.cc (gets): Likewise.
45260
b15549e6
UD
452612012-01-24 Ulrich Drepper <drepper@gmail.com>
45262
45263 * include/stdio.h: Add C++ protection. Add gets declarations and
45264 definitions.
45265 * debug/tst-chk1.c: Don't declare gets here.
45266 * stdio-common/tst-gets.c: Likewise.
45267
a037381f
JM
452682012-01-24 Joseph Myers <joseph@codesourcery.com>
45269
45270 * posix/glob: Remove directory.
45271
f1d4aa75
JM
452722012-01-24 Joseph Myers <joseph@codesourcery.com>
45273
45274 * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
45275
81c0c964
PT
452762012-01-22 Pino Toscano <toscano.pino@tiscali.it>
45277
45278 * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
45279 of the non-standard EPFNOSUPPORT.
45280
0ea698ae
ST
452812011-12-26 Samuel Thibault <samuel.thibault@ens-lyon.org>
45282
45283 * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
45284 __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
45285 ANYWHERE set to 1 only on KERN_NO_SPACE error.
45286
d220b117
UD
452872012-01-21 Ulrich Drepper <drepper@gmail.com>
45288
45289 * wcsmbs/uchar.h: Test __STDC_VERSION__.
45290
3e1aa84e
UD
452912012-01-20 Ulrich Drepper <drepper@gmail.com>
45292
45293 * nscd/aicache.c (addhstaiX): Do not cache negative results of
45294 transient errors.
45295 * nscd/grpcache.c (cache_addgr): Likewise.
45296 * nscd/hstcache.c (cache_addhst): Likewise.
45297 * nscd/initgrcache.c (addinitgroupsX): Likewise.
45298 * nscd/pwdcache.c (cache_addpw): Likewise.
45299 * nscd/servicescache.c (cache_addserv): Likewise.
45300
400aa020
UD
453012012-01-16 Ulrich Drepper <drepper@gmail.com>
45302
d77e7869
UD
45303 * malloc/malloc.c: Various cleanups.
45304 * malloc/hooks.c: Likewise.
45305
400aa020
UD
45306 * stdlib/Makefile (tests): Add bug-fmtmsg1.
45307 * stdlib/bug-fmtmsg1.c: New file.
45308
45309 * stdlib/fmtmsg.c (init): Add missing unlock.
45310 Patch by Peng Haitao <penght@cn.fujitsu.com>.
45311
e0a309cf
MP
453122012-01-12 Marek Polacek <polacek@redhat.com>
45313
45314 * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
45315 and _GNU_SOURCE.
45316
929d11c7
WS
453172012-01-04 Will Schmidt <will_schmidt@vnet.ibm.com>
45318
45319 * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
45320 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
45321 macro to ensure uniqueness of label name.
45322 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
45323 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
45324
41d0e869
UD
453252012-01-11 Ulrich Drepper <drepper@gmail.com>
45326
0cc5ed3b
UD
45327 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
45328
41d0e869
UD
45329 * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
45330 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
45331 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
45332 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
45333
a47a831a
UD
453342012-01-10 Ulrich Drepper <drepper@gmail.com>
45335
daa891c0
UD
45336 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
45337
45338 * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
45339 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
45340 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
45341
e58ef0f2
UD
45342 * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
45343
a47a831a 45344 * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
a47a831a
UD
45345 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
45346 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
41d0e869 45347 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
a47a831a
UD
45348
45349 * math/bits/math-finite.h: Add ldexp support.
45350
a0bfc9c7
MP
453512012-01-10 Marek Polacek <polacek@redhat.com>
45352
45353 * locale/programs/localedef.h (show_archive_content): Add noreturn
45354 attribute.
45355
d6e97a1d
UD
453562012-01-09 Ulrich Drepper <drepper@gmail.com>
45357
45358 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
45359
d5835c26
UD
453602012-01-08 Ulrich Drepper <drepper@gmail.com>
45361
e5f484c6
UD
45362 * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
45363
d5835c26
UD
45364 * io/Makefile (headers): Add bits/poll2.h.
45365
d1f741e9
WS
453662011-01-05 Will Schmidt <will_schmidt@vnet.ibm.com>
45367
45368 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
45369 typo #include statement.
45370
ec09c1c4
UD
453712012-01-08 Ulrich Drepper <drepper@gmail.com>
45372
45373 * include/sys/cdefs.h: Define __attribute_alloc_size.
45374 * catgets/gencat.c: Add alloc_size attribute and apply consistently
45375 the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
45376 * elf/pldd.c: Likewise.
45377 * iconv/iconv_charmap.c: Likewise.
45378 * iconv/iconvconfig.c: Likewise.
45379 * iconv/strtab.c: Likewise.
45380 * locale/programs/locale.c: Likewise.
45381 * locale/programs/localedef.h: Likewise.
45382 * locale/programs/simple-hash.c: Likewise.
45383 * nscd/nscd.h: Likewise.
45384 * nss/makedb.c: Likewise.
45385 * sysdeps/generic/ldconfig.h: Likewise.
45386 * locale/programs/localedef.c: Remove xmalloc prototype.
45387 * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
45388
20b38e03
PP
453892012-01-05 Paul Pluzhnikov <ppluzhnikov@google.com>
45390
45391 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
45392 appropriate.
45393
a0da5fe1
UD
453942012-01-08 Ulrich Drepper <drepper@gmail.com>
45395
1d5a644a 45396 * math/Makefile (tests): Add tst-CMPLX.
669704fd 45397 * math/tst-CMPLX.c: New file.
1d5a644a 45398
8784a6db
UD
45399 * math/complex.h (CMPLXL): Fix typo.
45400
d9a216c0
UD
45401 * debug/Makefile (routines): Add poll_chk and ppoll_chk.
45402 * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
45403 GLIBC_2.16.
45404 * debug/tst-chk1.c: Add poll and ppoll tests.
45405 * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
45406 * include/sys/poll.h: Add hidden proto for ppoll.
45407 * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
45408 * sysdeps/mach/hurd/ppoll.c: Likewise.
45409 * io/ppoll.c: Likewise.
45410 * debug/poll_chk.c: New file.
45411 * debug/ppoll_chk.c: New file.
45412 * include/bits/poll2.h: New file.
45413 * io/bits/poll2.h: New file.
45414
ac097f5c
UD
45415 [BZ #1350]
45416 * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
45417
2119dcfa
UD
45418 * configure.in: static is always set to yes. Remove.
45419 * config.make.in: Don't set build-static.
45420 * Makeconfig: Remove use of build-static.
45421 * dlfcn/Makefile: Likewise.
45422 * elf/Makefile: Likewise.
45423 * math/Makefile: Likewise.
45424 * misc/Makefile: Likewise.
45425 * nptl/Makefile: Likewise.
45426 * sysdeps/mach/hurd/Makefile: Likewise.
45427
121766a9
UD
45428 * configure.in: PWD_P is not used anymore.
45429 * config.make.in: Remove PWD_P entry.
45430
51a1d39c 45431 * configure.in: Remove last remnants of RANLIB.
8720d066 45432 No need to check for signed size_t anymore.
215f4bdc
UD
45433 Don't set libc_commonpagesize and libc_relro_required here for Alpha
45434 and IA-64.
3857022a 45435 Remove __builtin_expect test because we require at least gcc 3.4.
51a1d39c
UD
45436 * aclocal.m4: Likewise.
45437
d3ed7225
UD
45438 * wcsmbs/mbrtoc16.c: Implement using towc function.
45439 * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
45440 * wcsmbs/wcsmbsload.c: Likewise.
45441 * iconv/gconv_simple.c: Likewise.
45442 * iconv/gconv_int.h: Likewise.
45443 * iconv/gconv_builtin.h: Likewise.
45444 * iconv/iconv_prog.c: Remove CHAR16 handling.
45445
45446 * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
45447
45448 * wcsmbs/mbrtowc.c: Better check for invalid inputs.
45449
a0da5fe1
UD
45450 * configure.in: Remove --with-elf and --enable-bounded options.
45451 Dont set base_machine for ia64. More non-ELF conditions removed.
45452 Remove testing and setting of leading underscore information.
45453 * config.make.in (build-bounded): Set to no.
45454 * config.h.in: Remove NO_UNDERSCORES entry.
45455 * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS. ELF has
45456 them.
45457 * csu/start.c: Remove !NO_UNDERSCORE code.
45458 * locale/localeinfo.h: Likewise.
45459 * sysdeps/generic/machine-gmon.h: Likewise.
45460 * sysdeps/generic/sysdep.h: Likewise.
45461 * sysdeps/i386/sysdep.h: Likewise.
45462 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
45463 * sysdeps/mach/sysdep.h: Likewise.
45464 * sysdeps/s390/s390-32/sysdep.h: Likewise.
45465 * sysdeps/s390/s390-64/sysdep.h: Likewise.
45466 * sysdeps/sh/sysdep.h: Likewise.
45467 * sysdeps/sparc/sparc32/alloca.S: Likewise.
45468 * sysdeps/unix/i386/sysdep.S: Likewise.
45469 * sysdeps/unix/sparc/start.c: Likewise.
45470 * sysdeps/unix/sparc/sysdep.S: Likewise.
45471 * sysdeps/unix/sparc/sysdep.h: Likewise.
45472 * sysdeps/unix/start.c: Likewise.
45473 * sysdeps/unix/x86_64/sysdep.S: Likewise.
45474 * sysdeps/x86_64/sysdep.h: Likewise.
45475
df78418a
UD
454762012-01-07 Ulrich Drepper <drepper@gmail.com>
45477
a784e502
UD
45478 [BZ #13553]
45479 * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
45480 for non-gcc.
45481 * argp/argp-fmtstream.h: Use const instead __const.
45482 * argp/argp.h: Likewise.
45483 * assert/assert.h: Likewise.
45484 * bits/fenv.h: Likewise.
45485 * bits/sched.h: Likewise.
45486 * bits/sigset.h: Likewise.
45487 * bits/sigthread.h: Likewise.
45488 * catgets/nl_types.h: Likewise.
45489 * conform/data/pthread.h-data: Likewise.
45490 * crypt/crypt-private.h: Likewise.
45491 * crypt/crypt.h: Likewise.
45492 * crypt/crypt_util.c: Likewise.
45493 * ctype/ctype.h: Likewise.
45494 * debug/execinfo.h: Likewise.
45495 * debug/mbsnrtowcs_chk.c: Likewise.
45496 * debug/mbsrtowcs_chk.c: Likewise.
45497 * debug/wcsnrtombs_chk.c: Likewise.
45498 * debug/wcsrtombs_chk.c: Likewise.
45499 * debug/wcstombs_chk.c: Likewise.
45500 * dirent/dirent.h: Likewise.
45501 * dlfcn/dlfcn.h: Likewise.
45502 * elf/neededtest4.c: Likewise.
45503 * grp/grp.h: Likewise.
45504 * gshadow/gshadow.h: Likewise.
45505 * iconv/gconv.h: Likewise.
45506 * iconv/gconv_int.h: Likewise.
45507 * iconv/gconv_simple.c: Likewise.
45508 * iconv/iconv.h: Likewise.
45509 * iconv/loop.c: Likewise.
45510 * iconv/skeleton.c: Likewise.
45511 * include/aio.h: Likewise.
45512 * include/aliases.h: Likewise.
45513 * include/argz.h: Likewise.
45514 * include/arpa/inet.h: Likewise.
45515 * include/assert.h: Likewise.
45516 * include/dirent.h: Likewise.
45517 * include/dlfcn.h: Likewise.
45518 * include/execinfo.h: Likewise.
45519 * include/fcntl.h: Likewise.
45520 * include/fenv.h: Likewise.
45521 * include/glob.h: Likewise.
45522 * include/grp.h: Likewise.
45523 * include/libintl.h: Likewise.
45524 * include/mntent.h: Likewise.
45525 * include/netdb.h: Likewise.
45526 * include/pwd.h: Likewise.
45527 * include/rpc/netdb.h: Likewise.
45528 * include/sched.h: Likewise.
45529 * include/search.h: Likewise.
45530 * include/shadow.h: Likewise.
45531 * include/signal.h: Likewise.
45532 * include/stdio.h: Likewise.
45533 * include/stdlib.h: Likewise.
45534 * include/string.h: Likewise.
45535 * include/sys/socket.h: Likewise.
45536 * include/sys/stat.h: Likewise.
45537 * include/sys/statfs.h: Likewise.
45538 * include/sys/statvfs.h: Likewise.
45539 * include/sys/syslog.h: Likewise.
45540 * include/sys/time.h: Likewise.
45541 * include/sys/uio.h: Likewise.
45542 * include/time.h: Likewise.
45543 * include/unistd.h: Likewise.
45544 * include/utmp.h: Likewise.
45545 * include/wchar.h: Likewise.
45546 * include/wctype.h: Likewise.
45547 * inet/aliases.h: Likewise.
45548 * inet/arpa/inet.h: Likewise.
45549 * inet/netinet/ether.h: Likewise.
45550 * inet/netinet/in.h: Likewise.
45551 * intl/libintl.h: Likewise.
45552 * io/bits/fcntl2.h: Likewise.
45553 * io/fcntl.h: Likewise.
45554 * io/ftw.h: Likewise.
45555 * io/sys/poll.h: Likewise.
45556 * io/sys/stat.h: Likewise.
45557 * io/sys/statfs.h: Likewise.
45558 * io/sys/statvfs.h: Likewise.
45559 * io/utime.h: Likewise.
45560 * libio/bits/stdio.h: Likewise.
45561 * libio/bits/stdio2.h: Likewise.
45562 * libio/libio.h: Likewise.
45563 * libio/libioP.h: Likewise.
45564 * libio/stdio.h: Likewise.
45565 * locale/lc-ctype.c: Likewise.
45566 * locale/locale.h: Likewise.
45567 * login/utmp.h: Likewise.
45568 * malloc/arena.c: Likewise.
45569 * malloc/malloc.c: Likewise.
45570 * malloc/malloc.h: Likewise.
45571 * malloc/mcheck.c: Likewise.
45572 * malloc/mtrace.c: Likewise.
45573 * math/bits/mathcalls.h: Likewise.
45574 * math/fenv.h: Likewise.
45575 * math/math_private.h: Likewise.
45576 * misc/bits/error.h: Likewise.
45577 * misc/bits/syslog.h: Likewise.
45578 * misc/err.h: Likewise.
45579 * misc/error.h: Likewise.
45580 * misc/fstab.h: Likewise.
45581 * misc/mntent.h: Likewise.
45582 * misc/regexp.h: Likewise.
45583 * misc/search.h: Likewise.
45584 * misc/sgtty.h: Likewise.
45585 * misc/sys/mman.h: Likewise.
45586 * misc/sys/syslog.h: Likewise.
45587 * misc/sys/uio.h: Likewise.
45588 * misc/sys/xattr.h: Likewise.
45589 * misc/ttyent.h: Likewise.
45590 * nis/rpcsvc/ypclnt.h: Likewise.
45591 * nss/nss.h: Likewise.
45592 * posix/bits/unistd.h: Likewise.
45593 * posix/fnmatch.h: Likewise.
45594 * posix/glob.h: Likewise.
45595 * posix/sched.h: Likewise.
45596 * posix/spawn.h: Likewise.
45597 * posix/sys/wait.h: Likewise.
45598 * posix/unistd.h: Likewise.
45599 * posix/wordexp.h: Likewise.
45600 * pwd/pwd.h: Likewise.
45601 * resolv/netdb.h: Likewise.
45602 * resource/sys/resource.h: Likewise.
45603 * rt/aio.h: Likewise.
45604 * rt/bits/mqueue2.h: Likewise.
45605 * rt/mqueue.h: Likewise.
45606 * shadow/shadow.h: Likewise.
45607 * signal/signal.h: Likewise.
45608 * socket/send.c: Likewise.
45609 * socket/sendto.c: Likewise.
45610 * socket/sys/socket.h: Likewise.
45611 * stdio-common/printf.h: Likewise.
45612 * stdlib/bits/stdlib.h: Likewise.
45613 * stdlib/fmtmsg.h: Likewise.
45614 * stdlib/monetary.h: Likewise.
45615 * stdlib/stdlib.h: Likewise.
45616 * stdlib/ucontext.h: Likewise.
45617 * streams/stropts.h: Likewise.
45618 * string/argz.h: Likewise.
45619 * string/bits/string2.h: Likewise.
45620 * string/string.h: Likewise.
45621 * string/strings.h: Likewise.
45622 * sunrpc/rpc/auth.h: Likewise.
45623 * sunrpc/rpc/auth_des.h: Likewise.
45624 * sunrpc/rpc/clnt.h: Likewise.
45625 * sunrpc/rpc/netdb.h: Likewise.
45626 * sunrpc/rpc/pmap_clnt.h: Likewise.
45627 * sunrpc/rpc/xdr.h: Likewise.
45628 * sysdeps/generic/inttypes.h: Likewise.
45629 * sysdeps/generic/net/if.h: Likewise.
45630 * sysdeps/generic/sys/swap.h: Likewise.
45631 * sysdeps/gnu/net/if.h: Likewise.
45632 * sysdeps/gnu/utmpx.h: Likewise.
45633 * sysdeps/i386/fpu/bits/fenv.h: Likewise.
45634 * sysdeps/i386/i486/bits/string.h: Likewise.
45635 * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
45636 * sysdeps/s390/bits/string.h: Likewise.
45637 * sysdeps/s390/fpu/bits/fenv.h: Likewise.
45638 * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
45639 * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
45640 * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
45641 * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
45642 * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
45643 * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
45644 * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
45645 * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
45646 * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
45647 * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
45648 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
45649 * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
45650 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
45651 * sysdeps/unix/sysv/linux/readv.c: Likewise.
45652 * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
45653 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
45654 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
45655 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
45656 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
45657 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
45658 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
45659 * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
45660 * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
45661 * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
45662 * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
45663 * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
45664 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
45665 * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
45666 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
45667 * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
45668 * sysvipc/sys/ipc.h: Likewise.
45669 * sysvipc/sys/msg.h: Likewise.
45670 * sysvipc/sys/sem.h: Likewise.
45671 * sysvipc/sys/shm.h: Likewise.
45672 * termios/termios.h: Likewise.
45673 * time/sys/time.h: Likewise.
45674 * time/time.h: Likewise.
45675 * wcsmbs/bits/wchar2.h: Likewise.
45676 * wcsmbs/uchar.h: Likewise.
45677 * wcsmbs/wchar.h: Likewise.
45678 * wctype/wctype.h: Likewise.
45679
0269750c
UD
45680 [BZ #13551]
45681 * Makeconfig: Remove all but ELF support including AIX support.
45682 * Makerules: Likewise.
45683 * config.h.in: Likewise.
45684 * config.make.in: Likewise.
45685 * configure: Likewise.
45686 * configure.in: Likewise.
45687 * csu/Makefile: Likewise.
45688 * csu/version.c: Likewise.
45689 * debug/Makefile: Likewise.
45690 * dlfcn/Makefile: Likewise.
45691 * elf/Makefile: Likewise.
45692 * extra-lib.mk: Likewise.
45693 * iconv/Makefile: Likewise.
45694 * include/libc-symbols.h: Likewise.
45695 * include/shlib-compat.h: Likewise.
45696 * resolv/Makefile: Likewise.
45697 * resolv/res_libc.c: Likewise.
45698 * rt/Makefile: Likewise.
45699 * sysdeps/i386/asm-syntax.h: Likewise.
45700 * sysdeps/i386/sysdep.h: Likewise.
45701 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
45702 * sysdeps/mach/sysdep.h: Likewise.
45703 * sysdeps/powerpc/powerpc32/Makefile: Likewise.
45704 * sysdeps/powerpc/powerpc64/Makefile: Likewise.
45705 * sysdeps/s390/asm-syntax.h: Likewise.
45706 * sysdeps/s390/s390-32/sysdep.h: Likewise.
45707 * sysdeps/s390/s390-64/sysdep.h: Likewise.
45708 * sysdeps/sh/sysdep.h: Likewise.
45709 * sysdeps/unix/sparc/sysdep.h: Likewise.
45710 * sysdeps/wordsize-32/divdi3.c: Likewise.
45711 * sysdeps/x86_64/sysdep.h: Likewise.
45712
00bbd29b
UD
45713 * argp/Versions: Remove _argp_unlock_xxx.
45714
45715 [BZ #13559]
45716 * abilist/ld.abilist: Update. Adjust for removal of tls option.
45717 * abilist/libBrokenLocale.abilist: Likewise.
45718 * abilist/libanl.abilist: Likewise.
45719 * abilist/libc.abilist: Likewise.
45720 * abilist/libcrypt.abilist: Likewise.
45721 * abilist/libdl.abilist: Likewise.
45722 * abilist/libm.abilist: Likewise.
45723 * abilist/libnsl.abilist: Likewise.
45724 * abilist/libpthread.abilist: Likewise.
45725 * abilist/libresolv.abilist: Likewise.
45726 * abilist/librt.abilist: Likewise.
45727 * abilist/libthread_db.abilist: Likewise.
45728 * abilist/libutil.abilist: Likewise.
45729 * abilist/libnss_db.abilist: New file.
45730
45731 * scripts/abilist.awk: Add support for indirect functions.
45732
a2693a0e
UD
45733 * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
45734
3f05895f
UD
45735 * sysdeps/generic/ldsodefs.h: Remove Alpha support.
45736
ecb6fb48
UD
45737 * shlib-versions: Remove entries for ports architectures.
45738
664f8cb9
UD
45739 * elf/tls-macros.h: Remove support for Alpha and IA-64. Should be in
45740 files in ports.
45741 * elf/stackguard-macros.h: Remove support for IA-64.
45742 * elf/tst-auditmod1.c: Likewise.
45743 * sysdeps/generic/ldsodefs.h: Likewise.
45744
7ae81d88
UD
45745 * sysdeps/unix/sysv/linux/configure.in: Ports should define
45746 libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
45747 configure files.
45748
bdeba135
UD
45749 [BZ #13552]
45750 * configure.in: Remove --enable-omitfp support.
45751 * FAQ.in: Adjust.
45752 * config.make.in: Likewise.
45753 * Makeconfig: Likewise.
45754 * manual/install.texi: Likewise.
45755
d75a0a62
UD
45756 In case anyone cares, the IA-64 architecture could move to ports.
45757 * sysdeps/ia64/*: Removed.
45758 * sysdeps/unix/sysv/linux/ia64/*: Removed.
b13b9885 45759 * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
d75a0a62 45760
dcc9756b
UD
45761 [BZ #13555]
45762 * configure.in: Remove entries for unsupported architectures.
45763
d3761ebc 45764 [BZ #13533]
9954432e
UD
45765 * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
45766 * iconv/gconv_simple.c: Rename char16_t routines. Add char16_t<->utf8
45767 routines.
45768 * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
45769 * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
45770 * wcsmbs/c16rtomb.c: Fix a few problems. Disable all the code and
45771 fall back to using wcrtomb.
45772 * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
45773 * wcsmbs/wcsmbsload.c: Make char16 routines optional. Adjust for
45774 renaming.
45775 * wcsmbs/Makefile (tests): Add tst-c16c32-1:
45776 * wcsmbs/tst-c16c32-1.c: New file.
45777
45778 * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
45779 local variable.
45780
c3a87236
UD
45781 * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
45782
28926a1b
UD
45783 * elf/tst-unique3.cc: Add explicit declaration of gets.
45784 * elf/tst-unique3lib.cc: Likewise.
45785 * elf/tst-unique3lib2.cc: Likewise.
45786 * elf/tst-unique4.cc: Likewise.
45787
df78418a
UD
45788 * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
45789
8ecd6b2a
JM
457902012-01-06 Joseph Myers <joseph@codesourcery.com>
45791
45792 [BZ #13566]
45793 * assert/assert.h (static_assert): Don't define for C++.
45794 * libio/stdio.h (gets): Do declare for C++ <= C++11.
45795 * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
45796
9f115170
UD
457972012-01-03 Ulrich Drepper <drepper@gmail.com>
45798
5e0d0300
UD
45799 * iconv/loop.c (single loop): Fix assertion in storing of
45800 remaining bytes.
45801
9f115170
UD
45802 * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
45803
81fb02b0
UD
458042012-01-01 Ulrich Drepper <drepper@gmail.com>
45805
45806 * posix/getconf.c: Update copyright year.
45807 * nss/getent.c: Likewise.
a316c1f6 45808 * nss/makedb.c: Likewise.
81fb02b0
UD
45809 * iconv/iconvconfig.c: Likewise.
45810 * iconv/iconv_prog.c: Likewise.
45811 * elf/ldconfig.c: Likewise.
a316c1f6
UD
45812 * elf/pldd.c: Likewise.
45813 * elf/sotruss.ksh: Likewise.
81fb02b0
UD
45814 * catgets/gencat.c: Likewise.
45815 * csu/version.c: Likewise.
45816 * elf/ldd.bash.in: Likewise.
45817 * elf/sprof.c (print_version): Likewise.
45818 * locale/programs/locale.c: Likewise.
45819 * locale/programs/localedef.c: Likewise.
a316c1f6 45820 * login/programs/pt_chown.c: Likewise.
81fb02b0
UD
45821 * nscd/nscd.c (print_version): Likewise.
45822 * debug/xtrace.sh: Likewise.
45823 * malloc/memusage.sh: Likewise.
45824 * malloc/mtrace.pl: Likewise.
45825 * debug/catchsegv.sh: Likewise.
45826
2ba92745
JJ
458272011-12-30 Jakub Jelinek <jakub@redhat.com>
45828
45829 * posix/regex_internal.c (re_string_fetch_byte_case): Remove
45830 pure attribute.
45831
dadebdae
UD
458322011-12-24 Ulrich Drepper <drepper@gmail.com>
45833
d3761ebc 45834 [BZ #13533]
db6af3eb
UD
45835 * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
45836 * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
45837 transformations.
45838 * iconv/gconv_int.h: Likewise.
45839 * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
45840 * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
45841 from libc for GLIBC_2.16.
45842 * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
45843 * wcsmbs/wcrtomb.c: Define c32rtomb alias.
45844 * wcsmbs/uchar.h: Really define mbstate_t.
45845 * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
45846 * wcsmbs/c16rtomb.c: New file.
45847 * wcsmbs/mbrtoc16.c: New file.
45848 * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
45849 for C/POSIX locale.
45850 (__wcsmbs_load_conv): Do not fill in c16 routines yet.
45851 * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
45852
dadebdae
UD
45853 * wcsmbs/wchar.h: Add missing __restrict.
45854
67371b56
UD
458552011-12-23 Ulrich Drepper <drepper@gmail.com>
45856
74033a25
UD
45857 [BZ #13532]
45858 * time/Makefile (routines): Add timespec_get.
45859 * time/Versions: Export timespec_get from libc for GLIBC_2.16.
45860 * time/time.h: Define TIME_UTC and declare timespec_get. Define
45861 timespec for ISO C11.
45862 * time/timespec_get.c: New file.
45863 * sysdeps/unix/sysv/linux/timespec_get.c: New file.
45864 * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
45865
380d7e87
UD
45866 [BZ #13531]
45867 * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
45868 * stdlib/stdlib.h: Declare aligned_alloc.
45869 * Versions.def: Add GLIBC_2.16 for libc.
45870 * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
45871
4e9e7a35
UD
45872 [BZ 13527]
45873 * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
45874 ISO C11.
45875
380d7e87 45876 * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
8fd8ff3b
UD
45877 code.
45878
03a71829
UD
45879 [BZ #13528]
45880 * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
45881
839e283e
UD
45882 [BZ #13529]
45883 * assert/assert.h (static_assert): Define.
45884
ce5294e2 45885 * version.h: Update for 2.16 development version.
90fa7312 45886
8d44e150 45887 [BZ #13526]
d7809905
UD
45888 * include/features.h: Handle __STDC_VERSION__ >= 201112 and
45889 _ISOC11_SOURCE.
45890
c0da14cd
UD
45891 * version.h (RELEASE): Bump for 2.15 release.
45892 * include/features.h (__GLIBC_MINOR__): Bump to 15.
45893
530a3249
MP
45894 * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
45895 Patch by Marek Polacek <mpolacek@redhat.com>.
45896
67371b56
UD
45897 * bits/byteswap.h: Protect long long constants with __extension__.
45898 * sysdeps/i386/bits/byteswap.h: Likewise.
45899 * sysdeps/ia64/bits/byteswap.h: Likewise.
45900 * sysdeps/s390/bits/byteswap.h: Likewise.
45901 * sysdeps/x86_64/bits/byteswap.h: Likewise.
45902
15db4de1
LD
459032011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
45904
45905 [BZ #13540]
bbe315ea
LD
45906 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
45907 destination buffer.
15db4de1
LD
45908 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
45909
2b2596b1
MP
459102011-12-23 Marek Polacek <polacek@redhat.com>
45911
45912 * elf/dl-addr.c (determine_info): Add inline keyword.
45913 * elf/tst-auditmod4b.c (check_avx): Likewise.
45914 * elf/tst-auditmod6b.c (check_avx): Likewise.
45915 * elf/tst-auditmod6c.c (check_avx): Likewise.
45916 * elf/tst-auditmod7b.c (check_avx): Likewise.
45917
70c6c246
UD
459182011-12-23 Ulrich Drepper <drepper@gmail.com>
45919
45920 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
45921 !__SSE_MATH__.
45922
c044cf14
LD
459232011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
45924
15db4de1 45925 [BZ #13540]
c044cf14
LD
45926 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
45927 processing for last bytes.
45928
6b13d9d9
BH
459292011-08-06 Bruno Haible <bruno@clisp.org>
45930
d455f537
BH
45931 [BZ #13061]
45932 * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
45933 U+0385, not to U+1FEE.
45934
6b13d9d9
BH
45935 [BZ #13062]
45936 * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
45937 entry for U+00A5 U+0301.
45938
db910efd
UD
459392011-12-22 Ulrich Drepper <drepper@gmail.com>
45940
27deeafc
UD
45941 [BZ #13166]
45942 * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
45943 buffer for the output is too small.
45944
aed9d171
UD
45945 * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
45946 optimization.
45947
db910efd
UD
45948 [BZ #13185]
45949 * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
45950 SSE flags if possible.
45951
2bd779ae
LD
459522011-12-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
45953
e7f9dac3 45954 [BZ #13540]
2bd779ae
LD
45955 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
45956 processing for last bytes.
45957
154bfc16
JM
459582011-12-22 Joseph Myers <joseph@codesourcery.com>
45959
45960 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
45961 (syscall-list-default-options, syscall-list-default-condition)
45962 (syscall-list-includes): Define.
45963 ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
45964 list of ABIs and options and #if conditions for each ABI. Do not
45965 handle common syscalls between ABIs specially.
45966 * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
45967 Remove.
45968 (syscall-list-variants, syscall-list-32bit-options)
45969 (syscall-list-32bit-condition, syscall-list-64bit-options)
45970 (syscall-list-64bit-condition): Define.
45971 * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
45972 (syscall-list-variants, syscall-list-32bit-options)
45973 (syscall-list-32bit-condition, syscall-list-64bit-options)
45974 (syscall-list-64bit-condition): Define.
45975 * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
45976 Remove.
45977 (syscall-list-variants, syscall-list-32bit-options)
45978 (syscall-list-32bit-condition, syscall-list-64bit-options)
45979 (syscall-list-64bit-condition): Define.
45980 * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
45981 Remove.
45982 (syscall-list-variants, syscall-list-32bit-options)
45983 (syscall-list-32bit-condition, syscall-list-64bit-options)
45984 (syscall-list-64bit-condition): Define.
45985
21eaf3a5
UD
459862011-12-22 Ulrich Drepper <drepper@gmail.com>
45987
16c6f992
UD
45988 * locale/iso-639.def: Add brx entry.
45989
41043168
UD
45990 [BZ #13328]
45991 * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
45992 Proposed by Mariusz_Cukr <marcukr@op.pl>.
45993
21eaf3a5
UD
45994 * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
45995 __feraiseexcept_renamed.
45996
e3a851a2
UD
459972011-12-21 Ulrich Drepper <drepper@gmail.com>
45998
4920765e
UD
45999 [BZ #13538]
46000 * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
46001 EPOLLET with unsigned values.
46002 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
46003 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
46004
e3a851a2
UD
46005 * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
46006 to large cancellation.
46007 * math/s_cacoshf.c: Likewise.
46008 * math/s_cacoshl.c: Likewise.
46009
b27e24b8
RK
460102011-11-18 Richard B. Kreckel <kreckel@ginac.de>
46011
46012 [BZ #13305]
aebefeee 46013 [BZ #12786]
b27e24b8
RK
46014 * math/s_cacosh.c: Fix rare miscomputation in cacosh().
46015 * math/s_cacoshf.c: Likewise.
46016 * math/s_cacoshl.c: Likewise.
46017
ee190f67
UD
460182011-12-21 Ulrich Drepper <drepper@gmail.com>
46019
46020 [BZ #13439]
46021 * iconv/gconv.h: Define __GCONV_SWAP.
46022 * iconvdata/unicode.c: The swap bit must be stored in __flags.
46023 * iconvdata/utf-16.c: Likewise.
46024 * iconvdata/utf-32.c: Likewise.
46025
707f25df
AS
460262011-12-21 Andreas Schwab <schwab@linux-m68k.org>
46027
46028 [BZ #13524]
46029 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
46030 numerator after shifting it by one limb.
46031
d2daaa1e
RÁE
460322011-12-19 Rafael Ávila de Espíndola <rafael.espindola@gmail.com>
46033
46034 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
46035 under [__USE_EXTERN_INLINES].
46036
a4647e72
UD
460372011-12-17 Ulrich Drepper <drepper@gmail.com>
46038
46039 [BZ #13446]
46040 * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
46041
f0b264f1
AZ
460422011-11-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
46043
46044 * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
46045 * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
46046 optimized code.
46047 * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
46048 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
46049 * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
46050 * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
46051 for strncasecmp/strncasecmp_l compilation.
46052 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
46053 * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
46054
8ef4f244
MP
460552011-12-08 Marek Polacek <mpolacek@redhat.com>
46056
46057 [BZ #13484]
46058 * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
46059 of __asm__.
46060
97ac2654
UD
460612011-12-17 Ulrich Drepper <drepper@gmail.com>
46062
46063 [BZ #13506]
46064 * time/tzfile.c (__tzfile_read): Check values from file header.
46065
91d2a845
WS
460662011-11-21 Will Schmidt <will_schmidt@vnet.ibm.com>
46067
46068 * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
46069 * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
46070 * powerpc/powerpc32/dl-start.S: Likewise.
46071 * powerpc/powerpc32/elf/start.S: Likewise.
46072 * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
46073 * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
46074 * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
46075 * powerpc/powerpc32/fpu/s_floor.S: Likewise.
46076 * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
46077 * powerpc/powerpc32/fpu/s_lround.S: Likewise.
46078 * powerpc/powerpc32/fpu/s_rint.S: Likewise.
46079 * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
46080 * powerpc/powerpc32/fpu/s_round.S: Likewise.
46081 * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
46082 * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
46083 * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
46084 * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
46085 * powerpc/powerpc32/memset.S: Likewise.
46086 * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
46087 * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
46088 * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
46089 * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
46090 * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
46091 * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
46092 * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
46093 * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
46094 * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
46095 * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
46096 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
46097 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
46098 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
46099
a1267ba1
AZ
461002011-11-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
46101
46102 * math/libm-test.inc: Added more nearbyint tests.
46103 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
46104 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
46105 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
46106 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
46107
ad8ac1bd
RL
461082011-11-21 Ross Lagerwall <rosslagerwall@gmail.com>
46109
46110 * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
46111 FD_CLOEXEC.
46112
1d3e4b61
UD
461132011-11-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
46114
46115 * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
46116 Add wcscpy-ssse3 wcscpy-c.
46117 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
46118 * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
46119 * sysdeps/x86_64/multiarch/wcscpy.S: New file.
46120 * sysdeps/x86_64/wcschr.S: New file.
46121 * sysdeps/x86_64/wcsrchr.S: New file.
46122 * string/test-strcmp.c: Remove checking of wcscmp function for
46123 wrong alignments.
46124 * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
46125 (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
46126 wcsrchr-sse2 wcsrchr-c.
46127 * sysdeps/i386/i686/multiarch/wcschr.S: New file.
46128 * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
46129 * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
46130 * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
46131 * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
46132 * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
46133 * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
46134 * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
46135 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
46136 * wcsmbc/wcschr.c (WCSCHR): New macro.
46137
5b330a2d
UD
461382011-11-17 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
46139
46140 * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
46141 * wcsmbs/test-wcsrchr.c: New file.
46142 * string/test-strrchr.c: Add wcsrchr support.
46143 (WIDE): New macro.
46144 * wcsmbs/test-wcscpy.c: New file.
46145 * string/test-strcpy.c: Add wcscpy support.
46146 (WIDE): New macro.
26428b7c 46147
f039c043
UD
461482011-12-10 Ulrich Drepper <drepper@gmail.com>
46149
46150 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
46151 the inner loop.
46152
850fb039
AS
461532011-12-06 Andreas Schwab <schwab@linux-m68k.org>
46154
46155 [BZ #13472]
46156 * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
46157
4efbd5cb
UD
461582011-12-04 Ulrich Drepper <drepper@gmail.com>
46159
52ff5dd0 46160 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
52ad36a2 46161 Minor optimizations.
52ff5dd0 46162
4efbd5cb
UD
46163 * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
46164 * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
46165 * sunrpc/clnt_udp.c (clntudp_call): Likewise.
46166
8a426e12
UD
461672011-12-03 Ulrich Drepper <drepper@gmail.com>
46168
aff2453d
UD
46169 * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
46170 IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
46171 IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
46172 for gcc to avoid warnings.
46173 * inet/Makefile (tests): Add tst-checks.
46174 * inet/tst-checks.c: New file.
46175
46176 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
46177 warning.
46178
46179 * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
46180 __wmemcmp_sse2.
46181
46182 * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
46183 * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
46184
8a426e12
UD
46185 * malloc/mcheck.h: Fix use of incorrect encoding in comment.
46186
9bea3473
UD
461872011-12-02 Ulrich Drepper <drepper@gmail.com>
46188
3a965496
UD
46189 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
46190 problem.
46191
9bea3473
UD
46192 * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
46193
f101631b
UD
461942011-11-29 Joseph Myers <joseph@codesourcery.com>
46195
46196 * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
46197 conditional on GCC version.
46198 (__arch_compare_and_exchange_val_8_acq)
46199 (__arch_compare_and_exchange_val_16_acq)
46200 (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
46201 (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
46202 (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
46203
a98275aa
UD
462042011-12-02 Joseph Myers <joseph@codesourcery.com>
46205
46206 * sysdeps/sh/backtrace.c: New file.
46207
d4cc29a2
AS
462082011-12-02 Andreas Schwab <schwab@redhat.com>
46209
46210 * misc/bits/select2.h (__FD_ELT): Mark as extension. Add
46211 parenthesis.
46212
6257af2d
AS
462132011-12-01 Andreas Schwab <schwab@redhat.com>
46214
46215 * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
46216 falling back to utime.
46217
b5f44c1a
AS
462182011-11-30 Andreas Schwab <schwab@redhat.com>
46219
46220 * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
46221 expectations for float.
46222
f3a6cc0a
AS
462232011-11-29 Andreas Schwab <schwab@redhat.com>
46224
46225 * locale/weight.h (findidx): Add parameter len.
46226 * locale/weightwc.h (findidx): Likewise.
46227 * posix/fnmatch_loop.c (FCT): Adjust caller.
46228 * posix/regcomp.c (build_equiv_class): Likewise.
46229 * posix/regex_internal.h (re_string_elem_size_at): Likewise.
46230 * posix/regexec.c (check_node_accept_bytes): Likewise.
46231 * string/strcoll_l.c (STRCOLL): Likewise.
46232 * string/strxfrm_l.c (STRXFRM): Likewise.
46233
9d65ea3a
UD
462342011-11-17 Ulrich Drepper <drepper@gmail.com>
46235
46236 * Makefile.in: Remove CVSOPT handling.
46237 * configure.in: Remove use of AC_REVISION.
46238 * iconvdata/Makefile (distribute): No need to filter out CVS.
46239 * scripts/list-sources.sh: Remove CVS, subversion and monotone
46240 handling.
46241
5583a086
AS
462422011-11-16 Andreas Schwab <schwab@redhat.com>
46243
46244 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
46245 [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
46246 [USE_AS_STRNCASECMP_L]: Likewise.
46247 (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
46248 NO_TLS_DIRECT_SEG_REFS.
46249 * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
46250 Fix argument offsets for non-PIC.
46251 [USE_AS_STRNCASECMP_L]: Likewise.
46252 (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
46253 NO_TLS_DIRECT_SEG_REFS.
46254
d62a8200
UD
462552011-11-15 Ulrich Drepper <drepper@gmail.com>
46256
9d65ea3a 46257 * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
d62a8200
UD
46258 O_CLOEXEC.
46259 * locale/loadlocale.c (_nl_load_locale): Likewise.
46260
09f93bd3
AS
462612011-11-15 Andreas Schwab <schwab@redhat.com>
46262
446514f9
AS
46263 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
46264 [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
46265 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
46266 (SYSCALL_GETTIME): Set errno on error.
46267
09f93bd3
AS
46268 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
46269 count references to noai6ai_cached.
46270
312be3f9
UD
462712011-11-15 Ulrich Drepper <drepper@gmail.com>
46272
46273 * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
46274
46275 * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
46276 FD_CLOEXEC for /proc/self/maps.
46277
46278 * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
46279 FD_CLOEXEC for /proc/meminfo.
46280
46281 * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
46282 gai.conf.
46283
46284 * resolv/res_query.c (res_hostalias): Don't allow cancellation and set
46285 FD_CLOEXEC for given file.
46286
46287 * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
46288
46289 * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
46290 FD_CLOEXEC for /etc/hosts.
46291 (_gethtent): Likewise.
46292
46293 * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
46294
46295 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
46296 cancellation and set FD_CLOEXEC for /etc/netgroup.
46297
46298 * nss/nss_files/files-key.c (search): Don't allow cancellation when
46299 reading /etc/publickey.
46300
46301 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
46302 allow cancellation when reading /etc/group.
46303
46304 * nss/nss_files/files-alias.c (internal_setent): Don't allow
46305 cancellation.
46306 (get_next_alias): Likewise for included file. Also set FD_CLOEXEC.
46307
46308 * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
46309 when using data file.
46310
46311 * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
46312
46313 * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
46314 (write_nis_obj): Use "c" and "e" in fopen.
46315
46316 * misc/mntent_r.c (__setmntent): Also append e to fopen format.
46317
46318 * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
46319
46320 * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
46321
46322 * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
46323
46324 * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
46325 locale.alias.
46326
46327 * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
46328
46329 * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
46330
46331 * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
46332
46333 * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
46334 file parsing and set FD_CLOEXEC.
46335
82af0fa8
UD
463362011-11-14 Ulrich Drepper <drepper@gmail.com>
46337
46338 * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
46339
a5fb313c
AS
463402011-11-14 Andreas Schwab <schwab@redhat.com>
46341
46342 * malloc/arena.c (arena_get2): Don't call reused_arena when
46343 _int_new_arena failed.
46344
6abf3465
UD
463452011-11-14 Ulrich Drepper <drepper@gmail.com>
46346
46347 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
46348 (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
46349 * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
46350 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
46351 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
46352 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
46353 to compile strcasecmp and strncasecmp.
46354 * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
46355 * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
46356
46357 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
46358
76e3966e
UD
463592011-11-13 Ulrich Drepper <drepper@gmail.com>
46360
46361 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
46362 locale-defines.sym to gen-as-const-headers.
46363 (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
46364 strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
46365 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
46366 to compile strcasecmp and strncasecmp.
46367 * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
46368 strcasecmp_l and strncasecmp_l.
46369 * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
46370 * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
46371 * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
46372 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
46373 * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
46374 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
46375 * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
46376 * sysdeps/i386/i686/multiarch/strncase.S: New file.
46377 * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
46378 * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
46379 * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
46380
ab26144e
UD
463812011-11-12 Ulrich Drepper <drepper@gmail.com>
46382
7edb22ef
UD
46383 * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
46384 result of SYSDEP_GETTIME_CPU to retval.
46385 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
46386 parameter list to macro. Remove trailing semicolon. Adjust users.
46387
9694fc44
UD
46388 * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
46389 variable.
46390
8ad89ef8
UD
46391 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
46392 mantissa words.
46393 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
46394
0c822ef9
UD
46395 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
46396 from unused variable.
46397
874e0564
UD
46398 * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
46399 DWARF definitions.
46400 * sysdeps/generic/dwarf2.h: Don't define enums when using the file
46401 for assembling.
46402
3a2edc79
UD
46403 * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
46404 over namespaces.
46405
f3c2577f
UD
46406 * sunrpc/rpc_prot.c (rejected): Fix case value.
46407
294ce126
UD
46408 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
46409 unsigned long long int to avoid warnings in shift.
46410
5e2b63c6
UD
46411 * posix/regex_internal.c (re_string_reconstruct): Actually use result
46412 of use of trans.
46413 * posix/regex_internal.h (re_string_wchar_at): Remove temporary
46414 variable tmp.
46415
e7f4b08e
UD
46416 * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
46417 * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
46418 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
46419
ab26144e
UD
46420 * nis/nis_table.c (nis_list): Use variable of correct type for
46421 result of __follow_path call.
46422
8a6d5255
AZ
464232011-11-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
46424
46425 * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
46426 of math functions ceil, trunc, floor, round, and sqrt, when
46427 avaliable on the platform.
46428 * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
46429 name clash.
46430 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
46431 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
46432 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
46433
aaddc98c
MP
464342011-10-30 Marek Polacek <mpolacek@redhat.com>
46435
46436 * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
46437 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
46438
95b7042b
RM
464392011-11-11 Roland McGrath <roland@hack.frob.com>
46440
46441 * include/unistd.h: Fix __readlink return type.
46442 Reported by Chris Metcalf <cmetcalf@tilera.com>.
46443
57769839
UD
464442011-11-11 Ulrich Drepper <drepper@gmail.com>
46445
46446 * stdlib/ucontext.h: Undo last change for makecontext.
46447
edc5984d
AS
464482011-11-11 Andreas Schwab <schwab@redhat.com>
46449
98591e58
AS
46450 * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
46451
edc5984d
AS
46452 * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
46453 * setjmp/setjmp.h: Mark functions as non-leaf.
46454 * setjmp/bits/setjmp2.h: Likewise.
46455 * stdlib/ucontext.h: Likewise.
46456
77cdc054
AS
464572011-11-10 Andreas Schwab <schwab@redhat.com>
46458
46459 * malloc/arena.c (_int_new_arena): Don't increment narenas.
46460 (reused_arena): Don't check arena limit.
46461 (arena_get2): Atomically check arena limit.
46462
fe72eebd
UD
464632011-11-08 Ulrich Drepper <drepper@gmail.com>
46464
5f078c32
UD
46465 * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
46466 * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
46467
fe72eebd
UD
46468 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
46469 instructions.
46470
ae1bc2fa
AS
464712011-11-07 Andreas Schwab <schwab@redhat.com>
46472
7583a88d
AS
46473 * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
46474 handler when locking.
46475
ae1bc2fa
AS
46476 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
46477 Fix size of allocated buffer.
46478
10fb0bfa
AS
464792011-11-04 Andreas Schwab <schwab@redhat.com>
46480
998832a4
AS
46481 [BZ #10103]
46482 * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
46483 declarations for long double functions.
46484 * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
46485
10fb0bfa
AS
46486 * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
46487
3d7ba52b
AS
464882011-11-03 Andreas Schwab <schwab@redhat.com>
46489
a9ae54a1
AS
46490 * nscd/nscd.c (main): Don't start AVC thread until credentials are
46491 installed.
46492
3d7ba52b
AS
46493 * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
46494 is disabled.
46495
bc8db248
ST
464962011-11-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
46497
46498 * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
46499
45b96dd6
AS
465002011-11-01 Andreas Schwab <schwab@linux-m68k.org>
46501
647776f6
AS
46502 * include/alloca.h (stackinfo_alloca_round): Define.
46503 (extend_alloca): Use it.
46504 [_STACK_GROWS_UP]: Correct check for adjacent allocation.
46505 * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
46506 here.
46507
d91a8b93
AS
46508 * scripts/check-local-headers.sh: Ignore libaudit.h.
46509
45b96dd6
AS
46510 * nscd/Makefile (extra-objs): Make recursively expanded.
46511
432d41ce
UD
465122011-11-01 Ulrich Drepper <drepper@gmail.com>
46513
34372fc6
UD
46514 * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
46515 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
46516
fadb59f8
UD
46517 * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
46518 * posix/tst-rfc3484-2.c: Likewise.
46519 * posix/tst-rfc3484-3.c: Likewise.
46520
78239589
UD
46521 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
46522 process_vm_writev.
46523 * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
46524 process_vm_writev.
46525 * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
46526 process_vm_writev from libc using GLIBC_2.15 version.
46527
432d41ce
UD
46528 * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
46529
02f9c6cf
PP
465302011-10-31 Paul Pluzhnikov <ppluzhnikov@google.com>
46531
46532 * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
46533 stack usage.
46534
3a2c0242
UD
465352011-10-31 Ulrich Drepper <drepper@gmail.com>
46536
f4ec4833
UD
46537 [BZ #13367]
46538 * nss/getent.c (initgroups_keys): Show error message in case no group
46539 names are given.
46540
3a2c0242
UD
46541 * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
46542 * inet/check_pf.c: Provide dummy versions of __free_in6ai and
46543 __bump_nl_timestamp.
46544 * nscd/connections (nscd_init): When host database is served open
46545 netlink socket and request notification about configuration changes.
46546 (main_loop_poll): Track netlink file descriptor and bump timestamp
46547 in case data becomes available.
46548 (main_loop_epoll): Likewise.
46549 * nscd/nscd-client.h (DB_VERSION): Bump to 2.
46550 (database_pers_head): Add extra_data fileds.
46551 Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
46552 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
46553 * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
46554 Adjust caller.
46555 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
46556 in6ai data, call __free_in6ai.
46557 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
46558 Add -DHAVE_NETLINK.
46559 * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite. Cache the
46560 interface information. Reuse previous data if netlink timestamp
46561 is not changed.
46562 (__bump_nl_timestamp): New function.
46563 (__free_in6ai): New function.
46564
636064eb
UD
465652011-10-30 Ulrich Drepper <drepper@gmail.com>
46566
46567 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
46568 close_not_cancel_no_status here.
46569 (__check_pf): Reorganize code a bit to not call close twice if OOM.
46570
9beb2334
UD
465712011-10-29 Ulrich Drepper <drepper@gmail.com>
46572
6ef76f3b
UD
46573 [BZ #13276]
46574 * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
46575 return value.
46576
0ffc4f3e 46577 * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
9beb2334
UD
46578 * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
46579 asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
46580
cb95113e
UD
465812011-07-03 Andreas Jaeger <aj@suse.de>
46582
46583 [BZ #10709]
46584 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
46585 of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
46586 * math/libm-test.inc (sin_test): Add test case.
46587
a1b560ff
UD
465882011-10-29 Ulrich Drepper <drepper@gmail.com>
46589
c9aaface
UD
46590 [BZ #13337]
46591 * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
46592 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
46593
d272e7f1
UD
46594 * elf/chroot_canon.c (chroot_canon): Cleanups.
46595
1bc33071
UD
46596 * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
46597
1760874d
TJ
46598 [BZ #13335]
46599 * elf/chroot_canon.c (chroot_canon): Fix readlink call.
46600 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
46601
51d91b18
UD
46602 * string/test-strchr.c: Make usable for strchrnul testing.
46603 * string/test-strchrnul.c: New file.
46604 * string/Makefile (strop-tests): Add strchrnul.
46605
a1b560ff 46606 * po/it.po: Update from translation team.
b611fb81 46607 * po/es.po: Likewise.
a1b560ff 46608
a5b81e1f
UD
466092011-10-28 Ulrich Drepper <drepper@gmail.com>
46610
fd52bc6d
UD
46611 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
46612 the three constants needed as parameters. Drop the others.
46613 (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
46614 __m128i_strloadu_tolower.
52e4b9eb
UD
46615 Create and initialize variable zero and use it in all the places
46616 where _mm_setzero_si128 was used.
fd52bc6d 46617
a5b81e1f
UD
46618 * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
46619 doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
46620 mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
46621 * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
46622 anymore.
46623 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
46624 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
46625 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
46626 __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
46627 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
46628 __mpranred, __mptan.
46629 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
46630 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
46631 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
46632 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
46633 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
46634 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
46635 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
46636 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
46637 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
46638
b4343346
AS
466392011-10-28 Andreas Schwab <schwab@redhat.com>
46640
0c92d8a8
AS
46641 * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
46642 redefine if SHARED.
46643 * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
46644
b4343346
AS
46645 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
46646 wide char related routines to wcsmbs subdir.
46647
3871f58f
AS
466482011-10-27 Andreas Schwab <schwab@redhat.com>
46649
46650 [BZ #13344]
46651 * misc/sys/cdefs.h (__THROWNL): Define.
46652 * posix/unistd.h: Use __THREADNL instead of __THREAD
46653 for memory synchronization functions.
46654
94d44d9f
RM
466552011-10-26 Roland McGrath <roland@hack.frob.com>
46656
21b64b15 46657 [BZ #13349]
94d44d9f
RM
46658 * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
46659 doesn't exist.
46660 * manual/stdio.texi (Obstack Streams): Node removed.
46661
f6ce9294
AS
466622011-10-26 Andreas Schwab <schwab@redhat.com>
46663
80479147
AS
46664 * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
46665 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
46666 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
46667
f6ce9294
AS
46668 * math/math_private.h (math_force_eval): Allow non-addressable
46669 arguments.
46670 * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
46671
618280a1
UD
466722011-10-25 Ulrich Drepper <drepper@gmail.com>
46673
e0016b11
UD
46674 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
46675 file is not needed.
46676
46677 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
46678 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
46679 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
46680 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
46681 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
46682 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
46683 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
46684 * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
46685 Add AVX variants.
46686 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
46687 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
46688 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
46689 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
46690 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
46691 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
46692 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
46693 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
46694 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
46695 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
46696 * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
46697 * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
46698 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
46699 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
46700 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
46701 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
46702 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
46703 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
46704 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
46705
46706 * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
46707 all the time. Define bit_AVX. Define HAS_* macros using bit_* macros.
46708
618280a1
UD
46709 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
46710 place. Use VEX encoding when compiling for AVX.
46711
37822576
AS
467122011-10-25 Andreas Schwab <schwab@redhat.com>
46713
1f1e1947
AS
46714 * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
46715 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
46716
37822576
AS
46717 * string/test-strchr.c (do_test): Don't generate NUL bytes.
46718
31ea014d
UD
467192011-10-25 Ulrich Drepper <drepper@gmail.com>
46720
d7826aa1 46721 * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
ffb124cc 46722 useless if() expression.
d7826aa1
UD
46723 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
46724 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
46725 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
46726 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
46727 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
46728 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
46729 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
46730 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
46731 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
46732 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
46733 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
46734 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
46735 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
46736 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
46737 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
46738 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
46739 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
46740 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
46741 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
46742
31ea014d
UD
46743 * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
46744
16437fec
AS
467452011-10-25 Andreas Schwab <schwab@redhat.com>
46746
46747 * elf/dl-deps.c (_dl_map_object_deps): Remove always true
46748 condition.
46749 * elf/dl-fini.c (_dl_sort_fini): Likewise.
46750
31d3cc00
UD
467512011-10-25 Ulrich Drepper <drepper@gmail.com>
46752
46753 * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
46754 .text section. Avoid duplicate constants.
46755 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
46756 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
46757 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
46758 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
46759 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
46760 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
46761 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
46762 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
46763 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
46764 * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
46765 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
46766 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
46767 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
46768 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
46769 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
46770 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
46771 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
46772 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
46773 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
46774 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
46775 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
46776 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
46777 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
46778 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
46779 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
46780 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
46781 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
46782 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
46783 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
46784 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
46785 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
46786 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
46787 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
46788 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
46789 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
46790 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
46791 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
46792 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
46793 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
46794 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
46795 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
46796 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
46797 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
46798 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
46799 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
46800
58985aa9
UD
468012011-10-24 Ulrich Drepper <drepper@gmail.com>
46802
202c9deb
UD
46803 * sysdeps/x86_64/dla.h: Move to ...
46804 * sysdeps/x86_64/fpu/dla.h: ...here.
46805 (DLA_FMS): Some compilers fail to inline __builtin_fma in some
46806 situations. Use __builtin_fma only for gcc 4.6 and up.
a0cf1edd 46807
af968f62
UD
46808 * config.make.in: Add have-mfma4 entry.
46809 * configure.in: Substitute libc_cv_cc_fma4.
46810 * math/Makefile (dbl-only-routines): Add sincostab.
46811 * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
46812 Use __sincostab not sincos.
46813 * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
46814 name is a macro.
46815 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
46816 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
46817 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
46818 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise. Define singArctan2
46819 using __copysign.
46820 * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr. Don't define
46821 __cr and __cpymn. Define __cpy unless NO___CPY is defined. Define
46822 norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
46823 * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
46824 and __inv.
46825 * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
46826 * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
46827 __copysign.
46828 * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos. Don't
46829 define aliases when function name is a macro.
46830 * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
46831 sysdeps/ieee754/dbl-64/sincos.tbl.
46832 * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
46833 fma4-enabled routines.
46834 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
46835 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
46836 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
46837 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
46838 * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
46839 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
46840 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
46841 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
46842 * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
46843 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
46844 * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
46845 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
46846 * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
46847 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
46848 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
46849 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
46850 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
46851 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
46852 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
46853 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
46854 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
46855 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
46856 * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
46857 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
46858 * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
46859 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
46860 * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
46861 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
46862 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
46863 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
46864
58985aa9
UD
46865 * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
46866 rename.
46867 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
46868 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
46869 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
46870 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
46871 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
46872 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
46873 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
46874 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
46875
a201fbcf
AS
468762011-10-24 Andreas Schwab <schwab@redhat.com>
46877
46878 * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
46879
fc2ee42a
LD
468802011-10-23 Ulrich Drepper <drepper@gmail.com>
46881
bb3129bd
UD
46882 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
46883
0275fff8
UD
46884 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
46885 prediction.
46886 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
46887
2fa2ae85
UD
46888 * string/strnlen.c: Don't define STRNLEN, reverse logic.
46889 Remove unused variable magic_bits.
46890 * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
46891
fc2ee42a
LD
46892 * string/strnlen.c: Define and use STRNLEN macro.
46893 * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
46894 Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
46895 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
46896 * wcsmbs/wcslen.c: Define and use WCSLEN.
46897 * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
46898 * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
46899 * sysdeps/i386/i686/multiarch/strnlen.S: New file.
46900 * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
46901 * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
46902 * sysdeps/i386/i686/multiarch/wcslen.S: New file.
46903 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
46904
ce7dd29f
LD
469052011-10-20 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
46906
46907 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
46908 strnlen-sse2-no-bsf.
46909 Rename strlen-no-bsf to strlen-sse2-no-bsf.
46910 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
46911 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
46912 Add strnlen support.
46913 (USE_AS_STRNLEN): New macro.
46914 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
46915 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
46916 Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
46917 * sysdeps/x86_64/wcslen.S: New file.
46918
979c70a3
MZ
469192011-10-20 Michael Zolotukhin <michael.v.zolotukhin@gmail.com>
46920
46921 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
46922 XMM-moves are used for copying on small sizes.
46923
2d09f82f
LD
469242011-10-19 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
46925
46926 * wcsmbs/Makefile (strop-tests): Add wcschr.
46927 * wcsmbs/test-wcschr.c: New file.
46928 * string/test-strchr.c: Update.
46929 Add wcschr support.
46930 (WIDE): New macro.
46931
619fccca
LD
469322011-10-18 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
46933
2d09f82f 46934 * wcsmbs/Makefile (strop-tests): Add wcslen.
619fccca
LD
46935 * wcsmbs/test-wcslen.c: New file.
46936 * string/test-strlen.c: Update.
46937 Add wcslen support.
46938 (WIDE): New macro.
46939
09f699ea
UD
469402011-10-23 Ulrich Drepper <drepper@gmail.com>
46941
46942 * po/it.po: Update from translation team.
46943
95584d3b
LD
469442011-09-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
46945
46946 * sysdeps/x86_64/wcscmp.S: Update.
46947 Fix wrong comparison semantics.
46948 wcscmp shall use signed comparison not unsigned.
46949 Don't use substraction to avoid overflow bug.
46950 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
46951 * wcsmbc/wcscmp.c: Likewise.
46952 * string/test-strcmp.c: Likewise.
46953 Add new tests to check cases with negative values.
46954
c8b3296b
UD
469552011-10-23 Ulrich Drepper <drepper@gmail.com>
46956
46957 * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
46958 * sysdeps/x86_64/dla.h: ...here. New file.
46959 * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
46960 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
46961 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
46962 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
46963 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
46964 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
46965 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
46966 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
46967 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
46968
246ad57a
AS
469692011-10-23 Andreas Schwab <schwab@linux-m68k.org>
46970
46971 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
46972 __ynl_finite aliases.
46973
a1a87169
UD
469742011-10-22 Ulrich Drepper <drepper@gmail.com>
46975
0d355eb7
UD
46976 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
46977
a1a87169
UD
46978 * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
46979 define DLA_FMA.
46980 [DLA_FMA] (EMULV): Use DLA_FMA.
46981 [DLA_FMA] (MUL12): Use EMULV.
46982 * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
46983 that are not needed.
46984 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
46985 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
46986 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
46987 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
46988 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
46989 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
46990 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
46991
ee2aafe0
AS
469922011-10-22 Andreas Schwab <schwab@linux-m68k.org>
46993
46994 * math/s_nan.c: Undef __nan.
46995 * math/s_nanf.c: Undef __nanf.
46996 * math/s_nanl.c: Undef __nanl.
46997 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
46998 "math_private.h".
46999
bc62c2fb
UD
470002011-10-22 Ulrich Drepper <drepper@gmail.com>
47001
77425c63
UD
47002 * math/s_catan.c: Add branch predictions.
47003 * math/s_catanf.c: Likewise.
47004 * math/s_catanh.c: Likewise.
47005 * math/s_catanhf.c: Likewise.
47006 * math/s_catanhl.c: Likewise.
47007 * math/s_catanl.c: Likewise.
47008 * math/s_cexp.c: Likewise.
47009 * math/s_cexpf.c: Likewise.
47010 * math/s_cexpl.c: Likewise.
47011 * math/s_clog.c: Likewise.
47012 * math/s_clog10.c: Likewise.
47013 * math/s_clog10f.c: Likewise.
47014 * math/s_clog10l.c: Likewise.
47015 * math/s_clogf.c: Likewise.
47016 * math/s_clogl.c: Likewise.
47017 * math/s_csqrt.c: Likewise.
47018 * math/s_csqrtf.c: Likewise.
47019 * math/s_csqrtl.c: Likewise.
47020 * math/s_ctanf.c: Likewise.
47021 * math/s_ctanh.c: Likewise.
47022 * math/s_ctanhf.c: Likewise.
47023 * math/s_ctanhl.c: Likewise.
47024 * math/s_ctanl.c: Likewise.
47025
bc62c2fb
UD
47026 * math/math_private.h: Define __nan, __nanf, __nanl.
47027 * math/s_cacosh.c: Include <math_private.h>.
47028 * math/s_cacoshl.c: Likewise.
47029 * math/s_casinh.c: Likewise.
47030 * math/s_casinhf.c: Likewise.
47031 * math/s_casinhl.c: Likewise.
47032 * math/s_ccos.c: Rely entire on ccosh.
47033 * math/s_ccosf.c: Rely entire on ccoshf.
47034 * math/s_ccosl.c: Rely entirely on ccoshl.
47035 * math/s_ccosh.c: Add branch predicion helpers. Add branch prediction.
47036 Remove tests for FE_INVALID.
47037 * math/s_ccoshf.c: Likewise.
47038 * math/s_ccoshl.c: Likewise.
47039 * math/s_csin.c: Likewise.
47040 * math/s_csinf.c: Likewise.
47041 * math/s_csinh.c Likewise.
47042 * math/s_csinhf.c: Likewise.
47043 * math/s_csinhl.c: Likewise.
47044 * math/s_csinl.c: Likewise.
47045 * math/s_ctan.c: Likewise.
47046 * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
47047 * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
47048 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
47049
8ec250a4
UD
470502011-10-21 Ulrich Drepper <drepper@gmail.com>
47051
c196fed8
UD
47052 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
47053 compilation problems.
47054
8ec250a4
UD
47055 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
47056 __builtin_expect.
47057
8d4f46c6
UD
470582011-10-20 Ulrich Drepper <drepper@gmail.com>
47059
ed72b654
UD
47060 * sysdeps/i386/configure.in: Test for -mfma4 option.
47061 * config.h.in: Add HAVE_FMA4_SUPPORT entry.
47062 * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
47063 COMMON_CPUID_INDEX_80000001.
47064 * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
47065 * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
47066 use it if FMA3 is not supported.
47067 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
47068
8d4f46c6
UD
47069 * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
47070 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
47071
d45c60c2
AS
470722011-10-20 Andreas Schwab <schwab@redhat.com>
47073
47074 [BZ #12892]
47075 * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
47076 it would create a cycle with a link time dependency.
47077
d9a4d2ab
UD
470782011-10-19 Ulrich Drepper <drepper@gmail.com>
47079
855d1560
UD
47080 * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
47081 instruction.
47082 * string/Makefile (strop-tests): Add rawmemchr.
47083 * string/test-rawmemchr.c: New file.
47084
d9a4d2ab
UD
47085 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
47086 * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file. Split out from...
47087 * sysdeps/x86_64/multiarch/strcmp.S: ...here. Include strcmp-sse42.S
47088 when compiling str{,n}casecmp and when AVX is available. Hook up
47089 new optimized code in initializers.
47090
8f3b1ffe
AS
470912011-10-19 Andreas Schwab <schwab@redhat.com>
47092
47093 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
47094 __feraiseexcept instead of feraiseexcept.
47095
d38f1dba
UD
470962011-10-18 Ulrich Drepper <drepper@gmail.com>
47097
d9a8d0ab
UD
47098 * math/math_private.h: Define defaults for libc_fetestexcept and
47099 libc_feupdateenv.
47100 * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
47101 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
47102 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
47103 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
47104 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
47105 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
47106 libc_fetestexcept and libc_feupdateenv.
47107
4855e3dd
UD
47108 * math/math_private.h: Define defaults for libc_feholdexcept_setround,
47109 libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
47110 * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
47111 * sysdeps/x86_64/fpu/math_private.h: Define special version of
47112 libc_feholdexcept_setround.
47113
581d30e3
UD
47114 * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
47115 Add s_nearbyint-c and s_nearbyintf-c.
47116 * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
47117 nearbyintf inlines.
47118 * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
47119 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
47120 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
47121 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
47122
d38f1dba
UD
47123 * math/math_private.h: Define defaults for libc_fegetround,
47124 libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
47125 libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
47126 libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
47127 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
47128 libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
47129 standard functions.
47130 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
47131 Remove comments and hacks for old compiler versions.
47132 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
47133 libc_fegetround, libc_fesetround, libc_feholdexcept, and
47134 libc_feholdexceptl.
47135
caa6c9d8
AS
471362011-10-18 Andreas Schwab <schwab@redhat.com>
47137
47138 * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
83c7615c
AS
47139 (__feraiseexcept_renamed): Add __NTH.
47140 (feraiseexcept): Add __NTH. Rename local variables to fix
caa6c9d8
AS
47141 namespace violations.
47142
97c066e6
UD
471432011-10-17 Ulrich Drepper <drepper@gmail.com>
47144
99ce7b04
UD
47145 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
47146
1004d182
UD
47147 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
47148
228a984d
UD
47149 * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
47150 recently added interfaces.
47151 * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
47152
c8553a6a
UD
47153 * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
47154 about macro parameter expansion.
47155
ed22dcf6
UD
47156 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
47157 __NO_MATH_INLINES is defined. Cleanups.
47158
47159 * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
47160 and __floorf is target has SSE4.1.
47161 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
47162 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
47163 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
47164 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
47165
b171c137
UD
47166 * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
47167 name.
47168 (floorf): Likewise.
47169
97c066e6
UD
47170 * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
47171
629f62ef
AS
471722011-10-17 Andreas Schwab <schwab@redhat.com>
47173
49a43d80
AS
47174 * misc/sys/cdefs.h: Fix last change.
47175
629f62ef
AS
47176 * grp/initgroups.c (internal_getgrouplist): Fix initgroups
47177 database lookup.
47178
e453f6cd
UD
471792011-10-16 Ulrich Drepper <drepper@gmail.com>
47180
aa78043a
UD
47181 * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
47182
ad0f5cad
UD
47183 * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
47184 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
47185 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
47186 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
47187 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
47188 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
47189 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
47190 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
47191 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
47192 * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
47193 * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
47194 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
47195 * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
47196 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
47197 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
47198 * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
47199 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
47200 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
47201 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
47202 * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
47203 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
47204 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
47205
47206 * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
47207 ceil, ceilf, floor, floorf.
47208
47209 * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
47210 Perform IRELATIVE relocations last.
47211
e453f6cd
UD
47212 * elf/do-rel.h: Add another parameter nrelative, replacing the
47213 local variable with the same name. Change name of the function
47214 to end in Rel or Rela (uppercase).
47215 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
47216 nrelative to ranges. Only nonzero for DT_REL/DT_RELA. Pass to the
47217 elf_dynamic_do_##reloc function.
47218
fd5bdc09
UD
472192011-10-15 Ulrich Drepper <drepper@gmail.com>
47220
79b195b5
UD
47221 * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
47222 is sufficient, at least on modern CPUs.
47223
d4a28569
UD
47224 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
47225
b61099b5
UD
47226 * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
47227 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
47228
bcf01e6d
UD
47229 * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
47230 __expl_finite.
47231 * math/bits/math-finite.h: Add entries for exp.
47232 * math/e_expl.c: Add __*_finite alias.
47233 * sysdeps/i386/fpu/e_exp.S: Likewise.
47234 * sysdeps/i386/fpu/e_expf.S: Likewise.
47235 * sysdeps/i386/fpu/e_expl.c: Likewise.
47236 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
47237 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
47238 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
47239 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
47240 * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
47241 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
47242 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
47243
ba1a0d59
UD
47244 * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
47245 is sufficient, at least on modern CPUs.
47246
fd5bdc09
UD
47247 * ctype/ctype-info.c (__ctype_init): Define.
47248 * include/ctype.h (__ctype_init): Declare.
47249 (__ctype_b_loc): The variable is always initialized.
47250 (__ctype_toupper_loc): Likewise.
47251 (__ctype_tolower_loc): Likewise.
47252 * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
47253 * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
47254
7872cfb0
AS
472552011-10-15 Andreas Schwab <schwab@linux-m68k.org>
47256
b468825a
AS
47257 * wcsmbs/wmemcmp.c (WMEMCMP): Define.
47258
7872cfb0
AS
47259 * configure.in: Also look in $cxxmachine/include for C++ system
47260 headers.
47261
be13f7bf
LD
472622011-09-27 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
47263
47264 * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
47265 memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
47266 * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
47267 * sysdeps/x86_64/multiarch/memcmp.S: Update. Add __memcmp_ssse3.
47268 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
47269 (USE_AS_WMEMCMP): New macro.
47270 Fixing indents.
47271 * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
47272 * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
47273 * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
47274 * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
47275 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
47276 wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
47277 * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
47278 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
47279 * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
47280 * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
47281 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
47282 (USE_AS_WMEMCMP): New macro.
47283 * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
47284 * sysdeps/string/test-memcmp.c: Update.
47285 Fix simple_wmemcmp.
47286 Add new tests.
47287 * wcsmbs/wmemcmp.c: Update.
47288 (WMEMCMP): New macro.
47289 Fix overflow bug.
47290
556a2007
AJ
472912011-10-12 Andreas Jaeger <aj@suse.de>
47292
47293 [BZ #13268]
47294 * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
47295
538faaa7
UD
472962011-10-15 Ulrich Drepper <drepper@gmail.com>
47297
ab6737ff
UD
47298 * libio/iofwide.c (do_length): Avoid warning.
47299
538faaa7
UD
47300 * ctype/ctype.h (__isctype_f): Add missing __THROW.
47301
396a21b1
UD
473022011-10-14 Ulrich Drepper <drepper@gmail.com>
47303
cdf2901f
UD
47304 * elf/pldd-xx.c (find_maps): Remove leftover debug message.
47305
38ad40ce
UD
47306 * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
47307 * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
47308 * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
47309 * sysdeps/i386/i686/fpu/e_log.S: New file.
47310 * sysdeps/i386/i686/fpu/e_logf.S: New file.
47311 * sysdeps/i386/i686/fpu/e_logl.S: New file.
47312
396a21b1
UD
47313 * ctype/ctype.h: Add support for inlined isXXX functions when
47314 compiling C++ code.
47315
6b1f68c9
AS
473162011-10-14 Andreas Schwab <schwab@redhat.com>
47317
349290c0
AS
47318 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
47319
6b1f68c9
AS
47320 * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
47321
f2282d42
RM
473222011-10-13 Roland McGrath <roland@hack.frob.com>
47323
47324 [BZ #13291]
47325 * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
47326
5298ffa8
AS
473272011-10-13 Andreas Schwab <schwab@redhat.com>
47328
714fad23
AS
47329 * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
47330 * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
47331 feraiseexcept.
47332
81dcc7fb
AS
47333 * sysdeps/x86_64/memrchr.S: Check for zero size.
47334
5298ffa8
AS
47335 * string/stratcliff.c: Add memrchr tests.
47336
951fbcec
LD
473372011-10-12 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
47338
47339 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
47340 memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
47341 rawmemchr-sse2 rawmemchr-sse2-bsf.
47342 * sysdeps/i386/i686/multiarch/memchr.S: New file.
47343 * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
47344 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
47345 * sysdeps/i386/i686/multiarch/memrchr.S: New file.
47346 * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
47347 * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
47348 * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
47349 * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
47350 * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
47351 * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
47352 * string/memrchr.c (MEMRCHR): New macro.
47353
0ac5ae23
UD
473542011-10-12 Ulrich Drepper <drepper@gmail.com>
47355
47356 Add integration with gcc's -ffinite-math-only and optimize wrapper
47357 functions in libm.
47358 * Versions.def: Define GLIBC_2.15 version for libm.
47359 * math/Makefile (headers): Add bits/math-finite.h.
47360 * math/bits/math-finite.h: New file.
47361 * sysdeps/ia64/fpu/bits/math-finite.h: New file.
47362 * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
47363 * math/e_acoshl.c: Add __*_finite alias.
47364 * math/e_acosl.c: Likewise.
47365 * math/e_asinl.c: Likewise.
47366 * math/e_atan2l.c: Likewise.
47367 * math/e_atanhl.c: Likewise.
47368 * math/e_coshl.c: Likewise.
47369 * math/e_exp10.c: Likewise.
47370 * math/e_exp10f.c: Likewise.
47371 * math/e_exp10l.c: Likewise.
47372 * math/e_exp2l.c: Likewise.
47373 * math/e_fmodl.c: Likewise.
47374 * math/e_gammal_r.c: Likewise.
47375 * math/e_hypotl.c: Likewise.
47376 * math/e_j0l.c: Likewise.
47377 * math/e_j1l.c: Likewise.
47378 * math/e_jnl.c: Likewise.
47379 * math/e_lgammal_r.c: Likewise.
47380 * math/e_log10l.c: Likewise.
47381 * math/e_log2l.c: Likewise.
47382 * math/e_logl.c: Likewise.
47383 * math/e_powl.c: Likewise.
47384 * math/e_sinhl.c: Likewise.
47385 * math/e_sqrtl.c: Likewise.
47386 * math/e_scalb.c: Completely rewritten and optimized.
47387 * math/e_scalbf.c: Likewise.
47388 * math/e_scalbl.c: Likewise.
47389 * math/w_acos.c: Likewise.
47390 * math/w_acosf.c: Likewise.
47391 * math/w_acosl.c: Likewise.
47392 * math/w_acosh.c: Likewise.
47393 * math/w_acoshf.c: Likewise.
47394 * math/w_acoshl.c: Likewise.
47395 * math/w_asin.c: Likewise.
47396 * math/w_asinf.c: Likewise.
47397 * math/w_asinl.c: Likewise.
47398 * math/w_atan2.c: Likewise.
47399 * math/w_atan2f.c: Likewise.
47400 * math/w_atan2l.c: Likewise.
47401 * math/w_atanh.c: Likewise.
47402 * math/w_atanhf.c: Likewise.
47403 * math/w_atanhl.c: Likewise.
47404 * math/w_exp10.c: Likewise.
47405 * math/w_exp10f.c: Likewise.
47406 * math/w_exp10l.c: Likewise.
47407 * math/w_fmod.c: Likewise.
47408 * math/w_fmodf.c: Likewise.
47409 * math/w_fmodl.c: Likewise.
47410 * math/w_j0.c: Likewise.
47411 * math/w_j0f.c: Likewise.
47412 * math/w_j0l.c: Likewise.
47413 * math/w_j1.c: Likewise.
47414 * math/w_j1f.c: Likewise.
47415 * math/w_j1l.c: Likewise.
47416 * math/w_jn.c: Likewise.
47417 * math/w_jnf.c: Likewise.
47418 * math/w_log.c: Likewise.
47419 * math/w_logf.c: Likewise.
47420 * math/w_logl.c: Likewise.
47421 * math/w_log10.c: Likewise.
47422 * math/w_log10f.c: Likewise.
47423 * math/w_log10l.c: Likewise.
47424 * math/w_log2.c: Likewise.
47425 * math/w_log2f.c: Likewise.
47426 * math/w_log2l.c: Likewise.
47427 * math/w_pow.c: Likewise.
47428 * math/w_powf.c: Likewise.
47429 * math/w_powl.c: Likewise.
47430 * math/w_remainder.c: Likewise.
47431 * math/w_remainderf.c: Likewise.
47432 * math/w_remainderl.c: Likewise.
47433 * math/w_scalb.c: Likewise.
47434 * math/w_scalbf.c: Likewise.
47435 * math/w_scalbl.c: Likewise.
47436 * math/w_sqrt.c: Likewise.
47437 * math/w_sqrtf.c: Likewise.
47438 * math/w_sqrtl.c: Likewise.
47439 * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
47440 are declared. Include <bits/math-finite.h> if -ffinite-math-only is
47441 used.
47442 * math/math_private.h: Declare __kernel_standard_f.
47443 * math/w_cosh.c: Remove cruft and optimize a bit.
47444 * math/w_coshf.c: Likewise.
47445 * math/w_coshl.c: Likewise.
47446 * math/w_exp2.c: Likewise.
47447 * math/w_exp2f.c: Likewise.
47448 * math/w_exp2l.c: Likewise.
47449 * math/w_hypot.c: Likewise.
47450 * math/w_hypotf.c: Likewise.
47451 * math/w_hypotl.c: Likewise.
47452 * math/w_lgamma.c: Likewise.
47453 * math/w_lgamma_r.c: Likewise.
47454 * math/w_lgammaf.c: Likewise.
47455 * math/w_lgammaf_r.c: Likewise.
47456 * math/w_lgammal.c: Likewise.
47457 * math/w_lgammal_r.c: Likewise.
47458 * math/w_sinh.c: Likewise.
47459 * math/w_sinhf.c: Likewise.
47460 * math/w_sinhl.c: Likewise.
47461 * math/w_tgamma.c: Likewise.
47462 * math/w_tgammaf.c: Likewise.
47463 * math/w_tgammal.c: Likewise.
47464 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
47465 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
47466 * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
47467 Minor optimizations. Pretty printing. Remove cruft.
47468 * sysdeps/i386/fpu/e_acosf.S: Likewise.
47469 * sysdeps/i386/fpu/e_acosh.S: Likewise.
47470 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
47471 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
47472 * sysdeps/i386/fpu/e_acosl.c: Likewise.
47473 * sysdeps/i386/fpu/e_asin.S: Likewise.
47474 * sysdeps/i386/fpu/e_asinf.S: Likewise.
47475 * sysdeps/i386/fpu/e_atan2.S: Likewise.
47476 * sysdeps/i386/fpu/e_atan2f.S: Likewise.
47477 * sysdeps/i386/fpu/e_atan2l.c: Likewise.
47478 * sysdeps/i386/fpu/e_atanh.S: Likewise.
47479 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
47480 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
47481 * sysdeps/i386/fpu/e_exp10.S: Likewise.
47482 * sysdeps/i386/fpu/e_exp10f.S: Likewise.
47483 * sysdeps/i386/fpu/e_exp10l.S: Likewise.
47484 * sysdeps/i386/fpu/e_exp2.S: Likewise.
47485 * sysdeps/i386/fpu/e_exp2f.S: Likewise.
47486 * sysdeps/i386/fpu/e_exp2l.S: Likewise.
47487 * sysdeps/i386/fpu/e_fmod.S: Likewise.
47488 * sysdeps/i386/fpu/e_fmodf.S: Likewise.
47489 * sysdeps/i386/fpu/e_fmodl.c: Likewise.
47490 * sysdeps/i386/fpu/e_hypot.S: Likewise.
47491 * sysdeps/i386/fpu/e_hypotf.S: Likewise.
47492 * sysdeps/i386/fpu/e_log.S: Likewise.
47493 * sysdeps/i386/fpu/e_log10.S: Likewise.
47494 * sysdeps/i386/fpu/e_log10f.S: Likewise.
47495 * sysdeps/i386/fpu/e_log10l.S: Likewise.
47496 * sysdeps/i386/fpu/e_log2.S: Likewise.
47497 * sysdeps/i386/fpu/e_log2f.S: Likewise.
47498 * sysdeps/i386/fpu/e_log2l.S: Likewise.
47499 * sysdeps/i386/fpu/e_logf.S: Likewise.
47500 * sysdeps/i386/fpu/e_logl.S: Likewise.
47501 * sysdeps/i386/fpu/e_pow.S: Likewise.
47502 * sysdeps/i386/fpu/e_powf.S: Likewise.
47503 * sysdeps/i386/fpu/e_powl.S: Likewise.
47504 * sysdeps/i386/fpu/e_remainder.S: Likewise.
47505 * sysdeps/i386/fpu/e_remainderf.S: Likewise.
47506 * sysdeps/i386/fpu/e_remainderl.S: Likewise.
47507 * sysdeps/i386/fpu/e_scalb.S: Likewise.
47508 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
47509 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
47510 * sysdeps/i386/fpu/e_sqrt.S: Likewise.
47511 * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
47512 * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
47513 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
47514 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
47515 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
47516 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
47517 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
47518 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
47519 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
47520 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
47521 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
47522 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
47523 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
47524 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
47525 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
47526 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
47527 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
47528 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
47529 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
47530 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
47531 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
47532 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
47533 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
47534 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
47535 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
47536 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
47537 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
47538 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
47539 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
47540 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
47541 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
47542 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
47543 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
47544 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
47545 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
47546 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
47547 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
47548 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
47549 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
47550 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
47551 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
47552 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
47553 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
47554 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
47555 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
47556 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
47557 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
47558 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
47559 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
47560 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
47561 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
47562 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
47563 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
47564 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
47565 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
47566 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
47567 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
47568 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
47569 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
47570 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
47571 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
47572 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
47573 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
47574 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
47575 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
47576 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
47577 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
47578 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
47579 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
47580 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
47581 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
47582 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
47583 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
47584 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
47585 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
47586 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
47587 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
47588 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
47589 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
47590 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
47591 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
47592 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
47593 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
47594 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
47595 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
47596 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
47597 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
47598 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
47599 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
47600 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
47601 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
47602 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
47603 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
47604 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
47605 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
47606 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
47607 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
47608 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
47609 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
47610 * sysdeps/s390/fpu/e_sqrt.c: Likewise.
47611 * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
47612 * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
47613 * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
47614 * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
47615 * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
47616 * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
47617 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
47618 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
47619 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
47620 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
47621 * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
47622 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
47623 * sysdeps/x86_64/fpu/e_sqrt.c: Likewise. Fix parameter order
47624 * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
47625 * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
47626 (__isnanf): Likewise.
47627 (__isinf_ns): Likewise.
47628 (__isinf_nsf): Likewise.
47629 (__finite): Likewise.
47630 (__finitef): Likewise.
47631 (__ieee754_sqrt): Define as macro.
47632 (__ieee754_sqrtf): Define as macro.
47633 (__ieee754_sqrtl): Define as macro.
47634 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
47635 inlined copy.
47636 * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
47637 __FINITE_MATH_ONLY__ consistent.
47638 * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
47639
12cc2fcd
AS
476402011-10-10 Andreas Schwab <schwab@linux-m68k.org>
47641
a843a204
AS
47642 * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
47643 of rawmemchr.
47644
12cc2fcd
AS
47645 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
47646
c853acd5
UD
476472011-10-09 Ulrich Drepper <drepper@gmail.com>
47648
47649 * po/ja.po: Update from translation team.
47650
c658d255
RM
476512011-10-08 Roland McGrath <roland@hack.frob.com>
47652
110946e4
RM
47653 * locale/programs/locarchive.c (prepare_address_space): New function.
47654 (create_archive, enlarge_archive, open_archive): Use it.
47655
50604220
RM
47656 * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
47657 inside [SHARED], where it is used.
47658
c658d255
RM
47659 * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
47660
47661 * nss/getent.c (netgroup_keys): Remove unused variable.
47662 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
47663
6a621eb7
UD
476642011-10-08 Ulrich Drepper <drepper@gmail.com>
47665
7edb55ce
UD
47666 * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
47667 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
47668 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
47669 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
47670 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
47671 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
47672 * math/Makefile (libm-calls): Add s_isinf_ns.
47673 * math/divtc3.c: Use __isinf_nsl instead of isinf.
47674 * math/multc3.c: Likewise.
47675 * math/s_casin.c: Likewise.
47676 * math/s_casinf.c: Likewise.
47677 * math/s_casinl.c: Likewise.
47678 * math/s_ccos.c: Likewise.
47679 * math/s_ccosf.c: Likewise.
47680 * math/s_ccosl.c: Likewise.
47681 * math/s_ctan.c: Likewise.
47682 * math/s_ctanf.c: Likewise.
47683 * math/s_ctanh.c: Likewise.
47684 * math/s_ctanhf.c: Likewise.
47685 * math/s_ctanhl.c: Likewise.
47686 * math/s_ctanl.c: Likewise.
47687 * math/w_fmod.c: Likewise.
47688 * math/w_fmodf.c: Likewise.
47689 * math/w_fmodl.c: Likewise.
47690 * math/w_remainder.c: Likewise.
47691 * math/w_remainderf.c: Likewise.
47692 * math/w_remainderl.c: Likewise.
47693 * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
47694 * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
47695 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
47696 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
47697 * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
47698 * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
47699 * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
47700 __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
47701
187da0ae
UD
47702 * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
47703 of the number.
47704 * stdio-common/printf_fphex.c: Likewise.
47705 * stdio-common/printf_size.c: Likewise.
47706
9277c064
UD
47707 * math/e_exp10.c: Include math_private.h using <...> not "...".
47708 * math/e_exp10f.c: Likewise.
47709 * math/e_exp10l.c: Likewise.
47710 * math/e_exp2l.c: Likewise.
47711 * math/e_j0l.c: Likewise.
47712 * math/e_j1l.c: Likewise.
47713 * math/e_jnl.c: Likewise.
47714 * math/e_lgammal_r.c: Likewise.
47715 * math/e_rem_pio2l.c: Likewise.
47716 * math/e_scalb.c: Likewise.
47717 * math/e_scalbf.c: Likewise.
47718 * math/e_scalbl.c: Likewise.
47719 * math/k_cosl.c: Likewise.
47720 * math/k_sinl.c: Likewise.
47721 * math/k_tanl.c: Likewise.
47722 * math/s_cacoshf.c: Likewise.
47723 * math/s_catan.c: Likewise.
47724 * math/s_catanf.c: Likewise.
47725 * math/s_catanh.c: Likewise.
47726 * math/s_catanhf.c: Likewise.
47727 * math/s_catanhl.c: Likewise.
47728 * math/s_catanl.c: Likewise.
47729 * math/s_ccosh.c: Likewise.
47730 * math/s_ccoshf.c: Likewise.
47731 * math/s_ccoshl.c: Likewise.
47732 * math/s_cexp.c: Likewise.
47733 * math/s_cexpf.c: Likewise.
47734 * math/s_cexpl.c: Likewise.
47735 * math/s_clog.c: Likewise.
47736 * math/s_clog10.c: Likewise.
47737 * math/s_clog10f.c: Likewise.
47738 * math/s_clog10l.c: Likewise.
47739 * math/s_clogf.c: Likewise.
47740 * math/s_clogl.c: Likewise.
47741 * math/s_csin.c: Likewise.
47742 * math/s_csinf.c: Likewise.
47743 * math/s_csinh.c: Likewise.
47744 * math/s_csinhf.c: Likewise.
47745 * math/s_csinhl.c: Likewise.
47746 * math/s_csinl.c: Likewise.
47747 * math/s_csqrt.c: Likewise.
47748 * math/s_csqrtf.c: Likewise.
47749 * math/s_csqrtl.c: Likewise.
47750 * math/s_ctan.c: Likewise.
47751 * math/s_ctanf.c: Likewise.
47752 * math/s_ctanh.c: Likewise.
47753 * math/s_ctanhf.c: Likewise.
47754 * math/s_ctanhl.c: Likewise.
47755 * math/s_ctanl.c: Likewise.
47756 * math/s_ldexp.c: Likewise.
47757 * math/s_ldexpf.c: Likewise.
47758 * math/s_ldexpl.c: Likewise.
47759 * math/s_significand.c: Likewise.
47760 * math/s_significandf.c: Likewise.
47761 * math/s_significandl.c: Likewise.
47762 * math/w_acos.c: Likewise.
47763 * math/w_acosf.c: Likewise.
47764 * math/w_acosh.c: Likewise.
47765 * math/w_acoshf.c: Likewise.
47766 * math/w_acoshl.c: Likewise.
47767 * math/w_acosl.c: Likewise.
47768 * math/w_asin.c: Likewise.
47769 * math/w_asinf.c: Likewise.
47770 * math/w_asinl.c: Likewise.
47771 * math/w_atan2.c: Likewise.
47772 * math/w_atan2f.c: Likewise.
47773 * math/w_atan2l.c: Likewise.
47774 * math/w_atanh.c: Likewise.
47775 * math/w_atanhf.c: Likewise.
47776 * math/w_atanhl.c: Likewise.
47777 * math/w_cosh.c: Likewise.
47778 * math/w_coshf.c: Likewise.
47779 * math/w_coshl.c: Likewise.
47780 * math/w_dremf.c: Likewise.
47781 * math/w_exp10.c: Likewise.
47782 * math/w_exp10f.c: Likewise.
47783 * math/w_exp10l.c: Likewise.
47784 * math/w_exp2.c: Likewise.
47785 * math/w_exp2f.c: Likewise.
47786 * math/w_fmod.c: Likewise.
47787 * math/w_fmodf.c: Likewise.
47788 * math/w_fmodl.c: Likewise.
47789 * math/w_hypot.c: Likewise.
47790 * math/w_hypotf.c: Likewise.
47791 * math/w_hypotl.c: Likewise.
47792 * math/w_j0.c: Likewise.
47793 * math/w_j0f.c: Likewise.
47794 * math/w_j0l.c: Likewise.
47795 * math/w_j1.c: Likewise.
47796 * math/w_j1f.c: Likewise.
47797 * math/w_j1l.c: Likewise.
47798 * math/w_jn.c: Likewise.
47799 * math/w_jnf.c: Likewise.
47800 * math/w_jnl.c: Likewise.
47801 * math/w_lgamma.c: Likewise.
47802 * math/w_lgamma_r.c: Likewise.
47803 * math/w_lgammaf.c: Likewise.
47804 * math/w_lgammaf_r.c: Likewise.
47805 * math/w_lgammal.c: Likewise.
47806 * math/w_lgammal_r.c: Likewise.
47807 * math/w_log.c: Likewise.
47808 * math/w_log10.c: Likewise.
47809 * math/w_log10f.c: Likewise.
47810 * math/w_log10l.c: Likewise.
47811 * math/w_log2.c: Likewise.
47812 * math/w_log2f.c: Likewise.
47813 * math/w_log2l.c: Likewise.
47814 * math/w_logf.c: Likewise.
47815 * math/w_logl.c: Likewise.
47816 * math/w_pow.c: Likewise.
47817 * math/w_powf.c: Likewise.
47818 * math/w_powl.c: Likewise.
47819 * math/w_remainder.c: Likewise.
47820 * math/w_remainderf.c: Likewise.
47821 * math/w_remainderl.c: Likewise.
47822 * math/w_scalb.c: Likewise.
47823 * math/w_scalbf.c: Likewise.
47824 * math/w_scalbl.c: Likewise.
47825 * math/w_sinh.c: Likewise.
47826 * math/w_sinhf.c: Likewise.
47827 * math/w_sinhl.c: Likewise.
47828 * math/w_sqrt.c: Likewise.
47829 * math/w_sqrtf.c: Likewise.
47830 * math/w_sqrtl.c: Likewise.
47831 * math/w_tgamma.c: Likewise.
47832 * math/w_tgammaf.c: Likewise.
47833 * math/w_tgammal.c: Likewise.
47834
6a621eb7
UD
47835 * po/ja.po: Update from translation team.
47836
bf582445
AJ
478372011-09-29 Andreas Jaeger <aj@suse.de>
47838
f9efbf3a
AJ
47839 [BZ #13179]
47840 * sunrpc/netname.c (netname2host): Fix logic.
47841
bf582445
AJ
47842 [BZ #6779]
47843 [BZ #6783]
47844 * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
47845 correctly.
47846 * math/w_remainder.c (__remainder): Likewise.
47847 * math/w_remainderf.c (__remainderf): Likewise.
47848 * math/libm-test.inc (remainder_test): Add test cases.
47849
48693bea
AK
478502011-10-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
47851
47852 * stdlib/longlong.h: Update from GCC. Fix zarch smul_ppmm and
47853 sdiv_qrnnd.
47854
42622229
LD
478552011-10-07 Ulrich Drepper <drepper@gmail.com>
47856
47857 * string/test-memcmp.c: Avoid unncessary #defines.
47858 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
47859
093ecf92
LD
478602011-08-31 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
47861
47862 * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
47863 Use new sse2 version for core i3 - i7 as it's faster
47864 than sse42 version.
47865 (bit_Prefer_PMINUB_for_stringop): New.
47866 * sysdeps/x86_64/rawmemchr.S: Update.
47867 Replace with faster SSE2 version.
47868 * sysdeps/x86_64/memrchr.S: New file.
47869 * sysdeps/x86_64/memchr.S: Update.
47870 Replace with faster SSE2 version.
47871
fde56e5c
MP
478722011-09-12 Marek Polacek <mpolacek@redhat.com>
47873
47874 * elf/dl-load.c (lose): Add cast to avoid warning.
47875
21fd49a9
UD
478762011-10-07 Ulrich Drepper <drepper@gmail.com>
47877
5a06e643
UD
47878 * po/ca.po: Update from translation team.
47879
684ae515
UD
47880 * inet/getnetgrent_r.c: Hook up nscd.
47881 * nscd/Makefile (routines): Add nscd_netgroup.
47882 (nscd-modules): Add netgroupcache.
47883 (CFLAGS-netgroupcache.c): Define.
47884 * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
47885 (cache_search): Add const to second parameter.
47886 * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
47887 INNETGR.
47888 (dbs): Add netgrdb entry.
47889 (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
47890 (verify_persistent_db): Handle netgrdb.
47891 (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
47892 * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
47893 GETFDNETGR.
47894 (netgroup_response_header): Define.
47895 (innetgroup_response_header): Define.
47896 (datahead): Add netgroup_response_header and innetgroup_response_header
47897 elements.
47898 * nscd/nscd.conf: Add entries for netgroup cache.
47899 * nscd/nscd.h (dbtype): Add netgrdb.
47900 (_PATH_NSCD_NETGROUP_DB): Define.
47901 (netgroup_iov_disabled): Declare.
47902 (xmalloc, xcalloc, xrealloc): Move declarations here.
47903 (cache_search): Adjust prototype.
47904 Add netgroup-related prototypes.
47905 * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
47906 * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
47907 (__nscd_innetgr): Declare.
47908 * nscd/selinux.c (perms): Use access_vector_t as element type and
47909 add netgroup-related initializers.
47910 * nscd/netgroupcache.c: New file.
47911 * nscd/nscd_netgroup.c: New file.
47912 * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
47913 * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
47914 For four parameters use innetgr.
47915 * nss/nss_files/files-init.c: Add definition and callback for netgr.
47916 * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
47917 (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
47918 * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
47919
21fd49a9
UD
47920 * nscd/connections.c (register_traced_file): Don't register file
47921 for disabled databases.
47922
054c0457
UD
479232011-10-06 Ulrich Drepper <drepper@gmail.com>
47924
32b63198
UD
47925 * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
47926
054c0457
UD
47927 * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
47928 from tree and freeing node.
47929
64031225
JO
479302011-09-25 Jiri Olsa <jolsa@redhat.com>
47931
47932 * nss/nsswitch.c (__nss_database_lookup): Handle
47933 nss_parse_service_list out of memory case.
47934
0490345c
JO
479352011-09-15 Jiri Olsa <jolsa@redhat.com>
47936
47937 * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
47938 out of memory case.
47939
3a62d00d
AS
479402011-10-04 Andreas Schwab <schwab@redhat.com>
47941
47942 * include/dlfcn.h (__RTLD_NOIFUNC): Define.
47943 * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
47944 pass it down.
47945 * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
47946 elf_machine_rela, elf_machine_lazy_rel.
47947 (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
47948 (ELF_DYNAMIC_DO_REL): Likewise.
47949 (ELF_DYNAMIC_DO_RELA): Likewise.
47950 (ELF_DYNAMIC_RELOCATE): Likewise.
47951 * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
47952 to ELF_DYNAMIC_DO_REL.
47953 * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
47954 (dl_main): In trace mode always set __RTLD_NOIFUNC.
47955 * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
47956 elf_machine_rela.
47957 * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
47958 skip_ifunc, don't call ifunc function if non-zero.
47959 (elf_machine_rela): Likewise.
47960 (elf_machine_lazy_rel): Likewise.
47961 (elf_machine_lazy_rela): Likewise.
47962 * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
47963 (elf_machine_lazy_rel): Likewise.
47964 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
47965 Likewise.
47966 (elf_machine_lazy_rel): Likewise.
47967 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
47968 Likewise.
47969 (elf_machine_lazy_rel): Likewise.
47970 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
47971 (elf_machine_lazy_rel): Likewise.
47972 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
47973 (elf_machine_lazy_rel): Likewise.
47974 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
47975 (elf_machine_lazy_rel): Likewise.
47976 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
47977 (elf_machine_lazy_rel): Likewise.
47978 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
47979 (elf_machine_lazy_rel): Likewise.
47980 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
47981 (elf_machine_lazy_rel): Likewise.
47982
68577918
UD
479832011-09-28 Ulrich Drepper <drepper@gmail.com>
47984
47985 * nss/nss_files/files-init.c (_nss_files_init): Use static
47986 initialization for all the *_traced_file variables.
47987
68822d74
AS
479882011-09-28 Andreas Schwab <schwab@redhat.com>
47989
47990 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
47991
2056100b
RM
479922011-09-27 Roland McGrath <roland@hack.frob.com>
47993
47994 [BZ #13226]
47995 * manual/signal.texi (Longjmp in Handler): Grammar fixes.
47996
32c76b63
AS
479972011-09-27 Andreas Schwab <schwab@redhat.com>
47998
47999 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
48000 Reread the line before reparsing it.
48001
bf972c9d
AS
480022011-09-26 Andreas Schwab <schwab@redhat.com>
48003
48004 * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
48005
e057a1b5
JM
480062011-09-21 Chung-Lin Tang <cltang@codesourcery.com>
48007 Maxim Kuvyrkov <maxim@codesourcery.com>
48008 Joseph Myers <joseph@codesourcery.com>
48009
48010 * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
48011 if needed for __stack_chk_guard.
48012
bc7e1c36
RM
480132011-09-19 Roland McGrath <roland@hack.frob.com>
48014
ecb1482f
RM
48015 * sysdeps/posix/spawni.c (script_execute): Always define it.
48016 It will be optimized away if unused.
48017 (maybe_script_execute): New function.
48018 (__spawni): Call it.
48019
bc7e1c36
RM
48020 * Makerules: Don't include tls.make.
48021 (config-tls): Always set to thread.
48022 * tls.make.c: File removed.
48023
1c3b002b
MF
480242011-09-19 Mike Frysinger <vapier@gentoo.org>
48025
48026 * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
48027 * config.make.in (CPPFLAGS-config): New substituted variable.
48028
2840865d
UD
480292011-09-15 Ulrich Drepper <drepper@gmail.com>
48030
88738eb6
UD
48031 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
48032
cbf645a6 48033 [BZ #13192]
2840865d
UD
48034 * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
48035 Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
48036
b402e91a
RM
480372011-09-15 Roland McGrath <roland@hack.frob.com>
48038
48039 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
48040 (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
48041 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
48042 (CALL_FAIL): Likewise.
48043 * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
48044 (CALL_FAIL): Macro removed.
48045 Patch mostly by Mike Frysinger <vapier@gentoo.org>.
48046
4c1a1f71
UD
480472011-09-15 Ulrich Drepper <drepper@gmail.com>
48048
48049 * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
48050 for __FINITE_MATH_ONLY__ == 1.
48051
edc121be
AS
480522011-09-15 Andreas Schwab <schwab@redhat.com>
48053
48054 * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
48055 __ieee754_sqrt instead of sqrt.
48056 * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
48057 __ieee754_sqrtf instead of sqrtf.
48058 * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
48059 __floorf instead of floorf.
48060 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
48061 __floorf, __truncf instead of floorf, truncf.
48062
cd205654
UD
480632011-09-14 Ulrich Drepper <drepper@gmail.com>
48064
ee4d0315
UD
48065 * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
48066
cd205654
UD
48067 * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
48068 __extern_always_inline.
48069 Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
48070 32-bit.
48071
48b67d71
AS
480722011-09-14 Andreas Schwab <schwab@redhat.com>
48073
48074 * elf/rtld.c (dl_main): Also relocate in dependency order when
48075 doing symbol dependency testing.
48076
1ae12c75
AS
480772011-09-13 Andreas Schwab <schwab@linux-m68k.org>
48078
48079 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
48080 Always define `refsym'.
48081
995a80df
AS
480822011-09-13 Andreas Schwab <schwab@redhat.com>
48083
e529793b
AS
48084 * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
48085 (__FD_ELT): Renamed from __FDELT.
48086 * misc/bits/select2.h (__FD_ELT): Likewise.
48087 * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
48088 __FD_MASK instead of __FDELT, __FDMASK.
48089 * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
48090 Likewise.
48091 * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
48092 Likewise.
48093
52d4fef8
AS
48094 * elf/Makefile (gen-ldd): Fix pattern.
48095
995a80df
AS
48096 * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
48097 (init_tls): Likewise.
48098
8682f8b0
UD
480992011-09-12 Ulrich Drepper <drepper@gmail.com>
48100
48101 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
48102
de82006d
AS
481032011-09-12 Andreas Schwab <schwab@redhat.com>
48104
a7c8e6a1
AS
48105 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
48106 `struct cmsghdr *' instead of `void *'.
48107 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
48108 Likewise.
48109
0f31fe77
AS
481102011-09-11 Andreas Schwab <schwab@linux-m68k.org>
48111
48112 * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
48113 if non-absolute.
48114 * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
48115 ldd_rewrite_script.
0f31fe77 48116
32b4c839
UD
481172011-09-11 Ulrich Drepper <drepper@gmail.com>
48118
83cd1420
UD
48119 * configure.in: Remove --with-tls option.
48120 * config.h.in: Remove HAVE_TLS_SUPPORT entry.
48121 * sysdeps/i386/elf/configure.in: Always test for TLS support and err
48122 out in case it is missing.
48123 * sysdeps/ia64/elf/configure.in: Likewise.
48124 * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
48125 * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
48126 * sysdeps/s390/s390-32/elf/configure.in: Likewise.
48127 * sysdeps/s390/s390-64/elf/configure.in: Likewise.
48128 * sysdeps/sh/elf/configure.in: Likewise.
48129 * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
48130 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
48131 * sysdeps/x86_64/elf/configure.in: Likewise.
48132 * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
48133 * sysdeps/mach/hurd/tls.h: Likewise.
48134
633f745d
UD
48135 [BZ #13067]
48136 * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
48137
f318beb8
UD
48138 [BZ #13090]
48139 * configure.in: Fix use of AC_INIT.
48140
32b4c839
UD
48141 * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
48142
3ce1f295
UD
481432011-09-10 Ulrich Drepper <drepper@gmail.com>
48144
bb016596
UD
48145 * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
48146 __set_errno.
8e58439c
UD
48147 * malloc/hooks.c: Likewise.
48148
aebae053 48149 [BZ #11929]
02d46fc4
UD
48150 * malloc/arena.c (ptmalloc_init_minimal): Removed. Initialize all
48151 variables statically.
48152 (narenas): Initialize.
48153 (list_lock): Initialize.
bb016596
UD
48154 (ptmalloc_init): Don't call ptmalloc_init_minimal. Remove
48155 initializtion of main_arena and list_lock. Small cleanups.
02d46fc4
UD
48156 Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
48157 * malloc/malloc.c: Remove malloc_getpagesize. Include <ldsodefs.h>.
48158 Add initializers to main_arena and mp_.
48159 (malloc_state): Remove pagesize member. Change all users to use
48160 GLRO(dl_pagesize).
48161
48162 * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
48163 * sysdeps/unix/sysv/linux/getpagesize.c: Simplify. GLRO(dl_pagesize)
48164 is always initialized.
48165
22a89187
UD
48166 * malloc/malloc.c: Removed unused configurations and dead code.
48167 * malloc/arena.c: Likewise.
48168 * malloc/hooks.c: Likewise.
02d46fc4 48169 * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
22a89187 48170
d063d164
UD
48171 * include/tls.h: Removed. USE___THREAD must always be defined.
48172 * bits/libc-tsd.h: Don't handle !USE___THREAD.
48173 * elf/dl-libc.c: Likewise.
48174 * elf/dl-tsd.c: Likewise.
48175 * include/errno.h: Likewise.
48176 * include/netdb.h: Likewise.
48177 * include/resolv.h: Likewise.
48178 * inet/herrno-loc.c: Likewise.
48179 * inet/herrno.c: Likewise.
48180 * malloc/arena.c: Likewise.
48181 * malloc/hooks.c: Likewise.
48182 * malloc/malloc.c: Likewise.
48183 * resolv/res-state.c: Likewise.
48184 * resolv/res_libc.c: Likewise.
48185 * sysdeps/i386/dl-machine.h: Likewise.
48186 * sysdeps/ia64/dl-machine.h: Likewise.
48187 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
48188 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
48189 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
48190 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
48191 * sysdeps/sh/dl-machine.h: Likewise.
48192 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
48193 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
48194 * sysdeps/unix/i386/sysdep.S: Likewise.
48195 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
48196 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
48197 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
48198 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
48199 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
48200 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
48201 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
48202 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
48203 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
48204 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
48205 * sysdeps/unix/x86_64/sysdep.S: Likewise.
48206 * sysdeps/x86_64/dl-machine.h: Likewise.
48207 * tls.make.c: Likewise.
48208
3ce1f295
UD
48209 * configure.in: Remove --with-__thread option. Make tests for
48210 --no-whole-archive, __builtin_expect, symbol redirection, __thread,
48211 tls_model attribute fail if no support is available. Remove
48212 USE_IN_LIBIO.
48213 * Makeconfig: Adjust for dropped configure option. All features are
48214 now mandatory.
48215 * Makerules: Likewise.
48216 * Versions.def: Likewise.
48217 * argp/argp-fmtstream.c: Likewise.
48218 * argp/argp-fmtstream.h: Likewise.
48219 * argp/argp-help.c: Likewise.
48220 * assert/assert.c: Likewise.
48221 * config.h.in: Likewise.
48222 * config.make.in: Likewise.
48223 * configure: Likewise.
48224 * configure.in: Likewise.
48225 * csu/Versions: Likewise.
48226 * csu/init.c: Likewise.
48227 * elf/tst-audit2.c: Likewise.
48228 * elf/tst-tls10.c: Likewise.
48229 * elf/tst-tls10.h: Likewise.
48230 * elf/tst-tls11.c: Likewise.
48231 * elf/tst-tls12.c: Likewise.
48232 * elf/tst-tls14.c: Likewise.
48233 * elf/tst-tlsmod11.c: Likewise.
48234 * elf/tst-tlsmod12.c: Likewise.
48235 * elf/tst-tlsmod13.c: Likewise.
48236 * elf/tst-tlsmod13a.c: Likewise.
48237 * elf/tst-tlsmod14a.c: Likewise.
48238 * elf/tst-tlsmod15b.c: Likewise.
48239 * elf/tst-tlsmod16a.c: Likewise.
48240 * elf/tst-tlsmod16b.c: Likewise.
48241 * elf/tst-tlsmod7.c: Likewise.
48242 * elf/tst-tlsmod8.c: Likewise.
48243 * elf/tst-tlsmod9.c: Likewise.
48244 * gmon/gmon.c: Likewise.
48245 * grp/fgetgrent_r.c: Likewise.
48246 * grp/putgrent.c: Likewise.
48247 * hurd/fopenport.c: Likewise.
48248 * include/libc-symbols.h: Likewise.
48249 * include/tls.h: Likewise.
48250 * intl/gettextP.h: Likewise.
48251 * intl/loadinfo.h: Likewise.
48252 * locale/global-locale.c: Likewise.
48253 * locale/localeinfo.h: Likewise.
48254 * mach/devstream.c: Likewise.
48255 * malloc/arena.c: Likewise.
48256 * malloc/set-freeres.c: Likewise.
48257 * misc/err.c: Likewise.
48258 * misc/getttyent.c: Likewise.
48259 * misc/mntent_r.c: Likewise.
48260 * posix/getopt.c: Likewise.
48261 * posix/wordexp.c: Likewise.
48262 * pwd/fgetpwent_r.c: Likewise.
48263 * resolv/Versions: Likewise.
48264 * resolv/res_hconf.c: Likewise.
48265 * shadow/fgetspent_r.c: Likewise.
48266 * shadow/putspent.c: Likewise.
48267 * stdio-common/printf_fphex.c: Likewise.
48268 * stdio-common/tmpfile.c: Likewise.
48269 * stdlib/abort.c: Likewise.
48270 * stdlib/fmtmsg.c: Likewise.
48271 * sunrpc/auth_unix.c: Likewise.
48272 * sunrpc/clnt_perr.c: Likewise.
48273 * sunrpc/clnt_tcp.c: Likewise.
48274 * sunrpc/clnt_udp.c: Likewise.
48275 * sunrpc/clnt_unix.c: Likewise.
48276 * sunrpc/openchild.c: Likewise.
48277 * sunrpc/svc_simple.c: Likewise.
48278 * sunrpc/svc_tcp.c: Likewise.
48279 * sunrpc/svc_udp.c: Likewise.
48280 * sunrpc/svc_unix.c: Likewise.
48281 * sunrpc/xdr.c: Likewise.
48282 * sunrpc/xdr_array.c: Likewise.
48283 * sunrpc/xdr_rec.c: Likewise.
48284 * sunrpc/xdr_ref.c: Likewise.
48285 * sunrpc/xdr_stdio.c: Likewise.
48286
1248c1c4
PB
482872011-09-09 Ulrich Drepper <drepper@gmail.com>
48288
48289 * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
48290
482912011-07-03 Andreas Jaeger <aj@suse.de>
48292
48293 * math/libm-test.inc (jn_test): Add tests for BZ#11589.
48294 * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
48295 regenerate with gen-libm-tests.pl.
48296
482972010-05-12 Petr Baudis <pasky@suse.cz>
48298
48299 [BZ #11589]
48300 * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
48301 around j0() zero points by switching to j1().
48302 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
48303 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
48304 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
48305 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
48306
f22e1074
UD
483072011-09-09 Ulrich Drepper <drepper@gmail.com>
48308
f19009c1
UD
48309 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
48310 instead of 0.
48311 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
3a235abb 48312 instead of 0.
f19009c1
UD
48313 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
48314 Patch in part by Pavel Roskin <proski@gnu.org>.
48315
3f8cc204
UD
48316 [BZ #13138]
48317 * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
48318 realloc.
48319 (_IO_vfscanf_internal): Remove reteof. Use errout after setting done.
48320 Free memory block if necessary.
48321
f22e1074
UD
48322 [BZ #12847]
48323 * libio/genops.c (INTDEF): For string streams the _lock pointer can
48324 be NULL. Don't lock in this case.
48325
0a2349f9
RM
483262011-09-09 Roland McGrath <roland@hack.frob.com>
48327
48328 * elf/elf.h (ELFOSABI_GNU): New macro.
48329 (ELFOSABI_LINUX): Define to that.
48330
f3cdd467
DZ
483312011-07-29 Denis Zaitceff <zaitceff@gmail.com>
48332
48333 * string/strncat.c (strncat): Undef the symbol in case it has been
48334 defined in bits/string.h.
48335
74718d13
UD
483362011-09-09 Ulrich Drepper <drepper@gmail.com>
48337
633e9e0f
UD
48338 * elf/sotruss.ksh: Clean up, fix, and complete help messages.
48339
0a2349f9 48340 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
74718d13
UD
48341 link map.
48342
f9924780
AJ
483432011-08-17 Andreas Jaeger <aj@suse.de>
48344
48345 * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
48346
7f5517aa
PP
483472011-08-18 Paul Pluzhnikov <ppluzhnikov@google.com>
48348 Ian Lance Taylor <iant@google.com>
48349
48350 * math/libm-test.inc (lround_test): New testcase.
48351 * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
48352
762011fe
UD
483532011-09-08 Ulrich Drepper <drepper@gmail.com>
48354
92963737
UD
48355 * Makefile: Remove support for automatic cvs check-ins.
48356 * Makerules: Likewise.
48357 * config.make.in: Likewise.
48358 * configure.in: Likewise.
48359 * intl/Makefile: Likewise.
48360 * locale/Makefile: Likewise.
48361 * po/Makefile: Likewise.
48362 * posix/Makefile: Likewise.
48363 * sysdeps/gnu/Makefile: Likewise.
48364 * sysdeps/mach/hurd/Makefile: Likewise.
48365 * sysdeps/sparc/sparc32/Makefile: Likewise.
48366
b0727fd8
JS
48367 [BZ #13118]
48368 * posix/Makefile (bug-regex32-ENV): Define.
48369 Patch by John Stanley <jpsinthemix@verizon.net>.
48370
a0f33f99
UD
48371 * misc/Makefile (headers): Add bits/select2.h.
48372 * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
48373 * misc/bits/select2.h: New file.
48374 * include/bits/select2.h: New file.
48375 * debug/Makefile (routines): Add fdelt_chk.
48376 * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
48377 * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
48378 FD_ISSET.
48379 * debug/fdelt_chk.c: New file.
48380
762011fe
UD
48381 * wcsmbs/test-wcscmp.c: Moved from string/*. Adjust.
48382 * wcsmbs/test-wmemcmp.c: Likewise.
48383 * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
a0f33f99 48384 * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
762011fe
UD
48385
483862011-09-08 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
48387
48388 * string/Makefile (strop-tests): Add memcmp.
48389 * string/test-wmemcmp.c: New file.
48390 * string/test-memcmp.c: Add wmemcmp support.
48391
7f513ec8
RM
483922011-09-08 Roland McGrath <roland@hack.frob.com>
48393
0442afb4
RM
48394 [BZ #13153]
48395 * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
48396 2011-07-19 change.
48397
7f513ec8
RM
48398 * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
48399 garbage value in a __mach_port_mod_refs call in the cases of the
48400 task-self and thread-self ports.
48401
a12b2239
ST
484022011-09-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
48403
48404 * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
48405
610f9ab4
AS
484062011-09-08 Andreas Schwab <schwab@redhat.com>
48407
7f513ec8 48408 * elf/dl-load.c (lose): Check for non-null L.
610f9ab4 48409
48882a1a
LD
484102011-09-07 Ulrich Drepper <drepper@gmail.com>
48411
b49865be
UD
48412 * elf/dl-load.c (open_verify): Use O_CLOEXEC.
48413
fdc86bc9
UD
48414 * elf/dl-libc.c (dlerror_run): Pass back error code from
48415 dl_catch_error.
48416
c966526a
UD
48417 [BZ #13123]
48418 * elf/dl-load.c (lose): Free l_origin if it is valid.
48419
48882a1a
LD
48420 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
48421 names.
48422 * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
48423 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
48424 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
48425 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
48426 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
48427 Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
48428
77a2a8b4
AZ
484292011-08-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
48430
48431 * sysdeps/powerpc/fpu/e_hypot.c: New file.
48432 * sysdeps/powerpc/fpu/e_hypotf.c: New file.
48433 * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
48434 * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
48435 * sysdeps/powerpc/fpu/k_cosf.c: New file.
48436 * sysdeps/powerpc/fpu/k_sinf.c: New file.
48437 * sysdeps/powerpc/fpu/s_cosf.c: New file.
48438 * sysdeps/powerpc/fpu/s_sinf.c: New file.
48439 * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
48440 * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
48441
24f579d8
AM
484422011-08-15 Alan Modra <amodra@gmail.com>
48443
48444 [BZ #13092]
48445 * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
48446 * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
48447 * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here. Add
48448 ppc_mcount to static-only-routines.
48449 * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
48450 __mcount_internal.
48451 * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
48452 __mcount_internal with usual JUMPTARGET. Remove useless nop.
48453
3d4837df
UD
484542011-08-18 David Flaherty <flaherty@linux.vnet.ibm.com>
48455
48456 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
48457 for finite and infinity parameters.
48458
22700377
WS
484592011-08-04 Will Schmidt <will_schmidt@vnet.ibm.com>
48460
48461 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
48462 and add nop instructions for throughput optimization.
48463 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
48464
5025581e
WS
484652011-07-28 Will Schmidt <will_schmidt@vnet.ibm.com>
48466
48467 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
48468 aligned copy for power7 with vector-scalar instructions.
48469 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
48470
08a300c9
L
484712011-07-24 H.J. Lu <hongjiu.lu@intel.com>
48472
48473 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
48474 AVX check.
48475
59178ef9
AS
484762011-09-07 Andreas Schwab <schwab@redhat.com>
48477
48478 [BZ #13144]
48479 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
48480 last change.
48481
e38ba7ab
UD
484822011-09-07 Ulrich Drepper <drepper@gmail.com>
48483
48484 * sysdeps/unix/sysv/linux/x86_64/init-first.c
48485 (_libc_vdso_platform_setup): If vDSO is not present store pointer to
48486 syscall wrapper around clock_gettime in __vdso_clock_gettime.
48487 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
48488 clock_gettime.
48489
d53a73ac
UD
484902011-09-06 Ulrich Drepper <drepper@gmail.com>
48491
fc8bffcc
UD
48492 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
48493 Forgot to demangle the pointer.
48494
ceaa0c5d
UD
48495 * sysdeps/i386/sysdep.h: Define atom_text_section.
48496 * sysdeps/x86_64/sysdep.h: Likewise.
48497 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
48498 section with atom_text_section.
48499 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
48500 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
48501 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
48502 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
48503 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
48504
a77d3c17
UD
48505 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
48506 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
48507 already be defined. Change to take two parameters and don't assign
48508 result to variable. Adjust all users.
48509 Define INTERNAL_GETTIME if not already defined.
48510 Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
48511 call.
48512 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
48513 HAVE_CLOCK_GETTIME_VSYSCALL.
48514 * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
48515
d53a73ac
UD
48516 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
48517 gettimeofday vsyscall, just use time.
48518
a8f84144
AS
485192011-09-06 Andreas Schwab <schwab@redhat.com>
48520
48521 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
48522 <errno.h>.
48523
ef606249
UD
485242011-09-06 Ulrich Drepper <drepper@gmail.com>
48525
48526 * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
48527 syscall on x86-64.
48528 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
48529 syscall.
48530 * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
48531 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
48532 syscall if possible.
48533
6585cb60
UD
485342011-09-05 Ulrich Drepper <drepper@gmail.com>
48535
48536 * elf/pldd.c (get_process_info): Don't read whole ELF header, just
48537 e_ident. Don't pass to find_mapsXX.
48538 * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
48539
a5f524e4
LD
485402011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
48541
48542 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
48543 strchr-sse2-no-bsf strrchr-sse2-no-bsf
48544 * sysdeps/x86_64/multiarch/strchr.S: Update.
48545 Check bit_slow_BSF bit.
48546 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
48547 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
48548 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
48549
554881ef
UD
485502011-09-05 Ulrich Drepper <drepper@gmail.com>
48551
d96de963
UD
48552 [BZ #13134]
48553 * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
48554 before glibc 2.15.
48555 (tryshell): Define.
48556 (__spawni): Change last parameter to be flag. Test
48557 SPAWN_XFLAGS_USE_PATH flag to use path or not.
48558 Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
48559 * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
48560 * posix/spawni.c: Likewise.
48561 * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
48562 * posix/spawnp.c: Likewise. Change normal version to use
48563 SPAWN_XFLAGS_USE_PATH.
48564 * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
48565 SPAWN_XFLAGS_TRY_SHELL.
48566
d48e5868
UD
48567 [BZ #13150]
48568 * posix/glob.h: Remove gcc 1.x support.
48569
554881ef
UD
48570 [BZ #13068]
48571 * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
48572
693fb948
LD
485732011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
48574
48575 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
48576 strchr-sse2 strrchr-sse2 strchr-sse2-bsf
48577 strrchr-sse2-bsf
48578 * sysdeps/i386/i686/multiarch/strchr.S: New file.
48579 * sysdeps/i386/i686/multiarch/strrchr.S: New file.
48580 * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
48581 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
48582 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
48583 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
48584
1b48c537
UD
485852011-08-29 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
48586
49d42c37
UD
48587 * sysdeps/x86_64/wcscmp.S: New file.
48588
1b48c537
UD
48589 * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
48590 wcscmp-c wcscmp-sse2
48591 * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
48592 * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
48593 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
48594 * wcsmbs/wcscmp.c: Allow renaming.
48595
15c95c5d
DM
485962011-09-05 David S. Miller <davem@davemloft.net>
48597
48598 * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
48599 stack slot, rather than the struct return pointer slot.
48600 * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
48601 * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
48602 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
48603 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
48604
2f0ad8f3
UD
486052011-09-05 Ulrich Drepper <drepper@gmail.com>
48606
d88ae418
UD
48607 * po/ja.po: Update from translation team.
48608
2f0ad8f3
UD
48609 [BZ #13144]
48610 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
48611 kernel in 64-bit binaries.
48612
5f4318d1
DM
486132011-09-01 David S. Miller <davem@davemloft.net>
48614
48615 * elf/elf.h (HWCAP_SPARC_*): Move to..
48616 * sysdeps/sparc/sysdep.h: this new file and add new values.
48617 * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
48618 * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
48619 _DL_HWCAP_COUNT to 24.
48620 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
48621 entries.
48622 * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
48623 __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
48624 * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
48625 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
48626 instead of magic constants.
48627 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
48628
3ba57516
DM
486292011-08-31 David S. Miller <davem@davemloft.net>
48630
48631 * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
48632 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
48633 Reimplement to do errno handling inline.
48634 (SYSCALL_ERROR_HANDLER): New macro.
48635 (__SYSCALL_STRING): Do not do errno handling in asm.
48636 (__CLONE_SYSCALL_STRING): Delete.
48637 (__INTERNAL_SYSCALL_STRING): Delete.
48638 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
48639 sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
48640 (PSEUDO): Reimplement to do errno handling inline.
48641 (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
48642 (SYSCALL_ERROR_HANDLER): New macro.
48643 (__SYSCALL_STRING): Do not do errno handling in asm.
48644 (__CLONE_SYSCALL_STRING): Delete.
48645 (__INTERNAL_SYSCALL_STRING): Delete.
48646 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
48647 Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
48648 i386.
48649 (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
48650 (inline_syscall*): Add 'err' argument.
48651 (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
48652 INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
48653 (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
48654 INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
48655
48656 * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
48657 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
48658
2bc17433
AS
486592011-08-30 Andreas Schwab <schwab@redhat.com>
48660
48661 * elf/rtld.c (dl_main): Relocate objects in dependency order.
48662
fbeb5f4d
JO
486632011-08-29 Jiri Olsa <jolsa@redhat.com>
48664
48665 * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
48666 directive.
48667
ad69cc26
DM
486682011-08-24 David S. Miller <davem@davemloft.net>
48669
48670 * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
48671
39dd69df
AS
486722011-08-24 Andreas Schwab <schwab@redhat.com>
48673
48674 * elf/Makefile: Add rules to build and run unload8 test.
48675 * elf/unload8.c: New file.
48676 * elf/unload8mod1.c: New file.
48677 * elf/unload8mod1x.c: New file.
48678 * elf/unload8mod2.c: New file.
48679 * elf/unload8mod3.c: New file.
48680
48681 * elf/dl-close.c (_dl_close_worker): Reset private search list if
48682 it wasn't used.
48683
2c0b250a
DM
486842011-08-23 David S. Miller <davem@davemloft.net>
48685
48686 * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
48687 subtract stack bias.
48688 * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
48689 %sp not %fp in calculations.
48690 (_JMPBUF_UNWINDS_ADJ): Likewise.
48691
22044b48
DM
48692 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
48693 (aio_suspend): Call it to force an exception region around the
48694 AIO_MISC_WAIT() invocation.
48695
2cae4995
AS
486962011-08-23 Andreas Schwab <schwab@redhat.com>
48697
48698 * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
48699 backslash.
48700
873a772e
AJ
487012011-07-04 Aurelien Jarno <aurelien@aurel32.net>
48702
48703 * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
48704 protection macro.
48705 * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
48706 and <dl-machine.h>.
48707 (Elf64_FuncDesc): Remove.
48708
25ad0df1
DM
487092011-08-22 David S. Miller <davem@davemloft.net>
48710
48711 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
48712 sigaltstack check, add missing cfi directives.
48713 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
48714 missing cfi directives, and sigaltstack handling.
48715
e888bcbe
AS
487162011-08-16 Andreas Schwab <schwab@redhat.com>
48717
48718 [BZ #11724]
48719 * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
48720 object is seen twice.
48721 * elf/dl-fini.c (_dl_sort_fini): Likewise.
48722
48723 * elf/Makefile (distribute): Add tst-initorder2.c.
48724 (tests): Add tst-initorder2.
48725 (modules-names): Add tst-initorder2a tst-initorder2b
48726 tst-initorder2c tst-initorder2d. Add rules to build them.
48727 ($(objpfx)tst-initorder2.out): New rule.
48728 * elf/tst-initorder2.c: New file.
48729 * elf/tst-initorder2.exp: New file.
48730
87162f46
AS
487312011-08-22 Andreas Schwab <schwab@redhat.com>
48732
70538b7f
AS
48733 * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
48734
f55ffe58
AS
48735 * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
48736 dependencies back to end of function.
48737
87162f46
AS
48738 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
48739 $(elfobjdir)/ld.so.
48740
91b392a4
UD
487412011-08-21 Ulrich Drepper <drepper@gmail.com>
48742
48743 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
48744 * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
48745 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
48746 * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
48747 * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
48748 of __vdso_gettimeofday.
48749 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
48750 __vdso_gettimeofday and __vdso_time. Define __vdso_getcpu with
48751 attribute_hidden.
48752 (_libc_vdso_platform_setup): Remove initialization of
48753 __vdso_gettimeofday and __vdso_time.
48754
5c43483f
UD
487552011-08-20 Ulrich Drepper <drepper@gmail.com>
48756
775a77e7
UD
48757 * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
48758 and fgetc_unlocked.
48759 * nss/nss_files/files-key.c (search): Use fgets_unlocked and
48760 getc_unlocked.
89f447ed 48761
49c74ba9
UD
48762 * elf/dl-open.c (add_to_global): Report additions to the global scope
48763 for LD_DEBUG=scopes.
48764 (dl_open_worker): Also print scope of newly loaded dependencies.
001f0a6c 48765 (_dl_show_scope): Indicate if there is no scope.
49c74ba9 48766
5c43483f
UD
48767 [BZ #13114]
48768 * stdio-common/Makefile (tests): Add bug24.
48769 * stdio-common/bug24.c: New file.
48770
a101b025
AJ
487712011-08-19 Andreas Jaeger <aj@suse.de>
48772
48773 [BZ #13114]
48774 * libio/fileops.c (_IO_new_file_fopen): Fix handling of
48775 non-existant file when using close-on-exec mode.
48776
c88f1766
UD
487772011-08-20 Ulrich Drepper <drepper@gmail.com>
48778
0276a718
UD
48779 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
48780 the very first instruction.
48781
c88f1766
UD
48782 * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
48783 the CFI state in the end.
48784 * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
48785 inclusion of dl-trampoline.h.
48786 Based on a patch by Jiri Olsa <jolsa@redhat.com>.
48787
51ccffa0
AS
487882011-08-19 Andreas Schwab <schwab@redhat.com>
48789
94d7165f
AS
48790 * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
48791 expectations for long double.
48792
51ccffa0
AS
48793 * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
48794 from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
48795
fd708658 487962011-08-14 David S. Miller <davem@davemloft.net>
c27714f1
DM
48797
48798 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
48799 artificual limit depends upon the system page size.
48800
44f0a71e
UD
488012011-08-17 Ulrich Drepper <drepper@gmail.com>
48802
48803 * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
48804 * resolv/Makefile: Define CFLAGS-libresolv.
48805
8de79a24
AS
488062011-08-17 Andreas Schwab <schwab@redhat.com>
48807
48808 * nss/makedb.c (compute_tables): Make variables used in nested
48809 function static.
48810
27724598
UD
488112011-08-17 Ulrich Drepper <drepper@gmail.com>
48812
c5305d88
UD
48813 * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
48814 * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
48815 if buffer was too small.
48816
27724598
UD
48817 * elf/pldd.c (main): Attach to all threads in the process.
48818 Rewrite /proc handling to use *at functions.
48819
076fe015
UD
488202011-08-16 Ulrich Drepper <drepper@gmail.com>
48821
174baab3
UD
48822 * elf/dl-open.c (_dl_show_scope): Take additional parameter which
48823 specifies first scope to show.
48824 (dl_open_worker): Update callers. Move printing scope of new
48825 object to before the relocation.
44f0a71e 48826 * elf/rtld.c (dl_main): Update _dl_show_scope call.
174baab3
UD
48827 * sysdeps/generic/ldsodefs.h: Update declaration.
48828
076fe015
UD
48829 * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
48830 string for the scope number.
48831
a60df2c3
UD
488322011-08-14 Ulrich Drepper <drepper@gmail.com>
48833
48834 * nscd/servicescache.c (cache_addserv): Make sure written is always
48835 initialized.
48836
5e4287d1
RM
488372011-08-14 Roland McGrath <roland@hack.frob.com>
48838
85ae0589
RM
48839 * sysdeps/i386/i486/bits/atomic.h
48840 (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
48841 statement expression, so as to suppress "set but not used" warning.
48842 (__arch_c_compare_and_exchange_val_64_acq): Likewise.
48843
69f63097
RM
48844 * string/strncat.c (STRNCAT): Use prototype definition.
48845
675456ef
RM
48846 * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
48847 (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
48848 -Iprograms here.
48849 (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
48850 (localedef-modules): Add localedef.
48851 (locale-modules): Add locale.
48852
5e4287d1
RM
48853 * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
48854 * elf/rtld.c (dl_main): Invert order of assignment in last change,
48855 to avoid a warning.
48856
9c96ff23
DM
488572011-08-14 David S. Miller <davem@davemloft.net>
48858
48859 * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
48860 RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
48861
f9ddf089
UD
488622011-08-13 Ulrich Drepper <drepper@gmail.com>
48863
44f0a71e 48864 * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
73d7af4f
UD
48865 (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
48866 * elf/rtld.c (dl_main): Set l_name of vDSO.
48867 Call _dl_show_scope when DL_DEBUG_SCOPES.
48868 (process_dl_debug): Recognize scopes flag and also set it for all.
48869 * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
48870 Declare _dl_show_scope.
48871
1dc27704
UD
48872 * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
48873 (do_dlopen): Pass caller_dlopen to dl_open.
48874 (__libc_dlopen_mode): Initialize caller_dlopen.
48875
f9ddf089
UD
48876 * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
48877 of libc. Make tolower call locale-independent. Optimize a bit by
48878 using isdigit instead of isalnum.
48879 * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
48880
9ac533d3
UD
488812011-08-12 Ulrich Drepper <drepper@gmail.com>
48882
48883 * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
48884 was a dependency or dynamically loaded.
48885
89edf2e9
UD
488862011-08-11 Ulrich Drepper <drepper@gmail.com>
48887
8e999d29
UD
48888 * intl/l10nflist.c: Allow architecture-specific pop function.
48889 * sysdeps/x86_64/l10nflist.c: New file.
48890
89edf2e9
UD
48891 * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
48892 classification.
48893
14d96785
AS
488942011-08-10 Andreas Schwab <schwab@redhat.com>
48895
48896 * include/dirent.h: Add libc_hidden_proto for scandirat and
48897 scandirat64. Don't declare __scandirat64.
48898 * dirent/scandirat.c: Add libc_hidden_def.
48899 * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
48900 * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
48901
6761ac04
DM
489022011-08-10 David S. Miller <davem@davemloft.net>
48903
48904 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
48905 enum.
48906 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
48907 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
48908 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
48909
c55fbd1e
UD
489102011-08-09 Ulrich Drepper <drepper@gmail.com>
48911
48912 * Versions.def [libc]: Add GLIBC_2.15.
48913 * dirent/Makefile (routines): Add scandirat and scandirat64.
48914 * dirent/Versions [libc]: Export scandirat and scandirat64 for
48915 GLIBC_2.15.
48916 * dirent/dirent.h: Declare scandirat and scandirat64.
48917 * dirent/scandirat.c: New file.
48918 * dirent/scandirat64.c: New file.
48919 * sysdeps/wordsize-64/scandirat.c: New file.
48920 * sysdeps/wordsize-64/scandirat64.c: New file.
48921 * dirent/opendir.c: Define opendirat.
48922 * dirent/scandir.c: Move code to scandirat.c. Implement scandir
48923 using scandirat.
48924 * dirent/scandir64.c: Adjust for scandir.c change.
48925 * include/dirent.h: Define scandir_cancel_struct. Declare __opendirat,
48926 __scandirat64, and __scandir_cancel_handler.
48927 * sysdeps/unix/opendir.c: Rename __opendir to __opendirat. Take
48928 additional parameter and use openat instead of open (outside of ld.so).
48929 Add new __opendir as wrapper around __opendirat.
48930 * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
48931 here without requiring old scandirat implementation.
48932
879165f2
UD
489332011-08-08 Ulrich Drepper <drepper@gmail.com>
48934
48935 * dirent/scandir.c (cancel_handler): Renamed to
48936 __scandir_cancel_handler. Do not define if SKIP_SCANDIR_CANCEL is
48937 defined. Adjust users.
48938 * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
48939 * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
48940
cb7e923b
UD
489412011-08-04 Ulrich Drepper <drepper@gmail.com>
48942
16292edd
UD
48943 * string/test-string.h (IMPL): Use __STRING to expand name and then
48944 stringify it.
48945
cb7e923b
UD
48946 * string/test-strcmp.c: Unify most of the WIDE and !WIDE code. Lots
48947 of cleanups.
48948
cff82933
LD
489492011-07-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
48950
48951 * string/Makefile: Update.
48952 (strop-tests): Append strncat.
48953 * string/test-wcscmp.c: New file.
48954 New comprehensive test for wcscmp.
48955 * string/test-strcmp.c: Update.
48956 (WIDE): New define.
48957
9be9bfcc
AS
489582011-07-22 Andreas Schwab <schwab@redhat.com>
48959
48960 * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
48961 line.
48962
2e96f1c7
AS
489632011-07-26 Andreas Schwab <schwab@redhat.com>
48964
48965 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
48966 encoding to ACE if AI_IDN.
48967
85188888
JJ
489682011-08-01 Jakub Jelinek <jakub@redhat.com>
48969
48970 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
48971 to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
48972
5fa16e9b
LD
489732011-07-22 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
48974
48975 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
48976 Fix overflow bug in strncat.
48977 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
48978
48979 * string/test-strncat.c: Update.
48980 Add new tests for checking overflow bugs.
48981
489822011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
48983
48984 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
48985 strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
48986 * sysdeps/i386/i686/multiarch/strcat.S: New file.
48987 * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
48988 * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
48989 * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
48990 * sysdeps/i386/i686/multiarch/strncat.S: New file.
48991 * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
48992 * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
48993
48994 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
48995 (USE_AS_STRCAT): Define.
48996 Add strcat and strncat support.
48997 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
48998
8c1a459f
AS
489992011-07-25 Andreas Schwab <schwab@redhat.com>
49000
49001 * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
49002 __n bigger than INT_MAX+1.
49003 (__strncmp_g): Likewise.
49004
bba33c28
UD
490052011-07-23 Ulrich Drepper <drepper@gmail.com>
49006
798be72d
UD
49007 * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
49008 * libio/stido.h: Likewise.
49009
8accd4dc
UD
49010 * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
49011 (AF_NFC): Define.
49012 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
49013 (AF_NFC): Define.
49014
cbff0d96
UD
49015 * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
49016 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
49017 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
49018 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
49019 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
49020
9191c04a
UD
49021 [BZ #13021]
49022 * scripts/test-installation.pl: Don't expect libnss_test1 to be
49023 installed.
49024
bba33c28
UD
49025 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
49026 typo.
49027 (_dl_x86_64_save_sse): Likewise.
49028
90f139dd
UD
490292011-07-22 Ulrich Drepper <drepper@gmail.com>
49030
1aae088a
UD
49031 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
49032 OSXSAVE.
49033 (_dl_x86_64_save_sse): Likewise.
49034
8e2045f5
UD
49035 * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
49036
90f139dd
UD
49037 * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
49038
1d002f25
AS
490392011-07-21 Andreas Schwab <schwab@redhat.com>
49040
49041 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
49042 change.
49043 (_dl_x86_64_save_sse): Use correct AVX check.
49044
21137f89
UD
490452011-07-21 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
49046
49047 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
49048 bug in strncpy/strncat.
49049 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
49050
a65c0b7a
UD
490512011-07-21 Ulrich Drepper <drepper@gmail.com>
49052
49053 * string/tester.c (test_strcat): Add tests for different alignments
49054 of source and destination.
49055 (test_strncat): Likewise.
49056
6986b98a
UD
490572011-07-20 Ulrich Drepper <drepper@gmail.com>
49058
90bb2039
UD
49059 [BZ #12852]
49060 * posix/glob.c (glob): Check passed in values before using them in
49061 expressions to avoid some overflows.
49062 (glob_in_dir): Likewise.
49063
5644ef54
UD
49064 [BZ #13007]
49065 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
49066 check for AVX enablement so that we don't crash with old kernels and
49067 new hardware.
49068 * elf/tst-audit4.c: Add same checks here.
49069 * elf/tst-audit6.c: Likewise.
49070
49071 * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
6986b98a 49072
bfc9dc9b
AS
490732011-07-09 Andreas Schwab <schwab@linux-m68k.org>
49074
49075 * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
49076
702e64bb
UD
490772011-07-20 Ulrich Drepper <drepper@gmail.com>
49078
49079 * po/cs.po: Update from translation team.
49080 * po/bg.po: Likewise.
49081
295e904f
MP
490822011-07-12 Marek Polacek <mpolacek@redhat.com>
49083
49084 * misc/sys/cdefs.h: Add support for const attribute.
49085 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
49086 to gnu_dev_{major,minor,makedev} functions.
49087
3ff94596
MP
490882011-07-20 Marek Polacek <mpolacek@redhat.com>
49089
49090 * intl/dcigettext.c (get_output_charset): Add missing bracket.
49091
28b59fca
AS
490922011-07-20 Andreas Schwab <schwab@redhat.com>
49093
49094 * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
49095 strlen results.
49096
19df733e
AK
490972011-07-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
49098
49099 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
49100 (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
49101 register in order to avoid conflicts with the soft frame pointer
49102 being held in r11 when necessary.
49103 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
49104 (INTERNAL_VSYSCALL_NCS): Likewise.
49105
c8835729
MP
491062011-07-14 Marek Polacek <mpolacek@redhat.com>
49107
49108 * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
49109 * elf/dl-fini.c (_dl_fini): Adjust caller.
49110 * elf/dl-close.c (_dl_close_worker): Likewise.
49111 * sysdeps/generic/ldsodefs.h: Adjust declaration.
49112
b902330c
MP
491132011-07-15 Marek Polacek <mpolacek@redhat.com>
49114
8991e135
MP
49115 * elf/cache.c (load_aux_cache): Remove unnecessary condition of
49116 "aux_cache->nlibs < 0".
49117
b902330c
MP
49118 * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
49119 in the reload-count case.
49120
99710781
LD
491212011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
49122
49123 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
49124 strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
49125 strncat-sse2-unaligned strncat-c strlen-sse2-pminub
49126 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
49127 * sysdeps/x86_64/multiarch/strcat.S: New file.
49128 * sysdeps/x86_64/multiarch/strncat.S: New file.
49129 * sysdeps/x86_64/multiarch/strncat-c.c: New file.
49130 * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
49131 * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
49132 * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
49133 * sysdeps/x86_64/multiarch/strcpy-ssse3.S
49134 (USE_AS_STRCAT): Define.
49135 Add strcat and strncat support.
49136 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
49137 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
49138 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
49139 * string/strncat.c: Update.
49140 (USE_AS_STRNCAT): Define.
49141 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
49142 Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
49143 and i7.
49144 * sysdeps/x86_64/multiarch/init-arch.h
49145 (bit_Prefer_PMINUB_for_stringop): New.
49146 (index_Prefer_PMINUB_for_stringop): Likewise.
49147 * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
49148 bit_Prefer_PMINUB_for_stringop.
49149
7dc6bd90
UD
491502011-07-19 Ulrich Drepper <drepper@gmail.com>
49151
49152 * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
49153 buffer64.
49154 * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
49155 of casting of buffer.
49156 * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
49157 buffer32 and buffer64.
49158 * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
49159 writes instead of casting of buffer.
49160 * crypt/md5.h (struct md5_ctx): Move buffer into union and add
49161 buffer32.
49162 * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
49163 casting of buffer.
49164
e0e72284
AS
491652011-07-19 Andreas Schwab <schwab@redhat.com>
49166
49167 * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
49168
feb1eb0b
UD
491692011-07-19 Ulrich Drepper <drepper@gmail.com>
49170
49171 * nscd/nscd.c (termination_handler): Don't do anything for a database
49172 if it has not yet been initialized.
49173
298711ff
UD
491742011-07-18 Ulrich Drepper <drepper@gmail.com>
49175
49176 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
49177
491782011-07-15 Marek Polacek <mpolacek@redhat.com>
49179
49180 * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
49181
f9d68389
UD
491822011-07-18 Ulrich Drepper <drepper@gmail.com>
49183
49184 * po/nl.po: Update from translation team.
49185 * po/sv.po: Likewise.
49186
db290cf5
RM
491872011-07-16 Roland McGrath <roland@hack.frob.com>
49188
49189 * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
49190 now disallowed by GCC.
5c550700 49191
fd5e21c7
RM
49192 * configure.in (use-default-link): Default to yes if a test -shared
49193 link meets our qualifications.
49194 * configure: Regenerated.
49195
5c550700
RM
49196 * config.make.in (output-format): New variable.
49197 * configure.in: Check for ld --print-output-format support.
49198 * configure: Regenerated.
49199 * Makerules ($(common-objpfx)format.lds)
49200 [$(output-format) != unknown]: Just use $(output-format),
49201 instead of the linker-script munging.
49202
9fa2c032
RM
492032011-07-14 Roland McGrath <roland@hack.frob.com>
49204
a6928d51
RM
49205 * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
49206 of $(common-objpfx)shlib.lds.
49207 * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
49208
661607b3
RM
49209 * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
49210 Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
49211
9fa2c032
RM
49212 * configure.in (-z relro check): Adjust test code to add a large
49213 writable data section after it.
49214 * configure: Regenerated.
49215
defe9061
RM
492162011-07-11 Roland McGrath <roland@hack.frob.com>
49217
49218 * configure.in (-z relro check): Fix test code to make the variable
49219 truly const.
49220 * configure: Regenerated.
49221
319b9ad4
UD
492222011-07-11 Ulrich Drepper <drepper@gmail.com>
49223
49224 * nscd/nscd.h (struct traced_file): Define.
49225 (struct database_dyn): Remove inotify_descr, reset_res, and filename
49226 elements. Add traced_files.
49227 (inotify_fd): Declare.
49228 (register_traced_file): Declare.
49229 * nscd/connections.c (dbs): Remove reset_res and filename initializers.
49230 (inotify_fd): Export.
49231 (resolv_conf_descr): Remove.
49232 (nscd_init): Move inotify descriptor creation to main.
49233 Don't register files for notification here.
49234 (register_traced_file): New function.
49235 (invalidate_cache): Don't use reset_res to determine whether to call
49236 res_init, go through the list of registered files.
49237 (main_loop_poll): The inotify descriptors are now stored in the
49238 structures for the traced files.
49239 (main_loop_epoll): Likewise
49240 * nscd/nscd.c (main): Create inotify socket here. Pass extra argument
49241 to __nss_disable_nscd.
49242 * nscd/cache.c (prune_cache): There is no single inotify descriptor
49243 for a database anymore. Check the records for all the registered
49244 files instead.
49245 * nss/Makefile (libnss_files-routines): Add files-init.
49246 (libnss_db-routines): Add db-init.
49247 * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
49248 [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
49249 * nss/nss_db/db-init.c: New file.
49250 * nss/nss_files/files-init.c: New file.
49251 * nss/nsswitch.c (nss_load_library): New function. Broken out of
49252 __nss_lookup_function.
49253 (__nss_lookup_function): Call nss_load_library.
49254 (nss_load_all_libraries): New function.
49255 (__nss_disable_nscd): Take parameter with callback function for files
49256 to register. Set is_nscd. Load all the DSOs for the NSS modules
49257 used for the cached services.
49258 * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
49259 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
49260 options for features to all the files in nscd.
49261
49262 * nss/nsswitch.c (nss_parse_file): Add missing fclose.
49263
23bee3e8
RM
492642011-07-10 Roland McGrath <roland@hack.frob.com>
49265
49266 * csu/elf-init.c (__libc_csu_init): Comment typo.
49267
46a5b7f0
UD
492682011-07-09 Ulrich Drepper <drepper@gmail.com>
49269
49270 * po/pl.po: Update from translation team.
49271 * po/ja.po: Likewise.
49272 * po/ru.po: Likewise.
49273 * po/ko.po: Likewise.
49274 * po/fr.po: Likewise.
49275
d30cf5bb
RM
492762011-07-09 Roland McGrath <roland@hack.frob.com>
49277
113ddea4
RM
49278 * configure.in (.ctors/.dtors header and trailer check):
49279 Use an empirical test on a built program.
49280 * configure: Regenerated.
49281
574920b4
RM
49282 * configure.in (-z relro check): Use an empirical test on a built DSO.
49283 Detect, but do not require, on ia64.
49284 * configure: Regenerated.
49285
d30cf5bb
RM
49286 * configure.in (READELF): Find it with AC_CHECK_TOOL.
49287 Update tests that use readelf to use $READELF instead.
49288 * configure: Regenerated.
49289
8538fdb3
UD
492902011-07-08 Ulrich Drepper <drepper@gmail.com>
49291
49292 * malloc/hooks.c (memalign_check): Avoid using checked_request2size
49293 if the result is not used.
49294
04d08991
AJ
492952011-07-05 Andreas Jaeger <aj@suse.de>
49296
49297 [BZ#9696]
49298 * stdlib/tst-strtod.c: Add testcase.
49299
de283087
AD
493002011-07-07 Ulrich Drepper <drepper@gmail.com>
49301
4e5f31c8 49302 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
46a5b7f0 49303 (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
4e5f31c8
UD
49304 The latter has a higher limit. Take additional parameter to pass to
49305 the new function.
49306 (__pathconf): Pass file to __statfs_link_max.
49307 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
49308 __statfs_link_max.
49309 * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
49310 __statfs_link_max.
49311
de283087
AD
49312 [BZ #12868]
49313 * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
49314 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
49315 Handle Lustre.
49316 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
49317 (__statfs_filesize_max): Likewise.
49318 Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
49319
c75fa153
AJ
493202011-07-05 Andreas Jaeger <aj@suse.de>
49321
49322 * resolv/res_comp.c (dn_skipname): Remove unused variable.
49323
1a544854
UD
493242011-07-06 Marek Polacek <mpolacek@redhat.com>
49325
49326 * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
49327 `status' variable.
49328 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
49329 Likewise.
49330
6f0eec67
UD
493312011-07-04 H.J. Lu <hongjiu.lu@intel.com>
49332
49333 * Makefile (strop-tests): Add strncat.
49334 * string/test-strncat.c: New file.
49335
aae30307
UD
493362011-06-30 Marek Polacek <mpolacek@redhat.com>
49337
49338 * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
49339
c0cfb5eb
UD
493402011-06-21 Andreas Jaeger <aj@suse.de>
49341
49342 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
49343 Copy rule from iconvdata/Makefile.
49344
01636b21
UD
493452011-07-06 Ulrich Drepper <drepper@gmail.com>
49346
49347 [BZ #12922]
49348 * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
49349 but no long options are defined, just return 'W'.
49350
9895c8bc
UD
493512011-06-22 Marek Polacek <mpolacek@redhat.com>
49352
49353 [BZ #9696]
49354 * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
49355
5d4cf042
UD
493562011-07-06 Ulrich Drepper <drepper@gmail.com>
49357
49358 * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
49359 netgroups to read.
960e5535 49360 (innetgr): Likewise.
5d4cf042 49361
751eb97e
RM
493622011-07-05 Roland McGrath <roland@hack.frob.com>
49363
49364 * config.make.in (install_root): Default to $(DESTDIR).
49365
f15f1e45
UD
493662011-07-05 Ulrich Drepper <drepper@gmail.com>
49367
49368 * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
49369
4e34ac6a
RM
493702011-07-02 Roland McGrath <roland@hack.frob.com>
49371
5e9b6af4
RM
49372 * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
49373
84f9ea0f
RM
49374 * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
49375 containing directory rather than embedding absolute directory names.
49376
ea5ee9f7
RM
49377 * scripts/check-local-headers.sh: Rewritten using awk.
49378 Match by word, not by line. Print error messages for matches.
49379 * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
49380
1b74661a
RM
49381 * Makerules [shlib-lds-flags empty]:
49382 ($(common-objpfx)libc_pic.opts): New target.
49383 ($(common-objpfx)libc_pic.os.clean): New target.
49384 ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
49385
49386 * config.make.in (OBJCOPY): New variable.
49387 * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
49388 * configure: Regenerated.
49389
f781ef40
RM
49390 * config.make.in (use-default-link): New variable.
49391 * configure.in (use_default_link): Grok --with-default-link to set it.
49392 * configure: Regenerated.
49393 * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
49394 (shlib-lds, shlib-lds-flags): Define to empty.
49395
2d4fa81e
RM
49396 * Makerules (shlib-lds): New variable.
49397 (shlib-lds-flags): New variable.
49398 (build-shlib, build-moduile, build-module-asneeded): Use it.
49399 ($(common-objpfx)libc.so): Use $(shlib-lds).
49400 ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
49401 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
49402
31fffa6b
RM
49403 * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
49404 DT_FLAGS/DT_FLAGS_1 with zero flags.
49405
4e34ac6a
RM
49406 * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
49407 linker script munging.
49408
fcfc776b
UD
494092011-07-02 Ulrich Drepper <drepper@gmail.com>
49410
49411 * crypt/sha512.h (struct sha512_ctx): Add union to access total also
49412 as 128-bit value.
49413 * crypt/sha512.c (sha512_process_block): Perform total addition using
49414 128-bit if possible.
49415 (__sha512_finish_ctx): Likewise.
49416 * crypt/sha256.h (struct sha256_ctx): Add union to access total also
49417 as 64-bit value.
49418 * crypt/sha256.c (SWAP64): Define.
49419 (sha256_process_block): Perform total addition using 64-bit if
49420 possible.
49421 (__sha256_finish_ctx): Likewise.
49422
99231d9a
UD
494232011-07-01 Ulrich Drepper <drepper@gmail.com>
49424
49425 * nscd/pwdcache.c (cache_addpw): Cleanup. Add branch prediction.
49426 * nscd/initgrcache.c (addinitgroupsX): Likewise.
49427 * nscd/hstcache.c (cache_addhst): Likewise.
49428 * nscd/grpcache.c (cache_addgr): Likewise.
49429 * nscd/aicache.c (addhstaiX): Likewise
49430 * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
49431
445b4a53
TK
494322011-07-01 Thorsten Kukuk <kukuk@suse.de>
49433
49434 * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
49435 * nscd/initgrcache.c (addinitgroupsX): Likewise.
49436 * nscd/hstcache.c (cache_addhst): Likewise.
49437 * nscd/grpcache.c (cache_addgr): Likewise.
49438 * nscd/aicache.c (addhstaiX): Likewise
49439
6d4d8e8e
AS
494402011-07-01 Andreas Schwab <schwab@redhat.com>
49441
49442 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
49443 domain only when needed.
49444
89f654c5
AS
494452011-06-30 Andreas Schwab <schwab@redhat.com>
49446
49447 * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
49448 is always restored.
49449
cf3b23ff
UD
494502011-06-29 Ulrich Drepper <drepper@gmail.com>
49451
49452 * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
49453 are re-adding the entry.
49454 * nscd/servicescache.c (cache_addserv): Likewise.
49455
751626f9
AJ
494562011-06-30 Aurelien Jarno <aurelien@aurel32.net>
49457
49458 * sysdeps/generic/dl-irel.h: fix protection against multiple
49459 inclusions.
49460 * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
49461
9113ea1f
UD
494622011-06-28 Ulrich Drepper <drepper@gmail.com>
49463
5c0b8d90
UD
49464 [BZ #12935]
49465 * malloc/memusage.sh: Fix quoting in message.
49466 * debug/xtrace.sh: Likewise.
49467
9113ea1f
UD
49468 * configure.in: Remove support for --experimental-malloc option, make
49469 it the default.
49470 * config.make.in: Likewise.
49471 * malloc/Makefile: Likewise.
49472
a4172181
AS
494732011-06-27 Andreas Schwab <schwab@redhat.com>
49474
49475 * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
49476 two-byte characters.
49477
78a7eee7
RM
494782011-06-27 Roland McGrath <roland@hack.frob.com>
49479
62bede13
RM
49480 * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
49481 AC_CACHE_CHECK invocation.
49482 * configure: Regenerated.
49483
78a7eee7
RM
49484 * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
49485
5ce33a62
UD
494862011-06-27 Ulrich Drepper <drepper@gmail.com>
49487
034807a9
UD
49488 [BZ #12350]
49489 * nscd/aicache.c (addhstaiX): Restore only RES_USE_INET6
49490 bit from old_res_options.
49491
4902da17
UD
49492 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
49493
5ce33a62
UD
49494 * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
49495 value type for setfct.
49496
c2344f56
L
494972011-06-23 H.J. Lu <hongjiu.lu@intel.com>
49498
49499 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
49500 __gettimeofday instead of gettimeofday.
49501
68468076
UD
495022011-06-26 Ulrich Drepper <drepper@gmail.com>
49503
49504 * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
49505
acb0d739
L
495062011-06-24 H.J. Lu <hongjiu.lu@intel.com>
49507
49508 * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
49509
49510 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
49511 info.
49512
8912479f
L
495132011-06-22 H.J. Lu <hongjiu.lu@intel.com>
49514
49515 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
49516 strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
49517 strcpy-sse2-unaligned strncpy-sse2-unaligned
49518 stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
49519 * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
49520 * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
49521 * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
49522 * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
49523 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
49524 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
49525 * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
49526 * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
49527 * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
49528 (STRCPY): Support SSE2 and SSSE3 versions.
49529
d5495a11
UD
495302011-06-24 Ulrich Drepper <drepper@gmail.com>
49531
49532 [BZ #12874]
49533 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
49534 * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
49535 kernels which artificially limit size of requests.
49536
0b1cbaae
L
495372011-06-22 H.J. Lu <hongjiu.lu@intel.com>
49538
49539 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
49540 strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
49541 strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
49542 * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
49543 * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
49544 * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
49545 * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
49546 * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
49547 * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
49548 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
49549 * sysdeps/i386/i686/multiarch/strcpy.S: New file.
49550 * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
49551 * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
49552 * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
49553 * sysdeps/i386/i686/multiarch/strncpy.S: New file.
49554 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
49555 Enable unaligned load optimization for Intel Core i3, i5 and i7
49556 processors.
49557 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
49558 Define.
49559 (index_Fast_Unaligned_Load): Define.
49560 (HAS_FAST_UNALIGNED_LOAD): Define.
49561
07f494a0
MP
495622011-06-23 Marek Polacek <mpolacek@redhat.com>
49563
49564 * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
49565
fa3fc0fe
UD
495662011-06-22 Ulrich Drepper <drepper@gmail.com>
49567
49568 [BZ #12907]
49569 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
49570 until it is clear that the information is realy needed.
49571 Patch mostly by David Hanisch <david.hanisch@nsn.com>.
49572
e12df166
AS
495732011-06-22 Andreas Schwab <schwab@redhat.com>
49574
49575 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
49576
852eb34d
UD
495772011-06-22 Ulrich Drepper <drepper@gmail.com>
49578
84e2a551
UD
49579 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
49580 /sys/devices/system/cpu/online if it is usable.
49581
852eb34d
UD
49582 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
49583 reading the information from the /proc filesystem to once a second.
49584
6e502e19
UD
495852011-06-21 Andreas Jaeger <aj@suse.de>
49586
49587 * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
49588 NULL after inclusion of kernel headers.
49589
75d39ff2
UD
495902011-06-21 Ulrich Drepper <drepper@gmail.com>
49591
51f9aa6a
UD
49592 * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
49593 calls to internal_setent.
49594
c0244a9d
UD
49595 [BZ #12885]
49596 * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
49597 addresses using gethostbyname4_r ignore IPv4 addresses.
49598
c5e3c2ae
UD
49599 * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
49600 branch using gethostbyname2 is only for AF_INET. Optimize accordingly.
49601
75d39ff2
UD
49602 * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
49603
42675c6f
DM
496042011-06-20 David S. Miller <davem@davemloft.net>
49605
49606 * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
49607 inclusions.
49608 * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
49609
49610 * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
49611 (elf_irel): Use it.
49612 * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
49613 * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
49614 * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
49615 * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
49616 * sysdeps/x86_64/dl-irel.h: Likewise.
49617
49618 * elf/dl-runtime.c: Use elf_ifunc_invoke.
49619 * elf/dl-sym.c: Likewise.
49620
57912a71
UD
496212011-06-15 Ulrich Drepper <drepper@gmail.com>
49622
49623 * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch. We
49624 need to dereference resplen2.
49625
ee22793d
AS
496262011-06-14 Andreas Schwab <schwab@redhat.com>
49627
49628 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
49629
a9e836b0
UD
496302011-06-15 Ulrich Drepper <drepper@gmail.com>
49631
77fb9117
UD
49632 * Makeconfig: Define vardbdir and inst_vardbdir.
49633 * nss/Makefile: Add rules to install db-Makefile.
49634
40c1b22c
UD
49635 * nss/nss_db/db-XXX.c: Cleanup.
49636
9f2da732
UD
49637 * nss/Makefile (libnss_db-dbs): Add db-initgroups.
49638 * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
49639 GLIBC_PRIVATE.
49640 * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
49641 * nss/makedb.c: Implement -g option to specify that value strings
49642 are generated and should not be added to table iterated over for
49643 get*ent calls.
49644 * nss/nss_db/db-initgroups.c: New file.
49645
82e9a1f7
UD
49646 * nss/getent.c: Add support for initgroups lookups through getgrouplist
49647 interface.
49648
c41af17e
UD
49649 * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
49650 (internal_getgrouplist): Adjust to name change.
49651 Update use_initgroups_entry if this is not the first call.
49652 * nss/databases.def: Add initgroups entry.
49653
a9e836b0
UD
49654 * nss/makedb.c (compute_tables): Check result of multiple hash table
49655 sizes to minimize maximum chain length.
49656
2666d441
UD
496572011-06-14 Ulrich Drepper <drepper@gmail.com>
49658
49659 * Versions.def: Add entry for libnss_db.
49660 * shlib-versions: Likewise.
49661 * nss/Makefile: Add rules to build libnss_db.
49662 * nss/Versions: Add libnss_db information. Organize libnss_files
49663 entries better.
49664 * nss/db-Makefile: Add gshadow support. Change rules for the new
49665 makedb progra. Some minor improvements to generate smaller files.
49666 * nss/nss_db/nss_db.h: Move NSS database header data structures to
49667 here from...
49668 * nss/makedb.c: ...here.
49669 Improve database format to be smaller and require less memory at
49670 runtime.
49671 * nss/nss_db/db-XXX.x: Adjust for new database format. Don't use
49672 db anymore.
49673 * nss/nss_db/db-netgrp.c: Likewise.
49674 * nss/nss_db/db-open.c: Likewise.
49675 * nss/nss_files/flies-XXX.x: Adjust comments.
49676 * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
49677 * nss/nss_files/files-grp.c: Likewise.
49678 * nss/nss_files/files-hosts.c: Likewise.
49679 * nss/nss_files/files-network.c: Likewise.
49680 * nss/nss_files/files-proto.c: Likewise.
49681 * nss/nss_files/files-pwd.c: Likewise.
49682 * nss/nss_files/files-rpc.c: Likewise.
49683 * nss/nss_files/files-service.c: Likewise.
49684 * nss/nss_files/files-sgrp.c: Likewise.
49685 * nss/nss_files/files-spwd.c: Likewise.
49686 * nss/nss_db/db-alias.c: Removed.
49687 * nss/nss_db/dummy-db.h: Removed.
49688
9ee76b5a
UD
496892011-06-02 Ulrich Drepper <drepper@gmail.com>
49690
49691 * nss/makedb.c: Rewritten to not use database library.
49692 * nss/Makefile: Update to build new makedb program.
49693
c71ca1f8
AJ
496942011-06-14 Andreas Jaeger <aj@suse.de>
49695
49696 * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
49697 memset declaration.
49698
3154bfb8
UD
496992011-06-10 Andreas Schwab <schwab@redhat.com>
49700
49701 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
49702 tmpbuf.
49703
b350afab
RM
497042011-06-10 Roland McGrath <roland@hack.frob.com>
49705
decd4e50
RM
49706 * Makerules (shlib.lds): Fail if the linker script comes out empty.
49707 * elf/Makefile ($(objpfx)ld.so): Likewise.
49708
5615eaf2
RM
49709 * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
49710 Don't list ld.so twice in dependencies.
49711
49712 * posix/bug-regex31.c: Include <stdlib.h>.
49713
49714 * nscd/hstcache.c (cache_addhst): Remove unused variable.
49715
49716 * nis/nss_compat/compat-spwd.c
49717 (getspent_next_nss_netgr): Remove unused variable.
49718 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
49719
49720 * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
49721 nonmembers" output to use the right array.
49722
49723 * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
49724
49725 * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
49726
49727 * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
49728 * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
49729 * catgets/gencat.c (read_input_file): Likewise.
49730 * locale/programs/locarchive.c (enlarge_archive): Likewise.
49731
49732 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
49733 variable definition inside #if's controlling its use.
49734
49735 * inet/getnetgrent_r.c (innetgr): Remove unused variable.
49736
49737 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
49738
49739 * misc/syslog.c (__vsyslog_chk): Remove unused variable.
49740
49741 * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
49742 unreachable code.
49743
49744 * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
49745
b68e08db
RM
49746 * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
49747 * configure: Regenerated.
49748
b350afab
RM
49749 * Makerules: Revert last change.
49750 * elf/Makefile: Likewise.
49751
28368601
RM
497522011-06-09 Roland McGrath <roland@hack.frob.com>
49753
49754 * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
49755 * elf/Makefile ($(objpfx)librtld.os): Likewise.
49756 (reloc-link): Likewise.
49757
11988f8f
UD
497582011-06-09 Ulrich Drepper <drepper@gmail.com>
49759
49760 * elf/Makefile: Add rules to build pldd.
49761 * elf/pldd.c: New file.
49762 * elf/pldd-xx.c: New file.
49763
e80fab37
UD
497642011-06-07 Ulrich Drepper <drepper@gmail.com>
49765
49766 * version.h: Update for 2.15 development version.
49767
9b849836
DM
497682011-06-07 David S. Miller <davem@davemloft.net>
49769
49770 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
49771 ifuncs.
49772 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
49773 elf_machine_lazy_rel): Likewise.
49774 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
49775 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
49776 elf_machine_lazy_rel): Likewise.
49777 * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
49778 dl_hwcap via passed in argument.
49779 * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
49780 Likewise.
49781
5a31b283
AK
497822011-06-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
49783
49784 * stdlib/longlong.h: Update from GCC. Fix smul_ppmm for S/390.
49785
069e52f8
RM
497862011-06-06 Roland McGrath <roland@hack.frob.com>
49787
49788 [BZ #12849]
49789 * manual/fdl-1.1.texi: New file, verbatim from:
49790 http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
49791 * manual/lgpl-2.1.texi: New file, verbatim from:
49792 http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
49793 * manual/Makefile (licenses): New variable, list those new file names.
49794 (texis): Use it.
49795 (chapters.% top-menu.%): Include $(licenses) with $(appendices).
49796
49797 * manual/fdl.texi: File removed.
49798 * manual/lesser.texi: File removed.
49799 * manual/libc.texinfo (Copying, Documentation License):
49800 Use new @include file names, put @appendix directive before @include.
49801
f16846a5
JJ
498022011-06-04 Jakub Jelinek <jakub@redhat.com>
49803
49804 [BZ #12841]
49805 * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
49806 (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
49807 (mq_open): Add __NTH.
49808
3d29045b
L
498092011-06-02 H.J. Lu <hongjiu.lu@intel.com>
49810
49811 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
49812 Assume Intel Core i3/i5/i7 processor if AVX is available.
49813
8c297311
UD
498142011-05-31 Ulrich Drepper <drepper@gmail.com>
49815
49816 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
49817 typo.
49818
c8fc0c91
UD
498192011-05-31 Andreas Schwab <schwab@redhat.com>
49820
49821 * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
49822 memory. Use alloca_account. Fix memory leak when retrying.
49823
5b27a807
UD
498242011-05-31 Ulrich Drepper <drepper@gmail.com>
49825
356f8bc6
UD
49826 * version.h (RELEASE): Bump for 2.14 release.
49827 * include/features.h (__GLIBC_MINOR__): Bump to 14.
49828
5b27a807
UD
49829 * config.make.in (RANLIB): Remove entry.
49830
01f16ab0
UD
498312011-05-30 Ulrich Drepper <drepper@gmail.com>
49832
41fce8bd
UD
49833 * po/Makefile (po-sed-cmd): Add ksh to extensions.
49834 (libc.pot): Work around missing support for .ksh extension in xgettext.
49835
4769ae77
UD
49836 [BZ #12684]
49837 * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
49838 if both request failed.
49839 (send_dg): In case of server errors clear resplen or *resplen2.
49840
6b1e7d19
UD
49841 [BZ #12454]
49842 * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
49843 when there are multiple maps.
49844 * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
49845 (_dl_fini): Remove test here.
49846
01f16ab0
UD
49847 * elf/rtld.c (dl_main): Don't allow the loader to load itself.
49848
b1ebd700
UD
498492011-05-29 Ulrich Drepper <drepper@gmail.com>
49850
7ae22829
UD
49851 [BZ #12350]
49852 * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
49853 bit from old_res_options.
49854 (gaih_inet): Likewise.
49855
553149f6 49856 [BZ #11099]
18a84741 49857 * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
873ca504
UD
49858 as signed.
49859
652ffab1
UD
49860 * resolv/res_init.c (res_setoptions): Make the code more compact.
49861
16985fd0
UD
49862 [BZ #11558]
49863 * resolv/res_init.c (res_setoptions): Recognize use-vc option and
49864 set RES_USEVC.
49865
0464f746
UD
49866 [BZ #11634]
49867 * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
49868
7d17596c
UD
49869 * malloc/malloc.h: Mark malloc hook variables as deprecated.
49870
cf6bbbd7
UD
49871 [BZ #11781]
49872 * malloc/malloc.h: Declare malloc hook variables as volatile.
49873
13f1ab36
UD
49874 * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
49875 in last patch.
49876
b1ebd700
UD
49877 [BZ #11799]
49878 * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
4997db74 49879 raise in the comment.
80e2212d
UD
49880 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
49881 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
49882 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
b1ebd700 49883
ce67228d
UD
498842011-05-28 Ulrich Drepper <drepper@gmail.com>
49885
8887a920
UD
49886 [BZ #12811]
49887 * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
49888 grow the buffers more if it already has to be sufficient.
49889 (build_wcs_upper_buffer): Likewise.
49890 * posix/regexec.c (check_matching): Likewise.
49891 (clean_state_log_if_needed): Likewise.
49892 (extend_buffers): Don't enlarge buffers beyond size of the input
49893 buffer.
49894 Patches mostly by Emil Wojak <emil@wojak.eu>.
49895 * posix/bug-regex32.c: New file.
49896 * posix/Makefile (tests): Add bug-regex32.
49897
4f031072
UD
49898 * locale/findlocale.c (_nl_find_locale): Return right away if
49899 _nl_explode_name failed.
49900 * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
49901
d0478f0c
UD
49902 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
49903
de81b246
UD
49904 * debug/xtrace.sh: Unify messages.
49905 * malloc/memusage.sh: Likewise.
49906
c738465a
UD
49907 [BZ #12813]
49908 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
49909 time symbol from vDSO. Substitute with vsyscall if not available.
49910 * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
49911 __vdso_time.
49912
f1f929d7
UD
49913 * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
49914 * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
49915 * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
49916 Add sendmmsg and internal_sendmmsg.
49917 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
49918 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
49919 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
49920
ce67228d
UD
49921 * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
49922 * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
49923 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
49924
e57420c6
UD
499252011-05-27 Ulrich Drepper <drepper@gmail.com>
49926
a8509ca5
UD
49927 [BZ #12813]
49928 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
49929 Retrieve getcpu symbol from vDSO. Substitute with vsyscall if not
49930 available.
49931 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
49932 __vdso_getcpu.
49933
e57420c6
UD
49934 [BZ #12814]
49935 * iconvdata/Makefile (tests): Add bug-iconv9.
49936 * iconvdata/bug-iconv9.c: New file.
49937
4d07db15
AS
499382011-05-27 Andreas Schwab <schwab@redhat.com>
49939
49940 [BZ #12814]
49941 * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
49942
ea486f69
JJ
499432011-05-25 Jakub Jelinek <jakub@redhat.com>
49944
49945 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
49946 (struct user_regs_struct): Change intcs field back to cs.
49947
6f038433
UD
499482011-05-25 Ulrich Drepper <drepper@gmail.com>
49949
49950 * po/ja.po: Update from translation team.
49951
67f86a25
UD
499522011-05-23 Ulrich Drepper <drepper@gmail.com>
49953
49954 [BZ #12795]
49955 * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
49956 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
49957
def7fbd6
AS
499582011-05-20 Andreas Schwab <schwab@redhat.com>
49959
49960 * stdlib/longlong.h: Update from GCC.
49961
f50ef8f1
AS
499622011-05-23 Andreas Schwab <schwab@redhat.com>
49963
49964 * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
49965 parameter name.
49966 * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
49967 Add parameter name.
49968 (__sysconf): Pass it down.
49969
de7ce8f1
UD
499702011-05-22 Ulrich Drepper <drepper@gmail.com>
49971
f2962a71
UD
49972 [BZ #12671]
49973 * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
49974 some situations.
49975 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
49976 * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
49977 add in in __libc_use_alloca calls. Adjust callers.
49978 (glob): Use malloc in some situations.
49979
de7ce8f1
UD
49980 * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
49981 and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
49982 pltexit.
49983
aec84f53
UD
499842011-05-21 Ulrich Drepper <drepper@gmail.com>
49985
05bb4a68
UD
49986 * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
49987 and CLOCK_BOOTTIME_ALARM.
49988
7ea72f99
UD
49989 [BZ #12782]
49990 * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
49991 is returned.
49992
7e4afad5
UD
49993 * string/_strerror.c (__strerror_r): Print negative errors as signed
49994 numbers.
49995
8e211fec
UD
49996 [BZ #12777]
49997 * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
49998 (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
49999 * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
50000
f7d82dc9
UD
50001 * configure.in: Fix typo in redirection and correct removal of test
50002 files in two cases.
50003
cc9e536d
UD
50004 [BZ #12788]
50005 * locale/setlocale.c (new_composite_name): Fix test to check for
50006 identical name of all categories.
50007
aec84f53
UD
50008 [BZ #12792]
50009 * libio/filedoalloc.c (local_isatty): New function.
50010 (_IO_file_doallocate): Use local_isatty.
50011 * stdio-common/perror.c (perror): In case a new stream is used
50012 forward the stream error.
50013 * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
50014 error flag.
50015
78e64fdc
RT
500162011-05-20 Ulrich Drepper <drepper@gmail.com>
50017
34a9094f
UD
50018 [BZ #11869]
50019 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
50020 alloca.
50021 * include/alloca.h (extend_alloca_account): Define.
50022
78e64fdc
RT
50023 [BZ #11857]
50024 * posix/regex.h: Fix comments with documentation of user-accessible
50025 fields after compilation and describe correct free'ing of pattern
50026 after re_compile_pattern.
50027 Patch by Reuben Thomas <rrt@sc3d.org>.
50028
457bddfc
RA
500292011-05-18 Ryan S. Arnold <rsa@us.ibm.com>
50030
50031 * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
50032 and -mno-altivec to prevent the compiler from using Altivec and/or
50033 VSX instructions when the corresponding registers are not available.
50034
a4527b51
AS
500352011-05-19 Andreas Schwab <schwab@redhat.com>
50036
50037 * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
50038
ed690b2f
UD
500392011-05-19 Ulrich Drepper <drepper@gmail.com>
50040
50041 * libio/freopen.c (freopen): Use __dup2, not dup2.
50042 * libio/freopen64.c (freopen64): Likewise.
50043
8db73634
L
500442011-05-17 H.J. Lu <hongjiu.lu@intel.com>
50045
50046 [BZ #12775]
50047 * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
50048 * math/Makefile (tests): Add test-powl.
50049 (CFLAGS-test-powl.c): Define.
50050 * math/test-powl.c: New file.
50051
0a197a9d
L
500522011-05-16 H.J. Lu <hongjiu.lu@intel.com>
50053
50054 * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
50055
ee30c380
UD
500562011-05-17 Ulrich Drepper <drepper@gmail.com>
50057
50058 [BZ #11837]
50059 * iconvdata/gb18030.c: Update to GB18020-2005.
50060
6ce75379
UD
500612011-05-16 Ulrich Drepper <drepper@gmail.com>
50062
a4b89fd8
AR
50063 * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
50064 RE_SYNTAX_POSIX_AWK): Update to match recent development.
50065 Patch by Aharon Robbins <arnold@skeeve.com>.
50066
ea389b12
UD
50067 [BZ #11892]
50068 * stdlib/putenv.c (putenv): Don't always create copy of the variable
50069 on the stack.
50070
68a3f91f
UD
50071 [BZ #11895]
50072 * misc/pselect.c (__pselect): Handle timeout value errors hidden
50073 through underflows.
50074
15cc7dd1
UD
50075 [BZ #12766]
50076 * misc/error.c (error_at_line): Ensure file_name and old_file_name
50077 point to strings before performing equality test for error_one_per_line
50078 mode.
50079
f3799213
UD
50080 [BZ #11697]
50081 * login/programs/pt_chown.c (do_pt_chown): Always call chown.
50082
d79a9c94
UD
50083 [BZ #11820]
50084 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
50085 (struct user_fpregs_struct): Avoid __uint*_t types.
50086
56e5eb46
UD
50087 [BZ #6420]
50088 * malloc/mtrace.c (tr_where): Add additional parameter to point to
50089 symbol info. Use it instead of calling _dl_addr locally.
50090 (lock_and_info): New function.
50091 (tr_freehook): Call lock_and_info and pass symbol info as additional
50092 parameter to tr_where.
50093 (tr_mallochook): Likewise.
50094 (tr_reallochook): Likewise.
50095 (tr_memalignhook): Likewise.
50096
6ce75379
UD
50097 * malloc/mtrace.c: Remove support for USE_MTRACE_FILE. It is not
50098 used and couldn't be at all thread-safe.
50099
f8a3b5bf
UD
501002011-05-15 Ulrich Drepper <drepper@gmail.com>
50101
94b7cc37
UD
50102 * libio/freopen.c (freopen): Don't close old file descriptor
50103 before the new one is opened. Instead dup the new file descriptor
50104 to the old one after the new stream is created.
50105 * libio/freopen64.c (freopen64): Likewise.
50106 * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
50107 * libio/fileops.c (_IO_new_file_close_it): Handle new
50108 _IO_FLAGS2_NOCLOSE flag.
50109 (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
50110 If _IO_file_open didn't set FD_CLOEXEC do it after the call.
50111 * libio/oldfileops.c (_IO_old_file_close_it): Handle new
50112 _IO_FLAGS2_NOCLOSE flag.
50113 * include/unistd.h: Add hidden_proto for dup3.
50114 Define __have_dup3.
50115 * io/dup3.c: Define hidden symbol.
50116 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
50117
bd25564e
UD
50118 [BZ #7101]
50119 * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
50120 when an incomplete long option is used.
50121 * posix/tst-getopt_long1.c: New file.
50122 * posix/Makefile (tests): Add tst-getopt_long1.
50123
c84cfef4
UD
50124 [BZ #10138]
50125 * scripts/config.guess: Update from autoconf-2.68.
50126 * scripts/config.sub: Likewise.
50127
3b85df27
UD
50128 [BZ #10157]
50129 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
50130 tests into ...
50131 (has_cpuclock): ...this. New function.
50132 * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
50133 macro here based on has_cpuclock code.
50134
15a856b1
UD
50135 [BZ #10149]
50136 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
50137 First byte (not low byte) is now always NUL.
50138 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
50139
05f399e6
UD
50140 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
50141 Use non-cancelable interfaces.
50142
10a52685 50143 [BZ #9809]
94ecc67d
UD
50144 * locale/iso-639.def: Add entry for Sorani.
50145
f8a3b5bf
UD
50146 [BZ #11901]
50147 * include/stdlib.h: Move include protection to the right place.
50148 Define abort_msg_s. Declare __abort_msg with it.
50149 * stdlib/abort.c (__abort_msg): Adjust type.
50150 * assert/assert.c (__assert_fail_base): New function. Majority
50151 of code from __assert_fail. Allocate memory for __abort_msg with
50152 mmap.
50153 (__assert_fail): Now call __assert_fail_base.
50154 * assert/assert-perr.c: Remove bulk of implementation. Use
50155 __assert_fail_base.
50156 * include/assert.hL Declare __assert_fail_base.
50157 * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
50158 mmap.
50159 * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
50160
1af4e298
UD
501612011-05-14 Ulrich Drepper <drepper@gmail.com>
50162
f8a3b5bf 50163 [BZ #11952]
d26dfc60
MG
50164 [BZ #12453]
50165 * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
50166 until all modules are registered in the DTV.
50167 * elf/Makefile: Add rules to build and run tst-tls19.
50168 * elf/tst-tls19.c: New file.
50169 * elf/tst-tls19mod1.c: New file.
50170 * elf/tst-tls19mod2.c: New file.
50171 * elf/tst-tls19mod3.c: New file.
50172 Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
50173
2fc54d6f
UD
50174 [BZ #12083]
50175 * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
50176 correctly.
50177
98d76b46
UD
50178 [BZ #12601]
50179 * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
50180 two-byte sequence errors.
50181 * iconvdata/Makefile (tests): Add bug-iconv8.
50182 * iconvdata/bug-iconv8.c: New file.
50183
da3c19ef
UD
50184 [BZ #12626]
50185 * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
50186 buf2 definition.
50187
ca408c15
UD
50188 * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
50189
d6f67f7d
UD
50190 [BZ #12432]
50191 * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
50192 (dummy_getcfa): New function.
50193 (init): Get _Unwind_GetCFA address, use dummy if not found.
50194 (backtrace_helper): In recursion check, also check whether CFA changes.
50195 (__backtrace): Completely initialize arg.
50196
1af4e298 50197 * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
0656e90e
UD
50198 storing incomplete byte sequence in state object. Avoid testing for
50199 guaranteed too small input if we know there is enough data available.
1af4e298 50200
da62f81b
AS
502012011-05-11 Andreas Schwab <schwab@redhat.com>
50202
50203 * Makeconfig (+link-pie): Indent.
50204 * Rules (binaries-pie): Define if $(have-fpie) and
50205 $(build-shared).
50206 (binaries-shared): Also filter out $(binaries-pie).
50207 ($(addprefix $(objpfx),$(binaries-pie))): New rule.
50208 * nscd/Makefile (others-pie): Add nscd.
50209 (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
50210 ($(objpfx)nscd): Remove command override.
50211 * login/Makefile (others-pie): Add pt_chown.
50212 ($(objpfx)pt_chown): Remove command override.
50213 * elf/Makefile: Add PIE tests to tests and tests-pie variables and
50214 remove command overrides.
50215
fcabc0f8
UD
502162011-05-13 Ulrich Drepper <drepper@gmail.com>
50217
20030ae6
UD
50218 * libio/tst_putwc.c: Fix error messages.
50219
fcabc0f8
UD
50220 [BZ #12724]
50221 * libio/fileops.c (_IO_new_file_close_it): Always flush when
50222 currently writing and seek to current position when not.
50223 * libio/Makefile (tests): Add bug-fclose1.
50224 * libio/bug-fclose1.c: New file.
50225
320a5dc0
PB
502262011-05-12 Ulrich Drepper <drepper@gmail.com>
50227
50228 [BZ #12511]
50229 * elf/dl-lookup.c (enter): Don't test for copy relocation here and
50230 don't set DF_1_NODELETE here.
50231 (do_lookup_x): When entering new entry test for copy relocation
50232 and if necessary set DF_1_NODELETE flag.
50233 * elf/tst-unique4.cc: New file.
50234 * elf/tst-unique4.h: New file.
50235 * elf/tst-unique4lib.cc: New file.
50236 * elf/Makefile: Add rules to build and run tst-unique4.
50237 Patch by Piotr Bury <pbury@goahead.com>.
50238
22836f52
UD
502392011-05-11 Ulrich Drepper <drepper@gmail.com>
50240
f574184a
UD
50241 [BZ #12052]
50242 * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
50243
e1fb097f
UD
50244 [BZ #12625]
50245 * misc/mntent_r.c (addmntent): Flush the stream after the output
50246
22836f52
UD
50247 [BZ #12393]
50248 * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
50249 (is_trusted_path_normalize): Skip initial colon. Append slash
50250 to empty buffer. Duplicate is_trusted_path code but allow
50251 constructed patch to be prefix.
50252 (is_dst): Allow $ORIGIN followed by /.
50253 (_dl_dst_substitute): Correct clearing of check_for_trusted.
50254 Correct testing of result of is_trusted_path_normalize
50255 (decompose_rpath): Fix warning.
50256
7b3b0b2a
UD
502572011-05-10 Ulrich Drepper <drepper@gmail.com>
50258
50259 [BZ #11257]
50260 * grp/initgroups.c (internal_getgrouplist): When we found the service
50261 list through the initgroups entry in nsswitch.conf do not always
50262 continue on a successful lookup. Don't always use the
eac80ce2 50263 __nss_group_database value if it is set.
7b3b0b2a
UD
50264 * nss/nsswitch.conf (initgroups): Change action for successful db
50265 lookup to continue for compatibility.
50266
2a81eaa5
UD
502672011-05-09 Ulrich Drepper <drepper@gmail.com>
50268
be97a69e
UD
50269 [BZ #11532]
50270 * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
50271 and CP774 modules.
50272 * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
50273 and CP774 modules.
50274 * iconvdata/tst-tables.sh: Likewise.
50275 * iconvdata/cp770.c: New file.
50276 * iconvdata/cp771.c: New file.
50277 * iconvdata/cp772.c: New file.
50278 * iconvdata/cp773.c: New file.
50279 * iconvdata/cp774.c: New file.
50280 * iconvdata/testdata/CP770: New file.
50281 * iconvdata/testdata/CP770..UTF8: New file.
50282 * iconvdata/testdata/CP771: New file.
50283 * iconvdata/testdata/CP771..UTF8: New file.
50284 * iconvdata/testdata/CP772: New file.
50285 * iconvdata/testdata/CP772..UTF8: New file.
50286 * iconvdata/testdata/CP773: New file.
50287 * iconvdata/testdata/CP773..UTF8: New file.
50288 * iconvdata/testdata/CP774: New file.
50289 * iconvdata/testdata/CP774..UTF8: New file.
50290
50291 * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
50292 END CHARMAP line.
50293 * iconvdata/gen-8bit-gap.sh: Likewise.
50294 * iconvdata/gen-8bit.sh: Likewise.
50295
c1e9e399
UD
50296 * locale/iso-639.def: Add ary entry.
50297
24c55fb3 50298 [BZ #11258]
96b4b1b0
UD
50299 * locale/C-translit.h.in: Add U20A1 transliteration.
50300
bdc2f971
KB
50301 [BZ #12178]
50302 * locale/iso-639.def: Add wae entry.
50303 Patch by Kevin Bortis <bortis@translate-wae.ch>.
50304
2952b117
UD
50305 [BZ #12545]
50306 * locale/programs/localedef.c (construct_output_path): Use ssize_t
50307 for n.
50308
2a81eaa5
UD
50309 [BZ #12711]
50310 * locale/C-translit.h.in: Add entry for U20B9.
50311 Patch by pravin.d.s@gmail.com.
50312
28377d1b
UD
503132011-05-08 Ulrich Drepper <drepper@gmail.com>
50314
7fb90fb8
UD
50315 [BZ #12713]
50316 * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
50317 ENAMETOOLONG use generic getcwd.
6fb2dde3
UD
50318 * sysdeps/posix/getcwd.c: Add support to use openat. Make usable
50319 in rtld. Use *stat64.
7fb90fb8 50320 * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
6fb2dde3 50321 Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
7fb90fb8 50322 * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
6fb2dde3
UD
50323 * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
50324 * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
50325 * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
50326 * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
50327 __fstatat64 macros.
7fb90fb8
UD
50328 * include/dirent.h: Add libc_hidden_proto for rewinddir.
50329 * dirent/rewinddir.c: Add libc_hidden_def.
50330 * sysdeps/mach/hurd/rewinddir.c: Likewise.
6fb2dde3 50331 * sysdeps/unix/rewinddir.c: Likewise. Don't do locking outside libc.
7fb90fb8 50332
28377d1b
UD
50333 * include/dirent.h (__alloc_dir): Add flags parameter.
50334 * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
50335 * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
50336 __alloc_dir.
50337 (__alloc_dir): Take new parameter. Don't call fcntl for invocations
50338 from fdopendir if O_CLOEXEC is already set.
50339
66bdbaa4
AM
503402011-03-15 Alan Modra <amodra@gmail.com>
50341
50342 * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
50343 l_tls_firstbyte_offset non-zero. Save padding offset in
50344 l_tls_firstbyte_offset for later use.
50345 * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
50346 freeing static tls block.
50347
95721191
JN
503482011-03-05 Jonathan Nieder <jrnieder@gmail.com>
50349
50350 * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
50351 where #ifdef was intended. The intent is to prevent ARG_MAX from
50352 being defined by the kernel headers.
50353
f87dfb1f
UD
503542011-05-07 Ulrich Drepper <drepper@gmail.com>
50355
50356 [BZ #12734]
50357 * resolv/resolv.h: Define RES_NOTLDQUERY.
50358 * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
50359 no-tld-query and set RES_NOTLDQUERY.
50360 * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
50361 * resolv/res_query.c (__libc_res_nsearch): Backport changes from
50362 modern BIND to search name as TLD unless forbidden.
50363
47c3cd7a
UD
503642011-05-07 Petr Baudis <pasky@suse.cz>
50365 Ulrich Drepper <drepper@gmail.com>
50366
50367 [BZ #12393]
50368 * elf/dl-load.c (fillin_rpath): Move trusted path check...
50369 (is_trusted_path): ...to here.
c1e9ea35 50370 (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
47c3cd7a 50371 (_dl_dst_substitute): Verify expanded $ORIGIN path elements
c1e9ea35 50372 using is_trusted_path_normalize() in setuid scripts.
47c3cd7a 50373
8a35c912
PP
503742011-05-06 Paul Pluzhnikov <ppluzhnikov@google.com>
50375
50376 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
50377 __BEGIN/__END_DECLS.
50378
acd41f47
UD
503792011-05-06 Ulrich Drepper <drepper@gmail.com>
50380
50381 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
50382 NSS_STATUS_NOTFOUND if no record was found.
50383
597df647
AS
503842011-05-05 Andreas Schwab <schwab@redhat.com>
50385
50386 * sunrpc/Makefile (headers): Add rpc/netdb.h.
50387 (headers-not-in-tirpc): Remove rpc/netdb.h
50388 * resolv/netdb.h: Revert last change.
50389
b9af1301
PP
503902011-05-05 Paul Pluzhnikov <ppluzhnikov@google.com>
50391
50392 * Makeconfig (link-libc-static): Use --{start,end}-group to handle
50393 circular dependency between libgcc.a and libc.a.
50394
4e34d5f5
AS
503952011-05-05 Andreas Schwab <schwab@redhat.com>
50396
50397 * resolv/netdb.h: Don't include <rpc/netdb.h>.
50398 * nis/Makefile: Don't install rpcsvc/*.
50399 * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
50400 instead of <rpc/types.h>.
50401 (MAXHOSTNAMELEN): Define.
50402
00ee369c
AS
504032011-05-03 Andreas Schwab <schwab@redhat.com>
50404
50405 * elf/ldconfig.c (add_dir): Don't crash on empty path.
50406
0b592a30
MB
504072011-04-28 Maciej Babinski <mbabinski@google.com>
50408
50409 [BZ #12714]
50410 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
50411 gethostbyname4_r when IPv6 results are possible.
50412
6e04cbbe
UD
504132011-05-02 Ulrich Drepper <drepper@gmail.com>
50414
50415 [BZ #12723]
50416 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
50417 _PC_PIPE_BUF handling.
50418
e4ecafe0
BH
504192011-04-30 Bruno Haible <bruno@clisp.org>
50420
50421 [BZ #12717]
50422 * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
50423 * resolv/netdb.h (getnameinfo): Change type of flags parameter
50424 to 'int'.
50425 * inet/getnameinfo.c (getnameinfo): Likewise.
50426
125ee683
UD
504272011-04-29 Ulrich Drepper <drepper@gmail.com>
50428
50429 * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
50430 to groups setting in database lookup.
50431 * nss/nsswitch.conf: Add initgroups entry.
50432
b722481a
EB
504332011-04-22 Ulrich Drepper <drepper@gmail.com>
50434
50435 [BZ #12685]
50436 * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
50437 mode string.
50438 Patch by Eric Blake <eblake@redhat.com>.
50439
4df46dbd
L
504402011-04-20 H.J. Lu <hongjiu.lu@intel.com>
50441
50442 * sunrpc/Makefile (need-export-routines): Add svc_run.
50443 (routines): Remove svc_run.
50444 ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
50445 * sunrpc/clnt_perr.c (clnt_perrno): Export.
50446 * sunrpc/svc_run.c (svc_run): Likewise.
50447 * sunrpc/svc_udp.c (svcudp_create): Likewise.
50448
e84142d2
UD
504492011-04-21 Ulrich Drepper <drepper@gmail.com>
50450
50451 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
50452 problem in reallocation in last patch.
50453
877175d8
UD
504542011-04-20 Ulrich Drepper <drepper@gmail.com>
50455
50456 * sunrpc/Makefile: Move inclusion of Rules.
50457
ab8eed78
UD
504582011-04-19 Ulrich Drepper <drepper@gmail.com>
50459
50460 * nss/nss_files/files-initgroups.c: New file.
50461 * nss/Makefile (libnss_files-routines): Add files-initgroups.
50462 * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
50463 _nss_files_initgroups_dyn.
50464
e3d8f584
RS
504652011-03-31 Richard Sandiford <richard.sandiford@linaro.org>
50466
50467 * elf/elf.h (R_ARM_IRELATIVE): Define.
50468
af190f45
UD
504692011-04-19 Ulrich Drepper <drepper@gmail.com>
50470
50471 * po/ru.po: Update from translation team.
50472
53cf59ef
UD
504732011-04-17 Ulrich Drepper <drepper@gmail.com>
50474
50475 * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
50476 dependencies.
50477
4c559bcd
MF
504782011-02-06 Mike Frysinger <vapier@gentoo.org>
50479
50480 [BZ #12653]
50481 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
50482 MEMCPY_CHK with USE_AS_BCOPY ifdef check.
50483 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
50484 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
50485 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
50486
4420675c
AS
504872011-03-28 Andreas Schwab <schwab@linux-m68k.org>
50488
50489 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
50490 differing bytes.
50491 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
50492 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
50493 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
50494
75ea32ab
UD
504952011-04-17 Ulrich Drepper <drepper@gmail.com>
50496
50497 [BZ #12420]
50498 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
50499 storing it.
50500 * stdlib/bug-getcontext.c: New file.
50501 * stdlib/Makefile: Add rules to build and run bug-getcontext.
50502
27390476
AK
505032011-04-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
50504
50505 * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
50506 instructions into .machine "z9-109".
50507 * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
50508 * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
50509
10442705
AK
505102011-04-11 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
50511
50512 * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
50513 between environment variables and auxiliary vector.
50514
7b57bfe5
UD
505152011-04-16 Ulrich Drepper <drepper@gmail.com>
50516
50517 * Makefile: Add rules to build linkobj/libc.so.
50518 * include/libc-symbols.h: Define libc_hidden_nolink.
50519 * include/rpc/auth.h: Mark functions which are to be hidden.
50520 * include/rpc/auth_des.h: Likewise.
50521 * include/rpc/auth_unix.h: Likewise.
50522 * include/rpc/clnt.h: Likewise.
50523 * include/rpc/des_crypt.h: Likewise.
50524 * include/rpc/key_prot.h: Likewise.
50525 * include/rpc/pmap_clnt.h: Likewise.
50526 * include/rpc/pmap_prot.h: Likewise.
50527 * include/rpc/pmap_rmt.h: Likewise.
50528 * include/rpc/rpc_msg.h: Likewise.
50529 * include/rpc/svc.h: Likewise.
50530 * include/rpc/svc_auth.h: Likewise.
50531 * include/rpc/xdr.h: Likewise.
50532 * nis/Makefile: Link all DSOs against linkobj/libc.so.
50533 * nss/Makefile: Likewise.
50534 * sunrpc/Makefile: Don't install headers. Build library with normal
50535 entry points. Don't build rpcinfo. Link RPC tests appropriately.
50536 * sunrpc/auth_des.c: Hide exported symbols by default, export some
50537 for the compat linking library. Remove use of INTDEF/INTUSE.
50538 * sunrpc/auth_none.c: Likewise.
50539 * sunrpc/auth_unix.c: Likewise.
50540 * sunrpc/authdes_prot.c: Likewise.
50541 * sunrpc/authuxprot.c: Likewise.
50542 * sunrpc/clnt_gen.c: Likewise.
50543 * sunrpc/clnt_perr.c: Likewise.
50544 * sunrpc/clnt_raw.c: Likewise.
50545 * sunrpc/clnt_simp.c: Likewise.
50546 * sunrpc/clnt_tcp.c: Likewise.
50547 * sunrpc/clnt_udp.c: Likewise.
50548 * sunrpc/clnt_unix.c: Likewise.
50549 * sunrpc/des_crypt.c: Likewise.
50550 * sunrpc/des_soft.c: Likewise.
50551 * sunrpc/get_myaddr.c: Likewise.
50552 * sunrpc/key_call.c: Likewise.
50553 * sunrpc/key_prot.c: Likewise.
50554 * sunrpc/netname.c: Likewise.
50555 * sunrpc/pm_getmaps.c: Likewise.
50556 * sunrpc/pm_getport.c: Likewise.
50557 * sunrpc/pmap_clnt.c: Likewise.
50558 * sunrpc/pmap_prot.c: Likewise.
50559 * sunrpc/pmap_prot2.c: Likewise.
50560 * sunrpc/pmap_rmt.c: Likewise.
50561 * sunrpc/publickey.c: Likewise.
50562 * sunrpc/rpc_cmsg.c: Likewise.
50563 * sunrpc/rpc_common.c: Likewise.
50564 * sunrpc/rpc_dtable.c: Likewise.
50565 * sunrpc/rpc_prot.c: Likewise.
50566 * sunrpc/rpc_thread.c: Likewise.
50567 * sunrpc/rtime.c: Likewise.
50568 * sunrpc/svc.c: Likewise.
50569 * sunrpc/svc_auth.c: Likewise.
50570 * sunrpc/svc_authux.c: Likewise.
50571 * sunrpc/svc_raw.c: Likewise.
50572 * sunrpc/svc_run.c: Likewise.
50573 * sunrpc/svc_simple.c: Likewise.
50574 * sunrpc/svc_tcp.c: Likewise.
50575 * sunrpc/svc_udp.c: Likewise.
50576 * sunrpc/svc_unix.c: Likewise.
50577 * sunrpc/svcauth_des.c: Likewise.
50578 * sunrpc/xcrypt.c: Likewise.
50579 * sunrpc/xdr.c: Likewise.
50580 * sunrpc/xdr_array.c: Likewise.
50581 * sunrpc/xdr_float.c: Likewise.
50582 * sunrpc/xdr_intXX_t.c: Likewise.
50583 * sunrpc/xdr_mem.c: Likewise.
50584 * sunrpc/xdr_rec.c: Likewise.
50585 * sunrpc/xdr_ref.c: Likewise.
50586 * sunrpc/xdr_sizeof.c: Likewise.
50587 * sunrpc/xdr_stdio.c: Likewise.
50588
e6c61494
UD
505892011-04-10 Ulrich Drepper <drepper@gmail.com>
50590
50591 [BZ #12650]
50592 * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
50593 * sysdeps/ia64/dl-tls.h: Likewise.
50594 * sysdeps/powerpc/dl-tls.h: Likewise.
50595 * sysdeps/s390/dl-tls.h: Likewise.
50596 * sysdeps/sh/dl-tls.h: Likewise.
50597 * sysdeps/sparc/dl-tls.h: Likewise.
50598 * sysdeps/x86_64/dl-tls.h: Likewise.
50599 * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
50600
34fe483e
AS
506012011-03-14 Andreas Schwab <schwab@redhat.com>
50602
50603 * elf/dl-load.c (_dl_dst_substitute): When skipping the first
50604 rpath element also skip the following colon.
50605 (expand_dynamic_string_token): Add is_path parameter and pass
50606 down to DL_DST_REQUIRED and _dl_dst_substitute.
50607 (decompose_rpath): Call expand_dynamic_string_token with
50608 non-zero is_path. Ignore empty rpaths.
50609 (_dl_map_object_from_fd): Call expand_dynamic_string_token
50610 with zero is_path.
50611
f12a32e6
AS
506122011-04-08 Andreas Schwab <schwab@linux-m68k.org>
50613
50614 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
50615 Make cancelable.
50616
38a7d692
UD
506172011-04-09 Ulrich Drepper <drepper@gmail.com>
50618
50619 [BZ #12655]
50620 * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
50621 Patch by Filipe David Manana <fdmanana@apache.org>.
50622
e451d22b
AS
506232011-04-07 Andreas Schwab <schwab@redhat.com>
50624
50625 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
50626 Maintain aligned stack.
50627 (CHECK_RSP): Remove unused macro.
50628
dedc7c7b
UD
506292011-04-03 Ulrich Drepper <drepper@gmail.com>
50630
50631 * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
50632 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
50633
94521213
UD
506342011-04-02 Ulrich Drepper <drepper@gmail.com>
50635
50636 * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
50637
8cb700c0 50638 * include/features.h: Mention __USE_XOPEN2K8 in comment.
81489b2e 50639
0354e355
L
506402011-03-26 H.J. Lu <hongjiu.lu@intel.com>
50641
50642 [BZ #12518]
50643 * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
50644 * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
50645 * sysdeps/x86_64/memmove.c: New file.
50646 * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
50647 (memcpy): Renamed to ...
50648 (__new_memcpy): This.
50649 (memcpy): Provide GLIBC_2_14 memcpy.
50650 * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
50651 (memcpy): Provide GLIBC_2_2_5 memcpy.
50652
8593482f
UD
506532011-04-01 Ulrich Drepper <drepper@gmail.com>
50654
50655 [BZ #12631]
50656 * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
50657
81a5726b
AS
506582011-03-30 Andreas Schwab <schwab@redhat.com>
50659
50660 * misc/syncfs.c: New file.
50661 * misc/Makefile (routines): Add syncfs.
50662 * posix/unistd.h: Declare syncfs.
50663 * sysdeps/unix/syscalls.list: Add syncfs.
50664
00e5419f
AS
506652011-04-01 Andreas Schwab <schwab@redhat.com>
50666
50667 * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
50668 open_by_handle_at.
50669 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
50670 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
50671 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
50672 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
50673 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
50674 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
50675 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
50676
748876bf
UD
506772011-04-01 Ulrich Drepper <drepper@gmail.com>
50678
658e451d
UD
50679 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
50680 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
50681 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
50682 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
50683 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
50684 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
50685 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
50686
748876bf
UD
50687 * io/Makefile: Compile fallocate.c, fallocate64.c, and
50688 sync_file_range.c with -fexceptions.
50689 * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
50690 * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
50691 * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
50692 * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
50693 * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
50694 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
50695 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
3167dad0
UD
50696 sync_file_range as cancellation point
50697 * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file. This is
50698 now a wrapper around __call_sync_file_range with cancellation handling.
50699 * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
50700 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this. Change
50701 function name to __call_sync_file_range.
50702 * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
50703 Add call_sync_file_range.
748876bf 50704
6e63d5e1
AS
507052011-04-01 Andreas Schwab <schwab@redhat.com>
50706
50707 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
748876bf 50708 bits/timex.h.
6e63d5e1 50709
46998f74
UD
507102011-04-01 Ulrich Drepper <drepper@gmail.com>
50711
4c1423ed
UD
50712 * iconv/iconv.h: Fix typo in comment.
50713 * io/fcntl.h: Likewise.
50714 * libio/stdio.h: Likewise.
50715 * posix/spawn.h: Likewise.
50716 * posix/unistd.h: Likewise.
50717 * stdlib/stdlib.h: Likewise.
50718 * time/time.h: Likewise.
50719 * wcsmbs/wchar.h: Likewise.
50720
158648c0
UD
50721 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
50722 open_by_handle): Add.
50723 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
50724 and MAX_HANDLE_SZ. Declare name_to_handle_at and open_by_handle.
50725 Augment a few comments.
50726 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
50727 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
50728 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
50729 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
50730 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
50731 * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
50732 open_by_handle.
50733
46998f74
UD
50734 * io/fcntl.h (AT_EMPTY_PATH): Define.
50735
83fe108b
UD
507362011-03-30 Ulrich Drepper <drepper@gmail.com>
50737
50738 * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
50739 * sysdeps/unix/sysv/linux/bits/time.h: New file.
50740 * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
50741 to...
50742 * sysdeps/unix/sysv/linux/bits/timex.h: ...here. New file.
034c4e15
UD
50743 * Versions.def: Add GLIBC_2.14.
50744 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
50745 Export.
83fe108b 50746
bb242059
UD
507472011-03-22 Ulrich Drepper <drepper@gmail.com>
50748
50749 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
50750 round counter.
50751 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
50752
c97a1282
L
507532011-03-20 H.J. Lu <hongjiu.lu@intel.com>
50754
50755 [BZ #12597]
50756 * string/test-strncmp.c (do_page_test): New function.
50757 (check2): Likewise.
50758 (test_main): Call check2.
50759 * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
50760
2a115601
UD
507612011-03-20 Ulrich Drepper <drepper@gmail.com>
50762
50763 [BZ #12587]
50764 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
50765 Handle cache information in CPU leaf 4.
50766 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
50767
8126d904
UD
507682011-03-18 Ulrich Drepper <drepper@gmail.com>
50769
042c49c6 50770 [BZ #12583]
8126d904
UD
50771 * posix/fnmatch.c (fnmatch): Check size of pattern in wide
50772 character representation.
50773 Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
50774
ccfe366e
RA
507752011-03-16 Ryan S. Arnold <rsa@us.ibm.com>
50776
50777 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
50778 END(__isnan) to END(__isnanf) to match function entry point/label
50779 EALIGN(__isnanf,...).
50780
c6e13027
JJ
507812011-03-10 Jakub Jelinek <jakub@redhat.com>
50782
50783 * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
50784
33f85a3f
UD
507852011-03-10 Ulrich Drepper <drepper@gmail.com>
50786
028478fa
UD
50787 [BZ #12510]
50788 * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
50789 copy from the symbol referenced in the relocation to initialize the
50790 used variable.
50791 Patch by Piotr Bury <pbury@goahead.com>.
50792 * elf/Makefile: Add rules to build and tst-unique3.
50793 * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
50794 * elf/tst-unique3.cc: New file.
50795 * elf/tst-unique3.h: New file.
50796 * elf/tst-unique3lib.cc: New file.
50797 * elf/tst-unique3lib2.cc: New file.
50798
33f85a3f
UD
50799 * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
50800
03592fc7
MF
508012011-03-10 Mike Frysinger <vapier@gentoo.org>
50802
50803 * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
50804 $LDFLAGS and -nostdlib -nostartfiles to linking step. Change main
50805 to _start.
03592fc7 50806
6a5ee102
UD
508072011-03-06 Ulrich Drepper <drepper@gmail.com>
50808
50809 * elf/dl-load.c (_dl_map_object): If we are looking for the first
50810 to-be-loaded object along a path to loader is ld.so.
50811
7e4ba49c
HJ
508122011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
50813 Ulrich Drepper <drepper@gmail.com>
50814
50815 * sysdeps/x86_64/memset.S: After aligning destination, code
50816 branches to different locations depending on the value of
50817 misalignment, when multiarch is enabled. Fix this.
50818
508192011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
50820
50821 * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
50822 Set _x86_64_preferred_memory_instruction for AMD processsors.
50823 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
50824 Set bit_Prefer_SSE_for_memop for AMD processors.
50825
13a804de
UD
508262011-03-04 Ulrich Drepper <drepper@gmail.com>
50827
50828 * libio/fmemopen.c (fmemopen): Optimize a bit.
50829
9d25c392
AS
508302011-03-03 Andreas Schwab <schwab@redhat.com>
50831
50832 * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
50833
a5543c6a
RM
508342011-03-03 Roland McGrath <roland@redhat.com>
50835
50836 * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
50837
012d35f7
DM
508382011-02-28 Aurelien Jarno <aurelien@aurel32.net>
50839
7e4ba49c 50840 * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
012d35f7
DM
50841 __bzero_ultra1 instead of __memset_ultra1.
50842
4bff6e01
AS
508432011-02-23 Andreas Schwab <schwab@redhat.com>
50844 Ulrich Drepper <drepper@gmail.com>
50845
50846 [BZ #12509]
50847 * include/link.h (struct link_map): Add l_orig_initfini.
50848 * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
50849 returning unsuccessfully.
50850 * elf/dl-close.c (_dl_close_worker): If this is the last explicit
50851 close of a file loaded at startup, restore the original l_initfini
50852 list.
50853 * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
50854 list, store the pointer.
50855 * elf/Makefile ($(objpfx)noload-mem): New rule.
50856 (noload-ENV): Define.
50857 (tests): Add $(objpfx)noload-mem.
50858 * elf/noload.c: Include <memcheck.h>.
50859 (main): Call mtrace. Close all opened handles.
50860
f2092faf
AS
508612011-02-17 Andreas Schwab <schwab@redhat.com>
50862
50863 [BZ #12454]
50864 * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
50865 dependencies are missing.
50866
6c8a2e88
ST
508672011-02-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
50868
f2092faf 50869 Fix __if_freereq crash: Unlike the generic version which uses free,
6c8a2e88
ST
50870 Hurd needs munmap.
50871 * sysdeps/mach/hurd/ifreq.h: New file.
50872
84a42118
PB
508732011-01-27 Petr Baudis <pasky@suse.cz>
50874 Ulrich Drepper <drepper@gmail.com>
50875
071f805e 50876 [BZ 12445]#
84a42118
PB
50877 * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
50878 to extend_alloca().
50879 * stdio-common/bug23.c: New file.
50880 * stdio-common/Makefile (tests): Add bug23.
50881
e23fe25b
AS
508822010-09-28 Andreas Schwab <schwab@redhat.com>
50883 Ulrich Drepper <drepper@gmail.com>
50884
50885 [BZ #12489]
50886 * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
50887 before performing relro protection. At old place add assertion
50888 to make sure nothing changed.
50889
d3f02e10
NS
508902011-02-17 Nathan Sidwell <nathan@codesourcery.com>
50891 Glauber de Oliveira Costa <glommer@gmail.com>
50892
50893 * elf/elf.h: Add new ARM TLS relocs.
50894
d55fd7a5
RA
508952011-02-16 Ryan S. Arnold <rsa@us.ibm.com>
50896
50897 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
50898 (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
50899 cast from r3.
50900 * sysdeps/wordsize-64/Makefile: New file. Add tst-writev to
50901 'tests' variable.
50902 * sysdeps/wordsize-64/tst-writev.c: New file.
50903
2206397e
RA
509042011-02-15 Ryan S. Arnold <rsa@us.ibm.com>
50905
50906 * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
50907 -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
50908 insns in _dl_start to prevent a TOC reference before relocs are
50909 resolved.
50910
e9433893
UD
509112011-02-15 Ulrich Drepper <drepper@gmail.com>
50912
50913 [BZ #12469]
50914 * Makeconfig: Remove RANLIB definition.
50915 * Makerules: Don't use RANLIB.
50916 * aclocal.m4: Remove ranlib test.
50917 * configure.in: No need to check for ranlib.
50918 * elf/rtld-Rules: Don't use RANLIB.
50919
f75286c6
ST
509202011-02-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
50921
8e31c82d
ST
50922 * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
50923 protection macro.
50924 * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
50925 inclusion protection macro.
50926
f75286c6
ST
50927 * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
50928 SIGRTMIN and SIGRTMAX and print information in that case only when
50929 SIGRTMIN is defined.
50930
c1d0e639
JJ
509312011-02-11 Jakub Jelinek <jakub@redhat.com>
50932
50933 * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
50934 arginfo fn returning -1.
50935
50936 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
50937 and thousands string is zero terminated.
50938
edf9294e
AS
509392011-02-03 Andreas Schwab <schwab@redhat.com>
50940
50941 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
50942 sysdeps/unix/sysv/linux/bits/socket.h.
50943
2b7e92df
ST
509442011-01-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
50945
edf9294e
AS
50946 * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
50947 (__CPU_COUNT): Remove old macros.
50948 (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
50949 (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
50950 (__CPU_ALLOC, __CPU_FREE): Add macros.
2b7e92df
ST
50951 (__sched_cpualloc, __sched_cpufree): Add declarations.
50952
a4c7ea7b
UD
509532011-02-05 Ulrich Drepper <drepper@gmail.com>
50954
50955 * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
50956 (struct datahead): Reuse 32 bits of the alignment for a TTL field.
50957 * nscd/aicache.c (addhstaiX): Return timeout of added value.
50958 (readdhstai): Return value of addhstaiX call.
50959 * nscd/grpcache.c (cache_addgr): Return timeout of added value.
50960 (addgrbyX): Return value returned by cache_addgr.
50961 (readdgrbyname): Return value returned by addgrbyX.
50962 (readdgrbygid): Likewise.
50963 * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
50964 (addpwbyX): Return value returned by cache_addpw.
50965 (readdpwbyname): Return value returned by addhstbyX.
50966 (readdpwbyuid): Likewise.
50967 * nscd/servicescache.c (cache_addserv): Return timeout of added value.
50968 (addservbyX): Return value returned by cache_addserv.
50969 (readdservbyname): Return value returned by addservbyX:
50970 (readdservbyport): Likewise.
50971 * nscd/hstcache.c (cache_addhst): Return timeout of added value.
50972 (addhstbyX): Return value returned by cache_addhst.
50973 (readdhstbyname): Return value returned by addhstbyX.
50974 (readdhstbyaddr): Likewise.
50975 (readdhstbynamev6): Likewise.
50976 (readdhstbyaddrv6): Likewise.
50977 * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
50978 (readdinitgroups): Return value returned by addinitgroupsX.
50979 * nscd/cache.c (readdfcts): Change return value of functions to time_t.
50980 (prune_cache): Keep track of timeout value of re-added entries.
50981 * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
50982 * nscd/nscd.h: Adjust prototypes of readd* functions.
50983
a0bf67cc
RM
509842011-02-04 Roland McGrath <roland@redhat.com>
50985
50986 * nis/nis_server.c (nis_servstate): Use the right name for 0.
50987 (nis_stats): Likewise.
50988 * nis/nis_modify.c (nis_modify): Likewise.
50989 * nis/nis_remove.c (nis_remove): Likewise.
50990 * nis/nis_add.c (nis_add): Likewise.
50991
50992 * elf/dl-object.c (_dl_new_object): Remove unused variable L.
50993
50994 * posix/fnmatch_loop.c: Add some consts.
50995
50996 * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
50997
435b95eb
L
509982011-02-02 H.J. Lu <hongjiu.lu@intel.com>
50999
51000 [BZ #12460]
51001 * config.make.in (config-cflags-novzeroupper): Define.
51002 * configure.in: Substitute libc_cv_cc_novzeroupper.
51003 * elf/Makefile (AVX-CFLAGS): Define.
51004 (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
51005 (CFLAGS-tst-auditmod4a.c): Likewise.
51006 (CFLAGS-tst-auditmod4b.c): Likewise.
51007 (CFLAGS-tst-auditmod6b.c): Likewise.
51008 (CFLAGS-tst-auditmod6c.c): Likewise.
51009 (CFLAGS-tst-auditmod7b.c): Likewise.
51010 * sysdeps/i386/configure.in: Check -mno-vzeroupper.
51011
8517b15e
UD
510122011-02-02 Ulrich Drepper <drepper@gmail.com>
51013
51014 * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
51015 function to the callback.
51016 Patch partly by Jiri Olsa <jolsa@redhat.com>.
51017
10a656fe
AS
510182011-02-02 Andreas Schwab <schwab@redhat.com>
51019
51020 * shadow/sgetspent.c: Check return value of __sgetspent_r instead
51021 of errno.
51022
968dad0a
UD
510232011-01-19 Ulrich Drepper <drepper@gmail.com>
51024
9f94d2ea 51025 [BZ #11724]
968dad0a
UD
51026 * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
51027 of constructors.
51028 * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
51029 of destructors.
51030 (_dl_fini): Don't call _dl_sort_fini if there is only one object.
51031
51032 [BZ #11724]
51033 * elf/Makefile: Add rules to build and run new test.
51034 * elf/tst-initorder.c: New file.
51035 * elf/tst-initorder.exp: New file.
51036 * elf/tst-initordera1.c: New file.
51037 * elf/tst-initordera2.c: New file.
51038 * elf/tst-initordera3.c: New file.
51039 * elf/tst-initordera4.c: New file.
51040 * elf/tst-initorderb1.c: New file.
51041 * elf/tst-initorderb2.c: New file.
51042 * elf/tst-order-a1.c: New file.
51043 * elf/tst-order-a2.c: New file.
51044 * elf/tst-order-a3.c: New file.
51045 * elf/tst-order-a4.c: New file.
51046 * elf/tst-order-b1.c: New file.
51047 * elf/tst-order-b2.c: New file.
51048 * elf/tst-order-main.c: New file.
51049 New test case by George Gensure <werkt0@gmail.com>.
51050
86e92359
UD
510512010-10-01 Andreas Schwab <schwab@redhat.com>
51052
51053 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
51054 decoding ACE if AI_CANONIDN.
51055
5d5732b0
UD
510562011-01-18 Ulrich Drepper <drepper@gmail.com>
51057
51058 * elf/Makefile: Build IFUNC tests unless multi-arch = no.
51059
a77e8cbc
UD
510602011-01-17 Ulrich Drepper <drepper@gmail.com>
51061
6392473f
UD
51062 * version.h (RELEASE): Bump for 2.13 release.
51063 * include/features.h: (__GLIBC_MINOR__): Bump to 13.
51064
620a0529
UD
51065 * io/fcntl.h: Define AT_NO_AUTOMOUNT.
51066
18ba70a5
UD
51067 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
51068 MADV_NOHUGEPAGE.
32465c3e
UD
51069 * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
51070 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
51071 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
51072 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
51073 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
51074 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
51075
c0dafcf1
UD
51076 * posix/getconf.c: Update copyright year.
51077 * catgets/gencat.c: Likewise.
51078 * csu/version.c: Likewise.
51079 * debug/catchsegv.sh: Likewise.
51080 * debug/xtrace.sh: Likewise.
51081 * elf/ldconfig.c: Likewise.
51082 * elf/ldd.bash.in: Likewise.
51083 * elf/sprof.c (print_version): Likewise.
51084 * iconv/iconv_prog.c: Likewise.
51085 * iconv/iconvconfig.c: Likewise.
51086 * locale/programs/locale.c: Likewise.
51087 * locale/programs/localedef.c: Likewise.
51088 * malloc/memusage.sh: Likewise.
51089 * malloc/mtrace.pl: Likewise.
51090 * nscd/nscd.c (print_version): Likewise.
51091 * nss/getent.c: Likewise.
51092
a77e8cbc
UD
51093 * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
51094 PF_CAIF, and PF_ALG.
51095 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
51096
77e8bddf
AS
510972011-01-16 Andreas Schwab <schwab@linux-m68k.org>
51098
1f20b93a
AS
51099 * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
51100 (modules-names): Use them.
51101 (ifunc-test-modules, ifunc-pie-tests): Define.
51102 (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
51103 tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
51104 (test-extras): Likewise.
51105 ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
51106 $(compile-command.c).
51107 ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
51108 (all-built-dso): Define.
51109 (check-textrel.out, check-execstack.out): Depend on it.
51110
77e8bddf
AS
51111 * configure.in: Don't override --enable-multi-arch.
51112
bc425b33
UD
511132011-01-15 Ulrich Drepper <drepper@gmail.com>
51114
51115 [BZ #6812]
51116 * nscd/hstcache.c (tryagain): Define.
51117 (cache_addhst): Return tryagain not notfound for temporary errors.
51118 (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
51119 failed.
51120
794c3ad3
UD
511212011-01-14 Ulrich Drepper <drepper@gmail.com>
51122
70181fdd
UD
51123 [BZ #10563]
51124 * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
51125 to make the syscall.
51126 * sysdeps/unix/sysv/linux/setgroups.c: New file.
51127
794c3ad3
UD
51128 [BZ #12378]
51129 * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
51130 and fall back to matching as normal character if the string ends before
51131 the matching ']' is found. This is what POSIX requires.
51132 * posix/testfnm.c: Adjust test result.
51133 * posix/globtest.sh: Adjust test result. Add new test.
51134 * posix/tst-fnmatch.input: Likewise.
51135 * posix/tst-fnmatch2.c: Add new test.
51136
68dc9497
AS
511372010-12-28 Andreas Schwab <schwab@linux-m68k.org>
51138
51139 * elf/Makefile (check-execstack): Revert last change. Depend on
51140 check-execstack.h.
51141 (check-execstack.h): New target.
51142 (generated): Add check-execstack.h.
51143 * elf/check-execstack.c: Include "check-execstack.h".
51144 (main): Revert last change.
51145 (handle_file): Return zero if GNU_STACK is absent and
51146 DEFAULT_STACK_PERMS doesn't include PF_X.
51147
451f001b
UD
511482011-01-13 Ulrich Drepper <drepper@gmail.com>
51149
cfa28e56
UD
51150 * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
51151 in child fails because the descriptor is already closed.
8cf8ce17
UD
51152 * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
51153 * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
51154 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
cfa28e56 51155
1086d70d
UD
51156 [BZ #12397]
51157 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
51158 syscall.
51159
451f001b
UD
51160 [BZ #10484]
51161 * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
51162 temporary buffer used to handle multi lookups locally.
a85b5cb4 51163 * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
451f001b 51164
08769175
UD
511652011-01-12 Ulrich Drepper <drepper@gmail.com>
51166
51167 * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
51168 loader is ld.so.
51169
5e49c52e
UD
511702011-01-10 Paul Pluzhnikov <ppluzhnikov@google.com>
51171
51172 * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
51173 alignment for SSE2.
51174
60522a5f
UD
511752011-01-12 Ulrich Drepper <drepper@gmail.com>
51176
51177 [BZ #12394]
51178 * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
51179 characters. When rounding increased number of integer digits recompute
51180 number of groups.
51181 * stdio-common/tst-grouping.c: New file.
51182 * stdio-common/Makefile: Add rules to build and run tst-grouping.
51183
f257bbd7
UD
511842011-01-09 Ulrich Drepper <drepper@gmail.com>
51185
51186 * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
51187 __FD_CLR, and __FS_ISSET. gcc generates better code on its own.
51188
51189 * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
51190 void.
51191 * bits/select.h: Likewise.
51192
fa9c15cb
UD
511932011-01-08 Ulrich Drepper <drepper@gmail.com>
51194
51195 * po/ja.po: Update from translation team.
51196
16c2895f
DM
511972011-01-04 David S. Miller <davem@sunset.davemloft.net>
51198
51199 [BZ #11155]
51200 * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
51201 implementation just like for lxstat, fxstatat, et al.
51202
2543fef2
JM
512032010-12-27 Jim Meyering <meyering@redhat.com>
51204
51205 [BZ #12348]
51206 * posix/regexec.c (build_trtable): Return failure indication upon
51207 calloc failure. Otherwise, re_search_internal could infloop on OOM.
51208
98727dbe
UD
512092010-12-25 Ulrich Drepper <drepper@gmail.com>
51210
5bd6dc5c
UD
51211 [BZ #12201]
51212 * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
51213 * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
51214 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
51215 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
51216
97983464
UD
51217 [BZ #12207]
51218 * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
51219
98727dbe
UD
51220 [BZ #12204]
51221 * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
51222 * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
51223
4a531bb0
L
512242010-12-15 H.J. Lu <hongjiu.lu@intel.com>
51225
51226 * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
51227 * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
51228 script has SORT_BY_INIT_PRIORITY.
51229 * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
51230 NO_CTORS_DTORS_SECTIONS is defined.
51231 * elf/soinit.c: Likewise.
51232 * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
51233 NO_CTORS_DTORS_SECTIONS is defined.
51234 * sysdeps/mach/hurd/i386/init-first.c: Likewise.
51235 * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
51236 * sysdeps/sh/init-first.c: Likewise.
51237 * sysdeps/unix/sysv/linux/init-first.c: Likewise.
51238
07eb4b71
UD
512392010-12-24 Ulrich Drepper <drepper@gmail.com>
51240
51241 * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
51242 always use the slow path.
51243
30950a5f
RA
512442010-12-15 Ryan S. Arnold <rsa@us.ibm.com>
51245
51246 * elf/Makefile: (check-execstack): Replace $(native-compile) with a
51247 similar rule which adds the sysdep directories to the header search in
51248 order to pick up the correct platform stackinfo.h.
51249 * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
51250 perform test if it is, otherwise return successfully without testing.
51251 * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
51252 DEFAULT_STACK_PERMS define in stackinfo.h.
51253 * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
51254 defined in stackinfo.h.
51255 * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
51256 DEFAULT_STACK_PERMS defined in stackinfo.h.
51257 * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
51258 * sysdeps/ia64/stackinfo.h: Likewise.
51259 * sysdeps/s390/stackinfo.h: Likewise.
51260 * sysdeps/sh/stackinfo.h: Likewise.
51261 * sysdeps/sparc/stackinfo.h: Likewise.
51262 * sysdeps/x86_64/stackinfo.h: Likewise.
51263 * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
51264 PF_X for powerpc64. Retain PF_X for powerpc32.
51265
db753e2c
UD
512662010-12-19 Ulrich Drepper <drepper@gmail.com>
51267
14b697f7
UD
51268 * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
51269 accurately.
db753e2c
UD
51270 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
51271 GETDENTS_64BIT_ALIGNED.
51272
28300719
UD
512732010-12-14 Ulrich Drepper <dreper@gmail.com>
51274
14b697f7 51275 * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
28300719 51276
4f197237
AS
512772010-12-10 Andreas Schwab <schwab@redhat.com>
51278
dbb0472f
AS
51279 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
51280 _GNU_SOURCE.
51281
4f197237
AS
51282 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
51283 * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
51284 Remove __restrict.
51285 (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
51286 (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
51287
fb88ac72
UD
512882010-12-09 Ulrich Drepper <drepper@gmail.com>
51289
51290 [BZ #11655]
51291 * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
51292 are initialized.
51293
42acbb92
JJ
512942010-12-09 Jakub Jelinek <jakub@redhat.com>
51295
51296 * string/bits/string3.h (memmove, bcopy): Remove __restrict.
51297
c038d98d
UD
512982010-12-03 Ulrich Drepper <drepper@gmail.com>
51299
51300 * po/it.po: Update from translation team.
51301
3a4a2499
L
513022010-12-01 H.J. Lu <hongjiu.lu@intel.com>
51303
51304 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
51305 unused codes.
51306
1e24cf6e
UD
513072010-11-30 Ulrich Drepper <drepper@gmail.com>
51308
51309 * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
51310
a7690819
AS
513112010-11-24 Andreas Schwab <schwab@redhat.com>
51312
51313 * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
51314 specially.
51315 (gaih_getanswer_slice): Likewise.
51316
3bf8d1b1
JJ
513172010-10-20 Jakub Jelinek <jakub@redhat.com>
51318
51319 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
51320
6db52fbb
PB
513212010-05-31 Petr Baudis <pasky@suse.cz>
51322
51323 [BZ #11149]
51324 * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
51325 silently even in the chroot mode.
51326
eaca7569
UD
513272010-11-22 Ulrich Drepper <drepper@gmail.com>
51328
51329 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
51330 last patch a bit. Pretty printing
51331
3056dcdb
UD
513322010-05-31 Petr Baudis <pasky@suse.cz>
51333
51334 [BZ #10085]
51335 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
51336 initialization of skip_initgroups_dyn.
51337
cf7c9078
UD
513382010-11-19 Ulrich Drepper <drepper@gmail.com>
51339
51340 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
51341 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
51342
a1fb5e3e
UD
513432010-11-16 Ulrich Drepper <drepper@gmail.com>
51344
51345 * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
51346
3540d66b
AS
513472010-11-11 Andreas Schwab <schwab@redhat.com>
51348
51349 * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
51350 * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
51351 (tst-fnmatch-ENV): Set MALLOC_TRACE.
51352 ($(objpfx)tst-fnmatch-mem): New rule.
51353 (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
51354 * posix/tst-fnmatch.c (main): Call mtrace.
51355
13b69574
L
513562010-11-11 H.J. Lu <hongjiu.lu@intel.com>
51357
51358 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
51359 Support Intel processor model 6 and model 0x2c.
51360
da93d214
LM
513612010-11-10 Luis Machado <luisgpm@br.ibm.com>
51362
51363 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
51364 signed comparison.
51365
8ca52c6e
L
513662010-11-09 H.J. Lu <hongjiu.lu@intel.com>
51367
51368 [BZ #12205]
51369 * string/test-strncasecmp.c (check_result): New function.
51370 (do_one_test): Use it.
51371 (check1): New function.
51372 (test_main): Use it.
51373 * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
51374 Support strcasecmp and strncasecmp.
51375
69da074d
UD
513762010-11-08 Ulrich Drepper <drepper@gmail.com>
51377
51378 [BZ #12194]
51379 * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
51380 * sysdeps/x86_64/bits/byteswap.h: Likewise.
51381
ff02d528
L
513822010-11-07 H.J. Lu <hongjiu.lu@intel.com>
51383
51384 * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
51385 IFUNC support.
51386 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
51387 memset-x86-64.
51388 * sysdeps/x86_64/multiarch/bzero.S: New file.
51389 * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
51390 * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
51391 * sysdeps/x86_64/multiarch/memset.S: New file.
51392 * sysdeps/x86_64/multiarch/memset_chk.S: New file.
51393 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
51394 Set bit_Prefer_SSE_for_memop for Intel processors.
51395 * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
51396 Define.
51397 (index_Prefer_SSE_for_memop): Define.
51398 (HAS_PREFER_SSE_FOR_MEMOP): Define.
51399
344d0b54
LM
514002010-11-04 Luis Machado <luisgpm@br.ibm.com>
51401
51402 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
51403 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
51404
c0dde15b
UD
514052010-11-03 H.J. Lu <hongjiu.lu@intel.com>
51406
51407 [BZ #12191]
51408 * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
51409 (__x86_64_raw_data_cache_size_half): Likewise.
51410 (__x86_64_raw_shared_cache_size): Likewise.
51411 (__x86_64_raw_shared_cache_size_half): Likewise.
51412
51413 * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
51414 (__x86_64_raw_data_cache_size_half): Likewise.
51415 (__x86_64_raw_shared_cache_size): Likewise.
51416 (__x86_64_raw_shared_cache_size_half): Likewise.
51417 (init_cacheinfo): Set __x86_64_raw_data_cache_size,
51418 __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
51419 and __x86_64_raw_shared_cache_size_half. Round
51420 __x86_64_data_cache_size_half, __x86_64_data_cache_size
51421 __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
51422 to multiple of 256 bytes.
51423
0e516e0e
MS
514242010-11-03 Ulrich Drepper <drepper@gmail.com>
51425
51426 [BZ #12167]
51427 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
51428 of inacessible symlinks. Verify result of symlink before returning it.
51429 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
51430 Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
51431
0e012e87
ER
514322010-10-28 Erich Ritz <erichritz@gmail.com>
51433
51434 * math/math.h (isinf): Fix typo in comment.
51435
de0ff7bc
UD
514362010-11-01 Ulrich Drepper <drepper@gmail.com>
51437
51438 * po/da.po: Update from translation team.
51439
fa41c84d
UD
514402010-10-26 Ulrich Drepper <drepper@gmail.com>
51441
51442 * elf/rtld.c (dl_main): Move assertion after the point where rtld map
51443 is added to the list.
51444
f0967738
AK
514452010-10-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
51446 Ulrich Drepper <drepper@gmail.com>
51447
51448 * elf/dl-object.c (_dl_new_object): Don't append the new object to
51449 the global list here. Move code to...
51450 (_dl_add_to_namespace_list): ...here. New function.
51451 * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
51452 * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
51453 * elf/dl-load.c (lose): Don't remove the element from the list.
51454 (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
51455 (_dl_map_object): Likewise.
51456
514572010-10-25 Ulrich Drepper <drepper@gmail.com>
dbf3a069
RL
51458
51459 [BZ #12159]
51460 * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
51461 into all bytes of SSE register.
51462 Patch by Richard Li <richardpku@gmail.com>.
51463
f0967738 514642010-10-24 Ulrich Drepper <drepper@gmail.com>
fdc0f374
UD
51465
51466 [BZ #12140]
51467 * malloc/malloc.c (_int_free): Fill correct number of bytes when
51468 perturbing.
51469
d0b9e94f
MB
514702010-10-20 Michael B. Brutman <brutman@us.ibm.com>
51471
51472 * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
51473 * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
51474 * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
51475 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
51476 * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
51477 submachine.
51478 * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
51479
8e9f92e9
AS
514802010-10-22 Andreas Schwab <schwab@redhat.com>
51481
51482 * include/dlfcn.h (__RTLD_SECURE): Define.
51483 * elf/dl-load.c (_dl_map_object): Remove preloaded parameter. Use
51484 mode & __RTLD_SECURE instead.
51485 (open_path): Rename preloaded parameter to secure.
51486 * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
51487 * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
51488 * elf/dl-deps.c (openaux): Likewise.
51489 * elf/rtld.c (struct map_args): Remove is_preloaded.
51490 (map_doit): Don't use it.
51491 (dl_main): Likewise.
51492 (do_preload): Use __RTLD_SECURE instead of is_preloaded.
51493 (dlmopen_doit): Add __RTLD_SECURE to mode bits.
51494
bc96fbda
AS
514952010-09-09 Andreas Schwab <schwab@redhat.com>
51496
51497 * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
51498 (sysd-rules-targets): Remove duplicates.
51499 * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
51500 rtld-%.$o dependency.
51501
22cd1c9b
AS
515022010-10-18 Andreas Schwab <schwab@redhat.com>
51503
51504 * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
51505 _dl_map_object do it.
51506
18edac48
UD
515072010-10-19 Ulrich Drepper <drepper@gmail.com>
51508
51509 * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
51510 fast fma builtins, define the macros in the C99 standard.
51511 (FP_FAST_FMAF): Likewise.
51512 (FP_FAST_FMAL): Likewise.
51513 * sysdeps/x86_64/bits/mathdef.h: Likewise.
51514
51515 * bits/mathdef.h: Update copyright year.
51516 * sysdeps/powerpc/bits/mathdef.h: Likewise.
51517
d2050124
MM
515182010-10-19 Michael Meissner <meissner@linux.vnet.ibm.com>
51519
51520 * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
51521 builtins, define the macros in the C99 standard.
51522 (FP_FAST_FMAF): Likewise.
51523 (FP_FAST_FMAL): Likewise.
51524 * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
51525 multiply/add.
51526 (FP_FAST_FMAF): Likewise.
51527
475facd1
JJ
515282010-10-15 Jakub Jelinek <jakub@redhat.com>
51529
51530 [BZ #3268]
51531 * math/libm-test.inc (fma_test): Some new testcases.
51532 * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
51533 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
51534 y and infinite z. Do multiplication by C already in long double.
51535 * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
51536 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
51537 y and infinite z. Do bitwise or of inexact bit into u.d.
51538 * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
51539 * sysdeps/i386/fpu/s_fmaf.S: Removed.
51540 * sysdeps/i386/fpu/s_fma.S: Removed.
51541 * sysdeps/i386/fpu/s_fmal.S: Removed.
51542
7c08a05c
JJ
515432010-10-16 Jakub Jelinek <jakub@redhat.com>
51544
51545 [BZ #3268]
51546 * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
51547 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
51548 computation is not scheduled after fetestexcept. Fix value
51549 of minimum denormal long double.
51550
f3f7372d
JJ
515512010-10-14 Jakub Jelinek <jakub@redhat.com>
51552
51553 [BZ #3268]
51554 * math/libm-test.inc (fma_test): Add some more tests.
51555 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
51556 correctly.
51557
14d43591
AS
515582010-10-15 Andreas Schwab <schwab@redhat.com>
51559
51560 * scripts/data/localplt-s390-linux-gnu.data: New file.
51561 * scripts/data/localplt-s390x-linux-gnu.data: New file.
51562
5e908464
JJ
515632010-10-13 Jakub Jelinek <jakub@redhat.com>
51564
51565 [BZ #3268]
51566 * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
51567 * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
51568 instead of dbl-64.
51569 * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
51570 inlines.
51571 * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
51572 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
51573 if one of x and y is very large and the other is subnormal.
51574 * sysdeps/s390/fpu/s_fmaf.c: New file.
51575 * sysdeps/s390/fpu/s_fma.c: New file.
51576 * sysdeps/powerpc/fpu/s_fmaf.S: New file.
51577 * sysdeps/powerpc/fpu/s_fma.S: New file.
51578 * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
51579 * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
51580 * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
51581
515822010-10-12 Jakub Jelinek <jakub@redhat.com>
51583
51584 [BZ #3268]
51585 * math/libm-test.inc (fma_test): Add some more fmaf tests, add
51586 fma tests.
51587 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
51588 * sysdeps/ieee754/dbl-64/s_fma.c: New file.
51589 * sysdeps/i386/i686/multiarch/s_fma.c: Include
51590 sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
51591 * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
51592 * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
51593 * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
51594
b833d51f
UD
515952010-10-12 Ulrich Drepper <drepper@redhat.com>
51596
51597 [BZ #12078]
51598 * posix/regcomp.c (parse_branch): One more memory leak plugged.
51599 * posix/bug-regex31.input: Add test case.
51600
1751705d
UD
516012010-10-11 Ulrich Drepper <drepper@gmail.com>
51602
e9b9cbf5
UD
51603 * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
51604 * posix/bug-regex31.input: New file.
51605
51606 [BZ #12078]
51607 * posix/regcomp.c (parse_branch): Free memory when allocation failed.
51608 (parse_sub_exp): Fix last change, use postorder.
51609
ef06edbe
UD
51610 * posix/bug-regex31.c: New file.
51611 * posix/Makefile: Add rules to build and run bug-regex31.
51612
a129c80d
UD
51613 * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
51614
51615 [BZ #12078]
51616 * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
51617
b76b818e
UD
51618 [BZ #12108]
51619 * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
51620 to have entries in sys_siglist.
51621
1751705d
UD
51622 [BZ #12093]
51623 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
51624 be NULL.
51625
9ff8d36f
JJ
516262010-10-07 Jakub Jelinek <jakub@redhat.com>
51627
51628 [BZ #3268]
51629 * math/libm-test.inc (fma_test): Add 2 fmaf tests.
51630 * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
51631 * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
51632 sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
51633 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
51634 * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
51635 * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
51636 * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
51637 * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
51638 * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
51639 * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
51640 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
51641 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
51642 * math/ftestexcept.c (fetestexcept): Likewise.
51643 * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
51644 * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
51645 * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
51646 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
51647 * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
51648 * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
51649 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
51650
af325969
UD
516512010-10-11 Ulrich Drepper <drepper@gmail.com>
51652
c579b202 51653 [BZ #12107]
af325969
UD
51654 * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
51655 newline.
51656
67a67b95
UD
516572010-10-06 Ulrich Drepper <drepper@gmail.com>
51658
51659 * string/bug-strstr1.c: New file.
51660 * string/Makefile: Add rules to build and run bug-strstr1.
51661
5fb308bc
EB
516622010-10-05 Eric Blake <eblake@redhat.com>
51663
51664 [BZ #12092]
51665 * string/str-two-way.h (two_way_long_needle): Always clear memory
51666 when skipping input due to the shift table.
51667
45db99c7
UD
516682010-10-03 Ulrich Drepper <drepper@gmail.com>
51669
3b111893
UD
51670 [BZ #12005]
51671 * malloc/mcheck.c: Handle large requests.
51672
45db99c7
UD
51673 [BZ #12077]
51674 * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
51675 for strncmp and strncasecmp.
51676 * string/stratcliff.c: Add tests for strcmp and strncmp.
51677 * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
51678
cf7a1eb8
NI
516792010-09-28 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
51680
51681 * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
51682 __set_fpscr.
51683
6484ba5e
AJ
516842010-09-30 Andreas Jaeger <aj@suse.de>
51685
51686 * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
51687 (CGROUP_SUPER_MAGIC): Define.
51688 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
51689 Handle btrfs and cgroup file systems.
51690 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
51691 Likewise.
51692
91c42559
LM
516932010-09-27 Luis Machado <luisgpm@br.ibm.com>
51694
51695 * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
51696 * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
51697
87a97932
AK
516982010-09-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
51699
51700 [BZ #12067]
51701 * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
51702 trying to locate the ELF header.
51703
c21cc9bc
AS
517042010-09-27 Andreas Schwab <schwab@redhat.com>
51705
51706 [BZ #11611]
51707 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
51708 Mask out sign-bit copies when constructing f_fsid.
51709
315970f6
PB
517102010-09-24 Petr Baudis <pasky@suse.cz>
51711
51712 * debug/stack_chk_fail_local.c: Add missing licence exception.
51713 * debug/warning-nop.c: Likewise.
51714
1ac7a2c7
JM
517152010-09-15 Joseph Myers <joseph@codesourcery.com>
51716
51717 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
51718 implementing getdents64 using getdents syscall, set d_type if
51719 __ASSUME_GETDENTS32_D_TYPE.
51720
56801c50
AS
517212010-09-16 Andreas Schwab <schwab@redhat.com>
51722
51723 * elf/dl-close.c (free_slotinfo, free_mem): Move to...
51724 * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
51725
dda51327
UD
517262010-09-21 Ulrich Drepper <drepper@redhat.com>
51727
51728 [BZ #12037]
51729 * posix/unistd.h: Undo change of feature selection for ftruncate from
51730 2010-01-11.
51731
8ffcee4a
UD
517322010-09-20 Ulrich Drepper <drepper@redhat.com>
51733
a545ecd9 51734 * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
8ffcee4a
UD
51735 detection.
51736
e24f0a8b
AS
517372010-09-20 Andreas Schwab <schwab@redhat.com>
51738
51739 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
51740 fanotify_mark.
51741 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
51742
7291c56f
AS
517432010-09-14 Andreas Schwab <schwab@redhat.com>
51744
51745 * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
51746 variables after CHECK_SP call.
51747 * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
51748
bc5fb037
AS
517492010-09-13 Andreas Schwab <schwab@redhat.com>
51750 Ulrich Drepper <drepper@redhat.com>
51751
51752 * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
51753 re-relocationg ld.so.
51754 * elf/dl-support.c (_dl_non_dynamic_init): And here after the
51755 _dl_init_paths call.
51756 * elf/dl-load.c (_dl_init_paths). Don't set GLRO(dl_init_all_dirs)
51757 here anymore.
51758
e66e7419
UD
517592010-09-14 Ulrich Drepper <drepper@redhat.com>
51760
51761 * resolv/res_init.c (__res_vinit): Count the default server we added.
51762
c044aa75
CLT
517632010-09-08 Chung-Lin Tang <cltang@codesourcery.com>
51764 Ulrich Drepper <drepper@redhat.com>
51765
51766 [BZ #11968]
51767 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
51768 (____longjmp_chk): Use %ebx for saving value across system call.
51769 Add unwind info.
51770
32cf4069
AS
517712010-09-06 Andreas Schwab <schwab@redhat.com>
51772
51773 * manual/Makefile: Don't mix pattern rules with normal rules.
51774
817328ee
AS
517752010-09-05 Andreas Schwab <schwab@linux-m68k.org>
51776
51777 * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
51778 operation.
51779 * libio/iofdopen.c (_IO_new_fdopen): Likewise.
51780 * libio/iofopncook.c (_IO_cookie_init): Likewise.
51781 * libio/iovdprintf.c (_IO_vdprintf): Likewise.
51782 * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
51783 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
51784 Likewise.
51785
29fddf61
UD
517862010-09-04 Ulrich Drepper <drepper@redhat.com>
51787
51788 [BZ #11979]
51789 * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
51790 IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
51791
0959ffc9
UD
517922010-09-02 Ulrich Drepper <drepper@redhat.com>
51793
51794 * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
51795 * sysdeps/x86_64/addmul_1.S: Likewise.
51796 * sysdeps/x86_64/lshift.S: Likewise.
51797 * sysdeps/x86_64/mul_1.S: Likewise.
51798 * sysdeps/x86_64/rshift.S: Likewise.
51799 * sysdeps/x86_64/sub_n.S: Likewise.
51800 * sysdeps/x86_64/submul_1.S: Likewise.
51801
ece29840
ST
518022010-09-01 Samuel Thibault <samuel.thibault@ens-lyon.org>
51803
0959ffc9
UD
51804 This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
51805 Define __sched_param instead of SCHED_* and sched_param when
ece29840 51806 <bits/sched.h> is included with __need_schedparam defined.
0959ffc9 51807 * bits/sched.h [__need_schedparam]
ece29840 51808 (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
0959ffc9
UD
51809 [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
51810 (__defined_schedparam): Define to 1.
ece29840
ST
51811 (__sched_param): New structure, identical to sched_param.
51812 (__need_schedparam): Undefine.
51813
e53a31fe
MF
518142010-08-31 Mike Frysinger <vapier@gentoo.org>
51815
fdc0c10d
MF
51816 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
51817 (epoll_create1): Declare.
51818
e53a31fe
MF
51819 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
51820
a726d796
AS
518212010-08-31 Andreas Schwab <schwab@redhat.com>
51822
51823 [BZ #7066]
51824 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
51825 shifting retval into place.
51826
2f3e3dc7
UD
518272010-09-01 Ulrich Drepper <drepper@redhat.com>
51828
f2933da9
UD
51829 * nis/rpcsvc/nis.h: Update copyright notice.
51830 * nis/rpcsvc/nis.x: Likewise.
51831 * nis/rpcsvc/nis_callback.h: Likewise.
51832 * nis/rpcsvc/nis_callback.x: Likewise.
51833 * nis/rpcsvc/nis_object.x: Likewise.
51834 * nis/rpcsvc/nis_tags.h: Likewise.
51835 * nis/rpcsvc/yp.h: Likewise.
51836 * nis/rpcsvc/yp.x: Likewise.
51837 * nis/rpcsvc/ypupd.h: Likewise.
51838 * nis/yp_xdr.c: Likewise.
51839 * nis/ypupdate_xdr.c: Likewise.
51840
2f3e3dc7
UD
51841 * sunrpc/pm_getport.c (__libc_rpc_getport): New function. This is
51842 mainly the body of pmap_getport. Add parameters to specify timeouts.
51843 (pmap_getport): Use __libc_rpc_getport.
51844 * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
51845 * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
51846 * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
51847
f3dcc2f9
AS
518482010-08-31 Andreas Schwab <schwab@linux-m68k.org>
51849
51850 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
51851 fanotify_mark.
51852
6d34eb5b
RM
518532010-08-27 Roland McGrath <roland@redhat.com>
51854
51855 * sysdeps/i386/i686/multiarch/Makefile
51856 (CFLAGS-varshift.c): New variable.
51857
9ea3de11
UD
518582010-08-27 Ulrich Drepper <drepper@redhat.com>
51859
c96d23fc
UD
51860 * sysdeps/i386/i686/multiarch/varshift.S: File removed.
51861 * sysdeps/i386/i686/multiarch/varshift.c: New file.
51862
9ea3de11
UD
51863 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
51864
51865 * sysdeps/x86_64/strlen.S: Minimal code improvement.
51866
623aac7f
L
518672010-08-26 H.J. Lu <hongjiu.lu@intel.com>
51868
51869 * sysdeps/x86_64/strlen.S: Unroll the loop.
51870 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
51871 strlen-sse2 strlen-sse2-bsf.
51872 * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
51873 __strlen_no_bsf if bit_Slow_BSF is set.
51874 (__strlen_sse42): Removed.
51875 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
51876 * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
51877
8b2b7715
RM
518782010-08-25 Roland McGrath <roland@redhat.com>
51879
51880 * sysdeps/x86_64/multiarch/varshift.S: File removed.
51881 * sysdeps/x86_64/multiarch/varshift.c: New file.
51882 * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
51883 * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
51884 * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
51885 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
51886
e73015f2
L
518872010-08-25 H.J. Lu <hongjiu.lu@intel.com>
51888
51889 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
51890 strlen-sse2 strlen-sse2-bsf.
51891 * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
51892 __strlen_sse2_bsf if bit_Slow_BSF is unset.
51893 (__strlen_sse2): Removed.
51894 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
51895 * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
51896 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
51897 bit_Slow_BSF for Atom.
51898 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
51899 (index_Slow_BSF): Define.
51900 (HAS_SLOW_BSF): Define.
51901
df24a73e
UD
519022010-08-25 Ulrich Drepper <drepper@redhat.com>
51903
51904 [BZ #10851]
51905 * resolv/res_init.c (__res_vinit): When no server address at all
51906 is given default to loopback.
51907
f2ac4868
RM
519082010-08-24 Roland McGrath <roland@redhat.com>
51909
09055553
RM
51910 * configure.in: Remove config-name.h generation.
51911 * configure: Regenerated.
51912 * config-name.in: File removed.
51913 * scripts/config-uname.sh: New file.
51914 * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
51915 ($(objdir)config-name.h): New target.
51916
f2ac4868
RM
51917 * sunrpc/rpc_parse.h: Avoid nested comment.
51918
73f27d5e
RH
519192010-08-24 Richard Henderson <rth@redhat.com>
51920 Ulrich Drepper <drepper@redhat.com>
51921 H.J. Lu <hongjiu.lu@intel.com>
51922
51923 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
51924 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
51925 * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
51926 Replace _mm_srli_si128 with __m128i_shift_right. Replace
51927 _mm_alignr_epi8 with _mm_loadu_si128.
51928 * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
51929 * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
51930 (__m128i_shift_right): Removed.
51931 * sysdeps/i386/i686/multiarch/varshift.h: New file.
51932 * sysdeps/i386/i686/multiarch/varshift.S: New file.
51933 * sysdeps/x86_64/multiarch/varshift.h: New file.
51934 * sysdeps/x86_64/multiarch/varshift.S: New file.
51935
84b9230c
MF
519362010-08-21 Mike Frysinger <vapier@gentoo.org>
51937
51938 * configure.in: Move assembler checks to before sysdep dir checking.
51939
9bbd0ddc
PB
519402010-08-20 Petr Baudis <pasky@suse.cz>
51941
51942 * LICENSES: Sync the sunrpc license.
51943
9da4bb31
UD
519442010-08-19 Ulrich Drepper <drepper@redhat.com>
51945
a7ab6ec8
UD
51946 * sunrpc/auth_des.c: Update copyright notice once again.
51947 * sunrpc/auth_none.c: Likewise.
51948 * sunrpc/auth_unix.c: Likewise.
51949 * sunrpc/authdes_prot.c: Likewise.
51950 * sunrpc/authuxprot.c: Likewise.
51951 * sunrpc/bindrsvprt.c: Likewise.
51952 * sunrpc/clnt_gen.c: Likewise.
51953 * sunrpc/clnt_perr.c: Likewise.
51954 * sunrpc/clnt_raw.c: Likewise.
51955 * sunrpc/clnt_simp.c: Likewise.
51956 * sunrpc/clnt_tcp.c: Likewise.
51957 * sunrpc/clnt_udp.c: Likewise.
51958 * sunrpc/clnt_unix.c: Likewise.
51959 * sunrpc/des_crypt.c: Likewise.
51960 * sunrpc/des_soft.c: Likewise.
51961 * sunrpc/get_myaddr.c: Likewise.
51962 * sunrpc/getrpcport.c: Likewise.
51963 * sunrpc/key_call.c: Likewise.
51964 * sunrpc/key_prot.c: Likewise.
51965 * sunrpc/openchild.c: Likewise.
51966 * sunrpc/pm_getmaps.c: Likewise.
51967 * sunrpc/pm_getport.c: Likewise.
51968 * sunrpc/pmap_clnt.c: Likewise.
51969 * sunrpc/pmap_prot.c: Likewise.
51970 * sunrpc/pmap_prot2.c: Likewise.
51971 * sunrpc/pmap_rmt.c: Likewise.
51972 * sunrpc/rpc/auth.h: Likewise.
51973 * sunrpc/rpc/auth_unix.h: Likewise.
51974 * sunrpc/rpc/clnt.h: Likewise.
51975 * sunrpc/rpc/des_crypt.h: Likewise.
51976 * sunrpc/rpc/key_prot.h: Likewise.
51977 * sunrpc/rpc/netdb.h: Likewise.
51978 * sunrpc/rpc/pmap_clnt.h: Likewise.
51979 * sunrpc/rpc/pmap_prot.h: Likewise.
51980 * sunrpc/rpc/pmap_rmt.h: Likewise.
51981 * sunrpc/rpc/rpc.h: Likewise.
51982 * sunrpc/rpc/rpc_des.h: Likewise.
51983 * sunrpc/rpc/rpc_msg.h: Likewise.
51984 * sunrpc/rpc/svc.h: Likewise.
51985 * sunrpc/rpc/svc_auth.h: Likewise.
51986 * sunrpc/rpc/types.h: Likewise.
51987 * sunrpc/rpc/xdr.h: Likewise.
51988 * sunrpc/rpc_clntout.c: Likewise.
51989 * sunrpc/rpc_cmsg.c: Likewise.
51990 * sunrpc/rpc_common.c: Likewise.
51991 * sunrpc/rpc_cout.c: Likewise.
51992 * sunrpc/rpc_dtable.c: Likewise.
51993 * sunrpc/rpc_hout.c: Likewise.
51994 * sunrpc/rpc_main.c: Likewise.
51995 * sunrpc/rpc_parse.c: Likewise.
51996 * sunrpc/rpc_parse.h: Likewise.
51997 * sunrpc/rpc_prot.c: Likewise.
51998 * sunrpc/rpc_sample.c: Likewise.
51999 * sunrpc/rpc_scan.c: Likewise.
52000 * sunrpc/rpc_scan.h: Likewise.
52001 * sunrpc/rpc_svcout.c: Likewise.
52002 * sunrpc/rpc_tblout.c: Likewise.
52003 * sunrpc/rpc_util.c: Likewise.
52004 * sunrpc/rpc_util.h: Likewise.
52005 * sunrpc/rpcinfo.c: Likewise.
52006 * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
52007 * sunrpc/rpcsvc/key_prot.x: Likewise.
52008 * sunrpc/rpcsvc/klm_prot.x: Likewise.
52009 * sunrpc/rpcsvc/mount.x: Likewise.
52010 * sunrpc/rpcsvc/nfs_prot.x: Likewise.
52011 * sunrpc/rpcsvc/nlm_prot.x: Likewise.
52012 * sunrpc/rpcsvc/rex.x: Likewise.
52013 * sunrpc/rpcsvc/rstat.x: Likewise.
52014 * sunrpc/rpcsvc/rusers.x: Likewise.
52015 * sunrpc/rpcsvc/sm_inter.x: Likewise.
52016 * sunrpc/rpcsvc/spray.x: Likewise.
52017 * sunrpc/rpcsvc/yppasswd.x: Likewise.
52018 * sunrpc/rtime.c: Likewise.
52019 * sunrpc/svc.c: Likewise.
52020 * sunrpc/svc_auth.c: Likewise.
52021 * sunrpc/svc_authux.c: Likewise.
52022 * sunrpc/svc_raw.c: Likewise.
52023 * sunrpc/svc_run.c: Likewise.
52024 * sunrpc/svc_simple.c: Likewise.
52025 * sunrpc/svc_tcp.c: Likewise.
52026 * sunrpc/svc_udp.c: Likewise.
52027 * sunrpc/svc_unix.c: Likewise.
52028 * sunrpc/svcauth_des.c: Likewise.
52029 * sunrpc/xcrypt.c: Likewise.
52030 * sunrpc/xdr.c: Likewise.
52031 * sunrpc/xdr_array.c: Likewise.
52032 * sunrpc/xdr_float.c: Likewise.
52033 * sunrpc/xdr_mem.c: Likewise.
52034 * sunrpc/xdr_rec.c: Likewise.
52035 * sunrpc/xdr_ref.c: Likewise.
52036 * sunrpc/xdr_sizeof.c: Likewise.
52037 * sunrpc/xdr_stdio.c: Likewise.
52038
9da4bb31
UD
52039 * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
52040 handling.
52041
bdaa77bc
AS
520422010-08-19 Andreas Schwab <schwab@redhat.com>
52043
52044 * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
52045
fe2f79db
LM
520462010-08-19 Luis Machado <luisgpm@br.ibm.com>
52047
52048 * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
52049 * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
52050 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
52051 * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
52052 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
52053 * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
52054 * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
52055 * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
52056 * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
52057 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
52058 * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
52059 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
52060 * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
52061 * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
52062
b9b42ee0
AB
520632010-07-26 Anton Blanchard <anton@samba.org>
52064
52065 * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
52066 * malloc/arena.c (heap_trim): Likewise.
52067
1c06ba31
UD
520682010-08-16 Ulrich Drepper <drepper@redhat.com>
52069
52070 * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
52071 here. Not...
52072 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
52073 * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
52074
f8392f40
L
520752010-08-12 H.J. Lu <hongjiu.lu@intel.com>
52076
52077 * sysdeps/i386/elf/Makefile: New file.
52078
3162f12e
AS
520792010-08-14 Andreas Schwab <schwab@linux-m68k.org>
52080
52081 * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
52082 from fanotify_init.
52083 * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
52084 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
52085
28c90b2c
UD
520862010-08-15 Ulrich Drepper <drepper@redhat.com>
52087
52088 * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
52089 of strncasecmp_l.
1feccb6c 52090 * sysdeps/multiarch/strcmp.S: Likewise.
28c90b2c 52091
ca6bb004
UD
520922010-08-14 Ulrich Drepper <drepper@redhat.com>
52093
e9f82e0d
UD
52094 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
52095 strncase_l-nonascii.
52096 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
52097 Add strncase_l-ssse3.
52098 * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
52099 * sysdeps/x86_64/strcmp.S: Likewise.
52100 * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
52101 * sysdeps/x86_64/multiarch/strncase_l.S: New file.
52102 * sysdeps/x86_64/strncase.S: New file.
52103 * sysdeps/x86_64/strncase_l-nonascii.c: New file.
52104 * sysdeps/x86_64/strncase_l.S: New file.
52105 * string/Makefile (strop-tests): Add strncasecmp.
52106 * string/test-strncasecmp.c: New file.
52107
52108 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
52109 warning.
52110
ca6bb004
UD
52111 * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
52112 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
52113
052fa7b3
AS
521142010-08-14 Andreas Schwab <schwab@linux-m68k.org>
52115
52116 * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
52117
962dba78
UD
521182010-08-12 Ulrich Drepper <drepper@redhat.com>
52119
52120 * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
52121 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
52122 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
52123
bebff237
AM
521242010-05-01 Alan Modra <amodra@gmail.com>
52125
52126 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
52127 * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
52128 * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
52129 * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
52130 * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
52131 tidying. Don't tail-call __sigjmp_save for static lib.
52132 * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
52133 save location.
52134 (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
52135 (CALL_MCOUNT): Add eh info, and nop after bl.
52136 (TAIL_CALL_SYSCALL_ERROR): New macro.
52137 (PSEUDO_RET): Use it.
52138 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
52139 Correct save location of integer regs and cr.
52140 (_dl_profile_resolve): Correct cr save location. Delete nops
52141 after bl when SHARED. Reduce cfi size a little by better
52142 placement of cfi directives.
52143 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
52144 make a stack frame. Instead use parm save area as a temp.
52145 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
52146 make a stack frame. Use TAIL_CALL_SYSCALL_ERROR.
52147 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
52148 Don't make a stack frame for parent, use parm save area.
52149 Increase child stack frame to 112 bytes. Don't save unused reg,
52150 and adjust reg usage. Set up cfi on error recovery and
52151 epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
52152 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
52153 (__makecontext): Add dummy nop after jump to exit.
52154 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
52155 Use correct parm save area and cr save, reduce stack frame.
52156 Correct cfi for possible PSEUDO_RET frame setup.
52157 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
52158 Branch to local label emitted by PSEUDO_RET rather than
52159 __syscall_error.
52160
02637374
AS
521612010-08-12 Andreas Schwab <schwab@redhat.com>
52162
52163 [BZ #11904]
52164 * locale/programs/locale.c (print_assignment): New function.
52165 (show_locale_vars): Use it.
52166
c3e2f19b
UD
521672010-08-11 Ulrich Drepper <drepper@redhat.com>
52168
3cdaa6ad
UD
52169 * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
52170 field.
52171 (struct statfs64): Likewise.
52172 (_STATFS_F_FLAGS): Define.
52173 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
52174 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
52175 Don't define if __ASSUME_STATFS_F_FLAGS is defined.
52176 (ST_VALID): Define locally.
52177 (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
52178 __statvfs_getflags, use the provided value.
52179 * sysdeps/unix/sysv/linux/kernel-features.h: Define
52180 __ASSUME_STATFS_F_FLAGS.
52181
754f7da3
UD
52182 * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
52183
10b3bedc
UD
52184 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
52185 Add sys/fanotify.h.
52186 * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
52187 fanotify_mask for GLIBC_2.13.
52188 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
52189 fanotify_init and fanotify_mark.
52190 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
52191 * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
52192
c08fb0d7
UD
52193 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
52194 Add prlimit.
52195 * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
52196 prlimit64 for GLIBC_2.13.
52197 * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
52198 prlimit64.
52199 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
52200 syscall.
52201 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
52202 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
52203 * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
52204 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
52205 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise. Also
52206 add prlimit alias.
52207 * sysdeps/unix/sysv/linux/prlimit.c: New file.
52208
15bac72b
UD
52209 [BZ #11903]
52210 * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
52211 Patch by Evgeni Bikov <bikovevg@iitp.ru>.
52212
c3e2f19b
UD
52213 * nss/Makefile: Add rules to build and run tst-nss-test1.
52214 * shlib-versions: Add entry for libnss_test1.
52215 * nss/nss_test1.c: New file.
52216 * nss/tst-nss-test1.c: New file.
52217
52218 * nss/nsswitch.c (__nss_database_custom): Define new variable.
52219 (__nss_configure_lookup): Set appropriate entry in
52220 __nss_configure_lookup to true.
52221 * nss/nsswitch.h: Define enum with indeces of databases in
52222 databases and __nss_database_custom arrays. Declare
52223 __nss_database_custom.
52224 * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
52225 to avoid using nscd when custom rules are installed.
52226 * nss/getXXbyYY_r.c: Likewise.
52227 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
52228
52229 * nss/nss_files/files-parse.c: Whitespace fixes.
52230
f15ce4d8
UD
522312010-08-09 Ulrich Drepper <drepper@redhat.com>
52232
52233 [BZ #11883]
52234 * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
52235 * posix/fnmatch_loop.c: Likewise.
52236
d22e4cc9
AK
522372010-07-17 Andi Kleen <ak@linux.intel.com>
52238
52239 * sysdeps/i386/i386-mcount.S (__fentry__): Define.
52240 * sysdeps/x86_64/_mcount.S (__fentry__): Define.
52241 * stdlib/Versions (__fentry__): Add for GLIBC 2.13
52242 * Versions.def [GLIBC_2.13]: Add.
52243
805bc17d
UD
522442010-08-06 Ulrich Drepper <drepper@redhat.com>
52245
52246 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
52247 Also fail if tpwd after pwuid call is NULL.
52248
5a42321d
ST
522492010-07-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
52250
52251 * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
52252 when converting to ms.
52253
fd3ebeda
ST
522542010-06-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
52255
52256 * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
52257 EOPNOTSUPP errors with ENOTTY.
52258 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
52259 EOPNOTSUPP errors with ENOTTY.
52260
73507d3a
UD
522612010-07-31 Ulrich Drepper <drepper@redhat.com>
52262
52263 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
52264 Add strcasecmp_l-ssse3.
52265 * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
52266 strcasecmp.
52267 * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
52268 * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
52269 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
52270
fe36dd02
UD
522712010-07-30 Ulrich Drepper <drepper@redhat.com>
52272
66f6765a
UD
52273 * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
52274
42e08a54
UD
52275 * string/Makefile (strop-tests): Add strcasecmp.
52276 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
52277 strcasecmp_l-nonascii.
52278 (gen-as-const-headers): Add locale-defines.sym.
52279 * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
52280 * sysdeps/x86_64/strcasecmp.S: New file.
52281 * sysdeps/x86_64/strcasecmp_l.S: New file.
52282 * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
52283 * sysdeps/x86_64/locale-defines.sym: New file.
52284 * string/test-strcasecmp.c: New file.
52285
fe36dd02
UD
52286 * string/test-strcasestr.c: Test both ends of the range of characters.
52287 * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
52288
48cbc0d6
RM
522892010-07-29 Roland McGrath <roland@redhat.com>
52290
76e6d6bc 52291 [BZ #11856]
48cbc0d6
RM
52292 * manual/locale.texi (Yes-or-No Questions): Fix example code.
52293
880113d9
UD
522942010-07-27 Ulrich Drepper <drepper@redhat.com>
52295
52296 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
52297 for ld.so.
52298
deb9cabb
AS
522992010-07-27 Andreas Schwab <schwab@redhat.com>
52300
52301 * manual/memory.texi (Malloc Tunable Parameters): Document
52302 M_PERTURB.
52303
1c7570ff
RM
523042010-07-26 Roland McGrath <roland@redhat.com>
52305
52306 [BZ #11840]
52307 * configure.in (-fgnu89-inline check): Set and substitute
52308 gnu89_inline, not libc_cv_gnu89_inline.
52309 * configure: Regenerated.
52310 * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
52311
24fb0f88
UD
523122010-07-26 Ulrich Drepper <drepper@redhat.com>
52313
52314 * string/test-strnlen.c: New file.
52315 * string/Makefile (strop-tests): Add strnlen.
52316 * string/tester.c (test_strnlen): Add a few more test cases.
52317 * string/tst-strlen.c: Better error reporting.
52318
52319 * sysdeps/x86_64/strnlen.S: New file.
52320
8e96b93a
UD
523212010-07-24 Ulrich Drepper <drepper@redhat.com>
52322
52323 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
52324 lower-latency instructions.
52325
dbc676d4
UD
523262010-07-23 Ulrich Drepper <drepper@redhat.com>
52327
52328 * string/test-strcasestr.c: New file.
52329 * string/test-strstr.c: New file.
52330 * string/Makefile (strop-tests): Add strstr and strcasestr.
52331 * string/str-two-way.h: Don't undefine MAX.
52332 * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
52333
f6a31e0e
AS
523342010-07-21 Andreas Schwab <schwab@redhat.com>
52335
52336 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
52337 strcasestr-nonascii.
52338 (CFLAGS-strcasestr-nonascii.c): Define.
52339 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
52340 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
52341 Remove unused attribute.
52342
5dbc3b6c
RM
523432010-07-20 Roland McGrath <roland@redhat.com>
52344
52345 * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
52346 dl_hwcap_mask as well as dl_hwcap. Without this, dsocaps matching in
52347 ld.so.cache was broken. With it, there is no way to disable dsocaps
52348 like LD_HWCAP_MASK can disable hwcaps.
52349
23d101d8
EPM
523502010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
52351
52352 * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
52353
cc9f2e47
UD
523542010-07-16 Ulrich Drepper <drepper@redhat.com>
52355
52356 * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
52357 call in strcasestr.
52358 * sysdeps/x86_64/multiarch/strcasestr.c: Declare
52359 __strcasestr_sse42_nonascii.
52360 * sysdeps/x86_64/multiarch/Makefile: Add rules to build
52361 strcasestr-nonascii.c.
52362 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
52363
77c1b069
LM
523642010-06-15 Luis Machado <luisgpm@br.ibm.com>
52365
52366 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
52367 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
52368 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
52369 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
52370
440566c3
UD
523712010-07-09 Ulrich Drepper <drepper@redhat.com>
52372
52373 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
52374 fcntl.
52375
5be9d05d
AS
523762010-07-06 Andreas Schwab <schwab@redhat.com>
52377
c30b7ee2 52378 [BZ #11577]
5be9d05d
AS
52379 * elf/dl-version.c (match_symbol): Don't pass NULL occation to
52380 dl_signal_cerror.
52381
8a492a67
UD
523822010-07-06 Ulrich Drepper <drepper@redhat.com>
52383
52384 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
52385 _PC_PIPE_BUF using F_GETPIPE_SZ.
52386
713df3d5
RM
523872010-07-05 Roland McGrath <roland@redhat.com>
52388
52389 * manual/arith.texi (Rounding Functions): Fix rint description
52390 implicit in round description.
52391
702e8f14
UD
523922010-07-02 Ulrich Drepper <drepper@redhat.com>
52393
52394 * elf/Makefile: Fix linking for a few tests to make recent linker
52395 happy.
52396
52ed8be9
AS
523972010-06-30 Andreas Schwab <schwab@redhat.com>
52398
52399 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
52400 $(common-objpfx)libc_nonshared.a.
52401
f47c9a11
LM
524022010-06-21 Luis Machado <luisgpm@br.ibm.com>
52403
52404 * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
52405 * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
52406 * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
52407 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
52408 * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
52409 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
52410 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
52411 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
52412 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
52413 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
52414 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
52415 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
52416 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
52417 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
52418 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
52419 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
52420 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
52421 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
52422 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
52423 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
52424 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
52425 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
52426 * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
52427 * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
52428 * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
52429 * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
52430 * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
52431 * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
52432 * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
52433 * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
52434 * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
52435 * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
52436 * sysdeps/powerpc/powerpc32/power7/Implies: New file.
52437 * sysdeps/powerpc/powerpc64/power7/Implies: New file.
52438 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
52439 * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
52440 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
52441 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
52442 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
52443 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
52444 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
52445 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
52446 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
52447 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
52448 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
52449 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
52450 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
52451 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
52452
6fb8cbcb
L
524532010-06-25 H.J. Lu <hongjiu.lu@intel.com>
52454
52455 * debug/memmove_chk.c (__memmove_chk): Renamed to ...
52456 (MEMMOVE_CHK): ...this. Default to __memmove_chk.
52457 * string/memmove.c (memmove): Renamed to ...
52458 (MEMMOVE): ...this. Default to memmove.
52459 * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
52460 * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
52461 (END_CHK): Define.
52462 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
52463 memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
52464 mempcpy-ssse3-back memmove-ssse3-back.
52465 * sysdeps/x86_64/multiarch/bcopy.S: New file .
52466 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
52467 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
52468 * sysdeps/x86_64/multiarch/memcpy.S: New file.
52469 * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
52470 * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
52471 * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
52472 * sysdeps/x86_64/multiarch/memmove.c: New file.
52473 * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
52474 * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
52475 * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
52476 * sysdeps/x86_64/multiarch/mempcpy.S: New file.
52477 * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
52478 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
52479 Define.
52480 (index_Fast_Copy_Backward): Define.
52481 (HAS_ARCH_FEATURE): Define.
52482 (HAS_FAST_REP_STRING): Define.
52483 (HAS_FAST_COPY_BACKWARD): Define.
52484
4e733bac 524852010-06-21 Andreas Schwab <schwab@redhat.com>
e35fcef8
AS
52486
52487 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
52488 Restore proper fallback handling.
52489
63c4ed22
UD
524902010-06-19 Ulrich Drepper <drepper@redhat.com>
52491
ac2b484c
UD
52492 [BZ #11701]
52493 * posix/group_member.c (__group_member): Correct checking loop.
52494
63c4ed22
UD
52495 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
52496 OOM in getpwuid_r correctly. Return error number when the caller
52497 should return, otherwise -1.
52498 (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
52499 call returning > 0 value.
52500 * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
52501
765ade4b
AS
525022010-06-07 Andreas Schwab <schwab@redhat.com>
52503
52504 * dlfcn/Makefile: Remove explicit dependencies on libc.so and
52505 libc_nonshared.a from targets in modules-names.
52506
80da2e09
KS
525072010-06-02 Kirill A. Shutemov <kirill@shutemov.name>
52508
52509 * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
52510 requires it.
52511
158db122
LM
525122010-06-10 Luis Machado <luisgpm@br.ibm.com>
52513
52514 * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
52515 * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
52516 * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
52517 * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
52518
caa78cf8
AS
525192010-06-02 Andreas Schwab <schwab@redhat.com>
52520
52521 * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
52522
b2ef2c01
UD
525232010-06-14 Ulrich Drepper <drepper@redhat.com>
52524
52525 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
52526 and F_GETPIPE_SZ.
52527 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
52528 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
52529 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
52530 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
52531 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
52532 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
52533
fbd643b6
RM
525342010-06-14 Roland McGrath <roland@redhat.com>
52535
52536 * manual/libc.texinfo (@copying): Change to GFDL v1.3.
52537
f32f2869
JJ
525382010-06-07 Jakub Jelinek <jakub@redhat.com>
52539
52540 * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
52541 __REDIRECT followed by __THROW.
52542 * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
52543 * posix/getopt.h (getopt): Likewise.
52544
2a50c078
EPM
525452010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
52546
52547 * hurd/lookup-at.c (__file_name_lookup_at): Accept
52548 AT_SYMLINK_FOLLOW in AT_FLAGS. Fail with EINVAL if both
52549 AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
52550 in AT_FLAGS.
52551 * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
52552 * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
52553
eb5ad2eb
LM
525542010-05-28 Luis Machado <luisgpm@br.ibm.com>
52555
52556 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
52557
3c88fe1e
L
525582010-05-26 H.J. Lu <hongjiu.lu@intel.com>
52559
52560 [BZ #11640]
52561 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
52562 Properly check family and model.
52563
d2f73151
TY
525642010-05-26 Takashi Yoshii <takashi.yoshii.zj@renesas.com>
52565
52566 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
52567
ebd2e13d
LM
525682010-05-24 Luis Machado <luisgpm@br.ibm.com>
52569
52570 * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
52571
b32b8b45
UD
525722010-05-21 Ulrich Drepper <drepper@redhat.com>
52573
52574 * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
52575 symbol reference.
52576
9acbe24d
AS
525772010-05-19 Andreas Schwab <schwab@redhat.com>
52578
52579 * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
52580 symbol reference.
52581
f0ccf6ea
AS
525822010-05-21 Andreas Schwab <schwab@redhat.com>
52583
3d04ff3a
AS
52584 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
52585 and internal_recvmmsg.
52586 * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
52587 * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
52588 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
52589 * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
52590
f0ccf6ea
AS
52591 * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
52592 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
52593 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
52594
5b08ac57
AS
525952010-05-20 Andreas Schwab <schwab@redhat.com>
52596
52597 * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
52598
4828935d
LM
525992010-05-17 Luis Machado <luisgpm@br.ibm.com>
52600
52601 POWER7 optimizations.
52602 * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
52603 * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
52604
373d545e
UD
526052010-05-19 Ulrich Drepper <drepper@redhat.com>
52606
52607 * version.h: Update for 2.13 development version.
52608
21a2b1ae
AS
526092010-05-12 Andrew Stubbs <ams@codesourcery.com>
52610
52611 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
52612 exceptions. Return 0.
52613
3f7dcb2b
RM
526142010-05-07 Roland McGrath <roland@redhat.com>
52615
52616 * elf/ldconfig.c (main): Add a const.
52617
5f24d53a 526182010-05-06 Ulrich Drepper <drepper@redhat.com>
70c9476e 52619
a160f8d8
UD
52620 * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
52621 (args_options): Add no-idn option.
52622 (ahosts_keys_int): Add idn_flags to ai_flags.
52623 (parse_option): Handle 'i' option to clear idn_flags.
52624
5f24d53a
UD
52625 * malloc/malloc.c (_int_free): Possible race in the most recently
52626 added check. Only act on the data if no current modification
52627 happened.
265bb1ce
UD
52628
52629See ChangeLog.17 for earlier changes.