]> git.ipfire.org Git - thirdparty/glibc.git/blame - ChangeLog
BZ#16469: resolv: skip leading dot in domain to search
[thirdparty/glibc.git] / ChangeLog
CommitLineData
b59d114b
AO
12014-11-21 Alexandre Oliva <aoliva@redhat.com>
2
3 [BZ #16469]
4 * resolv/res_query.c (__libc_res_nsearch): Skip leading dot in
5 search domain names.
6
f3d945d5
AO
72014-11-21 Alexandre Oliva <aoliva@redhat.com>
8
9 [BZ #16469]
10 * NEWS: Update.
11 * resolv/res_query.c (__libc_res_nquerydomain): Retain
12 trailing dot.
13 * posix/tst-getaddrinfo5.c: New.
14 * posix/Makefile (tests): Add it.
15
49698902
AO
162014-11-21 Alexandre Oliva <aoliva@redhat.com>
17
18 [BZ #14498]
19 * NEWS: Fixed.
20 * nss/nss_db/db-XXX.c (_nss_db_get##name##_r): Update hidx
21 after parsing line but before break_if_match.
22 * nss/nss_files/files-service (DB_LOOKUP): Don't "continue;"
23 if there is a protocol mismatch.
24
81959214
MS
252014-11-21 Ma Shimiao <mashimiao.fnst@cn.fujitsu.com>
26
27 * manual/sysinfo.texi (addmntent): It is actually MT-Safe,
28 because the potential race is on the user-supplied stream.
29
7729e0e9
AO
302014-11-21 Alexandre Oliva <aoliva@redhat.com>
31
32 * sysdeps/posix/ctermid.c (ctermid): Return a pointer to a
33 string literal if not passed a buffer.
34 * manual/job.texi (ctermid): Update reasoning, note deviation
35 from posix, suggest mtasurace when not passed a buffer, for
36 future non-preliminary safety notes.
37
a4ea5e28
AO
382014-11-21 Alexandre Oliva <aoliva@redhat.com>
39
40 * manual/users.texi (cuserid): Fix MT-Safety note for the case
41 of not passing it a buffer.
42 Reported by Peng Haitao.
43
a2b581cb
AO
442014-11-21 Alexandre Oliva <aoliva@redhat.com>
45
46 * manual/Makefile ($(objpfx)stamp-summary): Require
47 check-safety.sh to pass.
48 * manual/check-safety.sh: Wish for verification that every
49 @deftypefn and @deftypefun is followed by a @safety remark.
50
f214ff74
RM
512014-11-20 Roland McGrath <roland@hack.frob.com>
52
7f0dfae0
RM
53 * nptl/unwind.c (unwind_cleanup): Use __libc_fatal.
54
2f531bbb
RM
55 * nptl/pthread_setcanceltype.c [!SIGCANCEL]: Return ENOTSUP early for
56 PTHREAD_CANCEL_ASYNCHRONOUS.
57 * nptl/pthread_cancel.c [!SIGCANCEL]: Just abort rather than trying to
58 send SIGCANCEL.
59
f214ff74
RM
60 * nptl/default-sched.h: New file.
61 * sysdeps/unix/sysv/linux/default-sched.h: New file.
62 * nptl/pthread_create.c: Include it.
63 (__pthread_create_2_1): Use collect_default_sched instead of making
64 Linux syscalls here directly.
65
e37c91d4
TR
662014-11-20 Torvald Riegel <triegel@redhat.com>
67
68 * nptl/pthread_once.c (clear_once_control, __pthread_once_slow,
69 __pthread_once): Use C11 atomics.
70
1eccfecd
TR
712014-11-20 Torvald Riegel <triegel@redhat.com>
72
73 * csu/tst-atomic.c (do_test): Add tests for C11-like atomics.
74
ff871426
TR
752014-11-20 Torvald Riegel <triegel@redhat.com>
76
77 * include/atomic.h (__atomic_link_error, __atomic_check_size,
78 atomic_thread_fence_acquire, atomic_thread_fence_release,
79 atomic_thread_fence_seq_cst, atomic_load_relaxed,
80 atomic_load_acquire, atomic_store_relaxed, atomic_store_release,
81 atomic_compare_exchange_weak_relaxed,
82 atomic_compare_exchange_weak_acquire,
83 atomic_compare_exchange_weak_release,
84 atomic_exchange_acquire, atomic_exchange_release,
85 atomic_fetch_add_relaxed, atomic_fetch_add_acquire,
86 atomic_fetch_add_release, atomic_fetch_add_acq_rel,
87 atomic_fetch_and_acquire,
88 atomic_fetch_or_relaxed, atomic_fetch_or_acquire): New.
89
1ea339b6
TR
902014-11-20 Torvald Riegel <triegel@redhat.com>
91
92 * sysdeps/aarch64/bits/atomic.h (__HAVE_64B_ATOMICS,
93 USE_ATOMIC_COMPILER_BUILTINS): Define.
94 * sysdeps/alpha/bits/atomic.h (__HAVE_64B_ATOMICS,
95 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
96 * sysdeps/arm/bits/atomic.h (__HAVE_64B_ATOMICS,
97 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
98 * sysdeps/i386/i486/bits/atomic.h (__HAVE_64B_ATOMICS,
99 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
100 * sysdeps/ia64/bits/atomic.h (__HAVE_64B_ATOMICS,
101 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
102 * sysdeps/m68k/coldfire/bits/atomic.h (__HAVE_64B_ATOMICS,
103 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
104 * sysdeps/m68k/m680x0/m68020/bits/atomic.h (__HAVE_64B_ATOMICS,
105 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
106 * sysdeps/microblaze/bits/atomic.h (__HAVE_64B_ATOMICS,
107 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
108 * sysdeps/mips/bits/atomic.h (__HAVE_64B_ATOMICS,
109 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
110 * sysdeps/powerpc/powerpc32/bits/atomic.h (__HAVE_64B_ATOMICS,
111 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
112 * sysdeps/powerpc/powerpc64/bits/atomic.h (__HAVE_64B_ATOMICS,
113 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
114 * sysdeps/s390/bits/atomic.h (__HAVE_64B_ATOMICS,
115 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
116 * sysdeps/sparc/sparc32/bits/atomic.h (__HAVE_64B_ATOMICS,
117 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
118 * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (__HAVE_64B_ATOMICS,
119 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
120 * sysdeps/sparc/sparc64/bits/atomic.h (__HAVE_64B_ATOMICS,
121 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
122 * sysdeps/tile/tilegx/bits/atomic.h (__HAVE_64B_ATOMICS,
123 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
124 * sysdeps/tile/tilepro/bits/atomic.h (__HAVE_64B_ATOMICS,
125 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
126 * sysdeps/unix/sysv/linux/hppa/bits/atomic.h (__HAVE_64B_ATOMICS,
127 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
128 * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h
129 (__HAVE_64B_ATOMICS, USE_ATOMIC_COMPILER_BUILTINS): Likewise.
130 * sysdeps/unix/sysv/linux/sh/bits/atomic.h (__HAVE_64B_ATOMICS,
131 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
132 * sysdeps/x86_64/bits/atomic.h (__HAVE_64B_ATOMICS,
133 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
134
cbd463e2
RM
1352014-11-19 Roland McGrath <roland@hack.frob.com>
136
d960211f
RM
137 * nptl/pthread_create.c (__pthread_create_2_1): Don't try to validate
138 the sched_priority value here. It was already checked when the user
139 called pthread_attr_setschedparam.
140
cbd463e2
RM
141 * nptl/tst-bad-schedattr.c: New file.
142 * nptl/Makefile (tests): Add it.
143
a39208bd
CD
1442014-11-19 Carlos O'Donell <carlos@redhat.com>
145 Florian Weimer <fweimer@redhat.com>
146 Joseph Myers <joseph@codesourcery.com>
147 Adam Conrad <adconrad@0c3.net>
148 Andreas Schwab <schwab@suse.de>
149 Brooks <bmoses@google.com>
150
151 [BZ #17625]
152 * wordexp-test.c (__dso_handle): Add prototype.
153 (__register_atfork): Likewise.
154 (__app_register_atfork): New function.
155 (registered_forks): New global.
156 (register_fork): New function.
157 (test_case): Add 3 new tests for WRDE_CMDSUB.
158 (main): Call __app_register_atfork.
159 (testit): If WRDE_NOCMD set registered_forks to zero, run test, and if
160 fork count is non-zero fail the test.
161 * posix/wordexp.c (exec_comm): Return WRDE_CMDSUB if WRDE_NOCMD flag
162 is set.
163 (parse_dollars): Remove check for WRDE_NOCMD.
164 (parse_dquote): Likewise.
165
9cd47470
SP
1662014-11-19 Siddhesh Poyarekar <siddhesh@redhat.com>
167
130ac68c
SP
168 * Makeconfig (built-modules): List non-library modules to be
169 built.
170 (module-cppflags): Include libc-modules.h for
171 everything except shlib-versions.v.i.
172 (CPPFLAGS): Use it.
173 (before-compile): Add libc-modules.h.
174 ($(common-objpfx)libc-modules.h,
175 $(common-objpfx)libc-modules.stmp): New targets.
176 (common-generated): Add libc-modules.h and libc-modules.stmp.
177 ($(common-objpfx)Versions.v.i): Depend on libc-modules.h.
178 * include/libc-symbols.h: Don't include libc-modules.h.
179 * include/libc-modules.h: Remove file.
180 * scripts/gen-libc-modules.awk: New script to generate
181 libc-modules.h.
182 * sysdeps/unix/Makefile ($(common-objpfx)sysd-syscalls):
183 Depend on libc-modules.stmp.
184
286663c3
SP
185 * include/shlib-compat.h (_SHLIB_COMPAT): Use IS_IN.
186
9cd47470
SP
187 * Makeconfig (in-module): Get value of libof set for the
188 translation unit.
189 (CPPFLAGS): Use $(in-module).
190 * Makerules: Don't suffix routine names for nonlib.
191 * include/libc-modules.h: New file.
192 * include/libc-symbols.h: Include libc-modules.h
193 (IS_IN): New macro to replace IS_IN_* macros.
194 * elf/Makefile: Set libof-* for each routine.
195 * elf/rtld-Rules: Likewise.
196 * extra-modules.mk: Likewise.
197 * iconv/Makefile: Likewise.
198 * iconvdata/Makefile: Likewise.
199 * locale/Makefile: Likewise.
200 * malloc/Makefile: Likewise.
201 * nss/Makefile: Likewise.
202 * sysdeps/gnu/Makefile: Likewise.
203 * sysdeps/ieee754/ldbl-opt/Makefile: Likewise.
204 * sysdeps/unix/sysv/linux/Makefile: Likewise.
205 * sysdeps/s390/s390-64/Makefile: Likewise.
206 * nscd/Makefile: Set libof-* for each routine. Set CFLAGS and
207 CPPFLAGS for nscd instead of nonlib.
208
32fed10f
RM
2092014-11-18 Roland McGrath <roland@hack.frob.com>
210
d71035bd
RM
211 * nptl/createthread.c: New file.
212
6540b991
RM
213 * nptl/createthread.c: Moved ...
214 * sysdeps/unix/sysv/linux/createthread.c: ... here.
215
32fed10f
RM
216 * nptl/createthread.c: Add proper top-line comment.
217 (do_clone): Folded into ...
218 (create_thread): ... here. Take new arguments STOPPED_START and
219 THREAD_RAN. Always set PD->stopped_start to something here. Don't
220 increment __nptl_threads, do event-reporting logic, do
221 CHECK_THREAD_SYSINFO, or set THREAD_SELF->header.multiple_threads
222 here. Set *THREAD_RAN after ARCH_CLONE call succeeds. Don't do any
223 resource cleanup if sched_setaffinity or sched_setscheduler fails,
224 just send SIGCANCEL.
225 * nptl/pthread_create.c: Forward-declare create_thread before
226 including createthread.c.
227 (start_thread): Use new macro START_THREAD_DEFN to replace defining
228 declaration, and new macro START_THREAD_SELF to replace argument.
229 Remove return statement.
230 (report_thread_creation): New function.
231 (__pthread_create_2_1): Use it. Do TD_CREATE reporting,
232 synchronization logic, and __nptl_nthreads increment here, around
233 calling create_thread. Do CHECK_THREAD_SYSINFO and initialize
234 PD->parent_cancelhandling here, before create_thread. When
235 create_thread fails, do __nptl_nthreads decrement, setxid_futex wake,
236 __deallocate_stack, and ENOMEM translation here.
237
107a5bf0
JM
2382014-11-18 Joseph Myers <joseph@codesourcery.com>
239
240 [BZ #17616]
241 * sysdeps/ieee754/dbl-64/mpa.c (mpone): Rename to __mpone.
242 (mptwo): Rename to __mptwo.
243 (__inv): Use __mptwo instead of mptwo.
244 * sysdeps/ieee754/dbl-64/mpa.h (mpone): Rename to __mpone.
245 (mptwo): Rename to __mptwo.
246 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __mpone instead
247 of mpone and __mptwo instead of mptwo.
248 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Use __mpone
249 instead of mpone.
250 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
251 * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Likewise.
252 * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use __mpone instead
253 of mpone and __mptwo instead of mptwo.
254 (__mpranred): Use __mpone instead of mpone.
255 * conform/Makefile (test-xfail-ISO/math.h/linknamespace): Remove
256 variable.
257 (test-xfail-ISO99/complex.h/linknamespace): Likewise.
258 (test-xfail-ISO99/math.h/linknamespace): Likewise.
259 (test-xfail-ISO99/tgmath.h/linknamespace): Likewise.
260 (test-xfail-ISO11/complex.h/linknamespace): Likewise.
261 (test-xfail-ISO11/math.h/linknamespace): Likewise.
262 (test-xfail-ISO11/tgmath.h/linknamespace): Likewise.
263 (test-xfail-XPG3/math.h/linknamespace): Likewise.
264 (test-xfail-XPG4/math.h/linknamespace): Likewise.
265 (test-xfail-POSIX/math.h/linknamespace): Likewise.
266 (test-xfail-UNIX98/math.h/linknamespace): Likewise.
267 (test-xfail-XOPEN2K/complex.h/linknamespace): Likewise.
268 (test-xfail-XOPEN2K/math.h/linknamespace): Likewise.
269 (test-xfail-XOPEN2K/tgmath.h/linknamespace): Likewise.
270 (test-xfail-POSIX2008/complex.h/linknamespace): Likewise.
271 (test-xfail-POSIX2008/math.h/linknamespace): Likewise.
272 (test-xfail-POSIX2008/tgmath.h/linknamespace): Likewise.
273 (test-xfail-XOPEN2K8/complex.h/linknamespace): Likewise.
274 (test-xfail-XOPEN2K8/math.h/linknamespace): Likewise.
275 (test-xfail-XOPEN2K8/tgmath.h/linknamespace): Likewise.
276
3b679ab3
TV
2772014-11-18 Tom de Vries <tom@codesoucery.com>
278
279 * manual/signal.texi (Primitives Interrupted by Signals): In section,
280 replace BSD Handler xref with BSD Signal Handling.
4886f341
RH
281
2822014-11-17 Richard Henderson <rth@redhat.com>
283
284 * sysdeps/alpha/soft-fp/local-soft-fp.h (_FP_UNPACK_RAW_2): Remove.
285 (_FP_PACK_RAW_2): Remove.
286 (AXP_DECL_RETURN_Q): Rename from FP_DECL_RETURN, use _FP_UNION_Q.
287 (AXP_RETURN_Q): Rename from FP_RETURN, use _FP_UNION_Q.
288 (AXP_UNPACK_RAW_Q, AXP_UNPACK_SEMIRAW_Q, AXP_UNPACK_Q): New.
289 (AXP_PACK_RAW_Q, AXP_PACK_SEMIRAW_Q, AXP_PACK_Q): New.
290 * sysdeps/alpha/soft-fp/ots_add.c (_OtsAddX): Update to match.
291 * sysdeps/alpha/soft-fp/ots_cmp.c (internal_equality): Likewise.
292 * sysdeps/alpha/soft-fp/ots_cmpe.c (internal_compare): Likewise.
293 * sysdeps/alpha/soft-fp/ots_cvtqux.c (_OtsCvtQUX): Likewise.
294 * sysdeps/alpha/soft-fp/ots_cvtqx.c (_OtsCvtQX): Likewise.
295 * sysdeps/alpha/soft-fp/ots_cvttx.c (_OtsConvertFloatTX): Likewise.
296 * sysdeps/alpha/soft-fp/ots_cvtxq.c (_OtsCvtXQ): Likewise.
297 * sysdeps/alpha/soft-fp/ots_cvtxt.c (_OtsConvertFloatXT): Likewise.
298 * sysdeps/alpha/soft-fp/ots_div.c (_OtsDivX): Likewise.
299 * sysdeps/alpha/soft-fp/ots_mul.c (_OtsMulX): Likewise.
300 * sysdeps/alpha/soft-fp/ots_nintxq.c (_OtsNintXQ): Likewise.
301 * sysdeps/alpha/soft-fp/ots_sub.c (_OtsSubX): Likewise.
302
0781a777
RM
3032014-11-14 Roland McGrath <roland@hack.frob.com>
304
305 * signal/signal.h [__USE_MISC]
306 (struct sigvec): Remove type.
307 (SV_ONSTACK, SV_INTERRUPT, SV_RESETHAND): Remove macros.
308 (sigvec): Remove declaration.
309 * sysdeps/posix/sigvec.c: Moved ...
310 * signal/sigvec.c: ... here, replacing old file.
311 (struct sigvec): New type, copied from old signal.h definition.
312 (SV_ONSTACK, SV_INTERRUPT, SV_RESETHAND): New macros, likewise copied.
313 (__sigvec): Convert definition to prototype.
314 (sigvec): Replace weak_alias with compat_symbol.
315 * signal/Versions (libc: GLIBC_2.21): New version set.
316 * include/signal.h: Remove __sigvec declaration.
317 * sysdeps/unix/bsd/sigvec.c: Remove file.
318 * sysdeps/unix/bsd/syscalls.list: Remove sigvec.
319 * manual/signal.texi (BSD Handler): Remove subsection.
320 Move siginterrupt up to ...
321 (BSD Signal Handling): ... here. Mark it as XPG rather than BSD.
322 (Blocking in BSD): Fold subsection into its parent.
323 * NEWS: Mention sigvec removal.
324
a4733812
JM
3252014-11-14 Joseph Myers <joseph@codesourcery.com>
326
5ae4fe60
JM
327 * sysdeps/x86_64/fpu/dla.h [__FMA4__ && __GNUC_PREREQ (4, 6)]
328 (DLA_FMS): Make definition conditional only on [__FMA4__].
329 [__FMA4__ && !__GNUC_PREREQ (4, 6)] (DLA_FMS): Remove conditional
330 definition.
331
6a0dd472
JM
332 * sysdeps/arm/sysdep.h [PROF && __GNUC_PREREQ(4,4)] (CALL_MCOUNT):
333 Make definition conditional only on [PROF].
334 [PROF && !__GNUC_PREREQ(4,4)] (CALL_MCOUNT): Remove conditional
335 definition.
336 [__GNUC_PREREQ(4,4)] (mcount): Make definition unconditional.
337 [!__GNUC_PREREQ(4,4)] (mcount): Remove conditional definition.
338
a4733812
JM
339 * signal/signal.h (__sigpause): Only declare if [__USE_XOPEN &&
340 !__GNUC__].
341 * include/signal.h (__sigpause): Move declaration above call to
342 libc_hidden_proto.
343 * conform/Makefile (test-xfail-ISO/signal.h/linknamespace): Remove
344 variable.
345 (test-xfail-ISO99/signal.h/linknamespace): Likewise.
346 (test-xfail-ISO11/signal.h/linknamespace): Likewise.
347
cf7246dd
DM
3482014-11-14 David S. Miller <davem@davemloft.net>
349
350 * sysdeps/sparc/sparc64/rtld-memcpy.c (NO_MEMPCPY_STPCPY_REDIRECT):
351 Define before including <string/memcpy.c> and <string/mempcpy.c>.
352
c1b0aadc
JM
3532014-11-14 Joseph Myers <joseph@codesourcery.com>
354
4863355a
JM
355 * configure.ac (libc_cv_compiler_ok): Require GCC 4.6 or later.
356 * configure: Regenerated.
357 * manual/install.texi (Tools for Compilation): Document a
358 requirement of GCC 4.6 or later and that GCC 4.9 is the newest
359 compiler verified to work.
360 * INSTALL: Regenerated.
361
c1b0aadc
JM
362 * include/string.h [NO_MEMPCPY_STPCPY_REDIRECT] (mempcpy): Do not
363 redeclare with asm name.
364 [NO_MEMPCPY_STPCPY_REDIRECT] (stpcpy): Likewise.
365 * string/mempcpy.c (NO_MEMPCPY_STPCPY_REDIRECT): Define before
366 including <string.h>.
367 * string/stpcpy.c (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
368 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c
369 [!NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
370 * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c
371 [!NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
372 * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c
373 [SHARED && !NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
374
2a1cfd94
JM
3752014-11-13 Joseph Myers <joseph@codesourcery.com>
376
bf438382
JM
377 * stdlib/strtol.c (__strtol): Use prototype definition.
378
2a1cfd94
JM
379 [BZ #17594]
380 * stdlib/strtol.c (SYM__): New macro.
381 (SYM__1): Likewise.
382 (__strtol): Likewise.
383 (strtol): Rename to __strtol and define as weak alias of
384 __strtol. Use libc_hidden_weak.
385
20ed0d26
SL
3862014-11-13 Stefan Liebler <stli@linux.vnet.ibm.com>
387
388 * sysdeps/s390/s390-32/dl-machine.h (RTLD_START):
389 Use numbered labels in inline assembly.
390
53244a4e
SL
3912014-11-13 Stefan Liebler <stli@linux.vnet.ibm.com>
392
393 * sysdeps/s390/s390-32/setjmp.S (__sigsetjmp):
394 Add setjmp LIBC_PROBE.
395 * sysdeps/s390/s390-64/setjmp.S (__sigsetjmp):
396 Likewise.
397 * sysdeps/s390/s390-32/__longjmp.c (__longjmp):
398 Add longjmp, longjmp_target LIBC_PROBE.
399 * sysdeps/s390/s390-64/__longjmp.c (__longjmp):
400 Likewise.
401
47df8251
SL
4022014-11-13 Stefan Liebler <stli@linux.vnet.ibm.com>
403
404 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
405 Gate the definition of refsym additionally with !RTLD_BOOTSTRAP
406 to get rid of unused variable warning.
407
618cebef
SL
4082014-11-13 Stefan Liebler <stli@linux.vnet.ibm.com>
409
410 * sysdeps/s390/s390-32/backtrace.c (__backtrace):
411 Check for unwind_backtrace == NULL only in SHARED case.
412 (__backchain_backtrace): Compile only in SHARED case.
413 * sysdeps/s390/s390-64/backtrace.c (__backtrace):
414 Likewise.
415 (__backchain_backtrace): Declare as static.
416
c6aab2cb
RM
4172014-11-12 Roland McGrath <roland@hack.frob.com>
418
419 * nptl/createthread.c [!TLS_MULTIPLE_THREADS_IN_TCB]
420 (__libc_multiple_threads_ptr): Variable moved ...
421 * nptl/nptl-init.c [!TLS_MULTIPLE_THREADS_IN_TCB]: ... here.
422
5a6fa4d7
JM
4232014-11-12 Joseph Myers <joseph@codesourcery.com>
424
24f4f825
JM
425 * conform/GlibcConform.pm: New file.
426 * conform/conformtest.pl: Use GlibcConform module.
427 * conform/linknamespace.pl: New file.
428 * conform/list-header-symbols.pl: Likewise.
429 * conform/Makefile (linknamespace-symlists-base): New variable.
430 (linknamespace-symlists-tests): Likewise.
431 (linknamespace-header-base): Likewise.
432 (linknamespace-header-tests): Likewise.
433 (tests-special): Add new tests.
434 ($(linknamespace-symlists-tests)): New rule.
435 (linknamespace-libs): New variable.
436 ($(objpfx)symlist-stdlibs): New rule.
437 ($(linknamespace-header-tests)): Likewise.
438 (test-xfail-XPG3/varargs.h/linknamespace): New variable.
439 (test-xfail-XPG4/varargs.h/linknamespace): Likewise.
440 (test-xfail-UNIX98/varargs.h/linknamespace): Likewise.
441 (test-xfail-XPG4/ndbm.h/linknamespace): Likewise.
442 (test-xfail-UNIX98/ndbm.h/linknamespace): Likewise.
443 (test-xfail-XOPEN2K/ndbm.h/linknamespace): Likewise.
444 (test-xfail-XOPEN2K8/ndbm.h/linknamespace): Likewise.
445 (test-xfail-ISO/math.h/linknamespace): Likewise.
446 (test-xfail-ISO/signal.h/linknamespace): Likewise.
447 (test-xfail-ISO/stdio.h/linknamespace): Likewise.
448 (test-xfail-ISO/time.h/linknamespace): Likewise.
449 (test-xfail-ISO99/complex.h/linknamespace): Likewise.
450 (test-xfail-ISO99/ctype.h/linknamespace): Likewise.
451 (test-xfail-ISO99/math.h/linknamespace): Likewise.
452 (test-xfail-ISO99/signal.h/linknamespace): Likewise.
453 (test-xfail-ISO99/stdio.h/linknamespace): Likewise.
454 (test-xfail-ISO99/tgmath.h/linknamespace): Likewise.
455 (test-xfail-ISO11/complex.h/linknamespace): Likewise.
456 (test-xfail-ISO11/ctype.h/linknamespace): Likewise.
457 (test-xfail-ISO11/math.h/linknamespace): Likewise.
458 (test-xfail-ISO11/signal.h/linknamespace): Likewise.
459 (test-xfail-ISO11/stdio.h/linknamespace): Likewise.
460 (test-xfail-ISO11/tgmath.h/linknamespace): Likewise.
461 (test-xfail-XPG3/ctype.h/linknamespace): Likewise.
462 (test-xfail-XPG3/fnmatch.h/linknamespace): Likewise.
463 (test-xfail-XPG3/glob.h/linknamespace): Likewise.
464 (test-xfail-XPG3/math.h/linknamespace): Likewise.
465 (test-xfail-XPG3/regex.h/linknamespace): Likewise.
466 (test-xfail-XPG3/search.h/linknamespace): Likewise.
467 (test-xfail-XPG3/stdio.h/linknamespace): Likewise.
468 (test-xfail-XPG3/time.h/linknamespace): Likewise.
469 (test-xfail-XPG3/unistd.h/linknamespace): Likewise.
470 (test-xfail-XPG3/wordexp.h/linknamespace): Likewise.
471 (test-xfail-XPG4/ctype.h/linknamespace): Likewise.
472 (test-xfail-XPG4/fmtmsg.h/linknamespace): Likewise.
473 (test-xfail-XPG4/fnmatch.h/linknamespace): Likewise.
474 (test-xfail-XPG4/glob.h/linknamespace): Likewise.
475 (test-xfail-XPG4/grp.h/linknamespace): Likewise.
476 (test-xfail-XPG4/libgen.h/linknamespace): Likewise.
477 (test-xfail-XPG4/math.h/linknamespace): Likewise.
478 (test-xfail-XPG4/netdb.h/linknamespace): Likewise.
479 (test-xfail-XPG4/pwd.h/linknamespace): Likewise.
480 (test-xfail-XPG4/regex.h/linknamespace): Likewise.
481 (test-xfail-XPG4/search.h/linknamespace): Likewise.
482 (test-xfail-XPG4/stdio.h/linknamespace): Likewise.
483 (test-xfail-XPG4/stdlib.h/linknamespace): Likewise.
484 (test-xfail-XPG4/sys/mman.h/linknamespace): Likewise.
485 (test-xfail-XPG4/sys/statvfs.h/linknamespace): Likewise.
486 (test-xfail-XPG4/syslog.h/linknamespace): Likewise.
487 (test-xfail-XPG4/time.h/linknamespace): Likewise.
488 (test-xfail-XPG4/unistd.h/linknamespace): Likewise.
489 (test-xfail-XPG4/wordexp.h/linknamespace): Likewise.
490 (test-xfail-POSIX/aio.h/linknamespace): Likewise.
491 (test-xfail-POSIX/fnmatch.h/linknamespace): Likewise.
492 (test-xfail-POSIX/glob.h/linknamespace): Likewise.
493 (test-xfail-POSIX/math.h/linknamespace): Likewise.
494 (test-xfail-POSIX/mqueue.h/linknamespace): Likewise.
495 (test-xfail-POSIX/pthread.h/linknamespace): Likewise.
496 (test-xfail-POSIX/regex.h/linknamespace): Likewise.
497 (test-xfail-POSIX/sched.h/linknamespace): Likewise.
498 (test-xfail-POSIX/semaphore.h/linknamespace): Likewise.
499 (test-xfail-POSIX/sys/mman.h/linknamespace): Likewise.
500 (test-xfail-POSIX/time.h/linknamespace): Likewise.
501 (test-xfail-POSIX/unistd.h/linknamespace): Likewise.
502 (test-xfail-POSIX/wordexp.h/linknamespace): Likewise.
503 (test-xfail-UNIX98/aio.h/linknamespace): Likewise.
504 (test-xfail-UNIX98/ctype.h/linknamespace): Likewise.
505 (test-xfail-UNIX98/fmtmsg.h/linknamespace): Likewise.
506 (test-xfail-UNIX98/fnmatch.h/linknamespace): Likewise.
507 (test-xfail-UNIX98/glob.h/linknamespace): Likewise.
508 (test-xfail-UNIX98/grp.h/linknamespace): Likewise.
509 (test-xfail-UNIX98/libgen.h/linknamespace): Likewise.
510 (test-xfail-UNIX98/math.h/linknamespace): Likewise.
511 (test-xfail-UNIX98/mqueue.h/linknamespace): Likewise.
512 (test-xfail-UNIX98/netdb.h/linknamespace): Likewise.
513 (test-xfail-UNIX98/pthread.h/linknamespace): Likewise.
514 (test-xfail-UNIX98/pwd.h/linknamespace): Likewise.
515 (test-xfail-UNIX98/regex.h/linknamespace): Likewise.
516 (test-xfail-UNIX98/sched.h/linknamespace): Likewise.
517 (test-xfail-UNIX98/search.h/linknamespace): Likewise.
518 (test-xfail-UNIX98/semaphore.h/linknamespace): Likewise.
519 (test-xfail-UNIX98/stdio.h/linknamespace): Likewise.
520 (test-xfail-UNIX98/stdlib.h/linknamespace): Likewise.
521 (test-xfail-UNIX98/sys/mman.h/linknamespace): Likewise.
522 (test-xfail-UNIX98/sys/statvfs.h/linknamespace): Likewise.
523 (test-xfail-UNIX98/syslog.h/linknamespace): Likewise.
524 (test-xfail-UNIX98/time.h/linknamespace): Likewise.
525 (test-xfail-UNIX98/unistd.h/linknamespace): Likewise.
526 (test-xfail-UNIX98/wchar.h/linknamespace): Likewise.
527 (test-xfail-UNIX98/wordexp.h/linknamespace): Likewise.
528 (test-xfail-XOPEN2K/aio.h/linknamespace): Likewise.
529 (test-xfail-XOPEN2K/complex.h/linknamespace): Likewise.
530 (test-xfail-XOPEN2K/fcntl.h/linknamespace): Likewise.
531 (test-xfail-XOPEN2K/fmtmsg.h/linknamespace): Likewise.
532 (test-xfail-XOPEN2K/fnmatch.h/linknamespace): Likewise.
533 (test-xfail-XOPEN2K/glob.h/linknamespace): Likewise.
534 (test-xfail-XOPEN2K/grp.h/linknamespace): Likewise.
535 (test-xfail-XOPEN2K/libgen.h/linknamespace): Likewise.
536 (test-xfail-XOPEN2K/math.h/linknamespace): Likewise.
537 (test-xfail-XOPEN2K/mqueue.h/linknamespace): Likewise.
538 (test-xfail-XOPEN2K/net/if.h/linknamespace): Likewise.
539 (test-xfail-XOPEN2K/netdb.h/linknamespace): Likewise.
540 (test-xfail-XOPEN2K/pthread.h/linknamespace): Likewise.
541 (test-xfail-XOPEN2K/pwd.h/linknamespace): Likewise.
542 (test-xfail-XOPEN2K/regex.h/linknamespace): Likewise.
543 (test-xfail-XOPEN2K/search.h/linknamespace): Likewise.
544 (test-xfail-XOPEN2K/semaphore.h/linknamespace): Likewise.
545 (test-xfail-XOPEN2K/signal.h/linknamespace): Likewise.
546 (test-xfail-XOPEN2K/spawn.h/linknamespace): Likewise.
547 (test-xfail-XOPEN2K/stdlib.h/linknamespace): Likewise.
548 (test-xfail-XOPEN2K/sys/mman.h/linknamespace): Likewise.
549 (test-xfail-XOPEN2K/sys/statvfs.h/linknamespace): Likewise.
550 (test-xfail-XOPEN2K/sys/wait.h/linknamespace): Likewise.
551 (test-xfail-XOPEN2K/syslog.h/linknamespace): Likewise.
552 (test-xfail-XOPEN2K/tgmath.h/linknamespace): Likewise.
553 (test-xfail-XOPEN2K/time.h/linknamespace): Likewise.
554 (test-xfail-XOPEN2K/ucontext.h/linknamespace): Likewise.
555 (test-xfail-XOPEN2K/unistd.h/linknamespace): Likewise.
556 (test-xfail-XOPEN2K/wordexp.h/linknamespace): Likewise.
557 (test-xfail-POSIX2008/aio.h/linknamespace): Likewise.
558 (test-xfail-POSIX2008/complex.h/linknamespace): Likewise.
559 (test-xfail-POSIX2008/ctype.h/linknamespace): Likewise.
560 (test-xfail-POSIX2008/dirent.h/linknamespace): Likewise.
561 (test-xfail-POSIX2008/fcntl.h/linknamespace): Likewise.
562 (test-xfail-POSIX2008/grp.h/linknamespace): Likewise.
563 (test-xfail-POSIX2008/math.h/linknamespace): Likewise.
564 (test-xfail-POSIX2008/mqueue.h/linknamespace): Likewise.
565 (test-xfail-POSIX2008/net/if.h/linknamespace): Likewise.
566 (test-xfail-POSIX2008/netdb.h/linknamespace): Likewise.
567 (test-xfail-POSIX2008/pthread.h/linknamespace): Likewise.
568 (test-xfail-POSIX2008/regex.h/linknamespace): Likewise.
569 (test-xfail-POSIX2008/semaphore.h/linknamespace): Likewise.
570 (test-xfail-POSIX2008/spawn.h/linknamespace): Likewise.
571 (test-xfail-POSIX2008/sys/mman.h/linknamespace): Likewise.
572 (test-xfail-POSIX2008/sys/statvfs.h/linknamespace): Likewise.
573 (test-xfail-POSIX2008/tgmath.h/linknamespace): Likewise.
574 (test-xfail-POSIX2008/time.h/linknamespace): Likewise.
575 (test-xfail-POSIX2008/unistd.h/linknamespace): Likewise.
576 (test-xfail-XOPEN2K8/aio.h/linknamespace): Likewise.
577 (test-xfail-XOPEN2K8/complex.h/linknamespace): Likewise.
578 (test-xfail-XOPEN2K8/dirent.h/linknamespace): Likewise.
579 (test-xfail-XOPEN2K8/fcntl.h/linknamespace): Likewise.
580 (test-xfail-XOPEN2K8/fmtmsg.h/linknamespace): Likewise.
581 (test-xfail-XOPEN2K8/grp.h/linknamespace): Likewise.
582 (test-xfail-XOPEN2K8/libgen.h/linknamespace): Likewise.
583 (test-xfail-XOPEN2K8/math.h/linknamespace): Likewise.
584 (test-xfail-XOPEN2K8/mqueue.h/linknamespace): Likewise.
585 (test-xfail-XOPEN2K8/net/if.h/linknamespace): Likewise.
586 (test-xfail-XOPEN2K8/netdb.h/linknamespace): Likewise.
587 (test-xfail-XOPEN2K8/pthread.h/linknamespace): Likewise.
588 (test-xfail-XOPEN2K8/pwd.h/linknamespace): Likewise.
589 (test-xfail-XOPEN2K8/regex.h/linknamespace): Likewise.
590 (test-xfail-XOPEN2K8/search.h/linknamespace): Likewise.
591 (test-xfail-XOPEN2K8/semaphore.h/linknamespace): Likewise.
592 (test-xfail-XOPEN2K8/spawn.h/linknamespace): Likewise.
593 (test-xfail-XOPEN2K8/sys/mman.h/linknamespace): Likewise.
594 (test-xfail-XOPEN2K8/sys/statvfs.h/linknamespace): Likewise.
595 (test-xfail-XOPEN2K8/syslog.h/linknamespace): Likewise.
596 (test-xfail-XOPEN2K8/tgmath.h/linknamespace): Likewise.
597 (test-xfail-XOPEN2K8/time.h/linknamespace): Likewise.
598 (test-xfail-XOPEN2K8/unistd.h/linknamespace): Likewise.
599
cc67478e
JM
600 [BZ #17589]
601 * intl/localealias.c [_LIBC] (FGETS): Use __fgets_unlocked instead
602 of fgets_unlocked.
603
9975e3d3
JM
604 [BZ #17585]
605 * string/memmem.c [!_LIBC] (__memmem): Define to memmem.
606 (memmem): Rename to __memmem and define as weak alias of
607 __memmem. Use libc_hidden_weak.
608 (__memmem): Use libc_hidden_def.
609 * include/string.h (__memmem): Declare. Use libc_hidden_proto.
610 * locale/findlocale.c (valid_locale_name): Use __memmem instead of
611 memmem.
612
c4eae752
JM
613 [BZ #17582]
614 * libio/iofgets.c [weak_alias && !_IO_MTSAFE_IO]
615 (__fgets_unlocked): Add alias of _IO_fgets. Use libc_hidden_def.
616 * libio/iofgets_u.c (fgets_unlocked): Rename to __fgets_unlocked
617 and define as weak alias of __fgets_unlocked. Use
618 libc_hidden_weak.
619 (__fgets_unlocked): Use libc_hidden_def.
620 * include/stdio.h (__fgets_unlocked): Declare. Use
621 libc_hidden_proto.
622 * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Use
623 __fgets_unlocked instead of fgets_unlocked.
624 * sysdeps/unix/sysv/linux/alpha/getsysstats.c
625 (GET_NPROCS_CONF_PARSER): Likewise.
626 * sysdeps/unix/sysv/linux/sparc/getsysstats.c
627 (GET_NPROCS_CONF_PARSER): Likewise.
628
01cad84e
JM
629 [BZ #17574]
630 * wcsmbs/wmemset.c (wmemset): Rename to __wmemset and define as
631 weak alias of __wmemset. Use libc_hidden_weak.
632 (__wmemset): Use libc_hidden_def.
633 * include/wchar.h (__wmemset): Declare. Use libc_hidden_proto.
634 * stdio-common/printf_fp.c (___printf_fp): Call __wmemset instead
635 of wmemset.
636
939da411
JM
637 [BZ #17573]
638 * include/string.h [NOT_IN_libc || !SHARED] (mempcpy): Declare
639 with asm name __mempcpy.
640 [NOT_IN_libc || !SHARED] (stpcpy): Declare with asm name __stpcpy.
641
293d9a41
JM
642 [BZ #17572]
643 * sysdeps/x86_64/rawmemchr.S (rawmemchr): Rename to __rawmemchr
644 and define as weak alias of __rawmemchr.
645 (__rawmemchr): Do not define as strong alias of rawmemchr.
646
bef8fd60
JM
647 [BZ #17571]
648 * stdlib/msort.c (qsort_r): Rename to __qsort_r and define as weak
649 alias of __qsort_r.
650 (qsort): Call __qsort_r instead of qsort_r.
651 * include/stdlib.h (qsort_r): Do not call libc_hidden_proto.
652 (__qsort_r): Declare. Call libc_hidden_proto.
653 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Call __qsort_r
654 instead of qsort_r.
655 * nscd/gai.c (__qsort_r): Define to qsort_r.
656 * posix/tst-rfc3484.c (__qsort_r): Likewise.
657 * posix/tst-rfc3484-2.c (__qsort_r): Likewise.
658 * posix/tst-rfc3484-3.c (__qsort_r): Likewise.
659
c52ff39e
JM
660 [BZ #17570]
661 * malloc/malloc.c (malloc_info): Rename to __malloc_info and
662 define as weak alias of __malloc_info.
663
2f5c1b00
JM
664 [BZ #17584]
665 * dirent/rewinddir.c (rewinddir): Rename to __rewinddir and define
666 as weak alias of __rewinddir. Don't use libc_hidden_def.
667 (__rewinddir): Use libc_hidden_def.
668 * sysdeps/mach/hurd/rewinddir.c: Rename to __rewinddir and define
669 as weak alias of __rewinddir. Don't use libc_hidden_def.
670 (__rewinddir): Use libc_hidden_def.
671 * sysdeps/posix/rewinddir.c: Rename to __rewinddir and define as
672 weak alias of __rewinddir. Don't use libc_hidden_def.
673 (__rewinddir): Use libc_hidden_def.
674 * include/dirent.h (rewinddir): Don't use libc_hidden_proto.
675 (__rewinddir): Use libc_hidden_proto.
676 * sysdeps/posix/getcwd.c [!_LIBC] (__rewinddir): Define to
677 rewinddir.
678 (__getcwd): Use __rewinddir instead of rewinddir.
679
5a6fa4d7
JM
680 [BZ #17583]
681 * libio/fileno.c (fileno): Rename to __fileno and define as weak
682 alias of __fileno. Use libc_hidden_weak.
683 (__fileno): Use libc_hidden_def.
684 [weak_alias] (fileno_unlocked): Define as weak alias of __fileno.
685 * libio/ftello.c (ftello): Rename to __ftello and define as weak
686 alias of __ftello.
687 [__OFF_T_MATCHES_OFF64_T] (ftello64): Define as weak alias of
688 __ftello.
689 * libio/iofread.c [weak_alias && !_IO_MTSAFE_IO]
690 (__fread_unlocked): Define as strong alias of _IO_fread. Use
691 libc_hidden_def.
692 (fread_unlocked): Don't use libc_hidden_ver.
693 * libio/iofread_u.c (fread_unlocked): Rename to __fread_unlocked
694 and define as weak alias of __fread_unlocked. Don't use
695 libc_hidden_def.
696 (__fread_unlocked): Use libc_hidden_def.
697 * include/stdio.h (__fileno): Declare. Use libc_hidden_proto.
698 (ftello): Don't use libc_hidden_proto.
699 (__ftello): Declare. Use libc_hidden_proto.
700 (fread_unlocked): Don't use libc_hidden_proto.
701 (__fread_unlocked): Declare. Use libc_hidden_proto.
702 * time/tzfile.c (__tzfile_read): Use __fileno, __fread_unlocked
703 and __ftello instead of fileno, fread_unlocked and ftello.
704
2581b98e
SP
7052012-11-12 Siddhesh Poyarekar <siddhesh@redhat.com>
706
707 * sysdeps/s390/s390-32/bcopy.S (__bcopy): Use GOT instead of
708 GOT12.
709 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_load_address):
710 Likewise.
711 (_dl_start_user): Likewise.
712 * sysdeps/s390/s390-32/setjmp.S (__sigsetjmp): Likewise.
713
533bb7c2
SP
7142014-11-12 Carlos O'Donell <carlos@redhat.com>
715 Siddhesh Poyarekar <siddhesh@redhat.com>
716
717 * sysdeps/s390/s390-32/dl-machine.h (_dl_start_user):
718 Move argv and envp down instead of moving argc up.
719 * sysdeps/s390/s390-32/dl-sysdep.h: New file.
720
fffa1cf8
LH
7212014-11-12 Leonhard Holz <leonhard.holz@web.de>
722
723 [BZ #17506]
724 * test-skeleton.c (main): Return successful if one of
725 EXPECTED_SIGNAL or EXPECTED_STATUS is met when both given.
726 * string/tst-strcoll-overflow.c: Define expected status.
727
fb89b46d
TU
7282014-11-12 Tatiana Udalova <t.udalova@samsung.com>
729
730 [BZ #17475]
731 * locale/iso-639.def: Define Bhili and Tulu language codes.
732
5c40c3ba
AH
7332014-11-11 Alan Hayward <alan.hayward@arm.com>
734
735 * sysdeps/unix/sysv/linux/aarch64/bits/ipc.h: New file.
736
b17fe01b 7372014-11-10 Renlin Li <Renlin.Li@arm.com>
80085def
RL
738
739 [BZ #17555]
740 * sysdeps/aarch64/start.S (_start): Delete x29 overwritten assignment.
741
bd805071
AS
7422014-11-10 Andrew Senkevich <andrew.n.senkevich@gmail.com>
743
744 * configure.ac: Updated check of minimal required version to
745 2.22.
746 * manual/install.texi (Tools for Compilation): Updated version
747 number.
748 * configure: Regenerated.
749 * INSTALL: Likewise.
750
1400983e
AS
7512014-11-07 Andreas Schwab <schwab@linux-m68k.org>
752
753 * sysdeps/unix/sysv/linux/m68k/localplt.data (ld.so): Remove
754 __tls_get_addr.
755
2c46a66a
JM
7562014-11-07 Joseph Myers <joseph@codesourcery.com>
757
758 * include/sys/wait.h (__libc_waitpid): Remove declaration.
759 * posix/waitpid.c (__libc_waitpid): Rename to __waitpid.
760 (__waitpid): Don't define as alias. Use libc_hidden_def not
761 libc_hidden_weak.
762 (waitpid): Define as alias of __waitpid.
763 * sysdeps/unix/bsd/waitpid.c (__libc_waitpid): Rename to
764 __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/sysv/linux/i386/syscalls.list (waitpid): Remove
769 __libc_waitpid alias.
770 * sysdeps/unix/sysv/linux/m68k/syscalls.list (waitpid): Likewise.
771 * sysdeps/unix/sysv/linux/powerpc/syscalls.list (waitpid):
772 Likewise.
773 * sysdeps/unix/sysv/linux/sh/syscalls.list (waitpid): Likewise.
774 * sysdeps/unix/sysv/linux/sparc/syscalls.list (waitpid): Likewise.
775 * sysdeps/unix/sysv/linux/tile/waitpid.S (__libc_waitpid): Remove
776 alias.
777 * sysdeps/unix/sysv/linux/waitpid.c (__libc_waitpid): Rename to
778 __waitpid.
779 (__waitpid): Don't define as alias. Use libc_hidden_def not
780 libc_hidden_weak.
781 (waitpid): Define as alias of __waitpid.
782
da53d6db
CD
7832014-11-06 Carlos O'Donell <carlos@redhat.com>
784
a2887bdb
CD
785 * manual/llio.texi: Add comment that write safety has been
786 fixed in Linux.
787
da53d6db
CD
788 * elf/Makefile (all-built-dso): Add $(common-objpfx)elf/ld.so.
789 (localplt-build-dso): Add elf/ld.so.
790 * sysdeps/unix/sysv/linux/i386/localplt.data: Add ___tls_get_addr
791 i.e. 3 underscore version, __libc_memalign, malloc, calloc, realloc,
792 and free for ld.so.
793 * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data: Add
794 __libc_memalign, malloc, calloc, realloc, and free for ld.so.
795 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data:
796 Likewise.
797 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data:
798 Likewise.
799 * sysdeps/unix/sysv/linux/s390/localplt.data: Likewise.
800 * sysdeps/generic/localplt.data: Add __tls_get_addr i.e. 2 underscore
801 version, __libc_memalign, malloc, calloc, realloc and free for ld.so.
802 * sysdeps/unix/sysv/linux/aarch64/localplt.data: Likewise.
803 * sysdeps/unix/sysv/linux/arm/localplt.data: Likewise.
804 * sysdeps/unix/sysv/linux/alpha/localplt.data: Likewise.
805 * sysdeps/unix/sysv/linux/ia64/localplt.data: Likewise.
806 * sysdeps/unix/sysv/linux/m68k/localplt.data: Likewise.
807 * sysdeps/unix/sysv/linux/microblaze/localplt.data: Likewise.
808 * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: Likewise.
809 * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: Likewise.
810
9cf27b8d
JM
8112014-11-05 Joseph Myers <joseph@codesourcery.com>
812
813 [BZ #14132]
814 * include/libc-symbols.h (INTUSE): Remove macro.
815 (INTDEF): Likewise.
816 (INTVARDEF): Likewise.
817 (_INTVARDEF): Likewise.
818 (INTDEF2): Likewise.
819 (INTVARDEF2): Likewise.
820 * elf/rtld.c [!HAVE_INLINED_SYSCALLS] (_dl_starting_up): Use
821 rtld_hidden_def instead of INTVARDEF.
822 * sysdeps/generic/ldsodefs.h [IS_IN_rtld]
823 (_dl_starting_up_internal): Remove declaration.
824 (_dl_starting_up): Use rtld_hidden_proto.
825 * elf/dl-init.c [!HAVE_INLINED_SYSCALLS] (_dl_starting_up): Remove
826 declaration.
827 [!HAVE_INLINED_SYSCALLS] (_dl_starting_up_internal): Likewise.
828 (_dl_init) [!HAVE_INLINED_SYSCALLS]: Don't use INTUSE with
829 _dl_starting_up.
830 * elf/dl-writev.h (_dl_writev): Likewise.
831 * sysdeps/powerpc/powerpc64/dl-machine.h [!HAVE_INLINED_SYSCALLS]
832 (DL_STARTING_UP_DEF): Use __GI__dl_starting_up instead of
833 _dl_starting_up_internal.
834
af83568d
AZ
8352014-11-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
836
837 * stdio-common/tst-fmemopen.c (do_test): Refactor to use
838 test-skeleton.c.
839
b01ee67c
WN
8402014-11-05 Will Newton <will.newton@linaro.org>
841
842 * benchtests/Makefile: (bench-malloc): Add malloc thread
843 scalability benchmark.
844 * benchtests/bench-malloc-threads.c: New file.
845
be9d4ccc
RE
8462014-11-05 Richard Earnshaw <rearnsha@arm.com>
847
848 * sysdeps/aarch64/strchrnul.S: New file.
849
7110166d
AZ
8502014-11-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
851
852 * sysdeps/powerpc/powerpc64/power8/memset.S (MTVSRD_V1_R4): Simplify
853 definition.
854 * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S (MFVSRD_R3_V1):
855 Likwise.
856 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S (MFVSRD_R3_V1):
857 Likewise.
858 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (MFVSRD_R3_V1):
859 Likewise.
860 * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S (MFVSRD_R3_V1):
861 Likewise.
862 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S (MFVSRD_R3_V1):
863 Likewise.
864
8652014-11-05 Arjun Shankar <arjun.is@lostca.se>
29955b5d
AS
866
867 * catgets/test-gencat.c: Use test-skeleton.c.
868 * catgets/tst-catgets.c: Likewise.
869 * csu/tst-empty.c: Likewise.
870 * elf/tst-audit2.c: Likewise.
871 * elf/tst-global1.c: Likewise.
872 * elf/tst-pathopt.c: Likewise.
873 * elf/tst-piemod1.c: Likewise.
874 * elf/tst-tls10.c: Likewise.
875 * elf/tst-tls11.c: Likewise.
876 * elf/tst-tls12.c: Likewise.
877 * gnulib/tst-gcc.c: Likewise.
878 * iconvdata/tst-e2big.c: Likewise.
879 * iconvdata/tst-loading.c: Likewise.
880 * iconv/tst-iconv1.c: Likewise.
881 * iconv/tst-iconv2.c: Likewise.
882 * inet/test-inet6_opt.c: Likewise.
883 * inet/tst-gethnm.c: Likewise.
884 * inet/tst-network.c: Likewise.
885 * inet/tst-ntoa.c: Likewise.
886 * intl/tst-codeset.c: Likewise.
887 * intl/tst-gettext2.c: Likewise.
888 * intl/tst-gettext3.c: Likewise.
889 * intl/tst-ngettext.c: Likewise.
890 * intl/tst-translit.c: Likewise.
891 * io/test-stat.c: Likewise.
892 * libio/test-fmemopen.c: Likewise.
893 * libio/tst-freopen.c: Likewise.
894 * libio/tst-sscanf.c: Likewise.
895 * libio/tst-ungetwc1.c: Likewise.
896 * libio/tst-ungetwc2.c: Likewise.
897 * libio/tst-widetext.c: Likewise.
898 * localedata/tst-ctype.c: Likewise.
899 * localedata/tst-digits.c: Likewise.
900 * localedata/tst-leaks.c: Likewise.
901 * localedata/tst-mbswcs1.c: Likewise.
902 * localedata/tst-mbswcs2.c: Likewise.
903 * localedata/tst-mbswcs3.c: Likewise.
904 * localedata/tst-mbswcs4.c: Likewise.
905 * localedata/tst-mbswcs5.c: Likewise.
906 * localedata/tst-setlocale.c: Likewise.
907 * localedata/tst-trans.c: Likewise.
908 * localedata/tst-wctype.c: Likewise.
909 * localedata/tst-xlocale1.c: Likewise.
910 * login/tst-grantpt.c: Likewise.
911 * malloc/tst-calloc.c: Likewise.
912 * malloc/tst-malloc.c: Likewise.
913 * malloc/tst-mallocstate.c: Likewise.
914 * malloc/tst-mcheck.c: Likewise.
915 * malloc/tst-mtrace.c: Likewise.
916 * malloc/tst-obstack.c: Likewise.
917 * math/atest-exp2.c: Likewise.
918 * math/atest-exp.c: Likewise.
919 * math/atest-sincos.c: Likewise.
920 * math/test-matherr.c: Likewise.
921 * math/test-misc.c: Likewise.
922 * math/test-powl.c: Likewise.
923 * math/tst-definitions.c: Likewise.
924 * misc/tst-dirname.c: Likewise.
925 * misc/tst-efgcvt.c: Likewise.
926 * misc/tst-fdset.c: Likewise.
927 * misc/tst-hsearch.c: Likewise.
928 * misc/tst-mntent2.c: Likewise.
929 * nptl/tst-sem7.c: Likewise.
930 * nptl/tst-sem8.c: Likewise.
931 * nptl/tst-sem9.c: Likewise.
932 * nss/test-netdb.c: Likewise.
933 * posix/tst-fnmatch.c: Likewise.
934 * posix/tst-getlogin.c: Likewise.
935 * posix/tst-gnuglob.c: Likewise.
936 * posix/tst-mmap.c: Likewise.
937 * pwd/tst-getpw.c: Likewise.
938 * resolv/tst-inet_ntop.c: Likewise.
939 * rt/tst-timer.c: Likewise.
940 * stdio-common/test-fseek.c: Likewise.
941 * stdio-common/test-popen.c: Likewise.
942 * stdio-common/test-vfprintf.c: Likewise.
943 * stdio-common/tst-cookie.c: Likewise.
944 * stdio-common/tst-fileno.c: Likewise.
945 * stdio-common/tst-gets.c: Likewise.
946 * stdio-common/tst-obprintf.c: Likewise.
947 * stdio-common/tst-perror.c: Likewise.
948 * stdio-common/tst-sprintf2.c: Likewise.
949 * stdio-common/tst-sprintf3.c: Likewise.
950 * stdio-common/tst-sprintf.c: Likewise.
951 * stdio-common/tst-swprintf.c: Likewise.
952 * stdio-common/tst-tmpnam.c: Likewise.
953 * stdio-common/tst-unbputc.c: Likewise.
954 * stdio-common/tst-wc-printf.c: Likewise.
955 * stdlib/tst-environ.c: Likewise.
956 * stdlib/tst-fmtmsg.c: Likewise.
957 * stdlib/tst-limits.c: Likewise.
958 * stdlib/tst-rand48-2.c: Likewise.
959 * stdlib/tst-rand48.c: Likewise.
960 * stdlib/tst-random2.c: Likewise.
961 * stdlib/tst-random.c: Likewise.
962 * stdlib/tst-strtol.c: Likewise.
963 * stdlib/tst-strtoll.c: Likewise.
964 * stdlib/tst-tls-atexit.c: Likewise.
965 * stdlib/tst-xpg-basename.c: Likewise.
966 * string/test-ffs.c: Likewise.
967 * string/tst-bswap.c: Likewise.
968 * string/tst-inlcall.c: Likewise.
969 * string/tst-strtok.c: Likewise.
970 * string/tst-strxfrm.c: Likewise.
971 * sysdeps/x86_64/tst-audit10.c: Likewise.
972 * sysdeps/x86_64/tst-audit3.c: Likewise.
973 * sysdeps/x86_64/tst-audit4.c: Likewise.
974 * sysdeps/x86_64/tst-audit5.c: Likewise.
975 * time/tst-ftime_l.c: Likewise.
976 * time/tst-getdate.c: Likewise.
977 * time/tst-mktime3.c: Likewise.
978 * time/tst-mktime.c: Likewise.
979 * time/tst-posixtz.c: Likewise.
980 * time/tst-strptime2.c: Likewise.
981 * time/tst-strptime3.c: Likewise.
982 * wcsmbs/tst-btowc.c: Likewise.
983 * wcsmbs/tst-mbrtowc.c: Likewise.
984 * wcsmbs/tst-mbsrtowcs.c: Likewise.
985 * wcsmbs/tst-wchar-h.c: Likewise.
986 * wcsmbs/tst-wcpncpy.c: Likewise.
987 * wcsmbs/tst-wcrtomb.c: Likewise.
988 * wcsmbs/tst-wcsnlen.c: Likewise.
989 * wcsmbs/tst-wcstof.c: Likewise.
990
2004e7fb
JM
9912014-11-04 Joseph Myers <joseph@codesourcery.com>
992
ab97ee8f
JM
993 [BZ #14132]
994 * elf/dl-profile.c (_dl_mcount): Use rtld_hidden_def instead of
995 INTDEF.
996 * sysdeps/generic/ldsodefs.h (_dl_mcount_internal): Remove
997 declaration.
998 (_dl_mcount): Use rtld_hidden_proto.
999 * elf/dl-runtime.c (_dl_profile_fixup): Don't use INTUSE with
1000 _dl_mcount.
1001 * elf/rtld.c (_rtld_global_ro): Likewise.
1002
c5684fdb
JM
1003 [BZ #14132]
1004 * elf/dl-init.c (_dl_init): Don't use INTDEF.
1005 * sysdeps/aarch64/dl-machine.h (RTLD_START): Use _dl_init instead
1006 of _dl_init_internal.
1007 * sysdeps/alpha/dl-machine.h (RTLD_START): Likewise.
1008 * sysdeps/arm/dl-machine.h (RTLD_START): Likewise.
1009 * sysdeps/hppa/dl-machine.h (RTLD_START): Likewise.
1010 * sysdeps/i386/dl-machine.h (RTLD_START): Likewise.
1011 * sysdeps/ia64/dl-machine.h (RTLD_START): Likewise.
1012 * sysdeps/m68k/dl-machine.h (RTLD_START): Likewise.
1013 * sysdeps/microblaze/dl-machine.h (RTLD_START): Likewise.
1014 * sysdeps/mips/dl-machine.h (RTLD_START): Likewise.
1015 * sysdeps/powerpc/powerpc32/dl-start.S (_start): Likewise.
1016 * sysdeps/s390/s390-32/dl-machine.h (RTLD_START): Likewise.
1017 * sysdeps/s390/s390-64/dl-machine.h (RTLD_START): Likewise.
1018 * sysdeps/sh/dl-machine.h (RTLD_START): Likewise.
1019 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
1020 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
1021 * sysdeps/tile/dl-start.S (_start): Likewise.
1022 * sysdeps/x86_64/dl-machine.h (RTLD_START): Likewise.
1023 * sysdeps/x86_64/x32/dl-machine.h (RTLD_START): Likewise.
1024
4243cbea
JM
1025 [BZ #14132]
1026 * sysdeps/generic/ldsodefs.h (_dl_argv): Use rtld_hidden_proto.
1027 [IS_IN_rtld] (_dl_argv_internal): Do not declare.
1028 (rtld_progname): Make macro definition unconditional.
1029 * elf/rtld.c (_dl_argv): Use rtld_hidden_data_def instead of
1030 INTDEF.
1031 (dlmopen_doit): Do not use INTUSE with _dl_argv.
1032 (dl_main): Likewise.
1033 * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
1034 * sysdeps/alpha/dl-machine.h (RTLD_START): Use __GI__dl_argv
1035 instead of _dl_argv_internal.
1036 * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
1037 __GI__dl_argv instead of INTUSE(_dl_argv).
1038 * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Use
1039 __GI__dl_argv instead of _dl_argv_internal.
1040
2004e7fb
JM
1041 * soft-fp/op-common.h (_FP_TO_INT_ROUND): New macro.
1042 * soft-fp/double.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_D): New
1043 macro.
1044 [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_D): Likewise.
1045 * soft-fp/extended.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_E):
1046 New macro.
1047 [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_E): Likewise.
1048 * soft-fp/quad.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_Q): New
1049 macro.
1050 [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_Q): Likewise.
1051 * soft-fp/single.h (FP_TO_INT_ROUND_S): New macro.
1052
97827bfc
AS
10532014-11-04 Andreas Schwab <schwab@suse.de>
1054
1055 * posix/regex_internal.h: Don't include <locale/elem-hash.h>.
1056
5e4df284
AZ
10572014-11-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1058
1059 * sysdeps/powerpc/powerpc64/power8/memset.S (MTVSRD_V1_R4): Encode
1060 mtvsrd instruction in binary form.
1061
04b76b5a
AS
10622014-11-03 Andreas Schwab <schwab@suse.de>
1063
1064 [BZ #17522]
1065 * libio/wfileops.c (_IO_wdo_write): If the file buffer has room
1066 for less than MB_LEN_MAX use a local buffer of that size.
1067 * libio/tst-fputws.c: New file.
1068 * libio/Makefile (tests): Add tst-fputws.
1069
4c6da7da
JM
10702014-11-01 Jose E. Marchesi <jose.marchesi@oracle.com>
1071
1072 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu): fix
1073 the size of the fpu_fr.fpu_dregs[] array.
1074
1679ba8e
JM
10752014-11-01 Joseph Myers <joseph@codesourcery.com>
1076
1077 * posix/nanosleep.c (__libc_nanosleep): Rename to __nanosleep.
1078 (__nanosleep): Do not define as alias.
1079 (nanosleep): Define as alias of __nanosleep.
1080 * sysdeps/unix/sysv/linux/syscalls.list (nanosleep): Remove
1081 __libc_nanosleep name.
1082
2626c183
JM
10832014-10-31 Joseph Myers <joseph@codesourcery.com>
1084
1085 * aclocal.m4 (GLIBC_AUTOCONF_VERSION): Mention need to update
1086 install.texi in comment.
1087
7f981fc2
TR
10882014-10-31 Torvald Riegel <triegel@redhat.com>
1089
1090 * sysdeps/powerpc/bits/atomic.h (atomic_write_barrier): Remove and...
1091 * sysdeps/powerpc/powerpc32/bits/atomic.h (atomic_write_barrier):
1092 ... add here and use lwsync or sync ...
1093 * sysdeps/powerpc/powerpc64/bits/atomic.h (atomic_write_barrier):
1094 ... and add here using lwsync.
1095
d6f373d2
MF
10962014-10-31 Matthew Fortune <matthew.fortune@imgtec.com>
1097
1098 * elf/dl-machine-reject-phdr.h: New file.
1099 * elf/dl-load.c: #include that.
1100 (open_verify): Call elf_machine_reject_phdr_p and ignore the file
1101 if that returned true.
1102
67c37987
RM
11032014-10-31 Roland McGrath <roland@hack.frob.com>
1104
1105 [BZ #17496]
1106 * Makerules: Move gnu/lib-names.h generation chunk up, to right after
1107 gen-as-const-headers chunk. Add a big scare comment after the last
1108 safe place to touch before-compile.
1109
94a42455 11102014-10-31 Joseph Myers <joseph@codesourcery.com>
f62ff286 1111
f3f5d895
JM
1112 * manual/install.texi (Tools for Compilation): Update autoconf
1113 version requirements.
1114 * INSTALL: Regenerated.
1115
f62ff286
JM
1116 * misc/pselect.c [!__pselect] (__libc_pselect): Remove alias.
1117 * sysdeps/unix/sysv/linux/pselect.c [__NR_pselect6]
1118 (__libc_pselect): Likewise.
94a42455
JM
1119
1120 [BZ #14138]
1121 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Remove file.
1122 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
1123 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
1124 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
1125
ff9dbdc0
TR
11262014-10-31 Torvald Riegel <triegel@redhat.com>
1127
1128 * sysdeps/sparc/sparc32/bits/atomic.h (atomic_write_barrier): Use
1129 correct barrier instruction.
1130 * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (atomic_write_barrier):
1131 Likewise.
1132 * sysdeps/sparc/sparc64/bits/atomic.h (atomic_write_barrier):
1133 Likewise.
1134
b4f66884
RM
11352014-10-30 Roland McGrath <roland@hack.frob.com>
1136
1137 * include/ctype.h: Include <ctype/ctype.h> first thing rather than
1138 after defining inlines. Instead, just use parens to defeat macro
1139 expansion of __isctype in its declaration.
1140
e19c95fd
JM
11412014-10-30 Joseph Myers <joseph@codesourcery.com>
1142
1143 * include/sys/uio.h (__libc_readv): Remove declaration.
1144 (__libc_writev): Likewise.
1145 * misc/readv.c (__libc_readv): Rename to __readv.
1146 (__readv): Do not define as alias.
1147 (readv): Define as alias of __readv.
1148 * misc/writev.c (__libc_writev): Rename to __writev.
1149 (__writev): Do not define as alias.
1150 (writev): Define as alias of __writev.
1151 * sysdeps/posix/readv.c (__libc_readv): Rename to __readv.
1152 (__readv): Do not define as alias.
1153 (readv): Define unconditionally as alias of __readv.
1154 * sysdeps/posix/writev.c (__libc_writev): Rename to __writev.
1155 (__writev): Do not define as alias.
1156 (writev): Define unconditionally as alias of __writev.
1157 * sysdeps/unix/syscalls.list (readv): Do not define __libc_readv
1158 name.
1159 (writev): Do not define __libc_writev name.
1160
65b00b6c
RM
11612014-10-30 Roland McGrath <roland@hack.frob.com>
1162
1163 * iconv/iconv_charmap.c (add_bytes): Make IN argument pointer to const.
1164 (convert_charseq): New function, broken out of ...
1165 (use_from_charmap): ... here. Call it.
1166 (use_to_charmap): Use convert_charseq and free instead of duplicating
1167 its code with a variable-length stack struct.
1168
d4e157aa
JM
11692014-10-30 Joseph Myers <joseph@codesourcery.com>
1170
1171 * include/fcntl.h (__libc_creat): Remove declaration.
1172 * io/creat.c (__libc_creat): Rename to creat.
1173 (creat): Do not define as alias.
1174 * sysdeps/unix/sysv/linux/alpha/creat.c (creat64): Define as alias
1175 of creat instead of __libc_creat.
1176 * sysdeps/unix/sysv/linux/generic/creat.c (__libc_creat): Rename
1177 to creat.
1178 (creat): Do not define as alias.
1179 [__WORDSIZE == 64] (creat64): Define as alias of creat instead of
1180 __libc_creat.
1181 * sysdeps/unix/sysv/linux/syscalls.list (creat): Do not define
1182 __libc_creat name.
1183 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (creat):
1184 Likewise.
1185
0c6891a0
CD
11862014-10-29 Carlos O'Donell <carlos@redhat.com>
1187
1188 * manual/llio.texi: Add comments discussing why write() may be
1189 considered MT-unsafe on Linux.
1190
cc00cece
CD
11912014-10-28 Carlos O'Donell <carlos@redhat.com>
1192
1193 * dl-load.c (local_strdup): Remove.
1194 (expand_dynamic_string_token): Use __strdup.
1195 (decompose_rpath): Likewise.
1196 (_dl_map_object): Likewise.
1197
51e623f2
JM
11982014-10-28 Joseph Myers <joseph@codesourcery.com>
1199
1200 [BZ #14132]
1201 * sysdeps/generic/unwind-dw2-fde.c
1202 (__register_frame_info_bases_internal): Do not declare.
1203 (__register_frame_info_table_bases_internal): Likewise.
1204 (__deregister_frame_info_bases_internal): Likewise.
1205 (__register_frame_info_bases): Declare and use hidden_proto before
1206 definition. Use hidden_def instead of INTDEF.
1207 (__register_frame_info_table_bases): Likewise.
1208 (__deregister_frame_info_bases): Likewise.
1209 (__register_frame_info): Do not use INTUSE.
1210 (__register_frame): Likewise.
1211 (__register_frame_info_table): Likewise.
1212 (__register_frame_table): Likewise.
1213 (__deregister_frame_info): Likewise.
1214 (__deregister_frame): Likewise.
1215
03d41216
GC
12162014-10-27 Gratian Crisan <gratian.crisan@ni.com>
1217
1218 * sysdeps/unix/sysv/linux/arm/kernel-features.h
1219 [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_FUTEX_LOCK_PI): Do
1220 not undefine.
1221 [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_REQUEUE_PI):
1222 Likewise.
1223 [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_SET_ROBUST_LIST):
1224 Likewise.
1225
a4b3624d
JM
12262014-10-27 Joseph Myers <joseph@codesourcery.com>
1227
1228 [BZ #14138]
1229 * sysdeps/unix/sysv/linux/arm/setfsgid.c: Remove file.
1230 * sysdeps/unix/sysv/linux/arm/setfsuid.c: Likewise.
1231 * sysdeps/unix/sysv/linux/i386/setfsgid.c: Likewise.
1232 * sysdeps/unix/sysv/linux/i386/setfsuid.c: Likewise.
1233 * sysdeps/unix/sysv/linux/m68k/setfsgid.c: Likewise.
1234 * sysdeps/unix/sysv/linux/m68k/setfsuid.c: Likewise.
1235 * sysdeps/unix/sysv/linux/s390/s390-32/setfsgid.c: Likewise.
1236 * sysdeps/unix/sysv/linux/s390/s390-32/setfsuid.c: Likewise.
1237 * sysdeps/unix/sysv/linux/sh/setfsgid.c: Likewise.
1238 * sysdeps/unix/sysv/linux/sh/setfsuid.c: Likewise.
1239 * sysdeps/unix/sysv/linux/sparc/sparc32/setfsgid.c: Likewise.
1240 * sysdeps/unix/sysv/linux/sparc/sparc32/setfsuid.c: Likewise.
1241 * sysdeps/unix/sysv/linux/arm/syscalls.list (setfsgid): Add
1242 syscall.
1243 (setfsuid): Likewise.
1244 * sysdeps/unix/sysv/linux/i386/syscalls.list (setfsgid): Likewise.
1245 (setfsuid): Likewise.
1246 * sysdeps/unix/sysv/linux/m68k/syscalls.list (setfsgid): Likewise.
1247 (setfsuid): Likewise.
1248 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (setfsgid):
1249 Likewise.
1250 (setfsuid): Likewise.
1251 * sysdeps/unix/sysv/linux/sh/syscalls.list (setfsgid): Likewise.
1252 (setfsuid): Likewise.
1253 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (setfsgid):
1254 Likewise.
1255 (setfsuid): Likewise.
1256
3574f2fd
AS
12572014-10-27 Andreas Schwab <schwab@suse.de>
1258
1259 [BZ #17501]
1260 * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Fix
1261 check for Slow_SSE4_2 feature bit.
1262 * sysdeps/i386/i686/multiarch/strcmp.S (STRCMP): Likewise.
1263 * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
1264 * sysdeps/x86_64/multiarch/strcmp.S (STRCMP, __strcascmp):
1265 Likewise. Fix check for Fast_Unaligned_Load feature bit.
1266
70996a37
RM
12672014-10-24 Roland McGrath <roland@hack.frob.com>
1268
461a7b1e
RM
1269 * configure.ac: Validate compiler version with a empirical test of
1270 __GNUC__ and __GNUC_MINOR__ predefined values, rather than by grepping
1271 $CC -v output.
1272 * configure: Regenerated.
1273
70996a37
RM
1274 * inet/htons.c (htons): Prototypify.
1275 * inet/htonl.c (htonl): Likewise.
1276
e80514b5
WD
12772014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
1278
1279 * string/strncat.c (strncat): Improve performance by using strlen.
1280
6e46de42
WD
12812014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
1282
1283 * string/strcat.c (strcat): Improve performance by using strlen/strcpy.
1284
6a9ad2fa
WD
12852014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
1286
1287 * sysdeps/aarch64/fpu/fgetexcptflg.c (fegetexceptflag):
1288 Call libc_fetestexcept_aarch64.
1289
1c8810ed
WD
12902014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
1291
1292 * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept):
1293 Call libc_feholdexcept_aarch64.
1294
8b1af712
WD
12952014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
1296
1297 * sysdeps/aarch64/fpu/fegetround.c (fegetround):
1298 Call get_rounding_mode.
1299
a7b00c11
WD
13002014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
1301
1302 * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept):
1303 Simplify logic.
1304
3a84f1a6
WD
13052014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
1306
1307 * sysdeps/aarch64/fpu/fedisblxcpt.c (fedisableexcept):
1308 Simplify logic.
1309
48eb7a94
JM
13102014-10-24 Joseph Myers <joseph@codesourcery.com>
1311
c8bc4038
JM
1312 [BZ #14138]
1313 * sysdeps/unix/sysv/linux/arm/getegid.c: Remove file.
1314 * sysdeps/unix/sysv/linux/arm/geteuid.c: Likewise.
1315 * sysdeps/unix/sysv/linux/arm/getgid.c: Likewise.
1316 * sysdeps/unix/sysv/linux/arm/getgroups.c: Likewise.
1317 * sysdeps/unix/sysv/linux/arm/getresgid.c: Likewise.
1318 * sysdeps/unix/sysv/linux/arm/getresuid.c: Likewise.
1319 * sysdeps/unix/sysv/linux/arm/getuid.c: Likewise.
1320 * sysdeps/unix/sysv/linux/i386/getegid.c: Likewise.
1321 * sysdeps/unix/sysv/linux/i386/geteuid.c: Likewise.
1322 * sysdeps/unix/sysv/linux/i386/getgid.c: Likewise.
1323 * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
1324 * sysdeps/unix/sysv/linux/i386/getresgid.c: Likewise.
1325 * sysdeps/unix/sysv/linux/i386/getresuid.c: Likewise.
1326 * sysdeps/unix/sysv/linux/i386/getuid.c: Likewise.
1327 * sysdeps/unix/sysv/linux/m68k/getegid.c: Likewise.
1328 * sysdeps/unix/sysv/linux/m68k/geteuid.c: Likewise.
1329 * sysdeps/unix/sysv/linux/m68k/getgid.c: Likewise.
1330 * sysdeps/unix/sysv/linux/m68k/getgroups.c: Likewise.
1331 * sysdeps/unix/sysv/linux/m68k/getresgid.c: Likewise.
1332 * sysdeps/unix/sysv/linux/m68k/getresuid.c: Likewise.
1333 * sysdeps/unix/sysv/linux/m68k/getuid.c: Likewise.
1334 * sysdeps/unix/sysv/linux/s390/s390-32/getegid.c: Likewise.
1335 * sysdeps/unix/sysv/linux/s390/s390-32/geteuid.c: Likewise.
1336 * sysdeps/unix/sysv/linux/s390/s390-32/getgid.c: Likewise.
1337 * sysdeps/unix/sysv/linux/s390/s390-32/getgroups.c: Likewise.
1338 * sysdeps/unix/sysv/linux/s390/s390-32/getresgid.c: Likewise.
1339 * sysdeps/unix/sysv/linux/s390/s390-32/getresuid.c: Likewise.
1340 * sysdeps/unix/sysv/linux/s390/s390-32/getuid.c: Likewise.
1341 * sysdeps/unix/sysv/linux/sh/getegid.c: Likewise.
1342 * sysdeps/unix/sysv/linux/sh/geteuid.c: Likewise.
1343 * sysdeps/unix/sysv/linux/sh/getgid.c: Likewise.
1344 * sysdeps/unix/sysv/linux/sh/getgroups.c: Likewise.
1345 * sysdeps/unix/sysv/linux/sh/getresgid.c: Likewise.
1346 * sysdeps/unix/sysv/linux/sh/getresuid.c: Likewise.
1347 * sysdeps/unix/sysv/linux/sh/getuid.c: Likewise.
1348 * sysdeps/unix/sysv/linux/sparc/sparc32/getegid.c: Likewise.
1349 * sysdeps/unix/sysv/linux/sparc/sparc32/geteuid.c: Likewise.
1350 * sysdeps/unix/sysv/linux/sparc/sparc32/getgid.c: Likewise.
1351 * sysdeps/unix/sysv/linux/sparc/sparc32/getgroups.c: Likewise.
1352 * sysdeps/unix/sysv/linux/sparc/sparc32/getuid.c: Likewise.
1353 * sysdeps/unix/sysv/linux/arm/syscalls.list (getegid): Add
1354 syscall.
1355 (geteuid): Likewise.
1356 (getgid): Likewise.
1357 (getuid): Likewise.
1358 (getresgid): Likewise.
1359 (getresuid): Likewise.
1360 (getgroups): Likewise.
1361 * sysdeps/unix/sysv/linux/i386/syscalls.list (getegid): Likewise.
1362 (geteuid): Likewise.
1363 (getgid): Likewise.
1364 (getuid): Likewise.
1365 (getresgid): Likewise.
1366 (getresuid): Likewise.
1367 (getgroups): Likewise.
1368 * sysdeps/unix/sysv/linux/m68k/syscalls.list (getegid): Likewise.
1369 (geteuid): Likewise.
1370 (getgid): Likewise.
1371 (getuid): Likewise.
1372 (getresgid): Likewise.
1373 (getresuid): Likewise.
1374 (getgroups): Likewise.
1375 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (getegid):
1376 Likewise.
1377 (geteuid): Likewise.
1378 (getgid): Likewise.
1379 (getuid): Likewise.
1380 (getresgid): Likewise.
1381 (getresuid): Likewise.
1382 (getgroups): Likewise.
1383 * sysdeps/unix/sysv/linux/sh/syscalls.list (getegid): Likewise.
1384 (geteuid): Likewise.
1385 (getgid): Likewise.
1386 (getuid): Likewise.
1387 (getresgid): Likewise.
1388 (getresuid): Likewise.
1389 (getgroups): Likewise.
1390 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (getegid):
1391 Likewise.
1392 (geteuid): Likewise.
1393 (getgid): Likewise.
1394 (getuid): Likewise.
1395 (getgroups): Likewise.
1396
48eb7a94
JM
1397 [BZ #14138]
1398 * sysdeps/unix/sysv/linux/i386/chown.c: Remove file.
1399 * sysdeps/unix/sysv/linux/i386/fchown.c: Likewise.
1400 * sysdeps/unix/sysv/linux/i386/lchown.c: Likewise.
1401 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
1402 * sysdeps/unix/sysv/linux/s390/s390-32/fchown.c: Remove file.
1403 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Likewise.
1404 * sysdeps/unix/sysv/linux/sh/chown.c: Likewise.
1405 * sysdeps/unix/sysv/linux/sh/fchown.c: Likewise.
1406 * sysdeps/unix/sysv/linux/sh/lchown.c: Likewise.
1407 * sysdeps/unix/sysv/linux/sparc/sparc32/chown.c: Likewise.
1408 * sysdeps/unix/sysv/linux/sparc/sparc32/fchown.c: Likewise.
1409 * sysdeps/unix/sysv/linux/sparc/sparc32/lchown.c: Likewise.
1410 * sysdeps/unix/sysv/linux/s390/s390-32/Versions (GLIBC_2.1): Add
1411 __chown.
1412 * sysdeps/unix/sysv/linux/i386/syscalls.list (chown): Add syscall.
1413 (lchown): Likewise.
1414 (fchown): Likewise.
1415 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (chown):
1416 Likewise.
1417 (lchown): Likewise.
1418 (fchown): Likewise.
1419 * sysdeps/unix/sysv/linux/sh/syscalls.list (chown): Likewise.
1420 (lchown): Likewise.
1421 (fchown): Likewise.
1422 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (chown):
1423 Likewise.
1424 (lchown): Likewise.
1425 (fchown): Likewise.
1426
ea9a7c8b
WD
14272014-10-23 Wilco Dijkstra <wdijkstr@arm.com>
1428
1429 * sysdeps/aarch64/fpu/fclrexcpt.c (feclearexcept):
1430 Simplify logic.
1431
e226de33
WD
14322014-10-23 Wilco Dijkstra <wdijkstr@arm.com>
1433
1434 * sysdeps/aarch64/fpu/fsetexcptflg.c (fsetexceptflag):
1435 Cleanup logic.
1436
6e3d8ed3
WD
14372014-10-23 Wilco Dijkstra <wdijkstr@arm.com>
1438
1439 * sysdeps/aarch64/fpu/fsetexcptflg.c (fsetexceptflag):
1440 Remove unused include.
1441
eb04247d
WD
14422014-10-23 Wilco Dijkstra <wdijkstr@arm.com>
1443
1444 * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Remove spaces.
1445 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Remove spaces.
1446 * sysdeps/aarch64/fpu/fesetround.c (fesetround): Remove spaces.
1447 * sysdeps/aarch64/fpu/fraiseexcpt.c (feraiseexcept): Remove spaces.
1448
13d84554
CD
14492014-10-23 Carlos O'Donell <carlos@systemhalted.org>
1450 Helge Deller <deller@gmx.de>
1451
1452 [BZ #17508]
1453 * sysdeps/unix/sysv/linux/hppa/bits/signum.h: Remove SIGEMT.
1454 Define SIGSTKFLT as 7. Define SIGSYS as 31. Define SIGXCPU as 12.
1455 Remove SIGLOST. Define SIGXFSZ as 30. Define __SIGRTMIN as 32.
1456
15f9c5df
JM
14572014-10-23 Joseph Myers <joseph@codesourcery.com>
1458
1459 [BZ #14132]
1460 * sysdeps/powerpc/powerpc32/libgcc-compat.S (__ashldi3_v_glibc20):
1461 Remove macro definition.
1462 (__ashrdi3_v_glibc20): Likewise.
1463 (__lshrdi3_v_glibc20): Likewise.
1464 (__cmpdi2_v_glibc20): Likewise.
1465 (__ucmpdi2_v_glibc20): Likewise.
1466 [!_SOFT_FLOAT && !__NO_FPRS__] (__fixdfdi_v_glibc20): Likewise.
1467 [!_SOFT_FLOAT && !__NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
1468 [!_SOFT_FLOAT && !__NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
1469 [!_SOFT_FLOAT && !__NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
1470 [!_SOFT_FLOAT && !__NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
1471 [!_SOFT_FLOAT && !__NO_FPRS__] (__floatdisf_v_glibc20): Likewise.
1472
c6dfed24
RM
14732014-10-22 Roland McGrath <roland@hack.frob.com>
1474
1475 * inet/netgroup.h (struct name_list): Use C99 [] syntax rather than
1476 old GNU extension [0] syntax.
1477 * nscd/nscd_helper.c (open_socket): Use a flexible array member and
1478 alloca rather than an array member with variable length.
1479 * nscd/netgroupcache.c (addgetnetgrentX): Likewise.
1480 * nscd/nscd.c (invalidate_db): New function, broken out of ...
1481 (parse_opt): ... here. Likewise use alloca there.
1482 Validate the -i argument before checking for rootness.
1483 (send_shutdown): New function, broken out of ...
1484 (parse_opt): ... here.
1485
8c2b1ed8
RM
14862014-10-22 Roland McGrath <roland@hack.frob.com>
1487
1488 * sysdeps/arm/__longjmp.S [NEED_HWCAP] [IS_IN_rtld]: Use LDST_PCREL
1489 macro to get at the _rt_local_ro field.
1490 [NEED_HWCAP] [!IS_IN_rtld]: Use LDR_GLOBAL to get at _rtld_global_ro
1491 ([PIC] case) or _dl_hwcap ([!PIC] case).
1492 * sysdeps/arm/setjmp.S: Likewise.
1493
1494 * config.h.in (ARM_PCREL_MOVW_OK): New macro.
1495 * sysdeps/arm/configure.ac: New check to define it.
1496 * sysdeps/arm/configure: Regenerated.
1497 * sysdeps/arm/sysdep.h [__ASSEMBLER__]: Include <arm-features.h>.
1498 (LDST_INDEXED_NOINDEX, LDST_INDEXED_INDEX): New macros.
1499 (LDST_INDEXED, LDST_PC_INDEXED): New macros, differing definitions
1500 depending on [ARM_NO_INDEX_REGISTER] and [__thumb2__].
1501 (LDST_PCREL) [!__thumb2__ && ARCH_HAS_T2 && ARM_PCREL_MOVW_OK]:
1502 Use move/movt pair instead of a load.
1503 (LDST_GLOBAL): Macro removed.
1504 (LDR_GLOBAL): New macro replaces it.
1505 (LDR_HIDDEN): New macro.
1506 (PTR_MANGLE_LOAD): Use LDR_GLOBAL rather than LDST_GLOBAL.
1507 Use LDR_HIDDEN instead for __pointer_chk_guard_local.
1508
1509 * setjmp/tst-setjmp-static.c: New file.
1510 * setjmp/Makefile (tests): Add it.
1511 (tests-static): New variable.
1512
b5af9297
MR
15132014-10-22 Maciej W. Rozycki <macro@codesourcery.com>
1514
1515 [BZ #17485]
1516 * sysdeps/unix/sysv/linux/mips/vfork.S (__libc_vfork): Define.
1517
a13d0d74
JM
15182014-10-21 Joseph Myers <joseph@codesourcery.com>
1519
1520 [BZ #14132]
1521 * math/s_ldexpf.c (__ldexpf): Do not use INTDEF.
1522
f05e73f6
RM
15232014-10-21 Roland McGrath <roland@hack.frob.com>
1524
1525 * nptl/version.c (__nptl_main): Call __libc_write, not __write.
1526
6ab1d1ea
RM
15272014-10-20 Roland McGrath <roland@hack.frob.com>
1528
1529 * io/fts.c (dirent_not_directory): New function.
1530 (fts_build): Call it.
1531
ab49e763
RM
15322014-10-20 Roland McGrath <roland@hack.frob.com>
1533
e436eb79
RM
1534 * nptl/version.c (__nptl_main): Use normal __write rather than
1535 INTERNAL_SYSCALL.
1536 (banner): Update copyright years.
1537
6af246cf
RM
1538 * nptl/pthread_rwlock_timedrdlock.c: #include <sys/time.h> before using
1539 gettimeofday.
1540 * nptl/pthread_rwlock_timedwrlock.c: Likewise.
1541 * nptl/pthread_cond_timedwait.c: Likewise.
1542 * nptl/pthread_mutex_timedlock.c: Likewise.
1543 * nptl/sem_timedwait.c: Likewise.
1544
ab49e763
RM
1545 * sysdeps/nptl/bits/libc-lock.h
1546 [_LIBC && (!NOT_IN_libc || IS_IN_libpthread)]
1547 (__libc_lock_init_recursive): Return void, not 0.
1548 * sysdeps/nptl/bits/libc-lockP.h (__libc_lock_init): Likewise.
1549 (__libc_rwlock_init): Likewise.
1550 * sysdeps/nptl/bits/stdio-lock.h (_IO_lock_init): Likewise.
1551
f50277c1
TR
15522014-10-20 Torvald Riegel <triegel@redhat.com>
1553
1554 [BZ #15215]
1555 * nptl/pthread_once.c (__pthread_once): Split out fast path to ...
1556 (__pthread_once_slow): ... here.
1557 * sysdeps/unix/sysv/linux/i386/pthread_once.S: Remove file.
1558 * sysdeps/unix/sysv/linux/x86_64/pthread_once.S: Remove file.
1559
63668b70
TR
15602014-10-20 Torvald Riegel <triegel@redhat.com>
1561
1562 [BZ #15215]
1563 * nptl/pthreadP.h (__PTHREAD_ONCE_INPROGRESS, __PTHREAD_ONCE_DONE,
1564 __PTHREAD_ONCE_FORK_GEN_INCR): New.
1565 * sysdeps/nptl/fork.c (__libc_fork): Use them.
1566 * nptl/pthread_once.c (__pthread_once): Likewise.
1567 Update comments.
1568
42b7f5d4
JM
15692014-10-20 Joseph Myers <joseph@codesourcery.com>
1570
1571 [BZ #14138]
1572 * sysdeps/unix/syscalls.list (readv): Use __libc_readv as strong
1573 name.
1574 (writev): Use __libc_writev as strong name.
1575 * sysdeps/unix/sysv/linux/readv.c: Remove file.
1576 * sysdeps/unix/sysv/linux/writev.c: Likewise.
1577
b0643088
RM
15782014-10-17 Roland McGrath <roland@hack.frob.com>
1579
114c4e09
RM
1580 * nptl/createthread.c (TLS_DEFINE_INIT_TP, TLS_VALUE): Macros removed.
1581
674b8978
RM
1582 * sysdeps/i386/nptl/tls.h
1583 (THREAD_SELF_SYSINFO, THREAD_SYSINFO): Macros removed.
1584 [NEED_DL_SYSINFO] (SETUP_THREAD_SYSINFO, CHECK_THREAD_SYSINFO):
1585 New macros.
1586 * sysdeps/ia64/nptl/tls.h [NEED_DL_SYSINFO]
1587 (SETUP_THREAD_SYSINFO, CHECK_THREAD_SYSINFO): New macros.
1588 * nptl/allocatestack.c (allocate_stack) [NEED_DL_SYSINFO]:
1589 Call SETUP_THREAD_SYSINFO instead of doing an assignment.
1590 * nptl/createthread.c (create_thread) [NEED_DL_SYSINFO]:
1591 Call CHECK_THREAD_SYSINFO instead of doing an assert.
1592
184ee940
RM
1593 * nptl/nptl-init.c (__pthread_initialize_minimal_internal):
1594 Conditionalize FUTEX_PRIVATE_FLAG and FUTEX_CLOCK_REALTIME probes
1595 on [__NR_futex].
1596 * nptl/pthread_mutex_init.c (prio_inherit_missing): New function,
1597 broken out of ...
1598 (__pthread_mutex_init): ... here. Call it.
1599 * nptl/pthread_mutex_lock.c (__pthread_mutex_lock_full):
1600 Conditionalize PI cases on [__NR_futex].
1601 * nptl/pthread_mutex_timedlock.c (pthread_mutex_timedlock): Likewise.
1602 * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock): Likewise.
1603 * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_full): Likewise.
1604
327ae257
RM
1605 * nptl/nptl-init.c (sighandler_setxid, __xidcmd): Make definitions
1606 conditional on [SIGSETXID].
1607 (sigcancel_handler): Make definition conditional on [SIGCANCEL].
1608 (__pthread_initialize_minimal_internal): Set up SIGCANCEL only if it
1609 is defined. Likewise for SIGSETXID.
1610 * nptl/allocatestack.c (setxid_mark_thread, setxid_unmark_thread):
1611 Conditionalize definitions on [SIGSETXID].
1612 (setxid_signal_thread, __nptl_setxid_error, __nptl_setxid): Likewise.
1613 * nptl/pthread_create.c (start_thread): Conditionalize SIGCANCEL
1614 unblocking on [SIGCANCEL].
1615
b0643088
RM
1616 * nptl/nptl-init.c (__nptl_set_robust): Conditionalize body on
1617 [__NR_set_robust_list].
1618
33cc770b
SP
16192014-10-17 Siddhesh Poyarekar <siddhesh@redhat.com>
1620
1621 * string/strcoll_l.c (get_next_seq): Fix up formatting.
1622 (do_compare): Likewise.
1623
0742aef6
LH
16242014-10-17 Leonhard Holz <leonhard.holz@web.de>
1625
1626 [BZ #15884]
1627 * string/strcoll_l.c: Don't include stdio.h.
1628 (coll_seq): Remove members idxarr and rulearr.
1629 (get_next_seq_cached): Remove function.
1630 (get_next_seq): Likewise.
1631 (get_next_seq_nocache): Rename to get_next_seq.
1632 (do_compare): Remove function.
1633 (do_compare_nocache): Rename to do_compare.
1634 (STRCOLL): Remove weight and rules cache.
1635
ee54ce44
RM
16362014-10-16 Roland McGrath <roland@hack.frob.com>
1637
1638 * sysdeps/arm/soft-fp/sfp-machine.h: Filed moved ...
1639 * sysdeps/arm/sfp-machine.h: ... to here.
1640 * sysdeps/arm/Implies: Remove arm/soft-fp.
1641
a75d3b02
JM
16422014-10-14 Joseph Myers <joseph@codesourcery.com>
1643
1644 * conform/data/sys/utsname.h-data (*_t): Allow.
1645 * conform/data/sys/wait.h-data [POSIX] (uid_t): Do not define.
1646 [POSIX] (WEXITED): Do not expect constant.
1647 [POSIX] (WSTOPPED): Likewise.
1648 [POSIX] (WNOHANG): Likewise.
1649 [POSIX] (WNOWAIT): Likewise.
1650 [POSIX] (siginfo_t): Do not expect type or elements.
1651 [POSIX] (pid_t): Do not expect type.
1652 [POSIX] (signal.h): Do not allow header.
1653 [POSIX] (sys/resource.h): Likewise.
1654 [POSIX] (si_*): Do not allow pattern.
1655 [POSIX] (W*): Likewise.
1656 [POSIX] (P_*): Likewise.
1657 [POSIX] (BUS_*): Likewise.
1658 [POSIX] (CLD_*): Likewise.
1659 [POSIX] (FPE_*): Likewise.
1660 [POSIX] (ILL_*): Likewise.
1661 [POSIX] (POLL_*): Likewise.
1662 [POSIX] (SEGV_*): Likewise.
1663 [POSIX] (SI_*): Likewise.
1664 [POSIX] (TRAP_*): Likewise.
1665 * conform/Makefile (test-xfail-POSIX/sys/wait.h/conform): New
1666 variable.
1667
fda389c8
SP
16682014-10-14 Paul Pluzhnikov <ppluzhnikov@google.com>
1669
1670 [BZ #12926]
1671 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Avoid
1672 infinite loop when __recvmsg returns 0.
1673
6bc6bd3b
JM
16742014-10-10 Joseph Myers <joseph@codesourcery.com>
1675
fcb32af1
JM
1676 * CANCEL-FCT-WAIVE: Remove file.
1677 * CANCEL-FILE-WAIVE: Likewise.
1678
6bc6bd3b
JM
1679 [BZ #14132]
1680 * elf/dl-sysdep.c (__libc_enable_secure): Use rtld_hidden_data_def
1681 instead of INTVARDEF.
1682 (_dl_sysdep_start): Do not use INTUSE with __libc_enable_secure.
1683 * sysdeps/mach/hurd/dl-sysdep.c (__libc_enable_secure): Use
1684 rtld_hidden_data_def instead of INTVARDEF.
1685 (_dl_sysdep_start): Do not use INTUSE with __libc_enable_secure.
1686 * elf/dl-deps.c (expand_dst): Likewise.
1687 * elf/dl-load.c (_dl_dst_count): Likewise.
1688 (_dl_dst_substitute): Likewise.
1689 (decompose_rpath): Likewise.
1690 (_dl_init_paths): Likewise.
1691 (open_path): Likewise.
1692 (_dl_map_object): Likewise.
1693 * elf/rtld.c (dl_main): Likewise.
1694 (process_dl_audit): Likewise.
1695 (process_envvars): Likewise.
1696 * include/unistd.h [IS_IN_rtld] (__libc_enable_secure_internal):
1697 Remove declaration.
1698 (__libc_enable_secure): Use rtld_hidden_proto.
1699
b8c80a7e
KS
17002014-10-09 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
1701
1702 * elf/dl-load.c
1703 (add_path): New function broken out of _dl_rtld_di_serinfo.
1704 (_dl_rtld_di_serinfo): Remove that nested function. Update call sites.
1705
ff12c11f
JM
17062014-10-09 Joseph Myers <joseph@codesourcery.com>
1707
5c0508a3
JM
1708 * soft-fp/double.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_D): Use
1709 parentheses around macro arguments.
1710 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_DP): Likewise.
1711 [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_D): Likewise.
1712 [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_DP): Likewise.
1713 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_D): Likewise.
1714 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_DP): Likewise.
1715 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_D): Likewise.
1716 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_DP): Likewise.
1717 [_FP_W_TYPE_SIZE < 64] (FP_PACK_D): Likewise.
1718 [_FP_W_TYPE_SIZE < 64] (FP_PACK_DP): Likewise.
1719 [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_D): Likewise.
1720 [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_DP): Likewise.
1721 [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_D): Likewise.
1722 [_FP_W_TYPE_SIZE < 64] (FP_CMP_D): Likewise.
1723 [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_D): Likewise.
1724 [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_D): Likewise.
1725 [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_D): Likewise.
1726 [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_D): Likewise.
1727 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_D): Likewise.
1728 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_DP): Likewise.
1729 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_D): Likewise.
1730 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_DP): Likewise.
1731 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_D): Likewise.
1732 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_DP): Likewise.
1733 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_D): Likewise.
1734 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_DP): Likewise.
1735 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_D): Likewise.
1736 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_DP): Likewise.
1737 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_D): Likewise.
1738 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_DP): Likewise.
1739 [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_D): Likewise.
1740 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_D): Likewise.
1741 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_D): Likewise.
1742 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_D): Likewise.
1743 [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_D): Likewise.
1744 [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_D): Likewise.
1745 * soft-fp/extended.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_E):
1746 Likewise.
1747 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_EP): Likewise.
1748 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_E): Likewise.
1749 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_EP): Likewise.
1750 [_FP_W_TYPE_SIZE < 64] (FP_PACK_E): Likewise.
1751 [_FP_W_TYPE_SIZE < 64] (FP_PACK_EP): Likewise.
1752 [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_E): Likewise.
1753 [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_EP): Likewise.
1754 [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_E): Likewise.
1755 [_FP_W_TYPE_SIZE < 64] (FP_CMP_E): Likewise.
1756 [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_E): Likewise.
1757 [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_E): Likewise.
1758 [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_E): Likewise.
1759 [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_E): Likewise.
1760 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_E): Likewise.
1761 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_EP): Likewise.
1762 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_E): Likewise.
1763 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_EP): Likewise.
1764 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_E): Likewise.
1765 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_EP): Likewise.
1766 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_E): Likewise.
1767 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_EP): Likewise.
1768 [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_E): Likewise.
1769 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_E): Likewise.
1770 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_E): Likewise.
1771 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_E): Likewise.
1772 [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_E): Likewise.
1773 [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_E): Likewise.
1774 * soft-fp/op-1.h (_FP_FRAC_SRST_1): Likewise.
1775 (_FP_FRAC_SRS_1): Likewise.
1776 (_FP_FRAC_CLZ_1): Likewise.
1777 (_FP_MUL_MEAT_1_imm): Likewise.
1778 (_FP_MUL_MEAT_1_wide): Likewise.
1779 (_FP_MUL_MEAT_1_hard): Likewise.
1780 (_FP_SQRT_MEAT_1): Likewise.
1781 (_FP_FRAC_ASSEMBLE_1): Likewise.
1782 (_FP_FRAC_DISASSEMBLE_1): Likewise.
1783 * soft-fp/op-2.h (_FP_FRAC_CLZ_2): Likewise.
1784 (__FP_CLZ_2): Likewise.
1785 (_FP_MUL_MEAT_2_wide): Likewise.
1786 (_FP_MUL_MEAT_2_wide_3mul): Likewise.
1787 (_FP_MUL_MEAT_2_gmp): Likewise.
1788 (_FP_MUL_MEAT_2_120_240_double): Likewise.
1789 (_FP_SQRT_MEAT_2): Likewise.
1790 (_FP_FRAC_ASSEMBLE_2): Likewise.
1791 (_FP_FRAC_DISASSEMBLE_2): Likewise.
1792 * soft-fp/op-4.h (_FP_FRAC_SRS_4): Likewise.
1793 (_FP_FRAC_CLZ_4): Likewise.
1794 (_FP_MUL_MEAT_4_wide): Likewise.
1795 (_FP_MUL_MEAT_4_gmp): Likewise.
1796 (_FP_SQRT_MEAT_4): Likewise.
1797 (_FP_FRAC_ASSEMBLE_4): Likewise.
1798 (_FP_FRAC_DISASSEMBLE_4): Likewise.
1799 * soft-fp/op-common.h (_FP_CMP): Likewise.
1800 (_FP_CMP_EQ): Likewise.
1801 (_FP_CMP_UNORD): Likewise.
1802 (_FP_TO_INT): Likewise.
1803 (_FP_FROM_INT): Likewise.
1804 [!__FP_CLZ] (__FP_CLZ): Likewise.
1805 (_FP_DIV_HELP_imm): Likewise.
1806 * soft-fp/quad.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_Q):
1807 Likewise.
1808 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_QP): Likewise.
1809 [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_Q): Likewise.
1810 [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_QP): Likewise.
1811 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_Q): Likewise.
1812 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_QP): Likewise.
1813 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_Q): Likewise.
1814 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_QP): Likewise.
1815 [_FP_W_TYPE_SIZE < 64] (FP_PACK_Q): Likewise.
1816 [_FP_W_TYPE_SIZE < 64] (FP_PACK_QP): Likewise.
1817 [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_Q): Likewise.
1818 [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_QP): Likewise.
1819 [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_Q): Likewise.
1820 [_FP_W_TYPE_SIZE < 64] (FP_CMP_Q): Likewise.
1821 [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_Q): Likewise.
1822 [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_Q): Likewise.
1823 [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_Q): Likewise.
1824 [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_Q): Likewise.
1825 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_Q): Likewise.
1826 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_QP): Likewise.
1827 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_Q): Likewise.
1828 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_QP): Likewise.
1829 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_Q): Likewise.
1830 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_QP): Likewise.
1831 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_Q): Likewise.
1832 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_QP): Likewise.
1833 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_Q): Likewise.
1834 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_QP): Likewise.
1835 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_Q): Likewise.
1836 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_QP): Likewise.
1837 [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_Q): Likewise.
1838 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_Q): Likewise.
1839 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_Q): Likewise.
1840 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_Q): Likewise.
1841 [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_Q): Likewise.
1842 [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_Q): Likewise.
1843 * soft-fp/single.h (FP_UNPACK_RAW_S): Likewise.
1844 (FP_UNPACK_RAW_SP): Likewise.
1845 (FP_PACK_RAW_S): Likewise.
1846 (FP_PACK_RAW_SP): Likewise.
1847 (FP_UNPACK_S): Likewise.
1848 (FP_UNPACK_SP): Likewise.
1849 (FP_UNPACK_SEMIRAW_S): Likewise.
1850 (FP_UNPACK_SEMIRAW_SP): Likewise.
1851 (FP_PACK_S): Likewise.
1852 (FP_PACK_SP): Likewise.
1853 (FP_PACK_SEMIRAW_S): Likewise.
1854 (FP_PACK_SEMIRAW_SP): Likewise.
1855 (_FP_SQRT_MEAT_S): Likewise.
1856 (FP_CMP_S): Likewise.
1857 (FP_CMP_EQ_S): Likewise.
1858 (FP_CMP_UNORD_S): Likewise.
1859 (FP_TO_INT_S): Likewise.
1860 (FP_FROM_INT_S): Likewise.
1861
a736ec37
JM
1862 * soft-fp/op-common.h (_FP_TO_INT): Handle rsigned == 2.
1863
ff12c11f
JM
1864 * soft-fp/soft-fp.h (FP_EX_INVALID_SNAN): New macro.
1865 (FP_EX_INVALID_IMZ): Likewise.
1866 (FP_EX_INVALID_IMZ_FMA): Likewise.
1867 (FP_EX_INVALID_ISI): Likewise.
1868 (FP_EX_INVALID_ZDZ): Likewise.
1869 (FP_EX_INVALID_IDI): Likewise.
1870 (FP_EX_INVALID_SQRT): Likewise.
1871 (FP_EX_INVALID_CVI): Likewise.
1872 (FP_EX_INVALID_VC): Likewise.
1873 * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Specify more precise
1874 "invalid" exceptions.
1875 (_FP_CHECK_SIGNAN_SEMIRAW): Likewise.
1876 (_FP_ADD_INTERNAL): Likewise.
1877 (_FP_MUL): Likewise.
1878 (_FP_FMA): Likewise.
1879 (_FP_DIV): Likewise.
1880 (_FP_CMP_CHECK_NAN): Likewise.
1881 (_FP_SQRT): Likewise.
1882 (_FP_TO_INT): Likewise.
1883 (FP_EXTEND): Likewise.
1884
b6dcfe8c
AM
18852014-10-09 Allan McRae <allan@archlinux.org>
1886
1887 * po/fr.po: Update French translation from translation project.
1888
2d6a47ba
JM
18892014-10-09 Joseph Myers <joseph@codesourcery.com>
1890
cb831245
JM
1891 [BZ #14132]
1892 * stdlib/cxa_atexit.c (__cxa_atexit): Use libc_hidden_def instead
1893 of INTDEF.
1894 * include/stdlib.h (__cxa_atexit_internal): Remove declaration.
1895 (__cxa_atexit): Use libc_hidden_proto.
1896 [!NOT_IN_libc] (__cxa_atexit): Remove macro definition.
1897
5deeb190
JM
1898 [BZ #14132]
1899 * include/wctype.h [!_ISOMAC] (__iswalpha_l_internal): Remove
1900 declaration.
1901 [!_ISOMAC] (__iswdigit_l_internal): Likewise.
1902 [!_ISOMAC] (__iswspace_l_internal): Likewise.
1903 [!_ISOMAC] (__iswxdigit_l_internal): Likewise.
1904 [!_ISOMAC] (__iswctype_internal): Likewise.
1905 * stdio-common/siglist.c (_sys_siglist_internal): Remove alias.
1906 * sysdeps/unix/syscalls.list (chown): Remove __chown_internal
1907 alias.
1908 (fcntl): Remove __fcntl_internal alias.
1909 * sysdeps/unix/sysv/linux/hppa/syscalls.list (connect): Remove
1910 __connect_internal alias.
1911 * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list (connect):
1912 Likewise.
1913
454ac701
JM
1914 * soft-fp/soft-fp.h (FP_DENORM_ZERO): New macro.
1915 * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Check
1916 FP_DENORM_ZERO.
1917 (_FP_CHECK_FLUSH_ZERO): New macro.
1918 (_FP_ADD_INTERNAL): Call _FP_CHECK_FLUSH_ZERO.
1919 (_FP_CMP): Likewise.
1920 (_FP_CMP_EQ): Likewise.
1921 (_FP_TO_INT): Do not set inexact for subnormal arguments if
1922 FP_DENORM_ZERO.
1923 (FP_EXTEND): Call _FP_CHECK_FLUSH_ZERO.
1924 (FP_TRUNC): Likewise.
1925
0022e688
JM
1926 * soft-fp/op-common.h (_FP_TO_INT): Ensure maximum exponent is
1927 treated as invalid conversion, not as normal exponent.
1928
73e28d9c
JM
1929 * soft-fp/op-common.h (_FP_CMP_CHECK_NAN): New macro.
1930 (_FP_CMP): Add extra argument EX. Call _FP_CMP_CHECK_NAN.
1931 (_FP_CMP_EQ): Likewise.
1932 (_FP_CMP_UNORD): Likewise.
1933 * soft-fp/double.h (FP_CMP_D): Add extra argument EX.
1934 (FP_CMP_EQ_D): Likewise.
1935 (FP_CMP_UNORD_D): Likewise.
1936 * soft-fp/extended.h (FP_CMP_E): Likewise.
1937 (FP_CMP_EQ_E): Likewise.
1938 (FP_CMP_UNORD_E): Likewise.
1939 * soft-fp/quad.h (FP_CMP_Q): Likewise.
1940 (FP_CMP_EQ_Q): Likewise.
1941 (FP_CMP_UNORD_Q): Likewise.
1942 * soft-fp/single.h (FP_CMP_S): Likewise.
1943 (FP_CMP_EQ_S): Likewise.
1944 (FP_CMP_UNORD_S): Likewise.
1945 * soft-fp/eqdf2.c (__eqdf2): Update call to FP_CMP_EQ_D.
1946 * soft-fp/eqsf2.c (__eqsf2): Update call to FP_CMP_EQ_S.
1947 * soft-fp/eqtf2.c (__eqtf2): Update call to FP_CMP_EQ_Q.
1948 * soft-fp/gedf2.c (__gedf2): Update call to FP_CMP_D.
1949 * soft-fp/gesf2.c (__gesf2): Update call to FP_CMP_S.
1950 * soft-fp/getf2.c (__getf2): Update call to FP_CMP_Q.
1951 * soft-fp/ledf2.c (__ledf2): Update call to FP_CMP_D.
1952 * soft-fp/lesf2.c (__lesf2): Update call to FP_CMP_S.
1953 * soft-fp/letf2.c (__letf2): Update call to FP_CMP_Q.
1954 * soft-fp/unorddf2.c (__unorddf2): Update call to FP_CMP_UNORD_D.
1955 * soft-fp/unordsf2.c (__unordsf2): Update call to FP_CMP_UNORD_S.
1956 * soft-fp/unordtf2.c (__unordtf2): Update call to FP_CMP_UNORD_Q.
1957 * sysdeps/alpha/soft-fp/ots_cmpe.c (internal_compare): Update call
1958 to FP_CMP_Q.
1959 * sysdeps/sparc/sparc32/soft-fp/q_cmp.c (_Q_cmp): Update call to
1960 FP_CMP_Q.
1961 * sysdeps/sparc/sparc32/soft-fp/q_cmpe.c (_Q_cmpe): Likewise.
1962 * sysdeps/sparc/sparc32/soft-fp/q_feq.c (_Q_feq): Update call to
1963 FP_CMP_EQ_Q.
1964 * sysdeps/sparc/sparc32/soft-fp/q_fge.c (_Q_fge): Update call to
1965 FP_CMP_Q.
1966 * sysdeps/sparc/sparc32/soft-fp/q_fgt.c (_Q_fgt): Likewise.
1967 * sysdeps/sparc/sparc32/soft-fp/q_fle.c (_Q_fle): Likewise.
1968 * sysdeps/sparc/sparc32/soft-fp/q_flt.c (_Q_flt): Likewise.
1969 * sysdeps/sparc/sparc32/soft-fp/q_fne.c (_Q_fne): Update call to
1970 FP_CMP_EQ_Q.
1971 * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c (_Qp_cmp): Update call to
1972 FP_CMP_Q.
1973 * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c (_Qp_cmpe): Likewise.
1974 * sysdeps/sparc/sparc64/soft-fp/qp_feq.c (_Qp_feq): Update call to
1975 FP_CMP_EQ_Q.
1976 * sysdeps/sparc/sparc64/soft-fp/qp_fge.c (_Qp_fge): Update call to
1977 FP_CMP_Q.
1978 * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c (_Qp_fgt): Likewise.
1979 * sysdeps/sparc/sparc64/soft-fp/qp_fle.c (_Qp_fle): Likewise.
1980 * sysdeps/sparc/sparc64/soft-fp/qp_flt.c (_Qp_flt): Likewise.
1981 * sysdeps/sparc/sparc64/soft-fp/qp_fne.c (_Qp_fne): Update call to
1982 FP_CMP_EQ_Q.
1983
43059f42
JM
1984 * soft-fp/op-common.h (FP_EXTEND): When a subnormal input produces
1985 a subnormal result, set the underflow exception if trapping on
1986 underflow is enabled.
1987 * soft-fp/soft-fp.h (FP_INIT_TRAPPING_EXCEPTIONS): New macro.
1988 (FP_INIT_EXCEPTIONS): Default to FP_INIT_TRAPPING_EXCEPTIONS.
1989 [FP_NO_EXACT_UNDERFLOW] (FP_TRAPPING_EXCEPTIONS): Undefine and
1990 redefine to 0.
1991 * soft-fp/extenddftf2.c (FP_NO_EXACT_UNDERFLOW): Define.
1992 * soft-fp/extendsfdf2.c (FP_NO_EXACT_UNDERFLOW): Likewise.
1993 * soft-fp/extendsftf2.c (FP_NO_EXACT_UNDERFLOW): Likewise.
1994 * soft-fp/extendxftf2.c (__extendxftf2): Use
1995 FP_INIT_TRAPPING_EXCEPTIONS instead of FP_INIT_ROUNDMODE.
1996
2d6a47ba
JM
1997 * soft-fp/soft-fp.h (FP_CLEAR_EXCEPTIONS): Remove macro.
1998 * sysdeps/sparc/sparc32/soft-fp/q_itoq.c: Define FP_NO_EXCEPTIONS.
1999 (_Q_itoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
2000 FP_HANDLE_EXCEPTIONS.
2001 * sysdeps/sparc/sparc32/soft-fp/q_lltoq.c: Define FP_NO_EXCEPTIONS.
2002 (_Q_lltoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
2003 FP_HANDLE_EXCEPTIONS.
2004 * sysdeps/sparc/sparc32/soft-fp/q_ulltoq.c: Define FP_NO_EXCEPTIONS.
2005 (_Q_ulltoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
2006 FP_HANDLE_EXCEPTIONS.
2007 * sysdeps/sparc/sparc32/soft-fp/q_utoq.c: Define FP_NO_EXCEPTIONS.
2008 (_Q_utoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
2009 FP_HANDLE_EXCEPTIONS.
2010
620f462e
JM
20112014-10-08 Joseph Myers <joseph@codesourcery.com>
2012
2013 [BZ #14132]
2014 * sysdeps/unix/sysv/linux/include/sys/timex.h: New file.
2015 * sysdeps/unix/sysv/linux/adjtime.c [!ADJTIMEX] (ADJTIMEX): Do not
2016 use INTUSE.
2017 [!ADJTIMEX] (INTUSE(__adjtimex)): Remove declaration.
2018 * sysdeps/unix/sysv/linux/alpha/adjtime.c (__adjtimex_internal):
2019 Remove alias.
2020 (__adjtimex): Define using libc_hidden_ver.
2021 * sysdeps/unix/sysv/linux/ntp_gettime.c (INTUSE(__adjtimex)):
2022 Remove declaration.
2023 (ntp_gettime): Call __adjtimex directly.
2024 * sysdeps/unix/sysv/linux/ntp_gettimex.c (INTUSE(__adjtimex)):
2025 Remove declaration.
2026 (ntp_gettimex): Call __adjtimex directly.
2027 * sysdeps/unix/sysv/linux/syscalls.list (adjtimex): Remove
2028 __adjtimex_internal alias.
2029
c763c5d2
RM
20302014-10-08 Roland McGrath <roland@hack.frob.com>
2031
2032 [BZ #17460]
2033 * nscd/nscd.c (more_help): Rewrite list of tables collection
2034 using xstrdup and asprintf.
2035
2036 * nscd/nscd_conf.c: Remove local xstrdup declaration.
2037
7b8fb2b8
RM
20382014-10-08 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
2039 Roland McGrath <roland@hack.frob.com>
2040
2041 * elf/dl-lookup.c (enter_unique_sym): New function, broken out of ...
2042 (do_lookup_unique): ... local function 'enter' here; update callers.
2043
abb280f7
JM
20442014-10-06 Joseph Myers <joseph@codesourcery.com>
2045
f7b42517
JM
2046 * sysdeps/unix/make-syscalls.sh (emit_weak_aliases): Condition
2047 compat_symbol calls on [SHARED].
2048 * sysdeps/unix/sysv/linux/powerpc/lchown.S: Remove file.
2049 * sysdeps/unix/sysv/linux/i386/syscalls.list (oldsetrlimit):
2050 Remove.
2051 (setrlimit): Add setrlimit@GLIBC_2.0 alias.
2052 * sysdeps/unix/sysv/linux/m68k/m680x0/syscalls.list
2053 (oldsetrlimit): Remove.
2054 (setrlimit): Add setrlimit@GLIBC_2.0 alias.
2055 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list
2056 (lchown): New syscall entry.
2057 (oldsetrlimit): Remove.
2058 (setrlimit): Add setrlimit@GLIBC_2.0 alias.
2059 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list
2060 (oldsetrlimit): Remove.
2061 (setrlimit): Add setrlimit@GLIBC_2.0 alias.
2062
abb280f7
JM
2063 [BZ #14138]
2064 * sysdeps/unix/sysv/linux/arm/fchown.c: Remove file.
2065 * sysdeps/unix/sysv/linux/arm/lchown.c: Likewise.
2066 * sysdeps/unix/sysv/linux/m68k/fchown.c: Likewise.
2067 * sysdeps/unix/sysv/linux/m68k/lchown.c: Likewise.
2068 * sysdeps/unix/sysv/linux/powerpc/chown.c: Likewise.
2069 * sysdeps/unix/sysv/linux/arm/syscalls.list (lchown): Add syscall.
2070 (fchown): Likewise.
2071 * sysdeps/unix/sysv/linux/m68k/syscalls.list (lchown): Likewise.
2072 (fchown): Likewise.
2073 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list (chown):
2074 Likewise.
2075
47d46237
AZ
20762014-10-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2077
2078 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Remove file.
2079 * sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c
2080 (pthread_spin_unlock): Use __ARCH_REL_INSTR instead of
2081 __lll_rel_instr and __ARCH_ACQ_INSTR instead of __lll_acq_instr.
2082 * sysdeps/unix/sysv/linux/powerpc/sem_post.c (__new_sem_post):
2083 Likewise.
2084 (__old_sem_post): Likewise.
2085
20862014-10-06 Chris Metcalf <cmetcalf@tilera.com>
1c4c1a6f 2087
845a7343
CM
2088 * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_VSYSCALL): Define
2089 INLINE_VSYSCALL, INTERNAL_VSYSCALL, and
2090 HAVE_CLOCK_GETTIME_VSYSCALL macros.
2091 * sysdeps/unix/sysv/linux/tile/gettimeofday.c (__gettimeofday):
2092 Use INLINE_VSYSCALL macro.
2093 * sysdeps/unix/sysv/linux/tile/bits/libc-vdso: Add declaration of
2094 __vdso_clock_gettime.
2095 * sysdeps/unix/sysv/linux/tile/init-first.c
2096 (_libc_vdso_platform_setup): Set new __vdso_clock_gettime global.
2097 * sysdeps/unix/sysv/linux/tile/Versions (GLIBC_PRIVATE): Add
2098 __vdso_clock_gettime.
2099
83d641ef
CM
2100 * sysdeps/unix/sysv/linux/tile/clone.S (__clone): Fix code
2101 to set up frame more cleanly.
2102
d9cd52e6
CM
2103 * sysdeps/tile/memcmp.c: New file.
2104
4b68ea11
CM
2105 * sysdeps/unix/sysv/linux/tile/sysconf.c: New file.
2106
c86f7b80
CM
2107 * sysdeps/tile/tilegx/string-endian.h (STRSHIFT): New macro.
2108 * sysdeps/tile/tilegx/strcasestr.c: New file.
2109 * sysdeps/tile/tilegx/strnlen.c: New file.
2110 * sysdeps/tile/tilegx/strstr.c: New file.
2111
1c4c1a6f
CM
2112 * sysdeps/tile/tilegx/string-endian.h (copy_byte): Optimize.
2113
99d86ea3
AS
21142014-10-06 Arjun Shankar <arjun.is@lostca.se>
2115
2116 * nptl/tst-setuid3.c: Write errors to stdout.
2117
06210a44
KS
21182014-10-01 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
2119
2120 * elf/dl-deps.c
2121 (preload): New functions broken out of _dl_map_object_deps.
2122 (_dl_map_object_deps): Remove a nested function. Update call sites.
2123
6268f532
JM
21242014-10-01 Joseph Myers <joseph@codesourcery.com>
2125
2126 [BZ #14138]
2127 * sysdeps/unix/sysv/linux/execve.c: Remove file.
2128 * sysdeps/unix/sysv/linux/syscalls.list (execve): Add syscall.
2129
b925285f
SE
21302014-10-01 Steve Ellcey <sellcey@mips.com>
2131
2132 * sysdeps/mips/strcmp.S: New.
2133
754a15c6
JM
21342014-09-30 Joseph Myers <joseph@codesourcery.com>
2135
2136 [BZ #14138]
2137 * sysdeps/unix/sysv/linux/syscalls.list (fchownat): New syscall.
2138 (linkat): Likewise.
2139 (mkdirat): Likewise.
2140 (readlinkat): Likewise.
2141 (renameat): Likewise.
2142 (symlinkat): Likewise.
2143 (unlinkat): Likewise.
2144 * sysdeps/unix/sysv/linux/fchownat.c: Remove file.
2145 * sysdeps/unix/sysv/linux/linkat.c: Likewise.
2146 * sysdeps/unix/sysv/linux/mkdirat.c: Likewise.
2147 * sysdeps/unix/sysv/linux/readlinkat.c: Likewise.
2148 * sysdeps/unix/sysv/linux/renameat.c: Likewise.
2149 * sysdeps/unix/sysv/linux/symlinkat.c: Likewise.
2150 * sysdeps/unix/sysv/linux/unlinkat.c: Likewise.
2151
85bb81c9
WN
21522014-09-30 Will Newton <will.newton@linaro.org>
2153
dc6fe23b
WN
2154 * math/math.h: Define long double math functions if
2155 _LIBC_TEST is defined.
2156 * stdlib/tst-strtod-round.c: Define _LIBC_TEST.
2157
85bb81c9
WN
2158 * localedata/Makefile: Move assignment to tests-special
2159 into an ifdef testing run-built-tests.
2160 * timezone/Makefile: Likewise.
2161
b7e02da4
JM
21622014-09-29 Joseph Myers <joseph@codesourcery.com>
2163
2164 * sysdeps/x86/Makefile ($(objpfx)tst-ld-sse-use.out): Run script
2165 with $(BASH) not $(SHELL).
2166
62058ce6
CD
21672014-09-29 Carlos O'Donell <carlos@redhat.com>
2168 Matthew LeGendre <legendre1@llnl.gov>
2169
2170 [BZ #17411]
2171 * elf/dl-reloc.c (_dl_relocate_object): Allocate correct amount for
2172 l_reloc_result.
2173
8e257a29
KS
21742014-09-29 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
2175
2176 * stdio-common/printf_fp.c
2177 (hack_digit): New function, broken out of ...
2178 (__printf_fp): ... local function here. Update call sites.
2179 hack_digit now takes an additional parameter that is a pointer
2180 to a struct of the referenced locals. Those locals moved inside
2181 the struct and references updated.
2182
f4a58f0d
L
21832014-09-29 H.J. Lu <hongjiu.lu@intel.com>
2184
2185 * aclocal.m4: Require autoconf 2.69.
2186 * configure: Regenerated.
2187 * sysdeps/aarch64/configure: Likewise.
2188 * sysdeps/alpha/configure: Likewise.
2189 * sysdeps/arm/armv7/configure: Likewise.
2190 * sysdeps/arm/configure: Likewise.
2191 * sysdeps/ia64/configure: Likewise.
2192 * sysdeps/mach/configure: Likewise.
2193 * sysdeps/mips/configure: Likewise.
2194 * sysdeps/s390/configure: Likewise.
2195 * sysdeps/unix/sysv/linux/mips/configure: Likewise.
2196 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Likewise.
2197
2198 * sysdeps/alpha/configure.ac: Avoid empty lines at the end of
2199 file.
2200 * sysdeps/ia64/configure.ac: Likewise.
2201
93ae1eba
JM
22022014-09-26 Joseph Myers <joseph@codesourcery.com>
2203
1810d3ab
JM
2204 * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: Do not
2205 specify symbol version for ld.so. Do not include entry for
2206 libpthread.
2207 * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
2208 * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Likewise.
2209 * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
2210
93ae1eba
JM
2211 [BZ #14171]
2212 * Makeconfig [$(build-shared) = yes]
2213 ($(common-objpfx)soversions.mk): Don't handle SONAMEs specified in
2214 makefiles.
2215 [$(build-shared) = yes && $(soversions.mk-done) = t]
2216 ($(common-objpfx)gnu/lib-names.h): Remove rule.
2217 [$(build-shared) = yes && $(soversions.mk-done) = t]
2218 ($(common-objpfx)gnu/lib-names.stmp): Likewise. Split and moved
2219 to Makerules.
2220 [$(build-shared) = yes && $(soversions.mk-done) = t]
2221 (before-compile): Don't append $(common-objpfx)gnu/lib-names.h
2222 here.
2223 [$(build-shared) = yes && $(soversions.mk-done) = t]
2224 (common-generated): Don't append gnu/lib-names.h and
2225 gnu/lib-names.stmp here.
2226 * Makerules [$(build-shared) = yes && $(soversions.mk-done) = t]
2227 (lib-names-h-abi): New variable.
2228 [$(build-shared) = yes && $(soversions.mk-done) = t]
2229 (lib-names-stmp-abi): Likewise.
2230 [$(build-shared) = yes && $(soversions.mk-done) = t &&
2231 abi-variants] (before-compile): Append
2232 $(common-objpfx)$(lib-names-h-abi).
2233 [$(build-shared) = yes && $(soversions.mk-done) = t &&
2234 abi-variants] (common-generated): Append gnu/lib-names.h.
2235 [$(build-shared) = yes && $(soversions.mk-done) = t &&
2236 abi-variants] (install-others-nosubdir): Depend on
2237 $(inst_includedir)/$(lib-names-h-abi).
2238 [$(build-shared) = yes && $(soversions.mk-done) = t &&
2239 abi-variants] ($(common-objpfx)gnu/lib-names.h): New rule.
2240 [$(build-shared) = yes && $(soversions.mk-done) = t]
2241 ($(common-objpfx)$(lib-names-h-abi)): New rule.
2242 [$(build-shared) = yes && $(soversions.mk-done) = t]
2243 ($(common-objpfx)$(lib-names-stmp-abi)): Likewise.
2244 [$(build-shared) = yes && $(soversions.mk-done) = t]
2245 (common-generated): Append $(lib-names-h-abi) and
2246 $(lib-names-stmp-abi).
2247 * scripts/lib-names.awk: Do not handle multi being set.
2248 * sysdeps/unix/sysv/linux/aarch64/Makefile (abi-lp64-ld-soname):
2249 Remove variable.
2250 (abi-lp64_be-ld-soname): Likewise.
2251 * sysdeps/unix/sysv/linux/arm/Makefile (abi-soft-ld-soname):
2252 Likewise.
2253 (abi-hard-ld-soname): Likewise.
2254 * sysdeps/unix/sysv/linux/i386/shlib-versions: New file.
2255 * sysdeps/unix/sysv/linux/mips/Makefile (abi-o32_soft-ld-soname):
2256 Remove variable.
2257 (abi-o32_hard-ld-soname): Likewise.
2258 (abi-o32_soft_2008-ld-soname): Likewise.
2259 (abi-o32_hard_2008-ld-soname): Likewise.
2260 (abi-n32_soft-ld-soname): Likewise.
2261 (abi-n32_hard-ld-soname): Likewise.
2262 (abi-n32_soft_2008-ld-soname): Likewise.
2263 (abi-n32_hard_2008-ld-soname): Likewise.
2264 (abi-n64_soft-ld-soname): Likewise.
2265 (abi-n64_hard-ld-soname): Likewise.
2266 (abi-n64_soft_2008-ld-soname): Likewise.
2267 (abi-n64_hard_2008-ld-soname): Likewise.
2268 * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-64-v1-ld-soname):
2269 Likewise.
2270 (abi-64-v2-ld-soname): Likewise.
2271 * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: Add
2272 ld.so entries.
2273 * sysdeps/unix/sysv/linux/s390/Makefile (abi-64-ld-soname): Remove
2274 variable.
2275 * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Add ld.so
2276 entry.
2277 * sysdeps/unix/sysv/linux/x86/Makefile (abi-32-ld-soname): Remove
2278 variable.
2279 (abi-64-ld-soname): Likewise.
2280 (abi-x32-ld-soname): Likewise.
2281 * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Add ld.so
2282 entry.
2283 * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
2284
68870f12
JM
22852014-09-23 Joseph Myers <joseph@codesourcery.com>
2286
2287 [BZ #14138]
2288 * sysdeps/unix/sysv/linux/arm/setrlimit.c: Remove file.
2289 * sysdeps/unix/sysv/linux/i386/setrlimit.c: Likewise.
2290 * sysdeps/unix/sysv/linux/m68k/setrlimit.c: Likewise.
2291 * sysdeps/unix/sysv/linux/powerpc/setrlimit.c: Likewise.
2292 * sysdeps/unix/sysv/linux/s390/s390-32/setrlimit.c: Likewise.
2293 * sysdeps/unix/sysv/linux/sh/setrlimit.c: Likewise.
2294 * sysdeps/unix/sysv/linux/i386/syscalls.list (setrlimit): Add
2295 syscall entry for GLIBC_2.2 symbol version.
2296 * sysdeps/unix/sysv/linux/m68k/m680x0/syscalls.list (setrlimit):
2297 Likewise.
2298 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list
2299 (setrlimit): Likewise.
2300 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (setrlimit):
2301 Likewise.
2302
ea58f202
WN
23032014-09-23 Will Newton <will.newton@linaro.org>
2304
2305 * sysdeps/unix/sysv/linux/arm/bits/hwcap.h: Check for
2306 _LINUX_ARM_SYSDEP_H include guard too.
2307 * sysdeps/unix/sysv/linux/arm/sysdep.h (_SYS_AUXV_H): Remove
2308 define.
2309
69eb9a18
RV
23102014-09-20 Rasmus Villemoes <rv@rasmusvillemoes.dk>
2311
2312 * sysdeps/unix/sysv/linux/eventfd.c:
2313 Make first argument unsigned.
2314 * sysdeps/unix/sysv/linux/hppa/sys/eventfd.h: Likewise.
2315 * sysdeps/unix/sysv/linux/sys/eventfd.h: Likewise.
2316
20e5a5f7
OB
23172014-09-20 Ondřej Bílka <neleai@seznam.cz>
2318
2319 * socket/recvmmsg.c (recvmmsg): Drop const argument.
2320 * socket/sys/socket.h: Likewise
2321 * sysdeps/unix/sysv/linux/recvmmsg.c: Likewise.
2322
d3c827e7
AK
23232014-09-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
2324
2325 * stdlib/longlong.h: Add __udiv_w_sdiv prototype.
2326
fe1cc35a
AS
23272014-09-17 Arjun Shankar <arjun.is@lostca.se>
2328
2329 * time/tst-ftime.c: New test.
2330 * time/Makefile (tests): Add tst-ftime.
2331
4e8afe69
JM
23322014-09-17 Joseph Myers <joseph@codesourcery.com>
2333
c4fe3ea7
JM
2334 * soft-fp/extended.h: Fix comment formatting.
2335 * soft-fp/op-1.h: Likewise.
2336 * soft-fp/op-2.h: Likewise.
2337 * soft-fp/op-4.h: Likewise.
2338 * soft-fp/op-8.h: Likewise.
2339 * soft-fp/op-common.h: Likewise.
2340 * soft-fp/soft-fp.h: Likewise.
2341
4e8afe69
JM
2342 * soft-fp/op-common.h (_FP_TO_INT): Correct formatting.
2343
af296fcd
JM
23442014-09-16 Joseph Myers <joseph@codesourcery.com>
2345
2346 [BZ #6652]
2347 * Makeconfig (soversions-default-setname): Remove variable.
2348 ($(common-objpfx)soversions.i): Don't pass default_setname to
2349 soversions.awk.
2350 * Makerules ($(common-objpfx)abi-versions.h): Don't pass
2351 oldest_abi to abi-versions.awk.
2352 * config.h.in (GLIBC_OLDEST_ABI): Remove macro undefine.
2353 * config.make.in (oldest-abi): Remove variable.
2354 * configure.ac (--enable-oldest-abi): Remove configure option.
2355 * configure: Regenerated.
2356 * csu/version.c (banner) [GLIBC_OLDEST_ABI]: Remove conditional
2357 text.
2358 * scripts/abi-versions.awk: Do not handle oldest_abi variable.
2359 * scripts/soversions.awk: Do not handle default_setname variable.
2360 * sysdeps/mach/hurd/configure.ac: Do not handle oldest_abi
2361 variable.
2362 * sysdeps/mach/hurd/configure: Regenerated.
2363 * sysdeps/unix/sysv/linux/configure.ac: Do not handle oldest_abi
2364 variable.
2365 * sysdeps/unix/sysv/linux/configure: Regenerated.
2366
545583d6
SP
23672014-09-16 Siddhesh Poyarekar <siddhesh@redhat.com>
2368
d330b980
SP
2369 * elf/Makefile (CFLAGS-interp.c): Remove.
2370 ($(elf-objpfx)runtime-linker.h): Generate header with linker
2371 path string.
2372 * elf/interp.c: Include generated runtime-linker.h
2373
02657da2
SP
2374 * Makerules (lib%.so): Don't include $(+interp) in
2375 prerequisites.
2376 * elf/Makefile (CFLAGS-interp.c): Don't define NOT_IN_libc.
2377 * dlfcn/eval.c: Remove file.
2378
653b1080
SP
2379 * posix/getconf.c (vars): Don't check for _[SP]C_* and _CS
2380 macros.
2381
602f80ec
SP
2382 [BZ #17266]
2383 * misc/sys/cdefs.h: Define __extern_always_inline for clang
2384 4.2 and newer.
2385
545583d6
SP
2386 [BZ #17370]
2387 * libio/wfileops.c (do_ftell_wide): Free OUT on error path.
2388
884ddc50
SP
23892014-09-16 Siddhesh Poyarekar <siddhesh@redhat.com>
2390 Jakub Jelinek <jakub@redhat.com>
2391
2392 [BZ #17266]
2393 * libio/stdio.h: Check definition of __fortify_function
2394 instead of __extern_always_inline to include bits/stdio2.h.
2395 * math/bits/math-finite.h [__USE_XOPEN || __USE_ISOC99]: Also
2396 check if __extern_always_inline is defined.
2397 [__USE_MISC || __USE_XOPEN]: Likewise.
2398 [__USE_ISOC99] Likewise.
2399 * misc/sys/cdefs.h (__fortify_function): Define only if
2400 __extern_always_inline is defined.
2401 [!__cplusplus || __GNUC_PREREQ (4,3)]: Revert to defining
2402 __extern_always_inline and __extern_inline only for g++-4.3
2403 and newer or a compatible gcc.
2404
a7b87268
AS
24052014-09-15 Andreas Schwab <schwab@linux-m68k.org>
2406
2407 [BZ #17371]
2408 * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Fix
2409 last change to handle zero prefix length.
2410
3f41521d
SP
24112014-09-15 Siddhesh Poyarekar <siddhesh@redhat.com>
2412
61fe374a
SP
2413 * sysdeps/posix/sysconf.c (__sysconf): Return -1 for
2414 _SC_REGEX_VERSION.
2415
3f41521d
SP
2416 * posix/getconf.c (vars): Add _POSIX_IPV6 and
2417 _POSIX_RAW_SOCKETS.
2418
d8f879ee
AM
24192014-09-13 Allan McRae <allan@archlinux.org>
2420
2421 * po/ru.po: Update Russian translation from translation project.
2422
c079afb7
RM
24232014-09-12 Roland McGrath <roland@hack.frob.com>
2424
a62b3c15
RM
2425 * locale/programs/locale.c (show_locale_vars): Inline local function
2426 into its sole call site. Clean up some style nits.
2427 (print_item): New function, broken out of ...
2428 (show_info): ... local function here. Clean up style nits.
2429
d7e49b19
RM
2430 * locale/programs/ld-ctype.c (set_one_default): New function, broken
2431 out of ...
2432 (set_class_defaults): ... local function set_default here.
2433 Define set_default as a macro locally to pass constant parameters.
2434 (allocate_arrays, set_class_defaults): Use C99 for scope for each CNT,
2435 rather than a shared local.
2436
c079afb7
RM
2437 * stdlib/rpmatch.c (try): New function, broken out of ...
2438 (rpmatch): ... local function here. Also, prototypify definition.
2439
0bd72468
JM
24402014-09-12 Joseph Myers <joseph@codesourcery.com>
2441
ba90e050
JM
2442 * scripts/soversions.awk: Do not handle configuration names.
2443 * Makeconfig ($(common-objpfx)soversions.i): Do not pass cpu,
2444 vendor and os variables to soversions.awk.
2445 * configure.ac: Do not modify gnu-* host_os.
2446 * configure: Regenerated
2447 * shlib-versions: Remove first column with configuration names.
2448 * nptl/shlib-versions: Likewise.
2449 * nptl_db/shlib-versions: Likewise.
2450 * sysdeps/hppa/shlib-versions: Likewise.
2451 * sysdeps/m68k/shlib-versions: Likewise.
2452 * sysdeps/mach/hurd/shlib-versions: Likewise.
2453 * sysdeps/unix/sysv/linux/aarch64/shlib-versions: Likewise.
2454 * sysdeps/unix/sysv/linux/alpha/shlib-versions: Likewise.
2455 * sysdeps/unix/sysv/linux/arm/shlib-versions: Likewise.
2456 * sysdeps/unix/sysv/linux/hppa/shlib-versions: Likewise.
2457 * sysdeps/unix/sysv/linux/ia64/shlib-versions: Likewise.
2458 * sysdeps/unix/sysv/linux/m68k/coldfire/shlib-versions: Likewise.
2459 * sysdeps/unix/sysv/linux/microblaze/shlib-versions: Likewise.
2460 * sysdeps/unix/sysv/linux/mips/shlib-versions: Likewise.
2461 * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions:
2462 Likewise.
2463 * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
2464 * sysdeps/unix/sysv/linux/sh/shlib-versions: Likewise.
2465 * sysdeps/unix/sysv/linux/shlib-versions: Likewise.
2466 * sysdeps/unix/sysv/linux/sparc/sparc32/shlib-versions: Likewise.
2467 * sysdeps/unix/sysv/linux/sparc/sparc64/shlib-versions: Likewise.
2468 * sysdeps/unix/sysv/linux/tile/shlib-versions: Likewise.
2469 * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Likewise.
2470 * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
2471
73a39112
JM
2472 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
2473 (HAVE_ELFV2_ABI): AC_DEFINE in ELFv2 case.
2474 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure:
2475 Regenerated.
2476 * config.h.in (HAVE_ELFV2_ABI): New macro undefine.
2477 * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions:
2478 Condition symbol version definitions on [HAVE_ELFV2_ABI].
2479
c729e7c1
JM
2480 * shlib-versions: Remove OS-specific entries. Moved to files in
2481 sysdeps.
2482 * sysdeps/mach/hurd/shlib-versions: New file.
2483 * sysdeps/unix/sysv/linux/shlib-versions: Likewise.
2484
dc932a24
JM
2485 * nptl/shlib-versions: Remove architecture-specific entries.
2486 Moved to files in sysdeps.
2487 * shlib-versions: Likewise.
2488 * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: New
2489 file.
2490 * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
2491 * sysdeps/unix/sysv/linux/sh/shlib-versions: Likewise.
2492 * sysdeps/unix/sysv/linux/sparc/sparc32/shlib-versions: Likewise.
2493 * sysdeps/unix/sysv/linux/sparc/sparc64/shlib-versions: Likewise.
2494
0bd72468
JM
2495 * sysdeps/gnu/netinet/udp.h (UDP_NO_CHECK6_TX): New macro.
2496 (UDP_NO_CHECK6_RX): Likewise.
2497
920238e0
SP
24982014-09-12 Siddhesh Poyarekar <siddhesh@redhat.com>
2499
2500 * sysdeps/posix/sysconf.c (__sysconf): Spell
2501 _POSIX_DEVICE_SPECIFIC and _POSIX_DEVICE_SPECIFIC_R correctly.
2502
ba7b4d29
FW
25032014-08-12 Florian Weimer <fweimer@redhat.com>
2504
2505 * iconv/gconv_open.c (__gconv_open): Remove transliteration module
2506 loading.
2507 * iconv/Versions (__gconv_transliterate): Export for use from
2508 gconv modules.
2509 * iconv/gconv.h (__GCONV_TRANSLIT): New flag.
2510 (struct __gconv_trans_data, __gconv_trans_fct,
2511 __gconv_trans_context_fct, __gconv_trans_query_fct,
2512 __gconv_trans_init_fct, __gconv_trans_end_fct): Remove type
2513 definitions.
2514 (struct __gconv_step_data): Remove __trans member.
2515 (__gconv_transliterate): Declaration moved from gconv_int.h. No
2516 longer hidden. Remove unused trans_data argument.
2517 * iconv/gconv_int.h (struct trans_struct): Remove definition.
2518 (__gconv_translit_find): Remove declaration.
2519 (__gconv_transliterate): Declaration moved to gconv.h. Add hidden
2520 prototype.
2521 * iconv/gconv_close.c (__gconv_close): Remove __trans cleanup.
2522 * iconv/gconv_trans.c (__gconv_transliterate): Remove unused
2523 trans_data argument. Add hidden definition.
2524 (__gconv_translit_find): Remove.
2525 * iconv/loop.c (STANDARD_TO_LOOP_ERR_HANDLER): Call
2526 __gconv_transliterate directly if __GCONV_TRANSLIT is set.
2527 * iconv/skeleton.c: Remove transliteration initialization.
2528 * libio/fileops.c (_IO_new_file_fopen): Adjust struct
2529 __gconv_step_data initialization.
2530 * libio/iofwide.c (__libio_translit_): Remove.
2531 (_IO_fwide): Adjust struct __gconv_step_data initialization.
2532 * wcsmbs/btowc.c (__btowc): Likewise.
2533 * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
2534 * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
2535 * wcsmbs/mbsnrtowcs.c (__mbsnrtowcs): Likewise.
2536 * wcsmbs/mbsrtowcs_l.c (__mbsrtowcs_l): Likewise.
2537 * wcsmbs/wcrtomb.c (__wcrtomb): Likewise.
2538 * wcsmbs/wcsnrtombs.c (__wcsnrtombs): Likewise.
2539 * wcsmbs/wcsrtombs.c (__wcsrtombs): Likewise.
2540 * wcsmbs/wctob.c (wctob): Likewise.
2541
5379aebd
SP
25422014-09-12 Siddhesh Poyarekar <siddhesh@redhat.com>
2543
2544 [BZ #16194]
2545 * sysdeps/x86/tst-xmmymm.sh: Rename file to...
2546 * sysdeps/x86/tst-ld-sse-use.sh: ... this. Check for zmm
2547 register usage.
2548 * sysdeps/x86/Makefile: Adjust.
2549
8c0ab919
RM
25502014-09-11 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
2551 Roland McGrath <roland@hack.frob.com>
2552
2553 * locale/weight.h: Add include guard.
2554 (findidx): Make static rather than auto; take new parameters
2555 TABLE, INDIRECT, and EXTRA instead of getting them as outer locals.
2556 * locale/weightwc.h: Likewise.
2557 * posix/fnmatch_loop.c
2558 (FCT): Change type of EXTRA from int32_t to wint_t.
2559 Don't include either header inside the function.
2560 Call FINDIDX rather than findidx, and pass new arguments.
2561 #undef FINDIDX at the end of the file.
2562 * posix/fnmatch.c [_LIBC]: #include <locale/weight.h> and define
2563 FINDIDX before including fnmatch_loop.c for the non-wide version.
2564 [_LIBC] [HANDLE_MULTIBYTE]: #define findidx to findidxwc around
2565 #include <locale/weightwc.h>, and define FINDIDX to findidxwc
2566 for the wide version.
2567 * posix/regcomp.c [_LIBC]: #include <locale/weight.h>.
2568 (build_equiv_class) [_LIBC]: Don't #include it inside the function.
2569 Pass new arguments to findidx.
2570 * posix/regexec.c [RE_ENABLE_I18N] [_LIBC]: #include <locale/weight.h>.
2571 [RE_ENABLE_I18N] (check_node_accept_bytes) [_LIBC]:
2572 Don't #include it inside the function. Pass new arguments to findidx.
2573 * posix/regex_internal.h
2574 [!NOT_IN_libc] [_LIBC]: #include <locale/weight.h>.
2575 (re_string_elem_size_at): Don't #include it inside the function.
2576 Pass new arguments to findidx.
2577 * string/strcoll_l.c: #include WEIGHT_H at top level.
2578 (get_next_seq): Don't #include it inside the function.
2579 Pass new arguments to findidx.
2580 (get_next_seq_nocache): Likewise.
2581 * string/strxfrm_l.c: #include WEIGHT_H at top level.
2582 (STRXFRM): Don't #include it inside the function.
2583 Pass new arguments to findidx.
2584
52ffbdf2
FW
25852014-09-11 Florian Weimer <fweimer@redhat.com>
2586
2587 [BZ #17344]
2588 * malloc/malloc.c (unlink): Turn asserts into a call to
2589 malloc_printerr.
2590
984c0ea9
TL
25912014-09-11 Tim Lammens <tim.lammens@gmail.com>
2592
2593 [BZ #17370]
2594 * libio/wfileops (do_ftell_wide): Free OUT.
2595
3daee107
CM
25962014-09-10 Chris Metcalf <cmetcalf@tilera.com>
2597
2598 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Remove file.
2599
58b930ae
SP
26002014-09-10 Siddhesh Poyarekar <siddhesh@redhat.com>
2601
2602 [BZ #17363]
2603 * inet/getnetgrent_r.c (__internal_getnetgrent_r): Try next
2604 group if the current group is empty.
2605
3b473fec
AZ
26062014-09-10 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2607
71ae8647
AZ
2608 * benchtests/bench-memset.c (test_main): Add more test from size
2609 from 32 to 512 bytes.
2610 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
2611 Add POWER8 memset object.
2612 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
2613 (__libc_ifunc_impl_list): Add POWER8 memset and bzero implementations.
2614 * sysdeps/powerpc/powerpc64/multiarch/bzero.c (__bzero): Add POWER8
2615 implementation.
2616 * sysdeps/powerpc/powerpc64/multiarch/memset.c (__libc_memset):
2617 Likewise.
2618 * sysdeps/powerpc/powerpc64/multiarch/memset-power8.S: New file:
2619 multiarch POWER8 memset optimization.
2620 * sysdeps/powerpc/powerpc64/power8/memset.S: New file: optimized
2621 POWER8 memset optimization.
2622
3b473fec
AZ
2623 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
2624 Remove bzero multiarch objects.
2625 * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: Remove file.
2626 * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: Likewise.
2627 * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: Likewise.
2628 * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S [NO_BZERO_IMPL]:
2629 Remove define.
2630 [__bzero]: Redefine to specific name.
2631 * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: Likewise.
2632 * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: Likewise.
2633 * sysdeps/powerpc/powerpc64/power4/memset.S [NO_BZERO_IMPL]: Remove
2634 define.
2635 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
2636 * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
2637
e6fb9587
FW
26382014-09-10 Florian Weimer <fweimer@redhat.com>
2639
2640 * Makeconfig (gccwarn-c): Turn implicit-function-declaration
2641 warnings into errors.
2642
2643 * stdlib/tst-tls-atexit-lib.c: Include <stdlib.h>, for the
2644 __cxa_thread_atexit_impl prototype.
2645
9d3a350b
SE
26462014-09-09 Steve Ellcey <sellcey@mips.com>
2647
2648 * sysdeps/mips/preconfigure: Put code inside mips* case statement.
2649 Fix capitalization of error message.
2650
0febba23
SE
26512014-09-09 Steve Ellcey <sellcey@mips.com>
2652
2653 * sysdeps/mips/preconfigure: Modify ABI tests.
2654
645a0e9c
CD
26552014-09-07 Carlos O'Donell <carlos@systemhalted.org>
2656
2657 * sysdeps/unix/sysv/linux/hppa/c++-types.data: New file.
2658
d83f0734
CD
26592014-09-07 Roland McGrath <roland@hack.frob.com>
2660 Carlos O'Donell <carlos@systemhalted.org>
2661
2662 * sysdeps/unix/sysv/linux/hppa/nptl/libc-lowlevellock.c: File removed.
2663 * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Moved ...
2664 * sysdeps/unix/sysv/linux/hppa/lowlevellock.h: ... here.
2665 * sysdeps/unix/sysv/linux/hppa/nptl/pt-vfork.S: Moved ...
2666 * sysdeps/unix/sysv/linux/hppa/pt-vfork.S: ... here.
2667 * sysdeps/unix/sysv/linux/hppa/nptl/pthread.h: Moved ...
2668 * sysdeps/unix/sysv/linux/hppa/pthread.h: ... here.
2669 * sysdeps/unix/sysv/linux/hppa/nptl/pthreadP.h: Moved ...
2670 * sysdeps/unix/sysv/linux/hppa/pthreadP.h: ... here.
2671 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_broadcast.c: Moved ...
2672 * sysdeps/unix/sysv/linux/hppa/pthread_cond_broadcast.c: ... here.
2673 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_destroy.c: Moved ...
2674 * sysdeps/unix/sysv/linux/hppa/pthread_cond_destroy.c: ... here.
2675 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_init.c: Moved ...
2676 * sysdeps/unix/sysv/linux/hppa/pthread_cond_init.c: ... here.
2677 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_signal.c: Moved ...
2678 * sysdeps/unix/sysv/linux/hppa/pthread_cond_signal.c: ... here.
2679 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_timedwait.c: Moved ...
2680 * sysdeps/unix/sysv/linux/hppa/pthread_cond_timedwait.c: ... here.
2681 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_wait.c: Moved ...
2682 * sysdeps/unix/sysv/linux/hppa/pthread_cond_wait.c: ... here.
2683 * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Moved ...
2684 * sysdeps/unix/sysv/linux/hppa/sysdep-cancel.h: ... here.
2685 * sysdeps/unix/sysv/linux/hppa/nptl/bits/pthreadtypes.h: Moved ...
2686 * sysdeps/hppa/nptl/bits/pthreadtypes.h: ... here.
2687 * sysdeps/unix/sysv/linux/hppa/nptl/bits/semaphore.h: Moved ...
2688 * sysdeps/hppa/nptl/bits/semaphore.h: ... here.
2689 * sysdeps/unix/sysv/linux/hppa/clone.S: Include <tcb-offsets.h>.
2690 Deconditionalize the code that was previously under [RESET_PID].
2691 * sysdeps/unix/sysv/linux/hppa/nptl/clone.S: File removed.
2692 * sysdeps/unix/sysv/linux/hppa/arch-fork.h: New file.
2693 * sysdeps/unix/sysv/linux/hppa/nptl/fork.c: File removed.
2694 * sysdeps/hppa/nptl/tcb-offsets.sym: Include pthread.h and don't
2695 include sysdep.h.
2696
21c83793
AM
26972014-09-08 Allan McRae <allan@archlinux.org>
2698
2699 * version.h (RELEASE): Set to "development".
2700 (VERSION): Set to "2.20.90"
2701
1cd9b65c
AM
27022014-09-07 Allan McRae <allan@archlinux.org
2703
b8079dd0
AM
2704 * version.h (RELEASE): Set to "stable".
2705 (VERSION): Set to "2.20"
2706 * include/features.h (__GLIBC_MINOR__): Set to 20.
2707
c46303ef
AM
2708 * manual/contrib.texi: Add entries for Wilco Dijkstra and Stefan
2709 Liebler.
2710
1cd9b65c
AM
2711 * po/ko.po: Update Korean translation from translation project.
2712
8622092d
CM
27132014-09-06 Chris Metcalf <cmetcalf@tilera.com>
2714
2715 [BZ #17354]
2716 * sysdeps/tile/dl-machine.h (elf_machine_rela): Add a MUNGE_SIGNED
2717 macro for handling signed relocations.
2718
41488498
FW
27192014-09-03 Florian Weimer <fweimer@redhat.com>
2720
2721 [BZ #17325]
2722 * iconvdata/ibm1364.c (BODY): Fix check for sentinel.
2723 * iconvdata/ibm932.c (BODY): Replace invalid sentinel check with
2724 assert.
2725 * iconvdata/ibm933.c (BODY): Fix check for sentinel.
2726 * iconvdata/ibm935.c (BODY): Likewise.
2727 * iconvdata/ibm937.c (BODY): Likewise.
2728 * iconvdata/ibm939.c (BODY): Likewise.
2729 * iconvdata/ibm943.c (BODY): Replace invalid sentinel check with
2730 assert.
2731 * iconvdata/Makefile (iconv-test.out): Pass module list to test
2732 script.
2733 * iconvdata/run-iconv-test.sh: New test loop for checking for
2734 decoder crashers.
2735
a78b712d
KR
27362014-09-02 Khem Raj <raj.khem@gmail.com>
2737
2738 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c (fegetenv): Add
2739 libm_hidden_ver.
2740
cb08abc6
AM
27412014-09-01 Allan McRae <allan@archlinux.org>
2742
2c31e102
AM
2743 * po/eo.po: Update Esperanto translation from translation project.
2744
cb08abc6
AM
2745 * po/ca.po: Update Catalan translation from translation project.
2746
17a62de1
ST
27472014-08-28 Samuel Thibault <samuel.thibault@ens-lyon.org>
2748
2749 * sysdeps/mach/hurd/fork.c (__fork): Lock SS->lock around
2750 __proc_dostop call.
2751
9570bc53
MW
27522014-08-27 Mark Wielaard <mjw@redhat.com>
2753
2754 [BZ #17319]
2755 * sysdeps/i386/nptl/tls.h (TLS_INIT_TP): Use INTERNAL_SYSCALL
2756 to call set_thread_area instead of hand written asm.
2757 (__NR_set_thread_area): Removed define.
2758 (TLS_FLAG_WRITABLE): Likewise.
2759 (__ASSUME_SET_THREAD_AREA): Remove check.
2760 (TLS_EBX_ARG): Remove define.
2761 (TLS_LOAD_EBX): Likewise.
2762
b0f955c9
ST
27632014-08-27 Samuel Thibault <samuel.thibault@ens-lyon.org>
2764
2765 Simplify atomicity of socket creation in bind.
2766
2767 * sysdeps/mach/hurd/bind.c (__bind): Use dir_lookup(node, "") instead of
2768 looking up the name after linking the file.
2769
529bf515
AM
27702014-08-27 Allan McRae <allan@archlinux.org>
2771
2772 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
2773
a1a6a401
FW
27742014-08-26 Florian Weimer <fweimer@redhat.com>
2775
2776 [BZ #17187]
2777 * iconv/gconv_trans.c (struct known_trans, search_tree, lock,
2778 trans_compare, open_translit, __gconv_translit_find):
2779 Remove module loading code.
2780
686ab290
AM
27812014-08-26 Allan McRae <allan@archlinux.org>
2782
e4e7cfd2
AM
2783 * po/vi.po: Update Vietnamese translation from translation project.
2784
6aa09f71
AM
2785 * po/uk.po: Update Ukrainian translation from translation project.
2786
edc0660e
AM
2787 * po/fr.po: Update French translation from translation project.
2788
7eea72ac
AM
2789 * po/ru.po: Update Russian translation from translation project.
2790
93c49eff
AM
2791 * po/pl.po: Update Polish translation from translation project.
2792
46acaf63
AM
2793 * po/cs.po: Update Czech translation from translation project.
2794
a9f5ce98
AM
2795 * po/de.po: Update German translation from translation project.
2796
373f2b78
AM
2797 * po/bg.po: Update Bulgarian translation from translation project.
2798
e7548bd8
AM
2799 * po/sv.po: Update Sweedish translation from translation project.
2800
c526bf4d
AM
2801 * po/nl.po: Update Dutch translation from translation project.
2802
686ab290
AM
2803 * po/es.po: Update Spanish translation from translation project.
2804
eb72478a
SP
28052014-08-21 Siddhesh Poyarekar <siddhesh@redhat.com>
2806
dd763fdb
SP
2807 * nptl/Makefile (CFLAGS-pthread_atfork.c): Remove.
2808
318c7a58
SP
2809 * catgets/Makefile (CPPFLAGS-gencat): Remove.
2810 * iconv/Makefile (CPPFLAGS-iconv_prog): Likewise.
2811 (CPPFLAGS-iconvconfig): Likewise.
2812 * timezone/Makefile (CPPFLAGS-zic): Likewise.
2813
eb72478a
SP
2814 * include/libc-symbols.h: Remove unnecessary check for
2815 NOT_IN_libc.
2816 * nptl/pthreadP.h: Likewise.
2817 * sysdeps/aarch64/setjmp.S: Likewise.
2818 * sysdeps/alpha/setjmp.S: Likewise.
2819 * sysdeps/arm/sysdep.h: Likewise.
2820 * sysdeps/i386/setjmp.S: Likewise.
2821 * sysdeps/m68k/setjmp.c: Likewise.
2822 * sysdeps/posix/getcwd.c: Likewise.
2823 * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
2824 * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise.
2825 * sysdeps/s390/s390-32/setjmp.S: Likewise.
2826 * sysdeps/s390/s390-64/setjmp.S: Likewise.
2827 * sysdeps/sh/sh3/setjmp.S: Likewise.
2828 * sysdeps/sh/sh4/setjmp.S: Likewise.
2829 * sysdeps/unix/alpha/sysdep.h: Likewise.
2830 * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
2831 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
2832 * sysdeps/unix/sysv/linux/ia64/setjmp.S: Likewise.
2833 * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
2834 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
2835 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
2836 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
2837 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
2838 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
2839 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
2840 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
2841 * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
2842 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
2843 * sysdeps/x86_64/setjmp.S: Likewise.
2844
d44a052c
JM
28452014-08-13 Joseph Myers <joseph@codesourcery.com>
2846
2847 [BZ #17263]
2848 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Include
2849 <stdint.h>.
2850 (__get_clockfreq): Use uint64_t instead of hp_timing_t in
2851 INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK call.
2852
508ce3ac
SP
28532014-08-13 Siddhesh Poyarekar <siddhesh@redhat.com>
2854
e44c8b0e
SP
2855 * sysdeps/x86/fpu/bits/mathinline.h: Fix typo in comment.
2856
508ce3ac
SP
2857 [BZ #17262]
2858 * sysdeps/x86/fpu/bits/mathinline.h: Check both __SSE2_MATH__
2859 and __x86_64__ when disabling x87 inline functions.
2860
b4acef1f
L
28612014-08-12 H.J. Lu <hongjiu.lu@intel.com>
2862
2863 [BZ #17259]
2864 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Replace cpuid
2865 asm statement with __cpuid_count.
2866
61b1ef6e
MF
28672014-08-12 Mike Frysinger <vapier@gentoo.org>
2868
2869 * configure.ac: Change __ehdr_start code to dereference the struct.
2870 Run readelf on the output to look for relocations.
2871 * configure: Regenerated.
2872
898c62f4
JM
28732014-08-12 Joseph Myers <joseph@codesourcery.com>
2874
2875 [BZ #17261]
2876 * sysdeps/powerpc/nofpu/fenv_const.c (__fe_enabled_env): Change
2877 value to 0.
2878 (__fe_nonieee_env): Define as an alias for __fe_dfl_env.
2879
9a8a5720
RM
28802014-08-12 Roland McGrath <roland@hack.frob.com>
2881
2882 * NEWS: Mention x86-64 ld.so use of Intel MPX instructions.
2883
4e75751c
BO
28842014-08-12 Bernard Ogden <bernie.ogden@linaro.org>
2885
2886 [BZ #16892]
2887 * sysdeps/nptl/lowlevellock.h (__lll_timedlock): Use
2888 atomic_compare_and_exchange_bool_acq rather than atomic_exchange_acq.
2889
bb2ce416
SA
28902014-08-12 Sean Anderson <seanga2@gmail.com>
2891
2892 * malloc/malloc.c: Fix typo in comment.
2893
7950a4ee
AM
28942014-08-09 Allan McRae <allan@archlinux.org>
2895
2896 * Regenerate libc.po.
2897
f469c49f
MF
28982014-08-08 Mike Frysinger <vapier@gentoo.org>
2899
2900 * intl/tst-gettext2.sh: Check every lang file for creation.
2901
656b84c2
WD
29022014-08-07 Wilco Dijkstra <wdijkstr@arm.com>
2903
2904 * sysdeps/aarch64/fpu/math_private.h
2905 (libc_feholdsetround_noex_aarch64_ctx): New function.
2906
538e9e45
W
29072014-08-07 Wilco Dijkstra <wdijkstr@arm.com>
2908
2909 * sysdeps/arm/armv6/strcpy.S (strcpy):
2910 Fix performance issue in misaligned cases.
2911
d4795e4a
AZ
29122014-08-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2913
2914 * sysdeps/unix/sysv/linux/powerpc/bits/ioctl-types.h (struct winsize):
2915 Move definition from termios.h.
2916 (struct termio): Likewise.
2917 (NCC, TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
2918 TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI, N_TTY, N_SLIP,
2919 N_MOUSE, N_PPP, N_STRIP, N_AX25, N_X25, N_6PACK, N_MASC, N_R3964,
2920 N_PROFIBUS_FDL, N_IRDA, N_SMSBLOCK, N_HDLC, N_SYNC_PPP, N_HCI):
2921 Likewise.
2922 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h (struct winsize):
2923 Move definition to ioctl-types.h
2924 (struct termio): Likewise.
2925 (NCC, TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
2926 TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI, N_TTY, N_SLIP,
2927 N_MOUSE, N_PPP, N_STRIP, N_AX25, N_X25, N_6PACK, N_MASC, N_R3964,
2928 N_PROFIBUS_FDL, N_IRDA, N_SMSBLOCK, N_HDLC, N_SYNC_PPP, N_HCI):
2929 Likewise.
2930
64accb62
RH
29312014-08-05 Richard Henderson <rth@redhat.com>
2932
27bb6dc0
RH
2933 * sysdeps/alpha/soft-fp/ots_cvtxq.c (_OtsCvtXQ): Always raise
2934 exceptions.
2935 * sysdeps/alpha/soft-fp/Makefile [soft-fp] (sysdep_routines):
2936 Add fraiseexcpt.
2937 * sysdeps/alpha/soft-fp/sfp-machine.h (FP_HANDLE_EXCEPTIONS):
2938 Use __feraiseexcept.
2939 * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S (feraiseexcept):
2940 Protect libm symbols with IS_IN_libm.
2941
64accb62
RH
2942 * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Remove file.
2943
e5292691
BO
29442014-08-04 Bernard Ogden <bernie.ogden@linaro.org>
2945
2946 * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Remove file.
2947
5b4bd2d4
WN
29482014-08-04 Will Newton <will.newton@linaro.org>
2949
2950 * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: Remove
2951 file.
2952
fcadaeef
MF
29532014-08-04 Mike Frysinger <vapier@gentoo.org>
2954
2955 * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h (PSEUDO): Add nocancel
2956 variants for each function.
2957
43a94c64
RM
29582014-08-04 Roland McGrath <roland@hack.frob.com>
2959
2960 * sysdeps/unix/sysv/linux/ia64/nptl/Makefile: File removed, contents
2961 appended ...
2962 * sysdeps/unix/sysv/linux/ia64/Makefile: ... here.
2963 * sysdeps/unix/sysv/linux/ia64/nptl/Versions: File removed, contents
2964 appended ...
2965 * sysdeps/unix/sysv/linux/ia64/Versions: ... here.
2966 * sysdeps/unix/sysv/linux/ia64/nptl/__ia64_longjmp.S: Moved ...
2967 * sysdeps/unix/sysv/linux/ia64/__ia64_longjmp.S: ... here.
2968 * sysdeps/unix/sysv/linux/ia64/nptl/__sigstack_longjmp.c: Moved ...
2969 * sysdeps/unix/sysv/linux/ia64/__sigstack_longjmp.c: ... here.
2970 * sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data: Moved ...
2971 * sysdeps/unix/sysv/linux/ia64/c++-types.data: ... here.
2972 * sysdeps/unix/sysv/linux/ia64/nptl/dl-sysdep.h: Moved ...
2973 * sysdeps/unix/sysv/linux/ia64/dl-sysdep.h: ... here.
2974 * sysdeps/unix/sysv/linux/ia64/nptl/ld.abilist: Moved ...
2975 * sysdeps/unix/sysv/linux/ia64/ld.abilist: ... here.
2976 * sysdeps/unix/sysv/linux/ia64/nptl/libBrokenLocale.abilist: Moved ...
2977 * sysdeps/unix/sysv/linux/ia64/libBrokenLocale.abilist: ... here.
2978 * sysdeps/unix/sysv/linux/ia64/nptl/libanl.abilist: Moved ...
2979 * sysdeps/unix/sysv/linux/ia64/libanl.abilist: ... here.
2980 * sysdeps/unix/sysv/linux/ia64/nptl/libc.abilist: Moved ...
2981 * sysdeps/unix/sysv/linux/ia64/libc.abilist: ... here.
2982 * sysdeps/unix/sysv/linux/ia64/nptl/libcrypt.abilist: Moved ...
2983 * sysdeps/unix/sysv/linux/ia64/libcrypt.abilist: ... here.
2984 * sysdeps/unix/sysv/linux/ia64/nptl/libdl.abilist: Moved ...
2985 * sysdeps/unix/sysv/linux/ia64/libdl.abilist: ... here.
2986 * sysdeps/unix/sysv/linux/ia64/nptl/libm.abilist: Moved ...
2987 * sysdeps/unix/sysv/linux/ia64/libm.abilist: ... here.
2988 * sysdeps/unix/sysv/linux/ia64/nptl/libnsl.abilist: Moved ...
2989 * sysdeps/unix/sysv/linux/ia64/libnsl.abilist: ... here.
2990 * sysdeps/unix/sysv/linux/ia64/nptl/libpthread.abilist: Moved ...
2991 * sysdeps/unix/sysv/linux/ia64/libpthread.abilist: ... here.
2992 * sysdeps/unix/sysv/linux/ia64/nptl/libresolv.abilist: Moved ...
2993 * sysdeps/unix/sysv/linux/ia64/libresolv.abilist: ... here.
2994 * sysdeps/unix/sysv/linux/ia64/nptl/librt.abilist: Moved ...
2995 * sysdeps/unix/sysv/linux/ia64/librt.abilist: ... here.
2996 * sysdeps/unix/sysv/linux/ia64/nptl/libthread_db.abilist: Moved ...
2997 * sysdeps/unix/sysv/linux/ia64/libthread_db.abilist: ... here.
2998 * sysdeps/unix/sysv/linux/ia64/nptl/libutil.abilist: Moved ...
2999 * sysdeps/unix/sysv/linux/ia64/libutil.abilist: ... here.
3000 * sysdeps/unix/sysv/linux/ia64/nptl/localplt.data: Moved ...
3001 * sysdeps/unix/sysv/linux/ia64/localplt.data: ... here.
3002 * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Moved ...
3003 * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: ... here.
3004 * sysdeps/unix/sysv/linux/ia64/nptl/sysdep-cancel.h: Moved ...
3005 * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: ... here.
3006 * sysdeps/unix/sysv/linux/ia64/nptl/timer_create.c: Moved ...
3007 * sysdeps/unix/sysv/linux/ia64/timer_create.c: ... here.
3008 * sysdeps/unix/sysv/linux/ia64/nptl/timer_delete.c: Moved ...
3009 * sysdeps/unix/sysv/linux/ia64/timer_delete.c: ... here.
3010 * sysdeps/unix/sysv/linux/ia64/nptl/timer_getoverr.c: Moved ...
3011 * sysdeps/unix/sysv/linux/ia64/timer_getoverr.c: ... here.
3012 * sysdeps/unix/sysv/linux/ia64/nptl/timer_gettime.c: Moved ...
3013 * sysdeps/unix/sysv/linux/ia64/timer_gettime.c: ... here.
3014 * sysdeps/unix/sysv/linux/ia64/nptl/timer_settime.c: Moved ...
3015 * sysdeps/unix/sysv/linux/ia64/timer_settime.c: ... here.
3016 * sysdeps/unix/sysv/linux/ia64/nptl/unwind-forcedunwind.c: Moved ...
3017 * sysdeps/unix/sysv/linux/ia64/unwind-forcedunwind.c: ... here.
3018 Update #include.
3019 * sysdeps/unix/sysv/linux/ia64/nptl/unwind_longjmp.c: Moved ...
3020 * sysdeps/unix/sysv/linux/ia64/unwind_longjmp.c: ... here.
3021
8f3c1fa4
RM
30222014-08-04 Roland McGrath <roland@hack.frob.com>
3023
3024 * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h: Moved ...
3025 * sysdeps/ia64/nptl/bits/pthreadtypes.h: ... here.
3026 * sysdeps/unix/sysv/linux/ia64/nptl/bits/semaphore.h: Moved ...
3027 * sysdeps/ia64/nptl/bits/semaphore.h: ... here.
3028 * sysdeps/unix/sysv/linux/ia64/nptl/bits/local_lim.h: Moved ...
3029 * sysdeps/unix/sysv/linux/ia64/bits/local_lim.h: ... here.
3030
ca08746f
RM
30312014-08-04 Roland McGrath <roland@hack.frob.com>
3032
3033 * nptl/sysdeps/pthread/createthread.c: Include <arch-fork.h>.
3034 * sysdeps/unix/sysv/linux/ia64/arch-fork.h (ARCH_CLONE): New macro.
3035 * sysdeps/ia64/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
3036 * sysdeps/unix/sysv/linux/ia64/nptl/createthread.c: File removed.
3037
9c925ff9
RM
30382014-08-04 Roland McGrath <roland@hack.frob.com>
3039
3040 * sysdeps/unix/sysv/linux/ia64/nptl/vfork.S: Moved ...
3041 * sysdeps/unix/sysv/linux/ia64/vfork.S: ... here.
3042 (__libc_vfork): Define function under this name.
3043 (__vfork): Define as an alias.
3044 * sysdeps/unix/sysv/linux/ia64/pt-vfork.S: New file.
3045 * sysdeps/unix/sysv/linux/ia64/nptl/pt-vfork.S: File removed.
3046
e641054c
RM
30472014-08-04 Roland McGrath <roland@hack.frob.com>
3048
3049 * sysdeps/unix/sysv/linux/ia64/clone2.S: Deconditionalize the code
3050 that was previously under [RESET_PID].
3051 * sysdeps/unix/sysv/linux/ia64/nptl/clone2.S: File removed.
3052
dacdc867
AS
30532014-08-04 Andreas Schwab <schwab@suse.de>
3054
3055 * sysdeps/ieee754/ldbl-96/s_fma.c: Include <math_private.h>.
3056
41f725ff
MF
30572014-08-03 Mike Frysinger <vapier@gentoo.org>
3058
3059 * stdlib/tst-setcontext.c (test_stack): Fix coding style.
3060 (main): Likewise.
3061
277cfb31
RM
30622014-08-01 Roland McGrath <roland@hack.frob.com>
3063
3064 * sysdeps/unix/sysv/linux/arm/lowlevellock.h: File removed.
3065
4896f049
RH
30662014-08-01 Richard Henderon <rth@redhat.com>
3067
3068 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use math_force_eval before
3069 feclearexcept; use math_opt_barrier instead of open-coded asm; fix
3070 typo in exact zero test.
3071 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
3072 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
3073 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
3074
6f64e7d7
RM
30752014-08-01 Roland McGrath <roland@hack.frob.com>
3076
3077 * sysdeps/unix/sysv/linux/arm/sysdep.h (PTR_MANGLE_LOAD, PTR_MANGLE)
3078 (PTR_MANGLE2, PTR_DEMANGLE, PTR_DEMANGLE2): Move these macros...
3079 * sysdeps/arm/sysdep.h: ... here.
3080 [!__ASSEMBLER__]: Include <stdint.h>.
3081
3f3dd810
SP
30822014-08-01 Siddhesh Poyarekar <siddhesh@redhat.com>
3083
a476ac4b
SP
3084 * include/libc-symbols.h (HAVE_LIBINTL_H): Define macro.
3085 (HAVE_WCTYPE_H): Likewise.
3086 (HAVE_ISWCTYPE): Likewise.
3087 (ENABLE_NLS): Likewise.
3088 * posix/regex_internal.h [(defined MB_CUR_MAX && HAVE_WCTYPE_H
3089 && HAVE_ISWCTYPE) || _LIBC]: Sync up with gnulib.
3090
78dd658a
SP
3091 * posix/regex_internal.c: Check if DEBUG is defined and is
3092 set.
3093
3f3dd810
SP
3094 * include/libc-symbols.h (HAVE_MBSTATE_T): Define macro.
3095 (HAVE_MBSRTOWCS): Likewise.
3096 * posix/fnmatch.c: Include string.h unconditionally.
3097
95ee7fb1
SL
30982014-08-01 Stefan Liebler <stli@linux.vnet.ibm.com>
3099
3100 * NEWS: Explain the s390 jmp_buf / ucontext_t ABI change
3101 reversal.
3102
23fe486b
RM
31032014-07-31 Roland McGrath <roland@hack.frob.com>
3104
f61a113f
RM
3105 * sysdeps/generic/safe-fatal.h: New file.
3106 * sysdeps/unix/sysv/linux/safe-fatal.h: New file.
3107 * nptl/forward.c: Include it.
3108 (__pthread_unwind): Use __safe_fatal as default action, rather
3109 than a bogus use of INTERNAL_SYSCALL that could never work.
3110
9fe7e787
RM
3111 * config.h.in (HAVE_BUILTIN_TRAP): New #define to 0.
3112 * configure.ac (libc_cv_builtin_trap): New test.
3113 * configure: Regenerated.
3114 * sysdeps/generic/abort-instr.h [HAVE_BUILTIN_TRAP]
3115 (ABORT_INSTRUCTION): Define using __builtin_trap.
3116
23fe486b
RM
3117 * nptl/pthreadP.h (SIGCANCEL, SIGTIMER, SIGSETXID, __xidcmd): Moved ...
3118 * sysdeps/unix/sysv/linux/nptl-signals.h: ... to this new file.
3119 * sysdeps/nptl/nptl-signals.h: New file.
3120 * nptl/pthreadP.h: Include <nptl-signals.h>.
3121
f349489e
SL
31222014-07-31 Stefan Liebler <stli@linux.vnet.ibm.com>
3123
3124 * sysdeps/s390/s390-64/utf16-utf32-z9.c
3125 (ONE_DIRECTION): Define.
3126 * sysdeps/s390/s390-64/utf8-utf16-z9.c
3127 (ONE_DIRECTION): Define.
3128 * sysdeps/s390/s390-64/utf8-utf32-z9.c
3129 (ONE_DIRECTION): Define.
3130
2f438e20
SL
31312014-07-31 Stefan Liebler <stli@linux.vnet.ibm.com>
3132
3133 * sysdeps/s390/Makefile: Delete file.
3134 * sysdeps/s390/Versions (GLIBC_2.19): Remove __setjmp.
3135 * sysdeps/s390/__longjmp.c: Delete file.
3136 * sysdeps/s390/bits/setjmp.h (__s390_jmp_buf):
3137 Remove fields __flags and __reserved.
3138 * sysdeps/s390/longjmp.c: Include setjmp/longjmp.c
3139 and add versioning.
3140 * sysdeps/s390/rtld-__longjmp.c: Delete file.
3141 * sysdeps/s390/rtld-global-offsets.sym: Likewise.
3142 * sysdeps/s390/rtld-setjmp.S: Likewise.
3143 * sysdeps/s390/s390-32/__longjmp-common.c: Move to ...
3144 * sysdeps/s390/s390-32/__longjmp.c: ... here.
3145 * sysdeps/s390/s390-32/setjmp-common.S: Move to ...
3146 * sysdeps/s390/s390-32/setjmp.S: ... here.
3147 Add versioning.
3148 (__sigsetjmp): Remove setting __flags field.
3149 * sysdeps/s390/s390-64/__longjmp-common.c:Move to ...
3150 * sysdeps/s390/s390-64/__longjmp.c: ... here.
3151 * sysdeps/s390/s390-64/setjmp-common.S: Move to ...
3152 * sysdeps/s390/s390-64/setjmp.S: ... here.
3153 Add versioning.
3154 (__sigsetjmp): Remove setting __flags field.
3155 * sysdeps/s390/setjmp.S: Delete file.
3156 * sysdeps/s390/sigjmp.c: Likewise.
3157 * sysdeps/s390/v1-longjmp.c: Likewise.
3158 * sysdeps/s390/v1-setjmp.h: Likewise.
3159 * sysdeps/s390/v1-sigjmp.c: Likewise.
3160 * sysdeps/unix/sysv/linux/s390/Makefile (sysdep_routines):
3161 Remove v1-longjmp_chk.
3162 * sysdeps/unix/sysv/linux/s390/getcontext.S: Delete file.
3163 * sysdeps/unix/sysv/linux/s390/longjmp_chk.c:
3164 Include debug/longjmp_chk.c and add versioning.
3165 * sysdeps/unix/sysv/linux/s390/pt-longjmp.c:
3166 Include nptl/pt-longjmp.c and add versioning.
3167 * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: Delete file.
3168 * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c:
3169 Include __longjmp.c.
3170 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
3171 Move to ...
3172 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: ... here.
3173 (__getcontext): Remove setting __flags field.
3174 Add versioning.
3175 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
3176 Don't restore upper high grps.
3177 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S:
3178 Likewise.
3179 (__swapcontext): Remove setting uc_flags field.
3180 * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym:
3181 Delete file.
3182 * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
3183 Include __longjmp.c.
3184 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
3185 Move to ...
3186 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: ... here.
3187 (__getcontext): Remove setting __flags field.
3188 Add versioning.
3189 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S:
3190 (__swapcontext): Remove setting uc_flags field.
3191 * unix/sysv/linux/s390/s390-64/ucontext_i.sym: Delete file.
3192 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (ucontext):
3193 Remove fields uc_high_gprs and __reserved.
3194 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym:
3195 New file with reverted content.
3196 * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: Delete file.
3197 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist:
3198 Regenerated.
3199 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist:
3200 Regenerated.
3201
6c9578a2
AS
32022014-07-31 Andreas Schwab <schwab@suse.de>
3203
3204 * config.h.in (HAVE_IFUNC): Define to 0.
3205 * rt/clock-compat.c [HAVE_IFUNC]: Check for value, not
3206 definedness.
3207
05f3633d
LM
32082014-07-30 Ling Ma <ling.ml@alibaba-inc.com>
3209
3210 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
3211 memmove-avx-unaligned, memcpy-avx-unaligned and
3212 mempcpy-avx-unaligned.
3213 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
3214 Add tests for AVX memcpy functions.
3215 * sysdeps/x86_64/multiarch/memcpy.S: Add support for AVX memcpy.
3216 * sysdeps/x86_64/multiarch/memcpy_chk.S: Add support for AVX
3217 memcpy_chk.
3218 * sysdeps/x86_64/multiarch/memmove.c: Add support for AVX memmove.
3219 * sysdeps/x86_64/multiarch/memmove_chk.c: Add support for AVX
3220 memmove_chk.
3221 * sysdeps/x86_64/multiarch/mempcpy.S: Add support for AVX mempcpy.
3222 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Add support for AVX
3223 mempcpy_chk.
3224 * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S: New file.
3225 * sysdeps/x86_64/multiarch/mempcpy-avx-unaligned.S: New file.
3226 * sysdeps/x86_64/multiarch/memmove-avx-unaligned.S: New file.
3227
a53fbd8e
AZ
32282013-07-29 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3229
3230 [BZ #17213]
3231 * sysdeps/powerpc/powerpc64/entry.h: Fix TEXT_START definition for
3232 powerpc64le.
3233
0961f7e1
JL
32342014-07-29 Jeff Layton <jlayton@poochiereds.net>
3235
3236 [BZ #16839]
3237 * manual/llio.texi: Add section about open file description locks.
3238 * manual/examples/ofdlocks.c: Example of open file description
3239 lock usage.
3240 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Define F_OFD_GETLK,
3241 F_OFD_SETLK, and F_OFD_SETLKW.
3242
cc5fb300
AM
32432014-07-23 Allan McRae <allan@archlinux.org>
3244
3245 * po/es.po: Update Spanish translation from translation project.
3246
23329dca
AS
32472014-07-18 Andreas Schwab <schwab@linux-m68k.org>
3248
3249 * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Removed.
3250
9c82da17
MR
32512014-07-17 Maciej W. Rozycki <macro@codesourcery.com>
3252
3253 [BZ #17078]
3254 * sysdeps/arm/dl-machine.h (elf_machine_rela)
3255 [RESOLVE_CONFLICT_FIND_MAP]: Handle R_ARM_TLS_DESC relocation.
3256 (elf_machine_lazy_rel): Handle prelinked R_ARM_TLS_DESC entries.
3257
29c4f53e
JM
32582014-07-17 Joseph Myers <joseph@codesourcery.com>
3259
831b9896
JM
3260 [BZ #17088]
3261 * math/fesetenv.c (__fesetenv)
3262 [FE_NOMASK_ENV && FE_ALL_EXCEPT != 0]: Return 1 for FE_NOMASK_ENV.
3263 * math/feupdateenv.c (__feupdateenv)
3264 [FE_NOMASK_ENV && FE_ALL_EXCEPT != 0]: Likewise.
3265
b21c2d50
JM
3266 * sysdeps/unix/sysv/linux/s390/kernel-features.h: New file.
3267 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__]
3268 (__ASSUME_SOCKETCALL): Do not define.
3269
067764ef
JM
3270 * sysdeps/unix/sysv/linux/sh/kernel-features.h: New file.
3271 * sysdeps/unix/sysv/linux/kernel-features.h [__sh__]
3272 (__ASSUME_SOCKETCALL): Do not define.
3273 (__ASSUME_ST_INO_64_BIT): Define unconditionally.
3274 [__LINUX_KERNEL_VERSION >= 0x020625 && __sh__]
3275 (__ASSUME_ACCEPT4_SYSCALL): Do not define.
3276 [__LINUX_KERNEL_VERSION >= 0x020625 && __sh__]
3277 (__ASSUME_RECVMMSG_SYSCALL): Likewise.
3278 [__LINUX_KERNEL_VERSION >= 0x030000 && __sh__]
3279 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
3280 [__sh__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
3281
642530c1
JM
3282 * sysdeps/unix/sysv/linux/powerpc/kernel-features.h: New file.
3283 * sysdeps/unix/sysv/linux/kernel-features.h [__powerpc__]
3284 (__ASSUME_SOCKETCALL): Do not define.
3285 (__ASSUME_IPC64): Define unconditionally.
3286 [__LINUX_KERNEL_VERSION >= 0x020625 && __powerpc__]
3287 (__ASSUME_ACCEPT4_SYSCALL): Do not define.
3288 [__LINUX_KERNEL_VERSION >= 0x020625 && __powerpc__]
3289 (__ASSUME_RECVMMSG_SYSCALL): Likewise.
3290 [__LINUX_KERNEL_VERSION >= 0x030000 && __powerpc__]
3291 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
3292 [__powerpc__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL):
3293 Likewise.
3294
03f77315
JM
3295 * sysdeps/unix/sysv/linux/sparc/kernel-features.h: New file.
3296 * sysdeps/unix/sysv/linux/kernel-features.h [__sparc__]
3297 (__ASSUME_SOCKETCALL): Do not define.
3298 (__ASSUME_SET_ROBUST_LIST): Define unconditionally.
3299 (__ASSUME_FUTEX_LOCK_PI): Likewise.
3300 [__sparc__] (__ASSUME_ACCEPT4_SYSCALL): Do not define.
3301 [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
3302 (__ASSUME_REQUEUE_PI): Define unconditionally.
3303 [__LINUX_KERNEL_VERSION >= 0x020621 && __sparc__]
3304 (__ASSUME_RECVMMSG_SYSCALL): Do not define.
3305 [__sparc__] (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
3306 [__LINUX_KERNEL_VERSION >= 0x030000 && __sparc__]
3307 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
3308 [__sparc__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
3309
083b1f7c
JM
3310 * sysdeps/unix/sysv/linux/i386/kernel-features.h: New file.
3311 * sysdeps/unix/sysv/linux/kernel-features.h [__i386__]
3312 (__ASSUME_SOCKETCALL): Do not define.
3313 [__LINUX_KERNEL_VERSION >= 0x020621 && __i386__]
3314 (__ASSUME_RECVMMSG_SYSCALL): Likewise.
3315 [__i386__] (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
3316 [__LINUX_KERNEL_VERSION >= 0x030000 && __i386__]
3317 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
3318 [__i386__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
3319
5be44ea6
JM
3320 * sysdeps/unix/sysv/linux/x86_64/kernel-features.h: New file.
3321 * sysdeps/unix/sysv/linux/kernel-features.h [__x86_64__]
3322 (__ASSUME_ACCEPT4_SYSCALL): Do not define.
3323 [__LINUX_KERNEL_VERSION >= 0x020621 && __x86_64__]
3324 (__ASSUME_RECVMMSG_SYSCALL): Likewise.
3325 [__LINUX_KERNEL_VERSION >= 0x030000 && __x86_64__]
3326 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
3327 [__x86_64__ && __LINUX_KERNEL_VERSION >= 0x030100]
3328 (__ASSUME_GETCPU_SYSCALL): Likewise.
3329
d95ffd4c
JM
3330 * aclocal.m4 (LIBC_SLIBDIR_RTLDDIR): New macro.
3331 * sysdeps/gnu/configure.ac: Use LIBC_SLIBDIR_RTLDDIR. Remove
3332 cases for individual architectures.
3333 * sysdeps/gnu/configure: Regenerated.
3334 * sysdeps/unix/sysv/linux/aarch64/configure.ac: Use
3335 LIBC_SLIBDIR_RTLDDIR.
3336 * sysdeps/unix/sysv/linux/aarch64/configure: Regenerated.
3337 * sysdeps/unix/sysv/linux/mips/configure.ac: Use
3338 LIBC_SLIBDIR_RTLDDIR.
3339 * sysdeps/unix/sysv/linux/mips/configure: Regenerated.
3340 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: Use
3341 LIBC_SLIBDIR_RTLDDIR.
3342 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure:
3343 Regenerated.
3344 * sysdeps/unix/sysv/linux/s390/s390-64/configure.ac: New file.
3345 * sysdeps/unix/sysv/linux/s390/s390-64/configure: New generated
3346 file.
3347 * sysdeps/unix/sysv/linux/sparc/sparc64/configure.ac: New file.
3348 * sysdeps/unix/sysv/linux/sparc/sparc64/configure: New generated
3349 file.
3350 * sysdeps/unix/sysv/linux/x86_64/64/configure.ac: New file.
3351 * sysdeps/unix/sysv/linux/x86_64/64/configure: New generated file.
3352 * sysdeps/unix/sysv/linux/x86_64/x32/configure.ac: New file.
3353 * sysdeps/unix/sysv/linux/x86_64/x32/configure: Generate.
3354
29c4f53e
JM
3355 * sysdeps/aarch64/shlib-versions: Move to ...
3356 * sysdeps/unix/sysv/linux/aarch64/shlib-versions: ... here.
3357 * sysdeps/alpha/shlib-versions: Move to ...
3358 * sysdeps/unix/sysv/linux/alpha/shlib-versions: ... here.
3359 * sysdeps/arm/shlib-versions: Move to ...
3360 * sysdeps/unix/sysv/linux/arm/shlib-versions: ... here.
3361 * sysdeps/hppa/shlib-versions: Move all contents except for
3362 libgcc_s entry to ...
3363 * sysdeps/unix/sysv/linux/hppa/shlib-versions: ... here. Merge in
3364 entry from ...
3365 * sysdeps/hppa/nptl/shlib-versions: ... here. Remove file.
3366 * sysdeps/ia64/shlib-versions: Move to ...
3367 * sysdeps/unix/sysv/linux/ia64/shlib-versions: ... here. Merge in
3368 entry from ...
3369 * sysdeps/ia64/nptl/shlib-versions: ... here. Remove file.
3370 * sysdeps/m68k/coldfire/shlib-versions: Move to ...
3371 * sysdeps/unix/sysv/linux/m68k/coldfire/shlib-versions: ... here.
3372 * sysdeps/microblaze/shlib-versions: Move to ...
3373 * sysdeps/unix/sysv/linux/microblaze/shlib-versions: ... here.
3374 * sysdeps/mips/shlib-versions: Move to ...
3375 * sysdeps/unix/sysv/linux/mips/shlib-versions: ... here. Merge in
3376 entry from ...
3377 * sysdeps/mips/nptl/shlib-versions: ... here. Remove file.
3378 * sysdeps/tile/shlib-versions: Move to ...
3379 * sysdeps/unix/sysv/linux/tile/shlib-versions: ... here.
3380 * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Merge in entry
3381 from ...
3382 * sysdeps/x86_64/64/shlib-versions: ... here. Remove file.
3383 * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Merge in
3384 entry from ...
3385 * sysdeps/x86_64/x32/shlib-versions: ... here. Remove file.
3386
32bead5b
WN
33872014-07-17 Will Newton <will.newton@linaro.org>
3388
57977c4b
WN
3389 * sysdeps/arm/bits/atomic.h
3390 (__arch_compare_and_exchange_bool_8_int): Evaluate to zero.
3391 (__arch_compare_and_exchange_bool_16_int): Likewise.
3392 (__arch_compare_and_exchange_bool_64_int): Likewise.
3393
32bead5b
WN
3394 * iconv/loop.c: Move definition of LOOPFCT and gconv_btowc
3395 into an #else block.
3396
37fccd41
RM
33972014-07-16 Roland McGrath <roland@hack.frob.com>
3398
3399 * sysdeps/arm/preconfigure.ac: Apply EABI sanity check to arm*, not
3400 just Linux configurations. Test empirically that the compiler sets
3401 __ARM_EABI__, rather than using the tuple to decide.
3402 * sysdeps/arm/preconfigure: Regenerated.
3403 * sysdeps/unix/sysv/linux/arm/configure: File removed.
3404 * sysdeps/unix/sysv/linux/arm/configure.ac: File removed,
3405 contents appended ...
3406 * sysdeps/arm/configure.ac: ... here.
3407 * sysdeps/arm/configure: Regenerated.
3408
b365f3ec
RM
34092014-07-15 Roland McGrath <roland@hack.frob.com>
3410
8badf496
RM
3411 * nptl/pthread_kill.c: New file.
3412 * nptl/pthread_sigmask.c: New file.
3413 * nptl/pthread_sigqueue.c: New file.
3414
3df6f22e
RM
3415 * sysdeps/nptl/lowlevellock.h: New file.
3416 * sysdeps/unix/sysv/linux/lowlevellock-futex.h: New file.
3417 * sysdeps/nptl/lowlevellock-futex.h: New file.
3418
b365f3ec
RM
3419 * nptl/pthreadP.h (__current_sigrtmin, __current_sigrtmax):
3420 Remove dead declarations.
3421
f2fef657
L
34222014-07-14 H.J. Lu <hongjiu.lu@intel.com>
3423
3424 * config.h.in (HAVE_AVX2_SUPPORT): New #undef.
3425 * sysdeps/i386/configure.ac: Set HAVE_AVX2_SUPPORT and
3426 config-cflags-avx2.
3427 * sysdeps/x86_64/configure.ac: Likewise.
3428 * sysdeps/i386/configure: Regenerated.
3429 * sysdeps/x86_64/configure: Likewise.
3430 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
3431 memset-avx2 only if config-cflags-avx2 is yes.
3432 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
3433 Tests for memset_chk and memset only if HAVE_AVX2_SUPPORT is
3434 defined.
3435 * sysdeps/x86_64/multiarch/memset.S: Define multiple versions
3436 only if HAVE_AVX2_SUPPORT is defined.
3437 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
3438
f6c44d47
AM
34392014-07-14 Alan Modra <amodra@gmail.com>
3440
3441 [BZ #17153]
3442 * elf/elf.h (DT_PPC64_NUM): Correct value.
3443 * NEWS: Add to fixed bug list.
3444
7ee03f00
JM
34452014-07-13 Jim Meyering <meyering@fb.com>
3446
3447 [BZ 17150]
3448 regex: don't deref NULL upon heap allocation failure
3449 * posix/regcomp.c: (parse_dup_op): Handle duplicate_tree
3450 failure in one more place.
3451 To trigger the segfault, configure grep -with-included-regex,
3452 build it, and run these commands:
3453 ( ulimit -v 300000; echo a|src/grep -E a+++++++++++++++++++++ )
3454
9d39d517
AS
34552014-07-13 Andreas Schwab <schwab@linux-m68k.org>
3456
3457 * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
3458
a75b89b7
RH
34592014-07-11 Richard Henderson <rth@redhat.com>
3460
3461 * sysdeps/aarch64/libm-test-ulps: Update.
3462
771eb141
FW
34632014-07-10 Florian Weimer <fweimer@redhat.com>
3464
3465 [BZ #17135]
3466 * nptl/pthreadP.h (__nptl_setxid_error): Declare function.
3467 * nptl/allocatestack.c (__nptl_setxid_error): New function.
3468 (__nptl_setxid): Initialize error member. Call
3469 __nptl_setxid_error.
3470 * nptl/nptl-init.c (sighandler_setxid): Call __nptl_setxid_error.
3471 * nptl/descr.h (struct xid_command): Add error member.
3472 * nptl/tst-setuid3.c: New file.
3473 * nptl/Makefile (tests): Add it.
3474
bc1da176
AZ
34752014-07-10 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3476
3477 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h (__lll_base_trylock):
3478 New define.
3479 (__lll_trylock): Use __lll_base_trylock.
3480 (__lll_cond_trylock): Likewise.
3481
887865fc
RM
34822014-07-10 Roland McGrath <roland@hack.frob.com>
3483
c0c6bac9
RM
3484 * nptl/pthread_create.c (start_thread): Use atomic_or and
3485 lll_futex_wake directly rather than lll_robust_dead.
3486 * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h
3487 (lll_robust_dead): Macro removed.
6a42be57 3488 * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: Likewise.
c0c6bac9
RM
3489 * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Likewise.
3490 * sysdeps/unix/sysv/linux/arm/lowlevellock.h: Likewise.
3491 * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
3492 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
3493 * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Likewise.
3494 * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Likewise.
3495 * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
3496 * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Likewise.
3497 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
3498 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
3499 * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
3500 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
3501 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
3502 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
3503
887865fc
RM
3504 * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock):
3505 Use atomic_compare_and_exchange_val_acq directly rather than
3506 lll_robust_trylock.
3507 * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h
3508 (__lll_robust_trylock, lll_robust_trylock): Removed.
3509 * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Likewise.
3510 * sysdeps/unix/sysv/linux/arm/lowlevellock.h: Likewise.
3511 * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
3512 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
3513 * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Likewise.
3514 * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Likewise.
3515 * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
3516 * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Likewise.
3517 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
3518 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
3519 * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
3520 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
3521 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
3522 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
3523
58536726
FW
35242014-07-02 Florian Weimer <fweimer@redhat.com>
3525
3526 * manual/locale.texi (Locale Names): New section documenting
3527 locale name syntax. Adjust menu and node chaining accordingly.
3528 (Choosing Locale): Reference Locale Names, Locale Categories.
3529 Mention setting LC_ALL=C. Reflect that name syntax is now
3530 documented.
3531 (Locale Categories): New section title. Reference Locale Names.
3532 LC_ALL is an environment variable, but not a category.
3533 (Setting the Locale): Remove "locale -a" invocation and LOCPATH
3534 description, now in Locale Name. Reference that section. Locale
3535 name syntax is now documented.
3536
4e8f95a0
FW
35372014-07-02 Florian Weimer <fweimer@redhat.com>
3538
3539 [BZ #17137]
3540 * locale/findlocale.c (name_present, valid_locale_name): New
3541 functions.
3542 (_nl_find_locale): Use the loc_name variable to store name
3543 candidates. Call name_present and valid_locale_name to check and
3544 validate locale names. Return an error if the locale is invalid.
3545
d1836456
FW
35462014-07-02 Florian Weimer <fweimer@redhat.com>
3547
3548 * locale/setlocale.c (setlocale): Use strdup for allocating
3549 composite name copy.
3550
d69b7f5a
SP
35512014-07-10 Siddhesh Poyarekar <siddhesh@redhat.com>
3552
888c679b
SP
3553 Sync up with gnulib.
3554 * misc/error.c: Use !_LIBC instead of HAVE_CONFIG_H.
3555 [!_LIBC && ENABLE_NLS]: Include gettext.h.
3556 [_LIBC]: Define USE_UNLOCKED_IO, _GL_ATTRIBUTE_FORMAT_PRINTF
3557 and _GL_ARG_NONNULL.
3558 [USE_UNLOCKED_IO]: Include unlocked-io.h.
3559 [!_LIBC]: Include code for Windows and Cygwin.
3560 [!_LIBC && !HAVE_DECL_STRERROR_R && !STRERROR_R_CHAR_P]:
3561 Include prototype for int strerror_r.
3562 [!_LIBC] (is_open): New function.
3563 (flush_stdout): New function.
3564 (print_errno_message): Use it.
3565 (error): Likewise.
3566 (error_at_line): Likewise.
3567 (error_tail) Add function attribute macros. Use
3568 __builtin_expect.
3569
180e0e4b
SP
3570 * time/strptime_l.c [_LIBC]: Define HAVE_LOCALTIME_R.
3571
d22f1fe2
SP
3572 * time/strftime_l.c [_LIBC]: Define HAVE_STRFTIME.
3573
12f2254b
SP
3574 * io/ftw.c: Include sys/param.h unconditionally.
3575
c3c7c360
SP
3576 * locale/programs/simple-hash.c [!HAVE_OBSTACK]: Remove code.
3577
d62aa75a
SP
3578 [BZ #17125]
3579 * sysdeps/unix/sysv/linux/check_pf.c (cache): Don't use
3580 libc_freeres_ptr.
3581 (freecache): New function to free CACHE on exit.
3582
d69b7f5a
SP
3583 * sunrpc/xdr.c (xdr_string): Add comment about SIZE
3584 initialization.
3585
5efe06a1
DM
35862014-07-09 David S. Miller <davem@davemloft.net>
3587
3588 * sysdeps/sparc/fpu/libm-test-ulps: Update.
3589
7000d82e
DM
3590 * sysdeps/sparc/nptl/internaltypes.h: Delete.
3591 * sysdeps/sparc/nptl/sparc-nptl.h: New file.
3592 * sysdeps/sparc/nptl/pthread_barrier_destroy.c: Include it.
3593 * sysdeps/sparc/nptl/pthread_barrier_init.c: Likewise.
3594 * sysdeps/sparc/nptl/pthread_barrier_wait.c: Likewise.
3595 * sysdeps/sparc/nptl/sem_init.c: Likewise.
3596 * sysdeps/sparc/nptl/sem_post.c: Likewise.
3597 * sysdeps/sparc/nptl/sem_timedwait.c: Likewise.
3598 * sysdeps/sparc/nptl/sem_wait.c: Likewise.
3599 * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: Likewise.
3600 * sysdeps/sparc/sparc32/nptl/sem_post.c: Likewise.
3601 * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: Likewise.
3602 * sysdeps/sparc/sparc32/nptl/sem_wait.c: Likewise.
3603
c213442d
AS
36042014-07-09 Andreas Schwab <schwab@suse.de>
3605
4a2552c3
AS
3606 * sysdeps/powerpc/test-gettimebase.c (do_test): Add newline to
3607 output.
3608 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c
3609 (do_test): Likewise.
3610
c213442d
AS
3611 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
3612
82374e65
WN
36132014-07-09 Will Newton <will.newton@linaro.org>
3614
3615 * sysdeps/aarch64/tlsdesc.c (_dl_unmap): Test SHARED with #ifdef.
3616 * sysdeps/arm/tlsdesc.c (_dl_unmap): Likewise.
3617 * sysdeps/i386/tlsdesc.c (_dl_unmap): Likewise.
3618 * sysdeps/x86_64/tlsdesc.c (_dl_unmap): Likewise.
3619 * sysdeps/hppa/start.S (_start): Likewise.
3620
6680738a
SP
36212014-07-09 Siddhesh Poyarekar <siddhesh@redhat.com>
3622
6ee3eab4
SP
3623 * sunrpc/xdr.c (xdr_string): Initialize SIZE to 0.
3624
6680738a
SP
3625 * sysdeps/generic/unwind-pe.h: Only check if __cplusplus is
3626 defined.
3627
80b5c505
SP
36282014-07-08 Siddhesh Poyarekar <siddhesh@redhat.com>
3629
e35c53e3
SP
3630 * resolv/res_query.c (__libc_res_nsearch): Dereference resplen2
3631 after checking that it is non-NULL.
3632
80b5c505
SP
3633 * sysdeps/i386/dl-machine.h: Define ELF_MACHINE_NO_REL.
3634
91f4b564
AZ
36352014-07-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3636
27b75f56
AZ
3637 * sysdeps/powerpc/memmove.c: Remove file.
3638 * sysdeps/powerpc/powerpc32/power4/memcopy.h
3639 [MEMCPY_OK_FOR_FWD_MEMMOVE]: Define it to 1.
3640 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c
3641 [MEMCPY_OK_FOR_FWD_MEMMOVE]: Remove define.
3642 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-ppc.c:
3643 [MEMCPY_OK_FOR_FWD_MEMMOVE]: Likewise.
3644 * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Include default
3645 string memmove instead of removed powerpc one.
3646
e7f95bb5
AZ
3647 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
3648 [weak_alias]: Fix compiler warning due trailing data.
3649 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S:
3650 [weak_alias]: Likewise.
3651 * sysdeps/powerpc/powerpc64/multiarch/strcat-power7.c: Fix compile
3652 warnigs due missing definition of __strcpy_power7 and __strlen_power7.
3653
91f4b564
AZ
3654 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
3655 (__libc_ifunc_impl_list): Add memmove functions.
3656
7c33f1e5
SP
36572014-07-08 Siddhesh Poyarekar <siddhesh@redhat.com>
3658
3659 * localedata/tests-mbwc/dat_iswalnum.c [SHOJI_IS_RIGHT]:
3660 Remove code.
3661 * localedata/tests-mbwc/dat_iswalpha.c [SHOJI_IS_RIGHT]:
3662 Likewise
3663 * localedata/tests-mbwc/dat_iswctype.c [SHOJI_IS_RIGHT]:
3664 Likewise
3665 * localedata/tests-mbwc/dat_iswgraph.c [SHOJI_IS_RIGHT]:
3666 Likewise
3667 * localedata/tests-mbwc/dat_iswprint.c [SHOJI_IS_RIGHT]:
3668 Likewise
3669 * localedata/tests-mbwc/dat_iswpunct.c [SHOJI_IS_RIGHT]:
3670 Likewise
3671 * localedata/tests-mbwc/dat_mbrlen.c [SHOJI_IS_RIGHT]:
3672 Likewise
3673 * localedata/tests-mbwc/dat_mbstowcs.c [SHOJI_IS_RIGHT]:
3674 Likewise
3675 * localedata/tests-mbwc/dat_mbtowc.c [SHOJI_IS_RIGHT]:
3676 Likewise
3677 * localedata/tests-mbwc/dat_strcoll.c [SHOJI_IS_RIGHT]:
3678 Likewise
3679 * localedata/tests-mbwc/dat_swscanf.c [SHOJI_IS_RIGHT]:
3680 Likewise
3681 * localedata/tests-mbwc/dat_towctrans.c [SHOJI_IS_RIGHT]:
3682 Likewise
3683 * localedata/tests-mbwc/dat_wcscoll.c [SHOJI_IS_RIGHT]:
3684 Likewise
3685 * localedata/tests-mbwc/dat_wcswidth.c [SHOJI_IS_RIGHT]:
3686 Likewise
3687 * localedata/tests-mbwc/dat_wctob.c [SHOJI_IS_RIGHT]:
3688 Likewise
3689 * localedata/tests-mbwc/dat_wcwidth.c [SHOJI_IS_RIGHT]:
3690 Likewise
3691 * localedata/tests-mbwc/tst_towctrans.c [SHOJI_IS_RIGHT]:
3692 Likewise
3693
3f17b03b
AZ
36942014-07-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3695
87868c24
AZ
3696 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Align VSX copies to 16B
3697 to avoid alignment traps in non-cacheable memory.
3698 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
3699
07aedd78
AZ
3700 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memmove
3701 multiarch objects.
3702 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c: New
3703 file: multiarch power7 memmove.
3704 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-ppc.c: New file:
3705 multiarch default memmove.
3706 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove.c: New file:
3707 multiarch memove for powerpc32/power4.
3708
17762f66
AZ
3709 * string/bcopy.c: Use full path to include memmove.c.
3710 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memmove and bcopy
3711 multiarch objects.
3712 * sysdeps/powerpc/powerpc64/multiarch/bcopy-ppc64.c: New file: default
3713 bcopy for powerpc64.
3714 * sysdeps/powerpc/powerpc64/multiarch/bcopy.c: New file: multiarch
3715 bcopy for powerpc64.
3716 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Add bcopy
3717 and memmove implementations.
3718 * sysdeps/powerpc/powerpc64/multiarch/memmove-power7.S: New file:
3719 optimized multiarch memmove for POWER7/powerpc64.
3720 * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: New file:
3721 default multiarch memmove for powerpc64.
3722 * sysdeps/powerpc/powerpc64/multiarch/memmove.c: New file: memmove
3723 multiarch for powerpc64.
3724 * sysdeps/powerpc/powerpc64/power7/bcopy.c: New file: optimized bcopy
3725 for POWER7/powerpc64.
3726 * sysdeps/powerpc/powerpc64/power7/memmove.S: New file: optimized
3727 memmove for POWER7/powerpc64.
3728
d6f68bbe
AZ
3729 * sysdeps/powerpc/memmove.c (memmove): Cleanup impplementation to use
3730 glibc default one.
3731
3f17b03b
AZ
3732 * sysdeps/powerpc/bits/link.h [_CALL_ELF]: Guard check for
3733 __ELF_NATIVE_CLASS equal to 64.
3734
08192659
RM
37352014-07-07 Roland McGrath <roland@hack.frob.com>
3736
f4c4021b
RM
3737 * sysdeps/nptl/lowlevellock.h: File removed.
3738
f083450f
RM
3739 * NEWS: NPTL is no longer an add-on!
3740 * nptl/internaltypes.h: Moved ...
3741 * sysdeps/nptl/internaltypes.h: ... here.
3742 * sysdeps/nptl/aio_misc.h: Use <nptl/pthreadP.h> in #include.
3743 * sysdeps/nptl/fork.c: Likewise.
3744 * sysdeps/nptl/gai_misc.h: Likewise.
3745 * sysdeps/nptl/librt-cancellation.c: Likewise.
3746 * sysdeps/nptl/jmp-unwind.c: Likewise.
3747 * sysdeps/nptl/setxid.h: Likewise.
3748 * sysdeps/unix/sysv/linux/aarch64/Implies: New file.
3749 * sysdeps/unix/sysv/linux/alpha/Implies: Add alpha/nptl.
3750 * sysdeps/unix/sysv/linux/arm/Implies: New file.
3751 * sysdeps/unix/sysv/linux/hppa/Implies: New file.
3752 * sysdeps/unix/sysv/linux/i386/Implies: Add i386/nptl.
3753 * sysdeps/unix/sysv/linux/i386/i686/Implies: New file.
3754 * sysdeps/unix/sysv/linux/ia64/Implies: Add ia64/nptl.
3755 * sysdeps/unix/sysv/linux/m68k/Implies: New file.
3756 * sysdeps/unix/sysv/linux/microblaze/Implies: New file.
3757 * sysdeps/unix/sysv/linux/mips/Implies: New file.
3758 * sysdeps/unix/sysv/linux/powerpc/Implies: New file.
3759 * sysdeps/unix/sysv/linux/s390/Implies: Add s390/nptl.
3760 * sysdeps/unix/sysv/linux/sh/Implies: New file.
3761 * sysdeps/unix/sysv/linux/sparc/Implies: New file.
3762 * sysdeps/unix/sysv/linux/tile/Implies: New file.
3763 * sysdeps/unix/sysv/linux/x86_64/Implies: Add x86_64/nptl.
3764 * sysdeps/unix/sysv/linux/x86_64/x32/Implies: New file.
3765 * nptl/Makeconfig: Moved ...
3766 * sysdeps/nptl/Makeconfig: ... here.
3767 * nptl/configure: File removed.
3768 * nptl/ANNOUNCE: File removed.
3769 * sysdeps/unix/sysv/linux/configure.ac: Remove nptl sanity check.
3770 * sysdeps/unix/sysv/linux/configure: Regenerated.
3771
08192659
RM
3772 * nptl/Makefile (routines): Add libc_pthread_init,
3773 libc_multiple_threads, register-atfork and unregister-atfork.
3774 (libpthread-routines): Add pthread_mutex_cond_lock and pt-fork here.
3775 (gen-as-const-headers): Add lowlevelcond.sym, lowlevelrwlock.sym,
3776 lowlevelbarrier.sym, unwindbuf.sym, lowlevelrobustlock.sym,
3777 pthread-pi-defines.sym, structsem.sym.
3778 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = posix]
3779 (CFLAGS-fork.c, CFLAGS-getpid.o, CFLAGS-getpid.os): New variables.
3780 [$(subdir) = nptl] (tests): Add tst-setgetname.
3781 * nptl/sysdeps/unix/sysv/linux/Makefile: File removed.
3782 * sysdeps/unix/sysv/linux/sigaction.c: Just include
3783 <nptl/sigaction.c> directly here, instead of WRAPPER_INCLUDE.
3784 [!LIBC_SIGACTION]: Remove aliases.
3785 * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Likewise.
3786 * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
3787 * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
3788 * sysdeps/unix/sysv/linux/ia64/sigaction.c: Likewise.
3789 * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
3790 * sysdeps/unix/sysv/linux/s390/s390-64/sigaction.c: Likewise.
3791 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
3792 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
3793 * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
3794 * nptl/Versions (libc: GLIBC_2.3.2): Add __register_atfork.
3795 (libc: GLIBC_PRIVATE): Add __libc_pthread_init,
3796 __libc_current_sigrtmin_private, __libc_current_sigrtmax_private,
3797 __libc_allocate_rtsig_private.
3798 * nptl/sysdeps/unix/sysv/linux/Versions: File removed.
3799 * sysdeps/unix/sysv/linux/sigtimedwait.c: Include <nptl/pthreadP.h>.
3800 * sysdeps/unix/sysv/linux/sigwait.c: Likewise.
3801 * sysdeps/unix/sysv/linux/sigwaitinfo.c: Likewise.
3802 * sysdeps/unix/sysv/linux/sleep.c: Likewise.
3803 * nptl/sysdeps/unix/sysv/linux/sigwait.c: File removed.
3804 * nptl/sysdeps/unix/sysv/linux/sigtimedwait.c: File removed.
3805 * nptl/sysdeps/unix/sysv/linux/sigwaitinfo.c: File removed.
3806 * nptl/sysdeps/unix/sysv/linux/sleep.c: File removed.
3807 * nptl/sysdeps/unix/sysv/linux/createthread.c: File removed.
3808 * sysdeps/unix/sysv/linux/ia64/fork.S: File removed.
3809 * nptl/sysdeps/unix/sysv/linux/internaltypes.h: Moved ...
3810 * nptl/internaltypes.h: ... here.
3811 * nptl/sysdeps/unix/sysv/linux/jmp-unwind.c: Moved ...
3812 * sysdeps/nptl/jmp-unwind.c: ... here.
3813 * nptl/sysdeps/unix/sysv/linux/libc-lowlevellock.c: Moved ...
3814 * nptl/libc-lowlevellock.c: ... here.
3815 * nptl/sysdeps/unix/sysv/linux/libc_multiple_threads.c: Moved ...
3816 * nptl/libc_multiple_threads.c: ... here.
3817 * nptl/sysdeps/unix/sysv/linux/libc_pthread_init.c: Moved ...
3818 * nptl/libc_pthread_init.c: ... here.
3819 * nptl/sysdeps/unix/sysv/linux/lowlevelbarrier.sym: Moved ...
3820 * nptl/lowlevelbarrier.sym: ... here.
3821 * nptl/sysdeps/unix/sysv/linux/lowlevelcond.sym: Moved ...
3822 * nptl/lowlevelcond.sym: ... here.
3823 * nptl/sysdeps/unix/sysv/linux/lowlevellock.c: Moved ...
3824 * nptl/lowlevellock.c: ... here.
3825 * nptl/lowlevellock.h: Moved ...
3826 * sysdeps/nptl/lowlevellock.h: ... here.
3827 * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.c: Moved ...
3828 * nptl/lowlevelrobustlock.c: ... here.
3829 * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.sym: Moved ...
3830 * nptl/lowlevelrobustlock.sym: ... here.
3831 * nptl/sysdeps/unix/sysv/linux/lowlevelrwlock.sym: Moved ...
3832 * nptl/lowlevelrwlock.sym: ... here.
3833 * nptl/sysdeps/unix/sysv/linux/pt-fork.c: Moved ...
3834 * nptl/pt-fork.c: ... here.
3835 * nptl/sysdeps/unix/sysv/linux/pthread-pi-defines.sym: Moved ...
3836 * nptl/pthread-pi-defines.sym: ... here.
3837 * nptl/sysdeps/unix/sysv/linux/pthread_attr_getaffinity.c: Moved ...
3838 * nptl/pthread_attr_getaffinity.c: ... here.
3839 * nptl/sysdeps/unix/sysv/linux/pthread_attr_setaffinity.c: Moved ...
3840 * nptl/pthread_attr_setaffinity.c: ... here.
3841 * nptl/sysdeps/unix/sysv/linux/pthread_mutex_cond_lock.c: Moved ...
3842 * nptl/pthread_mutex_cond_lock.c: ... here.
3843 * sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
3844 Update #include.
3845 * sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: Likewise.
3846 * nptl/sysdeps/unix/sysv/linux/pthread_once.c: Moved ...
3847 * nptl/pthread_once.c: ... here, replacing old file.
3848 * nptl/sysdeps/unix/sysv/linux/pthread_yield.c: Moved ...
3849 * nptl/pthread_yield.c: ... here.
3850 * nptl/sysdeps/unix/sysv/linux/register-atfork.c: Moved ...
3851 * nptl/register-atfork.c: ... here.
3852 * nptl/sysdeps/unix/sysv/linux/sem_post.c: Moved ...
3853 * nptl/sem_post.c: ... here.
3854 * sysdeps/unix/sysv/linux/alpha/sem_post.c: Update #include.
3855 * nptl/sysdeps/unix/sysv/linux/sem_timedwait.c: Moved ...
3856 * nptl/sem_timedwait.c: ... here.
3857 * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Moved ...
3858 * nptl/sem_trywait.c: ... here.
3859 * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: Update #include.
3860 * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Moved ...
3861 * nptl/sem_wait.c: ... here.
3862 * nptl/sysdeps/unix/sysv/linux/structsem.sym: Moved ...
3863 * nptl/structsem.sym: ... here.
3864 * nptl/sysdeps/unix/sysv/linux/mq_notify.c: Moved ...
3865 * sysdeps/unix/sysv/linux/mq_notify.c: ... here, replacing old file.
3866 * nptl/sysdeps/unix/sysv/linux/unregister-atfork.c: Moved ...
3867 * nptl/unregister-atfork.c: ... here.
3868 * nptl/sysdeps/unix/sysv/linux/unwindbuf.sym: Moved ...
3869 * nptl/unwindbuf.sym: ... here.
3870 * nptl/sysdeps/unix/sysv/linux/fork.c: Moved ...
3871 * sysdeps/nptl/fork.c: ... here.
3872 * nptl/sysdeps/unix/sysv/linux/fork.h: Moved ...
3873 * sysdeps/nptl/fork.h: ... here.
3874 * sysdeps/unix/sysv/linux/syscalls.list: Remove fork.
3875 * nptl/sysdeps/unix/sysv/linux/aio_misc.h: Moved ...
3876 * sysdeps/unix/sysv/linux/aio_misc.h: ... here.
3877 * nptl/sysdeps/unix/sysv/linux/allocrtsig.c: Moved ...
3878 * sysdeps/unix/sysv/linux/allocrtsig.c: ... here.
3879 * nptl/sysdeps/unix/sysv/linux/getpid.c: Moved ...
3880 * sysdeps/unix/sysv/linux/getpid.c: ... here.
3881 * nptl/sysdeps/unix/sysv/linux/kernel-posix-timers.h: Moved ...
3882 * sysdeps/unix/sysv/linux/kernel-posix-timers.h: ... here.
3883 * nptl/sysdeps/unix/sysv/linux/pt-raise.c: Moved ...
3884 * sysdeps/unix/sysv/linux/pt-raise.c: ... here.
3885 * nptl/sysdeps/unix/sysv/linux/pthread_getaffinity.c: Moved ...
3886 * sysdeps/unix/sysv/linux/pthread_getaffinity.c: ... here.
3887 * nptl/sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: Moved ...
3888 * sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: ... here.
3889 * nptl/sysdeps/unix/sysv/linux/pthread_getname.c: Moved ...
3890 * sysdeps/unix/sysv/linux/pthread_getname.c: ... here.
3891 * nptl/sysdeps/unix/sysv/linux/pthread_kill.c: Moved ...
3892 * sysdeps/unix/sysv/linux/pthread_kill.c: ... here.
3893 * nptl/sysdeps/unix/sysv/linux/pthread_setaffinity.c: Moved ...
3894 * sysdeps/unix/sysv/linux/pthread_setaffinity.c: ... here.
3895 * nptl/sysdeps/unix/sysv/linux/pthread_setname.c: Moved ...
3896 * sysdeps/unix/sysv/linux/pthread_setname.c: ... here.
3897 * nptl/sysdeps/unix/sysv/linux/pthread_sigqueue.c: Moved ...
3898 * sysdeps/unix/sysv/linux/pthread_sigqueue.c: ... here.
3899 * nptl/sysdeps/unix/sysv/linux/raise.c: Moved ...
3900 * sysdeps/unix/sysv/linux/raise.c: ... here.
3901 * nptl/sysdeps/unix/sysv/linux/timer_create.c: Moved ...
3902 * sysdeps/unix/sysv/linux/timer_create.c: ... here.
3903 * nptl/sysdeps/unix/sysv/linux/timer_delete.c: Moved ...
3904 * sysdeps/unix/sysv/linux/timer_delete.c: ... here.
3905 * nptl/sysdeps/unix/sysv/linux/timer_getoverr.c: Moved ...
3906 * sysdeps/unix/sysv/linux/timer_getoverr.c: ... here.
3907 * nptl/sysdeps/unix/sysv/linux/timer_gettime.c: Moved ...
3908 * sysdeps/unix/sysv/linux/timer_gettime.c: ... here.
3909 * nptl/sysdeps/unix/sysv/linux/timer_routines.c: Moved ...
3910 * sysdeps/unix/sysv/linux/timer_routines.c: ... here.
3911 * nptl/sysdeps/unix/sysv/linux/timer_settime.c: Moved ...
3912 * sysdeps/unix/sysv/linux/timer_settime.c: ... here.
3913 * nptl/sysdeps/unix/sysv/linux/tst-setgetname.c: Moved ...
3914 * sysdeps/unix/sysv/linux/tst-setgetname.c: ... here.
3915 * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Update #include.
3916
96baf6ff
SP
39172014-07-04 Siddhesh Poyarekar <siddhesh@redhat.com>
3918
3919 * sysdeps/generic/memcopy.h: Add comment for
3920 MEMCPY_OK_FOR_FWD_MEMMOVE.
3921
6b7b14b2
WN
39222014-07-04 Will Newton <will.newton@linaro.org>
3923
1570a72b
WN
3924 * string/memchr.c: Merge from gnulib.
3925 [_LIBC]: Remove conditionals.
3926 (__ptr_t): Remove define.
3927 (LONG_MAX_32_BITS): Likewise.
3928 (LONG_MAX): Likewise.
3929 (MEMCHR): Use ANSI prototype and optimize algorithm.
3930
6b7b14b2
WN
3931 * sysdeps/arm/dl-machine.h (ELF_MACHINE_NO_REL): Define.
3932
38851324
SP
39332014-07-03 Roland McGrath <roland@hack.frob.com>
3934
3d9eb57c
RM
3935 * sysdeps/unix/sysv/linux/ia64/lowlevellock.h
3936 (lll_futex_timed_wait_bitset): Fix syscall argument count.
3937
78b984ae
RM
3938 * sysdeps/nptl/configure.ac (libc_cv_forced_unwind):
3939 Use -Dinhibit_libc=1 for unwind.h check to prevent false failure
3940 in a bare environment with no <stdlib.h> installed.
3941 * sysdeps/nptl/configure: Regenerated.
3942
2d5976a5
RM
3943 * sysdeps/alpha/fpu/s_nearbyint.c: Include <math_ldbl_opt.h>.
3944
c1f5acd4
RM
3945 * sysdeps/unix/sysv/linux/configure.ac: Use AC_TRY_COMPILE rather than
3946 AC_EGREP_CPP for kernel header checks, so they only succeed if
3947 including <linux/version.h> actually works right.
3948 * sysdeps/unix/sysv/linux/configure: Regenerated.
3949
4d614fe5
RM
3950 * sysdeps/s390/nptl/tls.h (THREAD_SET_POINTER_GUARD): Refer to the
3951 value so it's not diagnosed as unused.
3952
38851324
SP
3953 * sysdeps/pthread/Makefile: Conditionalize tst-timer bits (the only
3954 thing) with "ifeq ($(subdir),rt)".
3955
b3ec00e5
RH
39562014-07-03 Richard Henderson <rth@redhat.com>
3957
69862e25
RH
3958 * sysdeps/alpha/fpu/s_nearbyintf.c: Remove file.
3959 * sysdeps/alpha/fpu/s_nearbyint.c (__nearbyint): Remove;
3960 include sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c.
3961
d5e16ade
RH
3962 * sysdeps/alpha/fpu/math_private.h (math_opt_barrier): New.
3963 (math_force_eval): New.
3964
ca7b945c
RH
3965 * sysdeps/alpha/fpu/s_lround.c: Add 0.5 with chopped rounding.
3966 * sysdeps/alpha/fpu/s_lroundf.c: Likewise.
3967
cd1175a3
RH
3968 * sysdeps/alpha/fpu/s_round.c: Remove file.
3969 * sysdeps/alpha/fpu/s_roundf.c: Remove file.
3970
b3ec00e5
RH
3971 * elf/dl-support.c (HP_TIMING_AVAIL): Do not redefine.
3972 (_dl_non_dynamic_init): Check HP_SMALL_TIMING_AVAIL instead.
3973 * elf/rtld.c (HP_TIMING_AVAIL): Do not redefine.
3974 (_dl_start_final): Check HP_SMALL_TIMING_AVAIL instead.
3975 (_dl_start, print_statistics): Likewise.
3976 * sysdeps/generic/ldsodefs.h (struct rtld_global): Only check
3977 HP_SMALL_TIMING_AVAIL in defining _dl_cpuclock_offset.
3978
3979 * sysdeps/aarch64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
3980 * sysdeps/generic/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
3981 * sysdeps/i386/i686/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
3982 * sysdeps/ia64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
3983 * sysdeps/powerpc/powerpc32/power4/hp-timing.h
3984 (HP_SMALL_TIMING_AVAIL): Define.
3985 * sysdeps/powerpc/powerpc64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
3986 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h
3987 (HP_SMALL_TIMING_AVAIL): Define.
3988 * sysdeps/sparc/sparc64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
3989 * sysdeps/x86_64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
3990
3991 * sysdeps/aarch64/hp-timing.h: New file.
3992
3993 * sysdeps/generic/hp-timing.h: Remove dead comment.
3994 * sysdeps/generic/hp-timing-common.h: New file.
3995 * sysdeps/alpha/hp-timing.h: Include it.
3996 (HP_TIMING_DIFF, HP_TIMING_ACCUM_NT, HP_TIMING_PRINT): Remove.
3997 * sysdeps/i386/i686/hp-timing.h: Likewise.
3998 * sysdeps/ia64/hp-timing.h: Likewise.
3999 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
4000 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
4001 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
4002 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
4003 * sysdeps/x86_64/hp-timing.h: Don't include the i686 version.
4004 (HP_TIMING_AVAIL, HP_TIMING_INLINE): Define.
4005 (hp_timing_t): New.
4006
4007 * benchtests/bench-string.h (_dl_hp_timing_overhead): Remove.
4008 * benchtests/bench-timing.h (_dl_hp_timing_overhead): Remove.
4009 (TIMING_INIT): Remove call to HP_TIMING_DIFF_INIT.
4010 * elf/rtld.c (_dl_start_final): Likewise.
4011 * sysdeps/generic/ldsodefs.h (_dl_hp_timing_overhead): Remove.
4012 * sysdeps/alpha/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
4013 * sysdeps/generic/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
4014 * sysdeps/i386/i686/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
4015 * sysdeps/ia64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
4016 * sysdeps/powerpc/powerpc32/power4/hp-timing.h
4017 (HP_TIMING_DIFF_INIT): Remove.
4018 * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
4019 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h
4020 (HP_TIMING_DIFF_INIT): Remove.
4021 * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
4022 * sysdeps/i386/i686/hp-timing.c: Remove file.
4023 * sysdeps/x86_64/hp-timing.c: Remove file.
4024 * sysdeps/ia64/hp-timing.c: Remove file.
4025 * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Remove file.
4026 * sysdeps/powerpc/powerpc64/hp-timing.c: Remove file.
4027 * sysdeps/sparc/sparc32/sparcv9/hp-timing.c: Remove file.
4028 * sysdeps/sparc/sparc64/hp-timing.c: Remove file.
4029
4030 * sysdeps/alpha/hp-timing.h (HP_TIMING_ACCUM): Remove.
4031 * sysdeps/generic/hp-timing.h (HP_TIMING_ACCUM): Remove.
4032 * sysdeps/i386/i686/hp-timing.h (HP_TIMING_ACCUM): Remove.
4033 * sysdeps/ia64/hp-timing.h (HP_TIMING_ACCUM): Remove.
4034 * sysdeps/powerpc/powerpc32/power4/hp-timing.h
4035 (HP_TIMING_ACCUM): Remove.
4036 * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_ACCUM): Remove.
4037 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h (HP_TIMING_ACCUM): Remove.
4038 * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_ACCUM): Remove.
4039
4040 * sysdeps/alpha/hp-timing.h (HP_TIMING_ZERO): Remove.
4041 * sysdeps/generic/hp-timing.h (HP_TIMING_ZERO): Remove.
4042 * sysdeps/i386/i686/hp-timing.h (HP_TIMING_ZERO): Remove.
4043 * sysdeps/ia64/hp-timing.h (HP_TIMING_ZERO): Remove.
4044 * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_ZERO): Remove.
4045 * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_ZERO): Remove.
4046 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h (HP_TIMING_ZERO): Remove.
4047 * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_ZERO): Remove.
4048
4049 * sysdeps/powerpc/powerpc32/hp-timing.h: Remove file.
4050
225f410f
MR
40512014-07-03 Maciej W. Rozycki <macro@codesourcery.com>
4052
4053 * stdlib/tst-strtod-overflow.c (TIMEOUT): Bump up to 30.
4054
3247f285
SP
40552014-07-02 Siddhesh Poyarekar <siddhesh@redhat.com>
4056
4057 Sync up with gettext.
4058 * intl/loadmsgcat.c: Define O_BINARY if not defined.
4059 [_MSC_VER]: Include malloc.h
4060 [_LIBC]: Define PRI_MACROS_BROKEN if it is not defined.
4061 (get_sysdep_segment_value) [!__UCLIBC__]: Return "I" flag.
4062 (_nl_load_domain): Open DOMAIN_FILE in binary mode. Don't use
4063 TEMP_FAILURE_RETRY. Cast return of alloca.
4064 [!_LIBC] Call gl_rwlock_init.
4065 [IN_LIBGLOCALE]: Call _nl_find_msg with one less argument.
4066
d12704c7
SP
40672014-07-02 Roland McGrath <roland@hack.frob.com>
4068
4069 * misc/sys/cdefs.h: Check if __STDC_VERSION__ is defined
4070 before checking its value.
4071
99f8dc92
SP
40722014-07-02 Siddhesh Poyarekar <siddhesh@redhat.com>
4073
05fdac77
SP
4074 * intl/loadmsgcat.c (_nl_load_domain): Use __builtin_expect.
4075
99f8dc92
SP
4076 * debug/memcpy_chk.c: Don't include pagecopy.h.
4077 * debug/mempcpy_chk.c: Likewise.
4078 * string/memcpy.c: Likewise.
4079 * string/memmove.c: Likewise.
4080 * sysdeps/powerpc/memmove.c: Likewise.
4081 * sysdeps/generic/memcopy.h: Include pagecopy.h. Move
4082 definition of PAGE_COPY_FWD_MAYBE here...
4083 * sysdeps/generic/pagecopy.h: ... from here.
4084 * sysdeps/mach/pagecopy.h: Don't include generic pagecopy.h.
4085
bc8ea385
VR
40862014-07-02 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
4087 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4088
4089 * sysdeps/powerpc/strcat.c: Using macro to redefine symbol name.
4090 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcat multiarch
4091 optimizations.
4092 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
4093 (__libc_ifunc_impl_list): Likewise.
4094 * sysdeps/powerpc/powerpc64/multiarch/strcat.c: New file:
4095 multiarch strcat for PPC64.
4096 * sysdeps/powerpc/powerpc64/multiarch/strcat-ppc64.c: New file/
4097 * sysdeps/powerpc/powerpc64/multiarch/strcat-power7.c: New file.
4098
fe5f34e4
RM
40992014-07-02 Roland McGrath <roland@hack.frob.com>
4100
4101 * sysdeps/unix/sysv/linux/dl-sysdep.c: Include <sys/param.h>.
4102
256aa665
SP
41032014-07-02 Siddhesh Poyarekar <siddhesh@redhat.com>
4104
d4eb8195
SP
4105 * intl/loadmsgcat.c: Remove declaration of
4106 get_sysdep_segment_value.
4107 (get_sysdep_segment_value): Use ISO C style.
4108 (_nl_load_domain): Use ISO C style. Get rid of redundant
4109 semicolon. Fix typo and formatting in comment.
4110 (_nl_unload_domain): Use ISO C style.
4111
256aa665
SP
4112 * sysdeps/posix/sysconf.c (__sysconf): Fix typo in macro name.
4113
b100f9aa
WN
41142014-07-02 Will Newton <will.newton@linaro.org>
4115
4116 * malloc/obstack.c: Merge from gnulib master.
4117 [HAVE_CONFIG_H]: Remove conditional code.
4118 [!_LIBC]: Include config.h.
4119 [!ELIDE_CODE]: Don't include inttypes.h, include
4120 stdint.h unconditionally.
4121 (print_and_abort): Mark as _Noreturn.
4122 (_obstack_allocated_p): Mark as __attribute_pure__.
4123 (obstack_free): Rename to __obstack_free.
4124 [!__attribute__]: Remove conditional code.
4125 * malloc/obstack.h: Merge from gnulib master.
4126 [__cplusplus]: Move conditional down.
4127 [!__attribute_pure__]: Define __attribute_pure__ here
4128 if it is not already defined.
4129 (_obstack_memory_used): Mark as __attribute_pure__.
4130 [!__obstack_free]: Define as obstack_free.
4131 [__GNUC__]: Remove check for ancient NeXT gcc.
4132
c4c41244
PE
41332014-07-02 Will Newton <will.newton@linaro.org>
4134 Paul Eggert <eggert@cs.ucla.edu>
4135
4136 * misc/sys/cdefs.h (_Noreturn): New macro, for pre-C11 compilers.
4137
e1e041c4
SP
41382014-07-02 Siddhesh Poyarekar <siddhesh@redhat.com>
4139
4140 * resolv/gethnamaddr.c: Add comment warning that the file is
4141 not maintained.
4142
ccf431ff
CD
41432014-07-01 Carlos O'Donell <carlos@redhat.com>
4144
d34570a6
CD
4145 * sysdeps/unix/sysv/linux/hppa/librt.abilist: Remove GLIBC_2.3
4146 entries.
4147
ccf431ff
CD
4148 * sysdeps/unix/sysv/linux/hppa/Versions: Remove librt GLIBC_2.3
4149 entry for aio_cancel and aio_cancel64.
4150 * sysdeps/unix/sysv/linux/hppa/ld.abilist: New file.
4151 * sysdeps/unix/sysv/linux/hppa/libBrokenLocale.abilist: New file.
4152 * sysdeps/unix/sysv/linux/hppa/libanl.abilist: New file.
4153 * sysdeps/unix/sysv/linux/hppa/libc.abilist: New file.
4154 * sysdeps/unix/sysv/linux/hppa/libcrypt.abilist: New file.
4155 * sysdeps/unix/sysv/linux/hppa/libdl.abilist: New file.
4156 * sysdeps/unix/sysv/linux/hppa/libm.abilist: New file.
4157 * sysdeps/unix/sysv/linux/hppa/libnsl.abilist: New file.
4158 * sysdeps/unix/sysv/linux/hppa/libpthread.abilist: New file.
4159 * sysdeps/unix/sysv/linux/hppa/libresolv.abilist: New file.
4160 * sysdeps/unix/sysv/linux/hppa/librt.abilist: New file.
4161 * sysdeps/unix/sysv/linux/hppa/libthread_db.abilist: New file.
4162 * sysdeps/unix/sysv/linux/hppa/libutil.abilist: New file.
4163
ca06321d
RM
41642014-07-01 Roland McGrath <roland@hack.frob.com>
4165
4166 * sysdeps/unix/sysv/linux/sysconf.c: Include <sys/param.h>.
4167 * nptl/pthread_mutex_lock.c: Likewise.
4168 * nptl/pthread_mutex_timedlock.c: Likewise.
4169 * nptl/sysdeps/unix/sysv/linux/pthread_attr_getaffinity.c: Likewise.
4170
a1ac3184
RH
41712014-07-01 Richard henderson <rth@redhat.com>
4172
631021e0
RH
4173 * sysdeps/alpha/fpu/bits/mathinline.h (__isnanf): Remove.
4174 (__isnan, __isnanl): Remove.
4175 * sysdeps/alpha/fpu/s_isnan.c (__isnan): Use integer arithmetic.
4176
a1ac3184
RH
4177 * sysdeps/alpha/fpu/libm-test-ulps: Update.
4178
0c1d731f
SL
41792014-07-01 Stefan Liebler <stli@linux.vnet.ibm.com>
4180
4181 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
4182
76985d3e
SP
41832014-07-01 Siddhesh Poyarekar <siddhesh@redhat.com>
4184
4185 * resolv/nss_dns/dns-host.c (getanswer_r)
4186 [MULTI_PTRS_ARE_ALIASES]: Remove code.
4187
b0cb3096
JM
41882014-07-01 Joseph Myers <joseph@codesourcery.com>
4189
4190 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
4191 [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PSELECT): Do not
4192 undefine.
4193 [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PREADV): Likewise.
4194 [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PWRITEV): Likewise.
4195
4d76cb39
RM
41962014-07-01 Roland McGrath <roland@hack.frob.com>
4197
4198 * sysdeps/unix/sysv/linux/microblaze/arch-fork.h: New file.
4199 * sysdeps/unix/sysv/linux/microblaze/nptl/fork.c: File removed.
4200
4201 * sysdeps/microblaze/nptl/tls.h: Define TLS_DEFINE_INIT_TP.
4202 * sysdeps/unix/sysv/linux/microblaze/nptl/createthread.c: File removed.
4203
4204 * sysdeps/microblaze/nptl/bits/pthreadtypes.h: Moved ...
4205 * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h:
4206 ... here.
4207 * sysdeps/microblaze/nptl/bits/semaphore.h: Moved ...
4208 * sysdeps/unix/sysv/linux/microblaze/nptl/bits/semaphore.h: ... here.
4209
4210 * sysdeps/unix/sysv/linux/microblaze/pt-vfork.S: Moved ...
4211 * sysdeps/unix/sysv/linux/microblaze/nptl/pt-vfork.S: ... here.
4212 * sysdeps/unix/sysv/linux/microblaze/nptl/vfork.S: Moved ...
4213 * sysdeps/unix/sysv/linux/microblaze/vfork.S: ... here.
4214
4215 * sysdeps/unix/sysv/linux/microblaze/c++-types.data: Moved ...
4216 * sysdeps/unix/sysv/linux/microblaze/nptl/c++-types.data: ... here.
4217 * sysdeps/unix/sysv/linux/microblaze/ld.abilist: Moved ...
4218 * sysdeps/unix/sysv/linux/microblaze/nptl/ld.abilist: ... here.
4219 * sysdeps/unix/sysv/linux/microblaze/libBrokenLocale.abilist:
4220 Moved ...
4221 * sysdeps/unix/sysv/linux/microblaze/nptl/libBrokenLocale.abilist:
4222 ... here.
4223 * sysdeps/unix/sysv/linux/microblaze/libanl.abilist: Moved ...
4224 * sysdeps/unix/sysv/linux/microblaze/nptl/libanl.abilist: ... here.
4225 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Moved ...
4226 * sysdeps/unix/sysv/linux/microblaze/nptl/libc.abilist: ... here.
4227 * sysdeps/unix/sysv/linux/microblaze/libcrypt.abilist: Moved ...
4228 * sysdeps/unix/sysv/linux/microblaze/nptl/libcrypt.abilist: ... here.
4229 * sysdeps/unix/sysv/linux/microblaze/libdl.abilist: Moved ...
4230 * sysdeps/unix/sysv/linux/microblaze/nptl/libdl.abilist: ... here.
4231 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Moved ...
4232 * sysdeps/unix/sysv/linux/microblaze/nptl/libm.abilist: ... here.
4233 * sysdeps/unix/sysv/linux/microblaze/libnsl.abilist: Moved ...
4234 * sysdeps/unix/sysv/linux/microblaze/nptl/libnsl.abilist: ... here.
4235 * sysdeps/unix/sysv/linux/microblaze/libpthread.abilist: Moved ...
4236 * sysdeps/unix/sysv/linux/microblaze/nptl/libpthread.abilist: ... here.
4237 * sysdeps/unix/sysv/linux/microblaze/libresolv.abilist: Moved ...
4238 * sysdeps/unix/sysv/linux/microblaze/nptl/libresolv.abilist: ... here.
4239 * sysdeps/unix/sysv/linux/microblaze/librt.abilist: Moved ...
4240 * sysdeps/unix/sysv/linux/microblaze/nptl/librt.abilist: ... here.
4241 * sysdeps/unix/sysv/linux/microblaze/libthread_db.abilist: Moved ...
4242 * sysdeps/unix/sysv/linux/microblaze/nptl/libthread_db.abilist:
4243 ... here.
4244 * sysdeps/unix/sysv/linux/microblaze/libutil.abilist: Moved ...
4245 * sysdeps/unix/sysv/linux/microblaze/nptl/libutil.abilist: ... here.
4246 * sysdeps/unix/sysv/linux/microblaze/localplt.data: Moved ...
4247 * sysdeps/unix/sysv/linux/microblaze/nptl/localplt.data: ... here.
4248 * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Moved ...
4249 * sysdeps/unix/sysv/linux/microblaze/nptl/lowlevellock.h: ... here.
4250 * sysdeps/unix/sysv/linux/microblaze/nptl/pthread_once.c: Moved ...
4251 * sysdeps/unix/sysv/linux/microblaze/pthread_once.c: ... here.
4252
0cdcad17
DH
42532014-07-01 David Holsgrove <david.holsgrove@xilinx.com>
4254
4255 * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: New file.
4256 * sysdeps/unix/sysv/linux/microblaze/socket.S: Update SINGLE_THREAD_P use.
4257 * sysdeps/unix/sysv/linux/microblaze/Makefile(libpthread-routines):
4258 Add sysdep.
4259
9b71d0e3
AZ
42602014-06-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4261
4262 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
4263
665390c2
JM
42642014-06-30 Joseph Myers <joseph@codesourcery.com>
4265
ae05a9d7
JM
4266 * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
4267 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
4268
a7672a2f
JM
4269 * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
4270
665390c2
JM
4271 * sysdeps/arm/libm-test-ulps: Regenerated.
4272
d7a05d07
MR
42732014-06-30 Maciej W. Rozycki <macro@codesourcery.com>
4274 Roland McGrath <roland@hack.frob.com>
4275
4276 * test-skeleton.c (signal_handler): Kill the whole process group
4277 before killing the child individually.
4278 (main): Report any failure on `setpgid'.
4279
46f1d8a6
RM
42802014-06-30 Roland McGrath <roland@hack.frob.com>
4281
4282 * sysdeps/arm/nptl/tls.h: Rename the multiple inclusion guard
4283 from _TLS_H to _ARM_NPTL_TLS_H.
4284 (TLS_INIT_TP): Move macro, and #include of <sysdep.h>, to ...
4285 * sysdeps/unix/sysv/linux/arm/tls.h: ... this new file.
4286
9c37ec0b
JM
42872014-06-30 Joseph Myers <joseph@codesourcery.com>
4288
ce9c5b3e
JM
4289 [BZ #16539]
4290 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Include <float.h>.
4291 (__expm1l): Return argument unchanged when small but not
4292 subnormal.
4293
3a6e9887
JM
4294 * soft-fp/op-1.h (_FP_UNPACK_RAW_1): Rename local variables to
4295 include macro name.
4296 (_FP_UNPACK_RAW_1_P): Likewise.
4297 (_FP_PACK_RAW_1): Likewise.
4298 (_FP_PACK_RAW_1_P): Likewise.
4299 (_FP_MUL_MEAT_1_wide): Likewise.
4300 (_FP_MUL_MEAT_DW_1_hard): Likewise.
4301 (_FP_MUL_MEAT_1_hard): Likewise.
4302 (_FP_DIV_MEAT_1_imm): Likewise.
4303 (_FP_DIV_MEAT_1_udiv_norm): Likewise.
4304 (_FP_DIV_MEAT_1_udiv): Likewise.
4305 * soft-fp/op-2.h (__FP_FRAC_DEC_2): Likewise.
4306 (_FP_UNPACK_RAW_2): Likewise.
4307 (_FP_UNPACK_RAW_2_P): Likewise.
4308 (_FP_PACK_RAW_2): Likewise.
4309 (_FP_PACK_RAW_2_P): Likewise.
4310 (_FP_MUL_MEAT_DW_2_wide): Likewise.
4311 (_FP_MUL_MEAT_2_wide): Likewise.
4312 (_FP_MUL_MEAT_DW_2_wide_3mul): Likewise.
4313 (_FP_MUL_MEAT_2_wide_3mul): Likewise.
4314 (_FP_MUL_MEAT_DW_2_gmp): Likewise.
4315 (_FP_MUL_MEAT_2_gmp): Likewise.
4316 (_FP_DIV_MEAT_2_udiv): Likewise.
4317 * soft-fp/op-4.h (_FP_FRAC_SLL_4): Likewise.
4318 (_FP_FRAC_SRL_4): Likewise.
4319 (_FP_FRAC_SRST_4): Likewise.
4320 (_FP_FRAC_SRS_4): Likewise.
4321 (_FP_UNPACK_RAW_4): Likewise.
4322 (_FP_UNPACK_RAW_4_P): Likewise.
4323 (_FP_PACK_RAW_4): Likewise.
4324 (_FP_PACK_RAW_4_P): Likewise.
4325 (_FP_MUL_MEAT_DW_4_wide): Likewise.
4326 (_FP_MUL_MEAT_4_wide): Likewise.
4327 (_FP_MUL_MEAT_4_gmp): Likewise.
4328 (umul_ppppmnnn): Likewise.
4329 (_FP_DIV_MEAT_4_udiv): Likewise.
4330 (__FP_FRAC_ADD_4): Likewise.
4331 (__FP_FRAC_SUB_3): Likewise.
4332 (__FP_FRAC_SUB_4): Likewise.
4333 (__FP_FRAC_DEC_3): Likewise.
4334 (__FP_FRAC_DEC_4): Likewise.
4335 (__FP_FRAC_ADDI_4): Likewise.
4336 * soft-fp/op-8.h (_FP_FRAC_SLL_8): Likewise.
4337 (_FP_FRAC_SRL_8): Likewise.
4338 (_FP_FRAC_SRS_8): Likewise.
4339
9c37ec0b
JM
4340 * soft-fp/extended.h (FP_UNPACK_RAW_E): Rename local variables to
4341 include macro name.
4342 (FP_UNPACK_RAW_EP): Likewise.
4343 (FP_PACK_RAW_E): Likewise.
4344 (FP_PACK_RAW_EP): Likewise.
4345 * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Likewise.
4346 (_FP_ISSIGNAN): Likewise.
4347 (_FP_ADD_INTERNAL): Likewise.
4348 (_FP_FMA): Likewise.
4349 (_FP_CMP): Likewise.
4350 (_FP_SQRT): Likewise.
4351 (_FP_TO_INT): Likewise.
4352 (_FP_FROM_INT): Likewise.
4353 (FP_EXTEND): Likewise.
4354 (_FP_DIV_MEAT_N_loop): Likewise.
4355
2125f674
MR
43562014-06-30 Maciej W. Rozycki <macro@codesourcery.com>
4357
4358 * sysdeps/unix/sysv/linux/bits/socket.h: Adjust macro formatting
4359 throughout.
4360
edea4028
JM
43612014-06-29 Joseph Myers <joseph@codesourcery.com>
4362
4363 [BZ #17097]
4364 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Return
4365 result with correct sign in case of exponents that produce
4366 overflow except for X very close to 1.
4367
dd0ba018
PE
43682014-06-28 Paul Eggert <eggert@cs.ucla.edu>
4369
4370 mktime: merge #if/#ifdef usage from glibc
4371 * lib/mktime.c: Use "#if defined DEBUG && DEBUG", not "#if DEBUG",
4372 as that works with both Glibc's and Gnulib's style.
4373 See thread starting at Siddhesh Poyarekar's bug report at:
4374 http://lists.gnu.org/archive/html/bug-gnulib/2014-06/msg00102.html
4375
64df73c2
SP
43762014-06-28 Siddhesh Poyarekar <siddhesh@redhat.com>
4377
4378 * sysdeps/generic/memcopy.h: Define MEMCPY_OK_FOR_FWD_MEMMOVE.
4379 * sysdeps/tile/memcopy.h: Redefine MEMCPY_OK_FOR_FWD_MEMMOVE.
4380 * sysdeps/tile/tilegx/memmove.c: Remove file.
4381
f1eafb41
JM
43822014-06-27 Joseph Myers <joseph@codesourcery.com>
4383
4384 * Makeconfig ($(common-objpfx)soversions.mk): Do not generate
4385 abi-name definition.
4386 * scripts/soversions.awk: Do not handle or generate ABI lines.
4387 * shlib-versions: Remove ABI entries.
4388 * sysdeps/powerpc/nofpu/shlib-versions: Remove file.
4389 * sysdeps/x86_64/x32/shlib-versions: Remove ABI entry.
4390
58eb0862
RM
43912014-06-27 Roland McGrath <roland@hack.frob.com>
4392
37caf178
RM
4393 * sysdeps/unix/sysv/linux/mips/mips32/nptl/c++-types.data: Moved ...
4394 * sysdeps/unix/sysv/linux/mips/mips32/c++-types.data: ... here.
4395 * sysdeps/unix/sysv/linux/mips/mips32/fpu/nptl/libc.abilist: Moved ...
4396 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: ... here.
4397 * sysdeps/unix/sysv/linux/mips/mips32/nptl/ld.abilist: Moved ...
4398 * sysdeps/unix/sysv/linux/mips/mips32/ld.abilist: ... here.
4399 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libBrokenLocale.abilist:
4400 Moved ...
4401 * sysdeps/unix/sysv/linux/mips/mips32/libBrokenLocale.abilist:
4402 ... here.
4403 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libanl.abilist: Moved ...
4404 * sysdeps/unix/sysv/linux/mips/mips32/libanl.abilist: ... here.
4405 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libcidn.abilist: Moved ...
4406 * sysdeps/unix/sysv/linux/mips/mips32/libcidn.abilist: ... here.
4407 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libcrypt.abilist: Moved ...
4408 * sysdeps/unix/sysv/linux/mips/mips32/libcrypt.abilist: ... here.
4409 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libdl.abilist: Moved ...
4410 * sysdeps/unix/sysv/linux/mips/mips32/libdl.abilist: ... here.
4411 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libm.abilist: Moved ...
4412 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: ... here.
4413 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnsl.abilist: Moved ...
4414 * sysdeps/unix/sysv/linux/mips/mips32/libnsl.abilist: ... here.
4415 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_compat.abilist:
4416 Moved ...
4417 * sysdeps/unix/sysv/linux/mips/mips32/libnss_compat.abilist: ... here.
4418 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_db.abilist: Moved ...
4419 * sysdeps/unix/sysv/linux/mips/mips32/libnss_db.abilist: ... here.
4420 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_dns.abilist: Moved ...
4421 * sysdeps/unix/sysv/linux/mips/mips32/libnss_dns.abilist: ... here.
4422 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_files.abilist:
4423 Moved ...
4424 * sysdeps/unix/sysv/linux/mips/mips32/libnss_files.abilist: ... here.
4425 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_hesiod.abilist:
4426 Moved ...
4427 * sysdeps/unix/sysv/linux/mips/mips32/libnss_hesiod.abilist: ... here.
4428 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_nis.abilist: Moved ...
4429 * sysdeps/unix/sysv/linux/mips/mips32/libnss_nis.abilist: ... here.
4430 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_nisplus.abilist:
4431 Moved ...
4432 * sysdeps/unix/sysv/linux/mips/mips32/libnss_nisplus.abilist: ... here.
4433 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libpthread.abilist: Moved ...
4434 * sysdeps/unix/sysv/linux/mips/mips32/libpthread.abilist: ... here.
4435 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libresolv.abilist: Moved ...
4436 * sysdeps/unix/sysv/linux/mips/mips32/libresolv.abilist: ... here.
4437 * sysdeps/unix/sysv/linux/mips/mips32/nptl/librt.abilist: Moved ...
4438 * sysdeps/unix/sysv/linux/mips/mips32/librt.abilist: ... here.
4439 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libthread_db.abilist:
4440 Moved ...
4441 * sysdeps/unix/sysv/linux/mips/mips32/libthread_db.abilist: ... here.
4442 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libutil.abilist: Moved ...
4443 * sysdeps/unix/sysv/linux/mips/mips32/libutil.abilist: ... here.
4444 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/nptl/libc.abilist:
4445 Moved ...
4446 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: ... here.
4447 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/c++-types.data:
4448 Moved ...
4449 * sysdeps/unix/sysv/linux/mips/mips64/n32/c++-types.data: ... here.
4450 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/ld.abilist: Moved ...
4451 * sysdeps/unix/sysv/linux/mips/mips64/n32/ld.abilist: ... here.
4452 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libBrokenLocale.abilist:
4453 Moved ...
4454 * sysdeps/unix/sysv/linux/mips/mips64/libBrokenLocale.abilist:
4455 ... here.
4456 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libBrokenLocale.abilist:
4457 Identical file removed.
4458 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libanl.abilist:
4459 Moved ...
4460 * sysdeps/unix/sysv/linux/mips/mips64/libanl.abilist: ... here.
4461 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libanl.abilist:
4462 Identical file removed.
4463 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libc.abilist: Moved ...
4464 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: ... here.
4465 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libcrypt.abilist:
4466 Moved ...
4467 * sysdeps/unix/sysv/linux/mips/mips64/libcrypt.abilist: ... here.
4468 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libcrypt.abilist:
4469 Identical file removed.
4470 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libdl.abilist: Moved ...
4471 * sysdeps/unix/sysv/linux/mips/mips64/libdl.abilist: ... here.
4472 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libdl.abilist:
4473 Identical file removed.
4474 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libm.abilist: Moved ...
4475 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: ... here.
4476 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libm.abilist:
4477 Identical file removed.
4478 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libnsl.abilist: Moved ...
4479 * sysdeps/unix/sysv/linux/mips/mips64/libnsl.abilist: ... here.
4480 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libnsl.abilist:
4481 Identical file removed.
4482 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libpthread.abilist:
4483 Moved ...
4484 * sysdeps/unix/sysv/linux/mips/mips64/libpthread.abilist: ... here.
4485 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libpthread.abilist:
4486 Identical file removed.
4487 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libresolv.abilist:
4488 Moved ...
4489 * sysdeps/unix/sysv/linux/mips/mips64/n32/libresolv.abilist: ... here.
4490 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/librt.abilist: Moved ...
4491 * sysdeps/unix/sysv/linux/mips/mips64/librt.abilist: ... here.
4492 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/librt.abilist:
4493 Identical file removed.
4494 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libthread_db.abilist:
4495 Moved ...
4496 * sysdeps/unix/sysv/linux/mips/mips64/libthread_db.abilist:
4497 ... here.
4498 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libthread_db.abilist:
4499 Identical file removed.
4500 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libutil.abilist:
4501 Moved ...
4502 * sysdeps/unix/sysv/linux/mips/mips64/libutil.abilist: ... here.
4503 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libutil.abilist:
4504 Identical file removed.
4505 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/c++-types.data:
4506 Moved ...
4507 * sysdeps/unix/sysv/linux/mips/mips64/n64/c++-types.data: ... here.
4508 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/ld.abilist: Moved ...
4509 * sysdeps/unix/sysv/linux/mips/mips64/n64/ld.abilist: ... here.
4510 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libc.abilist: Moved ...
4511 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: ... here.
4512 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libresolv.abilist:
4513 Moved ...
4514 * sysdeps/unix/sysv/linux/mips/mips64/n64/libresolv.abilist: ... here.
4515 * sysdeps/unix/sysv/linux/mips/mips64/nptl/sysdep-cancel.h: Moved ...
4516 * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: ... here.
4517
58eb0862
RM
4518 * sysdeps/unix/sysv/linux/mips/vfork.S: Incorporate
4519 SAVE_PID and RESTORE_PID blocks from nptl/pt-vfork.S.
4520 * sysdeps/unix/sysv/linux/mips/nptl/vfork.S: File removed.
4521 * sysdeps/unix/sysv/linux/mips/nptl/pt-vfork.S: File removed.
4522 * sysdeps/unix/sysv/linux/mips/pt-vfork.S: New file.
4523
6f12d062
AS
45242014-06-27 Arjun Shankar <arjun.is@lostca.se>
4525
4526 [BZ #17092]
4527 * nscd/nscd.c (monitor_child): Return exit status of child
4528 instead of return value from wait syscall.
4529
be254932
JM
45302014-06-27 Joseph Myers <joseph@codesourcery.com>
4531
cb403c34
JM
4532 * configure.ac (libc_commonpagesize): Remove variable.
4533 (libc_relro_required): Likewise.
4534 (libc_cv_z_relro): Remove configure test.
4535 * configure: Regenerated.
4536 * sysdeps/aarch64/preconfigure (libc_commonpagesize): Do not set
4537 variable.
4538 (libc_relro_required): Likewise.
4539 * sysdeps/alpha/preconfigure (libc_commonpagesize): Likewise.
4540 (libc_relro_required): Likewise.
4541 * sysdeps/arm/preconfigure.ac (libc_commonpagesize): Likewise.
4542 (libc_relro_required): Likewise.
4543 * sysdeps/arm/preconfigure: Regenerated.
4544 * sysdeps/ia64/preconfigure: Remove file.
4545 * sysdeps/tile/preconfigure (libc_commonpagesize): Do not set
4546 variable.
4547 (libc_relro_required): Likewise.
4548
be254932
JM
4549 [BZ #16561]
4550 [BZ #16562]
4551 * sysdeps/ieee754/dbl-64/e_jn.c: Include <float.h>.
4552 (__ieee754_yn): Set FE_TONEAREST mode internally and then
4553 recompute overflowing results in original rounding mode.
4554 * sysdeps/ieee754/flt-32/e_jnf.c: Include <float.h>.
4555 (__ieee754_ynf): Set FE_TONEAREST mode internally and then
4556 recompute overflowing results in original rounding mode.
4557 * sysdeps/ieee754/ldbl-128/e_jnl.c: Include <float.h>.
4558 (__ieee754_ynl): Set FE_TONEAREST mode internally and then
4559 recompute overflowing results in original rounding mode.
4560 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Include <float.h>.
4561 (__ieee754_ynl): Set FE_TONEAREST mode internally and then
4562 recompute overflowing results in original rounding mode.
4563 * sysdeps/ieee754/ldbl-96/e_jnl.c: Include <float.h>.
4564 (__ieee754_ynl): Set FE_TONEAREST mode internally and then
4565 recompute overflowing results in original rounding mode.
4566 * sysdeps/i386/fpu/fenv_private.h [!__SSE2_MATH__]
4567 (libc_feholdsetround_ctx): New macro.
4568 * math/libm-test.inc (yn_test): Use ALL_RM_TEST.
4569 * sysdeps/i386/fpu/libm-test-ulps: Update.
4570 * sysdeps/x86_64/fpu/libm-test-ulps : Likewise.
4571
b351d85a
JM
45722014-06-26 Joseph Myers <joseph@codesourcery.com>
4573
4574 * sysdeps/unix/sysv/linux/mips/mips64/nptl/sysdep-cancel.h
4575 [__PIC__] (PSEUDO): Use name of _nocancel entry point in
4576 corresponding .cpsetup call.
4577
3cb4de47
RM
45782014-06-26 Roland McGrath <roland@hack.frob.com>
4579
4580 * sysdeps/unix/sysv/linux/arm/libc-aeabi_read_tp.S: Moved ...
4581 * sysdeps/arm/libc-aeabi_read_tp.S: ... here.
4582 * sysdeps/arm/Makefile [$(subdir) = csu]
4583 (aeabi_routines): Add aeabi_read_tp and libc-aeabi_read_tp here.
4584 (static-only-routines): Add aeabi_read_tp here.
4585 (shared-only-routines): Add libc-aeabi_read_tp here.
4586 (CFLAGS-libc-start.c): Add -fexceptions here.
4587 * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = csu]
4588 (sysdep_routines, static-only-routines, shared-only-routines):
4589 Don't add to these here.
4590 (CFLAGS-libc-start.c): Likewise.
4591
4592 * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: Moved ...
4593 * sysdeps/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
4594 * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: Moved ...
4595 * sysdeps/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
4596 * sysdeps/arm/Makefile [$(subdir) = rt]
4597 (librt-sysdep_routines, librt-shared-only-routines):
4598 Append rt-aeabi_unwind_cpp_pr1 here.
4599 * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = rt]
4600 (librt-sysdep_routines, librt-shared-only-routines): Don't do it here.
4601 * sysdeps/arm/nptl/Makefile [$(subdir) = nptl]
4602 (libpthread-sysdep_routines, libpthread-shared-only-routines):
4603 Append nptl-aeabi_unwind_cpp_pr1 here.
4604 (tests): Filter out tst-cleanupx4 here.
4605 * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = nptl]
4606 (libpthread-sysdep_routines, libpthread-shared-only-routines, tests):
4607 Don't do those here.
4608
354426bb
JM
46092014-06-26 Joseph Myers <joseph@codesourcery.com>
4610
4611 * scripts/list-sources.sh: Do not handle ports specially.
4612
28b0a8c9
RM
46132014-06-26 Roland McGrath <roland@hack.frob.com>
4614
a3dd035d
RM
4615 * sysdeps/arm/fesetenv.c: Include <fpu_control.h>.
4616 * sysdeps/arm/feupdateenv.c: Likewise.
4617
28b0a8c9
RM
4618 * posix/spawn_faction_addopen.c: Include <stdlib.h> for free decl.
4619
e66a8203
JM
46202014-06-26 Joseph Myers <joseph@codesourcery.com>
4621
4622 * manual/texinfo.tex: Update to version 2014-05-05.10 with
4623 trailing whitespace removed.
4624 * scripts/config.guess: Update to version 2014-03-23.
4625 * scripts/config.sub: Update to version 2014-05-01
4626 * scripts/install-sh: Update to version 2013-12-25.23.
4627 * scripts/move-if-change: Update from gnulib.
4628
74171115
SP
46292014-06-26 Siddhesh Poyarekar <siddhesh@redhat.com>
4630
b97c9ce5
SP
4631 * debug/memmove_chk.c: Remove pagecopy.h include.
4632
4000f892
SP
46332014-06-26 Paul Eggert <eggert@cs.ucla.edu>
4634
74171115
SP
4635 * time/mktime.c (leapyear): Remove inline keyword. The code is now
4636 identical to gnulib mktime.
4637
a8779c28
JM
46382014-06-26 Joseph Myers <joseph@codesourcery.com>
4639
e64708de
JM
4640 * configure.ac: Do not test for machine being rs6000. Do not test
4641 for powerpc*-*soft.
4642 * configure: Regenerated.
4643
a8779c28
JM
4644 * configure.ac (libc_cv_asm_cfi_directives): Remove configure
4645 test.
4646 * configure: Regenerated.
4647 * config.h.in (HAVE_ASM_CFI_DIRECTIVES): Remove macro undefine.
4648 * sysdeps/arm/configure.ac (libc_cv_asm_cfi_directive_sections):
4649 Remove configure test.
4650 * sysdeps/arm/configure: Regenerated.
4651 * sysdeps/nptl/configure.ac: Do not check
4652 libc_cv_asm_cfi_directives.
4653 * sysdeps/nptl/configure: Regenerated.
4654 * sysdeps/x86_64/nptl/configure.ac: Remove file.
4655 * sysdeps/x86_64/nptl/configure: Remove generated file.
4656 * b/sysdeps/generic/sysdep.h [HAVE_ASM_CFI_DIRECTIVES]: Make code
4657 unconditional.
4658 [!HAVE_ASM_CFI_DIRECTIVES]: Remove conditional code.
4659
2aac0a86
SP
46602014-06-26 Siddhesh Poyarekar <siddhesh@redhat.com>
4661
059bf913
SP
4662 * posix/fnmatch.c: Define WIDE_CHAR_VERSION.
4663 * posix/fnmatch_loop.c: Undefine WIDE_CHAR_VERSION.
4664 (FCT): Check value of WIDE_CHAR_VERSION instead of checking if
4665 it is defined.
4666
4cf5b6d0
SP
4667 * elf/dl-runtime.c: Check for value of ELF_MACHINE_NO_RELA
4668 instead of whether it is defined.
4669 * sysdeps/aarch64/dl-machine.h: Define ELF_MACHINE_NO_RELA.
4670 * sysdeps/hppa/dl-machine.h: Likewise.
4671 * sysdeps/ia64/dl-machine.h: Likewise.
4672 * sysdeps/m68k/dl-machine.h: Likewise.
4673 * sysdeps/microblaze/dl-machine.h: Likewise.
4674 * sysdeps/mips/dl-machine.: Likewise.
4675 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
4676 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
4677 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
4678 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
4679 * sysdeps/sh/dl-machine.h: Likewise.
4680 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
4681 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
4682 * sysdeps/tile/dl-machine.h: Likewise.
4683 * sysdeps/x86_64/dl-machine.h: Likewise.
4684
2aac0a86
SP
4685 * nscd/connections.c (enum usekey) [SEPARATE_KEY]: Remove
4686 code.
4687 (verify_persistent_db): Likewise.
4688
6ad2df0b
RM
46892014-06-26 Roland McGrath <roland@hack.frob.com>
4690
d8a483f3
RM
4691 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data: Moved ...
4692 * sysdeps/unix/sysv/linux/s390/s390-32/c++-types.data: ... here.
4693 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Moved ...
4694 * sysdeps/unix/sysv/linux/s390/s390-32/ld.abilist: ... here.
4695 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
4696 Moved ...
4697 * sysdeps/unix/sysv/linux/s390/s390-32/libBrokenLocale.abilist:
4698 ... here.
4699 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: Moved ...
4700 * sysdeps/unix/sysv/linux/s390/libanl.abilist: ... here.
4701 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist:
4702 Identical file removed.
4703 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Moved ...
4704 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: ... here.
4705 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: Moved ...
4706 * sysdeps/unix/sysv/linux/s390/s390-32/libcrypt.abilist: ... here.
4707 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: Moved ...
4708 * sysdeps/unix/sysv/linux/s390/s390-32/libdl.abilist: ... here.
4709 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Moved ...
4710 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: ... here.
4711 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: Moved ...
4712 * sysdeps/unix/sysv/linux/s390/s390-32/libnsl.abilist: ... here.
4713 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
4714 Moved ...
4715 * sysdeps/unix/sysv/linux/s390/s390-32/libpthread.abilist: ... here.
4716 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: Moved ...
4717 * sysdeps/unix/sysv/linux/s390/s390-32/libresolv.abilist: ... here.
4718 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Moved ...
4719 * sysdeps/unix/sysv/linux/s390/s390-32/librt.abilist: ... here.
4720 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
4721 Moved ...
4722 * sysdeps/unix/sysv/linux/s390/s390-32/libthread_db.abilist: ... here.
4723 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Moved ...
4724 * sysdeps/unix/sysv/linux/s390/s390-32/libutil.abilist: ... here.
4725 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data: Moved ...
4726 * sysdeps/unix/sysv/linux/s390/localplt.data: ... here.
4727 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
4728 Identical file removed.
4729 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data: Moved ...
4730 * sysdeps/unix/sysv/linux/s390/s390-64/c++-types.data: ... here.
4731 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Moved ...
4732 * sysdeps/unix/sysv/linux/s390/s390-64/ld.abilist: ... here.
4733 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
4734 Moved ...
4735 * sysdeps/unix/sysv/linux/s390/s390-64/libBrokenLocale.abilist:
4736 ... here.
4737 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Moved ...
4738 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: ... here.
4739 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: Moved ...
4740 * sysdeps/unix/sysv/linux/s390/s390-64/libcrypt.abilist: ... here.
4741 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: Moved ...
4742 * sysdeps/unix/sysv/linux/s390/s390-64/libdl.abilist: ... here.
4743 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Moved ...
4744 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: ... here.
4745 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: Moved ...
4746 * sysdeps/unix/sysv/linux/s390/s390-64/libnsl.abilist: ... here.
4747 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
4748 Moved ...
4749 * sysdeps/unix/sysv/linux/s390/s390-64/libpthread.abilist: ... here.
4750 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist:
4751 Moved ...
4752 * sysdeps/unix/sysv/linux/s390/s390-64/libresolv.abilist: ... here.
4753 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: Moved ...
4754 * sysdeps/unix/sysv/linux/s390/s390-64/librt.abilist: ... here.
4755 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
4756 Moved ...
4757 * sysdeps/unix/sysv/linux/s390/s390-64/libthread_db.abilist: ... here.
4758 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: Moved ...
4759 * sysdeps/unix/sysv/linux/s390/s390-64/libutil.abilist: ... here.
4760
52ae23b4
RM
4761 * nptl/sysdeps/unix/sysv/linux/s390/Makefile: File removed, contents
4762 folded into ...
4763 * sysdeps/unix/sysv/linux/s390/Makefile [$(subdir) = nptl]: ... here.
4764 * sysdeps/unix/sysv/linux/s390/Versions
4765 (libpthread: GLIBC_2.19): New version set.
4766 * nptl/sysdeps/unix/sysv/linux/s390/Versions: File removed.
4767 * sysdeps/unix/sysv/linux/s390/s390-64/Versions
4768 (librt: GLIBC_2.3.3): New version set.
4769 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/Versions: File removed.
4770 * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: Moved ...
4771 * sysdeps/unix/sysv/linux/s390/elision-conf.c: ... here.
4772 * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Moved ...
4773 * sysdeps/unix/sysv/linux/s390/elision-conf.h: ... here.
4774 * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Moved ...
4775 * sysdeps/unix/sysv/linux/s390/elision-lock.c: ... here.
4776 * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Moved ...
4777 * sysdeps/unix/sysv/linux/s390/elision-timed.c: ... here.
4778 * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Moved ...
4779 * sysdeps/unix/sysv/linux/s390/elision-trylock.c: ... here.
4780 * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Moved ...
4781 * sysdeps/unix/sysv/linux/s390/elision-unlock.c: ... here.
4782 * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Moved ...
4783 * sysdeps/unix/sysv/linux/s390/force-elision.h: ... here.
4784 * nptl/sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Moved ...
4785 * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: ... here.
4786 * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h: Moved ...
4787 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: ... here.
4788 * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: Moved ...
4789 * sysdeps/unix/sysv/linux/s390/pt-longjmp.c: ... here.
4790 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c: Moved ...
4791 * sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c: ... here.
4792 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c: Moved ...
4793 * sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c: ... here.
4794 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c: Moved ...
4795 * sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c: ... here.
4796 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c: Moved ...
4797 * sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c: ... here.
4798 * nptl/sysdeps/unix/sysv/linux/s390/pthread_once.c: Moved ...
4799 * sysdeps/unix/sysv/linux/s390/pthread_once.c: ... here.
4800 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Moved ...
4801 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: ... here.
4802 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Moved ...
4803 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: ... here.
4804 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Moved ...
4805 * sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: ... here.
4806 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Moved ...
4807 * sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: ... here.
4808 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Moved ...
4809 * sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: ... here.
4810 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Moved ...
4811 * sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: ... here.
4812 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Moved ...
4813 * sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: ... here.
4814
39507e4a
RM
4815 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Moved ...
4816 * sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: ... here.
4817 (__libc_vfork): Define the function under this name.
4818 [!NOT_IN_libc] (__vfork): Make this an alias.
4819 [!NOT_IN_libc] (vfork): Conditionalize the weak_alias.
4820 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Moved ...
4821 * sysdeps/unix/sysv/linux/s390/s390-64/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 * sysdeps/unix/sysv/linux/s390/pt-vfork.S: New file.
4826 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/pt-vfork.S: File removed.
4827 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/pt-vfork.S: File removed.
4828 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Remove vfork.
4829 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
4830
e549ee56
RM
4831 * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Deconditionalize the
4832 code that was previously under [RESET_PID].
4833 * sysdeps/unix/sysv/linux/s390/s390-64/clone.S: Likewise.
4834 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/clone.S: File removed.
4835 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/clone.S: File removed.
4836
6ad2df0b
RM
4837 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h: Moved ...
4838 * sysdeps/aarch64/nptl/bits/pthreadtypes.h: ... here.
4839 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/semaphore.h: Moved ...
4840 * sysdeps/aarch64/nptl/bits/semaphore.h: ... here.
4841 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/local_lim.h: Moved ...
4842 * sysdeps/unix/sysv/linux/aarch64/bits/local_lim.h: ... here.
4843 * sysdeps/unix/sysv/linux/aarch64/nptl/c++-types.data: Moved ...
4844 * sysdeps/unix/sysv/linux/aarch64/c++-types.data: ... here.
4845 * sysdeps/unix/sysv/linux/aarch64/nptl/ld.abilist: Moved ...
4846 * sysdeps/unix/sysv/linux/aarch64/ld.abilist: ... here.
4847 * sysdeps/unix/sysv/linux/aarch64/nptl/libBrokenLocale.abilist:
4848 Moved ...
4849 * sysdeps/unix/sysv/linux/aarch64/libBrokenLocale.abilist: ... here.
4850 * sysdeps/unix/sysv/linux/aarch64/nptl/libanl.abilist: Moved ...
4851 * sysdeps/unix/sysv/linux/aarch64/libanl.abilist: ... here.
4852 * sysdeps/unix/sysv/linux/aarch64/nptl/libc.abilist: Moved ...
4853 * sysdeps/unix/sysv/linux/aarch64/libc.abilist: ... here.
4854 * sysdeps/unix/sysv/linux/aarch64/nptl/libcrypt.abilist: Moved ...
4855 * sysdeps/unix/sysv/linux/aarch64/libcrypt.abilist: ... here.
4856 * sysdeps/unix/sysv/linux/aarch64/nptl/libdl.abilist: Moved ...
4857 * sysdeps/unix/sysv/linux/aarch64/libdl.abilist: ... here.
4858 * sysdeps/unix/sysv/linux/aarch64/nptl/libm.abilist: Moved ...
4859 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: ... here.
4860 * sysdeps/unix/sysv/linux/aarch64/nptl/libnsl.abilist: Moved ...
4861 * sysdeps/unix/sysv/linux/aarch64/libnsl.abilist: ... here.
4862 * sysdeps/unix/sysv/linux/aarch64/nptl/libpthread.abilist: Moved ...
4863 * sysdeps/unix/sysv/linux/aarch64/libpthread.abilist: ... here.
4864 * sysdeps/unix/sysv/linux/aarch64/nptl/libresolv.abilist: Moved ...
4865 * sysdeps/unix/sysv/linux/aarch64/libresolv.abilist: ... here.
4866 * sysdeps/unix/sysv/linux/aarch64/nptl/librt.abilist: Moved ...
4867 * sysdeps/unix/sysv/linux/aarch64/librt.abilist: ... here.
4868 * sysdeps/unix/sysv/linux/aarch64/nptl/libthread_db.abilist: Moved ...
4869 * sysdeps/unix/sysv/linux/aarch64/libthread_db.abilist: ... here.
4870 * sysdeps/unix/sysv/linux/aarch64/nptl/libutil.abilist: Moved ...
4871 * sysdeps/unix/sysv/linux/aarch64/libutil.abilist: ... here.
4872 * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data: Moved ...
4873 * sysdeps/unix/sysv/linux/aarch64/localplt.data: ... here.
4874 * sysdeps/unix/sysv/linux/aarch64/nptl/lowlevellock.h: Moved ...
4875 * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: ... here.
4876 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Moved ...
4877 * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: ... here.
4878
7c1c1d8e
RM
48792014-06-25 Roland McGrath <roland@hack.frob.com>
4880
4881 * sysdeps/unix/sysv/linux/mips/clone.S: Deconditionalize the code
4882 that was previously under [RESET_PID].
4883 * sysdeps/unix/sysv/linux/mips/nptl/clone.S: File removed.
4884
3e239be6
JM
48852014-06-25 Joseph Myers <joseph@codesourcery.com>
4886
74385da5
JM
4887 * sysdeps/unix/sysv/linux/dl-opendir.c (__ASSUME_O_CLOEXEC): Do
4888 not undefine and redefine.
4889 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs)
4890 [O_CLOEXEC]: Make code unconditional.
4891 (__get_nprocs) [!O_CLOEXEC]: Remove conditional code.
4892 * sysdeps/unix/sysv/linux/shm_open.c: Do not include
4893 <kernel-features.h>.
4894 [O_CLOEXEC && !__ASSUME_O_CLOEXEC] (have_o_cloexec): Remove
4895 conditional variable definition.
4896 (shm_open) [O_CLOEXEC]: Make code unconditional.
4897 (shm_open) [!O_CLOEXEC || !__ASSUME_O_CLOEXEC]: Remove conditional
4898 code.
4899
c2570a0b
JM
4900 * configure.ac (USE_REGPARMS): Don't define here.
4901 * configure: Regenerated.
4902 * sysdeps/i386/configure.ac (USE_REGPARMS): Define here.
4903 * sysdeps/i386/configure: Regenerated.
4904
11b076bb
JM
4905 * nptl/createthread.c: Don't include kernel-features.h.
4906 * nptl/pthread_cancel.c: Likewise.
4907 * nptl/pthread_condattr_setclock.c: Likewise.
4908 * nptl/sysdeps/unix/sysv/linux/pt-raise.c: Likewise.
4909 * nptl/sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: Likewise.
4910 * nptl/sysdeps/unix/sysv/linux/pthread_kill.c: Likewise.
4911 * nptl/sysdeps/unix/sysv/linux/pthread_sigqueue.c: Likewise.
4912 * nptl/sysdeps/unix/sysv/linux/raise.c: Likewise.
4913 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/pt-vfork.S: Likewise.
4914 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Likewise.
4915 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/pt-vfork.S: Likewise.
4916 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Likewise.
4917 * nptl/sysdeps/unix/sysv/linux/timer_create.c: Likewise.
4918 * nptl/sysdeps/unix/sysv/linux/timer_delete.c: Likewise.
4919 * nptl/sysdeps/unix/sysv/linux/timer_getoverr.c: Likewise.
4920 * nptl/sysdeps/unix/sysv/linux/timer_gettime.c: Likewise.
4921 * nptl/sysdeps/unix/sysv/linux/timer_routines.c: Likewise.
4922 * nptl/sysdeps/unix/sysv/linux/timer_settime.c: Likewise.
4923 * nscd/gai.c: Likewise.
4924 * nss/nss_db/db-open.c: Likewise.
4925 * sysdeps/generic/ldsodefs.h: Likewise.
4926 * sysdeps/sh/nptl/tls.h: Likewise.
4927 * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Likewise.
4928 * sysdeps/unix/sysv/linux/aarch64/sigcontextinfo.h: Likewise.
4929 * sysdeps/unix/sysv/linux/aarch64/vfork.S: Likewise.
4930 * sysdeps/unix/sysv/linux/adjtime.c: Likewise.
4931 * sysdeps/unix/sysv/linux/alpha/xstatconv.h: Likewise.
4932 * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
4933 * sysdeps/unix/sysv/linux/arm/sigcontextinfo.h: Likewise.
4934 * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
4935 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
4936 * sysdeps/unix/sysv/linux/clock_getres.c: Likewise.
4937 * sysdeps/unix/sysv/linux/clock_gettime.c: Likewise.
4938 * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
4939 * sysdeps/unix/sysv/linux/clock_settime.c: Likewise.
4940 * sysdeps/unix/sysv/linux/dl-execstack.c: Likewise.
4941 * sysdeps/unix/sysv/linux/dl-osinfo.h: Likewise.
4942 * sysdeps/unix/sysv/linux/dl-sysdep.c: Likewise.
4943 * sysdeps/unix/sysv/linux/generic/futimesat.c: Likewise.
4944 * sysdeps/unix/sysv/linux/generic/poll.c: Likewise.
4945 * sysdeps/unix/sysv/linux/generic/wordsize-32/fcntl.c: Likewise.
4946 * sysdeps/unix/sysv/linux/generic/wordsize-32/fxstatat.c: Likewise.
4947 * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c: Likewise.
4948 * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c: Likewise.
4949 * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv.c: Likewise.
4950 * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv64.c: Likewise.
4951 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c: Likewise.
4952 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c: Likewise.
4953 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev.c: Likewise.
4954 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev64.c: Likewise.
4955 * sysdeps/unix/sysv/linux/getcwd.c: Likewise.
4956 * sysdeps/unix/sysv/linux/getpagesize.c: Likewise.
4957 * sysdeps/unix/sysv/linux/getsysstats.c: Likewise.
4958 * sysdeps/unix/sysv/linux/i386/fxstat.c: Likewise.
4959 * sysdeps/unix/sysv/linux/i386/lxstat.c: Likewise.
4960 * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
4961 * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
4962 * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
4963 * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
4964 * sysdeps/unix/sysv/linux/i386/xstat.c: Likewise.
4965 * sysdeps/unix/sysv/linux/ia64/system.c: Likewise.
4966 * sysdeps/unix/sysv/linux/if_index.c: Likewise.
4967 * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
4968 * sysdeps/unix/sysv/linux/ifreq.c: Likewise.
4969 * sysdeps/unix/sysv/linux/ldsodefs.h: Likewise.
4970 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
4971 * sysdeps/unix/sysv/linux/m68k/vfork.S: Likewise.
4972 * sysdeps/unix/sysv/linux/microblaze/nptl/vfork.S: Likewise.
4973 * sysdeps/unix/sysv/linux/mips/mips32/accept4.c: Likewise.
4974 * sysdeps/unix/sysv/linux/mips/mips32/recvmmsg.c: Likewise.
4975 * sysdeps/unix/sysv/linux/mips/mips32/sendmmsg.c: Likewise.
4976 * sysdeps/unix/sysv/linux/mips/pread.c: Likewise.
4977 * sysdeps/unix/sysv/linux/mips/pread64.c: Likewise.
4978 * sysdeps/unix/sysv/linux/mips/pwrite.c: Likewise.
4979 * sysdeps/unix/sysv/linux/mips/pwrite64.c: Likewise.
4980 * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
4981 * sysdeps/unix/sysv/linux/mmap64.c: Likewise.
4982 * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
4983 * sysdeps/unix/sysv/linux/powerpc/chown.c: Likewise.
4984 * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c: Likewise.
4985 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
4986 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c: Likewise.
4987 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c: Likewise.
4988 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Likewise.
4989 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Likewise.
4990 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Likewise.
4991 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Likewise.
4992 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Likewise.
4993 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
4994 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
4995 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Likewise.
4996 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c: Likewise.
4997 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c: Likewise.
4998 * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S: Likewise.
4999 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
5000 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
5001 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
5002 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
5003 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
5004 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S: Likewise.
5005 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S: Likewise.
5006 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Likewise.
5007 * sysdeps/unix/sysv/linux/pread.c: Likewise.
5008 * sysdeps/unix/sysv/linux/pread64.c: Likewise.
5009 * sysdeps/unix/sysv/linux/prof-freq.c: Likewise.
5010 * sysdeps/unix/sysv/linux/pwrite.c: Likewise.
5011 * sysdeps/unix/sysv/linux/pwrite64.c: Likewise.
5012 * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S: Likewise.
5013 * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S: Likewise.
5014 * sysdeps/unix/sysv/linux/s390/system.c: Likewise.
5015 * sysdeps/unix/sysv/linux/sh/pread.c: Likewise.
5016 * sysdeps/unix/sysv/linux/sh/pread64.c: Likewise.
5017 * sysdeps/unix/sysv/linux/sh/pwrite.c: Likewise.
5018 * sysdeps/unix/sysv/linux/sh/pwrite64.c: Likewise.
5019 * sysdeps/unix/sysv/linux/sigaction.c: Likewise.
5020 * sysdeps/unix/sysv/linux/sigpending.c: Likewise.
5021 * sysdeps/unix/sysv/linux/sigprocmask.c: Likewise.
5022 * sysdeps/unix/sysv/linux/sigsuspend.c: Likewise.
5023 * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
5024 * sysdeps/unix/sysv/linux/sparc/system.c: Likewise.
5025 * sysdeps/unix/sysv/linux/syslog.c: Likewise.
5026 * sysdeps/unix/sysv/linux/system.c: Likewise.
5027 * sysdeps/unix/sysv/linux/testrtsig.h: Likewise.
5028 * sysdeps/unix/sysv/linux/timespec_get.c: Likewise.
5029 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
5030 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
5031 * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
5032 * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
5033 * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
5034
92072d57
JM
5035 * configure.ac (libc_cv_c_asmcr0_bug): Remove configure test.
5036 * configure: Regenerated.
5037 * config.h.in (BROKEN_PPC_ASM_CR0): Remove macro.
5038
3e239be6
JM
5039 * configure.ac (base_machine): Do not set specially for particular
5040 machines here.
5041 * configure: Regenerated.
5042 * sysdeps/powerpc/preconfigure: Move machine and base_machine
5043 settings from configure.ac.
5044 * sysdeps/i386/preconfigure: New file.
5045 * sysdeps/s390/preconfigure: Likewise.
5046 * sysdeps/sh/preconfigure: Likewise.
5047 * sysdeps/sparc/preconfigure: Likewise.
5048
06d50baa
RM
50492014-06-25 Roland McGrath <roland@hack.frob.com>
5050
74836003
RM
5051 * sysdeps/sparc/sparc64/nptl/cpu_relax.S: Moved ...
5052 * sysdeps/sparc/sparc64/cpu_relax.S: ... here.
5053 * sysdeps/sparc/sparc64/nptl/pthread_spin_init.c: Moved ...
5054 * sysdeps/sparc/sparc64/pthread_spin_init.c: ... here.
5055 * sysdeps/sparc/sparc64/nptl/pthread_spin_lock.S: Moved ...
5056 * sysdeps/sparc/sparc64/pthread_spin_lock.S: ... here.
5057 * sysdeps/sparc/sparc64/nptl/pthread_spin_trylock.S: Moved ...
5058 * sysdeps/sparc/sparc64/pthread_spin_trylock.S: ... here.
5059 * sysdeps/sparc/sparc64/nptl/pthread_spin_unlock.S: Moved ...
5060 * sysdeps/sparc/sparc64/pthread_spin_unlock.S: ... here.
5061 * sysdeps/sparc/sparc64/nptl/pthreaddef.h: Moved ...
5062 * sysdeps/sparc/sparc64/pthreaddef.h: ... here.
5063 * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: Update #include.
5064 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: Likewise.
5065 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: Likewise.
5066 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: Likewise.
5067 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: Likewise.
5068 * sysdeps/sparc/sparc64/nptl/Makefile: File removed, its contents ...
5069 * sysdeps/sparc/sparc64/Makefile: ... appended here.
5070
5071 * sysdeps/sparc/sparc32/nptl/lowlevellock.c: Moved ...
5072 * sysdeps/sparc/sparc32/lowlevellock.c: ... here.
5073 * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: Moved ...
5074 * sysdeps/sparc/sparc32/pthread_barrier_wait.c: ... here.
5075 * sysdeps/sparc/sparc32/nptl/pthread_spin_lock.S: Moved ...
5076 * sysdeps/sparc/sparc32/pthread_spin_lock.S: ... here.
5077 * sysdeps/sparc/sparc32/nptl/pthread_spin_trylock.S: Moved ...
5078 * sysdeps/sparc/sparc32/pthread_spin_trylock.S: ... here.
5079 * sysdeps/sparc/sparc32/nptl/pthreaddef.h: Moved ...
5080 * sysdeps/sparc/sparc32/pthreaddef.h: ... here.
5081 * sysdeps/sparc/sparc32/nptl/sem_post.c: Moved ...
5082 * sysdeps/sparc/sparc32/sem_post.c: ... here.
5083 * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: Moved ...
5084 * sysdeps/sparc/sparc32/sem_timedwait.c: ... here.
5085 * sysdeps/sparc/sparc32/nptl/sem_trywait.c: Moved ...
5086 * sysdeps/sparc/sparc32/sem_trywait.c: ... here.
5087 * sysdeps/sparc/sparc32/nptl/sem_wait.c: Moved ...
5088 * sysdeps/sparc/sparc32/sem_wait.c: ... here.
5089 * sysdeps/sparc/sparc32/sparcv9/nptl/cpu_relax.S: Moved ...
5090 * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: ... here.
5091 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_barrier_wait.c: Moved ...
5092 * sysdeps/sparc/sparc32/sparcv9/pthread_barrier_wait.c: ... here.
5093 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_init.c: Moved ...
5094 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: ... here.
5095 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_lock.S: Moved ...
5096 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: ... here.
5097 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_trylock.S: Moved ...
5098 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: ... here.
5099 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: Moved ...
5100 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_unlock.S: ... here.
5101 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_post.c: Moved ...
5102 * sysdeps/sparc/sparc32/sparcv9/sem_post.c: ... here.
5103 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_timedwait.c: Moved ...
5104 * sysdeps/sparc/sparc32/sparcv9/sem_timedwait.c: ... here.
5105 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_trywait.c: Moved ...
5106 * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: ... here.
5107 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_wait.c: Moved ...
5108 * sysdeps/sparc/sparc32/sparcv9/sem_wait.c: ... here.
5109
06d50baa
RM
5110 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data: Moved ...
5111 * sysdeps/unix/sysv/linux/sparc/sparc32/c++-types.data: ... here.
5112 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: Moved ...
5113 * sysdeps/unix/sysv/linux/sparc/sparc32/ld.abilist: ... here.
5114 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
5115 Moved ...
5116 * sysdeps/unix/sysv/linux/sparc/sparc32/libBrokenLocale.abilist:
5117 ... here.
5118 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: Moved ...
5119 * sysdeps/unix/sysv/linux/sparc/sparc32/libanl.abilist: ... here.
5120 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Moved ...
5121 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: ... here.
5122 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist:
5123 Moved ...
5124 * sysdeps/unix/sysv/linux/sparc/sparc32/libcrypt.abilist: ... here.
5125 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: Moved ...
5126 * sysdeps/unix/sysv/linux/sparc/sparc32/libdl.abilist: ... here.
5127 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: Moved ...
5128 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: ... here.
5129 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: Moved ...
5130 * sysdeps/unix/sysv/linux/sparc/sparc32/libnsl.abilist: ... here.
5131 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
5132 Moved ...
5133 * sysdeps/unix/sysv/linux/sparc/sparc32/libpthread.abilist: ... here.
5134 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
5135 Moved ...
5136 * sysdeps/unix/sysv/linux/sparc/sparc32/libresolv.abilist: ... here.
5137 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: Moved ...
5138 * sysdeps/unix/sysv/linux/sparc/sparc32/librt.abilist: ... here.
5139 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
5140 Moved ...
5141 * sysdeps/unix/sysv/linux/sparc/sparc32/libthread_db.abilist: ... here.
5142 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: Moved ...
5143 * sysdeps/unix/sysv/linux/sparc/sparc32/libutil.abilist: ... here.
5144 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data: Moved ...
5145 * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: ... here.
5146 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data: Moved ...
5147 * sysdeps/unix/sysv/linux/sparc/sparc64/c++-types.data: ... here.
5148 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: Moved ...
5149 * sysdeps/unix/sysv/linux/sparc/sparc64/ld.abilist: ... here.
5150 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
5151 Moved ...
5152 * sysdeps/unix/sysv/linux/sparc/sparc64/libBrokenLocale.abilist:
5153 ... here.
5154 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: Moved ...
5155 * sysdeps/unix/sysv/linux/sparc/sparc64/libanl.abilist: ... here.
5156 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Moved ...
5157 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: ... here.
5158 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist:
5159 Moved ...
5160 * sysdeps/unix/sysv/linux/sparc/sparc64/libcrypt.abilist: ... here.
5161 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: Moved ...
5162 * sysdeps/unix/sysv/linux/sparc/sparc64/libdl.abilist: ... here.
5163 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: Moved ...
5164 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: ... here.
5165 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: Moved ...
5166 * sysdeps/unix/sysv/linux/sparc/sparc64/libnsl.abilist: ... here.
5167 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
5168 Moved ...
5169 * sysdeps/unix/sysv/linux/sparc/sparc64/libpthread.abilist: ... here.
5170 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
5171 Moved ...
5172 * sysdeps/unix/sysv/linux/sparc/sparc64/libresolv.abilist: ... here.
5173 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: Moved ...
5174 * sysdeps/unix/sysv/linux/sparc/sparc64/librt.abilist: ... here.
5175 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
5176 Moved ...
5177 * sysdeps/unix/sysv/linux/sparc/sparc64/libthread_db.abilist: ... here.
5178 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: Moved ...
5179 * sysdeps/unix/sysv/linux/sparc/sparc64/libutil.abilist: ... here.
5180 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data: Moved ...
5181 * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: ... here.
5182
a4ccbc9b
JM
51832014-06-25 Joseph Myers <joseph@codesourcery.com>
5184
0828edbf
JM
5185 * timezone/checktab.awk: Update from tzcode 2014e.
5186 * timezone/private.h: Likewise.
5187 * timezone/tzfile.h: Likewise.
5188 * timezone/zdump.c: Likewise.
5189 * timezone/zic.c: Likewise.
5190
a4ccbc9b
JM
5191 * sysdeps/unix/sysv/linux/kernel-features.h
5192 (__ASSUME_XFS_RESTRICTED_CHOWN): Remove macro.
5193 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_chown_restricted)
5194 [__ASSUME_XFS_RESTRICTED_CHOWN]: Make code unconditional.
5195 (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
5196 Remove conditional code.
5197
9aea0cb8
WN
51982014-06-25 Will Newton <will.newton@linaro.org>
5199
5200 * sysdeps/unix/sysv/linux/arm/dl-procinfo.c
5201 (_dl_arm_cap_flags): Add HWCAP2 values.
5202 * sysdeps/unix/sysv/linux/arm/dl-procinfo.h
5203 (_DL_HWCAP_COUNT): Increase to 37.
5204 (_DL_HWCAP_LAST): New define.
5205 (_DL_HWCAP2_LAST): New define.
5206 (_dl_procinfo): Add support for printing
5207 AT_HWCAP2 entries.
5208 (_dl_string_hwcap): Use _dl_hwcap_string.
5209
6eaa65ce
AZ
52102014-06-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5211
5212 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
5213
0f5b7185
JM
52142014-06-25 Joseph Myers <joseph@codesourcery.com>
5215
cfd2ea50
JM
5216 * README: Do not mention ports directory.
5217
cecf2ed4
JM
5218 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMENSAT):
5219 Remove macro.
5220 * sysdeps/unix/sysv/linux/futimes.c: Do not include
5221 <kernel-features.h>.
5222 [__NR_utimensat && !__ASSUME_UTIMENSAT] (miss_utimensat): Remove
5223 conditional variable definition.
5224 (__futimes): Update comment.
5225 (__futimes) [__ASSUME_UTIMENSAT]: Make code unconditional.
5226 (__futimes) [!__ASSUME_UTIMENSAT]: Remove conditional code.
5227
a638de82
JM
5228 [BZ #16560]
5229 * sysdeps/ieee754/dbl-64/e_exp10.c (__ieee754_exp10): Return 1 for
5230 arguments close to 0.
5231 * sysdeps/ieee754/ldbl-128/e_exp10l.c (__ieee754_exp10l):
5232 Likewise.
5233 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c (__ieee754_exp10l):
5234 Likewise.
5235 * math/auto-libm-test-in: Add more tests of exp10.
5236 * math/auto-libm-test-out: Regenerated.
5237 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
5238
0f5b7185
JM
5239 * sysdeps/unix/sysv/linux/kernel-features.h
5240 (__ASSUME_COMPLETE_READV_WRITEV): Remove macro.
5241 * sysdeps/unix/sysv/linux/readv.c: Do not include
5242 <kernel-features.h>.
5243 [!__ASSUME_COMPLETE_READV_WRITEV]: Remove conditional code.
5244 [!UIO_FASTIOV] (UIO_FASTIOV): Remove macro.
5245 (__libc_readv) [__ASSUME_COMPLETE_READV_WRITEV]: Make code
5246 unconditional.
5247 (__libc_readv) [!__ASSUME_COMPLETE_READV_WRITEV]: Remove
5248 conditional code.
5249 * sysdeps/unix/sysv/linux/writev.c: Do not include
5250 <kernel-features.h>.
5251 [!__ASSUME_COMPLETE_READV_WRITEV]: Remove conditional code.
5252 [!UIO_FASTIOV] (UIO_FASTIOV): Remove macro.
5253 (__libc_writev) [__ASSUME_COMPLETE_READV_WRITEV]: Make code
5254 unconditional.
5255 (__libc_writev) [!__ASSUME_COMPLETE_READV_WRITEV]: Remove
5256 conditional code.
5257
c7aec4be
WN
52582014-06-25 Will Newton <will.newton@linaro.org>
5259
5260 * sysdeps/posix/tempname.c: Merge from gnulib, cosmetic
5261 comment changes throughout the file. Remove checks
5262 for HAVE_*_H definitions that are not required.
5263 (__gen_tempname): Call abort if an unknown kind value is
5264 passed.
5265
c5241f95
AS
52662014-06-25 Andreas Schwab <schwab@suse.de>
5267
5268 [BZ #17086]
5269 * sysdeps/m68k/m680x0/fpu/s_scalbn.c: Add compat symbols for
5270 scalbln, scalblnf, scalblnl in libc.
5271
911422da
SP
52722014-06-25 Siddhesh Poyarekar <siddhesh@redhat.com>
5273
5274 [BZ #17086]
5275 * sysdeps/i386/fpu/s_scalbn.S: Add compat symbol for libc.so.
5276 * sysdeps/i386/fpu/s_scalbnf.S: Likewise.
5277 * sysdeps/i386/fpu/s_scalbnl.S: Likewise.
5278
0d749bbe
RM
52792014-06-24 Roland McGrath <roland@hack.frob.com>
5280
5281 * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: Moved ...
5282 * sysdeps/i386/i486/pthread_spin_trylock.S: ... here.
5283 * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: Moved ...
5284 * sysdeps/i386/i586/pthread_spin_trylock.S: ... here.
5285 Update #include.
5286 * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: Moved ...
5287 * sysdeps/i386/i686/pthread_spin_trylock.S: ... here.
5288 Update #include.
5289 * sysdeps/x86_64/64/nptl/shlib-versions: Moved ...
5290 * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: ... here.
5291 * sysdeps/x86_64/x32/nptl/shlib-versions: Moved ...
5292 * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: ... here.
5293 * sysdeps/x86/nptl/bits/pthreadtypes.h: Moved ...
5294 * sysdeps/x86/bits/pthreadtypes.h: ... here.
5295 * sysdeps/x86/nptl/bits/semaphore.h: Moved ...
5296 * sysdeps/x86/bits/semaphore.h: ... here.
5297 * sysdeps/x86/nptl/elide.h: Moved ...
5298 * sysdeps/x86/elide.h: ... here.
5299 * sysdeps/x86_64/nptl/Implies: File removed.
5300 * sysdeps/i386/nptl/Implies: File removed.
5301
0ea5d373
JM
53022014-06-24 Joseph Myers <joseph@codesourcery.com>
5303
4060283d
JM
5304 [BZ #16539]
5305 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Just
5306 return the argument for normal arguments with exponent below -64.
5307 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
5308 Likewise.
5309 * math/auto-libm-test-in: Add another test of expm1.
5310 * math/auto-libm-test-out: Regenerated.
5311
e7dd3c8c
JM
5312 [BZ #16287]
5313 * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfl): Return 1 without
5314 calling __erfcl for arguments at least 16.
5315 * math/auto-libm-test-in: Add more tests of erf.
5316 * math/auto-libm-test-out: Regenerated.
5317
0ea5d373
JM
5318 * sysdeps/unix/sysv/linux/configure.ac: Remove cases for
5319 individual architectures.
5320 * sysdeps/unix/sysv/linux/configure: Regenerated.
5321 * sysdeps/unix/sysv/linux/i386/configure.ac: New file.
5322 * sysdeps/unix/sysv/linux/i386/configure: New generated file.
5323 * sysdeps/unix/sysv/linux/powerpc/configure.ac
5324 (ldd_rewrite_script): Define variable.
5325 * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
5326 * sysdeps/unix/sysv/linux/powerpc/powerpc32/configure.ac: New
5327 file.
5328 * sysdeps/unix/sysv/linux/powerpc/powerpc32/configure: New
5329 generated file.
5330 * sysdeps/unix/sysv/linux/s390/configure.ac: New file.
5331 * sysdeps/unix/sysv/linux/s390/configure: New generated file.
5332 * sysdeps/unix/sysv/linux/sh/configure.ac: New file.
5333 * sysdeps/unix/sysv/linux/sh/configure: New generated file.
5334 * sysdeps/unix/sysv/linux/sparc/configure.ac: New file.
5335 * sysdeps/unix/sysv/linux/sparc/configure: New generated file.
5336 * sysdeps/unix/sysv/linux/x86_64/configure.ac: New file.
5337 * sysdeps/unix/sysv/linux/x86_64/configure: New generated file.
5338
2307e126
SP
53392014-06-24 Siddhesh Poyarekar <siddhesh@redhat.com>
5340
5341 [BZ #17084]
5342 * sysdeps/x86/nptl/bits/pthreadtypes.h (pthread_mutex_t):
5343 Rename member __data.d to __data.__elision_data.
5344
c0a4ed77
W
53452014-06-24 Wilco <wdijkstr@arm.com>
5346
5347 * NEWS: Add 16918 to fixed bug list.
5348
b8c00573
W
53492014-06-24 Wilco <wdijkstr@arm.com>
5350
5351 * sysdeps/arm/fesetenv.c (fesetenv): Optimize implementation.
5352
b5570d92
W
53532014-06-24 Wilco <wdijkstr@arm.com>
5354
5355 * sysdeps/arm/fpu_control.h (_FPU_MASK_RM): Define.
5356 * sysdeps/arm/fenv_private.h (libc_fesetround_vfp)
5357 (libc_feholdexcept_setround_vfp) (libc_feholdsetround_vfp)
5358 (libc_feresetround_vfp) (libc_feholdsetround_vfp_ctx)
5359 (libc_feresetround_vfp_ctx): Use _FPU_MASK_RM.
5360 * sysdeps/arm/fesetround.c (fesetround): Use _FPU_MASK_RM.
5361 * sysdeps/arm/get-rounding-mode.h (get_rounding_mode):
5362 Use _FPU_MASK_RM.
5363
947bdca2
W
53642014-06-24 Wilco <wdijkstr@arm.com>
5365
5366 * sysdeps/arm/fsetexcptflg.c (fesetexceptflag): Remove unused include.
5367
00f669ed
W
53682014-06-24 Wilco <wdijkstr@arm.com>
5369
5370 * sysdeps/arm/feholdexcpt.c (feholdexcept): Remove space.
5371 * sysdeps/arm/fesetenv.c (fesetenv): Remove space.
5372 * sysdeps/arm/fesetround.c (fesetround): Remove space.
5373 * sysdeps/arm/fraiseexcpt.c (feraiseexcept): Remove space.
5374
db59bad3
W
53752014-06-24 Wilco <wdijkstr@arm.com>
5376
5377 [BZ #16918]
5378 * sysdeps/arm/feupdateenv.c (feupdateenv):
5379 Rewrite to reduce FPSCR accesses and fix return value.
5380
001f7b77
W
53812014-06-24 Wilco <wdijkstr@arm.com>
5382
5383 * sysdeps/arm/fclrexcpt.c (feclearexcept):
5384 Optimize to avoid unnecessary FPSCR writes.
5385 * sysdeps/arm/fedisblxcpt.c (fedisableexcept): Likewise.
5386 * sysdeps/arm/feenablxcpt.c (feenableexcept): Likewise.
5387 * sysdeps/arm/fsetexcptflg.c (fesetexceptflag): Likewise.
5388 * sysdeps/arm/setfpucw.c (__setfpucw): Likewise.
5389
4841e6a6
W
53902014-06-24 Wilco <wdijkstr@arm.com>
5391
5392 * sysdeps/arm/fegetround.c (fegetround): Call get_rounding_mode.
5393 * sysdeps/arm/feholdexcpt.c (feholdexcept): Call libc_feholdexcept_vfp.
5394 * sysdeps/arm/fesetround.c (fesetround): Call libc_fesetround_vfp.
5395 * sysdeps/arm/fgetexcptflg.c (fegetexceptflag):
5396 Call libc_fetestexcept_vfp.
5397 * sysdeps/arm/ftestexcept.c (fetestexcept): Call libc_fetestexcept_vfp.
5398 * sysdeps/arm/fenv_private.h: Move libc_*_vfp functions outside of
5399 __SOFTFP__ ifdef so that they can be built for softfp.
5400
0813022c
SP
54012014-06-24 Siddhesh Poyarekar <siddhesh@redhat.com>
5402
08e5862f
SP
5403 * sysdeps/x86/nptl/elide.h (elision_adapt): Make first
5404 argument type signed char.
5405
0813022c
SP
5406 * Makerules (check-abi): Dump diff of symlist if the test
5407 fails.
5408
3fc7236a
RM
54092014-06-23 Roland McGrath <roland@hack.frob.com>
5410
aba8ef95
RM
5411 * sysdeps/generic/get-rounding-mode.h: Include <stdlib.h> before
5412 using abort.
5413
3fc7236a
RM
5414 * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
5415 Remove unused variable ST.
5416
4da6db51
JM
54172014-06-23 Joseph Myers <joseph@codesourcery.com>
5418
4648909d
JM
5419 [BZ #16354]
5420 [BZ #17061]
5421 * sysdeps/ieee754/dbl-64/e_cosh.c (__ieee754_cosh): Check for
5422 small arguments before calling __expm1.
5423 * sysdeps/ieee754/flt-32/e_coshf.c (__ieee754_coshf): Check for
5424 small arguments before calling __expm1f.
5425 * sysdeps/ieee754/ldbl-128/e_coshl.c (__ieee754_coshl): Check for
5426 small arguments before calling __expm1l.
5427 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
5428 Likewise.
5429 * sysdeps/ieee754/ldbl-96/e_coshl.c (__ieee754_coshl): Likewise.
5430 * math/auto-libm-test-in: Add more cosh tests. Do not allow
5431 spurious underflow for some cosh tests.
5432 * math/auto-libm-test-out: Regenerated.
5433 * sysdeps/i386/fpu/libm-test-ulps: Update.
5434
46a3d3c7
JM
5435 [BZ #17050]
5436 * sysdeps/ieee754/dbl-64/e_j1.c: Include <errno.h>.
5437 (__ieee754_y1): Set errno if return value overflows.
5438 * sysdeps/ieee754/flt-32/e_j1f.c: Include <errno.h>.
5439 (__ieee754_y1f): Set errno if return value overflows.
5440 * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <errno.h>.
5441 (__ieee754_y1l): Set errno if return value overflows.
5442 * sysdeps/ieee754/ldbl-96/e_j1l.c: Include <errno.h>.
5443 (__ieee754_y1l): Set errno if return value overflows.
5444 * math/auto-libm-test-in: Add more tests of y0, y1 and yn.
5445 * math/auto-libm-test-out: Regenerated.
5446
863893ec
JM
5447 * math/gen-auto-libm-tests.c: Document use of
5448 ignore-zero-inf-sign.
5449 (input_flag_type): Add value flag_ignore_zero_inf_sign.
5450 (input_flags): Add ignore-zero-inf-sign.
5451 (output_for_one_input_case): Handle flag_ignore_zero_inf_sign.
5452 * math/gen-libm-test.pl (generate_testfile): Handle
5453 ignore-zero-inf-sign.
5454 * math/auto-libm-test-in: Mark some cpow tests with
5455 ignore-zero-inf-sign and some with xfail-rounding.
5456 * math/auto-libm-test-out: Regenerated.
5457 * math/libm-test.inc (cpow_test): Use ALL_RM_TEST.
5458 * sysdeps/i386/fpu/libm-test-ulps: Update.
5459 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5460
4da6db51
JM
5461 [BZ #16315]
5462 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Ensure possibly
5463 overflowing or underflowing operations take place with sign of
5464 result.
5465 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
5466 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
5467 * sysdeps/ieee754/dbl-64/e_pow.c: Include <math.h>.
5468 (__ieee754_pow): Recompute overflowing and underflowing results in
5469 original rounding mode.
5470 * sysdeps/x86/fpu/powl_helper.c: Include <stdbool.h>.
5471 (__powl_helper): Allow negative argument X and scale negated value
5472 as needed. Avoid passing value outside [-1, 1] to f2xm1.
5473 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Ensure possibly
5474 overflowing or underflowing operations take place with sign of
5475 result.
5476 * sysdeps/x86_64/fpu/multiarch/e_pow.c [HAVE_FMA4_SUPPORT]:
5477 Include <math.h>.
5478 * math/auto-libm-test-in: Add more tests of pow.
5479 * math/auto-libm-test-out: Regenerated.
5480 * math/libm-test.inc (pow_test): Use ALL_RM_TEST.
5481 (pow_tonearest_test_data): Remove.
5482 (pow_test_tonearest): Likewise.
5483 (pow_towardzero_test_data): Likewise.
5484 (pow_test_towardzero): Likewise.
5485 (pow_downward_test_data): Likewise.
5486 (pow_test_downward): Likewise.
5487 (pow_upward_test_data): Likewise.
5488 (pow_test_upward): Likewise.
5489 (main): Don't call removed functions.
5490 * sysdeps/i386/fpu/libm-test-ulps: Update.
5491 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5492
5686b236
RM
54932014-06-23 Roland McGrath <roland@hack.frob.com>
5494
5495 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/c++-types.data:
5496 Moved ...
5497 * sysdeps/unix/sysv/linux/powerpc/powerpc32/c++-types.data: ... here.
5498 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
5499 Moved ...
5500 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist: ... here.
5501 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
5502 Moved ...
5503 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: ... here.
5504 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
5505 Moved ...
5506 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data: ... here.
5507 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
5508 File removed.
5509 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
5510 File removed.
5511 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libBrokenLocale.abilist:
5512 File removed.
5513 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libanl.abilist:
5514 File removed.
5515 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libcrypt.abilist:
5516 File removed.
5517 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libdl.abilist:
5518 File removed.
5519 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libnsl.abilist:
5520 File removed.
5521 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
5522 File removed.
5523 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libresolv.abilist:
5524 File removed.
5525 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
5526 File removed.
5527 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libthread_db.abilist:
5528 File removed.
5529 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libutil.abilist:
5530 File removed.
5531 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/ld.abilist:
5532 Moved ...
5533 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist: ... here.
5534 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libBrokenLocale.abilist:
5535 Moved ...
5536 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libBrokenLocale.abilist:
5537 ... here.
5538 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libanl.abilist:
5539 Moved ...
5540 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libanl.abilist: ... here.
5541 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libcrypt.abilist:
5542 Moved ...
5543 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libcrypt.abilist: ... here.
5544 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libdl.abilist:
5545 Moved ...
5546 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libdl.abilist: ... here.
5547 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libnsl.abilist:
5548 Moved ...
5549 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libnsl.abilist: ... here.
5550 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libpthread.abilist:
5551 Moved ...
5552 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libpthread.abilist: ... here.
5553 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libresolv.abilist:
5554 Moved ...
5555 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libresolv.abilist: ... here.
5556 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/librt.abilist:
5557 Moved ...
5558 * sysdeps/unix/sysv/linux/powerpc/powerpc32/librt.abilist: ... here.
5559 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libthread_db.abilist: Moved ...
5560 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libthread_db.abilist:
5561 ... here.
5562 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libutil.abilist:
5563 Moved ...
5564 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libutil.abilist: ... here.
5565 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
5566 Moved ...
5567 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
5568 ... here.
5569 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libm.abilist:
5570 Moved ...
5571 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
5572 ... here.
5573 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
5574 Moved ...
5575 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data:
5576 ... here.
5577 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
5578 Moved ...
5579 * sysdeps/unix/sysv/linux/powerpc/powerpc64/c++-types.data: ... here.
5580 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
5581 Moved ...
5582 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist: ... here.
5583 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: Moved ...
5584 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist: ... here.
5585 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
5586 Moved ...
5587 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale-le.abilist:
5588 ... here.
5589 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
5590 Moved ...
5591 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale.abilist:
5592 ... here.
5593 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
5594 Moved ...
5595 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl-le.abilist: ... here.
5596 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
5597 Moved ...
5598 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl.abilist: ... here.
5599 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
5600 Moved ...
5601 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: ... here.
5602 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
5603 Moved ...
5604 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: ... here.
5605 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
5606 Moved ...
5607 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt-le.abilist:
5608 ... here.
5609 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
5610 Moved ...
5611 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt.abilist: ... here.
5612 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
5613 Moved ...
5614 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl-le.abilist: ... here.
5615 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
5616 Moved ...
5617 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl.abilist: ... here.
5618 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
5619 Moved ...
5620 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: ... here.
5621 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: Moved ...
5622 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: ... here.
5623 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
5624 Moved ...
5625 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl-le.abilist: ... here.
5626 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
5627 Moved ...
5628 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl.abilist: ... here.
5629 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
5630 Moved ...
5631 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread-le.abilist:
5632 ... here.
5633 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
5634 Moved ...
5635 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread.abilist:
5636 ... here.
5637 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
5638 Moved ...
5639 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv-le.abilist:
5640 ... here.
5641 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
5642 Moved ...
5643 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv.abilist: ... here.
5644 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
5645 Moved ...
5646 * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt-le.abilist: ... here.
5647 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
5648 Moved ...
5649 * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt.abilist: ... here.
5650 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
5651 Moved ...
5652 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db-le.abilist:
5653 ... here.
5654 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
5655 Moved ...
5656 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db.abilist:
5657 ... here.
5658 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
5659 Moved ...
5660 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil-le.abilist:
5661 ... here.
5662 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
5663 Moved ...
5664 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil.abilist: ... here.
5665 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
5666 Moved ...
5667 * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data: ... here.
5668
e6d90d67
WD
56692014-06-23 Will Newton <will.newton@linaro.org>
5670 Wilco <wdijkstr@arm.com>
5671
5672 * sysdeps/generic/math_private.h: Add generic HAVE_RM_CTX
5673 implementation. Include get-rounding-mode.h.
5674 [!HAVE_RM_CTX]: Define HAVE_RM_CTX to zero.
5675 [!libc_feholdsetround_noex_ctx]: Define
5676 libc_feholdsetround_noex_ctx.
5677 [!libc_feholdsetround_noexf_ctx]: Define
5678 libc_feholdsetround_noexf_ctx.
5679 [!libc_feholdsetround_noexl_ctx]: Define
5680 libc_feholdsetround_noexl_ctx.
5681 (libc_feholdsetround_ctx): New function.
5682 (libc_feresetround_ctx): New function.
5683 (libc_feholdsetround_noex_ctx): New function.
5684 (libc_feresetround_noex_ctx): New function.
5685
d42df555
RM
56862014-06-23 Roland McGrath <roland@hack.frob.com>
5687
88a46474
RM
5688 * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h: Moved ...
5689 * sysdeps/mips/nptl/bits/pthreadtypes.h: ... here.
5690 * sysdeps/unix/sysv/linux/mips/nptl/bits/semaphore.h: Moved ...
5691 * sysdeps/mips/nptl/bits/semaphore.h: ... here.
5692 * sysdeps/unix/sysv/linux/mips/nptl/bits/local_lim.h: Moved ...
5693 * sysdeps/unix/sysv/linux/mips/bits/local_lim.h: ... here.
5694
15bed472
RM
5695 * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h: Moved ...
5696 * sysdeps/m68k/nptl/bits/pthreadtypes.h: ... here.
5697 * sysdeps/unix/sysv/linux/m68k/nptl/bits/semaphore.h: Moved ...
5698 * sysdeps/m68k/nptl/bits/semaphore.h: ... here.
5699 * sysdeps/unix/sysv/linux/m68k/nptl/c++-types.data: Moved ...
5700 * sysdeps/unix/sysv/linux/m68k/c++-types.data: ... here.
5701 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/bits/atomic.h: Moved ...
5702 * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h: ... here.
5703 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/ld.abilist: Moved ...
5704 * sysdeps/unix/sysv/linux/m68k/coldfire/ld.abilist: ... here.
5705 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libBrokenLocale.abilist:
5706 Moved ...
5707 * sysdeps/unix/sysv/linux/m68k/coldfire/libBrokenLocale.abilist:
5708 ... here.
5709 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libanl.abilist: Moved ...
5710 * sysdeps/unix/sysv/linux/m68k/coldfire/libanl.abilist: ... here.
5711 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libc.abilist: Moved ...
5712 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: ... here.
5713 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libcrypt.abilist:
5714 Moved ...
5715 * sysdeps/unix/sysv/linux/m68k/coldfire/libcrypt.abilist: ... here.
5716 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libdl.abilist: Moved ...
5717 * sysdeps/unix/sysv/linux/m68k/coldfire/libdl.abilist: ... here.
5718 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libm.abilist: Moved ...
5719 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: ... here.
5720 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libnsl.abilist: Moved ...
5721 * sysdeps/unix/sysv/linux/m68k/coldfire/libnsl.abilist: ... here.
5722 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libpthread.abilist:
5723 Moved ...
5724 * sysdeps/unix/sysv/linux/m68k/coldfire/libpthread.abilist: ... here.
5725 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libresolv.abilist:
5726 Moved ...
5727 * sysdeps/unix/sysv/linux/m68k/coldfire/libresolv.abilist: ... here.
5728 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/librt.abilist: Moved ...
5729 * sysdeps/unix/sysv/linux/m68k/coldfire/librt.abilist: ... here.
5730 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libthread_db.abilist:
5731 Moved ...
5732 * sysdeps/unix/sysv/linux/m68k/coldfire/libthread_db.abilist: ... here.
5733 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libutil.abilist: Moved ...
5734 * sysdeps/unix/sysv/linux/m68k/coldfire/libutil.abilist: ... here.
5735 * sysdeps/unix/sysv/linux/m68k/nptl/localplt.data: Moved ...
5736 * sysdeps/unix/sysv/linux/m68k/localplt.data: ... here.
5737 * sysdeps/unix/sysv/linux/m68k/nptl/lowlevellock.h: Moved ...
5738 * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: ... here.
5739 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/ld.abilist: Moved ...
5740 * sysdeps/unix/sysv/linux/m68k/m680x0/ld.abilist: ... here.
5741 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libBrokenLocale.abilist:
5742 Moved ...
5743 * sysdeps/unix/sysv/linux/m68k/m680x0/libBrokenLocale.abilist:
5744 ... here.
5745 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libanl.abilist: Moved ...
5746 * sysdeps/unix/sysv/linux/m68k/m680x0/libanl.abilist: ... here.
5747 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libc.abilist: Moved ...
5748 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: ... here.
5749 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libcrypt.abilist: Moved ...
5750 * sysdeps/unix/sysv/linux/m68k/m680x0/libcrypt.abilist: ... here.
5751 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libdl.abilist: Moved ...
5752 * sysdeps/unix/sysv/linux/m68k/m680x0/libdl.abilist: ... here.
5753 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libm.abilist: Moved ...
5754 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: ... here.
5755 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libnsl.abilist: Moved ...
5756 * sysdeps/unix/sysv/linux/m68k/m680x0/libnsl.abilist: ... here.
5757 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libpthread.abilist:
5758 Moved ...
5759 * sysdeps/unix/sysv/linux/m68k/m680x0/libpthread.abilist: ... here.
5760 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libresolv.abilist: Moved ...
5761 * sysdeps/unix/sysv/linux/m68k/m680x0/libresolv.abilist: ... here.
5762 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/librt.abilist: Moved ...
5763 * sysdeps/unix/sysv/linux/m68k/m680x0/librt.abilist: ... here.
5764 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libthread_db.abilist:
5765 Moved ...
5766 * sysdeps/unix/sysv/linux/m68k/m680x0/libthread_db.abilist: ... here.
5767 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libutil.abilist: Moved ...
5768 * sysdeps/unix/sysv/linux/m68k/m680x0/libutil.abilist: ... here.
5769 * sysdeps/unix/sysv/linux/m68k/nptl/sysdep-cancel.h: Moved ...
5770 * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: ... here.
5771
d42df555
RM
5772 * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: Moved ...
5773 * sysdeps/unix/sysv/linux/sh/c++-types.data: ... here.
5774 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: Moved ...
5775 * sysdeps/unix/sysv/linux/sh/ld.abilist: ... here.
5776 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: Moved ...
5777 * sysdeps/unix/sysv/linux/sh/libBrokenLocale.abilist: ... here.
5778 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: Moved ...
5779 * sysdeps/unix/sysv/linux/sh/libanl.abilist: ... here.
5780 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Moved ...
5781 * sysdeps/unix/sysv/linux/sh/libc.abilist: ... here.
5782 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: Moved ...
5783 * sysdeps/unix/sysv/linux/sh/libcrypt.abilist: ... here.
5784 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: Moved ...
5785 * sysdeps/unix/sysv/linux/sh/libdl.abilist: ... here.
5786 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Moved ...
5787 * sysdeps/unix/sysv/linux/sh/libm.abilist: ... here.
5788 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: Moved ...
5789 * sysdeps/unix/sysv/linux/sh/libnsl.abilist: ... here.
5790 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: Moved ...
5791 * sysdeps/unix/sysv/linux/sh/libpthread.abilist: ... here.
5792 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: Moved ...
5793 * sysdeps/unix/sysv/linux/sh/libresolv.abilist: ... here.
5794 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Moved ...
5795 * sysdeps/unix/sysv/linux/sh/librt.abilist: ... here.
5796 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: Moved ...
5797 * sysdeps/unix/sysv/linux/sh/libthread_db.abilist: ... here.
5798 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: Moved ...
5799 * sysdeps/unix/sysv/linux/sh/libutil.abilist: ... here.
5800
76e5216e
JM
58012014-06-23 Joseph Myers <joseph@codesourcery.com>
5802
5803 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_GNU]
5804 (FALLOC_FL_COLLAPSE_RANGE): New macro.
5805 [__USE_GNU] (FALLOC_FL_ZERO_RANGE): Likewise.
5806 * sysdeps/unix/sysv/linux/bits/in.h (IP_PMTUDISC_OMIT): Likewise.
5807 (IPV6_PMTUDISC_INTERFACE): Likewise.
5808 (IPV6_PMTUDISC_OMIT): Likewise.
5809
7a81cbcc
AS
58102014-06-23 Andreas Schwab <schwab@suse.de>
5811
5812 * nptl/sysdeps/unix/sysv/linux/mq_notify.c (init_mq_netlink):
5813 Remove unused errout label.
5814
db224009
AZ
58152014-06-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5816
5817 * sysdeps/powerpc/bits/hwcap.h [PPC_FEATURE2_HAS_VEC_CRYPTO]: New
5818 macro: hardware supports Vector Crypto instructions.
5819
f393b4aa
WN
58202014-06-23 Will Newton <will.newton@linaro.org>
5821
cc7d0447
WN
5822 * elf/dl-lookup.c: Use __glibc_unlikely and __glibc_likely
5823 rather than __builtin_expect.
5824
d6d06225
WN
5825 * elf/dl-lookup.c (undefined_msg): Remove variable.
5826 (_dl_lookup_symbol_x): Replace undefined_msg with string
5827 literal.
5828
f393b4aa
WN
5829 * elf/dl-lookup.c (do_lookup_unique): New function.
5830 (do_lookup_x): Move STB_GNU_UNIQUE handling code
5831 to a separate function.
5832
ac60763e
AS
58332014-06-23 Andreas Schwab <schwab@suse.de>
5834
5835 [BZ #17079]
5836 * nss/nss_files/files-XXX.c (get_contents): Store overflow marker
5837 before reading the next line.
5838
c5c13355
WN
58392014-06-23 Will Newton <will.newton@linaro.org>
5840
5841 * test-skeleton.c (signal_handler): Use printf and %m
5842 rather than perror. Use printf rather than fprintf to
5843 stderr. Use puts rather than fputs to stderr.
5844 (main): Likewise.
5845
bd3675f9
LC
58462014-06-22 Ludovic Courtès <ludo@gnu.org>
5847
5848 * nscd/nscd.c (thread_info_t): Remove typedef.
5849 (thread_info): Remove variable.
5850
d03efb2f
AM
58512014-06-21 Allan McRae <allan@archlinux.org>
5852
5853 * NEWS: Mention CVE-2014-4043.
5854
bc4a86fa
RM
58552014-06-20 Roland McGrath <roland@hack.frob.com>
5856
dc9a54f8
RM
5857 * nptl/sysdeps/unix/sysv/linux/smp.h: Moved ...
5858 * nptl/smp.h: ... here.
5859
bd7022c4
RM
5860 * nptl/sysdeps/unix/sysv/linux/rtld-lowlevel.h: File removed.
5861
26ffd5e6
RM
5862 * include/libc-symbols.h (HAVE_CONFIG_H, STDC_HEADERS): New macros.
5863 * catgets/Makefile (catgets-CPPFLAGS): Remove -DHAVE_CONFIG_H.
5864 * locale/Makefile (CPPFLAGS-locale-programs): Likewise.
5865 * stdlib/strtol_l.c [_LIBC] (STDC_HEADERS): Don't define it.
5866
93a6d082
RM
5867 * nptl/allocatestack.c: Include <stack-aliasing.h>.
5868 * nptl/stack-aliasing.h: New file.
5869 * sysdeps/i386/i686/stack-aliasing.h: New file.
5870 * sysdeps/i386/i686/nptl/Makefile: File removed.
5871 * sysdeps/x86_64/stack-aliasing.h: New file.
5872 * sysdeps/x86_64/nptl/Makefile
5873 (CFLAGS-pthread_create.c): Variable removed.
5874
bc4a86fa
RM
5875 * nptl/sysdeps/unix/sysv/linux/bits/local_lim.h: Moved ...
5876 * sysdeps/unix/sysv/linux/bits/local_lim.h: ... here, replacing the
5877 old file.
5878 * nptl/sysdeps/unix/sysv/linux/bits/posix_opt.h: Moved ...
5879 * sysdeps/unix/sysv/linux/bits/posix_opt.h: ... here, replacing the
5880 old file.
5881
2272ffc1
JM
58822014-06-21 Joseph Myers <joseph@codesourcery.com>
5883
5884 * sysdeps/unix/sysv/linux/arm/kernel-features.h
5885 (__ASSUME_SIGFRAME_V2): Remove macro.
5886 * sysdeps/unix/sysv/linux/arm/sigrestorer.S: Update comment.
5887 [!__ASSUME_SIGFRAME_V2]: Remove conditional code.
5888 (__default_sa_restorer_v2): Rename to __default_sa_restorer.
5889 (__default_rt_sa_restorer_v2): Rename to __default_rt_sa_restorer.
5890 * sysdeps/unix/sysv/linux/arm/sigaction.c (__default_sa_restorer):
5891 Declare as function. Remove conditional macro definitions.
5892 (__default_rt_sa_restorer): Likewise.
5893 (__default_sa_restorer_v1): Remove declaration.
5894 (__default_sa_restorer_v2): Likewise.
5895 (__default_rt_sa_restorer_v1): Likewise.
5896 (__default_rt_sa_restorer_v2): Likewise.
5897 * sysdeps/unix/sysv/linux/arm/Versions (GLIBC_PRIVATE): Remove
5898 __default_sa_restorer_v1, __default_rt_sa_restorer_v1,
5899 __default_sa_restorer_v2 and __default_rt_sa_restorer_v2.
5900
4b88139b
RM
59012014-06-20 Roland McGrath <roland@hack.frob.com>
5902
5903 * sysdeps/unix/sysv/linux/sparc/Makefile [$(subdir) = nptl]
5904 (libpthread-routines): Add sysdep.
5905 * nptl/sysdeps/unix/sysv/linux/sparc/Makefile: File removed.
5906 * sysdeps/unix/sysv/linux/sparc/Versions
5907 (libpthread: GLIBC_2.3.3): New version set.
5908 * nptl/sysdeps/unix/sysv/linux/sparc/Versions: File removed.
5909 * nptl/sysdeps/unix/sysv/linux/sparc/aio_cancel.c: Moved ...
5910 * sysdeps/unix/sysv/linux/sparc/aio_cancel.c: ... here.
5911 * nptl/sysdeps/unix/sysv/linux/sparc/internaltypes.h: Moved ...
5912 * sysdeps/sparc/nptl/internaltypes.h: ... here. Use #include_next.
5913 * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_destroy.c:
5914 Moved ...
5915 * sysdeps/sparc/nptl/pthread_barrier_destroy.c: ... here.
5916 * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_init.c: Moved ...
5917 * sysdeps/sparc/nptl/pthread_barrier_init.c: ... here.
5918 * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_wait.c: Moved ...
5919 * sysdeps/sparc/nptl/pthread_barrier_wait.c: ... here.
5920 * nptl/sysdeps/unix/sysv/linux/sparc/sem_init.c: Moved ...
5921 * sysdeps/sparc/nptl/sem_init.c: ... here.
5922 * nptl/sysdeps/unix/sysv/linux/sparc/sem_post.c: Moved ...
5923 * sysdeps/sparc/nptl/sem_post.c: ... here.
5924 * nptl/sysdeps/unix/sysv/linux/sparc/sem_timedwait.c: Moved ...
5925 * sysdeps/sparc/nptl/sem_timedwait.c: ... here.
5926 * nptl/sysdeps/unix/sysv/linux/sparc/sem_wait.c: Moved ...
5927 * sysdeps/sparc/nptl/sem_wait.c: ... here.
5928 * nptl/sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Moved ...
5929 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: ... here.
5930 * sysdeps/sparc/sparc32/sparcv9/Makefile [$(subdir) = nptl]
5931 (libpthread-routines): Add cpu_relax.
5932 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/Makefile:
5933 File removed.
5934 * sysdeps/unix/sysv/linux/sparc/sparc64/Versions
5935 (librt: GLIBC_2.3.3): New version set.
5936 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Versions: File removed.
5937 * sysdeps/sparc/sparc64/nptl/Makefile: New file.
5938 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile [$(subdir) = nptl]
5939 (CFLAGS-pause.c, CFLAGS-sigsuspend.c): New variables.
5940 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Makefile: File removed.
5941 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/lowlevellock.c: Moved ...
5942 * sysdeps/sparc/sparc32/nptl/lowlevellock.c: ... here.
5943 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pthread_barrier_wait.c:
5944 Moved ...
5945 * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: ... here.
5946 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_post.c: Moved ...
5947 * sysdeps/sparc/sparc32/nptl/sem_post.c: ... here.
5948 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_timedwait.c: Moved ...
5949 * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: ... here.
5950 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_trywait.c: Moved ...
5951 * sysdeps/sparc/sparc32/nptl/sem_trywait.c: ... here.
5952 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_wait.c: Moved ...
5953 * sysdeps/sparc/sparc32/nptl/sem_wait.c: ... here.
5954 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/cpu_relax.S:
5955 Moved ...
5956 * sysdeps/sparc/sparc32/sparcv9/nptl/cpu_relax.S: ... here.
5957 Update #include.
5958 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/pthread_barrier_wait.c:
5959 Moved ...
5960 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_barrier_wait.c: ... here.
5961 Update #include.
5962 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_post.c:
5963 Moved ...
5964 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_post.c: ... here.
5965 Update #include.
5966 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_timedwait.c:
5967 Moved ...
5968 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_timedwait.c: ... here.
5969 Update #include.
5970 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_trywait.c:
5971 Moved ...
5972 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_trywait.c: ... here.
5973 Update #include.
5974 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_wait.c:
5975 Moved ...
5976 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_wait.c: ... here.
5977 Update #include.
5978 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/cpu_relax.S: Moved ...
5979 * sysdeps/sparc/sparc64/nptl/cpu_relax.S: ... here.
5980 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Moved ...
5981 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: ... here.
5982 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Moved ...
5983 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: ... here.
5984 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: Moved ...
5985 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: ... here.
5986 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: Moved ...
5987 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: ... here.
5988 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
5989 Moved ...
5990 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c: ... here.
5991 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: Moved ...
5992 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: ... here.
5993 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: Moved ...
5994 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: ... here.
5995
d7109027
JM
59962014-06-20 Joseph Myers <joseph@codesourcery.com>
5997
9bc6103d
JM
5998 * nptl/pthread_cond_wait.c: Include <kernel-features.h>.
5999 * nptl/pthread_rwlock_timedrdlock.c: Likewise.
6000 * nptl/pthread_rwlock_timedwrlock.c: Likewise.
6001 * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.c: Likewise.
6002 * nscd/nscd.c: Likewise.
6003 * sysdeps/i386/nptl/tcb-offsets.sym: Likewise.
6004 * sysdeps/powerpc/nptl/tcb-offsets.sym: Likewise.
6005 * sysdeps/sh/nptl/tcb-offsets.sym: Likewise.
6006 * sysdeps/x86_64/nptl/tcb-offsets.sym: Likewise.
6007
d7109027
JM
6008 * nptl/sysdeps/unix/sysv/linux/mq_notify.c: Do not include
6009 <kernel-features.h>.
6010 (init_mq_netlink): Remove conditional have_sock_cloexec
6011 definitions. Remove code conditional on have_sock_cloexec < 0.
6012 (init_mq_netlink) [!SOCK_CLOEXEC]: Remove conditional code.
6013 (init_mq_netlink) [!__ASSUME_SOCK_CLOEXEC]: Likewise.
6014 * sysdeps/unix/sysv/linux/opensock.c: Do not include
6015 <kernel-features.h>.
6016 (__opensock) [SOCK_CLOEXEC]: Make code unconditional.
6017 (__opensock) [!__ASSUME_SOCK_CLOEXEC]: Remove conditional code.
6018
d92d8f8a
L
60192014-06-20 H.J. Lu <hongjiu.lu@intel.com>
6020
6021 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
6022 Add tests for memset_chk and memset.
6023
6024 * sysdeps/x86_64/multiarch/init-arch.h (HAS_AVX2): Defined
6025 with AVX2_Usable.
6026
4e6d2347
MR
60272014-06-20 Maciej W. Rozycki <macro@codesourcery.com>
6028
257ce712
MR
6029 [BZ #16046]
6030 * elf/tst-dl-iter-static.c: New file.
6031 * elf/Makefile (tests-static): Add tst-dl-iter-static.
6032
4e6d2347
MR
6033 * stdlib/tst-qsort2.c (main): Fix off-by-one argc interpretation
6034 error.
6035
a2a76afe
JM
60362014-06-20 Joseph Myers <joseph@codesourcery.com>
6037
7fd00f99
JM
6038 * sysdeps/unix/sysv/linux/kernel-features.h
6039 (__ASSUME_F_GETOWN_EX): Remove macro.
6040 * sysdeps/unix/sysv/linux/fcntl.c: Do not include
6041 <kernel-features.h>.
6042 (miss_F_GETOWN_EX): Remove variable or macro.
6043 (do_fcntl): Do not check miss_F_GETOWN_EX.
6044 (do_fcntl) [!__ASSUME_F_GETOWN_EX]: Remove conditional code.
6045
4a103975
JM
6046 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_RANDOM):
6047 Remove macro.
6048 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard)
6049 [!__ASSUME_AT_RANDOM]: Remove conditional code.
6050 (_dl_setup_pointer_guard) [!__ASSUME_AT_RANDOM]: Likewise.
6051
a2a76afe
JM
6052 * sysdeps/unix/sysv/linux/kernel-features.h
6053 (__ASSUME_ADJ_OFFSET_SS_READ): Remove macro.
6054 * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME)
6055 [ADJ_OFFSET_SS_READ]: Make code unconditional.
6056 (ADJTIME) [!ADJ_OFFSET_SS_READ]: Remove conditional code.
6057
90e5dd48
MR
60582014-06-20 Maciej W. Rozycki <macro@codesourcery.com>
6059
6060 [BZ #17075]
6061 * sysdeps/arm/dl-machine.h (elf_machine_rel) <R_ARM_TLS_DESC>:
6062 Fix calculation of the symbol's value.
6063 * sysdeps/arm/tst-armtlsdescloc.c: New file.
6064 * sysdeps/arm/tst-armtlsdesclocmod.c: New file.
6065 * sysdeps/arm/tst-armtlsdescextnow.c: New file.
6066 * sysdeps/arm/tst-armtlsdescextlazymod.c: New file.
6067 * sysdeps/arm/tst-armtlsdescextlazy.c: New file.
6068 * sysdeps/arm/tst-armtlsdescextnowmod.c: New file.
6069 * sysdeps/arm/Makefile (tests): Add `tst-armtlsdesc',
6070 `tst-armtlsdescextnow' and `tst-armtlsdescextlazy'.
6071 (modules-names): Add `tst-armtlsdescmod',
6072 `tst-armtlsdescextlazymod' and `tst-armtlsdescextnowmod'.
6073 (CPPFLAGS-tst-armtlsdescextnowmod.c): New variable.
6074 (CPPFLAGS-tst-armtlsdescextlazymod.c): Likewise.
6075 (CFLAGS-tst-armtlsdesclocmod.c): Likewise.
6076 (CFLAGS-tst-armtlsdescextnowmod.c): Likewise.
6077 (CFLAGS-tst-armtlsdescextlazymod.c): Likewise.
6078 (LDFLAGS-tst-armtlsdescextnowmod.so): Likewise.
6079 ($(objpfx)tst-armtlsdescloc): New dependency.
6080 ($(objpfx)tst-armtlsdescextnow): Likewise.
6081 ($(objpfx)tst-armtlsdescextlazy): Likewise.
6082 * sysdeps/arm/configure.ac: Add a check for tools' GNU descriptor
6083 TLS scheme support.
6084 * sysdeps/arm/configure: Regenerate.
6085
809fdf0d
JM
60862014-06-20 Joseph Myers <joseph@codesourcery.com>
6087
6088 * include/fcntl.h (__atfct_seterrno): Remove prototype.
6089 (__atfct_seterrno_2): Likewise.
6090 * sysdeps/unix/sysv/linux/alpha/dl-fxstatat64.c: Do not include
6091 <kernel-features.h>.
6092 (__ASSUME_ATFCTS): Do not undefine and redefine.
6093 * sysdeps/unix/sysv/linux/alpha/fxstatat.c [__ASSUME_ATFCTS]
6094 (__have_atfcts): Remove conditional definition.
6095 (__fxstatat([__NR_fstatat64]: Make code unconditional.
6096 (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code and code
6097 unreachable if [__ASSUME_ATFCTS].
6098 * sysdeps/unix/sysv/linux/dl-fxstatat64.c (__ASSUME_ATFCTS): Do
6099 not undefine and redefine.
6100 * sysdeps/unix/sysv/linux/faccessat.c: Do not include
6101 <kernel-features.h>.
6102 (faccessat) [__NR_faccessat]: Make code unconditional.
6103 (faccessat) [!__ASSUME_ATFCTS]: Remove conditional code.
6104 * sysdeps/unix/sysv/linux/fchmodat.c: Do not include
6105 <kernel-features.h>.
6106 (fchmodat) [__NR_fchmodat]: Make code unconditional.
6107 (fchmodat) [!__ASSUME_ATFCTS]: Remove conditional code.
6108 * sysdeps/unix/sysv/linux/fchownat.c: Do not include
6109 <kernel-features.h>.
6110 (fchownat) [__NR_fchownat]: Make code unconditional.
6111 (fchownat) [!__ASSUME_ATFCTS]: Remove conditional code.
6112 * sysdeps/unix/sysv/linux/futimesat.c: Do not include
6113 <kernel-features.h>.
6114 (futimesat) [__NR_futimesat]: Make code unconditional.
6115 (futimesat) [!__ASSUME_ATFCTS]: Remove conditional code.
6116 * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
6117 <kernel-features.h>.
6118 (__fxstatat) [__NR_newfstatat]: Make code unconditional.
6119 (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
6120 * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
6121 <kernel-features.h>.
6122 (__fxstatat64) [__NR_fstatat64]: Make code unconditional.
6123 (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
6124 * sysdeps/unix/sysv/linux/i386/fchownat.c: Remove file.
6125 * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
6126 <kernel-features.h>.
6127 (__fxstatat) [__NR_fstatat64]: Make code unconditional.
6128 (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
6129 * sysdeps/unix/sysv/linux/linkat.c: Do not include
6130 <kernel-features.h>.
6131 (linkat) [__NR_linkat]: Make code unconditional.
6132 (linkat) [!__ASSUME_ATFCTS]: Remove conditional code.
6133 * sysdeps/unix/sysv/linux/m68k/fchownat.c: Remove file.
6134 * sysdeps/unix/sysv/linux/mips/mips64/fxstatat64.c: Do not include
6135 <kernel-features.h>.
6136 (__fxstatat64) [__NR_newfstatat]: Make code unconditional.
6137 (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
6138 * sysdeps/unix/sysv/linux/mkdirat.c: Do not include
6139 <kernel-features.h>.
6140 (mkdirat) [__NR_mkdirat]: Make code unconditional.
6141 (mkdirat) [!__ASSUME_ATFCTS]: Remove conditional code.
6142 * sysdeps/unix/sysv/linux/openat.c: Do not include
6143 <kernel-features.h>.
6144 [!__ASSUME_ATFCTS] (__atfct_seterrno): Remove function.
6145 [!__ASSUME_ATFCTS] (__have_atfcts): Remove variable.
6146 (OPENAT_NOT_CANCEL) [__NR_openat]: Make code unconditional.
6147 (OPENAT_NOT_CANCEL) [!__ASSUME_ATFCTS]: Remove conditional code.
6148 * sysdeps/unix/sysv/linux/powerpc/fchownat.c: Remove file.
6149 * sysdeps/unix/sysv/linux/readlinkat.c: Do not include
6150 <kernel-features.h>.
6151 (readlinkat) [__NR_readlinkat]: Make code unconditional.
6152 (readlinkat) [!__ASSUME_ATFCTS]: Remove conditional code. Return
6153 result of INLINE_SYSCALL directly, not via int variable.
6154 * sysdeps/unix/sysv/linux/renameat.c: Do not include
6155 <kernel-features.h>.
6156 [!__ASSUME_ATFCTS] (__atfct_seterrno_2): Remove function.
6157 (renameat) [__NR_renameat]: Make code unconditional.
6158 (renameat) [!__ASSUME_ATFCTS]: Remove conditional code.
6159 * sysdeps/unix/sysv/linux/s390/s390-32/fchownat.c: Remove file.
6160 * sysdeps/unix/sysv/linux/sh/fchownat.c: Remove file.
6161 * sysdeps/unix/sysv/linux/sparc/sparc32/fchownat.c: Remove file.
6162 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c
6163 (__ASSUME_ATFCTS): Do not undefine and redefine.
6164 * sysdeps/unix/sysv/linux/symlinkat.c: Do not include
6165 <kernel-features.h>.
6166 (symlinkat) [__NR_symlinkat]: Make code unconditional.
6167 (symlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
6168 * sysdeps/unix/sysv/linux/unlinkat.c: Do not include
6169 <kernel-features.h>.
6170 (unlinkat) [__NR_unlinkat]: Make code unconditional.
6171 (unlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
6172 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c
6173 (__ASSUME_ATFCTS): Do not undefine and redefine.
6174 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
6175 <kernel-features.h>.
6176 (__fxstatat) [__NR_newfstatat]: Make code unconditional.
6177 (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
6178 * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
6179 <kernel-features.h>.
6180 (__xmknodat) [__NR_mknodat]: Make code unconditional.
6181 (__xmknodat) [!__ASSUME_ATFCTS]: Remove conditional code.
6182
224c6c51
L
61832014-06-20 H.J. Lu <hongjiu.lu@intel.com>
6184
6185 * sysdeps/x86_64/multiarch/rtld-strlen.S: Removed.
6186
aa6ec754
AS
61872014-06-20 Andreas Schwab <schwab@linux-m68k.org>
6188
6189 [BZ #17069]
6190 * posix/regcomp.c (parse_reg_exp): Deallocate partially
6191 constructed tree before returning error.
6192 * posix/bug-regexp36.c: Expand test case.
6193
d8c2869d
SL
61942014-06-20 Stefan Liebler <stli@linux.vnet.ibm.com>
6195
3ef6b850
SL
6196 [BZ #6803]
6197 * math/libm-test.inc (scalbln_test_date):
6198 Add errno expectations.
6199 * math/w_scalblnf.c: New File.
6200 Add wrapper which checks for setting errno to ERANGE.
6201 Add weak_alias for corresponding scalbln function.
6202 * math/w_scalbln.c: Likewise.
6203 * math/w_scalblnl.c: Likewise.
6204 * math/Makefile (libm-calls): Add w_scalbln.
6205 * sysdeps/ieee754/flt-32/s_scalblnf.c:
6206 Remove weak_alias for corresponding scalbln function.
6207 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
6208 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
6209 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
6210 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
6211 * sysdeps/sparc/sparc64/soft-fp/s_scalblnl.c: Likewise.
6212 * sysdeps/i386/fpu/s_scalbnf.S: Likewise.
6213 * sysdeps/i386/fpu/s_scalbn.S: Likewise.
6214 * sysdeps/i386/fpu/s_scalbnl.S: Likewise.
6215 * sysdeps/m68k/m680x0/fpu/s_scalbn.c: Likewise.
6216 * sysdeps/ieee754/ldbl-64-128/s_scalblnl.c:
6217 Remove long_double_symbol for scalblnl function in libm, libc.
6218 * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: New File.
6219 Add wrapper which checks for setting errno to ERANGE.
6220 Add long_double_symbol for scalblnl function in libm, libc.
6221 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c:
6222 Remove long_double_symbol for scalblnl in libm.
6223 * sysdeps/ieee754/ldbl-128ibm/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.
6226 * sysdeps/ia64/fpu/w_scalblnf.c: New File.
6227 Do not use wrapper because of own implementation.
6228
c8daec5c
L
62292014-06-19 H.J. Lu <hongjiu.lu@intel.com>
6230
6231 * sysdeps/x86/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Use
6232 3 bytes for __pad1 for x32.
6233 (__PTHREAD_RWLOCK_ELISION_EXTRA): Likewise.
6234
5c74e47c
LM
62352014-06-19 Ling Ma <ling.ml@alibaba-inc.com>
6236 H.J. Lu <hongjiu.lu@intel.com>
6237
6238 * sysdeps/x86_64/multiarch/Makefile: Add memset-avx2.
6239 * sysdeps/x86_64/multiarch/memset-avx2.S: New file.
6240 * sysdeps/x86_64/multiarch/memset.S: Likewise.
6241 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
6242 * sysdeps/x86_64/multiarch/rtld-memset.S: Likewise.
6243
4d43ef1e
AS
62442014-06-19 Andreas Schwab <schwab@linux-m68k.org>
6245
6246 [BZ #17069]
6247 * posix/regcomp.c (parse_expression): Deallocate partially
6248 constructed tree before returning error.
6249 * posix/Makefile.c (tests): Add bug-regex36.
6250 (generated): Add bug-regex36.mtrace.
6251 (tests-special): Add $(objpfx)bug-regex36-mem.out
6252 (bug-regex36-ENV): New variable.
6253 ($(objpfx)bug-regex36-mem.out): New rule.
6254 * posix/bug-regex36.c: New file.
6255
51a7380b
WN
62562014-06-19 Will Newton <will.newton@linaro.org>
6257
6258 * malloc/malloc.c (systrim): If extra is zero then return
6259 early.
6260
91b84fe5
SP
62612014-06-19 Siddhesh Poyarekar <siddhesh@redhat.com>
6262
6263 * benchtests/Makefile ($(objpfx)bench-%.c): Remove $(.).
6264
f940b965
RE
62652014-06-19 Richard Earnshaw <rearnsha@arm.com>
6266
6267 * sysdeps/aarch64/strchr.S: New file.
6268
4ba7a00f
JM
62692014-06-18 Joseph Myers <joseph@codesourcery.com>
6270
6271 [BZ #17022]
6272 * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Do not subtract 1
6273 from arguments -2 or below.
6274 * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
6275 * sysdeps/x86_64/fpu/e_logl.S (__ieee754_logl): Likewise.
6276
b3a9f56b
AS
62772014-06-18 Andreas Schwab <schwab@suse.de>
6278
6279 [BZ #17062]
6280 * posix/fnmatch_loop.c (FCT): Rerrange loop for skipping over rest
6281 of a bracket expr not to run off the end of the string.
6282 * posix/Makefile (tests): Add tst-fnmatch3.
6283 * posix/tst-fnmatch3.c: New file.
6284
85d89278
JM
62852014-06-18 Joseph Myers <joseph@codesourcery.com>
6286
6287 * elf/Makefile ($(objpfx)tst-unused-dep.out): Use $(rtld-prefix).
6288 * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
6289 [$(cross-compiling) = no]: Likewise.
6290 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
6291 [$(cross-compiling) = no]: Likewise.
6292
754c5a08
RS
62932014-16-17 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
6294
6295 [BZ #17031]
6296 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Consider the low
6297 double, adjusted for any remainder from the high double.
6298 * math/libm-test.inc (nearbyint): Add tests.
6299 (rint): Likewise.
6300
556f529d
AZ
63012014-06-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6302
6303 * nptl/sysdeps/powerpc/Makefile: Moved ...
6304 * sysdeps/powerpc/nptl/Makefile: ... here.
6305 * nptl/sysdeps/powerpc/pthread_spin_lock.c: Moved ...
6306 * sysdeps/powerpc/nptl/pthread_spin_lock.c: .. here.
6307 * nptl/sysdeps/powerpc/pthread_spin_trylock.c: Moved ...
6308 * sysdeps/powerpc/nptl/pthread_spin_trylock.c: ... here.
6309 * nptl/sysdeps/powerpc/pthreaddef.h: Moved ...
6310 * sysdeps/powerpc/nptl/pthreaddef.h: ... here.
6311 * nptl/sysdeps/powerpc/tcb-offsets.sym: Moved ...
6312 * sysdeps/powerpc/nptl/tcb-offsets.sym: ... here.
6313 * nptl/sysdeps/powerpc/tls.h: Moved ...
6314 * sysdeps/powerpc/nptl/tls.h: ... here.
6315
91c03c53
JM
63162014-06-16 Joseph Myers <joseph@codesourcery.com>
6317
6318 [BZ #16681]
6319 * sysdeps/i386/fpu/s_ceil.S (__ceil): Add CFI.
6320 * sysdeps/i386/fpu/s_ceilf.S (__ceilf): Likewise.
6321 * sysdeps/i386/fpu/s_ceill.S (__ceill): Likewise.
6322 * sysdeps/i386/fpu/s_floor.S (__floor): Likewise.
6323 * sysdeps/i386/fpu/s_floorf.S (__floorf): Likewise.
6324 * sysdeps/i386/fpu/s_floorl.S (__floorl): Likewise.
6325 * sysdeps/i386/fpu/s_trunc.S (__trunc): Likewise.
6326 * sysdeps/i386/fpu/s_truncf.S (__truncf): Likewise.
6327 * sysdeps/i386/fpu/s_truncl.S (__truncl): Likewise.
6328
a76e63c5
AS
63292014-06-17 Andreas Schwab <schwab@linux-m68k.org>
6330
6331 * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
6332
f2f6d82f
AS
63332014-06-16 Andreas Schwab <schwab@linux-m68k.org>
6334
ea8a15f6
AS
6335 * sysdeps/m68k/m680x0/bits/huge_vall.h: Fix missing space after
6336 defined operator.
6337
f2f6d82f
AS
6338 * scripts/cross-test-ssh.sh (timeoutfactor): Default to
6339 $TIMEOUTFACTOR.
6340
a7291117
FW
63412014-06-16 Florian Weimer <fweimer@redhat.com>
6342
6343 [BZ #17058]
6344 * nptl/tst-setuid2.c (do_test): Fix tautological comparison in
6345 non-executed part of the test.
6346
3d7c00e3
AS
63472014-06-16 Andreas Schwab <schwab@suse.de>
6348
6349 * string/bits/string2.h (strdup, strndup): Update feature guard.
6350
6957fb31
DM
63512014-06-14 David S. Miller <davem@davemloft.net>
6352
6353 * sysdeps/sparc/fpu/libm-test-ulps: Update.
6354
11b9e55b
AS
63552014-06-14 Andreas Schwab <schwab@linux-m68k.org>
6356
1d2a0492
AS
6357 * sysdeps/unix/sysv/linux/m68k/clone.S: Deconditionalize the code
6358 that was previously under [RESET_PID].
6359 * sysdeps/unix/sysv/linux/m68k/nptl/clone.S: Remove file.
6360
11b9e55b
AS
6361 * sysdeps/unix/sysv/linux/m68k/pt-vfork.c: New file.
6362 * sysdeps/unix/sysv/linux/m68k/nptl/pt-vfork.S: Remove file.
6363 * sysdeps/unix/sysv/linux/m68k/vfork.S: Include <tcb-offsets.h>.
6364 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
6365 (__libc_vfork): New strong alias.
6366 * sysdeps/unix/sysv/linux/m68k/nptl/vfork.S: Remove file.
6367
0f6901d0
AK
63682014-06-14 Andi Kleen <ak@linux.intel.com>
6369
6370 * sysdeps/generic/elide.h: New file.
6371
38bbbb9f
SL
63722014-06-13 Stefan Liebler <stli@linux.vnet.ibm.com>
6373
6374 * Makefile (installed-headers): Adjust path of pthread.h header.
6375
45193bb8
RM
63762014-06-13 Roland McGrath <roland@hack.frob.com>
6377
9a25fd1e
RM
6378 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h: Moved ...
6379 * sysdeps/s390/nptl/bits/pthreadtypes.h: ... here.
6380 * nptl/sysdeps/unix/sysv/linux/s390/bits/semaphore.h: Moved ...
6381 * sysdeps/s390/nptl/bits/semaphore.h: ... here.
6382
4004f7e4
RM
6383 * nptl/sysdeps/s390/Makefile: Moved ...
6384 * sysdeps/s390/nptl/Makefile: ... here.
6385 * nptl/sysdeps/s390/pthread_spin_init.c: Moved ...
6386 * sysdeps/s390/nptl/pthread_spin_init.c: ... here.
6387 * nptl/sysdeps/s390/pthread_spin_lock.c: Moved ...
6388 * sysdeps/s390/nptl/pthread_spin_lock.c: ... here.
6389 * nptl/sysdeps/s390/pthread_spin_trylock.c: Moved ...
6390 * sysdeps/s390/nptl/pthread_spin_trylock.c: ... here.
6391 * nptl/sysdeps/s390/pthread_spin_unlock.c: Moved ...
6392 * sysdeps/s390/nptl/pthread_spin_unlock.c: ... here.
6393 * nptl/sysdeps/s390/pthreaddef.h: Moved ...
6394 * sysdeps/s390/nptl/pthreaddef.h: ... here.
6395 * nptl/sysdeps/s390/tcb-offsets.sym: Moved ...
6396 * sysdeps/s390/nptl/tcb-offsets.sym: ... here.
6397 * nptl/sysdeps/s390/tls.h: Moved ...
6398 * sysdeps/s390/nptl/tls.h: ... here.
6399
45193bb8
RM
6400 * sysdeps/unix/sysv/linux/s390/arch-fork.h: New file.
6401 * nptl/sysdeps/unix/sysv/linux/s390/fork.c: File removed.
6402
f6fdf533
DM
64032014-06-13 David S. Miller <davem@davemloft.net>
6404
6405 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/clone.S: Delete.
6406 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pt-vfork.S: Delete.
6407 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: Moved ...
6408 * sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: ... here.
6409 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/clone.S: Delete.
6410 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/pt-vfork.S: Delete.
6411 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: Moved ...
6412 * sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: ... here.
6413 * sysdeps/unix/sysv/linux/sparc/fork.S: Delete.
6414 * sysdeps/unix/sysv/linux/sparc/pt-vfork.S: New file.
6415 * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S (__thread_start):
6416 Remove RESET_PID cpp guards.
6417 * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S (__thread_start):
6418 Remove RESET_PID cpp guards.
6419 * sysdeps/unix/sysv/linux/sparc/vfork.S: Delete.
6420
f5d71e14
AS
64212014-06-13 Andreas Schwab <schwab@linux-m68k.org>
6422
6423 * sysdeps/m68k/jmpbuf-unwind.h (_JMPBUF_UNWINDS, _jmpbuf_sp): Cast
6424 __sp to uintptr_t.
6425
b7aa8caa
AK
64262014-06-13 Andi Kleen <ak@linux.intel.com>
6427
4b266200
AZ
6428 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: Remove.
6429 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S: dito.
6430 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S: dito.
6431 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: dito.
6432 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: dito.
6433 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: dito.
6434 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S: dito.
6435 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S: dito.
6436 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: dito.
6437 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: dito.
6438 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: dito.
6439 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S: dito.
6440 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S: dito.
6441 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: dito.
6442 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: dito.
6443 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: dito.
6444 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: dito.
6445 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: dito.
6446 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: dito.
6447 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: dito.
8491ed6d
AK
6448
6449 * nptl/pthread_rwlock_rdlock.c: Include elide.h.
4b266200
AZ
6450 (pthread_rwlock_rdlock): Add elision.
6451 * nptl/pthread_rwlock_wrlock.c: Include elide.h.
6452 (pthread_rwlock_wrlock): Add elision.
6453 * nptl/pthread_rwlock_trywrlock.c: Include elide.h.
6454 (pthread_rwlock_trywrlock): Add elision.
6455 * nptl/pthread_rwlock_tryrdlock.c: Include elide.h.
6456 (pthread_rwlock_tryrdlock): Add elision.
6457 * nptl/pthread_rwlock_unlock.c: Include elide.h.
6458 (pthread_rwlock_tryrdlock): Add elision unlock.
6459 * nptl/sysdeps/pthread/pthread.h:
6460 (__PTHREAD_RWLOCK_ELISION_EXTRA): Handle new define
6461 (PTHREAD_RWLOCK_INITIALIZER,
6462 PTHREAD_RWLOCK_WRITER_NONRECURSIVE_INITIALIZER_NP):
6463 Handle new elision field.
6464 * sysdeps/x86/nptl/elide.h: New file. Add generic elision macros.
6465 * sysdeps/arm/nptl/bits/pthreadtypes.h
6466 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
6467 * sysdeps/sh/nptl/bits/pthreadtypes.h
6468 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
6469 * sysdeps/tile/nptl/bits/pthreadtypes.h
6470 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
6471 * sysdeps/a/nptl/bits/pthreadtypes.h
6472 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
6473 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
6474 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
6475 * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
6476 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
6477 * sysdeps/unix/sysv/linux/hppa/nptl/bits/pthreadtypes.h
6478 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
6479 * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
6480 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
6481 * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
6482 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
6483 * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
6484 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
6485 * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
6486 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
6487 * sysdeps/unix/sysv/linux/powerpc/nptl/bits/pthreadtypes.h
6488 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
6489 * sysdeps/unix/sysv/linux/x86/elision-conf.c:
6490 (elision_init): Set try_xbegin to zero when no RTM.
6491 * sysdeps/x86/nptl/bits/pthreadtypes.h
6492 (pthread_rwlock_t): Change __pad1 to __rwelision.
6493 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
8491ed6d 6494
a832bdd3
AK
64952014-06-13 Andi Kleen <ak@linux.intel.com>
6496
6497 * nptl/pthread_rwlock_rdlock (__pthread_rwlock_rdlock):
6498 Split into __do_pthread_rwlock_rdlock and __pthread_rwlock_rdlock.
6499 * nptl/pthread_rwlock_wrlock (__pthread_rwlock_wrlock):
6500 Split into __do_pthread_rwlock_wrlock and __pthread_wrlock_rdlock.
6501
995a46bb
MI
65022014-06-13 Meador Inge <meadori@codesourcery.com>
6503
6504 [BZ #16996]
03ed7738 6505 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Ensure
995a46bb
MI
6506 that the cached result has been set before returning it.
6507
45262aee
RM
65082014-06-12 Roland McGrath <roland@hack.frob.com>
6509
febf6cc5
RM
6510 * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h: Moved ...
6511 * sysdeps/sparc/nptl/bits/pthreadtypes.h: ... here.
6512 * nptl/sysdeps/unix/sysv/linux/sparc/bits/semaphore.h: Moved ...
6513 * sysdeps/sparc/nptl/bits/semaphore.h: ... here.
6514 * nptl/sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: Moved ...
6515 * sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: ... here.
6516
e2682246
RM
6517 * nptl/sysdeps/sparc/Makefile: Moved ...
6518 * sysdeps/sparc/nptl/Makefile: ... here.
6519 * nptl/sysdeps/sparc/tcb-offsets.sym: Moved ...
6520 * sysdeps/sparc/nptl/tcb-offsets.sym: ... here.
6521 * nptl/sysdeps/sparc/tls.h: Moved ...
6522 * sysdeps/sparc/nptl/tls.h: ... here.
6523 * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S: Moved ...
6524 * sysdeps/sparc/sparc32/nptl/pthread_spin_lock.S: ... here.
6525 * nptl/sysdeps/sparc/sparc32/pthread_spin_trylock.S: Moved ...
6526 * sysdeps/sparc/sparc32/nptl/pthread_spin_trylock.S: ... here.
6527 * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Moved ...
6528 * sysdeps/sparc/sparc32/nptl/pthreaddef.h: ... here.
6529 * nptl/sysdeps/sparc/sparc64/pthread_spin_init.c: Moved ...
6530 * sysdeps/sparc/sparc64/nptl/pthread_spin_init.c: ... here.
6531 * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S: Moved ...
6532 * sysdeps/sparc/sparc64/nptl/pthread_spin_lock.S: ... here.
6533 * nptl/sysdeps/sparc/sparc64/pthread_spin_trylock.S: Moved ...
6534 * sysdeps/sparc/sparc64/nptl/pthread_spin_trylock.S: ... here.
6535 * nptl/sysdeps/sparc/sparc64/pthread_spin_unlock.S: Moved ...
6536 * sysdeps/sparc/sparc64/nptl/pthread_spin_unlock.S: ... here.
6537 * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Moved ...
6538 * sysdeps/sparc/sparc64/nptl/pthreaddef.h: ... here.
6539 * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: Moved ...
6540 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_init.c: ... here.
6541 Update #include.
6542 * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: Moved ...
6543 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_lock.S: ... here.
6544 Update #include.
6545 * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: Moved ...
6546 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_trylock.S: ... here.
6547 Update #include.
6548 * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_unlock.S: Moved ...
6549 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: ... here.
6550 Update #include.
6551
b0725f43
RM
6552 * nptl/sysdeps/sparc/tls.h (TLS_DEFINE_INIT_TP): New macro.
6553
b14368b8
RM
6554 * sysdeps/unix/sysv/linux/sparc/arch-fork.h: New file.
6555 * nptl/sysdeps/unix/sysv/linux/sparc/fork.c: File removed.
6556
c5620eb3
RM
6557 * sysdeps/pthread/posix-timer.h: Include <list.h>.
6558 (struct list_links): Type removed.
6559 (struct thread_node, struct timer_node): Replace struct list_links
6560 with struct list_head.
6561 (list_unlink_ip): Likewise.
6562 * sysdeps/pthread/timer_routines.c
6563 (timer_free_list, thread_free_list, thread_active_list): Likewise.
6564 (list_append, list_insbefore): Likewise.
6565 (list_init): Function removed.
6566 (thread_init, init_module): Use INIT_LIST_HEAD instead.
463dc947
RM
6567 * sysdeps/nptl/Makefile: Move tst-timer bits to ...
6568 * sysdeps/pthread/Makefile: ... here, new file.
6569
6570 * nptl/sysdeps/unix/sysv/linux/Implies: Moved ...
6571 * sysdeps/nptl/Implies: ... here.
6572 * sysdeps/unix/sysv/linux/Implies: Add nptl.
6573 * nptl/sysdeps/pthread/list.h: Moved ...
6574 * include/list.h: ... here.
6575 * nptl/sysdeps/pthread/createthread.c: Moved ...
6576 * nptl/createthread.c: ... here.
6577 * nptl/sysdeps/unix/sysv/linux/createthread.c: Update #include.
6578 * nptl/sysdeps/pthread/pt-longjmp.c: Moved ...
6579 * nptl/pt-longjmp.c: ... here.
6580 * nptl/sysdeps/pthread/Makefile: Moved ...
6581 * sysdeps/nptl/Makefile: ... here.
6582 * nptl/sysdeps/pthread/Subdirs: Moved ...
6583 * sysdeps/nptl/Subdirs: ... here.
6584 * nptl/sysdeps/pthread/aio_misc.h: Moved ...
6585 * sysdeps/nptl/aio_misc.h: ... here.
6586 * nptl/sysdeps/pthread/bits/libc-lock.h: Moved ...
6587 * sysdeps/nptl/bits/libc-lock.h: ... here.
6588 * nptl/sysdeps/pthread/bits/libc-lockP.h: Moved ...
6589 * sysdeps/nptl/bits/libc-lockP.h: ... here.
6590 * nptl/sysdeps/pthread/bits/stdio-lock.h: Moved ...
6591 * sysdeps/nptl/bits/stdio-lock.h: ... here.
6592 * nptl/sysdeps/pthread/configure: Moved ...
6593 * sysdeps/nptl/configure: ... here.
6594 * nptl/sysdeps/pthread/configure.ac: Moved ...
6595 * sysdeps/nptl/configure.ac: ... here.
6596 * nptl/sysdeps/pthread/gai_misc.h: Moved ...
6597 * sysdeps/nptl/gai_misc.h: ... here.
6598 * nptl/sysdeps/pthread/librt-cancellation.c: Moved ...
6599 * sysdeps/nptl/librt-cancellation.c: ... here.
6600 * nptl/sysdeps/pthread/malloc-machine.h: Moved ...
6601 * sysdeps/nptl/malloc-machine.h: ... here.
6602 * nptl/sysdeps/pthread/pthread-functions.h: Moved ...
6603 * sysdeps/nptl/pthread-functions.h: ... here.
6604 * nptl/sysdeps/pthread/pthread.h: Moved ...
6605 * sysdeps/nptl/pthread.h: ... here.
6606 * nptl/sysdeps/pthread/setxid.h: Moved ...
6607 * sysdeps/nptl/setxid.h: ... here.
6608 * nptl/sysdeps/pthread/sigfillset.c: Moved ...
6609 * sysdeps/nptl/sigfillset.c: ... here.
6610 * nptl/sysdeps/pthread/tcb-offsets.h: Moved ...
6611 * sysdeps/nptl/tcb-offsets.h: ... here.
6612 * nptl/sysdeps/pthread/tst-mqueue8x.c: Moved ...
6613 * sysdeps/nptl/tst-mqueue8x.c: ... here.
6614 * nptl/sysdeps/pthread/unwind-forcedunwind.c: Moved ...
6615 * sysdeps/nptl/unwind-forcedunwind.c: ... here.
6616 * nptl/sysdeps/pthread/allocalim.h: Moved ...
6617 * sysdeps/pthread/allocalim.h: ... here.
6618 * nptl/sysdeps/pthread/bits/sigthread.h: Moved ...
6619 * sysdeps/pthread/bits/sigthread.h: ... here.
6620 * nptl/sysdeps/pthread/flockfile.c: Moved ...
6621 * sysdeps/pthread/flockfile.c: ... here.
6622 * nptl/sysdeps/pthread/ftrylockfile.c: Moved ...
6623 * sysdeps/pthread/ftrylockfile.c: ... here.
6624 * nptl/sysdeps/pthread/funlockfile.c: Moved ...
6625 * sysdeps/pthread/funlockfile.c: ... here.
6626 * nptl/sysdeps/pthread/posix-timer.h: Moved ...
6627 * sysdeps/pthread/posix-timer.h: ... here.
6628 * nptl/sysdeps/pthread/timer_create.c: Moved ...
6629 * sysdeps/pthread/timer_create.c: ... here.
6630 * nptl/sysdeps/pthread/timer_delete.c: Moved ...
6631 * sysdeps/pthread/timer_delete.c: ... here.
6632 * nptl/sysdeps/pthread/timer_getoverr.c: Moved ...
6633 * sysdeps/pthread/timer_getoverr.c: ... here.
6634 * nptl/sysdeps/pthread/timer_gettime.c: Moved ...
6635 * sysdeps/pthread/timer_gettime.c: ... here.
6636 * nptl/sysdeps/pthread/timer_routines.c: Moved ...
6637 * sysdeps/pthread/timer_routines.c: ... here.
6638 * nptl/sysdeps/pthread/timer_settime.c: Moved ...
6639 * sysdeps/pthread/timer_settime.c: ... here.
6640 * nptl/sysdeps/pthread/tst-timer.c: Moved ...
6641 * sysdeps/pthread/tst-timer.c: ... here.
6642 * nptl/sysdeps/pthread/pthread_sigmask.c: Moved ...
6643 * sysdeps/unix/sysv/linux/pthread_sigmask.c: ... here.
6644
e876b090
RM
6645 * sysdeps/unix/sysv/linux/sigprocmask.c: Include <nptl/pthreadP.h>.
6646 * nptl/sysdeps/pthread/sigprocmask.c: File removed.
6647
f6b07b3d
RM
6648 * nptl/sysdeps/i386/i486/pthread_spin_trylock.S: Moved ...
6649 * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: ... here.
6650 * nptl/sysdeps/i386/i586/pthread_spin_trylock.S: Moved ...
6651 * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: ... here.
6652 Update #include target.
6653 * nptl/sysdeps/i386/i686/Makefile: Moved ...
6654 * sysdeps/i386/i686/nptl/Makefile: ... here.
6655 * nptl/sysdeps/i386/i686/pthread_spin_trylock.S: Moved ...
6656 * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: ... here.
6657 Update #include target.
6658 * nptl/sysdeps/i386/i686/tls.h: Moved ...
6659 * sysdeps/i386/i686/nptl/tls.h: ... here. Use #include_next.
6660 * nptl/sysdeps/i386/Makefile: Moved ...
6661 * sysdeps/i386/nptl/Makefile: ... here.
6662 * nptl/sysdeps/i386/pthread_spin_init.c: Moved ...
6663 * sysdeps/i386/nptl/pthread_spin_init.c: ... here.
6664 * sysdeps/x86_64/nptl/pthread_spin_init.c: Update #include target.
6665 * nptl/sysdeps/i386/pthread_spin_lock.S: Moved ...
6666 * sysdeps/i386/nptl/pthread_spin_lock.S: ... here.
6667 * nptl/sysdeps/i386/pthread_spin_unlock.S: Moved ...
6668 * sysdeps/i386/nptl/pthread_spin_unlock.S: ... here.
6669 * nptl/sysdeps/i386/pthreaddef.h: Moved ...
6670 * sysdeps/i386/nptl/pthreaddef.h: ... here.
6671 * nptl/sysdeps/i386/tcb-offsets.sym: Moved ...
6672 * sysdeps/i386/nptl/tcb-offsets.sym: ... here.
6673 * nptl/sysdeps/i386/tls.h: Moved ...
6674 * sysdeps/i386/nptl/tls.h: ... here.
6675
45262aee
RM
6676 * sysdeps/sh/Makefile [$(subdir) = csu]
6677 (gen-as-const-headers): Add tcb-offsets.sym.
6678 * nptl/sysdeps/sh/Makefile: File removed.
6679 * nptl/sysdeps/sh/pthread_spin_init.c: Moved ...
6680 * sysdeps/sh/nptl/pthread_spin_init.c: ... here.
6681 * nptl/sysdeps/sh/pthread_spin_lock.c: Moved ...
6682 * sysdeps/sh/nptl/pthread_spin_lock.c: ... here.
6683 * nptl/sysdeps/sh/pthread_spin_trylock.S: Moved ...
6684 * sysdeps/sh/nptl/pthread_spin_trylock.S: ... here.
6685 * nptl/sysdeps/sh/pthread_spin_unlock.S: Moved ...
6686 * sysdeps/sh/nptl/pthread_spin_unlock.S: ... here.
6687 * nptl/sysdeps/sh/pthreaddef.h: Moved ...
6688 * sysdeps/sh/nptl/pthreaddef.h: ... here.
6689 * nptl/sysdeps/sh/tcb-offsets.sym: Moved ...
6690 * sysdeps/sh/nptl/tcb-offsets.sym: ... here.
6691 * nptl/sysdeps/sh/tls.h: Moved ...
6692 * sysdeps/sh/nptl/tls.h: ... here.
6693 * nptl/sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: Moved ...
6694 * sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: ... here.
6695 * nptl/sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: Moved ...
6696 * sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: ... here.
6697 * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.S: Moved ...
6698 * sysdeps/unix/sysv/linux/sh/lowlevellock.S: ... here.
6699 * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.h: Moved ...
6700 * sysdeps/unix/sysv/linux/sh/lowlevellock.h: ... here.
6701 * nptl/sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: Moved ...
6702 * sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: ... here.
6703 * nptl/sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: Moved ...
6704 * sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: ... here.
6705 * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: Moved ...
6706 * sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: ... here.
6707 * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: Moved ...
6708 * sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: ... here.
6709 * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: Moved ...
6710 * sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: ... here.
6711 * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: Moved ...
6712 * sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: ... here.
6713 * nptl/sysdeps/unix/sysv/linux/sh/pthread_once.S: Moved ...
6714 * sysdeps/unix/sysv/linux/sh/pthread_once.S: ... here.
6715 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: Moved ...
6716 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: ... here.
6717 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S:
6718 Moved ...
6719 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S: ... here.
6720 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S:
6721 Moved ...
6722 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S: ... here.
6723 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: Moved ...
6724 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: ... here.
6725 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: Moved ...
6726 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: ... here.
6727 * nptl/sysdeps/unix/sysv/linux/sh/sem_post.S: Moved ...
6728 * sysdeps/unix/sysv/linux/sh/sem_post.S: ... here.
6729 * nptl/sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Moved ...
6730 * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: ... here.
6731 * nptl/sysdeps/unix/sysv/linux/sh/sem_trywait.S: Moved ...
6732 * sysdeps/unix/sysv/linux/sh/sem_trywait.S: ... here.
6733 * nptl/sysdeps/unix/sysv/linux/sh/sem_wait.S: Moved ...
6734 * sysdeps/unix/sysv/linux/sh/sem_wait.S: ... here.
6735 * nptl/sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: Moved ...
6736 * sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: ... here.
6737 * nptl/sysdeps/unix/sysv/linux/sh/smp.h: Moved ...
6738 * sysdeps/unix/sysv/linux/sh/smp.h: ... here.
6739 * nptl/sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Moved ...
6740 * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: ... here.
6741
35a5e3e3
SL
67422014-06-12 Stefan Liebler <stli@linux.vnet.ibm.com>
6743
6744 * posix/spawn_faction_addopen.c: Include string.h.
6745
14642b85
RM
67462014-06-11 Roland McGrath <roland@hack.frob.com>
6747
6748 * nptl/sysdeps/x86_64/64/shlib-versions: Moved ...
6749 * sysdeps/x86_64/64/nptl/shlib-versions: ... here.
6750 * nptl/sysdeps/x86_64/Makefile: Moved ...
6751 * sysdeps/x86_64/nptl/Makefile: ... here.
6752 * nptl/sysdeps/x86_64/configure: Moved ...
6753 * sysdeps/x86_64/nptl/configure: ... here.
6754 * nptl/sysdeps/x86_64/configure.ac: Moved ...
6755 * sysdeps/x86_64/nptl/configure.ac: ... here.
6756 * nptl/sysdeps/x86_64/pthread_spin_init.c: Moved ...
6757 * sysdeps/x86_64/nptl/pthread_spin_init.c: ... here.
6758 * nptl/sysdeps/x86_64/pthread_spin_lock.S: Moved ...
6759 * sysdeps/x86_64/nptl/pthread_spin_lock.S: ... here.
6760 * nptl/sysdeps/x86_64/pthread_spin_trylock.S: Moved ...
6761 * sysdeps/x86_64/nptl/pthread_spin_trylock.S: ... here.
6762 * nptl/sysdeps/x86_64/pthread_spin_unlock.S: Moved ...
6763 * sysdeps/x86_64/nptl/pthread_spin_unlock.S: ... here.
6764 * nptl/sysdeps/x86_64/pthreaddef.h: Moved ...
6765 * sysdeps/x86_64/nptl/pthreaddef.h: ... here.
6766 * nptl/sysdeps/x86_64/tcb-offsets.sym: Moved ...
6767 * sysdeps/x86_64/nptl/tcb-offsets.sym: ... here.
6768 * nptl/sysdeps/x86_64/tls.h: Moved ...
6769 * sysdeps/x86_64/nptl/tls.h: ... here.
6770 * nptl/sysdeps/x86_64/x32/shlib-versions: Moved ...
6771 * sysdeps/x86_64/x32/nptl/shlib-versions: ... here.
6772 * nptl/sysdeps/x86_64/x32/tls.h: Moved ...
6773 * sysdeps/x86_64/x32/nptl/tls.h: ... here.
6774
6775 * sysdeps/x86_64/x32/nptl/tls.h: Use #include_next.
6776
31c44fea
AZ
67772014-06-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6778
6779 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
6780
e81a4f9a
JM
67812014-06-11 Joseph Myers <joseph@codesourcery.com>
6782
6783 * conform/data/sys/mman.h-data [POSIX] (size_t): Do not require
6784 type.
6785 [POSIX] (off_t): Likewise.
6786 * conform/data/sys/stat.h-data (S_IRGRP): Require constant.
6787 [POSIX] (S_ISBLK): Require macro.
6788 [POSIX] (S_ISCHR): Likewise.
6789 [POSIX] (S_ISDIR): Likewise.
6790 [POSIX] (S_ISFIFO): Likewise.
6791 [POSIX] (S_ISREG): Likewise.
6792 [POSIX || XPG3 || XPG4 || UNIX98] (S_TYPEISTMO): Do not list
6793 optional-macro.
6794 * conform/data/sys/types.h-data [POSIX] (blkcnt_t): Do not require
6795 type.
6796 [POSIX] (time_t): Likewise.
6797 [POSIX] (timer_t): Likewise.
6798
89e435f3
FW
67992014-06-11 Florian Weimer <fweimer@redhat.com>
6800
6801 [BZ #17048]
6802 * posix/spawn_int.h (struct __spawn_action): Make the path string
6803 non-const to support deallocation.
6804 * posix/spawn_faction_addopen.c
6805 (posix_spawn_file_actions_addopen): Make a copy of the pathname.
6806 * posix/spawn_faction_destroy.c
6807 (posix_spawn_file_actions_destroy): Adjust comment. Deallocate
6808 path in all spawn_do_open actions.
6809 * posix/tst-spawn.c (do_test): Exercise the copy operation in
6810 posix_spawn_file_actions_addopen.
6811
c3a2ebe1
CM
68122014-06-11 Chris Metcalf <cmetcalf@tilera.com>
6813
6814 * sysdeps/unix/sysv/linux/tile/pt-vfork.c: New file.
6815 * sysdeps/unix/sysv/linux/tile/pt-vfork.S: Remove file.
6816 * sysdeps/unix/sysv/linux/tile/vfork.S (__vfork): Make PT_VFORK
6817 conditional code always true.
6818 (__libc_vfork): New alias.
6819
9503784a
RM
68202014-06-11 Roland McGrath <roland@hack.frob.com>
6821
c9cab3d2
RM
6822 * sysdeps/tile/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
6823 * sysdeps/unix/sysv/linux/tile/createthread.c: File removed.
6824
d3996c79
RM
6825 * nptl/sysdeps/s390/tls.h (TLS_DEFINE_INIT_TP): New macro.
6826
ba5ec611
RM
6827 * sysdeps/alpha/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
6828 * sysdeps/unix/sysv/linux/alpha/createthread.c: File removed.
6829
f12b4814
RM
6830 * nptl/sysdeps/powerpc/tls.h (TLS_DEFINE_INIT_TP): New macro.
6831 * sysdeps/unix/sysv/linux/powerpc/createthread.c: File removed.
6832
9503784a
RM
6833 * sysdeps/aarch64/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
6834 * sysdeps/unix/sysv/linux/aarch64/nptl/createthread.c: File removed.
6835
e23d3d26
VR
68362014-06-11 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
6837
6838 * sysdeps/powerpc/powerpc64/power7/strcmp.S: New file: Optimization.
6839 * sysdeps/powerpc/powerpc64/multiarch/strcmp.c: New file:
6840 multiarch strcmp for PPC64.
6841 * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: New file.
6842 * sysdeps/powerpc/powerpc64/multiarch/strcmp-power7.S: New file.
6843 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcmp
6844 multiarch optimizations.
6845 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
6846 (__libc_ifunc_impl_list): Likewise.
6847
42b1161e
SP
68482014-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
6849
6850 * benchtests/scripts/validate_benchout.py: New script.
6851 * benchtests/Makefile (bench-func): Call it.
6852 * benchtests/scripts/benchout.schema.json: New file.
6853
2d0fc4dc
CM
68542014-06-10 Chris Metcalf <cmetcalf@tilera.com>
6855
4a594c34
AZ
6856 * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h: Moved ...
6857 * sysdeps/tile/nptl/bits/pthreadtypes.h: ... here.
6858 * sysdeps/unix/sysv/linux/tile/nptl/bits/semaphore.h: Moved ...
6859 * sysdeps/tile/nptl/bits/semaphore.h: ... here.
6860 * sysdeps/unix/sysv/linux/tile/nptl/Makefile: Removed, merged into ...
6861 * sysdeps/unix/sysv/linux/tile/Makefile: ... here.
6862 * sysdeps/unix/sysv/linux/tile/nptl/clone.S: Moved ...
6863 * sysdeps/unix/sysv/linux/tile/clone.S: ... here.
6864 * sysdeps/unix/sysv/linux/tile/nptl/createthread.c: Moved ...
6865 * sysdeps/unix/sysv/linux/tile/createthread.c: ... here.
6866 * sysdeps/unix/sysv/linux/tile/nptl/lowlevellock.h: Moved ...
6867 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: ... here.
6868 * sysdeps/unix/sysv/linux/tile/nptl/pt-vfork.S: Moved ...
6869 * sysdeps/unix/sysv/linux/tile/pt-vfork.S: ... here.
6870 * sysdeps/unix/sysv/linux/tile/nptl/sysdep-cancel.h: Moved ...
6871 * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: ... here.
6872 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/c++-types.data:
2d0fc4dc 6873 Moved ...
4a594c34 6874 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/c++-types.data:
2d0fc4dc 6875 ... here.
4a594c34 6876 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/ld.abilist:
2d0fc4dc 6877 Moved ...
4a594c34
AZ
6878 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/ld.abilist: ... here.
6879 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libBrokenLocale.abilist:
2d0fc4dc 6880 Moved ...
4a594c34 6881 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libBrokenLocale.abilist:
2d0fc4dc 6882 ... here.
4a594c34 6883 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libanl.abilist:
2d0fc4dc 6884 Moved ...
4a594c34 6885 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libanl.abilist:
2d0fc4dc 6886 ... here.
4a594c34 6887 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libc.abilist:
2d0fc4dc 6888 Moved ...
4a594c34
AZ
6889 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: ... here.
6890 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libcrypt.abilist:
2d0fc4dc 6891 Moved ...
4a594c34 6892 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libcrypt.abilist:
2d0fc4dc 6893 ... here.
4a594c34 6894 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libdl.abilist:
2d0fc4dc 6895 Moved ...
4a594c34 6896 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libdl.abilist:
2d0fc4dc 6897 ... here.
4a594c34 6898 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libm.abilist:
2d0fc4dc 6899 Moved ...
4a594c34
AZ
6900 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist: ... here.
6901 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libnsl.abilist:
2d0fc4dc 6902 Moved ...
4a594c34 6903 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libnsl.abilist:
2d0fc4dc 6904 ... here.
4a594c34 6905 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libpthread.abilist:
2d0fc4dc 6906 Moved ...
4a594c34 6907 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libpthread.abilist:
2d0fc4dc 6908 ... here.
4a594c34 6909 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libresolv.abilist:
2d0fc4dc 6910 Moved ...
4a594c34 6911 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libresolv.abilist:
2d0fc4dc 6912 ... here.
4a594c34 6913 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/librt.abilist:
2d0fc4dc 6914 Moved ...
4a594c34
AZ
6915 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/librt.abilist: ... here.
6916 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libthread_db.abilist:
2d0fc4dc 6917 Moved ...
4a594c34 6918 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libthread_db.abilist:
2d0fc4dc 6919 ... here.
4a594c34 6920 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libutil.abilist:
2d0fc4dc 6921 Moved ...
4a594c34 6922 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libutil.abilist:
2d0fc4dc 6923 ... here.
4a594c34 6924 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/c++-types.data:
2d0fc4dc 6925 Moved ...
4a594c34 6926 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/c++-types.data:
2d0fc4dc 6927 ... here.
4a594c34 6928 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/ld.abilist:
2d0fc4dc 6929 Moved ...
4a594c34
AZ
6930 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/ld.abilist: ... here.
6931 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libBrokenLocale.abilist:
2d0fc4dc 6932 Moved ...
4a594c34 6933 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libBrokenLocale.abilist:
2d0fc4dc 6934 ... here.
4a594c34 6935 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libanl.abilist:
2d0fc4dc 6936 Moved ...
4a594c34 6937 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libanl.abilist:
2d0fc4dc 6938 ... here.
4a594c34 6939 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libc.abilist:
2d0fc4dc 6940 Moved ...
4a594c34
AZ
6941 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: ... here.
6942 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libcrypt.abilist:
2d0fc4dc 6943 Moved ...
4a594c34 6944 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libcrypt.abilist:
2d0fc4dc 6945 ... here.
4a594c34 6946 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libdl.abilist:
2d0fc4dc 6947 Moved ...
4a594c34
AZ
6948 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libdl.abilist: ... here.
6949 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libm.abilist:
2d0fc4dc 6950 Moved ...
4a594c34
AZ
6951 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist: ... here.
6952 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libnsl.abilist:
2d0fc4dc 6953 Moved ...
4a594c34 6954 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libnsl.abilist:
2d0fc4dc 6955 ... here.
4a594c34 6956 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libpthread.abilist:
2d0fc4dc 6957 Moved ...
4a594c34 6958 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libpthread.abilist:
2d0fc4dc 6959 ... here.
4a594c34 6960 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libresolv.abilist:
2d0fc4dc 6961 Moved ...
4a594c34 6962 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libresolv.abilist:
2d0fc4dc 6963 ... here.
4a594c34 6964 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/librt.abilist:
2d0fc4dc 6965 Moved ...
4a594c34
AZ
6966 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/librt.abilist: ... here.
6967 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libthread_db.abilist:
2d0fc4dc 6968 Moved ...
4a594c34 6969 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libthread_db.abilist:
2d0fc4dc 6970 ... here.
4a594c34 6971 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libutil.abilist:
2d0fc4dc 6972 Moved ...
4a594c34 6973 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libutil.abilist:
2d0fc4dc 6974 ... here.
4a594c34
AZ
6975 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/c++-types.data: Moved ...
6976 * sysdeps/unix/sysv/linux/tile/tilepro/c++-types.data: ... here.
6977 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/ld.abilist: Moved ...
6978 * sysdeps/unix/sysv/linux/tile/tilepro/ld.abilist: ... here.
6979 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libBrokenLocale.abilist:
2d0fc4dc 6980 Moved ...
4a594c34 6981 * sysdeps/unix/sysv/linux/tile/tilepro/libBrokenLocale.abilist:
2d0fc4dc 6982 ... here.
4a594c34
AZ
6983 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libanl.abilist: Moved ...
6984 * sysdeps/unix/sysv/linux/tile/tilepro/libanl.abilist: ... here.
6985 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libc.abilist: Moved ...
6986 * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: ... here.
6987 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libcrypt.abilist: Moved ...
6988 * sysdeps/unix/sysv/linux/tile/tilepro/libcrypt.abilist: ... here.
6989 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libdl.abilist: Moved ...
6990 * sysdeps/unix/sysv/linux/tile/tilepro/libdl.abilist: ... here.
6991 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libm.abilist: Moved ...
6992 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: ... here.
6993 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libnsl.abilist: Moved ...
6994 * sysdeps/unix/sysv/linux/tile/tilepro/libnsl.abilist: ... here.
6995 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libpthread.abilist:
2d0fc4dc 6996 Moved ...
4a594c34
AZ
6997 * sysdeps/unix/sysv/linux/tile/tilepro/libpthread.abilist: ... here.
6998 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libresolv.abilist:
2d0fc4dc 6999 Moved ...
4a594c34
AZ
7000 * sysdeps/unix/sysv/linux/tile/tilepro/libresolv.abilist: ... here.
7001 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/librt.abilist: Moved ...
7002 * sysdeps/unix/sysv/linux/tile/tilepro/librt.abilist: ... here.
7003 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libthread_db.abilist:
2d0fc4dc 7004 Moved ...
4a594c34
AZ
7005 * sysdeps/unix/sysv/linux/tile/tilepro/libthread_db.abilist: ... here.
7006 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libutil.abilist: Moved ...
7007 * sysdeps/unix/sysv/linux/tile/tilepro/libutil.abilist: ... here.
7008 * sysdeps/unix/sysv/linux/tile/nptl/vfork.S: Moved ...
7009 * sysdeps/unix/sysv/linux/tile/vfork.S: ... here.
7010 * sysdeps/unix/sysv/linux/tile/nptl/waitpid.S: Moved ...
7011 * sysdeps/unix/sysv/linux/tile/waitpid.S: ... here.
2d0fc4dc 7012
0570cfed
W
70132014-06-10 Wilco <wdijkstr@arm.com>
7014
7015 * math/test-fenv-return.c: New file.
7016 * math/Makefile: Add new test test-fenv-return.
7017
f8ba1b56
JM
70182014-06-10 Joseph Myers <joseph@codesourcery.com>
7019
7020 [BZ #17042]
7021 * sysdeps/i386/fpu/e_log2.S (__ieee754_log2): Take absolete value
7022 when x - 1 is zero.
7023 * sysdeps/i386/fpu/e_log2f.S (__ieee754_log2f): Likewise.
7024 * sysdeps/i386/fpu/e_log2l.S (__ieee754_log2l): Likewise.
7025 * sysdeps/ieee754/ldbl-128/e_log2l.c (__ieee754_log2l): Return
7026 0.0L for an argument of 1.0L.
7027 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l):
7028 Likewise.
7029 * sysdeps/x86_64/fpu/e_log2l.S (__ieee754_log2l): Take absolute
7030 value when x - 1 is zero.
7031 * math/libm-test.inc (log2_test): Use ALL_RM_TEST.
7032 * sysdeps/i386/fpu/libm-test-ulps: Update.
7033 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7034
2c3520d9
BO
70352014-06-09 Bernard Ogden <bernie.ogden@linaro.org>
7036
7037 [BZ #15119]
7038 * ports/sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.c: Remove file.
7039
acaa4d24
RM
70402014-06-09 Roland McGrath <roland@hack.frob.com>
7041
7042 * nptl/sysdeps/sh/tls.h (TLS_DEFINE_INIT_TP): New macro.
7043 * nptl/sysdeps/unix/sysv/linux/sh/createthread.c: File removed.
7044
962b744d
RM
70452014-06-09 Roland McGrath <roland@hack.frob.com>
7046
d752f0cc
RM
7047 * sysdeps/m68k/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
7048 * sysdeps/unix/sysv/linux/m68k/nptl/createthread.c: File removed.
7049
34eda6d1
RM
7050 * sysdeps/hppa/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
7051 * sysdeps/unix/sysv/linux/hppa/nptl/createthread.c: File removed.
7052
50f0a637
RM
7053 * sysdeps/mips/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
7054 * sysdeps/unix/sysv/linux/mips/nptl/createthread.c: File removed.
7055
08f41f04
RM
7056 * sysdeps/arm/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
7057 * sysdeps/unix/sysv/linux/arm/createthread.c: File removed.
7058
962b744d
RM
7059 * nptl/sysdeps/pthread/createthread.c (TLS_DEFINE_INIT_TP): New macro,
7060 if not already defined.
7061 (do_clone): Use that in place of PREPARE_CREATE and TLS_VALUE.
7062 * nptl/sysdeps/x86_64/tls.h (TLS_DEFINE_INIT_TP): New macro.
7063 * nptl/sysdeps/i386/tls.h (tls_fill_user_desc): New function.
7064 (TLS_INIT_TP): Use it.
7065 (TLS_DEFINE_INIT_TP): New macro.
7066 * sysdeps/unix/sysv/linux/i386/createthread.c: File removed.
7067
09f19b05
JM
70682014-06-09 Joseph Myers <joseph@codesourcery.com>
7069
7070 * conform/data/termios.h-data [POSIX] (IUCLC): Do not expect
7071 constant.
7072 [POSIX] (IXANY): Likewise.
7073 [POSIX] (OLCUC): Likewise.
7074 [POSIX || POSIX2008] (CBAUD): Do not allow.
7075 [POSIX || POSIX2008] (DEFECHO): Likewise.
7076 [POSIX || POSIX2008] (ECHOCTL): Likewise.
7077 [POSIX || POSIX2008] (ECHOKE): Likewise.
7078 [POSIX || POSIX2008] (ECHOPRT): Likewise.
7079 [POSIX || POSIX2008] (EXTA): Likewise.
7080 [POSIX || POSIX2008] (EXTB): Likewise.
7081 [POSIX || POSIX2008] (FLUSHO): Likewise.
7082 [POSIX || POSIX2008] (LOBLK): Likewise.
7083 [POSIX || POSIX2008] (PENDIN): Likewise.
7084 [POSIX || POSIX2008] (SWTCH): Likewise.
7085 [POSIX || POSIX2008] (VDISCARD): Likewise.
7086 [POSIX || POSIX2008] (VDSUSP): Likewise.
7087 [POSIX || POSIX2008] (VLNEXT): Likewise.
7088 [POSIX || POSIX2008] (VREPRINT): Likewise.
7089 [POSIX || POSIX2008] (VSTATUS): Likewise.
7090 [POSIX || POSIX2008] (VWERASE): Likewise.
7091 (B*): Change to B[0123456789]*.
7092 * conform/data/time.h-data [POSIX || UNIX98]
7093 (CLOCK_PROCESS_CPUTIME_ID): Do not expect constant.
7094 [POSIX || UNIX98] (CLOCK_THREAD_CPUTIME_ID): Likewise.
7095 [POSIX || UNIX98] (CLOCK_MONOTONIC): Likewise.
7096 [POSIX] (tm_*): Do not allow.
7097
686554bf
JM
70982014-06-07 Joseph Myers <joseph@codesourcery.com>
7099
7100 * Makefile (install): Don't set LANGUAGE.
7101 * Makefile.in (install): Likewise.
7102 * assert/Makefile (test-assert-ENV): Remove variable.
7103 (test-assert-perr-ENV): Likewise.
7104 * elf/Makefile (neededtest4-ENV): Likewise.
7105 * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
7106 [$(cross-compiling) = no]: Don't set LANGUAGE.
7107 * io/ftwtest-sh (LANG): Remove variable.
7108 * libio/Makefile (tst-widetext-ENV): Likewise.
7109 * manual/install.texi (Running make install): Don't refer to
7110 environment settings for make install.
7111 * INSTALL: Regenerated.
7112 * nptl/tst-tls6.sh: Don't set LANG.
7113 * posix/globtest.sh (LANG): Remove variable.
7114 * string/Makefile (tester-ENV): Likewise.
7115 (inl-tester-ENV): Likewise.
7116 (noinl-tester-ENV): Likewise.
7117 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
7118 [$(cross-compiling) = no]: Don't set LANGUAGE.
7119 * timezone/Makefile (build-testdata): Use $(built-program-cmd)
7120 without explicit environment settings.
7121
68e6b6b1
RM
71222014-06-06 Roland McGrath <roland@hack.frob.com>
7123
7124 * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h: Moved ...
7125 * sysdeps/sh/nptl/bits/pthreadtypes.h: ... here.
7126 * nptl/sysdeps/unix/sysv/linux/sh/bits/semaphore.h: Moved ...
7127 * sysdeps/sh/nptl/bits/semaphore.h: ... here.
7128
4d3ae034
CM
71292014-06-06 Chris Metcalf <cmetcalf@tilera.com>
7130
7131 * crypt/crypt-private.h [DOS]: Add some includes taken from the
7132 other files in the crypt directory.
7133 * crypt/crypt.c: Remove duplicate includes.
7134 * crypt/crypt-entry.c: Likewise.
7135 * crypt/crypt_util.c: Likewise.
7136
8540f6d2
JM
71372014-06-06 Joseph Myers <joseph@codesourcery.com>
7138
7139 * Makeconfig (run-program-env): New variable.
7140 (run-program-prefix-before-env): Likewise.
7141 (run-program-prefix-after-env): Likewise.
7142 (run-program-prefix): Define in terms of new variables.
7143 (built-program-cmd-before-env): New variable.
7144 (built-program-cmd-after-env): Likewise.
7145 (built-program-cmd): Define in terms of new variables.
7146 (test-program-prefix-before-env): New variable.
7147 (test-program-prefix-after-env): Likewise.
7148 (test-program-prefix): Define in terms of new variables.
7149 (test-program-cmd-before-env): New variable.
7150 (test-program-cmd-after-env): Likewise.
7151 (test-program-cmd): Define in terms of new variables.
7152 * Rules (make-test-out): Use $(run-program-env).
7153 * scripts/cross-test-ssh.sh (env_blacklist): Remove variable.
7154 (help): Do not mention environment variables. Mention
7155 --timeoutfactor option.
7156 (timeoutfactor): New variable.
7157 (blacklist_exports): Remove function.
7158 (exports): Remove variable.
7159 (command): Do not include ${exports}.
7160 * manual/install.texi (Configuring and compiling): Do not mention
7161 test wrappers preserving environment variables. Mention that last
7162 assignment to a variable must take precedence.
7163 * INSTALL: Regenerated.
7164 * benchtests/Makefile (run-bench): Use $(run-program-env).
7165 * catgets/Makefile ($(objpfx)test1.cat): Use
7166 $(built-program-cmd-before-env), $(run-program-env) and
7167 $(built-program-cmd-after-env).
7168 ($(objpfx)test2.cat): Do not specify environment variables
7169 explicitly.
7170 ($(objpfx)de/libc.cat): Use $(built-program-cmd-before-env),
7171 $(run-program-env) and $(built-program-cmd-after-env).
7172 ($(objpfx)test-gencat.out): Use $(test-program-cmd-before-env),
7173 $(run-program-env) and $(test-program-cmd-after-env).
7174 ($(objpfx)sample.SJIS.cat): Do not specify environment variables
7175 explicitly.
7176 * catgets/test-gencat.sh: Use test_program_cmd_before_env,
7177 run_program_env and test_program_cmd_after_env arguments.
7178 * elf/Makefile ($(objpfx)tst-pathopt.out): Use $(run-program-env).
7179 * elf/tst-pathopt.sh: Use run_program_env argument.
7180 * iconvdata/Makefile ($(objpfx)iconv-test.out): Use
7181 $(test-wrapper-env) and $(run-program-env).
7182 * iconvdata/run-iconv-test.sh: Use test_wrapper_env and
7183 run_program_env arguments.
7184 * iconvdata/tst-table.sh: Do not set GCONV_PATH explicitly.
7185 * intl/Makefile ($(objpfx)tst-gettext.out): Use
7186 $(test-program-prefix-before-env), $(run-program-env) and
7187 $(test-program-prefix-after-env).
7188 ($(objpfx)tst-gettext2.out): Likewise.
7189 * intl/tst-gettext.sh: Use test_program_prefix_before_env,
7190 run_program_env and test_program_prefix_after_env arguments.
7191 * intl/tst-gettext2.sh: Likewise.
7192 * intl/tst-gettext4.sh: Do not set environment variables
7193 explicitly.
7194 * intl/tst-gettext6.sh: Likewise.
7195 * intl/tst-translit.sh: Likewise.
7196 * malloc/Makefile ($(objpfx)tst-mtrace.out): Use
7197 $(test-program-prefix-before-env), $(run-program-env) and
7198 $(test-program-prefix-after-env).
7199 * malloc/tst-mtrace.sh: Use test_program_prefix_before_env,
7200 run_program_env and test_program_prefix_after_env arguments.
7201 * math/Makefile (run-regen-ulps): Use $(run-program-env).
7202 * nptl/Makefile ($(objpfx)tst-tls6.out): Use $(run-program-env).
7203 * nptl/tst-tls6.sh: Use run_program_env argument. Set LANG=C
7204 explicitly with each use of ${test_wrapper_env}.
7205 * posix/Makefile ($(objpfx)wordexp-tst.out): Use
7206 $(test-program-prefix-before-env), $(run-program-env) and
7207 $(test-program-prefix-after-env).
7208 * posix/tst-getconf.sh: Do not set environment variables
7209 explicitly.
7210 * posix/wordexp-tst.sh: Use test_program_prefix_before_env,
7211 run_program_env and test_program_prefix_after_env arguments.
7212 * stdio-common/tst-printf.sh: Do not set environment variables
7213 explicitly.
7214 * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Use
7215 $(test-program-prefix-before-env), $(run-program-env) and
7216 $(test-program-prefix-after-env).
7217 * stdlib/tst-fmtmsg.sh: Use test_program_prefix_before_env,
7218 run_program_env and test_program_prefix_after_env arguments.
7219 Split $test calls into $test_pre and $test.
7220 * timezone/Makefile (build-testdata): Use
7221 $(built-program-cmd-before-env), $(run-program-env) and
7222 $(built-program-cmd-after-env).
7223
ed36bfa1
AZ
72242014-06-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7225
7226 * sysdeps/powerpc/powerpc64/power7/strncat.S [STRLEN]: Define it as
7227 strlen for non SHARED builds.
7228
fc75bf46
SP
72292014-06-05 Siddhesh Poyarekar <siddhesh@redhat.com>
7230
7231 * nptl/allocatestack.c (check_list): Inlined function...
7232 (__reclaim_stacks): ... here.
7233
d89b3d80
OB
72342014-06-05 Ondřej Bílka <neleai@seznam.cz>
7235
7236 [BZ #15698]
7237 * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Fix
7238 memory overrun.
7239
2bf18041
JM
72402014-06-05 Joseph Myers <joseph@codesourcery.com>
7241
7242 * Rules (make-test-out): Include
7243 LOCPATH=$(common-objpfx)localedata in default environment.
7244 * debug/Makefile (tst-chk1-ENV): Remove variable.
7245 (tst-chk2-ENV): Likewise.
7246 (tst-chk3-ENV): Likewise.
7247 (tst-chk4-ENV): Likewise.
7248 (tst-chk5-ENV): Likewise.
7249 (tst-chk6-ENV): Likewise.
7250 (tst-lfschk1-ENV): Likewise.
7251 (tst-lfschk2-ENV): Likewise.
7252 (tst-lfschk3-ENV): Likewise.
7253 (tst-lfschk4-ENV): Likewise.
7254 (tst-lfschk5-ENV): Likewise.
7255 (tst-lfschk6-ENV): Likewise.
7256 * iconvdata/Makefile (bug-iconv6-ENV): Likewise.
7257 (tst-iconv7-ENV): Likewise.
7258 * intl/Makefile (LOCPATH-ENV): Likewise.
7259 (tst-codeset-ENV): Likewise.
7260 (tst-gettext3-ENV): Likewise.
7261 (tst-gettext5-ENV): Likewise.
7262 * libio/Makefile (tst-widetext-ENV): Don't set LOCPATH.
7263 (tst-fopenloc-ENV): Likewise.
7264 (tst-fgetws-ENV): Remove variable.
7265 (tst-ungetwc1-ENV): Likewise.
7266 (tst-ungetwc2-ENV): Likewise.
7267 (bug-ungetwc2-ENV): Likewise.
7268 (tst-swscanf-ENV): Likewise.
7269 (bug-ftell-ENV): Likewise.
7270 (tst-fgetwc-ENV): Likewise.
7271 (tst-fseek-ENV): Likewise.
7272 (tst-ftell-partial-wide-ENV): Likewise.
7273 (tst-ftell-active-handler-ENV): Likewise.
7274 (tst-ftell-append-ENV): Likewise.
7275 * posix/Makefile (tst-fnmatch-ENV): Likewise.
7276 (tst-regexloc-ENV): Likewise.
7277 (bug-regex1-ENV): Likewise.
7278 (tst-regex-ENV): Likewise.
7279 (tst-regex2-ENV): Likewise.
7280 (bug-regex5-ENV): Likewise.
7281 (bug-regex6-ENV): Likewise.
7282 (bug-regex17-ENV): Likewise.
7283 (bug-regex18-ENV): Likewise.
7284 (bug-regex19-ENV): Likewise.
7285 (bug-regex20-ENV): Likewise.
7286 (bug-regex22-ENV): Likewise.
7287 (bug-regex23-ENV): Likewise.
7288 (bug-regex25-ENV): Likewise.
7289 (bug-regex26-ENV): Likewise.
7290 (bug-regex30-ENV): Likewise.
7291 (bug-regex32-ENV): Likewise.
7292 (bug-regex33-ENV): Likewise.
7293 (bug-regex34-ENV): Likewise.
7294 (bug-regex35-ENV): Likewise.
7295 (tst-rxspencer-ENV): Likewise.
7296 (tst-rxspencer-no-utf8-ENV): Likewise.
7297 * stdio-common/Makefile (tst-sprintf-ENV): Likewise.
7298 (tst-sscanf-ENV): Likewise.
7299 (tst-swprintf-ENV): Likewise.
7300 (tst-swscanf-ENV): Likewise.
7301 (test-vfprintf-ENV): Likewise.
7302 (scanf13-ENV): Likewise.
7303 (bug14-ENV): Likewise.
7304 (tst-grouping-ENV): Likewise.
7305 * stdlib/Makefile (tst-strtod-ENV): Likewise.
7306 (tst-strtod3-ENV): Likewise.
7307 (tst-strtod4-ENV): Likewise.
7308 (tst-strtod5-ENV): Likewise.
7309 (testmb2-ENV): Likewise./
7310 * string/Makefile (tst-strxfrm-ENV): Likewise.
7311 (tst-strxfrm2-ENV): Likewise.
7312 (bug-strcoll1-ENV): Likewise.
7313 (test-strcasecmp-ENV): Likewise.
7314 (test-strncasecmp-ENV): Likewise.
7315 * time/Makefile (tst-strptime-ENV): Likewise.
7316 (tst-ftime_l-ENV): Likewise.
7317 * wcsmbs/Makefile (tst-btowc-ENV): Likewise.
7318 (tst-mbrtowc-ENV): Likewise.
7319 (tst-wcrtomb-ENV): Likewise.
7320 (tst-mbrtowc2-ENV): Likewise.
7321 (tst-c16c32-1-ENV): Likewise.
7322 (tst-mbsnrtowcs-ENV): Likewise.
7323
cd1fb604
OB
73242014-06-05 Ondřej Bílka <neleai@seznam.cz>
7325
7326 * manual/resource.texi (How to get information about the memory
7327 subsystem?): Fix typo.
7328 Reported by Peon de la Parra Ivan <peon@keba.com>
7329
b42eca7d
GY
73302014-06-03 Guo Yixuan <culu.gyx@gmail.com>
7331
7332 [BZ #16882]
7333 * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S
7334 (pthread_spin_lock): Branch out of spin loop to proper location.
7335 * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S
7336 (pthread_spin_lock): Likewise.
7337
902b71f9
DM
7338 * nptl/tst-spin4.c: New test.
7339 * nptl/Makefile (tests): Add tst-spin4.
7340
f9d2d032
AS
73412014-06-03 Andreas Schwab <schwab@suse.de>
7342
7343 [BZ #15946]
7344 * resolv/res_send.c (send_dg): Reload file descriptor after
7345 calling reopen.
7346
cf7bfd28
SL
73472014-06-03 Stefan Liebler <stli@linux.vnet.ibm.com>
7348
7349 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
7350
111cc714
RH
73512014-06-03 Richard Henderson <rth@redhat.com>
7352
89b4bd6b
RH
7353 * sysdeps/unix/sysv/linux/aarch64/pt-vfork.c: New file.
7354 * sysdeps/unix/sysv/linux/aarch64/nptl/pt-vfork.S: Remove file.
7355 * sysdeps/unix/sysv/linux/aarch64/vfork.S (__vfork): Incorporate
7356 SAVE_PID and RESTORE_PID blocks from pt-vfork.S. Map 0 to INT_MIN
7357 in the SAVE_PID block.
7358 (__libc_vfork): New alias.
71840409 7359 * sysdeps/unix/sysv/linux/aarch64/nptl/vfork.S: Remove file.
89b4bd6b 7360
111cc714
RH
7361 * sysdeps/unix/sysv/linux/aarch64/clone.S (__clone): Save args for
7362 child in registers, not on the stack. Remove RESET_PID conditionals.
7363 * sysdeps/unix/sysv/linux/aarch64/nptl/clone.S: Remove file.
7364
ccc39911
MS
73652014-06-03 Marcus Shawcroft <marcus.shawcroft@arm.com>
7366
7367 * sysdeps/aarch64/libm-test-ulps: Regenerate.
7368
693096cc
W
73692014-06-03 Wilco <wdijkstr@arm.com>
7370
7371 * sysdeps/aarch64/fpu/math_private.h (libc_fesetround_aarch64)
7372 (libc_feholdexcept_setround_aarch64) (libc_feholdsetround_aarch64)
7373 (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
7374 Use _FPU_FPCR_RM_MASK for rounding mask rather than FE_TOWARDZERO.
7375 * sysdeps/aarch64/fpu/get-rounding-mode.h (get_rounding_mode):
7376 Likewise.
7377
0b4366bc
W
73782014-06-03 Wilco <wdijkstr@arm.com>
7379
7380 * sysdeps/aarch64/fpu/math_private.h
7381 (libc_feholdexcept_aarch64) (libc_feholdexcept_setround_aarch64)
7382 (libc_fetestexcept_aarch64) (libc_fesetenv_aarch64)
7383 (libc_feupdateenv_test_aarch64) (libc_feholdsetround_aarch64)
7384 (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
7385 Fix declarations.
7386
8747cd03
KS
73872014-06-03 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
7388
7389 * crypt/crypt-private.h: Include ufc-crypt.h.
7390 (__b64_from_24bit): Declare extern.
7391 * crypt/crypt_util.c(__b64_from_24bit): New function.
7392 (b64t): New static const variable.
7393 * crypt/md5-crypt.c (b64_from_24bit): Remove function.
7394 (b64t): Remove variable.
7395 (__md5_crypt_r): Replace b64_from_24bit with __b64_from_24bit.
7396 * crypt/sha256-crypt.c: Include crypt-private.h.
7397 (b64t): Remove variable.
7398 (__sha256_crypt_r): Remove b64_from_24bit and replace
7399 with __b64_from_24bit.
7400 * crypt/sha512-crypt.c: Likewise.
7401
d936d379
RM
74022014-06-02 Roland McGrath <roland@hack.frob.com>
7403
7404 * nptl/sysdeps/unix/sysv/linux/sh/vfork.S: Moved ...
7405 * sysdeps/unix/sysv/linux/sh/vfork.S: ... here.
7406 Label the code __libc_vfork rather than __vfork.
7407 [!NOT_IN_libc] (vfork): Define as weak alias.
7408 [!NOT_IN_libc] (__vfork): Define as strong alias, and libc_hidden_def.
7409 * sysdeps/unix/sysv/linux/sh/pt-vfork.S: New file.
7410 * nptl/sysdeps/unix/sysv/linux/sh/pt-vfork.S: File removed.
7411
9fa76613
SP
74122014-06-02 Siddhesh Poyarekar <siddhesh@redhat.com>
7413
7414 * malloc/malloc.c (malloc_info): Fix format specifier for
7415 n_mmaps.
7416
a88dadbe
W
74172014-06-02 Wilco <wdijkstr@arm.com>
7418
7419 * sysdeps/aarch64/fpu/fpu_control.h (_FPU_SETCW): Remove ISB after
7420 FPCR write.
7421
c95b3011
W
74222014-06-02 Wilco <wdijkstr@arm.com>
7423
7424 [BZ #17009]
7425 * sysdeps/aarch64/fpu/feupdateenv (feupdateenv):
7426 Rewrite to reduce FPCR/FPSR accesses.
7427
6b4d7a90
DM
74282014-06-01 David S. Miller <davem@davemloft.net>
7429
7430 * sysdeps/sparc/fpu/libm-test-ulps: Update.
7431
30f3d07c
DM
74322014-05-31 David S. Miller <davem@davemloft.net>
7433
7434 * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Force computations
7435 to occur in round to nearest mode when |x| >= 2.0
7436
74f31c18
RH
74372014-05-30 Richard Henderson <rth@twiddle.net>
7438
f0712b54
RH
7439 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Remove.
7440 (PSEUDO_RET_NOERRNO): Remove.
7441 (ret): Don't redefine.
7442 (ret_NOERRNO): Define in terms of ret.
7443 (ret_ERRVAL): Likewise.
7444
74f31c18
RH
7445 * sysdeps/unix/sysv/linux/aarch64/ioctl.S (__ioctl): Remove the
7446 use of PSEUDO_RET; perform the error check directly.
7447
30477995
MM
74482014-05-30 Marko Myllynen <myllynen@redhat.com>
7449
7450 * sysdeps/x86_64/link-defines.sym (BND_SIZE): Replace __int128
7451 with __int128_t.
7452
62a58816
SP
74532014-05-30 Siddhesh Poyarekar <siddhesh@redhat.com>
7454
7455 * malloc/malloc (malloc_info): Fix formatting.
7456
4d653a59
SP
74572014-05-30 Siddhesh Poyarekar <siddhesh@redhat.com>
7458 Roland McGrath <roland@hack.frob.com>
7459
7460 * malloc/malloc (malloc_info): Also print mmapped statistics.
7461
5190c17f
RM
74622014-05-30 Roland McGrath <roland@hack.frob.com>
7463
7464 * sysdeps/unix/sysv/linux/m68k/arch-fork.h: New file.
7465 * sysdeps/unix/sysv/linux/m68k/nptl/fork.c: File removed.
7466
987c0269
OB
74672014-05-30 Ondřej Bílka <neleai@seznam.cz>
7468
7469 * malloc/malloc.c (malloc_info): Inline mi_arena.
7470
af4e8ef9
RH
74712014-05-29 Richard Henderson <rth@twiddle.net>
7472
1670e207
RH
7473 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (INTERNAL_VSYSCALL_NCS):
7474 Remove comma before expanding ASM_ARGS_##nr.
7475 (INTERNAL_SYSCALL_RAW): Make _sys_result signed, instead of casting.
7476 Make _x0 a strict output; make _x8 a strict input; adjust expansion
7477 of ASM_ARGS_##nr.
7478 (CLOBBER_ARGS_0, CLOBBER_ARGS_1, CLOBBER_ARGS_2): Remove.
7479 (CLOBBER_ARGS_3, CLOBBER_ARGS_4, CLOBBER_ARGS_5): Remove.
7480 (CLOBBER_ARGS_6, CLOBBER_ARGS_7): Remove.
7481 (ASM_ARGS_1): Add leading comma.
7482
11a28aee
RH
7483 * sysdeps/unix/sysv/linux/aarch64/sysdep.h [NOT_IN_libc]
7484 (SYSCALL_ERROR_HANDLER): Use tpidr_el0 instead of a call
7485 to __errno_location.
7486 * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data (libpthread.so):
7487 Remove the expected plt for __errno_location.
7488
a17e5ffb 7489 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
11a28aee 7490 [NOT_IN_libc] (SINGLE_THREAD_P): Use tpidr_el0 instead of a
a17e5ffb
RH
7491 call to __read_tp.
7492
b5be4597
RH
7493 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
7494 Always allocate 64 bytes of stack frame. Use ldp/stp to create
7495 it and break it down.
7496 (DOCARGS_0, DOCARGS_1): Do nothing.
7497 (DOCARGS_2): Update to store into the new stack frame.
7498 (DOCARGS_3, DOCARGS_4, DOCARGS_5, DOCARGS_6): Likewise.
7499 (UNDOCARGS_1): Update to restore from the new stack frame.
7500 (UNDOCARGS_2, UNDOCARGS_3, UNDOCARGS_4): Likewise.
7501 (UNDOCARGS_5, UNDOCARGS_6): Likewise.
7502
645d44ab
RH
7503 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
7504 (SINGLE_THREAD_P): New parameter for result regno.
7505 (PSEUDO): Update to match; use cbz instead of beq.
7506
a8b4f04a
RH
7507 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
7508 Use ENTRY to define the _nocancel entry point. Share the syscall
7509 and syscall error check paths with the cancel path.
7510 (PSEUDO_END): New.
7511
af4e8ef9
RH
7512 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Adjust
7513 whitespace; tabs before and after asm mnemonics.
7514
26b0d2e1
EW
75152014-05-29 Eric Wong <normalperson@yhbt.net>
7516
7517 [BZ #15132]
7518 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
7519 Call fstat64 or stat64 internally, depending on arguments passed.
7520 Replace stat buffer argument with file descriptor argument.
7521 (INTERNAL_STATVFS): Update arguments to match __statvfs_getflags.
7522 * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
7523 Pass fd to __internal_statvfs instead of calling fstat64.
7524 * sysdeps/unix/sysv/linux/fstatvfs64.c (__fstatvfs64):
7525 Pass fd to __internal_statvfs64 instead of calling fstat64.
7526 * sysdeps/unix/sysv/linux/statvfs.c (statvfs):
7527 Pass -1 to __internal_statvfs instead of calling stat64.
7528 * sysdeps/unix/sysv/linux/statvfs64.c (__statvfs64):
7529 Pass -1 to __internal_statvfs64 instead of calling stat64.
7530
1efe2bd9
RM
75312014-05-28 Roland McGrath <roland@hack.frob.com>
7532
0d3b7a19
RM
7533 * sysdeps/unix/sysv/linux/sh/clone.S: Deconditionalize the code
7534 that was previously under [RESET_PID].
7535 * nptl/sysdeps/unix/sysv/linux/sh/clone.S: File removed.
7536
1efe2bd9
RM
7537 * sysdeps/unix/sysv/linux/tile/arch-fork.h: New file.
7538 * sysdeps/unix/sysv/linux/tile/nptl/fork.c: File removed.
7539
a6bea3ca
RM
75402014-05-27 Roland McGrath <roland@hack.frob.com>
7541
30b6629e
RM
7542 * sysdeps/unix/sysv/linux/ia64/arch-fork.h: New file.
7543
a6bea3ca
RM
7544 * sysdeps/unix/sysv/linux/sh/arch-fork.h: New file.
7545 * nptl/sysdeps/unix/sysv/linux/sh/fork.c: File removed.
7546
3dfb9a5c
OB
75472014-05-27 Ondřej Bílka <neleai@seznam.cz>
7548
7549 * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate code.
7550
774f9285
AS
75512014-05-27 Andreas Schwab <schwab@suse.de>
7552
7553 * csu/libc-tls.c (__libc_setup_tls): Remove second argument from
7554 TLS_INIT_TP macro.
7555 * elf/dl-load.c (_dl_map_object_from_fd): Likewise.
7556 * elf/rtld.c (init_tls, dl_main): Likewise.
7557 * nptl/sysdeps/i386/tls.h (TLS_INIT_TP): Likewise.
7558 * nptl/sysdeps/powerpc/tls.h (TLS_INIT_TP): Likewise.
7559 * nptl/sysdeps/s390/tls.h (TLS_INIT_TP): Likewise.
7560 * nptl/sysdeps/sh/tls.h (TLS_INIT_TP): Likewise.
7561 * nptl/sysdeps/sparc/tls.h (TLS_INIT_TP): Likewise.
7562 * nptl/sysdeps/x86_64/tls.h (TLS_INIT_TP): Likewise.
7563 * sysdeps/aarch64/nptl/tls.h (TLS_INIT_TP): Likewise.
7564 * sysdeps/alpha/nptl/tls.h (TLS_INIT_TP): Likewise.
7565 * sysdeps/arm/nptl/tls.h (TLS_INIT_TP): Likewise.
7566 * sysdeps/hppa/nptl/tls.h (TLS_INIT_TP): Likewise.
7567 * sysdeps/ia64/nptl/tls.h (TLS_INIT_TP): Likewise.
7568 * sysdeps/m68k/nptl/tls.h (TLS_INIT_TP): Likewise.
7569 * sysdeps/mach/hurd/i386/tls.h (_hurd_tls_init): Likewise.
7570 * sysdeps/microblaze/nptl/tls.h (TLS_INIT_TP): Likewise.
7571 * sysdeps/mips/nptl/tls.h (TLS_INIT_TP): Likewise.
7572 * sysdeps/tile/nptl/tls.h (TLS_INIT_TP): Likewise.
7573 * sysdeps/generic/tls.h: Update description.
7574
36ffe739
WN
75752014-05-27 Will Newton <will.newton@linaro.org>
7576
7577 [BZ #16990]
7578 * sysdeps/arm/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Save
7579 and restore r2 rather than just restoring.
7580
2482ae43
SP
75812014-05-27 Siddhesh Poyarekar <siddhesh@redhat.com>
7582
7583 [BZ #16724]
7584 * libio/tst-ftell-append.c: New test case.
7585 * libio/Makefile (tests): Add test case.
7586 * libio/fileops.c (do_ftell): Don't trust _IO_read_end when in
7587 append mode.
7588 * libio/wfileops.c (do_ftell_wide): Likewise.
7589
3d1024e8
AZ
75902014-05-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7591
bab90016
AZ
7592 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
7593
c7a8d667
AZ
7594 * nptl/sysdeps/unix/sysv/linux/powerpc/Versions: Remove, merge into
7595 ...
7596 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions: ... here.
7597 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
7598 * nptl/sysdeps/unix/sysv/linux/powerpc/Makefile: Moved rules to ...
7599 * sysdeps/unix/sysv/linux/powerpc/Makefile: ... here.
7600 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: Moved ...
7601 * sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: ... here.
7602 * nptl/sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Moved ...
7603 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: ...here.
7604 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h:
7605 Moved ...
7606 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: ... here.
7607 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h:
7608 Moved ...
7609 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: ... here.
7610 * nptl/sysdeps/unix/sysv/linux/powerpc/createthread.c: Moved ...
7611 * sysdeps/unix/sysv/linux/powerpc/createthread.c: ... here.
7612 * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Moved ...
7613 * sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: ... here.
7614 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: Moved
7615 ...
7616 * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: ... here.
7617 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c:
7618 Moved ...
7619 * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c: ...
7620 here.
7621 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: Moved
7622 ...
7623 * sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: ... here.
7624 * nptl/sysdeps/unix/sysv/linux/powerpc/sem_post.c: Moved ...
7625 * sysdeps/unix/sysv/linux/powerpc/sem_post.c: ... here.
7626
daee7851
AZ
7627 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Moved ...
7628 * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: ... here.
7629 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: Moved ...
7630 * sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: ... here.
7631
50a40819
AZ
7632 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Remove,
7633 merge into ...
7634 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: ... here.
7635 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: Moved
7636 ...
7637 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: ... here.
7638 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: Moved
7639 ...
7640 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: ... here.
7641 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
7642 Moved ...
7643 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c: ...
7644 here.
7645 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
7646 Moved ...
7647 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c: ... here.
7648 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
7649 Moved ...
7650 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c: ... here.
7651
8464c2a1
AZ
7652 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Remove
7653 conditional [RESET_PID].
7654 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Likewise.
7655 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: File
7656 removed.
7657 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: File
7658 removed.
7659
3d1024e8
AZ
7660 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Include
7661 <tcb-offsets.h>.
7662 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
7663 (__libc_vfork): New strong alias.
7664 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/pt-vfork.S: File
7665 removed.
7666 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: File
7667 Removed.
7668
7669 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Include
7670 <tcb-offsets.h>.
7671 (__vfork): Incorporate save/retore of PID from nptl/vfork.S here.
7672 (__libc_vfork): New strong alias.
7673 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/pt-vfork.S: File
7674 removed.
7675 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: File
7676 removed.
7677
fdfd175d
CD
76782014-05-26 Carlos O'Donell <carlos@redhat.com>
7679
7680 * malloc/malloc.c (mi_arena): New function.
7681 (malloc_info): Remove nested function mi_arena. Call non-nosted
7682 function mi_arena.
7683
d298c416
AZ
76842014-05-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7685
7686 * sysdeps/powerpc/powerpc32/power4/memset.S (memset): Replace insrdi
7687 by insrwi.
7688 * sysdeps/powerpc/powerpc32/power6/memset.S (memset): Likewise.
7689 * sysdeps/powerpc/powerpc32/power7/memset.S (memset): Likewise.
7690 * sysdeps/powerpc/powerpc32/power7/memchr.S (memchr): Likewise.
7691 * sysdeps/powerpc/powerpc32/power7/memrchr.S (memrchr): Likewise.
7692 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S (rawmemchr): Likewise.
7693 * sysdeps/powerpc/powerpc32/power7/strchr.S (strchr): Likewise.
7694 * sysdeps/powerpc/powerpc32/power7/strchrnul.S (strchrnul): Likewise.
7695
b60ea6ff
AS
76962014-05-26 Andreas Schwab <schwab@suse.de>
7697
7698 [BZ #16984]
7699 * locale/programs/repertoire.c (repertoire_read): Add slash
7700 between I18NPATH element and file name.
7701 * locale/programs/locfile.c (locfile_read): Likewise.
7702
67365926
SL
77032014-05-26 Stefan Liebler <stli@linux.vnet.ibm.com>
7704
7705 * nptl/pthread_mutexattr_settype.c
7706 (__pthread_mutexattr_settype):
7707 Disable lock elision for PTHREAD_MUTEX_NORMAL.
7708
f8bdf1f0
SL
77092014-05-26 Stefan Liebler <stli@linux.vnet.ibm.com>
7710
7711 * nptl/tst-mutex5 (do_test):
7712 Use #ifndef ENABLE_LOCK_ELISION instead of #ifdef.
7713
15eaf6ff
SP
77142014-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
7715
7716 * benchtests/README: Document 'init' directive.
7717 * benchtests/bench-skeleton.c (main) [BENCH_INIT]: Call
7718 BENCH_INIT.
7719 * scripts/bench.py (gen_source): Define BENCH_INIT macro.
7720 (parse_file): Recognize 'init' directive.
7721
75f11331
KM
77222014-05-26 Kyle McMartin <kyle@redhat.com>
7723
7724 [BZ #16796]
7725 * sysdeps/aarch64/nptl/tls.h: increase TCB alignment to the
7726 alignment of struct pthread.
7727
c3ec475c
SP
77282014-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
7729
7730 [BZ #16878]
7731 * nscd/netgroupcache.c (addgetnetgrentX): Look for
7732 NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
7733 * nscd/nss_files/files-netgrp.c (_nss_netgroup_parseline): Use
7734 NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
7735
82aab97c
RH
77362014-05-25 Richard Henderson <rth@twiddle.net>
7737
aa2f176d
RH
7738 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
7739 (SINGLE_THREAD_P_PIC): Remove.
7740 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h
7741 (SINGLE_THREAD_P_PIC): Remove.
7742
ca3cfa40
RH
7743 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Move
7744 branch to syscall error ...
7745 (PSEUDO): ... here.
7746 [NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Rename the label
7747 from __local_syscall_error to .Lsyscall_error.
7748 [!NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Branch to __syscall_error.
7749 (SYSCALL_ERROR): Update label name.
7750
6e6c2d01
RH
7751 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
7752 Do not use DOARGS/UNDOARGS.
7753 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Likewise.
7754 (DOARGS_0, DOARGS_1, DOARGS_2, DOARGS_3): Remove.
7755 (DOARGS_4, DOARGS_5, DOARGS_6, DOARGS_7): Remove.
7756 (UNDOARGS_0, UNDOARGS_1, UNDOARGS_2, UNDOARGS_3): Remove.
7757 (UNDOARGS_4, UNDOARGS_5, UNDOARGS_6, UNDOARGS_7): Remove.
7758
c69abcee
RH
7759 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Fix
7760 block comment.
7761
82aab97c
RH
7762 * sysdeps/unix/sysv/linux/alpha/vfork.S (vfork, __vfork): Only
7763 define if !NOT_IN_libc.
7764 * sysdeps/unix/sysv/linux/alpha/pt-vfork.S (vfork, __vfork): Only
7765 define with non-default symbol versions.
7766
8820e3ac
RH
77672014-05-23 Richard Henderson <rth@twiddle.net>
7768
900e445f
RH
7769 * nptl/pt-vfork.c (vfork_resolve): Rename from vfork_ifunc.
7770 (vfork, __vfork): Define via compat_symbol.
7771
8820e3ac
RH
7772 * nptl/pt-vfork.c: Error if !HAVE_IFUNC.
7773 [!HAVE_IFUNC] (vfork_compat): Remove.
7774 [!HAVE_IFUNC] (DEFINE_VFORK): Remove.
7775
e59252a5
JM
77762014-05-23 Joseph Myers <joseph@codesourcery.com>
7777
7778 [BZ #16978]
7779 * posix/tar.h [!__USE_XOPEN2K] (TSVTX): Define macro.
7780 * conform/Makefile (test-xfail-POSIX/tar.h/conform): Remove
7781 variable.
7782
132c7f5f
RH
77832014-05-23 Richard Henderson <rth@twiddle.net>
7784
bc89e962
RH
7785 * sysdeps/unix/sysv/linux/alpha/nptl/Makefile: Merge into...
7786 * sysdeps/unix/sysv/linux/alpha/Makefile: ... here.
7787 * sysdeps/unix/sysv/linux/alpha/nptl/Versions: Merge into...
7788 * sysdeps/unix/sysv/linux/alpha/Versions: ... here.
7789
7790 * sysdeps/unix/sysv/linux/alpha/nptl/aio_cancel.c: Moved ...
7791 * sysdeps/unix/sysv/linux/alpha/aio_cancel.c: ... here.
7792 * sysdeps/unix/sysv/linux/alpha/nptl/bits/local_lim.h: Moved ...
7793 * sysdeps/unix/sysv/linux/alpha/bits/local_lim.h: ... here.
7794 * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h: Moved ...
7795 * sysdeps/unix/sysv/linux/alpha/bits/pthreadtypes.h: ... here.
7796 * sysdeps/unix/sysv/linux/alpha/nptl/bits/semaphore.h: Moved ...
7797 * sysdeps/unix/sysv/linux/alpha/bits/semaphore.h: ... here.
7798 * sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data: Moved ...
7799 * sysdeps/unix/sysv/linux/alpha/c++-types.data: ... here.
7800 * sysdeps/unix/sysv/linux/alpha/nptl/createthread.c: Moved ...
7801 * sysdeps/unix/sysv/linux/alpha/createthread.c: ... here.
7802 * sysdeps/unix/sysv/linux/alpha/nptl/ld.abilist: Moved ...
7803 * sysdeps/unix/sysv/linux/alpha/ld.abilist: ... here.
7804 * sysdeps/unix/sysv/linux/alpha/nptl/libBrokenLocale.abilist: Moved ...
7805 * sysdeps/unix/sysv/linux/alpha/libBrokenLocale.abilist: ... here.
7806 * sysdeps/unix/sysv/linux/alpha/nptl/libanl.abilist: Moved ...
7807 * sysdeps/unix/sysv/linux/alpha/libanl.abilist: ... here.
7808 * sysdeps/unix/sysv/linux/alpha/nptl/libc.abilist: Moved ...
7809 * sysdeps/unix/sysv/linux/alpha/libc.abilist: ... here.
7810 * sysdeps/unix/sysv/linux/alpha/nptl/libcrypt.abilist: Moved ...
7811 * sysdeps/unix/sysv/linux/alpha/libcrypt.abilist: ... here.
7812 * sysdeps/unix/sysv/linux/alpha/nptl/libdl.abilist: Moved ...
7813 * sysdeps/unix/sysv/linux/alpha/libdl.abilist: ... here.
7814 * sysdeps/unix/sysv/linux/alpha/nptl/libm.abilist: Moved ...
7815 * sysdeps/unix/sysv/linux/alpha/libm.abilist: ... here.
7816 * sysdeps/unix/sysv/linux/alpha/nptl/libnsl.abilist: Moved ...
7817 * sysdeps/unix/sysv/linux/alpha/libnsl.abilist: ... here.
7818 * sysdeps/unix/sysv/linux/alpha/nptl/libpthread.abilist: Moved ...
7819 * sysdeps/unix/sysv/linux/alpha/libpthread.abilist: ... here.
7820 * sysdeps/unix/sysv/linux/alpha/nptl/libresolv.abilist: Moved ...
7821 * sysdeps/unix/sysv/linux/alpha/libresolv.abilist: ... here.
7822 * sysdeps/unix/sysv/linux/alpha/nptl/librt.abilist: Moved ...
7823 * sysdeps/unix/sysv/linux/alpha/librt.abilist: ... here.
7824 * sysdeps/unix/sysv/linux/alpha/nptl/libthread_db.abilist: Moved ...
7825 * sysdeps/unix/sysv/linux/alpha/libthread_db.abilist: ... here.
7826 * sysdeps/unix/sysv/linux/alpha/nptl/libutil.abilist: Moved ...
7827 * sysdeps/unix/sysv/linux/alpha/libutil.abilist: ... here.
7828 * sysdeps/unix/sysv/linux/alpha/nptl/localplt.data: Moved ...
7829 * sysdeps/unix/sysv/linux/alpha/localplt.data: ... here.
7830 * sysdeps/unix/sysv/linux/alpha/nptl/lowlevellock.h: Moved ...
7831 * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: ... here.
7832 * sysdeps/unix/sysv/linux/alpha/nptl/sem_post.c: Moved ...
7833 * sysdeps/unix/sysv/linux/alpha/sem_post.c: ... here.
7834 * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h: Moved ...
7835 * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: ... here.
7836 * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Moved ...
7837 * sysdeps/unix/sysv/linux/alpha/timer_create.c: ... here.
7838 * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Moved ...
7839 * sysdeps/unix/sysv/linux/alpha/timer_delete.c: ... here.
7840 * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Moved ...
7841 * sysdeps/unix/sysv/linux/alpha/timer_getoverr.c: ... here.
7842 * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Moved ...
7843 * sysdeps/unix/sysv/linux/alpha/timer_gettime.c: ... here.
7844 * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Moved ...
7845 * sysdeps/unix/sysv/linux/alpha/timer_settime.c: ... here.
7846
e2fa4bc2
RH
7847 * sysdeps/unix/sysv/linux/alpha/syscalls.list: Remove vfork.
7848 * sysdeps/unix/sysv/linux/alpha/nptl/vfork.S: Move file ...
7849 * sysdeps/unix/sysv/linux/alpha/vfork.S: ... here. Restore PID
7850 before exiting on error.
7851 (__libc_vfork): New strong alias.
7852 * sysdeps/unix/sysv/linux/alpha/nptl/pt-vfork.S: Remove file.
7853 * sysdeps/unix/sysv/linux/alpha/pt-vfork.S: New file.
7854
279b24e2
RH
7855 * sysdeps/unix/sysv/linux/alpha/clone.S: Deconditionalize the code
7856 that was previously under [RESET_PID].
7857 * sysdeps/unix/sysv/linux/alpha/nptl/clone.S: File removed.
7858
132c7f5f
RH
7859 * sysdeps/unix/sysv/linux/alpha/nptl/fork.c: Remove file.
7860
b72592e7
JM
78612014-05-23 Joseph Myers <joseph@codesourcery.com>
7862
7863 [BZ #16977]
7864 * sysdeps/i386/fpu/e_log10.S (__ieee754_log10): Take absolute
7865 value when x - 1 is zero.
7866 * sysdeps/i386/fpu/e_log10f.S (__ieee754_log10f): Likewise.
7867 * sysdeps/i386/fpu/e_log10l.S (__ieee754_log10l): Likewise.
7868 * sysdeps/ieee754/ldbl-128/e_log10l.c (__ieee754_log10l): Return
7869 0.0L for an argument of 1.0L.
7870 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l):
7871 Likewise.
7872 * sysdeps/x86_64/fpu/e_log10l.S (__ieee754_log10l): Take absolute
7873 value when x - 1 is zero.
7874 * math/libm-test.inc (log10_test): Use ALL_RM_TEST.
7875 * sysdeps/i386/fpu/libm-test-ulps: Update.
7876 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7877
2302d679
RV
78782014-05-23 Rasmus Villemoes <rv@rasmusvillemoes.dk>
7879
7880 * manual/filesys.texi (Scanning Directory Content): Fix prototype of
7881 alphasort and versionsort.
7882
32999d63
AZ
78832014-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7884
7885 * sysdeps/powerpc/fpu/math_private.h [copysign]: Remove unneeded
7886 macro.
7887 [copysignf]: Likewise.
7888
019324d0
SP
78892014-05-22 Siddhesh Poyarekar <siddhesh@redhat.com>
7890
7891 * crypt/md5-crypt.c: Fix formatting.
7892
34fff5c2
KS
78932014-05-22 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
7894
7895 * crypt/md5-crypt.c (__md5_crypt_r): Remove a nested function.
7896 (b64_from_24bit): New function.
7897
3d2badac
AZ
78982014-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7899
7900 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c (memchr): Remove
7901 libc_hidden_builtin_def to ifunc.
7902 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
7903 [libc_hidden_builtin_def]: Define hidden definition to __memchr_ppc32.
7904
f7bb179f 79052014-05-21 Roland McGrath <roland@hack.frob.com>
df54acbb
RM
7906
7907 * sysdeps/unix/sysv/linux/aarch64/arch-fork.h: New file.
7908 * sysdeps/unix/sysv/linux/aarch64/nptl/fork.c: File removed.
7909
4134b50d
JM
79102014-05-21 Joseph Myers <joseph@codesourcery.com>
7911
bb7d0337
JM
7912 * nscd/Depend (linuxthreads): Remove.
7913 (nptl): Add.
7914 * resolv/Depend (linuxthreads): Remove.
7915 * rt/Depend (linuxthreads): Remove.
7916
4134b50d
JM
7917 * Makeconfig [$(build-hardcoded-path-in-tests) = yes]
7918 (rtld-tests-LDFLAGS): Use $(elf-objpfx) instead of
7919 $(common-objpfx)elf/.
7920 (link-libc-before-gnulib): Likewise.
7921 (elfobjdir): Remove variable.
7922 * Makefile (install): Use $(elf-objpfx) instead of
7923 $(common-objpfx)elf/.
7924 * Makerules (link-libc-args): Use $(elf-objpfx) instead of
7925 $(elfobjdir)/.
7926 (link-libc-deps): Likewise.
7927 ($(common-objpfx)libc.so): Likewise.
7928 ($(common-objpfx)linkobj/libc.so): Likewise.
7929 [$(cross-compiling) = no] (symbolic-link-prog): Use $(elf-objpfx)
7930 instead of $(common-objpfx)elf/.
7931 (symbolic-link-list): Likewise.
7932 * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
7933 [$(cross-compiling) = no]: Likewise.
7934 * sysdeps/arm/Makefile (gnulib-arch): Use $(elf-objpfx) instead of
7935 $(elfobjdir)/.
7936 (static-gnulib-arch): Likewise.
7937 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
7938 [$(cross-compiling) = no]: Use $(elf-objpfx) instead of
7939 $(common-objpfx)elf/.
7940
3612eb8f
RH
79412014-05-21 Richard Henderson <rth@redhat.com>
7942
a6b3657b
RH
7943 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
7944 (SINGLE_THREAD_P): Use the correct width load. Fold
7945 into the ldr offset.
7946
3612eb8f
RH
7947 * sysdeps/unix/sysv/linux/aarch64/sysdep.h [RTLD_PRIVATE_ERRNO]
7948 (SYSCALL_ERROR_HANDLER): Fold add insn into str offset.
7949
175cef41
JM
79502014-05-20 Joseph Myers <joseph@codesourcery.com>
7951
7952 * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c
7953 (libgcc_s_resume): Use __attribute_used__.
7954 * sysdeps/unix/sysv/linux/arm/unwind-resume.c (libgcc_s_resume):
7955 Likewise.
7956
e13bccd3
AZ
79572014-05-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7958
7959 * sysdeps/powerpc/fpu/math_private.h [__copysignf]: Fix copysign macro
7960 optimization when used with float constants.
7961
7c112a38
AZ
7962 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
7963
ae75a883
AJ
79642014-05-20 Aurelien Jarno <aurelien@aurel32.net>
7965
7966 [BZ #16915]
7967 * locale/nl_langinfo_l.c: Make direct reference to every
7968 _nl_current_CATEGORY symbol.
7969 * localedata/Makefile (test-srcs): Add tst-langinfo-static.
7970 (tests-static): Add tst-langinfo-static.
7971 (tests-special): Add tst-langinfo-static.out.
7972 ($(objpfx)tst-langinfo.out): Redirect output.
7973 ($(objpfx)tst-langinfo-static.out): New.
7974 * localedata/tst-langinfo.sh: Send output to stdout.
7975 * localedata/tst-langinfo-static.c: New file.
7976
4406c41c
AJ
7977 [BZ #16965]
7978 * stdlib/strtod_l.c (round_and_return): Add code to shift limbs
7979 when the shift amount is modulo the limb size.
7980
4c0a1e63
RH
79812014-05-20 Richard Henderson <rth@redhat.com>
7982
de9d8f20
RH
7983 [BZ #16967]
7984 * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h (struct sigaction):
7985 Change type of sa_flags from unsigned int to int.
7986
4c0a1e63
RH
7987 [BZ #16966]
7988 * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h: Remove file.
57cce706
RH
7989
7990 * sysdeps/alpha/dl-machine.h (ELF_MACHINE_NO_RELA): Define.
7991
a60339aa
WN
79922014-05-20 Will Newton <will.newton@linaro.org>
7993
7994 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
7995 Test the return value of the system call in the nocancel case.
7996
7d05a816
YR
79972014-05-20 Will Newton <will.newton@linaro.org>
7998 Yvan Roux <yvan.roux@linaro.org>
7999
8000 * sysdeps/unix/sysv/linux/aarch64/sys/user.h: Remove unused
8001 #include of asm/ptrace.h.
8002 (PTRACE_GET_THREAD_AREA): Remove #undef.
8003 (PTRACE_GETHBPREGS): Likewise.
8004 (PTRACE_SETHBPREGS): Likewise.
8005 (struct user_regs_struct): New structure.
8006 (struct user_fpsimd_struct): New structure.
8007 * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h: Remove unused
8008 #include of asm/ptrace.h and second #include of sys/user.h.
8009 (PTRACE_GET_THREAD_AREA): Remove #undef.
8010 (PTRACE_GETHBPREGS): Likewise.
8011 (PTRACE_SETHBPREGS): Likewise.
8012 (ELF_NGREG): Use new struct user_regs_struct.
8013 (elf_fpregset_t): Use new struct user_fpsimd_struct.
8014
af121e37
AZ
80152014-05-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8016
8017 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypof.c: Moved ...
8018 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c: ... here.
8019
834caf06
JM
80202014-05-17 Jose E. Marchesi <jose.marchesi@oracle.com>
8021
8022 [BZ #16958]
8023 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Add missing
8024 membar to avoid block loads/stores to overlap previous stores.
8025
e184a918
RH
80262014-05-17 Richard Henderson <rth@redhat.com>
8027
8028 * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h (PSEUDO):
8029 Create the __##syscall_name##_nocancel entry point.
8030 * sysdeps/unix/sysv/linux/alpha/sigsuspend.S (__sigsuspend_nocancel):
8031 Remove; let the sysdep-cancel.h code create it.
8032
f56c7a6a
DM
80332014-05-17 David S. Miller <davem@davemloft.net>
8034
8035 * sysdeps/unix/sysv/linux/sparc/bits/termios.h (PAGEOUT, WRAP):
8036 Protect with __USE_GNU.
8037 (TIOCSET_TEMPT): Likewise.
8038 (TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
8039 TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI): Remove as
8040 these are already provided in bits/ioctl-types.h
8041
f75616b2
RM
80422014-05-16 Roland McGrath <roland@hack.frob.com>
8043
3edeca86
RM
8044 * sysdeps/unix/sysv/linux/alpha/arch-fork.h: New file.
8045 * sysdeps/unix/sysv/linux/ia64/nptl/fork.c: File removed.
8046
f75616b2
RM
8047 * sysdeps/unix/sysv/linux/not-cancel.h (waitpid_not_cancel):
8048 Use wait4 regardless of [__NR_waitpid].
8049
deb0f7f6
MR
80502014-05-16 Maciej W. Rozycki <macro@codesourcery.com>
8051
8052 PR libgcc/60166
8053 * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
8054 (_FP_NANSIGN_Q): Set the quiet bit.
8055
79520f4b
JM
80562014-05-16 Joseph Myers <joseph@codesourcery.com>
8057
8058 * benchtests/Makefile
8059 ($(addprefix $(objpfx)bench-,$(bench-math))): Depend on $(libm),
8060 not $(common-objpfx)math/libm.so.
8061 ($(addprefix $(objpfx)bench-,$(bench-pthread))): Depend on
8062 $(shared-thread-library), not $(common-objpfx)nptl/libpthread.so.
8063 * elf/Makefile ($(objpfx)noload): Depend on $(libdl), not
8064 $(common-objpfx)dlfcn/libdl.so.
8065 ($(objpfx)tst-audit8): Depend on $(libm), not
8066 $(common-objpfx)math/libm.so.
8067 * malloc/Makefile ($(objpfx)libmemusage.so): Depend on $(libdl),
8068 not $(common-objpfx)dlfcn/libdl.so.
8069 * math/Makefile
8070 ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
8071 Depend on $(libm), not $(objpfx)libm.so. Do not condition on
8072 [$(build-shared) = yes].
8073 ($(objpfx)test-fenv-tls): Depend on $(shared-thread-library), not
8074 $(common-objpfx)nptl/libpthread.so.
8075 * misc/Makefile ($(objpfx)tst-tsearch): Depend on $(libm), not
8076 $(common-objpfx)math/libm.so$(libm.so-version) or
8077 $(common-objpfx)math/libm.a depending on [$(build-shared) = yes].
8078 * nptl/Makefile ($(objpfx)tst-unload): Depend on $(libdl), not
8079 $(common-objpfx)dlfcn/libdl.so.
8080 * setjmp/Makefile (link-libm): Remove variable.
8081 ($(objpfx)tst-setjmp-fp): Depend on $(libm), not $(link-libm).
8082 * stdio-common/Makefile (link-libm): Remove variable.
8083 ($(objpfx)tst-printf-round): Depend on $(libm), not $(link-libm).
8084 * stdlib/Makefile (link-libm): Remove variable.
8085 ($(objpfx)bug-getcontext): Depend on $(libm), not $(link-libm).
8086 ($(objpfx)tst-strtod-round): Likewise.
8087 ($(objpfx)tst-tininess): Likewise.
8088 ($(objpfx)tst-strtod-underflow): Likewise.
8089 ($(objpfx)tst-strtod6): Likewise.
8090 ($(objpfx)tst-tls-atexit): Depend on $(shared-thread-library) and
8091 $(libdl), not $(common-objpfx)nptl/libpthread.so and
8092 $(common-objpfx)dlfcn/libdl.so.
8093
026b0fe4
AZ
80942014-05-16 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8095
8096 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_MISC]: Guard
8097 BSD terminal modes definitions.
8098
def4bcb2
RM
80992014-05-16 Roland McGrath <roland@hack.frob.com>
8100
fe39b021
RM
8101 * sysdeps/unix/sysv/linux/arm/arch-fork.h: New file.
8102 * sysdeps/unix/sysv/linux/arm/fork.c: File removed.
8103
1d1fc46e 8104 * sysdeps/unix/sysv/linux/arch-fork.h: New file.
def4bcb2
RM
8105 * sysdeps/unix/sysv/linux/i386/fork.h: Moved ...
8106 * sysdeps/unix/sysv/linux/i386/arch-fork.h: ... here.
8107 Don't do #include_next.
8108 * sysdeps/unix/sysv/linux/x86_64/fork.h: Moved ...
8109 * sysdeps/unix/sysv/linux/x86_64/arch-fork.h: ... here.
8110 Don't do #include_next.
8111 * sysdeps/unix/sysv/linux/mips/arch-fork.h: New file.
8112 * sysdeps/unix/sysv/linux/mips/fork.h: File removed.
8113 * sysdeps/unix/sysv/linux/powerpc/arch-fork.h: New file.
8114 * sysdeps/unix/sysv/linux/powerpc/fork.h: File removed.
8115
c72399fb
AM
81162014-05-16 Allan McRae <allan@archlinux.org>
8117
d51d659d
AM
8118 * po/sv.po: Update Swedish translation from translation project.
8119
c72399fb
AM
8120 * timezone/Makefile ($(objpfx)tzselect): Use correct variable
8121 in sed expression.
8122
d0583c40
AJ
81232014-05-16 Aurelien Jarno <aurelien@aurel32.net>
8124
8125 [BZ #16917]
8126 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal): Return
8127 errno if the TIOCGPTN ioctl fails with an error different than
8128 EINVAL.
8129 * login/tst-ptsname.c: New file.
8130 * login/Makefile (tests): Add tst-ptsname.
8131
d16e6ec7
AJ
8132 [BZ #16943]
8133 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Declare prlimit
8134 and prlimit64.
8135
cf26a0cb
SP
81362014-05-15 Siddhesh Poyarekar <siddhesh@redhat.com>
8137
8138 [BZ #16849]
8139 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only check for
8140 herrno to return EAI_AGAIN.
8141
5675da1e
RM
81422014-05-14 Roland McGrath <roland@hack.frob.com>
8143
a5d87b3d
RM
8144 * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: Moved ...
8145 * sysdeps/unix/sysv/linux/i386/c++-types.data: ... here.
8146 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: Moved ...
8147 * sysdeps/unix/sysv/linux/i386/ld.abilist: ... here.
8148 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: Moved ...
8149 * sysdeps/unix/sysv/linux/i386/libBrokenLocale.abilist: ... here.
8150 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: Moved ...
8151 * sysdeps/unix/sysv/linux/i386/libanl.abilist: ... here.
8152 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Moved ...
8153 * sysdeps/unix/sysv/linux/i386/libc.abilist: ... here.
8154 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: Moved ...
8155 * sysdeps/unix/sysv/linux/i386/libcrypt.abilist: ... here.
8156 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: Moved ...
8157 * sysdeps/unix/sysv/linux/i386/libdl.abilist: ... here.
8158 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: Moved ...
8159 * sysdeps/unix/sysv/linux/i386/libm.abilist: ... here.
8160 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: Moved ...
8161 * sysdeps/unix/sysv/linux/i386/libnsl.abilist: ... here.
8162 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Moved ...
8163 * sysdeps/unix/sysv/linux/i386/libpthread.abilist: ... here.
8164 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: Moved ...
8165 * sysdeps/unix/sysv/linux/i386/libresolv.abilist: ... here.
8166 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: Moved ...
8167 * sysdeps/unix/sysv/linux/i386/librt.abilist: ... here.
8168 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: Moved ...
8169 * sysdeps/unix/sysv/linux/i386/libthread_db.abilist: ... here.
8170 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: Moved ...
8171 * sysdeps/unix/sysv/linux/i386/libutil.abilist: ... here.
8172 * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: Moved ...
8173 * sysdeps/unix/sysv/linux/i386/localplt.data: ... here.
8174 * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: Moved ...
8175 * sysdeps/unix/sysv/linux/x86_64/64/c++-types.data: ... here.
8176 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Moved ...
8177 * sysdeps/unix/sysv/linux/x86_64/64/ld.abilist: ... here.
8178 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
8179 Moved ...
8180 * sysdeps/unix/sysv/linux/x86_64/64/libBrokenLocale.abilist: ... here.
8181 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Moved ...
8182 * sysdeps/unix/sysv/linux/x86_64/64/libanl.abilist: ... here.
8183 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Moved ...
8184 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: ... here.
8185 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Moved ...
8186 * sysdeps/unix/sysv/linux/x86_64/64/libcrypt.abilist: ... here.
8187 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Moved ...
8188 * sysdeps/unix/sysv/linux/x86_64/64/libdl.abilist: ... here.
8189 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Moved ...
8190 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: ... here.
8191 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Moved ...
8192 * sysdeps/unix/sysv/linux/x86_64/64/libnsl.abilist: ... here.
8193 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist: Moved ...
8194 * sysdeps/unix/sysv/linux/x86_64/64/libpthread.abilist: ... here.
8195 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist: Moved ...
8196 * sysdeps/unix/sysv/linux/x86_64/64/libresolv.abilist: ... here.
8197 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Moved ...
8198 * sysdeps/unix/sysv/linux/x86_64/64/librt.abilist: ... here.
8199 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist: Moved ...
8200 * sysdeps/unix/sysv/linux/x86_64/64/libthread_db.abilist: ... here.
8201 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Moved ...
8202 * sysdeps/unix/sysv/linux/x86_64/64/libutil.abilist: ... here.
8203 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data: Moved ...
8204 * sysdeps/unix/sysv/linux/x86_64/x32/c++-types.data: ... here.
8205 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: Moved ...
8206 * sysdeps/unix/sysv/linux/x86_64/x32/ld.abilist: ... here.
8207 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
8208 Moved ...
8209 * sysdeps/unix/sysv/linux/x86_64/x32/libBrokenLocale.abilist: ... here.
8210 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist: Moved ...
8211 * sysdeps/unix/sysv/linux/x86_64/x32/libanl.abilist: ... here.
8212 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Moved ...
8213 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: ... here.
8214 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist: Moved ...
8215 * sysdeps/unix/sysv/linux/x86_64/x32/libcrypt.abilist: ... here.
8216 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist: Moved ...
8217 * sysdeps/unix/sysv/linux/x86_64/x32/libdl.abilist: ... here.
8218 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist: Moved ...
8219 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: ... here.
8220 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist: Moved ...
8221 * sysdeps/unix/sysv/linux/x86_64/x32/libnsl.abilist: ... here.
8222 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist: Moved ...
8223 * sysdeps/unix/sysv/linux/x86_64/x32/libpthread.abilist: ... here.
8224 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist: Moved ...
8225 * sysdeps/unix/sysv/linux/x86_64/x32/libresolv.abilist: ... here.
8226 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist: Moved ...
8227 * sysdeps/unix/sysv/linux/x86_64/x32/librt.abilist: ... here.
8228 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
8229 Moved ...
8230 * sysdeps/unix/sysv/linux/x86_64/x32/libthread_db.abilist: ... here.
8231 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist: Moved ...
8232 * sysdeps/unix/sysv/linux/x86_64/x32/libutil.abilist: ... here.
8233
039890a6
RM
8234 * nptl/sysdeps/unix/sysv/linux/x86/Makefile: File removed.
8235 * sysdeps/unix/sysv/linux/x86/Makefile [$(subdir) = nptl]
8236 (libpthread-sysdep_routines): Add elision-related stuff here instead.
8237 * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.c: Moved ...
8238 * sysdeps/unix/sysv/linux/x86/elision-conf.c: ... here.
8239 * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.h: Moved ...
8240 * sysdeps/unix/sysv/linux/x86/elision-conf.h: ... here.
8241 * nptl/sysdeps/unix/sysv/linux/x86/elision-lock.c: Moved ...
8242 * sysdeps/unix/sysv/linux/x86/elision-lock.c: ... here.
8243 * nptl/sysdeps/unix/sysv/linux/x86/elision-timed.c: Moved ...
8244 * sysdeps/unix/sysv/linux/x86/elision-timed.c: ... here.
8245 * nptl/sysdeps/unix/sysv/linux/x86/elision-trylock.c: Moved ...
8246 * sysdeps/unix/sysv/linux/x86/elision-trylock.c: ... here.
8247 * nptl/sysdeps/unix/sysv/linux/x86/elision-unlock.c: Moved ...
8248 * sysdeps/unix/sysv/linux/x86/elision-unlock.c: ... here.
8249 * nptl/sysdeps/unix/sysv/linux/x86/force-elision.h: Moved ...
8250 * sysdeps/unix/sysv/linux/x86/force-elision.h: ... here.
8251 * nptl/sysdeps/unix/sysv/linux/x86/hle.h: Moved ...
8252 * sysdeps/unix/sysv/linux/x86/hle.h: ... here.
8253 * nptl/sysdeps/unix/sysv/linux/x86/init-arch.c: Moved ...
8254 * sysdeps/unix/sysv/linux/x86/init-arch.c: ... here.
8255 * nptl/sysdeps/unix/sysv/linux/x86/init-arch.h: Moved ...
8256 * sysdeps/unix/sysv/linux/x86/init-arch.h: ... here.
8257 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: Moved ...
8258 * sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: ... here.
8259 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: Moved ...
8260 * sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: ... here.
8261 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: Moved ...
8262 * sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: ... here.
8263 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: Moved ...
8264 * sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: ... here.
8265
65c89320
RM
8266 * sysdeps/unix/sysv/linux/mips/fork.h: New file.
8267 * sysdeps/unix/sysv/linux/mips/nptl/fork.c: File removed.
8268
348f8e8c
RM
8269 * nptl/sysdeps/unix/sysv/linux/i386/Implies: File removed.
8270 * nptl/sysdeps/unix/sysv/linux/i386/i786/Implies: Moved ...
8271 * sysdeps/unix/sysv/linux/i386/i786/Implies: ... here.
8272 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: Moved ...
8273 * sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: ... here.
8274 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S:
8275 Moved ...
8276 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: ... here.
8277 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S:
8278 Moved ...
8279 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S: ... here.
8280 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S:
8281 Moved ...
8282 * sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S: ... here.
8283 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S:
8284 Moved ...
8285 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: ... here.
8286 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: Moved ...
8287 * sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: ... here.
8288 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S:
8289 Moved ...
8290 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S: ... here.
8291 * nptl/sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: Moved ...
8292 * sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: ... here.
8293 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: Moved ...
8294 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: ... here.
8295 * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: Moved ...
8296 * sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: ... here.
8297 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S:
8298 Moved ...
8299 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S: ... here.
8300 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
8301 Moved ...
8302 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
8303 ... here.
8304 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: Moved ...
8305 * sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: ... here.
8306 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_post.S: Moved ...
8307 * sysdeps/unix/sysv/linux/i386/i586/sem_post.S: ... here.
8308 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
8309 Moved ...
8310 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
8311 ... here.
8312 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S:
8313 Moved ...
8314 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: ... here.
8315 * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: Moved ...
8316 * sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: ... here.
8317 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: Moved ...
8318 * sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: ... here.
8319 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S:
8320 Moved ...
8321 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: ... here.
8322 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S:
8323 Moved ...
8324 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S: ... here.
8325 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S:
8326 Moved ...
8327 * sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S: ... here.
8328 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S:
8329 Moved ...
8330 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: ... here.
8331 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: Moved ...
8332 * sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: ... here.
8333 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S:
8334 Moved ...
8335 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S: ... here.
8336 * nptl/sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: Moved ...
8337 * sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: ... here.
8338 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: Moved ...
8339 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: ... here.
8340 * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: Moved ...
8341 * sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: ... here.
8342 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S:
8343 Moved ...
8344 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S: ... here.
8345 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
8346 Moved ...
8347 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
8348 ... here.
8349 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: Moved ...
8350 * sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: ... here.
8351 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_post.S: Moved ...
8352 * sysdeps/unix/sysv/linux/i386/i486/sem_post.S: ... here.
8353 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
8354 Moved ...
8355 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
8356 ... here.
8357 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S:
8358 Moved ...
8359 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: ... here.
8360 * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Moved ...
8361 * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: ... here.
8362 * nptl/sysdeps/unix/sysv/linux/i386/dl-sysdep.h: Moved ...
8363 * sysdeps/unix/sysv/linux/i386/dl-sysdep.h: ... here.
8364 * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h: Moved ...
8365 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: ... here.
8366 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: Moved ...
8367 * sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: ... here.
8368 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S:
8369 Moved ...
8370 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: ... here.
8371 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S:
8372 Moved ...
8373 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S: ... here.
8374 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S:
8375 Moved ...
8376 * sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S: ... here.
8377 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S:
8378 Moved ...
8379 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: ... here.
8380 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: Moved ...
8381 * sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: ... here.
8382 * nptl/sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: Moved ...
8383 * sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: ... here.
8384 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S:
8385 Moved ...
8386 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S: ... here.
8387 * nptl/sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: Moved ...
8388 * sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: ... here.
8389 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: Moved ...
8390 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: ... here.
8391 * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: Moved ...
8392 * sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: ... here.
8393 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S:
8394 Moved ...
8395 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S: ... here.
8396 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
8397 Moved ...
8398 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
8399 ... here.
8400 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: Moved ...
8401 * sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: ... here.
8402 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_post.S: Moved ...
8403 * sysdeps/unix/sysv/linux/i386/i686/sem_post.S: ... here.
8404 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
8405 Moved ...
8406 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
8407 ... here.
8408 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S:
8409 Moved ...
8410 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: ... here.
8411 * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: Moved ...
8412 * sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: ... here.
8413 * nptl/sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Moved ...
8414 * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: ... here.
8415 * nptl/sysdeps/unix/sysv/linux/i386/smp.h: Moved ...
8416 * sysdeps/unix/sysv/linux/i386/smp.h: ... here.
8417 * nptl/sysdeps/unix/sysv/linux/i386/pthread_once.S: Moved ...
8418 * sysdeps/unix/sysv/linux/i386/pthread_once.S: ... here.
8419 * nptl/sysdeps/unix/sysv/linux/i386/createthread.c: Moved ...
8420 * sysdeps/unix/sysv/linux/i386/createthread.c: ... here.
8421
5085af05
RM
8422 * sysdeps/unix/sysv/linux/powerpc/fork.h: New file.
8423 * nptl/sysdeps/unix/sysv/linux/powerpc/fork.c: File removed.
8424
708f0813
RM
8425 * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_init.c: File removed.
8426 * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_unlock.S: File removed.
8427
c96067bc
RM
8428 * nptl/sysdeps/unix/sysv/linux/x86_64/Implies: File removed.
8429 * nptl/sysdeps/unix/sysv/linux/x86_64/cancellation.S: Moved ...
8430 * sysdeps/unix/sysv/linux/x86_64/cancellation.S: ... here.
8431 * nptl/sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: Moved ...
8432 * sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: ... here.
8433 * nptl/sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: Moved ...
8434 * sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: ... here.
8435 * nptl/sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: Moved ...
8436 * sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: ... here.
8437 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Moved ...
8438 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: ... here.
8439 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Moved ...
8440 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: ... here.
8441 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: Moved ...
8442 * sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: ... here.
8443 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: Moved ...
8444 * sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: ... here.
8445 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S:
8446 Moved ...
8447 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S: ... here.
8448 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: Moved ...
8449 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: ... here.
8450 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:
8451 Moved ...
8452 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S: ... here.
8453 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: Moved ...
8454 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: ... here.
8455 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_once.S: Moved ...
8456 * sysdeps/unix/sysv/linux/x86_64/pthread_once.S: ... here.
8457 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: Moved ...
8458 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: ... here.
8459 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S:
8460 Moved ...
8461 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: ... here.
8462 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S:
8463 Moved ...
8464 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: ... here.
8465 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: Moved ...
8466 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: ... here.
8467 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: Moved ...
8468 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: ... here.
8469 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: Moved ...
8470 * sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: ... here.
8471 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_post.S: Moved ...
8472 * sysdeps/unix/sysv/linux/x86_64/sem_post.S: ... here.
8473 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: Moved ...
8474 * sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: ... here.
8475 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: Moved ...
8476 * sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: ... here.
8477 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_wait.S: Moved ...
8478 * sysdeps/unix/sysv/linux/x86_64/sem_wait.S: ... here.
8479 * nptl/sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Moved ...
8480 * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: ... here.
8481
ec136444
RM
8482 * nptl/sysdeps/unix/sysv/linux/fork.c: Use <> for fork.h #include.
8483 * nptl/sysdeps/unix/sysv/linux/x86_64/fork.c: File removed.
8484 * sysdeps/unix/sysv/linux/x86_64/fork.h: New file.
8485 * nptl/sysdeps/unix/sysv/linux/i386/fork.c: File removed.
8486 * sysdeps/unix/sysv/linux/i386/fork.h: New file.
8487
2fbdf533
RM
8488 * nptl/sysdeps/unix/sysv/linux/i386/not-cancel.h: Moved ...
8489 * sysdeps/unix/sysv/linux/not-cancel.h: ... here.
8490 * nptl/sysdeps/unix/sysv/linux/sparc/not-cancel.h: File removed.
8491 * nptl/sysdeps/unix/sysv/linux/sh/not-cancel.h: File removed.
8492 * nptl/sysdeps/unix/sysv/linux/powerpc/not-cancel.h: File removed.
8493 * nptl/sysdeps/unix/sysv/linux/x86_64/not-cancel.h: File removed.
8494 * nptl/sysdeps/unix/sysv/linux/s390/not-cancel.h: File removed.
8495 * sysdeps/unix/sysv/linux/generic/not-cancel.h: File removed.
8496 * sysdeps/unix/sysv/linux/generic/nptl/not-cancel.h: File removed.
8497 * sysdeps/unix/sysv/linux/m68k/nptl/not-cancel.h: File removed.
8498
4c68138b
RM
8499 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_init.c: File removed.
8500 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_unlock.S: Likewise.
8501
4eaae765
RM
8502 * nptl/sysdeps/unix/sysv/linux/x86_64/compat-timer.h: Moved ...
8503 * sysdeps/unix/sysv/linux/x86_64/compat-timer.h: ... here.
3a51fb60
RM
8504 * nptl/sysdeps/unix/sysv/linux/x86_64/Versions: Remove, merge into ...
8505 * sysdeps/unix/sysv/linux/x86_64/Versions: ... here.
8506 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_create.c: Moved ...
8507 * sysdeps/unix/sysv/linux/x86_64/timer_create.c: here.
8508 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_delete.c: Moved ...
8509 * sysdeps/unix/sysv/linux/x86_64/timer_delete.c: ... here
8510 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: Moved ...
8511 * sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: ... here
8512 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: Moved ...
8513 * sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: ... here
8514 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_settime.c: Moved ...
8515 * sysdeps/unix/sysv/linux/x86_64/timer_settime.c: ... here
8516 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c:
8517 Update #include.
8518 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c:
8519 Likewise.
8520 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
8521 Likewise.
8522 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
8523 Likewise.
8524 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
8525 Likewise.
8526 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c:
8527 Likewise.
8528 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c:
8529 Likewise.
8530 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
8531 Likewise.
8532 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c:
8533 Likewise.
8534 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c:
8535 Likewise.
4ef6befa
RM
8536 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Likewise.
8537 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Likewise.
8538 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Likewise.
8539 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Likewise.
8540 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Likewise.
5aa618fb
RM
8541 * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Likewise.
8542 * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Likewise.
8543 * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Likewise.
8544 * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Likewise.
8545 * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Likewise.
8546 * sysdeps/unix/sysv/linux/ia64/nptl/timer_create.c: Likewise.
8547 * sysdeps/unix/sysv/linux/ia64/nptl/timer_delete.c: Likewise.
8548 * sysdeps/unix/sysv/linux/ia64/nptl/timer_getoverr.c: Likewise.
8549 * sysdeps/unix/sysv/linux/ia64/nptl/timer_gettime.c: Likewise.
8550 * sysdeps/unix/sysv/linux/ia64/nptl/timer_settime.c: Likewise.
3a51fb60 8551
941d7dfd
RM
8552 * sysdeps/unix/sysv/linux/x86_64/clone.S: Deconditionalize the code
8553 that was previously under [RESET_PID].
8554 * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
8555 * nptl/sysdeps/unix/sysv/linux/x86_64/clone.S: File removed.
8556 * nptl/sysdeps/unix/sysv/linux/i386/clone.S: File removed.
8557
1b731c35
RM
8558 * sysdeps/i386/nptl/Implies: New file.
8559 * sysdeps/x86_64/nptl/Implies: New file.
8560 * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h: Moved ...
8561 * sysdeps/x86/nptl/bits/pthreadtypes.h: ... here.
8562 * nptl/sysdeps/unix/sysv/linux/x86/bits/semaphore.h: Moved ...
8563 * sysdeps/x86/nptl/bits/semaphore.h: ... here.
8564
e2787137
RM
8565 * sysdeps/unix/sysv/linux/i386/vfork.S: Include <tcb-offsets.h>.
8566 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
8567 (__libc_vfork): New strong alias.
8568 * nptl/sysdeps/unix/sysv/linux/i386/vfork.S: File removed.
8569 * nptl/sysdeps/unix/sysv/linux/i386/pt-vfork.S: File removed.
8570
8571 * sysdeps/unix/sysv/linux/x86_64/vfork.S: Include <tcb-offsets.h>.
8572 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
8573 (__libc_vfork): New strong alias.
8574 * nptl/sysdeps/unix/sysv/linux/x86_64/vfork.S: File removed.
8575 * nptl/sysdeps/unix/sysv/linux/x86_64/pt-vfork.S: File removed.
8576
5675da1e
RM
8577 * sysdeps/unix/sysv/linux/arm/vfork.S: Include <tcb-offsets.h>.
8578 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
8579 (__libc_vfork): New strong alias.
8580 * sysdeps/unix/sysv/linux/arm/nptl/vfork.S: File removed.
8581 * sysdeps/unix/sysv/linux/arm/nptl/pt-vfork.S: File removed.
8582 * nptl/pt-vfork.c: New file.
8583 * nptl/Versions (libc: GLIBC_PRIVATE): Add __libc_vfork.
8584 (libpthread: GLIBC_2.20): New version set (empty).
8585
4f02e2b8
WN
85862014-05-14 Will Newton <will.newton@linaro.org>
8587
8588 * stdlib/gmp-impl.h: Test USE_STACK_ALLOC #ifdef
8589 rather than #if.
8590
0bf061d3
JM
85912014-05-14 Joseph Myers <joseph@codesourcery.com>
8592
1a84c3d6
JM
8593 [BZ #16564]
8594 * sysdeps/i386/fpu/s_log1pl.S (__log1pl): Do not add 1 to positive
8595 arguments with exponent 65 or above.
8596 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): Do not add 1 to
8597 arguments 0x1p113L or above.
8598 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Do not add 1
8599 to arguments 0x1p107L or above.
8600 * sysdeps/x86_64/fpu/s_log1pl.S (__log1pl): Do not add 1 to
8601 positive arguments with exponent 65 or above.
8602 * math/auto-libm-test-in: Add more tests of log1p.
8603 * math/auto-libm-test-out: Regenerated.
8604
01dbacd2
JM
8605 [BZ #16928]
8606 * math/s_cacos.c (__cacos): Ensure zero real part of result from
8607 non-finite arguments is +0.
8608 * math/s_cacosf.c (__cacosf): Likewise.
8609 * math/s_cacosl.c (__cacosl): Likewise.
8610 * math/libm-test.inc (cacos_test): Use ALL_RM_TEST.
8611 * sysdeps/i386/fpu/libm-test-ulps: Update.
8612 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8613
913d03c8
JM
8614 [BZ #16927]
8615 * sysdeps/i386/fpu/e_acosh.S (__ieee754_acosh): Use fabs on x-1
8616 value.
8617 * sysdeps/i386/fpu/e_acoshf.S (__ieee754_acoshf): Likewise.
8618 * sysdeps/i386/fpu/e_acoshl.S (__ieee754_acoshl): Likewise.
8619 * sysdeps/ieee754/ldbl-96/e_acoshl.c (__ieee754_acoshl): Correct
8620 for explicit high bit of mantissa when testing for argument equal
8621 to 1.
8622 * math/libm-test.inc (acosh_test): Use ALL_RM_TEST.
8623 * sysdeps/i386/fpu/libm-test-ulps: Update.
8624 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8625
0bf061d3
JM
8626 [BZ #16516]
8627 * sysdeps/ieee754/dbl-64/s_erf.c (efx8): Remove variable.
8628 (__erf): Scale by 16 instead of 8 in potentially underflowing
8629 case. Ensure exception if result actually underflows.
8630 * sysdeps/ieee754/flt-32/s_erff.c (efx8): Remove variable.
8631 (__erff): Scale by 16 instead of 8 in potentially underflowing
8632 case. Ensure exception if result actually underflows.
8633 * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <float.h>.
8634 (efx8): Remove variable.
8635 (__erfl): Scale by 16 instead of 8 in potentially underflowing
8636 case. Ensure exception if result actually underflows.
8637 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <float.h>.
8638 (efx8): Remove variable.
8639 (__erfl): Scale by 16 instead of 8 in potentially underflowing
8640 case. Ensure exception if result actually underflows.
8641 * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <float.h>.
8642 (efx8): Remove variable.
8643 (__erfl): Scale by 16 instead of 8 in potentially underflowing
8644 case. Ensure exception if result actually underflows.
8645 * math/auto-libm-test-in: Add more tests of erf.
8646 * math/auto-libm-test-out: Regenerated.
8647
73ba67cb
AS
86482014-05-14 Andreas Schwab <schwab@suse.de>
8649
3d8c8bff
AS
8650 * elf/rtld.c (_dl_start_final, _dl_start, init_tls, dl_main):
8651 Remove code conditionalized on USE___THREAD.
8652
73ba67cb
AS
8653 * config.h.in (HAVE_PT_CHOWN): Define as 0.
8654 * sysdeps/unix/grantpt.c (grantpt): Check HAVE_PT_CHOWN for value,
8655 not definedness.
8656
5c521ecd
JM
86572014-05-14 Joseph Myers <joseph@codesourcery.com>
8658
5e7698c6
JM
8659 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMES):
8660 Define unconditionally.
8661 (__ASSUME_O_CLOEXEC): Likewise.
8662 (__ASSUME_SOCK_CLOEXEC): Likewise.
8663 (__ASSUME_IN_NONBLOCK): Likewise.
8664 (__ASSUME_PIPE2): Likewise.
8665 (__ASSUME_EVENTFD2): Likewise.
8666 (__ASSUME_SIGNALFD4): Likewise.
8667 (__ASSUME_DUP3): Likewise.
8668 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
8669 (__ASSUME_DUP3): Do not define.
8670 (__ASSUME_EVENTFD2): Likewise.
8671 (__ASSUME_IN_NONBLOCK): Likewise.
8672 (__ASSUME_O_CLOEXEC): Likewise.
8673 (__ASSUME_PIPE2): Likewise.
8674 (__ASSUME_SIGNALFD4): Likewise.
8675 (__ASSUME_SOCK_CLOEXEC): Likewise.
8676 (__ASSUME_UTIMES): Undefine.
8677 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
8678 (__ASSUME_UTIMES): Do not define.
8679 (__ASSUME_O_CLOEXEC): Likewise.
8680 (__ASSUME_SOCK_CLOEXEC): Likewise.
8681 (__ASSUME_IN_NONBLOCK): Undefine if [__LINUX_KERNEL_VERSION <
8682 0x020621] instead of defining if [__LINUX_KERNEL_VERSION >=
8683 0x020621].
8684 (__ASSUME_PIPE2): Likewise.
8685 (__ASSUME_EVENTFD2): Likewise.
8686 (__ASSUME_SIGNALFD4): Likewise.
8687 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_DUP3): Undefine.
8688 * sysdeps/unix/sysv/linux/arm/kernel-features.h (__ASSUME_UTIMES):
8689 Do not define.
8690 (__ASSUME_EVENTFD2): Likewise.
8691 (__ASSUME_SIGNALFD4): Likewise.
8692 * sysdeps/unix/sysv/linux/hppa/kernel-features.h
8693 (__ASSUME_32BITUIDS): Likewise.
8694 (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
8695 (__ASSUME_IPC64): Likewise.
8696 (__ASSUME_ST_INO_64_BIT): Likewise.
8697 (__ASSUME_GETDENTS64_SYSCALL): Likewise.
8698 [__LINUX_KERNEL_VERSION < 0x030e00] (__ASSUME_UTIMES): Undefine.
8699 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
8700 (__ASSUME_UTIMES): Do not define.
8701 (__ASSUME_PSELECT): Likewise.
8702 (__ASSUME_PPOLL): Likewise.
8703 (__ASSUME_O_CLOEXEC): Likewise.
8704 (__ASSUME_SOCK_CLOEXEC): Likewise.
8705 (__ASSUME_IN_NONBLOCK): Likewise.
8706 (__ASSUME_PIPE2): Likewise.
8707 (__ASSUME_EVENTFD2): Likewise.
8708 (__ASSUME_SIGNALFD4): Likewise.
8709 (__ASSUME_DUP3): Likewise.
8710 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
8711 (__ASSUME_UTIMES): Likewise.
8712 (__ASSUME_O_CLOEXEC): Likewise.
8713 (__ASSUME_SOCK_CLOEXEC): Likewise.
8714 (__ASSUME_IN_NONBLOCK): Likewise.
8715 (__ASSUME_PIPE2): Likewise.
8716 (__ASSUME_EVENTFD2): Likewise.
8717 (__ASSUME_SIGNALFD4): Likewise.
8718 (__ASSUME_DUP3): Likewise.
8719 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
8720 (__ASSUME_UTIMES): Likewise.
8721 (__ASSUME_O_CLOEXEC): Likewise.
8722 (__ASSUME_SOCK_CLOEXEC): Likewise.
8723 (__ASSUME_IN_NONBLOCK): Likewise.
8724 (__ASSUME_PIPE2): Likewise.
8725 (__ASSUME_EVENTFD2): Likewise.
8726 (__ASSUME_SIGNALFD4): Likewise.
8727 (__ASSUME_DUP3): Likewise.
8728 * sysdeps/unix/sysv/linux/mips/kernel-features.h (__ASSUME_IPC64):
8729 Likewise.
8730 (__ASSUME_UTIMES): Likewise.
8731 (__ASSUME_EVENTFD2): Likewise.
8732 (__ASSUME_SIGNALFD4): Likewise.
8733 * sysdeps/unix/sysv/linux/tile/kernel-features.h
8734 (__ASSUME_O_CLOEXEC): Likewise.
8735 (__ASSUME_SOCK_CLOEXEC): Likewise.
8736 (__ASSUME_IN_NONBLOCK): Likewise.
8737 (__ASSUME_PIPE2): Likewise.
8738 (__ASSUME_EVENTFD2): Likewise.
8739 (__ASSUME_SIGNALFD4): Likewise.
8740 (__ASSUME_DUP3): Likewise.
8741 (__ASSUME_UTIMES): Undefine.
8742
5c521ecd
JM
8743 * sysdeps/arm/fclrexcpt.c (__feclearexcept): Rename to
8744 feclearexcept. Remove symbol versioning code.
8745 * sysdeps/arm/fegetenv.c (__fegetenv): Rename to fegetenv. Remove
8746 symbol versioning code.
8747 * sysdeps/arm/fesetenv.c (__fesetenv): Rename to fesetenv. Remove
8748 symbol versioning code.
8749 * sysdeps/arm/feupdateenv.c (__feupdateenv): Rename to
8750 feupdateenv. Remove symbol versioning code.
8751 * sysdeps/arm/fgetexcptflg.c (__fegetexceptflag): Rename to
8752 fegetexceptflag. Remove symbol versioning code.
8753 * sysdeps/arm/fsetexcptflg.c (__fesetexceptflag): Rename to
8754 fesetexceptflag. Remove symbol versioning code.
8755 * sysdeps/unix/sysv/linux/arm/Versions (libc): Remove GLIBC_2.0,
8756 GLIBC_2.2 and GLIBC_2.3.3 entries. Change GLIBC_2.1 to GLIBC_2.4.
8757 * sysdeps/unix/sysv/linux/arm/posix_fadvise64.c
8758 (__posix_fadvise64_l32): Remove prototype.
8759 [SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3)]: Remove conditional
8760 code.
8761
5da9dfad
RM
87622014-05-13 Roland McGrath <roland@hack.frob.com>
8763
8764 * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h: Moved ...
8765 * sysdeps/arm/nptl/bits/pthreadtypes.h: ... here.
8766 * sysdeps/unix/sysv/linux/arm/nptl/bits/semaphore.h: Moved ...
8767 * sysdeps/arm/nptl/bits/semaphore.h: ... here.
8768
893b4f37
SK
87692014-05-13 Sami Kerola <kerolasa@iki.fi>
8770
8771 * timezone/Makefile ($(objpfx)tzselect): Use zonedir instead
8772 current working directory
8773
e0db6517
RM
87742014-05-13 Roland McGrath <roland@hack.frob.com>
8775
58aa195d
RM
8776 * sysdeps/unix/sysv/linux/arm/nptl/c++-types.data: Moved ...
8777 * sysdeps/unix/sysv/linux/arm/c++-types.data: ... here.
8778 * sysdeps/unix/sysv/linux/arm/nptl/createthread.c: Moved ...
8779 * sysdeps/unix/sysv/linux/arm/createthread.c: ... here.
8780 * sysdeps/unix/sysv/linux/arm/nptl/fork.c: Moved ...
8781 * sysdeps/unix/sysv/linux/arm/fork.c: ... here.
8782 * sysdeps/unix/sysv/linux/arm/nptl/ld.abilist: Moved ...
8783 * sysdeps/unix/sysv/linux/arm/ld.abilist: ... here.
8784 * sysdeps/unix/sysv/linux/arm/nptl/libBrokenLocale.abilist: Moved ...
8785 * sysdeps/unix/sysv/linux/arm/libBrokenLocale.abilist: ... here.
8786 * sysdeps/unix/sysv/linux/arm/nptl/libanl.abilist: Moved ...
8787 * sysdeps/unix/sysv/linux/arm/libanl.abilist: ... here.
8788 * sysdeps/unix/sysv/linux/arm/nptl/libc.abilist: Moved ...
8789 * sysdeps/unix/sysv/linux/arm/libc.abilist: ... here.
8790 * sysdeps/unix/sysv/linux/arm/nptl/libcrypt.abilist: Moved ...
8791 * sysdeps/unix/sysv/linux/arm/libcrypt.abilist: ... here.
8792 * sysdeps/unix/sysv/linux/arm/nptl/libdl.abilist: Moved ...
8793 * sysdeps/unix/sysv/linux/arm/libdl.abilist: ... here.
8794 * sysdeps/unix/sysv/linux/arm/nptl/libm.abilist: Moved ...
8795 * sysdeps/unix/sysv/linux/arm/libm.abilist: ... here.
8796 * sysdeps/unix/sysv/linux/arm/nptl/libnsl.abilist: Moved ...
8797 * sysdeps/unix/sysv/linux/arm/libnsl.abilist: ... here.
8798 * sysdeps/unix/sysv/linux/arm/nptl/libpthread.abilist: Moved ...
8799 * sysdeps/unix/sysv/linux/arm/libpthread.abilist: ... here.
8800 * sysdeps/unix/sysv/linux/arm/nptl/libresolv.abilist: Moved ...
8801 * sysdeps/unix/sysv/linux/arm/libresolv.abilist: ... here.
8802 * sysdeps/unix/sysv/linux/arm/nptl/librt.abilist: Moved ...
8803 * sysdeps/unix/sysv/linux/arm/librt.abilist: ... here.
8804 * sysdeps/unix/sysv/linux/arm/nptl/libthread_db.abilist: Moved ...
8805 * sysdeps/unix/sysv/linux/arm/libthread_db.abilist: ... here.
8806 * sysdeps/unix/sysv/linux/arm/nptl/libutil.abilist: Moved ...
8807 * sysdeps/unix/sysv/linux/arm/libutil.abilist: ... here.
8808 * sysdeps/unix/sysv/linux/arm/nptl/localplt.data: Moved ...
8809 * sysdeps/unix/sysv/linux/arm/localplt.data: ... here.
8810 * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.h: Moved ...
8811 * sysdeps/unix/sysv/linux/arm/lowlevellock.h: ... here.
8812 * sysdeps/unix/sysv/linux/arm/nptl/sysdep-cancel.h: Moved ...
8813 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: ... here.
8814 * sysdeps/unix/sysv/linux/arm/nptl/unwind-forcedunwind.c: Moved ...
8815 * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c: ... here.
8816 * sysdeps/unix/sysv/linux/arm/nptl/unwind-resume.c: Moved ...
8817 * sysdeps/unix/sysv/linux/arm/unwind-resume.c: ... here.
8818
8c6d01f0
RM
8819 * sysdeps/unix/sysv/linux/arm/Versions (libc: GLIBC_PRIVATE): New set.
8820 * sysdeps/unix/sysv/linux/arm/nptl/Versions: File removed.
8821
8822 * sysdeps/unix/sysv/linux/arm/Makefile
8823 [$(subdir) = rt] (librt-sysdep_routines, librt-shared-only-routines):
8824 Add rt-aeabi_unwind_cpp_pr1.
8825 [$(subdir) = nptl] (librt-sysdep_routines, librt-shared-only-routines):
8826 Add nptl-aeabi_unwind_cpp_pr1.
8827 [$(subdir) = nptl] (tests): Filter out tst-cleanupx4.
8828 * sysdeps/unix/sysv/linux/arm/nptl/Makefile: File removed.
8829 * sysdeps/unix/sysv/linux/arm/nptl/rt-aeabi_unwind_cpp_pr1.c: Move ...
8830 * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
8831 * sysdeps/unix/sysv/linux/arm/nptl/nptl-aeabi_unwind_cpp_pr1.c: Move ...
8832 * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
8833
8834 * sysdeps/unix/sysv/linux/arm/configure.ac: Force -fexceptions here.
8835 * sysdeps/unix/sysv/linux/arm/configure: Regenerated.
8836 * sysdeps/unix/sysv/linux/arm/nptl/configure.ac: File removed.
8837 * sysdeps/unix/sysv/linux/arm/nptl/configure: File removed.
8838
bba6da4e
RM
8839 * sysdeps/unix/sysv/linux/arm/clone.S: Include <tcb-offsets.h>.
8840 Deconditionalize the code that was previously under [RESET_PID].
8841 * sysdeps/unix/sysv/linux/arm/nptl/clone.S: File removed.
8842
e0db6517
RM
8843 * sysdeps/generic/exit-thread.h: New file.
8844 * sysdeps/unix/sysv/linux/exit-thread.h: New file.
8845 * include/unistd.h (__exit_thread): Remove declaration.
8846 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Drop exit-thread.
8847 * sysdeps/unix/sysv/linux/exit-thread.S: File removed.
8848 * csu/libc-start.c: Include <exit-thread.h>.
8849 (LIBC_START_MAIN): Pass no argument to __exit_thread.
8850 * nptl/pthread_create.c: Include <exit-thread.h>.
8851 (start_thread): Call __exit_thread in place of __exit_thread_inline.
8852 * nptl/sysdeps/i386/pthreaddef.h (__exit_thread_inline): Macro removed.
8853 * nptl/sysdeps/powerpc/pthreaddef.h: Likewise.
8854 * nptl/sysdeps/s390/pthreaddef.h: Likewise.
8855 * nptl/sysdeps/sh/pthreaddef.h: Likewise.
8856 * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Likewise.
8857 * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Likewise.
8858 * nptl/sysdeps/x86_64/pthreaddef.h: Likewise.
8859 * sysdeps/aarch64/nptl/pthreaddef.h: Likewise.
8860 * sysdeps/alpha/nptl/pthreaddef.h: Likewise.
8861 * sysdeps/arm/nptl/pthreaddef.h: Likewise.
8862 * sysdeps/hppa/nptl/pthreaddef.h: Likewise.
8863 * sysdeps/ia64/nptl/pthreaddef.h: Likewise.
8864 * sysdeps/m68k/nptl/pthreaddef.h: Likewise.
8865 * sysdeps/microblaze/nptl/pthreaddef.h: Likewise.
8866 * sysdeps/mips/nptl/pthreaddef.h: Likewise.
8867 * sysdeps/tile/nptl/pthreaddef.h: Likewise.
8868
01eb16fd
AS
88692014-05-13 Andreas Schwab <schwab@suse.de>
8870
8871 * sysdeps/unix/grantpt.c (grantpt): Fix typo in assertion.
8872
637461d9
JM
88732014-05-12 Joseph Myers <joseph@codesourcery.com>
8874
8875 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__]
8876 (__ASSUME_UTIMES): Do not condition on kernel version.
8877 (__ASSUME_PSELECT): Define unconditionally.
8878 (__ASSUME_PPOLL): Likewise.
8879 (__ASSUME_ATFCTS): Likewise.
8880 (__ASSUME_SET_ROBUST_LIST): Do not condition on kernel version.
8881 (__ASSUME_COMPLETE_READV_WRITEV): Define unconditionally.
8882 (__ASSUME_FUTEX_LOCK_PI): Do not condition on kernel version.
8883 (__ASSUME_UTIMENSAT): Define unconditionally.
8884 (__ASSUME_PRIVATE_FUTEX): Likewise.
8885 (__ASSUME_FALLOCATE): Likewise.
8886 (__ASSUME_O_CLOEXEC): Likewise.
8887 (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Remove.
8888 (__ASSUME_ARG_MAX_STACK_BASED): Likewise.
8889 (__ASSUME_ADJ_OFFSET_SS_READ): Define unconditionally.
8890 (__ASSUME_SOCK_CLOEXEC): Do not condition on kernel version.
8891 (__ASSUME_IN_NONBLOCK): Likewise.
8892 (__ASSUME_PIPE2): Likewise.
8893 (__ASSUME_EVENTFD2): Likewise.
8894 (__ASSUME_SIGNALFD4): Likewise.
8895 (__ASSUME_DUP3): Likewise.
8896 [__x86_64__ || __sparc__] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
8897 (__ASSUME_FUTEX_CLOCK_REALTIME): Define unconditionally.
8898 (__ASSUME_AT_RANDOM): Likewise.
8899 (__ASSUME_PREADV): Likewise.
8900 (__ASSUME_PWRITEV): Likewise.
8901 (__ASSUME_REQUEUE_PI): Do not condition on kernel version.
8902 (__ASSUME_F_GETOWN_EX): Define unconditionally.
8903 (__ASSUME_XFS_RESTRICTED_CHOWN): Likewise.
8904 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
8905 [!__ASSUME_ARG_MAX_STACK_BASED]: Remove conditional code.
8906 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
8907 (__ASSUME_O_CLOEXEC): Define unconditionally.
8908 (__ASSUME_PSELECT): Do not undefine conditionally.
8909 (__ASSUME_PPOLL): Likewise.
8910 (__ASSUME_ATFCTS): Likewise.
8911 (__ASSUME_SET_ROBUST_LIST): Likewise.
8912 (__ASSUME_UTIMENSAT): Likewise.
8913 (__ASSUME_FDATASYNC): Define unconditionally.
8914 * sysdeps/unix/sysv/linux/arm/kernel-features.h
8915 (__ASSUME_SIGFRAME_V2): Likewise.
8916 )__ASSUME_EVENTFD2): Likewise.
8917 (__ASSUME_SIGNALFD4): Likewise.
8918 (__ASSUME_PSELECT): Do not undefine conditionally.
8919 (__ASSUME_PPOLL): Likewise.
8920 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
8921 (__ASSUME_PSELECT): Define unconditionally.
8922 (__ASSUME_PPOLL): Likewise.
8923 (__ASSUME_O_CLOEXEC): Likewise.
8924 (__ASSUME_SOCK_CLOEXEC): Likewise.
8925 (__ASSUME_IN_NONBLOCK): Likewise.
8926 (__ASSUME_PIPE2): Likewise.
8927 (__ASSUME_EVENTFD2): Likewise.
8928 (__ASSUME_SIGNALFD4): Likewise.
8929 (__ASSUME_DUP3): Likewise.
8930 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
8931 (__ASSUME_O_CLOEXEC): Likewise.
8932 (__ASSUME_SOCK_CLOEXEC): Likewise.
8933 (__ASSUME_IN_NONBLOCK): Likewise.
8934 (__ASSUME_PIPE2): Likewise.
8935 (__ASSUME_EVENTFD2): Likewise.
8936 (__ASSUME_SIGNALFD4): Likewise.
8937 (__ASSUME_DUP3): Likewise.
8938 * sysdeps/unix/sysv/linux/mips/kernel-features.h
8939 (__ASSUME_EVENTFD2): Likewise.
8940 (__ASSUME_SIGNALFD4): Likewise.
8941 (__ASSUME_ACCEPT4_SYSCALL): Likewise.
8942
315eb1d8
AS
89432014-05-12 Andreas Schwab <schwab@suse.de>
8944
8945 [BZ #16932]
8946 * nis/nss_nis/nis-hosts.c (internal_gethostbyname2_r)
8947 (_nss_nis_gethostbyname4_r): Return error if item length is larger
8948 than maximum RPC packet size.
8949 * nis/nss_nis/nis-initgroups.c (initgroups_netid): Likewise.
8950 * nis/nss_nis/nis-network.c (_nss_nis_getnetbyname_r): Likewise.
8951 * nis/nss_nis/nis-service.c (_nss_nis_getservbyname_r)
8952 (_nss_nis_getservbyport_r): Likewise.
8953
91df99f7
WN
89542014-05-12 Will Newton <will.newton@linaro.org>
8955
8956 * malloc/Makefile (tests): Add tst-mallopt.
8957 * malloc/tst-mallopt.c: New file.
8958
0a982a29
RM
89592014-05-09 Roland McGrath <roland@hack.frob.com>
8960
8961 * sysdeps/arm/armv7/strcmp.S: Use sfi_breg prefix on loads not from sp.
8962 [NO_THUMB]: Cope without cbz, cnbz, and orn instructions.
8963
0ded08a5
AZ
89642014-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8965
8966 * elf/Makefile (tst-tlsmod5.so): Add $(no-as-needed).
8967 (tst-tlsmod6.so): Likewise.
8968
55d4d550
RM
89692014-05-09 Roland McGrath <roland@hack.frob.com>
8970
8971 * sysdeps/gnu/unwind-resume.c (libgcc_s_resume): Mark as noreturn.
8972
77d08aca
JM
89732014-05-09 Joseph Myers <joseph@codesourcery.com>
8974
8975 [BZ #16064]
8976 * sysdeps/i386/fpu/fegetenv.c: Include <unistd.h>, <ldsodefs.h>
8977 and <dl-procinfo.h>.
8978 (__fegetenv): Save SSE state in envp->__eip if supported.
8979 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Save SSE state in
8980 envp->__eip if supported.
8981 * sysdeps/i386/fpu/fesetenv.c: Include <unistd.h>, <ldsodefs.h>
8982 and <dl-procinfo.h>.
8983 (__fesetenv): Always set __eip, __cs_selector, __opcode,
8984 __data_offset and __data_selector in environment to 0. Set SSE
8985 state if supported.
8986 * sysdeps/x86/fpu/Makefile [$(subdir) = math] (tests): Add
8987 test-fenv-sse.
8988 [$(subdir) = math] (CFLAGS-test-fenv-sse.c): Add -msse2
8989 -mfpmath=sse.
8990 * sysdeps/x86/fpu/test-fenv-sse.c: New file.
8991
28162f4d
WN
89922014-05-09 Will Newton <will.newton@linaro.org>
8993
8994 * sysdeps/arm/preconfigure.ac: Set libc_commonpagesize
8995 and libc_relro_required for ARM.
8996 * sysdeps/arm/preconfigure: Regenerate.
8997
5a414ff7
DV
89982014-05-09 Dominik Vogt <vogt@linux.vnet.ibm.com>
8999 Stefan Liebler <stli@linux.vnet.ibm.com>
9000
9001 * config.make.in (enable-lock-elision): New Makefile variable.
9002 * configure.ac: Likewise.
9003 * configure: Regenerate.
9004 * sysdeps/s390/configure.ac:
9005 Add check for gcc transactions support.
9006 * sysdeps/s390/configure: Regenerate.
9007 * nptl/sysdeps/unix/sysv/linux/s390/Makefile: New file.
9008 Build elision files if enabled.
9009 * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: New file.
9010 Add lock elision support for s390.
9011 * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Likewise.
9012 * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Likewise.
9013 * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Likewise.
9014 * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Likewise.
9015 * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Likewise.
9016 * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Likewise.
9017 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
9018 Likewise.
9019 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c:
9020 Likewise.
9021 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c:
9022 Likewise.
9023 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c:
9024 Likewise.
9025 * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h:
9026 (__lll_timedlock_elision, __lll_lock_elision)
9027 (__lll_unlock_elision, __lll_trylock_elision)
9028 (lll_timedlock_elision, lll_lock_elision)
9029 (lll_unlock_elision, lll_trylock_elision): Add.
9030 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
9031 (pthread_mutex_t): Add lock elision support for s390.
9032
1a2f40e5
W
90332014-05-14 Wilco <wdijkstr@arm.com>
9034
9035 * sysdeps/arm/fclrexcpt.c: Cleanup.
9036 * sysdeps/arm/fedisblxcpt.c: Cleanup.
9037 * sysdeps/arm/feenablxcpt.c: Cleanup.
9038 * sysdeps/arm/fegetenv.c: Cleanup.
9039 * sysdeps/arm/fegetexcept.c: Cleanup.
9040 * sysdeps/arm/fegetround.c: Cleanup.
9041 * sysdeps/arm/feholdexcpt.c: Cleanup.
9042 * sysdeps/arm/fesetenv.c: Cleanup.
9043 * sysdeps/arm/fesetround.c: Cleanup.
9044 * sysdeps/arm/feupdateenv.c: Cleanup.
9045 * sysdeps/arm/fgetexcptflg.c: Cleanup.
9046 * sysdeps/arm/fraiseexcpt.c: Cleanup.
9047 * sysdeps/arm/fsetexcptflg.c: Cleanup.
9048 * sysdeps/arm/ftestexcept.c: Cleanup.
9049 * sysdeps/arm/get-rounding-mode.h: Cleanup.
9050 * sysdeps/arm/setfpucw.c: Cleanup.
9051
f63c86fe
WN
90522014-05-09 Will Newton <will.newton@linaro.org>
9053
9054 * sysdeps/arm/armv7/strcmp.S: New file.
9055 * NEWS: Mention addition of ARMv7 optimized strcmp.
9056
7a1a51b5
RM
90572014-05-08 Roland McGrath <roland@hack.frob.com>
9058
95afbbe5
RM
9059 * Makeconfig ($(common-objpfx)config.status): Fix patsubst uses to
9060 look for %.ac rather than %.in.
9061
9062 * sysdeps/mach/hurd/configure.ac (inhibit_glue): Remove variable.
9063 * sysdeps/unix/sysv/linux/configure.ac: Likewise.
9064 * sysdeps/mach/hurd/configure: Regenerated.
9065 * sysdeps/unix/sysv/linux/configure: Regenerated.
9066
7a1a51b5
RM
9067 * bits/utsname.h (_UTSNAME_DOMAIN_LENGTH): New macro, set to 0.
9068
5057ad3b
SE
90692014-05-07 Steve Ellcey <sellcey@mips.com>
9070
9071 [BZ# 16922]
9072 * sysdeps/mips/sys/asm.h (INT_SUB): Fix definition.
9073 (LONG_SUB): Ditto.
9074 (PTR_SUB): Ditto.
9075
8dc97517
AS
90762014-05-07 Andreas Schwab <schwab@suse.de>
9077
9078 * sysdeps/posix/getaddrinfo.c (gaih_inet): Advance address pointer
9079 when skipping over non-matching result from nscd.
9080
ce0c5b8f
OB
90812014-05-07 Ondřej Bílka <neleai@seznam.cz>
9082
9083 [BZ #16876]
9084 * nptl/sockperf.c (client): Check socket return value.
8dc97517 9085
a1189263
OB
9086 [BZ #16877]
9087 * nscd/selinux.c (nscd_request_avc_has_perm): Check if there is
9088 nscd security class.
ce0c5b8f 9089
0f58d252
RM
90902014-05-06 Roland McGrath <roland@hack.frob.com>
9091
9092 * sysdeps/unix/sysv/linux/arm/nptl/unwind.h: File moved to ...
9093 * sysdeps/arm/unwind.h: ... here.
9094
83df9ad0
AJ
90952014-05-06 Aurelien Jarno <aurelien@aurel32.net>
9096
ce0c5b8f
OB
9097 [BZ# 16916]
9098 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h (EFD_SEMAPHORE):
9099 Define.
83df9ad0 9100
f360f94a
VR
91012014-05-06 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
9102
9103 * sysdeps/powerpc/powerpc64/power7/strncpy.S: New file: Optimization.
9104 * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: New file:
9105 multiarch strncpy for PPC64.
9106 * sysdeps/powerpc/powerpc64/multiarch/strncpy-ppc64.c: New file
9107 * sysdeps/powerpc/powerpc64/multiarch/strncpy-power7.S: New file
9108 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpcpy, stpncpy
9109 multiarch optimizations.
9110 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
9111 (__libc_ifunc_impl_list): Likewise.
9112 * sysdeps/powerpc/powerpc64/power7/stpncpy.S: New file: Optimization.
9113 * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: New file:
9114 multiarch stpncpy for PPC64.
9115 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-ppc64.c: New file
9116 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power7.S: New file
9117
978a41c3
AS
91182014-05-06 Andreas Schwab <schwab@suse.de>
9119
9120 [BZ #16912]
9121 * gmon/mcount.c (_MCOUNT_DECL): Use
9122 atomic_compare_and_exchange_bool_acq instead of
9123 catomic_compare_and_exchange_bool_acq.
9124
eb1ed03d
RM
91252014-05-05 Roland McGrath <roland@hack.frob.com>
9126
fe658845
RM
9127 * elf/Makefile (others, install-bin): Remove pldd.
9128 (pldd-modules): Variable removed.
9129 ($(objpfx)pldd): Target removed.
9130 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = elf]
9131 (others, install-bin): Append pldd here.
9132 ($(objpfx)pldd): New target.
9133
eb1ed03d
RM
9134 * sysdeps/gnu/errlist.awk (BEGIN): Emit an initial #define of ERR_MAX
9135 to 0, so the first #if test emitted later doesn't see it undefined.
9136 (END): Emit "!defined ERRLIST_NO_COMPAT" to match what BEGIN does.
9137 * sysdeps/gnu/errlist.c: Regenerated.
9138
19c4bec0
AZ
91392014-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9140
9141 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
9142 [libc_hidden_builtin_def]: Define to empty value.
9143 * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S:
9144 [libc_hidden_builtin_def]: Likewise.
9145 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S:
9146 [libc_hidden_builtin_def]: Likewise.
9147 * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S:
9148 [libc_hidden_builtin_def]: Likewise.
9149 * sysdeps/powerpc/powerpc64/multiarch/memcpy.c (memcpy): Redefined to
9150 __redirect_memcpy and define ifunc as default hidden symbol.
9151 * sysdeps/powerpc/powerpc64/multiarch/memset.c (memset): Likewise.
9152 * sysdeps/powerpc/powerpc64/multiarch/strlen.c (strlen): Likewise.
9153
7776e669
AC
91542014-05-04 Adam Conrad <adconrad@0c3.net>
9155
9156 * locale/iso-4217.def: Reintroduce XDR currency.
9157
d69aeb12
AM
91582014-05-04 Allan McRae <allan@archlinux.org>
9159
9160 * po/eo.po: Update Esperanto translation from translation project.
9161
8f1df5cf
CD
91622014-05-02 Carlos O'Donell <carlos@redhat.com>
9163
9164 * sysdeps/x86_64/multiarch/init-arch.h: Define FEATURE_INDEX_1 to 0,
9165 and FEATURE_INDEX_MAX to 1.
9166 [!__ASSEMBLER__]: Remove anonymous enum for FEATURE_INDEX_*.
9167
13e402e7
SE
91682014-05-01 Steve Ellcey <sellcey@mips.com>
9169
9170 * iconvdata/ansi_x3.110.c (ONE_DIRECTION): Define.
9171 * iconvdata/armscii-8.c (ONE_DIRECTION): Define.
9172 * iconvdata/big5.c (ONE_DIRECTION): Define.
9173 * iconvdata/big5hkscs.c (ONE_DIRECTION): Define.
9174 * iconvdata/cp1255.c (ONE_DIRECTION): Define.
9175 * iconvdata/cp1258.c (ONE_DIRECTION): Define.
9176 * iconvdata/cp932.c (ONE_DIRECTION): Define.
9177 * iconvdata/euc-cn.c (ONE_DIRECTION): Define.
9178 * iconvdata/euc-jisx0213.c (ONE_DIRECTION): Define.
9179 * iconvdata/euc-jp-ms.c (ONE_DIRECTION): Define.
9180 * iconvdata/euc-jp.c (ONE_DIRECTION): Define.
9181 * iconvdata/euc-kr.c (ONE_DIRECTION): Define.
9182 * iconvdata/euc-tw.c (ONE_DIRECTION): Define.
9183 * iconvdata/gb18030.c (ONE_DIRECTION): Define.
9184 * iconvdata/gbbig5.c (ONE_DIRECTION): Define.
9185 * iconvdata/gbgbk.c (ONE_DIRECTION): Define.
9186 * iconvdata/gbk.c (ONE_DIRECTION): Define.
9187 * iconvdata/ibm1364.c (ONE_DIRECTION): Define.
9188 * iconvdata/ibm930.c (ONE_DIRECTION): Define.
9189 * iconvdata/ibm932.c (ONE_DIRECTION): Define.
9190 * iconvdata/ibm933.c (ONE_DIRECTION): Define.
9191 * iconvdata/ibm935.c (ONE_DIRECTION): Define.
9192 * iconvdata/ibm937.c (ONE_DIRECTION): Define.
9193 * iconvdata/ibm939.c (ONE_DIRECTION): Define.
9194 * iconvdata/ibm943.c (ONE_DIRECTION): Define.
9195 * iconvdata/iso-2022-cn-ext.c (ONE_DIRECTION): Define.
9196 * iconvdata/iso-2022-cn.c (ONE_DIRECTION): Define.
9197 * iconvdata/iso-2022-jp-3.c (ONE_DIRECTION): Define.
9198 * iconvdata/iso-2022-jp.c (ONE_DIRECTION): Define.
9199 * iconvdata/iso-2022-kr.c (ONE_DIRECTION): Define.
9200 * iconvdata/iso646.c (ONE_DIRECTION): Define.
9201 * iconvdata/iso8859-1.c (ONE_DIRECTION): Define.
9202 * iconvdata/iso_11548-1.c (ONE_DIRECTION): Define.
9203 * iconvdata/iso_6937-2.c (ONE_DIRECTION): Define.
9204 * iconvdata/iso_6937.c (ONE_DIRECTION): Define.
9205 * iconvdata/johab.c (ONE_DIRECTION): Define.
9206 * iconvdata/shift_jisx0213.c (ONE_DIRECTION): Define.
9207 * iconvdata/sjis.c (ONE_DIRECTION): Define.
9208 * iconvdata/t.61.c (ONE_DIRECTION): Define.
9209 * iconvdata/tcvn5712-1.c (ONE_DIRECTION): Define.
9210 * iconvdata/tscii.c (ONE_DIRECTION): Define.
9211 * iconvdata/uhc.c (ONE_DIRECTION): Define.
9212 * iconvdata/unicode.c (ONE_DIRECTION): Define.
9213 * iconvdata/utf-16.c (ONE_DIRECTION): Define.
9214 * iconvdata/utf-32.c (ONE_DIRECTION): Define.
9215 * iconvdata/utf-7.c (ONE_DIRECTION): Define.
9216
c727f032
RM
92172014-05-01 Roland McGrath <roland@hack.frob.com>
9218
8f2f08d0
RM
9219 * libio/libioP.h [!_IO_USE_OLD_IO_FILE && !_G_IO_NO_BACKWARD_COMPAT]
9220 (_IO_JUMPS_OFFSET): Define to 0.
9221
c727f032
RM
9222 * nptl/sysdeps/pthread/bits/libc-lock.h
9223 [_LIBC && (!NOT_IN_libc || IS_IN_libpthread)]
9224 (__libc_lock_define_initialized_recursive): Always define using
9225 initializer. Modern compilers treat uninitialized (implicit zero) and
9226 explicit zero initializers the same (i.e. put the datum in bss).
9227
a849e800
AS
92282014-05-01 Andreas Schwab <schwab@linux-m68k.org>
9229
9230 * nscd/nscd-client.h: Include <string.h>.
9231
5331255b
DM
92322014-05-01 David S. Miller <davem@davemloft.net>
9233
9234 [BZ #16885]
9235 * sysdeps/sparc/sparc64/strcmp.S: Fix end comparison handling when
9236 multiple zero bytes exist at the end of a string.
9237 Reported by Aurelien Jarno <aurelien@aurel32.net>
9238
9239 * string/test-strcmp.c (check): Add explicit test for situations where
9240 there are multiple zero bytes after the first.
9241
4fdfe821
AS
92422014-05-01 Andreas Schwab <schwab@linux-m68k.org>
9243
9244 [BZ #16890]
9245 * stdio-common/vfprintf.c (process_arg) [%p]: Mark string as wide
9246 when compiling wprintf.
9247 * stdio-common/tstdiomisc.c (t3): New function.
9248 (main): Call it.
9249
0cdddc25
SE
92502014-05-01 Steve Ellcey <sellcey@mips.com>
9251
9252 * intl/iconv/skeleton.c (ONE_DIRECTION): Remove define.
9253 * iconv/gconv_simple.c (ONE_DIRECTION): Define.
9254 * iconvdata/8bit-gap.c (ONE_DIRECTION): Ditto.
9255 * iconvdata/8bit-generic.c (ONE_DIRECTION): Ditto.
9256
6426d77e
SE
92572014-05-01 Steve Ellcey <sellcey@mips.com>
9258
9259 * stdlib/longlong.h: Updated from GCC.
9260
6d96f5e4
WN
92612014-05-01 Will Newton <will.newton@linaro.org>
9262 Bernard Ogden <bernie.ogden@linaro.org>
9263
7470db0c
WN
9264 * NEWS: Update fixed bug list.
9265
6d96f5e4
WN
9266 [BZ #15119]
9267 * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.c: Remove file.
9268
211d653c
DM
92692014-04-30 David S. Miller <davem@davemloft.net>
9270
4fa262fa
DM
9271 * sysdeps/sparc/fpu/fenv_private.h (HAVE_RM_CTX): Define.
9272 (libc_feholdexcept_setround_sparc_ctx): New function.
9273 (libc_fesetenv_sparc_ctx): Likewise.
9274 (libc_feupdateenv_sparc_ctx): Likewise.
9275 (libc_feholdsetround_sparc_ctx): Likewise.
9276 (libc_feholdexcept_setround_ctx): Define.
9277 (libc_feholdexcept_setroundf_ctx): Likewise.
9278 (libc_feholdexcept_setroundl_ctx): Likewise.
9279 (libc_fesetenv_ctx): Likewise.
9280 (libc_fesetenvf_ctx): Likewise.
9281 (libc_fesetenvl_ctx): Likewise.
9282 (libc_feupdateenv_ctx): Likewise.
9283 (libc_feupdateenvf_ctx): Likewise.
9284 (libc_feupdateenvl_ctx): Likewise.
9285 (libc_feresetround_ctx): Likewise.
9286 (libc_feresetroundf_ctx): Likewise.
9287 (libc_feresetroundl_ctx): Likewise.
9288 (libc_feholdsetround_ctx): Likewise.
9289 (libc_feholdsetroundf_ctx): Likewise.
9290 (libc_feholdsetroundl_ctx): Likewise.
9291
1d3d93ef
DM
9292 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
9293 with __USE_GNU instead of XOPEN cpp guards.
9294
8aa583c3
DM
9295 * sysdeps/sparc/bits/string.h (_STRING_ARCH_unaligned): Define to
9296 0.
9297
211d653c
DM
9298 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
9299 with XOPEN cpp guards.
9300
60c8f1f6
JB
93012014-04-30 Julian Brown <julian@codesourcery.com>
9302
9303 [BZ #16888]
9304 * sysdeps/arm/dl-machine.h (elf_machine_rela): Fix R_ARM_IRELATIVE
9305 handling.
9306
9a461d46
JM
93072014-04-30 Joseph Myers <joseph@codesourcery.com>
9308
d0f5b3f8
JM
9309 [BZ #9894]
9310 * sysdeps/unix/sysv/linux/configure.ac (LIBC_LINUX_VERSION):
9311 Change to 2.6.32.
9312 (arch_minimum_kernel): Change all 2.6.16 settings to 2.6.32.
9313 * sysdeps/unix/sysv/linux/configure: Regenerated.
9314 * sysdeps/unix/sysv/linux/microblaze/configure.ac: Remove file.
9315 * sysdeps/unix/sysv/linux/microblaze/configure: Likewise.
9316 * sysdeps/unix/sysv/linux/tile/configure.ac: Likewise.
9317 * sysdeps/unix/sysv/linux/tile/configure: Likewise.
9318 * README: Update reference to required Linux kernel version.
9319 * manual/install.texi (Linux): Update reference to required Linux
9320 kernel headers version.
9321 * INSTALL: Regenerated.
9322
9a461d46
JM
9323 * conform/data/stdlib.h-data [POSIX] (stddef.h): Do not allow
9324 header inclusion.
9325 [POSIX] (limits.h): Likewise.
9326 [POSIX] (math.h): Likewise.
9327 [POSIX] (sys/wait.h): Likewise.
9328 * conform/data/string.h-data [POSIX || UNIX98] (strtok_r): Require
9329 function.
9330 [POSIX] (stddef.h): Do not allow header inclusion.
9331
1775babf
AZ
93322014-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9333
57f41c40 9334 * sysdeps/generic/symbol-hacks.h (memcpy): Add internal alias.
1775babf 9335
8f630cca
YY
93362014-04-30 Yang Yingliang <yangyingliang@huawei.com>
9337
9338 * nptl/pthread_cond_broadcast.c (__pthread_cond_broadcast):
9339 Return immediately after lll_futex_wake.
9340
1cdeb237
SP
93412014-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
9342
bc8f194c
SP
9343 [BZ #16791]
9344 * nscd/nscd-client.h (datahead_init_common): Initialize entire
9345 structure.
9346 (datahead_init_pos): Call datahead_init_common early.
9347 (datahead_init_neg): Likewise.
9348
1cdeb237
SP
9349 * nscd/nscd-client.h (datahead_init_common, datahead_init_pos,
9350 datahead_init_neg): New functions.
9351 * nscd/aicache.c (addhstaiX): Use them.
9352 * nscd/grpcache.c (cache_addgr): Likewise.
9353 * nscd/hstcache.c (cache_addhst): Likewise.
9354 * nscd/initgrcache.c (addinitgroupsX): Likewise.
9355 * nscd/netgroupcache.c (do_notfound): Likewise.
9356 (addgetnetgrentX): Likewise.
9357 (addinnetgrX): Likewise.
9358 * nscd/pwdcache.c (cache_addpw): Likewise.
9359 * nscd/servicescache.c (cache_addserv): Likewise.
9360
16b293a7
SP
93612014-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
9362 Atsushi Onoe <atsushi@onoe.org>
9363
9364 [BZ #14308]
9365 [BZ #12994]
9366 [BZ #13651]
9367 * resolv/res_query.c (__libc_res_nsearch): Return if at least
9368 one response is valid.
9369 * resolv/res_send.c (send_dg): Check for validity of other
9370 response if the current response is a referral.
9371
a28a9b94
SE
93722014-04-29 Steve Ellcey <sellcey@mips.com>
9373
9374 * iconv/skeleton.c (ONE_DIRECTION): Set default value if not set.
9375
2ca180e9
SL
93762014-04-29 Stefan Liebler <stli@linux.vnet.ibm.com>
9377
9378 [BZ #16823]
9379 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl):
9380 Always divide by positive zero when computing -Inf result.
9381 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
9382 * sysdeps/ieee754/flt-32/s_log1pf.c (__log1pf): Likewise.
9383
18f2945a
AZ
93842014-04-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9385
9386 * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Do not update
9387 FPSCR if value do not change.
9388 * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
9389 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Likewise.
9390 * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Likewise.
9391 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
9392 * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Likewise.
9393 * sysdeps/powerpc/fpu/fenv_libc.h (fenv_reg_to_exceptions): New helper
9394 function.
9395
5abebba4
CD
93962014-05-29 Carlos O'Donell <carlos@systemhalted.org>
9397
9398 * sysdeps/hppa: Move directory from ports/sysdeps/hppa.
9399 * sysdeps/unix/sysv/linux/hppa: Move directory from
9400 ports/systeps/unix/sysv/linux/hppa.
9401 * README: Update listing for hppa-*-linux-gnu.
9402
f7ed60c2
OB
94032014-04-28 Ondřej Bílka <neleai@seznam.cz>
9404
fff763a5
OB
9405 [BZ #16754]
9406 * manual/stdio.texi (Hook functions): Fix types of stream hook
9407 functions.
f7ed60c2
OB
9408 [BZ #16854]
9409 * socket/sys/socket.h: Fix typo in comment.
9410
df639d73
WD
94112014-04-28 Wilco <wdijkstr@arm.com>
9412
f7ed60c2 9413 * sysdeps/arm/fenv_private.h: New file.
df639d73
WD
9414 * sysdeps/arm/math_private.h: New file.
9415 * sysdeps/arm/fpu_control.h: Add _FPU_MASK_NCZV and _FPU_MASK_EXCEPT.
9416
48332d82
L
94172014-04-25 H.J. Lu <hongjiu.lu@intel.com>
9418
9419 * sysdeps/x86/bits/link.h (La_x86_64_regs): Replace __int128
9420 with __int128_t.
9421 (La_x86_64_retval): Likewise.
9422
e5e0d9a4
IB
94232014-04-24 Ian Bolton <ian.bolton@arm.com>
9424
9425 * sysdeps/aarch64/fpu/fclrexcpt.c (feclearexcept): Don't write to
9426 fpsr if value didn't change.
9427 * sysdeps/aarch64/fpu/fedisblxcpt.c (fedisableexcept): Don't write
9428 to fpcr if value didn't change.
9429 * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Likewise.
9430 * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Don't write to
9431 fpsr or fpcr if value didn't change.
9432 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
9433 * sysdeps/aarch64/fpu/fesetround.c (fesetround): Don't write to
9434 fpcr if value didn't change.
9435 * sysdeps/aarch64/fpu/fsetexcptflg.c (fesetexceptflag): Don't write
9436 to fpsr if value didn't change.
9437
bacc75f7
SP
94382014-02-23 Siddhesh Poyarekar <siddhesh@redhat.com>
9439
9440 * nptl/tst-sem3.c: Use test-skeleton.c
9441 (main): Rename to do_test. Use return instead of
9442 exit.
9443 * nptl/tst-sem4.c: Use test-skeleton.c
9444 (main): Rename to do_test.
9445
a059d359
DM
94462014-04-22 David S. Miller <davem@davemloft.net>
9447
9448 * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h
9449 (struct sigaction): New struct member __glibc_reserved0, change
9450 type of sa_flags to int.
9451
ea6c92f3
YZ
94522014-04-22 Yufeng Zhang <yufeng.zhang@arm.com>
9453
9454 * stdlib/longlong.h (count_leading_zeros, count_trailing_zeros)
9455 (COUNT_LEADING_ZEROS_0): Define for AArch64.
9456
766c4a36
SP
94572014-04-22 Siddhesh Poyarekar <siddhesh@redhat.com>
9458
9459 * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Include atomic.h.
9460 * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Likewise.
9461
140cc7ab
VK
94622014-04-22 Will Newton <will.newton@linaro.org>
9463 Venkataramanan Kumar <venkataramanan.kumar@linaro.org>
9464
9465 * sysdeps/aarch64/__longjmp.S: Include stap-probe.h.
9466 (__longjmp): Add longjmp and longjmp_target SystemTap
9467 probes.
9468 * sysdeps/aarch64/setjmp.S: Include stap-probe.h.
9469 (__sigsetjmp): Add setjmp SystemTap probe.
9470
c54e5cf7
CD
94712014-04-17 Carlos O'Donell <carlos@redhat.com>
9472
9473 * manual/intro.texi (Roadmap to the manual): Sort chapter listing to
9474 match manual order.
9475
75ffb047
AZ
94762014-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9477
9478 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_once.c: Remove file.
9479
2cd925f7
AZ
9480 * sysdeps/powerpc/fpu/fenv_private.h
9481 (libc_feholdexcept_setroundl_ctx): Define to
9482 libc_feholdexcept_setround_ppc_ctx.
9483 (libc_fesetenvl_ctx): Define to libc_fesetenv_ppc_ctx.
9484 (libc_feholdsetroundl_ctx): Define to libc_feholdsetround_ppc_ctx.
9485 (libc_feresetroundl_ctx): Define to libc_feresetround_ppc_ctx.
9486 (libc_feupdateenvl_ctx): libc_feupdateenv_ppc_ctx.
9487
39e6cd8d
IB
94882014-04-17 Ian Bolton <ian.bolton@arm.com>
9489
9490 * sysdeps/aarch64/math-tests.h: New file.
9491
f9281df9
SY
94922014-04-17 Sihai Yao <sihai.ysh@alibaba-inc.com>
9493
9494 * sysdeps/x86_64/multiarch/ifunc-defines.sym (COMMON_CPUID_INDEX_7):
9495 New.
9496 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
9497 Check and set bit_AVX2_Usable.
9498 * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX2_Usable): New
9499 macro.
9500 (bit_AVX2): Likewise.
9501 (index_AVX2_Usable): Likewise.
9502 (CPUID_AVX2): Likewise.
9503 (HAS_AVX2): Likewise.
9504
37d35007
WN
95052014-04-17 Will Newton <will.newton@linaro.org>
9506
7c677662
WN
9507 * manual/setjmp.texi (System V contexts): Add note that
9508 calling setcontext on a context created by a call to a
9509 signal handler is undefined. Update text to note that
9510 setcontext from a signal handler is possible but not
9511 recommended.
9512
37d35007 9513 [BZ #16629]
e04a4e9d
WN
9514 * stdlib/tst-setcontext.c: Include signal.h.
9515 (main): Check that the signal stack before and
9516 after swapcontext is the same.
9517
37d35007
WN
9518 * sysdeps/unix/sysv/linux/aarch64/setcontext.S (__setcontext):
9519 Re-implement to restore registers in user code and avoid
9520 rt_sigreturn system call.
9521
423a7160
W
95222014-04-17 Wilco <wdijkstr@arm.com>
9523
9524 * sysdeps/arm/math-tests.h: New file: Set ARM math-test settings.
9525 * sysdeps/generic/math-tests.h: Add macro (EXCEPTION_ENABLE_SUPPORTED).
9526 * math/test-fenv.c: Skip exception trap tests on targets which only
9527 support non-stop mode.
9528
bc93ab29
IB
95292014-04-17 Ian Bolton <ian.bolton@arm.com>
9530 Wilco Dijkstra <wilco.dijkstra@arm.com>
9531
9532 * sysdeps/aarch64/fpu/math_private.h (HAVE_RM_CTX)
9533 (libc_feholdsetround_aarch64_ctx)
9534 (libc_feholdsetround_ctx, libc_feholdsetroundf_ctx)
9535 (libc_feholdsetroundl_ctx, libc_feresetround_aarch64_ctx)
9536 (libc_feresetround_ctx, libc_feresetroundf_ctx)
9537 (libc_feresetroundl_ctx, libc_feresetround_noex_aarch64_ctx)
9538 (libc_feresetround_noex_ctx, libc_feresetround_noexf_ctx)
9539 (libc_feresetround_noexl_ctx): Define.
9540
95fc5fa3
RH
95412014-04-16 Richard Henderson <rth@redhat.com>
9542
ddb04724
RH
9543 * sysdeps/unix/sysv/linux/alpha/nptl/pthread_once.c: Remove.
9544
d77c0899
RH
9545 * sysdeps/alpha/Makefile [debug] (CFLAGS-backtrace.c): Enable
9546 unwind tables.
9547
a3df56fc
RH
9548 * sysdeps/unix/alpha/sysdep.h (__pointer_chk_guard): Remove
9549 const from the non-libc, non-ldso copy.
9550
95fc5fa3
RH
9551 * sysdeps/alpha/libm-test-ulps: Regenerate.
9552
7e0b6763
IB
95532014-04-16 Ian Bolton <ian.bolton@arm.com>
9554 Wilco Dijkstra <wilco.dijkstra@arm.com>
9555
9556 * sysdeps/aarch64/fpu/math_private.h: New file.
9557
a9ea2e0c
MS
95582014-04-16 Marcus Shawcroft <marcus.shawcroft@arm.com>
9559
9560 * sysdeps/aarch64/libm-test-ulps: Regenerate.
9561
ea8ba7cd
IZ
95622014-04-16 Igor Zamyatin <igor.zamyatin@intel.com>
9563
7e54fd04 9564 [BZ #16275]
ea8ba7cd
IZ
9565 * sysdeps/x86_64/bits/link.h (La_x86_64_regs): Add lr_bnd.
9566 (La_x86_64_retval): Add lrv_bnd0 and lrv_bnd1.
9567 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Save
9568 Intel MPX bound registers before _dl_profile_fixup.
9569 * sysdeps/x86_64/dl-trampoline.h: Restore Intel MPX bound
9570 registers after _dl_profile_fixup. Save and restore bound
9571 registers bnd0/bnd1 when calling _dl_call_pltexit.
9572 * sysdeps/x86_64/link-defines.sym (BND_SIZE): New.
9573 (LR_BND_OFFSET): Likewise.
9574 (LRV_BND0_OFFSET): Likewise.
9575 (LRV_BND1_OFFSET): Likewise.
9576
9f2a4fbc
ST
95772014-04-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
9578
9579 * sysdeps/mach/hurd/tls.h (dtv, dtv_t, tcbhead_t): Move declarations
9580 to...
9581 * sysdeps/mach/hurd/i386/tls.h: ... here.
3c799e91
ST
9582 (tcbhead_t): Add multiple_threads, sysinfo, stack_guard,
9583 pointer_guard, gscope_flag, private_futex, __private_tm, __private_ss
9584 fields.
9f2a4fbc 9585
fd15a59b
ST
95862014-04-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
9587
9588 * sysdeps/mach/munmap.c (__munmap): Return EINVAL if `addr' is 0.
9589
f19dfa0a
SL
95902014-04-16 Stefan Liebler <stli@linux.vnet.ibm.com>
9591
9592 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
9593
4fa8bc3b
SL
95942014-04-16 Stefan Liebler <stli@linux.vnet.ibm.com>
9595
9596 [BZ #14770]
9597 * sysdeps/s390/configure.ac: Check for Binutils >= 2.24.
9598 * sysdeps/s390/configure: Regenerate.
9599
8ea587db
SL
9600 [BZ #16824]
9601 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l):
9602 Set round-to-nearest internally to reduce error accumulation.
9603
aa5f0ff1
AM
96042014-04-16 Alan Modra <amodra@gmail.com>
9605
9606 [BZ #16740]
9607 [BZ #16619]
9608 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Rewrite.
9609 * math/libm-test.inc (frexp_test_data): Add tests.
9860b045 9610 * NEWS: Update fixed bug list.
aa5f0ff1 9611
bb9c256f
SP
96122014-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
9613
9614 * benchtests/Makefile: Depend on libraries in build directory.
9615 (bench-math): Separate out math tests.
9616 (bench-pthread): Separate out pthread tests.
9617 (bench): Include math and pthread tests.
9618
f737dfd0
CD
96192014-04-14 Carlos O'Donell <carlos@redhat.com>
9620
9621 [BZ #16831]
9622 * csu/libc-start.c (LIBC_START_MAIN) [!SHARED]: Call
9623 _dl_debug_initialize.
9624
0699f766
CD
9625 * configure.ac: Remove SELinux header check.
9626 * configure: Regenerate.
9627 * nscd/selinux.c (perms): Array of const char* to permission names.
9628 (nscd_request_avc_has_perm): Call security_deny_unknown to find
9629 default policy. Call string_to_security_class and string_to_av_perm to
9630 translate strings. Enforce default policy and call avs_has_perm with
9631 results of translated strings.
9632
809bd45f
DM
96332014-04-13 David S. Miller <davem@davemloft.net>
9634
9635 * sysdeps/sparc/fpu/libm-test-ulps: Update.
9636
89e691f2
AM
96372014-04-12 Allan McRae <allan@archlinux.org>
9638
9639 [BZ #16838]
9640 * manual/string.texi (Collation Functions): Fix qsort argument
9641 order in example.
9642 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
9643
9c9daaeb
CM
96442014-04-11 Chris Metcalf <cmetcalf@tilera.com>
9645
9646 * math/test-fenv-preserve.c [FE_ALL_EXCEPT == 0] (do_test):
9647 Make the test a no-op if there are no exceptions defined.
9648
95561fb9
PP
96492014-04-11 Paul Pluzhnikov <ppluzhnikov@google.com>
9650
fe8d072c 9651 * elf/Makefile (tests): make tst-dlopen-aout conditional on
95561fb9
PP
9652 enable-hardcoded-path-in-tests
9653
970c602a
WN
96542014-04-11 Will Newton <will.newton@linaro.org>
9655
9656 * benchtests/Makefile (extra-objs): Add json-lib.o.
9657 (bench-func): Tidy up JSON output.
9658 * benchtests/bench-skeleton.c: Include json-lib.h.
9659 (main): Use JSON library functions to do output of
9660 benchmark results.
9661 * benchtests/bench-timing-type.c (main): Output the
9662 timing type simply, leaving formatting to the user.
9663 * benchtests/json-lib.c: New file.
9664 * benchtests/json-lib.h: Likewise.
9665
36875b06
TR
96662014-04-11 Torvald Riegel <triegel@redhat.com>
9667
9668 [BZ #15215]
9669 * nptl/sysdeps/unix/sysv/linux/sparc/pthread_once.c: Moved to ...
9670 * nptl/sysdeps/unix/sysv/linux/pthread_once.c: ... here. Add missing
9671 memory barriers. Add comments.
9672 * sysdeps/unix/sysv/linux/aarch64/nptl/pthread_once.c: Remove file.
9673 * sysdeps/unix/sysv/linux/arm/nptl/pthread_once.c: Remove file.
9674 * sysdeps/unix/sysv/linux/ia64/nptl/pthread_once.c: Remove file.
9675 * sysdeps/unix/sysv/linux/m68k/nptl/pthread_once.c: Remove file.
9676 * sysdeps/unix/sysv/linux/mips/nptl/pthread_once.c: Remove file.
9677 * sysdeps/unix/sysv/linux/tile/nptl/pthread_once.c: Remove file.
9678
579db35a
SL
96792014-04-11 Stefan Liebler <stli@linux.vnet.ibm.com>
9680
9681 * sysdeps/s390/s390-32/configure.ac: Unify file with ...
9682 * sysdeps/s390/s390-64/configure.ac: ... this ...
9683 * sysdeps/s390/configure.ac: ... to here.
9684 * sysdeps/s390/s390-32/configure: Delete file.
9685 * sysdeps/s390/s390-64/configure: Delete file.
9686 * sysdeps/s390/configure: Regenerate.
9687
c12e9f37
JAPH
96882014-04-11 Joseph Anthony Pasquale Holsten <joseph@josephholsten.com>
9689
9690 * resolv/res_query.c (__libc_res_nsearch): Fix typo in comment.
9691
439bda32
WN
96922014-04-11 Will Newton <will.newton@linaro.org>
9693
9694 * malloc/malloc.c [!MALLOC_DEBUG]: #define MALLOC_DEBUG
9695 to zero if it is not defined elsewhere. (mtrim): Test
9696 the value of MALLOC_DEBUG with #if rather than #ifdef.
9697
6a5d6ea1
TR
96982014-04-10 Torvald Riegel <triegel@redhat.com>
9699
9700 * benchtests/pthread_once-inputs: New file.
9701 * benchtests/pthread_once-source.c: New file.
9702 * benchtests/README: Update documentation.
9703
a4c75cfd
IZ
97042014-04-09 Igor Zamyatin <igor.zamyatin@intel.com>
9705 H.J. Lu <hongjiu.lu@intel.com>
9706
7e54fd04 9707 [BZ #16275]
a4c75cfd
IZ
9708 * config.h.in (HAVE_MPX_SUPPORT): New #undef.
9709 * sysdeps/x86_64/configure.ac: Set HAVE_MPX_SUPPORT.
9710 * sysdeps/x86_64/configure: Regenerated.
9711 * sysdeps/x86_64/dl-trampoline.S (REGISTER_SAVE_AREA): New
9712 macro.
9713 (REGISTER_SAVE_RAX): Likewise.
9714 (REGISTER_SAVE_RCX): Likewise.
9715 (REGISTER_SAVE_RDX): Likewise.
9716 (REGISTER_SAVE_RSI): Likewise.
9717 (REGISTER_SAVE_RDI): Likewise.
9718 (REGISTER_SAVE_R8): Likewise.
9719 (REGISTER_SAVE_R9): Likewise.
9720 (REGISTER_SAVE_BND0): Likewise.
9721 (REGISTER_SAVE_BND1): Likewise.
9722 (REGISTER_SAVE_BND2): Likewise.
9723 (_dl_runtime_resolve): Use them. Save and restore Intel MPX
9724 bound registers when calling _dl_fixup.
9725
27822ce6
AZ
97262014-04-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9727
9728 * bits/string.h (_STRING_ARCH_unaligned): Define it to 0.
57f41c40
AS
9729 * crypt/sha256.c (_STRING_ARCH_unaligned): Check its value instead
9730 of its definition.
27822ce6
AZ
9731 * iconv/gconv_simple.c (_STRING_ARCH_unaligned): Likewise.
9732 * iconv/loop.c (_STRING_ARCH_unaligned): Likewise.
9733 * iconv/skeleton.c (_STRING_ARCH_unaligned): Likewise.
9734 * nscd/nscd_gethst_r.c (_STRING_ARCH_unaligned): Likewise.
9735 * nscd/nscd_getserv_r.c (_STRING_ARCH_unaligned): Likewise.
9736 * nscd/nscd_helper.c (_STRING_ARCH_unaligned): Likewise.
9737 * resolv/res_send.c (_STRING_ARCH_unaligned): Likewise.
9738
a88ddc90
PTB
97392014-04-09 Peter Brett <peter@peter-b.co.uk>
9740
9741 [BZ #15514]
9742 * sysdeps/posix/pathconf.c (__pathconf): Use statvfs64() for
9743 pathconf(_PC_NAME_MAX).
9744
01f8eac2
AZ
97452014-04-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9746
9747 * nptl/sysdeps/pthread/pthread.h (__PTHREAD_MUTEX_HAVE_ELISION):
9748 Remove macro usage.
9749 (__PTHREAD_SPINS): Move definition to ...
9750 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
9751 (__PTHREAD_SPINS): ... here.
9752 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
9753 (__PTHREAD_SPIN): Likewise.
9754 * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h
9755 (__PTHREAD_SPIN): Likewise.
9756 * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h
9757 (__PTHREAD_SPIN): Likewise.
9758 * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h
9759 (__PTHREAD_SPIN): Likewise.
9760 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
9761 (__PTHREAD_SPIN): Likewise.
9762 * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
9763 (__PTHREAD_SPIN): Likewise.
9764 * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h
9765 (__PTHREAD_SPIN): Likewise.
9766 * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
9767 (__PTHREAD_SPIN): Likewise.
9768 * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
9769 (__PTHREAD_SPIN): Likewise.
9770 * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
9771 (__PTHREAD_SPIN): Likewise.
9772 * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
9773 (__PTHREAD_SPIN): Likewise.
9774 * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h
9775 (__PTHREAD_SPIN): Likewise.
9776
de21c33c
AZ
9777 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: New file.
9778 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: new file.
9779 * sysdeps/powerpc/powerpc64/power6x/multiarch/Implies: New file.
9780 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove multiarch
9781 imply folder.
9782 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Likewise.
9783 * sysdeps/powerpc/powerpc64/power7/fpu/Implies: Likewise.
9784 * sysdeps/powerpc/powerpc64/power8/fpu/Implies: Likewise.
9785 * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: Adjust
9786 correct imply path.
9787 * sysdeps/powerpc/powerpc64/power7/strncat.S (STRLEN): Define correct
9788 strlen symbol for non multi-arch builds.
9789 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (__isnan): Add
9790 missing hidden_def and weak_alias.
9791
862c472e
CD
97922014-04-08 Carlos O'Donell <carlos@redhat.com>
9793
9794 * manual/ipc.texi (sem_close): AC-unsafe because of aculock.
9795
8667f90e
WN
97962014-04-07 Will Newton <will.newton@linaro.org>
9797
9798 * string/basename.c [HAVE_CONFIG_H]: Remove #ifdef and
9799 and contents. [!_LIBC] Remove #ifndef and contents.
9800 (basename): Use ANSI prototype. [_LIBC] Remove #idef.
9801 * string/memccpy.c (__memccpy): Use ANSI prototype.
9802 * string/memfrob.c (memfrob): Likewise.
9803 * string/strcoll.c (STRCOLL): Likewise.
9804 * string/strlen.c (strlen): Likewise.
9805 * string/strtok.c (STRTOK): Likewise.
9806 * string/strcat.c: Remove unused #include of memcopy.h.
9807 (strcat): Use ANSI prototype.
9808 * string/strchr.c: Remove unused #include of memcopy.h.
9809 (strchr): Use ANSI prototype.
9810 * string/strcmp.c: Remove unused #include of memcopy.h.
9811 (strcmp): Use ANSI prototype.
9812 * string/strcpy.c: Remove unused #include of memcopy.h.
9813 (strcpy): Use ANSI prototype.
9814
7ffa9423
AZ
98152014-04-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9816
9817 * Makeconfig (CPPFLAGS): Add config-extra-cppflags to list.
9818 * config.make.in (config-extra-cppflags): Set it from
9819 libc_extra_cppflags.
9820 * configure.ac (libc_extra_cflags): Make it accumulate over
9821 configure fragments.
9822 (libc_extra_cppflags): New flag.
9823 * configure. Regenerate.
9824 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
57f41c40
AS
9825 (libc_cv_ppc64_def_call_elf): Define it to yes if compiler does
9826 not set _CALL_ELF and add -D_CALL_ELF=1 to libc_extra_cppflags.
7ffa9423
AZ
9827 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Regenerate.
9828
8bd70862
AZ
9829 [BZ #16815]
9830 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (__nearbyint): Fix
9831 result for FE_DOWNWARD rounding mode.
9832 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S (__nearbyintf):
9833 Likewise.
9834 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
9835
d42f3448
CM
98362014-04-04 Chris Metcalf <cmetcalf@tilera.com>
9837
9838 * sysdeps/tile/dl-runtime.c (_dl_unmap): Fix cut-and-paste bug
9839 in function argument name.
9840
1c21d115
DS
98412014-04-03 David Svoboda <svoboda@cert.org>
9842
9843 [BZ #5666]
9844 * manual/stdio.texi (Line-Oriented Input): Document buffer allocation
9845 explicitly.
9846
fcccd512
RM
98472014-04-03 Roland McGrath <roland@hack.frob.com>
9848
9849 * elf/dl-unmap-segments.h: New file.
9850 * sysdeps/generic/ldsodefs.h
9851 (DL_UNMAP): Use _dl_unmap_segments in place of __munmap.
9852 * elf/dl-close.c: Include <dl-unmap-segments.h>.
9853 * elf/dl-fptr.c: Likewise.
9854 (_dl_unmap): Use _dl_unmap_segments in place of __munmap.
9855 * sysdeps/aarch64/tlsdesc.c: Likewise.
9856 * sysdeps/arm/tlsdesc.c: Likewise.
9857 * sysdeps/i386/tlsdesc.c: Likewise.
9858 * sysdeps/tile/dl-runtime.c: Likewise.
9859 * sysdeps/x86_64/tlsdesc.c: Likewise.
9860 * elf/dl-load.h: New file.
9861 * elf/dl-load.c: Include it.
9862 (MAP_FILE, MAP_COPY, MAP_BASE_ADDR):
9863 Macros moved to dl-load.h.
9864 (ELF_PREFERRED_ADDRESS_DATA, ELF_PREFERRED_ADDRESS): Likewise.
9865 (_dl_map_object_from_fd): Type 'struct loadcmd' moved to dl-load.h.
9866 Use _dl_unmap_segments in place of __munmap.
9867 Break out segment-mapping loop into ...
9868 * elf/dl-map-segments.h (_dl_map_segments): ... here, in new file.
9869
f6488e2b
WN
98702014-04-03 Will Newton <will.newton@linaro.org>
9871
9872 * elf/dl-lookup.c (do_lookup_x): Remove comment
9873 referring to nested function and move variable
9874 declarations down to before first use.
9875
6f05bafe
JM
98762014-04-02 Joseph Myers <joseph@codesourcery.com>
9877
a84e78c8
JM
9878 [BZ #16799]
9879 [BZ #16800]
9880 * math/s_catan.c (__catan): Avoid passing -0 denominator to atan2
9881 with 0 numerator.
9882 * math/s_catanf.c (__catanf): Likewise.
9883 * math/s_catanh.c (__catanh): Likewise.
9884 * math/s_catanhf.c (__catanhf): Likewise.
9885 * math/s_catanhl.c (__catanhl): Likewise.
9886 * math/s_catanl.c (__catanl): Likewise.
9887 * sysdeps/ieee754/flt-32/e_logf.c (__ieee754_logf): Always divide
9888 by positive zero when computing -Inf result.
9889 * math/libm-test.inc (catan_test): Use ALL_RM_TEST.
9890 (catanh_test): Likewise.
9891 * sysdeps/i386/fpu/libm-test-ulps: Update.
9892 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9893
6f05bafe
JM
9894 [BZ #16789]
9895 * math/s_clog.c (__clog): Use math_force_eval to ensure underflow
9896 instead of using underflowing value in computing result.
9897 * math/s_clog10.c (__clog10): Likewise.
9898 * math/s_clog10f.c (__clog10f): Likewise.
9899 * math/s_clog10l.c (__clog10l): Likewise.
9900 * math/s_clogf.c (__clogf): Likewise.
9901 * math/s_clogl.c (__clogl): Likewise.
9902 * math/libm-test.inc (clog_test): Use ALL_RM_TEST.
9903 (clog10_test): Likewise.
9904 * sysdeps/i386/fpu/libm-test-ulps: Update.
9905 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9906
b0abbc21
AM
99072014-04-02 Alan Modra <amodra@gmail.com>
9908
9909 [BZ #16739]
9910 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Correct
9911 output when value is near a power of two. Use int64_t for lx and
9912 remove casts. Use decimal rather than hex exponent constants.
9913 Don't use long double multiplication when double will suffice.
9914 * math/libm-test.inc (nextafter_test_data): Add tests.
9915 * NEWS: Add 16739 and 16786 to bug list.
9916
af6b1797
AM
9917 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Correct stream hint.
9918
483818d7
AM
9919 * sysdeps/powerpc/powerpc64/start.S: Add @toc to toc symbol reference.
9920
f6c55796
WN
99212014-04-01 Will Newton <will.newton@linaro.org>
9922
9923 * benchtests/Makefile (CFLAGS-bench-ffs.c): Add
9924 -fno-builtin. (CFLAGS-bench-ffsll.c): Likewise.
9925
13f7fe35
FW
99262014-04-01 Florian Weimer <fweimer@redhat.com>
9927
9928 [BZ #13347]
9929 * nptl/nptl-init.c (sighandler_setxid): Check system call result.
9930 * nptl/tst-setuid2.c: New file.
9931 * nptl/Makefile (xtests): Add tst-setuid2.
9932
c859b32e
AM
99332014-04-01 Alan Modra <amodra@gmail.com>
9934
9935 [BZ #16786]
9936 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Don't trash stack.
9937
54fa2475
JM
99382014-03-31 Joseph Myers <joseph@codesourcery.com>
9939
8795b4a4
JM
9940 [BZ #6803]
9941 [BZ #6804]
9942 * math/w_scalb.c (__scalb): For non-SVID mode, check result and
9943 set errno as appropriate.
9944 * math/w_scalbf.c (__scalbf): Likewise.
9945 * math/w_scalbl.c (__scalbl): Likewise.
9946 * math/gen-libm-test.pl (parse_args): Handle ERRNO_PLUS_OFLOW,
9947 ERRNO_MINUS_OFLOW, ERRNO_PLUS_UFLOW and ERRNO_MINUS_UFLOW.
9948 * math/libm-test.inc (scalb_test_data): Add errno expectations.
9949 Add more NaN tests.
9950
54fa2475
JM
9951 [BZ #16349]
9952 * math/w_atan2.c: Include <errno.h>.
9953 (__atan2): Set errno for result underflowing to zero.
9954 * math/w_atan2f.c: Include <errno.h>.
9955 (__atan2f): Set errno for result underflowing to zero.
9956 * math/w_atan2l.c: Include <errno.h>.
9957 (__atan2l): Set errno for result underflowing to zero.
9958 * math/auto-libm-test-in: Don't allow missing errno for some atan2
9959 tests.
9960 * math/auto-libm-test-out: Regenerated.
9961
757d9dd5
AZ
99622014-03-31 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9963
9964 * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S (MFVSRD_R3_V1):
9965 Encode instruction correctly in little endian.
9966 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S (MFVSRD_R3_V1):
9967 Likewise.
9968 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (MFVSRD_R3_V1):
9969 Likewise.
9970 * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S (MFVSRD_R3_V1):
9971 Likewise.
9972 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S (MFVSRD_R3_V1):
9973 Likewise.
9974
d7a68734
JM
99752014-03-31 Joseph Myers <joseph@codesourcery.com>
9976
47c5adeb
JM
9977 [BZ #9894]
9978 * sysdeps/unix/sysv/linux/kernel-features.h
9979 [__sparc__ && !__arch64__ && !__sparc_v9__]
9980 (__ASSUME_SET_ROBUST_LIST): Do not define.
9981 [__sparc__ && !__arch64__ && !__sparc_v9__]
9982 (__ASSUME_FUTEX_LOCK_PI): Likewise.
9983 [__sparc__ && !__arch64__ && !__sparc_v9__] (__ASSUME_REQUEUE_PI):
9984 Likewise.
9985 * sysdeps/unix/sysv/linux/arm/kernel-features.h
9986 (__ASSUME_FUTEX_LOCK_PI): Undefine.
9987 (__ASSUME_REQUEUE_PI): Likewise.
9988 (__ASSUME_SET_ROBUST_LIST): Likewise.
9989 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
9990 [__LINUX_KERNEL_VERSION < 0x030a00] (__ASSUME_FUTEX_LOCK_PI):
9991 Undefine.
9992 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
9993 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_FUTEX_LOCK_PI):
9994 Likewise.
9995 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_REQUEUE_PI):
9996 Likewise.
9997 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_SET_ROBUST_LIST):
9998 Likewise.
9999 * sysdeps/unix/sysv/linux/mips/kernel-features.h
10000 [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_FUTEX_LOCK_PI):
10001 Undefine.
10002 [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_REQUEUE_PI): Likewise.
10003 [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_SET_ROBUST_LIST):
10004 Likewise.
10005
d7a68734
JM
10006 [BZ #16648]
10007 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
10008 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_FUTIMESAT): Define.
10009 * sysdeps/unix/sysv/linux/microblaze/futimesat.c: New file.
10010
c760f5c2
WN
100112014-03-31 Will Newton <will.newton@linaro.org>
10012
10013 * benchtests/Makefile (bench): Add ffs and ffsll to list
10014 of tests.
10015 * benchtests/ffs-inputs: New file.
10016 * benchtests/ffsll-inputs: Likewise.
10017
ea6029b1
JM
100182014-03-29 Joseph Myers <joseph@codesourcery.com>
10019
10020 [BZ #16770]
10021 * math/e_scalb.c (__ieee754_scalb): Check second argument is not
10022 too large before casting to int.
10023 * math/e_scalbf.c (__ieee754_scalbf): Likewise.
10024 * math/e_scalbl.c (__ieee754_scalbl): Likewise.
10025 * math/libm-test.inc (scalb_test_data): Add more tests.
10026
cf806aff
SP
100272014-03-29 Siddhesh Poyarekar <siddhesh@redhat.com>
10028
56737508
SP
10029 * benchtests/Makefile (DETAILED_OPT): New make option.
10030 (bench-func): Run benchmark program with -d if DETAILED_OPT is
10031 set.
10032 * benchtests/bench-skeleton.c: Include stdbool.h.
10033 (main): Store and print timings per input.
10034 * benchtests/scripts/bench.py (STRUCT_TEMPLATE): Add timing
10035 member to each argument value.
10036 (EPILOGUE): Define new macros RESULT and RESULT_ACCUM.
10037 (_print_arg_data): Initialize per-input timing to 0.
10038
cb5e4aad
SP
10039 * benchtests/Makefile (timing-type): New binary.
10040 (bench-clean): Also remove bench-timing-type.
10041 (bench): New target for timing-type.
10042 (bench-func): Print output in JSON format.
10043 * benchtests/bench-skeleton.c (main): Print output in JSON
10044 format.
10045 * benchtests/bench-timing-type.c: New file.
10046 * benchtests/bench-timing.h (TIMING_TYPE): New macro.
10047 (TIMING_PRINT_STATS): Remove.
10048 * benchtests/scripts/bench.py (_print_arg_data): Store variant
10049 name separately.
10050
cf806aff
SP
10051 * benchtests/bench-modf.c: Remove.
10052 * benchtests/modf-inputs: New inputs file.
10053
289e0779
JM
100542014-03-28 Joseph Myers <joseph@codesourcery.com>
10055
10056 [BZ #16362]
10057 * math/s_clog10.c (M_PI_LOG10E): New macro.
10058 (__clog10): Use M_PI_LOG10E instead of M_PI when real and
10059 imaginary parts are 0.
10060 * math/s_clog10f.c (M_PI_LOG10Ef): New macro.
10061 (__clog10f): Use M_PI_LOG10Ef instead of M_PI when real and
10062 imaginary parts are 0.
10063 * math/s_clog10l.c (M_PI_LOG10El): New macro.
10064 (__clog10l): Use M_PI_LOG10El instead of M_PIl when real and
10065 imaginary parts are 0.
10066 * math/libm-test.inc (clog10_test_data): Update expected results
10067 for when real and imaginary parts are 0.
10068
277ae3f1
PP
100692014-03-27 Paul Pluzhnikov <ppluzhnikov@google.com>
10070
10071 * elf/dl-load.c: Finish conversion of __builtin_expect into
10072 __glibc_{un}likely.
10073
03a7091f
JM
100742014-03-27 Joseph Myers <joseph@codesourcery.com>
10075
10076 [BZ #16348]
10077 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]: Use
10078 1+x for argument with exponent below -67.
10079 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]:
10080 Likewise.
10081 * math/auto-libm-test-in: Add more tests of exp.
10082 * math/auto-libm-test-out: Regenerated.
10083
ea7d8b95
SP
100842014-03-27 Siddhesh Poyarekar <siddhesh@redhat.com>
10085
dd3022d7
SP
10086 [BZ #16759]
10087 * inet/getnetgrent_r.c (get_nonempty_val): New function.
10088 (nscd_getnetgrent): Use it.
10089
ea7d8b95
SP
10090 [BZ #16760]
10091 * nscd/netgroupcache.c (addgetnetgrentX): Use memmove instead
10092 of stpcpy.
10093
df5b85da
AK
100942014-03-27 Andi Kleen <ak@linux.intel.com>
10095
57f41c40
AS
10096 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (lll_lock)
10097 (lll_robust_lock, lll_cond_lock, lll_timedlock)
10098 (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
10099 (lll_robust_unlock): Remove out of line section. Use cfi
10100 intrinsics.
df5b85da 10101 (LLL_STUB_UNWIND_INFO*): Remove.
57f41c40
AS
10102 * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h (lll_lock)
10103 (lll_robust_lock, lll_cond_lock, lll_timedlock)
10104 (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
10105 (lll_robust_unlock): Remove out of line section. Use cfi
10106 intrinsics.
df5b85da
AK
10107 (LLL_STUB_UNWIND_INFO*): Remove.
10108
fbd6b5a4
SP
101092014-03-27 Siddhesh Poyarekar <siddhesh@redhat.com>
10110
10111 [BZ #16758]
10112 * nscd/netgroupcache.c (addinnetgrX): Succeed if triplet has
10113 blank values.
10114
1b26b855
PP
101152014-03-26 Paul Pluzhnikov <ppluzhnikov@google.com>
10116
10117 * elf/dl-load.c: Convert __builtin_expect into __glibc_{un}likely.
10118
9be36fb8
JM
101192014-03-26 Joseph Myers <joseph@codesourcery.com>
10120
10121 [BZ #16198]
10122 * sysdeps/x86_64/fpu/fegetenv.c (fegetenv): Use fldenv after
10123 fnstenv.
10124 * math/test-fenv-preserve.c: New file.
10125 * math/Makefile (tests): Add test-fenv-preserve.
10126
60a2f3c1
WN
101272014-03-26 Will Newton <will.newton@linaro.org>
10128
10129 * benchtests/bench-strtod.c (TIMEOUT): Define to 10.
10130
a5e5f1e2
RM
101312014-03-25 Roland McGrath <roland@hack.frob.com>
10132
10133 * scripts/versionlist.awk: Partition the version sets and emit all
10134 GLIBC_* (sorted) before all others (sorted).
10135
00f4012a
JM
101362014-03-25 Joseph Myers <joseph@codesourcery.com>
10137
10138 * elf/Versions (libc) [EXPORT_UNWIND_FIND_FDE]: Add empty
10139 GLIBC_2.2.5 version.
10140
7bc5a741
AZ
101412014-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10142
10143 * scripts/localplt.awk: Check for PLT generated by internal IFUNC
10144 calls.
10145
7578473b
AZ
10146 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Revert
10147 previous change.
10148
f3f1dab3
AZ
10149 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
10150
6da36183
AS
101512014-03-25 Andreas Schwab <schwab@suse.de>
10152
10153 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Add out_fail2
10154 label to be used after in6ailist is initialized.
10155
f3f1dab3 101562014-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
449282f2 10157
7578473b 10158 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
449282f2
AZ
10159 (__PTHREAD_MUTEX_HAVE_ELISION): New define.
10160
046651c1
JM
101612014-03-25 Joseph Myers <joseph@codesourcery.com>
10162
10163 [BZ #16357]
10164 [BZ #16599]
10165 * math/gen-auto-libm-tests.c (fp_format_desc): Add field
10166 min_plus_half.
10167 (fp_formats): Update initializers.
10168 (init_fp_formats): Initialize new field.
10169 (output_for_one_input_case): Allow underflow for results up to
10170 min_plus_half.
10171 * math/libm-test.inc (log1p_test): Use ALL_RM_TEST.
10172 * math/auto-libm-test-in: Don't mark some underflows from asin and
10173 atanh as spurious.
10174 * math/auto-libm-test-out: Regenerated.
10175 * sysdeps/i386/fpu/libm-test-ulps: Update.
10176 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10177
003e49ed
AS
101782014-03-25 Andreas Schwab <schwab@suse.de>
10179
10180 * libio/Makefile (tst-ftell-partial-wide-ENV)
10181 (tst-ftell-active-handler-ENV): Define.
10182
de031874
SL
101832014-03-25 Stefan Liebler <stli@linux.vnet.ibm.com>
10184
10185 * NEWS: Add 16712, 16713, 16714 to fixed bug list.
10186
55a81e3b
PP
101872014-03-24 Paul Pluzhnikov <ppluzhnikov@google.com>
10188
10189 * elf/tst-dlopen-aout.c: Adjust comments. Use test-skeleton.c
10190
f3426898
JM
101912014-03-24 Joseph Myers <joseph@codesourcery.com>
10192
10193 * sysdeps/ieee754/dbl-64/e_exp.c: Include <math.h>.
10194 * sysdeps/x86_64/fpu/multiarch/e_exp.c
10195 [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
10196
a42faf59
PP
101972014-03-24 Paul Pluzhnikov <ppluzhnikov@google.com>
10198
10199 [BZ #16634]
a42faf59 10200 * elf/dl-load.c (open_verify): Add mode parameter.
97d8ca99
CD
10201 Error early when ET_EXEC and mode does not have __RTLD_OPENEXEC.
10202 (open_path): Change from boolean 'secure' to complete flag 'mode'
10203 (_dl_map_object): Adjust.
a42faf59
PP
10204 * elf/Makefile (tests): Add tst-dlopen-aout.
10205 * elf/tst-dlopen-aout.c: New test.
10206
50936127
SL
102072014-03-24 Stefan Liebler <stli@linux.vnet.ibm.com>
10208
10209 [BZ #16714]
10210 * sysdeps/unix/sysv/linux/s390/bits/stat.h
10211 (struct stat): Rename member pad0 to __glibc_reserved0.
10212
26011b5c
SL
10213 [BZ #16712]
10214 * sysdeps/s390/s390-32/bits/wordsize.h
10215 (__WORDSIZE32_SIZE_ULONG): New define.
10216 * sysdeps/s390/s390-64/bits/wordsize.h
10217 (__WORDSIZE32_SIZE_ULONG): Likewise.
10218 * sysdeps/generic/stdint.h (SIZE_MAX):
10219 Define as UL if __WORDSIZE32_SIZE_ULONG.
10220
a2d86bf1
SL
10221 [BZ #16713]
10222 * sysdeps/unix/sysv/linux/s390/bits/sigaction.h
10223 (__glibc_reserved0): New variable.
10224 (sa_flags): Change type to int.
10225
78b6eebc
SL
10226 * posix/Makefile (before-compile): Use += before-compile instead
10227 of a :=.
10228
f1399b5a
SL
10229 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
10230 (__PTHREAD_MUTEX_HAVE_ELISION): New define.
10231
a071766e
AS
102322014-03-20 Andreas Schwab <schwab@suse.de>
10233
10234 [BZ #16743]
10235 * sysdeps/posix/getaddrinfo.c (gaih_inet): Properly skip over
10236 non-matching result from nscd.
10237
27c673b8
SP
102382014-03-24 Siddhesh Poyarekar <siddhesh@redhat.com>
10239
10240 * scripts/bench.py: Moved to ...
10241 * benchtests/scripts/bench.py: ... here.
10242 * benchtests/Makefile ($(objpfx)bench-%.c): Adjust.
10243
44152e4b
AS
102442014-03-24 Andreas Schwab <schwab@suse.de>
10245
10246 [BZ #16002]
10247 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Use
10248 alloca_account and account alloca use for struct in6ailist.
10249
b376a11a
JM
102502014-03-24 Joseph Myers <joseph@codesourcery.com>
10251
10252 [BZ #16284]
10253 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use original
10254 rounding mode to recompute results that overflow to infinity or
10255 underflow to zero.
10256 * math/auto-libm-test-in: Don't mark tests as expected to fail for
10257 bug 16284.
10258 * math/auto-libm-test-out: Regenerated.
10259 * math/libm-test.inc (ccos_test): Use ALL_RM_TEST.
10260 (ccosh_test): Likewise.
10261 (csin_test_data): Use plus_oflow.
10262 (csin_test): Use ALL_RM_TEST.
10263 (csinh_test_data): Use plus_oflow.
10264 (csinh_test): Use ALL_RM_TEST.
10265 * sysdeps/i386/fpu/libm-test-ulps: Update.
10266 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10267
f7be7376
JM
102682014-03-21 Joseph Myers <joseph@codesourcery.com>
10269
1ca2d03e
JM
10270 * sysdeps/mips/bits/wordsize.h: Include <sgidefs.h>.
10271 * sysdeps/unix/sysv/linux/mips/getrlimit64.c: Likewise.
10272 * sysdeps/unix/sysv/linux/mips/setrlimit64.c: Likewise.
10273
f7be7376
JM
10274 [BZ #16731]
10275 * sysdeps/i386/fpu/e_log.S (__ieee754_log): Take absolute value
10276 when x - 1 is zero.
10277 * sysdeps/i386/fpu/e_logf.S (__ieee754_logf): Likewise.
10278 * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Likewise.
10279 * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
10280 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Return +0 when
10281 argument is 1.
10282 * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Likewise.
10283 * sysdeps/x86_64/fpu/e_logl.S: Take absolute value when x - 1 is
10284 zero.
10285 * math/libm-test.inc (log_test): Use ALL_RM_TEST.
10286 * sysdeps/i386/fpu/libm-test-ulps: Update.
10287 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10288
fdf4534d
SP
102892014-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
10290
df26ea53
SP
10291 * scripts/bench.pl: Remove file.
10292 * scripts/bench.py: New benchmark script.
10293 * benchtests/Makefile ($(objpfx)bench-%.c): Use it.
10294 * benchtests/README: Mention python dependency.
10295 * scripts/pylintrc: New file.
10296 * scripts/pylint: New file.
10297
fdf4534d
SP
10298 * bits/mathdef.h: Use #ifdef instead of #if.
10299 * sysdeps/arm/bits/mathdef.h [defined __USE_ISOC99 && defined
10300 _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
10301 * sysdeps/tile/bits/mathdef.h [defined __USE_ISOC99 && defined
10302 _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
10303 * sysdeps/x86/bits/mathdef.h [defined __USE_ISOC99 && defined
10304 _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
10305
6f23d093
AZ
103062014-03-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10307 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
10308
10309 * string/strpbrk.c (strpbrk): Using macro to redefine symbol name.
10310 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpbrk-power7
10311 and strpbrk-ppc64 objects.
10312 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
10313 (__libc_ifunc_impl_list): Add new strpbrk optimized symbols.
10314 * sysdeps/powerpc/powerpc64/multiarch/strpbrk-power7.S: New file:
10315 multiarch strpbrk for POWER7.
10316 * sysdeps/powerpc/powerpc64/multiarch/strpbrk-ppc64.c: New file:
10317 multiarch strpbrk for PPC64.
10318 * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: New file: strpbrk
10319 ifunc selector.
10320 * sysdeps/powerpc/powerpc64/power7/strpbrk.S: New file: optimited
10321 strpbrk for POWER7.
10322
8c92dfff
JM
103232014-03-20 Joseph Myers <joseph@codesourcery.com>
10324
10325 * math/libm-test.inc (asinh_test): Use ALL_RM_TEST.
10326 (atan_test): Likewise.
10327 (atanh_test_data): Use NO_TEST_INLINE for two tests.
10328 (atanh_test): Use ALL_RM_TEST.
10329 (atan2_test_data): Likewise.
10330 (cabs_test): Likewise.
10331 (cacosh_test): Likewise.
10332 (carg_test): Likewise.
10333 (casin_test): Likewise.
10334 (casinh_test): Likewise.
10335 (cbrt_test): Likewise.
10336 (csqrt_test): Likewise.
10337 (erf_test): Likewise.
10338 (erfc_test): Likewise.
10339 (pow10_test): Likewise.
10340 (exp2_test): Likewise.
10341 (hypot_test): Likewise.
10342 (j0_test): Likewise.
10343 (j1_test): Likewise.
10344 (lgamma_test): Likewise.
10345 (gamma_test): Likewise.
10346 (sincos_test): Likewise.
10347 (tanh_test): Likewise.
10348 (y0_test): Likewise.
10349 (y1_test): Likewise.
10350 * sysdeps/i386/fpu/libm-test-ulps: Update.
10351 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10352
6eaf95cb
AZ
103532014-03-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10354
a387428c
SP
10355 * string/strcspn.c (strcspn): Using macro to redefine symbol name.
10356 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcspn-power7
6eaf95cb
AZ
10357 and strcspn-ppc64 objects.
10358 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
10359 (__libc_ifunc_impl_list): Add new strcspn optimized symbols.
10360 * sysdeps/powerpc/powerpc64/multiarch/strcspn-power7.S: New file:
10361 multiarch strcspn for POWER7.
10362 * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c: New file:
10363 multiarch strcspn for PPC64.
10364 * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: New file: strcspn
10365 ifunc selector.
10366 * sysdeps/powerpc/powerpc64/power7/strcspn.S: New file: optimited
10367 strcspn for POWER7.
10368
ae3a5dff
JM
103692014-03-20 Joseph Myers <joseph@codesourcery.com>
10370
10371 * math/gen-libm-test.pl (generate_testfile): Expect only function
10372 name as argument to AUTO_TESTS_* and pass results for all rounding
10373 modes to parse_args.
10374 (parse_auto_input): Separate inputs of automatic tests from
10375 outputs before storing in %auto_tests.
10376 * math/libm-test.inc (acos_test_data): Update call to
10377 AUTO_TESTS_f_f.
10378 (acos_test): Use ALL_RM_TEST.
10379 (acos_tonearest_test_data): Remove.
10380 (acos_test_tonearest): Likewise.
10381 (acos_towardzero_test_data): Likewise.
10382 (acos_test_towardzero): Likewise.
10383 (acos_downward_test_data): Likewise.
10384 (acos_test_downward): Likewise.
10385 (acos_upward_test_data): Likewise.
10386 (acos_test_upward): Likewise.
10387 (acosh_test_data): Update call to AUTO_TESTS_f_f.
10388 (asin_test_data): Likewise.
10389 (asin_test): Use ALL_RM_TEST.
10390 (asin_tonearest_test_data): Remove.
10391 (asin_test_tonearest): Likewise.
10392 (asin_towardzero_test_data): Likewise.
10393 (asin_test_towardzero): Likewise.
10394 (asin_downward_test_data): Likewise.
10395 (asin_test_downward): Likewise.
10396 (asin_upward_test_data): Likewise.
10397 (asin_test_upward): Likewise.
10398 (asinh_test_data): Update call to AUTO_TESTS_f_f.
10399 (atan_test_data): Likewise.
10400 (atanh_test_data): Likewise.
10401 (atan2_test_data): Update call to AUTO_TESTS_ff_f.
10402 (cabs_test_data): Update call to AUTO_TESTS_c_f.
10403 (carg_test_data): Likewise.
10404 (cbrt_test_data): Update call to AUTO_TESTS_f_f.
10405 (ccos_test_data): Update call to AUTO_TESTS_c_c.
10406 (ccosh_test_data): Likewise.
10407 (cexp_test_data): Likewise.
10408 (clog_test_data): Likewise.
10409 (clog10_test_data): Likewise.
10410 (cos_test_data): Update call to AUTO_TESTS_f_f.
10411 (cos_test): Use ALL_RM_TEST.
10412 (cos_tonearest_test_data): Remove.
10413 (cos_test_tonearest): Likewise.
10414 (cos_towardzero_test_data): Likewise.
10415 (cos_test_towardzero): Likewise.
10416 (cos_downward_test_data): Likewise.
10417 (cos_test_downward): Likewise.
10418 (cos_upward_test_data): Likewise.
10419 (cos_test_upward): Likewise.
10420 (cosh_test_data): Update call to AUTO_TESTS_f_f.
10421 (cosh_test): Use ALL_RM_TEST.
10422 (cosh_tonearest_test_data): Remove.
10423 (cosh_test_tonearest): Likewise.
10424 (cosh_towardzero_test_data): Likewise.
10425 (cosh_test_towardzero): Likewise.
10426 (cosh_downward_test_data): Likewise.
10427 (cosh_test_downward): Likewise.
10428 (cosh_upward_test_data): Likewise.
10429 (cosh_test_upward): Likewise.
10430 (cpow_test_data): Update call to AUTO_TESTS_cc_c.
10431 (csqrt_test_data): Update call to AUTO_TESTS_c_c.
10432 (ctan_test_data): Likewise.
10433 (ctan_test): Use ALL_RM_TEST.
10434 (ctan_tonearest_test_data): Remove.
10435 (ctan_test_tonearest): Likewise.
10436 (ctan_towardzero_test_data): Likewise.
10437 (ctan_test_towardzero): Likewise.
10438 (ctan_downward_test_data): Likewise.
10439 (ctan_test_downward): Likewise.
10440 (ctan_upward_test_data): Likewise.
10441 (ctan_test_upward): Likewise.
10442 (ctanh_test_data): Update call to AUTO_TESTS_c_c.
10443 (ctanh_test): Use ALL_RM_TEST.
10444 (ctanh_tonearest_test_data): Remove.
10445 (ctanh_test_tonearest): Likewise.
10446 (ctanh_towardzero_test_data): Likewise.
10447 (ctanh_test_towardzero): Likewise.
10448 (ctanh_downward_test_data): Likewise.
10449 (ctanh_test_downward): Likewise.
10450 (ctanh_upward_test_data): Likewise.
10451 (ctanh_test_upward): Likewise.
10452 (erf_test_data): Update call to AUTO_TESTS_f_f.
10453 (erfc_test_data): Likewise.
10454 (exp_test_data): Likewise.
10455 (exp_test): Use ALL_RM_TEST.
10456 (exp_tonearest_test_data): Remove.
10457 (exp_test_tonearest): Likewise.
10458 (exp_towardzero_test_data): Likewise.
10459 (exp_test_towardzero): Likewise.
10460 (exp_downward_test_data): Likewise.
10461 (exp_test_downward): Likewise.
10462 (exp_upward_test_data): Likewise.
10463 (exp_test_upward): Likewise.
10464 (exp10_test_data): Update call to AUTO_TESTS_f_f.
10465 (exp10_test): Use ALL_RM_TEST.
10466 (exp10_tonearest_test_data): Remove.
10467 (exp10_test_tonearest): Likewise.
10468 (exp10_towardzero_test_data): Likewise.
10469 (exp10_test_towardzero): Likewise.
10470 (exp10_downward_test_data): Likewise.
10471 (exp10_test_downward): Likewise.
10472 (exp10_upward_test_data): Likewise.
10473 (exp10_test_upward): Likewise.
10474 (exp2_test_data): Update call to AUTO_TESTS_f_f.
10475 (expm1_test_data): Likewise.
10476 (expm1_test): Use ALL_RM_TEST.
10477 (expm1_tonearest_test_data): Remove.
10478 (expm1_test_tonearest): Likewise.
10479 (expm1_towardzero_test_data): Likewise.
10480 (expm1_test_towardzero): Likewise.
10481 (expm1_downward_test_data): Likewise.
10482 (expm1_test_downward): Likewise.
10483 (expm1_upward_test_data): Likewise.
10484 (expm1_test_upward): Likewise.
10485 (fma_test_data): Update call to AUTO_TESTS_fff_f.
10486 (fma_test): Use ALL_RM_TEST.
10487 (fma_towardzero_test_data): Remove.
10488 (fma_test_towardzero): Likewise.
10489 (fma_downward_test_data): Likewise.
10490 (fma_test_downward): Likewise.
10491 (fma_upward_test_data): Likewise.
10492 (fma_test_upward): Likewise.
10493 (hypot_test_data): Update call to AUTO_TESTS_ff_f.
10494 (j0_test_data): Update call to AUTO_TESTS_f_f.
10495 (j1_test_data): Likewise.
10496 (jn_test_data): Update call to AUTO_TESTS_if_f.
10497 (lgamma_test_data): Update call to AUTO_TESTS_f_f1.
10498 (log_test_data): Update call to AUTO_TESTS_f_f.
10499 (log10_test_data): Likewise.
10500 (log1p_test_data): Likewise.
10501 (log2_test_data): Likewise.
10502 (pow_test_data): Update call to AUTO_TESTS_ff_f.
10503 (pow_tonearest_test_data): Likewise.
10504 (sin_test_data): Update call to AUTO_TESTS_f_f.
10505 (sin_test): Use ALL_RM_TEST.
10506 (sin_tonearest_test_data): Remove.
10507 (sin_test_tonearest): Likewise.
10508 (sin_towardzero_test_data): Likewise.
10509 (sin_test_towardzero): Likewise.
10510 (sin_downward_test_data): Likewise.
10511 (sin_test_downward): Likewise.
10512 (sin_upward_test_data): Likewise.
10513 (sin_test_upward): Likewise.
10514 (sincos_test_data): Update call to AUTO_TESTS_fFF_11.
10515 (sinh_test_data): Update call to AUTO_TESTS_f_f.
10516 (sinh_test): Use ALL_RM_TEST.
10517 (sinh_tonearest_test_data): Remove.
10518 (sinh_test_tonearest): Likewise.
10519 (sinh_towardzero_test_data): Likewise.
10520 (sinh_test_towardzero): Likewise.
10521 (sinh_downward_test_data): Likewise.
10522 (sinh_test_downward): Likewise.
10523 (sinh_upward_test_data): Likewise.
10524 (sinh_test_upward): Likewise.
10525 (sqrt_test_data): Update call to AUTO_TESTS_f_f.
10526 (sqrt_test): Use ALL_RM_TEST.
10527 (sqrt_tonearest_test_data): Remove.
10528 (sqrt_test_tonearest): Likewise.
10529 (sqrt_towardzero_test_data): Likewise.
10530 (sqrt_test_towardzero): Likewise.
10531 (sqrt_downward_test_data): Likewise.
10532 (sqrt_test_downward): Likewise.
10533 (sqrt_upward_test_data): Likewise.
10534 (sqrt_test_upward): Likewise.
10535 (tan_test_data): Update call to AUTO_TESTS_f_f.
10536 (tan_test): Use ALL_RM_TEST.
10537 (tan_tonearest_test_data): Remove.
10538 (tan_test_tonearest): Likewise.
10539 (tan_towardzero_test_data): Likewise.
10540 (tan_test_towardzero): Likewise.
10541 (tan_downward_test_data): Likewise.
10542 (tan_test_downward): Likewise.
10543 (tan_upward_test_data): Likewise.
10544 (tan_test_upward): Likewise.
10545 (tanh_test_data): Update call to AUTO_TESTS_f_f.
10546 (tgamma_test_data): Likewise.
10547 (y0_test_data): Likewise.
10548 (y1_test_data): Likewise.
10549 (yn_test_data): Update call to AUTO_TESTS_if_f.
10550 (main): Do not call removed functions.
10551
d71aeee8
JM
105522014-03-19 Joseph Myers <joseph@codesourcery.com>
10553
10554 * math/libm-test.inc (fdim_test): Use ALL_RM_TEST.
10555 (ldexp_test_data): Remove.
10556 (ldexp_test): Move to after scalbn_test. Use ALL_RM_TEST with
10557 scalbn_test_data.
10558 (scalb_test): Use ALL_RM_TEST.
10559
baaf1ded
AS
105602014-03-19 Andreas Schwab <schwab@suse.de>
10561
10562 * nscd/nscd.service: Also invalidate netgroup cache on reload.
10563
b1115e91
JM
105642014-03-19 Joseph Myers <joseph@codesourcery.com>
10565
10566 [BZ #16649]
10567 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
10568 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PREADV): Undefine.
10569 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PWRITEV): Likewise.
10570 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
10571 (__ASSUME_PREADV): Undefine.
10572 (__ASSUME_PWRITEV): Likewise.
10573
0283ecca
RM
105742014-03-18 Roland McGrath <roland@hack.frob.com>
10575
7d375303
RM
10576 * bits/mman-linux.h: Add comment about non-Linux use.
10577 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add comment about
10578 bits/mman-linux.h resting place.
10579
0283ecca
RM
10580 * sysdeps/unix/sysv/linux/bits/mman-linux.h: Moved to ...
10581 * bits/mman-linux.h: ... here.
10582
aebe1003
AZ
105832014-03-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10584
10585 * conform/conformtest.pl: Add standard definition when calling C
10586 preprocessor on data files.
10587 (checknamespace): Remove unused variable.
10588
b29b6bb8
JM
105892014-03-18 Joseph Myers <joseph@codesourcery.com>
10590
10591 * math/gen-libm-test.pl (parse_args): Handle plus_oflow,
10592 minus_oflow, plus_uflow and minus_uflow in expected results.
10593 * math/libm-test.inc (scalbn_test_data): Add more tests of
10594 negative arguments. Use plus_oflow, minus_oflow, plus_uflow and
10595 minus_uflow.
10596 (scalbn_test): Use ALL_RM_TEST.
10597 (scalbln_test_data): Add more tests of negative arguments. Use
10598 plus_oflow, minus_oflow, plus_uflow and minus_uflow.
10599 (scalbln_test): Use ALL_RM_TEST.
10600
c8f8fa15
RM
106012014-03-18 Roland McGrath <roland@hack.frob.com>
10602
10603 * scripts/abilist.awk: Ignore symbols marked with .hidden.
10604
fede7a5f
WN
106052014-03-18 Will Newton <will.newton@linaro.org>
10606
10607 * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Remove
10608 inaccurate comment.
10609
80cf0a58
JM
106102014-03-18 Joseph Myers <joseph@codesourcery.com>
10611
10612 * Makerules [!subdir] (check-abi): Exit with error status if a
10613 test failed.
10614
b3620862
JM
106152014-03-17 Joseph Myers <joseph@codesourcery.com>
10616
10617 * math/libm-test.inc (nearbyint_test_data): Include all tests used
10618 for rint. Include results for all rounding modes.
10619 (nearbyint_test): Use ALL_RM_TEST.
10620 (rint_test_data): Include all tests used for nearbyint.
10621
788bba36
WN
106222014-03-17 Will Newton <will.newton@linaro.org>
10623
04ec140a
WN
10624 * nptl/sysdeps/pthread/pthread.h: Revert previous
10625 change.
10626
7579d8d5
WN
10627 * sysdeps/generic/ldsodefs.h: Revert previous
10628 change.
10629
c15cf13a
WN
10630 * libio/genops.c: Revert previous change.
10631 * libio/libioP.h: Likewise.
10632 * stdio-common/vfprintf.c: Likewise.
10633
d0ac1324
WN
10634 * sysdeps/generic/math_private.h: Revert previous
10635 change.
10636
9290130a
WN
10637 * sysdeps/generic/math_private.h: Check whether
10638 HAVE_RM_CTX is defined with #ifdef rather
10639 than #if.
10640
afb466fc
WN
10641 * argp/argp-fmtstream.h: Check whether
10642 __STRICT_ANSI__ is defined with #ifdef rather
10643 than #if.
10644 * argp/argp.h: Likewise.
10645
f7efd7c3
WN
10646 * libio/genops.c: Check whether
10647 _IO_JUMPS_OFFSET is defined with #ifdef rather
10648 than #if.
10649 * libio/libioP.h: Likewise.
10650 * stdio-common/vfprintf.c: Likewise.
10651
53f1bed3
WN
10652 * sysdeps/generic/ldsodefs.h: Check whether
10653 HP_SMALL_TIMING_AVAIL is defined with #ifdef rather
10654 than #if.
10655
788bba36
WN
10656 * nptl/sysdeps/pthread/pthread.h: Check
10657 __PTHREAD_MUTEX_HAVE_ELISION is defined before testing
10658 its value.
10659
fcd89ebe
SP
106602014-03-17 Siddhesh Poyarekar <siddhesh@redhat.com>
10661
ae42bbc5
SP
10662 * libio/iofdopen.c (_IO_new_fdopen): Seek to end only if
10663 setting O_APPEND.
10664 * libio/tst-ftell-active-handler.c (do_append_test): Add a
10665 test case.
10666
ea33158c
SP
10667 [BZ #16680]
10668 * libio/fileops.c (_IO_file_open): Seek to end of file but
10669 don't cache the offset.
10670 (get_file_offset): Remove function.
10671 (do_ftell): Use cached offset when available.
10672 * libio/iofdopen.c (_IO_new_fdopen): Seek to end of file but
10673 don't cache the offset.
10674 * libio/tst-ftell-active-handler.c (do_rewind_test): New test
10675 case.
10676 (do_one_test): Call it.
10677 (do_ftell_test): Fix up expected old offset for a+ mode.
10678 * libio/wfileops.c (do_ftell_wide): Used cached offset when
10679 available.
10680
b1dbb426
SP
10681 * libio/tst-ftell-active-handler.c (do_ftell_test): Don't mix
10682 up test status with function return status.
10683 (do_write_test): Likewise.
10684 (do_append_test): Likewise.
10685
fcd89ebe
SP
10686 * nptl/sysdeps/pthread/bits/libc-lockP.h [defined NOT_IN_libc
10687 && !defined IS_IN_libpthread && __LT_SPINNOCK_INIT != 0]:
10688 Remove.
10689
9962a2d3
JM
106902014-03-17 Joseph Myers <joseph@codesourcery.com>
10691
10692 * math/gen-libm-test.pl (parse_args): Handle results specified for
10693 each rounding mode separately.
10694 * math/libm-test.inc (lrint_test_data): Merge in per-rounding-mode
10695 tests and results from lrint_tonearest_test_data,
10696 lrint_towardzero_test_data, lrint_downward_test_data and
10697 lrint_upward_test_data.
10698 (lrint_test): Use ALL_RM_TEST.
10699 (lrint_tonearest_test_data): Remove.
10700 (lrint_test_tonearest): Likewise.
10701 (lrint_towardzero_test_data): Likewise.
10702 (lrint_test_towardzero): Likewise.
10703 (lrint_downward_test_data): Likewise.
10704 (lrint_test_downward): Likewise.
10705 (lrint_upward_test_data): Likewise.
10706 (lrint_test_upward): Likewise.
10707 (llrint_test_data): Merge in per-rounding-mode tests and results
10708 from llrint_tonearest_test_data, llrint_towardzero_test_data,
10709 llrint_downward_test_data and llrint_upward_test_data.
10710 (llrint_test): Use ALL_RM_TEST.
10711 (llrint_tonearest_test_data): Remove.
10712 (llrint_test_tonearest): Likewise.
10713 (llrint_towardzero_test_data): Likewise.
10714 (llrint_test_towardzero): Likewise.
10715 (llrint_downward_test_data): Likewise.
10716 (llrint_test_downward): Likewise.
10717 (llrint_upward_test_data): Likewise.
10718 (llrint_test_upward): Likewise.
10719 (rint_test_data): Merge in per-rounding-mode tests and results
10720 from rint_tonearest_test_data, rint_towardzero_test_data,
10721 rint_downward_test_data and rint_upward_test_data. Add
10722 per-rounding-mode results for tests not in those arrays.
10723 (rint_test): Use ALL_RM_TEST.
10724 (rint_tonearest_test_data): Remove.
10725 (rint_test_tonearest): Likewise.
10726 (rint_towardzero_test_data): Likewise.
10727 (rint_test_towardzero): Likewise.
10728 (rint_downward_test_data): Likewise.
10729 (rint_test_downward): Likewise.
10730 (rint_upward_test_data): Likewise.
10731 (rint_test_upward): Likewise.
10732 (main): Don't call removed functions.
10733
5006148e
RM
107342014-03-14 Roland McGrath <roland@hack.frob.com>
10735
10736 * csu/Makefile ($(objpfx)version-info.h): Remove linux-specific
10737 "Compiled on ..." crapola. It is anti-useful.
10738
d6fe5e58
JM
107392014-03-14 Joseph Myers <joseph@codesourcery.com>
10740
10741 * scripts/evaluate-test.sh: Handle fourth argument to determine
10742 whether test run should stop on failure.
10743 * Makeconfig (stop-on-test-failure): New variable.
10744 (evaluate-test): Pass fourth argument to evaluate-test.sh based on
10745 $(stop-on-test-failure).
10746 * Makefile (tests): Give a summary of results from testing and
10747 exit with failure status if they include an ERROR or FAIL.
10748 (xtests): Likewise.
10749 * manual/install.texi (Configuring and compiling): Mention
10750 stop-on-test-failure=y.
10751 * INSTALL: Regenerated.
10752
498a2233
RM
107532014-03-14 Roland McGrath <roland@hack.frob.com>
10754
22dbc19d
RM
10755 * scripts/versionlist.awk: New file.
10756 * Makerules [$(build-shared) = yes]
10757 (postclean-generated): Add Versions.def, not Versions.def.v and
10758 Versions.def.v.i.
10759 ($(common-objpfx)Versions.def.v.i): Target removed.
10760 ($(common-objpfx)Versions.def): New target.
10761 ($(common-objpfx)Versions.all): Depend on that rather that
10762 $(common-objpfx)Versions.def.v.
10763 * Versions.def: File removed.
10764
498a2233
RM
10765 * Makeconfig (+gccwarn): Add -Wundef.
10766 * include/errno.h [IS_IN_rtld] [!RTLD_PRIVATE_ERRNO]: #error to catch
10767 a dl-sysdep.h breaking its contract.
10768 [!IS_IN_rtld] (RTLD_PRIVATE_ERRNO): Define it to 0.
10769 * include/stackinfo.h: New file.
10770 * nptl/sysdeps/i386/tls.h (TLS_DTV_AT_TP): New macro.
10771 * nptl/sysdeps/powerpc/tls.h (TLS_TCB_AT_TP): New macro.
10772 * nptl/sysdeps/s390/tls.h (TLS_DTV_AT_TP): New macro.
10773 * nptl/sysdeps/sh/tls.h (TLS_TCB_AT_TP): New macro.
10774 * nptl/sysdeps/sparc/tls.h (TLS_DTV_AT_TP): New macro.
10775 * nptl/sysdeps/x86_64/tls.h (TLS_DTV_AT_TP): New macro.
10776 * sysdeps/aarch64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
10777 * sysdeps/alpha/nptl/tls.h (TLS_TCB_AT_TP): New macro.
10778 * sysdeps/arm/nptl/tls.h (TLS_TCB_AT_TP): New macro.
10779 * sysdeps/ia64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
10780 * sysdeps/m68k/nptl/tls.h (TLS_TCB_AT_TP): New macro.
10781 * sysdeps/mach/hurd/i386/tls.h (TLS_DTV_AT_TP): New macro.
10782 * sysdeps/microblaze/nptl/tls.h (TLS_TCB_AT_TP): New macro.
10783 * sysdeps/mips/nptl/tls.h (TLS_TCB_AT_TP): New macro.
10784 * sysdeps/tile/nptl/tls.h (TLS_TCB_AT_TP): New macro.
10785
c7de5025
AZ
107862014-03-14 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10787
10788 [BZ #16707]
10789 * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Remove wrong
10790 implementation.
10791 * math/libm-test.inc (round_test_data): Add more tests.
10792
98fb27a3
AZ
10793 [BZ #16706]
10794 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Remove wrong
10795 implementation.
10796 * math/libm-test.inc (nearbyint_test_data): Add more tests.
10797
374f7f61
AZ
10798 [BZ #16701]
10799 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Remove wrong
10800 implementation.
10801 * math/libm-test.inc (ceil_test_data): Add more tests.
10802
4655c291
AZ
10803 * math/libm-test.inc (trunc_test_data): Add more tests related to
10804 BZ#16414.
10805
d7329d4b
RM
108062014-03-14 Roland McGrath <roland@hack.frob.com>
10807
10808 * nptl/pthread_create.c (__pthread_create_2_1): Test TLS_TCB_AT_TP
10809 with #if rather than #ifdef.
10810 * nptl/sysdeps/pthread/createthread.c (create_thread): Likewise.
10811
aa4de9ce
L
108122014-03-14 H.J. Lu <hongjiu.lu@intel.com>
10813
10814 * sysdeps/x86_64/configure.ac: Check AVX-512 assembler support
10815 first. Disable AVX-512 GCC support if assembler doesn't support
10816 it.
10817 * sysdeps/x86_64/configure: Regenerated.
10818
2e03fae7
CD
108192014-03-13 Carlos O'Donell <carlos@redhat.com>
10820
10821 * nptl/pthread_attr_setstack.c (__pthread_attr_setstack)
10822 [!_STACK_GROWS_DOWN]: Don't add stacksize to stackaddr.
10823 (__old_pthread_attr_setstack): Likewise.
10824 * nptl/pthread_attr_getstack.c (__pthread_attr_getstack)
10825 [!_STACK_GROWS_DOWN]: Likewise.
10826
43ca83ec
MF
108272014-03-13 Mike Frysinger <vapier@gentoo.org>
10828
10829 * config.make.in (have-bash2): Delete.
10830 * configure.ac (libc_cv_have_bash2): Delete.
10831 * configure: Regenerate.
10832 * elf/Makefile (common-ldd-rewrite): Rename to ...
10833 (ldd-rewrite): ... this. Move bash-ldd-rewrite content to end.
10834 (sh-ldd-rewrite): Delete.
10835 (bash-ldd-rewrite): Delete.
10836 (have-bash2): Delete checks.
57f41c40
AS
10837 [ldd-rewrite-script]: Change $(ldd-shell)-ldd-rewrite to
10838 ldd-rewrite.
c66e48b4
MF
10839
10840 * config.make.in (have-ksh): Delete.
10841 (KSH): Delete.
10842 * configure.ac (libc_cv_have_ksh): Delete.
10843 * configure: Regenerate.
10844
b93834ef
MF
10845 * elf/Makefile: Delete $(have-ksh) check.
10846 ($(objpfx)sotruss): Change KSH to BASH.
10847 * elf/sotruss.ksh: Rename to ...
10848 * elf/sotruss.sh: ... this. Change @KSH@ to @BASH@. Change
10849 function style to match POSIX. Drop ksh vim mode setting.
10850
f3a4632a
MF
10851 * manual/time.texi (Specifying the Time Zone with TZ): Change
10852 Tuesday to Thursday.
10853
5896c8bd
MF
10854 * debug/tst-longjmp_chk2.c: Update header comment.
10855 (stackoverflow_handler): Add comment. Call assert on pass value.
10856
2d63a517
IZ
108572014-03-13 Igor Zamyatin <igor.zamyatin@intel.com>
10858
7e54fd04 10859 [BZ #16194]
2d63a517
IZ
10860 * config.h.in (HAVE_AVX512_SUPPORT): New #undef.
10861 (HAVE_AVX512_ASM_SUPPORT): Likewise.
10862 * sysdeps/x86_64/bits/link.h (La_x86_64_zmm): New.
10863 (La_x86_64_vector): Add zmm.
10864 * sysdeps/x86_64/Makefile (tests): Add tst-audit10.
10865 (modules-names): Add tst-auditmod10a and tst-auditmod10b.
10866 ($(objpfx)tst-audit10): New target.
10867 ($(objpfx)tst-audit10.out): Likewise.
10868 (tst-audit10-ENV): New.
10869 (AVX512-CFLAGS): Likewise.
10870 (CFLAGS-tst-audit10.c): Likewise.
10871 (CFLAGS-tst-auditmod10a.c): Likewise.
10872 (CFLAGS-tst-auditmod10b.c): Likewise.
10873 * sysdeps/x86_64/configure.ac: Set config-cflags-avx512,
10874 HAVE_AVX512_SUPPORT and HAVE_AVX512_ASM_SUPPORT.
10875 * sysdeps/x86_64/configure: Regenerated.
10876 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Add
10877 AVX-512 zmm register support.
10878 (_dl_x86_64_save_sse): Likewise.
10879 (_dl_x86_64_restore_sse): Likewise.
10880 * sysdeps/x86_64/dl-trampoline.h: Updated to support different
10881 size vector registers.
10882 * sysdeps/x86_64/link-defines.sym (YMM_SIZE): New.
10883 (ZMM_SIZE): Likewise.
10884 * sysdeps/x86_64/tst-audit10.c: New file.
10885 * sysdeps/x86_64/tst-auditmod10a.c: Likewise.
10886 * sysdeps/x86_64/tst-auditmod10b.c: Likewise.
10887
44c4e5d5
RM
108882014-03-13 Roland McGrath <roland@hack.frob.com>
10889
10890 * configure.ac (HAVE_EHDR_START): New check.
10891 * configure: Regenerated.
10892 * config.h.in (HAVE_EHDR_START): New #undef.
10893 * elf/rtld.c (dl_main) [HAVE_EHDR_START]: Use __ehdr_start rather than
10894 assuming the lowest-addressed segment maps the start of the file.
10895
acd6e389
JM
108962014-03-13 Joseph Myers <joseph@codesourcery.com>
10897
10898 * INSTALL: Regenerated.
10899
6f918f36
WN
109002014-03-13 Will Newton <will.newton@linaro.org>
10901
10902 * manual/setjmp.texi (System V contexts): Improve
10903 clarity and grammar of documentation.
10904
798212a0
PP
109052014-03-12 Paul Pluzhnikov <ppluzhnikov@google.com>
10906
10907 [BZ #16381]
798212a0 10908 * elf/Makefile (tests): Add tst-pie2.
2e03fae7 10909 (tests-pie): Add tst-pie2.
798212a0
PP
10910 * elf/tst-pie2.c: New file.
10911 * elf/dl-load.c (_dl_map_object_from_fd): Assert correct l_type
10912 for ET_EXEC.
10913 * elf/rtld.c (map_doit): Load executable as lt_executable.
10914 (dl_main): Likewise.
10915
abe6d90c
JM
109162014-03-12 Joseph Myers <joseph@codesourcery.com>
10917
10918 [BZ #16642]
10919 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
10920 (__ASSUME_PSELECT): Undefine.
10921
dd3946c6
AZ
109222014-03-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10923
10924 [BZ #16689]
10925 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S
10926 (__bzero_ppc): Call memset@local instead of __memset_ppc@local for
10927 static build.
10928 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: Build IFUNC
10929 selector for static builds.
10930
c44496df
SP
109312014-03-12 Siddhesh Poyarekar <siddhesh@redhat.com>
10932
10933 [BZ #16695]
10934 * nscd/netgroupcache.c (addgetnetgrentX): Factor in space for
10935 key in the buffer.
10936
27c7220a
AZ
109372014-03-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10938
57f41c40
AS
10939 * sysdeps/powerpc/powerpc64/multiarch/strspn.c (strspn): Build
10940 IFUNC selector for static builds.
27c7220a 10941
600fa361
JM
109422014-03-11 Joseph Myers <joseph@codesourcery.com>
10943
76c96cf7
JM
10944 * sysdeps/mips/math_private.h [__mips_hard_float]
10945 (libc_feresetround_ctx): Define to libc_feupdateenv_mips_ctx not
10946 libc_feresetround_mips_ctx.
10947 [__mips_hard_float] (libc_feresetroundf_ctx): Likewise.
10948 [__mips_hard_float] (libc_feresetroundl_ctx): Likewise.
10949 [__mips_hard_float] (libc_feresetround_mips_ctx): Remove.
10950
600fa361
JM
10951 [BZ #16677]
10952 * math/s_nextafter.c (__nextafter): Do not return value from
10953 overflowing computation.
10954 * sysdeps/i386/fpu/s_nextafterl.c (__nextafterl): Likewise.
10955 * sysdeps/ieee754/flt-32/s_nextafterf.c (__nextafterf): Likewise.
10956 * sysdeps/ieee754/ldbl-128/s_nextafterl.c (__nextafterl):
10957 Likewise.
10958 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl):
10959 Likewise.
10960 * sysdeps/m68k/m680x0/fpu/s_nextafterl.c (__nextafterl): Likewise.
10961 * math/libm-test.inc (nextafter_test): Use ALL_RM_TEST.
10962
d7706c32
RM
109632014-03-11 Roland McGrath <roland@hack.frob.com>
10964
10965 * sysdeps/arm/setjmp.S: Use sfi_breg on stores of mangled registers.
10966 * sysdeps/arm/__longjmp.S: Use sfi_breg on loads of mangled registers.
10967 Move sfi_sp use from the load-multiple (that no longer sets sp) to
10968 the new mov targetting sp.
10969
4facea47
AZ
109702014-03-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10971
10972 [BZ #16683]
10973 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S (__bzero_ppc):
10974 Define it for static builds as well.
10975 (NO_BZERO_IMPL): Likewise.
10976
e65caf1f
VR
109772014-03-11 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
10978
10979 * sysdeps/powerpc/powerpc64/power7/strspn.S: New file: Optimization.
10980 * sysdeps/powerpc/powerpc64/multiarch/strspn.c: New file:
10981 multiarch strspn for PPC64.
10982 * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: New file
10983 * sysdeps/powerpc/powerpc64/multiarch/strspn-power7.S: New file
10984 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
10985 (__libc_ifunc_impl_list): Likewise.
10986 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strspn
10987 multiarch optimizations
10988 * string/strspn.c (strspn): Using macro to redefine symbol name.
10989
ba9cc071
AZ
109902014-03-10 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
10991 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10992
10993 * sysdeps/powerpc/powerpc64/power7/strncat.S: New file: Optimization.
10994 * sysdeps/powerpc/powerpc64/multiarch/strncat.c: New file:
10995 multiarch strncat for PPC64.
10996 * sysdeps/powerpc/powerpc64/multiarch/strncat-ppc64.c: New file
10997 * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.S: New file
10998 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
10999 (__libc_ifunc_impl_list): Likewise.
11000 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncat
11001 multiarch optimizations
11002
8b4ff974
SP
110032014-03-10 Siddhesh Poyarekar <siddhesh@redhat.com>
11004
11005 [BZ #16639]
11006 * nscd/nscd.service: Make service type forking.
11007
54b46a4b
AZ
110082014-03-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11009
11010 * sysdeps/powerpc/power5+/fpu/s_modf.c (__modf): Fix to return correct
11011 sign in non default rounding modes.
11012 * sysdeps/powerpc/power5+/fpu/s_modff.c (__modff): Likewise.
11013
e9996ef7
JM
110142014-03-08 Joseph Myers <joseph@codesourcery.com>
11015
11016 * math/libm-test.inc (ALL_RM_TEST): New macro.
11017 (ceil_test): Use ALL_RM_TEST.
11018 (cimag_test): Likewise.
11019 (conj_test): Likewise.
11020 (copysign_test): Likewise.
11021 (cproj_test): Likewise.
11022 (creal_test): Likewise.
11023 (fabs_test): Likewise.
11024 (floor_test): Likewise.
11025 (fmax_test): Likewise.
11026 (fmin_test): Likewise.
11027 (fmod_test): Likewise.
11028 (fpclassify_test): Likewise.
11029 (frexp_test): Likewise.
11030 (ilogb_test): Likewise.
11031 (isfinite_test): Likewise.
11032 (finite_test): Likewise.
11033 (isgreater_test): Likewise.
11034 (isgreaterequal_test): Likewise.
11035 (isinf_test): Likewise.
11036 (isless_test): Likewise.
11037 (islessequal_test): Likewise.
11038 (islessgreater_test): Likewise.
11039 (isnan_test): Likewise.
11040 (isnormal_test): Likewise.
11041 (issignaling_test): Likewise.
11042 (isunordered_test): Likewise.
11043 (logb_test): Likewise.
11044 (logb_downward_test_data): Remove.
11045 (logb_test_downward): Likewise.
11046 (lround_test): Use ALL_RM_TEST.
11047 (llround_test): Likewise.
11048 (modf_test): Likewise.
11049 (nexttoward_test): Likewise.
11050 (remainder_test): Likewise.
11051 (drem_test): Likewise.
11052 (remainder_tonearest_test_data): Likewise.
11053 (remainder_test_tonearest): Likewise.
11054 (drem_test_tonearest): Likewise.
11055 (remainder_towardzero_test_data): Likewise.
11056 (remainder_test_towardzero): Likewise.
11057 (drem_test_towardzero): Likewise.
11058 (remainder_downward_test_data): Likewise.
11059 (remainder_test_downward): Likewise.
11060 (drem_test_downward): Likewise.
11061 (remainder_upward_test_data): Likewise.
11062 (remainder_test_upward): Likewise.
11063 (drem_test_upward): Likewise.
11064 (remquo_test): Use ALL_RM_TEST. Remove comment about x.
11065 (round_test): Use ALL_RM_TEST.
11066 (signbit_test): Likewise.
11067 (trunc_test): Likewise.
11068 (significand_test): Likewise.
11069 (main): Don't call removed functions.
11070
bc61d27c
JM
110712014-03-07 Joseph Myers <joseph@codesourcery.com>
11072
5c780849
JM
11073 [BZ #16674]
11074 * bits/siginfo.h (ILL_ILLOPC): Condition on [__USE_XOPEN_EXTENDED
11075 || __USE_XOPEN2K8].
11076 (ILL_ILLOPN): Likewise.
11077 (ILL_ILLADR): Likewise.
11078 (ILL_ILLTRP): Likewise.
11079 (ILL_PRVOPC): Likewise.
11080 (ILL_PRVREG): Likewise.
11081 (ILL_COPROC): Likewise.
11082 (ILL_BADSTK): Likewise.
11083 (FPE_INTDIV): Likewise.
11084 (FPE_INTOVF): Likewise.
11085 (FPE_FLTDIV): Likewise.
11086 (FPE_FLTOVF): Likewise.
11087 (FPE_FLTUND): Likewise.
11088 (FPE_FLTRES): Likewise.
11089 (FPE_FLTINV): Likewise.
11090 (FPE_FLTSUB): Likewise.
11091 (SEGV_MAPERR): Likewise.
11092 (SEGV_ACCERR): Likewise.
11093 (BUS_ADRALN): Likewise.
11094 (BUS_ADRERR): Likewise.
11095 (BUS_OBJERR): Likewise.
11096 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
11097 (TRAP_TRACE): Likewise.
11098 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
11099 __USE_XOPEN2K8].
11100 (CLD_KILLED): Likewise.
11101 (CLD_DUMPED): Likewise.
11102 (CLD_TRAPPED): Likewise.
11103 (CLD_STOPPED): Likewise.
11104 (CLD_CONTINUED): Likewise.
11105 (POLL_IN): Likewise.
11106 (POLL_OUT): Likewise.
11107 (POLL_MSG): Likewise.
11108 (POLL_ERR): Likewise.
11109 (POLL_PRI): Likewise.
11110 (POLL_HUP): Likewise.
11111 * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h (ILL_ILLOPC):
11112 Likewise.
11113 (ILL_ILLOPN): Likewise.
11114 (ILL_ILLADR): Likewise.
11115 (ILL_ILLTRP): Likewise.
11116 (ILL_PRVOPC): Likewise.
11117 (ILL_PRVREG): Likewise.
11118 (ILL_COPROC): Likewise.
11119 (ILL_BADSTK): Likewise.
11120 (FPE_INTDIV): Likewise.
11121 (FPE_INTOVF): Likewise.
11122 (FPE_FLTDIV): Likewise.
11123 (FPE_FLTOVF): Likewise.
11124 (FPE_FLTUND): Likewise.
11125 (FPE_FLTRES): Likewise.
11126 (FPE_FLTINV): Likewise.
11127 (FPE_FLTSUB): Likewise.
11128 (SEGV_MAPERR): Likewise.
11129 (SEGV_ACCERR): Likewise.
11130 (BUS_ADRALN): Likewise.
11131 (BUS_ADRERR): Likewise.
11132 (BUS_OBJERR): Likewise.
11133 (BUS_MCEERR_AR): Likewise.
11134 (BUS_MCEERR_AO): Likewise.
11135 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
11136 (TRAP_TRACE): Likewise.
11137 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
11138 __USE_XOPEN2K8].
11139 (CLD_KILLED): Likewise.
11140 (CLD_DUMPED): Likewise.
11141 (CLD_TRAPPED): Likewise.
11142 (CLD_STOPPED): Likewise.
11143 (CLD_CONTINUED): Likewise.
11144 (POLL_IN): Likewise.
11145 (POLL_OUT): Likewise.
11146 (POLL_MSG): Likewise.
11147 (POLL_ERR): Likewise.
11148 (POLL_PRI): Likewise.
11149 (POLL_HUP): Likewise.
11150 * sysdeps/unix/sysv/linux/bits/siginfo.h (ILL_ILLOPC): Likewise.
11151 (ILL_ILLOPN): Likewise.
11152 (ILL_ILLADR): Likewise.
11153 (ILL_ILLTRP): Likewise.
11154 (ILL_PRVOPC): Likewise.
11155 (ILL_PRVREG): Likewise.
11156 (ILL_COPROC): Likewise.
11157 (ILL_BADSTK): Likewise.
11158 (FPE_INTDIV): Likewise.
11159 (FPE_INTOVF): Likewise.
11160 (FPE_FLTDIV): Likewise.
11161 (FPE_FLTOVF): Likewise.
11162 (FPE_FLTUND): Likewise.
11163 (FPE_FLTRES): Likewise.
11164 (FPE_FLTINV): Likewise.
11165 (FPE_FLTSUB): Likewise.
11166 (SEGV_MAPERR): Likewise.
11167 (SEGV_ACCERR): Likewise.
11168 (BUS_ADRALN): Likewise.
11169 (BUS_ADRERR): Likewise.
11170 (BUS_OBJERR): Likewise.
11171 (BUS_MCEERR_AR): Likewise.
11172 (BUS_MCEERR_AO): Likewise.
11173 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
11174 (TRAP_TRACE): Likewise.
11175 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
11176 __USE_XOPEN2K8].
11177 (CLD_KILLED): Likewise.
11178 (CLD_DUMPED): Likewise.
11179 (CLD_TRAPPED): Likewise.
11180 (CLD_STOPPED): Likewise.
11181 (CLD_CONTINUED): Likewise.
11182 (POLL_IN): Likewise.
11183 (POLL_OUT): Likewise.
11184 (POLL_MSG): Likewise.
11185 (POLL_ERR): Likewise.
11186 (POLL_PRI): Likewise.
11187 (POLL_HUP): Likewise.
11188 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h (ILL_ILLOPC):
11189 Likewise.
11190 (ILL_ILLOPN): Likewise.
11191 (ILL_ILLADR): Likewise.
11192 (ILL_ILLTRP): Likewise.
11193 (ILL_PRVOPC): Likewise.
11194 (ILL_PRVREG): Likewise.
11195 (ILL_COPROC): Likewise.
11196 (ILL_BADSTK): Likewise.
11197 (ILL_BADIADDR): Likewise.
11198 (ILL_BREAK): Likewise.
11199 (FPE_INTDIV): Likewise.
11200 (FPE_INTOVF): Likewise.
11201 (FPE_FLTDIV): Likewise.
11202 (FPE_FLTOVF): Likewise.
11203 (FPE_FLTUND): Likewise.
11204 (FPE_FLTRES): Likewise.
11205 (FPE_FLTINV): Likewise.
11206 (FPE_FLTSUB): Likewise.
11207 (FPE_DECOVF): Likewise.
11208 (FPE_DECDIV): Likewise.
11209 (FPE_DECERR): Likewise.
11210 (FPE_INVASC): Likewise.
11211 (FPE_INVDEC): Likewise.
11212 (SEGV_MAPERR): Likewise.
11213 (SEGV_ACCERR): Likewise.
11214 (SEGV_PSTKOVF): Likewise.
11215 (BUS_ADRALN): Likewise.
11216 (BUS_ADRERR): Likewise.
11217 (BUS_OBJERR): Likewise.
11218 (BUS_MCEERR_AR): Likewise.
11219 (BUS_MCEERR_AO): Likewise.
11220 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
11221 (TRAP_TRACE): Likewise.
11222 (TRAP_BRANCH): Likewise.
11223 (TRAP_HWBKPT): Likewise.
11224 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
11225 __USE_XOPEN2K8].
11226 (CLD_KILLED): Likewise.
11227 (CLD_DUMPED): Likewise.
11228 (CLD_TRAPPED): Likewise.
11229 (CLD_STOPPED): Likewise.
11230 (CLD_CONTINUED): Likewise.
11231 (POLL_IN): Likewise.
11232 (POLL_OUT): Likewise.
11233 (POLL_MSG): Likewise.
11234 (POLL_ERR): Likewise.
11235 (POLL_PRI): Likewise.
11236 (POLL_HUP): Likewise.
11237 * sysdeps/unix/sysv/linux/mips/bits/siginfo.h (ILL_ILLOPC): Likewise.
11238 (ILL_ILLOPN): Likewise.
11239 (ILL_ILLADR): Likewise.
11240 (ILL_ILLTRP): Likewise.
11241 (ILL_PRVOPC): Likewise.
11242 (ILL_PRVREG): Likewise.
11243 (ILL_COPROC): Likewise.
11244 (ILL_BADSTK): Likewise.
11245 (FPE_INTDIV): Likewise.
11246 (FPE_INTOVF): Likewise.
11247 (FPE_FLTDIV): Likewise.
11248 (FPE_FLTOVF): Likewise.
11249 (FPE_FLTUND): Likewise.
11250 (FPE_FLTRES): Likewise.
11251 (FPE_FLTINV): Likewise.
11252 (FPE_FLTSUB): Likewise.
11253 (SEGV_MAPERR): Likewise.
11254 (SEGV_ACCERR): Likewise.
11255 (BUS_ADRALN): Likewise.
11256 (BUS_ADRERR): Likewise.
11257 (BUS_OBJERR): Likewise.
11258 (BUS_MCEERR_AR): Likewise.
11259 (BUS_MCEERR_AO): Likewise.
11260 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
11261 (TRAP_TRACE): Likewise.
11262 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
11263 __USE_XOPEN2K8].
11264 (CLD_KILLED): Likewise.
11265 (CLD_DUMPED): Likewise.
11266 (CLD_TRAPPED): Likewise.
11267 (CLD_STOPPED): Likewise.
11268 (CLD_CONTINUED): Likewise.
11269 (POLL_IN): Likewise.
11270 (POLL_OUT): Likewise.
11271 (POLL_MSG): Likewise.
11272 (POLL_ERR): Likewise.
11273 (POLL_PRI): Likewise.
11274 (POLL_HUP): Likewise.
11275 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (ILL_ILLOPC): Likewise.
11276 (ILL_ILLOPN): Likewise.
11277 (ILL_ILLADR): Likewise.
11278 (ILL_ILLTRP): Likewise.
11279 (ILL_PRVOPC): Likewise.
11280 (ILL_PRVREG): Likewise.
11281 (ILL_COPROC): Likewise.
11282 (ILL_BADSTK): Likewise.
11283 (FPE_INTDIV): Likewise.
11284 (FPE_INTOVF): Likewise.
11285 (FPE_FLTDIV): Likewise.
11286 (FPE_FLTOVF): Likewise.
11287 (FPE_FLTUND): Likewise.
11288 (FPE_FLTRES): Likewise.
11289 (FPE_FLTINV): Likewise.
11290 (FPE_FLTSUB): Likewise.
11291 (SEGV_MAPERR): Likewise.
11292 (SEGV_ACCERR): Likewise.
11293 (BUS_ADRALN): Likewise.
11294 (BUS_ADRERR): Likewise.
11295 (BUS_OBJERR): Likewise.
11296 (BUS_MCEERR_AR): Likewise.
11297 (BUS_MCEERR_AO): Likewise.
11298 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
11299 (TRAP_TRACE): Likewise.
11300 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
11301 __USE_XOPEN2K8].
11302 (CLD_KILLED): Likewise.
11303 (CLD_DUMPED): Likewise.
11304 (CLD_TRAPPED): Likewise.
11305 (CLD_STOPPED): Likewise.
11306 (CLD_CONTINUED): Likewise.
11307 (POLL_IN): Likewise.
11308 (POLL_OUT): Likewise.
11309 (POLL_MSG): Likewise.
11310 (POLL_ERR): Likewise.
11311 (POLL_PRI): Likewise.
11312 (POLL_HUP): Likewise.
11313 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (ILL_ILLOPC): Likewise.
11314 (ILL_ILLOPN): Likewise.
11315 (ILL_ILLADR): Likewise.
11316 (ILL_ILLTRP): Likewise.
11317 (ILL_PRVOPC): Likewise.
11318 (ILL_PRVREG): Likewise.
11319 (ILL_COPROC): Likewise.
11320 (ILL_BADSTK): Likewise.
11321 (FPE_INTDIV): Likewise.
11322 (FPE_INTOVF): Likewise.
11323 (FPE_FLTDIV): Likewise.
11324 (FPE_FLTOVF): Likewise.
11325 (FPE_FLTUND): Likewise.
11326 (FPE_FLTRES): Likewise.
11327 (FPE_FLTINV): Likewise.
11328 (FPE_FLTSUB): Likewise.
11329 (SEGV_MAPERR): Likewise.
11330 (SEGV_ACCERR): Likewise.
11331 (BUS_ADRALN): Likewise.
11332 (BUS_ADRERR): Likewise.
11333 (BUS_OBJERR): Likewise.
11334 (BUS_MCEERR_AR): Likewise.
11335 (BUS_MCEERR_AO): Likewise.
11336 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
11337 (TRAP_TRACE): Likewise.
11338 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
11339 __USE_XOPEN2K8].
11340 (CLD_KILLED): Likewise.
11341 (CLD_DUMPED): Likewise.
11342 (CLD_TRAPPED): Likewise.
11343 (CLD_STOPPED): Likewise.
11344 (CLD_CONTINUED): Likewise.
11345 (POLL_IN): Likewise.
11346 (POLL_OUT): Likewise.
11347 (POLL_MSG): Likewise.
11348 (POLL_ERR): Likewise.
11349 (POLL_PRI): Likewise.
11350 (POLL_HUP): Likewise.
11351 * sysdeps/unix/sysv/linux/tile/bits/siginfo.h (ILL_ILLOPC): Likewise.
11352 (ILL_ILLOPN): Likewise.
11353 (ILL_ILLADR): Likewise.
11354 (ILL_ILLTRP): Likewise.
11355 (ILL_PRVOPC): Likewise.
11356 (ILL_PRVREG): Likewise.
11357 (ILL_COPROC): Likewise.
11358 (ILL_BADSTK): Likewise.
11359 (ILL_DBLFLT): Likewise.
11360 (ILL_HARDWALL): Likewise.
11361 (FPE_INTDIV): Likewise.
11362 (FPE_INTOVF): Likewise.
11363 (FPE_FLTDIV): Likewise.
11364 (FPE_FLTOVF): Likewise.
11365 (FPE_FLTUND): Likewise.
11366 (FPE_FLTRES): Likewise.
11367 (FPE_FLTINV): Likewise.
11368 (FPE_FLTSUB): Likewise.
11369 (SEGV_MAPERR): Likewise.
11370 (SEGV_ACCERR): Likewise.
11371 (BUS_ADRALN): Likewise.
11372 (BUS_ADRERR): Likewise.
11373 (BUS_OBJERR): Likewise.
11374 (BUS_MCEERR_AR): Likewise.
11375 (BUS_MCEERR_AO): Likewise.
11376 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
11377 (TRAP_TRACE): Likewise.
11378 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
11379 __USE_XOPEN2K8].
11380 (CLD_KILLED): Likewise.
11381 (CLD_DUMPED): Likewise.
11382 (CLD_TRAPPED): Likewise.
11383 (CLD_STOPPED): Likewise.
11384 (CLD_CONTINUED): Likewise.
11385 (POLL_IN): Likewise.
11386 (POLL_OUT): Likewise.
11387 (POLL_MSG): Likewise.
11388 (POLL_ERR): Likewise.
11389 (POLL_PRI): Likewise.
11390 (POLL_HUP): Likewise.
11391 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (ILL_ILLOPC): Likewise.
11392 (ILL_ILLOPN): Likewise.
11393 (ILL_ILLADR): Likewise.
11394 (ILL_ILLTRP): Likewise.
11395 (ILL_PRVOPC): Likewise.
11396 (ILL_PRVREG): Likewise.
11397 (ILL_COPROC): Likewise.
11398 (ILL_BADSTK): Likewise.
11399 (FPE_INTDIV): Likewise.
11400 (FPE_INTOVF): Likewise.
11401 (FPE_FLTDIV): Likewise.
11402 (FPE_FLTOVF): Likewise.
11403 (FPE_FLTUND): Likewise.
11404 (FPE_FLTRES): Likewise.
11405 (FPE_FLTINV): Likewise.
11406 (FPE_FLTSUB): Likewise.
11407 (SEGV_MAPERR): Likewise.
11408 (SEGV_ACCERR): Likewise.
11409 (BUS_ADRALN): Likewise.
11410 (BUS_ADRERR): Likewise.
11411 (BUS_OBJERR): Likewise.
11412 (BUS_MCEERR_AR): Likewise.
11413 (BUS_MCEERR_AO): Likewise.
11414 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
11415 (TRAP_TRACE): Likewise.
11416 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
11417 __USE_XOPEN2K8].
11418 (CLD_KILLED): Likewise.
11419 (CLD_DUMPED): Likewise.
11420 (CLD_TRAPPED): Likewise.
11421 (CLD_STOPPED): Likewise.
11422 (CLD_CONTINUED): Likewise.
11423 (POLL_IN): Likewise.
11424 (POLL_OUT): Likewise.
11425 (POLL_MSG): Likewise.
11426 (POLL_ERR): Likewise.
11427 (POLL_PRI): Likewise.
11428 (POLL_HUP): Likewise.
11429 * conform/Makefile (test-xfail-POSIX/signal.h/conform): Remove.
11430 (test-xfail-POSIX/sys/wait.h/conform): Likewise.
11431
bc61d27c
JM
11432 [BZ #16670]
11433 * posix/sched.h [!__USE_XOPEN2K] (__need_time_t): Don't define
11434 before #include of <time.h>.
11435 [!__USE_XOPEN2K] (__need_timespec): Likewise.
11436 * conform/Makefile (test-xfail-POSIX/sched.h/conform): Remove.
11437 (test-xfail-UNIX98/sched.h/conform): Likewise.
11438
302949e2
MS
114392014-03-07 Marcus Shawcroft <marcus.shawcroft@arm.com>
11440
11441 * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Detect and
11442 error absence of trapping exception support.
11443 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
11444
a00f522a
JM
114452014-03-07 Joseph Myers <joseph@codesourcery.com>
11446
6f99f280
JM
11447 * catgets/Makefile (tests-special): Add $(objpfx)sample.SJIS.cat.
11448 ($(objpfx)sample.SJIS.cat): Use $(evaluate-test).
11449 * timezone/Makefile (testdata): Move definition above include of
11450 Rules.
11451 (test-zones): New variable.
11452 (tests-special): Add zone files.
11453 (build-testdata): Use $(evaluate-test).
11454
0b20a9e8
JM
11455 * elf/Makefile (tests-special): Rename tests to end with .out.
11456 ($(objpfx)noload-mem): Likewise.
11457 ($(objpfx)tst-leaks1-mem): Likewise.
11458 ($(objpfx)tst-leaks1-static-mem.out): Likewise.
11459 * iconv/Makefile (xtests-special): Change test-iconvconfig to
11460 $(objpfx)test-iconvconfig.out.
11461 (test-iconvconfig): Change to $(objpfx)test-iconvconfig.out. Use
11462 set -e inside subshell and redirect output to file.
11463 * iconvdata/Makefile (generated): Rename tests to end with .out.
11464 Correct type.
11465 (tests-special): Rename tests to end with .out.
11466 ($(objpfx)mtrace-tst-loading): Likewise.
11467 * intl/Makefile (generated): Likewise.
11468 (tests-special): Likewise.
11469 ($(objpfx)mtrace-tst-gettext): Likewise.
11470 * misc/Makefile (generated): Likewise.
11471 (tests-special): Likewise.
11472 ($(objpfx)tst-error1-mem): Likewise.
11473 * nptl/Makefile (tests-special): Likewise.
11474 ($(objpfx)tst-stack3-mem): Likewise.
11475 (generated): Likewise.
11476 * posix/Makefile (generated): Likewise.
11477 (tests-special): Likewise.
11478 (xtests-special): Likewise.
11479 ($(objpfx)tst-fnmatch-mem): Likewise.
11480 ($(objpfx)bug-regex2-mem): Likewise.
11481 ($(objpfx)bug-regex14-mem): Likewise.
11482 ($(objpfx)bug-regex21-mem): Likewise.
11483 ($(objpfx)bug-regex31-mem): Likewise.
11484 ($(objpfx)tst-vfork3-mem): Likewise.
11485 ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
11486 ($(objpfx)tst-pcre-mem): Likewise.
11487 ($(objpfx)tst-boost-mem): Likewise.
11488 ($(objpfx)bug-ga2-mem): Likewise.
11489 ($(objpfx)bug-glob2-mem): Likewise.
11490 * resolv/Makefile (generate): Likewise.
11491 (tests-special): Likewise.
11492 (xtests-special): Likewise.
11493 (generated): Likewise.
11494 ($(objpfx)mtrace-tst-leaks): Likewise.
11495 ($(objpfx)mtrace-tst-leaks2): Likewise.
11496
265d52ab
JM
11497 * scripts/merge-test-results.sh: New file.
11498 * Makefile (tests-special-notdir): New variable.
11499 (tests): Run merge-test-results.sh.
11500 (xtests): Likewise.
11501 * Rules (tests-special-notdir): New variable.
11502 (xtests-special-notdir): Likewise.
11503 (tests): Run merge-test-results.sh
11504 (xtests): Likewise.
11505
54ee292d
JM
11506 * Makeconfig (test-xfail-name): New variable.
11507 (evaluate-test): Use $(test-xfail-name) instead of $(@F:.out=) to
11508 compute variable name for expected failures.
11509 * conform/Makefile (conformtest-headers-data): New variable.
11510 (conformtest-standards): Likewise.
11511 (conformtest-headers-ISO): Likewise.
11512 (conformtest-headers-ISO99): Likewise.
11513 (conformtest-headers-ISO11): Likewise.
11514 (conformtest-headers-POSIX): Likewise.
11515 (conformtest-headers-XPG3): Likewise.
11516 (conformtest-headers-XPG4): Likewise.
11517 (conformtest-headers-UNIX98): Likewise.
11518 (conformtest-headers-XOPEN2K): Likewise.
11519 (conformtest-headers-POSIX2008): Likewise.
11520 (conformtest-headers-XOPEN2K8): Likewise.
11521 (conformtest-header-list-base): Likewise.
11522 (conformtest-header-list-tests): Likewise.
11523 (conformtest-header-base): Likewise.
11524 (conformtest-header-tests): Likewise.
11525 (tests-special): Add $(conformtest-header-list-tests). If
11526 [$(fast-check) && !$(cross-compiling)], add
11527 $(conformtest-header-tests) instead of
11528 $(objpfx)run-conformtest.out.
11529 (generated): Add $(conformtest-header-list-base). If
11530 [$(fast-check) && !$(cross-compiling)], add
11531 $(conformtest-header-base). Remove previous setting.
11532 ($(conformtest-header-list-tests)): New target.
11533 (test-xfail-run-conformtest): Remove variable.
11534 ($(objpfx)run-conformtest.out): Remove target.
11535 (test-xfail-ISO11/complex.h/conform): New variable.
11536 (test-xfail-ISO11/stdalign.h/conform): Likewise.
11537 (test-xfail-ISO11/stdnoreturn.h/conform): Likewise.
11538 (test-xfail-XPG3/varargs.h/conform): Likewise.
11539 (test-xfail-XPG4/varargs.h/conform): Likewise.
11540 (test-xfail-UNIX98/varargs.h/conform): Likewise.
11541 (test-xfail-XPG4/ndbm.h/conform): Likewise.
11542 (test-xfail-UNIX98/ndbm.h/conform): Likewise.
11543 (test-xfail-XOPEN2K/ndbm.h/conform): Likewise.
11544 (test-xfail-XOPEN2K8/ndbm.h/conform): Likewise.
11545 (test-xfail-XPG3/fcntl.h/conform): Likewise.
11546 (test-xfail-XPG3/ftw.h/conform): Likewise.
11547 (test-xfail-XPG3/grp.h/conform): Likewise.
11548 (test-xfail-XPG3/langinfo.h/conform): Likewise.
11549 (test-xfail-XPG3/limits.h/conform): Likewise.
11550 (test-xfail-XPG3/pwd.h/conform): Likewise.
11551 (test-xfail-XPG3/search.h/conform): Likewise.
11552 (test-xfail-XPG3/signal.h/conform): Likewise.
11553 (test-xfail-XPG3/stdio.h/conform): Likewise.
11554 (test-xfail-XPG3/stdlib.h/conform): Likewise.
11555 (test-xfail-XPG3/string.h/conform): Likewise.
11556 (test-xfail-XPG3/sys/ipc.h/conform): Likewise.
11557 (test-xfail-XPG3/sys/msg.h/conform): Likewise.
11558 (test-xfail-XPG3/sys/sem.h/conform): Likewise.
11559 (test-xfail-XPG3/sys/shm.h/conform): Likewise.
11560 (test-xfail-XPG3/sys/stat.h/conform): Likewise.
11561 (test-xfail-XPG3/sys/types.h/conform): Likewise.
11562 (test-xfail-XPG3/sys/wait.h/conform): Likewise.
11563 (test-xfail-XPG3/termios.h/conform): Likewise.
11564 (test-xfail-XPG3/time.h/conform): Likewise.
11565 (test-xfail-XPG3/unistd.h/conform): Likewise.
11566 (test-xfail-XPG4/arpa/inet.h/conform): Likewise.
11567 (test-xfail-XPG4/fcntl.h/conform): Likewise.
11568 (test-xfail-XPG4/langinfo.h/conform): Likewise.
11569 (test-xfail-XPG4/netdb.h/conform): Likewise.
11570 (test-xfail-XPG4/netinet/in.h/conform): Likewise.
11571 (test-xfail-XPG4/signal.h/conform): Likewise.
11572 (test-xfail-XPG4/stdio.h/conform): Likewise.
11573 (test-xfail-XPG4/stdlib.h/conform): Likewise.
11574 (test-xfail-XPG4/stropts.h/conform): Likewise.
11575 (test-xfail-XPG4/sys/ipc.h/conform): Likewise.
11576 (test-xfail-XPG4/sys/msg.h/conform): Likewise.
11577 (test-xfail-XPG4/sys/sem.h/conform): Likewise.
11578 (test-xfail-XPG4/sys/shm.h/conform): Likewise.
11579 (test-xfail-XPG4/sys/socket.h/conform): Likewise.
11580 (test-xfail-XPG4/sys/stat.h/conform): Likewise.
11581 (test-xfail-XPG4/sys/time.h/conform): Likewise.
11582 (test-xfail-XPG4/sys/types.h/conform): Likewise.
11583 (test-xfail-XPG4/sys/wait.h/conform): Likewise.
11584 (test-xfail-XPG4/termios.h/conform): Likewise.
11585 (test-xfail-XPG4/ucontext.h/conform): Likewise.
11586 (test-xfail-XPG4/unistd.h/conform): Likewise.
11587 (test-xfail-XPG4/utmpx.h/conform): Likewise.
11588 (test-xfail-POSIX/sched.h/conform): Likewise.
11589 (test-xfail-POSIX/signal.h/conform): Likewise.
11590 (test-xfail-POSIX/sys/wait.h/conform): Likewise.
11591 (test-xfail-POSIX/tar.h/conform): Likewise.
11592 (test-xfail-UNIX98/arpa/inet.h/conform): Likewise.
11593 (test-xfail-UNIX98/fcntl.h/conform): Likewise.
11594 (test-xfail-UNIX98/langinfo.h/conform): Likewise.
11595 (test-xfail-UNIX98/netdb.h/conform): Likewise.
11596 (test-xfail-UNIX98/netinet/in.h/conform): Likewise.
11597 (test-xfail-UNIX98/sched.h/conform): Likewise.
11598 (test-xfail-UNIX98/signal.h/conform): Likewise.
11599 (test-xfail-UNIX98/stdio.h/conform): Likewise.
11600 (test-xfail-UNIX98/stdlib.h/conform): Likewise.
11601 (test-xfail-UNIX98/stropts.h/conform): Likewise.
11602 (test-xfail-UNIX98/sys/ipc.h/conform): Likewise.
11603 (test-xfail-UNIX98/sys/msg.h/conform): Likewise.
11604 (test-xfail-UNIX98/sys/sem.h/conform): Likewise.
11605 (test-xfail-UNIX98/sys/shm.h/conform): Likewise.
11606 (test-xfail-UNIX98/sys/socket.h/conform): Likewise.
11607 (test-xfail-UNIX98/sys/time.h/conform): Likewise.
11608 (test-xfail-UNIX98/sys/wait.h/conform): Likewise.
11609 (test-xfail-UNIX98/ucontext.h/conform): Likewise.
11610 (test-xfail-UNIX98/unistd.h/conform): Likewise.
11611 (test-xfail-UNIX98/utmpx.h/conform): Likewise.
11612 (test-xfail-XOPEN2K/aio.h/conform): Likewise.
11613 (test-xfail-XOPEN2K/arpa/inet.h/conform): Likewise.
11614 (test-xfail-XOPEN2K/fcntl.h/conform): Likewise.
11615 (test-xfail-XOPEN2K/langinfo.h/conform): Likewise.
11616 (test-xfail-XOPEN2K/math.h/conform): Likewise.
11617 (test-xfail-XOPEN2K/mqueue.h/conform): Likewise.
11618 (test-xfail-XOPEN2K/netdb.h/conform): Likewise.
11619 (test-xfail-XOPEN2K/netinet/in.h/conform): Likewise.
11620 (test-xfail-XOPEN2K/semaphore.h/conform): Likewise.
11621 (test-xfail-XOPEN2K/signal.h/conform): Likewise.
11622 (test-xfail-XOPEN2K/stdarg.h/conform): Likewise.
11623 (test-xfail-XOPEN2K/stdio.h/conform): Likewise.
11624 (test-xfail-XOPEN2K/stropts.h/conform): Likewise.
11625 (test-xfail-XOPEN2K/sys/ipc.h/conform): Likewise.
11626 (test-xfail-XOPEN2K/sys/msg.h/conform): Likewise.
11627 (test-xfail-XOPEN2K/sys/sem.h/conform): Likewise.
11628 (test-xfail-XOPEN2K/sys/shm.h/conform): Likewise.
11629 (test-xfail-XOPEN2K/sys/socket.h/conform): Likewise.
11630 (test-xfail-XOPEN2K/sys/wait.h/conform): Likewise.
11631 (test-xfail-XOPEN2K/termios.h/conform): Likewise.
11632 (test-xfail-XOPEN2K/tgmath.h/conform): Likewise.
11633 (test-xfail-XOPEN2K/ucontext.h/conform): Likewise.
11634 (test-xfail-XOPEN2K/utmpx.h/conform): Likewise.
11635 (test-xfail-POSIX2008/arpa/inet.h/conform): Likewise.
11636 (test-xfail-POSIX2008/fcntl.h/conform): Likewise.
11637 (test-xfail-POSIX2008/netdb.h/conform): Likewise.
11638 (test-xfail-POSIX2008/netinet/in.h/conform): Likewise.
11639 (test-xfail-POSIX2008/signal.h/conform): Likewise.
11640 (test-xfail-POSIX2008/stropts.h/conform): Likewise.
11641 (test-xfail-POSIX2008/sys/socket.h/conform): Likewise.
11642 (test-xfail-POSIX2008/sys/wait.h/conform): Likewise.
11643 (test-xfail-XOPEN2K8/arpa/inet.h/conform): Likewise.
11644 (test-xfail-XOPEN2K8/fcntl.h/conform): Likewise.
11645 (test-xfail-XOPEN2K8/limits.h/conform): Likewise.
11646 (test-xfail-XOPEN2K8/math.h/conform): Likewise.
11647 (test-xfail-XOPEN2K8/netdb.h/conform): Likewise.
11648 (test-xfail-XOPEN2K8/netinet/in.h/conform): Likewise.
11649 (test-xfail-XOPEN2K8/signal.h/conform): Likewise.
11650 (test-xfail-XOPEN2K8/stdio.h/conform): Likewise.
11651 (test-xfail-XOPEN2K8/stropts.h/conform): Likewise.
11652 (test-xfail-XOPEN2K8/sys/ipc.h/conform): Likewise.
11653 (test-xfail-XOPEN2K8/sys/msg.h/conform): Likewise.
11654 (test-xfail-XOPEN2K8/sys/select.h/conform): Likewise.
11655 (test-xfail-XOPEN2K8/sys/sem.h/conform): Likewise.
11656 (test-xfail-XOPEN2K8/sys/shm.h/conform): Likewise.
11657 (test-xfail-XOPEN2K8/sys/socket.h/conform): Likewise.
11658 (test-xfail-XOPEN2K8/sys/time.h/conform): Likewise.
11659 (test-xfail-XOPEN2K8/sys/wait.h/conform): Likewise.
11660 (test-xfail-XOPEN2K8/termios.h/conform): Likewise.
11661 (test-xfail-XOPEN2K8/tgmath.h/conform): Likewise.
11662 (test-xfail-XOPEN2K8/utmpx.h/conform): Likewise.
11663 (conformtest-cc-flags): Likewise.
11664 ($(conformtest-header-tests): New target.
11665 * conform/check-header-lists.sh: New file.
11666 * conform/run-conformtest.sh: Remove.
11667
a00f522a
JM
11668 * conform/conformtest.pl: Allow ' and \ in values given for
11669 constants.
11670 * conform/data/semaphore.h-data [POSIX] (fcntl.h): Allow header
11671 inclusion.
11672 [POSIX] (sys/types.h): Likewise.
11673 [POSIX2008 || XOPEN2K8] (sys/types.h): Don't allow header
11674 inclusion.
11675 [POSIX || UNIX98 || XOPEN2K] (time.h): Don't allow header
11676 inclusion.
11677 * conform/data/signal.h-data (SIGIO): Remove expectation.
11678 [XPG3] (SIGBUS): Do not expect.
11679 [POSIX || XPG3] (SIGPOLL): Likewise.
11680 [POSIX || XPG3] (SIGPROF): Likewise.
11681 [POSIX || XPG3] (SIGSYS): Likewise.
11682 [XPG3] (SIGTRAP): Likewise.
11683 [POSIX || XPG3] (SIGURG): Likewise.
11684 [POSIX || XPG3] (SIGVTALRM): Likewise.
11685 [POSIX || XPG3] (SIGXCPU): Likewise.
11686 [POSIX || XPG3] (SIGXFSZ): Likewise.
11687 [POSIX] (SA_SIGINFO): Expect.
11688 [XPG3] (siginfo_t): Do not expect type or contents.
11689 [POSIX] (si_pid): Do not expect element.
11690 [POSIX] (si_uid): Likewise.
11691 [POSIX] (si_addr): Likewise.
11692 [POSIX] (si_status): Likewise.
11693 [POSIX] (si_band): Likewise.
11694 [XPG4] (si_value): Likewise.
11695 [POSIX || XPG3] (ILL_ILLOPC): Do not expect.
11696 [POSIX || XPG3] (ILL_ILLOPN): Likewise.
11697 [POSIX || XPG3] (ILL_ILLADR): Likewise.
11698 [POSIX || XPG3] (ILL_ILLTRP): Likewise.
11699 [POSIX || XPG3] (ILL_PRVOPC): Likewise.
11700 [POSIX || XPG3] (ILL_PRVREG): Likewise.
11701 [POSIX || XPG3] (ILL_COPROC): Likewise.
11702 [POSIX || XPG3] (ILL_BADSTK): Likewise.
11703 [POSIX || XPG3] (FPE_INTDIV): Likewise.
11704 [POSIX || XPG3] (FPE_INTOVF): Likewise.
11705 [POSIX || XPG3] (FPE_FLTDIV): Likewise.
11706 [POSIX || XPG3] (FPE_FLTOVF): Likewise.
11707 [POSIX || XPG3] (FPE_FLTUND): Likewise.
11708 [POSIX || XPG3] (FPE_FLTRES): Likewise.
11709 [POSIX || XPG3] (FPE_FLTINV): Likewise.
11710 [POSIX || XPG3] (FPE_FLTSUB): Likewise.
11711 [POSIX || XPG3] (SEGV_MAPERR): Likewise.
11712 [POSIX || XPG3] (SEGV_ACCERR): Likewise.
11713 [POSIX || XPG3] (BUS_ADRALN): Likewise.
11714 [POSIX || XPG3] (BUS_ADRERR): Likewise.
11715 [POSIX || XPG3] (BUS_OBJERR): Likewise.
11716 [POSIX || XPG3] (CLD_EXITED): Likewise.
11717 [POSIX || XPG3] (CLD_KILLED): Likewise.
11718 [POSIX || XPG3] (CLD_DUMPED): Likewise.
11719 [POSIX || XPG3] (CLD_TRAPPED): Likewise.
11720 [POSIX || XPG3] (CLD_STOPPED): Likewise.
11721 [POSIX || XPG3] (CLD_CONTINUED): Likewise.
11722 [POSIX || XPG3] (POLL_IN): Likewise.
11723 [POSIX || XPG3] (POLL_OUT): Likewise.
11724 [POSIX || XPG3] (POLL_MSG): Likewise.
11725 [POSIX || XPG3] (POLL_ERR): Likewise.
11726 [POSIX || XPG3] (POLL_PRI): Likewise.
11727 [POSIX || XPG3] (POLL_HUP): Likewise.
11728 [POSIX || XPG3 || POSIX2008] (TRAP_BRKPT): Likewise.
11729 [POSIX || XPG3 || POSIX2008] (TRAP_TRACE): Likewise.
11730 (SIG*): Do not allow.
11731 [XPG3] (si_*): Likewise.
11732 [XPG3] (SI_*): Likewise.
11733 [XPG3 || XPG4] (sigev_*): Likewise.
11734 [XPG3 || XPG4] (SIGEV_*): Likewise.
11735 [XPG3 || XPG4] (sival_*): Likewise.
11736 [POSIX || XPG3 || XPG4] (uc_*): Likewise.
11737 [POSIX || XPG3] (BUS_*): Likewise.
11738 [POSIX || XPG3] (CLD_*): Likewise.
11739 [POSIX || XPG3] (FPE_*): Likewise.
11740 [POSIX || XPG3] (ILL_*): Likewise.
11741 [POSIX || XPG3] (POLL_*): Likewise.
11742 [POSIX || XPG3] (SEGV_*): Likewise.
11743 [POSIX || XPG3 || POSIX2008] (SS_*): Likewise.
11744 [POSIX || XPG3 || POSIX2008] (SV_*): Likewise.
11745 [POSIX || XPG3 || POSIX2008] (TRAP_*): Likewise.
11746 [POSIX || XPG3 || POSIX2008] (ss_*): Likewise.
11747 [POSIX || XPG3 || POSIX2008] (sv_*): Likewise.
11748 * conform/data/tar.h-data (TMAGLEN): Use macro-int-constant.
11749 Specify type and value.
11750 (TVERSLEN): Likewise.
11751 (REGTYPE): Likewise.
11752 (AREGTYPE): Likewise.
11753 (LNKTYPE): Likewise.
11754 (SYMTYPE): Likewise.
11755 (CHRTYPE): Likewise.
11756 (BLKTYPE): Likewise.
11757 (DIRTYPE): Likewise.
11758 (FIFOTYPE): Likewise.
11759 (CONTTYPE): Likewise.
11760 (TSUID): Likewise.
11761 (TSGID): Likewise.
11762 (TSVTX): Likewise.
11763 (TUREAD): Likewise.
11764 (TUWRITE): Likewise.
11765 (TUEXEC): Likewise.
11766 (TGREAD): Likewise.
11767 (TGWRITE): Likewise.
11768 (TGEXEC): Likewise.
11769 (TOREAD): Likewise.
11770 (TOWRITE): Likewise.
11771 (TOEXEC): Likewise.
11772 [POSIX] (TSVTX): Expect constant.
11773
aa97dee1
JM
117742014-03-06 Joseph Myers <joseph@codesourcery.com>
11775
f214606a
JM
11776 * Makefile (tests): Change dependencies to ....
11777 (tests-special): ... additions to this variable.
11778 (tests): Depend on $(tests-special).
11779 * Makerules (check-abi-list): New variable.
11780 (check-abi): Depend on $(check-abi-list).
11781 [$(subdir) = elf] (tests-special): Add
11782 $(objpfx)check-abi-libc.out.
11783 [$(build-shared) = yes && subdir] (tests-special): Add
11784 $(check-abi-list).
11785 [$(build-shared) = yes && subdir] (tests): Do not depend on
11786 check-abi.
11787 * Rules (tests): Depend on $(tests-special).
11788 (xtests): Depend on $(xtests-special).
11789 * catgets/Makefile (tests): Change dependencies to ....
11790 (tests-special): ... additions to this variable.
11791 * conform/Makefile (tests): Change dependencies to ....
11792 (tests-special): ... additions to this variable.
11793 * elf/Makefile (tests): Change dependencies to ....
11794 (tests-special): ... additions to this variable.
11795 * grp/Makefile (tests): Change dependencies to ....
11796 (tests-special): ... additions to this variable.
11797 * iconv/Makefile (xtests): Change dependencies to ....
11798 (xtests-special): ... additions to this variable.
11799 * iconvdata/Makefile (tests): Change dependencies to ....
11800 (tests-special): ... additions to this variable.
11801 * intl/Makefile (tests): Change dependencies to ....
11802 (tests-special): ... additions to this variable. Also add
11803 $(objpfx)tst-gettext.out.
11804 * io/Makefile (tests): Change dependencies to ....
11805 (tests-special): ... additions to this variable.
11806 * libio/Makefile (tests): Change dependencies to ....
11807 (tests-special): ... additions to this variable.
11808 * malloc/Makefile (tests): Change dependencies to ....
11809 (tests-special): ... additions to this variable.
11810 * misc/Makefile (tests): Change dependencies to ....
11811 (tests-special): ... additions to this variable.
11812 * nptl/Makefile (tests): Change dependencies to ....
11813 (tests-special): ... additions to this variable.
11814 * nptl_db/Makefile (tests): Change dependencies to ....
11815 (tests-special): ... additions to this variable.
11816 * posix/Makefile (tests): Change dependencies to ....
11817 (tests-special): ... additions to this variable.
11818 (xtests): Change dependencies to ....
11819 (xtests-special): ... additions to this variable.
11820 * resolv/Makefile (tests): Change dependencies to ....
11821 (tests-special): ... additions to this variable.
11822 (xtests): Change dependencies to ....
11823 (xtests-special): ... additions to this variable.
11824 * stdio-common/Makefile (tests): Change dependencies to ....
11825 (tests-special): ... additions to this variable.
11826 (do-tst-unbputc): Remove target.
11827 (do-tst-printf): Likewise.
11828 * stdlib/Makefile (tests): Change dependencies to ....
11829 (tests-special): ... additions to this variable.
11830 * string/Makefile (tests): Change dependencies to ....
11831 (tests-special): ... additions to this variable.
11832 * sysdeps/x86/Makefile (tests): Change dependencies to ....
11833 (tests-special): ... additions to this variable.
11834
81700b53
JM
11835 * conform/data/netinet/tcp.h-data [POSIX2008 || XOPEN2K8]: Enable
11836 whole file.
11837 * conform/data/sys/timeb.h-data [POSIX2008 || XOPEN2K8]: Disable
11838 whole file.
11839 * conform/data/sys/uio.h-data [POSIX2008]: Likewise.
11840 * conform/data/ucontext.h-data [POSIX2008 || XOPEN2K8]: Likewise.
11841
2ea18461
JM
11842 * conform/data/aio.h-data [XPG3 || XPG4]: Disable whole file.
11843 * conform/data/arpa/inet.h-data [XPG3]: Likewise.
11844 * conform/data/dlfcn.h-data [XPG3 || XPG4]: Likewise.
11845 * conform/data/fmtmsg.h-data [XPG3]: Likewise.
11846 * conform/data/libgen.h-data [XPG3]: Likewise.
11847 * conform/data/mqueue.h-data [XPG3 || XPG4]: Likewise.
11848 * conform/data/ndbm.h-data [XPG3]: Likewise.
11849 * conform/data/net/if.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
11850 * conform/data/netdb.h-data [XPG3]: Likewise.
11851 * conform/data/netinet/in.h-data [XPG3]: Likewise.
11852 * conform/data/poll.h-data [XPG3]: Likewise.
11853 * conform/data/spawn.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
11854 * conform/data/strings.h-data [XPG3]: Likewise.
11855 * conform/data/stropts.h-data [XPG3]: Likewise.
11856 * conform/data/sys/mman.h-data [XPG3]: Likewise.
11857 * conform/data/sys/resource.h-data [XPG3]: Likewise.
11858 * conform/data/sys/select.h-data [XPG3 || XPG4 || UNIX98]:
11859 Likewise.
11860 * conform/data/sys/statvfs.h-data [XPG3]: Likewise.
11861 * conform/data/sys/time.h-data [XPG3]: Likewise.
11862 * conform/data/sys/timeb.h-data [XPG3]: Likewise.
11863 * conform/data/sys/uio.h-data [XPG3]: Likewise.
11864 * conform/data/sys/un.h-data [XPG3]: Likewise.
11865 * conform/data/syslog.h-data [XPG3]: Likewise.
11866 * conform/data/ucontext.h-data [XPG3]: Likewise.
11867 * conform/data/utmpx.h-data [XPG3]: Likewise.
11868 * conform/data/varargs.h-data [UNIX98]: Enable file.
11869
355bc986
JM
11870 * manual/Makefile (INSTALL_INFO): Remove variable setting.
11871
215db402
JM
11872 * math/libm-test.inc (struct test_f_f_data): Move expected results
11873 into structure for each rounding mode.
11874 (struct test_ff_f_data): Likewise.
11875 (struct test_ff_f_data_nexttoward): Likewise.
11876 (struct test_fi_f_data): Likewise.
11877 (struct test_fl_f_data): Likewise.
11878 (struct test_if_f_data): Likewise.
11879 (struct test_fff_f_data): Likewise.
11880 (struct test_c_f_data): Likewise.
11881 (struct test_f_f1_data): Likewise.
11882 (struct test_fF_f1_data): Likewise.
11883 (struct test_ffI_f1_data): Likewise.
11884 (struct test_c_c_data): Likewise.
11885 (struct test_cc_c_data): Likewise.
11886 (struct test_f_i_data): Likewise.
11887 (struct test_ff_i_data): Likewise.
11888 (struct test_f_l_data): Likewise.
11889 (struct test_f_L_data): Likewise.
11890 (struct test_fFF_11_data): Likewise.
11891 (RM_): New macro.
11892 (RM_FE_DOWNWARD): Likewise.
11893 (RM_FE_TONEAREST): Likewise.
11894 (RM_FE_TOWARDZERO): Likewise.
11895 (RM_FE_UPWARD): Likewise.
11896 (RUN_TEST_LOOP_f_f): Update references to expected results.
11897 (RUN_TEST_LOOP_2_f): Likewise.
11898 (RUN_TEST_LOOP_fff_f): Likewise.
11899 (RUN_TEST_LOOP_c_f): Likewise.
11900 (RUN_TEST_LOOP_f_f1): Likewise.
11901 (RUN_TEST_LOOP_fF_f1): Likewise.
11902 (RUN_TEST_LOOP_fI_f1): Likewise.
11903 (RUN_TEST_LOOP_ffI_f1): Likewise.
11904 (RUN_TEST_LOOP_c_c): Likewise.
11905 (RUN_TEST_LOOP_cc_c): Likewise.
11906 (RUN_TEST_LOOP_f_i): Likewise.
11907 (RUN_TEST_LOOP_f_i_tg): Likewise.
11908 (RUN_TEST_LOOP_ff_i_tg): Likewise.
11909 (RUN_TEST_LOOP_f_b): Likewise.
11910 (RUN_TEST_LOOP_f_b_tg): Likewise.
11911 (RUN_TEST_LOOP_f_l): Likewise.
11912 (RUN_TEST_LOOP_f_L): Likewise.
11913 (RUN_TEST_LOOP_fFF_11): Likewise.
11914 * math/gen-libm-test.pl (parse_args): Output four copies of
11915 expected results for each test.
11916
67737b8f
JM
11917 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
11918 (__ASSUME_UTIMES): Remove.
11919 * sysdeps/unix/sysv/linux/tile/kernel-features.h
11920 (__ASSUME_UTIMES): Likewise.
11921
aa97dee1
JM
11922 * math/gen-auto-libm-tests.c: Update comment on output format.
11923 (output_for_one_input_case): Generate before-rounding and
11924 after-rounding information as conditions on output flags not
11925 floating-point format.
11926 * math/auto-libm-test-out: Regenerated.
11927 * math/gen-libm-test.pl (cond_value): New function.
11928 (or_cond_value): Use cond_value.
11929 (generate_testfile): Handle conditional exceptions.
11930
e6b6a857
JM
119312014-03-05 Joseph Myers <joseph@codesourcery.com>
11932
2f0a0f44
JM
11933 * math/libm-test.inc (max_valid_error): New variable.
11934 (init_max_error): Take new argument specifying whether function
11935 results are exactly determined. Set max_valid_error and bound
11936 other variables for errors based on this argument.
11937 (set_max_error): Do not record results above max_valid_error.
11938 (check_float_internal): Only accept errors of up to 0.5ulps if
11939 also at most max_valid_error.
11940 (START): Take new argument EXACT and pass it to init_max_error.
11941 (acos_test): Update call to START.
11942 (acos_test_tonearest): Likewise.
11943 (acos_test_towardzero): Likewise.
11944 (acos_test_downward): Likewise.
11945 (acos_test_upward): Likewise.
11946 (acosh_test): Likewise.
11947 (asin_test): Likewise.
11948 (asin_test_tonearest): Likewise.
11949 (asin_test_towardzero): Likewise.
11950 (asin_test_downward): Likewise.
11951 (asin_test_upward): Likewise.
11952 (asinh_test): Likewise.
11953 (atan_test): Likewise.
11954 (atanh_test): Likewise.
11955 (atan2_test): Likewise.
11956 (cabs_test): Likewise.
11957 (cacos_test): Likewise.
11958 (cacosh_test): Likewise.
11959 (carg_test): Likewise.
11960 (casin_test): Likewise.
11961 (casinh_test): Likewise.
11962 (catan_test): Likewise.
11963 (catanh_test): Likewise.
11964 (cbrt_test): Likewise.
11965 (ccos_test): Likewise.
11966 (ccosh_test): Likewise.
11967 (ceil_test): Likewise.
11968 (cexp_test): Likewise.
11969 (cimag_test): Likewise.
11970 (clog_test): Likewise.
11971 (clog10_test): Likewise.
11972 (conj_test): Likewise.
11973 (copysign_test): Likewise.
11974 (cos_test): Likewise.
11975 (cos_test_tonearest): Likewise.
11976 (cos_test_towardzero): Likewise.
11977 (cos_test_downward): Likewise.
11978 (cos_test_upward): Likewise.
11979 (cosh_test): Likewise.
11980 (cosh_test_tonearest): Likewise.
11981 (cosh_test_towardzero): Likewise.
11982 (cosh_test_downward): Likewise.
11983 (cosh_test_upward): Likewise.
11984 (cpow_test): Likewise.
11985 (cproj_test): Likewise.
11986 (creal_test): Likewise.
11987 (csin_test): Likewise.
11988 (csinh_test): Likewise.
11989 (csqrt_test): Likewise.
11990 (ctan_test): Likewise.
11991 (ctan_test_tonearest): Likewise.
11992 (ctan_test_towardzero): Likewise.
11993 (ctan_test_downward): Likewise.
11994 (ctan_test_upward): Likewise.
11995 (ctanh_test): Likewise.
11996 (ctanh_test_tonearest): Likewise.
11997 (ctanh_test_towardzero): Likewise.
11998 (ctanh_test_downward): Likewise.
11999 (ctanh_test_upward): Likewise.
12000 (erf_test): Likewise.
12001 (erfc_test): Likewise.
12002 (exp_test): Likewise.
12003 (exp_test_tonearest): Likewise.
12004 (exp_test_towardzero): Likewise.
12005 (exp_test_downward): Likewise.
12006 (exp_test_upward): Likewise.
12007 (exp10_test): Likewise.
12008 (exp10_test_tonearest): Likewise.
12009 (exp10_test_towardzero): Likewise.
12010 (exp10_test_downward): Likewise.
12011 (exp10_test_upward): Likewise.
12012 (pow10_test): Likewise.
12013 (exp2_test): Likewise.
12014 (expm1_test): Likewise.
12015 (expm1_test_tonearest): Likewise.
12016 (expm1_test_towardzero): Likewise.
12017 (expm1_test_downward): Likewise.
12018 (expm1_test_upward): Likewise.
12019 (fabs_test): Likewise.
12020 (fdim_test): Likewise.
12021 (floor_test): Likewise.
12022 (fma_test): Likewise.
12023 (fma_test_towardzero): Likewise.
12024 (fma_test_downward): Likewise.
12025 (fma_test_upward): Likewise.
12026 (fmax_test): Likewise.
12027 (fmin_test): Likewise.
12028 (fmod_test): Likewise.
12029 (fpclassify_test): Likewise.
12030 (frexp_test): Likewise.
12031 (hypot_test): Likewise.
12032 (ilogb_test): Likewise.
12033 (isfinite_test): Likewise.
12034 (finite_test): Likewise.
12035 (isgreater_test): Likewise.
12036 (isgreaterequal_test): Likewise.
12037 (isinf_test): Likewise.
12038 (isless_test): Likewise.
12039 (islessequal_test): Likewise.
12040 (islessgreater_test): Likewise.
12041 (isnan_test): Likewise.
12042 (isnormal_test): Likewise.
12043 (issignaling_test): Likewise.
12044 (isunordered_test): Likewise.
12045 (j0_test): Likewise.
12046 (j1_test): Likewise.
12047 (jn_test): Likewise.
12048 (ldexp_test): Likewise.
12049 (lgamma_test): Likewise.
12050 (gamma_test): Likewise.
12051 (lrint_test): Likewise.
12052 (lrint_test_tonearest): Likewise.
12053 (lrint_test_towardzero): Likewise.
12054 (lrint_test_downward): Likewise.
12055 (lrint_test_upward): Likewise.
12056 (llrint_test): Likewise.
12057 (llrint_test_tonearest): Likewise.
12058 (llrint_test_towardzero): Likewise.
12059 (llrint_test_downward): Likewise.
12060 (llrint_test_upward): Likewise.
12061 (log_test): Likewise.
12062 (log10_test): Likewise.
12063 (log1p_test): Likewise.
12064 (log2_test): Likewise.
12065 (logb_test): Likewise.
12066 (logb_test_downward): Likewise.
12067 (lround_test): Likewise.
12068 (llround_test): Likewise.
12069 (modf_test): Likewise.
12070 (nearbyint_test): Likewise.
12071 (nextafter_test): Likewise.
12072 (nexttoward_test): Likewise.
12073 (pow_test): Likewise.
12074 (pow_test_tonearest): Likewise.
12075 (pow_test_towardzero): Likewise.
12076 (pow_test_downward): Likewise.
12077 (pow_test_upward): Likewise.
12078 (remainder_test): Likewise.
12079 (drem_test): Likewise.
12080 (remainder_test_tonearest): Likewise.
12081 (drem_test_tonearest): Likewise.
12082 (remainder_test_towardzero): Likewise.
12083 (drem_test_towardzero): Likewise.
12084 (remainder_test_downward): Likewise.
12085 (drem_test_downward): Likewise.
12086 (remainder_test_upward): Likewise.
12087 (drem_test_upward): Likewise.
12088 (remquo_test): Likewise.
12089 (rint_test): Likewise.
12090 (rint_test_tonearest): Likewise.
12091 (rint_test_towardzero): Likewise.
12092 (rint_test_downward): Likewise.
12093 (rint_test_upward): Likewise.
12094 (round_test): Likewise.
12095 (scalb_test): Likewise.
12096 (scalbn_test): Likewise.
12097 (scalbln_test): Likewise.
12098 (signbit_test): Likewise.
12099 (sin_test): Likewise.
12100 (sin_test_tonearest): Likewise.
12101 (sin_test_towardzero): Likewise.
12102 (sin_test_downward): Likewise.
12103 (sin_test_upward): Likewise.
12104 (sincos_test): Likewise.
12105 (sinh_test): Likewise.
12106 (sinh_test_tonearest): Likewise.
12107 (sinh_test_towardzero): Likewise.
12108 (sinh_test_downward): Likewise.
12109 (sinh_test_upward): Likewise.
12110 (sqrt_test): Likewise.
12111 (sqrt_test_tonearest): Likewise.
12112 (sqrt_test_towardzero): Likewise.
12113 (sqrt_test_downward): Likewise.
12114 (sqrt_test_upward): Likewise.
12115 (tan_test): Likewise.
12116 (tan_test_tonearest): Likewise.
12117 (tan_test_towardzero): Likewise.
12118 (tan_test_downward): Likewise.
12119 (tan_test_upward): Likewise.
12120 (tanh_test): Likewise.
12121 (tgamma_test): Likewise.
12122 (trunc_test): Likewise.
12123 (y0_test): Likewise.
12124 (y1_test): Likewise.
12125 (yn_test): Likewise.
12126 (significand_test): Likewise.
12127
e6b6a857
JM
12128 * math/libm-test.inc (struct ulp_data): Don't refer to ulps for
12129 individual tests in comment.
12130 (libm-test-ulps.h): Don't refer to test_ulps in #include comment.
12131 (prev_max_error): New variable.
12132 (prev_real_max_error): Likewise.
12133 (prev_imag_max_error): Likewise.
12134 (compare_ulp_data): Don't refer to test names in comment.
12135 (find_test_ulps): Remove function.
12136 (find_function_ulps): Likewise.
12137 (find_complex_function_ulps): Likewise.
12138 (init_max_error): Take function name as argument. Look up ulps
12139 for that function.
12140 (print_ulps): Remove function.
12141 (print_max_error): Use prev_max_error instead of calling
12142 find_function_ulps.
12143 (print_complex_max_error): Use prev_real_max_error and
12144 prev_imag_max_error instead of calling find_complex_function_ulps.
12145 (check_float_internal): Take max_ulp parameter instead of calling
12146 find_test_ulps. Don't call print_ulps.
12147 (check_float): Update call to check_float_internal.
12148 (check_complex): Update calls to check_float_internal.
12149 (START): Pass argument to init_max_error.
12150 * math/gen-libm-test.pl (%results): Don't include "kind"
12151 information.
12152 (parse_ulps): Don't handle ulps of individual tests.
12153 (print_ulps_file): Likewise.
12154 (output_ulps): Likewise.
12155 * math/README.libm-test: Update.
12156 * manual/libm-err-tab.pl (parse_ulps): Don't handle ulps of
12157 individual tests.
12158 * sysdeps/aarch64/libm-test-ulps: Remove individual test ulps.
12159 * sysdeps/alpha/fpu/libm-test-ulps: Likewise.
12160 * sysdeps/arm/libm-test-ulps: Likewise.
12161 * sysdeps/i386/fpu/libm-test-ulps: Likewise.
12162 * sysdeps/ia64/fpu/libm-test-ulps: Likewise.
12163 * sysdeps/m68k/coldfire/fpu/libm-test-ulps: Likewise.
12164 * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Likewise.
12165 * sysdeps/microblaze/libm-test-ulps: Likewise.
12166 * sysdeps/mips/mips32/libm-test-ulps: Likewise.
12167 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
12168 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
12169 * sysdeps/powerpc/nofpu/libm-test-ulps: Likewise.
12170 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
12171 * sysdeps/sh/libm-test-ulps: Likewise.
12172 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
12173 * sysdeps/tile/libm-test-ulps: Likewise.
12174 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12175
45adef3c
JM
121762014-03-04 Joseph Myers <joseph@codesourcery.com>
12177
12178 * math/libm-test.inc (print_complex_max_error): Check separately
12179 whether real and imaginary errors are within allowed range and
12180 pass 0 to print_complex_function_ulps instead of value within
12181 allowed range.
12182
000232b9
SP
121832014-03-04 Siddhesh Poyarekar <siddhesh@redhat.com>
12184
d4b17258
SP
12185 * libio/tst-ftell-active-handler.c (get_handles_fdopen): Fix
12186 formatting.
12187 (get_handles_fopen): Likewise.
12188 (do_write_test): Likewise.
12189
091eff71
SP
12190 * libio/wfileops.c (do_ftell_wide): Fix up formatting.
12191
fa3cd248
SP
12192 * libio/fileops.c (do_ftell): Use cached offset when
12193 available.
12194 * libio/iofwide.c (do_ftell_wide): Likewise.
12195 * libio/iofdopen.c (_IO_new_fdopen): Don't use
12196 _IO_file_attach.
12197 * libio/wfileops.c (_IO_fwide): Don't cache offset.
12198
000232b9
SP
12199 [BZ #16532]
12200 * libio/libioP.h (get_file_offset): New function.
12201 * libio/fileops.c (get_file_offset): Likewise.
12202 (do_ftell): Likewise.
12203 (_IO_new_file_seekoff): Split out ftell logic.
12204 * libio/wfileops.c (do_ftell_wide): Likewise.
12205 (_IO_wfile_seekoff): Split out ftell logic.
12206 * libio/tst-ftell-active-handler.c: New test case.
12207 * libio/Makefile (tests): Add it.
12208
116f4d1a
RM
122092014-03-03 Roland McGrath <roland@hack.frob.com>
12210
12211 * nptl/ChangeLog: Renamed to nptl/ChangeLog.old, no longer used.
12212 * nptl_db/ChangeLog: Renamed to nptl_db/ChangeLog.old, no longer used.
12213
532a6035
SP
122142014-03-03 Siddhesh Poyarekar <siddhesh@redhat.com>
12215
12216 [BZ #16639]
12217 * nscd/connections.c (nscd_init): Call do_exit.
12218 (start_threads): Call do_exit and notify_parent.
12219 (begin_drop_privileges): Call do_exit.
12220 (finish_drop_privileges): Likewise.
12221 * nscd/selinux.c (preserve_capabilities): Likewise.
12222 (install_real_capabilities): Likewise.
12223 (nscd_selinux_enabled): Likewise.
12224 (avc_create_thread): Likewise.
12225 (avc_alloc_lock): Likewise.
12226 (nscd_avc_init): Likewise.
12227 * nscd/nscd.c (parent_fd): New static variable.
12228 (main): Create a pipe between parent and child processes.
12229 Skip closing parent_fd.
12230 (monitor_child): New function.
12231 (do_exit): Likewise.
12232 (notify_parent): Likewise.
12233 * nscd/nscd.h (notify_parent): Likewise.
12234 (do_exit): Likewise.
12235
d6285c9f
CD
122362014-03-03 Carlos O'Donell <carlos@redhat.com>
12237
12238 * malloc/malloc.c (__libc_calloc): Revert last change.
12239
2b85d2a0
AZ
122402014-03-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12241
12242 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
12243
c7debbdf
RS
122442014-03-03 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
12245
12246 * sysdeps/powerpc/powerpc64/power7/strrchr.S: New file.
12247 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strrchr multiarch
12248 implementation.
12249 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
12250 (__libc_ifunc_impl_list): Likewise.
12251 * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: New file.
12252 * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c: New file.
12253 * sysdeps/powerpc/powerpc64/multiarch/strrchr-power7.S: New file.
12254 * string/strrchr.c: Define STRRCHR.
12255
235eed86
OB
122562014-02-28 Ondřej Bílka <neleai@seznam.cz>
12257
12258 * benchtest/bench-strtok.c (simple_strtok): Delete.
12259 (strtok_string): Use as benchmark.
12260 * string/strtok (STRTOK): New macro.
12261
8e25d1e7
CD
122622014-02-28 Carlos O'Donell <carlos@redhat.com>
12263
ef563f92
CD
12264 * manual/threads.texi: Add header and standard comments to all
12265 functions.
12266
8e25d1e7
CD
12267 * elf/dl-lookup.c (check_match): New function.
12268 (ELF_MACHINE_SYM_NO_MATCH): Adjust comment.
12269 (do_lookup_x): Remove nested function check_match. Use non-nested
12270 function check_match.
12271
ff71cc37
RM
122722014-02-28 Roland McGrath <roland@hack.frob.com>
12273
f08e9a26
RM
12274 * csu/Makefile (generated, before-compile): Use += rather than =.
12275 * catgets/Makefile (generated, generated-dirs): Likewise.
12276 * debug/Makefile (generated): Likewise.
12277 * dlfcn/Makefile (generated): Likewise.
12278 * elf/Makefile (before-compile, generated, generated-dirs): Likewise.
12279 * iconvdata/Makefile (before-compile, generated): Likewise.
12280 * intl/Makefile (before-compile, generated, generated-dirs): Likewise.
12281 * libio/Makefile (generated): Likewise.
12282 * malloc/Makefile (generated): Likewise.
12283 * manual/Makefile (generated, generated-dirs): Likewise.
12284 * misc/Makefile (generated): Likewise.
12285 * posix/Makefile (generated): Likewise.
12286 * resolv/Makefile (generated): Likewise.
12287 * sunrpc/Makefile (generated, generated-dirs): Likewise.
12288 * timezone/Makefile (generated, generated-dirs): Likewise.
12289
ff71cc37
RM
12290 * stdio-common/Versions (libc: GLIBC_PRIVATE): Add missing }.
12291
fe13a20c
AZ
122922014-02-27 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12293
57f41c40
AS
12294 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
12295 power8 implementation.
12296 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power8.S: New
12297 file: POWER8 llround ifunc implementation.
12298 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c
12299 (__lllround): Add POWER8 implementation.
fe13a20c
AZ
12300 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S: New file:
12301 POWER8 llround implementation.
12302
57f41c40
AS
12303 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint
12304 power8 implementation.
12305 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power8.S: New
12306 file: POWER8 llrint ifunc implementation.
12307 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c (__lllrint):
12308 Add POWER8 implementation.
1ad8950a
AZ
12309 * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S: New file:
12310 POWER8 llrint implementation.
12311
57f41c40
AS
12312 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite
12313 power8 implementation.
12314 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power8.S: New
12315 file: POWER8 finite ifunc implementation.
12316 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c (__finite):
12317 Add POWER8 implementation.
cac626d6
AZ
12318 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c (__finitef):
12319 Likewise.
12320 * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: New file:
12321 POWER8 finite implementation.
12322 * sysdeps/powerpc/powerpc64/power8/fpu/s_finitef.S: New file.
12323
57f41c40
AS
12324 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf
12325 power8 implementation.
12326 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power8.S: New
12327 file: POWER8 isinf ifunc implementation.
4393fc11
AZ
12328 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c (__isinf): Add
12329 POWER8 implementation.
12330 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c (__isinff):
12331 Likewise.
57f41c40
AS
12332 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: New file: POWER8
12333 isinf implementation.
4393fc11
AZ
12334 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinff.S: New file.
12335
57f41c40
AS
12336 * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h
12337 (INIT_ARCH): Add hwcap2 initialization.
12338 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
12339 power8 implementation.
12340 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power8.S: New
12341 file: POWER8 isnan ifunc implementation.
487972ae
AZ
12342 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c (__isnan): Add
12343 POWER8 implementation.
12344 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c (__isnanf):
12345 Likewise.
57f41c40
AS
12346 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: New file: POWER8
12347 isnan implementation.
487972ae
AZ
12348 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnanf.S: New file.
12349
7d92b787
JY
123502014-02-27 Joey Ye <joey.ye@arm.com>
12351
12352 * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
12353 (_FP_NANFRAC_Q): Set to zero.
12354
1cadc858
SP
123552014-02-27 Siddhesh Poyarekar <siddhesh@redhat.com>
12356
12357 [BZ #16623]
12358 * math/auto-libm-test-in: New test inputs.
12359 * math/auto-libm-test-out: Regenerate.
12360 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Preserve sign of A
12361 and DA.
12362 (__cos): Likewise.
12363 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
12364
f8c17e79
JM
123652014-02-27 Joseph Myers <joseph@codesourcery.com>
12366
12367 * scripts/evaluate-test.sh: Take new argument indicating whether
12368 failure is expected.
12369 * Makeconfig (evaluate-test): Pass argument to evaluate-test.sh
12370 indicating whether failure is expected.
12371 * conform/Makefile (test-xfail-run-conformtest): New variable.
12372 ($(objpfx)run-conformtest.out): Don't expect to fail at makefile
12373 level.
12374 * posix/Makefile (test-xfail-annexc): New variable.
12375 ($(objpfx)annexc.out): Don't expect to fail at makefile level.
12376
a5f891ac
JM
123772014-02-26 Joseph Myers <joseph@codesourcery.com>
12378
12379 * argp/Makefile: Include Makeconfig immediately after defining
12380 subdir.
12381 * assert/Makefile: Likewise.
12382 * benchtests/Makefile: Likewise.
12383 * catgets/Makefile: Likewise.
12384 * conform/Makefile: Likewise.
12385 * crypt/Makefile: Likewise.
12386 * csu/Makefile: Likewise.
12387 (all): Remove target.
12388 * ctype/Makefile: Include Makeconfig immediately after defining
12389 subdir.
12390 * debug/Makefile: Likewise.
12391 * dirent/Makefile: Likewise.
12392 * dlfcn/Makefile: Likewise.
12393 * gmon/Makefile: Likewise.
12394 * gnulib/Makefile: Likewise.
12395 * grp/Makefile: Likewise.
12396 * gshadow/Makefile: Likewise.
12397 * hesiod/Makefile: Likewise.
12398 * hurd/Makefile: Likewise.
12399 (all): Remove target.
12400 * iconvdata/Makefile: Include Makeconfig immediately after
12401 defining subdir.
12402 * inet/Makefile: Likewise.
12403 * intl/Makefile: Likewise.
12404 * io/Makefile: Likewise.
12405 * libio/Makefile: Likewise.
12406 (all): Remove target.
12407 * locale/Makefile: Include Makeconfig immediately after defining
12408 subdir.
12409 * login/Makefile: Likewise.
12410 * mach/Makefile: Likewise.
12411 (all): Remove target.
12412 * malloc/Makefile: Include Makeconfig immediately after defining
12413 subdir.
12414 (all): Remove target.
12415 * manual/Makefile: Include Makeconfig immediately after defining
12416 subdir.
12417 * math/Makefile: Likewise.
12418 * misc/Makefile: Likewise.
12419 * nis/Makefile: Likewise.
12420 * nss/Makefile: Likewise.
12421 * po/Makefile: Likewise.
12422 (all): Remove target.
12423 * posix/Makefile: Include Makeconfig immediately after defining
12424 subdir.
12425 * pwd/Makefile: Likewise.
12426 * resolv/Makefile: Likewise.
12427 * resource/Makefile: Likewise.
12428 * rt/Makefile: Likewise.
12429 * setjmp/Makefile: Likewise.
12430 * shadow/Makefile: Likewise.
12431 * signal/Makefile: Likewise.
12432 * socket/Makefile: Likewise.
12433 * soft-fp/Makefile: Likewise.
12434 * stdio-common/Makefile: Likewise.
12435 * stdlib/Makefile: Likewise.
12436 * streams/Makefile: Likewise.
12437 * string/Makefile: Likewise.
12438 * sunrpc/Makefile: Likewise.
12439 (all): Remove target.
12440 * sysvipc/Makefile: Include Makeconfig immediately after defining
12441 subdir.
12442 * termios/Makefile: Likewise.
12443 * time/Makefile: Likewise.
12444 * timezone/Makefile: Likewise.
12445 (all): Remove target.
12446 * wcsmbs/Makefile: Include Makeconfig immediately after defining
12447 subdir.
12448 * wctype/Makefile: Likewise.
12449
5b456e9d
SE
124502014-02-26 Steve Ellcey <sellcey@mips.com>
12451
12452 * sysdeps/mips/math_private.h (_FPU_MASK_ALL) New.
12453 (libc_feholdexcept_mips): Use _FPU_MASK_ALL.
12454 (libc_feholdexcept_setround_mips): Ditto.
12455 (libc_feholdsetround): New.
12456 (libc_feholdsetroundf): New.
12457 (libc_feholdsetroundl): New.
12458 (libc_feupdateenv_test_mips): New.
12459 (libc_feupdateenv_test): New.
12460 (libc_feupdateenv_testf): New.
12461 (libc_feupdateenv_testl): New.
12462 (libc_feresetround): New.
12463 (libc_feresetroundf): New.
12464 (libc_feresetroundl): New.
12465 (libc_fetestexcept_mips): New.
12466 (libc_fetestexcept): New.
12467 (libc_fetestexceptf): New.
12468 (libc_fetestexceptl): New.
12469 (HAVE_RM_CTX): New.
12470 (libc_feholdexcept_setround_mips_ctx): New.
12471 (libc_feholdexcept_setround_ctx): New.
12472 (libc_feholdexcept_setroundf_ctx): New.
12473 (libc_feholdexcept_setroundl_ctx): New.
12474 (libc_fesetenv_mips_ctx): New.
12475 (libc_fesetenv_ctx): New.
12476 (libc_fesetenv_ctxf): New.
12477 (libc_fesetenv_ctxl): New.
12478 (libc_feupdateenv_mips_ctx): New.
12479 (libc_feupdateenv_ctx): New.
12480 (libc_feupdateenvf_ctx): New.
12481 (libc_feupdateenvl_ctx): New.
12482 (libc_feholdsetround_mips_ctx): New.
12483 (libc_feholdsetround_ctx): New.
12484 (libc_feholdsetroundf_ctx): New.
12485 (libc_feholdsetroundl_ctx): New.
12486 (libc_feresetround_mips_ctx): New.
12487 (libc_feresetround_ctx): New.
12488 (libc_feresetroundf_ctx): New.
12489 (libc_feresetroundl_ctx): New.
12490
085d0e35
CD
124912014-02-26 Carlos O'Donell <carlos@redhat.com>
12492
f067bf1f
CD
12493 * manual/ipc.texi (Semaphores): Use @Theglibc{}.
12494
085d0e35
CD
12495 * manual/ipc.texi: New file.
12496 * manual/Makefile (chapters): Add ipc.
12497 * manual/job.texi: Add "Inter-Process Communication" to next.
12498 * manual/process.texi: Add "Inter-Process Communication" to prev.
12499
86e58c08
AZ
125002014-02-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12501
12502 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
12503
4248f0da
OB
125042014-02-26 Ondřej Bílka <neleai@seznam.cz>
12505
12506 * malloc/malloc.c (__libc_calloc): Simplify implementation.
12507
cf822e3c
OB
12508 * manual/arith.texi: Fix spaces after sentences.
12509 * manual/charset.texi: Likewise.
12510 * manual/errno.texi: Likewise.
12511 * manual/install.texi: Likewise.
12512 * manual/llio.texi: Likewise.
12513 * manual/locale.texi: Likewise.
12514 * manual/maint.texi: Likewise.
12515 * manual/math.texi: Likewise.
12516 * manual/memory.texi: Likewise.
12517 * manual/message.texi: Likewise.
12518 * manual/probes.texi: Likewise.
12519 * manual/resource.texi: Likewise.
12520 * manual/signal.texi: Likewise.
12521 * manual/socket.texi: Likewise.
12522 * manual/stdio.texi: Likewise.
12523 * manual/string.texi: Likewise.
12524 * manual/time.texi: Likewise.
12525 * manual/users.texi: Likewise.
12526
ade40b10
CD
125272014-02-25 Carlos O'Donell <carlos@redhat.com>
12528
12529 [BZ #16632]
12530 * include/features.h: Don't warn about _BSD_SOURCE or _SVID_SOURCE if
12531 _DEFAULT_SOURCE is defined.
12532
d0503676
CD
125332014-02-25 Ulrich Drepper <drepper@gmail.com>
12534 Carlos O'Donell <carlos@redhat.com>
12535
12536 [BZ #16613]
12537 * elf/dl-tls.c (_dl_count_modids): New function.
12538 * sysdeps/generic/ldsodefs.h: Declare _dl_count_modids.
12539 * elf/rtld.c (dl_main): Call _dl_count_modids to track TLS usage in
12540 audit library and increment generation counter.
12541 (_dl_allocate_tls_init): Add assertion to check TLS generation count.
12542 * elf/tst-audit9.c: New file.
12543 * elf/tst-auditmod9a.c: New file.
12544 * elf/tst-auditmod9b.c: New file.
12545 * elf/Makefile: Add rules to build and run tst-audit9.
12546
4cbf380c
FW
125472014-02-25 Florian Weimer <fweimer@redhat.com>
12548
12549 [BZ #15347]
12550 * misc/sys/select.h (__FD_MASK): Avoid signed integer overflow.
12551
80a56cc3
WN
125522014-02-25 Will Newton <will.newton@linaro.org>
12553
12554 * sysdeps/arm/__longjmp.S: Include stap-probe.h.
12555 (__longjmp): Restore sp and lr before restoring callee
12556 saved registers. Add longjmp and longjmp_target
12557 SystemTap probe point.
12558 * sysdeps/arm/bits/setjmp.h (__jmp_buf): Update comment.
12559 * sysdeps/arm/include/bits/setjmp.h (__JMP_BUF_SP):
12560 Define to zero to match jmpbuf layout.
12561 * sysdeps/arm/setjmp.S: Include stap-probe.h.
12562 (__sigsetjmp): Save sp and lr before saving callee
12563 saved registers. Add setjmp SystemTap probe point.
12564
3ea0f74e
SL
125652014-02-24 Stefan Liebler <stli@linux.vnet.ibm.com>
12566
12567 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
12568
b04acb26
AS
125692014-02-24 Andreas Schwab <schwab@suse.de>
12570
12571 [BZ #15804]
12572 * elf/pldd.c (wait_for_ptrace_stop): New function.
12573 (main): Call it after attaching.
12574
098ad55c
RM
125752014-02-22 Roland McGrath <roland@hack.frob.com>
12576
d4ec6ae1
RM
12577 * Makerules ($(common-objpfx)Versions.v.i): No longer depend
12578 on $(common-objpfx)abi-versions.h; using <shlib-compat.h> inside
12579 Versions files is now verboten.
12580 * hurd/Versions (libc: GLIBC_2.0):
12581 Remove various [SHLIB_COMPAT (libc, GLIBC_2_0, ...)] sections.
12582 (libc: HURD_CTHREADS_0.3): Remove conditionalization, was under
12583 [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_2)].
12584 * mach/Versions: Likewise.
12585
098ad55c
RM
12586 * csu/Versions: Remove unused %include.
12587 * resolv/Versions: Likewise.
12588
acd7f096
JM
125892014-02-21 Joseph Myers <joseph@codesourcery.com>
12590
f0881698
JM
12591 * Makefile ($(objpfx)c++-types-check.out): Use $(evaluate-test).
12592 ($(objpfx)check-local-headers.out): Likewise.
12593 ($(objpfx)begin-end-check.out): Likewise.
12594 * Makerules (check-abi-%.out): Likewise.
12595 * catgets/Makefile ($(objpfx)test1.cat): Likewise.
12596 ($(objpfx)test2.cat): Likewise.
12597 ($(objpfx)de/libc.cat): Likewise.
12598 ($(objpfx)test-gencat.out): Likewise.
12599 * conform/Makefile ($(objpfx)run-conformtest.out): Likewise.
12600 * elf/Makefile ($(objpfx)order-cmp.out): Likewise.
12601 ($(objpfx)noload-mem): Likewise.
12602 ($(objpfx)tst-pathopt.out): Likewise.
12603 ($(objpfx)tst-rtld-load-self.out): Likewise.
12604 ($(objpfx)tst-array1-cmp.out): Likewise.
12605 ($(objpfx)tst-array1-static-cmp.out): Likewise.
12606 ($(objpfx)tst-array2-cmp.out): Likewise.
12607 ($(objpfx)tst-array3-cmp.out): Likewise.
12608 ($(objpfx)tst-array4-cmp.out): Likewise.
12609 ($(objpfx)tst-array5-cmp.out): Likewise.
12610 ($(objpfx)tst-array5-static-cmp.out): Likewise.
12611 ($(objpfx)check-textrel.out): Likewise.
12612 ($(objpfx)check-execstack.out): Likewise.
12613 ($(objpfx)check-localplt.out): Likewise.
12614 ($(objpfx)order2-cmp.out): Likewise.
12615 ($(objpfx)tst-leaks1-mem): Likewise.
12616 ($(objpfx)tst-leaks1-static-mem): Likewise.
12617 ($(objpfx)tst-initorder-cmp.out): Likewise.
12618 ($(objpfx)tst-initorder2-cmp.out): Likewise.
12619 ($(objpfx)tst-unused-dep.out): Likewise.
12620 ($(objpfx)tst-unused-dep-cmp.out): Likewise.
12621 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Likewise.
12622 * iconv/Makefile (test-iconvconfig): Likewise.
12623 * iconvdata/Makefile ($(objpfx)mtrace-tst-loading): Likewise.
12624 ($(objpfx)iconv-test.out): Likewise.
12625 ($(objpfx)tst-tables.out): Likewise.
12626 * intl/Makefile ($(objpfx)mtrace-tst-gettext): Likewise.
12627 ($(objpfx)tst-gettext.out): Likewise.
12628 ($(objpfx)tst-translit.out): Likewise.
12629 ($(objpfx)tst-gettext2.out): Likewise.
12630 ($(objpfx)tst-gettext4.out): Likewise.
12631 ($(objpfx)tst-gettext6.out): Likewise.
12632 * io/Makefile ($(objpfx)ftwtest.out): Likewise.
12633 * libio/Makefile ($(objpfx)test-freopen.out): Likewise.
12634 ($(objpfx)tst-fopenloc-cmp.out): Likewise.
12635 ($(objpfx)tst-fopenloc-mem.out): Likewise.
12636 * malloc/Makefile ($(objpfx)tst-mtrace.out): Likewise.
12637 * misc/Makefile ($(objpfx)tst-error1-mem): Likewise.
12638 * posix/Makefile ($(objpfx)globtest.out): Likewise.
12639 ($(objpfx)wordexp-tst.out): Likewise.
12640 ($(objpfx)annexc.out): Likewise.
12641 ($(objpfx)tst-fnmatch-mem): Likewise.
12642 ($(objpfx)bug-regex2-mem): Likewise.
12643 ($(objpfx)bug-regex14-mem): Likewise.
12644 ($(objpfx)bug-regex21-mem): Likewise.
12645 ($(objpfx)bug-regex31-mem): Likewise.
12646 ($(objpfx)tst-vfork3-mem): Likewise.
12647 ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
12648 ($(objpfx)tst-pcre-mem): Likewise.
12649 ($(objpfx)tst-boost-mem): Likewise.
12650 ($(objpfx)tst-getconf.out): Likewise.
12651 ($(objpfx)bug-ga2-mem): Likewise.
12652 ($(objpfx)bug-glob2-mem): Likewise.
12653 * resolv/Makefile ($(objpfx)mtrace-tst-leaks): Likewise.
12654 ($(objpfx)mtrace-tst-leaks2): Likewise.
12655 * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Likewise.
12656 ($(objpfx)tst-printf.out): Likewise.
12657 ($(objpfx)tst-setvbuf1.out): Likewise.
12658 ($(objpfx)tst-setvbuf1-cmp.out): Likewise.
12659 * stdlib/Makefile ($(objpfx)isomac.out): Likewise.
12660 ($(objpfx)tst-fmtmsg.out): Likewise.
12661 * string/Makefile ($(objpfx)tst-svc-cmp.out): Likewise.
12662 * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Likewise.
12663
acd7f096
JM
12664 * bits/fcntl.h [__USE_MISC]: Remove redundant conditionals.
12665 * bits/sigaction.h [__USE_MISC]: Likewise.
12666 * bits/waitstatus.h: Update #endif comments.
12667 * ctype/ctype.h: Likewise.
12668 * dirent/dirent.h: Likewise.
12669 [__USE_MISC]: Remove redundant conditionals.
12670 * grp/grp.h: Update #endif comments.
12671 [__USE_GNU]: Remove redundant conditionals.
12672 [__USE_MISC]: Likewise.
12673 * inet/netinet/in.h [__USE_GNU]: Likewise.
12674 * io/sys/stat.h [__USE_MISC]: Likewise.
12675 * libio/bits/stdio-ldbl.h [__USE_MISC]: Likewise.
12676 * libio/bits/stdio.h: Update #endif comments.
12677 [__USE_MISC]: Remove redundant conditionals.
12678 * libio/bits/stdio2.h [__USE_MISC]: Likewise.
12679 * libio/stdio.h: Update #endif comments.
12680 [__USE_MISC]: Remove redundant conditionals.
12681 * math/bits/math-finite.h [__USE_MISC]: Likewise.
12682 * math/bits/mathcalls.h [__USE_MISC]: Likewise.
12683 * math/math.h: Update #else and #endif comments.
12684 [__USE_MISC]: Remove redundant conditionals.
12685 * misc/sys/uio.h: Update #endif comments.
12686 * posix/bits/unistd.h [__USE_MISC]: Remove redundant conditionals.
12687 * posix/glob.h [__USE_MISC]: Likewise.
12688 * posix/sys/types.h: Update #endif comments.
12689 [__USE_MISC]: Remove redundant conditionals.
12690 * posix/sys/wait.h: Update #endif comments.
12691 [__USE_MISC]: Remove redundant conditionals.
12692 * posix/unistd.h: Update #endif comments.
12693 [__USE_MISC]: Remove redundant conditionals.
12694 * pwd/pwd.h [__USE_GNU]: Likewise.
12695 [__USE_MISC]: Likewise.
12696 * resolv/netdb.h [__USE_GNU]: Likewise.
12697 * signal/signal.h: Update #endif comments.
12698 [__USE_MISC]: Remove redundant conditionals.
12699 * stdlib/stdlib.h: Update #else and #endif comments.
12700 [__USE_MISC]: Remove redundant conditionals.
12701 [__USE_GNU]: Likewise.
12702 * string/bits/string2.h [__USE_MISC]: Likewise.
12703 * string/string.h: Update #endif comments.
12704 [__USE_MISC]: Remove redundant conditionals.
12705 * sysdeps/m68k/m680x0/fpu/bits/mathinline.h [__USE_MISC]:
12706 Likewise.
12707 * sysdeps/mach/hurd/bits/fcntl.h [__USE_MISC]: Likewise.
12708 * sysdeps/mach/hurd/bits/stat.h [__USE_MISC]: Likewise.
12709 * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h [__USE_MISC]:
12710 Likewise.
12711 * sysdeps/unix/sysv/linux/alpha/bits/stat.h [__USE_MISC]:
12712 Likewise.
12713 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Update #endif
12714 comments.
12715 [__USE_MISC]: Remove redundant conditionals.
12716 * sysdeps/unix/sysv/linux/bits/in.h [__USE_GNU]: Likewise.
12717 * sysdeps/unix/sysv/linux/bits/sigaction.h [__USE_MISC]: Likewise.
12718 * sysdeps/unix/sysv/linux/bits/socket.h [__USE_GNU]: Likewise.
12719 * sysdeps/unix/sysv/linux/bits/stat.h [__USE_MISC]: Likewise.
12720 * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h [__USE_MISC]:
12721 Likewise.
12722 * sysdeps/unix/sysv/linux/m68k/bits/stat.h [__USE_MISC]: Likewise.
12723 * sysdeps/unix/sysv/linux/mips/bits/sigaction.h [__USE_MISC]:
12724 Likewise.
12725 * sysdeps/unix/sysv/linux/mips/bits/stat.h [__USE_MISC]: Likewise.
12726 * sysdeps/unix/sysv/linux/powerpc/bits/stat.h [__USE_MISC]:
12727 Likewise.
12728 * sysdeps/unix/sysv/linux/s390/bits/sigaction.h [__USE_MISC]:
12729 Likewise.
12730 * sysdeps/unix/sysv/linux/s390/bits/stat.h [__USE_MISC]: Likewise.
12731 * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h [__USE_MISC]:
12732 Likewise.
12733 * sysdeps/unix/sysv/linux/sparc/bits/stat.h [__USE_MISC]:
12734 Likewise.
12735 * sysdeps/unix/sysv/linux/x86/bits/stat.h [__USE_MISC]: Likewise.
12736 * sysdeps/x86/bits/string.h: Update #endif comments.
12737 * sysdeps/x86/fpu/bits/mathinline.h [__USE_MISC]: Remove redundant
12738 conditionals.
12739 * time/sys/time.h: Update #endif comments.
12740 * time/time.h: Likewise.
12741 [__USE_MISC]: Remove redundant conditionals.
12742
a5d82e4e
YG
127432014-02-21 Yury Gribov <y.gribov@samsung.com>
12744
12745 [BZ #16600]
12746 * sysdeps/arm/libm-test-ulps: Update for VFPv4.
12747
9a80491d
AS
127482014-02-21 Andreas Schwab <schwab@linux-m68k.org>
12749
12750 * Versions.def (librt): Add GLIBC_2.17.
12751
105fa381
AC
127522014-02-21 Adam Conrad <adconrad@0c3.net>
12753
12754 * sysdeps/powerpc/bits/hwcap.h: Allow _SYSDEPS_SYSDEP_H guard as a
12755 synonym for _SYS_AUXV_H to allow direct inclusion.
12756 * sysdeps/sparc/bits/hwcap.h: Likewise.
12757 * sysdeps/powerpc/sysdep.h: Define _SYSDEPS_SYSDEP_H instead of
12758 _SYS_AUXV_H so we can include sysdep.h and sys/auxv.h together.
12759 * sysdeps/sparc/sysdep.h: Likewise.
12760
b8cd1c4e
SP
127612014-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
12762
12763 * benchtests/bench-strrchr.c (do_test): Fix minor formatting.
12764
bd939d23
RS
127652014-02-21 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
12766
12767 * benchtests/bench-strrchr.c: Print length instead of position.
12768
5d7b57ca
JM
127692014-02-20 Joseph Myers <joseph@codesourcery.com>
12770
bc688c10
JM
12771 [BZ #16611]
12772 * sysdeps/unix/sysv/linux/kernel-features.h
12773 [__LINUX_KERNEL_VERSION >= 0x030000 && __ASSUME_SOCKETCALL]
12774 (__ASSUME_SENDMMSG_SOCKETCALL): Define.
12775 [__LINUX_KERNEL_VERSION >= 0x030000 && (__i386__ || __x86_64__ ||
12776 __powerpc__ || __sh__ || __sparc__)] (__ASSUME_SENDMMSG_SYSCALL):
12777 Likewise.
12778 [__i386__ || __powerpc__ || __sh__ || __sparc__]
12779 (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
12780 [__ASSUME_SENDMMSG_SOCKETCALL || __ASSUME_SENDMMSG_SYSCALL]
12781 (__ASSUME_SENDMMSG): Define instead of using previous
12782 [__LINUX_KERNEL_VERSION >= 0x020627] condition.
12783 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
12784 (__ASSUME_SENDMMSG_SYSCALL): Define.
12785 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
12786 [__LINUX_KERNEL_VERSION >= 0x030200] (__ASSUME_SENDMMSG_SYSCALL):
12787 Likewise.
12788 * sysdeps/unix/sysv/linux/arm/kernel-features.h
12789 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
12790 Likewise.
12791 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
12792 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
12793 Likewise.
12794 * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SOCKETCALL
12795 && !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
12796 !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
12797 [__ASSUME_SENDMMSG]: Change conditionals to
12798 [__ASSUME_SENDMMSG_SOCKETCALL].
12799 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
12800 [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_SENDMMSG_SYSCALL):
12801 Define.
12802 * sysdeps/unix/sysv/linux/mips/kernel-features.h
12803 [__LINUX_KERNEL_VERSION >= 0x030100] (__ASSUME_SENDMMSG_SYSCALL):
12804 Likewise.
12805 * sysdeps/unix/sysv/linux/sendmmsg.c [__ASSUME_SOCKETCALL &&
12806 !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
12807 !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
12808 [!__ASSUME_SENDMMSG]: Change conditional to
12809 [!__ASSUME_SENDMMSG_SOCKETCALL].
12810 * sysdeps/unix/sysv/linux/tile/kernel-features.h
12811 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
12812 Define.
12813
0e31b18c
JM
12814 [BZ #16610]
12815 * sysdeps/unix/sysv/linux/kernel-features.h
12816 [__LINUX_KERNEL_VERSION >= 0x020621 && __ASSUME_SOCKETCALL]
12817 (__ASSUME_RECVMMSG_SOCKETCALL): Define.
12818 [(__LINUX_KERNEL_VERSION >= 0x020621 && (__i386__ || __x86_64__ ||
12819 __sparc__)) || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__
12820 || __sh__))] (__ASSUME_RECVMMSG_SYSCALL): Likewise.
12821 [__i386__ || __sparc__]
12822 (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
12823 [__ASSUME_RECVMMSG_SOCKETCALL || __ASSUME_RECVMMSG_SYSCALL]
12824 (__ASSUME_RECVMMSG): Define instead of using previous
12825 [__LINUX_KERNEL_VERSION >= 0x020621] condition.
12826 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
12827 (__ASSUME_RECVMMSG_SYSCALL): Define.
12828 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
12829 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
12830 Likewise.
12831 * sysdeps/unix/sysv/linux/arm/kernel-features.h
12832 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
12833 Likewise.
12834 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
12835 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
12836 Likewise.
12837 * sysdeps/unix/sysv/linux/internal_recvmmsg.S [__ASSUME_SOCKETCALL
12838 && !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
12839 !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
12840 [__ASSUME_RECVMMSG]: Change condition to
12841 [__ASSUME_RECVMMSG_SOCKETCALL].
12842 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
12843 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
12844 Define.
12845 (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
12846 * sysdeps/unix/sysv/linux/mips/kernel-features.h
12847 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
12848 Likewise.
12849 * sysdeps/unix/sysv/linux/recvmmsg.c [__ASSUME_SOCKETCALL &&
12850 !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
12851 !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
12852 [!__ASSUME_RECVMMSG]: Change condition to
12853 [!__ASSUME_RECVMMSG_SOCKETCALL].
12854 * sysdeps/unix/sysv/linux/tile/kernel-features.h
12855 (__ASSUME_RECVMMSG_SYSCALL): Define.
12856
dd481ccf
JM
12857 [BZ #16609]
12858 * sysdeps/unix/sysv/linux/kernel-features.h [__i386__ ||
12859 __powerpc__ || __s390__ || __sh__ || __sparc__]
12860 (__ASSUME_SOCKETCALL): Define.
12861 [__LINUX_KERNEL_VERSION && __ASSUME_SOCKETCALL]
12862 (__ASSUME_ACCEPT4_SOCKETCALL): Likewise.
12863 [(__LINUX_KERNEL_VERSION >= 0x02061c && (__x86_64__ || __sparc__))
12864 || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__ ||
12865 __sh__))] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
12866 [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
12867 [__ASSUME_ACCEPT4_SOCKETCALL || __ASSUME_ACCEPT4_SYSCALL]
12868 (__ASSUME_ACCEPT4): Define instead of using previous
12869 [__LINUX_KERNEL_VERSION >= 0x02061c && (__i386__ || __x86_64__ ||
12870 __powerpc__ || __sparc__ || __s390__)] condition.
12871 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
12872 (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
12873 * sysdeps/unix/sysv/linux/accept4.c [__ASSUME_SOCKETCALL &&
12874 !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
12875 !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
12876 [!__ASSUME_ACCEPT4]: Change condition to
12877 [!__ASSUME_ACCEPT4_SOCKETCALL].
12878 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
12879 (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL. Correct
12880 condition to [__LINUX_KERNEL_VERSION >= 0x030200].
12881 * sysdeps/unix/sysv/linux/arm/kernel-features.h
12882 [__LINUX_KERNEL_VERSION >= 0x020624] (__ASSUME_ACCEPT4): Change to
12883 __ASSUME_ACCEPT4_SYSCALL.
12884 * sysdeps/unix/sysv/linux/i386/accept4.S [__ASSUME_ACCEPT4]:
12885 Change conditions to [__ASSUME_ACCEPT4_SOCKETCALL].
12886 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
12887 [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_ACCEPT4): Change to
12888 __ASSUME_ACCEPT4_SYSCALL.
12889 * sysdeps/unix/sysv/linux/internal_accept4.S [__ASSUME_SOCKETCALL
12890 && !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
12891 !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
12892 [__ASSUME_ACCEPT4]: Change condition to
12893 [__ASSUME_ACCEPT4_SOCKETCALL].
12894 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
12895 (__ASSUME_SOCKETCALL): Define.
12896 [__LINUX_KERNEL_VERSION >= 0x02061c] (__ASSUME_ACCEPT4): Remove.
12897 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
12898 (__ASSUME_SOCKETCALL): Define.
12899 (__ASSUME_ACCEPT4): Remove.
12900 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_ACCEPT4_SYSCALL):
12901 Define.
12902 * sysdeps/unix/sysv/linux/mips/kernel-features.h
12903 [__LINUX_KERNEL_VERSION >= 0x02061f] (__ASSUME_ACCEPT4_SYSCALL):
12904 Likewise.
12905 * sysdeps/unix/sysv/linux/tile/kernel-features.h
12906 (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
12907
5d7b57ca
JM
12908 * sysdeps/unix/sysv/linux/arm/bits/hwcap.h (HWCAP_ARM_VFPD32): New
12909 macro.
12910 (HWCAP_ARM_LPAE): Likewise.
12911 (HWCAP_ARM_EVTSTRM): Likewise.
12912 * sysdeps/unix/sysv/linux/arm/dl-procinfo.c (_dl_arm_cap_flags):
12913 Add vpfd32, lpae and evtstrm.
12914 * sysdeps/unix/sysv/linux/arm/dl-procinfo.h (_DL_HWCAP_COUNT):
12915 Increase to 22.
12916
63689d61
JM
129172014-02-19 Joseph Myers <joseph@codesourcery.com>
12918
12919 * math/auto-libm-test-in: Add tests of clog10.
12920 * math/auto-libm-test-out: Regenerated.
12921 * math/libm-test.inc (clog10_test_data): Use AUTO_TESTS_c_c.
12922 * sysdeps/i386/fpu/libm-test-ulps: Update.
12923 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12924
ab09bf61
AS
129252014-02-18 Andreas Schwab <schwab@suse.de>
12926
12927 [BZ #16574]
12928 * resolv/res_send.c (send_vc): Add parameter ansp2_malloced.
12929 Store non-zero if the second buffer was newly allocated.
12930 (send_dg): Likewise.
12931 (__libc_res_nsend): Add parameter ansp2_malloced and pass it down
12932 to send_vc and send_dg.
12933 (res_nsend): Pass NULL for ansp2_malloced.
12934 * resolv/res_query.c (__libc_res_nquery): Add parameter
12935 answerp2_malloced and pass it down to __libc_res_nsend.
12936 (res_nquery): Pass additional NULL to __libc_res_nquery.
12937 (__libc_res_nsearch): Add parameter answerp2_malloced and pass it
12938 down to __libc_res_nquery and __libc_res_nquerydomain. Deallocate
12939 second answer buffer if answerp2_malloced was set.
12940 (res_nsearch): Pass additional NULL to __libc_res_nsearch.
12941 (__libc_res_nquerydomain): Add parameter
12942 answerp2_malloced and pass it down to __libc_res_nquery.
12943 (res_nquerydomain): Pass additional NULL to
12944 __libc_res_nquerydomain.
12945 * resolv/nss_dns/dns-network.c (_nss_dns_getnetbyname_r): Pass
12946 additional NULL to __libc_res_nsend and __libc_res_nquery.
12947 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Pass
12948 additional NULL to __libc_res_nsearch.
12949 (_nss_dns_gethostbyname4_r): Revert last change. Use new
12950 parameter of __libc_res_nsearch to check for separately allocated
12951 second buffer.
12952 (_nss_dns_gethostbyaddr2_r): Pass additional NULL to
12953 __libc_res_nquery.
12954 * resolv/nss_dns/dns-canon.c (_nss_dns_getcanonname_r): Pass
12955 additional NULL to __libc_res_nquery.
12956 * resolv/gethnamaddr.c (gethostbyname2): Pass additional NULL to
12957 __libc_res_nsearch.
12958 (gethostbyaddr): Pass additional NULL to __libc_res_nquery.
12959 * include/resolv.h: Update prototypes of __libc_res_nquery,
12960 __libc_res_nsearch, __libc_res_nsend.
12961
a4fb7861
JM
129622014-02-18 Joseph Myers <joseph@codesourcery.com>
12963
c6af2d89
JM
12964 * math/auto-libm-test-in: Add tests of fma.
12965 * math/auto-libm-test-out: Regenerated.
12966 * math/libm-test.inc (fma_test_data): Use AUTO_TESTS_fff_f.
12967 (fma_towardzero_test_data): Likewise.
12968 (fma_downward_test_data): Likewise.
12969 (fma_upward_test_data): Likewise.
12970 * math/gen-auto-libm-tests.c (rounding_mode_desc): Add field
12971 mpc_mode.
12972 (rounding_modes): Add values for new field.
12973 (func_calc_method): Add value mpfr_fff_f.
12974 (func_calc_desc): Add mpfr_fff_f union field.
12975 (test_function): Add field exact_args.
12976 (FUNC): Add macro argument EXACT_ARGS.
12977 (FUNC_mpfr_f_f): Update call to FUNC.
12978 (FUNC_mpfr_f_f): Likewise.
12979 (FUNC_mpfr_ff_f): Likewise.
12980 (FUNC_mpfr_if_f): Likewise.
12981 (FUNC_mpc_c_f): Likewise.
12982 (FUNC_mpc_c_c): Likewise.
12983 (test_functions): Add fma. Update calls to FUNC.
12984 (handle_input_arg): Add argument exact_args.
12985 (add_test): Update call to handle_input_arg.
12986 (calc_generic_results): Add argument mode. Handle mpfr_fff_f.
12987 (output_for_one_input_case): Update call to calc_generic_results.
12988 Recalculate exact zero results in each rounding mode.
12989
a4fb7861
JM
12990 * math/gen-auto-libm-tests.c (adjust_real): Ensure integers are
12991 non-negative before setting low bit.
12992 * math/auto-libm-test-in: Mark one asin test possibly having
12993 spurious underflow.
12994 * math/auto-libm-test-out: Regenerated.
12995 * sysdeps/i386/fpu/libm-test-ulps: Update.
12996 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12997
ef114eaf
DH
129982014-02-17 David Holsgrove <david.holsgrove@xilinx.com>
12999
2b7f4f2c
SP
13000 * sysdeps/microblaze: Move directory from ports/sysdeps/microblaze.
13001 * sysdeps/unix/sysv/linux/microblaze: Move directory from
13002 ports/sysdeps/unix/sysv/linux/microblaze.
ef114eaf
DH
13003 * README: Add missing listing for microblaze*-*-linux-gnu.
13004
8125aedc
AM
130052014-02-16 Ondřej Bílka <neleai@seznam.cz>
13006
13007 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Remove
13008 duplicate code
13009
c70a4b1d
MF
130102014-02-16 Mike Frysinger <vapier@gentoo.org>
13011
13012 * sysdeps/ia64: Move directory from ports/sysdeps/ia64.
13013 * sysdeps/unix/sysv/linux/ia64: Move directory from
13014 ports/sysdeps/unix/sysv/linux/ia64.
13015 * README: Update listing for ia64-*-linux-gnu.
13016
591aeaf7
TD
130172014-02-14 Tomas Dohnalek <tdohnale@redhat.com>
13018 Joseph Myers <joseph@codesourcery.com>
13019
13020 * Makeconfig (test-name): New variable.
13021 (evaluate-test): Likewise.
13022 * Makerules (do-test-clean): Remove .test-result files.
13023 (common-mostlyclean): Likewise.
13024 * Rules ($(objpfx)%.out): Use $(evaluate-test) in both rules.
13025 * scripts/evaluate-test.sh: New file.
13026
6e89caf1
JM
130272014-02-14 Joseph Myers <joseph@codesourcery.com>
13028
7f98f180
JM
13029 * libio/Makefile ($(objpfx)tst-fopenloc.check): Split into
13030 separate $(objpfx)tst-fopenloc-cmp.out and
13031 $(objpfx)tst-fopenloc-mem.out targets.
13032 (tests): Update dependencies.
13033 * posix/Makefile (tests variable): Add tst-rxspencer-no-utf8.
13034 (generated): Change tst-rxspencer-mem and tst-rxspencer.mtrace to
13035 tst-rxspencer-no-utf8-mem and tst-rxspencer-no-utf8.mtrace.
13036 (tst-rxspencer-no-utf8-ARGS): New variable.
13037 (tst-rxspencer-no-utf8-ENV): Likewise.
13038 (tests target): Depend on $(objpfx)tst-rxspencer-no-utf8-mem
13039 instead of $(objpfx)tst-rxspencer-mem.
13040 ($(objpfx)tst-rxspencer-mem): Change target to
13041 $(objpfx)tst-rxspencer-no-utf8-mem. Depend on
13042 $(objpfx)tst-rxspencer-no-utf8.out instead of running test program.
13043 * posix/tst-rxspencer-no-utf8.c: New file.
13044
6e89caf1
JM
13045 * elf/Makefile ($(objpfx)order.out): Remove rule.
13046 [$(run-built-tests) = yes] (tests): Depend on
13047 $(objpfx)order-cmp.out.
13048 ($(objpfx)order-cmp.out): New rule.
13049 [$(run-built-tests) = yes] (tests): Depend on
13050 $(objpfx)tst-array1-cmp.out, $(objpfx)tst-array1-static-cmp.out,
13051 $(objpfx)tst-array2-cmp.out, $(objpfx)tst-array3-cmp.out,
13052 $(objpfx)tst-array4-cmp.out, $(objpfx)tst-array5-cmp.out and
13053 $(objpfx)tst-array5-static-cmp.out.
13054 ($(objpfx)tst-array1.out): Remove rule.
13055 ($(objpfx)tst-array1-cmp.out): New rule.
13056 ($(objpfx)tst-array1-static.out): Remove rule.
13057 ($(objpfx)tst-array1-static-cmp.out): New rule.
13058 ($(objpfx)tst-array2.out): Remove rule.
13059 ($(objpfx)tst-array2-cmp.out): New rule.
13060 ($(objpfx)tst-array3.out): Remove rule.
13061 ($(objpfx)tst-array3-cmp.out): New rule.
13062 ($(objpfx)tst-array4.out): Remove rule.
13063 ($(objpfx)tst-array4-cmp.out): New rule.
13064 ($(objpfx)tst-array5.out): Remove rule.
13065 ($(objpfx)tst-array5-cmp.out): New rule.
13066 ($(objpfx)tst-array5-static.out): Remove rule.
13067 ($(objpfx)tst-array5-static-cmp.out): New rule.
13068 [$(run-built-tests) = yes] (tests): Depend on
13069 $(objpfx)order2-cmp.out.
13070 ($(objpfx)order2.out): Remove rule.
13071 ($(objpfx)order2-cmp.out): New rule.
13072 ($(objpfx)tst-initorder.out): Remove rule.
13073 [$(run-built-tests) = yes] (tests): Depend on
13074 $(objpfx)tst-initorder-cmp.out.
13075 ($(objpfx)tst-initorder-cmp.out): New rule.
13076 ($(objpfx)tst-initorder2.out): Remove rule.
13077 [$(run-built-tests) = yes] (tests): Depend on
13078 $(objpfx)tst-initorder2-cmp.out.
13079 ($(objpfx)tst-initorder2-cmp.out): New rule.
13080 [$(run-built-tests) = yes] (tests): Depend on
13081 $(objpfx)tst-unused-dep-cmp.out.
13082 ($(objpfx)tst-unused-dep-cmp.out): Do not run cmp.
13083 ($(objpfx)tst-unused-dep-cmp.out): New rule.
13084 * stdio-common/Makefile [$(run-built-tests) = yes] (tests): Depend
13085 on $(objpfx)tst-setvbuf1-cmp.out.
13086 ($(objpfx)tst-setvbuf1.out): Do not run cmp.
13087 ($(objpfx)tst-setvbuf1-cmp.out): New rule.
13088 * string/Makefile [$(run-built-tests) = yes] (tests): Depend
13089 $(objpfx)tst-svc-cmp.out instead of $(objpfx)tst-svc.out.
13090 ($(objpfx)tst-svc.out): Remove rule.
13091 ($(objpfx)tst-svc-cmp.out): New rule.
13092
ed9a38e2
JM
130932014-02-13 Joseph Myers <joseph@codesourcery.com>
13094
13095 * bits/mman.h [__USE_MISC]: Remove redundant conditionals.
13096 * ctype/ctype.h [__USE_MISC]: Likewise.
13097 * dirent/dirent.h [__USE_MISC]: Likewise.
13098 * grp/grp.h [__USE_MISC]: Likewise.
13099 * io/fcntl.h [__USE_MISC]: Likewise.
13100 * io/sys/stat.h [__USE_MISC]: Likewise.
13101 * libio/stdio.h [__USE_MISC]: Likewise.
13102 * posix/unistd.h [__USE_MISC]: Likewise.
13103 * pwd/pwd.h [__USE_MISC]: Likewise.
13104 * stdlib.h [__USE_MISC]: Likewise.
13105 * string/bits/string2.h [__USE_MISC]: Likewise.
13106 * string/string.h [__USE_MISC]: Likewise.
13107 * time/time.h [__USE_MISC]: Likewise.
13108
d6680619
AS
131092014-02-13 Andreas Schwab <schwab@suse.de>
13110
13111 [BZ #16574]
13112 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Free the
13113 second answer buffer if it was separately allocated.
13114
ace614b8
JM
131152014-02-12 Joseph Myers <joseph@codesourcery.com>
13116
743151ae
JM
13117 * sysdeps/mips/math-tests.h: Include <features.h>.
13118 [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
13119 (ROUNDING_TESTS_long_double): Do not define.
13120 [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
13121 (EXCEPTION_TESTS_long_double): Likewise.
13122 * sysdeps/mips/mips64/libm-test-ulps: Update.
13123
498afc54
JM
13124 * include/features.h (__USE_BSD): Remove macro definitions.
13125 (__USE_SVID): Likewise.
13126 (_BSD_SOURCE): Likewise.
13127 (_SVID_SOURCE): Likewise.
13128 [!defined _BSD_SOURCE && !defined _SVID_SOURCE]: Remove condition
13129 from definition of _DEFAULT_SOURCE.
13130 [_BSD_SOURCE || _SVID_SOURCE]: Change condition to
13131 [_DEFAULT_SOURCE].
13132 * bits/fcntl.h [__USE_BSD]: Change condition to [__USE_MISC].
13133 * bits/mman.h [__USE_BSD]: Likewise.
13134 * bits/termios.h [__USE_BSD]: Likewise.
13135 * bits/waitstatus.h [__USE_BSD]: Likewise.
13136 * ctype/ctype.h [__USE_SVID]: Likewise.
13137 * dirent/dirent.h [__USE_BSD]: Likewise.
13138 * grp/grp.h [__USE_SVID]: Likewise.
13139 [__USE_BSD]: Likewise.
13140 * inet/netinet/igmp.h [__USE_BSD]: Likewise.
13141 * io/fcntl.h [__USE_BSD]: Likewise.
13142 * io/ftw.h [__USE_BSD]: Likewise.
13143 * io/sys/stat.h [__USE_BSD]: Likewise.
13144 * libio/bits/stdio-ldbl.h [__USE_BSD]: Likewise.
13145 * libio/bits/stdio2.h [__USE_BSD]: Likewise.
13146 * libio/stdio.h [__USE_SVID]: Likewise.
13147 [__USE_BSD]: Likewise.
13148 * math/math.h [__USE_SVID]: Likewise.
13149 [__USE_BSD]: Likewise.
13150 * misc/bits/syslog-ldbl.h [__USE_BSD]: Likewise.
13151 * misc/bits/syslog.h [__USE_BSD]: Likewise.
13152 * misc/search.h [__USE_SVID]: Likewise.
13153 * misc/sys/mman.h [__USE_BSD]: Likewise.
13154 * misc/sys/syslog.h [__USE_BSD]: Likewise.
13155 * misc/sys/uio.h [__USE_BSD]: Likewise.
13156 * posix/bits/unistd.h [__USE_BSD]: Likewise.
13157 * posix/glob.h [__USE_BSD]: Likewise.
13158 * posix/regex.h [__USE_BSD]: Likewise.
13159 * posix/sys/types.h [__USE_BSD]: Likewise.
13160 [__USE_SVID]: Likewise.
13161 * posix/sys/utsname.h [__USE_SVID]: Likewise.
13162 * posix/sys/wait.h [__USE_BSD]: Likewise.
13163 [__USE_SVID]: Likewise.
13164 * posix/unistd.h [__USE_BSD]: Likewise.
13165 [__USE_SVID]: Likewise.
13166 * pwd/pwd.h [__USE_SVID]: Likewise.
13167 * resolv/netdb.h [__USE_BSD]: Likewise.
13168 * setjmp/setjmp.h [__USE_BSD]: Likewise.
13169 * signal/signal.h [__USE_BSD]: Likewise.
13170 [__USE_SVID]: Likewise.
13171 * socket/sys/socket.h [__USE_BSD]: Likewise.
13172 * stdlib/fmtmsg.h [__USE_SVID]: Likewise.
13173 * stdlib/stdlib.h [__USE_BSD]: Likewise.
13174 [__USE_SVID]: Likewise.
13175 * string/bits/string2.h [__USE_BSD]: Likewise.
13176 [__USE_SVID]: Likewise.
13177 * string/bits/string3.h [__USE_BSD]: Likewise.
13178 * string/endian.h [__USE_BSD]: Likewise.
13179 * string/string.h [__USE_SVID]: Likewise.
13180 [__USE_BSD]: Likewise.
13181 * string/strings.h [__USE_BSD]: Likewise.
13182 * sysdeps/generic/netinet/ip.h [__USE_BSD]: Likewise.
13183 * sysdeps/gnu/netinet/ip_icmp.h [__USE_BSD]: Likewise.
13184 * sysdeps/mach/hurd/bits/fcntl.h [__USE_BSD]: Likewise.
13185 * sysdeps/mach/hurd/bits/stat.h [__USE_BSD]: Likewise.
13186 * sysdeps/unix/sysv/linux/alpha/bits/mman.h [__USE_BSD]: Likewise.
13187 * sysdeps/unix/sysv/linux/alpha/bits/termios.h [__USE_BSD]:
13188 Likewise.
13189 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_BSD]:
13190 Likewise.
13191 * sysdeps/unix/sysv/linux/bits/mman-linux.h [__USE_BSD]: Likewise.
13192 * sysdeps/unix/sysv/linux/bits/sys_errlist.h [__USE_BSD]:
13193 Likewise.
13194 * sysdeps/unix/sysv/linux/bits/termios.h [__USE_BSD]: Likewise.
13195 * sysdeps/unix/sysv/linux/mips/bits/termios.h [__USE_BSD]:
13196 Likewise.
13197 * sysdeps/unix/sysv/linux/netinet/if_ether.h [__USE_BSD]:
13198 Likewise.
13199 * sysdeps/unix/sysv/linux/netinet/if_fddi.h [__USE_BSD]: Likewise.
13200 * sysdeps/unix/sysv/linux/netinet/if_tr.h [__USE_BSD]: Likewise.
13201 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_BSD]:
13202 Likewise.
13203 * sysdeps/unix/sysv/linux/sparc/bits/termios.h [__USE_BSD]:
13204 Likewise.
13205 * sysdeps/x86/bits/string.h [__USE_BSD]: Likewise.
13206 * sysvipc/sys/ipc.h [__USE_SVID]: Likewise.
13207 * termios/termios.h [__USE_BSD]: Likewise.
13208 * time/sys/time.h [__USE_BSD]: Likewise.
13209 * time/time.h [__USE_BSD]: Likewise.
13210 [__USE_SVID]: Likewise.
13211
dd7b064c
JM
13212 * Makefile (subdir_targets): Remove subdir_lint.out.
13213
a2c4c199
JM
13214 * stdio-common/Makefile (do-tst-unbputc): Remove target.
13215 (do-tst-printf): Likewise.
13216 (tests): Depend directly on $(objpfx)tst-unbputc.out and
13217 $(objpfx)tst-printf.out.
13218
8756f740
JM
13219 * io/ftwtest-sh (testout): Change to $tmp/ftwtest-tmp.out.
13220
1b6dd3f1
JM
13221 * Makerules (check-abi-%): Change target to
13222 $(objpfx)check-abi-%.out.
13223 (check-abi target): Update dependencies.
13224 (check-abi-pattern variable): Redirect output of diff to $@.
13225 (check-abi variable): Likewise.
13226 * elf/Makefile (check-abi): Update dependencies.
13227
ace614b8
JM
13228 * soft-fp/op-common.h (_FP_DECL): Mark exponent as possibly
13229 unused.
13230 (_FP_PACK_SEMIRAW): Determine tininess based on rounding shifted
13231 value if _FP_TININESS_AFTER_ROUNDING and unrounded value is in
13232 subnormal range.
13233 (_FP_PACK_CANONICAL): Determine tininess based on rounding to
13234 normal precision if _FP_TININESS_AFTER_ROUNDING and unrounded
13235 value has largest subnormal exponent.
13236 * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS]
13237 (_FP_TININESS_AFTER_ROUNDING): Undefine and redefine to 0.
13238 * sysdeps/aarch64/soft-fp/sfp-machine.h
13239 (_FP_TININESS_AFTER_ROUNDING): New macro.
13240 * sysdeps/alpha/soft-fp/sfp-machine.h
13241 (_FP_TININESS_AFTER_ROUNDING): Likewise.
13242 * sysdeps/arm/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
13243 Likewise.
13244 * sysdeps/mips/mips64/soft-fp/sfp-machine.h
13245 (_FP_TININESS_AFTER_ROUNDING): Likewise.
13246 * sysdeps/mips/soft-fp/sfp-machine.h
13247 (_FP_TININESS_AFTER_ROUNDING): Likewise.
13248 * sysdeps/powerpc/soft-fp/sfp-machine.h
13249 (_FP_TININESS_AFTER_ROUNDING): Likewise.
13250 * sysdeps/sh/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
13251 Likewise.
13252 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
13253 (_FP_TININESS_AFTER_ROUNDING): Likewise.
13254 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
13255 (_FP_TININESS_AFTER_ROUNDING): Likewise.
13256 * sysdeps/tile/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
13257 Likewise.
13258
fbfdf9cb
DAS
132592014-02-12 Dylan Alex Simon <dylan@dylex.net>
13260
13261 [BZ #16545]
13262 * sysdeps/x86_64/fpu/libm-test-ulps: Update on AMD family 21h
13263 model 1.
13264
68b7efaa
RH
132652014-02-12 Richard Henderson <rth@redhat.com>
13266
c70a4b1d 13267 * sysdeps/alpha: Move directory from ports/sysdeps/alpha.
68b7efaa
RH
13268 * sysdeps/unix/alpha: Move directory from ports/sysdeps/unix/alpha.
13269 * sysdeps/unix/sysv/linux/alpha: Move directory from
13270 ports/sysdeps/unix/sysv/linux/alpha.
13271 * README: Update listing for alpha-*-linux-gnu.
13272
cb4a2928
JM
132732014-02-11 Joseph Myers <joseph@codesourcery.com>
13274
c941736c
JM
13275 * include/features.h: Update comment documenting feature test
13276 macros.
13277 [_BSD_SOURCE || _SVID_SOURCE]: Give #warning. Define
13278 _DEFAULT_SOURCE.
13279 * manual/creature.texi (_BSD_SOURCE): Remove documentation.
13280 (_SVID_SOURCE): Likewise.
13281 (_DEFAULT_SOURCE): Update description of default features.
13282 (Feature Test Macros): Don't mention _SVID_SOURCE in conjunction
13283 with _GNU_SOURCE.
13284 * manual/filesys.texi (__ftw_func_t): Do not refer to _BSD_SOURCE.
13285 (S_ISVTX): Likewise.
13286 * manual/math.texi (Mathematical Constants): Likewise.
13287 * manual/signal.texi (Interrupted Primitives): Likewise.
13288 * manual/startup.texi (putenv): Do not refer to _SVID_SOURCE.
13289 * math/test-matherr.c (_SVID_SOURCE): Do not define.
13290 * sysvipc/sys/ipc.h [__USE_SVID && !__USE_XOPEN && __GNUC__ >= 2]:
13291 Don't refer to _SVID_SOURCE in warning text.
13292
e8d8d7ec
JM
13293 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
13294
cb4a2928
JM
13295 * elf/dl-lookup.c (ELF_MACHINE_SYM_NO_MATCH): Define if not
13296 already defined.
13297 (do_lookup_x): Use ELF_MACHINE_SYM_NO_MATCH.
13298 * sysdeps/mips/dl-lookup.c: Remove.
13299 * sysdeps/mips/dl-machine.h (ELF_MACHINE_SYM_NO_MATCH): New macro.
13300
7e6424e3
AK
133012014-02-11 Stefan Liebler <stli@linux.vnet.ibm.com>
13302
13303 [BZ #16447]
13304 * math/auto-libm-test-in: Add testcase for expl.
13305 * math/auto-libm-test-out: Regenerate.
13306 * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Fix
13307 calculation of unsafe.
13308 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for added testcase.
13309
75eff3fe
MS
133102014-02-11 Marcus Shawcroft <marcus.shawcroft@arm.com>
13311
13312 * sysdeps/aarch64: Move directory from ports/sysdeps/aarch64.
13313 * sysdeps/unix/sysv/linux/aarch64: Move directory from
13314 ports/sysdeps/unix/sysv/linux/aarch64.
13315 * README: Update listing for aarch64*-*-linux-gnu.
13316
d35f1e80
WN
133172014-02-11 Will Newton <will.newton@linaro.org>
13318
13319 * manual/probes.texi (Mathematical Function Probes): Use
13320 "triggered" instead of "hit".
13321
7b3436d4
WN
13322 * manual/probes.texi (Internal Probes): Add documentation
13323 of setjmp, longjmp and longjmp_target probes.
13324
b4f12ca3
WN
13325 * include/stap-probe.h: Add comment about probe argument
13326 format.
13327
c13a72b7
WN
13328 * malloc/mtrace.c (attribute_hidden): Remove unused macro
13329 definition. (tr_where, tr_freehook, tr_mallochook,
13330 tr_reallochook, tr_memalignhook): Use ANSI protoype.
13331
195b8165
DM
133322014-02-11 David S. Miller <davem@davemloft.net>
13333
13334 * stdio-common/tst-sscanf.c (main): Use 'long' for 'dummy' when
13335 processing int_tests.
13336
2ad7600b
JM
133372014-02-10 Joseph Myers <joseph@codesourcery.com>
13338
13339 * sysdeps/mips: Move directory from ports/sysdeps/mips.
13340 * sysdeps/unix/mips: Move directory from ports/sysdeps/unix/mips.
13341 * sysdeps/unix/sysv/linux/mips: Move directory from
13342 ports/sysdeps/unix/sysv/linux/mips.
13343 * README: Update listing for mips-*-linux-gnu and
13344 mips64-*-linux-gnu.
13345
73588a72
AS
133462014-02-10 Andreas Schwab <schwab@linux-m68k.org>
13347
13348 * sysdeps/m68k: Move directory from ports/sysdeps/m68k.
13349 * sysdeps/unix/sysv/linux/m68k: Move directory from
13350 ports/sysdeps/unix/sysv/linux/m68k.
13351 * README: Update listing for m68k-*-linux-gnu.
13352
4372980f
CM
133532014-02-10 Chris Metcalf <cmetcalf@tilera.com>
13354
13355 * sysdeps/tile: Move directory from ports/sysdeps/tile.
13356 * sysdeps/unix/sysv/linux/generic: Move directory from
13357 ports/sysdeps/unix/sysv/linux/generic.
13358 * sysdeps/unix/sysv/linux/tile: Move directory from
13359 ports/sysdeps/unix/sysv/linux/tile.
13360 * README: Update listing for tile*-*-linux-gnu.
13361
a1ffb40e
OB
133622014-02-10 Ondřej Bílka <neleai@seznam.cz>
13363
57f41c40
AS
13364 * assert/assert.c (__assert_fail_base): Use glibc_likely instead
13365 __builtin_expect.
a1ffb40e
OB
13366 * benchtests/bench-memmem.c (simple_memmem): Likewise.
13367 * catgets/open_catalog.c (__open_catalog): Likewise.
13368 * csu/libc-start.c (LIBC_START_MAIN): Likewise.
13369 * debug/confstr_chk.c: Likewise.
13370 * debug/fread_chk.c (__fread_chk): Likewise.
13371 * debug/fread_u_chk.c (__fread_unlocked_chk): Likewise.
13372 * debug/getgroups_chk.c: Likewise.
13373 * debug/mbsnrtowcs_chk.c: Likewise.
13374 * debug/mbsrtowcs_chk.c: Likewise.
13375 * debug/mbstowcs_chk.c: Likewise.
13376 * debug/memcpy_chk.c: Likewise.
13377 * debug/memmove_chk.c: Likewise.
13378 * debug/mempcpy_chk.c: Likewise.
13379 * debug/memset_chk.c: Likewise.
13380 * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
13381 * debug/strcat_chk.c (__strcat_chk): Likewise.
13382 * debug/strcpy_chk.c (__strcpy_chk): Likewise.
13383 * debug/strncat_chk.c (__strncat_chk): Likewise.
13384 * debug/vsnprintf_chk.c (___vsnprintf_chk): Likewise.
13385 * debug/vswprintf_chk.c (__vswprintf_chk): Likewise.
13386 * debug/wcpcpy_chk.c (__wcpcpy_chk): Likewise.
13387 * debug/wcpncpy_chk.c: Likewise.
13388 * debug/wcscat_chk.c (__wcscat_chk): Likewise.
13389 * debug/wcscpy_chk.c (__wcscpy_chk): Likewise.
13390 * debug/wcsncat_chk.c (__wcsncat_chk): Likewise.
13391 * debug/wcsncpy_chk.c: Likewise.
13392 * debug/wcsnrtombs_chk.c: Likewise.
13393 * debug/wcsrtombs_chk.c: Likewise.
13394 * debug/wcstombs_chk.c: Likewise.
13395 * debug/wmemcpy_chk.c: Likewise.
13396 * debug/wmemmove_chk.c: Likewise.
13397 * debug/wmempcpy_chk.c: Likewise.
13398 * debug/wmemset_chk.c: Likewise.
13399 * dirent/scandirat.c (SCANDIRAT): Likewise.
13400 * dlfcn/dladdr1.c (dladdr1): Likewise.
13401 * dlfcn/dladdr.c (dladdr): Likewise.
13402 * dlfcn/dlclose.c (dlclose_doit): Likewise.
13403 * dlfcn/dlerror.c (__dlerror): Likewise.
13404 * dlfcn/dlinfo.c (dlinfo_doit): Likewise.
13405 * dlfcn/dlmopen.c (dlmopen_doit): Likewise.
13406 * dlfcn/dlopen.c (dlopen_doit): Likewise.
13407 * dlfcn/dlopenold.c (__dlopen_nocheck): Likewise.
13408 * dlfcn/dlsym.c (dlsym_doit): Likewise.
13409 * dlfcn/dlvsym.c (dlvsym_doit): Likewise.
13410 * elf/dl-cache.c (_dl_load_cache_lookup): Likewise.
13411 * elf/dl-close.c (remove_slotinfo, _dl_close_worker, _dl_close):
13412 Likewise.
13413 * elf/dl-conflict.c: Likewise.
13414 * elf/dl-deps.c (_dl_build_local_scope, _dl_map_object_deps): Likewise.
13415 * elf/dl-dst.h: Likewise.
13416 * elf/dl-fini.c (_dl_sort_fini, _dl_fini): Likewise.
13417 * elf/dl-fptr.c (_dl_make_fptr): Likewise.
13418 * elf/dl-hwcaps.c (_dl_important_hwcaps): Likewise.
13419 * elf/dl-init.c (call_init, _dl_init): Likewise.
13420 * elf/dl-libc.c (__libc_dlopen_mode, __libc_dlsym): Likewise.
57f41c40
AS
13421 * elf/dl-load.c (_dl_dst_substitute, fillin_rpath, _dl_init_paths)
13422 (_dl_map_object_from_fd, open_verify, open_path, _dl_map_object):
13423 Likewise.
a1ffb40e
OB
13424 * elf/dl-lookup.c (do_lookup_x, add_dependency, _dl_lookup_symbol_x):
13425 Likewise.
13426 * elf/dl-minimal.c (__libc_memalign): Likewise.
13427 * elf/dl-open.c (add_to_global, dl_open_worker, _dl_open): Likewise.
13428 * elf/dl-reloc.c (_dl_relocate_object): Likewise.
13429 * elf/dl-runtime.c (_dl_fixup, _dl_profile_fixup): Likewise.
13430 * elf/dl-sym.c (do_sym): Likewise.
57f41c40
AS
13431 * elf/dl-tls.c (tls_get_addr_tail, update_get_addr)
13432 (__tls_get_addr, _dl_tls_get_addr_soft): Likewise.
a1ffb40e
OB
13433 * elf/dl-version.c (match_symbol, _dl_check_map_versions): Likewise.
13434 * elf/dl-writev.h (_dl_writev): Likewise.
13435 * elf/ldconfig.c (search_dir): Likewise.
57f41c40
AS
13436 * elf/rtld.c (_dl_start_final, _dl_start, init_tls, do_preload)
13437 (dl_main): Likewise.
a1ffb40e
OB
13438 * elf/setup-vdso.h (setup_vdso): Likewise.
13439 * grp/compat-initgroups.c (compat_call): Likewise.
13440 * grp/fgetgrent.c (fgetgrent): Likewise.
13441 * grp/initgroups.c (getgrouplist, initgroups): Likewise.
13442 * grp/putgrent.c (putgrent): Likewise.
13443 * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
13444 Likewise.
13445 * hurd/hurdinit.c: Likewise.
13446 * iconvdata/8bit-gap.c (struct): Likewise.
13447 * iconvdata/ansi_x3.110.c : Likewise.
13448 * iconvdata/big5.c : Likewise.
13449 * iconvdata/big5hkscs.c : Likewise.
13450 * iconvdata/cp1255.c: Likewise.
13451 * iconvdata/cp1258.c : Likewise.
13452 * iconvdata/cp932.c : Likewise.
13453 * iconvdata/euc-cn.c: Likewise.
13454 * iconvdata/euc-jisx0213.c : Likewise.
13455 * iconvdata/euc-jp.c: Likewise.
13456 * iconvdata/euc-jp-ms.c : Likewise.
13457 * iconvdata/euc-kr.c (euckr_from_ucs4): Likewise.
13458 * iconvdata/gb18030.c : Likewise.
13459 * iconvdata/gbbig5.c (const): Likewise.
13460 * iconvdata/gbgbk.c: Likewise.
13461 * iconvdata/gbk.c : Likewise.
13462 * iconvdata/ibm1364.c : Likewise.
13463 * iconvdata/ibm930.c : Likewise.
13464 * iconvdata/ibm932.c: Likewise.
13465 * iconvdata/ibm933.c : Likewise.
13466 * iconvdata/ibm935.c : Likewise.
13467 * iconvdata/ibm937.c : Likewise.
13468 * iconvdata/ibm939.c : Likewise.
13469 * iconvdata/ibm943.c: Likewise.
13470 * iconvdata/iso_11548-1.c: Likewise.
13471 * iconvdata/iso-2022-cn.c : Likewise.
13472 * iconvdata/iso-2022-cn-ext.c : Likewise.
13473 * iconvdata/iso-2022-jp-3.c: Likewise.
13474 * iconvdata/iso-2022-jp.c (gconv_end): Likewise.
13475 * iconvdata/iso-2022-kr.c : Likewise.
13476 * iconvdata/iso646.c (gconv_end): Likewise.
13477 * iconvdata/iso_6937-2.c : Likewise.
13478 * iconvdata/iso_6937.c : Likewise.
13479 * iconvdata/iso8859-1.c: Likewise.
13480 * iconvdata/johab.c (johab_sym_hanja_to_ucs): Likewise.
13481 * iconvdata/shift_jisx0213.c : Likewise.
13482 * iconvdata/sjis.c : Likewise.
13483 * iconvdata/t.61.c : Likewise.
13484 * iconvdata/tcvn5712-1.c : Likewise.
13485 * iconvdata/tscii.c: Likewise.
13486 * iconvdata/uhc.c : Likewise.
13487 * iconvdata/unicode.c (gconv_end): Likewise.
13488 * iconvdata/utf-16.c (gconv_end): Likewise.
13489 * iconvdata/utf-32.c (gconv_end): Likewise.
13490 * iconvdata/utf-7.c (base64): Likewise.
13491 * iconv/gconv_cache.c (__gconv_load_cache): Likewise.
13492 * iconv/gconv_close.c (__gconv_close): Likewise.
13493 * iconv/gconv_open.c (__gconv_open): Likewise.
57f41c40
AS
13494 * iconv/gconv_simple.c (internal_ucs4_loop_single)
13495 (ucs4_internal_loop, ucs4_internal_loop_unaligned)
13496 (ucs4_internal_loop_single, internal_ucs4le_loop_single)
13497 (ucs4le_internal_loop, ucs4le_internal_loop_unaligned)
13498 (ucs4le_internal_loop_single): Likewise.
a1ffb40e
OB
13499 * iconv/iconv.c (iconv): Likewise.
13500 * iconv/iconv_close.c: Likewise.
13501 * iconv/loop.c (SINGLE): Likewise.
13502 * iconv/skeleton.c (FUNCTION_NAME): Likewise.
13503 * include/atomic.h: Likewise.
13504 * inet/inet6_option.c (option_alloc): Likewise.
13505 * intl/bindtextdom.c (set_binding_values): Likewise.
13506 * intl/dcigettext.c (DCIGETTEXT, _nl_find_msg): Likewise.
13507 * intl/loadmsgcat.c (_nl_load_domain): Likewise.
13508 * intl/localealias.c (read_alias_file): Likewise.
13509 * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
57f41c40
AS
13510 * libio/fileops.c (_IO_file_open, _IO_file_underflow_mmap)
13511 (_IO_new_file_overflow, _IO_file_xsgetn_mmap): Likewise.
a1ffb40e
OB
13512 * libio/fmemopen.c (fmemopen): Likewise.
13513 * libio/iofgets.c (_IO_fgets): Likewise.
13514 * libio/iofgets_u.c (fgets_unlocked): Likewise.
13515 * libio/iofgetws.c (fgetws): Likewise.
13516 * libio/iofgetws_u.c (fgetws_unlocked): Likewise.
13517 * libio/iogetdelim.c (_IO_getdelim): Likewise.
57f41c40
AS
13518 * libio/wfileops.c (_IO_wfile_underflow, _IO_wfile_underflow_mmap)
13519 (adjust_wide_data, _IO_wfile_seekoff): Likewise.
a1ffb40e
OB
13520 * locale/findlocale.c (_nl_find_locale): Likewise.
13521 * locale/loadarchive.c (_nl_load_locale_from_archive): Likewise.
13522 * locale/loadlocale.c (_nl_intern_locale_data, _nl_load_locale):
13523 Likewise.
13524 * locale/setlocale.c (setlocale): Likewise.
13525 * login/programs/pt_chown.c (main): Likewise.
13526 * malloc/arena.c (ptmalloc_init, shrink_heap, arena_get2): Likewise.
13527 * malloc/malloc.c (_int_malloc, _int_free): Likewise.
57f41c40
AS
13528 * malloc/memusage.c (update_data, malloc, realloc, calloc, free)
13529 (mmap, mmap64, mremap, munmap): Likewise.
a1ffb40e
OB
13530 * math/e_exp2l.c: Likewise.
13531 * math/e_scalb.c (invalid_fn, __ieee754_scalb): Likewise.
13532 * math/e_scalbf.c (invalid_fn, __ieee754_scalbf): Likewise.
13533 * math/e_scalbl.c (invalid_fn, __ieee754_scalbl): Likewise.
13534 * math/s_catan.c (__catan): Likewise.
13535 * math/s_catanf.c (__catanf): Likewise.
13536 * math/s_catanh.c (__catanh): Likewise.
13537 * math/s_catanhf.c (__catanhf): Likewise.
13538 * math/s_catanhl.c (__catanhl): Likewise.
13539 * math/s_catanl.c (__catanl): Likewise.
13540 * math/s_ccosh.c (__ccosh): Likewise.
13541 * math/s_ccoshf.c (__ccoshf): Likewise.
13542 * math/s_ccoshl.c (__ccoshl): Likewise.
13543 * math/s_cexp.c (__cexp): Likewise.
13544 * math/s_cexpf.c (__cexpf): Likewise.
13545 * math/s_cexpl.c (__cexpl): Likewise.
13546 * math/s_clog10.c (__clog10): Likewise.
13547 * math/s_clog10f.c (__clog10f): Likewise.
13548 * math/s_clog10l.c (__clog10l): Likewise.
13549 * math/s_clog.c (__clog): Likewise.
13550 * math/s_clogf.c (__clogf): Likewise.
13551 * math/s_clogl.c (__clogl): Likewise.
13552 * math/s_csin.c (__csin): Likewise.
13553 * math/s_csinf.c (__csinf): Likewise.
13554 * math/s_csinh.c (__csinh): Likewise.
13555 * math/s_csinhf.c (__csinhf): Likewise.
13556 * math/s_csinhl.c (__csinhl): Likewise.
13557 * math/s_csinl.c (__csinl): Likewise.
13558 * math/s_csqrt.c (__csqrt): Likewise.
13559 * math/s_csqrtf.c (__csqrtf): Likewise.
13560 * math/s_csqrtl.c (__csqrtl): Likewise.
13561 * math/s_ctan.c (__ctan): Likewise.
13562 * math/s_ctanf.c (__ctanf): Likewise.
13563 * math/s_ctanh.c (__ctanh): Likewise.
13564 * math/s_ctanhf.c (__ctanhf): Likewise.
13565 * math/s_ctanhl.c (__ctanhl): Likewise.
13566 * math/s_ctanl.c (__ctanl): Likewise.
13567 * math/w_pow.c: Likewise.
13568 * math/w_powf.c: Likewise.
13569 * math/w_powl.c: Likewise.
13570 * math/w_scalb.c (sysv_scalb): Likewise.
13571 * math/w_scalbf.c (sysv_scalbf): Likewise.
13572 * math/w_scalbl.c (sysv_scalbl): Likewise.
13573 * misc/error.c (error_tail): Likewise.
13574 * misc/pselect.c (__pselect): Likewise.
13575 * nis/nis_callback.c (__nis_create_callback): Likewise.
13576 * nis/nis_call.c (__nisfind_server): Likewise.
13577 * nis/nis_creategroup.c (nis_creategroup): Likewise.
13578 * nis/nis_domain_of_r.c (nis_domain_of_r): Likewise.
13579 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Likewise.
13580 * nis/nis_getservlist.c (nis_getservlist): Likewise.
13581 * nis/nis_lookup.c (nis_lookup): Likewise.
13582 * nis/nis_subr.c (nis_leaf_of_r, nis_getnames): Likewise.
57f41c40
AS
13583 * nis/nis_table.c (__create_ib_request, nis_list, nis_add_entry)
13584 (nis_modify_entry, nis_first_entry, nis_next_entry): Likewise.
a1ffb40e 13585 * nis/nis_xdr.c (xdr_endpoint): Likewise.
57f41c40
AS
13586 * nis/nss_compat/compat-grp.c (getgrent_next_file)
13587 (internal_getgrnam_r, internal_getgrgid_r): Likewise.
13588 * nis/nss_compat/compat-initgroups.c (add_group)
13589 (internal_getgrent_r): Likewise.
13590 * nis/nss_compat/compat-pwd.c (getpwent_next_file)
13591 (internal_getpwnam_r, internal_getpwuid_r): Likewise.
13592 * nis/nss_compat/compat-spwd.c (getspent_next_file)
13593 (internal_getspnam_r): Likewise.
13594 * nis/nss_nis/nis-alias.c (internal_nis_getaliasent_r)
13595 (_nss_nis_getaliasbyname_r): Likewise.
13596 * nis/nss_nis/nis-ethers.c (_nss_nis_gethostton_r)
13597 (_nss_nis_getntohost_r): Likewise.
13598 * nis/nss_nis/nis-grp.c (internal_nis_setgrent)
13599 (internal_nis_getgrent_r, _nss_nis_getgrnam_r)
13600 (_nss_nis_getgrgid_r): Likewise.
13601 * nis/nss_nis/nis-hosts.c (_nss_nis_sethostent)
13602 (internal_nis_gethostent_r, internal_gethostbyname2_r)
13603 (_nss_nis_gethostbyname_r, _nss_nis_gethostbyaddr_r)
13604 (_nss_nis_gethostbyname4_r): Likewise.
13605 * nis/nss_nis/nis-initgroups.c (internal_getgrent_r)
13606 (initgroups_netid): Likewise.
a1ffb40e 13607 * nis/nss_nis/nis-netgrp.c (_nss_nis_setnetgrent): Likewise.
57f41c40
AS
13608 * nis/nss_nis/nis-network.c (internal_nis_getnetent_r)
13609 (_nss_nis_getnetbyname_r, _nss_nis_getnetbyaddr_r): Likewise.
13610 * nis/nss_nis/nis-proto.c (_nss_nis_getprotobyname_r)
13611 (_nss_nis_getprotobynumber_r): Likewise.
13612 * nis/nss_nis/nis-publickey.c (_nss_nis_getpublickey)
13613 (_nss_nis_getsecretkey): Likewise.
13614 * nis/nss_nis/nis-pwd.c (_nis_saveit, internal_nis_setpwent)
13615 (internal_nis_getpwent_r, _nss_nis_getpwnam_r)
13616 (_nss_nis_getpwuid_r): Likewise.
13617 * nis/nss_nis/nis-rpc.c (internal_nis_getrpcent_r)
13618 (_nss_nis_getrpcbyname_r, _nss_nis_getrpcbynumber_r): Likewise.
13619 * nis/nss_nis/nis-service.c (dosearch, internal_nis_getservent_r)
13620 (_nss_nis_getservbyname_r, _nss_nis_getservbyport_r): Likewise.
13621 * nis/nss_nis/nis-spwd.c (_nss_nis_setspent)
13622 (internal_nis_getspent_r, _nss_nis_getspnam_r): Likewise.
a1ffb40e
OB
13623 * nis/nss_nisplus/nisplus-alias.c (_nss_nisplus_getaliasbyname_r):
13624 Likewise.
57f41c40
AS
13625 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_gethostton_r)
13626 (_nss_nisplus_getntohost_r): Likewise.
13627 * nis/nss_nisplus/nisplus-grp.c (internal_nisplus_getgrent_r)
13628 (_nss_nisplus_getgrnam_r, _nss_nisplus_getgrgid_r): Likewise.
13629 * nis/nss_nisplus/nisplus-hosts.c (internal_gethostbyname2_r)
13630 (_nss_nisplus_gethostbyaddr_r, _nss_nisplus_gethostbyname4_r):
a1ffb40e 13631 Likewise.
57f41c40
AS
13632 * nis/nss_nisplus/nisplus-initgroups.c
13633 (_nss_nisplus_initgroups_dyn): Likewise.
13634 * nis/nss_nisplus/nisplus-network.c (_nss_nisplus_getnetbyname_r)
13635 (_nss_nisplus_getnetbyaddr_r): Likewise.
13636 * nis/nss_nisplus/nisplus-proto.c (_nss_nisplus_getprotobyname_r)
13637 (_nss_nisplus_getprotobynumber_r): Likewise.
13638 * nis/nss_nisplus/nisplus-pwd.c (internal_nisplus_getpwent_r)
13639 (_nss_nisplus_getpwnam_r, _nss_nisplus_getpwuid_r): Likewise.
a1ffb40e
OB
13640 * nis/nss_nisplus/nisplus-rpc.c (_nss_nisplus_getrpcbyname_r):
13641 Likewise.
57f41c40
AS
13642 * nis/nss_nisplus/nisplus-service.c
13643 (internal_nisplus_getservent_r, _nss_nisplus_getservbyname_r)
13644 (_nss_nisplus_getservbyport_r): Likewise.
13645 * nis/nss_nisplus/nisplus-spwd.c (internal_nisplus_getspent_r)
13646 (_nss_nisplus_getspnam_r): Likewise.
13647 * nis/ypclnt.c (__yp_bind, yp_match, yp_all, yp_maplist):
13648 Likewise.
a1ffb40e
OB
13649 * nscd/aicache.c (addhstaiX): Likewise.
13650 * nscd/cache.c (cache_search, prune_cache): Likewise.
57f41c40
AS
13651 * nscd/connections.c (register_traced_file, send_ro_fd)
13652 (handle_request, nscd_run_prune, nscd_run_worker, fd_ready)
13653 (main_loop_epoll): Likewise.
a1ffb40e
OB
13654 * nscd/grpcache.c (addgrbyX): Likewise.
13655 * nscd/hstcache.c (addhstbyX): Likewise.
13656 * nscd/initgrcache.c (addinitgroupsX): Likewise.
13657 * nscd/mem.c (gc, mempool_alloc): Likewise.
57f41c40
AS
13658 * nscd/netgroupcache.c (do_notfound, addgetnetgrentX)
13659 (addinnetgrX): Likewise.
13660 * nscd/nscd-client.h (__nscd_acquire_maplock)
13661 (__nscd_drop_map_ref): Likewise.
a1ffb40e
OB
13662 * nscd/nscd_getai.c (__nscd_getai): Likewise.
13663 * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
13664 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp, nscd_gethst_r):
13665 Likewise.
13666 * nscd/nscd_getpw_r.c (nscd_getpw_r): Likewise.
13667 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
57f41c40
AS
13668 * nscd/nscd_helper.c (__readvall, open_socket, __nscd_get_mapping)
13669 (__nscd_get_map_ref): Likewise.
a1ffb40e 13670 * nscd/nscd_initgroups.c (__nscd_getgrouplist): Likewise.
57f41c40
AS
13671 * nscd/nscd_netgroup.c (__nscd_setnetgrent, __nscd_innetgr):
13672 Likewise.
a1ffb40e
OB
13673 * nscd/pwdcache.c (addpwbyX): Likewise.
13674 * nscd/selinux.c (preserve_capabilities): Likewise.
13675 * nscd/servicescache.c (addservbyX): Likewise.
13676 * nss/nss_files/files-XXX.c (internal_getent): Likewise.
13677 * posix/fnmatch.c (fnmatch): Likewise.
13678 * posix/getopt.c (_getopt_internal_r): Likewise.
13679 * posix/glob.c (glob, glob_in_dir): Likewise.
13680 * posix/wordexp.c (exec_comm_child): Likewise.
57f41c40
AS
13681 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr2_r)
13682 (getanswer_r, gaih_getanswer_slice): Likewise.
a1ffb40e
OB
13683 * resolv/nss_dns/dns-network.c (getanswer_r): Likewise.
13684 * resolv/res_init.c: Likewise.
13685 * resolv/res_mkquery.c (res_nmkquery): Likewise.
13686 * resolv/res_query.c (__libc_res_nquery): Likewise.
13687 * resolv/res_send.c (__libc_res_nsend, send_vc, reopen, send_dg):
13688 Likewise.
13689 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Likewise.
13690 * stdio-common/perror.c (perror): Likewise.
13691 * stdio-common/printf_fp.c (___printf_fp): Likewise.
13692 * stdio-common/tmpnam.c (tmpnam): Likewise.
13693 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
13694 * stdlib/cxa_finalize.c (__cxa_finalize): Likewise.
57f41c40
AS
13695 * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl):
13696 Likewise.
a1ffb40e
OB
13697 * stdlib/drand48-iter.c (__drand48_iterate): Likewise.
13698 * stdlib/putenv.c (putenv): Likewise.
13699 * stdlib/setenv.c (__add_to_environ): Likewise.
13700 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
13701 * stdlib/strtol_l.c (INTERNAL): Likewise.
13702 * string/memmem.c (memmem): Likewise.
13703 * string/strerror.c (strerror): Likewise.
13704 * string/strnlen.c (__strnlen): Likewise.
13705 * string/test-memmem.c (simple_memmem): Likewise.
13706 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Likewise.
13707 * sunrpc/pm_getport.c (__get_socket): Likewise.
13708 * sysdeps/gnu/unwind-resume.c (init, _Unwind_Resume): Likewise.
13709 * sysdeps/i386/dl-irel.h (elf_irel): Likewise.
57f41c40
AS
13710 * sysdeps/i386/dl-machine.h (elf_machine_runtime_setup)
13711 (elf_machine_rel, elf_machine_lazy_rel, elf_machine_lazy_rela):
a1ffb40e
OB
13712 Likewise.
13713 * sysdeps/ieee754/dbl-64/e_atanh.c (__ieee754_atanh): Likewise.
13714 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
13715 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Likewise.
13716 * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r): Likewise.
13717 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Likewise.
57f41c40
AS
13718 * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1, __ieee754_y1):
13719 Likewise.
13720 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn, __ieee754_yn):
13721 Likewise.
a1ffb40e
OB
13722 * sysdeps/ieee754/dbl-64/e_log10.c (__ieee754_log10): Likewise.
13723 * sysdeps/ieee754/dbl-64/e_log2.c (__ieee754_log2): Likewise.
13724 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
13725 * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
13726 * sysdeps/ieee754/dbl-64/s_asinh.c (__asinh): Likewise.
13727 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Likewise.
13728 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
13729 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Likewise.
13730 * sysdeps/ieee754/dbl-64/s_modf.c (__modf): Likewise.
13731 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): Likewise.
13732 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
13733 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c (__ieee754_acosh):
13734 Likewise.
13735 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c (__ieee754_log10):
13736 Likewise.
13737 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c (__ieee754_log2):
13738 Likewise.
13739 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c (__frexp): Likewise.
13740 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
13741 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo): Likewise.
13742 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c (__round): Likewise.
13743 * sysdeps/ieee754/flt-32/e_atanhf.c (__ieee754_atanhf): Likewise.
13744 * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r): Likewise.
13745 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
13746 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Likewise.
13747 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_nearbyint): Likewise.
13748 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Likewise.
13749 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c (__llroundl): Likewise.
13750 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
13751 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
13752 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c (__lroundl): Likewise.
13753 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
57f41c40
AS
13754 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
13755 Likewise.
a1ffb40e
OB
13756 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l, __ieee754_y0l):
13757 Likewise.
13758 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l, __ieee754_y1l):
13759 Likewise.
13760 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl, __ieee754_ynl):
13761 Likewise.
13762 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
13763 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
13764 * sysdeps/posix/clock_getres.c (hp_timing_getres, realtime_getres):
13765 Likewise.
13766 * sysdeps/posix/fdopendir.c (__fdopendir): Likewise.
13767 * sysdeps/posix/getaddrinfo.c (gaih_inet, getaddrinfo): Likewise.
13768 * sysdeps/posix/opendir.c (__opendirat): Likewise.
13769 * sysdeps/posix/sleep.c: Likewise.
13770 * sysdeps/posix/tempname.c: Likewise.
13771 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_irela): Likewise.
13772 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
13773 Likewise.
57f41c40
AS
13774 * sysdeps/powerpc/powerpc32/dl-machine.h
13775 (elf_machine_runtime_setup, elf_machine_rela): Likewise.
a1ffb40e
OB
13776 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
13777 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
13778 * sysdeps/pthread/aio_notify.c (__aio_notify_only): Likewise.
13779 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait, aio_suspend):
13780 Likewise.
13781 * sysdeps/s390/dl-irel.h (elf_irela): Likewise.
57f41c40
AS
13782 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_runtime_setup)
13783 (elf_machine_rela, elf_machine_lazy_rel): Likewise.
13784 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_runtime_setup)
13785 (elf_machine_rela, elf_machine_lazy_rel): Likewise.
a1ffb40e
OB
13786 * sysdeps/s390/s390-64/utf16-utf32-z9.c (gconv_end): Likewise.
13787 * sysdeps/s390/s390-64/utf8-utf16-z9.c (gconv_end): Likewise.
13788 * sysdeps/s390/s390-64/utf8-utf32-z9.c (gconv_end): Likewise.
13789 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
13790 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Likewise.
57f41c40
AS
13791 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela)
13792 (elf_machine_lazy_rel): Likewise.
a1ffb40e 13793 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
57f41c40
AS
13794 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela)
13795 (elf_machine_lazy_rel): Likewise.
a1ffb40e
OB
13796 * sysdeps/sparc/sparc64/dl-plt.h (sparc64_fixup_plt): Likewise.
13797 * sysdeps/unix/clock_gettime.c (hp_timing_gettime): Likewise.
13798 * sysdeps/unix/clock_settime.c (hp_timing_settime): Likewise.
13799 * sysdeps/unix/grantpt.c (grantpt): Likewise.
13800 * sysdeps/unix/sysv/linux/accept4.c (accept4): Likewise.
13801 * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME): Likewise.
13802 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): Likewise.
13803 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
13804 Likewise.
13805 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Likewise.
13806 * sysdeps/unix/sysv/linux/fchmodat.c (fchmodat): Likewise.
13807 * sysdeps/unix/sysv/linux/fchownat.c (fchownat): Likewise.
13808 * sysdeps/unix/sysv/linux/futimesat.c (futimesat): Likewise.
13809 * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
13810 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
13811 * sysdeps/unix/sysv/linux/i386/fallocate64.c (fallocate64): Likewise.
13812 * sysdeps/unix/sysv/linux/i386/fallocate.c (fallocate): Likewise.
13813 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Likewise.
13814 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
13815 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
13816 Likewise.
13817 * sysdeps/unix/sysv/linux/i386/posix_fallocate64.c
13818 (__posix_fallocate64_l64): Likewise.
13819 * sysdeps/unix/sysv/linux/i386/posix_fallocate.c
13820 (posix_fallocate): Likewise.
57f41c40
AS
13821 * sysdeps/unix/sysv/linux/i386/scandir64.c (__old_scandir64):
13822 Likewise.
a1ffb40e 13823 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
57f41c40
AS
13824 * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_request)
13825 (getifaddrs_internal): Likewise.
a1ffb40e
OB
13826 * sysdeps/unix/sysv/linux/linkat.c (linkat): Likewise.
13827 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Likewise.
13828 * sysdeps/unix/sysv/linux/mq_unlink.c (mq_unlink): Likewise.
13829 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Likewise.
13830 * sysdeps/unix/sysv/linux/posix_fallocate64.c
13831 (__posix_fallocate64_l64): Likewise.
13832 * sysdeps/unix/sysv/linux/posix_fallocate.c (posix_fallocate):
13833 Likewise.
13834 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat): Likewise.
57f41c40
AS
13835 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c
13836 (__get_clockfreq): Likewise.
a1ffb40e
OB
13837 * sysdeps/unix/sysv/linux/readlinkat.c (readlinkat): Likewise.
13838 * sysdeps/unix/sysv/linux/recvmmsg.c (recvmmsg): Likewise.
13839 * sysdeps/unix/sysv/linux/renameat.c (renameat): Likewise.
13840 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
13841 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
13842 * sysdeps/unix/sysv/linux/sched_setaffinity.c: Likewise.
13843 * sysdeps/unix/sysv/linux/sendmmsg.c (__sendmmsg): Likewise.
13844 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs, shm_open):
13845 Likewise.
13846 * sysdeps/unix/sysv/linux/sleep.c (__sleep): Likewise.
13847 * sysdeps/unix/sysv/linux/symlinkat.c (symlinkat): Likewise.
13848 * sysdeps/unix/sysv/linux/tcgetattr.c (__tcgetattr): Likewise.
13849 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Likewise.
13850 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
13851 * sysdeps/unix/sysv/linux/unlinkat.c (unlinkat): Likewise.
13852 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c (__fxstatat):
13853 Likewise.
13854 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
13855 (posix_fallocate): Likewise.
13856 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
13857 * sysdeps/unix/sysv/linux/xmknodat.c (__xmknodat): Likewise.
13858 * sysdeps/x86_64/dl-irel.h (elf_irela): Likewise.
57f41c40
AS
13859 * sysdeps/x86_64/dl-machine.h (elf_machine_runtime_setup)
13860 (elf_machine_rela, elf_machine_rela_relative)
13861 (elf_machine_lazy_rel): Likewise.
a1ffb40e
OB
13862 * time/asctime.c (asctime_internal): Likewise.
13863 * time/tzfile.c (__tzfile_read, __tzfile_compute): Likewise.
13864 * time/tzset.c (__tzset_parse_tz): Likewise.
13865 * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
13866 * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
13867 * wcsmbs/wcsmbsload.c (__wcsmbs_load_conv): Likewise.
13868 * wcsmbs/wcsmbsload.h: Likewise.
13869
f3d338c9
OB
13870 [BZ #15894]
13871 * stdlib/setenv.c (__add_to_environ): Remove duplicate code.
13872
57f41c40
AS
13873 * malloc/arena.c (grow_heap, get_free_list, reused_arena)
13874 (arena_get2): Remove THREAD_STATS conditionals.
13875 * malloc/malloc.c (__malloc_assert, __libc_realloc, _int_free)
13876 (__malloc_stats, int): Likewise.
bdfe308a 13877
d674667c
MF
138782014-02-08 Mike Frysinger <vapier@gentoo.org>
13879
13880 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs): Compare
13881 f.f_type to RAMFS_MAGIC too. Compare mp->mnt_type to shm too.
13882
6349768c
MF
13883 * manual/setjmp.texi: Fix typos/grammar errors.
13884
0b7c7473
MF
13885 * debug/tst-backtrace4.c (handle_signal): Add NUM_FUNCTIONS to output.
13886 Only return early when n is <= 0. Delete unused return statement.
13887
ac8cc9e3
MF
13888 * debug/Makefile (CFLAGS-tst-longjmp_chk3.c): Define.
13889 (CPPFLAGS-tst-longjmp_chk3.c): Likewise.
13890 * debug/tst-longjmp_chk3.c: New file.
13891
c5bb8e23
MF
13892 * benchtests/bench-strcpy_chk.c: Move test-skeleton.c to top.
13893 (test_main): Replace code with set_fortify_handler call.
13894 * debug/test-strcpy_chk.c: Likewise.
13895 * debug/tst-chk1.c: Likewise.
13896 * debug/tst-longjmp_chk.c: Likewise.
13897 * test-skeleton.c: Include fcntl.h & paths.h
13898 (set_fortify_handler): Define.
13899
10444e42
MF
13900 * debug/tst-longjmp_chk.c: Add header comment and include
13901 ../test-skeleton.c.
13902 (do_test): Mark static.
13903 (TEST_FUNCTION): Define.
13904
1e805e8d
MF
13905 * sysdeps/unix/sysv/linux/bits/in.h (IP_NODEFRAG): Define.
13906 (IP_PMTUDISC_INTERFACE): Likewise.
13907 (IP_MULTICAST_IF): Likewise.
13908 (IP_MULTICAST_TTL): Likewise.
13909 (IP_MULTICAST_LOOP): Likewise.
13910 (IP_ADD_MEMBERSHIP): Likewise.
13911 (IP_DROP_MEMBERSHIP): Likewise.
13912 (IP_UNBLOCK_SOURCE): Likewise.
13913 (IP_BLOCK_SOURCE): Likewise.
13914 (IP_ADD_SOURCE_MEMBERSHIP): Likewise.
13915 (IP_DROP_SOURCE_MEMBERSHIP): Likewise.
13916 (IP_MSFILTER): Likewise.
13917 (MCAST_JOIN_GROUP): Likewise.
13918 (MCAST_BLOCK_SOURCE): Likewise.
13919 (MCAST_UNBLOCK_SOURCE): Likewise.
13920 (MCAST_LEAVE_GROUP): Likewise.
13921 (MCAST_JOIN_SOURCE_GROUP): Likewise.
13922 (MCAST_LEAVE_SOURCE_GROUP): Likewise.
13923 (MCAST_MSFILTER): Likewise.
13924 (IP_MULTICAST_ALL): Likewise.
13925 (IP_UNICAST_IF): Likewise.
13926
73f79bb7
MF
13927 * timezone/Makefile: Delete $(have-ksh) check.
13928 ($(objpfx)tzselect): Change $(KSH) to $(BASH).
13929 * timezone/tzselect.ksh: Add +x mode bits.
13930
8da79b60
MF
13931 * sysdeps/unix/sysv/linux/linux_fsinfo.h (AFS_SUPER_MAGIC): Define.
13932 (ANON_INODE_FS_MAGIC): Likewise.
13933 (BDEVFS_MAGIC): Likewise.
13934 (BINFMTFS_MAGIC): Likewise.
13935 (BTRFS_TEST_MAGIC): Likewise.
13936 (CRAMFS_MAGIC_WEND): Likewise.
13937 (DEBUGFS_MAGIC): Likewise.
13938 (ECRYPTFS_SUPER_MAGIC): Likewise.
13939 (EXT3_SUPER_MAGIC): Likewise.
13940 (EXT4_SUPER_MAGIC): Likewise.
13941 (FUTEXFS_SUPER_MAGIC): Likewise.
13942 (HOSTFS_SUPER_MAGIC): Likewise.
13943 (HUGETLBFS_MAGIC): Likewise.
13944 (MINIX3_SUPER_MAGIC): Likewise.
13945 (MTD_INODE_FS_MAGIC): Likewise.
13946 (NILFS_SUPER_MAGIC): Likewise.
13947 (OPENPROM_SUPER_MAGIC): Likewise.
13948 (PIPEFS_MAGIC): Likewise.
13949 (PSTOREFS_MAGIC): Likewise.
13950 (QNX6_SUPER_MAGIC): Likewise.
13951 (RAMFS_MAGIC): Likewise.
13952 (REISERFS_SUPER_MAGIC_STRING): Likewise.
13953 (REISER2FS_SUPER_MAGIC_STRING): Likewise.
13954 (REISER2FS_JR_SUPER_MAGIC_STRING): Likewise.
13955 (SECURITYFS_MAGIC): Likewise.
13956 (SELINUX_MAGIC): Likewise.
13957 (SMACK_MAGIC): Likewise.
13958 (SOCKFS_MAGIC): Likewise.
13959 (SQUASHFS_MAGIC): Likewise.
13960 (STACK_END_MAGIC): Likewise.
13961 (TMPFS_MAGIC): Likewise.
13962 (USBDEVICE_SUPER_MAGIC): Likewise.
13963 (V9FS_MAGIC): Likewise.
13964 (XENFS_SUPER_MAGIC): Likewise.
13965 (CRAMFS_MAGIC): Fix typo in comment.
13966 (EXT2_SUPER_MAGIC): Update comment.
13967 (USBDEVFS_SUPER_MAGIC): Fix sorting order by moving further down.
13968
464263cc
JM
139692014-02-08 Joseph Myers <joseph@codesourcery.com>
13970
c6bfe5c4
JM
13971 * sysdeps/arm: Move directory from ports/sysdeps/arm.
13972 * sysdeps/unix/arm: Move directory from ports/sysdeps/unix/arm.
13973 * sysdeps/unix/sysv/linux/arm: Move directory from
13974 ports/sysdeps/unix/sysv/linux/arm.
13975 * README: Update listing for arm-*-linux-gnueabi.
13976
464263cc
JM
13977 * README: Remove mention of am33.
13978
32749f6c
RM
139792014-02-07 Roland McGrath <roland@hack.frob.com>
13980
13981 * bits/sigset.h (__sigemptyset): Use a statement expression rather
13982 than the comma operator, to avoid "rhs of comma has no effect"
13983 compiler warnings.
13984 (__sigfillset, __sigandset, __sigorset): Likewise.
13985 * include/signal.h (__sigemptyset): Likewise.
13986 * sysdeps/generic/malloc-machine.h (mutex_lock): Likewise.
13987
d5b396c1
AM
139882014-02-07 Allan McRae <allan@archlinux.org>
13989
13990 * version.h (RELEASE): Set to "development".
13991 (VERSION): Set to "2.19.90"
13992 * NEWS: Add 2.20 section.
13993
3bfff2ed
CD
139942014-02-06 Carlos O'Donell <carlos@redhat.com>
13995
13996 [BZ #16529]
13997 * inet/netinet/in.h: Remove comma after IPPROTO_MH.
13998
ee7cc385
SP
139992014-02-06 Siddhesh Poyarekar <siddhesh@redhat.com>
14000
14001 * manual/contrib.texi: Update entry for Carlos O'Donell,
14002 Joseph Myers, Roland McGrath, Alexandre Oliva and Ryan Arnold.
14003
f877c4f2
CD
140042014-02-05 Carlos O'Donell <carlos@rehdat.com>
14005
27e839f6
CD
14006 * sysdeps/unix/sysv/linux/kernel-features.h: Fix comment.
14007
f877c4f2
CD
14008 * sysdeps/unix/sysv/linux/kernel-features.h
14009 [__LINUX_KERNEL_VERSION >= 0x020621]
14010 (__ASSUME_PROC_PID_TASK_COMM): Define.
14011
68159946
SP
140122014-02-05 Siddhesh Poyarekar <siddhesh@redhat.com>
14013
ba17cdbd
SP
14014 [BZ #16398]
14015 * libio/wfileops.c (_IO_wfile_seekoff): Break out form
14016 conversion when destination buffer does not have enough space.
14017 * libio/tst-ftell-partial-wide.c: New test case.
14018 * libio/Makefile (tests): Add tst-ftell-partial-wide.
14019
68159946
SP
14020 * manual/contrib.texi: Update entry for Ondrej Bilka, Will
14021 Newton and Alexandre Oliva. Add entries for Steve Ellcey, Chris
14022 Leonard and Allan McRae.
14023
2b528732
DM
140242014-02-04 David S. Miller <davem@davemloft.net>
14025
14026 * sysdeps/sparc/fpu/libm-test-ulps: Update for some 64-bit differences from
14027 32-bit.
14028
0ff82463
AZ
140292014-02-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14030
57f41c40
AS
14031 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
14032 New file
c01603f7
AZ
14033 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
14034 New file
57f41c40
AS
14035 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
14036 New file.
14037 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
14038 New file.
c01603f7
AZ
14039 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
14040 New file.
57f41c40
AS
14041 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
14042 New file.
14043 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
14044 New file.
c01603f7
AZ
14045 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
14046 New file.
14047 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
14048 New file.
14049 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
14050 New file.
14051 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
14052 New file.
14053 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
14054 New file.
14055 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
14056 New file.
14057
140582014-02-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14059
0ff82463
AZ
14060 * nptl/shlib-versions: Change powerpc*le start to 2.17.
14061 * shlib-versions: Likewise.
14062
1695c773
AZ
140632014-02-04 Roland McGrath <roland@hack.frob.com>
14064 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14065
14066 * sysdeps/powerpc/Makefile [$(config-machine) ends with 'le']
14067 (abilist-pattern): New variable, set to %-le.abilist.
14068
14069 * Makerules (abilist-pattern): New variable.
14070 (vpath): Use $(abilist-pattern) in place of %.abilist.
14071 (check-abi-% pattern rule): Likewise.
14072 (check-abi, update-abi): Likewise.
14073
6c0ce4b4
EW
140742014-02-04 Eric Wong <normalperson@yhbt.net>
14075
14076 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
14077
481e3524
CD
140782014-02-03 Carlos O'Donell <carlos@redhat.com>
14079
14080 * manual/startup.texi: Add next, previous, and top entries for
14081 the `Program Arguments' and `Environment Variables' nodes.
14082
375592d3
AO
140832014-02-03 Alexandre Oliva <aoliva@redhat.com>
14084
14085 * manual/macros.texi: Add comments before MTASC-safety macros.
14086
f54838ba
AO
14087 * manual/users.texi: Document MTASC-safety properties.
14088
57f41c40
AS
14089 * manual/threads.texi (pthread_key_create, pthread_key_delete)
14090 (pthread_getspecific, pthread_setspecific): Format with
909e12ad
AO
14091 @deftypefun, and add @safety note.
14092 * manual/signal.texi: Move comments that analyze the above
14093 functions to their home place.
14094
fd3daba4
AM
140952014-02-03 Allan McRae <allan@archlinux.org>
14096
14097 * po/sl.po: Update Slovenian translation from translation project.
14098
597636d7
AO
140992014-02-02 Alexandre Oliva <aoliva@redhat.com>
14100
14101 * manual/time.texi (timegm): Add missing blank after @c.
14102 Reported by Joseph Myers <joseph@codesourcery.com>.
14103
ee196e3c
AO
141042014-02-01 Alexandre Oliva <aoliva@redhat.com>
14105
14106 * manual/check-safety.sh: New.
14107 * manual/Makefile ($(objpfx)stamp-summary): Run it.
14108
f8d529d5
AO
14109 * manual/terminal.texi: Document MTASC-safety properties.
14110
de55fdf4
AO
14111 * manual/filesys.texi: Document MTASC-safety properties.
14112
c3299c08
AO
14113 * manual/errno.texi: Document MTASC-safety properties.
14114
06e90b14
AO
14115 * manual/intro.texi: Document safety identifiers and
14116 conditionals.
14117
1acd4371
AO
14118 * manual/string.texi (wcstok): Fix prototype.
14119 (wcstok, strtok, strtok_r): Adjust reentrancy remarks.
14120
23e5b8cb
AO
14121 * manual/time.texi: Document MTASC-safety properties.
14122
11087373
AO
14123 * manual/string.texi: Document MTASC-safety properties.
14124
5da2c93d
AO
14125 * manual/threads.texi: Document MTASC-safety properties.
14126
171e9210
AO
14127 * manual/stdio.texi: Document MTASC-safety properties.
14128
d9e02532
AO
14129 * manual/syslog.texi: Document MTASC-safety properties.
14130
6af8bab7
AO
14131 * manual/sysinfo.texi: Document MTASC-safety properties.
14132
663b02d7
AO
14133 * manual/startup.texi: Document MTASC-safety properties.
14134
973f180b
AO
14135 * manual/socket.texi: Document MTASC-safety properties.
14136
8f3c25c8
AO
14137 * manual/signal.texi: Document MTASC-safety properties.
14138
542210fb
AO
141392014-01-31 Alexandre Oliva <aoliva@redhat.com>
14140
14141 * manual/setjmp.texi: Document MTASC-safety properties.
14142
433c45a2
AO
14143 * manual/search.texi: Document MTASC-safety properties.
14144
c8ce789c
AO
14145 * manual/resource.texi: Document MTASC-safety properties.
14146
19f5d29c
AO
14147 * manual/process.texi: Document MTASC-safety properties.
14148
e2dfb7f4
AO
14149 * manual/platform.texi: Document MTASC-safety properties.
14150
8c1413f5
AO
14151 * manual/pipe.texi: Document MTASC-safety properties.
14152
03483ada
AO
14153 * manual/pattern.texi: Document MTASC-safety properties.
14154
29e7e2df
AO
14155 * manual/message.texi: Document MTASC-safety properties.
14156
9f529d7c
AO
14157 [BZ #12751]
14158 * manual/memory.texi: Document MTASC-safety properties.
14159
27aaa791
AO
14160 * manual/math.texi: Document MTASC-safety properties.
14161
f2d58726
AO
14162 * manual/locale.texi: Document MTASC-safety properties.
14163
2cc3615c
AO
14164 * manual/llio.texi: Document MTASC-safety properties.
14165
d9f0ec97
AO
14166 * manual/libdl.texi: New.
14167
e7c4409a
AO
14168 * manual/lang.texi: Document MTASC-safety properties.
14169
27bdc63c
AO
14170 * manual/job.texi: Document MTASC-safety properties.
14171
a7b90ea9
AO
14172 * manual/getopt.texi: Document MTASC-safety properties.
14173
c49130e3
AO
14174 * manual/ctype.texi: Document MTASC-safety properties.
14175
0d23a5c1
MR
141762014-01-31 Maciej W. Rozycki <macro@codesourcery.com>
14177
14178 [BZ #16046]
14179 * csu/libc-tls.c (static_map): Remove variable.
14180 (__libc_setup_tls): Use main executable's link map for TLS data.
14181 * elf/dl-close.c (_dl_close_worker) [!SHARED]: Remove special
14182 casing for LM_ID_BASE and GL(dl_nns).
14183 * elf/dl-iteratephdr.c [!SHARED] (dl_iterate_phdr): Remove
14184 function. Alias dl_iterate_phdr to __dl_iterate_phdr.
14185 * elf/dl-load.c (_dl_map_object) [!SHARED]: Remove special
14186 casing for GL(dl_ns)[LM_ID_BASE]._ns_loaded.
14187 * elf/dl-support.c (_dl_main_map): Also initialize l_flags_1
14188 member.
14189 (_dl_non_dynamic_init): Also initialize _dl_main_map's l_phdr and
14190 l_phnum members.
14191
0037bb60
AO
141922014-01-30 Alexandre Oliva <aoliva@redhat.com>
14193
14194 * manual/debug.texi: Document MTASC-safety properties.
14195
409e00bd
L
141962014-01-29 H.J. Lu <hongjiu.lu@intel.com>
14197
14198 [BZ #16510]
14199 * sysdeps/x86/fpu/bits/mathinline.h: Check __SSE2_MATH__ instead
14200 of __x86_64__ when disabling x87 inline functions.
14201
86e60666
AO
142022014-01-29 Alexandre Oliva <aoliva@redhat.com>
14203
14204 * manual/charset.texi: Document MTASC-safety properties.
14205
76167637
AO
14206 * manual/crypt.texi: Document MTASC-safety properties.
14207
e567f2a0
AO
14208 * manual/conf.texi: Document MTASC-safety properties.
14209
b719dafd
AO
14210 * manual/arith.texi: Document MTASC-safety properties.
14211
4a16c662
AO
14212 * manual/argp.texi: Document MTASC-safety properties.
14213
0a57b83e
AO
14214 * manual/macros.texi: Introduce macros to document multi
14215 thread, asynchronous signal and asynchronous cancellation
14216 safety properties.
14217 * manual/intro.texi: Introduce the properties themselves.
14218
feab2397
KK
142192014-01-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
14220
14221 * sysdeps/sh/sh4/Makefile: New file.
14222
1c0d11bc
AS
142232014-01-27 Andreas Schwab <schwab@linux-m68k.org>
14224
14225 * math/gen-libm-test.pl ($srcdir): New variable.
14226 ($auto_input): Use it.
14227
af37a8a3
SP
142282014-01-27 Siddhesh Poyarekar <siddhesh@redhat.com>
14229
d7b00f98
SP
14230 [BZ #16506]
14231 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Avoid
14232 access beyond array bounds when parsing netgroups file.
14233
af37a8a3
SP
14234 * nscd/netgroupcache.c (addgetnetgrentX): Compute offset from
14235 the old buffer before realloc.
14236
0c00f062
AM
142372014-01-27 Allan McRae <allan@archlinux.org>
14238
14239 * po/fr.po: Update French translation from translation project.
14240
7d69a1b0
KK
142412014-01-26 Kaz Kojima <kkojima@rr.iij4u.or.jp>
14242
14243 * sysdeps/sh/libm-test-ulps: Regenerate.
14244
6e697ff7
DM
142452014-01-24 David S. Miller <davem@davemloft.net>
14246
14247 * sysdeps/sparc/fpu/libm-test-ulps: Regenerate.
14248
9cadb35c
KK
142492014-01-25 Kaz Kojima <kkojima@rr.iij4u.or.jp>
14250
14251 * sysdeps/sh/sh4/fpu/libm-test-ulps: Move to ...
14252 * sysdeps/sh/libm-test-ulps: ... here and regenerated.
14253
5d41dadf
SP
142542013-01-24 Siddhesh Poyarekar <siddhesh@redhat.com>
14255
14256 [BZ #16474]
14257 * nscd/netgroupcache.c (addgetnetgrentX): Adjust triplet
14258 string pointers after reallocation.
14259
0bad441c
KK
142602014-01-24 Kaz Kojima <kkojima@rr.iij4u.or.jp>
14261
14262 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: Use __SH4__ and
14263 __SH4A__ instead of __SH_FPU_ANY__.
14264
7007c661
KK
142652014-01-23 Kaz Kojima <kkojima@rr.iij4u.or.jp>
14266
14267 * sysdeps/sh/fpu_control.h: New file.
14268 * sysdeps/sh/sh4/fpu/fpu_control.h: Remove.
14269 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: New file.
14270 * sysdeps/unix/sysv/linux/sh/sh3/sys/ucontext.h: Remove.
14271 * sysdeps/unix/sysv/linux/sh/sh3/sys: Remove directory.
14272 * sysdeps/unix/sysv/linux/sh/sh4/sys/ucontext.h: Remove.
14273 * sysdeps/unix/sysv/linux/sh/sh4/sys: Remove directory.
14274 * sysdeps/sh/sys/ucontext.h: Remove.
14275 * sysdeps/sh/sys: Remove directory.
14276
0f0c35e4
AK
142772014-01-22 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
14278
14279 * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Merge into
14280 s390/sys/ucontext.h.
14281 * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Likewise.
14282 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: New file.
14283
4959e284
L
142842014-01-20 H.J. Lu <hongjiu.lu@intel.com>
14285
14286 [BZ #15605]
14287 * sysdeps/x86_64/x32/symbol-hacks.h: Include generic symbol-hacks.h.
14288
d98720e0
AZ
142892014-01-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14290
14291 [BZ#16431]
14292 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
14293 Adjust the vDSO correctly for internal calls.
14294 * sysdeps/unix/sysv/linux/powerpc/time.c (time): Likewise.
14295
91cbd0bc
AM
142962014-01-20 Allan McRae <allan@archlinux.org>
14297
14298 * po/ca.po: Update Catalan translation from translation project.
14299
7a02cfad
MF
143002014-01-16 Mike Frysinger <vapier@gentoo.org>
14301
14302 * sysdeps/s390/sotruss-lib.c: New file.
14303
736c304a
AZ
143042014-01-16 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14305
14306 [BZ#16430]
6e077ee5 14307 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c
736c304a
AZ
14308 (__GI___gettimeofday): Alias for a different internal symbol to avoid
14309 local calls issues by not having a PLT stub required for IFUNC calls.
14310 * sysdeps/unix/sysv/linux/powerpc/time.c (__GI_time): Likewise.
14311
94d0cea0
JM
143122014-01-16 Joseph Myers <joseph@codesourcery.com>
14313
14314 * math/test-fpucw-ieee.c: Use <> in #include of test-fpucw.c.
14315 * math/test-fpucw-static.c: Likewise.
14316
980cb518
SP
143172013-01-16 Siddhesh Poyarekar <siddhesh@redhat.com>
14318
14319 [BZ #16453]
14320 * nscd/netgroupcache.c (addgetnetgrentX): Don't use alloca.
14321
2393fc01
AZ
143222014-01-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14323
14324 * sysdeps/powerpc/sotruss-lib.c: New file: sotruss-lib.so
14325 implementation for powerpc.
14326
d359bcc2
OB
143272014-01-15 Ondřej Bílka <neleai@seznam.cz>
14328
14329 [BZ #14782]
14330 * sysdeps/posix/system.c (__libc_system): Do not enable
14331 asynchronous cancellation.
14332
7beb48cb
AK
143332014-01-15 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
14334
14335 [BZ #16427]
14336 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Invoke the non-IEEE
14337 handling only for numbers special also in the IEEE case.
14338
c20d5bf5
AK
143392014-01-15 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
14340
14341 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
14342
e83bd4ee
AM
143432014-01-11 Allan McRae <allan@archlinux.org>
14344
76d0ea69
AM
14345 * po/bg.po: Update Bulgarian translation from translation project.
14346
e83bd4ee
AM
14347 * po/de.po: Update German translation from translation project.
14348
bc2ba20a
RM
143492014-01-10 Roland McGrath <roland@hack.frob.com>
14350
14351 * sysdeps/generic/gcc-compat.h: New file.
14352
649ecea2
SP
143532014-01-10 Siddhesh Poyarekar <siddhesh@redhat.com>
14354
14355 * benchtests/asin-inputs: Correct slow inputs.
14356 * benchtests/acos-inputs: Likewise.
14357
1b19c006
AM
143582014-01-10 Allan McRae <allan@archlinux.org>
14359
a46dab08
AM
14360 * po:sv.po: Update Swedish translation from translation project.
14361
421df74a
AM
14362 * po/vi.po: Update Vietnamese translation from translation project.
14363
d61c51a7
AM
14364 * po/eo.po: Update Esperanto translation from translation project.
14365
0339a319
AM
14366 * po/cs.po: Update Czech translation from translation project.
14367
94ad3e99
AM
14368 * po/nl.po: Update Dutch translation from translation project.
14369
e349ca71
AM
14370 * po/pl.po: Update Polish translation from translation project.
14371
ddf930c1
AM
14372 * po/ru.po: Update Russian translation from translation project.
14373
1b19c006
AM
14374 * po/uk.po: Update Ukrainian translation from translation project.
14375
9f236c49
BM
143762014-01-08 Brooks Moses <bmoses@google.com>
14377
14378 * elf/dl-load.c: Fix comment typo.
14379
cd6701cf
CD
143802014-01-08 Carlos O'Donell <carlos@redhat.com>
14381
14382 * po/header.pot: Rename to...
14383 * po/pot.header: ... this.
14384 * po/Makefile: Use pot.header.
14385
66671c84
YK
143862014-01-08 Yuriy Kaminskiy <yumkam@gmail.com>
14387 Maxim Kuvyrkov <maxim@kugelworks.com>
14388
14389 [BZ #16394]
cd6701cf
CD
14390 * sysdeps/i386/i686/memmove.S (memmove): Compare distance between
14391 SRC and DEST against LEN.
66671c84 14392
38f34581
AZ
143932014-01-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14394
14395 [BZ #16414]
14396 * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Remove wrong
14397 implementation.
14398 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Remove bogus comment.
14399
144002014-01-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3ff6304e
AZ
14401
14402 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
14403
4c327f2a
JM
144042014-01-08 Joseph Myers <joseph@codesourcery.com>
14405
14406 [BZ #16408]
14407 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Use __expl
14408 for large positive arguments.
14409
b821f414
JM
144102014-01-07 Joseph Myers <joseph@codesourcery.com>
14411
1f0f2067
JM
14412 * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
14413
a5a326f6
JM
14414 * math/auto-libm-test-in: Mark various tests with
14415 xfail-rounding:ldbl-128ibm.
14416 * math/auto-libm-test-out: Regenerated.
14417
b821f414
JM
14418 [BZ #16407]
14419 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
14420 Increase overflow threshold.
14421
94c8a4bc
OB
144222014-01-07 Ondřej Bílka <neleai@seznam.cz>
14423
14424 [BZ #14286]
14425 * stdio-common/vfprintf.c: Check for integer overflow.
14426
87ded0c3
AK
144272014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
14428
14429 * sysdeps/s390/dl-tls.h: sysdeps/s390/dl-tls.h: Remove casts for
14430 the first argument and return value of __tls_get_addr_internal.
14431
c5eebdd0
AK
144322014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
14433
14434 * sysdeps/s390/s390-32/dl-machine.h: Gate the definition of refsym
14435 also with !RTLD_BOOTSTRAP to get rid of unused variable warning.
14436
05d138ef
AK
144372014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
14438
14439 * sysdeps/s390/Makefile: Build rtld-global-offsets.sym.
14440 * sysdeps/s390/rtld-global-offsets.sym: New file.
14441 * sysdeps/unix/sysv/linux/s390/Versions: Add getcontext as new
14442 GLIBC_2.19 symbol.
14443 * sysdeps/unix/sysv/linux/s390/getcontext.S: New file.
14444 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Rename to ...
14445 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
14446 ... this.
14447 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Rename to ...
14448 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
14449 ... this.
14450 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
14451 Regenerate.
14452 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
14453 Regenerate.
14454 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Restore upper
14455 halfs of GPRs for high_gprs contexts.
14456 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Save and
14457 restore upper halfs of GPRs for high_gprs contexts. Copy uc_flags
14458 field.
14459 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Copy
14460 uc_flags field.
14461 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: Split into 32 and
14462 64 bit versions:
14463 * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Add field
14464 for high GPRs (uc_high_gprs) and for future extensions
14465 (__reserved).
14466 * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Add field
14467 for future extensions (__reserved).
14468 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Split into 32 and
14469 64 bit versions:
14470 * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym: Add
14471 SC_HIGHGPRS offset definition.
14472 * sysdeps/unix/sysv/linux/s390/s390-64/ucontext_i.sym: New file.
14473 * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: New file.
14474
93a45ff1
AK
14475 * Versions.def: Add GLIBC_2.19 for libpthread.
14476 * nptl/sysdeps/unix/sysv/linux/s390/Versions: Add longjmp and
14477 siglongjmp for libpthread with GLIBC_2.19 symver.
14478 * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: New file.
14479 * sysdeps/s390/Makefile: Build v1-longjmp.c and v1-sigjmp.c.
14480 * sysdeps/s390/Versions: New GLIBC_2.19 and GLIBC_PRIVATE symbols.
14481 * sysdeps/s390/__longjmp.c: New file.
14482 * sysdeps/s390/bits/setjmp.h: Add new fields to __s390_jmp_buf.
14483 * sysdeps/s390/longjmp.c: New file.
14484 * sysdeps/s390/setjmp.S: New file.
14485 * sysdeps/s390/sigjmp.S: New file.
14486 * sysdeps/s390/v1-longjmp.c: New file.
14487 * sysdeps/s390/v1-setjmp.h: New file.
14488 * sysdeps/s390/v1-sigjmp.c: New file.
14489 * sysdeps/unix/sysv/linux/s390/Makefile: Build __longjmp_chk.
14490 * sysdeps/unix/sysv/linux/s390/Versions: Add __longjmp_chk with
14491 GLIBC_2.19 version.
14492 * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: New file.
14493 * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c: Provide
14494 versioned symbols for ____longjmp_chk.
14495 * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
14496 Likewise.
14497 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
14498 Regenerate.
14499 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
14500 Regenerate.
14501 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
14502 Regenerate.
14503 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
14504 Regenerate.
14505 * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: New file.
14506 * sysdeps/s390/s390-32/__longjmp.c: Rename to ...
14507 * sysdeps/s390/s390-32/__longjmp-common.c: ... this.
14508 * sysdeps/s390/s390-32/setjmp.S: Rename and adjust to ...
14509 * sysdeps/s390/s390-32/setjmp-common.S: ... this.
14510 * sysdeps/s390/s390-64/__longjmp.c: Rename to ...
14511 * sysdeps/s390/s390-64/__longjmp-common.c: ... this.
14512 * sysdeps/s390/s390-64/setjmp.S: Rename and adjust to ...
14513 * sysdeps/s390/s390-64/setjmp-common.S: ... this.
14514 * sysdeps/s390/rtld-__longjmp.c: New file.
14515 * sysdeps/s390/rtld-setjmp.S: New file.
14516
eb3fc44b
JM
145172014-01-06 Joseph Myers <joseph@codesourcery.com>
14518
14519 [BZ #16400]
14520 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
14521 Return -__logl (x) for small positive arguments without evaluating
14522 a polynomial.
14523
9341dde4
MF
145242014-01-06 Mike Frysinger <vapier@gentoo.org>
14525
14526 * sysdeps/unix/sysv/linux/sys/ptrace.h (ptrace_peeksiginfo_args):
14527 Rename to ...
14528 (__ptrace_peeksiginfo_args): ... this.
14529 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
14530 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
14531 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
14532
4cff0293
AM
145332014-01-06 Allan McRae <allan@archlinux.org>
14534
14535 * inet/netinet/in.h: Fix typo in comment.
14536
75595dcf
AJ
145372014-01-05 Andreas Jaeger <aj@suse.de>
14538
14539 * sysdeps/i386/fpu/libm-test-ulps: Update.
14540
79c1e109
AM
145412014-01-05 Allan McRae <allan@archlinux.org>
14542
dd804818
AM
14543 * po/libc.pot: Regenerated.
14544
79c1e109
AM
14545 * malloc/memusagestat.c: Fix gettext call formatting.
14546
0c813d1f
SK
145472014-01-04 Sami Kerola <kerolasa@iki.fi>
14548
14549 * nscd/nscd.c: Improve usage() output.
14550
20f4a8d9
MF
145512014-01-04 Mike Frysinger <vapier@gentoo.org>
14552
14553 * config.h.in: Add HAVE_LINUX_FANOTIFY_H template.
14554 * sysdeps/unix/sysv/linux/configure: Regenerated.
14555 * sysdeps/unix/sysv/linux/configure.ac: Call AC_DEFINE.
14556 * sysdeps/unix/sysv/linux/tst-fanotify.c: Include config.h.
14557
22562bb2
JM
145582014-01-03 Joseph Myers <joseph@codesourcery.com>
14559
14560 [BZ #16390]
14561 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
14562 (CFLAGS-e_atan2l.c): Use -fno-builtin-fabsl.
14563
d7ad2d9b
AZ
145642014-01-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14565
14566 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: Remove
14567 extra tokens at end of #undef directive.
14568 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: Likewise.
14569 * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: Likewise.
14570 * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
14571
7dd009d8
JM
145722014-01-03 Joseph Myers <joseph@codesourcery.com>
14573
24db925a
JM
14574 * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
14575
7dd009d8
JM
14576 * math/auto-libm-test-in: Mark various tests with
14577 xfail-rounding:ldbl-128ibm.
14578 * math/auto-libm-test-out: Regenerated.
14579
396e3ecf
JM
145802014-01-02 Joseph Myers <joseph@codesourcery.com>
14581
819e5d50
JM
14582 [BZ #16386]
14583 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Adjust
14584 numbers with subnormal high part when calculating exponent.
14585
90b6a1e5
JM
14586 [BZ #16385]
14587 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Use fabsl not
14588 fabs.
14589
396e3ecf
JM
14590 [BZ #16384]
14591 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (ln2): Initialize with
14592 M_LN2l.
14593 (__ieee754_acoshl): Use __log1pl not __log1p.
14594
6c8dbf00
OB
145952013-01-02 Ondřej Bílka <neleai@seznam.cz>
14596
57f41c40
AS
14597 * malloc/arena.c (malloc_atfork, free_atfork, ptmalloc_lock_all)
14598 (ptmalloc_unlock_all, ptmalloc_unlock_all2, next_env_entry)
14599 (__failing_morecore, ptmalloc_init, dump_heap, new_heap)
14600 (grow_heap, heap_trim, _int_new_arena, get_free_list)
14601 (reused_arena, arena_get2): Convert to GNU style.
14602 * malloc/hooks.c (memalign_hook_ini, __malloc_check_init)
14603 (mem2mem_check, mem2chunk_check, top_check, realloc_check)
14604 (memalign_check, __malloc_set_state): Likewise.
6c8dbf00 14605 * malloc/mallocbug.c (main): Likewise.
57f41c40
AS
14606 * malloc/malloc.c (__malloc_assert, malloc_init_state)
14607 (free_perturb, do_check_malloced_chunk, do_check_malloc_state)
14608 (sysmalloc, systrim, mremap_chunk, __libc_malloc, __libc_free)
14609 (__libc_realloc, _mid_memalign, _int_malloc, malloc_consolidate)
14610 (_int_realloc, _int_memalign, mtrim, musable, __libc_mallopt)
14611 (__posix_memalign, malloc_info): Likewise.
6c8dbf00 14612 * malloc/malloc.h: Likewise.
57f41c40
AS
14613 * malloc/mcheck.c (checkhdr, unlink_blk, link_blk, freehook)
14614 (mallochook, memalignhook, reallochook, mabort): Likewise.
6c8dbf00 14615 * malloc/mcheck.h: Likewise.
57f41c40
AS
14616 * malloc/memusage.c (update_data, me, malloc, realloc, calloc)
14617 (free, mmap, mmap64, mremap, munmap, dest): Likewise.
6c8dbf00
OB
14618 * malloc/memusagestat.c (main, parse_opt, more_help): Likewise.
14619 * malloc/morecore.c (__default_morecore): Likewise.
14620 * malloc/mtrace.c (tr_break, lock_and_info, mtrace): Likewise.
57f41c40
AS
14621 * malloc/obstack.c (_obstack_begin, _obstack_newchunk)
14622 (_obstack_allocated_p, obstack_free, _obstack_memory_used)
14623 (print_and_abort): Likewise.
6c8dbf00
OB
14624 * malloc/obstack.h: Likewise.
14625 * malloc/set-freeres.c (__libc_freeres): Likewise.
14626 * malloc/tst-mallocstate.c (main): Likewise.
14627 * malloc/tst-mtrace.c (main): Likewise.
14628 * malloc/tst-realloc.c (do_test): Likewise.
14629
d4124212
SP
146302013-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
14631
9a3c6a6f
SP
14632 [BZ #16366]
14633 * nscd/netgroupcache.c (do_notfound): New function.
14634 (addgetnetgrentX): Use it.
14635
d4124212
SP
14636 [BZ # 16365]
14637 * nscd/netgroupcache.c (addgetnetgrentX): Break if status is
14638 NSS_STATUS_NOTFOUND.
14639
97b9a009
JM
146402014-01-01 Joseph Myers <joseph@codesourcery.com>
14641
14642 * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
14643 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14644
d4697bc9
AM
146452014-01-01 Allan McRae <allan@archlinux.org>
14646
ddb3687f
AM
14647 * scripts/update-copyrights: Update configure input file suffix.
14648
88726d48
AM
14649 * NEWS: Update copyright year.
14650 * catgets/gencat.c: Likewise.
14651 * csu/version.c: Likewise.
14652 * debug/catchsegv.sh: Likewise.
14653 * debug/pcprofiledump.c: Likewise.
14654 * debug/xtrace.sh: Likewise.
14655 * elf/ldconfig.c: Likewise.
14656 * elf/ldd.bash.in: Likewise.
14657 * elf/pldd.c: Likewise.
14658 * elf/sotruss.ksh: Likewise.
14659 * elf/sprof.c: Likewise.
14660 * iconv/iconv_prog.c: Likewise.
14661 * iconv/iconvconfig.c: Likewise.
14662 * locale/programs/locale.c: Likewise.
14663 * locale/programs/localedef.c: Likewise.
14664 * login/programs/pt_chown.c: Likewise.
14665 * malloc/memusage.sh: Likewise.
14666 * malloc/memusagestat.c: Likewise.
14667 * malloc/mtrace.pl: Likewise.
14668 * manual/libc.texinfo: Likewise.
14669 * nscd/nscd.c: Likewise.
14670 * nss/getent.c: Likewise.
14671 * nss/makedb.c: Likewise.
14672 * posix/getconf.c: Likewise.
14673 * scripts/test-installation.pl: Likewise.
14674
d4697bc9
AM
14675 * All files with FSF copyright notices: Update copyright dates
14676 using scripts/update-copyrights.
14677 * intl/plural.c: Regenerated.
14678 * locale/programs/charmap-kw.h: Likewise.
14679 * locale/programs/locfile-kw.h: Likewise.
14680
c8590f9d
MF
146812013-12-31 Mike Frysinger <vapier@gentoo.org>
14682
14683 * sysdeps/unix/sysv/linux/configure: Regenerated.
14684 * sysdeps/unix/sysv/linux/configure.ac: Call AC_CHECK_HEADER on
14685 the linux/fanotify.h header.
14686 * sysdeps/unix/sysv/linux/tst-fanotify.c: Check if
14687 HAVE_LINUX_FANOTIFY_H is defined.
14688
b19221b9
SP
146892013-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
14690
dd1d85e5
SP
14691 * benchtests/cos-inputs: New inputs.
14692 * benchtests/sin-inputs: Likewise.
14693
1acbb90f
SP
14694 * benchtests/atan-inputs: New inputs. Fix name of multiple
14695 precision fallback inputs.
14696
4c012ed3
SP
14697 * benchtests/atanh-inputs: New inputs.
14698 * benchtests/tanh-inputs: Likewise.
14699
eff98324
SP
14700 * benchtests/acosh-inputs: New inputs.
14701 * benchtests/asinh-inputs: Likewise.
14702
ce641152
SP
14703 * benchtests/cosh-inputs: New inputs.
14704 * benchtests/sinh-inputs: Likewise.
14705
b19221b9
SP
14706 * benchtests/acos-inputs: Add more inputs.
14707 * benchtests/asin-inputs: Likewise.
14708
030a4976 147092013-12-30 Ville Skytta <ville.skytta@iki.fi>
9dcc8f11 14710
030a4976 14711 [BZ #16375]
9dcc8f11
VS
14712 * manual/arith.texi: Fix spelling.
14713 * manual/charset.texi: Likewise.
14714 * manual/errno.texi: Likewise.
14715 * manual/filesys.texi: Likewise.
14716 * manual/lang.texi: Likewise.
14717 * manual/llio.texi: Likewise.
14718 * manual/locale.texi: Likewise.
14719 * manual/message.texi: Likewise.
14720 * manual/resource.texi: Likewise.
14721 * manual/search.texi: Likewise.
14722 * manual/setjmp.texi: Likewise.
14723 * manual/stdio.texi: Likewise.
14724 * manual/string.texi: Likewise.
14725 * manual/sysinfo.texi: Likewise.
14726 * manual/time.texi: Likewise.
14727
11520a57
CD
147282013-12-27 Carlos O'Donell <carlos@redhat.com>
14729
14730 * po/sl.po: New file.
14731
471103ae
MF
147322013-12-27 Mike Frysinger <vapier@gentoo.org>
14733
14734 * .gitignore: Add core/.gdbinit/.gdb_history.
14735
6c9642ed
AM
147362013-12-27 Allan McRae <allan@archlinux.org>
14737
14738 [BZ #16369]
14739 * sysdeps/ieee754/dbl-64/s_sin.c (csloww): Fix variable name.
14740 Reported by Il'ya Malakhov <ilmalakhov@yandex.ru>
14741
3f637079
BM
147422013-12-24 Brooks Moses <bmoses@google.com>
14743
14744 * string/string.h (__CORRECT_ISO_CPP_STRING_H_PROTO): Define for
14745 all compilers that claim C++98 compliance, not just GCC.
14746 * string/strings.h (__CORRECT_ISO_CPP_STRINGS_H_PROTO):
14747 Likewise.
14748
abc26e99
MK
147492013-12-24 Maxim Kuvyrkov <maxim@kugelworks.com>
14750
14751 * NEWS: Restore accidentally deleted bug-fix entries.
14752
362b47fe
MK
147532013-12-24 Maxim Kuvyrkov <maxim@kugelworks.com>
14754 Ondřej Bílka <neleai@seznam.cz>
14755
14756 [BZ #15073]
14757 * malloc/malloc.c (_int_free): Perform sanity check only if we
11520a57 14758 have_lock.
362b47fe 14759
b9bcbbcb
OB
147602013-12-23 Ondřej Bílka <neleai@seznam.cz>
14761
14762 [BZ #12986]
14763 * manual/stdio.texi (String Input Conversions): Clarify that character
14764 classes are not supported.
14765
fb55fcd2
AZ
147662013-12-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14767
14768 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
14769
ef7344f0
JM
147702013-12-22 Joseph Myers <joseph@codesourcery.com>
14771
4f40e4b3
JM
14772 [BZ #16337]
14773 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
14774 Calculate results for small negative arguments directly rather
14775 than using reflection formula with special underflow handling.
14776
ef7344f0
JM
14777 * sysdeps/mach/hurd/Implies: Change unix/bsd/bsd4.4 to unix/bsd.
14778 * sysdeps/unix/bsd/syscalls.list (chflags): Add entry from
14779 sysdeps/unix/bsd/bsd4.4/syscalls.list.
14780 (fchflags): Likewise.
14781 (revoke): Likewise.
14782 (setlogin): Likewise.
14783 (sigaltstack): Likewise.
14784 (wait4): Likewise.
14785 (sigblock): Remove.
14786 (sigsetmask): Likewise.
14787 (wait3): Likewise.
14788 (waitpid): Likewise.
14789 * sysdeps/unix/bsd/bsd4.4/syscalls.list: Remove file.
14790 * sysdeps/unix/sysv/linux/wait3.c: Update directory of included
14791 file.
14792 * sysdeps/unix/bsd/bsd4.4/Makefile: Move to ...
14793 * sysdeps/unix/bsd/Makefile: ... here.
14794 * sysdeps/unix/bsd/bsd4.4/Versions: Move to ...
14795 * sysdeps/unix/bsd/Versions: ... here.
14796 * sysdeps/unix/bsd/bsd4.4/bits/sockaddr.h: Move to ...
14797 * sysdeps/unix/bsd/bits/sockaddr.h: ... here.
14798 * sysdeps/unix/bsd/bsd4.4/cmsg_nxthdr.c: Move to ...
14799 * sysdeps/unix/bsd/cmsg_nxthdr.c: ... here.
14800 * sysdeps/unix/bsd/bsd4.4/sigblock.c: Move to ...
14801 * sysdeps/unix/bsd/sigblock.c: ... here.
14802 * sysdeps/unix/bsd/bsd4.4/sigsetmask.c: Move to ...
14803 * sysdeps/unix/bsd/sigsetmask.c: ... here.
14804 * sysdeps/unix/bsd/bsd4.4/sigvec.c: Move to ...
14805 * sysdeps/unix/bsd/sigvec.c: ... here.
14806 * sysdeps/unix/bsd/bsd4.4/tcdrain.c: Move to ...
14807 * sysdeps/unix/bsd/tcdrain.c: ... here.
14808 * sysdeps/unix/bsd/bsd4.4/tcgetattr.c: Move to ...
14809 * sysdeps/unix/bsd/tcgetattr.c: ... here.
14810 * sysdeps/unix/bsd/bsd4.4/tcsetattr.c: Move to ...
14811 * sysdeps/unix/bsd/tcsetattr.c: ... here.
14812 * sysdeps/unix/bsd/bsd4.4/wait.c: Move to ...
14813 * sysdeps/unix/bsd/wait.c: ... here.
14814 * sysdeps/unix/bsd/bsd4.4/wait3.c: Move to ...
14815 * sysdeps/unix/bsd/wait3.c: ... here.
14816 * sysdeps/unix/bsd/bsd4.4/waitpid.c: Move to ...
14817 * sysdeps/unix/bsd/waitpid.c: ... here.
14818
5b0626b9
JM
148192013-12-21 Joseph Myers <joseph@codesourcery.com>
14820
14821 [BZ #16356]
14822 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Also set
14823 round-to-nearest for [!USE_AS_EXPM1L].
14824 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Likewise.
14825 * math/auto-libm-test-in: Do not expect cosh tests to fail. Add
14826 more tests of exp and exp10. Expect some exp10 tests to miss
14827 exceptions or fail in directed rounding modes.
14828 * math/auto-libm-test-out: Regenerated.
14829 * math/libm-test.inc (exp10_tonearest_test_data): New array.
14830 (exp10_test_tonearest): New function.
14831 (exp10_towardzero_test_data): New array.
14832 (exp10_test_towardzero): New function.
14833 (exp10_downward_test_data): New array.
14834 (exp10_test_downward): New function.
14835 (exp10_upward_test_data): New array.
14836 (exp10_test_upward): New function.
14837 (main): Call the new functions.
14838 * sysdeps/i386/fpu/libm-test-ulps: Update.
14839 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14840
7fda5682
JM
148412013-12-20 Joseph Myers <joseph@codesourcery.com>
14842
31e3a405
JM
14843 * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
14844 asinh, atan, atan2, atanh, cbrt, cos and cosh.
14845 * math/auto-libm-test-out: Regenerated.
14846 * math/libm-test.inc (acosh_test_data): Add more tests.
14847 (atanh_test_data): Likewise.
14848 (ceil_test_data): Likewise.
14849 (copysign_test_data): Likewise.
14850 * sysdeps/i386/fpu/libm-test-ulps: Update.
14851 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14852
85bff96a
JM
14853 * timezone/checktab.awk: Update from tzcode 2013i.
14854 * timezone/private.h: Likewise.
14855 * timezone/scheck.c: Likewise.
14856 * timezone/tzfile.h: Likewise.
14857 * timezone/tzselect.ksh: Likewise.
14858 * timezone/zdump.c: Likewise.
14859 * timezone/zic.c: Likewise.
14860
b7867a3b
JM
14861 * math/auto-libm-test-in: Add tests of cpow.
14862 * math/auto-libm-test-out: Regenerated.
14863 * math/libm-test.inc (cpow_test_data): Use AUTO_TESTS_cc_c.
57f41c40 14864 * math/gen-auto-libm-tests.c (func_calc_method): Add value
b7867a3b
JM
14865 mpc_cc_c.
14866 (func_calc_desc): Add mpc_cc_c union field.
14867 (test_functions): Add cpow.
14868 (special_fill_2pi): New function.
14869 (special_real_inputs): Add 2pi.
14870 (calc_generic_results): Handle mpc_cc_c.
14871 * sysdeps/i386/fpu/libm-test-ulps: Update.
14872 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14873
7fda5682
JM
14874 * math/auto-libm-test-in: Add tests of ccos, ccosh, cexp, clog,
14875 csqrt, ctan and ctanh.
14876 * math/auto-libm-test-out: Regenerated.
14877 * math/libm-test.inc (TEST_COND_x86_64): New macro.
14878 (TEST_COND_x86): Likewise.
14879 (ccos_test_data): Use AUTO_TESTS_c_c.
14880 (ccosh_test_data): Likewise.
14881 (cexp_test_data): Likewise.
14882 (clog_test_data): Likewise.
14883 (csqrt_test_data): Likewise.
14884 (ctan_test_data): Likewise.
14885 (ctan_tonearest_test_data): Likewise.
14886 (ctan_towardzero_test_data): Likewise.
14887 (ctan_downward_test_data): Likewise.
14888 (ctan_upward_test_data): Likewise.
14889 (ctanh_test_data): Likewise.
14890 (ctanh_tonearest_test_data): Likewise.
14891 (ctanh_towardzero_test_data): Likewise.
14892 (ctanh_downward_test_data): Likewise.
14893 (ctanh_upward_test_data): Likewise.
14894 * math/gen-auto-libm-tests.c (func_calc_method): Add value
14895 mpc_c_c.
14896 (func_calc_desc): Add mpc_c_c union field.
14897 (FUNC_mpc_c_c): New macro.
14898 (test_functions): Add cacos, cacosh, casin, casinh, catan, catanh,
14899 ccos, ccosh, cexp, clog, clog10, csin, csinh, csqrt, ctan and
14900 ctanh.
14901 (special_fill_min_subnorm_p120): New function.
14902 (special_real_inputs): Add min_subnorm_p120.
14903 (calc_generic_results): Handle mpc_c_c.
14904 * sysdeps/i386/fpu/libm-test-ulps: Update.
14905 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14906
5ff8d60e
SP
149072013-12-20 Siddhesh Poyarekar <siddhesh@redhat.com>
14908
57f41c40
AS
14909 * sysdeps/ieee754/dbl-64/s_sin.c (do_cos, do_cos_slow, do_sin)
14910 (do_sin_slow): New functions.
14911 (__sin, __cos, slow1, slow2, sloww1, sloww2, bsloww1, bsloww2)
14912 (cslow2, csloww1, csloww2): Use the new functions.
392dd2de 14913
84ba214c
SP
14914 * sysdeps/ieee754/dbl-64/s_sin.c (sloww1): Add new argument M.
14915 Use M to change sign of result instead of X. Assume X is
14916 positive.
14917 (csloww1): Likewise.
14918 (__sin): Adjust.
14919 (__cos): Adjust.
14920
975195e4
SP
14921 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): Remove
14922 arguments A and DA.
14923 (__sin): Adjust.
14924 (__cos): Likewise.
14925
5ff8d60e
SP
14926 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use DA directly.
14927 (__cos): Likewise.
14928 (sloww1): Don't adjust sign of DX.
14929 (csloww1): Likewise.
14930 (sloww2): Use X directly and don't adjust sign of DX.
14931 (csloww2): Likewise.
14932
eb983568
JM
149332013-12-19 Joseph Myers <joseph@codesourcery.com>
14934
64a17f1a
JM
14935 * math/auto-libm-test-in: Add tests of cabs and carg.
14936 * math/auto-libm-test-out: Regenerated.
14937 * math/libm-test.inc (cabs_test_data): Use AUTO_TESTS_c_f.
14938 (carg_test_data): Likewise.
14939 * math/gen-auto-libm-tests.c (func_calc_method): Add value
14940 mpc_c_f.
14941 (func_calc_desc): Add mpc_c_f union field.
14942 (test_functions): Add cabs and carg.
14943 (calc_generic_results): Handle mpc_c_f.
14944
eb983568
JM
14945 * sysdeps/powerpc/powerpc32/libgcc-compat.S
14946 [_SOFT_FLOAT || __NO_FPRS__] (__fixdfdi_v_glibc20): Do not define
14947 as a macro and a compat symbol.
14948 [_SOFT_FLOAT || __NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
14949 [_SOFT_FLOAT || __NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
14950 [_SOFT_FLOAT || __NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
14951 [_SOFT_FLOAT || __NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
14952 [_SOFT_FLOAT || __NO_FPRS__] (__floaddisf_v_glibc20): Likewise.
14953 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixdfdi): Do
14954 not use .hidden.
14955 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixsfdi):
14956 Likewise.
14957 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunsdfdi):
14958 Likewise.
14959 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunssfdi):
14960 Likewise.
14961 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddidf):
14962 Likewise.
14963 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddisf):
14964 Likewise.
14965 * sysdeps/powerpc/nofpu/Versions (libc): Remove __fixdfdi,
14966 __fixsfdi, __fixunsdfdi, __fixunssfdi, __floatdidf and __floatdisf
14967 from GLIBC_2.3.2.
14968
6eeb678a
AZ
149692013-12-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14970
14971 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
14972
6f6fc482
JM
149732013-12-19 Joseph Myers <joseph@codesourcery.com>
14974
21fea2e2
JM
14975 * manual/texinfo.tex: Update to version 2013-11-26.10 with
14976 trailing whitespace removed.
14977 * scripts/config.guess: Update to version 2013-11-29.
14978 * scripts/config.sub: Update to version 2013-10-01.
14979
6f6fc482
JM
14980 * math/auto-libm-test-in: Add tests of sincos.
14981 * math/auto-libm-test-out: Regenerated.
14982 * math/libm-test.inc (sincos_test_data): Use AUTO_TESTS_fFF_11.
14983 * math/gen-auto-libm-tests.c (func_calc_method): Add value
14984 mpfr_f_11.
14985 (func_calc_desc): Add mpfr_f_11 union field.
14986 (test_functions): Add sincos.
14987 (calc_generic_results): Handle mpfr_f_11.
14988 * sysdeps/i386/fpu/libm-test-ulps: Update.
14989 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14990
83f5c32d
AS
149912013-12-19 Andreas Schwab <schwab@suse.de>
14992
14993 * sysdeps/powerpc/powerpc64/power7/memchr.S: Fix argument of
14994 CALL_MCOUNT.
14995 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
14996 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S
14997 [USE_IN_EXTENDED_LOCALE_MODEL]: Likewise.
14998
c688b419
JM
149992013-12-19 Joseph Myers <joseph@codesourcery.com>
15000
335ee092
JM
15001 * math/gen-libm-test.pl (%beautify): Remove M_* constants.
15002 * sysdeps/i386/fpu/libm-test-ulps: Update.
15003 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15004
f88acd39
JM
15005 [BZ #16293]
15006 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Set
15007 round-to-nearest mode when using frndint.
15008 * sysdeps/i386/fpu/s_expm1.S (__expm1): Likewise.
15009 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
15010 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
15011 Likewise.
15012 * math/auto-libm-test-in: Add more tests of expm1. Do not expect
15013 sinh test to fail.
15014 * math/auto-libm-test-out: Regenerated.
15015 * math/libm-test.inc (TEST_COND_x86_64): Remove macro.
15016 (TEST_COND_x86): Likewise.
15017 (expm1_tonearest_test_data): New array.
15018 (expm1_test_tonearest): New function.
15019 (expm1_towardzero_test_data): New array.
15020 (expm1_test_towardzero): New function.
15021 (expm1_downward_test_data): New array.
15022 (expm1_test_downward): New function.
15023 (expm1_upward_test_data): New array.
15024 (expm1_test_upward): New function.
15025 (main): Run the new test functions.
15026 * sysdeps/i386/fpu/libm-test-ulps: Update.
15027 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15028
c688b419
JM
15029 * include/features.h: Update comment documenting feature test
15030 macros. Mention _DEFAULT_SOURCE in comment.
15031 [_GNU_SOURCE] (_DEFAULT_SOURCE): Undefine and redefine.
15032 [_DEFAULT_SOURCE]: Undefine and redefine _DEFAULT_SOURCE,
15033 _BSD_SOURCE and _SVID_SOURCE.
15034 [!__STRICT_ANSI__ && !_ISOC99_SOURCE && !_POSIX_SOURCE &&
15035 !_POSIX_C_SOURCE && !_XOPEN_SOURCE && !_BSD_SOURCE &&
15036 !_SVID_SOURCE]: Likewise.
15037 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
15038 (__USE_POSIX_IMPLICITLY): Define.
15039 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
15040 (_POSIX_SOURCE): Undefine and redefine.
15041 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
15042 (_POSIX_C_SOURCE): Likewise.
15043 * manual/creature.texi (_DEFAULT_SOURCE): Document.
15044 (Feature Test Macros): Update documentation of default features.
15045
9f6e964c
RS
150462013-12-19 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
15047
15048 * benchtests/Makefile: Add bench-strtok.
15049 * benchtests/bench-strtok.c: New file: strtok benchtest.
15050
ee0a148a
AM
150512013-12-19 Allan McRae <allan@archlinux.org>
15052
15053 * manual/install.texi: Suppress menu for plain text output.
15054 * INSTALL: Regenerated.
15055
b9ab448f
BM
150562013-12-18 Brooks Moses <bmoses@google.com>
15057
15058 [BZ #15846]
15059 * misc/getauxval.c: Include errno.h.
15060 (__getauxval): Set errno to ENOENT if the requested type is not
15061 found.
15062 * misc/sys/auxv.h (getauxval): Document that it may set errno;
15063 don't declare with __attribute_const__.
15064 * elf/tst-auxv.c: Add tests for errno and type-not-found case.
15065 * manual/startup.texi: Document that getauxval sets errno.
15066
23776487
JM
150672013-12-18 Joseph Myers <joseph@codesourcery.com>
15068
f889953b
JM
15069 * math/auto-libm-test-in: Add tests of jn and yn.
15070 * math/auto-libm-test-out: Regenerated.
15071 * math/libm-test.inc (jn_test_data): Use AUTO_TESTS_if_f.
15072 (yn_test_data): Likewise.
15073 * math/gen-auto-libm-tests.c (func_calc_method): Add value
15074 mpfr_if_f.
15075 (func_calc_desc): Add mpfr_if_f union field.
15076 (FUNC_mpfr_if_f): New macro.
15077 (test_functions): Add jn and yn.
15078 (calc_generic_results): Assert type of second input for
15079 mpfr_ff_f. Handle mpfr_if_f.
15080 (output_for_one_input_case): Disable all checking for arguments
15081 fitting floating-point types in case of an integer argument.
15082 * sysdeps/i386/fpu/libm-test-ulps: Update.
15083 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15084
23776487
JM
15085 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
15086 Don't expect fegetround reference in libm.so.
15087
cb756c6d
MS
150882013-12-17 Marcus Shawcroft <marcus.shawcroft@linaro.org>
15089
15090 * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_sqrt.c): Add
15091 $(config-cflags-nofma).
15092
2dec468f
JM
150932013-12-18 Joseph Myers <joseph@codesourcery.com>
15094
5953eb3a
JM
15095 * math/auto-libm-test-in: Mark some hypot tests no-test-inline.
15096 * math/auto-libm-test-out: Regenerated.
15097
2dec468f
JM
15098 [BZ #16338]
15099 * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Use __frexpl
15100 to determine exponent and adjust argument to have exponent of -1.
15101 * math/auto-libm-test-in: Add more tests of log, log10, log1p and
15102 log2.
15103 * math/auto-libm-test-out: Regenerated.
15104 * sysdeps/i386/fpu/libm-test-ulps: Update.
15105 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15106
4d84e6ad
OB
151072013-12-18 Ondřej Bílka <neleai@seznam.cz>
15108
15109 * manual/probes.texi: Remove cases when per-thread arenas are
15110 disabled.
15111
1818483b
AS
151122013-12-18 Andreas Schwab <schwab@suse.de>
15113
15114 * sysdeps/i386/i686/multiarch/strstr.c: Remove.
15115 * sysdeps/i386/i686/multiarch/strstr-c.c: Remove.
15116 * sysdeps/i386/i686/multiarch/strcasestr.c: Remove.
15117 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: Remove.
15118 * sysdeps/i386/i686/multiarch/Makefile: Update.
15119 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: Update.
15120
25de95bf
JM
151212013-12-17 Joseph Myers <joseph@codesourcery.com>
15122
15123 * sysdeps/unix/bsd/bsd4.4/bits/errno.h: Remove file.
15124 * sysdeps/unix/bsd/bsd4.4/bits/ioctls.h: Likewise.
15125
674762d9
PE
151262013-12-17 Paul Eggert <eggert@cs.ucla.edu>
15127
ed27ed83 15128 [BZ #15968]
0748546f
PE
15129 Support TZ transition times < 00:00:00.
15130 This is needed for version-3 tz-format files; it supports time
15131 stamps past 2037 for America/Godthab (the only entry in the tz
15132 database for which this change is relevant).
15133 * manual/time.texi (TZ Variable): Document transition times
15134 from -167:59:59 through -00:00:01.
15135 * time/tzset.c (tz_rule): Time of day is now signed.
15136 (__tzset_parse_tz): Parse negative time of day.
15137
4480e934
PE
15138 Document TZ transition times >= 25:00:00.
15139 * manual/time.texi (TZ Variable): Document transition times from
15140 25:00:00 through 167:59:59. These are already supported, and this
15141 support will help with version-3 tz-format files.
15142
69947401
PE
15143 * manual/time.texi (TZ Variable): Modernize North America example
15144 to reflect current (i.e., 2007-and-later) daylight saving rules.
15145
674762d9
PE
15146 * manual/time.texi (TZ Variable): POSIX.1 hour can be 24.
15147
7011c262
JM
151482013-12-17 Joseph Myers <joseph@codesourcery.com>
15149
2fc6557e
JM
15150 * sysdeps/unix/bsd/bits/posix_opt.h: Remove file.
15151 * sysdeps/unix/bsd/bits/stat.h: Likewise.
15152 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/environments.h: Likewise.
15153 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
15154 * sysdeps/unix/bsd/bsd4.4/freebsd/sys/sysmacros.h: Likewise.
15155 * sysdeps/unix/bsd/bsdstat.h: Likewise.
15156 * sysdeps/unix/bsd/clock.c: Likewise.
15157 * sysdeps/unix/bsd/i386/vfork.S: Likewise.
15158 * sysdeps/unix/bsd/i386/wait3.S: Likewise.
15159 * sysdeps/unix/bsd/init-posix.c: Likewise.
15160 * sysdeps/unix/bsd/poll.c: Likewise.
15161 * sysdeps/unix/bsd/ptsname.c: Likewise.
15162 * sysdeps/unix/bsd/seekdir.c: Likewise.
15163 * sysdeps/unix/bsd/setegid.c: Likewise.
15164 * sysdeps/unix/bsd/seteuid.c: Likewise.
15165 * sysdeps/unix/bsd/setgid.c: Likewise.
15166 * sysdeps/unix/bsd/setrgid.c: Likewise.
15167 * sysdeps/unix/bsd/setruid.c: Likewise.
15168 * sysdeps/unix/bsd/setsid.c: Likewise.
15169 * sysdeps/unix/bsd/setuid.c: Likewise.
15170 * sysdeps/unix/bsd/sigaction.c: Likewise.
15171 * sysdeps/unix/bsd/sigprocmask.c: Likewise.
15172 * sysdeps/unix/bsd/sigsuspend.c: Likewise.
15173 * sysdeps/unix/bsd/sys/reboot.h: Likewise.
15174 * sysdeps/unix/bsd/telldir.c: Likewise.
15175 * sysdeps/unix/bsd/times.c: Likewise.
15176 * sysdeps/unix/bsd/usleep.c: Likewise.
15177
029c7b25
JM
15178 * misc/Makefile (install-lib): Remove libbsd-compat.a.
15179 ($(objpfx)libbsd-compat.a): Remove rule.
15180
7011c262
JM
15181 * include/features.h (__FAVOR_BSD): Do not define.
15182 * manual/creature.texi (_BSD_SOURCE): Do not document as enabling
15183 features conflicting with POSIX.
15184 (_GNU_SOURCE): Do not mention interaction with _BSD_SOURCE.
15185 (_BSD_SOURCE): Remove description of not being a subset of other
15186 feature test macros.
15187 * manual/job.texi (getpgrp): Do not document BSD version.
15188 (getpgid): Do not document by reference to BSD getpgrp.
15189 * posix/unistd.h [__FAVOR_BSD]: Remove conditional code.
15190 * setjmp/setjmp.h [__FAVOR_BSD]: Likewise.
15191 * signal/signal.h [__FAVOR_BSD]: Likewise.
15192 * sysdeps/gnu/netinet/tcp.h (struct tcphdr): Use anonymous unions
15193 instead of making contents conditional on [__FAVOR_BSD].
15194 * sysdeps/gnu/netinet/udp.h (struct udphdr): Likewise.
15195
affb6f78
AZ
151962013-12-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15197
15198 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
15199
c88769dd
JM
152002013-12-17 Joseph Myers <joseph@codesourcery.com>
15201
6432a540
JM
15202 [BZ #16314]
15203 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Adjust up
15204 values below 2**-450, not 2**-500.
15205 * math/auto-libm-test-in: Don't allow spurious underflow from
15206 hypot.
15207 * math/auto-libm-test-out: Regenerated.
15208
c88769dd
JM
15209 [BZ #16316]
15210 [BZ #16330]
15211 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Update
15212 values of ha and hb and sort them after adjusting subnormal
15213 arguments.
15214 * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
15215 Likewise.
15216 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Update
15217 values of ea and eb and sort them after adjusting subnormal
15218 arguments.
15219 * math/auto-libm-test-in: Do not expect some hypot tests of
15220 subnormals to fail. Add more hypot tests.
15221 * math/auto-libm-test-out: Regenerated.
15222
29618f6b
KK
152232013-12-16 Kaz Kojima <kkojima@rr.iij4u.or.jp>
15224
15225 [BZ #13304]
15226 * sysdeps/sh/s_fma.c: New file.
15227 * sysdeps/sh/s_fmaf.c: New file.
15228 * sysdeps/sh/soft-fp/sfp-machine.h: New file. Based on arm
15229 version.
15230 * sysdeps/sh/Implies: Add sh/soft-fp.
15231
eacfdfbf
RM
152322013-12-16 Roland McGrath <roland@hack.frob.com>
15233
15234 * elf/dl-error.c (struct catch): Add new member `errcode'. Add a
15235 level of indirection to members `objname', `errstring', `malloced'.
15236 (_dl_signal_error): Store through pointers in *LCATCH rather modifying
15237 *LCATCH itself. Set *LCATCH->errcode to ERRCODE rather than passing
15238 it as the __longjmp argument (just pass 1 instead).
15239 (_dl_catch_error): Initialize C with argument pointers and address of
15240 volatile local ERRCODE rather than copying values out of C at return.
15241
ff362e5b
JM
152422013-12-16 Joseph Myers <joseph@codesourcery.com>
15243
15244 * math/auto-libm-test-in: Add tests of atan2, hypot and pow.
15245 * math/auto-libm-test-out: Regenerated.
15246 * math/libm-test.inc (atan2_test_data): Use AUTO_TESTS_ff_f.
15247 (hypot_test_data): Likewise.
15248 (pow_test_data): Likewise.
15249 (pow_tonearest_test_data): Likewise.
15250 * math/gen-auto-libm-tests.c (func_calc_method): Add value
15251 mpfr_ff_f.
15252 (func_calc_desc): Add mpfr_ff_f union field.
15253 (FUNC_mpfr_ff_f): New macro.
15254 (test_functions): Add atan2, hypot and pow.
15255 (special_fill_min): New function.
15256 (special_fill_minus_min): Likewise.
15257 (special_fill_min_subnorm): Likewise.
15258 (special_fill_minus_min_subnorm): Likewise.
15259 (special_real_inputs): Add min, -min, min_subnorm and
15260 -min_subnorm.
15261 (calc_generic_results): Handle mpfr_ff_f.
15262 * sysdeps/i386/fpu/libm-test-ulps: Update.
15263 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15264
5764c27f
WN
152652013-12-16 Will Newton <will.newton@linaro.org>
15266
15267 * manual/memory.texi (Malloc Examples): Mention aligned_alloc.
15268 (Aligned Memory Blocks): Add documentation for aligned_alloc
15269 and suggest it as an alternative to posix_memalign.
15270 (Hooks for Malloc): Document __memalign_hook is also called
15271 for aligned_alloc. (Summary of Malloc): Add summary for
15272 aligned alloc. Document __memalign_hook is also called
15273 for aligned_alloc.
15274
0a096e44
WN
152752013-12-16 Will Newton <will.newton@linaro.org>
15276
15277 * manual/memory.texi (Malloc Examples): Clarify default
15278 alignment documentation. Suggest posix_memalign rather
15279 than memalign or valloc.
15280 (Aligned Memory Blocks): Remove suggestion to use memalign
15281 or valloc. Remove obsolete comment about BSD.
15282 Document memalign errno values and mark the function obsolete.
15283 Document posix_memalign returned error codes. Mark valloc
15284 as obsolete. (Hooks for Malloc): __memalign_hook is also
15285 called for posix_memalign and valloc.
15286 (Summary of Malloc): Add posix_memalign to function summary.
15287 __memalign_hook is also called for posix_memalign and valloc.
15288
8d561986
SP
152892013-12-16 Siddhesh Poyarekar <siddhesh@redhat.com>
15290
15291 * sysdeps/ieee754/dbl-64/s_sin.c (TAYLOR_SINCOS): Rename to
15292 TAYLOR_SIN.
15293 (__sin): Adjust.
15294 (__cos): Likewise.
15295 (sloww): Use mynumber union. Expand ternary operator into
15296 if-else statements.
15297 (cslow): use mynumber union.
15298
73616a74
AM
152992013-12-16 Allan McRae <allan@archlinux.org>
15300
9e8ac24b
AM
15301 * configure.ac: Set AUTOCONF when maintainer-mode is not used.
15302 * configure: Regenerated.
15303
6f8e37eb
AM
15304 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update file name.
15305
8894bad3
AM
15306 [BZ #14120]
15307 * configure.ac: Added --enable-maintainer-mode. Check for
15308 autoconf when enabled.
15309 * configure: Regenerated.
15310
73616a74
AM
15311 * nscd/nscd.service: New file.
15312 * nscd/nscd.tmpfiles: New file.
15313
584b18eb
OB
153142013-12-14 Ondřej Bílka <neleai@seznam.cz>
15315
15316 [BZ #12100]
15317 * sysdeps/x86_64/multiarch/strstr-sse2-unaligned.S: New file
15318 * sysdeps/x86_64/multiarch/strstr-c.c: Moved to ...
15319 * sysdeps/x86_64/multiarch/strstr.c: ... here.
15320 (strstr): Add __strstr_sse2_unaligned ifunc.
15321 * sysdeps/x86_64/multiarch/strcasestr-c.c: Moved to ...
15322 * sysdeps/x86_64/multiarch/strcasestr.c ... here.
15323 (strcasestr): Remove __strcasestr_sse42 ifunc.
15324 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Remove.
15325 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
15326 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
15327
8a5c7897
KK
153282013-12-14 Kaz Kojima <kkojima@rr.iij4u.or.jp>
15329
15330 * sysdeps/sh/sh4/fpu/bits/fenv.h: Move to ...
15331 * sysdeps/sh/bits/fenv.h: ... here.
15332 * sysdeps/sh/sh4/fpu/bits: Remove directory.
15333
fd712ef3
AZ
153342013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15335
15336 * NEWS: Mention ppc64 STT_GNU_IFUNC support.
15337
42fcb46c
AZ
15338 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add hypot and
15339 hypotf multiarch implementations.
15340 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-power7.c: New file.
15341 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-ppc64.c: New file.
15342 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot.c: New file:
15343 multiarch hypot for PPC64.
15344 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-power7.c: New file.
15345 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-ppc64.c: New file.
15346 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c : New file:
15347 multiarch hypotf for PPC64.
15348
83efded4
AZ
15349 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add modf and
15350 modff multiarch implementations.
15351 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-power5+.c: New file.
15352 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-ppc64.c: New file.
15353 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: New file:
15354 multiarch modf for PPC64.
15355 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-power5+.c: New file.
15356 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-ppc64.c: New file.
15357 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff.c : New file:
15358 multiarch modff for PPC64.
15359
43e246d2
AZ
15360 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add logb, logbf,
15361 and logl multiarch implementations.
15362 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-power7.c: New file.
15363 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-ppc64.c: New file.
15364 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb.c: New file:
15365 multiarch logb for PPC64.
15366 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-power7.c: New file.
15367 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-ppc64.c: New file.
15368 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf.c: New file:
15369 multiarch logb for PPC64.
15370 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-power7.c: New file.
15371 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-ppc64.c: New file.
15372 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl.c: New file:
15373 multiarch logb for PPC64.
15374
8fdad123
AZ
15375 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf and
15376 isinff multiarch implementation.
15377 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power7.S: New
15378 file.
15379 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-ppc64.S: New file.
15380 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: New file:
15381 multiarch isinf for PPC64.
15382 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff-ppc64.c: New
15383 file.
15384 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c: New file:
15385 multiarch isinff for PPC64.
15386
1481d706
AZ
15387 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite and
15388 finitef multiarch implementation.
15389 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power7.S: New
15390 file.
15391 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-ppc64.S: New file.
15392 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: New file:
15393 multiarch finite for PPC64.
15394 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef-ppc64.c: New
15395 file.
15396 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c: New file:
15397 multiarch finitef for PPC64.
15398
5ccd5fc8
AZ
15399 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint and
15400 lrint multiarch implementation.
15401 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power6x.S: New
15402 file.
15403 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-ppc64.S: New file.
15404 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c: New file:
15405 multiarch llrint for PPC64.
15406 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lrint.c: New file:
15407 multiarch lrint for PPC64.
15408
2568f3fa
AZ
15409 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add copysign/
15410 copysignf multiarch implementation.
15411 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-power6.S: New
15412 file.
15413 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-ppc64.S: New
15414 file.
15415 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: New file:
15416 multiarch copysign for PPC64.
15417 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysignf.c: New file:
15418 multiarch copysignf for PPC64.
15419
1cb341fd
AZ
15420 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add trunc/truncf
15421 multiarch implementation.
15422 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-power5+.S: New
15423 file.
15424 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-ppc64.S: New
15425 file.
15426 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-power5+.S: New
15427 file.
15428 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-ppc64.S: New
15429 file.
15430 multiarch llround for PPC64.
15431 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc.c: New file:
15432 multiarch trunc for PPC64.
15433 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf.c: New file:
15434 multiarch truncf for PPC64.
15435
59a3e194
AZ
15436 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add round/roundf
15437 multiarch implementation.
15438 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-power5+.S: New
15439 file.
15440 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-ppc64.S: New
15441 file.
15442 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-power5+.S: New
15443 file.
15444 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-ppc64.S: New
15445 file.
15446 multiarch llround for PPC64.
15447 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round.c: New file:
15448 multiarch round for PPC64.
15449 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf.c: New file:
15450 multiarch roundf for PPC64.
15451
357fd3b4
AZ
15452 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add floor/floorf
15453 multiarch implementation.
15454 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-power5+.S: New
15455 file.
15456 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-ppc64.S: New
15457 file.
15458 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-power5+.S: New
15459 file.
15460 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-ppc64.S: New
15461 file.
15462 multiarch llround for PPC64.
15463 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor.c: New file:
15464 multiarch floor for PPC64.
15465 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf.c: New file:
15466 multiarch floorf for PPC64.
15467
96770f12
AZ
15468 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add ceil/ceilf
15469 multiarch implementation.
15470 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-power5+.S: New
15471 file.
15472 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-ppc64.S: New
15473 file.
15474 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-power5+.S: New
15475 file.
15476 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-ppc64.S: New
15477 file.
15478 multiarch llround for PPC64.
15479 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil.c: New file:
15480 multiarch ceil for PPC64.
15481 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf.c: New file:
15482 multiarch ceilf for PPC64.
15483
c3627f6e
AZ
15484 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
15485 multiarch implementation.
15486 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power5+.S: New
15487 file.
15488 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power6x.S: New
15489 file.
15490 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-ppc64.S: New
15491 file.
15492 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c: New file:
15493 multiarch llround for PPC64.
15494 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lround.c: New file:
15495 multiarch lround for PPC64.
15496
b2284ad7
AZ
15497 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
15498 multiarch implementation.
15499 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power5.S: New file.
15500 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6.S: New file.
15501 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6x.S: New
15502 file.
15503 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power7.S: New file.
15504 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S: New file.
15505 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: New file:
15506 multiarch isnan for PPC64.
15507 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c: New file:
15508 multiarch isnanf for PPC64.
15509
69bbc63d
AZ
15510 * sysdeps/powerpc/powerpc64/power5+/fpu/multiarch/Implies: New file.
15511 * sysdeps/powerpc/powerpc64/power5/fpu/multiarch/Implies: New file.
15512 * sysdeps/powerpc/powerpc64/power6/fpu/multiarch/Implies: New file.
15513 * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: New file.
15514 * sysdeps/powerpc/powerpc64/power7/fpu/multiarch/Implies: New file
15515 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/Implies: Remove.
15516
c24517c9
AZ
15517 * sysdeps/powerpc/fpu/w_sqrt.c: Remove file
15518 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
15519 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
15520 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
15521
a52374e8
AZ
15522 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add stpcpy
15523 multiarch implementations.
15524 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
15525 (__libc_ifunc_impl_list): Likewise.
15526 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.c: New file.
15527 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.c: New file.
15528 * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c : New file:
15529 multiarch stpcpy for PPC64.
15530
7f5ec113
AZ
15531 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcpy
15532 multiarch implementations.
15533 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
15534 (__libc_ifunc_impl_list): Likewise.
15535 * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.c: New file.
15536 * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.c: New file.
15537 * sysdeps/powerpc/powerpc64/multiarch/strcpy.c : New file:
15538 multiarch strcpy for PPC64.
15539
e28bcd42
AZ
15540 * string/wordcopy.c (_wordcopy_fwd_aligned): Add define to
15541 redefine function name.
15542 (_wordcopy_fwd_dest_aligned): Likewise.
15543 (_wordcopy_bwd_aligned): Likewise.
15544 (_wordcopy_bwd_dest_aligned): Likewise.
15545 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wordcopy
15546 multiarch implementations.
15547 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
15548 (__libc_ifunc_impl_list): Likewise.
15549 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power6.c: New file.
15550 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power7.c: New file.
15551 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c: New file.
15552 * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c : New file:
15553 multiarch wcscpy for PPC64.
15554
92cacfce
AZ
15555 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcscpy
15556 multiarch implementations.
15557 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
15558 (__libc_ifunc_impl_list): Likewise.
15559 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power6.c: New file.
15560 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power7.c: New file.
15561 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-ppc64.c: New file.
15562 * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c : New file:
15563 multiarch wcscpy for PPC64.
15564
7b714620
AZ
15565 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcsrchr
15566 multiarch implementations.
15567 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
15568 (__libc_ifunc_impl_list): Likewise.
15569 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power6.c: New file.
15570 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power7.c: New file.
15571 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-ppc64.c: New file.
15572 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c : New file:
15573 multiarch wcsrchr for PPC64.
15574
16fd2ae3
AZ
15575 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcschr
15576 multiarch implementations.
15577 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
15578 (__libc_ifunc_impl_list): Likewise.
15579 * sysdeps/powerpc/powerpc64/multiarch/wcschr-power6.c: New file.
15580 * sysdeps/powerpc/powerpc64/multiarch/wcschr-power7.c: New file.
15581 * sysdeps/powerpc/powerpc64/multiarch/wcschr-ppc64.c: New file.
15582 * sysdeps/powerpc/powerpc64/multiarch/wcschr.c : New file:
15583 multiarch wcschr for PPC64.
15584
9ee2969b
AZ
15585 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchrnul
15586 multiarch implementations.
15587 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
15588 (__libc_ifunc_impl_list): Likewise.
15589 * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power7.S: New file.
15590 * sysdeps/powerpc/powerpc64/multiarch/strchrnul-ppc64.c: New file.
15591 * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: New file:
15592 multiarch strchrnul for PPC64.
15593
372dc060
AZ
15594 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchr multiarch
15595 implementations.
15596 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
15597 (__libc_ifunc_impl_list): Likewise.
15598 * sysdeps/powerpc/powerpc64/multiarch/rtld-strchr.S: New file.
15599 * sysdeps/powerpc/powerpc64/multiarch/strchr-power7.S: New file.
15600 * sysdeps/powerpc/powerpc64/multiarch/strchr-ppc64.S: New file.
15601 * sysdeps/powerpc/powerpc64/multiarch/strchr.c: New file: multiarch
15602 strchr for PPC64.
15603
24c2c3b9
AZ
15604 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncmp multiarch
15605 implementations.
15606 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
15607 (__libc_ifunc_impl_list): Likewise.
15608 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power4.S: New file.
15609 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power7.S: New file.
15610 * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: New file.
15611 * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: New file: multiarch
15612 strncmp for PPC64.
15613
1c92d9a0
AZ
15614 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncasecmp
15615 multiarch implementations.
15616 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
15617 (__libc_ifunc_impl_list): Likewise.
15618 * sysdeps/powerpc/powerpc64/multiarch/strncase-power7.c: New file.
15619 * sysdeps/powerpc/powerpc64/multiarch/strncase.c: New file: multiarch
15620 strncasecmp for PPC64.
15621 * sysdeps/powerpc/powerpc64/multiarch/strncase_l-power7.c: New file.
15622 * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: New file:
15623 multiarch strncasecmp_l for PPC64.
15624
17de3ee3
AZ
15625 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcasecmp
15626 multiarch implementations.
15627 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
15628 (__libc_ifunc_impl_list): Likewise.
15629 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: New file.
15630 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: New file:
15631 multiarch strcasecmp for PPC64.
15632 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: New
15633 file.
15634 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: new file:
15635 multiarch strcasecmp_l for PPC64.
15636
62982bf9
AZ
15637 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strnlen multiarch
15638 implementations.
15639 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
15640 (__libc_ifunc_impl_list): Likewise.
15641 * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: New file.
15642 * sysdeps/powerpc/powerpc64/multiarch/strnlen-ppc64.c: New file.
15643 * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: New file: multiarch
15644 strnlen for PPC64.
15645
a65f4904
AZ
15646 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strlen multiarch
15647 implementations.
15648 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
15649 (__libc_ifunc_impl_list): Likewise.
15650 * sysdeps/powerpc/powerpc64/multiarch/strlen-power7.S: New file.
15651 * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: New file.
15652 * sysdeps/powerpc/powerpc64/multiarch/strlen.c: New file: multiarch
15653 strlen for PPC64.
15654
1fd005ad
AZ
15655 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add rawmemch multiarch
15656 implementations.
15657 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
15658 (__libc_ifunc_impl_list): Likewise.
15659 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-power7.S: New file.
15660 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-ppc64.c: New file.
15661 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: New file: multiarch
15662 rawmemrchr for PPC64.
15663
cd05ba91
AZ
15664 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memrchr multiarch
15665 implementation.
15666 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
15667 (__libc_ifunc_impl_list): Likewise.
15668 * sysdeps/powerpc/powerpc64/multiarch/memrchr-power7.S: New file.
15669 * sysdeps/powerpc/powerpc64/multiarch/memrchr-ppc64.c: New file.
15670 * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: New file: multiarch
15671 memrchr for PPC64.
15672
870f8676
AZ
15673 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memchr multiarch
15674 implementation.
15675 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
15676 (__libc_ifunc_impl_list): Likewise.
15677 * sysdeps/powerpc/powerpc64/multiarch/memchr-power7.S: New file.
15678 * sysdeps/powerpc/powerpc64/multiarch/memchr-ppc64.c: New file.
15679 * sysdeps/powerpc/powerpc64/multiarch/memchr.c: New file: multiarch
15680 memchr for PPC64.
15681
f00be62b
AZ
15682 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add mempcpy multiarch
15683 implementation.
15684 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
15685 (__libc_ifunc_impl_list): Likewise.
15686 * sysdeps/powerpc/powerpc64/multiarch/mempcpy-power7.S: New file.
15687 * sysdeps/powerpc/powerpc64/multiarch/mempcpy-ppc64.c: New file.
15688 * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: New file: multiarch
15689 mempcpy for PPC64.
15690
8a29a3d0
AZ
15691 * sysdeps/powerpc/powerpc64/memset.S (NO_BZERO_IMPL): Add macro to
15692 avoid cretion of __bzero symbol.
15693 * sysdeps/powerpc/powerpc64/power4/memset.S (NO_BZERO_IMPL):
15694 Likewise.
15695 * sysdeps/powerpc/powerpc64/power6/memset.S (NO_BZERO_IMPL):
15696 Likewise.
15697 * sysdeps/powerpc/powerpc64/power7/memset.S (NO_BZERO_IMPL):
15698 Likewise.
15699 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memset/bzero
15700 multiarch implementations.
15701 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
15702 (__libc_ifunc_impl_list): Likewise.
15703 * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: New file.
15704 * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: New file.
15705 * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: New file.
15706 * sysdeps/powerpc/powerpc64/multiarch/bzero.c: New file: multiarch
15707 bzero for PPC32.
15708 * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S: New file.
15709 * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: New file.
15710 * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: New file.
15711 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: New file.
15712 * sysdeps/powerpc/powerpc64/multiarch/memset.c: New file: multiarch
15713 memset for PPC64.
15714 * sysdeps/powerpc/powerpc64/multiarch/rtld-memset.c: New file.
15715
07253fcf
AZ
15716 * string/memcmp.c (memcmp): Using macro to redefine symbol name.
15717 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memcpy multiarch
15718 implementations.
15719 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
15720 (__libc_ifunc_impl_list): Likewise.
15721 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power4.S: New file.
15722 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power7.S: New file.
15723 * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: New file.
15724 * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: New file: multiarch
15725 memcmp for PPC64.
15726
b5beafbc
AZ
15727 * sysdeps/powerpc/powerpc64/multiarch/Makefile: New file to support
15728 multiarch for POWER/PPC64.
15729 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
15730 * sysdeps/powerpc/powerpc64/multiarch/init-arch.h: Likewise.
15731 * sysdeps/powerpc/powerpc64/multiarch/memcpy-a2.S: New file.
15732 * sysdeps/powerpc/powerpc64/multiarch/memcpy-cell.S: New file.
15733 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power4.S: New file.
15734 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power6.S: New file.
15735 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power7.S: New file.
15736 * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: New file.
15737 * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: New file: multiarch
15738 memcpy for PPC64.
15739
5e6a4d4b
AZ
15740 * sysdeps/powerpc/powerpc64/power4/fpu/Implies: New file.
15741 * sysdeps/powerpc/powerpc64/power4/fpu/multiarch/Implies: New File.
15742 * sysdeps/powerpc/powerpc64/power4/multiarch/Implies: New File.
15743 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: New File.
15744 * sysdeps/powerpc/powerpc64/power5+/multiarch/Implies: New File.
15745 * sysdeps/powerpc/powerpc64/power5/Implies: New File.
15746 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: New File.
15747 * sysdeps/powerpc/powerpc64/power5/multiarch/Implies: New File.
15748 * sysdeps/powerpc/powerpc64/power6/fpu/Implies: New File.
15749 * sysdeps/powerpc/powerpc64/power6/multiarch/Implies: New File.
15750 * sysdeps/powerpc/powerpc64/power7/fpu/Implies: New File.
15751 * sysdeps/powerpc/powerpc64/power7/multiarch/Implies: New File.
15752 * sysdeps/powerpc/powerpc64/power8/fpu/Implies: New File.
15753 * sysdeps/powerpc/powerpc64/power8/fpu/multiarch/Implies: New File.
15754 * sysdeps/powerpc/powerpc64/power8/multiarch/Implies: New File.
15755 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: Remove.
15756 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/Implies: Remove.
15757 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: Remove.
15758 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: Remove.
15759 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: Remove.
15760 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: Remove.
15761 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Remove.
15762
ddfab6dc
KK
157632013-12-12 Kaz Kojima <kkojima@rr.iij4u.or.jp>
15764
15765 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Use $$ver.
15766
19b5525e
SP
157672013-12-12 Siddhesh Poyarekar <siddhesh@redhat.com>
15768
15769 * benchtests/Makefile (bench): Add exp2 and log2.
15770 (LDLIBS-bench-exp2): Add -lm.
15771 (LDLIBS-bench-log2): Likewise.
15772 * benchtests/exp2-inputs: New inputs file.
15773 * benchtests/log2-inputs: New inputs file.
15774 * benchtests/log-inputs: Add new inputs.
15775 * benchtests/tan-inputs: Likewise.
15776
196f7f5d
SP
157772013-12-11 Siddhesh Poyarekar <siddhesh@redhat.com>
15778
7a74607f
SP
15779 * sysdeps/ieee754/dbl-64/s_sin.c (t22): Consolidate const
15780 definition...
57f41c40
AS
15781 (slow1, slow2, sloww1, sloww2, bsloww1, bsloww2, cslow2, csloww1)
15782 (csloww2): ... from here.
7a74607f 15783
196f7f5d
SP
15784 * sysdeps/ieee754/dbl-64/usncs.h: Define constants as double
15785 instead of structures.
15786 * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): Adjust.
15787 (POLYNOMIAL): Likewise.
15788 (TAYLOR_SLOW): Likewise.
15789 (__sin): Likewise.
15790 (__cos): Likewise.
15791 (slow1): Likewise.
15792 (slow2): Likewise.
15793 (sloww): Likewise.
15794 (sloww1); Likewise.
15795 (sloww2): Likewise.
15796 (bsloww1): Likewise.
15797 (bsloww2): Likewise.
15798 (cslow2): Likewise.
15799 (csloww): Likewise.
15800 (csloww1): Likewise.
15801 (csloww2): Likewise.
15802
0dfa665c
OB
158032013-12-10 Ondřej Bílka <neleai@seznam.cz>
15804
15805 * malloc/malloc.c (MALLOC_COPY, MALLOC_ZERO): Delete.
57f41c40
AS
15806 (__malloc_assert, __libc_realloc, __libc_calloc, _int_realloc):
15807 Expand MALLOC_COPY and MALLOC_ZERO to memcpy and memset.
0dfa665c
OB
15808 * malloc/hooks.c (realloc_check): Likewise.
15809
5782a80f
OB
15810 * malloc/Makefile (CPPFLAGS-malloc.c): Remove -DPER_THREAD flag.
15811 * malloc/arena.c: Remove PER_THREAD conditional.
15812 [!PER_THREAD]: Remove code.
15813 (ptmalloc_unlock_all2): Likewise.
15814 (ptmalloc_init): Likewise.
15815 (_int_new_arena): Likewise.
15816 (arena_get2): Likewise.
15817 * malloc/hooks.c (__malloc_get_state): Likewise.
15818 (__malloc_set_state): Likewise.
15819 * malloc/malloc.c: Likewise.
15820 (struct malloc_state): Likewise.
15821 (struct malloc_par): Likewise.
15822 (__libc_realloc): Likewise.
15823 (__libc_mallopt): Likewise.
15824
aeb95445
AZ
158252013-12-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15826
15827 * Versions.def (libm): Add GLIBC_2.3 and GLIBC_2.19.
15828
e8349efd
OB
158292013-12-09 Ondřej Bílka <neleai@seznam.cz>
15830
15831 * malloc/malloc.c (alloc_perturb, free_perturb): Convert from
15832 macro to a function. Check for zero perturb_byte.
15833 (_int_malloc, _int_free): Remove zero perturb_byte checks.
15834
f3eeb3fc 15835 * malloc/malloc.c: (force_reg): Remove.
57f41c40
AS
15836 (__malloc_assert, __libc_malloc, __libc_free, __libc_realloc)
15837 (_mid_memalign, __libc_calloc, sysmalloc, systrim): Replace
f3eeb3fc
OB
15838 force_reg by atomic_forced_read.
15839 * malloc/arena.c (ptmalloc_init): Likewise.
15840 * malloc/hooks.c (top_check): Likewise.
15841
be2f9009
AZ
158422013-12-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15843
15844 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
15845
e7b914bd
MT
158462013-12-09 Markus Trippelsdorf <markus@trippelsdorf.de>
15847
15848 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
15849
9f0be4f8
JM
158502013-12-08 Joseph Myers <joseph@codesourcery.com>
15851
15852 * math/auto-libm-test-in: Add tests of lgamma.
15853 * math/auto-libm-test-out: Regenerated.
15854 * math/libm-test.inc (M_LOG_SQRT_PIl): Remove macro.
15855 (M_LOG_2_SQRT_PIl): Likewise.
15856 (lgamma_test_data): Use AUTO_TESTS_f_f1.
15857 * math/gen-auto-libm-tests.c (func_calc_method): Add value
15858 mpfr_f_f1.
15859 (func_calc_desc): Add mpfr_f_f1 union field.
15860 (ARGS1): New macro.
15861 (ARGS2): Likewise.
15862 (ARGS3): Likewise.
15863 (ARGS4): Likewise.
15864 (RET1): Likewise.
15865 (RET2): Likewise.
15866 (CALC): Likewise.
15867 (FUNC): Likewise.
15868 (FUNC_mpfr_f_f): Use new macros FUNC, ARGS1, RET1 and CALC.
15869 (test_functions): Add lgamma.
15870 (calc_generic_results): Handle mpfr_f_f1.
15871 * sysdeps/i386/fpu/libm-test-ulps: Update.
15872 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15873
24eeafdb
AZ
158742013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15875
15876 * sysdeps/powerpc/powerpc64/power7/add_n.S: New file: optimized
15877 __mpn_add_n for PowerPC64/POWER7.
15878 * sysdeps/powerpc/powerpc64/power7/sub_n.S: New file: optimized
15879 __mpn_sub_n for PowerPC64/POWER7.
15880
4a2c0fd4
AZ
15881 * sysdeps/powerpc/powerpc64/addmul_1.S: New file: optimized
15882 __mpn_addmul_1 for PowerPC64.
15883 * sysdeps/powerpc/powerpc64/submul_1.S: New file: optimized
15884 __mpn_submul_1 for PowerPC64.
15885 * sysdeps/powerpc/powerpc64/lshift.S: New file: optimized __mpn_lshift
15886 for PowerPC64.
15887 * sysdeps/powerpc/powerpc64/mul_1.S: New file: optimized __mpn_mul_1
15888 for PowerPC64.
15889
4b5b548c
FS
158902013-12-06 Fernando J. V. da Silva <fernandojvdasilva@gmail.com>
15891
15892 [BZ #15089]
15893 * malloc/malloc.c: Exit systrim() if pad is bigger than heap top size.
15894
0a3ac0aa
AZ
158952013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15896
15897 * NEWS: Mention ppc32/power4+ STT_GNU_IFUNC support.
15898
ccdc8438
AZ
15899 * sysdeps/powerpc/powerpc32/power5+/fpu/multiarch/Implies: New file:
15900 add multiarch folders.
15901 * sysdeps/powerpc/powerpc32/power5+/multiarch/Implies: Likewise.
15902 * sysdeps/powerpc/powerpc32/power5/fpu/multiarch/Implies: Likewise.
15903 * sysdeps/powerpc/powerpc32/power5/multiarch/Implies: Likewise.
15904 * sysdeps/powerpc/powerpc32/power6/fpu/multiarch/Implies: Likewise.
15905 * sysdeps/powerpc/powerpc32/power6/multiarch/Implies: Likewise.
15906 * sysdeps/powerpc/powerpc32/power6x/fpu/multiarch/Implies: Likewise.
15907 * sysdeps/powerpc/powerpc32/power6x/multiarch/Implies: Likewise.
15908 * sysdeps/powerpc/powerpc32/power7/fpu/multiarch/Implies: Likewise.
15909 * sysdeps/powerpc/powerpc32/power7/multiarch/Implies: Likewise.
15910 * sysdeps/powerpc/powerpc32/power8/fpu/multiarch/Implies: Likewise.
15911 * sysdeps/powerpc/powerpc32/power8/multiarch/Implies: Likewise.
15912 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/Implies: Remove.
15913 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: Remove.
15914 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: Remove.
15915 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: Remove.
15916 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: Remove.
15917 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Remove.
15918
2e973d99
AZ
15919 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
15920 __ieee754_hypot and __ieee754_hypotf multiarch implementations.
15921 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-power7.c:
15922 New file.
15923 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-ppc32.c:
15924 New file.
15925 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot.c: New file:
15926 multiarch __ieee754_hypot for PowerPC32.
15927 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-power7.c:
15928 New file.
15929 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-ppc32.c:
15930 New file.
15931 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf.c: New file:
15932 multiarch __ieee754_hypotf for PowerPC32.
15933
2d9470b2
AZ
15934 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Define
15935 long_double_symbol only if __logbl is defined.
15936 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Moved to ...
15937 * sysdeps/powerpc/power7/fpu/s_logb.c: ... here.
15938 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: Move to ...
15939 * sysdeps/powerpc/power7/fpu/s_logbf.c: ... here.
15940 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: Move to ...
15941 * sysdeps/powerpc/power7/fpu/s_logbl.c: ... here.
15942 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: Adjust to use new
15943 path for implementation.
15944 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: Likewise.
15945 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: Likewise.
15946 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add logbf,
15947 logb, and logbl multiarch implementations for PowerPC32.
15948 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-power7.c: New
15949 file.
15950 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-ppc32.c: New
15951 file.
15952 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb.c: New file:
15953 multiarch logb for PowerPC32.
15954 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-power7.c: New
15955 file.
15956 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-ppc32.c: New
15957 file.
15958 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf.c: New file:
15959 multiarch logbf for PowerPC32.
15960 * sysdeps/powerpc/power4/fpu/multiarch/s_logbl-power7.c: New file.
15961 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl-ppc32.c: New
15962 file.
15963 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl.c: New file:
15964 multiarch logbl implementation for PowerPC32.
15965
5212ffce
AZ
15966 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add modf
15967 and modff multiarch implementations.
15968 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-power5+.c:
15969 New file.
15970 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-ppc32.c:
15971 New file.
15972 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c: New file:
15973 multiarch modf for PowerPC32.
15974 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-power5+.c:
15975 New file.
15976 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-ppc32.c:
15977 New file.
15978 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff.c: New file:
15979 multiarch modff for PowerPC32.
15980
79dccf31
AZ
15981 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lrint
15982 and lrintf multiarch implementations.
15983 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-power6x.S:
15984 New file.
15985 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-ppc32.S:
15986 New file.
15987 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint.c: New file:
15988 multiarch lrint for PowerPC32.
15989 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrintf.c: New
15990 file: multiarch lrintf for PowerPC32.
15991
deb66480
AZ
15992 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lround
15993 and lroundf multiarch implementations.
15994 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power5+.S:
15995 New file.
15996 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power6.S:
15997 New file.
15998 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-ppc32.S:
15999 New file.
16000 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround.c: New file:
16001 multiarch lround for PowerPC32.
16002 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lroundf.c: New
16003 file: multiarch lroundf for PowerPC32.
16004
264b036b
AZ
16005 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
16006 copysign and copysignf multiarch implementations.
16007 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-power6.S:
16008 New file.
16009 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-ppc32.S:
16010 New file.
16011 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c: New
16012 file: multiarch copysign for PowerPC32.
16013 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysignf.c: New
16014 file: multiarch copysignf for PowerPC32.
16015
d47db6c9
AZ
16016 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add trunc
16017 and truncf multiarch implementations.
16018 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-power5+.S:
16019 New file.
16020 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-ppc32.S: New
16021 file.
16022 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc.c: New file:
16023 multiarch trunc for PowerPC32.
16024 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-power5+.S:
16025 New file.
16026 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-ppc32.S:
16027 New file.
16028 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf.c: New file:
16029 multiarch truncf for PowerPC32.
16030
ddb60b5a
AZ
16031 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add round
16032 and roundf multiarch implementations.
16033 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-power5+.S:
16034 New file.
16035 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-ppc32.S: New
16036 file.
16037 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round.c: New file:
16038 multiarch round for PowerPC32.
16039 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-power5+.S:
16040 New file.
16041 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-ppc32.S:
16042 New file.
16043 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf.c: New file:
16044 multiarch roundf for PowerPC32.
16045
bedcf49b
AZ
16046 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add floor
16047 and floorf multiarch implementations.
16048 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-power5+.S:
16049 New file.
16050 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-ppc32.S: New
16051 file.
16052 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor.c: New file:
16053 multiarch floor for PowerPC32.
16054 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-power5+.S:
16055 New file.
16056 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-ppc32.S:
16057 New file.
16058 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf.c: New file:
16059 multiarch floorf for PowerPC32.
16060
35ae5b40
AZ
16061 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add ceil
16062 and ceilf multiarch implementations.
16063 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-power5+.S:
16064 New file.
16065 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-ppc32.S: New
16066 file.
16067 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil.c: New file:
16068 multiarch ceil for PowerPC32.
16069 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-power5+.S:
16070 New file.
16071 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-ppc32.S: New
16072 file.
16073 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf.c: New file:
16074 multiarch ceilf for PowerPC32.
16075
ae1a4cd9
AZ
16076 * sysdeps/ieee754/dbl-64/s_finite.c (__finite): Redefine it if FINITE
16077 is defined.
16078 * sysdeps/ieee754/flt-32/s_finitef.c (__finitef): Redefine it if
16079 FINITEF is defined.
16080 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add finite
16081 and finitef multiarch implementations.
16082 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-power7.S:
16083 New file.
16084 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-ppc32.c: New
16085 file.
16086 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c: New file:
16087 multiarch finite for PowerPC32.
16088 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef-ppc32.c:
16089 New file.
16090 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef.c: New
16091 file: multiarch finitef for PowerPC32.
16092
64fffd65
AZ
16093 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isinf
16094 and isinff multiarch implementations.
16095 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-power7.S: New
16096 file.
16097 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-ppc32.c: New
16098 file.
16099 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c: New file:
16100 multiarch isinf for PowerPC32.
16101 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff-ppc32.c:
16102 New file.
16103 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff.c: New file:
16104 multiarch isinff for PowerPC32.
16105
8e4e7ba2
AZ
16106 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S (__isnan): Only implement
16107 alias when __isnan is defined.
16108 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isnan
16109 and isnanf multiarch implementations.
16110 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power5.S: New
16111 file.
16112 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power6.S: New
16113 file.
16114 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power7.S: New
16115 file.
16116 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-ppc32.S: New
16117 file.
16118 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c: New file:
16119 multiarch isnan for PowerPC32.
16120 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power6.S:
16121 New file.
16122 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power7.S:
16123 New file.
16124 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf.c: New file:
16125 multiarch isnanf for PowerPC32.
16126
ddba588e
AZ
16127 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add sqrt
16128 and sqrtf multiarch implementations.
16129 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-power5.S: New
16130 file.
16131 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-ppc32.S: New
16132 file.
16133 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt.c: New file:
16134 multiarch sqrt for PowerPC32.
16135 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-power5.S: New
16136 file.
16137 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-ppc32.S: New
16138 file.
16139 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf.c: New file:
16140 multiarch sqrtf for PowerPC32.
16141
0f96a2f0
AZ
16142 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add llround
16143 and llroundf multiarch implementations.
16144 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power5+.S:
16145 New file.
16146 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power6.S:
16147 New file.
16148 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-ppc32.S:
16149 New file.
16150 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround.c: New
16151 file: multiarch llround for PowerPC32.
16152 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llroundf.c: New
16153 file: multiarch llroundf for PowerPC32.
16154
c9b5d79e
AZ
16155 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: New file:
16156 multiarch PowerPC32 fpu implementations.
16157 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-power6.S:
16158 New file.
16159 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-ppc32.S:
16160 New file.
16161 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint.c: New file:
16162 multiarch llrint for PowerPC32.
16163 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-power6.S:
16164 New file.
16165 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-ppc32.S:
16166 New file.
16167 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf.c: New
16168 file.
16169
9cbb3aab
AZ
16170 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/Implies: Remove.
16171
ea5a72f8
AZ
16172 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power6.c: New
16173 file.
16174 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power7.c: New
16175 file.
16176 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c: New
16177 file.
16178 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: New file:
16179 multiarch wordcopy for PPC32.
16180 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
16181 wordcopy objects.
16182 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
16183 (__libc_ifunc_impl_list): Likewise.
16184 * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Move ...
16185 * sysdeps/powerpc/power4/wordcopy.c: ... to here.
16186 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Move ...
16187 * sysdeps/powerpc/power6/wordcopy.c: ... to here.
16188 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Remove uneeded file.
16189 * sysdeps/powerpc/powerpc64/power4/wordcopy.c: Likewise.
16190
93be09e7
AZ
16191 * wcsmbs/wcscpy.c (wcscpy): Using macro to redefine symbol name
16192 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power6.c: New
16193 file.
16194 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power7.c: New
16195 file.
16196 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: New
16197 file.
16198 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: New file:
16199 multiarch wcscpy for PPC32.
16200 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
16201 multiarch objects.
16202 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
16203 (__libc_ifunc_impl_list): Likewise.
16204 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
16205 * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
16206 * sysdeps/powerpc/powerpc64/power6/wcscpy.c: Adjust to use
16207 sysdeps/powerpc/power6/wcscpy.c.
16208
bb04e529
AZ
16209 * wcsmbs/wcsrchr.c (wcsrchr): Using macro to redefine symbol name
16210 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power6.c: New
16211 file.
16212 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power7.c: New
16213 file.
16214 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: New
16215 file.
16216 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: New file:
16217 multiarch wcsrchr for PPC32.
16218 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
16219 multiarch objects.
16220 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
16221 (__libc_ifunc_impl_list): Likewise.
16222 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
16223 * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
16224 * sysdeps/powerpc/powerpc64/power6/wcsrchr.c: Adjust to use
16225 sysdeps/powerpc/power6/wcsrchr.c.
16226
05b5cd1c
AZ
16227 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power6.c: New
16228 file.
16229 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power7.c: New
16230 file.
16231 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: New file.
16232 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: New file:
16233 multiarch wcschr for PPc32.
16234 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
16235 multiarch objects.
16236 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
16237 (__libc_ifunc_impl_list): Likewise.
16238 * sysdeps/powerpc/powerpc32/power6/wcschr.c: Move ...
16239 * sysdeps/powerpc/power6/wcschr.c: ... to here.
16240 * sysdeps/powerpc/powerpc64/power6/wcschr.c: Adjust to use
16241 sysdeps/powerpc/power6/wcschr.c.
16242
ba964147
AZ
16243 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strchr.S: New file.
16244 * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-power7.S: New
16245 file.
16246 * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-ppc32.S: New file.
16247 * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/strchr.c: New
16248 file: multiarch strchr for PPC32.
16249 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchr
16250 multiarch objects.
16251 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
16252 (__libc_ifunc_impl_list): Likewise.
16253
31c81aaa
AZ
16254 * string/strchrnul.c (__strchrnul): Using macro to redefine symbol
16255 name.
16256 * sysdeps/powerpc/powerpc32/power4//multiarch/strchrnul-power7.S: New
16257 file.
16258 * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul-ppc32.c: New
16259 file.
16260 * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: New file:
16261 multiarch strchrnul for PPC32.
16262 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchrnul
16263 multiarch objects.
16264 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
16265 (__libc_ifunc_impl_list): Likewise.
16266
0d0607d9
AZ
16267 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase-power7.c: New
16268 file.
16269 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: New file:
16270 multiarch strncasecmp for PPC32.
16271 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l-power7.c: New
16272 file.
16273 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: New file:
16274 multiarch strncasecmp_l for PPC32.
16275 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added
16276 strncasecmp multiarch objects.
16277 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
16278 (__libc_ifunc_impl_list): Likewise.
16279
4dfd5c86
AZ
16280 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S: New
16281 file.
16282 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: New file:
16283 multiarch strncasecmp for PPC32.
16284 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
16285 New file.
16286 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: New file:
16287 multiarch strcasecmp_l for PPC32.
16288 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strcasecmp
16289 multiarch objects.
16290 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
16291 (__libc_ifunc_impl_list): Likewise.
16292
a19e01a3
AZ
16293 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-power7.S: New
16294 file.
16295 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: New
16296 file.
16297 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: New file:
16298 multiarch strncmp for PPC32.
16299 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strncmp
16300 multiarch objects.
16301 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
16302 (__libc_ifunc_impl_list): Likewise.
16303
ae9cf7a2
AZ
16304 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strnlen.c: New file.
16305 * sysdeps/powerpc/powerpc32//power4/multiarch/strnlen-power7.S: New
16306 file.
16307 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-ppc32.c: New file.
16308 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: New file.
16309 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strnlen
16310 multiarch objects.
16311 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
16312 (__libc_ifunc_impl_list): Likewise.
16313
3148bb7d
AZ
16314 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-power7.S: New
16315 file.
16316 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: New
16317 file.
16318 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: New file.
16319 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strlen
16320 multiarch objects.
16321 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
16322 (__libc_ifunc_impl_list): Likewise.
16323
7af8b946
AZ
16324 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-power7.S: New
16325 file.
16326 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-ppc32.c: New
16327 file.
16328 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: New file:
16329 multiarch rawmemchr for PPC32.
16330 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added rawmemchr
16331 multiarch objects.
16332 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
16333 (__libc_ifunc_impl_list): Likewise.
16334
03a6aa6a
AZ
16335 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-power7.S: New
16336 file.
16337 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: New
16338 file.
16339 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: New
16340 file: memrchr multiarch for PPC32.
16341 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added memrchr
16342 multiarch objects.
16343 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
16344 (__libc_ifunc_impl_list): Likewise.
16345
1c62e6d9
AZ
16346 * string/memchr.c (__memchr): Using macro to redefine symbol name.
16347 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-power7.S: New
16348 file.
16349 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c: New File.
16350 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: New file:
16351 multiarch memchr for PPC32.
16352 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memchr
16353 multiarch objects.
16354 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
16355 (__libc_ifunc_impl_list): Likewise.
16356
87da8bdb
AZ
16357 * string/mempcpy.c (__mempcpy): Using macro to redefine symbol name.
16358 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-power7.S: New
16359 file.
16360 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-ppc32.c: New
16361 file.
16362 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: New
16363 file: multiarch mempcpy for PPC32.
16364 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add mempcpy
16365 multiarch objects.
16366 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
16367 (__libc_ifunc_impl_list): Likewise.
16368
20ed4714
AZ
16369 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power6.S: New file.
16370 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power7.S: New file.
16371 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S: New file.
16372 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: New file:
16373 multiarch bzero for PPC32.
16374 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power6.S: New
16375 file.
16376 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power7.S: New
16377 file.
16378 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: New file.
16379 * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/memset.c: New
16380 file: multiarch memset for PPC32.
16381 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memset.S: New file.
16382 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add bzero and
16383 memset multiarch objects.
16384 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
16385 (__libc_ifunc_impl_list): Likewise.
16386
ab3e3a46
AZ
16387 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-power7.S: New
16388 file.
16389 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: New file.
16390 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: multiarch
16391 memcmp for PPC32.
16392 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memcmp.S: New file.
16393 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcmp
16394 multiarch objects.
16395 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
16396 (__libc_ifunc_impl_list): Likewise.
16397
930de6f0
AZ
16398 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-a2.S: New file.
16399 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-cell.S: New file.
16400 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power6.S: New
16401 file.
16402 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power7.S: New
16403 file.
16404 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: New
16405 file.
16406 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: New file:
16407 multiarch memcpy for PPC32.
16408 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcpy
16409 multiarch objects.
16410 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
16411 (__libc_ifunc_impl_list): Likewise.
16412
4c628e00
AZ
16413 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: New file to
16414 support multiarch for POWER/PPC32.
16415 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c:
16416 Likewise.
16417 * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
16418 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: Remove
16419 Implies file to make multiarch folder appers before the fpu and
16420 default folder for power4 configuration.
16421
f4479220
SP
164222013-12-06 Siddhesh Poyarekar <siddhesh@redhat.com>
16423
16424 * scripts/bench.pl: Append volatile keyword to type.
16425
8517800f
KK
164262013-12-05 Kaz Kojima <kkojima@rr.iij4u.or.jp>
16427
16428 * sysdeps/sh/sotruss-lib.c: New file.
16429 * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: New file.
16430
180138f1
AZ
164312013-12-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16432
16433 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
16434
bbf37bdc
JM
164352013-12-05 Joseph Myers <joseph@codesourcery.com>
16436
e47cc4e0
JM
16437 [BZ #6810]
16438 * math/w_tgamma.c: Include <errno.h>.
16439 (__tgamma): Use __glibc_unlikely. Set errno on underflow to 0.
16440 * math/w_tgammaf.c: Include <errno.h>.
16441 (__tgammaf): Use __glibc_unlikely. Set errno on underflow to 0.
16442 * math/w_tgammal.c: Include <errno.h>.
16443 (__tgammal): Use __glibc_unlikely. Set errno on underflow to 0.
16444 * math/auto-libm-test-in: Do not allow missing errno on tgamma
16445 underflow. Add more tgamma tests.
16446 * math/auto-libm-test-out: Regenerated.
16447 * sysdeps/i386/fpu/libm-test-ulps: Update.
16448 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16449
bbf37bdc
JM
16450 * math/auto-libm-test-in: Add tests of log, log10, log1p, log2,
16451 sin, sinh, tan, tanh, tgamma, y0 and y1.
16452 * math/auto-libm-test-out: Regenerated.
16453 * math/libm-test.inc (TEST_COND_x86_64): New macro.
16454 (TEST_COND_x86): Likewise.
16455 (M_E2l): Remove macro.
16456 (M_E3l): Likewise.
16457 (M_2_SQRT_PIl): Likewise.
16458 (M_SQRT_PIl): Likewise.
16459 (M_1_DIV_El): Likewise.
16460 (log_test_data): Use AUTO_TESTS_f_f.
16461 (log10_test_data): Likewise.
16462 (log1p_test_data): Likewise.
16463 (log2_test_data): Likewise.
16464 (sin_test_data): Likewise.
16465 (sin_tonearest_test_data): Likewise.
16466 (sin_towardzero_test_data): Likewise.
16467 (sin_downward_test_data): Likewise.
16468 (sin_upward_test_data): Likewise.
16469 (sinh_test_data): Likewise.
16470 (sinh_tonearest_test_data): Likewise.
16471 (sinh_towardzero_test_data): Likewise.
16472 (sinh_downward_test_data): Likewise.
16473 (sinh_upward_test_data): Likewise.
16474 (tan_test_data): Likewise.
16475 (tan_tonearest_test_data): Likewise.
16476 (tan_towardzero_test_data): Likewise.
16477 (tan_downward_test_data): Likewise.
16478 (tan_upward_test_data): Likewise.
16479 (tanh_test_data): Likewise.
16480 (tgamma_test_data): Likewise.
16481 (y0_test_data): Likewise.
16482 (y1_test_data): Likewise.
16483 * math/gen-auto-libm-tests.c (special_fill_pi_4): New function.
16484 (special_real_inputs): Add pi/4.
16485 * sysdeps/i386/fpu/libm-test-ulps: Update.
16486 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16487
eb5ad6b9
AZ
164882013-12-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16489
16490 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Add "longjmp" and
16491 "longjmp_target" static probes.
16492 (__longjmp): Rename to __longjmp_symbol.
16493 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
16494 * sysdeps/powerpc/powerpc32/__longjmp.S: Define __longjmp_symbol based
16495 on which longjmp to generate.
16496 * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
16497 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Add "setjmp" static
16498 probe.
16499 (__sigsetjmp): Rename to __sigsetjmp_symbol.
16500 (__sigjmp_save): Rename to __sigjmp_save_symbol.
16501 * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
16502 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Define __sigsetjmp_symbol
16503 and __sigjmp_save_symbol based on which sigsetjmp to generated.
16504 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise
16505 * sysdeps/unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Define
16506 __longjmp_symbol based on which __longjmp to generate.
16507 * sysdeps/powerpc/powerpc64/setjmp-common.S: Add "setjmp" static
16508 probe.
16509 (setjmp): Rename to setjmp_symbol.
16510 (__sigsetjmp): Rename to __sigsetjmp_symbol.
16511 (_setjmp): Rename to _setjmp_symbol.
16512 (__sigsetjmp): Rename to __sigsetjmp_symbol.
16513 * sysdeps/powerpc/powerpc64/setjmp.S: Define setjmp_symbol,
16514 _setjmp_symbol, __sigsetjmp_symbol, and __sigjmp_save_symbol based on
16515 which setjmp to generate.
16516 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Add "longjmp" and
16517 "longjmp_target" static probes.
16518
d136c6dc
SP
165192013-12-05 Siddhesh Poyarekar <siddhesh@redhat.com>
16520
9298ecba
SP
16521 * benchtests/README: Add note about output arguments.
16522 * benchtests/bench-sincos.c: Remove file.
16523 * benchtests/sincos-inputs: New file.
16524 * scripts/bench.pl: Identify output arguments and define
16525 static variables for them.
16526
232983e9
SP
16527 * debug/stpncpy_chk.c (__stpncpy_chk): Remove unused variables.
16528
d136c6dc
SP
16529 [BZ #15941]
16530 * Makefile (INSTALL): Add install-plain.texi as the primary
16531 dependency.
16532 * manual/install-plain.texi: New file.
16533 * manual/install.texi: Include node directive only for
16534 non-plaintext output.
16535
699ff837
JM
165362013-12-04 Joseph Myers <joseph@codesourcery.com>
16537
ab07cea8
JM
16538 * stdlib/longlong.h: Update from GCC.
16539
699ff837
JM
16540 [BZ #6807]
16541 [BZ #15901]
16542 * math/w_j0.c (y0): Raise FE_DIVBYZERO on zero argument.
16543 * math/w_j0f.c (y0f): Likewise.
16544 * math/w_j0l.c (__y0l): Likewise.
16545 * math/w_j1.c (y1): Likewise.
16546 * math/w_j1f.c (y1f): Likewise.
16547 * math/w_j1l.c (__y1l): Likewise
16548 * math/w_jn.c (yn): Likewise.
16549 * math/w_jnf.c (ynf): Likewise.
16550 * sysdeps/ieee754/k_standard.c (__kernel_standard): Use ERANGE for
16551 Bessel function pole errors in _POSIX_ mode. Use NAN as return
16552 value for Bessel function domain errors outside _SVID_ mode.
16553 Adjust sign of return value for yn (negative integer, 0).
16554 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Use division
16555 by zero in return for negative x and set sign appropriately for
16556 negative n.
16557 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Likewise.
16558 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
16559 * math/libm-test.inc (y0_test_data): Add more tests and adjust
16560 expectations in error cases.
16561 (y1_test_data): Likewise.
16562 (yn_test_data): Likewise.
16563 * sysdeps/i386/fpu/libm-test-ulps: Update.
16564 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16565
5b118558
UW
165662013-11-12 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
16567
16568 * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-variants): Rename
16569 "64" to "64-v1". Add "64-v2".
16570 (abi-64-options): Rename to ...
16571 (abi-64-v1-options): ... this. Redefine _CALL_ELF.
16572 (abi-64-condition): Rename to ...
16573 (abi-64-v1-condition): ... this. Add _CALL_ELF check.,
16574 (abi-64-ld-soname): Rename to ...
16575 (abi-64-v1-ld-soname): ... this.
16576 (abi-64-v2-options): Define.
16577 (abi-64-v2-condition): Likewise.
16578 (abi-64-v2-ld-soname): Likewise.
16579 * sysdeps/unix/sysv/linux/powerpc/ldconfig.h
16580 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add "/lib64/ld64.so.2".
16581 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: Delete file.
16582 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: New file.
16583 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Generate.
16584
61cd8fe4
UW
165852013-11-12 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
16586 Alan Modra <amodra@gmail.com>
16587
16588 * sysdeps/powerpc/bits/link.h (La_ppc64v2_regs, La_ppc64v2_retval):
16589 New versions for use with the ELFv2 ABI.
16590 (la_ppc64v2_gnu_pltenter, la_ppc64v2_gnu_pltexit): Add prototypes.
16591 * sysdeps/powerpc/lsdodefs.h (struct La_ppc64v2_regs): Add forward
16592 declaration.
16593 (struct La_ppc64v2_retval): Likewise.
16594 (ARCH_PLTENTER_MEMBERS): Add ppc64v2_gnu_pltenter.
16595 (ARCH_PLTEXIT_MEMBERS): Add ppc64v2_gnu_pltexit.
16596 * sysdeps/powerpc/powerpc64/dl-machine.h (ARCH_LA_PLTENTER): Define
16597 to ppc64v2_gnu_pltenter if _CALL_ELF == 2.
16598 (ARCH_LA_PLTEXIT): Define to ppc64v2_gnu_pltexit if _CALL_ELF == 2.
16599 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
16600 Do not save or restore CR.
16601 (FRAME_SIZE, VR_RTN): Provide updated values for _CALL_ELF == 2.
16602 (_dl_profile_resolve): Do no save or restore CR. Support extended
16603 return values for ELFv2 ABI. Fix location of FPR return registers.
16604 * sysdeps/powerpc/powerpc64/tst-audit.h (pltenter, pltexit): Provide
16605 updated values for _CALL_ELF == 2.
16606 (La_regs, La_retval, int_retval): Likewise.
16607
8b8a692c
UW
166082013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
16609
16610 * sysdeps/powerpc/powerpc64/sysdep.h (FRAME_MIN_SIZE): Define.
16611 (FRAME_MIN_SIZE_PARM): Likewise.
16612 (FRAME_BACKCHAIN): Likewise.
16613 (FRAME_CR_SAVE): Likewise.
16614 (FRAME_LR_SAVE): Likewise.
16615 (FRAME_TOC_SAVE): Likewise.
16616 (FRAME_PARM_SAVE): Likewise.
16617 (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE,
16618 FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE,
16619 FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
16620 (call_mcount_parm_offset): New macro.
16621 (SAVE_ARG, REST_ARG, CFI_SAVE_ARG): Use it.
16622 (PROF): Use symbolic stack frame offsets.
16623 (TAIL_CALL_SYSCALL_ERROR): Likewise.
16624 * sysdeps/powerpc/powerpc64/dl-trampoline.S (FRAME_SIZE, INT_PARMS):
16625 Redefine in terms of FRAME_MIN_SIZE.
16626 (_dl_runtime_resolve): Use symbolic stack frame offsets.
16627 (_dl_profile_resolve): Likewise. Update comment.
16628 * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Use
16629 symbols stack frame offsets.
16630 (__sigsetjmp): Likewise.
16631 * sysdeps/powerpc/powerpc64/__longjmp-common.S (__longjmp): Likewise.
16632 * sysdeps/powerpc/powerpc64/ppc-mcount.S (_mcount): Likewise.
16633 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Likewise.
16634 * sysdeps/powerpc/powerpc64/crtn.S (_init, _fini): Likewise.
16635
16636 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ucontext_i.sym
16637 (FRAME_BACKCHAIN): Remove.
16638 (FRAME_CR_SAVE): Likewise.
16639 (FRAME_LR_SAVE): Likewise.
16640 (FRAME_COMPILER_DW): Likewise.
16641 (FRAME_LINKER_DW): Likewise.
16642 (FRAME_TOC_SAVE): Likewise.
16643 (FRAME_PARM_SAVE): Likewise.
57f41c40
AS
16644 (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE)
16645 (FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE)
16646 (FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
8b8a692c
UW
16647 * sysdeps/unix/sysv/linux/powerpc/powerpc64/____longjmp_chk.S
16648 (CHECK_SP): Use symbolic stack frame offsets.
16649 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Use "red
16650 zone" instead of caller's parameter save area for temp storage.
16651 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
16652 Likewise. Also, use symbolic stack frame offsets.
16653 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (FRAMESIZE,
16654 stackblock): Redefine for _CALL_ELF == 2 to save parameters into
16655 our own stack frame instead of the caller's.
16656 (__socket): Use symbolic stack frame offsets.
16657
122b66de
UW
166582013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
16659 Alan Modra <amodra@gmail.com>
16660
16661 * elf/elf.h (DT_PPC64_OPT, PPC64_OPT_TLS, PPC64_OPT_MULTI_TOC):
16662 Define.
57f41c40
AS
16663 (STO_PPC64_LOCAL_BIT, STO_PPC64_LOCAL_MASK)
16664 (PPC64_LOCAL_ENTRY_OFFSET): Define.
122b66de
UW
16665 * sysdeps/powerpc/powerpc64/dl-machine.h (ppc64_local_entry_offset):
16666 New function.
16667 (elf_machine_fixup_plt): Call it.
16668 (elf_machine_plt_conflict): Likewise. Add map, sym_map, and
16669 reloc arguments.
16670 (elf_machine_rela): Update call to elf_machine_plt_conflict.
57f41c40
AS
16671 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
16672 (_dl_profile_resolve) [_CALL_ELF == 2]: Restore caller's TOC into
122b66de
UW
16673 r2 before calling target.
16674
696caf1d
UW
166752013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
16676 Alan Modra <amodra@gmail.com>
16677
16678 * sysdeps/powerpc/powerpc64/sysdep.h [_CALL_ELF == 2]
16679 (PPC64_LOAD_FUNCPTR, DOT_LABEL, BODY_LABEL, ENTRY_2, END_2): New
16680 versions of macros to support ELFv2 ABI.
16681 (LOCALENTRY): New macro.
16682 (ENTRY, EALIGN): Use it.
16683 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use LOCALENTRY.
16684 * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Do not
16685 fall through into ENTRY entry point.
16686 * libc/sysdeps/powerpc/powerpc64/dl-machine.h (Elf64_FuncDesc):
16687 Only define if _CALL_ELF != 2.
16688
16689 (elf_machine_matches_host): Verify ABI version matches.
16690 (RTLD_START): Use LOCALENTRY.
16691 (elf_machine_type_class): Use SHN_UNDEF PLT handling for ELFv2 ABI.
16692 (PLT_INITIAL_ENTRY_WORDS): New version for _CALL_ELF != 2.
16693 (PLT_ENTRY_WORDS): New macro.
16694 (GLINK_INITIAL_ENTRY_WORDS, GLINK_ENTRY_WORDS): Likewise.
16695 (elf_machine_runtime_setup): Support ELFv2 ABI.
16696 (elf_machine_fixup_plt): Likewise.
16697 (elf_machine_plt_conflict): Likewise.
16698 (resolve_ifunc): Likewise.
16699 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
16700 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
16701 Likewise.
16702 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ldsodefs.h
16703 (DL_ADDR_SYM_MATCH): Only define if _CALL_ELF != 2.
16704 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
16705 (makecontext): Support ELFv2 ABI.
16706 * elf/elf.h (EF_PPC64_ABI): Define.
16707
d31beafa
UW
167082013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
16709
57f41c40
AS
16710 * sysdeps/powerpc/powerpc64/sysdep.h
16711 (PPC64_LOAD_FUNCPTR) [ASSEMBLER]: New assembler macro.
16712 (ENTRY_1) [ASSEMBLER]: Do not switch to .text section here ...
16713 (ENTRY) [ASSEMBLER]: ... but instead here ...
16714 (EALIGN) [ASSEMBLER]: ... and here.
16715 (PPC64_LOAD_FUNCPTR) [!ASSEMBLER]: New macro.
16716 (ENTRY_1) [!ASSEMBLER]: New macro; set up .opd entry.
16717 (ENTRY_2) [!ASSEMBLER]: Use it.
d31beafa
UW
16718 * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Update for
16719 ENTRY_2 changes. Use PPC64_LOAD_FUNCPTR.
57f41c40
AS
16720 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
16721 (_dl_profile_resolve): Use PPC64_LOAD_FUNCPTR.
d31beafa
UW
16722 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use ENTRY_2.
16723 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (clone):
16724 Use PPC64_LOAD_FUNCPTR.
16725
b525166b
UW
16726 * sysdeps/powerpc/tls.h (tcbhead_t): Add __private_ss field.
16727
7ec07d9a
AM
167282013-12-04 Alan Modra <amodra@gmail.com>
16729
16730 * elf/elf.h (R_PPC64_TLSGD, R_PPC64_TLSLD, R_PPC64_TOCSAVE): Define.
16731 (R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA): Likewise.
16732 (R_PPC64_TPREL16_HIGH, R_PPC64_TPREL16_HIGHA): Likewise.
16733 (R_PPC64_DTPREL16_HIGH, R_PPC64_DTPREL16_HIGHA): Likewise.
16734
16735 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Add
16736 overflow checking for R_PPC64_ADDR16_HI, R_PPC64_ADDR16_HA,
16737 R_PPC64_TPREL16_HI, and R_PPC64_TPREL16_HA.
16738 Support new R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA,
16739 R_PPC64_TPREL16_HIGH, and R_PPC64_TPREL16_HIGHA relocations.
16740 Fix overflow checking for R_PPC64_ADDR30 and R_PPC64_ADDR32.
16741
5162e7dd
UW
167422013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
16743
16744 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
16745 (__makecontext): Fix incorrect CFI when backtracing out of
16746 context created via makecontext.
16747 * sysdeps/unix/sysv/linux/powerpc/powerpc64/secontext.S
16748 (__setcontext): Fix incorrect CFI during switch to new context.
16749 (__novec_setcontext): Likewise.
16750
19e3372b
OB
167512013-12-04 Ondřej Bílka <neleai@seznam.cz>
16752
16753 [BZ #4772]
16754 * time/strptime_l.c (__strptime_internal): Allow modifiers
16755 in strptime.
16756 * time/tst-strptime.c (day_tests): Add testcase.
16757
ecaf142d
SP
167582013-12-04 Siddhesh Poyarekar <siddhesh@redhat.com>
16759
16760 * scripts/bench.pl: Skip over blank lines.
16761
fbf964ae
PE
167622013-12-04 Paul Eggert <eggert@cs.ucla.edu>
16763
16764 [BZ #926]
16765 * manual/time.texi (Calendar Time): Clarify what timezone functions
16766 use.
16767
fa60a674
AZ
167682013-12-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16769
16770 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
16771
d674f0ef
OB
167722013-12-04 Ondřej Bílka <neleai@seznam.cz>
16773
16774 * debug/memcpy_chk.c (__memcpy_chk): Use call instead of custom
16775 implementation.
16776 * debug/memmove_chk.c (MEMMOVE_CHK): Likewise.
16777 * debug/mempcpy_chk.c (__mempcpy_chk): Likewise.
16778 * debug/memset_chk.c (__memset_chk): Likewise.
16779 * debug/stpncpy_chk.c (__stpncpy_chk): Likewise.
16780 * debug/strncpy_chk.c: Likewise.
16781
17dea188
JM
167822013-12-03 Joseph Myers <joseph@codesourcery.com>
16783
749008ff
JM
16784 [BZ #15268]
16785 [BZ #15425]
16786 * sysdeps/ieee754/dbl-64/e_exp.c: Include <float.h>.
16787 (__ieee754_exp): For possibly underflowing results, check size of
16788 result and force underflow exception if required.
16789 * math/auto-libm-test-in: Add more tests of exp.
16790 * math/auto-libm-test-out: Regenerated.
16791 * sysdeps/i386/fpu/libm-test-ulps: Update.
16792 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16793
17dea188
JM
16794 [BZ #16283]
16795 * math/w_exp2.c (__exp2): Handle a zero result as underflow.
16796 * math/w_exp2f.c (__exp2f): Likewise.
16797 * math/w_exp2l.c (__exp2l): Likewise.
16798 * math/auto-libm-test-in: Do not allow missing errno on exp2
16799 underflow.
16800 * math/auto-libm-test-out: Regenerated.
16801
b20de2c3
OB
168022013-12-03 Ondřej Bílka <neleai@seznam.cz>
16803
16804 [BZ #16274]
16805 * sysdeps/unix/sysv/linux/shm_open.c (shm_open): Correctly
16806 handle filename validation.
16807 * rt/tst-shm.c (do_test): Do not skip a test when shm_open fails.
16808 (do_open): Delete.
16809
d8e2dbe3
JM
168102013-12-03 Joseph Myers <joseph@codesourcery.com>
16811
34e16df5
JM
16812 [BZ #6786]
16813 * sysdeps/ieee754/dbl-64/s_erf.c: Include <errno.h> and <float.h>.
16814 (__erfc): Set errno to ERANGE when returning 0 or tiny * tiny.
16815 * sysdeps/ieee754/flt-32/s_erff.c: Include <errno.h> and
16816 <float.h>.
16817 (__erfcf): Set errno to ERANGE when returning 0 or tiny * tiny.
16818 * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <errno.h>.
16819 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
16820 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <errno.h>.
16821 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
16822 * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <errno.h>.
16823 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
16824 * math/auto-libm-test-in: Don't allow missing errno from erfc.
16825 Add more erfc tests.
16826 * math/auto-libm-test-out: Regenerated.
16827 * sysdeps/i386/fpu/libm-test-ulps: Update.
16828 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16829
d8e2dbe3
JM
16830 * math/auto-libm-test-in: Add tests of erf, erfc, exp, exp10,
16831 exp2, expm1, j0 and j1.
16832 * math/auto-libm-test-out: Regenerated.
16833 * math/libm-test.inc (erf_test_data): Use AUTO_TESTS_f_f.
16834 (erfc_test_data): Likewise.
16835 (exp_test_data): Likewise.
16836 (exp_tonearest_test_data): Likewise.
16837 (exp_towardzero_test_data): Likewise.
16838 (exp_downward_test_data): Likewise.
16839 (exp_upward_test_data): Likewise.
16840 (exp10_test_data): Likewise.
16841 (exp2_test_data): Likewise.
16842 (expm1_test_data): Likewise.
16843 (j0_test_data): Likewise.
16844 (j1_test_data): Likewise.
16845 * math/gen-auto-libm-tests.c: Mention "xfail-rounding" in comment.
16846 (input_flag_type): Add flag_xfail_rounding.
16847 (input_flags): Add xfail-rounding.
16848 (adjust_real): Assert mpfr_number_p not mpfr_regular_p.
16849 (output_for_one_input_case): Handle flag_xfail_rounding.
16850 * sysdeps/i386/fpu/libm-test-ulps: Update.
16851 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16852
18d14251
AJ
168532013-12-03 Aurelien Jarno <aurelien@aurel32.net>
16854
3d2e6075 16855 [BZ #16289]
18d14251
AJ
16856 * locale/loadarchive.c (_nl_load_locale_from_archive): Avoid
16857 division by 0.
16858
520d437b
SP
168592013-12-03 Siddhesh Poyarekar <siddhesh@redhat.com>
16860
16861 [BZ #16195]
16862 * include/stap-probe.h [!USE_STAP_PROBE && !__ASSEMBLER__]
16863 (LIBC_PROBE): Change definition to call STAP_PROBE* macros.
16864 (STAP_PROBE0): New macro.
16865 (STAP_PROBE1): Likewise.
16866 (STAP_PROBE2): Likewise.
16867 (STAP_PROBE3): Likewise.
16868 (STAP_PROBE4): Likewise.
16869
416e0145
OB
168702013-12-02 Ondřej Bílka <neleai@seznam.cz>
16871
16872 * manual/llio.texi (Memory-mapped I/O): Add shm_open and shm_close.
16873
9d17796a
SE
168742013-12-02 Steve Ellcey <sellcey@mips.com>
16875
16876 * benchtests/Makefile (bench): Add sqrt.
16877 (LDLIBS-bench-sqrt): New.
16878 * benchtests/sqrt-input: New.
16879
f524d6a8
PS
168802013-12-02 Pavel Simerda <psimerda@redhat.com>
16881
639a0ef8
PS
16882 * sysdeps/posix/getaddrinfo.c (GAIH_OKIFUNSPEC): Remove macro.
16883 (GAIH_EAI): Likewise.
16884 (gaih_inet_serv): Don't use GAIH_OKIFUNSPEC.
16885 (gaih_inet): Likewise.
16886 (getaddrinfo): Don't use GAIH_EAI.
16887
f524d6a8
PS
16888 * sysdeps/posix/getaddrinfo.c (UNIX_PATH_MAX): Remove macro.
16889 (struct gaih): Remove definition.
16890
df3aedaf
SP
168912013-12-02 Siddhesh Poyarekar <siddhesh@redhat.com>
16892
16893 * nss/nss_files/files-hosts.c (_nss_files_gethostbyname4_r):
16894 Use HERRNOP directly.
16895
1ab19dec
AZ
168962013-12-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16897
b42ad38d 16898 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1ab19dec 16899
176b0c79
JM
169002013-11-30 Joseph Myers <joseph@codesourcery.com>
16901
16902 * math/gen-auto-libm-tests.c (test_functions): Add more
16903 single-argument functions.
16904 (special_fill_pi_2): New function.
16905 (special_fill_minus_pi_2): Likewise.
16906 (special_fill_pi_6): Likewise.
16907 (special_fill_minus_pi_6): Likewise.
16908 (special_fill_pi_3): Likewise.
16909 (special_fill_2pi_3): Likewise.
16910 (special_fill_e): Likewise.
16911 (special_fill_1_e): Likewise.
16912 (special_fill_e_minus_1): Likewise.
16913 (special_real_inputs): Add more special inputs.
16914 (output_for_one_input_case): Do not require ERANGE on underflow to
16915 zero if round-to-nearest result does not underflow to zero, unless
16916 exact results required.
16917 * math/auto-libm-test-in: Add tests of acos, acosh, asin, asinh,
16918 atan, atanh, cbrt, cos and cosh.
16919 * math/auto-libm-test-out: Regenerated.
16920 * math/libm-test.inc (acos_test_data): Use AUTO_TESTS_f_f.
16921 (acos_tonearest_test_data): Likewise.
16922 (acos_towardzero_test_data): Likewise.
16923 (acos_downward_test_data): Likewise.
16924 (acos_upward_test_data): Likewise.
16925 (acosh_test_data): Likewise.
16926 (asin_test_data): Likewise.
16927 (asin_tonearest_test_data): Likewise.
16928 (asin_towardzero_test_data): Likewise.
16929 (asin_upward_test_data): Likewise.
16930 (asinh_test_data): Likewise.
16931 (atan_test_data): Likewise.
16932 (atanh_test_data): Likewise.
16933 (cbrt_test_data): Likewise.
16934 (cos_test_data): Likewise.
16935 (cos_tonearest_test_data): Likewise.
16936 (cos_towardzero_test_data): Likewise.
16937 (cos_downward_test_data): Likewise.
16938 (cos_upward_test_data): Likewise.
16939 (cosh_test_data): Likewise.
16940 (cosh_tonearest_test_data): Likewise.
16941 (cosh_towardzero_test_data): Likewise.
16942 (cosh_downward_test_data): Likewise.
16943 (cosh_upward_test_data): Likewise.
16944 * sysdeps/i386/fpu/libm-test-ulps: Update.
16945 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16946
ffb536d0
JM
169472013-11-29 Joseph Myers <joseph@codesourcery.com>
16948
2a77a467
JM
16949 [BZ #6787]
16950 * math/w_exp10.c (__exp10): Handle a zero result as underflow.
16951 * math/w_exp10f.c (__exp10f): Likewise.
16952 * math/w_exp10l.c (__exp10l): Likewise.
16953 * math/libm-test.inc (exp10_test_data): Add more tests and expect
16954 errno settings in existing tests.
16955
ea3bc4e8
JM
16956 [BZ #14032]
16957 * sysdeps/i386/fpu/e_sqrt.S (__ieee754_sqrt): Do fsqrt with
16958 precision control set to double precision.
16959 * sysdeps/i386/fpu/w_sqrt.c: New file.
16960 * math/auto-libm-test-in: Add more tests.
16961 * math/auto-libm-test-out: Update.
16962
0712c9d8
JM
16963 * math/libm-test.inc (sqrt_tonearest_test_data): New variable.
16964 (sqrt_test_tonearest): New function.
16965 (sqrt_towardzero_test_data): New variable.
16966 (sqrt_test_towardzero): New function.
16967 (sqrt_downward_test_data): New variable.
16968 (sqrt_test_downward): New function.
16969 (sqrt_upward_test_data): New variable.
16970 (sqrt_test_upward): New function.
16971 (main): Call the new functions.
16972
ffb536d0
JM
16973 * math/gen-auto-libm-tests.c: New file.
16974 * math/auto-libm-test-in: Likewise.
16975 * math/auto-libm-test-out: New generated file.
16976 * math/gen-libm-test.pl ($auto_input, %auto_tests): New global
16977 variables.
16978 (%beautify): Add generated representations of zero.
16979 (top level): Set $auto_input and call parse_auto_input.
16980 (beautify): Remove trailing "f" from hex float constants.
16981 (parse_args): Handle XFAIL_TEST.
16982 (convert_condition): New function.
16983 (or_value): Likewise.
16984 (or_cond_value): Likewise.
16985 (generate_testfile): Handle AUTO_TESTS_* lines.
16986 (parse_auto_input): New function.
16987 * math/libm-test.inc (XFAIL_TEST): New macro.
16988 (ERRNO_UNCHANGED): Update value.
16989 (ERRNO_EDOM): Likewise.
16990 (ERRNO_ERANGE): Likewise.
16991 (IGNORE_RESULT): Likewise.
16992 (TEST_COND_flt_32): New macro.
16993 (TEST_COND_dbl_64): Likewise.
16994 (TEST_COND_ldbl_96_intel): Likewise.
16995 (TEST_COND_ldbl_96_m68k): Likewise.
16996 (TEST_COND_ldbl_128): Likewise.
16997 (TEST_COND_ldbl_128ibm): Likewise.
16998 (TEST_COND_long32): Likewise.
16999 (TEST_COND_long64): Likewise.
17000 (TEST_COND_before_rounding): Likewise.
17001 (TEST_COND_after_rounding): Likewise.
17002 (enable_test): Handle XFAIL_TEST flag.
17003 (sqrt_test_data): Use AUTO_TESTS_f_f for tests of finite inputs
17004 with finite results.
17005 * math/Makefile ($(objpfx)libm-test.stmp): Depend on
17006 auto-libm-test-out.
17007
acd98a8e
AK
170082013-11-29 Siddhesh Poyarekar <siddhesh@redhat.com>
17009 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
17010
17011 [BZ #16214]
17012 * sysdeps/s390/dl-tls.h (__TLS_GET_ADDR): Invoke
17013 __tls_get_addr_internal instead of __tls_get_offset in order to
17014 avoid GOT pointer dependency. Make rtld export
17015 __tls_get_addr_internal@@GLIBC_PRIVATE while still hiding
17016 __tls_get_addr since we are a __tls_get_offset platform.
17017 * sysdeps/s390/s390-64/tls-macros.h (TLS_IE PIC): Don't rely on
17018 GOT pointer being set up before.
17019 * sysdeps/s390/s390-32/tls-macros.h (TLS_IE PIC): Likewise.
17020
3c1c46a6
JM
170212013-11-28 Joseph Myers <joseph@codesourcery.com>
17022
7475aef5
JM
17023 * manual/math.texi (Errors in Math Functions): Document accuracy
17024 goals.
17025
8bca7cd8
JM
17026 [BZ #15004]
17027 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Remove file.
17028 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: Likewise.
17029 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
17030 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
17031 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
17032 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
17033 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
17034 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
17035 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
17036 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
17037 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
17038 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
17039 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
17040 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
17041 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
17042 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
17043
91a1f3fe
JM
17044 * sysdeps/powerpc/nofpu/atomic-feclearexcept.c: New file.
17045 * sysdeps/powerpc/nofpu/atomic-feholdexcept.c: Likewise.
17046 * sysdeps/powerpc/nofpu/atomic-feupdateenv.c: Likewise.
17047 * sysdeps/powerpc/nofpu/flt-rounds.c: Likewise.
17048 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feclearexcept.c:
17049 Likewise.
17050 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feholdexcept.c:
17051 Likewise.
17052 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feupdateenv.c:
17053 Likewise.
17054 * sysdeps/powerpc/powerpc32/e500/nofpu/flt-rounds.c: Likewise.
17055 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = soft-fp]
17056 (sysdep_routines): Add atomic-feholdexcept, atomic-feclearexcept,
17057 atomic-feupdateenv and flt-rounds.
17058 * sysdeps/powerpc/nofpu/Versions (libc): Add
17059 __atomic_feholdexcept, __atomic_feclearexcept,
17060 __atomic_feupdateenv and __flt_rounds to GLIBC_2.19.
17061 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h
17062 (__feraiseexcept_soft): Declare and use libc_hidden_proto here.
17063 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c
17064 (__feraiseexcept_soft): Don't declare and use libc_hidden_proto
17065 here.
17066 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
17067 Update.
17068
c5df7609
JM
17069 * manual/arith.texi (FP Exceptions): Document that exceptions may
17070 not be raised when matherr is used.
17071 (Math Error Reporting): Document overflow in directed rounding
17072 modes. Document that errno may not be set when finite values are
17073 returned on overflow. Document intent to set errno on underflow
17074 only for underflow to zero.
17075
3c1c46a6
JM
17076 [BZ #16271]
17077 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Set
17078 round-to-nearest then adjust result for other rounding modes.
17079 * include/fenv.h (fegetround): Use libm_hidden_proto.
17080 * math/fegetround.c (fegetround): Use libm_hidden_def.
17081 * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
17082 * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
17083 * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
17084 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
17085 Likewise.
17086 * sysdeps/s390/fpu/fegetround.c (fegetround): Likewise.
17087 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
17088 * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
17089 * sysdeps/x86_64/fpu/fegetround.c (fegetround): Likewise.
17090
5a4c6d53
SP
170912013-11-28 Siddhesh Poyarekar <siddhesh@redhat.com>
17092
17093 [BZ #16077]
17094 * nss/Versions (libnss_files): Add
17095 _nss_files_gethostbyname3_r.
17096 * nss/nss_files/files-hosts.c (_nss_files_gethostbyname3_r):
17097 New function.
17098 (HOST_DB_LOOKUP): Remove macro.
17099 (_nss_files_gethostbyname_r): Implement function without the
17100 HOST_DB_LOOKUP macro.
17101 (_nss_files_gethostbyname2_r): Likewise.
17102
897b98ba
OB
171032013-11-28 Ondřej Bílka <neleai@seznam.cz>
17104
17105 * malloc/malloc.c (__libc_calloc): Make memset a tail call.
17106
6f476861
UB
171072013-11-26 Uros Bizjak <ubizjak@gmail.com>
17108
17109 * soft-fp/op-4.h (_FP_FRAC_ASSEMBLE_4): Check rsize against
17110 _FP_W_TYPE_SIZE to avoid "left shift count >= width of type"
17111 warning.
17112
bd12ab55
AZ
171132013-11-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17114
17115 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Use
17116 __fe_nomask_env_priv instead of __fe_nomask_env to avoid a PLT call.
17117 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
17118 * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Likewise.
17119 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Rename to
17120 __fe_nomask_env_priv and attribute_hidden.
17121 * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetenv_ppc): Likewise.
17122 (libc_feupdateenv_test_ppc): Likewise.
17123 (libc_feresetround_ppc): Likewise.
17124 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
17125 (__fe_nomask_env): Rename to __fe_nomask_env_priv and adjust
17126 compat_symbol macro.
17127 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
17128 (__fe_nomask_env): Likewise.
17129 * sysdeps/powerpc/fpu/fe_nomask.c (__fe_nomask_env): Likewise.
17130
52bb6543
OB
171312013-11-26 Ondřej Bílka <neleai@seznam.cz>
17132
17133 * string/Makefile: Remove ifunc tests.
17134 * string/test-string.h: Define TEST_IFUNC.
17135 * string/test-bcopy-ifunc.c: Remove.
17136 * string/test-bzero-ifunc.c: Likewise.
17137 * string/test-memccpy-ifunc.c: Likewise.
17138 * string/test-memchr-ifunc.c: Likewise.
17139 * string/test-memcmp-ifunc.c: Likewise.
17140 * string/test-memcpy-ifunc.c: Likewise.
17141 * string/test-memmem-ifunc.c: Likewise.
17142 * string/test-memmove-ifunc.c: Likewise.
17143 * string/test-mempcpy-ifunc.c: Likewise.
17144 * string/test-memrchr-ifunc.c: Likewise.
17145 * string/test-memset-ifunc.c: Likewise.
17146 * string/test-rawmemchr-ifunc.c: Likewise.
17147 * string/test-stpcpy-ifunc.c: Likewise.
17148 * string/test-stpncpy-ifunc.c: Likewise.
17149 * string/test-strcasecmp-ifunc.c: Likewise.
17150 * string/test-strcasestr-ifunc.c: Likewise.
17151 * string/test-strcat-ifunc.c: Likewise.
17152 * string/test-strchr-ifunc.c: Likewise.
17153 * string/test-strchrnul-ifunc.c: Likewise.
17154 * string/test-strcmp-ifunc.c: Likewise.
17155 * string/test-strcpy-ifunc.c: Likewise.
17156 * string/test-strcspn-ifunc.c: Likewise.
17157 * string/test-strlen-ifunc.c: Likewise.
17158 * string/test-strncasecmp-ifunc.c: Likewise.
17159 * string/test-strncat-ifunc.c: Likewise.
17160 * string/test-strncmp-ifunc.c: Likewise.
17161 * string/test-strncpy-ifunc.c: Likewise.
17162 * string/test-strnlen-ifunc.c: Likewise.
17163 * string/test-strpbrk-ifunc.c: Likewise.
17164 * string/test-strrchr-ifunc.c: Likewise.
17165 * string/test-strspn-ifunc.c: Likewise.
17166 * string/test-strstr-ifunc.c: Likewise.
17167
ab260039 171682013-11-26 Ondřej Bílka <neleai@seznam.cz>
2787db97
OB
17169
17170 * benchtests/Makefile: Remove ifunc tests.
17171 * benchtests/bench-string.h: Define TEST_IFUNC.
17172 * benchtests/bench-bcopy-ifunc.c: Remove.
17173 * benchtests/bench-bzero-ifunc.c: Likewise.
17174 * benchtests/bench-memccpy-ifunc.c: Likewise.
17175 * benchtests/bench-memchr-ifunc.c: Likewise.
17176 * benchtests/bench-memcmp-ifunc.c: Likewise.
17177 * benchtests/bench-memcpy-ifunc.c: Likewise.
17178 * benchtests/bench-memmem-ifunc.c: Likewise.
17179 * benchtests/bench-memmove-ifunc.c: Likewise.
17180 * benchtests/bench-mempcpy-ifunc.c: Likewise.
17181 * benchtests/bench-memrchr-ifunc.c: Likewise.
17182 * benchtests/bench-memset-ifunc.c: Likewise.
17183 * benchtests/bench-rawmemchr-ifunc.c: Likewise.
17184 * benchtests/bench-stpcpy_chk-ifunc.c: Likewise.
17185 * benchtests/bench-stpcpy-ifunc.c: Likewise.
17186 * benchtests/bench-stpncpy-ifunc.c: Likewise.
17187 * benchtests/bench-strcasecmp-ifunc.c: Likewise.
17188 * benchtests/bench-strcasestr-ifunc.c: Likewise.
17189 * benchtests/bench-strcat-ifunc.c: Likewise.
17190 * benchtests/bench-strchr-ifunc.c: Likewise.
17191 * benchtests/bench-strchrnul-ifunc.c: Likewise.
17192 * benchtests/bench-strcmp-ifunc.c: Likewise.
17193 * benchtests/bench-strcpy_chk-ifunc.c: Likewise.
17194 * benchtests/bench-strcpy-ifunc.c: Likewise.
17195 * benchtests/bench-strcspn-ifunc.c: Likewise.
17196 * benchtests/bench-strlen-ifunc.c: Likewise.
17197 * benchtests/bench-strncasecmp-ifunc.c: Likewise.
17198 * benchtests/bench-strncat-ifunc.c: Likewise.
17199 * benchtests/bench-strncmp-ifunc.c: Likewise.
17200 * benchtests/bench-strncpy-ifunc.c: Likewise.
17201 * benchtests/bench-strnlen-ifunc.c: Likewise.
17202 * benchtests/bench-strpbrk-ifunc.c: Likewise.
17203 * benchtests/bench-strrchr-ifunc.c: Likewise.
a9503496 17204 * benchtests/bench-strsep-ifunc.c: Likewise.
2787db97
OB
17205 * benchtests/bench-strspn-ifunc.c: Likewise.
17206 * benchtests/bench-strstr-ifunc.c: Likewise.
17207
172082013-11-26 Ondřej Bílka <neleai@seznam.cz>
17209
ab260039
OB
17210 * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Fix typo.
17211
d1d9eaf4 172122013-11-26 Ondřej Bílka <neleai@seznam.cz>
2787db97 17213
d1d9eaf4
OB
17214 * resolv/netdb.h: Use __glibc_reserved instead __unused.
17215 * rt/aio.h: Likewise.
17216 * sysdeps/gnu/bits/utmp.h: Likewise.
17217 * sysdeps/gnu/bits/utmpx.h: Likewise.
17218 * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
17219 * sysdeps/unix/sysv/linux/bits/ipc.h: Likewise.
17220 * sysdeps/unix/sysv/linux/bits/msq.h: Likewise.
17221 * sysdeps/unix/sysv/linux/bits/sem.h: Likewise.
17222 * sysdeps/unix/sysv/linux/bits/shm.h: Likewise.
17223 * sysdeps/unix/sysv/linux/bits/stat.h: Likewise.
17224 * sysdeps/unix/sysv/linux/kernel_stat.h: Likewise.
17225 * sysdeps/unix/sysv/linux/ntp_gettimex.c: Likewise.
17226 * sysdeps/unix/sysv/linux/powerpc/bits/ipc.h: Likewise.
17227 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h: Likewise.
17228 * sysdeps/unix/sysv/linux/powerpc/bits/sem.h: Likewise.
17229 * sysdeps/unix/sysv/linux/powerpc/bits/shm.h: Likewise.
17230 * sysdeps/unix/sysv/linux/powerpc/bits/stat.h: Likewise.
17231 * sysdeps/unix/sysv/linux/powerpc/powerpc32/kernel_stat.h: Likewise.
17232 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
17233 * sysdeps/unix/sysv/linux/s390/bits/ipc.h: Likewise.
17234 * sysdeps/unix/sysv/linux/s390/bits/msq.h: Likewise.
17235 * sysdeps/unix/sysv/linux/s390/bits/sem.h: Likewise.
17236 * sysdeps/unix/sysv/linux/s390/bits/shm.h: Likewise.
17237 * sysdeps/unix/sysv/linux/s390/bits/stat.h: Likewise.
17238 * sysdeps/unix/sysv/linux/s390/bits/utmp.h: Likewise.
17239 * sysdeps/unix/sysv/linux/s390/bits/utmpx.h: Likewise.
17240 * sysdeps/unix/sysv/linux/s390/s390-32/utmp32.h: Likewise.
17241 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
17242 * sysdeps/unix/sysv/linux/sh/bits/shm.h: Likewise.
17243 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
17244 * sysdeps/unix/sysv/linux/sparc/bits/ipc.h: Likewise.
17245 * sysdeps/unix/sysv/linux/sparc/bits/msq.h: Likewise.
17246 * sysdeps/unix/sysv/linux/sparc/bits/sem.h: Likewise.
17247 * sysdeps/unix/sysv/linux/sparc/bits/shm.h: Likewise.
17248 * sysdeps/unix/sysv/linux/sparc/bits/stat.h: Likewise.
17249 * sysdeps/unix/sysv/linux/sparc/sparc32/kernel_stat.h: Likewise.
17250 * sysdeps/unix/sysv/linux/sparc/sparc64/kernel_stat.h: Likewise.
17251 * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
17252 * sysdeps/unix/sysv/linux/sparc/sys/procfs.h: Likewise.
17253 * sysdeps/unix/sysv/linux/sys/timex.h: Likewise.
17254 * sysdeps/unix/sysv/linux/x86/bits/msq.h: Likewise.
17255 * sysdeps/unix/sysv/linux/x86/bits/sem.h: Likewise.
17256 * sysdeps/unix/sysv/linux/x86/bits/shm.h: Likewise.
17257 * sysdeps/unix/sysv/linux/x86/bits/stat.h: Likewise.
17258 * sysdeps/unix/sysv/linux/xstatconv.c: Likewise.
17259 * sysdeps/x86/fpu/bits/fenv.h: Likewise.
17260
a7624ed9
CD
172612013-11-25 Carlos O'Donell <carlos@redhat.com>
17262
17263 [BZ #16245]
17264 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes):
17265 Rename PTRAVE_EVENT_SECCOMP to PTRACE_EVENT_SECCOMP.
17266
63cfe52b
JM
172672013-11-25 Joseph Myers <joseph@codesourcery.com>
17268
17269 * sysdeps/powerpc/nofpu/fenv_libc.h (__fegetround): New macro.
17270 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
17271 Likewise.
17272
41e8926a
AZ
172732013-11-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17274
17275 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Use
17276 SET_RESTORE_ROUND instead of feholdexcept/fesetround/fesetenv.
17277 * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove define.
17278 (__fesetround): Remove define.
17279 * sysdeps/powerpc/fpu/fenv_private.h: New file: Inline floating point
17280 rounding and exceptions handling.
17281 * sysdeps/powerpc/fpu/math_private.h: Include fenv_private.h.
17282 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_mask_env): Define as hidden.
17283 (__fe_nomask_env): Likewise.
17284 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Use
17285 __fegetround instead of fegetround.
17286 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
17287 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c (__rintl): Likewise.
17288
6851bd4d
RM
172892013-11-21 Roland McGrath <roland@hack.frob.com>
17290
070906ff
RM
17291 * malloc/malloc.c: Move #include <sys/param.h> to the top; comment why
17292 it's there.
17293
6851bd4d
RM
17294 * sysdeps/generic/sys/swap.h (swapon): Add FLAGS argument to prototype.
17295
84ae135d
MI
172962013-11-21 Meador Inge <meadori@codesourcery.com>
17297
17298 [BZ #11157]
17299 * crypt/crypt.h (encrypt): Use __glibc_block instead of __block.
17300 (encrypt_r): Likewise.
17301 * malloc/obstack.h (obstack_free): Likewise.
17302 * posix/unistd.h (encrypt): Likewise.
17303
daf75146
GM
173042013-11-21 Guy Martin <gmsoft@tuxicoman.be>
17305
17306 * sysdeps/generic/ldsodefs.h: Replace DL_DT_INIT_ADDRESS() and
17307 DL_DT_FINI_ADDRESS() macro with DL_CALL_DT_INIT() and
17308 DL_CALL_DT_FINI() that call the functions directly.
17309 * elf/dl-init.c: Use the new DL_CALL_DT_INIT() macro.
17310 * elf/dl-close.c: Use the new DL_CALL_DT_FINI() macro.
17311 * elf/dl-fini.c: Likewise.
17312
10ad46bc
OB
173132013-11-20 Ondřej Bílka <neleai@seznam.cz>
17314
17315 * malloc/hooks.c (memalign_check): Add alignment rounding.
17316 * malloc/malloc.c (_mid_memalign): New function.
17317 (__libc_valloc, __libc_pvalloc, __libc_memalign, __posix_memalign):
17318 Implement by calling _mid_memalign.
17319 * manual/probes.texi (Memory Allocation Probes): Remove
17320 memory_valloc_retry and memory_pvalloc_retry.
17321
f3fd2628
SP
173222013-11-20 Siddhesh Poyarekar <siddhesh@redhat.com>
17323
4712799f
SP
17324 * locale/programs/locarchive.c (open_archive): Add const
17325 qualifier to ARCHIVEFNAME and copy default fname to
17326 DEFAULT_FNAME.
17327
0417b20f
SP
17328 [BZ #15601]
17329 * libio/tst-widetext.input: Rename Oriya to Odia.
17330 * locale/iso-639.def: Likewise.
17331
f3fd2628
SP
17332 * manual/probes.texi (Mathematical Function Probes): Add
17333 documentation for sin, cos, asin and acos probes.
17334 * sysdeps/ieee754/dbl-64/sincos32.c: Include stap-probe.h.
17335 (__sin32): Add slowasin probe.
17336 (__cos32): Add slowacos probe.
17337 (__mpsin): Add slowsin probe.
17338 (__mpcos): Add slowcos probe.
17339
73c1ce4f
JM
173402013-11-19 Joseph Myers <joseph@codesourcery.com>
17341
17342 [BZ #15483]
17343 * sysdeps/powerpc/nofpu/sim-full.c (__sim_exceptions): Change to
17344 thread-local __sim_exceptions_thread and global
17345 __sim_exceptions_global.
17346 (__sim_disabled_exceptions): Change to thread-local
17347 __sim_disabled_exceptions_thread and global
17348 __sim_disabled_exceptions_global.
17349 (__sim_round_mode): Change to thread-local __sim_round_mode_thread
17350 and global __sim_round_mode_global.
17351 (__simulate_exceptions): Use thread-local floating-point state and
17352 set global state from it as needed.
17353 * sysdeps/powerpc/nofpu/Versions (GLIBC_PRIVATE): Add
17354 __sim_exceptions_thread, __sim_disabled_exceptions_thread and
17355 __sim_round_mode_thread.
17356 * sysdeps/powerpc/nofpu/soft-supp.h: Include <shlib-compat.h>.
17357 (__sim_exceptions): Change to thread-local __sim_exceptions_thread
17358 and global __sim_exceptions_global.
17359 (__sim_disabled_exceptions): Change to thread-local
17360 __sim_disabled_exceptions_thread and global
17361 __sim_disabled_exceptions_global.
17362 (__sim_round_mode): Change to thread-local __sim_round_mode_thread
17363 and global __sim_round_mode_global.
17364 [SIM_GLOBAL_COMPAT] (SIM_COMPAT_SYMBOL): New macro.
17365 (SIM_SET_GLOBAL): Likewise.
17366 * sysdeps/powerpc/soft-fp/sfp-machine.h
17367 [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_ROUNDMODE): Use
17368 __sim_round_mode_thread.
17369 [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_TRAPPING_EXCEPTIONS): Use
17370 __sim_disabled_exceptions_thread.
17371 (__sim_exceptions): Change to __sim_exceptions_thread.
17372 (__sim_disabled_exceptions): Change to
17373 __sim_disabled_exceptions_thread.
17374 (__sim_round_mode): Change to __sim_round_mode_thread.
17375 * sysdeps/powerpc/nofpu/fclrexcpt.c (__feclearexcept): Use
17376 thread-local floating-point state and set global state from it as
17377 needed.
17378 * sysdeps/powerpc/nofpu/fedisblxcpt.c (fedisableexcept): Likewise.
17379 * sysdeps/powerpc/nofpu/feenablxcpt.c: Include "soft-supp.h".
17380 (__sim_disabled_exceptions): Remove extern declaration.
17381 (feenableexcept): Use thread-local floating-point state and set
17382 global state from it as needed.
17383 * sysdeps/powerpc/nofpu/fegetenv.c (__sim_exceptions): Remove
17384 extern declaration.
17385 (__sim_disabled_exceptions): Likewise.
17386 (__sim_round_mode): Likewise.
17387 (__fegetenv): Use thread-local floating-point state.
17388 * sysdeps/powerpc/nofpu/fegetexcept.c (fegetexcept): Likewise.
17389 * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
17390 * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Use thread-local
17391 floating-point state and set global state from it as needed.
17392 * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Likewise.
17393 * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
17394 * sysdeps/powerpc/nofpu/fgetexcptflg.c (__fegetexceptflag):
17395 Likewise.
17396 * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
17397 * sysdeps/powerpc/nofpu/fsetexcptflg.c (__fesetexceptflag):
17398 Likewise.
17399 sysdeps/powerpc/nofpu/ftestexcept.c (fetestexcept): Likewise.
17400 * sysdeps/powerpc/nofpu/get-rounding-mode.h (get_rounding_mode):
17401 Use __sim_round_mode_thread.
17402 * math/test-fenv-tls.c: New file.
17403 * math/Makefile (tests): Add test-fenv-tls.
17404 ($(objpfx)test-fenv-tls): Depend on
17405 $(common-objpfx)nptl/libpthread.so.
17406
b5449b12
AS
174072013-11-19 Andreas Schwab <schwab@suse.de>
17408
17409 * locale/programs/locale.c (show_info): Decode wordarray elements.
17410 * locale/categories.def (LC_MONETARY): Add element for
17411 _NL_MONETARY_CRNCYSTR.
17412 * locale/C-monetary.c (conversion_rate): New variable.
17413 (_nl_C_LC_MONETARY): Use it for _NL_MONETARY_CONVERSION_RATE
17414 element.
17415
e186536b
CM
174162013-11-18 Chris Metcalf <cmetcalf@tilera.com>
17417
17418 * math/test-fpucw-ieee.c [!defined _FPU_IEEE] (FPU_CONTROL):
17419 Omit definition of FPU_CONTROL and use default if no _FPU_IEEE.
17420
5c349950
PP
174212013-11-18 Paul Pluzhnikov <ppluzhnikov@google.com>
17422
17423 * elf/Makefile (tst-auxv): New test.
17424 * elf/tst-auxv.c: New
17425 * elf/rtld.c (dl_main): Adjust AT_EXECFN
17426
699df45b
JM
174272013-11-18 Joseph Myers <joseph@codesourcery.com>
17428
17429 * include/libc-symbols.h (__hidden_proto): Add argument "thread".
17430 (hidden_proto): Caller changed.
17431 (hidden_tls_proto): New macro.
17432 (libc_hidden_tls_proto): Likewise.
17433 (rtld_hidden_tls_proto): Likewise.
17434 (libm_hidden_tls_proto): Likewise.
17435 (libresolv_hidden_tls_proto): Likewise.
17436 (librt_hidden_tls_proto): Likewise.
17437 (libdl_hidden_tls_proto): Likewise.
17438 (libnss_files_hidden_tls_proto): Likewise.
17439 (libnsl_hidden_tls_proto): Likewise.
17440 (libnss_nisplus_hidden_tls_proto): Likewise.
17441 (libutil_hidden_tls_proto): Likewise.
17442
b7589107
OB
174432013-11-18 Ondřej Bílka <neleai@seznam.cz>
17444
17445 [BZ #10253]
17446 * elf/dl-load.c (fillin_rpath): Add linkmap parameter and expand path.
17447 (decompose_rpath): Defer expansion to fillin_rpath.
17448 (_dl_init_paths): Pass linkmap to fillin_rpath.
17449
250c23bd
RS
174502013-11-18 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
17451
17452 * benchtests/Makefile: Add strsep.
17453 * benchtests/bench-strsep.c: New file: strsep benchtest.
17454 * benchtests/bench-strsep-ifunc.c: New file: strsep benchtest.
17455
a7931fcf
AS
174562013-11-18 Andreas Schwab <schwab@suse.de>
17457
17458 * locale/programs/locale.c (show_info) [case byte]: Check for
17459 '\377' instead of '\177'.
17460 * locale/C-monetary.c (not_available): Always use "\377".
17461 * stdlib/strfmon_l.c (__vstrfmon_l): Use -2 as marker for
17462 unspecified p_sign_posn and n_sign_posn. Check for '\377' to
17463 detect unavailable sign_posn locale elements.
17464 * locale/localeconv.c (__localeconv): For grouping and
17465 mon_grouping handle "\177" and "\377" like no grouping.
17466 (INT_ELEM): New macro. Use it to set all numeric members.
17467 * locale/programs/ld-monetary.c (monetary_read)
17468 <tok_mon_grouping>: Normalize single -1 to the empty string.
17469 * locale/programs/ld-numeric.c (numeric_read) <tok_grouping>:
17470 Likewise.
17471
728dab0e
OB
174722013-11-07 Ondřej Bílka <neleai@seznam.cz>
17473
17474 [BZ #16055]
17475 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Limit width
17476 when we match (nil).
17477 * stdio-common/tst-sscanf.c (struct test): Add testcase.
17478
66294491
JM
174792013-11-16 Joseph Myers <joseph@codesourcery.com>
17480
ce665817
JM
17481 * math/libm-test.inc (TEST_NAN_SIGN): New macro.
17482 (NO_TEST_INLINE): Update value.
17483 (ERRNO_UNCHANGED): Likewise.
17484 (ERRNO_EDOM): Likewise.
17485 (ERRNO_ERANGE): Likewise.
17486 (IGNORE_RESULT): Likewise.
17487 (check_float_internal): Check signs of NaN results if
17488 TEST_NAN_SIGN used.
17489 (check_complex): Pass TEST_NAN_SIGN flag through to second
17490 check_float_internal call.
17491 (copysign_test_data): Add tests with quiet NaNs as second
17492 argument. Use TEST_NAN_SIGN.
17493 (fabs_test_data): Add test of negative quiet NaN argument. Use
17494 TEST_NAN_SIGN.
17495 (signbit_test_data): Add tests of quiet NaN argument.
17496 * math/gen-libm-test.pl (parse_args): Handle TEST_NAN_SIGN.
17497
ee1466a9
JM
17498 * math/gen-libm-test.pl (show_exceptions): Take extra argument
17499 $ignore_result.
17500 (parse_args): Handle function results specified as IGNORE.
17501 * math/libm-test.inc (IGNORE_RESULT): New macro.
17502 (check_float_internal): Do not check numerical result if flag
17503 IGNORE_RESULT set.
17504 (check_complex): Pass through IGNORE_RESULT to second
17505 check_float_internal call.
17506 (check_int): Do not check numerical result if flag IGNORE_RESULT
17507 set.
17508 (check_long): Likewise.
17509 (check_bool): Likewise.
17510 (check_longlong): Likewise.
17511 (lrint_test_data): Add tests of infinite and NaN arguments.
17512 (lrint_tonearest_test_data): Likewise.
17513 (lrint_towardzero_test_data): Likewise.
17514 (lrint_downward_test_data): Likewise.
17515 (lrint_upward_test_data): Likewise.
17516 (llrint_test_data): Likewise.
17517 (llrint_tonearest_test_data): Likewise.
17518 (llrint_towardzero_test_data): Likewise.
17519 (llrint_downward_test_data): Likewise.
17520 (llrint_upward_test_data): Likewise.
17521 (lround_test_data): Likewise.
17522 (llround_test_data): Likewise.
17523
14407b7e
JM
17524 * math/libm-test.inc (NO_TEST_INLINE): New macro.
17525 (ERRNO_UNCHANGED): Update value.
17526 (ERRNO_EDOM): Likewise.
17527 (ERRNO_ERANGE): Likewise.
17528 (NO_TEST_INLINE_FLOAT): New macro.
17529 (NO_TEST_INLINE_DOUBLE): Likewise.
17530 (enable_test): New function.
17531 (RUN_TEST_f_f): Check enable_test before running test.
17532 (RUN_TEST_2_f): Likewise.
17533 (RUN_TEST_fff_f): Likewise.
17534 (RUN_TEST_c_f): Likewise.
17535 (RUN_TEST_f_f1): Likewise.
17536 (RUN_TEST_fF_f1): Likewise.
17537 (RUN_TEST_fI_f1): Likewise.
17538 (RUN_TEST_ffI_f1): Likewise.
17539 (RUN_TEST_c_c): Likewise.
17540 (RUN_TEST_cc_c): Likewise.
17541 (RUN_TEST_f_i): Likewise.
17542 (RUN_TEST_f_i_tg): Likewise.
17543 (RUN_TEST_ff_i_tg): Likewise.
17544 (RUN_TEST_f_b): Likewise.
17545 (RUN_TEST_f_b_tg): Likewise.
17546 (RUN_TEST_f_l): Likewise.
17547 (RUN_TEST_f_L): Likewise.
17548 (RUN_TEST_fFF_11): Likewise.
17549 (asinh_test_data): Use NO_TEST_INLINE instead of [!TEST_INLINE]
17550 conditionals.
17551 (cosh_test_data): Likewise.
17552 (exp_test_data): Likewise.
17553 (expm1_test_data): Likewise.
17554 (hypot_test_data): Likewise.
17555 (pow_test_data): Likewise.
17556 (sinh_test_data): Likewise.
17557 (tanh_test_data): Likewise.
17558 * math/gen-libm-test.pl (parse_args): Allow NO_TEST_INLINE as
17559 flags argument.
17560
ca07f197
JM
17561 * libm-test.inc (acos_test_data): Disallow inexact exceptions for
17562 tests with quiet NaN input and output.
17563 (acosh_test_data): Likewise.
17564 (asin_test_data): Likewise.
17565 (asinh_test_data): Likewise.
17566 (atan_test_data): Likewise.
17567 (atanh_test_data): Likewise.
17568 (atan2_test_data): Likewise.
17569 (cbrt_test_data): Likewise.
17570 (cos_test_data): Likewise.
17571 (cosh_test_data): Likewise.
17572 (erf_test_data): Likewise.
17573 (erfc_test_data): Likewise.
17574 (exp_test_data): Likewise.
17575 (exp10_test_data): Likewise.
17576 (exp2_test_data): Likewise.
17577 (expm1_test_data): Likewise.
17578 (hypot_test_data): Likewise.
17579 (j0_test_data): Likewise.
17580 (j1_test_data): Likewise.
17581 (jn_test_data): Likewise.
17582 (lgamma_test_data): Likewise.
17583 (log_test_data): Likewise.
17584 (log10_test_data): Likewise.
17585 (log1p_test_data): Likewise.
17586 (log2_test_data): Likewise.
17587 (pow_test_data): Likewise.
17588 (scalb_test_data): Likewise.
17589 (sin_test_data): Likewise.
17590 (sincos_test_data): Likewise.
17591 (sinh_test_data): Likewise.
17592 (tan_test_data): Likewise.
17593 (tanh_test_data): Likewise.
17594 (tgamma_test_data): Likewise.
17595 (y0_test_data): Likewise.
17596 (y1_test_data): Likewise.
17597 (yn_test_data): Likewise.
17598
66294491
JM
17599 [BZ #16167]
17600 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Check for first
17601 argument being NaN and avoid computations with second argument in
17602 that case.
17603 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
17604 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
17605 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
17606
1820b143
CL
176072013-11-15 Arun Kumar Pyasi <arun@chitwanix.com>
17608
17609 * locale/iso-639.def: Add Chitwani Tharu (the).
17610
714bd261
AS
176112013-11-14 Andreas Schwab <schwab@suse.de>
17612
17613 * locale/C-address.c (_nl_C_LC_ADDRESS): Set country_num to zero
17614 word instead of empty string.
17615
7ab44563
AZ
176162013-11-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17617
17618 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
17619 (__fe_nomask_env): Fir compat symbol to be remove for GLIBC_2.19.
17620 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
17621 (__fe_nomask_env): Likewise.
17622
e8470ea2
SE
176232013-11-13 Steve Ellcey <sellcey@mips.com>
17624
17625 * benchtests/bench-timing.h: Include time.h.
17626
17c1d9f0
L
176272013-11-13 H.J. Lu <hongjiu.lu@intel.com>
17628
17629 [BZ #15997]
17630 * sysdeps/unix/sysv/linux/configure.ac (arch_minimum_kernel): Set
17631 to 3.4.0 for x32.
17632 * sysdeps/unix/sysv/linux/configure: Regenerated.
17633
9310c284
JM
176342013-11-13 Joseph Myers <joseph@codesourcery.com>
17635
17636 [BZ #16151]
17637 * stdlib/strtod_l.c (round_and_return): Do not consider
17638 retval[RETURN_LIBM_SIZE - 1] when determining more_bits for an
17639 exponent one less than half the least subnormal exponent.
17640 * stdlib/test-strtod-round-data: Add more tests.
17641 * stdlib/tst-strtod-round.c (tests): Regenerated.
17642
7a2ad8cf
AZ
176432013-11-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17644
17645 [BZ #14143]
17646 * sysdeps/powerpc/bits/fenv.h (__fe_nomask_env): Remove declaration.
17647 (__fe_mask_env): Likewise.
17648 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Remove
17649 libm_hidden_proto and add function prototype.
17650 (__fe_mask_env): Add function prototype.
17651 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
17652 (__fe_nomask_env): Add compat symbol for GLIBC_2.1.
17653 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
17654 (__fe_mask_env): Remove compiler warnings regarding ununsed variables.
17655 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
17656 (__fe_nomask_env): Add compat symbol for GLIBC_2.3.
17657
50727aa7
MS
176582013-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
17659
b2f386c1 17660 * elf/dl-lookup.c (_dl_lookup_symbol_x): If UNDEF_MAP is false
50727aa7
MS
17661 set reference_name to "" to avoid passing NULL to DSO_FILENAME.
17662
a615be46
MS
176632013-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
17664
17665 * elf/tlsdeschtab.h (_dl_make_tlsdesc_dynamic): Handle failure
17666 of htab_find_slot().
17667
7ddace62
DM
176682013-11-11 David S. Miller <davem@davemloft.net>
17669
17670 [BZ #16150]
17671 * sysdeps/sparc/sparc64/multiarch/add_n.S: Resolve to the correct generic
17672 symbol in the non-vis3 case in static builds.
17673 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: Likewise.
17674 * sysdeps/sparc/sparc64/multiarch/mul_1.S: Likewise.
17675 * sysdeps/sparc/sparc64/multiarch/sub_n.S: Likewise.
17676 * sysdeps/sparc/sparc64/multiarch/submul_1.S: Likewise.
17677
9182aa67
JK
176782013-11-11 Jan Kratochvil <jan.kratochvil@redhat.com>
17679
17680 [BZ #387]
17681 * elf/dl-object.c (_dl_new_object): Initialize L_NAME from NEWNAME if
17682 it is empty.
17683
450a2e2d
AZ
176842013-11-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17685
b2f386c1
SP
17686 * benchtests/Makefile: Add bench-strtod.
17687 * benchtests/bench-strtod.c: New file: strtod benchtest
450a2e2d 17688
8ec3f656
AS
176892013-11-11 Andreas Schwab <schwab@suse.de>
17690
17691 [BZ #16153]
17692 * nscd/nscd_getserv_r.c (__nscd_getservbyport_r): Don't include
17693 terminating NUL in key length.
17694
76a9b998
AZ
176952013-11-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17696
17697 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
17698 Add artificial ODP entry for vDSO symbol for PPC64.
17699 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Adjust includes.
17700 * sysdeps/unix/sysv/linux/powerpc/time.c: Likewise.
17701
e4368156
OB
177022013-11-07 Ondřej Bílka <neleai@seznam.cz>
17703
17704 [BZ #15374]
17705 * nss/getent.c (services_keys): Recognize services starting with digit.
17706
8d6bb57c
DM
177072013-11-06 David S. Miller <davem@davemloft.net>
17708
17709 [BZ #15985]
17710 * sysdeps/sparc/sparc32/fpu/s_fdim.S (__fdim): Do not use fnegd
17711 on pre-v9 cpus, use a fnegs+fmovs sequence instead.
17712
e256c421
WN
177132013-11-06 Will Newton <will.newton@linaro.org>
17714
17715 * manual/memory.texi (Malloc Examples): Remove register
17716 keyword from examples.
17717
f6e12daa 177182013-11-04 Chris Leonard <cjl@sugarlabs.org>
1484e657 17719
f6e12daa 17720 * locale/iso-639.def: Correct Walaita (wal) and add Unami Delaware (unm).
1484e657 17721
9d880655
AS
177222013-11-04 Joseph Myers <joseph@codesourcery.com>
17723
fd2f9486 17724 [BZ #6981]
9d880655
AS
17725 * include/stdc-predef.h [__GCC_IEC_559] (__STDC_IEC_559__): Define
17726 depending on [__GCC_IEC_559 > 0].
17727 [__GCC_IEC_559_COMPLEX] (__STDC_IEC_559_COMPLEX__): Define
17728 depending on [__GCC_IEC_559_COMPLEX > 0].
17729
ae129d3c
CL
177302013-11-03 Chris Leonard <cjl@sugarlabs.org>
17731
17732 * locale/iso-639.def: Add Quechua, Southern (quz) and Silesian (szl)
17733 to iso-639.def.
17734
4a15c2a4 177352013-11-03 Ondřej Bílka <neleai@seznam.cz>
17c8c3dc
OB
17736
17737 * elf/rtld.c: Remove unused NONTLS_INIT_TP.
17738
8b35e35d
OB
177392013-11-01 Ondřej Bílka <neleai@seznam.cz>
17740
17741 [BZ #16112]
17742 * malloc/malloc (malloc_info): Do not handle first bin as
17743 special case.
17744
1d70fd6c
CL
177452013-11-01 Chris Leonard <cjl@sugarlabs.org>
17746
17747 * locale/iso-639.def: Add Central Nahuatl (nhn).
17748
8c5c2600
BH
177492013-11-01 Bruno Haible <bruno@clisp.org>
17750
17751 [BZ #7003]
17752 * manual/math.texi (BSD Random): Specify range upper bound as
17753 in POSIX.
17754
da5579c2
CL
177552013-10-31 Chris Leonard <cjl@sugarlabs.org>
17756
17757 * locale/iso-639.def: Add Meadow Mari (mhr).
17758
5d30d853
OB
177592013-10-31 Ondřej Bílka <neleai@seznam.cz>
17760
17761 [BZ #14752], [BZ #15763]
17762 * sysdeps/unix/sysv/linux/shm_open.c (shm_open, shm_unlink):
17763 Validate name.
17764 * rt/tst_shm.c: Add test for escaping directory.
17765
a4966c61
AS
177662013-10-31 Andreas Schwab <schwab@suse.de>
17767
8a43e768 17768 [BZ #15917]
a4966c61
AS
17769 * stdio-common/vfscanf.c (_IO_vfwscanf): Handle leading '0' not
17770 followed by 'x' as part of digit sequence.
17771 * stdio-common/tst-sscanf.c (double_tests2): New tests.
17772
28d708c4
MAP
177732013-10-31 Marc-Antoine Perennou <Marc-Antoine@Perennou.com>
17774
17775 [BZ #16037]
17776 * configure.ac: allow GNU Make 4.0 and greater.
17777 * configure: Regenerated.
17778
a56ee40b
WN
177792013-10-30 Will Newton <will.newton@linaro.org>
17780
17781 [BZ #16038]
17782 * malloc/hooks.c (memalign_check): Limit alignment to the
17783 maximum representable power of two.
17784 * malloc/malloc.c (__libc_memalign): Likewise.
17785 * malloc/tst-memalign.c (do_test): Add test for very
17786 large alignment values.
17787 * malloc/tst-posix_memalign.c (do_test): Likewise.
17788
c6e4925d
OB
177892013-10-30 Ondřej Bílka <neleai@seznam.cz>
17790
17791 [BZ #11087]
17792 * malloc/malloc.c (sysmalloc): Compute statistics atomically.
17793 (munmap_chunk): Likewise.
17794 (mremap_chunk): Likewise.
17795
177962013-10-30 Ondřej Bílka <neleai@seznam.cz>
bbea82f7 17797
8a43e768 17798 [BZ #15799]
bbea82f7
OB
17799 * stdlib/div.c (div): Remove obsolete code.
17800 * stdlib/ldiv.c (ldiv): Likewise.
17801 * stdlib/lldiv.c (lldiv): Likewise.
17802
977f4b31
SP
178032013-10-30 Siddhesh Poyarekar <siddhesh@redhat.com>
17804
17805 [BZ #16071]
17806 * nss/nss_files/files-XXX.c (get_contents_ret): New
17807 enumerator.
17808 (get_contents): New function.
17809 (internal_getent): Use it. Expand size of LINEBUFLEN.
17810
cb8a6dbd
MF
178112013-10-30 Mike Frysinger <vapier@gentoo.org>
17812
17813 * configure.in: Moved to ...
17814 * configure.ac: ... here. Change reference to configure.in
17815 to configure.ac.
17816 * sysdeps/arm/preconfigure.ac: ... here.
17817 configure.in to configure.ac.
17818 * sysdeps/gnu/configure.in: Moved to ...
17819 * sysdeps/gnu/configure.ac: ... here.
17820 * sysdeps/i386/configure.in: Moved to ...
17821 * sysdeps/i386/configure.ac: ... here.
17822 * sysdeps/ieee754/ldbl-opt/configure.in: Moved to ...
17823 * sysdeps/ieee754/ldbl-opt/configure.ac: ... here.
17824 * sysdeps/mach/configure.in: Moved to ...
17825 * sysdeps/mach/configure.ac: ... here.
17826 * sysdeps/mach/hurd/configure.in: Moved to ...
17827 * sysdeps/mach/hurd/configure.ac: ... here.
17828 * sysdeps/powerpc/configure.in: Moved to ...
17829 * sysdeps/powerpc/configure.ac: ... here.
17830 * sysdeps/powerpc/powerpc32/configure.in: Moved to ...
17831 * sysdeps/powerpc/powerpc32/configure.ac: ... here.
17832 * sysdeps/powerpc/powerpc64/configure.in: Moved to ...
17833 * sysdeps/powerpc/powerpc64/configure.ac: ... here.
17834 * sysdeps/s390/s390-32/configure.in: Moved to ...
17835 * sysdeps/s390/s390-32/configure.ac: ... here.
17836 * sysdeps/s390/s390-64/configure.in: Moved to ...
17837 * sysdeps/s390/s390-64/configure.ac: ... here.
17838 * sysdeps/sh/configure.in: Moved to ...
17839 * sysdeps/sh/configure.ac: ... here.
17840 * sysdeps/sparc/configure.in: Moved to ...
17841 * sysdeps/sparc/configure.ac: ... here.
17842 * sysdeps/unix/sysv/linux/configure.in: Moved to ...
17843 * sysdeps/unix/sysv/linux/configure.ac: ... here.
17844 * sysdeps/unix/sysv/linux/powerpc/configure.in: Moved to ...
17845 * sysdeps/unix/sysv/linux/powerpc/configure.ac: ... here.
17846 * sysdeps/x86_64/configure.in: Moved to ...
17847 * sysdeps/x86_64/configure.ac: ... here.
17848 * sysdeps/x86_64/preconfigure.in: Moved to ...
17849 * sysdeps/x86_64/preconfigure.ac: ... here.
17850 * aclocal.m4: Change reference to configure.in to configure.ac.
17851 * config.h.in: Likewise.
17852 * manual/install.texi: Likewise.
17853 * manual/maint.texi: Likewise.
17854 * Makefile: Likewise.
17855 * malloc/Makefile: Likewise.
17856 * nscd/Makefile: Likewise.
17857 * Makeconfig: Change reference to configure.in and
17858 preconfigure.in to configure.ac and preconfigure.ac
17859 respectively.
17860 * INSTALL: Regenerated.
17861 * configure: Likewise.
17862 * sysdeps/gnu/configure: Likewise.
17863 * sysdeps/i386/configure: Likewise.
17864 * sysdeps/ieee754/ldbl-opt/configure: Likewise.
17865 * sysdeps/mach/configure: Likewise.
17866 * sysdeps/mach/hurd/configure: Likewise.
17867 * sysdeps/powerpc/configure: Likewise.
17868 * sysdeps/powerpc/powerpc32/configure: Likewise.
17869 * sysdeps/powerpc/powerpc64/configure: Likewise.
17870 * sysdeps/s390/s390-32/configure: Likewise.
17871 * sysdeps/s390/s390-64/configure: Likewise.
17872 * sysdeps/sh/configure: Likewise.
17873 * sysdeps/sparc/configure: Likewise.
17874 * sysdeps/unix/sysv/linux/configure: Likewise.
17875 * sysdeps/unix/sysv/linux/powerpc/configure: Likewise.
17876 * sysdeps/x86_64/configure: Likewise.
17877 * sysdeps/x86_64/preconfigure: Likewise.
17878
36a4953a
AS
178792013-10-29 Andreas Schwab <schwab@suse.de>
17880
17881 * stdio-common/Makefile (tst-swscanf-ENV): Define.
17882
c79a1204
SP
178832013-10-28 Siddhesh Poyarekar <siddhesh@redhat.com>
17884
dfa1b402
SP
17885 * benchtests/pow-inputs: Add new inputs.
17886
54f73d9c
SP
17887 * benchtests/exp-inputs: Add new inputs.
17888
c79a1204
SP
17889 * sysdeps/ieee754/dbl-64/sincos32.c (__sin32): Consolidate
17890 conditional check for return value.
17891 (__cos32): Likewise.
17892
67beb545 178932013-10-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
69f13dbf
AZ
17894
17895 * sysdeps/powerpc/powerpc64/strcpy.S (strcpy): Add word load/store
17896 to provide a boost for large inputs with word alignment.
17897 * sysdeps/powerpc/powerpc64/stpcpy.S (__stpcpy): Rewrite
17898 implementation based on optimized PPC64 strcpy.
17899 * sysdeps/powerpc/powerpc64/power7/strcpy.S: New file: optimized
17900 strcpy for PPC64/POWER7 based on both doubleword and word load/store.
17901 * sysdeps/powerpc/powerpc64/power7/stpcpy.S: New file: optimized
17902 stpcpy for PPC64/POWER7 based on PPC64/POWER7 strcpy.
17903
151659f6
OB
179042013-10-25 Ondřej Bílka <neleai@seznam.cz>
17905
482a077e 17906 [BZ #2801]
151659f6
OB
17907 * manual/socket.texi (Host Names): Fix gethostbyname_r example.
17908
10b0f26b
OB
179092013-10-25 Ondřej Bílka <neleai@seznam.cz>
17910
17911 [BZ #14876]
17912 * time/strptime_l.c (__strptime_internal): 14876 Read timezone entry.
17913 * time/tst-strptime.c (day_tests): Add testcase.
17914
ca42d35e
OB
179152013-10-25 Ondřej Bílka <neleai@seznam.cz>
17916
482a077e 17917 [BZ #14029]
ca42d35e
OB
17918 * manual/pattern.texi: Acknowledge that fnmatch can fail.
17919
52e6d801
FB
179202013-10-25 Fabrice Bauzac <fbauzac@debian71.nce.amadeus.net>
17921
17922 [BZ #16074]
17923 * manual/llio.texi (Memory-mapped I/O): Indicate that mmap returns
17924 MAP_FAILED on error.
17925
7cbcdb36
SP
179262013-10-25 Siddhesh Poyarekar <siddhesh@redhat.com>
17927
17928 [BZ #16072]
17929 * sysdeps/posix/getaddrinfo.c (gethosts): Allocate tmpbuf on
17930 heap for large requests.
17931
894f3f10
AM
179322013-10-25 Aurelien Jarno <aurelien@aurel32.net>
17933
17934 [BZ #9954]
17935 * sysdeps/posix/getaddrinfo.c (rfc3484_sort): do not assign native
17936 result if the result has no associated interface.
17937 * sysdeps/posix/getaddrinfo.c (getaddrinfo): correctly detect
17938 interface for all 127.X.Y.Z addresses.
17939
b85545a6
CL
179402013-10-24 Chris Leonard <cjl@sugarlabs.org>
17941
17942 * locale/iso-639.def: Add Ligurian (lij)
17943
d1f23d46
OB
179442013-10-21 Ondřej Bílka <neleai@seznam.cz>
17945
17946 [BZ #15825]
17947 * sunrpc/rpc_main.c: Document rpcgen -5.
17948
4db5b08f
MS
179492013-10-19 Michael Stahl <mstahl@redhat.com>
17950
17951 * elf/rtld.c (do_preload): Print the reason why preloading failed.
17952
a471e96a
OB
179532013-10-19 Ondřej Bílka <neleai@seznam.cz>
17954
d1f23d46 17955 [BZ #10278]
a471e96a
OB
17956 * posix/glob.c: Match only directories when trailing slash is present.
17957 * posix/tst-gnuglob.c (my_opendir): Do not open files.
17958 (main): Add testcase.
17959
45c30c61
OB
179602013-10-19 Ondřej Bílka <neleai@seznam.cz>
17961
17962 [BZ #15670]
17963 * time/tzfile.c (__tzfile_read): Replace alloca with malloc.
17964
484c12fb
CD
179652013-10-18 Carlos O'Donell <carlos@redhat.com>
17966
3d7dc513
CD
17967 * manual/crypt.texi (Cryptographic Functions): Using SunRPC and
17968 AUTH_DES will prevent FIPS 140-2 compliance. Add vindex for
17969 AUTH_DES and cindex for FIPS 140-2.
17970 (DES Encryption): Add cindex FIPS 46-3.
17971
484c12fb
CD
17972 * locale/locarchive.h (struct locarhandle): Add fname.
17973 * locale/programs/localedef.c (main): Pass ARGV[remaining]
17974 if an optional argument was specified to --list-archive,
17975 otherwise NULL.
17976 * locale/programs/locarchive.c (show_archive_content): Take new
17977 argument fname and pass it via ah.fname to open_archive.
17978 * locale/programs/localedef.h: Update decl.
17979 (open_archive): If AH->fname is non-null, open that file
17980 rather than the default file name, and don't ignore ENOENT.
17981 (create_archive): Set AH.fname to NULL.
17982 (delete_locales_from_archive): Likewise.
17983 (add_locales_to_archive): Likewise.
17984 * locale/programs/locfile.c (write_all_categories): Likewise.
17985
3c8325fb
JM
179862013-10-18 Joseph Myers <joseph@codesourcery.com>
17987 Aldy Hernandez <aldyh@redhat.com>
17988
17989 * sysdeps/powerpc/powerpc32/e500/nofpu/Makefile: New file.
17990 * sysdeps/powerpc/powerpc32/e500/nofpu/fclrexcpt.c: Likewise.
17991 * sysdeps/powerpc/powerpc32/e500/nofpu/fe_note_change.c: Likewise.
17992 * sysdeps/powerpc/powerpc32/e500/nofpu/fedisblxcpt.c: Likewise.
17993 * sysdeps/powerpc/powerpc32/e500/nofpu/feenablxcpt.c: Likewise.
17994 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c: Likewise.
17995 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetexcept.c: Likewise.
17996 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c: Likewise.
17997 * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c: Likewise.
17998 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_const.c: Likewise.
17999 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h: Likewise.
18000 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c: Likewise.
18001 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c: Likewise.
18002 * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c: Likewise.
18003 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_prctl.c:
18004 Likewise.
18005 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_spe.c:
18006 Likewise.
18007 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_prctl.c:
18008 Likewise.
18009 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_spe.c:
18010 Likewise.
18011 * sysdeps/powerpc/powerpc32/e500/nofpu/fgetexcptflg.c: Likewise.
18012 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c:
18013 Likewise.
18014 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c: Likewise.
18015 * sysdeps/powerpc/powerpc32/e500/nofpu/fsetexcptflg.c: Likewise.
18016 * sysdeps/powerpc/powerpc32/e500/nofpu/ftestexcept.c: Likewise.
18017 * sysdeps/powerpc/powerpc32/e500/nofpu/get-rounding-mode.h:
18018 Likewise.
18019 * sysdeps/powerpc/powerpc32/e500/nofpu/s_fabsf.S: Likewise.
18020 * sysdeps/powerpc/powerpc32/e500/nofpu/spe-raise.c: Likewise.
18021 * sysdeps/powerpc/preconfigure: Likewise.
18022 * sysdeps/unix/sysv/linux/powerpc/powerpc32/e500/nofpu/Implies:
18023 Likewise.
18024 * sysdeps/powerpc/nofpu/soft-supp.h [__NO_FPRS__ && !_SOFT_FLOAT]:
18025 Replace contents of file by #include of <fenv_libc.h>.
18026 * sysdeps/powerpc/soft-fp/sfp-machine.h
18027 [__NO_FPRS__ && !_SOFT_FLOAT]: Include <fenv_libc.h>, <sysdep.h>
18028 and <sys/prctl.h>.
18029 [__NO_FPRS__ && !_SOFT_FLOAT] (__feraiseexcept_soft): Declare.
18030 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INEXACT): Define macro.
18031 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INVALID): Likewise.
18032 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_DIVZERO): Likewise.
18033 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_UNDERFLOW): Likewise.
18034 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_OVERFLOW): Likewise.
18035 [__NO_FPRS__ && !_SOFT_FLOAT] (_FP_DECL_EX): Likewise.
18036 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_ROUNDMODE): Likewise.
18037 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_EXCEPTIONS): Likewise.
18038 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_HANDLE_EXCEPTIONS): Likewise.
18039 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_ROUNDMODE): Likewise.
18040 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_TRAPPING_EXCEPTIONS): Likewise.
18041 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
18042 Allow copysignl PLT reference to be missing.
18043
5abe0682
RS
180442013-10-18 Richard Sandiford <richard@codesourcery.com>
18045 Joseph Myers <joseph@codesourcery.com
18046
18047 [BZ #15948]
18048 * locale/programs/ld-collate.c (new_element): Handle <U0000> as a
18049 single character.
18050 (add_to_tablewc): Assert sequence of wide characters is nonempty.
18051
c7738d08
SP
180522013-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
18053
18054 * elf/tst-tls-dlinfo.c: Don't include tls.h.
18055 * elf/tst-tls1.c: Likewise.
18056 * elf/tst-tls10.h: Likewise.
18057 * elf/tst-tls14.c: Likewise.
18058 * elf/tst-tls2.c: Likewise.
18059 * elf/tst-tls3.c: Likewise.
18060 * elf/tst-tls4.c: Likewise.
18061 * elf/tst-tls5.c: Likewise.
18062 * elf/tst-tls6.c: Likewise.
18063 * elf/tst-tls7.c: Likewise.
18064 * elf/tst-tls8.c: Likewise.
18065 * elf/tst-tls9.c: Likewise.
18066 * elf/tst-tlsmod1.c: Likewise.
18067 * elf/tst-tlsmod13.c: Likewise.
18068 * elf/tst-tlsmod13a.c: Likewise.
18069 * elf/tst-tlsmod14a.c: Likewise.
18070 * elf/tst-tlsmod16a.c: Likewise.
18071 * elf/tst-tlsmod16b.c: Likewise.
18072 * elf/tst-tlsmod2.c: Likewise.
18073 * elf/tst-tlsmod3.c: Likewise.
18074 * elf/tst-tlsmod4.c: Likewise.
18075 * elf/tst-tlsmod5.c: Likewise.
18076 * elf/tst-tlsmod6.c: Likewise.
18077
0bfcf2c7
OB
180782013-10-18 Ondřej Bílka <neleai@seznam.cz>
18079
18080 [BZ #12486]
18081 * malloc/malloc.c: remove checks for statistics.
18082
264aad1e
OB
180832013-10-17 Ondřej Bílka <neleai@seznam.cz>
18084
18085 [BZ #15277]
18086 * inet/inet_net.c (inet_network): Detect additional invalid strings.
18087 * inet/tst-network.c: Add testcase.
18088
b957ced8
AS
180892013-10-17 Andreas Schwab <schwab@suse.de>
18090
18091 [BZ #15218]
18092 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't use gethostbyaddr
18093 to determine canonical name.
18094
c5d5d574
OB
180952013-10-17 Ondřej Bílka <neleai@seznam.cz>
18096
18097 * sysdeps/ieee754/dbl-64/dbl2mpn.c: Fix formatting.
18098 * sysdeps/ieee754/dbl-64/dla.h: Likewise.
18099 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
18100 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
18101 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
18102 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
18103 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
18104 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
18105 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
18106 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
18107 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
18108 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
18109 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
18110 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
18111 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
18112 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
18113 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
18114 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
18115 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
18116 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
18117 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
18118 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
18119 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
18120 * sysdeps/ieee754/dbl-64/MathLib.h: Likewise.
18121 * sysdeps/ieee754/dbl-64/mpa-arch.h: Likewise.
18122 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
18123 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
18124 * sysdeps/ieee754/dbl-64/mpn2dbl.c: Likewise.
18125 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
18126 * sysdeps/ieee754/dbl-64/mydefs.h: Likewise.
18127 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
18128 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
18129 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
18130 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
18131 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
18132 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
18133 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
18134 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
18135 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
18136 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
18137 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
18138 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
18139 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
18140 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
18141 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
18142 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
18143 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
18144 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
18145 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
18146 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
18147 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
18148 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
18149 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
18150 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
18151 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
18152 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
18153 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
18154 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
18155
e5c2c2d0
JM
181562013-10-17 Joseph Myers <joseph@codesourcery.com>
18157
18158 [BZ #16041]
18159 * soft-fp/op-common.h (FP_EXTEND): When input is a signaling NaN,
18160 make result into a quiet NaN.
18161
51ca9e29
JM
181622013-10-16 Joseph Myers <joseph@codesourcery.com>
18163
18164 * soft-fp/adddf3.c: Fix horizontal whitespace.
18165 * soft-fp/addsf3.c: Likewise.
18166 * soft-fp/addtf3.c: Likewise.
18167 * soft-fp/divdf3.c: Likewise.
18168 * soft-fp/divsf3.c: Likewise.
18169 * soft-fp/divtf3.c: Likewise.
18170 * soft-fp/double.h: Likewise.
18171 * soft-fp/eqdf2.c: Likewise.
18172 * soft-fp/eqsf2.c: Likewise.
18173 * soft-fp/eqtf2.c: Likewise.
18174 * soft-fp/extenddftf2.c: Likewise.
18175 * soft-fp/extended.h: Likewise.
18176 * soft-fp/extendsfdf2.c: Likewise.
18177 * soft-fp/extendsftf2.c: Likewise.
18178 * soft-fp/extendxftf2.c: Likewise.
18179 * soft-fp/fixdfdi.c: Likewise.
18180 * soft-fp/fixdfsi.c: Likewise.
18181 * soft-fp/fixdfti.c: Likewise.
18182 * soft-fp/fixsfdi.c: Likewise.
18183 * soft-fp/fixsfsi.c: Likewise.
18184 * soft-fp/fixsfti.c: Likewise.
18185 * soft-fp/fixtfdi.c: Likewise.
18186 * soft-fp/fixtfsi.c: Likewise.
18187 * soft-fp/fixtfti.c: Likewise.
18188 * soft-fp/fixunsdfdi.c: Likewise.
18189 * soft-fp/fixunsdfsi.c: Likewise.
18190 * soft-fp/fixunsdfti.c: Likewise.
18191 * soft-fp/fixunssfdi.c: Likewise.
18192 * soft-fp/fixunssfsi.c: Likewise.
18193 * soft-fp/fixunssfti.c: Likewise.
18194 * soft-fp/fixunstfdi.c: Likewise.
18195 * soft-fp/fixunstfsi.c: Likewise.
18196 * soft-fp/fixunstfti.c: Likewise.
18197 * soft-fp/floatdidf.c: Likewise.
18198 * soft-fp/floatdisf.c: Likewise.
18199 * soft-fp/floatditf.c: Likewise.
18200 * soft-fp/floatsidf.c: Likewise.
18201 * soft-fp/floatsisf.c: Likewise.
18202 * soft-fp/floatsitf.c: Likewise.
18203 * soft-fp/floattidf.c: Likewise.
18204 * soft-fp/floattisf.c: Likewise.
18205 * soft-fp/floattitf.c: Likewise.
18206 * soft-fp/floatundidf.c: Likewise.
18207 * soft-fp/floatundisf.c: Likewise.
18208 * soft-fp/floatunditf.c: Likewise.
18209 * soft-fp/floatunsidf.c: Likewise.
18210 * soft-fp/floatunsisf.c: Likewise.
18211 * soft-fp/floatunsitf.c: Likewise.
18212 * soft-fp/floatuntidf.c: Likewise.
18213 * soft-fp/floatuntisf.c: Likewise.
18214 * soft-fp/floatuntitf.c: Likewise.
18215 * soft-fp/fmadf4.c: Likewise.
18216 * soft-fp/fmasf4.c: Likewise.
18217 * soft-fp/fmatf4.c: Likewise.
18218 * soft-fp/gedf2.c: Likewise.
18219 * soft-fp/gesf2.c: Likewise.
18220 * soft-fp/getf2.c: Likewise.
18221 * soft-fp/ledf2.c: Likewise.
18222 * soft-fp/lesf2.c: Likewise.
18223 * soft-fp/letf2.c: Likewise.
18224 * soft-fp/muldf3.c: Likewise.
18225 * soft-fp/mulsf3.c: Likewise.
18226 * soft-fp/multf3.c: Likewise.
18227 * soft-fp/negdf2.c: Likewise.
18228 * soft-fp/negsf2.c: Likewise.
18229 * soft-fp/negtf2.c: Likewise.
18230 * soft-fp/op-1.h: Likewise.
18231 * soft-fp/op-2.h: Likewise.
18232 * soft-fp/op-4.h: Likewise.
18233 * soft-fp/op-8.h: Likewise.
18234 * soft-fp/op-common.h: Likewise.
18235 * soft-fp/quad.h: Likewise.
18236 * soft-fp/single.h: Likewise.
18237 * soft-fp/soft-fp.h: Likewise.
18238 * soft-fp/sqrtdf2.c: Likewise.
18239 * soft-fp/sqrtsf2.c: Likewise.
18240 * soft-fp/sqrttf2.c: Likewise.
18241 * soft-fp/subdf3.c: Likewise.
18242 * soft-fp/subsf3.c: Likewise.
18243 * soft-fp/subtf3.c: Likewise.
18244 * soft-fp/truncdfsf2.c: Likewise.
18245 * soft-fp/trunctfdf2.c: Likewise.
18246 * soft-fp/trunctfsf2.c: Likewise.
18247 * soft-fp/trunctfxf2.c: Likewise.
18248 * soft-fp/unorddf2.c: Likewise.
18249 * soft-fp/unordsf2.c: Likewise.
18250 * soft-fp/unordtf2.c: Likewise.
18251
9ebb0332
JM
182522013-10-15 Joseph Myers <joseph@codesourcery.com>
18253
18254 * soft-fp/op-2.h (_FP_DIV_MEAT_2_gmp): Remove macro.
18255 * soft-fp/soft-fp.h (FP_UNSET_EXCEPTION): Likewise.
18256
4b1a6d8b
OB
182572013-10-15 Ondřej Bílka <neleai@seznam.cz>
18258
18259 * elf/dl-libc.c: Clear initfini list after freeing.
18260
1e145589
JM
182612013-10-14 Joseph Myers <joseph@codesourcery.com>
18262
18263 * soft-fp/adddf3.c: Fix vertical whitespace and indentation.
18264 * soft-fp/addsf3.c: Likewise.
18265 * soft-fp/addtf3.c: Likewise.
18266 * soft-fp/divdf3.c: Likewise.
18267 * soft-fp/divsf3.c: Likewise.
18268 * soft-fp/divtf3.c: Likewise.
18269 * soft-fp/double.h: Likewise.
18270 * soft-fp/eqdf2.c: Likewise.
18271 * soft-fp/eqsf2.c: Likewise.
18272 * soft-fp/eqtf2.c: Likewise.
18273 * soft-fp/extenddftf2.c: Likewise.
18274 * soft-fp/extended.h: Likewise.
18275 * soft-fp/extendsfdf2.c: Likewise.
18276 * soft-fp/extendsftf2.c: Likewise.
18277 * soft-fp/extendxftf2.c: Likewise.
18278 * soft-fp/fixdfdi.c: Likewise.
18279 * soft-fp/fixdfsi.c: Likewise.
18280 * soft-fp/fixdfti.c: Likewise.
18281 * soft-fp/fixsfdi.c: Likewise.
18282 * soft-fp/fixsfsi.c: Likewise.
18283 * soft-fp/fixsfti.c: Likewise.
18284 * soft-fp/fixtfdi.c: Likewise.
18285 * soft-fp/fixtfsi.c: Likewise.
18286 * soft-fp/fixtfti.c: Likewise.
18287 * soft-fp/fixunsdfdi.c: Likewise.
18288 * soft-fp/fixunsdfsi.c: Likewise.
18289 * soft-fp/fixunsdfti.c: Likewise.
18290 * soft-fp/fixunssfdi.c: Likewise.
18291 * soft-fp/fixunssfsi.c: Likewise.
18292 * soft-fp/fixunssfti.c: Likewise.
18293 * soft-fp/fixunstfdi.c: Likewise.
18294 * soft-fp/fixunstfsi.c: Likewise.
18295 * soft-fp/fixunstfti.c: Likewise.
18296 * soft-fp/floatdidf.c: Likewise.
18297 * soft-fp/floatdisf.c: Likewise.
18298 * soft-fp/floatditf.c: Likewise.
18299 * soft-fp/floatsidf.c: Likewise.
18300 * soft-fp/floatsisf.c: Likewise.
18301 * soft-fp/floatsitf.c: Likewise.
18302 * soft-fp/floattidf.c: Likewise.
18303 * soft-fp/floattisf.c: Likewise.
18304 * soft-fp/floattitf.c: Likewise.
18305 * soft-fp/floatundidf.c: Likewise.
18306 * soft-fp/floatundisf.c: Likewise.
18307 * soft-fp/floatunsidf.c: Likewise.
18308 * soft-fp/floatunsisf.c: Likewise.
18309 * soft-fp/floatuntidf.c: Likewise.
18310 * soft-fp/floatuntisf.c: Likewise.
18311 * soft-fp/floatuntitf.c: Likewise.
18312 * soft-fp/fmadf4.c: Likewise.
18313 * soft-fp/fmasf4.c: Likewise.
18314 * soft-fp/fmatf4.c: Likewise.
18315 * soft-fp/gedf2.c: Likewise.
18316 * soft-fp/gesf2.c: Likewise.
18317 * soft-fp/getf2.c: Likewise.
18318 * soft-fp/ledf2.c: Likewise.
18319 * soft-fp/lesf2.c: Likewise.
18320 * soft-fp/letf2.c: Likewise.
18321 * soft-fp/muldf3.c: Likewise.
18322 * soft-fp/mulsf3.c: Likewise.
18323 * soft-fp/multf3.c: Likewise.
18324 * soft-fp/negdf2.c: Likewise.
18325 * soft-fp/negsf2.c: Likewise.
18326 * soft-fp/negtf2.c: Likewise.
18327 * soft-fp/op-1.h: Likewise.
18328 * soft-fp/op-2.h: Likewise.
18329 * soft-fp/op-4.h: Likewise.
18330 * soft-fp/op-8.h: Likewise.
18331 * soft-fp/op-common.h: Likewise.
18332 * soft-fp/quad.h: Likewise.
18333 * soft-fp/single.h: Likewise.
18334 * soft-fp/soft-fp.h: Likewise.
18335 * soft-fp/sqrtdf2.c: Likewise.
18336 * soft-fp/sqrtsf2.c: Likewise.
18337 * soft-fp/sqrttf2.c: Likewise.
18338 * soft-fp/subdf3.c: Likewise.
18339 * soft-fp/subsf3.c: Likewise.
18340 * soft-fp/subtf3.c: Likewise.
18341 * soft-fp/truncdfsf2.c: Likewise.
18342 * soft-fp/trunctfdf2.c: Likewise.
18343 * soft-fp/trunctfsf2.c: Likewise.
18344 * soft-fp/trunctfxf2.c: Likewise.
18345 * soft-fp/unorddf2.c: Likewise.
18346 * soft-fp/unordsf2.c: Likewise.
18347 * soft-fp/unordtf2.c: Likewise.
18348
17c48a60
OB
183492013-10-14 Ondřej Bílka <neleai@seznam.cz>
18350
18351 [BZ #15672]
18352 * misc/error.c (error_tail): Fix possible buffer overflow.
18353
cabba934
OB
183542013-10-14 Aurelien Jarno <aurelien@aurel32.net>
18355
18356 [BZ #13028]
18357 * res_send.c(__libc_res_nsend): Correctly copy the nameserver
18358 address.
18359
94bf958a
PM
183602013-10-14 P. J. McDermott <pj@pehjota.net>
18361
18362 [BZ #832]
18363 * elf/ldd.bash.in (try_trace): New function. Delete previous code
18364 testing pipefail option.
18365
71b4dea7
JM
183662013-10-12 Joseph Myers <joseph@codesourcery.com>
18367
18368 * soft-fp/double.h: Indent preprocessor directives inside #if.
18369 * soft-fp/extended.h: Likewise.
18370 * soft-fp/op-2.h: Likewise.
18371 * soft-fp/op-4.h: Likewise.
18372 * soft-fp/op-common.h: Likewise.
18373 * soft-fp/quad.h: Likewise.
18374 * soft-fp/single.h: Likewise.
18375 * soft-fp/soft-fp.h: Likewise.
18376
55602758
YC
183772013-10-12 Yuri Chornoivan <yurchor@ukr.net>
18378
18379 * iconv/iconv_prog.c: Fix typos.
18380 * stdio-common/psiginfo-data.h: Likewise.
18381
9cd83302
RT
183822013-10-12 Reuben Thomas <rrt@sc3d.org>
18383
18384 [BZ #15764]
18385 * locale/setlocale.c: Fix typo.
18386
99fd9f47
JM
183872013-10-12 Joseph Myers <joseph@codesourcery.com>
18388
b7ea74f0
JM
18389 [BZ #16036]
18390 * soft-fp/unorddf2.c (__unorddf2): Raise "invalid" exception for
18391 signaling NaN arguments.
18392 * soft-fp/unordsf2.c (__unordsf2): Likewise.
18393 * soft-fp/unordtf2.c (__unordtf2): Likewise.
18394
8a509447
JM
18395 [BZ #14910]
18396 * soft-fp/gedf2.c (__gedf2): Raise "invalid" exception for all
18397 unordered operands.
18398 * soft-fp/gesf2.c (__gesf2): Likewise.
18399 * soft-fp/getf2.c (__getf2): Likewise.
18400 * soft-fp/ledf2.c (__ledf2): Likewise.
18401 * soft-fp/lesf2.c (__lesf2): Likewise.
18402 * soft-fp/letf2.c (__letf2): Likewise.
18403
98998e9f
JM
18404 * soft-fp/eqdf2.c (__eqdf2): Use FP_INIT_EXCEPTIONS.
18405 * soft-fp/eqsf2.c (__eqsf2): Likewise.
18406 * soft-fp/eqtf2.c (__eqtf2): Likewise.
18407 * soft-fp/fixdfdi.c (__fixdfdi): Likewise.
18408 * soft-fp/fixdfsi.c (__fixdfsi): Likewise.
18409 * soft-fp/fixdfti.c (__fixdfti): Likewise.
18410 * soft-fp/fixsfdi.c (__fixsfdi): Likewise.
18411 * soft-fp/fixsfsi.c (__fixsfsi): Likewise.
18412 * soft-fp/fixsfti.c (__fixsfti): Likewise.
18413 * soft-fp/fixtfdi.c (__fixtfdi): Likewise.
18414 * soft-fp/fixtfsi.c (__fixtfsi): Likewise.
18415 * soft-fp/fixtfti.c (__fixtfti): Likewise.
18416 * soft-fp/fixunsdfdi.c (__fixunsdfdi): Likewise.
18417 * soft-fp/fixunsdfsi.c (__fixunsdfsi): Likewise.
18418 * soft-fp/fixunsdfti.c (__fixunsdfti): Likewise.
18419 * soft-fp/fixunssfdi.c (__fixunssfdi): Likewise.
18420 * soft-fp/fixunssfsi.c (__fixunssfsi): Likewise.
18421 * soft-fp/fixunssfti.c (__fixunssfti): Likewise.
18422 * soft-fp/fixunstfdi.c (__fixunstfdi): Likewise.
18423 * soft-fp/fixunstfsi.c (__fixunstfsi): Likewise.
18424 * soft-fp/fixunstfti.c (__fixunstfti): Likewise.
18425 * soft-fp/floatdidf.c (__floatdidf): Use FP_INIT_ROUNDMODE.
18426 * soft-fp/floatdisf.c (__floatdisf): Likewise.
18427 * soft-fp/floatsisf.c (__floatsisf): Likewise.
18428 * soft-fp/floattidf.c (__floattidf): Likewise.
18429 * soft-fp/floattisf.c (__floattisf): Likewise.
18430 * soft-fp/floattitf.c (__floattitf): Likewise.
18431 * soft-fp/floatundidf.c (__floatundidf): Likewise.
18432 * soft-fp/floatundisf.c (__floatundisf): Likewise.
18433 * soft-fp/floatunsisf.c (__floatunsisf): Likewise.
18434 * soft-fp/floatuntidf.c (__floatuntidf): Likewise.
18435 * soft-fp/floatuntisf.c (__floatuntisf): Likewise.
18436 * soft-fp/floatuntitf.c (__floatuntitf): Likewise.
18437 * soft-fp/gedf2.c (__gedf2): Use FP_INIT_EXCEPTIONS.
18438 * soft-fp/gesf2.c (__gesf2): Likewise.
18439 * soft-fp/getf2.c (__getf2): Likewise.
18440 * soft-fp/ledf2.c (__ledf2): Likewise.
18441 * soft-fp/lesf2.c (__lesf2): Likewise.
18442 * soft-fp/letf2.c (__letf2): Likewise.
18443
8edc4a11
JM
18444 * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS] (FP_SET_EXCEPTION):
18445 Undefine and redefine.
18446 [FP_NO_EXCEPTIONS] (FP_CUR_EXCEPTIONS): Likewise.
18447 [FP_NO_EXCEPTIONS] (FP_TRAPPING_EXCEPTIONS): Likewise.
18448 [FP_NO_EXCEPTIONS] (FP_ROUNDMODE): Likewise.
18449 * soft-fp/floatditf.c (FP_NO_EXCEPTIONS): Define macro.
18450 (__floatditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
18451 * soft-fp/floatsidf.c (FP_NO_EXCEPTIONS): Define macro.
18452 (__floatsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
18453 * soft-fp/floatsitf.c (FP_NO_EXCEPTIONS): Define macro.
18454 (__floatsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
18455 * soft-fp/floatunditf.c (FP_NO_EXCEPTIONS): Define macro.
18456 (__floatunditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
18457 * soft-fp/floatunsidf.c (FP_NO_EXCEPTIONS): Define macro.
18458 (__floatunsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
18459 * soft-fp/floatunsitf.c (FP_NO_EXCEPTIONS): Define macro.
18460 (__floatunsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
18461
8399acaf
JM
18462 [BZ #16032]
18463 * soft-fp/op-2.h (_FP_DIV_MEAT_2_udiv): Shift numerator right
18464 without decrementing exponent if mantissa >= that for the
18465 denominator, not >.
18466 (_FP_DIV_MEAT_2_gmp): Test numerator mantissa >= that for the
18467 denominator, not >. Decrement exponent in < case instead of
18468 incrementing in >= case.
18469 * soft-fp/op-4.h (_FP_DIV_MEAT_4_udiv): Shift numerator right
18470 without decrementing exponent if mantissa >= that for the
18471 denominator, not >.
18472
99fd9f47
JM
18473 * soft-fp/op-common.h (_FP_TO_INT): Reverse test of sign for
18474 computing saturated result for unsigned overflow.
18475
10e1cf6b
SP
184762013-10-11 Siddhesh Poyarekar <siddhesh@redhat.com>
18477 Jeff Law <law@redhat.com>
18478
18479 * sysdeps/ieee754/dbl-64/e_atan2.c: Include stap-probe.h.
18480 (atan2Mp): Add systemtap probe marker.
18481 * sysdeps/ieee754/dbl-64/e_log.c: include stap-probe.h.
18482 (__ieee754_log): Add systemtap probe marker.
18483 * sysdeps/ieee754/dbl-64/s_atan.c: Include stap-probe.h.
18484 (atanMp): Add systemtap probe marker.
18485 * sysdeps/ieee754/dbl-64/s_tan.c: Include stap-probe.h.
18486 (tanMp): Add systemtap probe marker.
18487 * sysdeps/ieee754/dbl-64/slowexp.c: Include stap-probe.h.
18488 (__slowexp): Add systemtap probe marker.
18489 * sysdeps/ieee754/dbl-64/slowpow.c: Include stap-probe.h.
18490 (__slowpow): Add systemtap probe marker.
18491 * manual/probes.texi: Document probes.
18492
3d110c7c
EB
184932013-10-11 Eric Biggers <ebiggers3@gmail.com>
18494
18495 [BZ #15362]
18496 * libio/fileops.c (_IO_new_file_write): Return count of bytes
18497 written.
18498 (_IO_new_file_xsputn): Don't return EOF if nothing has been
18499 written.
18500 * libio/iofwrite.c (_IO_fwrite): Return count if bytes were
18501 written to buffer but not flushed.
18502 * libio/iofwrite_u.c: Likewise.
18503 * libio/iopadn.c: Return bytes returned even if EOF was
18504 encountered.
18505 * libio/iowpadn.c: Likewise.
18506 * stdio-common/vfprintf.c [COMPILE_WPRINTF] (PAD): Return error
18507 if _IO_padn does not write the whole buffer.
18508 [!COMPILE_WPRINTF] (PAD): Likewise.
18509
75b4202a
DM
185102013-10-10 David S. Miller <davem@davemloft.net>
18511
18512 * sysdeps/posix/dirstream.h (struct __dirstream): Fix alignment of
18513 directory block.
18514
6c6352e6
JM
185152013-10-10 Joseph Myers <joseph@codesourcery.com>
18516
33b853c3
JM
18517 * soft-fp/extendxftf2.c: Use copyright year range. Use URL
18518 instead of FSF address.
18519 * soft-fp/fixdfti.c: Likewise.
18520 * soft-fp/fixsfti.c: Likewise.
18521 * soft-fp/fixtfti.c: Likewise.
18522 * soft-fp/fixunsdfti.c: Likewise.
18523 * soft-fp/fixunssfti.c: Likewise.
18524 * soft-fp/fixunstfti.c: Likewise.
18525 * soft-fp/floattidf.c: Likewise.
18526 * soft-fp/floattisf.c: Likewise.
18527 * soft-fp/floattitf.c: Likewise.
18528 * soft-fp/floatuntidf.c: Likewise.
18529 * soft-fp/floatuntisf.c: Likewise.
18530 * soft-fp/floatuntitf.c: Likewise.
18531 * soft-fp/trunctfxf2.c: Likewise.
18532
6c6352e6
JM
18533 * soft-fp/extendxftf2.c: New file. Copied from libgcc.
18534 * soft-fp/fixdfti.c: Likewise.
18535 * soft-fp/fixsfti.c: Likewise.
18536 * soft-fp/fixtfti.c: Likewise.
18537 * soft-fp/fixunsdfti.c: Likewise.
18538 * soft-fp/fixunssfti.c: Likewise.
18539 * soft-fp/fixunstfti.c: Likewise.
18540 * soft-fp/floattidf.c: Likewise.
18541 * soft-fp/floattisf.c: Likewise.
18542 * soft-fp/floattitf.c: Likewise.
18543 * soft-fp/floatuntidf.c: Likewise.
18544 * soft-fp/floatuntisf.c: Likewise.
18545 * soft-fp/floatuntitf.c: Likewise.
18546 * soft-fp/trunctfxf2.c: Likewise.
18547
3bf78b71
DM
185482013-10-10 David S. Miller <davem@davemloft.net>
18549
18550 * sysdeps/sparc/fpu/libm-test-ulps: Update.
18551
6f10289e
JM
185522013-10-10 Joseph Myers <joseph@codsourcery.com>
18553
bd878fc0
JM
18554 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
18555 (CFLAGS-e_hypotl.c): Add -fno-builtin-fabsl.
18556 [$(subdir) = math] (CFLAGS-w_acosl.c): Likewise.
18557 [$(subdir) = math] (CFLAGS-w_asinl.c): Likewise.
18558 [$(subdir) = math] (CFLAGS-w_atanhl.c): Likewise.
18559 [$(subdir) = math] (CFLAGS-w_j0l.c): Likewise.
18560 [$(subdir) = math] (CFLAGS-w_j1l.c): Likewise.
18561
6f10289e
JM
18562 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Check
18563 for NaNs before doing comparisons on argument.
18564 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl):
18565 Likewise.
18566
321e2684
WN
185672013-10-10 Will Newton <will.newton@linaro.org>
18568
18569 * malloc/hooks.c (memalign_check): Ensure the value of bytes
18570 passed to _int_memalign does not overflow.
18571
40fefba1
TR
185722013-10-10 Torvald Riegel <triegel@redhat.com>
18573
18574 * scripts/bench.pl: Add include-sources directive.
18575 * benchtests/README: Update documentation.
18576
2ae21ed2
JM
185772013-10-10 Joseph Myers <joseph@codesourcery.com>
18578
dcc2dd3f
JM
18579 * soft-fp/soft-fp.h (FP_INIT_EXCEPTIONS): New macro.
18580 * soft-fp/extenddftf2.c (__extenddftf2): Use FP_INIT_EXCEPTIONS
18581 instead of FP_INIT_ROUNDMODE.
18582 * soft-fp/extendsfdf2.c (__extendsfdf2): Likewise.
18583 * soft-fp/extendsftf2.c (__extendsftf2): Likewise.
18584
2ae21ed2
JM
18585 [BZ #16034]
18586 * soft-fp/op-common.h (_FP_NEG): Document input as raw. Do not
18587 copy class of input value.
18588 * soft-fp/negdf2.c (__negdf2): Use raw unpacking and packing. Do
18589 not handle exceptions.
18590 * soft-fp/negsf2.c (__negsf2): Likewise.
18591 * soft-fp/negtf2.c (__negtf2): Likewise.
18592 * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Likewise.
18593
cb8f9562
JM
185942013-10-09 Joseph Myers <joseph@codesourcery.com>
18595
18596 * soft-fp/op-4.h (_FP_FRAC_DISASSEMBLE_4): Remove trailing
18597 semicolon. From Linux kernel.
18598
5b60c59d
AB
185992013-10-09 Adam Buchbinder <adam.buchbinder@gmail.com>
18600
18601 * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Fix typo in comment.
18602
b86835ca
YC
186032013-10-08 Yogesh Chaudhari <mr.yogesh@gmail.com>
18604
18605 [BZ #156]
18606 * manual/socket.texi: Added statement about buffer
18607 for gethostbyname2_r.
18608
e7044ea7
OB
186092013-10-08 Ondřej Bílka <neleai@seznam.cz>
18610
18611 * sysdeps/x86_64/memset.S (ALIGN): Macro removed.
18612 Use .p2align directive instead, throughout.
18613 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
18614 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
18615 * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Likewise.
18616 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
18617 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
18618 * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: Likewise.
18619 * sysdeps/x86_64/strchr.S: Likewise.
18620 * sysdeps/x86_64/strrchr.S: Likewise.
18621
09544cbc
SP
186222013-10-08 Siddhesh Poyarekar <siddhesh@redhat.com>
18623
88576635
SP
18624 * sysdeps/ieee754/dbl-64/e_pow.c: Fix code formatting.
18625
e7b2d1dd
SP
18626 * sysdeps/ieee754/dbl-64/e_exp.c: Fix code formatting.
18627
09544cbc
SP
18628 * sysdeps/generic/math_private.h (__mpsin1): Remove
18629 declaration.
18630 (__mpcos1): Likewise.
18631 (__mpsin): New argument __range_reduce.
18632 (__mpcos): Likewise.
18633 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
18634 (slow): Use __mpsin and __mpcos.
18635 (slow1): Likewise.
18636 (slow2): Likewise.
18637 (sloww): Likewise.
18638 (sloww1): Likewise.
18639 (sloww2): Likewise.
18640 (bsloww): Likewise.
18641 (bsloww1): Likewise.
18642 (bsloww2): Likewise.
18643 (cslow2): Likewise.
18644 (csloww): Likewise.
18645 (csloww1): Likewise.
18646 (csloww2): Likewise.
18647 * sysdeps/ieee754/dbl-64/sincos32.c (__mpsin): Add argument
18648 range_reduce. Merge in __mpsin1.
18649 (__mpcos): Likewise.
18650 (__mpsin1): Remove.
18651 (__mpcos1): Likewise.
18652
7602d070
JM
186532013-10-07 Joseph Myers <joseph@codesourcery.com>
18654
18655 * locale/loadlocale.c (_nl_intern_locale_data): Use
18656 LOCFILE_ALIGNED_P.
18657 * locale/programs/3level.h (CONCAT(add_locale_,TABLE)): Use
18658 LOCFILE_ALIGN_UP and LOCFILE_ALIGN.
18659 * locale/programs/ld-collate.c (obstack_int32_grow): Assert that
18660 obstack data is appropriately aligned.
18661 (obstack_int32_grow_fast): Likewise.
18662 * locale/programs/ld-ctype.c (ctype_output): Use LOCFILE_ALIGN.
18663 * locale/programs/locfile.c (add_locale_uint32): Likewise.
18664 (add_locale_uint32_array): Likewise.
18665
a357259b
SP
186662013-10-07 Siddhesh Poyarekar <siddhesh@redhat.com>
18667
18668 * benchtests/Makefile: Remove ARGLIST and RET variables.
18669 ($(objpfx)bench-%.c): Pass only function name to the script.
18670 * benchtests/README: Update documentation.
18671 * benchtests/acos-inputs: Add new directives.
18672 * benchtests/acosh-inputs: Likewise.
18673 * benchtests/asin-inputs: Likewise.
18674 * benchtests/asinh-inputs: Likewise.
18675 * benchtests/atan-inputs: Likewise.
18676 * benchtests/atanh-inputs: Likewise.
18677 * benchtests/cos-inputs: Likewise.
18678 * benchtests/cosh-inputs: Likewise.
18679 * benchtests/exp-inputs: Likewise.
18680 * benchtests/log-inputs: Likewise.
18681 * benchtests/pow-inputs: Likewise.
18682 * benchtests/rint-inputs: Likewise.
18683 * benchtests/sin-inputs: Likewise.
18684 * benchtests/sinh-inputs: Likewise.
18685 * benchtests/tan-inputs: Likewise.
18686 * benchtests/tanh-inputs: Likewise.
18687 * scripts/bench.pl: Add support for new directives.
18688
9ec1b13d
AM
186892013-10-07 Alan Modra <amodra@gmail.com>
18690
18691 * README: Fix careless merge.
18692
8b7d57cd
AM
186932013-10-05 Alan Modra <amodra@gmail.com>
18694
18695 * NEWS: Mention powerpc64le support and bugs fixed.
18696 * README: Both big-endian and little-endian powerpc64 supported.
18697
7b7bab13
ST
186982013-10-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
18699
57f41c40
AS
18700 * sysdeps/mach/hurd/fork.c (_hurd_atfork_prepare_hook)
18701 (_hurd_atfork_child_hook, _hurd_atfork_parent_hook): New hooks.
7b7bab13
ST
18702 (__fork): Call _hurd_atfork_prepare_hook hooks before all locking, call
18703 _hurd_atfork_parent_hook or _hurd_atfork_child_hook after all unlocking.
18704
d39baad1
RA
187052013-10-04 Ryan S. Arnold <ryan.arnold@linaro.org>
18706
18707 * misc/swapon.c (swapon): Update definition, adding FLAGS parameter to
18708 match prototype.
18709
cd78f7e7
JM
187102013-10-04 Joseph Myers <joseph@codesourcery.com>
18711
29d73d86
JM
18712 * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = yes] (+cflags):
18713 Move -mhard-float appending from
18714 ports/sysdeps/powerpc/powerpc32/Makefile.
18715 [$(with-fp) = yes] (ASFLAGS): Likewise.
18716 [$(with-fp) = yes] (sysdep-LDFLAGS): Likewise.
18717 * sysdeps/powerpc/nofpu: Move directory from
18718 ports/sysdeps/powerpc/nofpu.
18719 * sysdeps/powerpc/soft-fp: Move directory from
18720 ports/sysdeps/powerpc/soft-fp.
18721 * sysdeps/powerpc/powerpc32/405: Move directory from
18722 ports/sysdeps/powerpc/powerpc32/405.
18723 * sysdeps/powerpc/powerpc32/440: Move directory from
18724 ports/sysdeps/powerpc/powerpc32/440.
18725 * sysdeps/powerpc/powerpc32/464: Move directory from
18726 ports/sysdeps/powerpc/powerpc32/464.
18727 * sysdeps/powerpc/powerpc32/476: Move directory from
18728 ports/sysdeps/powerpc/powerpc32/476.
18729 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu: Move directory
18730 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu.
18731 * sysdeps/unix/sysv/linux/powerpc/powerpc32/405: Move directory
18732 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/405.
18733 * sysdeps/unix/sysv/linux/powerpc/powerpc32/440: Move directory
18734 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/440.
18735 * sysdeps/unix/sysv/linux/powerpc/powerpc32/464: Move directory
18736 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/464.
18737 * sysdeps/unix/sysv/linux/powerpc/powerpc32/476: Move directory
18738 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/476.
18739 * README: Update for powerpc-*-linux-gnu software floating point
18740 support in libc.
18741
e246b347
JM
18742 * sysdeps/unix/sysv/linux/configure.in (powerpc/powerpc32): Change
18743 case to powerpc/powerpc32*.
18744 * sysdeps/unix/sysv/linux/configure: Regenerated.
18745
89c2003e
JM
18746 * sysdeps/powerpc/fpu_control.h [__NO_FPRS__ && !_SOFT_FLOAT]
18747 (_FPU_MASK_OM): Define as 0x04.
18748 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Define as 0x08.
18749 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Define as
18750 0x00c10080.
18751 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Define as
18752 0x0000003c.
18753 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Define as _FPU_DEFAULT.
18754
cd78f7e7
JM
18755 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S
18756 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
18757 getcontext_e500.
18758 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S
18759 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
18760 setcontext_e500.
18761 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S
18762 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use getcontext_e500
18763 and setcontext_e500.
18764
c755294d
CL
187652013-10-04 Chris Leonard <cjl@sugarlabs,.org>
18766
18767 * locale/iso-3166.def: Update iso-1366.def and related occurrences
18768
e16d221c
SP
187692013-10-04 Siddhesh Poyarekar <siddhesh@redhat.com>
18770
18771 * manual/threads.texi (Default Thread Attributes): Fix typo.
18772
215c7d43
WN
187732013-10-04 Will Newton <will.newton@linaro.org>
18774
18775 * malloc/Makefile: Add tst-memalign.
18776 * malloc/tst-memalign.c: New file.
18777
27d0461b
WN
18778 * malloc/tst-posix_memalign.c: Add comments.
18779 (do_test): Add comments and call free on all potentially
18780 allocated pointers. Add space after cast.
18781
1bc92709
WN
18782 * malloc/tst-pvalloc.c: Add comments.
18783 (do_test): Add comments and call free on all potentially
18784 allocated pointers. Remove duplicate check for NULL pointer.
18785 Add space after cast.
18786
66a9be9d
WN
18787 * malloc/tst-valloc.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
4cb81307
AM
187922013-10-04 Alan Modra <amodra@gmail.com>
18793
18794 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
18795 Use stdint types in rather than __attribute__((mode())).
18796 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
18797
f8e3e9f3
AM
187982013-10-04 Alan Modra <amodra@gmail.com>
18799
18800 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
18801 Correct handling of unaligned relocs for little-endian.
18802 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
18803
8f9ebb08
AM
188042013-10-04 Alan Modra <amodra@gmail.com>
18805
18806 * configure.in: Map powerpc64le and powerpcle to base_machine/machine.
18807 * configure: Regenerate.
18808 * nptl/shlib-versions: Powerpc*le starts at 2.18.
18809 * shlib-versions: Likewise.
18810
0edf96c2
AM
188112013-10-04 Alan Modra <amodra@gmail.com>
18812
18813 * string/tester.c (test_memrchr): Increment reported test cycle.
18814
e0f7a380
AM
188152013-10-04 Alan Modra <amodra@gmail.com>
18816
18817 * string/test-memcpy.c (do_one_test): When reporting errors, print
18818 string address and don't overrun end of string.
18819
466b0393
AM
188202013-10-04 Alan Modra <amodra@gmail.com>
18821
18822 * sysdeps/powerpc/powerpc64/power7/memchr.S: Replace rlwimi with
18823 insrdi. Make better use of reg selection to speed exit slightly.
18824 Schedule entry path a little better. Remove useless "are we done"
18825 checks on entry to main loop. Handle wrapping around zero address.
18826 Correct main loop count. Handle single left-over word from main
18827 loop inline rather than by using loop_small. Remove extra word
18828 case in loop_small caused by wrong loop count. Add little-endian
18829 support.
18830 * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
18831 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise. Use proper
18832 cache hint.
18833 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
18834 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Add little-endian
18835 support. Avoid rlwimi.
18836 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Likewise.
18837
3be87c77
AM
188382013-10-04 Alan Modra <amodra@gmail.com>
18839
18840 * sysdeps/powerpc/powerpc64/memset.S: Replace rlwimi with
e3764517 18841 insrdi. Formatting.
3be87c77
AM
18842 * sysdeps/powerpc/powerpc64/power4/memset.S: Likewise.
18843 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
18844 * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
18845 * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
18846 * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
18847 * sysdeps/powerpc/powerpc32/power7/memset.S: Likewise.
18848
759cfef3
AM
188492013-10-04 Alan Modra <amodra@gmail.com>
18850
18851 * sysdeps/powerpc/powerpc32/power4/memcpy.S: Add little endian support.
18852 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
18853 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
18854 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Likewise.
18855 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
18856 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
18857 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
18858 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
18859 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Likewise. Make better
18860 use of regs. Use power7 mtocrf. Tidy function tails.
18861
fe6e95d7
AM
188622013-10-04 Alan Modra <amodra@gmail.com>
18863
18864 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Add little-endian support.
18865 Formatting. Consistently use rXXX register defines or rN defines.
18866 Use early exit labels that avoid restoring unused non-volatile regs.
18867 Make cr field use more consistent with rWORDn compares. Rename
18868 regs used as shift registers for unaligned loop, using rN defines
18869 for short lifetime/multiple use regs.
18870 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
18871 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise. Exit with
18872 addi 1,1,64 to pop stack frame. Simplify return value code.
18873 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
18874
664318c3
AM
188752013-10-04 Alan Modra <amodra@gmail.com>
18876
18877 * sysdeps/powerpc/powerpc64/power7/strchr.S (strchr): Add little-endian
18878 support. Correct typos, formatting. Optimize tail. Use insrdi
18879 rather than rlwimi.
18880 * sysdeps/powerpc/powerpc32/power7/strchr.S: Likewise.
18881 * sysdeps/powerpc/powerpc64/power7/strchrnul.S (__strchrnul): Add
18882 little-endian support. Correct typos.
18883 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Likewise. Use insrdi
18884 rather than rlwimi.
18885 * sysdeps/powerpc/powerpc64/strchr.S (rTMP4, rTMP5): Define. Use
18886 in loop and entry code to keep "and." results.
18887 (strchr): Add little-endian support. Comment. Move cntlzd
18888 earlier in tail.
18889 * sysdeps/powerpc/powerpc32/strchr.S: Likewise.
18890
43b84013
AM
188912013-10-04 Alan Modra <amodra@gmail.com>
18892
18893 * sysdeps/powerpc/powerpc64/strcpy.S: Add little-endian support:
18894 * sysdeps/powerpc/powerpc32/strcpy.S: Likewise.
18895 * sysdeps/powerpc/powerpc64/stpcpy.S: Likewise.
18896 * sysdeps/powerpc/powerpc32/stpcpy.S: Likewise.
18897
8a7413f9
AM
188982013-10-04 Alan Modra <amodra@gmail.com>
18899
18900 * sysdeps/powerpc/powerpc64/strcmp.S (rTMP2): Define as r0.
18901 (rTMP): Define as r11.
18902 (strcmp): Add little-endian support. Optimise tail.
18903 * sysdeps/powerpc/powerpc32/strcmp.S: Similarly.
18904 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
18905 * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
18906 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
18907 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
18908 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
18909 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
18910
33ee81de
AM
189112013-10-04 Alan Modra <amodra@gmail.com>
18912
18913 * sysdeps/powerpc/powerpc64/power7/strnlen.S (strnlen): Add
18914 little-endian support. Remove unnecessary "are we done" tests.
18915 Handle "s" wrapping around zero and extremely large "size".
18916 Correct main loop count. Handle single left-over word from main
18917 loop inline rather than by using small_loop. Correct comments.
18918 Delete "zero" tail, use "end_max" instead.
18919 * sysdeps/powerpc/powerpc32/power7/strnlen.S: Likewise.
18920
db9b4570
AM
189212013-10-04 Alan Modra <amodra@gmail.com>
18922
18923 * sysdeps/powerpc/powerpc64/power7/strlen.S (strlen): Add little-endian
18924 support. Don't branch over align.
18925 * sysdeps/powerpc/powerpc32/power7/strlen.S: Likewise.
18926 * sysdeps/powerpc/powerpc64/strlen.S (strlen): Add little-endian
18927 support. Rearrange tmp reg use to suit. Comment.
18928 * sysdeps/powerpc/powerpc32/strlen.S: Likewise.
18929
f7c399cf
AM
189302013-10-04 Alan Modra <amodra@gmail.com>
18931
18932 * sysdeps/unix/sysv/linux/powerpc/bits/sigstack.h: New file.
18933
0b2c2ace
AM
189342013-10-04 Alan Modra <amodra@gmail.com>
18935
18936 * sysdeps/unix/sysv/linux/powerpc/powerpc32/makecontext.S: Use
18937 conditional form of branch and link when obtaining pc.
18938 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
18939
02f04a6c
AM
189402013-10-04 Alan Modra <amodra@gmail.com>
18941
18942 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Use
18943 HIWORD/LOWORD.
18944 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Ditto.
18945 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Ditto.
18946
9b874b2f
AM
189472013-10-04 Alan Modra <amodra@gmail.com>
18948
18949 * sysdeps/powerpc/longjmp.c: Use proper symbol versioning macros.
18950 * sysdeps/powerpc/novmx-longjmp.c: Likewise.
18951 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
18952 * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Likewise.
18953 * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
18954 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
18955 * sysdeps/powerpc/powerpc32/mcount.c: Likewise.
18956 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
18957 * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
18958 * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Likewise.
18959
be1e5d31
AB
189602013-10-04 Anton Blanchard <anton@au1.ibm.com>
18961 Alistair Popple <alistair@ozlabs.au.ibm.com>
18962 Alan Modra <amodra@gmail.com>
18963
18964 [BZ #15723]
18965 * sysdeps/powerpc/jmpbuf-offsets.h: Comment fix.
18966 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Correct
18967 _dl_hwcap access for little-endian.
18968 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise. Don't
18969 destroy vmx regs when saving unaligned.
18970 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Correct CR load.
18971 * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise CR save. Don't
18972 destroy vmx regs when saving unaligned.
18973
fef13a78
AM
189742013-10-04 Alan Modra <amodra@gmail.com>
18975
18976 * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_NOW):
18977 Don't use a union to pack hi/low value.
18978
76a66d51
AB
189792013-10-04 Anton Blanchard <anton@au1.ibm.com>
18980
18981 * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S: Correct float constants
18982 for little-endian.
18983 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
18984 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: Likewise.
18985 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
18986 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
18987 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
18988
6a31fe7f
AM
189892013-10-04 Alan Modra <amodra@gmail.com>
18990
18991 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Increase alignment of
18992 constants to usual value for .cst8 section, and remove redundant
18993 high address load.
18994 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Use float
18995 constant for 0x1p52. Load little-endian words of double from
18996 correct stack offsets.
18997
7b88401f
AM
189982013-10-04 Alan Modra <amodra@gmail.com>
18999
19000 * sysdeps/powerpc/sysdep.h (LOWORD, HIWORD, HISHORT): Define.
19001 * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Load little-endian
19002 words of double from correct stack offsets.
19003 * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
19004 * sysdeps/powerpc/powerpc32/fpu/s_lrint.S: Likewise.
19005 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
19006 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
19007 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
19008 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
19009 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
19010 * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
19011 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
19012 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
19013 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
19014 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
19015 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
19016 * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
19017 * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
19018 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Use HISHORT.
19019 * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
19020
9c008155
AM
190212013-10-04 Alan Modra <amodra@gmail.com>
19022
19023 * sysdeps/powerpc/fpu_control.h (_FPU_GETCW): Rewrite using
19024 64-bit int/double union.
19025 (_FPU_SETCW): Likewise.
19026 * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c (_GET_DI_FPSCR): Likewise.
19027 (_SET_DI_FPSCR, _GET_SI_FPSCR, _SET_SI_FPSCR): Likewise.
19028
da13146d
AM
190292013-10-04 Alan Modra <amodra@gmail.com>
19030
19031 * sysdeps/powerpc/fpu/s_llround.c (__llround): Rewrite.
19032 * sysdeps/powerpc/fpu/s_llroundf.c (__llroundf): Rewrite.
19033
603e8410
AM
190342013-10-04 Alan Modra <amodra@gmail.com>
19035
19036 * sysdeps/powerpc/fpu/s_float_bitwise.h (__float_and_test28): Don't
19037 use vector int constants.
19038 (__float_and_test24, __float_and8, __float_get_exp): Likewise.
19039
4a28b3ca
AB
190402013-10-04 Anton Blanchard <anton@au1.ibm.com>
19041
19042 * sysdeps/powerpc/fpu/fenv_libc.h (fenv_union_t): Replace int
19043 array with long long.
19044 * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Adjust.
19045 * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Adjust.
19046 * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Adjust.
19047 * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Adjust.
19048 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Adjust.
19049 * sysdeps/powerpc/fpu/fegetexcept.c (__fegetexcept): Adjust.
19050 * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Adjust.
19051 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Adjust.
19052 * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Adjust.
19053 * sysdeps/powerpc/fpu/fgetexcptflg.c (__fegetexceptflag): Adjust.
19054 * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Adjust.
19055 * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Adjust.
19056 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Adjust.
19057
2ca85d2b
AB
190582013-10-04 Anton Blanchard <anton@au1.ibm.com>
19059
19060 * sysdeps/powerpc/bits/mathinline.h (__signbitf): Use builtin.
19061 (__signbit): Likewise. Correct for little-endian.
19062 (__signbitl): Call __signbit.
19063 (lrint): Correct for little-endian.
19064 (lrintf): Call lrint.
19065
62a728ae
AM
190662013-10-04 Alan Modra <amodra@gmail.com>
19067
19068 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (mynumber): Replace
19069 union 32-bit int array member with 64-bit int array.
19070 (t515, tm256): Double rather than long double.
19071 (__ieee754_sqrtl): Rewrite using 64-bit arithmetic.
19072
32c301df
AM
190732013-10-04 Alan Modra <amodra@gmail.com>
19074
19075 * sysdeps/ieee754/ldbl-128ibm/ieee754.h (union ieee854_long_double):
19076 Delete.
19077 (IEEE854_LONG_DOUBLE_BIAS): Delete.
19078 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Don't include ieee854
19079 version of math_ldbl.h.
19080
650ef4bd
AM
190812013-10-04 Alan Modra <amodra@gmail.com>
19082
19083 [BZ #15734], [BZ #15735]
19084 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Rewrite
19085 all uses of ieee875 long double macros and unions. Simplify test
19086 for 0.0L. Correct |x|<|y| and |x|=|y| test. Use
19087 ldbl_extract_mantissa value for ix,iy exponents. Properly
19088 normalize after ldbl_extract_mantissa, and don't add hidden bit
19089 already handled. Don't treat low word of ieee854 mantissa like
19090 low word of IBM long double and mask off bit when testing for
19091 zero.
19092 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Rewrite
19093 all uses of ieee875 long double macros and unions. Simplify tests
19094 for 0.0L and inf. Correct double adjustment of k. Delete dead code
19095 adjusting ha,hb. Simplify code setting kld. Delete two600 and
19096 two1022, instead use their values. Recognise that tests for large
19097 "a" and small "b" are mutually exclusive. Rename vars. Comment.
19098 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c (__ieee754_remainderl):
19099 Rewrite all uses of ieee875 long double macros and unions. Simplify
19100 test for 0.0L and nan. Correct negation.
19101 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfl): Rewrite all uses of
19102 ieee875 long double macros and unions. Correct output for large
19103 magnitude x. Correct absolute value calculation.
19104 (__erfcl): Likewise.
19105 * math/libm-test.inc: Add tests for errors discovered in IBM long
19106 double versions of fmodl, remainderl, erfl and erfcl.
19107
765714ca
AM
191082013-10-04 Alan Modra <amodra@gmail.com>
19109
19110 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Rewrite
19111 all uses of ieee854 long double macros and unions. Simplify tests
19112 for long doubles that are fully specified by the high double.
19113 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
19114 Likewise.
19115 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl): Likewise.
19116 Remove dead code too.
19117 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
19118 (__ieee754_ynl): Likewise.
19119 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l): Likewise.
19120 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Likewise.
19121 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
19122 Remove dead code too.
19123 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c (__kernel_tanl): Likewise.
19124 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Likewise.
19125 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Likewise.
19126 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c (__isinf_nsl): Likewise.
19127 Simplify.
19128 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c (___isinfl): Likewise.
19129 Simplify.
19130 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Likewise.
19131 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c (__modfl): Likewise.
19132 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Likewise.
19133 Comment on variable precision.
19134 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward): Likewise.
19135 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
19136 Likewise.
19137 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
19138 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
19139 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
19140 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Likewise.
19141 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust tan_towardzero ulps.
19142
4ebd120c
AM
191432013-10-04 Alan Modra <amodra@gmail.com>
19144
19145 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_high): Define.
19146 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Rewrite
19147 all uses of ieee854 long double macros and unions.
19148 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Likewise.
19149 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
19150 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Likewise.
19151 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl): Likewise.
19152 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l): Likewise.
19153 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
19154 Likewise.
19155 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Likewise.
19156 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
19157 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl): Likewise.
19158 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
19159 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Likewise.
19160 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Likewise.
19161 Simplify sign and nan test too.
19162 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c (__cosl): Likewise.
19163 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c (__fabsl): Likewise.
19164 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c (___finitel): Likewise.
19165 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c (___fpclassifyl):
19166 Likewise.
19167 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
19168 * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c (__issignalingl):
19169 Likewise.
19170 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
19171 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c (___signbitl): Likewise.
19172 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c (__sincosl): Likewise.
19173 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c (__sinl): Likewise.
19174 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c (__tanl): Likewise.
19175 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (__logbl): Likewise.
19176
1b6adf88
AM
191772013-10-04 Alan Modra <amodra@gmail.com>
19178
19179 * stdio-common/printf_size.c (__printf_size): Don't use
19180 union ieee854_long_double in fpnum union.
19181 * stdio-common/printf_fphex.c (__printf_fphex): Likewise. Use
19182 signbit macro to retrieve sign from long double.
19183 * stdio-common/printf_fp.c (___printf_fp): Use signbit macro to
19184 retrieve sign from long double.
19185 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Adjust for fpnum change.
19186 * sysdeps/ieee754/ldbl-128/printf_fphex.c: Likewise.
19187 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Likewise.
19188 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
19189 * math/test-misc.c (main): Don't use union ieee854_long_double.
19190
4cf69995
AM
191912013-10-04 Alan Modra <amodra@gmail.com>
19192
19193 [BZ #15680]
19194 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Comment fix.
19195 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c
19196 (PRINT_FPHEX_LONG_DOUBLE): Tidy code by moving -53 into ediff
19197 calculation. Remove unnecessary test for denormal exponent.
19198 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c (__mpn_extract_long_double):
19199 Correct handling of denormals. Avoid undefined shift behaviour.
19200 Correct normalisation of low mantissa when low double is denormal.
19201 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h
19202 (ldbl_extract_mantissa): Likewise. Comment. Use uint64_t* for hi64.
19203 (ldbl_insert_mantissa): Make both hi64 and lo64 parms uint64_t.
19204 Correct normalisation of low mantissa. Test for overflow of high
19205 mantissa and normalise.
19206 (ldbl_nearbyint): Use more readable constant for two52.
19207 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c
19208 (__mpn_construct_long_double): Fix test for overflow of high
19209 mantissa and correct normalisation. Avoid undefined shift.
19210
9605ca6c
AM
192112013-10-04 Alan Modra <amodra@gmail.com>
19212
19213 * sysdeps/ieee754/ldbl-128ibm/ieee754.h
19214 (union ibm_extended_long_double): Define as an array of ieee754_double.
19215 (IBM_EXTENDED_LONG_DOUBLE_BIAS): Delete.
19216 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Update all references
19217 to ibm_extended_long_double and IBM_EXTENDED_LONG_DOUBLE_BIAS.
19218 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
19219 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
19220 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c: Likewise.
19221 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
19222 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
19223 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
19224 * sysdeps/ieee754/ldbl-128ibm/strtold_l.c: Likewise.
19225 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
19226
975569d0
JM
192272013-10-03 Joseph Myers <joseph@codesourcery.com>
19228
d3d23756
JM
19229 * locale/programs/locarchive.c (add_locale): Use constant 4096 for
19230 page size instead of calling getpagesize.
19231
975569d0
JM
19232 * locale/localeinfo.h (LOCFILE_ALIGN): New macro.
19233 (LOCFILE_ALIGN_MASK): Likewise.
19234 (LOCFILE_ALIGN_UP): Likewise.
19235 (LOCFILE_ALIGNED_P): Likewise.
19236 * locale/programs/ld-collate.c (collate_output): Use the new
19237 macros instead of __alignof__ (int32_t).
19238 * locale/weight.h (findidx): Likewise.
19239
b1fe1f2b
OB
192402013-10-03 Ondřej Bílka <neleai@seznam.cz>
19241
19242 [BZ #431]
19243 * manual/string.texi: Fix strncat and wcsncat.
19244
5f855e35
BM
192452013-10-03 Brooks Moses <bmoses@google.com>
19246
19247 [BZ #15915]
19248 * Makefile (linkobj/libc_pic.a, linkobj/libc.so): Move rules to...
19249 * Makerules: ...here, and adjust associated comments.
19250
3cef6009
WN
192512013-10-02 Will Newton <will.newton@linaro.org>
19252
19253 * malloc/Makefile: Add tst-pvalloc.
19254 * malloc/tst-pvalloc.c: New file.
19255
7815420b
WN
192562013-10-02 Will Newton <will.newton@linaro.org>
19257
19258 * malloc/tst-valloc.c: Rewrite to use test-skeleton.c and
19259 improve test coverage.
19260
4868b204
WN
192612013-10-02 Will Newton <will.newton@linaro.org>
19262
19263 * malloc/Makefile: Add tst-posix_memalign.
19264 * malloc/tst-posix_memalign.c: New file.
19265
29c793b3
EB
192662013-10-01 Eric Blake <eblake@redhat.com>
19267
19268 * posix/glob.c (next_brace_sub, prefix_array, collated_compare):
19269 Use __THROWNL rather than __THROW on static functions.
19270
fd967522
PM
192712013-09-30 Petr Machata <pmachata@redhat.com>
19272
19273 * elf/elf.h (R_AARCH64_ABS16): New macro.
19274 (R_AARCH64_PREL64, R_AARCH64_PREL32): Likewise.
19275 (R_AARCH64_PREL16, R_AARCH64_MOVW_UABS_G0): Likewise.
19276 (R_AARCH64_MOVW_UABS_G0_NC, R_AARCH64_MOVW_UABS_G1): Likewise.
19277 (R_AARCH64_MOVW_UABS_G1_NC, R_AARCH64_MOVW_UABS_G2): Likewise.
19278 (R_AARCH64_MOVW_UABS_G2_NC, R_AARCH64_MOVW_UABS_G3): Likewise.
19279 (R_AARCH64_MOVW_SABS_G0, R_AARCH64_MOVW_SABS_G1): Likewise.
19280 (R_AARCH64_MOVW_SABS_G2, R_AARCH64_LD_PREL_LO19): Likewise.
19281 (R_AARCH64_ADR_PREL_LO21, R_AARCH64_ADR_PREL_PG_HI21): Likewise.
19282 (R_AARCH64_ADR_PREL_PG_HI21_NC, R_AARCH64_ADD_ABS_LO12_NC): Likewise.
19283 (R_AARCH64_LDST8_ABS_LO12_NC, R_AARCH64_LDST16_ABS_LO12_NC): Likewise.
19284 (R_AARCH64_LDST32_ABS_LO12_NC, R_AARCH64_LDST64_ABS_LO12_NC): Likewise.
19285 (R_AARCH64_LDST128_ABS_LO12_NC, R_AARCH64_TSTBR14): Likewise.
19286 (R_AARCH64_CONDBR19, R_AARCH64_JUMP26, R_AARCH64_CALL26): Likewise.
19287 (R_AARCH64_MOVW_PREL_G0, R_AARCH64_MOVW_PREL_G0_NC): Likewise.
19288 (R_AARCH64_MOVW_PREL_G1, R_AARCH64_MOVW_PREL_G1_NC): Likewise.
19289 (R_AARCH64_MOVW_PREL_G2, R_AARCH64_MOVW_PREL_G2_NC): Likewise.
19290 (R_AARCH64_MOVW_PREL_G3, R_AARCH64_MOVW_GOTOFF_G0): Likewise.
19291 (R_AARCH64_MOVW_GOTOFF_G0_NC, R_AARCH64_MOVW_GOTOFF_G1): Likewise.
19292 (R_AARCH64_MOVW_GOTOFF_G1_NC, R_AARCH64_MOVW_GOTOFF_G2): Likewise.
19293 (R_AARCH64_MOVW_GOTOFF_G2_NC, R_AARCH64_MOVW_GOTOFF_G3): Likewise.
19294 (R_AARCH64_GOTREL64, R_AARCH64_GOTREL32): Likewise.
19295 (R_AARCH64_GOT_LD_PREL19, R_AARCH64_LD64_GOTOFF_LO15): Likewise.
19296 (R_AARCH64_ADR_GOT_PAGE, R_AARCH64_LD64_GOT_LO12_NC): Likewise.
19297 (R_AARCH64_LD64_GOTPAGE_LO15, R_AARCH64_TLSGD_ADR_PREL21): Likewise.
19298 (R_AARCH64_TLSGD_ADR_PAGE21, R_AARCH64_TLSGD_ADD_LO12_NC): Likewise.
19299 (R_AARCH64_TLSGD_MOVW_G1, R_AARCH64_TLSGD_MOVW_G0_NC): Likewise.
19300 (R_AARCH64_TLSLD_ADR_PREL21, R_AARCH64_TLSLD_ADR_PAGE21): Likewise.
19301 (R_AARCH64_TLSLD_ADD_LO12_NC, R_AARCH64_TLSLD_MOVW_G1): Likewise.
19302 (R_AARCH64_TLSLD_MOVW_G0_NC, R_AARCH64_TLSLD_LD_PREL19): Likewise.
19303 (R_AARCH64_TLSLD_MOVW_DTPREL_G2): Likewise.
19304 (R_AARCH64_TLSLD_MOVW_DTPREL_G1): Likewise.
19305 (R_AARCH64_TLSLD_MOVW_DTPREL_G1_NC): Likewise.
19306 (R_AARCH64_TLSLD_MOVW_DTPREL_G0): Likewise.
19307 (R_AARCH64_TLSLD_MOVW_DTPREL_G0_NC): Likewise.
19308 (R_AARCH64_TLSLD_ADD_DTPREL_HI12): Likewise.
19309 (R_AARCH64_TLSLD_ADD_DTPREL_LO12): Likewise.
19310 (R_AARCH64_TLSLD_ADD_DTPREL_LO12_NC): Likewise.
19311 (R_AARCH64_TLSLD_LDST8_DTPREL_LO12): Likewise.
19312 (R_AARCH64_TLSLD_LDST8_DTPREL_LO12_NC): Likewise.
19313 (R_AARCH64_TLSLD_LDST16_DTPREL_LO12): Likewise.
19314 (R_AARCH64_TLSLD_LDST16_DTPREL_LO12_NC): Likewise.
19315 (R_AARCH64_TLSLD_LDST32_DTPREL_LO12): Likewise.
19316 (R_AARCH64_TLSLD_LDST32_DTPREL_LO12_NC): Likewise.
19317 (R_AARCH64_TLSLD_LDST64_DTPREL_LO12): Likewise.
19318 (R_AARCH64_TLSLD_LDST64_DTPREL_LO12_NC): Likewise.
19319 (R_AARCH64_TLSLD_LDST128_DTPREL_LO12): Likewise.
19320 (R_AARCH64_TLSLD_LDST128_DTPREL_LO12_NC): Likewise.
19321 (R_AARCH64_TLSIE_MOVW_GOTTPREL_G1): Likewise.
19322 (R_AARCH64_TLSIE_MOVW_GOTTPREL_G0_NC): Likewise.
19323 (R_AARCH64_TLSIE_ADR_GOTTPREL_PAGE21): Likewise.
19324 (R_AARCH64_TLSIE_LD64_GOTTPREL_LO12_NC): Likewise.
19325 (R_AARCH64_TLSIE_LD_GOTTPREL_PREL19): Likewise.
19326 (R_AARCH64_TLSLE_MOVW_TPREL_G2): Likewise.
19327 (R_AARCH64_TLSLE_MOVW_TPREL_G1): Likewise.
19328 (R_AARCH64_TLSLE_MOVW_TPREL_G1_NC): Likewise.
19329 (R_AARCH64_TLSLE_MOVW_TPREL_G0): Likewise.
19330 (R_AARCH64_TLSLE_MOVW_TPREL_G0_NC): Likewise.
19331 (R_AARCH64_TLSLE_ADD_TPREL_HI12): Likewise.
19332 (R_AARCH64_TLSLE_ADD_TPREL_LO12): Likewise.
19333 (R_AARCH64_TLSLE_ADD_TPREL_LO12_NC): Likewise.
19334 (R_AARCH64_TLSLE_LDST8_TPREL_LO12): Likewise.
19335 (R_AARCH64_TLSLE_LDST8_TPREL_LO12_NC): Likewise.
19336 (R_AARCH64_TLSLE_LDST16_TPREL_LO12): Likewise.
19337 (R_AARCH64_TLSLE_LDST16_TPREL_LO12_NC): Likewise.
19338 (R_AARCH64_TLSLE_LDST32_TPREL_LO12): Likewise.
19339 (R_AARCH64_TLSLE_LDST32_TPREL_LO12_NC): Likewise.
19340 (R_AARCH64_TLSLE_LDST64_TPREL_LO12): Likewise.
19341 (R_AARCH64_TLSLE_LDST64_TPREL_LO12_NC): Likewise.
19342 (R_AARCH64_TLSLE_LDST128_TPREL_LO12): Likewise.
19343 (R_AARCH64_TLSLE_LDST128_TPREL_LO12_NC): Likewise.
19344 (R_AARCH64_TLSDESC_LD_PREL19): Likewise.
19345 (R_AARCH64_TLSDESC_ADR_PREL21): Likewise.
19346 (R_AARCH64_TLSDESC_ADR_PAGE21): Likewise.
19347 (R_AARCH64_TLSDESC_LD64_LO12): Likewise.
19348 (R_AARCH64_TLSDESC_ADD_LO12): Likewise.
19349 (R_AARCH64_TLSDESC_OFF_G1): Likewise.
19350 (R_AARCH64_TLSDESC_OFF_G0_NC): Likewise.
19351 (R_AARCH64_TLSDESC_LDR): Likewise.
19352 (R_AARCH64_TLSDESC_ADD): Likewise.
19353 (R_AARCH64_TLSDESC_CALL): Likewise.
19354
b2179107
AS
193552013-09-30 Andreas Schwab <schwab@suse.de>
19356
19357 [BZ #15048]
19358 * nscd/aicache.c (addhstaiX): Properly use the cache variable for
19359 the nss database lookup.
19360 * nscd/initgrcache.c (addinitgroupsX): Likewise.
19361 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
19362
47f28d0a
MF
193632013-09-28 Mike Frysinger <vapier@gentoo.org>
19364
19365 * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Fix style.
19366
193672013-09-28 P. J. McDermott <pj@pehjota.net>
0a834dde
PM
19368
19369 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't use
19370 ${Bash-specific parameter/pattern/string} parameter expansion.
19371 * sysdeps/unix/make-syscalls.sh: Likewise.
19372
f4518a17
KK
193732013-09-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
19374
19375 * sysdeps/sh/stackguard-macros.h: New file.
19376
dc1a95c7
OB
193772013-09-26 Ondřej Bílka <neleai@seznam.cz>
19378
19379 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
19380 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove strrchr ifunc.
19381 * sysdeps/x86_64/multiarch/strend-sse4.S Remove.
19382 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S Likewise.
19383 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
19384 * sysdeps/x86_64/strrchr.S (strrchr): Use optimized implementation.
19385
5ebbff8f
AZ
193862013-09-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19387
19388 * sysdeps/powerpc/powerpc64/stackguard-macros.h (POINTER_CHK_GUARD:
19389 Fix thread ID register.
19390
4fd2cf9f
JM
193912013-09-25 Joseph Myers <joseph@codesourcery.com>
19392
19393 * conform/data/sched.h-data [XPG3 || XPG4]: Disable whole file.
19394 [POSIX || UNIX98]: Require rather than permitting all symbols from
19395 <time.h>.
19396 [POSIX || UNIX98] (sched_ss_low_priority): Do not specify optional
19397 element of struct sched_param.
19398 [POSIX || UNIX98] (sched_ss_repl_period): Likewise.
19399 [POSIX || UNIX98] (sched_ss_init_budget): Likewise.
19400 [POSIX || UNIX98] (sched_ss_max_repl): Likewise.
19401 [POSIX || UNIX98] (SCHED_SPORADIC): Do not specify optional
19402 constant.
19403
12c22bc4
OL
194042013-09-24 Olivier Langlois <olivier@olivierlanglois.net>
19405
19406 * stdio-common/tst-long-dbl-fphex.c (do_test): Fix swprintf length
19407 argument calculation.
19408
a03d8ea7
JM
194092013-09-24 Joseph Myers <joseph@codesourcery.com>
19410
19411 * conform/data/pthread.h-data [POSIX] (PTHREAD_MUTEX_INITIALIZER):
19412 Expect macro.
19413 [POSIX] (pthread_attr_t): Do not require type.
19414 [POSIX] (pthread_cond_t): Likewise.
19415 [POSIX] (pthread_condattr_t): Likewise.
19416 [POSIX] (pthread_key_t): Likewise.
19417 [POSIX] (pthread_mutex_t): Likewise.
19418 [POSIX] (pthread_mutexattr_t): Likewise.
19419 [POSIX] (pthread_once_t): Likewise.
19420 [POSIX] (pthread_t): Likewise.
19421 [POSIX-based standards] (pthread_atfork): Expect function.
19422
6055173a
JM
194232013-09-24 Joseph Myers <joseph@codesourcery.com>
19424 Richard Sandiford <richard@codesourcery.com>
19425
19426 * locale/programs/locfile.h: Include <byteswap.h> and <stdbool.h>.
19427 (swap_endianness_p): New extern variable.
19428 (set_big_endian): New inline function.
19429 (maybe_swap_uint32): Likewise.
19430 (maybe_swap_uint32_array): Likewise.
19431 (maybe_swap_uint32_obstack): Likewise.
19432 * locale/programs/locfile.c: Include <stdbool.h>.
19433 (swap_endianness_p): New variable.
19434 (add_locale_uint32): Call maybe_swap_uint32.
19435 (add_locale_uint32_array): Call maybe_swap_uint32_obstack.
19436 (write_locale_data): Call maybe_swap_uint32_array.
19437 * locale/programs/ld-collate.c (obstack_int32_grow): Call
19438 maybe_swap_uint32.
19439 (obstack_int32_grow_fast): Likewise.
19440 (output_weightwc): Call maybe_swap_uint32_obstack.
19441 (collate_output): Likewise.
19442 * locale/programs/localedef.c (OPT_LITTLE_ENDIAN): New macro.
19443 (OPT_LITTLE_ENDIAN): Likewise.
19444 (options): Add --little-endian and --big-endian options.
19445 (parse_opt): Handle OPT_LITTLE_ENDIAN and OPT_BIG_ENDIAN.
19446 * locale/programs/locarchive.c: Include "locfile.h".
19447 (GET): New macro.
19448 (SET): Likewise.
19449 (INC): Likewise.
19450 (create_archive): Use the new macros to access fields of
19451 structures directly mapped from or written to locale archives.
19452 (oldlocrecentcmp): Likewise.
19453 (enlarge_archive): Likewise.
19454 (insert_name): Likewise.
19455 (add_alias): Likewise.
19456 (add_locale): Likewise.
19457 (delete_locales_from_archive): Likewise.
19458 (show_archive_content): Likewise.
19459 (add_locale_to_archive): Likewise. Use maybe_swap_uint32 on
19460 locale data.
19461
39bf0bb4
RM
194622013-09-24 Roland McGrath <roland@hack.frob.com>
19463
19464 * manual/freemanuals.texi: Updated from (newly) canonical copy at
19465 http://www.gnu.org/doc/freemanuals.texi.
19466 * manual/libc.texinfo (Free Manuals): Put the @appendix line here.
19467
f02eed10
WN
194682013-09-24 Will Newton <will.newton@linaro.org>
19469
19470 * sysdeps/mach/hurd/i386/tls.h (TLS_INIT_TP_EXPENSIVE): Remove
19471 macro.
19472
a3a6c312
JM
194732013-09-23 Joseph Myers <joseph@codesourcery.com>
19474
19475 * locale/hashval.h (compute_hashval): Interpret bytes of key as
19476 unsigned char.
19477
107375ac
MR
194782013-09-23 Maciej W. Rozycki <macro@codesourcery.com>
19479
19480 * manual/threads.texi (POSIX Threads): Fix a typo.
19481
141f3a77
SP
194822013-09-23 Siddhesh Poyarekar <siddhesh@redhat.com>
19483
303e567a
SP
19484 [BZ #14547]
19485 * string/tst-strcoll-overflow.c: New test case.
19486 * string/Makefile (xtests): Add tst-strcoll-overflow.
19487 * string/strcoll_l.c (STRCOLL): Skip allocating memory for
19488 cache if string sizes may cause integer overflow.
19489
141f3a77
SP
19490 [BZ #14547]
19491 * string/strcoll_l.c (coll_seq): New members rule, idx,
19492 save_idx and back_us.
19493 (get_next_seq_nocache): New function.
19494 (do_compare_nocache): New function.
19495 (STRCOLL): Use get_next_seq_nocache and do_compare_nocache
19496 when malloc fails.
19497
c61b4d41
CD
194982013-09-23 Carlos O'Donell <carlos@redhat.com>
19499
0b1f8e35
CD
19500 [BZ #15754]
19501 * sysdeps/generic/stackguard-macros.h: If PTRGUARD_LOCAL use
19502 __pointer_chk_guard_local, otherwise __pointer_chk_guard.
19503 * elf/Makefile: Define CFLAGS-tst-ptrguard1-static.c.
19504
c61b4d41
CD
19505 [BZ #15754]
19506 * elf/Makefile (tests): Add tst-ptrguard1.
19507 (tests-static): Add tst-ptrguard1-static.
19508 (tst-ptrguard1-ARGS): Define.
19509 (tst-ptrguard1-static-ARGS): Define.
19510 * elf/tst-ptrguard1.c: New file.
19511 * elf/tst-ptrguard1-static.c: New file.
19512 * sysdeps/x86_64/stackguard-macros.h: Define POINTER_CHK_GUARD.
19513 * sysdeps/i386/stackguard-macros.h: Likewise.
19514 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
19515 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
19516 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
19517 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
19518 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
19519 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
19520
195212013-09-23 Hector Marco <hecmargi@upv.es>
19522 Ismael Ripoll <iripoll@disca.upv.es>
19523 Carlos O'Donell <carlos@redhat.com>
19524
19525 [BZ #15754]
19526 * sysdeps/generic/stackguard-macros.h: Define
19527 __pointer_chk_guard_local and POINTER_CHK_GUARD.
19528 * csu/libc-start.c [!SHARED && !THREAD_SET_POINTER_GUARD]:
19529 Define __pointer_chk_guard_local.
19530 (LIBC_START_MAIN) [!SHARED]: Call _dl_setup_pointer_guard.
19531 Use THREAD_SET_POINTER_GUARD or set __pointer_chk_guard_local.
19532
f5f4e7b4
VV
195332013-09-15 Vinitha Vijayan <vinitha.vijayann@gmail.com>
19534
19535 [BZ #15859]
19536 * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate declaration.
19537
5bb43a43
AS
195382013-09-20 Andreas Schwab <schwab@linux-m68k.org>
19539
19540 * include/string.h (__ffs): Declare as hidden.
19541 * string/ffs.c (__ffs): Define as hidden.
19542 * sysdeps/i386/ffs.c (__ffs): Likewise.
19543 * sysdeps/i386/i686/ffs.c (__ffs): Likewise.
19544 * sysdeps/powerpc/ffs.c (__ffs): Likewise.
19545 * sysdeps/s390/ffs.c (__ffs): Likewise.
19546 * sysdeps/x86_64/ffs.c (__ffs): Likewise.
19547
3ea5be54
AO
195482013-09-20 Alexandre Oliva <aoliva@redhat.com>
19549
ffb89e53
AO
19550 * NEWS: Mention malloc probes.
19551
322dea08
AO
19552 * malloc/arena.c (new_heap): New memory_heap_new probe.
19553 (grow_heap): New memory_heap_more probe.
19554 (shrink_heap): New memory_heap_less probe.
19555 (heap_trim): New memory_heap_free probe.
19556 * malloc/malloc.c (sysmalloc): New memory_sbrk_more probe.
19557 (systrim): New memory_sbrk_less probe.
19558 * manual/probes.texi: Document them.
19559
655673f3
AO
19560 * malloc/arena.c (arena_get_retry): Add memory_arena_retry probe.
19561 * manual/probes.texi: Document it.
19562
35fed6f1
AO
19563 * malloc/malloc.c (__libc_malloc): Add memory_malloc_retry probe.
19564 (__libc_realloc): Add memory_realloc_retry probe.
19565 (__libc_memalign): Add memory_memalign_retry probe.
19566 (__libc_valloc): Add memory_valloc_retry probe.
19567 (__libc_pvalloc): Add memory_pvalloc_retry probe.
19568 (__libc_calloc): Add memory_calloc_retry probe.
19569 * manual/probes.texi: Document them.
19570
6999d38c
AO
19571 * malloc/arena.c (get_free_list): Add probe
19572 memory_arena_reuse_free_list.
19573 (reused_arena) [PER_THREAD]: Add probes memory_arena_reuse_wait
19574 and memory_arena_reuse.
19575 (arena_get2) [!PER_THREAD]: Likewise.
19576 * malloc/malloc.c (__libc_realloc) [!PER_THREAD]: Add probe
19577 memory_arena_reuse_realloc.
19578 * manual/probes.texi: Document them.
19579
0653427f
AO
19580 * malloc/malloc.c (__libc_free): Add
19581 memory_mallopt_free_dyn_thresholds probe.
19582 (__libc_mallopt): Add multiple memory_mallopt probes.
19583 * manual/probes.texi: Document them.
19584
3ea5be54
AO
19585 * malloc/malloc.c: Include stap-probe.h.
19586 (__libc_mallopt): Add memory_mallopt probe.
19587 * malloc/arena.c (_int_new_arena): Add memory_arena_new probe.
19588 * manual/probes.texi: New.
19589 * manual/Makefile (chapters): Add probes.
19590 * manual/threads.texi: Set next node.
19591
e35696c3 195922013-09-19 Wei-Lun Chao <bluebat@member.fsf.org>
3e181dda 19593
e35696c3
CL
19594 [BZ #15963, #13985]
19595 * locale/iso-639.def: Add Chiga (cgg) and Chinese (gan, hak,
19596 czh, cjy, lzh, cmn, mnp, cdo, czo, cpx, wuu, hsn, yue).
19597 Add `Chinese' to `nan' entry name.
19598
4aafb73c
SP
195992013-09-19 Siddhesh Poyarekar <siddhesh@redhat.com>
19600
19601 * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): New macro.
19602 (POLYNOMIAL): Likewise.
19603 (TAYLOR_SINCOS): Likewise.
19604 (TAYLOR_SLOW): Likewise.
19605 (__sin): Use TAYLOR_SINCOS.
19606 (__cos): Likewise.
19607 (slow): Use TAYLOR_SLOW.
19608 (sloww): Likewise.
19609 (bsloww): Likewise.
19610 (csloww): Likewise.
19611
d84f25c7
LD
196122013-09-19 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
19613
19614 * stdlib/strtod_l.c: Fix buffer overrun.
19615
5eea0404
SP
196162013-09-19 Siddhesh Poyarekar <siddhesh@redhat.com>
19617
7849ff93
SP
19618 * benchtests/Makefile (bench): Add sincos.
19619 * benchtests/bench-sincos.c: New file.
19620
cfa3c886
SP
19621 * math/libm-test.inc (cos_test_data): New test inputs.
19622 (sin_test_data): Likewise.
19623
b348e1e3
SP
19624 * sysdeps/ieee754/dbl-64/s_sin.c (SINCOS_TABLE_LOOKUP): New
19625 macro.
19626 (__sin): Use it.
19627 (__cos): Likewise.
19628 (slow1): Likewise.
19629 (slow2): Likewise.
19630 (sloww1): Likewise.
19631 (sloww2): Likewise.
19632 (bsloww1): Likewise.
19633 (bsloww2): Likewise.
19634 (cslow2): Likewise.
19635 (csloww1): Likewise.
19636 (csloww2): Likewise.
19637
6cce25f8
SP
19638 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): New
19639 function.
19640 (__sin): Use it.
19641 (__cos): Likewise.
19642
5eea0404
SP
19643 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Remove redundant
19644 gotos.
19645 (__cos): Likewise.
19646
9c21573c
MR
196472013-09-18 Maciej W. Rozycki <macro@codesourcery.com>
19648
19649 * config.h.in (HAVE_MIPS_NAN2008): New macro.
19650 * elf/elf.h (EF_MIPS_NAN2008): Likewise.
19651 * sysdeps/generic/ldconfig.h (FLAG_MIPS_LIB32_NAN2008): Likewise.
19652 (FLAG_MIPS64_LIBN32_NAN2008): Likewise.
19653 (FLAG_MIPS64_LIBN64_NAN2008): Likewise.
19654 * elf/cache.c (print_entry): Handle the new cache flags.
19655
24d22e65
JM
196562013-09-18 Joseph Myers <joseph@codesourcery.com>
19657 Aldy Hernandez <aldyh@redhat.com>
19658
19659 * sysdeps/powerpc/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]:
19660 Change condition to [_SOFT_FLOAT].
19661 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_NEAREST): New macro.
19662 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_DOWN): Likewise.
19663 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_UP): Likewise.
19664 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_ZERO): Likewise.
19665 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_ZM): Likewise.
19666 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_OM): Likewise.
19667 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Likewise.
19668 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_XM): Likewise.
19669 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_IM): Likewise.
19670 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Likewise.
19671 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Likewise.
19672 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Likewise.
19673 [__NO_FPRS__ && !_SOFT_FLOAT] (fpu_control_t): New typedef.
19674 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_GETCW): New macro.
19675 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_SETCW): Likewise.
19676 [__NO_FPRS__ && !_SOFT_FLOAT] (__fpu_control): New variable
19677 declaration.
19678
d13ef066
JM
196792013-09-18 Joseph Myers <joseph@codesourcery.com>
19680
2e071de0
JM
19681 * sysdeps/powerpc/powerpc32/__longjmp-common.S (LOAD_GP): Define
19682 macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
19683 (__longjmp): Use LOAD_GP to load saved GPRs.
19684 * sysdeps/powerpc/powerpc32/setjmp-common.S (SAVE_GP): Define
19685 macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
19686 (__sigsetjmp): Use SAVE_GP to save GPRs.
19687
d13ef066
JM
19688 * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = no] (+cflags):
19689 Do not append -msoft-float.
19690 [$(with-fp) = no] (sysdep-LDFLAGS): Likewise.
19691
97a0650b
SP
196922013-09-18 Siddhesh Poyarekar <siddhesh@redhat.com>
19693
19694 * sysdeps/ieee754/dbl-64/sincos32.c: Fix code formatting.
19695
11ca09e9
JM
196962013-09-17 Joseph Myers <joseph@codesourcery.com>
19697
19698 [BZ #15966]
19699 * sysdeps/powerpc/fpu_control.h [!_SOFT_FLOAT && !__NO_FPRS__]
19700 (_FPU_GETCW): Use initial "__" on variable and field names but not
19701 on macro parameter name.
19702 [!_SOFT_FLOAT && !__NO_FPRS__] (_FPU_SETCW): Likewise. Use
19703 parentheses around reference to macro parameter.
19704
08ffcf34
RS
197052013-09-13 Richard Sandiford <richard@codesourcery.com>
19706
19707 * locale/programs/ld-ctype.c (find_idx): Use uint32_t in
19708 prototype.
19709 (ctype_startup): Use uint32_t in cast and sizeof for
19710 ctype->charnames.
19711
ae7080d3
JL
197122013-09-11 Jia Liu <proljc@gmail.com>
19713
19714 * sunrpc/rpc/types.h [__APPLE_CC__]: Define __u_char_defined and
19715 __daddr_t_defined.
19716 [__FreeBSD__]: Likewise.
19717
5905e7b3
OB
197182013-09-11 Ondřej Bílka <neleai@seznam.cz>
19719
19720 * sysdeps/x86_64/multiarch/ifunc-impl-list.c
19721 (__libc_ifunc_impl_list): Remove: __strchr_sse42.
19722 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Remove.
19723 (strchr): Remove __strchr_sse42 ifunc selection.
19724 * sysdeps/x86_64/strchr.S (strchr): Use optimized implementation.
19725 * sysdeps/x86_64/strchrnul.S: Include sysdeps/x86_64/strchr.S.
19726
b987c776
WN
197272013-09-11 Will Newton <will.newton@linaro.org>
19728
19729 * benchtests/bench-timing.h (TIMING_INIT): Rename ITERS
19730 parameter to RES. Remove hardcoded 1000 value.
19731 * benchtests/bench-skeleton.c (main): Pass RES parameter
19732 to TIMING_INIT and multiply result by 1000.
19733
ddf985af
AZ
197342013-09-10 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19735
19736 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
19737
ffdd3181
AS
197382013-09-11 Andreas Schwab <schwab@suse.de>
19739
19740 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
19741 if not defined.
19742 (O_TMPFILE) [__USE_GNU]: Define.
19743 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_TMPFILE):
19744 Define.
19745
b73ed247
WN
197462013-09-11 Will Newton <will.newton@linaro.org>
19747
19748 [BZ #15857]
19749 * malloc/malloc.c (__libc_memalign): Check the value of bytes
19750 does not overflow.
19751
55e17aad
WN
197522013-09-11 Will Newton <will.newton@linaro.org>
19753
19754 [BZ #15856]
19755 * malloc/malloc.c (__libc_valloc): Check the value of bytes
19756 does not overflow.
19757
1159a193
WN
197582013-09-11 Will Newton <will.newton@linaro.org>
19759
19760 [BZ #15855]
19761 * malloc/malloc.c (__libc_pvalloc): Check the value of bytes
19762 does not overflow.
19763
5905e7b3 197642013-09-10 Ondřej Bílka <neleai@seznam.cz>
c7cabd13
OB
19765
19766 * sysdeps/ieee754/dbl-64/e_j0.c: Remove DO_NOT_USE_THIS conditionals.
19767 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
19768 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
19769 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
19770 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
19771
cdfc721b
AM
197722013-09-10 Allan McRae <allan@archlinux.org>
19773
aa04af00
AM
19774 [BZ #15748]
19775 * manual/arith.texi (Parsing of Floats): Clarify
19776 cross-reference.
19777
cdfc721b
AM
19778 [BZ #15849]
19779 * manual/install.texi (Running make install): Mention
19780 --enable-pt-chown.
19781 * INSTALL: Regenerated.
19782
95e7cf29
MR
197832013-09-09 Maciej W. Rozycki <macro@codesourcery.com>
19784
19785 * csu/init-first.c (_init): Remove the !SHARED condition around
19786 FPU control word initialization.
19787 * elf/dl-support.c (_dl_fpu_control): New variable.
19788 (_dl_aux_init) <AT_FPUCW>: Initialize it.
19789 * math/test-fpucw.c [!FPU_CONTROL] (FPU_CONTROL): New macro.
19790 (main): Replace _FPU_DEFAULT with FPU_CONTROL throughout.
19791 * math/test-fpucw-static.c: New file.
19792 * math/test-fpucw-ieee.c: New file.
19793 * math/test-fpucw-ieee-static.c: New file.
19794 * math/Makefile (tests): Add `test-fpucw-ieee' and
19795 `$(tests-static)'.
19796 (tests-static): New variable.
19797 [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests))): Move
19798 dependency to...
19799 [($(build-shared),yes)]
19800 ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
19801 ... this.
19802 [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests-static))):
19803 New dependency.
19804
83e43bf0
AM
198052013-09-09 Allan McRae <allan@archlinux.org>
19806
a9f5ce09
AM
19807 [BZ #15939]
19808 * manual/string.texi (Collation Functions): Fix typo in
19809 strcoll example.
19810 Reported by Suren Karapetyan <me@suren.karapetyan.name>.
19811
34829bc2
AM
19812 [BZ #15893]
19813 * stdlib/isomac.c (get_null_defines): Fix memory leak.
19814
3932737d
AM
19815 [BZ #15892]
19816 * libio/memstream.c (open_memstream): Fix memory leak.
19817 * libio/wmemstream.c (open_wmemstream): Likewise.
19818
83e43bf0
AM
19819 [BZ #15895]
19820 * nscd/netgroupcache.c: Fix nesting of ifdefs.
19821
0c66b8e9
WN
198222013-09-09 Will Newton <will.newton@linaro.org>
19823
19824 * malloc/Makefile: Add tst-realloc to tests.
19825 * malloc/tst-realloc.c: New file.
19826
f6b00fd1
AM
198272013-09-09 Allan McRae <allan@archlinux.org>
19828
19829 [BZ #15844]
19830 * COPYING: Update from GNU website to fix FSF address.
19831 * COPYING.LIB: Likewise.
19832
eec55e16
DM
198332013-09-06 David S. Miller <davem@davemloft.net>
19834
19835 * po/zh_TW.po: Update Chinese (traditional) translation from
19836 translation project.
19837
1ecbb381
RS
198382013-09-06 Richard Sandiford <richard@codesourcery.com>
19839 Joseph Myers <joseph@codesourcery.com>
19840
19841 * locale/programs/locfile.c: Include <assert.h>, <wchar.h> and
19842 "localeinfo.h".
19843 (obstack_chunk_alloc): New macro.
19844 (obstack_chunk_free): Likewise.
19845 (record_offset): New function.
19846 (init_locale_data): Likewise.
19847 (align_locale_data): Likewise.
19848 (add_locale_empty): Likewise.
19849 (add_locale_raw_data): Likewise.
19850 (add_locale_raw_obstack): Likewise.
19851 (add_locale_string): Likewise.
19852 (add_locale_wstring): Likewise.
19853 (add_locale_uint32): Likewise.
19854 (add_locale_uint32_array): Likewise.
19855 (add_locale_char): Likewise.
19856 (start_locale_structure): Likewise.
19857 (end_locale_structure): Likewise.
19858 (start_locale_prelude): Likewise.
19859 (end_locale_prelude): Likewise.
19860 (write_locale_data): Take locale_file structure rather than an
19861 iovec.
19862 * locale/programs/locfile.h: Include "obstack.h".
19863 (struct locale_file): Change to store locale file contents instead
19864 of header.
19865 (init_locale_data): New prototype.
19866 (align_locale_data): Likewise.
19867 (add_locale_empty): Likewise.
19868 (add_locale_raw_data): Likewise.
19869 (add_locale_raw_obstack): Likewise.
19870 (add_locale_string): Likewise.
19871 (add_locale_wstring): Likewise.
19872 (add_locale_uint32): Likewise.
19873 (add_locale_uint32_array): Likewise.
19874 (add_locale_char): Likewise.
19875 (start_locale_structure): Likewise.
19876 (end_locale_structure): Likewise.
19877 (start_locale_prelude): Likewise.
19878 (end_locale_prelude): Likewise.
19879 (write_locale_data): Update prototype.
19880 * locale/programs/3level.h (struct TABLE): Remove result field.
19881 (CONCAT(TABLE,_finalize)): Change to CONCAT(add_locale_,TABLE).
19882 Use new locale_file interface.
19883 [!NO_FINALIZE]: Change condition to [!NO_ADD_LOCALE].
19884 (NO_FINALIZE): Change #undef to #undef of NO_ADD_LOCALE.
19885 * locale/programs/ld-address.c (address_output): Use new
19886 locale_file interface.
19887 * locale/programs/ld-collate.c (NO_FINALIZE): Change to
19888 NO_ADD_LOCALE.
19889 (collate_finish): Don't call collseq_table_finalize.
19890 (collate_output): Use new locale_file interface.
19891 * locale/programs/ld-ctype.c: Move includes of "3level.h" earlier
19892 in file.
19893 (NO_FINALIZE): Change to NO_ADD_LOCALE.
19894 (TABLE): Move defines earlier in file.
19895 (ELEMENT): Likewise.
19896 (DEFAULT): Likewise.
19897 (wctrans_table_add): Move macro and inline function earlier in
19898 file.
19899 (struct wctype_table): Move type earlier in file.
19900 (add_locale_wctype_table): New static prototype.
19901 (struct locale_ctype_t): Use logical types instead of struct iovec
19902 pointers for members.
19903 (ctype_output): Use new locale_file interface.
19904 (wctype_table_finalize): Change to add_locale_wctype_table. Use
19905 new locale_file interface.
19906 (allocate_arrays): Update for use of new locale_file interface.
19907 * locale/programs/ld-identification.c (identification_output): Use
19908 new locale_file interface.
19909 * locale/programs/ld-measurement.c (measurement_output): Likewise.
19910 * locale/programs/ld-messages.c (messages_output): Likewise.
19911 * locale/programs/ld-monetary.c (monetary_output): Likewise.
19912 * locale/programs/ld-name.c (name_output): Likewise.
19913 * locale/programs/ld-numeric.c (numeric_output): Likewise.
19914 * locale/programs/ld-paper.c (paper_output): Likewise.
19915 * locale/programs/ld-telephone.c (telephone_output): Likewise.
19916 * locale/programs/ld-time.c (time_output): Likewise.
19917
e029e2e5
AZ
199182013-09-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19919
19920 * benchtests/Makefile: Add memrchr benchmark.
19921 * benchtests/bench-memchr.c (USE_AS_MEMRCHR): Add define to use
19922 benchmark as memrchr.
19923 * benchtests/bench-memrchr-ifunc.c: New file.
19924 * benchtests/bench-memrchr.c: New file.
19925
bbf6e8e4
WN
199262013-09-06 Will Newton <will.newton@linaro.org>
19927
19928 * benchtests/Makefile (string-bench): Add memcpy.
19929
6c82a2f8
CD
199302013-09-05 Carlos O'Donell <carlos@redhat.com>
19931 Cong Wang <amwang@redhat.com>
19932
e732c5f0 19933 [BZ #15850]
6c82a2f8
CD
19934 * sysdeps/unix/sysv/linux/bits/in.h
19935 [_UAPI_LINUX_IN6_H]: Define __USE_KERNEL_IPV6_DEFS.
19936 * inet/netinet/in.h: Move in_addr definition and bits/in.h inclusion
19937 before __USE_KERNEL_IPV6_DEFS uses.
19938 * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Define IPPROTO_MH, and
19939 IPPROTO_BEETPH.
19940 [__USE_KERNEL_IPV6_DEFS]: Don't define any of IPPROTO_*, in6_addr,
19941 sockaddr_in6, or ipv6_mreq.
19942
5430fc65
AZ
199432013-09-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19944
19945 * sysdeps/powerpc/powerpc32/power7/memrchr.S (__memrchr): Fix invalid
19946 memory access for final bytes in some large inputs.
19947 * sysdeps/powerpc/powerpc64/power7/memrchr.S (__memrchr): Likewise.
19948
4660856c
AZ
199492013-09-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19950
19951 * string/test-memrchr.c: New file.
19952 * string/test-memrchr-ifunc.c: New file.
19953 * string/Makefile: Add new memrchr testcase.
19954
bb8ea713
MF
199552013-09-05 Mike Frysinger <vapier@gentoo.org>
19956
19957 * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Skip test when
19958 fanotify_init returns EPERM.
19959
b92a20b5
JM
199602013-09-04 Joseph Myers <joseph@codesourcery.com>
19961
19962 * conform/conformtest.pl (newtoken): Treat tokens not allowed as
19963 errors.
19964 (top level): Treat second token from macro or constant entries for
19965 allowed headers as allowed.
19966 * include/complex.h: Condition internal declarations on
19967 [!_ISOMAC].
19968 * include/fenv.h: Condition include of <stdbool.h> and internal
19969 declarations on [!_ISOMAC].
7447ccd9
CL
19970
199712013-09-04 Chris Leonard <cjl@sugarlabs,.org>
19972
3e181dda 19973 [BZ #15923]
7447ccd9
CL
19974 * locale/iso-4217.def: Update iso-1427.def and related occurrences.
19975
3f2e46a4
JM
199762013-09-04 Joseph Myers <joseph@codesourcery.com>
19977
19978 * configure.in (--enable-versioning): Remove configure option.
19979 (libc_cv_asm_symver_directive): Remove configure test.
19980 (libc_cv_ld_version_script_option): Likewise.
19981 (VERSIONING): Remove variable and AC_SUBST.
19982 (DO_VERSIONING): Remove AC_DEFINE.
19983 * configure: Regenerated.
19984 * config.h.in (DO_VERSIONING): Remove macro.
19985 * Makerules [$(versioning) = yes]: Change conditionals to
19986 [$(build-shared) = yes].
19987 * config.make.in (versioning): Remove variable.
19988 * dlfcn/Makefile [$(versioning) = yes]: Change conditionals to
19989 [$(build-shared) = yes].
19990 * dlfcn/modstatic2.c (test) [DO_VERSIONING]: Remove conditional.
19991 * dlfcn/tststatic2.c (main) [DO_VERSIONING]: Likewise.
19992 * elf/Makefile [$(versioning) = yes]: Change conditionals to
19993 [$(build-shared) = yes].
19994 * extra-lib.mk [$(versioning) = yes]: Likewise.
19995 * hurd/Makefile [$(versioning) = yes]: Likewise.
19996 * hurd/geteuids.c [SHARED && DO_VERSIONING]: Change conditional to
19997 [SHARED].
19998 * include/libc-symbols.h [DO_VERSIONING]: Change conditional to
19999 [SHARED].
20000 [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
20001 [SHARED && !NO_HIDDEN].
20002 * include/shlib-compat.h [DO_VERSIONING]: Change conditional to
20003 [SHARED].
20004 [SHARED && DO_VERSIONING]: Likewise..
20005 * libio/Makefile [$(versioning) = yes]: Change conditionals to
20006 [$(build-shared) = yes].
20007 * manual/install.texi (--disable-versioning): Remove
20008 documentation.
20009 * INSTALL: Regenerated.
20010 * resolv/res_libc.c [SHARED && DO_VERSIONING]: Change conditional
20011 to [SHARED].
20012 * sunrpc/Makefile [$(versioning) = yes]: Change conditional to
20013 [$(build-shared) = yes].
20014 * sysdeps/gnu/Makefile [$(versioning) = yes]: Likewise.
20015 * sysdeps/i386/i686/multiarch/strstr-c.c
20016 [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
20017 [SHARED && !NO_HIDDEN].
20018 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h
20019 [SHARED && DO_VERSIONING]: Change conditional to [SHARED].
20020 * sysdeps/powerpc/powerpc32/dl-machine.c
20021 [SHARED && !(DO_VERSIONING - 0)]: Remove conditional error.
20022 * sysdeps/powerpc/powerpc32/sysdep.h
20023 [SHARED && DO_VERSIONING && PIC && !NO_HIDDEN]: Change conditional
20024 to [SHARED && PIC && !NO_HIDDEN].
20025 * sysdeps/wordsize-32/divdi3.c [SHARED && DO_VERSIONING]: Change
20026 conditional to [SHARED].
20027
44558701
WN
200282013-09-04 Will Newton <will.newton@linaro.org>
20029
20030 * benchtests/bench-timing.h (TIMING_PRINT_MEAN): New macro.
20031 * benchtests/bench-string.h: Include bench-timing.h instead
20032 of including hp-timing.h directly. (INNER_LOOP_ITERS): New
20033 define. (HP_TIMING_BEST): Delete macro. (test_init): Remove
20034 call to HP_TIMING_DIFF_INIT.
20035 * benchtests/bench-memccpy.c: Use bench-timing.h macros
20036 instead of hp-timing.h macros.
20037 * benchtests/bench-memchr.c: Likewise.
20038 * benchtests/bench-memcmp.c: Likewise.
20039 * benchtests/bench-memcpy.c: Likewise.
20040 * benchtests/bench-memmem.c: Likewise.
20041 * benchtests/bench-memmove.c: Likewise.
20042 * benchtests/bench-memset.c: Likewise.
20043 * benchtests/bench-rawmemchr.c: Likewise.
20044 * benchtests/bench-strcasecmp.c: Likewise.
20045 * benchtests/bench-strcasestr.c: Likewise.
20046 * benchtests/bench-strcat.c: Likewise.
20047 * benchtests/bench-strchr.c: Likewise.
20048 * benchtests/bench-strcmp.c: Likewise.
20049 * benchtests/bench-strcpy.c: Likewise.
20050 * benchtests/bench-strcpy_chk.c: Likewise.
20051 * benchtests/bench-strlen.c: Likewise.
20052 * benchtests/bench-strncasecmp.c: Likewise.
20053 * benchtests/bench-strncat.c: Likewise.
20054 * benchtests/bench-strncmp.c: Likewise.
20055 * benchtests/bench-strncpy.c: Likewise.
20056 * benchtests/bench-strnlen.c: Likewise.
20057 * benchtests/bench-strpbrk.c: Likewise.
20058 * benchtests/bench-strrchr.c: Likewise.
20059 * benchtests/bench-strspn.c: Likewise.
20060 * benchtests/bench-strstr.c: Likewise.
20061
cae16d66
WN
200622013-09-04 Will Newton <will.newton@linaro.org>
20063
20064 * benchtests/Makefile: Use LDLIBS instead of LDFLAGS.
20065
ffa3cd7f
JM
200662013-09-03 Joseph Myers <joseph@codesourcery.com>
20067
20068 [BZ #15427]
20069 * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
20070 2**-30 instead of 2**-70 as threshold for returning -log(|x|).
20071 * math/libm-test.inc (lgamma_test_data): Add more tests.
20072 * sysdeps/i386/fpu/libm-test-ulps: Update.
20073 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20074
8f02859f
OB
200752013-09-03 Ondřej Bílka <neleai@seznam.cz>
20076
20077 * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: New file.
20078 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
20079 Add ifunc.
20080 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
20081 Add strcmp-sse2-unaligned
20082 * sysdeps/x86_64/multiarch/strcmp.S (strcmp): Add ifunc.
20083
18d43716
MF
200842013-09-02 Mike Frysinger <vapier@gentoo.org>
20085
20086 * Versions.def (libc): Add GLIBC_2.19.
20087
ac444012
MF
200882013-09-02 Mike Frysinger <vapier@gentoo.org>
20089
20090 * sysdeps/unix/sysv/linux/tst-fanotify.c: New test.
20091 * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-fanotify.
20092
b7835e32
JM
200932013-09-02 Joseph Myers <joseph@codesourcery.com>
20094
20095 [BZ #14155]
20096 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Use double for
20097 intermediate calculations in recurrence.
20098 (__ieee754_ynf): Likewise.
20099 * math/libm-test.inc (jn_test_data): Do not allow spurious
20100 underflow exception. Add more tests.
20101 (yn_test_data): Add more tests.
20102 * sysdeps/i386/fpu/libm-test-ulps: Update.
20103 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20104
8220f4f0
OB
201052013-09-02 Ondřej Bílka <neleai@seznam.cz>
20106
20107 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Fix typo.
20108
f24a6d08
OB
201092013-08-30 Ondřej Bílka <neleai@seznam.cz>
20110
20111 * csu/init-first.c: Fix then/than typos.
20112 * locale/programs/ld-collate.c: Likewise.
20113 * locale/programs/linereader.h: Likewise.
20114 * manual/charset.texi: Likewise.
20115 * manual/filesys.texi: Likewise.
20116 * manual/stdio.texi: Likewise.
20117 * manual/string.texi: Likewise.
20118 * stdlib/fmtmsg.c: Likewise.
20119 * sysdeps/i386/stpncpy.S: Likewise.
20120 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
20121 * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
20122 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
20123 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
20124
382466e0
OB
201252013-08-30 Ondřej Bílka <neleai@seznam.cz>
20126
20127 * elf/dl-open.c: Fix typos.
20128 * iconvdata/gbbig5.c: Likewise.
20129 * iconvdata/iso-2022-jp.c: Likewise.
20130 * iconv/gconv_int.h: Likewise.
20131 * iconv/loop.c: Likewise.
20132 * nis/rpcsvc/nis.h: Likewise.
20133 * resolv/ns_name.c: Likewise.
20134 * stdio-common/vfscanf.c: Likewise.
20135 * streams/stropts.h: Likewise.
20136 * sunrpc/rpc_thread.c: Likewise.
20137 * sysdeps/i386/strpbrk.S: Likewise.
20138 * sysdeps/ieee754/k_standard.c: Likewise.
20139 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
20140 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
20141 * sysdeps/mach/hurd/dl-sysdep.c: Likewise.
20142 * sysdeps/mach/hurd/profil.c: Likewise.
20143 * sysdeps/s390/dl-procinfo.h: Likewise.
20144 * sysdeps/unix/sysv/linux/i386/chown.c: Likewise.
20145 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
20146 * sysdeps/unix/sysv/linux/sparc/sparc32/makecontext.c: Likewise.
20147 * sysdeps/x86_64/dl-trampoline.S: Likewise.
20148 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
20149
0186c6e9
OB
201502013-08-30 Ondřej Bílka <neleai@seznam.cz>
20151
20152 * sysdeps/x86_64/multiarch/rawmemchr.S: Delete.
20153 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove rawmemchr ifunc.
20154
d4e16af1
OB
201552013-08-29 Ondřej Bílka <neleai@seznam.cz>
20156
20157 * sysdeps/unix/sysv/linux/powerpc/aix/aix-dirent.h: Remove
20158 aix specific files.
20159 * sysdeps/unix/sysv/linux/powerpc/aix/aix-errno.h: Likewise.
20160 * sysdeps/unix/sysv/linux/powerpc/aix/aix-stat.h: Likewise.
20161 * sysdeps/unix/sysv/linux/powerpc/aix/aix-termios.h: Likewise.
20162 * sysdeps/unix/sysv/linux/powerpc/aix/direntconv.c: Likewise.
20163 * sysdeps/unix/sysv/linux/powerpc/aix/errnoconv.c: Likewise.
20164 * sysdeps/unix/sysv/linux/powerpc/aix/statconv.c: Likewise.
20165 * sysdeps/unix/sysv/linux/powerpc/aix/tcgetattr.c: Likewise.
20166 * sysdeps/unix/sysv/linux/powerpc/aix/tcsetattr.c: Likewise.
20167
88335980
TS
201682013-08-29 Thomas Schwinge <thomas@codesourcery.com>
20169 Roland McGrath <roland@hack.frob.com>
20170
20171 * sysdeps/mach/hurd/errnos.awk (BEGIN): Emit ESUCCESS.
20172 * sysdeps/mach/hurd/bits/errno.h: Regenerate.
20173
ed479b02
ST
201742013-08-29 Samuel Thibault <samuel.thibault@ens-lyon.org>
20175
20176 * sysdeps/mach/hurd/i386/init-first.c (init1): Use
20177 __executable_start symbol instead of _start.
20178
f1cc4c86
TS
201792013-08-29 Thomas Schwinge <thomas@codesourcery.com>
20180
d821f07c
TS
20181 * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_HEADER)
20182 (VALID_ELF_OSABI, VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA):
20183 Move macros to...
20184 * sysdeps/gnu/ldsodefs.h: ... this new file.
20185
c54290cf
TS
20186 * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_OSABI)
20187 (VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA): Use ELFOSABI_GNU
20188 instead of ELFOSABI_LINUX.
20189
0007fc9b 20190 [BZ #15522] strtod ("nan(N)") returning a sNaN in some cases
0007fc9b
TS
20191 * stdlib/strtof_l.c (SET_MANTISSA): Rewrite.
20192 * stdlib/strtod_l.c (SET_MANTISSA): Likewise.
20193 * sysdeps/ieee754/ldbl-64-128/strtold_l.c (SET_MANTISSA):
20194 Likewise.
20195 * sysdeps/ieee754/ldbl-96/strtold_l.c (SET_MANTISSA): Likewise.
20196 * sysdeps/ieee754/ldbl-128/strtold_l.c (SET_MANTISSA): Likewise.
20197 * sysdeps/ieee754/ldbl-128ibm/strtold_l.c (SET_MANTISSA):
20198 Likewise.
20199 * sysdeps/ieee754/ldbl-128ibm/ieee754.h
20200 (ibm_extended_long_double): Add ieee_nan member.
20201 * stdlib/tst-strtod6.c (test): New function, renamed from do_test.
20202 (do_test): New function.
20203
f1cc4c86
TS
20204 * math/basic-test.c (TEST_CONVERT): New macro, renamed from
20205 TEST_TRUNC.
20206 (convert_dfsf_test, convert_tfsf_test, convert_tfdf_test): New
20207 functions, renamed from truncdfsf_test, trunctfsf_test,
20208 trunctfdf_test.
20209 (convert_sfdf_test, convert_sftf_test, convert_dftf_test): New
20210 functions.
20211 (do_test): Run all these.
20212
6f65e668
OB
202132013-08-29 Ondřej Bílka <neleai@seznam.cz>
20214
20215 * argp/argp-help.c: Fix typos.
20216 * argp/argp-parse.c: Likewise.
20217 * debug/backtracesyms.c: Likewise.
20218 * elf/elf.h: Likewise.
20219 * malloc/malloc.c: Likewise.
20220 * nis/nis_print.c: Likewise.
20221 * resolv/res_comp.c: Likewise.
20222 * stdlib/stdlib.h: Likewise.
20223 * sunrpc/clnt_tcp.c: Likewise.
20224 * sunrpc/clnt_udp.c: Likewise.
20225 * sunrpc/clnt_unix.c: Likewise.
20226 * sysdeps/unix/bsd/ptsname.c: Likewise.
20227 * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
20228 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Likewise.
99541e80
RM
20229 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S:
20230 Likewise.
20231 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S:
20232 Likewise.
20233 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
20234 Likewise.
6f65e668
OB
20235 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
20236
3a309239
SP
202372013-08-28 Siddhesh Poyarekar <siddhesh@redhat.com>
20238
20239 * nscd/aicache.c (addhstaiX): Use __glibc_unlikely.
20240 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
20241
3b813b29
MF
202422013-08-27 Mike Frysinger <vapier@gentoo.org>
20243
20244 [BZ #15897]
20245 * dlfcn/Makefile (tests): Add bug-dl-leaf.
20246 (modules-names): Add bug-dl-leaf-lib and bug-dl-leaf-lib-cb.
20247 ($(objpfx)bug-dl-leaf): New rule.
20248 ($(objpfx)bug-dl-leaf.so): Likewise.
20249 ($(objpfx)bug-dl-leaf.out): Likewise.
20250 ($(objpfx)bug-dl-leaf-lib.so): Likewise.
20251 ($(objpfx)bug-dl-leaf-lib-cb.so): Likewise.
20252 * dlfcn/bug-dl-leaf.c: New test.
20253 * dlfcn/bug-dl-leaf-lib.c: Likewise.
20254 * dlfcn/bug-dl-leaf-lib-cb.c: Likewise.
20255 * dlfcn/dlfcn.h (dlopen): Change __THROW to __THROWNL.
20256 (dlclose): Likewise.
20257 (dlmopen): Likewise.
20258
8cc3269f
RM
202592013-08-27 Roland McGrath <roland@hack.frob.com>
20260
7f9d0034
RM
20261 * include/netdb.h [!_ISOMAC]:
20262 Don't include <tls.h>.
20263 (h_errno, __libc_h_errno): Move declaration and macros out of
20264 [_LIBC_REENTRANT].
20265
fb431262
RM
20266 * include/resolv.h [_RESOLV_H_]:
20267 Don't include <tls.h>.
20268 (__resp, _res): Move declaration and macro out of [_LIBC_REENTRANT].
20269 * resolv/res_libc.c: Don't include <tls.h>.
20270 (_res): Use __attribute__ ((nocommon)) in place of
20271 __attribute__ ((section (".bss"))).
20272
bd81123a
RM
20273 * Makefile ($(common-objpfx)linkobj/libc_pic.a):
20274 If [sunrpc not in $(subdirs)], define to use libc_pic.a directly.
20275
c4e42566
RM
20276 * resolv/res_send.c (send_dg): Don't try to use ioctl unless [FIONREAD].
20277
f890a59b
RM
20278 * resolv/res_hconf.c [!NOT_IN_libc] (ifaddrs): Declare
20279 only under [SIOCGIFCONF && SIOCGIFNETMASK].
20280
20281 * resolv/res_mkquery.c: Include <sys/time.h>.
20282
5d1f0a09
RM
20283 * inet/ifreq.c: Moved to ...
20284 * sysdeps/unix/ifreq.c: ... here.
20285 * inet/ifreq.c: New file, true stub version.
20286
6fcf28b3
RM
20287 * socket/sa_len.c: New file.
20288 * socket/Makefile (aux): Add it.
20289 * sysdeps/unix/sysv/linux/Makefile
20290 [$(subdir) = socket] (sysdep_routines): Don't add sa_len here.
20291 * sysdeps/unix/sysv/linux/sa_len.c: Just #define HAVE_NET*_H
20292 and #include <socket/sa_len.c>.
20293 * sysdeps/unix/sysv/linux/s390/sa_len.c: Just #define
20294 HAVE_NETIUCV_IUCV_H and #include <sysdeps/unix/sysv/linux/sa_len.c>.
20295
e041fb8b
RM
20296 * sysdeps/unix/bsd/bsd4.4/bits/socket.h: Moved to ...
20297 * bits/socket.h: ... here.
20298
8cc3269f
RM
20299 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (enum __socket_type):
20300 Add SOCK_CLOEXEC, SOCK_NONBLOCK with values from FreeBSD.
20301 (SOCK_MAX, SOCK_TYPE_MASK): New macros.
20302
5d228a43
AS
203032013-08-27 Andreas Schwab <schwab@suse.de>
20304
45b8accc
AS
20305 [BZ #15736]
20306 * locale/categories.def (LC_CTYPE): Add "nonascii-case" element.
20307 * string/Makefile (test-strcasecmp-ENV, test-strncasecmp-ENV)
20308 (test-strcasecmp-ifunc-ENV, test-strncasecmp-ifunc-ENV): Define.
20309 * string/test-strcasecmp.c (test_main): Run tests in several
20310 locales.
20311 * string/test-strncasecmp.c (test_main): Likewise.
20312
5d228a43
AS
20313 * sysdeps/i386/i686/multiarch/strcmp-sse4.S (__strcasecmp_sse4_2)
20314 (__strncasecmp_sse4_2) [PIC]: Restore %ebx before falling through
20315 to __strcasecmp_nonascii and __strncasecmp_nonascii.
20316 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (__strcasecmp_ssse3)
20317 (__strncasecmp_ssse3) [PIC]: Likewise.
20318
59d112a4
RM
203192013-08-26 Roland McGrath <roland@hack.frob.com>
20320
53234cc3
RM
20321 * io/lxstat64.c: Just call __xstat64, for parity with stub __lxstat.
20322
59d112a4
RM
20323 * nss/nss_files/files-key.c: Include <rpc/des_crypt.h>
20324 instead of explicitly declaring xdecrypt.
20325 * nis/nss_nis/nis-publickey.c: Likewise.
20326
595aba70
SP
203272013-08-26 Siddhesh Poyarekar <siddhesh@redhat.com>
20328
20329 [BZ #15890]
20330 * nscd/aicache.c: Include res_hconf.h.
20331 (addhstaiX): Initialize res_hconf.
20332
ffabd393
AS
203332013-08-26 Andreas Schwab <schwab@suse.de>
20334
20335 * stdlib/Makefile (LDFLAGS-tst-tls-atexit): Remove.
20336 ($(objpfx)tst-tls-atexit): Add dependencies here instead.
20337
e0a69f5c
SP
203382013-08-26 Siddhesh Poyarekar <siddhesh@redhat.com>
20339
20340 * nscd/aicache.c (addhstaiX): Fix indentation.
20341
8c12f01d
MF
203422013-08-25 Mike Frysinger <vapier@gentoo.org>
20343
20344 * configure.ac: Quote $build_pt_chown test.
20345 * configure: Regenerated.
20346
8fe89494
JM
203472013-08-23 Joseph Myers <joseph@codesourcery.com>
20348
20349 [BZ #15532]
20350 * math/s_cexp.c (__cexp): Return NaN + i0 for NaN + i0 argument.
20351 * math/s_cexpf.c (__cexpf): Likewise.
20352 * math/s_cexpl.c (__cexpl): Likewise.
20353 * math/libm-test.inc (cexp_test_data): Correct expected return
20354 value for NaN + i0. Add another test.
20355
75b181d6
DM
203562013-08-22 David S. Miller <davem@davemloft.net>
20357
20358 * po/ca.po: Update Catalan translation from translation project.
936241e4 20359 * po/uk.po: Add Ukrainian translations from translation project.
75b181d6 20360
acd06bb1
JM
203612013-08-21 Joseph Myers <joseph@codesourcery.com>
20362
20363 [BZ #15797]
20364 * math/s_fdim.c (__fdim): Check for infinite arguments if result
20365 is infinite, not alongside NaN test.
20366 * math/s_fdimf.c (__fdimf): Likewise.
20367 * math/s_fdiml.c (__fdiml): Likewise.
20368 * math/libm-test.inc (fdim_test_data): Add more tests. Test that
20369 errno is unchanged.
20370
c0c3f78a
OB
203712013-08-21 Ondřej Bílka <neleai@seznam.cz>
20372
20373 * argp/argp-help.c: Fix typos.
20374 * crypt/speeds.c: Likewise.
20375 * csu/check_fds.c: Likewise.
20376 * elf/dl-load.c: Likewise.
20377 * elf/dl-open.c: Likewise.
20378 * elf/reldep3.c: Likewise.
20379 * elf/reldep.c: Likewise.
20380 * elf/sprof.c: Likewise.
20381 * iconv/iconv_charmap.c: Likewise.
20382 * iconv/skeleton.c: Likewise.
20383 * iconv/strtab.c: Likewise.
20384 * io/lockf64.c: Likewise.
20385 * libio/libioP.h: Likewise.
20386 * resolv/gai_notify.c: Likewise.
20387 * resolv/ns_name.c: Likewise.
20388 * resolv/ns_samedomain.c: Likewise.
20389 * resolv/res_send.c: Likewise.
20390 * stdlib/random.c: Likewise.
20391 * sunrpc/rpc/xdr.h: Likewise.
20392 * sysdeps/i386/fpu/fraiseexcpt.c: Likewise.
20393 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
20394 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
20395 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
20396 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
20397 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
20398 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
20399 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
20400 * sysdeps/mach/hurd/check_fds.c: Likewise.
20401 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
20402 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
20403 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
20404 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
20405 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
20406 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
20407 * sysdeps/pthread/aio_notify.c: Likewise.
20408 * sysdeps/sparc/fpu/fraiseexcpt.c: Likewise.
20409 * sysdeps/unix/sysv/linux/socketcall.h: Likewise.
20410 * sysdeps/x86_64/fpu/fraiseexcpt.c: Likewise.
20411 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
20412 * sysdeps/x86/fpu/bits/fenv.h: Likewise.
20413
46ed1038
LD
204142013-08-21 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
20415
20416 * sysdeps/i386/i686/multiarch/strcmp.S: Skip SSE4_2
20417 version if bit_Slow_SSE4_2 is set.
20418 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
20419 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
20420
d400dcac
AZ
204212013-07-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20422
20423 [BZ #15867]
20424 * sysdeps/powerpc/powerpc32/backtrace.c (__backtrace): Handle signal
20425 trampoline stack frame information.
20426 * sysdeps/powerpc/powerpc64/backtrace.c (__backtrace): Likewise.
20427 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h
20428 (__vdso_sigtramp_rt64): New variable: PPC64 signal trampoline.
20429 (__vdso_sigtramp32): New variable: PPC32 signal trampoline.
20430 (__vdso_sigtramp_rt32): New variable: PPC32 signal trampoline.
20431 * sysdeps/unix/sysv/linux/powerpc/init-first.c
20432 (_libc_vdso_platform_setup): Initialize the signal trampolines.
20433 * debug/tst-backtrace5.c (fn): Add an option set modify sigaction
20434 sa_flags value.
20435 * debug/tst-backtrace6.c: New file: check backtrace for signal frames,
20436 interrupting a syscall and set with option SA_SIGINFO.
20437
42c8fdd8
JM
204382013-08-20 Joseph Myers <joseph@codesourcery.com>
20439
c980f2f4
JM
20440 [BZ #15531]
20441 * math/s_cproj.c (__cproj): Only return an infinity if one part of
20442 argument is infinite.
20443 * math/s_cprojf.c (__cprojf): Likewise.
20444 * math/s_cprojl.c (__cprojl): Likewise.
20445 * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c (__cprojl): Likewise.
20446 * math/libm-test.inc (cproj_test_data): Add more tests.
20447
0716c4fc
JM
20448 * sysdeps/unix/sysv/linux/mmap64.c: Include <string.h>.
20449
42c8fdd8
JM
20450 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64)
20451 [MMAP2_PAGE_SHIFT == -1]: Use __getpagesize to determine page
20452 size. Use __ffs to determine corresponding shift.
20453
b31469d0
JM
204542013-08-20 Joseph Myers <joseph@codesourcery.com>
20455 Roland McGrath <roland@hack.frob.com>
20456
20457 * Makefile (INSTALL): Remove trailing blank lines from output of
20458 makeinfo.
20459
4e39af6e
AK
204602013-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
20461
20462 * sysdeps/unix/sysv/linux/s390/sys/procfs.h (struct elf_prstatus):
20463 Align 32 bit compat elf_greg to 8 bytes.
20464
f315524e
AA
204652013-08-20 Andreas Arnez <arnez@linux.vnet.ibm.com>
20466
20467 * elf/setup-vdso.h (setup_vdso): Fix missing string termination.
20468
1326ba1a
SP
204692013-08-20 Siddhesh Poyarekar <siddhesh@redhat.com>
20470
20471 * string/strcoll_l.c (coll_seq): New structure.
20472 (get_next_seq_cached): New function.
20473 (get_next_seq): New function.
20474 (do_compare): New function.
20475 (STRCOLL): Use GNU style definition. Simplify implementation
20476 by using get_next_seq, get_next_seq_cached and do_compare.
20477
91ce4085
FW
204782013-08-16 Florian Weimer <fweimer@redhat.com>
20479
20480 [BZ #14699]
20481 CVE-2013-4237
20482 * sysdeps/posix/dirstream.h (struct __dirstream): Add errcode
20483 member.
20484 * sysdeps/posix/opendir.c (__alloc_dir): Initialize errcode
20485 member.
20486 * sysdeps/posix/rewinddir.c (rewinddir): Reset errcode member.
20487 * sysdeps/posix/readdir_r.c (__READDIR_R): Enforce NAME_MAX limit.
20488 Return delayed error code. Remove GETDENTS_64BIT_ALIGNED
20489 conditional.
20490 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Do not define
20491 GETDENTS_64BIT_ALIGNED.
20492 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
20493 * manual/filesys.texi (Reading/Closing Directory): Document
20494 ENAMETOOLONG return value of readdir_r. Recommend readdir more
20495 strongly.
20496 * manual/conf.texi (Limits for Files): Add portability note to
20497 NAME_MAX, PATH_MAX.
20498 (Pathconf): Add portability note for _PC_NAME_MAX, _PC_PATH_MAX.
20499
ca0a6bc4
AS
205002013-08-13 Andreas Schwab <schwab@suse.de>
20501
20502 [BZ #15749]
20503 * sysdeps/ieee754/ldbl-96/s_cbrtl.c (__cbrtl): Use fabsl instead
20504 of fabs.
20505 * math/libm-test.inc (cbrt_test_data) [TEST_LDOUBLE &&
20506 LDBL_MAX_EXP >= 16384]: Add tests for it.
20507
6c1fd795
DM
205082013-08-12 David S. Miller <davem@davemloft.net>
20509
20510 * version.h (RELEASE): Set to "development".
20511 (VERSION): Set to "2.18.90".
20512 * NEWS: Add 2.19 section.
20513
31ad488d
DM
205142013-08-03 David S. Miller <davem@davemloft.net>
20515
20516 * po/ko.po: Update Korean translation from translation project.
20517
db24e684
DM
205182013-08-01 David S. Miller <davem@davemloft.net>
20519
20520 * manual/contrib.texi: Update entry for Siddhesh Poyarekar. Add
20521 entries for Will Newton, Andi Kleen, David Holsgrove, and Ondrej
20522 Bilka.
20523
f723285b
DM
205242013-07-30 David S. Miller <davem@davemloft.net>
20525
20526 * po/fr.po: Update French translation from translation project.
20527
3cbc52db
DM
205282013-07-28 David S. Miller <davem@davemloft.net>
20529
30bbc0cc
DM
20530 * po/cs.po: Update Czech translation from translation project.
20531
3cbc52db
DM
20532 * po/sv.po: Update Swedish translation from translation project.
20533
d492e6d0
DM
205342013-07-27 David S. Miller <davem@davemloft.net>
20535
f1a7f492
DM
20536 * po/eo.po: Update Esperanto translation from translation project.
20537
90e62a4a
DM
20538 * po/vi.po: Update Vietnamese translation from translation project.
20539
d492e6d0
DM
20540 * po/de.po: Update German translation from translation project.
20541
d4baa62d
DM
205422013-07-26 David S. Miller <davem@davemloft.net>
20543
641aa7b4
DM
20544 * po/bg.po: Update Bulgarian translation from translation project.
20545
d4baa62d
DM
20546 * po/nl.po: Update Dutch translation from translation project.
20547 * po/pl.po: Update Polish translation from translation project.
20548 * po/ru.po: Update Russian translation from translation project.
20549
61a9dcb9
DM
205502013-07-24 David S. Miller <davem@davemloft.net>
20551
20552 * po/libc.pot: Update.
20553
7b1f8b58
AZ
205542013-07-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20555
20556 * sysdeps/unix/sysv/linux/powerpc/dl-static.c: New file to support
20557 variable page size.
20558 * sysdeps/unix/sysv/linux/powerpc/ldsodefs.h: Likewise.
20559 * sysdeps/unix/sysv/linux/powerpc/Makefile: Build dl-static in elf.
20560 * sysdeps/unix/sysv/linux/powerpc/Versions: Add _dl_var_init.
20561
a8fc7a03
AK
205622013-07-22 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
20563
20564 * sysdeps/s390/fpu/libm-test-ulps: Refresh.
20565
e4608715
CD
205662013-07-21 Siddhesh Poyarekar <siddhesh@redhat.com>
20567 Andreas Schwab <schwab@suse.de>
20568 Roland McGrath <roland@hack.frob.com>
20569 Joseph Myers <joseph@codesourcery.com>
20570 Carlos O'Donell <carlos@redhat.com>
20571
20572 [BZ #15755]
20573 * config.h.in: Define HAVE_PT_CHOWN.
20574 * config.make.in (build-pt-chown): New variable.
20575 * configure.in (--enable-pt_chown): New configure option.
20576 * configure: Regenerate.
20577 * login/Makefile: Include Makeconfig. Build pt_chown only if
20578 build-pt-chown is enabled.
20579 * sysdeps/unix/grantpt.c (grantpt) [HAVE_PT_CHOWN]: Spawn
20580 pt_chown to fix pty ownership.
20581 * sysdeps/unix/sysv/linux/grantpt.c [HAVE_PT_CHOWN]: Define
20582 CLOSE_ALL_FDS.
20583 * manual/install.texi (Configuring and compiling): Mention
20584 --enable-pt_chown. Add @findex for grantpt.
20585 * INSTALL: Regenerate.
20586
da2d62df
DM
205872013-07-20 David S. Miller <davem@davemloft.net>
20588
20589 * sysdeps/sparc/fpu/libm-test-ulps: Update ULPs to handle minor
20590 difference between 32-bit and 64-bit.
20591
d7e06450
CD
205922013-07-15 Carlos O'Donell <carlos@redhat.com>
20593
20594 [BZ #15711]
20595 * sysdeps/unix/sysv/linux/Makefile ($(objpfx)bits/syscall%h):
20596 Avoid system header dependency with -ffreestanding.
20597 ($(objpfx)bits/syscall%d): Likewise.
20598
f959cfd7
DM
205992013-07-13 David S. Miller <davem@davemloft.net>
20600
20601 * math/libm-test.inc (casin_test_data): Annotate more cases of missing
20602 underflows from atanl/atan2l due to bug 15319.
20603 (casinh_test_data): Likewise.
20604
c61f8513
DM
206052013-07-07 David S. Miller <davem@davemloft.net>
20606
20607 * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
20608
72c90ed0
JA
206092013-07-05 Jeroen Albers <_jeroen_@yahoo.com>
20610
20611 * sysdeps/i386/fpu/libm-test-ulps: Update.
20612 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20613
52dfbe13
SP
206142013-07-04 Siddhesh Poyarekar <siddhesh@redhat.com>
20615
20616 * configure.in (--enable-lock-elision): Fix message text.
20617 * INSTALL: Regenerate.
20618 * configure: Regenerate.
20619
3f169543
AZ
206202013-07-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20621
20622 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
20623
521c6785
AJ
206242013-07-03 Andreas Jaeger <aj@suse.de>
20625
20626 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_LISTEN): Add
20627 define.
20628 (PTRACE_PEEKSIGINFO): Add new value from Linux 3.10.
20629 (ptrace_peeksiginfo_args): Add.
20630 (__ptrace_peeksiginfo_flags): Add.
20631 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
20632 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
20633 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
20634
d2cc15cb
AM
206352013-07-03 Allan McRae <allan@archlinux.org>
20636
20637 * sysdeps/i386/fpu/libm-test-ulps: Update.
20638
3aaeeca7
DM
206392013-07-02 David S. Miller <davem@davemloft.net>
20640
20641 * sysdeps/sparc/fpu/libm-test-ulps: Update.
20642
5314ed1a
MT
206432013-07-02 Markus Trippelsdorf <markus@trippelsdorf.de>
20644
20645 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
20646
67338156
JM
206472013-07-02 Joseph Myers <joseph@codesourcery.com>
20648
20649 * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
20650 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20651
1717da59
AK
206522013-07-02 Andi Kleen <ak@linux.intel.com>
20653
20654 * config.h.in (ENABLE_LOCK_ELISION): Add.
20655 * configure.in (--enable-lock-elision): Add option.
20656 * manual/install.texi: Document --enable lock elision.
20657 * configure: Regenerate
20658 * INSTALL: Regenerate.
20659
1c81621c
L
206602013-07-02 H.J. Lu <hongjiu.lu@intel.com>
20661
20662 * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Enable
20663 SSE4.2 strcasecmp for libc.a.
20664 * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
20665
77f01ab5
JM
206662013-07-02 Joseph Myers <joseph@codesourcery.com>
20667
20668 [BZ #13304]
20669 * soft-fp/op-common.h (_FP_FMA): New macro.
20670 * soft-fp/op-1.h (_FP_FRAC_HIGHBIT_DW_1): New macro.
20671 (_FP_MUL_MEAT_DW_1_imm): Likewise. Split out of ...
20672 (_FP_MUL_MEAT_1_imm): ... here.
20673 (_FP_MUL_MEAT_DW_1_wide): New macro. Split out of ...
20674 (_FP_MUL_MEAT_1_wide): ... here.
20675 (_FP_MUL_MEAT_DW_1_hard): Likewise. Split out of ...
20676 (_FP_MUL_MEAT_1_hard): ... here.
20677 * soft-fp/op-2.h (_FP_FRAC_HIGHBIT_DW_2): New macro.
20678 (_FP_MUL_MEAT_DW_2_wide): Likewise. Split out of ...
20679 (_FP_MUL_MEAT_2_wide): ... here.
20680 (_FP_MUL_MEAT_DW_2_wide_3mul): New macro. Split out of ...
20681 (_FP_MUL_MEAT_2_wide_3mul): ... here.
20682 (_FP_MUL_MEAT_DW_2_gmp): New macro. Split out of ...
20683 (_FP_MUL_MEAT_2_gmp): ... here.
20684 * soft-fp/op-4.h (_FP_FRAC_HIGHBIT_DW_4): New macro.
20685 (_FP_MUL_MEAT_DW_4_wide): Likewise. Split out of ...
20686 (_FP_MUL_MEAT_4_wide): ... here.
20687 (_FP_MUL_MEAT_DW_4_gmp): New macro. Split out of ...
20688 (_FP_MUL_MEAT_4_gmp): ... here.
20689 * soft-fp/single.h (_FP_FRACTBITS_DW_S): New macro.
20690 (_FP_WFRACBITS_DW_S): Likewise.
20691 (_FP_WFRACXBITS_DW_S): Likewise.
20692 (_FP_HIGHBIT_DW_S): Likewise.
20693 (FP_FMA_S): Likewise.
20694 (_FP_FRAC_HIGH_DW_S): Likewise.
20695 * soft-fp/double.h (_FP_FRACTBITS_DW_D): New macro.
20696 (_FP_WFRACBITS_DW_D): Likewise.
20697 (_FP_WFRACXBITS_DW_D): Likewise.
20698 (_FP_HIGHBIT_DW_D): Likewise.
20699 (FP_FMA_D): Likewise.
20700 (_FP_FRAC_HIGH_DW_D): Likewise.
20701 * soft-fp/extended.h (_FP_FRACTBITS_DW_E): New macro.
20702 (_FP_WFRACBITS_DW_E): Likewise.
20703 (_FP_WFRACXBITS_DW_E): Likewise.
20704 (_FP_HIGHBIT_DW_E): Likewise.
20705 (FP_FMA_E): Likewise.
20706 (_FP_FRAC_HIGH_DW_E): Likewise.
20707 * soft-fp/quad.h (_FP_FRACTBITS_DW_Q): New macro.
20708 (_FP_WFRACBITS_DW_Q): Likewise.
20709 (_FP_WFRACXBITS_DW_Q): Likewise.
20710 (_FP_HIGHBIT_DW_Q): Likewise.
20711 (FP_FMA_Q): Likewise.
20712 (_FP_FRAC_HIGH_DW_Q): Likewise.
20713 * soft-fp/fmasf4.c: New file.
20714 * soft-fp/fmadf4.c: Likewise.
20715 * soft-fp/fmatf4.c: Likewise.
20716
6308fd9a
LD
207172013-06-28 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
20718
20719 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
20720 bit_Slow_SSE4_2 and bit_Prefer_PMINUB_for_stringop for Intel
20721 Silvermont.
20722 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_SSE4_2): New
20723 macro.
20724 (index_Slow_SSE4_2): Likewise.
20725 (index_Prefer_PMINUB_for_stringop): Likewise.
20726 * sysdeps/x86_64/multiarch/strchr.S: Skip SSE4.2 version if
20727 bit_Slow_SSE4_2 is set.
20728 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
20729 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
20730
89cd9569
RA
207312013-06-28 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
20732
20733 * sysdeps/powerpc/Makefile: Add comment about generating an offset to
20734 rtld_global._dl_hwcap2.
20735 * sysdeps/powerpc/bits/hwcap.h: Added PPC_FEATURE2_* definitions for
20736 POWER8.
20737 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Extend for
20738 POWER8 feature descriptions defined in _dl_hwcap2.
20739 * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Implement AT_HWCAP2
20740 string handling for POWER8 feature bits.
20741 (_DL_HWCAP_COUNT): Increment to 64 to cover AT_HWCAP2 bits.
20742 (_DL_HWCAP_LAST): New definition for position of last AT_HWCAP bit in
20743 _dl_powerpc_cap_flags.
20744 (_DL_HWCAP2_LAST): New definition for last usable bit of AT_HWCAP2.
20745 * sysdeps/powerpc/rtld-global-offsets.sym
20746 (RTLD_GLOBAL_RO_DL_HWCAP2_OFFSET): New offset macro to locate
20747 _dl_hwcap2 in the rtld_global_ro structure.
20748
1ae8bfe0
RA
207492013-06-28 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
20750
20751 * elf/dl-support.c (_dl_hwcap2): Add a new hwcap field for more
20752 hardware capabilities in support of AT_HWCAP2.
20753 (_dl_aux_init): Read AT_HWCAP2 into GLRO(dl_hwcap2).
20754 * elf/dl-sysdep.c (_dl_sysdep_start): Read AT_HWCAP2 into
20755 GLRO(dl_hwcap2).
20756 (_dl_show_auxv): Add support for calling _dl_procinfo to display
20757 AT_HWCAP2. If a platform doesn't chose to handle displaying AT_HWCAP2
20758 explicitly the unknown a_type display mechanism is used.
20759 * misc/getauxval.c (__getauxval): Return GLRO(dl_hwcap2) on AT_HWCAP2.
20760 * sysdeps/generic/ldsodefs.h (rtld_global_ro): Add _dl_hwcap2 as a new
20761 struct member.
20762 * sysdeps/generic/dl-procinfo.h (_dl_procinfo): Add TYPE parameter
20763 to macro prototype for AT_HWCAP2 support.
20764 * sysdeps/i386/dl-procinfo.h: Likewise.
20765 * sysdeps/s390/dl-procinfo.h: Likewise.
20766 * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Add TYPE parameter to
20767 macro prototype for AT_HWCAP2 support. Make WORD unsigned long int
20768 rather than signed int. Stub in handler for TYPE == AT_HWCAP2 to
20769 return -1 for unknown a_type display fallback.
20770 * sysdeps/sparc/dl-procinfo.h: Likewise.
20771 * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Likewise.
20772 * sysdeps/unix/sysv/linux/s390/dl-procinfo.h: Likewise.
20773
8fbec010
JM
207742013-06-28 Joseph Myers <joseph@codesourcery.com>
20775
20776 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Shift by page_shift
20777 instead of MMAP2_PAGE_SHIFT in call to INLINE_SYSCALL.
20778
0432680e
PY
207792013-06-28 Pierre Ynard <linkfanel@yahoo.fr>
20780
20781 [BZ #12492]
20782 * elf/dl-load.c (_dl_map_object_from_fd): Test for failure of
20783 mprotect making __stack_prot writable.
20784
ce61a2ad
NF
207852013-06-28 Nathan Froyd <froydnj@codesourcery.com>
20786 Joseph Myers <joseph@codesourcery.com>
20787
20788 * elf/dl-profile.c (struct here_cg_arc_record): Declare 'count'
20789 as being properly aligned.
20790
f91f1c0f
MR
207912013-06-28 Maciej W. Rozycki <macro@codesourcery.com>
20792
3d0f5d0c
MR
20793 * dlfcn/modstatic5.c: New file.
20794 * dlfcn/tststatic5.c: New file.
20795 * dlfcn/Makefile (tests): Add tststatic5.
20796 (tests-static): Likewise.
20797 (modules-names): Add modstatic5.
20798 (tststatic5-ENV): New variable.
20799 ($(objpfx)tststatic5, $(objpfx)tststatic5.out): New dependencies.
20800
f91f1c0f
MR
20801 [BZ #15022]
20802 * elf/dl-support.c (_dl_main_map): New variable.
20803 (_dl_ns): Use it to initialize [LM_ID_BASE] element.
20804 (_dl_nns, _dl_load_adds): Set to 1.
20805 (_dl_initial_searchlist): Refer to _dl_main_map.
20806 (_dl_non_dynamic_init): Initialize _dl_main_map.l_origin.
20807 * elf/dl-load.c (_dl_dst_substitute) [!SHARED]: Remove fallback
20808 call to _dl_get_origin.
20809 * elf/dl-open.c (dl_open_worker): Remove !SHARED special casing
20810 around call_map.
20811 (_dl_open) [!SHARED]: Remove code to initialize GL(dl_nns).
20812 * dlfcn/modstatic3.c: New file.
20813 * dlfcn/tststatic3.c: New file.
20814 * dlfcn/tststatic4.c: New file.
20815 * dlfcn/Makefile (tests): Add tststatic3 and tststatic4.
20816 (tests-static): Likewise.
20817 (modules-names): Add modstatic3.
20818 (tststatic3-ENV, tststatic4-ENV): New variables.
20819 ($(objpfx)tststatic3, $(objpfx)tststatic3.out): New dependencies.
20820 ($(objpfx)tststatic4, $(objpfx)tststatic4.out): Likewise.
20821
cbe7d24b
JM
208222013-06-26 Joseph Myers <joseph@codesourcery.com>
20823
20824 * configure.in (CC): Require GCC version 4.4 or later.
20825 * configure: Regenerated.
20826 * manual/install.texi (Tools for Compilation): Update GCC version
20827 requirement.
20828 * INSTALL: Regenerated.
20829
11b8a0e1
LD
208302013-06-26 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
20831
20832 [BZ #15674]
bb5bb87c
L
20833 * string/test-memcmp.c (check2): New.
20834 (main): Call check2.
20835
11b8a0e1
LD
20836 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Fix buffers overrun.
20837
b0037103
MR
208382013-06-26 Maciej W. Rozycki <macro@codesourcery.com>
20839
20840 [BZ #15022]
20841 * elf/dl-open.c (_dl_open) [!SHARED]: Move call to DL_STATIC_INIT
20842 over to...
20843 (dl_open_worker) [!SHARED]: ... here.
20844
c18c701d
RA
208452013-06-26 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
20846
20847 * elf/elf.h (AT_HWCAP2): Add a new a_type entry.
20848
1d17fa5f
RH
208492013-06-25 Richard Henderson <rth@redhat.com>
20850
20851 * locale/programs/locarchive.c: Include <libc-internal.h>
20852
8fcb833a
JM
208532013-06-25 Joseph Myers <joseph@codesourcery.com>
20854
20855 * manual/texinfo.tex: Update to version 2013-06-21.17, with
20856 trailing whitespace removed.
20857
17db6e8d
MF
208582013-06-24 Mike Frysinger <vapier@gentoo.org>
20859
20860 [BZ #10283]
17db6e8d
MF
20861 * locale/locarchive.h (struct locarhandle): Add mmap_base and mmap_len.
20862 * locale/programs/locarchive.c: Include libc-mmap.h.
20863 (prepare_address_space): Take two new outputs (the mmap base and len).
20864 Align p to MAP_FIXED_ALIGNMENT. Set mmap base and len to the right
20865 values.
20866 (create_archive): Declare new mmap base and len values for
20867 prepare_address_space, and store the result in ah.
20868 (file_data_available_p): Replace pagesz with MAP_FIXED_ALIGNMENT.
20869 (enlarge_archive): If ah->mmap_base is not NULL, use that and
20870 ah->mmap_len to unmap rather than ah->addr and ah->reserved.
20871 Declare new mmap base and len values for
20872 prepare_address_space, and store the result in new_ah.
20873 (open_archive): Declare new mmap base and len values for
20874 prepare_address_space, and store the result in ah.
20875 (close_archive): If ah->mmap_base is not NULL, use that and
20876 ah->mmap_len to unmap rather than ah->addr and ah->reserved.
20877 * sysdeps/generic/libc-mmap.h: New file.
20878
d605071e
MF
208792013-06-24 Mike Frysinger <vapier@gentoo.org>
20880
20881 * include/libc-internal.h (ALIGN_DOWN): New helper macro.
20882 (ALIGN_UP): Likewise.
20883 (PTR_ALIGN_DOWN): Likewise.
20884 (PTR_ALIGN_UP): Likewise.
20885
2f063a6e
RA
208862013-06-24 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
20887
20888 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add "power8"
20889 entry mapped to PPC_PLATFORM_POWER8.
20890 * sysdeps/powerpc/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increment for
20891 POWER8.
20892 (PPC_PLATFORM_POWER8): Add new platform bit for POWER8 processor.
20893 (_dl_string_platform): Add case for exporting platform position for
20894 POWER8.
20895 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Chain
20896 search path to sysdeps/powerpc/powerpc32/power8 directory.
20897 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Chain
20898 search path to sysdeps/powerpc/powerpc64/power8 directory.
20899 * sysdeps/powerpc/powerpc32/power8/Implies: Chain search path to
20900 power7 directories.
20901 * sysdeps/powerpc/powerpc64/power8/Implies: Chain search path to
20902 power7 directories.
20903
a31ee4b3
SP
209042013-06-24 Siddhesh Poyarekar <siddhesh@redhat.com>
20905
a74ca98f
SP
20906 * INSTALL: Regenerate.
20907
a31ee4b3
SP
20908 * nscd/connections.c (nscd_init): Fix comment.
20909
695c378f
JM
209102013-06-22 Joseph Myers <joseph@codesourcery.com>
20911
d8412221
JM
20912 * sysdeps/unix/sysv/linux/libc_fatal.c: Include <string.h>.
20913
695c378f
JM
20914 [BZ #15667]
20915 * soft-fp/op-4.h (__FP_FRAC_ADD_3): Rename variables _c1 and _c2
20916 to __FP_FRAC_ADD_3_c1 and __FP_FRAC_ADD_3_c2.
20917
d1d54715
MR
209182013-06-21 Maciej W. Rozycki <macro@codesourcery.com>
20919
20920 * elf/dl-dst.h (DL_DST_REQUIRED): Remove call to
20921 DL_DST_REQ_STATIC.
20922 (DL_DST_REQ_STATIC): Remove macro.
20923
8fdda7af
JM
209242013-06-21 Joseph Myers <joseph@codesourcery.com>
20925
20926 [BZ #7006]
20927 * soft-fp/op-common.h (_FP_FROM_INT): Do not call _FP_FRAC_SLL
20928 with a shift of 0 bits.
20929
f3bc5e5a
MR
209302013-06-21 Maciej W. Rozycki <macro@codesourcery.com>
20931
20932 * dlfcn/Makefile (tststatic2-ENV): Redefine in terms of
20933 $(tststatic-ENV).
20934
be09e8c9
KK
209352013-06-21 Kaz Kojima <kkojima@rr.iij4u.or.jp>
20936
20937 [BZ #15655]
20938 * sysdeps/sh/sh4/fpu/fgetexcptflg.c: New file.
20939
85c2e611
AZ
209402013-06-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20941
20942 * config.h.in (HAVE_CC_INHIBIT_LOOP_TO_LIBCALL): New define.
20943 * configure.in (libc_cv_cc_loop_to_function): Check if compiler
20944 accepts -fno-tree-loop-distribute-patterns.
20945 * include/libc-symbols.h (inhibit_loop_to_libcall): New macro.
20946 * string/memmove.c (MEMMOVE): Disable loop transformation to avoid
20947 recursive call.
20948 * string/memset.c (memset): Likewise.
20949 * string/test-memmove.c (simple_memmove): Disable loop transformation
20950 to library calls.
20951 * string/test-memset.c (simple_memset): Likewise.
20952 * benchtests/bench-memmove.c (simple_memmove): Likewise.
20953 * benchtests/bench-memset.c (simple_memset): Likewise.
20954 * configure: Regenerated.
20955
c91e0825
JM
209562013-06-20 Joseph Myers <joseph@codesourcery.com>
20957
b8c792af
JM
20958 * math/test-misc.c (main): Ignore fesetround failure when failures
20959 of subsequent rounding tests would be ignored.
20960
c91e0825
JM
20961 [BZ #15654]
20962 * math/fedisblxcpt.c (fedisableexcept): Return 0.
20963 * math/feenablxcpt.c (feenableexcept): Return 0 for argument 0.
20964 * math/fegetenv.c (__fegetenv): Return 0.
20965 * math/fegetexcept.c (fegetexcept): Return 0.
20966 * math/fegetround.c (fegetround) [FE_TONEAREST]: Return
20967 FE_TONEAREST.
20968 * math/feholdexcpt.c (feholdexcept): Return 0.
20969 * math/fesetenv.c (__fesetenv): Return 0.
20970 * math/fesetround.c (fesetround) [FE_TONEAREST]: Return 0 for
20971 argument FE_TONEAREST.
20972 * math/feupdateenv.c (__feupdateenv): Return 0.
20973 * math/fgetexcptflg.c (__fegetexceptflag): Return 0.
20974
bfcacbde
RM
209752013-06-18 Roland McGrath <roland@hack.frob.com>
20976
20977 * elf/rtld-Rules (rtld-compile-command.S): New variable.
20978 (rtld-compile-command.s, rtld-compile-command.c): New variables.
20979 ($(objpfx)rtld-%.os rules): Use them.
20980
e55a9b25
AZ
209812013-06-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20982
20983 * nptl/sysdeps/powerpc/tls.h (tcbhead_t): Add Event-Based Branch
20984 fields.
20985
346d65b3
RM
209862013-06-17 Roland McGrath <roland@hack.frob.com>
20987
12086fb4
RM
20988 * scripts/sysd-rules.awk: Sort sysd_rules_patterns by descending
20989 length of target pattern, then descending length of dependency pattern.
20990 * configure.in (AWK): Require gawk 3.1.2 or newer.
20991 * manual/install.texi (Tools for Compilation): Say that we do.
20992 * configure: Regenerated.
20993
346d65b3
RM
20994 * Makerules [inhibit-sysdep-asm] (check-inhibit-asm): Variable removed.
20995 ($(common-objpfx)sysd-rules): Replace shell logic with running ...
20996 * scripts/sysd-rules.awk: ... this new script.
20997 * sysdeps/mach/hurd/Makefile (inhibit-sysdep-asm): Use a regexp rather
20998 than a glob-style pattern.
20999
1a846317
JM
210002013-06-17 Joseph Myers <joseph@codesourcery.com>
21001
21002 * math/test-misc.c (main): Do not treat incorrectly rounded
21003 conversions as failure unless ROUNDING_TESTS passes.
21004
8fc75e6f
JM
210052013-06-15 Joseph Myers <joseph@codesourcery.com>
21006
3711a167
JM
21007 [BZ #15631]
21008 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Save and
21009 restore exception state around main square root computation, then
21010 check for inexactness explicitly.
21011
8fc75e6f
JM
21012 * math/libm-test.inc (fma_test_data): Add another test.
21013
61dd6208
SP
210142013-06-15 Siddhesh Poyarekar <siddhesh@redhat.com>
21015
adf23d2c
SP
21016 * manual/threads.texi (Non-POSIX Extensions): New document
21017 node. Document pthread_getattr_default_np and
21018 pthread_setattr_default_np.
21019
61dd6208
SP
21020 * Versions.def (libpthread): Add GLIBC_2.18.
21021 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Update.
21022 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
21023 Likewise.
21024 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
21025 Likewise.
21026 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
21027 Likewise.
21028 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
21029 Likewise.
21030 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist:
21031 Likewise.
21032 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
21033 Likewise.
21034 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
21035 Likewise.
21036 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
21037 Likewise.
21038 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
21039 Likewise.
21040
d086fc7b
LD
210412013-06-14 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
21042
21043 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
21044 Set bit_Fast_Unaligned_Load for Intel Silvermont architecture.
21045
747ef469
SP
210462013-06-14 Siddhesh Poyarekar <siddhesh@redhat.com>
21047 H.J. Lu <hjl.tools@gmail.com>
21048
21049 [BZ #15627]
21050 * sysdeps/x86_64/rtld-memset.c: Remove file.
21051 * sysdeps/x86_64/rtld-memset.S: New file.
21052
1b2feed2
JM
210532013-06-14 Joseph Myers <joseph@codesourcery.com>
21054
21055 * stdlib/tst-strtod-round.c: Include <math-tests.h>.
21056 (test_in_one_mode): Take arguments for whether the rounding mode
21057 is supported for each floating-point type.
21058 (do_test): Pass new arguments to test_in_one_mode using
21059 ROUNDING_TESTS.
21060
a58ad3f8
RM
210612013-06-13 Roland McGrath <roland@hack.frob.com>
21062
21063 * posix/tst-waitid.c (do_test): Distinguish different instances of
21064 stopped/continued in CHECK_SIGCHLD uses. Insert a delay between
21065 sending SIGSTOP and calling waitpid to ensure SIGCHLD gets delivered
21066 before entering the kernel for waitpid.
21067
c204ab28
SP
210682013-06-13 Siddhesh Poyarekar <siddhesh@redhat.com>
21069
21070 * NEWS: Fix note on clock function precision. Text by Roland
21071 McGrath.
21072
f4a29fba
RM
210732013-06-13 Roland McGrath <roland@hack.frob.com>
21074
21075 * elf/Makefile ($(objpfx)ld.so): Link into a temporary file and move
21076 it into place only when and if the sanity check passes.
21077
1f24b9ad
JM
210782013-06-13 Joseph Myers <joseph@codesourcery.com>
21079
21080 * stdlib/gen-tst-strtod-round.c (round_str): Always generate
21081 output for whether conversion result is exact. Take argument
21082 indicating whether type is IBM long double.
21083 (round_for_all): Change need_exact field to ibm_ld.
21084 * stdlib/tst-strtod-round.c (struct exactness): New type.
21085 (struct test): Change bool ld_ok field to struct exactness exact.
21086 (TEST): Update all definitions for change to field.
21087 (tests): Regenerate array contents.
21088 (test_in_one_mode): Take pointer to new field instead of old ld_ok
21089 field value. Check for IBM long double here.
21090 (do_test): Update calls to test_in_one_mode.
21091
58206c68
SP
210922013-06-13 Siddhesh Poyarekar <siddhesh@redhat.com>
21093
21094 [BZ #12515]
21095 * sysdeps/unix/sysv/linux/clock.c (clock): Use result from
21096 CLOCK_PROCESS_CPUTIME_ID clock instead of __times.
21097
2d6f4c5b 210982013-06-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6a97b62a
AZ
21099
21100 [BZ #15605]
21101 * sysdeps/generic/symbol-hacks.h: Add workaround for memset/memmove calls
21102 generated by the compiler on loop optimizations.
21103 * sysdeps/wordsize-32/symbol-hacks.h: Include next symbol-hacks.h for
21104 general definitions.
21105
94f2c076
JM
211062013-06-12 Joseph Myers <joseph@codesourcery.com>
21107
21108 * math/bug-nextafter.c: Include <math-tests.h>.
21109 (main): Only test for exceptions if EXCEPTION_TESTS is true for
21110 the relevant type.
21111 * math/bug-nexttoward.c: Include <math-tests.h>.
21112 (main): Only test for exceptions if EXCEPTION_TESTS is true for
21113 the relevant type.
21114 * math/test-misc.c: Include <math-tests.h>.
21115 (main): Only test for exceptions if EXCEPTION_TESTS is true for
21116 the relevant type.
21117
e0e50a0a
AJ
211182013-06-12 Andreas Jaeger <aj@suse.de>
21119
21120 * po/ia.po: Update Interlingua translation from translation
21121 project.
21122
25061094
SP
211232013-06-12 Siddhesh Poyarekar <siddhesh@redhat.com>
21124
21125 * include/fenv.h: Include stdbool.h.
21126 (struct rm_ctx): New structure.
21127 * sysdeps/generic/math_private.h (SET_RESTORE_ROUND_GENERIC):
21128 Define macro.
21129 (SET_RESTORE_ROUND): Define using SET_RESTORE_ROUND_GENERIC.
21130 (SET_RESTORE_ROUNDF): Likewise.
21131 (SET_RESTORE_ROUNDL): Likewise.
21132 (SET_RESTORE_ROUND_NOEX): Likewise.
21133 (SET_RESTORE_ROUND_NOEXF): Likewise.
21134 (SET_RESTORE_ROUND_NOEXL): Likewise.
21135 (SET_RESTORE_ROUND_53BIT): Likewise.
21136 [HAVE_RM_CTX] (libc_feresetround_noex_ctx): Define macro.
21137 (libc_feresetround_noexf_ctx): Likewise.
21138 (libc_feresetround_noexl_ctx): Likewise.
21139 (libc_feholdsetround_53bit_ctx): Likewise.
21140 (libc_feresetround_53bit_ctx): Likewise.
21141 * sysdeps/i386/fpu/fenv_private.h (HAVE_RM_CTX): Define macro.
21142 (libc_feholdexcept_setround_sse_ctx): New function.
21143 (libc_fesetenv_sse_ctx): Likewise.
21144 (libc_feupdateenv_sse_ctx): Likewise.
21145 (libc_feholdexcept_setround_387_prec_ctx): Likewise.
21146 (libc_feholdexcept_setround_387_ctx): Likewise.
21147 (libc_feholdexcept_setround_387_53bit_ctx): Likewise.
21148 (libc_feholdsetround_387_prec_ctx): Likewise.
21149 (libc_feholdsetround_387_ctx): Likewise.
21150 (libc_feholdsetround_387_53bit_ctx): Likewise.
21151 (libc_feholdsetround_sse_ctx): Likewise.
21152 (libc_feresetround_sse_ctx): Likewise.
21153 (libc_feresetround_387_ctx): Likewise.
21154 (libc_feupdateenv_387_ctx): Likewise.
21155 (libc_feholdexcept_setroundf_ctx): Define macro.
21156 (libc_fesetenvf_ctx): Likewise.
21157 (libc_feupdateenvf_ctx): Likewise.
21158 (libc_feholdsetroundf_ctx): Likewise.
21159 (libc_feresetroundf_ctx): Likewise.
21160 (libc_feholdexcept_setround_ctx): Likewise.
21161 (libc_fesetenv_ctx): Likewise.
21162 (libc_feupdateenv_ctx): Likewise.
21163 (libc_feholdsetround_ctx): Likewise.
21164 (libc_feresetround_ctx): Likewise.
21165 (libc_feholdexcept_setroundl_ctx): Likewise.
21166 (libc_feupdateenvl_ctx): Likewise.
21167 (libc_feholdsetroundl_ctx): Likewise.
21168 (libc_feresetroundl_ctx): Likewise.
21169 [!__SSE2_MATH__] (libc_feholdsetround_53bit_ctx): Likewise.
21170 (libc_feresetround_53bit_ctx): Likewise.
21171
59b30555
SP
211722013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
21173
21174 * locale/iso-639.def: Convert to UTF-8.
21175
f1d73d30
JM
211762013-06-11 Joseph Myers <joseph@codesourcery.com>
21177
21178 * sysdeps/generic/math-tests.h (EXCEPTION_TESTS_float): New macro.
21179 (EXCEPTION_TESTS_double): Likewise.
21180 (EXCEPTION_TESTS_long_double): Likewise.
21181 (EXCEPTION_TESTS): Likewise.
21182 * math/libm-test.inc (test_exceptions): Only test exceptions if
21183 EXCEPTION_TESTS (FLOAT).
21184
94aca5e7
SP
211852013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
21186
21187 * benchtests/Makefile (string-bench): Add strcpy_chk and
21188 stpcpy_chk.
21189 * benchtests/bench-stpcpy_chk-ifunc.c: New file.
21190 * benchtests/bench-stpcpy_chk.c: New file.
21191 * benchtests/bench-strcpy_chk-ifunc.c: New file.
21192 * benchtests/bench-strcpy_chk.c: New file.
21193 * debug/test-strcpy_chk.c (do_one_test): Remove HP_TIMING
21194 code.
21195 (do_test): Likewise.
21196
fac0c5f2
RA
211972013-06-11 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
21198
21199 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add ppc405,
21200 ppc440, ppc464, and ppc476, merging from ports/ dl-procinfo.c.
21201 * sysdeps/powerpc/dl-procinfo.h: Fix whitespace by correcting spaces
21202 with tabs where appropriate.
21203 [PPC_PLATFORM_PPC405]: Define new platform merging from ports/
21204 dl-procinfo.h.
21205 [PPC_PLATFORM_PPC440]: Likewise.
21206 [PPC_PLATFORM_PPC464]: Likewise.
21207 [PPC_PLATFORM_PPC476]: Likewise.
21208 (_dl_string_platform): Add support for detecting ppc405, ppc440,
21209 ppc464, and ppc476 platform strings merging from ports/
21210 dl-procinfo.h.
21211
f22bc486
AS
212122013-06-11 Andreas Schwab <schwab@suse.de>
21213
21214 [BZ #14991]
21215 * iconvdata/big5hkscs.c (big5hkscs_to_ucs, from_ucs4)
21216 (from_ucs4_idx): Regenerate.
21217 (MIN_NEEDED_FROM, MAX_NEEDED_FROM, MIN_NEEDED_TO): Remove macros.
21218 (FROM_LOOP_MIN_NEEDED_FROM, FROM_LOOP_MAX_NEEDED_FROM)
21219 (FROM_LOOP_MIN_NEEDED_TO, FROM_LOOP_MAX_NEEDED_TO)
21220 (TO_LOOP_MIN_NEEDED_FROM, TO_LOOP_MAX_NEEDED_FROM)
21221 (TO_LOOP_MIN_NEEDED_TO, TO_LOOP_MAX_NEEDED_TO, PREPARE_LOOP)
21222 (EXTRA_LOOP_ARGS, SAVE_RESET_STATE, EMIT_SHIFT_TO_INIT)
21223 (EXTRA_LOOP_DECLS, MAX_NEEDED_OUTPUT): New macros.
21224 (MIN_NEEDED_INPUT, MAX_NEEDED_INPUT, MIN_NEEDED_OUTPUT): Define
21225 from FROM_LOOP and TO_LOOP specific macros.
21226 (BODY): Handle combining characters.
21227 * iconvdata/BIG5HKSCS.irreversible: Update.
21228 * iconvdata/BIG5HKSCS.precomposed: New file.
21229 * iconvdata/testdata/BIG5HKSCS: Regenerate to cover all assigned
21230 characters.
21231 * iconvdata/testdata/BIG5HKSCS..UTF8: Update.
21232
c1f75dc3
SP
212332013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
21234
4eacded2
SP
21235 * include/sys/time.h: Fix indentation and add copyright header.
21236
fec799f8
SP
21237 * string/test-memccpy.c (do_one_test): Remove HP_TIMING code.
21238 (do_test): Likewise.
21239 * string/test-memchr.c (do_one_test): Likewise.
21240 (do_test): Likewise.
21241 * string/test-memcmp.c (do_one_test): Likewise.
21242 (do_test): Likewise.
21243 * string/test-memcpy.c (do_one_test): Likewise.
21244 (do_test): Likewise.
21245 * string/test-memmem.c (do_one_test): Likewise.
21246 (do_test): Likewise.
21247 (do_random_tests): Likewise.
21248 * string/test-memmove.c (do_one_test): Likewise.
21249 (do_test): Likewise.
21250 * string/test-memset.c (do_one_test): Likewise.
21251 (do_test): Likewise.
21252 * string/test-rawmemchr.c (do_one_test): Likewise.
21253 (do_test): Likewise.
21254 * string/test-strcasecmp.c (do_one_test): Likewise.
21255 (do_test): Likewise.
21256 * string/test-strcasestr.c (do_one_test): Likewise.
21257 (do_test): Likewise.
21258 * string/test-strcat.c (do_one_test): Likewise.
21259 (do_test): Likewise.
21260 * string/test-strchr.c (do_one_test): Likewise.
21261 (do_test): Likewise.
21262 * string/test-strcmp.c (do_one_test): Likewise.
21263 (do_test): Likewise.
21264 * string/test-strcpy.c (do_one_test): Likewise.
21265 (do_test): Likewise.
21266 * string/test-string.h: Likewise.
21267 (test_init): Likewise.
21268 * string/test-strlen.c (do_one_test): Likewise.
21269 (do_test): Likewise.
21270 * string/test-strncasecmp.c (do_one_test): Likewise.
21271 (do_test): Likewise.
21272 * string/test-strncat.c (do_one_test): Likewise.
21273 (do_test): Likewise.
21274 * string/test-strncmp.c (do_one_test): Likewise.
21275 (do_test_limit): Likewise.
21276 (do_test): Likewise.
21277 * string/test-strncpy.c (do_one_test): Likewise.
21278 (do_test): Likewise.
21279 * string/test-strnlen.c (do_one_test): Likewise.
21280 (do_test): Likewise.
21281 * string/test-strpbrk.c (do_one_test): Likewise.
21282 (do_test): Likewise.
21283 * string/test-strrchr.c (do_one_test): Likewise.
21284 (do_test): Likewise.
21285 * string/test-strspn.c (do_one_test): Likewise.
21286 (do_test): Likewise.
21287 * string/test-strstr.c (do_one_test): Likewise.
21288 (do_test): Likewise.
21289
97020474
SP
21290 * benchtests/Makefile (string-bench): Add string benchmarks.
21291 * benchtests/bench-bcopy-ifunc.c: New file.
21292 * benchtests/bench-bcopy.c: New file.
21293 * benchtests/bench-bzero-ifunc.c: New file.
21294 * benchtests/bench-bzero.c: New file.
21295 * benchtests/bench-memccpy-ifunc.c: New file.
21296 * benchtests/bench-memccpy.c: New file.
21297 * benchtests/bench-memchr-ifunc.c: New file.
21298 * benchtests/bench-memchr.c: New file.
21299 * benchtests/bench-memcmp-ifunc.c: New file.
21300 * benchtests/bench-memcmp.c: New file.
21301 * benchtests/bench-memmem-ifunc.c: New file.
21302 * benchtests/bench-memmem.c: New file.
21303 * benchtests/bench-memmove-ifunc.c: New file.
21304 * benchtests/bench-memmove.c: New file.
21305 * benchtests/bench-mempcpy-ifunc.c: New file.
21306 * benchtests/bench-mempcpy.c: New file.
21307 * benchtests/bench-memset-ifunc.c: New file.
21308 * benchtests/bench-memset.c: New file.
21309 * benchtests/bench-rawmemchr-ifunc.c: New file.
21310 * benchtests/bench-rawmemchr.c: New file.
21311 * benchtests/bench-stpcpy-ifunc.c: New file.
21312 * benchtests/bench-stpcpy.c: New file.
21313 * benchtests/bench-stpncpy-ifunc.c: New file.
21314 * benchtests/bench-stpncpy.c: New file.
21315 * benchtests/bench-strcasecmp-ifunc.c: New file.
21316 * benchtests/bench-strcasecmp.c: New file.
21317 * benchtests/bench-strcasestr-ifunc.c: New file.
21318 * benchtests/bench-strcasestr.c: New file.
21319 * benchtests/bench-strcat-ifunc.c: New file.
21320 * benchtests/bench-strcat.c: New file.
21321 * benchtests/bench-strchr-ifunc.c: New file.
21322 * benchtests/bench-strchr.c: New file.
21323 * benchtests/bench-strchrnul-ifunc.c: New file.
21324 * benchtests/bench-strchrnul.c: New file.
21325 * benchtests/bench-strcmp-ifunc.c: New file.
21326 * benchtests/bench-strcmp.c: New file.
21327 * benchtests/bench-strcpy-ifunc.c: New file.
21328 * benchtests/bench-strcpy.c: New file.
21329 * benchtests/bench-strcspn-ifunc.c: New file.
21330 * benchtests/bench-strcspn.c: New file.
21331 * benchtests/bench-strlen-ifunc.c: New file.
21332 * benchtests/bench-strlen.c: New file.
21333 * benchtests/bench-strncasecmp-ifunc.c: New file.
21334 * benchtests/bench-strncasecmp.c: New file.
21335 * benchtests/bench-strncat-ifunc.c: New file.
21336 * benchtests/bench-strncat.c: New file.
21337 * benchtests/bench-strncmp-ifunc.c: New file.
21338 * benchtests/bench-strncmp.c: New file.
21339 * benchtests/bench-strncpy-ifunc.c: New file.
21340 * benchtests/bench-strncpy.c: New file.
21341 * benchtests/bench-strnlen-ifunc.c: New file.
21342 * benchtests/bench-strnlen.c: New file.
21343 * benchtests/bench-strpbrk-ifunc.c: New file.
21344 * benchtests/bench-strpbrk.c: New file.
21345 * benchtests/bench-strrchr-ifunc.c: New file.
21346 * benchtests/bench-strrchr.c: New file.
21347 * benchtests/bench-strspn-ifunc.c: New file.
21348 * benchtests/bench-strspn.c: New file.
21349 * benchtests/bench-strstr-ifunc.c: New file.
21350 * benchtests/bench-strstr.c: New file.
21351
c1f75dc3
SP
21352 * benchtests/Makefile: Disable parallel execution of targets.
21353 (string-bench): Add memcpy.
21354 (benchset): New variable to store a list of benchmark sets.
21355 (bench-func): Renamed from bench.
21356 (bench-set): New target.
21357 (bench): Depend on bench-func and bench-set.
21358 * benchtests/README: Add section on benchmark sets.
21359 * benchtests/bench-memcpy-ifunc.c: New file.
21360 * benchtests/bench-memcpy.c: New file.
21361 * benchtests/bench-string.h: New file.
21362
50fd745b
AS
213632013-06-11 Andreas Schwab <schwab@suse.de>
21364
21365 [BZ #15577]
21366 * nscd/connections.c (nscd_run_worker): Always zero-terminate key.
21367 * nscd/netgroupcache.c (addgetnetgrentX): Properly handle absent
21368 values in the triple.
21369 * nscd/nscd_netgroup.c (__nscd_setnetgrent): Include zero
21370 terminator in the group key.
21371
3ee7e9fe
AJ
213722013-06-11 Andreas Jaeger <aj@suse.de>
21373
21374 * po/zh_TW.po: Update Chinese (traditional) translation from
21375 translation project.
21376
89fb6835
SP
213772013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
21378
21379 * include/time.h (__clock_gettime): Add libc_hidden_proto.
21380 * rt/clock_getcpuclockid.c (clock_getcpuclockid): Rename to
21381 __clock_getcpuclockid. Add weak_alias and libc_hidden_def.
21382 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
21383 (clock_getcpuclockid): Likewise.
21384 * rt/clock_getres.c (clock_getres): Rename to __clock_getres.
21385 Add weak_alias and libc_hidden_def.
21386 * sysdeps/posix/clock_getres.c (clock_getres): Likewise.
21387 * rt/clock_gettime.c (clock_gettime): Rename to
21388 __clock_gettime. Add weak_alias and libc_hidden_def.
21389 * sysdeps/unix/clock_gettime.c (clock_gettime): Likewise.
21390 * rt/clock_nanosleep.c (clock_nanosleep): Rename to
21391 __clock_nanosleep. Add weak_alias and libc_hidden_def.
21392 * sysdeps/unix/clock_nanosleep.c (clock_nanosleep): Likewise.
21393 * sysdeps/unix/sysv/linux/clock_nanosleep.c (clock_nanosleep):
21394 Likewise.
21395 * rt/clock_settime.c (clock_settime): Rename to
21396 __clock_settime. Add weak_alias and libc_hidden_def.
21397 * sysdeps/unix/clock_settime.c (clock_settime): Likewise.
21398
0efa6f8b
JM
213992013-06-10 Joseph Myers <joseph@codesourcery.com>
21400
b8c61b4b
JM
21401 * mach/err_boot.sub: Remove trailing whitespace.
21402 * mach/err_ipc.sub: Likewise.
21403 * mach/err_mach.sub: Likewise.
21404
0efa6f8b
JM
21405 * sysdeps/generic/math-tests.h (ROUNDING_TESTS_float): New macro.
21406 (ROUNDING_TESTS_double): Likewise.
21407 (ROUNDING_TESTS_long_double): Likewise.
21408 (ROUNDING_TESTS): Likewise.
21409 * math/libm-test.inc: Include <math-tests.h>.
21410 (IF_ROUND_INIT_FE_DOWNWARD): Use ROUNDING_TESTS.
21411 (IF_ROUND_INIT_FE_TONEAREST): Likewise.
21412 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
21413 (IF_ROUND_INIT_FE_UPWARD): Likewise.
21414
50b818bf
SP
214152013-06-10 Siddhesh Poyarekar <siddhesh@redhat.com>
21416
21417 * benchtests/Makefile (CPPFLAGS-nonlib): Append values instead
21418 of assigning.
21419
60d2f8f3
JM
214202013-06-08 Joseph Myers <joseph@codesourcery.com>
21421
4902d2c3
JM
21422 * sysdeps/gnu/errlist.awk: Do not generate space at end of
21423 otherwise empty TRANS lines.
21424 * sysdeps/gnu/errlist.c: Regenerated.
21425
60d2f8f3
JM
21426 * catgets/gencat.c (error_print): Use (void) in function
21427 definition.
21428 * crypt/crypt_util.c (__init_des): Likewise.
21429 * crypt/speeds.c (Stop): Likewise.
21430 (main): Likewise.
21431 * hurd/hurdmalloc.c (print_malloc_free_list): Likewise.
21432 * inet/ruserpass.c (token): Likewise.
21433 * intl/finddomain.c (_nl_finddomain_subfreeres): Likewise.
21434 * intl/localealias.c (extend_alias_table): Likewise.
21435 * intl/plural-exp.c (init_germanic_plural): Likewise.
21436 * libio/fcloseall.c (__fcloseall): Likewise.
21437 * libio/genops.c (_IO_flush_all): Likewise.
21438 (_IO_flush_all_linebuffered): Likewise.
21439 (_IO_cleanup): Likewise.
21440 (_IO_iter_begin): Likewise.
21441 (_IO_iter_end): Likewise.
21442 (_IO_list_lock): Likewise.
21443 (_IO_list_unlock): Likewise.
21444 (_IO_list_resetlock): Likewise.
21445 * libio/getchar.c (getchar): Likewise.
21446 * libio/getchar_u.c (getchar_unlocked): Likewise.
21447 * libio/getwchar.c (getwchar): Likewise.
21448 * libio/getwchar_u.c (getwchar_unlocked): Likewise.
21449 * libio/oldstdfiles.c (_IO_check_libio): Likewise.
21450 * login/getpt.c (__getpt): Likewise.
21451 * login/tst-utmp.c (main): Likewise.
21452 * malloc/hooks.c (__malloc_check_init): Likewise.
21453 * malloc/malloc.c (__malloc_stats): Likewise.
21454 * malloc/mtrace.c (tr_break): Likewise.
21455 (mtrace): Likewise.
21456 (muntrace): Likewise.
21457 * misc/fstab.c (endfsent): Likewise.
21458 * misc/getclktck.c (__getclktck): Likewise.
21459 * misc/getdtsz.c (__getdtablesize): Likewise.
21460 * misc/gethostid.c (gethostid): Likewise.
21461 * misc/getpagesize.c (__getpagesize): Likewise.
21462 * misc/getsysstats.c (__get_nprocs_conf): Likewise.
21463 (__get_nprocs): Likewise.
21464 (__get_phys_pages): Likewise.
21465 (__get_avphys_pages): Likewise.
21466 * misc/getttyent.c (getttyent): Likewise.
21467 (setttyent): Likewise.
21468 (endttyent): Likewise.
21469 * misc/getusershell.c (getusershell): Likewise.
21470 (endusershell): Likewise.
21471 (setusershell): Likewise.
21472 (initshells): Likewise.
21473 * misc/hsearch.c (__hdestroy): Likewise.
21474 * misc/sync.c (sync): Likewise.
21475 * misc/syslog.c (closelog_internal): Likewise.
21476 (closelog): Likewise.
21477 * misc/ttyslot.c (ttyslot): Likewise.
21478 * misc/vhangup.c (vhangup): Likewise.
21479 * posix/fork.c (__fork): Likewise.
21480 * posix/getegid.c (__getegid): Likewise.
21481 * posix/geteuid.c (__geteuid): Likewise.
21482 * posix/getgid.c (__getgid): Likewise.
21483 * posix/getpid.c (__getpid): Likewise.
21484 * posix/getppid.c (__getppid): Likewise.
21485 * posix/getuid.c (__getuid): Likewise.
21486 * posix/pause.c (pause): Likewise.
21487 * posix/setpgrp.c (setpgrp): Likewise.
21488 * posix/setsid.c (__setsid): Likewise.
21489 * posix/test-vfork.c (noop): Likewise.
21490 * resolv/gethnamaddr.c (_endhtent): Likewise.
21491 (_gethtent): Likewise.
21492 (ht_endhostent): Likewise.
21493 (gethostent): Likewise.
21494 (dns_service): Likewise.
21495 * stdlib/drand48.c (drand48): Likewise.
21496 * stdlib/lrand48.c (lrand48): Likewise.
21497 * stdlib/mrand48.c (mrand48): Likewise.
21498 * stdlib/rand.c (rand): Likewise.
21499 * stdlib/random.c (__random): Likewise.
21500 * stdlib/setenv.c (clearenv): Likewise.
21501 * sunrpc/clnt_tcp.c (clnttcp_abort): Likewise.
21502 * sunrpc/clnt_unix.c (clntunix_abort): Likewise.
21503 * sysdeps/mach/getpagesize.c (__getpagesize): Likewise.
21504 * sysdeps/mach/getsysstats.c (__get_nprocs_conf): Likewise.
21505 (__get_nprocs): Likewise.
21506 (__get_phys_pages): Likewise.
21507 (__get_avphys_pages): Likewise.
21508 * sysdeps/mach/hurd/dl-sysdep.c (__getpid): Likewise.
21509 * sysdeps/mach/hurd/getclktck.c (__getclktck): Likewise.
21510 * sysdeps/mach/hurd/getdtsz.c (__getdtablesize): Likewise.
21511 * sysdeps/mach/hurd/getegid.c (__getegid): Likewise.
21512 * sysdeps/mach/hurd/geteuid.c (__geteuid): Likewise.
21513 * sysdeps/mach/hurd/getgid.c (__getgid): Likewise.
21514 * sysdeps/mach/hurd/gethostid.c (gethostid): Likewise.
21515 * sysdeps/mach/hurd/getlogin.c (getlogin): Likewise.
21516 * sysdeps/mach/hurd/getpid.c (__getpid): Likewise.
21517 * sysdeps/mach/hurd/getppid.c (__getppid): Likewise.
21518 * sysdeps/mach/hurd/getuid.c (__getuid): Likewise.
21519 * sysdeps/mach/hurd/sync.c (sync): Likewise.
21520 * sysdeps/posix/clock.c (clock): Likewise.
21521 * sysdeps/unix/bsd/setsid.c (__setsid): Likewise.
21522 * sysdeps/unix/getpagesize.c (__getpagesize): Likewise.
21523 * sysdeps/unix/sysv/linux/getclktck.c (__getclktck): Likewise.
21524 * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Likewise.
21525 * sysdeps/unix/sysv/linux/getpagesize.c (__getpagesize): Likewise.
21526 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
21527 (__get_nprocs_conf): Likewise.
21528 (__get_phys_pages): Likewise.
21529 (__get_avphys_pages): Likewise.
21530 * time/clock.c (clock): Likewise.
21531 * time/tzset.c (__tzname_max): Likewise.
21532
2e09a79a
JM
215332013-06-07 Joseph Myers <joseph@codesourcery.com>
21534
21535 * bits/byteswap.h [__GNUC__ && !__GNUC_PREREQ (4, 3)]
21536 (__bswap_32): Do not use "register".
21537 * crypt/crypt.c (_ufc_doit_r): Likewise.
21538 * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
21539 * debug/wcscat_chk.c (__wcscat_chk): Likewise.
21540 * gmon/gmon.c (__monstartup): Likewise.
21541 * gmon/mcount.c (_MCOUNT_DECL(frompc, selfpc)): Likewise.
21542 * hurd/hurdmalloc.c (more_memory): Likewise.
21543 (malloc): Likewise.
21544 (free): Likewise.
21545 (realloc): Likewise.
21546 (malloc_fork_prepare): Likewise.
21547 (malloc_fork_parent): Likewise.
21548 (malloc_fork_child): Likewise.
21549 * include/rpc/auth_des.h (xdr_authdes_verf): Likewise.
21550 (_svcauth_des): Likewise.
21551 * inet/inet_lnaof.c (inet_lnaof): Likewise.
21552 * inet/inet_net.c (inet_network): Likewise.
21553 * inet/inet_netof.c (inet_netof): Likewise.
21554 * inet/rcmd.c (__validuser2_sa): Likewise.
21555 * io/fts.c (fts_open): Likewise.
21556 (fts_load): Likewise.
21557 (fts_close): Likewise.
21558 (fts_read): Likewise.
21559 (fts_children): Likewise.
21560 (fts_build): Likewise.
21561 (fts_stat): Likewise.
21562 (fts_sort): Likewise.
21563 (fts_alloc): Likewise.
21564 (fts_lfree): Likewise.
21565 * libio/fileops.c (_IO_new_file_xsputn): Likewise.
21566 (_IO_file_xsgetn): Likewise.
21567 (_IO_file_xsgetn_mmap): Likewise.
21568 * libio/iofopncook.c (_IO_cookie_read): Likewise.
21569 (_IO_cookie_write): Likewise.
21570 * libio/oldfileops.c (_IO_old_file_xsputn): Likewise.
21571 * libio/wfileops.c (_IO_wfile_xsputn): Likewise.
21572 * mach/msgserver.c (__mach_msg_server_timeout): Likewise.
21573 * malloc/obstack.c (_obstack_begin): Likewise.
21574 (_obstack_begin_1): Likewise.
21575 (_obstack_newchunk): Likewise.
21576 (_obstack_allocated_p): Likewise.
21577 (obstack_free): Likewise.
21578 (_obstack_memory_used): Likewise.
21579 * misc/getttyent.c (getttynam): Likewise.
21580 (getttyent): Likewise.
21581 (skip): Likewise.
21582 (value): Likewise.
21583 * misc/getusershell.c (initshells): Likewise.
21584 * misc/syslog.c (__vsyslog_chk): Likewise.
21585 * misc/ttyslot.c (ttyslot): Likewise.
21586 * nis/nis_hash.c (__nis_hash): Likewise.
21587 * posix/fnmatch_loop.c (FCT): Likewise.
21588 * posix/getconf.c (print_all): Likewise.
21589 (main): Likewise.
21590 * posix/getopt.c (exchange): Likewise.
21591 * posix/glob.c (globfree): Likewise.
21592 (prefix_array): Likewise.
21593 (__glob_pattern_type): Likewise.
21594 * resolv/arpa/nameser.h (NS_GET16): Likewise.
21595 (NS_GET32): Likewise.
21596 (NS_PUT16): Likewise.
21597 (NS_PUT32): Likewise.
21598 * resolv/gethnamaddr.c (getanswer): Likewise.
21599 (gethostbyname2): Likewise.
21600 (gethostbyaddr): Likewise.
21601 (_gethtent): Likewise.
21602 (_gethtbyname2): Likewise.
21603 (_gethtbyaddr): Likewise.
21604 * resolv/ns_print.c (dst_s_get_int16): Likewise.
21605 * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
21606 * resolv/res_init.c (__res_vinit): Likewise.
21607 (net_mask): Likewise.
21608 * resolv/res_mkquery.c (outchar): Likewise.
21609 (PRINT): Likewise.
21610 * stdio-common/printf_fp.c (outchar): Likewise.
21611 (PRINT): Likewise.
21612 * stdio-common/printf_fphex.c (outchar): Likewise.
21613 (PRINT): Likewise.
21614 * stdio-common/printf_size.c (outchar): Likewise.
21615 (PRINT): Likewise.
21616 * stdio-common/test_rdwr.c (main): Likewise.
21617 * stdio-common/tfformat.c (matches): Likewise.
21618 * stdio-common/vfprintf.c (outchar): Likewise.
21619 (printf_unknown): Likewise.
21620 (buffered_vfprintf): Likewise.
21621 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
21622 * stdio-common/xbug.c (AppendToBuffer): Likewise.
21623 (ReadFile): Likewise.
21624 * stdlib/qsort.c (SWAP): Likewise.
21625 (_quicksort): Likewise.
21626 * stdlib/setenv.c (__add_to_environ): Likewise.
21627 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
21628 * stdlib/strtol_l.c (__strtol_l): Likewise.
21629 * stdlib/tst-strtod.c (main): Likewise.
21630 * stdlib/tst-strtol.c (main): Likewise.
21631 * stdlib/tst-strtoll.c (main): Likewise.
21632 * string/bits/string2.h (__strcmp_cc): Likewise.
21633 (__strcmp_cg): Likewise.
21634 (__strcspn_c1): Likewise.
21635 (__strcspn_c2): Likewise.
21636 (__strcspn_c3): Likewise.
21637 (__strspn_c1): Likewise.
21638 (__strspn_c2): Likewise.
21639 (__strspn_c3): Likewise.
21640 (__strsep_1c): Likewise.
21641 (__strsep_2c): Likewise.
21642 (__strsep_3c): Likewise.
21643 * string/memccpy.c (__memccpy): Likewise.
21644 * string/stpcpy.c (__stpcpy): Likewise.
21645 * string/strcmp.c (strcmp): Likewise.
21646 * string/strrchr.c (strrchr): Likewise.
21647 * sysdeps/generic/sigset-cvt-mask.h (sigset_get_old_mask):
21648 Likewise.
21649 * sysdeps/mach/hurd/getcwd.c
21650 (_hurd_canonicalize_directory_name_internal): Likewise.
21651 * sysdeps/mach/i386/sysdep.h (SNARF_ARGS): Likewise.
21652 * sysdeps/powerpc/powerpc32/power6/wcschr.c (wcschr): Likewise.
21653 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c (wcsrchr): Likewise.
21654 * sysdeps/x86/bits/byteswap-16.h [__GNUC__] (__bswap_16):
21655 Likewise, in both definitions.
21656 * sysdeps/x86/bits/byteswap.h (__bswap_32): Likewise, in multiple
21657 definitions.
21658 [__GNUC_PREREQ (2, 0) && !__GNUC_PREREQ (4, 3) && __WORDSIZE ==
21659 64] (__bswap_64): Likewise.
21660 * time/test_time.c (main): Likewise.
21661 * time/tzfile.c (__tzfile_read): Likewise.
21662 (__tzfile_compute): Likewise.
21663 * time/tzset.c (__tzset_parse_tz): Likewise.
21664 (tzset_internal): Likewise.
21665 (compute_change): Likewise.
21666 * wcsmbs/wcscat.c (__wcscat): Likewise.
21667 * wcsmbs/wcschr.c (wcschr): Likewise.
21668 * wcsmbs/wcschrnul.c (__wcschrnul): Likewise.
21669 * wcsmbs/wcscspn.c (wcscspn): Likewise.
21670 * wcsmbs/wcspbrk.c (wcspbrk): Likewise.
21671 * wcsmbs/wcsrchr.c (wcsrchr): Likewise.
21672 * wcsmbs/wcsspn.c (wcsspn): Likewise.
21673 * wcsmbs/wcsstr.c (wcsstr): Likewise.
21674 * wcsmbs/wmemchr.c (wmemchr): Likewise.
21675 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
21676 * wcsmbs/wmemset.c (wmemset): Likewise.
21677
9e54314b
JM
216782013-06-06 Joseph Myers <joseph@codesourcery.com>
21679
21680 * scripts/config.guess: Update to version 2013-05-16.
21681 * scripts/config.sub: Update to version 2013-04-24.
21682 * scripts/install-sh: Update to version 2011-11-20.07.
21683 * scripts/mkinstalldirs: Update to version 2009-04-28.21.
21684 * scripts/move-if-change: Update to version 2012-01-06 07:23.
21685
350635a5
OB
216862013-06-06 Ondřej Bílka <neleai@seznam.cz>
21687
21688 * debug/fgetws_u_chk.c: Fix leading whitespaces.
21689 * elf/sln.c: Likewise.
21690 * hurd/hurd/ioctl.h: Likewise.
21691 * hurd/hurdmalloc.c: Likewise.
21692 * hurd/xattr.c: Likewise.
21693 * include/shlib-compat.h: Likewise.
21694 * inet/ruserpass.c: Likewise.
21695 * libio/iofgets_u.c: Likewise.
21696 * libio/iofgetws_u.c: Likewise.
21697 * locale/programs/ld-identification.c: Likewise.
21698 * locale/programs/ld-time.c: Likewise.
21699 * mach/msg-destroy.c: Likewise.
21700 * nss/nss_files/files-netgrp.c: Likewise.
21701 * resolv/res_data.c: Likewise.
21702 * soft-fp/op-1.h: Likewise.
21703 * soft-fp/op-2.h: Likewise.
21704 * soft-fp/op-4.h: Likewise.
21705 * soft-fp/op-common.h: Likewise.
21706 * stdio-common/printf_fphex.c: Likewise.
21707 * stdlib/strtod_l.c: Likewise.
21708 * sunrpc/rpc/clnt.h: Likewise.
21709 * sysdeps/generic/framestate.c: Likewise.
21710 * sysdeps/i386/bsd-_setjmp.S: Likewise.
21711 * sysdeps/i386/bsd-setjmp.S: Likewise.
21712 * sysdeps/i386/__longjmp.S: Likewise.
21713 * sysdeps/i386/setjmp.S: Likewise.
21714 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
21715 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
21716 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
21717 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
21718 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
21719 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
21720 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
21721 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
21722 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
21723 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
21724 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
21725 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
21726 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
21727 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
21728 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
21729 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
21730 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
21731 * sysdeps/ieee754/ldbl-96/ldbl2mpn.c: Likewise.
21732 * sysdeps/ieee754/support.c: Likewise.
21733 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
21734 * sysdeps/powerpc/powerpc32/lshift.S: Likewise.
21735 * sysdeps/sparc/sparc32/__longjmp.S: Likewise.
21736 * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c: Likewise.
21737 * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c: Likewise.
21738 * sysdeps/sparc/sparc64/soft-fp/qp_feq.c: Likewise.
21739 * sysdeps/sparc/sparc64/soft-fp/qp_fge.c: Likewise.
21740 * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c: Likewise.
21741 * sysdeps/sparc/sparc64/soft-fp/qp_fle.c: Likewise.
21742 * sysdeps/sparc/sparc64/soft-fp/qp_flt.c: Likewise.
21743 * sysdeps/sparc/sparc64/soft-fp/qp_fne.c: Likewise.
21744 * sysdeps/sparc/sparc64/soft-fp/qp_mul.c: Likewise.
21745 * sysdeps/sparc/sparc64/soft-fp/qp_qtoi.c: Likewise.
21746 * sysdeps/sparc/sparc64/soft-fp/qp_qtoui.c: Likewise.
21747 * sysdeps/sparc/sparc64/soft-fp/qp_qtoux.c: Likewise.
21748 * sysdeps/sparc/sparc64/soft-fp/qp_qtox.c: Likewise.
21749 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
21750 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
21751
44a988af
OB
217522013-06-05 Ondřej Bílka <neleai@seznam.cz>
21753
25506f09 21754 * posix/transbug.c: Remove executable mode.
44a988af 21755
9c84384c
JM
217562013-06-05 Joseph Myers <joseph@codesourcery.com>
21757
21758 * crypt/speeds.c: Remove trailing whitespace.
21759 * dlfcn/default.c: Likewise.
21760 * elf/ifuncdep2.c: Likewise.
21761 * elf/ifuncmain1.c: Likewise.
21762 * elf/ifuncmain1vis.c: Likewise.
21763 * elf/testobj.h: Likewise.
21764 * elf/tst-stackguard1.c: Likewise.
21765 * gmon/sys/gmon.h: Likewise.
21766 * hurd/hurdmsg.c: Likewise.
21767 * hurd/new-fd.c: Likewise.
21768 * hurd/ports-get.c: Likewise.
21769 * iconvdata/ibm1008_420.c: Likewise.
21770 * inet/tst-getni1.c: Likewise.
21771 * inet/tst-getni2.c: Likewise.
21772 * libio/ioungetc.c: Likewise.
21773 * libio/wfiledoalloc.c: Likewise.
21774 * manual/libm-err-tab.pl: Likewise.
21775 * math/w_dremf.c: Likewise.
21776 * misc/ftruncate.c: Likewise.
21777 * posix/bug-glob2.c: Likewise.
21778 * posix/tst-pcre.c: Likewise.
21779 * posix/wait4.c: Likewise.
21780 * resolv/README: Likewise.
21781 * resolv/res_debug.h: Likewise.
21782 * resolv/tst-inet_ntop.c: Likewise.
21783 * setjmp/bug269-setjmp.c: Likewise.
21784 * soft-fp/extended.h: Likewise.
21785 * soft-fp/op-1.h: Likewise.
21786 * soft-fp/op-2.h: Likewise.
21787 * soft-fp/op-4.h: Likewise.
21788 * soft-fp/op-8.h: Likewise.
21789 * soft-fp/testit.c: Likewise.
21790 * stdio-common/bug16.c: Likewise.
21791 * stdlib/random.c: Likewise.
21792 * sunrpc/rpcsvc/rquota.x: Likewise.
21793 * sysdeps/ieee754/dbl-64/powtwo.tbl: Likewise.
21794 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
21795 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
21796 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
21797 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
21798 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
21799 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
21800 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
21801 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
21802 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
21803 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
21804 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
21805 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
21806 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
21807 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
21808 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
21809 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
21810 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
21811 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
21812 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
21813 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
21814 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
21815 * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
21816 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
21817 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
21818 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
21819 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
21820 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
21821 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
21822 * sysdeps/ieee754/s_lib_version.c: Likewise.
21823 * sysdeps/mach/hurd/check_fds.c: Likewise.
21824 * sysdeps/mach/hurd/getsockname.c: Likewise.
21825 * sysdeps/mach/hurd/net/if_ppp.h: Likewise.
21826 * sysdeps/mach/hurd/recvfrom.c: Likewise.
21827 * sysdeps/powerpc/bits/link.h: Likewise.
21828 * sysdeps/powerpc/dl-procinfo.c: Likewise.
21829 * sysdeps/powerpc/fpu/feholdexcpt.c: Likewise.
21830 * sysdeps/powerpc/fpu/fenv_const.c: Likewise.
21831 * sysdeps/powerpc/fpu/fesetenv.c: Likewise.
21832 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
21833 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
21834 * sysdeps/powerpc/fpu/t_sqrt.c: Likewise.
21835 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
21836 * sysdeps/powerpc/powerpc32/fpu/s_floor.S: Likewise.
21837 * sysdeps/powerpc/powerpc32/fpu/s_floorf.S: Likewise.
21838 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
21839 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
21840 * sysdeps/powerpc/powerpc32/fpu/s_round.S: Likewise.
21841 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Likewise.
21842 * sysdeps/powerpc/powerpc32/fpu/s_trunc.S: Likewise.
21843 * sysdeps/powerpc/powerpc32/fpu/s_truncf.S: Likewise.
21844 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
21845 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
21846 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
21847 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
21848 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
21849 * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Likewise.
21850 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
21851 * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
21852 * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Likewise.
21853 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
21854 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
21855 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
21856 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
21857 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
21858 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
21859 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
21860 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
21861 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
21862 * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Likewise.
21863 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
21864 * sysdeps/powerpc/powerpc64/fpu/s_floor.S: Likewise.
21865 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
21866 * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
21867 * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Likewise.
21868 * sysdeps/powerpc/powerpc64/fpu/s_llrintf.S: Likewise.
21869 * sysdeps/powerpc/powerpc64/fpu/s_llround.S: Likewise.
21870 * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S: Likewise.
21871 * sysdeps/powerpc/powerpc64/fpu/s_round.S: Likewise.
21872 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
21873 * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Likewise.
21874 * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: Likewise.
21875 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
21876 * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Likewise.
21877 * sysdeps/powerpc/powerpc64/hp-timing.c: Likewise.
21878 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
21879 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
21880 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
21881 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
21882 * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Likewise.
21883 * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
21884 * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
21885 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
21886 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Likewise.
21887 * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
21888 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Likewise.
21889 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Likewise.
21890 * sysdeps/powerpc/powerpc64/strlen.S: Likewise.
21891 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
21892 * sysdeps/powerpc/sysdep.h: Likewise.
21893 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
21894 * sysdeps/s390/s390-64/sub_n.S: Likewise.
21895 * sysdeps/sh/dl-trampoline.S: Likewise.
21896 * sysdeps/sh/memset.S: Likewise.
21897 * sysdeps/sh/sh4/fpu/fclrexcpt.c: Likewise.
21898 * sysdeps/sh/strlen.S: Likewise.
21899 * sysdeps/sparc/sparc32/dl-trampoline.S: Likewise.
21900 * sysdeps/sparc/sparc32/dotmul.S: Likewise.
21901 * sysdeps/sparc/sparc32/memcpy.S: Likewise.
21902 * sysdeps/sparc/sparc32/rem.S: Likewise.
21903 * sysdeps/sparc/sparc32/sdiv.S: Likewise.
21904 * sysdeps/sparc/sparc32/soft-fp/q_neg.c: Likewise.
21905 * sysdeps/sparc/sparc32/strchr.S: Likewise.
21906 * sysdeps/sparc/sparc32/udiv.S: Likewise.
21907 * sysdeps/sparc/sparc32/urem.S: Likewise.
21908 * sysdeps/sparc/sparc64/add_n.S: Likewise.
21909 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
21910 * sysdeps/sparc/sparc64/rawmemchr.S: Likewise.
21911 * sysdeps/sparc/sparc64/soft-fp/s_frexpl.c: Likewise.
21912 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h: Likewise.
21913 * sysdeps/sparc/sparc64/stpncpy.S: Likewise.
21914 * sysdeps/sparc/sparc64/strncmp.S: Likewise.
21915 * sysdeps/sparc/sparc64/strncpy.S: Likewise.
21916 * sysdeps/unix/bsd/times.c: Likewise.
21917 * sysdeps/unix/sysv/linux/a.out.h: Likewise.
21918 * sysdeps/unix/sysv/linux/net/if_ppp.h: Likewise.
21919 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
21920 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
21921 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
21922 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: Likewise.
21923 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
21924 * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Likewise.
21925 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Likewise.
21926 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Likewise.
21927 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Likewise.
21928 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
21929 * sysdeps/unix/sysv/linux/s390/s390-64/mmap.S: Likewise.
21930 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
21931 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
21932 * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
21933 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
21934 * sysdeps/unix/sysv/linux/s390/s390-64/syscall.S: Likewise.
21935 * sysdeps/unix/sysv/linux/scsi/scsi_ioctl.h: Likewise.
21936 * sysdeps/unix/sysv/linux/sh/brk.c: Likewise.
21937 * sysdeps/unix/sysv/linux/sh/clone.S: Likewise.
21938 * sysdeps/unix/sysv/linux/sh/sh3/getcontext.S: Likewise.
21939 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
21940 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S: Likewise.
21941 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S: Likewise.
21942 * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
21943 * sysdeps/unix/sysv/linux/sparc/a.out.h: Likewise.
21944 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
21945 * sysdeps/unix/sysv/linux/sys/personality.h: Likewise.
21946 * sysdeps/x86_64/fpu/s_ceill.S: Likewise.
21947 * sysdeps/x86_64/fpu/s_llrintl.S: Likewise.
21948 * sysdeps/x86_64/strcspn.S: Likewise.
21949
869378a5
RA
219502013-06-05 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
21951
21952 * locale/C-translit.h: Revert #include <stdint.h> because this is a
21953 generated file. Regenerate properly from gen-translit.pl.
21954 * locale/gen-translit.pl: Add #include <stdint.h>. This generates
21955 locale/C-translit.h.
21956
840e2943
AS
219572013-06-05 Andreas Schwab <schwab@suse.de>
21958
21959 [BZ #15100]
21960 * time/strptime_l.c (__strptime_internal): Count Sunday in a %W
21961 week as 6 instead of -1.
21962 * time/tst-strptime.c (day_tests): Add test case.
21963
4c60cb0c
SP
219642013-06-05 Siddhesh Poyarekar <siddhesh@redhat.com>
21965
21966 * sysdeps/generic/math_private.h
21967 (libc_feholdexcept_setround_53bit): Replace with
21968 libc_feholdsetround_53bit.
21969 (libc_feupdateenv_53bit): Replace with
21970 libc_feresetround_53bit.
21971 (SET_RESTORE_ROUND_53BIT): Adjust.
21972
d180203e
SP
219732013-06-03 Siddhesh Poyarekar <siddhesh@redhat.com>
21974
96df079a
SP
21975 * string/test-strchrnul.c: Add copyright header.
21976
d180203e
SP
21977 * posix/tst-getaddrinfo4.c: Increase test timeout.
21978
8b0ccb2d
CD
219792013-06-03 Carlos O'Donell <carlos@redhat.com>
21980
21981 [BZ #15536]
21982 * math/libm-test.inc (MAX_EXP): Remove
21983 (MIN_EXP): Define.
21984 (ulp): Use MIN_EXP - MANT_DIG.
21985 (check_ulp): Verify subnormal ulps. Only allow a range of +/- 1 ulp.
21986
3b3c4d40
CD
219872013-05-31 Carlos O'Donell <carlos@redhat.com>
21988
21989 * po/be.po: Revert last change.
21990 * po/zh_CN.po: Likewise.
21991 * po/header.pot: Likewise.
21992
fab7ce3f
JM
219932013-05-31 Joseph Myers <joseph@codesourcery.com>
21994
21995 * Makefile ($(common-objpfx)linkobj/libc.so): Define
21996 link-libc-deps to empty as target-specific variable.
21997 * Makerules (link-libc-args): New variable.
21998 (libc-for-link): Likewise.
21999 (link-libc-deps): Likewise.
22000 (lib%.so): Depend on $(link-libc-deps). Link with
22001 $(link-libc-args).
22002 (build-module): Link with $(link-libc-args).
22003 (build-module-asneeded): Likewise.
22004 (build-module-helper-objlist): Filter out $(link-libc-deps) from
22005 list of objects.
22006 ($(common-objpfx)libc.so): Define link-libc-deps to empty as
22007 target-specific variable.
22008 ($(extra-modules-build:%=$(objpfx)%.so)): Depend on
22009 $(link-libc-deps) instead of libc.so and libc_nonshared.a.
22010 * crypt/Makefile ($(objpfx)libcrypt.so): Remove dependencies on
22011 libc.
22012 * debug/Makefile ($(objpfx)libSegFault.so): Remove dependencies on
22013 libc and ld.so.
22014 ($(objpfx)libpcprofile.so): Likewise.
22015 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Remove ld.so and
22016 libc_nonshared.a.
22017 ($(objpfx)libdl.so): Remove dependencies on libc and ld.so.
22018 * hesiod/Makefile ($(objpfx)libnss_hesiod.so): Likewise.
22019 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Depend on
22020 $(link-libc-deps).
22021 ($(objpfx)$(mod).so): Remove dependencies on libc and ld.so.
22022 * locale/Makefile ($(objpfx)libBrokenLocale.so): Likewise.
22023 * login/Makefile ($(objpfx)libutil.so): Likewise.
22024 * malloc/Makefile ($(objpfx)libmemusage.so): Likewise.
22025 * math/Makefile ($(objpfx)libm.so): Likewise.
22026 * nis/Makefile ($(services:%=$(objpfx)libnss_%.so)
22027 $(objpfx)libnsl.so): Define libc-for-link as target-specific
22028 variable instead of depending directly on libc.
22029 * nss/Makefile ($(services:%=$(objpfx)libnss_%.so)): Likewise.
22030 ($(objpfx)/libnss_test1.so): Change dependencies on libc to
22031 $(link-libc-deps).
22032 * resolv/Makefile ($(objpfx)libresolv.so): Remove dependencies on
22033 libc.
22034 [$(have-ssp) = yes] (LDLIBS-resolv.so): Remove variable.
22035 ($(objpfx)libnss_dns.so): Remove dependencies on libc.
22036 ($(objpfx)libanl.so): Likewise.
22037 * rt/Makefile ($(objpfx)librt.so): Remove dependencies on libc and
22038 ld.so.
22039 * stdlib/Makefile ($(objpfx)tst-putenvmod.so): Depend on
22040 $(link-libc-deps).
22041 * sysdeps/i386/fpu/Makefile: Remove file.
22042 * sysdeps/powerpc/fpu/Makefile [$(subdir) = math]
22043 ($(objpfx)libm.so): Remove dependency on ld.so.
22044
eca5920c
PF
220452013-05-30 Patsy Franklin <pfrankli@redhat.com>
22046
22047 [BZ # 15553]
22048 * nis/yp_xdr.c (XDRMAXNAME): Define.
22049 (XDRMAXRECORD): Define.
22050 (xdr_domainname): Use XDRMAXNAME.
22051 (xdr_mapname): Likewise.
22052 (xdr_peername): Likewise.
22053 (xdr_keydat): Use XDRMAXRECORD.
22054 (xdr_valdat): Likewise.
22055
220562013-05-30 Jeff Law <law@redhat.com>
96945714
JL
22057
22058 [BZ #14256]
22059 * manual/errno.texi (ESTALE): Update to account for more than
22060 just NFS file systems.
22061 * sysdeps/gnu/errlist.c: Regenerated.
22062
b9375348
SP
220632013-05-29 Siddhesh Poyarekar <siddhesh@redhat.com>
22064
22065 [BZ #15465]
22066 * elf/Makefile (tests): Add tst-null-argv.
22067 (modules-names): Add tst-null-argv-lib.
22068 ($(objpfx)tst-null-argv): Depend on tst-null-argv-lib.so.
22069 (tst-null-argv-ENV): Set environment for tst-null-argv.
22070 * sysdeps/generic/ldsodefs.h (DSO_FILENAME): New macro.
22071 (RTLD_PROGNAME): New macro.
22072 * elf/tst-null-argv.c: New test case.
22073 * elf/tst-null-argv-lib.c: Library for test case.
22074 * elf/dl-conflict.c (_dl_resolve_conflicts): Use DSO_FILENAME.
22075 * elf/dl-deps.c (_dl_map_object_deps): Likewise.
22076 * elf/dl-error.c (_dl_signal_error): Use RTLD_PROGNAME.
22077 * elf/dl-fini.c (_dl_fini): Use DSO_FILENAME.
22078 * elf/dl-init.c (call_init): Likewise.
22079 (_dl_init): Likewise.
22080 * elf/dl-load.c (print_search_path): Likewise.
22081 (_dl_map_object): Likewise.
22082 * elf/dl-lookup.c (do_lookup_x): Likewise.
22083 (add_dependency): Likewise.
22084 (_dl_lookup_symbol_x): Likewise.
22085 (_dl_debug_bindings): Likewise.
22086 * elf/dl-open.c (_dl_show_scope): Likewise.
22087 * elf/dl-reloc.c (_dl_relocate_object): Likewise.
22088 * elf/dl-version.c (match_symbol): Likewise.
22089 (_dl_check_map_versions): Likewise.
22090 * elf/rtld.c (dl_main): Likewise.
22091 (print_unresolved): Use RTLD_PROGNAME.
22092 (print_missing_version): Likewise.
22093 * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
22094 (elf_machine_rela): Likewise.
22095 * sysdeps/powerpc/powerpc32/dl-machine.c
22096 (__process_machine_rela): Likewise.
22097 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
22098 Likewise.
22099 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
22100 Likewise.
22101 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
22102 Likewise.
22103 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
22104 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela):
22105 Likewise.
22106 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela):
22107 Likewise.
22108 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
22109
8a9f20c8
CD
221102013-05-28 Carlos O'Donell <carlos@redhat.com>
22111
22112 * po/be.po: Add descriptive title.
22113 * po/zh_CN.po: Likewise.
22114 * po/header.pot: Likewise.
22115
0e60d68e
MF
221162013-05-28 Mike Frysinger <vapier@gentoo.org>
22117
22118 * locale/programs/locarchive.c (create_archive): Inlucde fname in
22119 error message.
22120 (enlarge_archive): Likewise.
22121
56b672e9
BN
221222013-05-28 Ben North <ben@redfrontdoor.org>
22123
22124 * manual/arith.texi (frexp): It is the magnitude of the return
22125 value which lies in [0.5, 1), not the return value itself.
22126
5e056687
AZ
221272013-05-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22128
22129 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
22130
2b66ef5d
TS
221312013-05-26 Thomas Schwinge <thomas@codesourcery.com>
22132
528c2405
TS
22133 * stdio-common/bug26.c (main): Correct fscanf template.
22134
07b4c13d
TS
22135 * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start:go): Don't
22136 declare _dl_skip_args.
22137
ec9dd97c
TS
22138 * sysdeps/mach/hurd/i386/init-first.c (_dl_non_dynamic_init):
22139 Don't declare.
22140
2b66ef5d
TS
22141 * manual/platform.texi: Add missing @end deftypefun.
22142
4f8dfe27
JM
221432013-05-24 Joseph Myers <joseph@codesourcery.com>
22144
0323d086
JM
22145 [BZ #15529]
22146 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Set high
22147 bit of mantissa of 2^16382.
22148 * math/libm-test.inc (hypot_test_data): Add more tests.
22149
dd4259b9
JM
22150 * math/libm-test.inc: Add drem and pow10 to list of tested
22151 functions.
22152 (pow10_test): New function.
22153 (drem_test): Likewise.
22154 (drem_test_tonearest): Likewise.
22155 (drem_test_towardzero): Likewise.
22156 (drem_test_downward): Likewise.
22157 (drem_test_upward): Likewise.
22158 (main): Call the new functions.
22159
4f8dfe27
JM
22160 * math/libm-test.inc (finite_test_data): Remove.
22161 (finite_test): Run tests from isfinite_test_data.
22162 (gamma_test_data): Remove.
22163 (gamma_test): Run tests from lgamma_test_data.
22164 * sysdeps/i386/fpu/libm-test-ulps: Update.
22165 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22166
d116b7c4
AZ
221672013-05-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22168
22169 * manual/platform.texi: Add PowerPC PPR function set documentation.
22170 * sysdeps/powerpc/sys/platform/ppc.h: Add PowerPC PPR set function
22171 implementation.
22172
e96e3767
CD
221732013-05-24 Carlos O'Donell <carlos@redhat.com>
22174
22175 * math/libm-test.inc (MAX_EXP): Define.
22176 (ULPDIFF): Define.
22177 (ulp): New function.
22178 (check_float_internal): Use ULPDIFF.
22179 (cpow_test): Disable failing test.
22180 (check_ulp): Test ulp() implemetnation.
22181 (main): Call check_ulp before starting tests.
22182
b679a606
JM
221832013-05-24 Joseph Myers <joseph@codesourcery.com>
22184
e8bdba36
JM
22185 * math/gen-libm-test.pl (generate_testfile): Do not handle
22186 START_DATA and END_DATA.
22187 * math/libm-test.inc (acos_test_data): Do not use START_DATA and
22188 END_DATA.
22189 (acos_tonearest_test_data): Likewise.
22190 (acos_towardzero_test_data): Likewise.
22191 (acos_downward_test_data): Likewise.
22192 (acos_upward_test_data): Likewise.
22193 (acosh_test_data): Likewise.
22194 (asin_test_data): Likewise.
22195 (asin_tonearest_test_data): Likewise.
22196 (asin_towardzero_test_data): Likewise.
22197 (asin_downward_test_data): Likewise.
22198 (asin_upward_test_data): Likewise.
22199 (asinh_test_data): Likewise.
22200 (atan_test_data): Likewise.
22201 (atanh_test_data): Likewise.
22202 (atan2_test_data): Likewise.
22203 (cabs_test_data): Likewise.
22204 (cacos_test_data): Likewise.
22205 (cacosh_test_data): Likewise.
22206 (carg_test_data): Likewise.
22207 (casin_test_data): Likewise.
22208 (casinh_test_data): Likewise.
22209 (catan_test_data): Likewise.
22210 (catanh_test_data): Likewise.
22211 (cbrt_test_data): Likewise.
22212 (ccos_test_data): Likewise.
22213 (ccosh_test_data): Likewise.
22214 (ceil_test_data): Likewise.
22215 (cexp_test_data): Likewise.
22216 (cimag_test_data): Likewise.
22217 (clog_test_data): Likewise.
22218 (clog10_test_data): Likewise.
22219 (conj_test_data): Likewise.
22220 (copysign_test_data): Likewise.
22221 (cos_test_data): Likewise.
22222 (cos_tonearest_test_data): Likewise.
22223 (cos_towardzero_test_data): Likewise.
22224 (cos_downward_test_data): Likewise.
22225 (cos_upward_test_data): Likewise.
22226 (cosh_test_data): Likewise.
22227 (cosh_tonearest_test_data): Likewise.
22228 (cosh_towardzero_test_data): Likewise.
22229 (cosh_downward_test_data): Likewise.
22230 (cosh_upward_test_data): Likewise.
22231 (cpow_test_data): Likewise.
22232 (cproj_test_data): Likewise.
22233 (creal_test_data): Likewise.
22234 (csin_test_data): Likewise.
22235 (csinh_test_data): Likewise.
22236 (csqrt_test_data): Likewise.
22237 (ctan_test_data): Likewise.
22238 (ctan_tonearest_test_data): Likewise.
22239 (ctan_towardzero_test_data): Likewise.
22240 (ctan_downward_test_data): Likewise.
22241 (ctan_upward_test_data): Likewise.
22242 (ctanh_test_data): Likewise.
22243 (ctanh_tonearest_test_data): Likewise.
22244 (ctanh_towardzero_test_data): Likewise.
22245 (ctanh_downward_test_data): Likewise.
22246 (ctanh_upward_test_data): Likewise.
22247 (erf_test_data): Likewise.
22248 (erfc_test_data): Likewise.
22249 (exp_test_data): Likewise.
22250 (exp_tonearest_test_data): Likewise.
22251 (exp_towardzero_test_data): Likewise.
22252 (exp_downward_test_data): Likewise.
22253 (exp_upward_test_data): Likewise.
22254 (exp10_test_data): Likewise.
22255 (exp2_test_data): Likewise.
22256 (expm1_test_data): Likewise.
22257 (fabs_test_data): Likewise.
22258 (fdim_test_data): Likewise.
22259 (finite_test_data): Likewise.
22260 (floor_test_data): Likewise.
22261 (fma_test_data): Likewise.
22262 (fma_towardzero_test_data): Likewise.
22263 (fma_downward_test_data): Likewise.
22264 (fma_upward_test_data): Likewise.
22265 (fmax_test_data): Likewise.
22266 (fmin_test_data): Likewise.
22267 (fmod_test_data): Likewise.
22268 (fpclassify_test_data): Likewise.
22269 (frexp_test_data): Likewise.
22270 (gamma_test_data): Likewise.
22271 (hypot_test_data): Likewise.
22272 (ilogb_test_data): Likewise.
22273 (isfinite_test_data): Likewise.
22274 (isgreater_test_data): Likewise.
22275 (isgreaterequal_test_data): Likewise.
22276 (isinf_test_data): Likewise.
22277 (isless_test_data): Likewise.
22278 (islessequal_test_data): Likewise.
22279 (islessgreater_test_data): Likewise.
22280 (isnan_test_data): Likewise.
22281 (isnormal_test_data): Likewise.
22282 (issignaling_test_data): Likewise.
22283 (isunordered_test_data): Likewise.
22284 (j0_test_data): Likewise.
22285 (j1_test_data): Likewise.
22286 (jn_test_data): Likewise.
22287 (ldexp_test_data): Likewise.
22288 (lgamma_test_data): Likewise.
22289 (lrint_test_data): Likewise.
22290 (lrint_tonearest_test_data): Likewise.
22291 (lrint_towardzero_test_data): Likewise.
22292 (lrint_downward_test_data): Likewise.
22293 (lrint_upward_test_data): Likewise.
22294 (llrint_test_data): Likewise.
22295 (llrint_tonearest_test_data): Likewise.
22296 (llrint_towardzero_test_data): Likewise.
22297 (llrint_downward_test_data): Likewise.
22298 (llrint_upward_test_data): Likewise.
22299 (log_test_data): Likewise.
22300 (log10_test_data): Likewise.
22301 (log1p_test_data): Likewise.
22302 (log2_test_data): Likewise.
22303 (logb_test_data): Likewise.
22304 (logb_downward_test_data): Likewise.
22305 (lround_test_data): Likewise.
22306 (llround_test_data): Likewise.
22307 (modf_test_data): Likewise.
22308 (nearbyint_test_data): Likewise.
22309 (nextafter_test_data): Likewise.
22310 (nexttoward_test_data): Likewise.
22311 (pow_test_data): Likewise.
22312 (pow_tonearest_test_data): Likewise.
22313 (pow_towardzero_test_data): Likewise.
22314 (pow_downward_test_data): Likewise.
22315 (pow_upward_test_data): Likewise.
22316 (remainder_test_data): Likewise.
22317 (remainder_tonearest_test_data): Likewise.
22318 (remainder_towardzero_test_data): Likewise.
22319 (remainder_downward_test_data): Likewise.
22320 (remainder_upward_test_data): Likewise.
22321 (remquo_test_data): Likewise.
22322 (rint_test_data): Likewise.
22323 (rint_tonearest_test_data): Likewise.
22324 (rint_towardzero_test_data): Likewise.
22325 (rint_downward_test_data): Likewise.
22326 (rint_upward_test_data): Likewise.
22327 (round_test_data): Likewise.
22328 (scalb_test_data): Likewise.
22329 (scalbn_test_data): Likewise.
22330 (scalbln_test_data): Likewise.
22331 (signbit_test_data): Likewise.
22332 (sin_test_data): Likewise.
22333 (sin_tonearest_test_data): Likewise.
22334 (sin_towardzero_test_data): Likewise.
22335 (sin_downward_test_data): Likewise.
22336 (sin_upward_test_data): Likewise.
22337 (sincos_test_data): Likewise.
22338 (sinh_test_data): Likewise.
22339 (sinh_tonearest_test_data): Likewise.
22340 (sinh_towardzero_test_data): Likewise.
22341 (sinh_downward_test_data): Likewise.
22342 (sinh_upward_test_data): Likewise.
22343 (sqrt_test_data): Likewise.
22344 (tan_test_data): Likewise.
22345 (tan_tonearest_test_data): Likewise.
22346 (tan_towardzero_test_data): Likewise.
22347 (tan_downward_test_data): Likewise.
22348 (tan_upward_test_data): Likewise.
22349 (tanh_test_data): Likewise.
22350 (tgamma_test_data): Likewise.
22351 (trunc_test_data): Likewise.
22352 (y0_test_data): Likewise.
22353 (y1_test_data): Likewise.
22354 (yn_test_data): Likewise.
22355 (significand_test_data): Likewise.
22356
b679a606
JM
22357 * math/gen-libm-test.pl (@functions): Remove variable.
22358 (generate_testfile): Don't handle START and END lines.
22359 * math/libm-test.inc (START): New macro.
22360 (END): Likewise.
22361 (END_COMPLEX): Likewise.
22362 (acos_test): Use END macro without arguments.
22363 (acos_test_tonearest): Likewise.
22364 (acos_test_towardzero): Likewise.
22365 (acos_test_downward): Likewise.
22366 (acos_test_upward): Likewise.
22367 (acosh_test): Likewise.
22368 (asin_test): Likewise.
22369 (asin_test_tonearest): Likewise.
22370 (asin_test_towardzero): Likewise.
22371 (asin_test_downward): Likewise.
22372 (asin_test_upward): Likewise.
22373 (asinh_test): Likewise.
22374 (atan_test): Likewise.
22375 (atanh_test): Likewise.
22376 (atan2_test): Likewise.
22377 (cabs_test): Likewise.
22378 (cacos_test): Use END_COMPLEX macro without arguments.
22379 (cacosh_test): Likewise.
22380 (carg_test): Use END macro without arguments.
22381 (casin_test): Use END_COMPLEX macro without arguments.
22382 (casinh_test): Likewise.
22383 (catan_test): Likewise.
22384 (catanh_test): Likewise.
22385 (cbrt_test): Use END macro without arguments.
22386 (ccos_test): Use END_COMPLEX macro without arguments.
22387 (ccosh_test): Likewise.
22388 (ceil_test): Use END macro without arguments.
22389 (cexp_test): Use END_COMPLEX macro without arguments.
22390 (cimag_test): Use END macro without arguments.
22391 (clog_test): Use END_COMPLEX macro without arguments.
22392 (clog10_test): Likewise.
22393 (conj_test): Likewise.
22394 (copysign_test): Use END macro without arguments.
22395 (cos_test): Likewise.
22396 (cos_test_tonearest): Likewise.
22397 (cos_test_towardzero): Likewise.
22398 (cos_test_downward): Likewise.
22399 (cos_test_upward): Likewise.
22400 (cosh_test): Likewise.
22401 (cosh_test_tonearest): Likewise.
22402 (cosh_test_towardzero): Likewise.
22403 (cosh_test_downward): Likewise.
22404 (cosh_test_upward): Likewise.
22405 (cpow_test): Use END_COMPLEX macro without arguments.
22406 (cproj_test): Likewise.
22407 (creal_test): Use END macro without arguments.
22408 (csin_test): Use END_COMPLEX macro without arguments.
22409 (csinh_test): Likewise.
22410 (csqrt_test): Likewise.
22411 (ctan_test): Likewise.
22412 (ctan_test_tonearest): Likewise.
22413 (ctan_test_towardzero): Likewise.
22414 (ctan_test_downward): Likewise.
22415 (ctan_test_upward): Likewise.
22416 (ctanh_test): Likewise.
22417 (ctanh_test_tonearest): Likewise.
22418 (ctanh_test_towardzero): Likewise.
22419 (ctanh_test_downward): Likewise.
22420 (ctanh_test_upward): Likewise.
22421 (erf_test): Use END macro without arguments.
22422 (erfc_test): Likewise.
22423 (exp_test): Likewise.
22424 (exp_test_tonearest): Likewise.
22425 (exp_test_towardzero): Likewise.
22426 (exp_test_downward): Likewise.
22427 (exp_test_upward): Likewise.
22428 (exp10_test): Likewise.
22429 (exp2_test): Likewise.
22430 (expm1_test): Likewise.
22431 (fabs_test): Likewise.
22432 (fdim_test): Likewise.
22433 (finite_test): Likewise.
22434 (floor_test): Likewise.
22435 (fma_test): Likewise.
22436 (fma_test_towardzero): Likewise.
22437 (fma_test_downward): Likewise.
22438 (fma_test_upward): Likewise.
22439 (fmax_test): Likewise.
22440 (fmin_test): Likewise.
22441 (fmod_test): Likewise.
22442 (fpclassify_test): Likewise.
22443 (frexp_test): Likewise.
22444 (gamma_test): Likewise.
22445 (hypot_test): Likewise.
22446 (ilogb_test): Likewise.
22447 (isfinite_test): Likewise.
22448 (isgreater_test): Likewise.
22449 (isgreaterequal_test): Likewise.
22450 (isinf_test): Likewise.
22451 (isless_test): Likewise.
22452 (islessequal_test): Likewise.
22453 (islessgreater_test): Likewise.
22454 (isnan_test): Likewise.
22455 (isnormal_test): Likewise.
22456 (issignaling_test): Likewise.
22457 (isunordered_test): Likewise.
22458 (j0_test): Likewise.
22459 (j1_test): Likewise.
22460 (jn_test): Likewise.
22461 (ldexp_test): Likewise.
22462 (lgamma_test): Likewise.
22463 (lrint_test): Likewise.
22464 (lrint_test_tonearest): Likewise.
22465 (lrint_test_towardzero): Likewise.
22466 (lrint_test_downward): Likewise.
22467 (lrint_test_upward): Likewise.
22468 (llrint_test): Likewise.
22469 (llrint_test_tonearest): Likewise.
22470 (llrint_test_towardzero): Likewise.
22471 (llrint_test_downward): Likewise.
22472 (llrint_test_upward): Likewise.
22473 (log_test): Likewise.
22474 (log10_test): Likewise.
22475 (log1p_test): Likewise.
22476 (log2_test): Likewise.
22477 (logb_test): Likewise.
22478 (logb_test_downward): Likewise.
22479 (lround_test): Likewise.
22480 (llround_test): Likewise.
22481 (modf_test): Likewise.
22482 (nearbyint_test): Likewise.
22483 (nextafter_test): Likewise.
22484 (nexttoward_test): Likewise.
22485 (pow_test): Likewise.
22486 (pow_test_tonearest): Likewise.
22487 (pow_test_towardzero): Likewise.
22488 (pow_test_downward): Likewise.
22489 (pow_test_upward): Likewise.
22490 (remainder_test): Likewise.
22491 (remainder_test_tonearest): Likewise.
22492 (remainder_test_towardzero): Likewise.
22493 (remainder_test_downward): Likewise.
22494 (remainder_test_upward): Likewise.
22495 (remquo_test): Likewise.
22496 (rint_test): Likewise.
22497 (rint_test_tonearest): Likewise.
22498 (rint_test_towardzero): Likewise.
22499 (rint_test_downward): Likewise.
22500 (rint_test_upward): Likewise.
22501 (round_test): Likewise.
22502 (scalb_test): Likewise.
22503 (scalbn_test): Likewise.
22504 (scalbln_test): Likewise.
22505 (signbit_test): Likewise.
22506 (sin_test): Likewise.
22507 (sin_test_tonearest): Likewise.
22508 (sin_test_towardzero): Likewise.
22509 (sin_test_downward): Likewise.
22510 (sin_test_upward): Likewise.
22511 (sincos_test): Likewise.
22512 (sinh_test): Likewise.
22513 (sinh_test_tonearest): Likewise.
22514 (sinh_test_towardzero): Likewise.
22515 (sinh_test_downward): Likewise.
22516 (sinh_test_upward): Likewise.
22517 (sqrt_test): Likewise.
22518 (tan_test): Likewise.
22519 (tan_test_tonearest): Likewise.
22520 (tan_test_towardzero): Likewise.
22521 (tan_test_downward): Likewise.
22522 (tan_test_upward): Likewise.
22523 (tanh_test): Likewise.
22524 (tgamma_test): Likewise.
22525 (trunc_test): Likewise.
22526 (y0_test): Likewise.
22527 (y1_test): Likewise.
22528 (yn_test): Likewise.
22529 (significand_test): Likewise.
22530
bae143d2
OB
225312013-05-24 Ondřej Bílka <neleai@seznam.cz>
22532
22533 [BZ #15381]
22534 * libio/genops.c (_IO_no_init): Initialize wide struct info.
22535
9323d39b
EM
225362013-05-23 Edjunior Machado <emachado@linux.vnet.ibm.com>
22537
d4ea44a0 22538 [BZ #14894]
9323d39b
EM
22539 * sysdeps/powerpc/sys/platform/ppc.h: Add __ppc_yield,
22540 __ppc_mdoio and __ppc_mdoom.
22541 * manual/platform.texi: Document new functions __ppc_yield,
22542 __ppc_mdoio and __ppc_mdoom.
22543
13e23af7
CD
225442013-05-22 Carlos O'Donell <carlos@redhat.com>
22545
22546 * elf/ldconfig.c (is_hwcap_platform): Make comments full setences.
22547 (main): Mention "tls" pseudo-hwcap is legacy.
22548 * elf/dl-hwcaps.c (_dl_important_hwcaps): Correct rounding comment.
22549
351fe550
JM
225502013-05-22 Joseph Myers <joseph@codesourcery.com>
22551
22552 * math/gen-libm-test.pl (parse_args): Output only string of
22553 arguments as text for test name, not full call or descriptions of
22554 tests for extra outputs.
22555 (generate_testfile): Do not pass function name to parse_args.
22556 Generate this_func variable from START.
22557 * math/libm-test.inc (struct test_f_f_data): Rename test_name
22558 field to arg_str.
22559 (struct test_ff_f_data): Likewise.
22560 (test_ff_f_data_nexttoward): Likewise.
22561 (struct test_fi_f_data): Likewise.
22562 (struct test_fl_f_data): Likewise.
22563 (struct test_if_f_data): Likewise.
22564 (struct test_fff_f_data): Likewise.
22565 (struct test_c_f_data): Likewise.
22566 (struct test_f_f1_data): Likewise. Remove field extra_name.
22567 (struct test_fF_f1_data): Likewise.
22568 (struct test_ffI_f1_data): Likewise.
22569 (struct test_c_c_data): Rename test_name field to arg_str.
22570 (struct test_cc_c_data): Likewise.
22571 (struct test_f_i_data): Likewise.
22572 (struct test_ff_i_data): Likewise.
22573 (struct test_f_l_data): Likewise.
22574 (struct test_f_L_data): Likewise.
22575 (struct test_fFF_11_data): Likewise. Remove fields extra1_name
22576 and extra2_name.
22577 (COMMON_TEST_SETUP): New macro.
22578 (EXTRA_OUTPUT_TEST_SETUP): Likewise.
22579 (COMMON_TEST_CLEANUP): Likewise.
22580 (EXTRA_OUTPUT_TEST_CLEANUP): Likewise.
22581 (RUN_TEST_f_f): Take argument string. Call new setup and cleanup
22582 macros.
22583 (RUN_TEST_LOOP_f_f): Update call to RUN_TEST_f_f.
22584 (RUN_TEST_2_f): Take argument string. Call new setup and cleanup
22585 macros.
22586 (RUN_TEST_LOOP_2_f): Update call to RUN_TEST_2_f.
22587 (RUN_TEST_fff_f): Take argument string. Call new setup and
22588 cleanup macros.
22589 (RUN_TEST_LOOP_fff_f): Update call to RUN_TEST_fff_f.
22590 (RUN_TEST_c_f): Take argument string. Call new setup and cleanup
22591 macros.
22592 (RUN_TEST_LOOP_c_f): Update call to RUN_TEST_c_f.
22593 (RUN_TEST_f_f1): Take argument string. Call new setup and cleanup
22594 macros.
22595 (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
22596 (RUN_TEST_fF_f1): Take argument string. Call new setup and
22597 cleanup macros.
22598 (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
22599 (RUN_TEST_fI_f1): Take argument string. Call new setup and
22600 cleanup macros.
22601 (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
22602 (RUN_TEST_ffI_f1): Take argument string. Call new setup and
22603 cleanup macros.
22604 (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
22605 (RUN_TEST_c_c): Take argument string. Call new setup and cleanup
22606 macros.
22607 (RUN_TEST_LOOP_c_c): Update call to RUN_TEST_c_c.
22608 (RUN_TEST_cc_c): Take argument string. Call new setup and cleanup
22609 macros.
22610 (RUN_TEST_LOOP_cc_c): Update call to RUN_TEST_cc_c.
22611 (RUN_TEST_f_i): Take argument string. Call new setup and cleanup
22612 macros.
22613 (RUN_TEST_LOOP_f_i): Update call to RUN_TEST_f_i.
22614 (RUN_TEST_f_i_tg): Take argument string. Call new setup and
22615 cleanup macros.
22616 (RUN_TEST_LOOP_f_i_tg): Update call to RUN_TEST_f_i_tg.
22617 (RUN_TEST_ff_i_tg): Take argument string. Call new setup and
22618 cleanup macros.
22619 (RUN_TEST_LOOP_ff_i_tg): Update call to RUN_TEST_ff_i_tg.
22620 (RUN_TEST_f_b): Take argument string. Call new setup and cleanup
22621 macros.
22622 (RUN_TEST_LOOP_f_b): Update call to RUN_TEST_f_b.
22623 (RUN_TEST_f_b_tg): Take argument string. Call new setup and
22624 cleanup macros.
22625 (RUN_TEST_LOOP_f_b_tg): Update call to RUN_TEST_f_b_tg.
22626 (RUN_TEST_f_l): Take argument string. Call new setup and cleanup
22627 macros.
22628 (RUN_TEST_LOOP_f_l): Update call to RUN_TEST_f_l.
22629 (RUN_TEST_f_L): Take argument string. Call new setup and cleanup
22630 macros.
22631 (RUN_TEST_LOOP_f_L): Update call to RUN_TEST_f_L.
22632 (RUN_TEST_fFF_11): Take argument string. Call new setup and
22633 cleanup macros.
22634 (RUN_TEST_LOOP_fFF_11): Update call to RUN_TEST_fFF_11.
22635
85118d4d
EBM
226362013-05-22 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
22637
22638 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add si_addr_lsb
22639 to _sifields.sigfault.
22640 (si_addr_lsb): Define new macro.
22641 (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
22642 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
22643 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: Likewise.
22644
7a44c18f
CD
226452013-05-03 Carlos O'Donell <carlos at redhat.com>
22646
22647 [BZ #15441]
22648 * intl/dcigettext.c (DCIGETTEXT): Skip translating if _nl_find_msg
22649 returns -1.
22650 (_nl_find_msg): Return -1 if recursive call returned -1. If newmem is
22651 null return -1.
22652 * intl/loadmsgcat.c (_nl_load_domain): If _nl_find_msg returns -1 abort
22653 loading the domain.
22654
b50a7181
JM
226552013-05-22 Joseph Myers <joseph@codesourcery.com>
22656
22657 * math/gen-libm-test.pl (parse_args): Do not include expected
22658 result in test name.
22659 * sysdeps/i386/fpu/libm-test-ulps: Update test names.
22660 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
22661 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
22662 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
22663 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
22664 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22665
051063c8
SP
226662013-05-22 Siddhesh Poyarekar <siddhesh@redhat.com>
22667
3ce9e010
SP
22668 * benchtests/Makefile: Sort function entries.
22669
051063c8
SP
22670 * benchtests/Makefile (bench): Add asin, acos, sinh, cosh,
22671 tanh, asinh, acosh, atanh.
22672 * benchtests/acos-inputs: New file.
22673 * benchtests/acosh-inputs: New file.
22674 * benchtests/asin-inputs: New file.
22675 * benchtests/asinh-inputs: New file.
22676 * benchtests/atanh-inputs: New file.
22677 * benchtests/cosh-inputs: New file.
22678 * benchtests/log-inputs: New file.
22679 * benchtests/sinh-inputs: New file.
22680 * benchtests/tanh-inputs: New file.
22681
47c22455
DL
226822013-05-21 Dmitry V. Levin <ldv@altlinux.org>
22683
22684 [BZ #15339]
22685 * posix/tst-getaddrinfo4.c: New test.
22686 * posix/Makefile (tests): Add it.
22687
3d04f5db
SP
226882013-05-21 Siddhesh Poyarekar <siddhesh@redhat.com>
22689
22690 [BZ #15339]
22691 * nss/getXXbyYY_r.c (REENTRANT_NAME): Set NETDB_INTERNAL only
22692 when no services were used.
22693 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set h_errno.
22694 Return EAI_SYSTEM if h_errno is NETDB_INTERNAL.
22695
d5dd6189
AS
226962013-05-21 Andreas Schwab <schwab@suse.de>
22697
22698 [BZ #15014]
22699 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME))
22700 [HANDLE_DIGITS_DOTS]: Set any_service when digits-dots parsing was
22701 successful.
22702 * nss/digits_dots.c (__nss_hostname_digits_dots): Remove
22703 redundant variable declarations and reallocation of buffer when
22704 parsing as IPv6 address. Always set NSS status when called from
22705 reentrant functions. Use NETDB_INTERNAL instead of TRY_AGAIN when
22706 buffer too small. Correct computation of needed size.
22707 * nss/Makefile (tests): Add test-digits-dots.
22708 * nss/test-digits-dots.c: New test.
22709
fef94eab
SP
227102013-05-21 Siddhesh Poyarekar <siddhesh@redhat.com>
22711
22712 * benchtests/Makefile: Remove instructions for adding
22713 benchmark tests.
22714 * benchtests/README: New file to explain how to execute and
22715 enhance the benchmark tests.
22716
e39adf43
AS
227172013-05-21 Andreas Schwab <schwab@suse.de>
22718
22719 [BZ #15493]
22720 * setjmp/Makefile (tests): Add tst-sigsetjmp.
22721 * setjmp/tst-sigsetjmp.c: New test.
22722
b2b671b6
OB
227232013-05-20 Ondřej Bílka <neleai@seznam.cz>
22724
22725 * sysdeps/x86_64/memset.S (memset): New implementation.
22726 (__bzero): Likewise.
22727 (__memset_tail): New function.
22728
2d48b41c
OB
227292013-05-20 Ondřej Bílka <neleai@seznam.cz>
22730
22731 * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: New file.
22732 * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Add
22733 __memcpy_sse2_unaligned ifunc selection.
22734 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
22735 Add memcpy-sse2-unaligned.S.
22736 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
22737 Add: __memcpy_sse2_unaligned.
22738
f16cc3eb
JM
227392013-05-19 Joseph Myers <joseph@codesourcery.com>
22740
3e694268
JM
22741 [BZ #15490]
22742 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
22743 math_force_eval before restoring floating-point envrionment.
22744 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Likewise.
22745 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
22746 Likewise.
22747 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Include
22748 <math_private.h>.
22749 (__nearbyintl): Use math_force_eval before restoring
22750 floating-point environment.
22751 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c (__nearbyintl): Likewise.
22752
db62a907
JM
22753 * math/gen-libm-test.pl (special_functions): Remove.
22754 (parse_args): Don't handle TEST_extra. Handle functions with no
22755 return value.
22756 * math/libm-test.inc (struct test_sincos_data): Replace with
22757 struct test_fFF_11_data.
22758 (RUN_TEST_sincos): Replace with RUN_TEST_fFF_11.
22759 (RUN_TEST_LOOP_sincos): Replace with RUN_TEST_LOOP_fFF_11.
22760 (sincos_test_data): Change element type to struct
22761 test_fFF_11_data. Use TEST_fFF_11 instead of TEST_extra.
22762 (sincos_test): Use RUN_TEST_LOOP_fFF_11 instead of
22763 RUN_TEST_LOOP_sincos.
22764 * math/README.libm-test: Don't mention special handling of
22765 individual functions.
22766 * sysdeps/i386/fpu/libm-test-ulps: Update names of sincos tests.
22767 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
22768 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
22769 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
22770 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
22771 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22772
f16cc3eb
JM
22773 * math/gen-libm-test.pl (get_variable): Remove function.
22774 (parse_args): Don't show pointer parameters to call in test
22775 names. Use "extra output N" in test names for extra outputs
22776 rather than naming variables.
22777
3779b5b6
JM
227782013-05-18 Joseph Myers <joseph@codesourcery.com>
22779
2ee094ff
JM
22780 [BZ #15488]
22781 * math/complex.h [__USE_ISOC11 && __GNUC_PREREQ (4, 7) &&
22782 __NO_LONG_DOUBLE_MATH] (CMPLXL): Define macro.
22783 * math/tst-CMPLX.c (do_test) [NO_LONG_DOUBLE]: Do not disable long
22784 double tests.
22785 * make/tst-CMPLX2.c [NO_LONG_DOUBLE] (check_long_double): Do not
22786 disable.
22787 (do_test) [NO_LONG_DOUBLE]: Do not disable call to
22788 check_long_double.
22789
3779b5b6
JM
22790 * math/gen-libm-test.pl (@tests): Remove variable.
22791 ($count): Likewise.
22792 (new_test): Remove function.
22793 (show_exceptions): New function.
22794 (special_functions): Use show_exceptions instead of new_test.
22795 (parse_args): Likewise.
22796 (generate_testfile): Pass only function name in generated call to
22797 print_max_error or print_complex_max_error.
22798 (get_ulps): Do not handle complex tests specially.
22799 (output_test): Rename to ...
22800 (get_all_ulps_for_test): ... this. Return a string rather than
22801 printing to a file. Require ulps to be present.
22802 (output_ulps): Generate arrays rather than #defines.
22803 * math/libm-test.inc: Move down #include of "libm-test-ulps.h".
22804 (struct ulp_data): New type.
22805 (BUILD_COMPLEX_ULP): Remove macro.
22806 (compare_ulp_data): New function.
22807 (find_ulps): Likewise.
22808 (find_test_ulps): Likewise.
22809 (find_function_ulps): Likewise.
22810 (find_complex_function_ulps): Likewise.
22811 (print_max_error): Determine allowed ulps using
22812 find_function_ulps.
22813 (print_complex_max_error): Determine allowed ulps using
22814 find_complex_function_ulps.
22815 (check_float_internal): Determine max ulps using find_test_ulps.
22816 (check_float): Do not take max_ulp parameter. Update call to
22817 check_float_internal.
22818 (check_complex): Likewise.
22819 (check_int): Do not take max_ulp parameter.
22820 (check_long): Likewise.
22821 (check_bool): Likewise.
22822 (check_longlong): Likewise.
22823 (struct test_f_f_data): Remove max_ulp field.
22824 (struct test_ff_f_data): Likewise.
22825 (struct test_ff_f_data_nexttoward): Likewise.
22826 (struct test_fi_f_data): Likewise.
22827 (struct test_fl_f_data): Likewise.
22828 (struct test_if_f_data): Likewise.
22829 (struct test_fff_f_data): Likewise.
22830 (struct test_c_f_data): Likewise.
22831 (struct test_f_f1_data): Remove max_ulp and extra_ulp fields.
22832 (struct test_fF_f1_data): Likewise.
22833 (struct test_ffI_f1_data): Likewise.
22834 (struct test_c_c_data): Remove max_ulp field.
22835 (struct test_cc_c_data): Likewise.
22836 (struct test_f_i_data): Likewise.
22837 (struct test_ff_i_data): Likewise.
22838 (struct test_f_l_data): Likewise.
22839 (struct test_f_L_data): Likewise.
22840 (struct test_sincos_data): Likewise.
22841 (RUN_TEST_f_f): Do not handle ulps.
22842 (RUN_TEST_LOOP_f_f): Likewise.
22843 (RUN_TEST_2_f): Likewise.
22844 (RUN_TEST_LOOP_2_f): Likewise.
22845 (RUN_TEST_fff_f): Likewise.
22846 (RUN_TEST_LOOP_fff_f): Likewise.
22847 (RUN_TEST_c_f): Likewise.
22848 (RUN_TEST_LOOP_c_f): Likewise.
22849 (RUN_TEST_f_f1): Likewise.
22850 (RUN_TEST_LOOP_f_f1): Likewise.
22851 (RUN_TEST_fF_f1): Likewise.
22852 (RUN_TEST_LOOP_fF_f1): Likewise.
22853 (RUN_TEST_fI_f1): Likewise.
22854 (RUN_TEST_LOOP_fI_f1): Likewise.
22855 (RUN_TEST_ffI_f1): Likewise.
22856 (RUN_TEST_LOOP_ffI_f1): Likewise.
22857 (RUN_TEST_c_c): Likewise.
22858 (RUN_TEST_LOOP_c_c): Likewise.
22859 (RUN_TEST_cc_c): Likewise.
22860 (RUN_TEST_LOOP_cc_c): Likewise.
22861 (RUN_TEST_f_i): Likewise.
22862 (RUN_TEST_LOOP_f_i): Likewise.
22863 (RUN_TEST_f_i_tg): Likewise.
22864 (RUN_TEST_LOOP_f_i_tg): Likewise.
22865 (RUN_TEST_ff_i_tg): Likewise.
22866 (RUN_TEST_LOOP_ff_i_tg): Likewise.
22867 (RUN_TEST_f_b): Likewise.
22868 (RUN_TEST_LOOP_f_b): Likewise.
22869 (RUN_TEST_f_b_tg): Likewise.
22870 (RUN_TEST_LOOP_f_b_tg): Likewise.
22871 (RUN_TEST_f_l): Likewise.
22872 (RUN_TEST_LOOP_f_l): Likewise.
22873 (RUN_TEST_f_L): Likewise.
22874 (RUN_TEST_LOOP_f_L): Likewise.
22875 (RUN_TEST_sincos): Likewise.
22876 (RUN_TEST_LOOP_sincos): Likewise.
22877
8269107f
JM
228782013-05-17 Joseph Myers <joseph@codesourcery.com>
22879
bb38759d
JM
22880 [BZ #15480]
22881 [BZ #15485]
22882 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): For
22883 main case of finite arguments, set rounding mode to FE_TONEAREST
22884 and discard exceptions.
22885 * math/libm-test.inc (remainder_test_data): Disallow "inexact"
22886 exceptions.
22887 (remainder_tonearest_test_data): New variable.
22888 (remainder_test_tonearest): New function.
22889 (remainder_towardzero_test_data): New variable.
22890 (remainder_test_towardzero): New function.
22891 (remainder_downward_test_data): New variable.
22892 (remainder_test_downward): New function.
22893 (remainder_upward_test_data): New variable.
22894 (remainder_test_upward): New function.
22895 (main): Call the new test functions.
22896
a00bdcf0
JM
22897 * math/libm-test.inc (struct test_f_f1_data): Remove field
22898 extra_init.
22899 (struct test_fF_f1_data): Likewise.
22900 (struct test_ffI_f1_data): Likewise.
22901 (RUN_TEST_f_f1): Remove argument EXTRA_INIT. Initialize EXTRA_VAR
22902 based on value of EXTRA_EXPECTED.
22903 (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
22904 (RUN_TEST_fF_f1): Remove argument EXTRA_INIT. Initialize
22905 EXTRA_VAR based on value of EXTRA_EXPECTED.
22906 (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
22907 (RUN_TEST_fI_f1): Remove argument EXTRA_INIT. Initialize
22908 EXTRA_VAR based on value of EXTRA_EXPECTED.
22909 (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
22910 (RUN_TEST_ffI_f1): Remove argument EXTRA_INIT. Initialize
22911 EXTRA_VAR based on value of EXTRA_EXPECTED.
22912 (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
22913 * math/gen-libm-test.pl (parse_args): Don't output initializers
22914 for extra output values.
22915
de407f79
JM
22916 * math/libm-test.inc (check_int): Expect result to be exactly
22917 equal to expected value and do not handle ulps.
22918 (check_long): Likewise.
22919 (check_longlong): Likewise.
22920
8269107f
JM
22921 * math/libm-test.inc (ceil_test_data): Test for "inexact"
22922 exceptions.
22923 (cimag_test_data): Likewise.
22924 (conj_test_data): Likewise.
22925 (copysign_test_data): Likewise.
22926 (cproj_test_data): Likewise.
22927 (creal_test_data): Likewise.
22928 (fabs_test_data): Likewise.
22929 (fdim_test_data): Likewise.
22930 (finite_test_data): Likewise.
22931 (floor_test_data): Likewise.
22932 (fmax_test_data): Likewise.
22933 (fmin_test_data): Likewise.
22934 (fmod_test_data): Likewise.
22935 (fpclassify_test_data): Likewise.
22936 (frexp_test_data): Likewise.
22937 (ilogb_test_data): Likewise.
22938 (isfinite_test_data): Likewise.
22939 (isgreater_test_data): Likewise.
22940 (isgreaterequal_test_data): Likewise.
22941 (isinf_test_data): Likewise.
22942 (isless_test_data): Likewise.
22943 (islessequal_test_data): Likewise.
22944 (islessgreater_test_data): Likewise.
22945 (isnan_test_data): Likewise.
22946 (isnormal_test_data): Likewise.
22947 (issignaling_test_data): Likewise.
22948 (isunordered_test_data): Likewise.
22949 (ldexp_test_data): Likewise.
22950 (lrint_test_data): Likewise.
22951 (lrint_test_data) [TEST_FLOAT]: Disable one test.
22952 (lrint_test_data) [!TEST_LDOUBLE]: Likewise.
22953 (lrint_tonearest_test_data): Test for "inexact" exceptions.
22954 (lrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
22955 (lrint_tonearest_test_data) [!TEST_LDOUBLE]: Likewise.
22956 (lrint_tonearest_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
22957 test input.
22958 (lrint_towardzero_test_data): Test for "inexact" exceptions.
22959 (lrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
22960 (lrint_towardzero_test_data) [!TEST_LDOUBLE]: Likewise.
22961 (lrint_towardzero_test_data) [TEST_LDOUBLE]: Use "L" suffix on
22962 that test input.
22963 (lrint_downward_test_data): Test for "inexact" exceptions.
22964 (lrint_downward_test_data) [TEST_FLOAT]: Disable one test.
22965 (lrint_downward_test_data) [!TEST_LDOUBLE]: Likewise.
22966 (lrint_downward_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
22967 test input.
22968 (lrint_upward_test_data): Test for "inexact" exceptions.
22969 (lrint_upward_test_data) [TEST_LDOUBLE]: Use "L" suffix on one
22970 test input.
22971 (llrint_test_data): Test for "inexact" exceptions.
22972 (llrint_test_data) [TEST_FLOAT]: Disable one test.
22973 (llrint_tonearest_test_data): Test for "inexact" exceptions.
22974 (llrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
22975 (llrint_towardzero_test_data): Test for "inexact" exceptions.
22976 (llrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
22977 (llrint_downward_test_data): Test for "inexact" exceptions.
22978 (llrint_downward_test_data) [TEST_FLOAT]: Disable one test.
22979 (llrint_upward_test_data): Test for "inexact" exceptions.
22980 (logb_test_data): Likewise.
22981 (logb_downward_test_data): Likewise.
22982 (nextafter_test_data): Likewise.
22983 (nexttoward_test_data): Likewise.
22984 (remainder_test_data): Likewise.
22985 (remquo_test_data): Likewise.
22986 (scalbn_test_data): Likewise.
22987 (scalbln_test_data): Likewise.
22988 (signbit_test_data): Likewise.
22989 (sqrt_test_data): Likewise.
22990 (significand_test_data): Likewise.
22991
48a18de1
SP
229922013-05-17 Siddhesh Poyarekar <siddhesh@redhat.com>
22993
22994 [BZ #15424]
22995 * benchtests/bench-modf.c (struct args): Mark arg0 as
22996 volatile.
22997 * scripts/bench.pl: Mark members of struct args as volatile.
22998
13d3b41a
AZ
229992013-05-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23000
68191c1d 23001 [BZ # 15497]
13d3b41a
AZ
23002 * sysdeps/powerpc/fpu/e_hypot.c (GET_TWO_FLOAT_WORD): Fix test for
23003 negative infinity on POWER6 or lower.
23004 * sysdeps/powerpc/fpu/e_hypotf.c (GET_TWO_FLOAT_WORD): Likewise.
23005
2848b105
MR
230062013-05-16 Maciej W. Rozycki <macro@codesourcery.com>
23007
23008 [BZ #15442]
23009 * soft-fp/op-common.h (_FP_FRAC_SNANP): New macro.
23010 (_FP_FRAC_SNANP_SEMIRAW): Likewise.
23011 (_FP_UNPACK_CANONICAL): Use _FP_FRAC_SNANP.
23012 (_FP_CHECK_SIGNAN_SEMIRAW): Use _FP_FRAC_SNANP_SEMIRAW.
23013 (_FP_SETQNAN): New macro.
23014 (_FP_SETQNAN_SEMIRAW): Likewise.
23015 (_FP_PACK_SEMIRAW): Use _FP_SETQNAN.
23016 (_FP_PACK_CANONICAL): Use _FP_SETQNAN.
23017 (_FP_ISSIGNAN): Use _FP_FRAC_SNANP.
23018 (FP_EXTEND): Use _FP_FRAC_SNANP.
23019 (FP_TRUNC): Use _FP_SETQNAN_SEMIRAW.
23020 * soft-fp/testit.c (gen_special_double): Take _FP_QNANNEGATEDP
23021 into account.
23022 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
23023 New macro.
23024 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
23025 Likewise.
23026
323e5cb7
JM
230272013-05-16 Joseph Myers <joseph@codesourcery.com>
23028
c58b274f
JM
23029 * math/libm-test.inc (atanh_test_data): Use ERRNO_ERANGE together
23030 with DIVIDE_BY_ZERO_EXCEPTION.
23031 (gamma_test_data): Likewise.
23032 (lgamma_test_data): Likewise.
23033 (log_test_data): Likewise.
23034 (log10_test_data): Likewise.
23035 (log2_test_data): Likewise.
23036 (tgamma_test_data): Likewise.
23037
0ab34904
JM
23038 * math/libm-test.inc (acos_test): Don't test for ENOSYS error.
23039 (acos_test_tonearest): Likewise.
23040 (acos_test_towardzero): Likewise.
23041 (acos_test_downward): Likewise.
23042 (acos_test_upward): Likewise.
23043 (acosh_test): Likewise.
23044 (asin_test): Likewise.
23045 (asin_test_tonearest): Likewise.
23046 (asin_test_towardzero): Likewise.
23047 (asin_test_downward): Likewise.
23048 (asin_test_upward): Likewise.
23049 (asinh_test): Likewise.
23050 (atan_test): Likewise.
23051 (atanh_test): Likewise.
23052 (atan2_test): Likewise.
23053 (cabs_test): Likewise.
23054 (cacos_test): Likewise.
23055 (cacosh_test): Likewise.
23056 (casin_test): Likewise.
23057 (casinh_test): Likewise.
23058 (catan_test): Likewise.
23059 (catanh_test): Likewise.
23060 (cbrt_test): Likewise.
23061 (ccos_test): Likewise.
23062 (ccosh_test): Likewise.
23063 (cexp_test): Likewise.
23064 (clog_test): Likewise.
23065 (clog10_test): Likewise.
23066 (cos_test): Likewise.
23067 (cos_test_tonearest): Likewise.
23068 (cos_test_towardzero): Likewise.
23069 (cos_test_downward): Likewise.
23070 (cos_test_upward): Likewise.
23071 (cosh_test): Likewise.
23072 (cosh_test_tonearest): Likewise.
23073 (cosh_test_towardzero): Likewise.
23074 (cosh_test_downward): Likewise.
23075 (cosh_test_upward): Likewise.
23076 (cpow_test): Likewise.
23077 (csin_test): Likewise.
23078 (csinh_test): Likewise.
23079 (csqrt_test): Likewise.
23080 (ctan_test): Likewise.
23081 (ctan_test_tonearest): Likewise.
23082 (ctan_test_towardzero): Likewise.
23083 (ctan_test_downward): Likewise.
23084 (ctan_test_upward): Likewise.
23085 (ctanh_test): Likewise.
23086 (ctanh_test_tonearest): Likewise.
23087 (ctanh_test_towardzero): Likewise.
23088 (ctanh_test_downward): Likewise.
23089 (ctanh_test_upward): Likewise.
23090 (erf_test): Likewise.
23091 (erfc_test): Likewise.
23092 (exp_test): Likewise.
23093 (exp_test_tonearest): Likewise.
23094 (exp_test_towardzero): Likewise.
23095 (exp_test_downward): Likewise.
23096 (exp_test_upward): Likewise.
23097 (exp10_test): Likewise.
23098 (exp2_test): Likewise.
23099 (expm1_test): Likewise.
23100 (fmod_test): Likewise.
23101 (gamma_test): Likewise.
23102 (hypot_test): Likewise.
23103 (j0_test): Likewise.
23104 (j1_test): Likewise.
23105 (jn_test): Likewise.
23106 (lgamma_test): Likewise.
23107 (log_test): Likewise.
23108 (log10_test): Likewise.
23109 (log1p_test): Likewise.
23110 (log2_test): Likewise.
23111 (logb_test_downward): Likewise.
23112 (pow_test): Likewise.
23113 (pow_test_tonearest): Likewise.
23114 (pow_test_towardzero): Likewise.
23115 (pow_test_downward): Likewise.
23116 (pow_test_upward): Likewise.
23117 (remainder_test): Likewise.
23118 (remquo_test): Likewise.
23119 (sin_test): Likewise.
23120 (sin_test_tonearest): Likewise.
23121 (sin_test_towardzero): Likewise.
23122 (sin_test_downward): Likewise.
23123 (sin_test_upward): Likewise.
23124 (sincos_test): Likewise.
23125 (sinh_test): Likewise.
23126 (sinh_test_tonearest): Likewise.
23127 (sinh_test_towardzero): Likewise.
23128 (sinh_test_downward): Likewise.
23129 (sinh_test_upward): Likewise.
23130 (sqrt_test): Likewise.
23131 (tan_test): Likewise.
23132 (tan_test_tonearest): Likewise.
23133 (tan_test_towardzero): Likewise.
23134 (tan_test_downward): Likewise.
23135 (tan_test_upward): Likewise.
23136 (tanh_test): Likewise.
23137 (tgamma_test): Likewise.
23138 (y0_test): Likewise.
23139 (y1_test): Likewise.
23140 (yn_test): Likewise.
23141
323e5cb7
JM
23142 * math/gen-libm-test.pl (adjust_arg): Remove function.
23143 (special_function): Remove argument $in_func. Only handle
23144 generating output for tables of tests, not inside functions.
23145 (parse_args): Likewise.
23146 (generate_testfile): Remove variable $in_func. Update call to
23147 parse_args.
23148 * math/libm-test.inc (PLUS_ZERO_INIT): Rename macro to plus_zero.
23149 (MINUS_ZERO_INIT): Rename macro to minus_zero.
23150 (PLUS_INFTY_INIT): Rename macro to plus_infty.
23151 (MINUS_INFTY_INIT): Rename macro to minus_infty.
23152 (QNAN_VALUE_INIT): Rename macro to qnan_value.
23153 (MAX_VALUE_INIT): Rename macro to max_value.
23154 (MIN_VALUE_INIT): Rename macro to min_value.
23155 (MIN_SUBNORM_VALUE_INIT): Rename macro to min_subnorm_value.
23156 (plus_zero): Remove variable.
23157 (minus_zero): Likewise.
23158 (plus_infty): Likewise.
23159 (minus_infty): Likewise.
23160 (qnan_value): Likewise.
23161 (max_value): Likewise.
23162 (min_value): Likewise.
23163 (min_subnorm_value): Likewise.
23164
e054f494
RA
231652013-05-16 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
23166
23167 * crypt/sha512-block.c: Add missing #include <stdint.h> due to
23168 uint64_t or uint32_t usage.
23169 * crypt/sha256-block.c: Likewise.
23170 * crypt/sha256-crypt.c: Likewise.
23171 * crypt/sha256.c: Likewise.
23172 * crypt/sha512-block.c: Likewise.
23173 * crypt/sha512-crypt.c: Likewise.
23174 * crypt/sha512.c: Likewise.
23175 * debug/backtrace-tst.c: Likewise.
23176 * debug/pcprofiledump.c: Likewise.
23177 * elf/cache.c: Likewise.
23178 * elf/dl-cache.c: Likewise.
23179 * elf/dl-misc.c: Likewise.
23180 * elf/dl-profile.c: Likewise.
23181 * elf/dl-support.c: Likewise.
23182 * elf/ldconfig.c: Likewise.
23183 * elf/sprof.c: Likewise.
23184 * iconv/dummy-repertoire.c: Likewise.
23185 * iconv/iconv_charmap.c: Likewise.
23186 * iconv/skeleton.c: Likewise.
23187 * iconvdata/8bit-generic.c: Likewise.
23188 * iconvdata/cp737.h: Likewise.
23189 * iconvdata/cp775.h: Likewise.
23190 * iconvdata/ibm1008.h: Likewise.
23191 * iconvdata/ibm1025.h: Likewise.
23192 * iconvdata/ibm1046.h: Likewise.
23193 * iconvdata/ibm1097.h: Likewise.
23194 * iconvdata/ibm1112.h: Likewise.
23195 * iconvdata/ibm1122.h: Likewise.
23196 * iconvdata/ibm1123.h: Likewise.
23197 * iconvdata/ibm1124.h: Likewise.
23198 * iconvdata/ibm1129.h: Likewise.
23199 * iconvdata/ibm1130.h: Likewise.
23200 * iconvdata/ibm1132.h: Likewise.
23201 * iconvdata/ibm1133.h: Likewise.
23202 * iconvdata/ibm1137.h: Likewise.
23203 * iconvdata/ibm1140.h: Likewise.
23204 * iconvdata/ibm1141.h: Likewise.
23205 * iconvdata/ibm1142.h: Likewise.
23206 * iconvdata/ibm1143.h: Likewise.
23207 * iconvdata/ibm1144.h: Likewise.
23208 * iconvdata/ibm1145.h: Likewise.
23209 * iconvdata/ibm1146.h: Likewise.
23210 * iconvdata/ibm1147.h: Likewise.
23211 * iconvdata/ibm1148.h: Likewise.
23212 * iconvdata/ibm1149.h: Likewise.
23213 * iconvdata/ibm1153.h: Likewise.
23214 * iconvdata/ibm1154.h: Likewise.
23215 * iconvdata/ibm1155.h: Likewise.
23216 * iconvdata/ibm1156.h: Likewise.
23217 * iconvdata/ibm1157.h: Likewise.
23218 * iconvdata/ibm1158.h: Likewise.
23219 * iconvdata/ibm1160.h: Likewise.
23220 * iconvdata/ibm1161.h: Likewise.
23221 * iconvdata/ibm1162.h: Likewise.
23222 * iconvdata/ibm1163.h: Likewise.
23223 * iconvdata/ibm1164.h: Likewise.
23224 * iconvdata/ibm1166.h: Likewise.
23225 * iconvdata/ibm1167.h: Likewise.
23226 * iconvdata/ibm12712.h: Likewise.
23227 * iconvdata/ibm1390.h: Likewise.
23228 * iconvdata/ibm1399.h: Likewise.
23229 * iconvdata/ibm16804.h: Likewise.
23230 * iconvdata/ibm4517.h: Likewise.
23231 * iconvdata/ibm4899.h: Likewise.
23232 * iconvdata/ibm4909.h: Likewise.
23233 * iconvdata/ibm4971.h: Likewise.
23234 * iconvdata/ibm5347.h: Likewise.
23235 * iconvdata/ibm803.h: Likewise.
23236 * iconvdata/ibm856.h: Likewise.
23237 * iconvdata/ibm901.h: Likewise.
23238 * iconvdata/ibm902.h: Likewise.
23239 * iconvdata/ibm9030.h: Likewise.
23240 * iconvdata/ibm9066.h: Likewise.
23241 * iconvdata/ibm921.h: Likewise.
23242 * iconvdata/ibm922.h: Likewise.
23243 * iconvdata/ibm9448.h: Likewise.
23244 * iconvdata/isiri-3342.h: Likewise.
23245 * iconvdata/jis0201.h: Likewise.
23246 * include/link.h: Likewise.
23247 * include/netdb.h: Likewise.
23248 * inet/check_native.c: Likewise.
23249 * inet/check_pf.c: Likewise.
23250 * inet/getipv4sourcefilter.c: Likewise.
23251 * inet/getnameinfo.c: Likewise.
23252 * inet/getsourcefilter.c: Likewise.
23253 * inet/htonl.c: Likewise.
23254 * inet/setipv4sourcefilter.c: Likewise.
23255 * inet/setsourcefilter.c: Likewise.
23256 * inet/test-inet6_opt.c: Likewise.
23257 * inet/tst-network.c: Likewise.
23258 * locale/C-collate.c: Likewise.
23259 * locale/C-ctype.c: Likewise.
23260 * locale/C-time.c: Likewise.
23261 * locale/C-translit.h: Likewise.
23262 * locale/loadarchive.c: Likewise.
23263 * locale/programs/3level.h: Likewise.
23264 * locale/programs/charmap.c: Likewise.
23265 * locale/programs/charmap.h: Likewise.
23266 * locale/programs/ld-address.c: Likewise.
23267 * locale/programs/ld-collate.c: Likewise.
23268 * locale/programs/ld-ctype.c: Likewise.
23269 * locale/programs/ld-identification.c: Likewise.
23270 * locale/programs/ld-measurement.c: Likewise.
23271 * locale/programs/ld-messages.c: Likewise.
23272 * locale/programs/ld-monetary.c: Likewise.
23273 * locale/programs/ld-name.c: Likewise.
23274 * locale/programs/ld-numeric.c: Likewise.
23275 * locale/programs/ld-paper.c: Likewise.
23276 * locale/programs/ld-telephone.c: Likewise.
23277 * locale/programs/ld-time.c: Likewise.
23278 * locale/programs/linereader.c: Likewise.
23279 * locale/programs/locale.c: Likewise.
23280 * locale/programs/locarchive.c: Likewise.
23281 * locale/programs/locfile.h: Likewise.
23282 * locale/programs/repertoire.c: Likewise.
23283 * locale/programs/simple-hash.c: Likewise.
23284 * locale/programs/simple-hash.h: Likewise.
23285 * malloc/memusage.c: Likewise.
23286 * malloc/memusagestat.c: Likewise.
23287 * nis/nis_defaults.c: Likewise.
23288 * nis/nis_hash.c: Likewise.
23289 * nis/nis_print.c: Likewise.
23290 * nis/nis_xdr.c: Likewise.
23291 * nscd/connections.c: Likewise.
23292 * nscd/hstcache.c: Likewise.
23293 * nscd/nscd_gethst_r.c: Likewise.
23294 * nscd/nscd_getserv_r.c: Likewise.
23295 * nscd/nscd_helper.c: Likewise.
23296 * nscd/servicescache.c: Likewise.
23297 * nss/makedb.c: Likewise.
23298 * nss/nss_db/db-XXX.c: Likewise.
23299 * nss/nss_db/db-initgroups.c: Likewise.
23300 * nss/nss_db/db-netgrp.c: Likewise.
23301 * nss/nss_files/files-network.c: Likewise.
23302 * nss/nss_files/files-parse.c: Likewise.
23303 * posix/bug-regex5.c: Likewise.
23304 * posix/fnmatch_loop.c: Likewise.
23305 * posix/regcomp.c: Likewise.
23306 * posix/regexec.c: Likewise.
23307 * posix/tst-rfc3484-2.c: Likewise.
23308 * posix/tst-rfc3484-3.c: Likewise.
23309 * posix/tst-rfc3484.c: Likewise.
23310 * resolv/nss_dns/dns-canon.c: Likewise.
23311 * resolv/nss_dns/dns-network.c: Likewise.
23312 * resolv/res_init.c: Likewise.
23313 * resolv/res_mkquery.c: Likewise.
23314 * resolv/tst-aton.c: Likewise.
23315 * stdlib/cxa_atexit.c: Likewise.
23316 * stdlib/cxa_finalize.c: Likewise.
23317 * stdlib/gen-fpioconst.c: Likewise.
23318 * stdlib/strtol_l.c: Likewise.
23319 * string/tst-endian.c: Likewise.
23320 * sunrpc/auth_des.c: Likewise.
23321 * sunrpc/clnt_udp.c: Likewise.
23322 * sunrpc/rtime.c: Likewise.
23323 * sunrpc/svcauth_des.c: Likewise.
23324 * sunrpc/xdr.c: Likewise.
23325 * sunrpc/xdr_intXX_t.c: Likewise.
23326 * sunrpc/xdr_rec.c: Likewise.
23327 * sysdeps/generic/ldconfig.h: Likewise.
23328 * sysdeps/generic/ldsodefs.h: Likewise.
23329 * sysdeps/generic/memusage.h: Likewise.
23330 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
23331 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: Likewise.
23332 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Likewise.
23333 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
23334 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
23335 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
23336 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
23337 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
23338 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
23339 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
23340 * sysdeps/posix/getaddrinfo.c: Likewise.
23341 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
23342 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
23343 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
23344 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
23345 * sysdeps/powerpc/test-gettimebase.c: Likewise.
23346 * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
23347 * sysdeps/unix/sysv/linux/getipv4sourcefilter.c: Likewise.
23348 * sysdeps/unix/sysv/linux/getsourcefilter.c: Likewise.
23349 * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
23350 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: Likewise.
23351 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
23352 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
23353 * sysdeps/unix/sysv/linux/setipv4sourcefilter.c: Likewise.
23354 * sysdeps/unix/sysv/linux/setsourcefilter.c: Likewise.
23355 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: Likewise.
23356 * sysdeps/x86_64/dl-tls.h: Likewise.
23357 * sysdeps/x86_64/dl-tlsdesc.h: Likewise.
23358 * time/alt_digit.c: Likewise.
23359 * time/era.c: Likewise.
23360 * wcsmbs/tst-c16c32-1.c: Likewise.
23361
8c75f674
JM
233622013-05-16 Joseph Myers <joseph@codesourcery.com>
23363
23364 * math/libm-test.inc (struct test_sincos_data): New type.
23365 (RUN_TEST_LOOP_sincos): New macro.
23366 (sincos_test_data): New variable.
23367 (sincos_test): Run tests with RUN_TEST_LOOP_sincos.
23368
e6e49e59
RH
233692013-05-16 Richard Henderson <rth@redhat.com>
23370
23371 * math/atest-exp2.c (LIMB64): New macro.
23372 (CONSTSZ): New macro.
23373 (mp_exp1, mp_exp_m1, mp_log2): New variables.
23374 (hexdig): Move ...
23375 (print_mpn_fp): ... to function scope.
23376 (read_mpn_hex): Remove.
23377 (get_log2): Remove.
23378 (exp2_mpn): Use mp_log2.
23379 (main): Use mp_exp1.
23380
15c7c18d
JM
233812013-05-16 Joseph Myers <joseph@codesourcery.com>
23382
105a07df
JM
23383 * math/libm-test.inc: Remove comment about not testing "inexact"
23384 exceptions.
23385 (INEXACT_EXCEPTION): New macro.
23386 (NO_INEXACT_EXCEPTION): Likewise.
23387 (INVALID_EXCEPTION_OK): Update value.
23388 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
23389 (OVERFLOW_EXCEPTION_OK): Likewise.
23390 (UNDERFLOW_EXCEPTION_OK): Likewise.
23391 (IGNORE_ZERO_INF_SIGN): Likewise.
23392 (ERRNO_UNCHANGED): Likewise.
23393 (ERRNO_EDOM): Likewise.
23394 (ERRNO_ERANGE): Likewise.
23395 (test_exceptions): Handle testing "inexact" exceptions.
23396 (nearbyint_test_data): Use NO_INEXACT_EXCEPTION on all tests.
23397 (rint_test_data): Use NO_INEXACT_EXCEPTION and INEXACT_EXCEPTION.
23398 (rint_test_data) [LDBL_MANT_DIG <= 100]: Disable some tests.
23399 (rint_tonearest_test_data): Use NO_INEXACT_EXCEPTION and
23400 INEXACT_EXCEPTION.
23401 (rint_towardzero_test_data): Likewise.
23402 (rint_downward_test_data): Likewise.
23403 (rint_upward_test_data): Likewise.
23404
e9eee333
JM
23405 * math/libm-test.inc (exp_test_data): Use ERRNO_ERANGE together
23406 with OVERFLOW_EXCEPTION.
23407 (exp10_test_data): Likewise.
23408 (exp2_test_data): Likewise.
23409 (expm1_test_data): Likewise.
23410 (lgamma_test_data): Likewise.
23411 (pow_test_data): Likewise.
23412 (tgamma_test_data): Likewise.
23413 (yn_test_data): Remove duplicate test of overflow.
23414
1c38ff73
JM
23415 * math/libm-test.inc (struct test_cc_c_data): New type.
23416 (RUN_TEST_LOOP_cc_c): New macro.
23417 (cpow_test_data): New variable.
23418 (cpow_test): Run tests with RUN_TEST_LOOP_cc_c.
23419
15c7c18d
JM
23420 * math/libm-test.inc (struct test_f_L_data): New type.
23421 (RUN_TEST_LOOP_f_L): New macro.
23422 (llrint_test_data): New variable.
23423 (llrint_test): Run tests with RUN_TEST_LOOP_f_L.
23424 (llrint_tonearest_test_data): New variable.
23425 (llrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_L.
23426 (llrint_towardzero_test_data): New variable.
23427 (llrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_L.
23428 (llrint_downward_test_data): New variable.
23429 (llrint_test_downward): Run tests with RUN_TEST_LOOP_f_L.
23430 (llrint_upward_test_data): New variable.
23431 (llrint_test_upward): Run tests with RUN_TEST_LOOP_f_L.
23432 (llround_test_data): New variable.
23433 (llround_test): Run tests with RUN_TEST_LOOP_f_L.
23434
f137ff13
PC
234352013-05-13 Peter Collingbourne <pcc@google.com>
23436
23437 * math/atest-exp2.c (get_log2): Remove const attribute.
23438
3608cb24
JM
234392013-05-15 Joseph Myers <joseph@codesourcery.com>
23440
23441 * math/libm-test.inc (struct test_f_l_data): New type.
23442 (RUN_TEST_LOOP_f_l): New macro.
23443 (lrint_test_data): New variable.
23444 (lrint_test): Run tests with RUN_TEST_LOOP_f_l.
23445 (lrint_tonearest_test_data): New variable.
23446 (lrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_l.
23447 (lrint_towardzero_test_data): New variable.
23448 (lrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_l.
23449 (lrint_downward_test_data): New variable.
23450 (lrint_test_downward): Run tests with RUN_TEST_LOOP_f_l.
23451 (lrint_upward_test_data): New variable.
23452 (lrint_test_upward): Run tests with RUN_TEST_LOOP_f_l.
23453 (lround_test_data): New variable.
23454 (lround_test): Run tests with RUN_TEST_LOOP_f_l.
23455
39b1f617
PC
234562013-05-15 Peter Collingbourne <pcc@google.com>
23457
1deff3dc
PC
23458 * sysdeps/x86_64/fpu/math_private.h (MOVQ): New macro.
23459 (EXTRACT_WORDS64) Use where appropriate.
23460 (INSERT_WORDS64) Likewise.
23461
791f3ba0
PC
23462 * sysdeps/x86_64/fpu/multiarch/s_fma.c (__fma_fma4): Replace xm
23463 constraints with x constraints.
23464 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c (__fmaf_fma4): Likewise.
23465
39b1f617
PC
23466 * malloc/obstack.c (_obstack_compat): Add initializer.
23467
12fba011
EM
234682013-05-15 Edjunior Machado <emachado@linux.vnet.ibm.com>
23469
23470 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Remove
23471 si_trapno and add si_addr_lsb to _sifields.sigfault.
23472 (si_trapno): Remove macro.
23473 (si_addr_lsb): Define new macro.
23474 (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
23475
d369f531
JM
234762013-05-15 Joseph Myers <joseph@codesourcery.com>
23477
b861c6c4
JM
23478 * math/libm-test.inc (llrint_test): Consistently use TEST_f_L
23479 instead of TEST_f_l.
23480 (llrint_test_tonearest): Likewise.
23481 (llrint_test_towardzero): Likewise.
23482 (llrint_test_downward): Likewise.
23483 (llrint_test_upward): Likewise.
23484 (llround_test): Likewise.
23485
7abeee12
JM
23486 * math/libm-test.inc (struct test_f_i_data): Add comment.
23487 (RUN_TEST_LOOP_f_b): New macro.
23488 (RUN_TEST_LOOP_f_b_tg): Likewise.
23489 (finite_test_data): New variable.
23490 (finite_test): Run tests with RUN_TEST_LOOP_f_b.
23491 (isfinite_test_data): New variable.
23492 (isfinite_test): Run tests with RUN_TEST_LOOP_f_b_tg.
23493 (isinf_test_data): New variable.
23494 (isinf_test): Run tests with RUN_TEST_LOOP_f_b_tg.
23495 (isnan_test_data): New variable.
23496 (isnan_test): Run tests with RUN_TEST_LOOP_f_b_tg.
23497 (isnormal_test_data): New variable.
23498 (isnormal_test): Run tests with RUN_TEST_LOOP_f_b_tg.
23499 (issignaling_test_data): New variable.
23500 (issignaling_test): Run tests with RUN_TEST_LOOP_f_b_tg.
23501 (signbit_test_data): New variable.
23502 (signbit_test): Run tests with RUN_TEST_LOOP_f_b_tg.
23503
cbe8c4d3
JM
23504 * math/libm-test.inc (acos_test_data): Use ERRNO_EDOM together
23505 with INVALID_EXCEPTION.
23506 (acosh_test_data): Likewise.
23507 (asin_test_data): Likewise.
23508 (atanh_test_data): Likewise.
23509 (fmod_test_data): Likewise.
23510 (log_test_data): Likewise.
23511 (log10_test_data): Likewise.
23512 (log2_test_data): Likewise.
23513 (pow_test_data): Likewise.
23514 (sqrt_test_data): Likewise.
23515 (y0_test_data): Likewise.
23516 (y1_test_data): Likewise.
23517 (yn_test_data): Likewise.
23518
5575c0e5
JM
23519 * math/libm-test.inc (test_single_errno) [TEST_INLINE]: Disable
23520 function contents.
23521
d369f531
JM
23522 * math/libm-test.inc (struct test_ff_i_data): New type.
23523 (RUN_TEST_LOOP_ff_i_tg): New macro.
23524 (isgreater_test_data): New variable.
23525 (isgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
23526 (isgreaterequal_test_data): New variable.
23527 (isgreaterequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
23528 (isless_test_data): New variable.
23529 (isless_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
23530 (islessequal_test_data): New variable.
23531 (islessequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
23532 (islessgreater_test_data): New variable.
23533 (islessgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
23534 (isunordered_test_data): New variable.
23535 (isunordered_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
23536
781fd748
DM
235372013-05-14 David S. Miller <davem@davemloft.net>
23538
23539 * sysdeps/sparc/fpu/libm-test-ulps: Update.
23540
87aa21df
JM
235412013-05-14 Joseph Myers <joseph@codesourcery.com>
23542
5e908270
JM
23543 * math/libm-test.inc (RUN_TEST_LOOP_2_f): Fix whitespace.
23544
f71172e5
JM
23545 * math/libm-test.inc (struct test_fF_f1_data): Change type of
23546 extra_test to int.
23547 (struct test_f_i_data): Change type of max_ulp to int.
23548
8cfa635a
JM
23549 * math/libm-test.inc (test_ffI_f1_data): New type.
23550 (RUN_TEST_LOOP_ffI_f1): New macro.
23551 (remquo_test_data): New variable.
23552 (remquo_test): Run tests with RUN_TEST_LOOP_ffI_f1.
23553
2bcb36b2
JM
23554 * setjmp/tst-setjmp-fp.c: New file.
23555 * setjmp/Makefile (tests): Add tst-setjmp-fp.
23556 (link-libm): New variable.
23557 ($(objpfx)tst-setjmp-fp): Depend on $(link-libm).
23558
acbd839a
JM
23559 * math/libm-test.inc (struct test_f_i_data): New type.
23560 (RUN_TEST_LOOP_f_i): New macro.
23561 (RUN_TEST_LOOP_f_i_tg): Likewise.
23562 (fpclassify_test_data): New variable.
23563 (fpclassify_test): Run tests with RUN_TEST_LOOP_f_i_tg.
23564 (ilogb_test_data): New variable.
23565 (ilogb_test): Run tests with RUN_TEST_LOOP_f_i.
23566
e414d745
JM
23567 * math/libm-test.inc (scalbln_test): Correct function name in END
23568 call.
23569
d9c2a0fd
JM
23570 * math/libm-test.inc (struct test_f_f1_data): Add comment.
23571 (RUN_TEST_LOOP_fI_f1): New macro.
23572 (frexp_test_data): New variable.
23573 (frexp_test): Run tests with RUN_TEST_LOOP_fI_f1.
23574
9dc9095d
JM
23575 * math/libm-test.inc (struct test_fF_f1_data): New type.
23576 (RUN_TEST_LOOP_fF_f1): New macro.
23577 (modf_test_data): New variable.
23578 (modf_test): Run tests with RUN_TEST_LOOP_fF_f1.
23579
87aa21df
JM
23580 * math/libm-test.inc (struct test_f_f1_data): New type.
23581 (RUN_TEST_LOOP_f_f1): New macro.
23582 (gamma_test_data): New variable.
23583 (gamma_test): Run tests with RUN_TEST_LOOP_f_f1.
23584 (lgamma_test_data): New variable.
23585 (lgamma_test): Run tests with RUN_TEST_LOOP_f_f1.
23586
141af660
CD
235872013-05-13 Carlos O'Donell <carlos@redhat.com>
23588
23589 * elf/dl-hwcaps.c (_dl_important_hwcaps): Comment vDSO hwcap loading.
23590 * elf/ldconfig.c (is_hwcap_platform): Comment each hwcap check.
23591 (main): Comment "tls" pseudo-hwcap.
23592
6d33265c
JM
235932013-05-13 Joseph Myers <joseph@codesourcery.com>
23594
68fc074c
JM
23595 * math/libm-test.inc (struct test_fl_f_data): New type.
23596 (RUN_TEST_LOOP_fl_f): New variable.
23597 (scalbln_test_data): New variable.
23598 (scalbln_test): Run tests with RUN_TEST_LOOP_fl_f.
23599
243216e1
JM
23600 * math/libm-test.inc (struct test_fi_f_data): New type.
23601 (RUN_TEST_LOOP_fi_f): New macro.
23602 (ldexp_test_data): New variable.
23603 (ldexp_test): Run tests with RUN_TEST_LOOP_fi_f.
23604 (scalbn_test_data): New variable.
23605 (scalbn_test): Run tests with RUN_TEST_LOOP_fi_f.
23606
6a1992e2
JM
23607 * math/libm-test.inc (struct test_c_f_data): New type.
23608 (RUN_TEST_LOOP_c_f): New macro.
23609 (cabs_test_data): New variable.
23610 (cabs_test): Run tests with RUN_TEST_LOOP_c_f.
23611 (carg_test_data): New variable.
23612 (carg_test): Run tests with RUN_TEST_LOOP_c_f.
23613 (cimag_test_data): New variable.
23614 (cimag_test): Run tests with RUN_TEST_LOOP_c_f.
23615 (creal_test_data): New variable.
23616 (creal_test): Run tests with RUN_TEST_LOOP_c_f.
23617
0e400df5
JM
23618 * math/libm-test.inc (struct test_if_f_data): New type.
23619 (RUN_TEST_LOOP_if_f): New macro.
23620 (jn_test_data): New variable.
23621 (jn_test): Run tests with RUN_TEST_LOOP_if_f.
23622 (yn_test_data): New variable.
23623 (yn_test): Run tests with RUN_TEST_LOOP_if_f.
23624
6d33265c
JM
23625 * math/libm-test.inc (scalbln_test): Consistently use TEST_fl_f.
23626
f98ece5f
AZ
236272013-05-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23628
23629 * math/libm-test.inc (M_1_DIV_El): Define using decimal constant.
23630 (log_test_data): Use M_1_DIV_El instead of 1.0 / M_El.
23631
0f7d347b
SP
236322013-05-13 Siddhesh Poyarekar <siddhesh@redhat.com>
23633
43fe811b
SP
23634 * benchtests/Makefile (CPPFLAGS-nonlib): Add
23635 -DUSE_CLOCK_GETTIME if USE_CLOCK_GETTIME is defined.
23636 (bench-deps): Add bench-timing.h.
23637 * benchtests-bench-skeleton.c: Include bench-timing.h.
23638 (main): Use TIMING_* macros instead of clock_gettime.
23639 * benchtests/bench-timing.h: New file.
23640
0f7d347b
SP
23641 [BZ #14582]
23642 * sysdeps/ieee754/s_lib_version.c (_LIB_VERSION_INTERNAL):
23643 Renamed from _LIB_VERSION.
23644 (_LIB_VERSION): Set as weak alias of _LIB_VERSION_INTERNAL.
23645
601a3a5f
JM
236462013-05-12 Joseph Myers <joseph@codesourcery.com>
23647
4f184d30
JM
23648 * math/libm-test.inc (struct test_fff_f_data): New type.
23649 (RUN_TEST_LOOP_fff_f): New macro.
23650 (fma_test_data): New variable.
23651 (fma_test): Run tests with RUN_TEST_LOOP_fff_f.
23652 (fma_towardzero_test_data): New variable.
23653 (fma_test_towardzero): Run tests with RUN_TEST_LOOP_fff_f.
23654 (fma_downward_test_data): New variable.
23655 (fma_test_downward): Run tests with RUN_TEST_LOOP_fff_f.
23656 (fma_upward_test_data): New variable.
23657 (fma_test_upward): Run tests with RUN_TEST_LOOP_fff_f.
23658
08198877
JM
23659 * math/libm-test.inc (BUILD_COMPLEX_ULP): New macro.
23660 (struct test_c_c_data): New type.
23661 (RUN_TEST_LOOP_c_c): New macro.
23662 (cacos_test_data): New variable.
23663 (cacos_test): Run tests with RUN_TEST_LOOP_c_c.
23664 (cacosh_test_data): New variable.
23665 (cacosh_test): Run tests with RUN_TEST_LOOP_c_c.
23666 (casin_test_data): New variable.
23667 (casin_test): Run tests with RUN_TEST_LOOP_c_c.
23668 (casinh_test_data): New variable.
23669 (casinh_test): Run tests with RUN_TEST_LOOP_c_c.
23670 (catan_test_data): New variable.
23671 (catan_test): Run tests with RUN_TEST_LOOP_c_c.
23672 (catanh_test_data): New variable.
23673 (catanh_test): Run tests with RUN_TEST_LOOP_c_c.
23674 (ccos_test_data): New variable.
23675 (ccos_test): Run tests with RUN_TEST_LOOP_c_c.
23676 (ccosh_test_data): New variable.
23677 (ccosh_test): Run tests with RUN_TEST_LOOP_c_c.
23678 (cexp_test_data): New variable.
23679 (cexp_test): Run tests with RUN_TEST_LOOP_c_c.
23680 (clog_test_data): New variable.
23681 (clog_test): Run tests with RUN_TEST_LOOP_c_c.
23682 (clog10_test_data): New variable.
23683 (clog10_test): Run tests with RUN_TEST_LOOP_c_c.
23684 (conj_test_data): New variable.
23685 (conj_test): Run tests with RUN_TEST_LOOP_c_c.
23686 (cproj_test_data): New variable.
23687 (cproj_test): Run tests with RUN_TEST_LOOP_c_c.
23688 (csin_test_data): New variable.
23689 (csin_test): Run tests with RUN_TEST_LOOP_c_c.
23690 (csinh_test_data): New variable.
23691 (csinh_test): Run tests with RUN_TEST_LOOP_c_c.
23692 (csqrt_test_data): New variable.
23693 (csqrt_test): Run tests with RUN_TEST_LOOP_c_c.
23694 (ctan_test_data): New variable.
23695 (ctan_test): Run tests with RUN_TEST_LOOP_c_c.
23696 (ctan_tonearest_test_data): New variable.
23697 (ctan_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
23698 (ctan_towardzero_test_data): New variable.
23699 (ctan_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
23700 (ctan_downward_test_data): New variable.
23701 (ctan_test_downward): Run tests with RUN_TEST_LOOP_c_c.
23702 (ctan_upward_test_data): New variable.
23703 (ctan_test_upward): Run tests with RUN_TEST_LOOP_c_c.
23704 (ctanh_test_data): New variable.
23705 (ctanh_test): Run tests with RUN_TEST_LOOP_c_c.
23706 (ctanh_tonearest_test_data): New variable.
23707 (ctanh_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
23708 (ctanh_towardzero_test_data): New variable.
23709 (ctanh_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
23710 (ctanh_downward_test_data): New variable.
23711 (ctanh_test_downward): Run tests with RUN_TEST_LOOP_c_c.
23712 (ctanh_upward_test_data): New variable.
23713 (ctanh_test_upward): Run tests with RUN_TEST_LOOP_c_c.
23714 * math/gen-libm-test.pl (get_ulps): Use BUILD_COMPLEX_ULP instead
23715 of BUILD_COMPLEX.
23716
601a3a5f
JM
23717 * math/libm-test.inc (struct test_ff_f_data): New type.
23718 (struct test_ff_f_data_nexttoward): Likewise.
23719 (RUN_TEST_LOOP_2_f): New macro.
23720 (RUN_TEST_LOOP_ff_f): Likewise.
23721 (atan2_test_data): New variable.
23722 (atan2_test): Run tests with RUN_TEST_LOOP_ff_f.
23723 (copysign_test_data): New variable.
23724 (copysign_test): Run tests with RUN_TEST_LOOP_ff_f.
23725 (fdim_test_data): New variable.
23726 (fdim_test): Run tests with RUN_TEST_LOOP_ff_f.
23727 (fmax_test_data): New variable.
23728 (fmax_test): Run tests with RUN_TEST_LOOP_ff_f.
23729 (fmin_test_data): New variable.
23730 (fmin_test): Run tests with RUN_TEST_LOOP_ff_f.
23731 (fmod_test_data): New variable.
23732 (fmod_test): Run tests with RUN_TEST_LOOP_ff_f.
23733 (hypot_test_data): New variable.
23734 (hypot_test): Run tests with RUN_TEST_LOOP_ff_f.
23735 (nextafter_test_data): New variable.
23736 (nextafter_test): Run tests with RUN_TEST_LOOP_ff_f.
23737 (nexttoward_test_data): New variable.
23738 (nexttoward_test): Run tests with RUN_TEST_LOOP_ff_f.
23739 (pow_test_data): New variable.
23740 (pow_test): Run tests with RUN_TEST_LOOP_ff_f.
23741 (pow_tonearest_test_data): New variable.
23742 (pow_test_tonearest): Run tests with RUN_TEST_LOOP_ff_f.
23743 (pow_towardzero_test_data): New variable.
23744 (pow_test_towardzero): Run tests with RUN_TEST_LOOP_ff_f.
23745 (pow_downward_test_data): New variable.
23746 (pow_test_downward): Run tests with RUN_TEST_LOOP_ff_f.
23747 (pow_upward_test_data): New variable.
23748 (pow_test_upward): Run tests with RUN_TEST_LOOP_ff_f.
23749 (remainder_test_data): New variable.
23750 (remainder_test): Run tests with RUN_TEST_LOOP_ff_f.
23751 (scalb_test_data): New variable.
23752 (scalb_test): Run tests with RUN_TEST_LOOP_ff_f.
23753 * sysdeps/i386/fpu/libm-test-ulps: Update.
23754
74c57478
JM
237552013-05-11 Joseph Myers <joseph@codesourcery.com>
23756
8329e4da
JM
23757 * math/libm-test.inc (fma_test): Use max_value instead of local
23758 variable fltmax.
23759 (nextafter_test): Likewise.
23760
74c57478
JM
23761 * math/libm-test.inc (acos_towardzero_test_data): New variable.
23762 (acos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
23763 (acos_downward_test_data): New variable.
23764 (acos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
23765 (acos_upward_test_data): New variable.
23766 (acos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
23767 (acosh_test_data): New variable.
23768 (acosh_test): Run tests with RUN_TEST_LOOP_f_f.
23769 (asin_test_data): New variable.
23770 (asin_test): Run tests with RUN_TEST_LOOP_f_f.
23771 (asin_tonearest_test_data): New variable.
23772 (asin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
23773 (asin_towardzero_test_data): New variable.
23774 (asin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
23775 (asin_downward_test_data): New variable.
23776 (asin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
23777 (asin_upward_test_data): New variable.
23778 (asin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
23779 (asinh_test_data): New variable.
23780 (asinh_test): Run tests with RUN_TEST_LOOP_f_f.
23781 (atan_test_data): New variable.
23782 (atan_test): Run tests with RUN_TEST_LOOP_f_f.
23783 (atanh_test_data): New variable.
23784 (atanh_test): Run tests with RUN_TEST_LOOP_f_f.
23785 (cbrt_test_data): New variable.
23786 (cbrt_test): Run tests with RUN_TEST_LOOP_f_f.
23787 (ceil_test_data): New variable.
23788 (ceil_test): Run tests with RUN_TEST_LOOP_f_f.
23789 (cos_test_data): New variable.
23790 (cos_test): Run tests with RUN_TEST_LOOP_f_f.
23791 (cos_tonearest_test_data): New variable.
23792 (cos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
23793 (cos_towardzero_test_data): New variable.
23794 (cos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
23795 (cos_downward_test_data): New variable.
23796 (cos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
23797 (cos_upward_test_data): New variable.
23798 (cos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
23799 (cosh_test_data): New variable.
23800 (cosh_test): Run tests with RUN_TEST_LOOP_f_f.
23801 (cosh_tonearest_test_data): New variable.
23802 (cosh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
23803 (cosh_towardzero_test_data): New variable.
23804 (cosh_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
23805 (cosh_downward_test_data): New variable.
23806 (cosh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
23807 (cosh_upward_test_data): New variable.
23808 (cosh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
23809 (erf_test_data): New variable.
23810 (erf_test): Run tests with RUN_TEST_LOOP_f_f.
23811 (erfc_test_data): New variable.
23812 (erfc_test): Run tests with RUN_TEST_LOOP_f_f.
23813 (exp_test_data): New variable.
23814 (exp_test): Run tests with RUN_TEST_LOOP_f_f.
23815 (exp_tonearest_test_data): New variable.
23816 (exp_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
23817 (exp_towardzero_test_data): New variable.
23818 (exp_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
23819 (exp_downward_test_data): New variable.
23820 (exp_test_downward): Run tests with RUN_TEST_LOOP_f_f.
23821 (exp_upward_test_data): New variable.
23822 (exp_test_upward): Run tests with RUN_TEST_LOOP_f_f.
23823 (exp10_test_data): New variable.
23824 (exp10_test): Run tests with RUN_TEST_LOOP_f_f.
23825 (exp2_test_data): New variable.
23826 (exp2_test): Run tests with RUN_TEST_LOOP_f_f.
23827 (expm1_test_data): New variable.
23828 (expm1_test): Run tests with RUN_TEST_LOOP_f_f.
23829 (fabs_test_data): New variable.
23830 (fabs_test): Run tests with RUN_TEST_LOOP_f_f.
23831 (floor_test_data): New variable.
23832 (floor_test): Run tests with RUN_TEST_LOOP_f_f.
23833 (j0_test_data): New variable.
23834 (j0_test): Run tests with RUN_TEST_LOOP_f_f.
23835 (j1_test_data): New variable.
23836 (j1_test): Run tests with RUN_TEST_LOOP_f_f.
23837 (log_test_data): New variable.
23838 (log_test): Run tests with RUN_TEST_LOOP_f_f.
23839 (log10_test_data): New variable.
23840 (log10_test): Run tests with RUN_TEST_LOOP_f_f.
23841 (log1p_test_data): New variable.
23842 (log1p_test): Run tests with RUN_TEST_LOOP_f_f.
23843 (log2_test_data): New variable.
23844 (log2_test): Run tests with RUN_TEST_LOOP_f_f.
23845 (logb_test_data): New variable.
23846 (logb_test): Run tests with RUN_TEST_LOOP_f_f.
23847 (logb_downward_test_data): New variable.
23848 (logb_test_downward): Run tests with RUN_TEST_LOOP_f_f.
23849 (nearbyint_test_data): New variable.
23850 (nearbyint_test): Run tests with RUN_TEST_LOOP_f_f.
23851 (rint_test_data): New variable.
23852 (rint_test): Run tests with RUN_TEST_LOOP_f_f.
23853 (rint_tonearest_test_data): New variable.
23854 (rint_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
23855 (rint_towardzero_test_data): New variable.
23856 (rint_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
23857 (rint_downward_test_data): New variable.
23858 (rint_test_downward): Run tests with RUN_TEST_LOOP_f_f.
23859 (rint_upward_test_data): New variable.
23860 (rint_test_upward): Run tests with RUN_TEST_LOOP_f_f.
23861 (round_test_data): New variable.
23862 (round_test): Run tests with RUN_TEST_LOOP_f_f.
23863 (sin_test_data): New variable.
23864 (sin_test): Run tests with RUN_TEST_LOOP_f_f.
23865 (sin_tonearest_test_data): New variable.
23866 (sin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
23867 (sin_towardzero_test_data): New variable.
23868 (sin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
23869 (sin_downward_test_data): New variable.
23870 (sin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
23871 (sin_upward_test_data): New variable.
23872 (sin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
23873 (sinh_test_data): New variable.
23874 (sinh_test): Run tests with RUN_TEST_LOOP_f_f.
23875 (sinh_tonearest_test_data): New variable.
23876 (sinh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
23877 (sinh_towardzero_test_data): New variable.
23878 (sinh_towardzero): Run tests with RUN_TEST_LOOP_f_f.
23879 (sinh_downward_test_data): New variable.
23880 (sinh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
23881 (sinh_upward_test_data): New variable.
23882 (sinh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
23883 (sqrt_test_data): New variable.
23884 (sqrt_test): Run tests with RUN_TEST_LOOP_f_f.
23885 (tan_test_data): New variable.
23886 (tan_test): Run tests with RUN_TEST_LOOP_f_f.
23887 (tan_tonearest_test_data): New variable.
23888 (tan_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
23889 (tan_towardzero_test_data): New variable.
23890 (tan_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
23891 (tan_downward_test_data): New variable.
23892 (tan_test_downward): Run tests with RUN_TEST_LOOP_f_f.
23893 (tan_upward_test_data): New variable.
23894 (tan_test_upward): Run tests with RUN_TEST_LOOP_f_f.
23895 (tanh_test_data): New variable.
23896 (tanh_test): Run tests with RUN_TEST_LOOP_f_f.
23897 (tgamma_test_data): New variable.
23898 (tgamma_test): Run tests with RUN_TEST_LOOP_f_f.
23899 (trunc_test_data): New variable.
23900 (trunc_test): Run tests with RUN_TEST_LOOP_f_f.
23901 (y0_test_data): New variable.
23902 (y0_test): Run tests with RUN_TEST_LOOP_f_f.
23903 (y1_test_data): New variable.
23904 (y1_test): Run tests with RUN_TEST_LOOP_f_f.
23905 (significand_test_data): New variable.
23906 (significand_test): Run tests with RUN_TEST_LOOP_f_f.
23907
7187d844
CG
239082013-05-10 Christian Grönke <cgr_bugs@sysgo.com>
23909
23910 [BZ #12387]
23911 * sysdeps/unix/sysv/linux/sh/getgid.c: New file.
23912
f63fae73
PT
239132013-05-10 Pino Toscano <toscano.pino@tiscali.it>
23914
23915 * sysdeps/mach/hurd/bits/statvfs.h: Add ST_NOATIME.
23916
8a67a4b3
AJ
239172013-05-10 Andreas Jaeger <aj@suse.de>
23918
23919 [BZ #15448]
23920 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_SET_S)
23921 (__CPU_CLR_S, __CPU_ISSET_S): Avoid integer overflow.
23922
51df539d
JM
239232013-05-10 Joseph Myers <joseph@codesourcery.com>
23924
23925 * math/gen-libm-test.pl (adjust_arg): New function.
23926 (special_functions): Handle generating output in both functions
23927 and arrays.
23928 (parse_args): Likewise.
23929 (generate_testfile): Handle START_DATA and END_DATA. Pass extra
23930 $in_func argument to parse_args.
23931 * math/libm-test.inc (struct test_f_f_data): New type.
23932 (IF_ROUND_INIT_): New macro.
23933 (IF_ROUND_INIT_FE_DOWNWARD): Likewise.
23934 (IF_ROUND_INIT_FE_TONEAREST): Likewise.
23935 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
23936 (IF_ROUND_INIT_FE_UPWARD): Likewise.
23937 (ROUND_RESTORE_): Likewise.
23938 (ROUND_RESTORE_FE_DOWNWARD): Likewise.
23939 (ROUND_RESTORE_FE_TONEAREST): Likewise.
23940 (ROUND_RESTORE_FE_TOWARDZERO): Likewise.
23941 (ROUND_RESTORE_FE_UPWARD): Likewise.
23942 (RUN_TEST_LOOP_f_f): New macro.
23943 (acos_test_data): New variable.
23944 (acos_test): Run tests with RUN_TEST_LOOP_f_f.
23945 (acos_tonearest_test_data): New variable.
23946 (acos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
23947
5c637fe5
SP
239482013-05-10 Siddhesh Poyarekar <siddhesh@redhat.com>
23949
23950 * benchtests/bench-skeleton.c (startup): Fix coding style.
23951
ab2b9461
JM
239522013-05-10 Joseph Myers <joseph@codesourcery.com>
23953
23954 [BZ #6809]
23955 * math/w_tgamma.c (__tgamma): Also call __kernel_standard for
23956 negative infinity argument.
23957 * math/w_tgammaf.c (__tgammaf): Also call __kernel_standard_f for
23958 negative infinity argument.
23959 * math/w_tgammal.c (__tgammal): Also call __kernel_standard_l for
23960 negative infinity argument.
23961 * math/libm-test.inc (tgamma_test): Expect errno to be set for
23962 domain errors.
23963
4c0fe6fe
FW
239642013-05-10 Florian Weimer <fweimer@redhat.com>
23965
23966 * elf/sprof.c (load_profdata): Use fstat64 instead of fstat.
23967 * iconv/iconv_charmap.c (charmap_conversion): Likewise.
23968 * iconv/iconv_prog.c (main): Likewise.
23969 * locale/programs/charmap-dir.c (charmap_readdir)
23970 (fopen_uncompressed): Likewise.
23971 * locale/programs/locfile.c (siblings_uncached)
23972 (write_locale_data): Use lstat64 instead of lstat.
23973 * sunrpc/rpc_main.c (find_cpp, checkfiles): Use stat64 instead of
23974 stat.
23975
a3375d29
AJ
239762013-05-10 Andreas Jaeger <aj@suse.de>
23977
23978 [BZ #15395]
23979 * sunrpc/rpc_main.c (main): Invoke setlocale and textdomain for
23980 localization.
23981 Include <locale.h>.
23982
36129722
CD
239832013-05-09 Carlos O'Donell <carlos@redhat.com>
23984
23985 * elf/dl-close.c (_dl_close_worker): Add comments.
23986
faa7f811
JM
239872013-05-09 Joseph Myers <joseph@codesourcery.com>
23988
ed41ffef
JM
23989 [BZ #15359]
23990 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (c): Use 106 bits for
23991 high part of pi/2.
23992 (__ieee754_rem_pio2l): Update comments.
23993
d0213cd0
JM
23994 [BZ #15429]
23995 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c (c): Use 113 bits for
23996 high part of pi/2.
23997 (__ieee754_rem_pio2l): Update comments.
23998
0d3e777a
JM
23999 * math/libm-test.inc (M_SQRT_2_2): Remove macro.
24000 (csqrt_test): Use M_SQRT1_2l instead of M_SQRT_2_2.
24001
24f56066
JM
24002 * math/libm-test.inc (carg_test): Use M_PI_34l instead of 3 *
24003 M_PI_4l.
24004
faa7f811
JM
24005 * math/libm-test.inc (M_PI_34l): Define using decimal constant.
24006 (M_PI_34_LOG10El): Likewise.
24007 (M_PI2_LOG10El): Likewise.
24008 (M_PI4_LOG10El): Likewise.
24009 (M_PI_LOG10El): Likewise.
24010
e9a5e0fd
AZ
240112013-05-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
24012
24013 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
24014
d8cd06db
JM
240152013-05-08 Joseph Myers <joseph@codesourcery.com>
24016
a0d9f9d7
JM
24017 * math/libm-test.inc (PLUS_ZERO_INIT): New macro.
24018 (MINUS_ZERO_INIT): Likewise.
24019 (PLUS_INFTY_INIT): Likewise.
24020 (MINUS_INFTY_INIT): Likewise.
24021 (QNAN_VALUE_INIT): Likewise.
24022 (MAX_VALUE_INIT): Likewise.
24023 (MIN_VALUE_INIT): Likewise.
24024 (MIN_SUBNORM_VALUE_INIT): Likewise.
24025 (plus_zero): Initialize with PLUS_ZERO_INIT.
24026 (minus_zero): Initialize with MINUS_ZERO_INIT.
24027 (plus_infty): Initialize with PLUS_INFTY_INIT.
24028 (minus_infty): Initialize with MINUS_INFTY_INIT.
24029 (qnan_value): Initialize with QNAN_VALUE_INIT.
24030 (max_value): Initialize with MAX_VALUE_INIT.
24031 (min_value): Initialize with MIN_VALUE_INIT.
24032 (min_subnorm_value): Initialize with MIN_SUBNORM_VALUE_INIT.
24033
ae08db3b
JM
24034 * math/libm-test.inc (RUN_TEST_if_f): New macro.
24035 (jn_test): Use TEST_if_f instead of TEST_ff_f.
24036 (ldexp_text): Use TEST_fi_i instead of TEST_ff_f.
24037 (yn_test): Use TEST_if_f instead of TEST_ff_f.
24038
f44bf14a
JM
24039 * math/libm-test.inc (RUN_TEST_f_f): New macro.
24040 (RUN_TEST_2_f): Likewise.
24041 (RUN_TEST_ff_f): Likewise.
24042 (RUN_TEST_fi_f): Likewise.
24043 (RUN_TEST_fl_f): Likewise.
24044 (RUN_TEST_fff_f): Likewise.
24045 (RUN_TEST_c_f): Likewise.
24046 (RUN_TEST_f_f1): Likewise.
24047 (RUN_TEST_fF_f1): Likewise.
24048 (RUN_TEST_fI_f1): Likewise.
24049 (RUN_TEST_ffI_f1): Likewise.
24050 (RUN_TEST_c_c): Likewise.
24051 (RUN_TEST_cc_c): Likewise.
24052 (RUN_TEST_f_i): Likewise.
24053 (RUN_TEST_f_i_tg): Likewise.
24054 (RUN_TEST_ff_i_tg): Likewise.
24055 (RUN_TEST_f_b): Likewise.
24056 (RUN_TEST_f_b_tg): Likewise.
24057 (RUN_TEST_f_l): Likewise.
24058 (RUN_TEST_f_L): Likewise.
24059 (RUN_TEST_sincos): Likewise.
24060 * math/gen-libm-test.pl (new_test): Take new argument to indicate
24061 whether to show exceptions. Do not include ");\n" in return
24062 value.
24063 (special_functions): Output call to RUN_TEST_sincos instead of
24064 check_float calls. Update calls to new_test.
24065 (parse_args): Output call to single RUN_TEST_* macro instead of
24066 check_* calls and other assignments. Update calls to new_test.
24067
d8cd06db
JM
24068 [BZ #2546]
24069 [BZ #2560]
24070 [BZ #5159]
24071 [BZ #15426]
24072 * sysdeps/ieee754/k_standard.c (__kernel_standard): Copy sign of
24073 input to result for tgamma overflow.
24074 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Include <float.h>.
24075 (gamma_coeff): New variable.
24076 (NCOEFF): New macro.
24077 (gamma_positive): New function.
24078 (__ieee754_gamma_r): Handle positive infinity, NaN, overflow and
24079 underflow here. Use gamma_positive instead of exp (lgamma) for
24080 other arguments.
24081 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Include <float.h>.
24082 (gamma_coeff): New variable.
24083 (NCOEFF): New macro.
24084 (gammaf_positive): New function.
24085 (__ieee754_gammaf_r): Handle positive infinity, NaN, overflow and
24086 underflow here. Use gamma_positive instead of exp (lgamma) for
24087 other arguments.
24088 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Include <float.h>.
24089 (gamma_coeff): New variable.
24090 (NCOEFF): New macro.
24091 (gammal_positive): New function.
24092 (__ieee754_gammal_r): Handle positive infinity, NaN, overflow and
24093 underflow here. Use gamma_positive instead of exp (lgamma) for
24094 other arguments.
24095 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Include <float.h>.
24096 (gamma_coeff): New variable.
24097 (NCOEFF): New macro.
24098 (gammal_positive): New function.
24099 (__ieee754_gammal_r): Handle positive infinity, overflow and
24100 underflow here. Handle NaN the same as positive infinity. Remove
24101 check x < 0xffffffff for negative integers. Use gamma_positive
24102 instead of exp (lgamma) for other arguments.
24103 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Include <float.h>.
24104 (gamma_coeff): New variable.
24105 (NCOEFF): New macro.
24106 (gammal_positive): New function.
24107 * sysdeps/ieee754/dbl-64/gamma_product.c: New file.
24108 * sysdeps/ieee754/dbl-64/gamma_productf.c: Likewise.
24109 * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
24110 * sysdeps/ieee754/ldbl-128ibm/gamma_productl.c: Likewise.
24111 * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
24112 * sysdeps/ieee754/ldbl-96/gamma_productl.c: Likewise.
24113 * sysdeps/generic/math_private.h (__gamma_productf): New
24114 prototype.
24115 (__gamma_product): Likewise.
24116 (__gamma_productl): Likewise.
24117 * math/Makefile (libm-calls): Add gamma_product.
24118 * math/libm-test.inc (tgamma_test): Add more tests.
24119 * sysdeps/i386/fpu/libm-test-ulps: Update.
24120 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24121
bb7cf681
OB
241222013-05-08 Ondřej Bílka <neleai@seznam.cz>
24123
24124 * benchtests/bench-skeleton.c (main): Preheat CPU.
24125
ba853947
AJ
241262013-05-07 Aurelien Jarno <aurelien@aurel32.net>
24127
24128 * misc/sys/param.h (DEV_BSIZE): Define only if not already defined.
24129
8347c74c
RM
241302013-05-07 Roland McGrath <roland@hack.frob.com>
24131
24132 * sysdeps/generic/ldsodefs.h [IS_IN_rtld]: Declare _dl_skip_args
24133 and _dl_skip_args_internal.
24134
e8dd4791
CD
241352013-05-07 Carlos O'Donell <carlos@redhat.com>
24136
24137 * manual/message.texi (Message Translation): Talk about users.
24138 Message to key mapping impacts design.
24139
c7405830
RM
241402013-05-06 Roland McGrath <roland@hack.frob.com>
24141
a9173057
RM
24142 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: New file.
24143
976e2f03
RM
24144 * elf/dl-open.c: Remove declaration of _dl_sysdep_start.
24145
9723ffc5
RM
24146 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: Moved to ...
24147 * sysdeps/wordsize-64/glob64.c: ... here.
24148
962e6658
RM
24149 * sysdeps/generic/not-cancel.h (NO_CANCELLATION): New macro.
24150 (pause_not_cancel, nanosleep_not_cancel, sigsuspend_not_cancel):
24151 New macros.
24152
ee586a6d
RM
24153 * debug/getlogin_r_chk.c: Moved to ...
24154 * login/getlogin_r_chk.c: ... here.
24155 * debug/Makefile (routines): Move getlogin_r_chk to ...
24156 * login/Makefile (routines): ... here.
24157 * debug/Versions (libc: GLIBC_2.4): Move getlogin_r_chk to ...
24158 * login/Versions (libc: GLIBC_2.4): ... here.
24159
355f9165
RM
24160 * io/poll.c (__poll): Renamed from poll.
24161 Add libc_hidden_def.
24162 (poll): Define as weak alias.
24163
bd9ffde6
RM
24164 * debug/ptsname_r_chk.c: Moved to ...
24165 * login/ptsname_r_chk.c: ... here.
24166 * debug/Makefile (routines): Move ptsname_r_chk to ...
24167 * login/Makefile (routines): ... here.
24168 * debug/Versions (libc: GLIBC_2.4): Move __ptsname_r_chk to ...
24169 * login/Versions (libc: GLIBC_2.4): ... here.
24170
8fb16a04
RM
24171 * posix/getlogin.c: Moved to ...
24172 * login/getlogin.c: ... here.
24173 * posix/getlogin_r.c: Moved to ...
24174 * login/getlogin_r.c: ... here.
24175 * posix/getlogin_r.c: Moved to ...
24176 * login/getlogin_r.c: ... here.
24177 * posix/Makefile (routines): Move getlogin, getlogin_r, setlogin to ...
24178 * login/Makefile (routines): ... here.
24179 * posix/Versions (libc: GLIBC_2.0): Move setlogin to ...
24180 * login/Versions (libc: GLIBC_2.0): ... here.
24181
b99b892f
RM
24182 * resource/setrlimit.c (__setrlimit): Renamed from setrlimit.
24183 (setrlimit): Define as weak alias.
24184
c7405830
RM
24185 * sysdeps/posix/truncate.c (__truncate): Renamed from truncate.
24186 Call __ names for open, ftruncate, and close.
24187 For LENGTH==0 case, just use O_TRUNC rather than calling ftruncate.
24188 (truncate): Define as weak alias.
24189
5bf96de5
JM
241902013-05-06 Joseph Myers <joseph@codesourcery.com>
24191
9ea3513c
JM
24192 * math/gen-libm-test.pl (parse_args): Initialize x before each
24193 test of frexp, modf and remquo.
24194
5bf96de5
JM
24195 * math/libm-test.inc (gamma_test): Consistently use TEST_f_f1 to
24196 test signgam value.
24197
16e616a7
AZ
241982013-05-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
24199
24200 [BZ #15418]
24201 [BZ #15419]
24202 * sysdeps/powerpc/fpu/e_hypot.c: Fix spurious FP exception generated by
24203 internal tests.
24204 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
24205
d5e82754
RM
242062013-05-06 Roland McGrath <roland@hack.frob.com>
24207
24208 * elf/dl-writev.h: New file.
24209 * elf/dl-misc.c: Include it.
24210 (_dl_debug_vdprintf): Call _dl_writev instead of __writev et al.
24211 * sysdeps/unix/sysv/linux/dl-writev.h: New file.
24212
a7548d41
JM
242132013-05-04 Joseph Myers <joseph@codesourcery.com>
24214
b7dab1e4
JM
24215 * math/libm-test.inc (noXFails): Remove variable.
24216 (noXPasses): Likewise.
24217 (BUILD_COMPLEX_INT): Remove macro.
24218 (print_screen): Remove xfail argument.
24219 (print_screen_max_error): Likewise.
24220 (update_stats): Likewise.
24221 (print_max_error): Likewise. Update calls to other affected
24222 functions.
24223 (print_complex_max_error): Likewise.
24224 (test_single_exception): Update calls to print_screen.
24225 (test_single_errno): Likewise.
24226 (check_float_internal): Remove xfail argument. Update calls to
24227 other affected functions.
24228 (check_float): Likewise.
24229 (check_complex): Likewise.
24230 (check_int): Likewise.
24231 (check_long): Likewise.
24232 (check_bool): Likewise.
24233 (check_longlong): Likewise.
24234 (main): Don't print noXFails and noXPasses.
24235 * math/gen-libm-test.pl (top level): Don't mention expected
24236 failure handling in comment.
24237 (new_test): Don't handle expected failures.
24238 (parse_args): Don't mention expected failure handling in comment.
24239 (generate_testfile): Don't handle expected failures.
24240 (parse_ulps): Likewise.
24241 (print_ulps_file): Likewise.
24242 (get_failure): Remove function.
24243 (output_test): Don't handle expected failures.
24244 * make/README.libm-test: Don't mention expected failure handling.
24245
a7548d41
JM
24246 * math/libm-test.inc (plus_zero): Make const. Add initializer.
24247 (minus_zero): Likewise.
24248 (plus_infty): Likewise.
24249 (minus_infty): Likewise.
24250 (qnan_value): Likewise.
24251 (max_value): Likewise.
24252 (min_value): Likewise.
24253 (min_subnorm_value): Likewise.
24254 (initialize): Do not initialize those variables dynamically.
24255
60bfd54c
RM
242562013-05-03 Roland McGrath <roland@hack.frob.com>
24257
cc0e6ed8
RM
24258 * io/open.c (__open_2): Moved to ...
24259 * io/open_2.c: ... this new file.
24260 * io/open64.c (__open64_2): Moved to ...
24261 * io/open64_2.c: ... this new file.
24262 * io/openat.c (__openat_2): Moved to ...
24263 * io/openat_2.c: ... this new file.
24264 * io/openat64.c (__openat64_2): Moved to ...
24265 * io/openat64_2.c: ... this new file.
24266 * io/Makefile (routines): Add them.
24267 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove them.
24268 * sysdeps/unix/sysv/linux/open_2.c: File removed.
24269 * sysdeps/unix/sysv/linux/open64_2.c: File removed.
24270 * sysdeps/unix/sysv/linux/openat.c (__OPENAT_2): Removed.
24271 * sysdeps/unix/sysv/linux/openat64.c (__OPENAT_2): Removed.
24272 * sysdeps/unix/sysv/linux/wordsize-64/openat.c (__openat_2): Removed.
24273 (__openat64): Add hidden_ver.
24274 * sysdeps/mach/hurd/open.c (__open_2, __open64_2): Removed.
24275 * sysdeps/mach/hurd/openat.c (__openat_2): Removed.
24276
60bfd54c
RM
24277 * elf/dl-sysdep.c (_dl_sysdep_start) [NEED_DL_SYSINFO]:
24278 Separately conditionalize setting of GLRO(dl_sysinfo) so
24279 that the GLRO(dl_sysinfo_dso) test is under [NEED_DL_SYSINFO_DSO]
24280 as well, but the actual setting is only under [NEED_DL_SYSINFO].
24281
83e7640f
AZ
242822013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
24283
24284 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_time symbol.
24285 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Add __vdso_time
24286 definition.
24287 (VDSO_IFUNC_RET): Cast to void * to silence compiler warning.
24288 * sysdeps/unix/sysv/linux/powerpc/init-first.c
24289 (_libc_vdso_platform_setup): Add __vdso_time initialization.
24290 * sysdeps/unix/sysv/linux/powerpc/time.c: New file: time implementation
24291 for PowerPC using vDSO where is avaliable or gettimeofday as a fallback.
24292
d5dc2af3
JM
242932013-05-03 Joseph Myers <joseph@codesourcery.com>
24294
c31a5b1e
JM
24295 * math/libm-test.inc (lgamma_test): Consistently use TEST_f_f1 to
24296 test signgam value.
24297
d5dc2af3
JM
24298 * math/libm-test.inc (hypot_test): Do not use
24299 IGNORE_ZERO_INF_SIGN.
24300
164fd39d
AJ
243012013-05-03 Andreas Jaeger <aj@suse.de>
24302
24303 * sysdeps/gnu/netinet/tcp.h (TCP_TIMESTAMP): New value, from
24304 Linux 3.9.
24305 * sysdeps/unix/sysv/linux/bits/socket.h (PF_VSOCK, AF_VSOCK): Add.
24306 (PF_MAX): Adjust for VSOCK change.
24307
8237f48c
AZ
243082013-05-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
24309
24310 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
24311
9df02941
CD
243122013-05-02 Carlos O'Donell <carlos@redhat.com>
24313
24314 [BZ #15264]
24315 * localedata/locales/en_CA (LC_MESSAGES): Define yesstr and nostr.
24316 * localedata/locales/es_AR (LC_MESSAGES): Copy es_ES.
24317 * localedata/locales/es_ES (LC_MESSAGES): Define yesstr and nostr.
24318
d422395e
DM
243192013-05-02 David S. Miller <davem@davemloft.net>
24320
24321 * sysdeps/sparc/fpu/libm-test-ulps: Update.
24322
a07c5731
OB
243232013-05-01 Ondřej Bílka <neleai@seznam.cz>
24324
24325 * string/bits/string2.h (__strcmp_cg): Call __strcmp_gc.
24326
1324e37f
RM
243272013-05-01 Roland McGrath <roland@hack.frob.com>
24328
24329 * sysdeps/posix/opendir.c: Include <sys/param.h> to get MIN/MAX macros.
24330
0695940b
RS
243312013-05-01 Richard Smith <richard@metafoo.co.uk>
24332
bb5f27ad 24333 [BZ #14952]
0695940b
RS
24334 * misc/sys/cdefs.h (__extern_inline, __extern_always_inline)
24335 [__GNUC__ && (__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
24336 Use __attribute__ ((__gnu_inline__)).
24337 [__GNUC__ && !(__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
24338 Don't use __attribute__ ((__gnu_inline__)).
24339
10de07f5
JM
243402013-05-01 Joseph Myers <joseph@codesourcery.com>
24341
24342 [BZ #15423]
24343 * math/s_catan.c (__catan): Handle small real or imaginary part of
24344 input specially to avoid spurious underflow.
24345 * math/s_catanf.c (__catanf): Likewise.
24346 * math/s_catanh.c (__catanh): Likewise.
24347 * math/s_catanhf.c (__catanhf): Likewise.
24348 * math/s_catanhl.c (__catanhl): Likewise.
24349 * math/s_catanl.c (__catanl): Likewise.
24350 * math/libm-test.inc (catan_test): Add more tests.
24351 (catanh_test): Likewise.
24352 * sysdeps/i386/fpu/libm-test-ulps: Update.
24353 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24354
cb4d5414
AZ
243552013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
24356
24357 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
24358
caf84319
JM
243592013-04-30 Joseph Myers <joseph@codesourcery.com>
24360
24361 [BZ #15416]
24362 * math/s_catan.c (__catan): Compute expressions 1 - x^2 - y^2 more
24363 accurately for denominator in atan2.
24364 * math/s_catanf.c (__catanf): Likewise.
24365 * math/s_catanh.c (__catanh): Likewise.
24366 * math/s_catanhf.c (__catanhf): Likewise.
24367 * math/s_catanhl.c (__catanhl): Likewise.
24368 * math/s_catanl.c (__catanl): Likewise.
24369 * math/libm-test.inc (catan_test): Add more tests.
24370 (catanh_test): Likewise.
24371 * sysdeps/i386/fpu/libm-test-ulps: Update.
24372 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24373
d569c6ee
SP
243742013-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
24375
6dbe713d
SP
24376 * sysdeps/ieee754/dbl-64/s_sin.c: Format code.
24377
f0ee064b
SP
24378 * benchtests/Makefile (bench): Remove slow benchmarks.
24379 * benchtests/atan-inputs: Add slow benchmark inputs.
24380 * benchtests/bench-modf.c (NUM_VARIANTS): Define.
24381 (BENCH_FUNC): Accept variant offset.
24382 (VARIANT): Define.
24383 * benchtests/bench-skeleton.c (main): Run benchmark for each
24384 variant.
24385 * benchtests/cos-inputs: Add slow benchmark inputs.
24386 * benchtests/exp-inputs: Likewise.
24387 * benchtests/pow-inputs: Likewise.
24388 * benchtests/sin-inputs: Likewise.
24389 * benchtests/slowatan-inputs: Remove.
24390 * benchtests/slowatan.c: Remove.
24391 * benchtests/slowcos-inputs: Remove.
24392 * benchtests/slowcos.c: Remove.
24393 * benchtests/slowexp-inputs: Remove.
24394 * benchtests/slowexp.c: Remove.
24395 * benchtests/slowpow-inputs: Remove.
24396 * benchtests/slowpow.c: Remove.
24397 * benchtests/slowsin-inputs: Remove.
24398 * benchtests/slowsin.c: Remove.
24399 * benchtests/slowtan-inputs: Remove.
24400 * benchtests/slowtan.c: Remove.
24401 * benchtests/tan-inputs: Add slow benchmark inputs.
24402 * scripts/bench.pl: Parse comments and directives.
24403
d569c6ee
SP
24404 * benchtests/Makefile: Remove *-ITER. Define BENCH_DURATION
24405 in CPPFLAGS.
24406 ($(objpfx)bench-%.c): Remove *-ITER.
24407 * benchtests/bench-modf.c: Remove definition of ITER.
24408 * benchtests/bench-skeleton.c (TIMESPEC_AFTER): New macro.
24409 (main): Loop for DURATION seconds instead of fixed number of
24410 iterations.
24411 * scripts/bench.pl: Don't expect iterations in parameters.
24412
a6a242fe
RM
244132013-04-29 Roland McGrath <roland@hack.frob.com>
24414
24415 * io/fchdir.c (__fchdir): Renamed from fchdir.
24416 (fchdir): Define as weak alias.
24417
f2da7793
JM
244182013-04-29 Joseph Myers <joseph@codesourcery.com>
24419
24420 * math/libm-test.inc (ERRNO_UNCHANGED): New macro.
24421 (ERRNO_EDOM): Likewise.
24422 (ERRNO_ERANGE): Likewise.
24423 (noErrnoTests): New variable.
24424 (init_max_error): Set errno to 0.
24425 (test_single_errno): New function.
24426 (test_errno): Likewise.
24427 (check_float_internal): Call test_errno. Set errno to 0.
24428 (check_complex): Refer to errno tests in comment.
24429 (check_int): Call test_errno. Set errno to 0.
24430 (check_long): Likewise.
24431 (check_bool): Likewise.
24432 (check_longlong): Likewise.
24433 (cos_test): Use ERRNO_* flags for errno tests instead of
24434 check_int.
24435 (expm1_test): Likewise.
24436 (fmod_test): Likewise.
24437 (ilogb_test): Likewise.
24438 (lgamma_test): Likewise.
24439 (pow_test): Likewise.
24440 (remainder_test): Likewise.
24441 (sin_test): Likewise.
24442 (tan_test): Likewise.
24443 (yn_test): Likewise.
24444 (initialize): Set errno to 0.
24445 (main): Print number of errno tests.
24446 * math/gen-libm-test.pl (parse_args): Allow ERRNO flags on tests.
24447
b1a36ceb
AJ
244482013-04-29 Andreas Jaeger <aj@suse.de>
24449
c3ed8088
AJ
24450 [BZ #15084]
24451 * resolv/res_debug.c (p_option): Fix strings for RES_USEBSTRING
24452 and RES_USEVC.
24453
f1a24198
AJ
24454 [BZ #15085]
24455 * resolv/resolv.h (RES_NOCHECKNAME): Mark as unimplemented.
24456 * resolv/res_debug.c (p_option): Mark RES_NOCHECKNAME as
24457 unimplemented.
24458
9ce3b2cb
AJ
24459 [BZ #15380]
24460 * stdlib/random.c (__initstate): Return NULL if
24461 __initstate fails.
24462
f1a24198 24463 [BZ #15086]
b1a36ceb
AJ
24464 * resolv/res_debug.c (p_option): Handle RES_NOALIASES,
24465 RES_KEEPTSIG, RES_BLAST, RES_NOIP6DOTINT, RES_SNGLKUP,
24466 RES_SNGLKUPREOP.
24467
7e7b6f36
AZ
244682013-04-29 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
24469
24470 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
24471
4d14f449
JM
244722013-04-29 Joseph Myers <joseph@codesourcery.com>
24473
24474 * math/libm-test.inc (cacos_test): Add missing semicolons at ends
24475 of individual tests.
24476 (casin_test): Likewise.
24477 (casinh_test): Likewise.
24478
5b4217d7
JM
244792013-04-27 Joseph Myers <joseph@codesourcery.com>
24480
24481 [BZ #15409]
24482 * math/s_catan.c (__catan): Handle arguments with large real or
24483 imaginary part separately without squaring.
24484 * math/s_catanf.c (__catanf): Likewise.
24485 * math/s_catanh.c (__catanh): Likewise.
24486 * math/s_catanhf.c (__catanhf): Likewise.
24487 * math/s_catanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
24488 and redefine.
24489 (__catanhl): Handle arguments with large real or imaginary part
24490 separately without squaring.
24491 * math/s_catanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
24492 and redefine.
24493 (__catanl): Handle arguments with large real or imaginary part
24494 separately without squaring.
24495 * math/libm-test.inc (catan_test): Add more tests.
24496 (catanh_test): Likewise.
24497 * sysdeps/i386/fpu/libm-test-ulps: Update.
24498 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24499
4220c3ef
AJ
245002013-04-27 Andreas Jaeger <aj@suse.de>
24501
24502 [BZ #15007]
24503 * stdlib/stdlib.h: Update guards for qecvt.
24504 * stdlib/bits/stdlib-ldbl.h: Sync guards for qecvt etc with
24505 <stdlib.h>.
24506
4721b2d1
AM
245072013-04-27 Allan McRae <allan@archlinux.org>
24508
24509 * sysdeps/i386/fpu/libm-test-ulps: Update.
24510
f0302940
JM
245112013-04-26 Joseph Myers <joseph@codesourcery.com>
24512
9457fd95
JM
24513 [BZ #15406]
24514 * math/s_catan.c: Include <float.h>.
24515 (__catan): Ensure underflow exception occurs for underflowed
24516 result.
24517 * math/s_catanf.c: Include <float.h>.
24518 (__catanf): Ensure underflow exception occurs for underflowed
24519 result.
24520 * math/s_catanh.c: Include <float.h>.
24521 (__catanh): Ensure underflow exception occurs for underflowed
24522 result.
24523 * math/s_catanhf.c: Include <float.h>.
24524 (__catanhf): Ensure underflow exception occurs for underflowed
24525 result.
24526 * math/s_catanhl.c: Include <float.h>.
24527 (__catanhl): Ensure underflow exception occurs for underflowed
24528 result.
24529 * math/s_catanl.c: Include <float.h>.
24530 (__catanl): Ensure underflow exception occurs for underflowed
24531 result.
24532 * math/libm-test.inc (catan_test): Add more tests.
24533 (catanh_test): Likewise.
24534
f0302940
JM
24535 [BZ #15405]
24536 * math/s_ccosh.c (__ccosh): Ensure underflow exception occurs for
24537 underflowed result.
24538 * math/s_ccoshf.c (__ccoshf): Likewise.
24539 * math/s_ccoshl.c (__ccoshl): Likewise.
24540 * math/s_csin.c (__csin): Likewise.
24541 * math/s_csinf.c (__csinf): Likewise.
24542 * math/s_csinh.c (__csinh): Likewise.
24543 * math/s_csinhf.c (__csinhf): Likewise.
24544 * math/s_csinhl.c (__csinhl): Likewise.
24545 * math/s_csinl.c (__csinl): Likewise.
24546 * math/libm-test.inc (ccos_test): Add more tests.
24547 (ccosh_test): Likewise.
24548 (csin_test): Likewise.
24549 (csinh_test): Likewise.
24550
aa630f59
AZ
245512013-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
24552
24553 * sysdeps/powerpc/power5/fpu/s_modf.c: Moved to ...
24554 * sysdeps/powerpc/power5+/fpu/s_modf.c: ... this.
24555 * sysdeps/powerpc/power5/fpu/s_modff.c: Moved to ...
24556 * sysdeps/powerpc/power5+/fpu/s_modff.c: ... this.
24557 * sysdeps/powerpc/powerpc32/power5+/Implies: Add powerpc/power5+ and
24558 powerpc/power5+/fpu folders.
24559 * sysdeps/powerpc/powerpc64/power5+/Implies: Likewise.
24560
24561
1b835983
MT
245622013-04-26 Markus Trippelsdorf <markus@trippelsdorf.de>
24563
24564 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
24565
73709b26
JM
245662013-04-25 Joseph Myers <joseph@codesourcery.com>
24567
24568 * elf/Makefile [$(config-machine) = x86_64] (tests): Remove
24569 additions to variable.
24570 [$(config-machine) = x86_64] (modules-names): Likewise.
24571 ($(objpfx)tst-audit3): Remove dependency.
24572 ($(objpfx)tst-audit3.out): Likewise.
24573 ($(objpfx)tst-audit4): Likewise.
24574 ($(objpfx)tst-audit4.out): Likewise.
24575 ($(objpfx)tst-audit5): Likewise.
24576 ($(objpfx)tst-audit5.out): Likewise.
24577 ($(objpfx)tst-audit6): Likewise.
24578 ($(objpfx)tst-audit6.out): Likewise.
24579 ($(objpfx)tst-audit7): Likewise.
24580 ($(objpfx)tst-audit7.out): Likewise.
24581 (tst-audit3-ENV): Remove variable.
24582 (tst-audit4-ENV): Likewise.
24583 (tst-audit5-ENV): Likewise.
24584 (tst-audit6-ENV): Likewise.
24585 (tst-audit7-ENV): Likewise.
24586 [$(config-cflags-avx) = yes] (AVX-CFLAGS): Likewise.
24587 [$(config-cflags-avx) = yes] (CFLAGS-tst-audit4.c): Remove
24588 addition to variable.
24589 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4a.c): Likewise.
24590 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4b.c): Likewise.
24591 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6b.c): Likewise.
24592 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6c.c): Likewise.
24593 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod7b.c): Likewise.
24594 * sysdeps/x86_64/Makefile [$(subdir) = elf] (tests): Add
24595 tst-audit3, tst-audit4 and tst-audit5.
24596 [$(subdir) = elf && $(config-cflags-avx) = yes] (tests): Add
24597 tst-audit6 and tst-audit7.
24598 [$(subdir) = elf] (modules-names): Add audit modules for those
24599 tests.
24600 [$(subdir) = elf] ($(objpfx)tst-audit3): New dependency.
24601 [$(subdir) = elf] ($(objpfx)tst-audit3.out): Likewise.
24602 [$(subdir) = elf] ($(objpfx)tst-audit4): Likewise.
24603 [$(subdir) = elf] ($(objpfx)tst-audit4.out): Likewise.
24604 [$(subdir) = elf] ($(objpfx)tst-audit5): Likewise.
24605 [$(subdir) = elf] ($(objpfx)tst-audit5.out): Likewise.
24606 [$(subdir) = elf] ($(objpfx)tst-audit6): Likewise.
24607 [$(subdir) = elf] ($(objpfx)tst-audit6.out): Likewise.
24608 [$(subdir) = elf] ($(objpfx)tst-audit7): Likewise.
24609 [$(subdir) = elf] ($(objpfx)tst-audit7.out): Likewise.
24610 [$(subdir) = elf] (tst-audit3-ENV): New variable.
24611 [$(subdir) = elf] (tst-audit4-ENV): Likewise.
24612 [$(subdir) = elf] (tst-audit5-ENV): Likewise.
24613 [$(subdir) = elf] (tst-audit6-ENV): Likewise.
24614 [$(subdir) = elf] (tst-audit7-ENV): Likewise.
24615 [$(subdir) = elf && $(config-cflags-avx) = yes] (AVX-CFLAGS):
24616 Likewise.
24617 [$(subdir) = elf && $(config-cflags-avx) = yes]
24618 (CFLAGS-tst-audit4.c): Append $(AVX-CFLAGS).
24619 [$(subdir) = elf && $(config-cflags-avx) = yes]
24620 (CFLAGS-tst-auditmod4a.c): Likewise.
24621 [$(subdir) = elf && $(config-cflags-avx) = yes]
24622 (CFLAGS-tst-auditmod4b.c): Likewise.
24623 [$(subdir) = elf && $(config-cflags-avx) = yes]
24624 (CFLAGS-tst-auditmod6b.c): Likewise.
24625 [$(subdir) = elf && $(config-cflags-avx) = yes]
24626 (CFLAGS-tst-auditmod6c.c): Likewise.
24627 [$(subdir) = elf && $(config-cflags-avx) = yes]
24628 (CFLAGS-tst-auditmod7b.c): Likewise.
24629 * elf/tst-audit3.c: Move to ...
24630 * sysdeps/x86_64/tst-audit3.c: ... here.
24631 * elf/tst-audit4.c: Move to ...
24632 * sysdeps/x86_64/tst-audit4.c: ... here.
24633 * elf/tst-audit5.c: Move to ...
24634 * sysdeps/x86_64/tst-audit5.c: ... here.
24635 * elf/tst-audit6.c: Move to ...
24636 * sysdeps/x86_64/tst-audit6.c: ... here.
24637 * elf/tst-audit7.c: Move to ...
24638 * sysdeps/x86_64/tst-audit7.c: ... here.
24639 * elf/tst-auditmod3a.c: Move to ...
24640 * sysdeps/x86_64/tst-auditmod3a.c: ... here.
24641 * elf/tst-auditmod3b.c: Move to ...
24642 * sysdeps/x86_64/tst-auditmod3b.c: ... here.
24643 * elf/tst-auditmod4a.c: Move to ...
24644 * sysdeps/x86_64/tst-auditmod4a.c: ... here.
24645 * elf/tst-auditmod4b.c: Move to ...
24646 * sysdeps/x86_64/tst-auditmod4b.c: ... here.
24647 * elf/tst-auditmod5a.c: Move to ...
24648 * sysdeps/x86_64/tst-auditmod5a.c: ... here.
24649 * elf/tst-auditmod5b.c: Move to ...
24650 * sysdeps/x86_64/tst-auditmod5b.c: ... here.
24651 * elf/tst-auditmod6a.c: Move to ...
24652 * sysdeps/x86_64/tst-auditmod6a.c: ... here.
24653 * elf/tst-auditmod6b.c: Move to ...
24654 * sysdeps/x86_64/tst-auditmod6b.c: ... here.
24655 * elf/tst-auditmod6c.c: Move to ...
24656 * sysdeps/x86_64/tst-auditmod6c.c: ... here.
24657 * elf/tst-auditmod7a.c: Move to ...
24658 * sysdeps/x86_64/tst-auditmod7a.c: ... here.
24659 * elf/tst-auditmod7b.c: Move to ...
24660 * sysdeps/x86_64/tst-auditmod7b.c: ... here.
24661
1ef74943
PP
246622013-04-25 Paul Pluzhnikov <ppluzhnikov@google.com>
24663
24664 [BZ #15366]
24665 * sysdeps/generic/inttypes.h (PRId8, PRId16, etc.):
24666 define unconditionally.
24667 * sysdeps/generic/stdint.h (INT8_MIN, INT16_MIN, etc.):
24668 define unconditionally.
24669 (INT8_C, INT16_C, etc.): Likewise.
24670
93fd48c5
MR
246712013-04-25 Maciej W. Rozycki <macro@codesourcery.com>
24672
ae9552cf
MR
24673 * csu/libc-start.c (__libc_start_main) [!SHARED]: Declare
24674 __ehdr_start with hidden visibility.
24675
93fd48c5
MR
24676 * soft-fp/op-common.h (_FP_SQRT): s/sNAN/NAN/ in a comment.
24677
418601aa
CD
246782013-04-24 Carlos O'Donell <carlos@redhat.com>
24679
24680 * math/libm-test.inc (cos_test): Use accurate hex constants.
24681 (sincost_test): Likewise.
24682
2f38fbfe
JM
246832013-04-24 Joseph Myers <joseph@codesourcery.com>
24684
5e221800
JM
24685 * math/libm-test.inc (catan_test): Add more tests.
24686 (catanh_test): Likewise.
24687
77f143fd
JM
24688 * math/s_catanf.c (__catanf): Use suffixed floating-point
24689 constants.
24690 * math/s_catanhf.c (__catanhf): Likewise.
24691 * math/s_catanhl.c (__catanhl): Likewise.
24692 * math/s_catanl.c (__catanl): Likewise.
24693
2f38fbfe
JM
24694 [BZ #15394]
24695 * math/s_catan.c (__catan): Calculate imaginary part of result
24696 with log1p not log unless computing log of number close to 0.
24697 * math/s_catanf.c (__catanf): Likewise.
24698 * math/s_catanl.c (__catanl): Likewise.
24699 * math/s_catanh.c (__catanh): Calculate real part of result with
24700 log1p not log unless computing log of number close to 0.
24701 * math/s_catanhf.c (__catanhf): Likewise.
24702 * math/s_catanhl.c (__catanhl): Likewise.
24703 * math/libm-test.inc (catan_test): Add more tests.
24704 (catanh_test): Likewise.
24705 * sysdeps/i386/fpu/libm-test-ulps: Update.
24706 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24707
45d69176
SP
247082013-04-24 Siddhesh Poyarekar <siddhesh@redhat.com>
24709
24710 * benchtests/Makefile: Mention files in which fast and slow
24711 paths of math functions are implemented.
24712
87f51853
RM
247132013-04-23 Roland McGrath <roland@hack.frob.com>
24714
24715 * sysdeps/posix/timespec_get.c: New file.
24716
3c026539
AZ
247172013-04-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
24718
24719 * sysdeps/powerpc/power5/fpu/s_modf.c: New file: modf optimization for
24720 POWER.
24721 * sysdeps/powerpc/power5/fpu/s_modff.c: New file: modff optimization
24722 for POWER.
24723 * sysdeps/powerpc/powerpc64/power5/Implies: Add powerpc/power5 and
24724 powerpc/power5/fpu folders.
24725 * sysdeps/powerpc/powerpc32/power5/Implies: Likewise.
24726 * benchtests/Makefile: Add modf testcase.
24727 * benchtests/bench-modf.c: New file: Benchmark test for mo
24728
ff491d14
SP
247292013-04-23 Siddhesh Poyarekar <siddhesh@redhat.com>
24730
24731 [BZ #14888]
24732 * time/Makefile (tests): Add tst-strptime-whitespace.
24733 * time/strptime_l.c (get_number): Use ISSPACE.
24734 (__strptime_internal): Likewise.
24735 * time/tst-strptime-whitespace.c: New test case.
24736
7ed3f4e8
AS
247372013-04-23 Andreas Schwab <schwab@linux-m68k.org>
24738
24739 * nss/nss_files/files-init.c (TF): Don't initialize flexible array
24740 member.
24741 (_nss_files_init): Set it here.
24742
5c95f7b6
HC
247432013-04-23 Heiko Carstens <heiko.carstens@de.ibm.com>
24744
24745 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Change types of
24746 f_type, f_bsize, f_namelen, f_frsize, f_flags,and f_spare to
24747 unsigned.
24748
d34c9158
JBG
247492013-04-22 Jan-Benedict Glaw <jbglaw@getslash.de>
24750
24751 * nss/getent.c (shadow_keys): Call endspent, not endpwent.
24752
2169712d
SP
247532013-04-22 Siddhesh Poyarekar <siddhesh@redhat.com>
24754
24755 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Compute results
24756 size just once.
24757
29c5de99
DM
247582013-04-21 David S. Miller <davem@davemloft.net>
24759
24760 * po/ru.po: Update Russion translation from translation project.
24761
ccdad15d
AC
247622013-04-17 Adam Conrad <adconrad@0c3.net>
24763
24764 * sysdeps/unix/sysv/linux/sys/fsuid.h: Remove __wur from setfsuid
24765 and setfsgid.
24766
0f122b8d
CD
247672013-04-17 Carlos O'Donell <carlos@redhat.com>
24768
5c5b07da 24769 * configure.in: Remove i386 configure warning. Remove i386 case.
0f122b8d 24770 * configure: Regenerate.
5c5b07da 24771 * sysdeps/i386/configure.in: Raise error if config_machine is i386.
0f122b8d
CD
24772 Add example to error message.
24773 * sysdeps/i386/configure: Regenerate.
24774
037714dd
SP
247752013-04-17 Siddhesh Poyarekar <siddhesh@redhat.com>
24776
24777 * benchtests/Makefile (bench): Add cos, tan, slowcos and
24778 slowtan.
24779 * benchtests/cos-inputs: New file.
24780 * benchtests/slowcos-inputs: New file.
24781 * benchtests/slowcos.c: New file.
24782 * benchtests/slowtan-inputs: New file.
24783 * benchtests/slowtan.c: New file.
24784 * benchtests/tan-inputs: New file.
24785
e913141d
RM
247862013-04-16 Roland McGrath <roland@hack.frob.com>
24787
24788 * rt/tst-aio7.c (do_test): Don't test O_RDONLY fd case, which is now
24789 considered kosher.
24790
a2964074
SP
247912013-04-16 Siddhesh Poyarekar <siddhesh@redhat.com>
24792
4856bcd2
SP
24793 * benchtests/Makefile: Include cppflags-iterator.mk to add
24794 -DNOT_IN_libc=1 to CPPFLAGS of all benchmark programs.
24795
a2964074
SP
24796 * Makefile.in (bench-clean): New target.
24797 * benchtests/Makefile (bench-clean): Likewise.
24798
9fbf9aca
DH
247992013-04-16 David Holsgrove <david.holsgrove@xilinx.com>
24800
24801 * elf/elf.h: Add EM_MICROBLAZE and MicroBlaze relocations.
24802
207d1e2a
TS
248032013-04-15 Thomas Schwinge <thomas@codesourcery.com>
24804
24805 * stdio-common/tstdiomisc.c: Fix coding-style violation.
24806
306dfba9
AS
248072013-04-15 Andreas Schwab <schwab@suse.de>
24808
24809 * nscd/grpcache.c (cache_addgr): Properly check for short write.
24810 * nscd/initgrcache.c (addinitgroupsX): Likewise.
24811 * nscd/pwdcache.c (cache_addpw): Likewise.
24812 * nscd/servicescache.c (cache_addserv): Likewise. Don't write
24813 more than recsize.
24814
206a6699
SP
248152013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
24816
24817 * benchtests/Makefile (bench): Write all output to
24818 bench-out.tmp together.
24819
0582f6b3
AS
248202013-04-15 Andreas Schwab <schwab@suse.de>
24821
24822 * nscd/nscd.c (main): Don't fork again after closing files.
24823
acb4325f
SP
248242013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
24825
5cb26d0a
SP
24826 * libio/tst-fwrite-error.c (do_test): Fix BUF array definition.
24827
acb4325f
SP
24828 * benchtests/Rules (bench-deps): Collect dependencies into a
24829 single variable. Add Makefile to dependencies.
24830 ($(objpfx)bench-%.c): Depend on bench-deps.
24831
47792506
RM
248322013-04-12 Roland McGrath <roland@hack.frob.com>
24833 Xavier Roche <roche+kml2@exalead.com>
24834
24835 [BZ #15361]
24836 * sysdeps/pthread/aio_fsync.c (aio_fsync): Don't check open modes,
24837 just that it's a file descriptor.
24838 * manual/llio.texi (Synchronizing AIO Operations): Update description
24839 for EBADF error from aio_fsync.
24840
8fc1bee5
SP
248412013-04-12 Siddhesh Poyarekar <siddhesh@redhat.com>
24842
24843 * Rules (bench): Move target definition...
24844 * benchtests/Makefile: ... here.
24845
aba5e333
CD
248462013-04-11 Carlos O'Donell <carlos@redhat.com>
24847
24848 * math/libm-test.inc (cos_test): Fix PI/2 test.
24849 (sincos_test): Likewise.
24850 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
24851 * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
24852
273cdee8
AS
248532013-04-11 Andreas Schwab <schwab@suse.de>
24854
6ecec3b6
AS
24855 [BZ #13988]
24856 * stdio-common/vfscanf.c (_IO_vfwscanf): When parsing a float
24857 accept exponent character only when digits were seen.
24858 * stdio-common/Makefile (tests): Add bug26.
24859 * stdio-common/bug26.c: New file.
24860
273cdee8
AS
24861 [BZ #14293]
24862 * elf/dl-load.c (_dl_init_paths): Mark decomposed RUNPATH as
24863 non-freeable.
24864
8da491f5
SP
248652013-04-11 Siddhesh Poyarekar <siddhesh@redhat.com>
24866
01dc6df9
SP
24867 * Makeconfig (rtld-prefix): Define built linker prefix.
24868 * Rules (run-bench): Use it.
24869 * math/Makefile (run-regen-ulps): Likewise.
24870
8da491f5
SP
24871 * Rules (bench): Remove eval.
24872
abe7f530
SP
248732013-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
24874 Roland McGrath <roland@hack.frob.com>
24875 Ondrej Bilka <neleai@seznam.cz>
24876
24877 [BZ #15346]
24878 * time/getdate.c: Include ctype.h and alloca.h.
24879 (__getdate_r): Trim leading and trailing spaces of input.
24880 * time/tst-getdate.c (tests): Add tests with leading and
24881 trailing spaces.
24882
61c23e62
RM
248832013-04-08 Roland McGrath <roland@hack.frob.com>
24884
24885 [BZ #14280]
24886 * sysdeps/mach/hurd/bits/ioctls.h (_IOTS): Cast to enum __ioctl_datum
24887 when computing value.
24888
7208a313
CD
248892013-04-06 Carlos O'Donell <carlos@redhat.com>
24890
085b2d41
CD
24891 * math/README.libm-test (How can I generate "libm-test-ulps"?):
24892 Use testrun.sh to run libm tests.
24893
7208a313
CD
24894 [BZ #15309]
24895 * elf/dl-open.c (dl_open_worker): memset all of seen array.
24896
872c0acd
MM
248972013-04-06 Marko Myllynen <myllynen@redhat.com>
24898
24899 [BZ #15264]
24900 * locales/fi_FI (LC_MESSAGES): Define yesstr and nostr.
24901
26510bdd
CD
249022013-04-06 Carlos O'Donell <carlos@redhat.com>
24903
24904 * Makefile.in (regen-ulps): New target.
24905 * math/Makefile [ifneq (no,$(PERL)]: Declare regen-ulps with .PHONY.
24906 [ifneq (no,$(PERL)] (run-regen-ulps): New variable.
24907 [ifneq (no,$(PERL)] (regen-ulps): New target.
24908 [ifeq (no,$(PERL)] (regen-ulps): New target.
24909 * math/libm-test.inc (ulps_file_name): Define.
24910 (output_dir): New variable.
24911 (options): Add "output-dir" option.
24912 (parse_opt): Handle 'o' case.
24913 (main): If output_dir is non-NULL use it as a prefix
24914 otherwise use "".
24915 * math/README.libm-test: Update `How can I generate "libm-test-ulps"?'
24916
a01f19c8
CD
249172013-04-06 Carlos O'Donell <carlos@redhat.com>
24918
24919 [BZ #10060, #10062]
24920 * aclocal.m4 (LIBC_COMPILER_BUILTIN_INLINED): New macro.
24921 * sysdeps/i386/configure.in: Use LIBC_COMPILER_BUILTIN_INLINED and
24922 fail configure if __sync_val_compare_and_swap is not inlined.
24923 * sysdeps/i386/configure: Regenerate.
24924 * configure.in: Build for i686 when configured for i386.
24925 * configure: Regenerate.
24926 * README: Remove i386 reference.
24927
b7a329a5
CD
249282013-04-06 Carlos O'Donell <carlos@redhat.com>
24929
24930 * sysdeps/s390/s390-32/sysdep.h: Undefine PSEUDO before redefinition.
24931 * sysdeps/s390/s390-64/sysdep.h: Likewise.
24932
bf0f50df
TS
249332013-04-05 Thomas Schwinge <thomas@codesourcery.com>
24934
ee091edf
TS
24935 * stdio-common/tstdiomisc.c (snanval, msnanval, lsnanval)
24936 (lmsnanval): New variables.
24937 (F): Add conversion tests.
24938 * stdlib/tst-strtod6.c (do_test): Add issignaling tests.
24939 * stdlib/Makefile ($(objpfx)tst-strtod6): Depend on $(link-libm).
24940
a8b792d6
TS
24941 * stdio-common/tstdiomisc.c (F): Properly collect individual
24942 tests' results.
24943
a1cbf437
TS
24944 [BZ #14686, #15336]
24945 * sysdeps/ieee754/dbl-64/urem.h (nNAN, NAN): Remove definitions.
24946 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
24947 Instead, use input NaN values or generate a qNaN by arithmetic
24948 operation. Also fix bugs to comply with the standard.
24949 * math/libm-test.inc (remainder_test): Add more tests.
24950
8b43a0c9
TS
24951 [BZ #15335, #15342]
24952 * sysdeps/ieee754/dbl-64/upow.h (NaNQ): Remove definitions.
24953 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Instead, use
24954 input NaN values or generate a qNaN by arithmetic operation.
24955
d91da4ce
TS
24956 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Remove
24957 unreachable code.
24958
bf0f50df
TS
24959 * sysdeps/ieee754/dbl-64/usncs.h (NAN): Removed unused
24960 definitions.
24961
05e166c8
JM
249622013-04-03 Joseph Myers <joseph@codesourcery.com>
24963
24964 [BZ #14478]
24965 * math/s_cexp.c (__cexp): Ensure underflow exception occurs for
24966 underflowed result.
24967 * math/s_cexpf.c (__cexpf): Likewise.
24968 * math/s_cexpl.c (__cexpl): Likewise.
24969 * math/libm-test.inc (cexp_test): Add more tests.
24970
1cef1b19
AS
249712013-04-03 Andreas Schwab <schwab@suse.de>
24972
24973 [BZ #15330]
24974 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Allocate results and
24975 order arrays from heap if bigger than alloca cutoff.
24976
74d87055
TS
249772013-04-03 Thomas Schwinge <thomas@codesourcery.com>
24978
24979 * sysdeps/i386/fpu/math-tests.h (SNAN_TESTS_float)
24980 (SNAN_TESTS_double): Refer to GCC PR56831.
24981 * sysdeps/powerpc/math-tests.h (SNAN_TESTS_TYPE_CAST): Refer to
24982 GCC PR56828.
24983
d755bba4
SP
249842013-04-03 Siddhesh Poyarekar <siddhesh@redhat.com>
24985
90d5d5bb
SP
24986 * Rules (bench): Move bench.out after the run is complete.
24987
73e0cd5d
SP
24988 * Rules (bench): Echo currently running benchmark.
24989
64aabd4b
SP
24990 * benchtests/Makefile (bench): Add atan and slowatan.
24991 * benchtests/atan-inputs: New file.
24992 * benchtests/slowatan-inputs: New file.
24993 * benchtests/slowatan.c: New file.
24994
c871eccd
SP
24995 * sysdeps/ieee754/dbl-64/mpa.h (TWO): Remove definition.
24996 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Replace TWO with
24997 its value.
24998
d755bba4
SP
24999 [BZ #15305]
25000 * sysdeps/unix/sysv/linux/kernel-features.h
25001 [__LINUX_KERNEL_VERSION >= 0x02061d]: Define
25002 __ASSUME_XFS_RESTRICTED_CHOWN.
25003 * sysdeps/unix/sysv/linux/pathconf.c
25004 (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
25005 Save and restore errno.
25006
52ce4860
JM
250072013-04-02 Joseph Myers <joseph@codesourcery.com>
25008
25009 [BZ #15327]
25010 * math/s_cacosh.c (__cacosh): Implement for finite nonzero
25011 arguments using __kernel_casinh.
25012 * math/s_cacoshf.c (__cacoshf): Implement for finite nonzero
25013 arguments using __kernel_casinhf.
25014 * math/s_cacoshl.c (__cacoshl): Implement for finite nonzero
25015 arguments using __kernel_casinhl.
25016 * math/libm-test.inc (cacosh_test): Add more tests.
25017 * sysdeps/i386/fpu/libm-test-ulps: Update.
25018 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25019
81f311c2
SP
250202013-04-02 Siddhesh Poyarekar <siddhesh@redhat.com>
25021
e7906a47
SP
25022 * sysdeps/ieee754/dbl-64/mpa.h (HALFRAD): Define as TWO23.
25023 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Use mantissa_t.
25024
92e3664b
SP
25025 * bench/Makefile (bench): Add sin and slowsin.
25026 * benchtests/sin-inputs: New file.
25027 * benchtests/slowsin-inputs: New file.
25028 * benchtests/slowsin.c: New file.
25029
81f311c2
SP
25030 * benchtests/Makefile: Add benchmarks for slowpow and slowexp.
25031 (bench): Add slowexp and slowpow.
25032 (exp-ITER): Increase iterations.
25033 (pow-ITER): Likewise.
25034 * benchtests/exp-inputs: Change input.
25035 * benchtests/pow-inputs: Likewise.
25036 * benchtests/slowexp-inputs: New file.
25037 * benchtests/slowexp.c: New file.
25038 * benchtests/slowpow-inputs: New file.
25039 * benchtests/slowpow.c: New file.
25040
ab0f1aa9
AZ
250412013-04-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
25042
25043 * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Remove branch prediction
25044 instructions.
25045 * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Likewise.
25046 * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Likewise.
25047 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
25048 * benchtests/Makefile: Add rint benchtest.
25049 * benchtests/rint-inputs: Input for rint benchtest.
25050
57267616
TS
250512013-04-02 Thomas Schwinge <thomas@codesourcery.com>
25052
25053 * Versions.def (libm): Add GLIBC_2.18.
25054 * include/math.h [!_ISOMAC] (__issignaling, __issignalingf): Add
25055 hidden libm prototypes.
25056 [!_ISOMAC && !__NO_LONG_DOUBLE_MATH] (__issignalingl): Likewise.
25057 * math/Makefile (libm-calls): Add s_issignaling.
25058 * math/Versions (libm: GLIBC_2.18): Add __issignaling,
25059 __issignalingf, __issignalingl. Adjust all libm.abilist files.
25060 * math/bits/mathcalls.h [__USE_GNU] (__issignaling): New prototype
25061 declaration.
25062 * math/math.h [__USE_GNU] (issignaling): New macro.
25063 * sysdeps/ieee754/flt-32/s_issignalingf.c: New file.
25064 * sysdeps/ieee754/dbl-64/s_issignaling.c: Likewise.
25065 * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c: Likewise.
25066 * sysdeps/ieee754/ldbl-96/s_issignalingl.c: Likewise.
25067 * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Likewise.
25068 * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c: Likewise.
25069 * manual/arith.texi (issignaling): New section.
25070 * manual/libm-err-tab.pl (@all_functions): Update comment.
25071 * math/gen-libm-test.pl (parse_args): Apply special handling for
25072 issignaling.
25073 * math/libm-test.inc (print_float, issignaling_test): New
25074 functions.
25075 (check_float_internal): Add issignaling checks.
25076 * sysdeps/generic/math-tests.h (SNAN_TESTS_TYPE_CAST): Provide
25077 default definition.
25078 * sysdeps/powerpc/math-tests.h: New file.
25079 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Add issignaling
25080 tests.
25081 * math/test-snan.c (TEST_FUNC): Likewise.
25082
6142896d
DM
250832013-03-30 David S. Miller <davem@davemloft.net>
25084
25085 * po/de.po: Update from translation team.
25086
ccc8cadf
JM
250872013-03-30 Joseph Myers <joseph@codesourcery.com>
25088
25089 [BZ #10357]
25090 * math/k_casinh.c (__kernel_casinh): Handle arguments with
25091 imaginary part less than 1.0 and real part less than 0.5
25092 specially.
25093 * math/k_casinhf.c (__kernel_casinhf): Likewise.
25094 * math/k_casinhl.c (__kernel_casinhl): Likewise.
25095 * math/libm-test.inc (UNDERFLOW_EXCEPTION_OK_DOUBLE): New macro.
25096 (cacos_test): Add more tests.
25097 (casin_test): Likewise.
25098 (casinh_test): Likewise.
25099 * sysdeps/i386/fpu/libm-test-ulps: Update.
25100 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25101
0f6a8d4b
SP
251022013-03-29 Siddhesh Poyarekar <siddhesh@redhat.com>
25103
0d1029de
SP
25104 * sysdeps/powerpc/power4/fpu/mpa-arch.h (INTEGER_OF): Replace
25105 ONE with its value.
25106
c2d94018
SP
25107 * sysdeps/ieee754/dbl-64/mpa.h (ONE, MONE): Remove defines.
25108 (__pow_mp): Replace ONE and MONE with their values.
25109 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
25110 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Likewise.
25111 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
25112 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Likewise.
25113 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
25114 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
25115
27ec37f1
SP
25116 * sysdeps/ieee754/dbl-64/s_tan.c: Fix formatting.
25117
a64d7e0e
SP
25118 * sysdeps/ieee754/dbl-64/mpa.h (ZERO, MZERO): Remove defines.
25119 (__pow_mp): Replace ZERO and MZERO with their values.
25120 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
25121 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
25122 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
25123 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
25124 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
25125 * sysdeps/powerpc/power4/fpu/mpa.c (__mul): Likewise.
25126 (__sqr): Likewise.
25127
d26dd3eb
SP
25128 * sysdeps/ieee754/dbl-64/s_atan.c: Fix formatting.
25129
0f6a8d4b
SP
25130 * sysdeps/ieee754/dbl-64/e_log.c: Fix formatting.
25131
e57b0c61
RM
251322013-03-28 Roland McGrath <roland@hack.frob.com>
25133
25134 * include/stdlib.h [!SHARED] (__call_tls_dtors):
25135 Declare with __attribute__ ((weak)).
25136 * stdlib/exit.c (__libc_atexit) [!SHARED]:
25137 Call __call_tls_dtors only if it's not NULL.
25138
356b3480
RM
251392013-03-28 Roland McGrath <roland@hack.frob.com>
25140
288f7d79
RM
25141 * csu/libc-start.c (__libc_start_main) [!SHARED]: If _dl_aux_init
25142 didn't do it already, then set _dl_phdr and _dl_phnum based on the
25143 magic __ehdr_start linker symbol if it's defined.
25144 * sysdeps/mach/hurd/i386/init-first.c (init1) [!SHARED]: Don't set
25145 them up here if it was already done.
25146
dc0a0263
RM
25147 * elf/dl-support.c (_dl_phdr): Make pointer to const.
25148 (_dl_aux_init): Use const in cast when setting it.
25149 * sysdeps/mach/hurd/i386/init-first.c (init1): Remove superfluous cast.
25150 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr): Update decl.
25151 * csu/libc-tls.c (__libc_setup_tls): Make PHDR pointer to const.
25152
3d3436ae
RM
25153 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr, _dl_phnum):
25154 Declare them here.
25155 * elf/dl-iteratephdr.c [!SHARED] (_dl_phdr, _dl_phnum): Not here.
25156 * csu/libc-tls.c: Nor here.
25157 * sysdeps/mach/hurd/i386/init-first.c (init1): Nor here.
25158
356b3480
RM
25159 * sysdeps/posix/libc_fatal.c: Don't include <sys/syslog.h>.
25160 (__libc_message): Never call vsyslog.
25161
b0f1246a
AM
251622013-03-28 Alan Modra <amodra@gmail.com>
25163
25164 * sysdeps/powerpc/powerpc32/start.S (cfi_startproc, cfi_endproc):
25165 Define as empty.
25166 * sysdeps/powerpc/powerpc64/start.S (cfi_startproc, cfi_endproc):
25167 Likewise.
25168
fbbe2b9a
AZ
251692013-03-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
25170
25171 [BZ #15214]
25172 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Fix spurious
25173 underflow.
25174 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
25175
1728ab37
SP
251762013-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
25177
7a86be6e
SP
25178 [BZ #15304]
25179 * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
25180 Don't add gid passed as argument.
25181
1728ab37
SP
25182 * sysdeps/ieee-754/dbl-64/e_atan2.c: Reformat.
25183
3a7182a1
JM
251842013-03-27 Joseph Myers <joseph@codesourcery.com>
25185
25186 [BZ #15307]
25187 * math/k_casinh.c (__kernel_casinh): Handle arguments with
25188 imaginary part between 1.0 and 1.5 and real part less than 0.5
25189 specially.
25190 * math/k_casinhf.c (__kernel_casinhf): Likewise.
25191 * math/k_casinhl.c (__kernel_casinhl): Likewise.
25192 * math/libm-test.inc (cacos_test): Add more tests.
25193 (casin_test): Likewise.
25194 (casinh_test): Likewise.
25195 * sysdeps/i386/fpu/libm-test-ulps: Update.
25196 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25197
6f2e90e7
SP
251982013-03-26 Siddhesh Poyarekar <siddhesh@redhat.com>
25199
5739f705
SP
25200 * sysdeps/ieee754/dbl-64/mpa.c (__acr): Use integral
25201 constants.
25202 (norm): Likewise.
25203 (denorm): Likewise.
25204 (__dbl_mp): Likewise.
25205 (add_magnitudes): Likewise.
25206 (sub_magnitudes): Likewise.
25207 (__add): Likewise.
25208 (__sub): Likewise.
25209 (__mul): Likewise.
25210 (__sqr): Likewise.
25211 (__inv): Likewise.
25212 (__dvd): Likewise.
25213
e375e83d
SP
25214 * sysdeps/ieee754/dbl-64/branred.c (__branred): Remove
25215 commented code.
25216 * sysdeps/ieee754/dbl-64/dosincos.c (__dubsin): Likewise.
25217 (__dubcos): Likewise.
25218 * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Likewise.
25219 (__ieee754_acos): Likewise.
25220 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
25221 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Likewise.
25222 (__exp1): Likewise.
25223 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
25224 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
25225 (log1): Likewise.
25226 (my_log2): Likewise.
25227 (checkint): Likewise.
25228 * sysdeps/ieee754/dbl-64/e_remainder.c
25229 (__ieee754_remainder): Likewise.
25230 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
25231 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
25232 (bsloww): Likewise.
25233 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
25234
6f2e90e7
SP
25235 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
25236 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T and
25237 MANTISSA_STORE_T to store computations on mantissa. Use
25238 macros for rounding and division.
25239 (denorm): Likewise.
25240 (__dbl_mp): Likewise.
25241 (add_magnitudes): Likewise.
25242 (sub_magnitudes): Likewise.
25243 (__mul): Likewise.
25244 (__sqr): Likewise.
25245 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
25246 powers of two in terms of TWOPOW macro.
25247 (mp_no): Make type of mantissa as MANTISSA_T.
25248 [!RADIXI]: Define RADIXI.
25249 [!TWO52]: Define TWO52.
25250 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
25251
fce14d4e
AZ
252522013-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
25253
25254 * sysdeps/powerpc/fpu/s_llround.c: Fix libm ABI issue with missing
25255 llroundl symbol when building for PPC32.
25256
9ad027fb
MW
252572013-03-24 Mark H Weaver <mhw@netris.org>
25258
25259 * manual/arith.texi (Normalization Functions): Fix prototypes for
25260 scalbn, scalbnf, scalbnl, scalbln, scalblnf, and scalblnl.
25261
e42a38dd
AZ
252622013-03-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
25263
25264 [BZ #13889]
25265 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Increase the
25266 high value to check if expl overflow.
25267 * sysdeps/ieee754/ldbl-128ibm/w_expl.c (__expl): Fix threshold constants
25268 to check for underflow and overflow.
25269 * math/libm-test.inc: Add exp test.
25270
2e0fb521
DL
252712013-03-21 Dmitry V. Levin <ldv@altlinux.org>
25272
25273 [BZ #11120]
25274 * sysdeps/x86_64/strcmp.S: Replace all occurrences of NOT_IN_lib
25275 with NOT_IN_libc.
25276
b5784d95
AZ
252772013-03-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
25278
25279 * sysdeps/powerpc/fpu/w_sqrt.c (compat_symbol): Add sqrtl compat
25280 symbol.
25281
5aa4a1a1
TS
252822013-03-21 Thomas Schwinge <thomas@codesourcery.com>
25283
bdef0be7
TS
25284 * math/gen-libm-test.pl (parse_args, special_functions): Properly
25285 wrap blocks consisting of several statements.
25286
5aa4a1a1
TS
25287 * sysdeps/generic/math-tests.h: New file.
25288 * sysdeps/i386/fpu/math-tests.h: Likewise.
25289 * math/test-snan.c: Include it.
25290 (TEST_FUNC): Use SNAN_TESTS to short-circuit certain tests.
25291
98c48fe5
JM
252922013-03-21 Joseph Myers <joseph@codesourcery.com>
25293
25294 [BZ #15285]
25295 * sysdeps/ieee754/ldbl-128/e_j0l.c: Include <float.h>.
25296 (__ieee754_j0l): Do not improve calculations using cos of twice
25297 input for inputs above LDBL_MAX / 2.0L.
25298 (__ieee754_y0l): Likewise.
25299 * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <float.h>.
25300 (__ieee754_j1l): Do not improve calculations using cos of twice
25301 input for inputs above LDBL_MAX / 2.0L.
25302 (__ieee754_y1l): Likewise.
25303 * math/libm-test.inc (j0_test): Add another test.
25304 (j1_test): Likewise.
25305 (y0_test): Likewise.
25306 (y1_test): Likewise.
25307 * sysdeps/i386/fpu/libm-test-ulps: Update.
25308
3775a8bc
SP
253092013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
25310
25311 * Rules ($(objpfx)bench-%.c): Include code from a C source
25312 file.
25313
0a1b2ae6
JM
253142013-03-21 Joseph Myers <joseph@codesourcery.com>
25315
25316 [BZ #15287]
25317 * math/k_casinh.c (__kernel_casinh): Handle arguments with
25318 imaginary part 1.0 and real part less than 0.5 specially.
25319 * math/k_casinhf.c (__kernel_casinhf): Likewise.
25320 * math/k_casinhl.c (__kernel_casinhl): Likewise.
25321 * math/libm-test.inc (cacos_test): Add more tests.
25322 (casin_test): Likewise.
25323 (casinh_test): Likewise.
25324 * sysdeps/i386/fpu/libm-test-ulps: Update.
25325 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25326
b33d4ce4
SP
253272013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
25328
25329 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Use HALFRAD.
25330 * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Likewise.
25331
bef0b507
JM
253322013-03-20 Joseph Myers <joseph@codesourcery.com>
25333
25334 * aclocal.m4 (LIBC_CONFIG_VAR): New autoconf macro.
25335 * config.make.in (config-cflags-sse4): Remove variable.
25336 (config-cflags-avx): Likewise.
25337 (config-cflags-sse2avx): Likewise.
25338 (config-cflags-novzeroupper): Likewise.
25339 (config-asflags-i686): Likewise.
25340 (have-mfma4): Likewise.
25341 (have-as-vis3): Likewise.
25342 (MIG): Likewise.
25343 * configure.in (MIG): Do not AC_SUBST.
25344 (libc_cv_cc_nofma): Move AC_SUBST next to configure test.
25345 (libc_cv_cc_sse4): Do not AC_SUBST.
25346 (libc_cv_cc_avx): Likewise.
25347 (libc_cv_cc_sse2avx): Likewise.
25348 (libc_cv_cc_novzeroupper): Likewise.
25349 (libc_cv_cc_fma4): Likewise.
25350 (libc_cv_as_i686): Likewise.
25351 (libc_cv_sparc_as_vis3): Likewise.
25352 * sysdeps/i386/configure.in (config-cflags-sse4): Set using
25353 LIBC_CONFIG_VAR.
25354 (config-asflags-i686): Likewise.
25355 (config-cflags-avx): Likewise.
25356 (config-cflags-sse2avx): Likewise.
25357 (have-mfma4): Likewise.
25358 (config-cflags-novzeroupper): Likewise.
25359 * sysdeps/mach/configure.in (MIG): Likewise.
25360 * sysdeps/sparc/configure.in (have-as-vis3): Likewise.
25361 * sysdeps/x86_64/configure.in (config-cflags-sse4): Set using
25362 LIBC_CONFIG_VAR.
25363 (config-cflags-avx): Likewise.
25364 (config-cflags-sse2avx): Likewise.
25365 (have-mfma4): Likewise.
25366 (config-cflags-novzeroupper): Likewise.
25367 * configure: Regenerated.
25368 * sysdeps/i386/configure: Likewise.
25369 * sysdeps/mach/configure: Likewise.
25370 * sysdeps/sparc/configure: Likewise.
25371 * sysdeps/x86_64/configure: Likewise.
25372
912cc4b3
RM
253732013-03-20 Roland McGrath <roland@hack.frob.com>
25374
25375 [BZ #14812]
25376 * locale/programs/localedef.c (options): Put N_ translation marker
25377 on argument names, not just descriptions.
25378
04eed2b0
MS
253792013-03-20 Marcus Shawcroft <marcus.shawcroft@linaro.org>
25380
25381 * Makerules ($(inst_libdir)/libc.so): Use $(rtlddir).
25382
a065ceff
OB
253832013-03-20 Ondřej Bílka <neleai@seznam.cz>
25384
9bb2a810 25385 [BZ #14176]
a065ceff
OB
25386 * stdlib/stdlib.h (mblen, mbtowc, wctomb): Remove __wur.
25387
a600e5ce
RM
253882013-03-19 Roland McGrath <roland@hack.frob.com>
25389
25390 * sysdeps/posix/libc_fatal.c: Include <sys/mman.h>.
25391 [!WRITEV_FOR_FATAL] (writev_for_fatal): New function.
25392 [!WRITEV_FOR_FATAL] (WRITEV_FOR_FATAL): New macro; call that.
25393 [!BEFORE_ABORT] (before_abort): New function.
25394 [!BEFORE_ABORT] (BEFORE_ABORT): New macro; call that.
25395 * sysdeps/unix/sysv/linux/libc_fatal.c: Trim includes.
25396 (writev_for_fatal): New function.
25397 (WRITEV_FOR_FATAL): New macro; call that.
25398 (backtrace_and_maps): New function.
25399 (BEFORE_ABORT): New macro; call that.
25400 (struct str_list): Type removed.
25401 (__libc_message, __libc_fatal): Functions removed.
25402 Include <sysdeps/posix/libc_fatal.c> instead.
25403
6b18bea6
JM
254042013-03-19 Joseph Myers <joseph@codesourcery.com>
25405
25406 * math/k_casinhf.c (__kernel_casinhf): Consistently use float
25407 constants.
25408 * math/k_casinhl.c (__kernel_casinhl): Consistently use long
25409 double constants.
25410
aaa8cb4b
AS
254112013-03-19 Andreas Schwab <schwab@suse.de>
25412
44673770
AS
25413 * sysdeps/gnu/configure.in: Set libc_cv_rtldir for s390x.
25414 * sysdeps/gnu/configure: Regenerate.
25415
aaa8cb4b
AS
25416 * configure.in: Substitute libc_cv_rtlddir.
25417 * configure: Regenerate.
25418 * config.make.in (rtlddir): Set from libc_cv_rtlddir.
25419 * Makeconfig (rtlddir, inst_rtlddir): New variables.
25420 (rtld-LDFLAGS): Use them with $(rtld-installed-name).
25421 * elf/Makefile (install-others, CFLAGS-interp.c)
25422 (ldso_install, common-ldd-rewrite): Likewise.
25423 ($(inst_rtlddir)/$(rtld-installed-name)): Renamed from
25424 $(inst_slibdir)/$(rtld-installed-name).
25425 * scripts/rellns-sh: Add -p option.
25426 * Makerules (make-shlib-link): Use rellns-sh to get relative name
25427 for source.
25428
d3cfc668
SP
254292013-03-19 Siddhesh Poyarekar <siddhesh@redhat.com>
25430
25431 * manual/nptl.texi: Renamed to ...
25432 * manual/threads.texi: ... this.
25433 * manual/Makefile (chapters): Update.
25434
0e2b9cdd
RM
254352013-03-18 Roland McGrath <roland@hack.frob.com>
25436
25437 [BZ #14812]
25438 * argp/argp-parse.c (argp_default_options): Put N_ translation marker
25439 on argument names, not just descriptions.
0e2b9cdd
RM
25440 * malloc/memusagestat.c (options): Likewise.
25441 * nss/getent.c (options): Likewise.
63270c24
RM
25442
254432013-03-18 Benno Schulenberg <bensberg@justemail.net>
25444
25445 [BZ #14812]
25446 * iconv/iconv_prog.c (options): Put N_ translation marker
25447 on argument names, not just descriptions.
25448 * iconv/iconvconfig.c (options): Likewise.
0e2b9cdd 25449
b2e1393c
OB
254502013-03-18 Ondrej Bilka <neleai@seznam.cz>
25451
25452 * sysdeps/x86_64/strlen.S: Replace with new SSE2 based
25453 implementation which is faster on all x86_64 architectures.
25454 Tested on AMD, Intel Nehalem, SNB, IVB.
25455 * sysdeps/x86_64/strnlen.S: Likewise.
25456
25457 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
25458 Remove all multiarch strlen and strnlen versions.
25459 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
25460 Remove strlen and strnlen related parts.
25461
25462 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Update.
25463 Inline strlen part.
25464 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
25465
25466 * sysdeps/x86_64/multiarch/strlen.S: Remove.
25467 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S: Likewise.
25468 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: Likewise.
25469 * sysdeps/x86_64/multiarch/strlen-sse4.S: Likewise.
25470 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
25471 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: Likewise.
25472
ec4ff04d
CD
254732013-03-17 Carlos O'Donell <carlos@redhat.com>
25474
25475 * manual/memory.texi (Malloc Tunable Parameters):
25476 Sort parameters alphabetically. Add comments for missing entries.
25477
cd18e90a
DM
254782013-03-17 David S. Miller <davem@davemloft.net>
25479
25480 * sysdeps/sparc/fpu/libm-test-ulps: Update.
25481
2a185d32
JM
254822013-03-16 Joseph Myers <joseph@codesourcery.com>
25483
d2f9799e
JM
25484 [BZ #15283]
25485 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_y1l): Correct test
25486 for arguments at most half maximum finite value.
25487 * math/libm-test.inc (j0_test): Add more tests.
25488 (j1_test): Likewise.
25489 (y0_test): Likewise.
25490 (y1_test): Likewise.
25491 * sysdeps/i386/fpu/libm-test-ulps: Update.
25492 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25493
2a185d32
JM
25494 [BZ #14155]
25495 * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Do not compute
25496 1 / x and functions P and Q for arguments above 0x1p256L.
25497 (__ieee754_y0l): Likewise.
25498 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
25499 (__ieee754_y1l): Likewise.
25500 * math/libm-test.inc (j0_test): Do not allow spurious underflows.
25501 (j1_test): Likewise.
25502 (y0_test): Likewise.
25503 (y1_test): Likewise.
25504
6cbec759
TS
255052013-03-16 Thomas Schwinge <thomas@codesourcery.com>
25506
25507 * math/test-snan.c (TEST_FUNC): Add and use minus_sNaN_var
25508 variable.
25509
bc16e260
RM
255102013-03-15 Roland McGrath <roland@hack.frob.com>
25511
aefc9b8c
RM
25512 * elf/dl-support.c (_dl_aux_init): Ignore zero value for AT_PAGESZ.
25513 (_dl_non_dynamic_init): Don't set _dl_pagesize; it will never be
25514 zero since it's initialized to EXEC_PAGESIZE.
25515
bc16e260
RM
25516 * sysdeps/unix/sysv/linux/ldsodefs.h
25517 (_dl_non_dynamic_init, _dl_aux_init): Move declarations to ...
25518 * sysdeps/generic/ldsodefs.h: ... here.
25519
a57da955
TS
255202013-03-15 Thomas Schwinge <thomas@codesourcery.com>
25521
af00a34d
TS
25522 * math/libm-test.inc (ldexp_test): Add missing START/END markers.
25523
495ded2c
TS
25524 * sysdeps/powerpc/fpu/test-powerpc-snan.c: Rename to
25525 math/test-snan.c.
25526 * math/test-snan.c: Renamed from
25527 sysdeps/powerpc/fpu/test-powerpc-snan.c.
25528 * math/Makefile (tests): Add test-snan.
25529 * sysdeps/powerpc/fpu/Makefile (libm-tests): Don't add
25530 test-powerpc-snan.
25531
777b0332
TS
25532 * math/basic-test.c (TEST_FUNC): Replace NANFUNC argument with
25533 SUFFIX. Initialize qNaN_var with __builtin_nan family of
25534 functions.
25535 (TEST_TRUNC): Add SUFFIX argument. Initialize qNaN_var with
25536 __builtin_nan family of functions.
25537 * math/libm-test.inc (initialize): Initialize qnan_value with
25538 __builtin_nan family of functions.
25539 * sysdeps/powerpc/fpu/test-powerpc-snan.c (SNANf, SNAN, SNANl):
25540 Remove variables.
25541 (init_signaling_nan, snan_float, snan_double, snan_ldouble):
25542 Remove functions.
25543 (TEST_FUNC): Add SUFFIX argument. Move sNaN_var into static
25544 storage class. Initialize qNaN_var and sNaN_var with
25545 __builtin_nan and __builtin_nans families of functions,
25546 respectively.
25547
64d063b8
TS
25548 * math/libm-test.inc (acosh_test): Also test with qNaN input.
25549 (sqrt_test): Remove duplicate test with qNaN input.
25550 (lrint_test, llrint_test, lround_test, llround_test, rint_test)
25551 (round_test, signbit_test, significand_test): Note missing +/-Inf
25552 as well as qNaN tests.
25553
67e971f1
TS
25554 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Rename NaN_var to
25555 qNaN_var. Fix a few strings, too.
25556 * math/libm-test.inc (nan_value): Rename to qnan_value.
25557 * math/gen-libm-test.pl (%beautify): Adjust to that.
25558 * math/bits/mathcalls.h (nan): Refer to qNaN instead of NaN.
25559 * math/test-misc.c (main): Likewise.
25560 * sysdeps/ieee754/bits/nan.h (__nan_bytes, __nan_union): Rename
25561 to __qnan_bytes, and __qnan_union, respectively.
25562 * ports/sysdeps/mips/bits/nan.h (__nan_bytes, __nan_union):
25563 Likewise.
25564 * stdio-common/tstdiomisc.c (nanval, lnanval): Rename to qnanval,
25565 and lqnanval, respectively.
25566 * sysdeps/powerpc/bits/fenv.h: Fix usage of NaN/qNaN/sNaN.
25567 * sysdeps/powerpc/fpu/fenv_libc.h: Likewise.
25568 * sysdeps/powerpc/fpu/test-powerpc-snan.c (TEST_FUNC): Likewise,
25569 and rename NaN_var to qNaN_var, and SNaN_var to sNaN_var.
25570
64487e12
TS
25571 * math/libm-test.inc (fpstack_test) [__x86_64__]: Enable test.
25572 * math/test-misc.c (main) [__x86_64__]: Enable test for long
25573 doubles.
25574
e015e27b
TS
25575 * math/test-misc.c (main): Fix copy'n'pastos.
25576 * misc/tst-efgcvt.c (special): Likewise.
25577
a57da955
TS
25578 * stdio-common/printf_fp.c (__isinfl_internal, __isnanl_internal):
25579 Remove declarations.
25580
1e380345
SP
255812013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
25582
25583 * sysdeps/ieee754/dbl-64/mpa-arch.h: Remove.
25584 * sysdeps/ieee754/dbl-64/mpa.c: Revert last change.
25585 * sysdeps/ieee754/dbl-64/mpa.h: Revert last change.
25586 * sysdeps/powerpc/power4/fpu/mpa-arch.h: Remove.
25587
ef26eece
AZ
255882013-03-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
25589
25590 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET): Add
25591 macro to return vdso values correctly in IFUNC implementations.
25592 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
25593 Optimization by using IFUNC.
25594
8cfdb7e0
SP
255952013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
25596 Richard Henderson <rth@redhat.com>
25597 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
25598
25599 * Makefile.in (bench): New target.
25600 * NEWS: Mention the benchmark framework.
25601 * Rules (bench): Likewise.
25602 (binaries-bench): Generate binaries for functions to
25603 benchmark.
25604 * benchtests/Makefile: New makefile for benchmark tests.
25605 * benchtests/bench-skeleton.c: New skeleton file for benchmark
25606 programs.
25607 * benchtests/exp-inputs: New input file for EXP function.
25608 * benchtests/pow-inputs: New input file for POW function.
25609 * scripts/bench.pl: New script to generate source files for
25610 benchmark programs.
25611
bcda9880
SP
256122013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
25613
d22ca8cd
SP
25614 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
25615 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T to store
25616 computations on mantissa. Use macros for rounding and
25617 division.
25618 (denorm): Likewise.
25619 (__dbl_mp): Likewise.
25620 (add_magnitudes): Likewise.
25621 (sub_magnitudes): Likewise.
25622 (__mul): Likewise.
25623 (__sqr): Likewise.
25624 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
25625 powers of two in terms of TWOPOW macro.
25626 (mp_no): Make type of mantissa as MANTISSA_T.
25627 [!RADIXI]: Define RADIXI.
25628 [!TWO52]: Define TWO52.
25629 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
25630
bcda9880
SP
25631 * manual/nptl.texi (cindex): Modify threads to pthreads.
25632
06d5adfb
JM
256332013-03-15 Joseph Myers <joseph@codesourcery.com>
25634
25635 * sysdeps/x86_64/preconfigure: Regenerated.
25636
41c7328e
JM
256372013-03-14 Joseph Myers <joseph@codesourcery.com>
25638
25639 [BZ #14155]
25640 * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Return 1.0 for arguments
25641 0x1p28 and above.
25642 (qzero): Return -0.125 / x for arguments 0x1p28 and above.
25643 * sysdeps/ieee754/dbl-64/e_j1.c (pzero): Return 1.0 for arguments
25644 0x1p28 and above.
25645 (qzero): Return 0.375 / x for arguments 0x1p28 and above.
25646 * math/libm-test.inc (j0_test): Do not allow one spurious
25647 underflow exception.
25648 (y1_test): Likewise.
25649
e25cfa60
SP
256502013-03-14 Siddhesh Poyarekar <siddhesh@redhat.com>
25651
0409959c
SP
25652 * manual/Makefile (chapters): Add nptl.
25653 * manual/debug.texi (Debugging Support): Add link to Threads
25654 chapter.
25655 * manual/nptl.texi: New file.
25656
e25cfa60
SP
25657 * sysdeps/unix/sysv/linux/times.c (__times): Fix formatting.
25658
58a1335e
PB
256592013-03-14 Petr Baudis <pasky@ucw.cz>
25660
25661 * sysdeps/unix/sysv/linux/times.c (__times): On EFAULT, test
25662 for non-NULL pointer before the memory validity test. Pointed
25663 out by Holger Brunck <holger.brunck@keymile.com>.
25664
9dc7c64f
AS
256652013-03-13 Andreas Schwab <schwab@suse.de>
25666
25667 * extra-lib.mk (extra-objs): Add static-only-routines as .oS
25668 instead of .os.
25669
54206aa6
JM
256702013-03-13 Joseph Myers <joseph@codesourcery.com>
25671
25672 * timezone/zic.c: Update from tzcode 2013b.
25673
e98cdb38
CD
256742013-03-12 Carlos O'Donell <carlos@redhat.com>
25675
25676 * manual/install.texi (Configuring and compiling):
25677 Mention i686 and i586.
25678 * INSTALL: Regenerate.
25679
9967e003
RM
256802013-03-12 Roland McGrath <roland@hack.frob.com>
25681
25682 * sysdeps/init_array/elf-init.c: New file.
25683 * csu/elf-init.c
25684 (__libc_csu_init) [!NO_INITFINI]: Conditionalize _init call on this.
25685 (__libc_csu_fini) [!NO_INITFINI]: Conditionalize _fini call on this.
25686
25687 * csu/gmon-start.c [GMON_START_ARRAY_SECTION]: Don't define
25688 __gmon_start__ as global, but as static with a .preinit_array pointer.
25689 * sysdeps/init_array/gmon-start.c: New file. Use that.
25690 * sysdeps/init_array/crti.S: New file, empty except for comments.
25691 * sysdeps/init_array/crtn.S: Likewise.
25692
e6b5a293 256932013-03-11 Ondřej Bílka <neleai@seznam.cz>
80f844c9
OB
25694
25695 * sysdeps/x86_64/memset.S: Remove USE_MULTIARCH conditional for
25696 definining bcopy.
80f844c9
OB
25697 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
25698 Remove Prefer_SSE_for_memop.
25699 * sysdeps/x86_64/multiarch/init-arch.h: Remove
25700 bit_Prefer_SSE_for_memop, index_Prefer_SSE_for_memop,
25701 HAS_PREFER_SSE_FOR_MEMOP.
80f844c9
OB
25702 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
25703 memset-x86-64.
80f844c9 25704 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
e6b5a293 25705 Remove bzero, memset ifunc support.
80f844c9
OB
25706 * sysdeps/x86_64/multiarch/bzero.S: Remove file.
25707 * sysdeps/x86_64/multiarch/memset-x86-64.S: Likewise.
25708 * sysdeps/x86_64/multiarch/memset.S: Likewise.
25709 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
25710
fb6b0fcb
AS
257112013-03-11 Andreas Schwab <schwab@suse.de>
25712
25713 [BZ #15234]
25714 * Versions.def (libpthread): Add GLIBC_2.3, so that it can be used
25715 by SHLIB_COMPAT.
25716 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist
25717 (GLIBC_2.16): Remove pthread_atfork.
25718
3e6bd4b1
PP
257192013-03-08 Paul Pluzhnikov <ppluzhnikov@google.com>
25720
25721 * posix/Makefile (testcases.h): Set LC_ALL=C before sed.
25722 (ptestcases.h): Likewise.
25723
222d7f00
RM
257242013-03-08 Roland McGrath <roland@hack.frob.com>
25725
25726 * Makeconfig ($(common-objpfx)config.status): Depend on
25727 sysdeps/*/preconfigure{,.in} too.
25728
1ba4f030
JM
257292013-03-08 Joseph Myers <joseph@codesourcery.com>
25730
a222d91a
JM
25731 * malloc/malloc.h (__malloc_ptr_t): Remove macro.
25732 (__free_hook): Use void * instead of __malloc_ptr_t.
25733 (__malloc_hook): Likewise.
25734 (__realloc_hook): Likewise.
25735 (__memalign_hook): Likewise.
25736 (__after_morecore_hook): Likewise.
25737 * malloc/arena.c (save_malloc_hook): Likewise.
25738 (save_free_hook): Likewise.
25739 * malloc/hooks.c (malloc_hook_ini): Likewise.
25740 (realloc_hook_ini): Likewise.
25741 (memalign_hook_ini): Likewise.
25742 * malloc/malloc.c (malloc_hook_ini): Likewise.
25743 (realloc_hook_ini): Likewise.
25744 (memalign_hook_ini): Likewise.
25745 (__free_hook): Likewise.
25746 (__malloc_hook): Likewise.
25747 (__realloc_hook): Likewise.
25748 (__memalign_hook): Likewise.
25749 (__libc_malloc): Likewise.
25750 (__libc_free): Likewise.
25751 (__libc_realloc): Likewise.
25752 (__libc_memalign): Likewise.
25753 (__libc_valloc): Likewise.
25754 (__libc_pvalloc): Likewise.
25755 (__libc_calloc): Likewise.
25756 (__posix_memalign): Likewise.
25757 * malloc/morecore.c (__sbrk): Likewise.
25758 (__default_morecore): Likewise.
25759
5cc45e10
JM
25760 * malloc/morecore.c (__default_morecore): Use ISO C prototype.
25761
dd54b864
JM
25762 * malloc/malloc.h (__malloc_ptrdiff_t): Remove macro.
25763 * malloc/morecore.c (__default_morecore): Use ptrdiff_t instead of
25764 __malloc_ptrdiff_t.
25765
1ba4f030
JM
25766 * malloc/malloc.h (__malloc_size_t): Remove macro.
25767 * malloc/mcheck.c (old_malloc_hook): Use size_t instead of
25768 __malloc_size_t.
25769 (old_memalign_hook): Likewise.
25770 (old_realloc_hook): Likewise.
25771 (struct hdr): Likewise.
25772 (flood): Likewise.
25773 (mallochook): Likewise.
25774 (memalignhook): Likewise.
25775 (reallochook): Likewise.
25776 * malloc/mtrace.c (tr_old_malloc_hook): Likewise.
25777 (tr_old_realloc_hook): Likewise.
25778 (tr_old_memalign_hook): Likewise.
25779 (tr_mallochook): Likewise.
25780 (tr_reallochook): Likewise.
25781 (tr_memalignhook): Likewise.
25782
edf66e57
AZ
257832013-03-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
25784
25785 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_pack): Rename to
25786 default_ldbl_pack and using as default implementation.
25787 (ldbl_unpack): Rename to default_ldbl_unpack and using as default
25788 implementation.
25789 * sysdeps/powerpc/fpu/math_ldbl.h (ldbl_extract_mantissa): Remove
25790 redundant definition.
25791 (ldbl_insert_mantissa): Likewise.
25792 (ldbl_canonicalize): Likewise.
25793 (ldbl_nearbyint): Likewise.
25794 (ldbl_pack): Rename to ldbl_pack_ppc.
25795 (ldbl_unpack): Rename to ldbl_unpack_ppc.
25796 * sysdeps/unix/sysv/linux/powerpc/Implies: Remove file.
25797 * sysdeps/powerpc/Implies: Add ieee754/ldbl-opt after ieee754/ldbl-128ibm.
25798
6d9145d8
SP
257992013-03-08 Siddhesh Poyarekar <siddhesh@redhat.com>
25800
25801 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Move file...
25802 * sysdeps/powerpc/power4/fpu/mpa.c: ... here.
25803 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile: Move file...
25804 * sysdeps/powerpc/power4/fpu/Makefile: ... here.
25805 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Remove file.
25806 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile: Remove file.
25807 * sysdeps/powerpc/powerpc32/power4/Implies: New file.
25808 * sysdeps/powerpc/powerpc64/power4/Implies: New file.
25809
4dd4e157
AJ
258102013-03-07 Andreas Jaeger <aj@suse.de>
25811
25812 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
25813 bits/mman-linux.h.
25814
adbb8027
SP
258152013-03-07 Siddhesh Poyarekar <siddhesh@redhat.com>
25816
ce544b5b
SP
25817 * sysdeps/ieee754/dbl-64/slowexp.c [!USE_LONG_DOUBLE_FOR_MP]:
25818 Include mpa.h and declare __MPEXP.
25819 [USE_LONG_DOUBLE_FOR_MP] (__slowexp): Call __IEEE754_EXPL.
25820 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
25821 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
25822 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Remove.
25823 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
25824 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
25825 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Remove.
25826
4cc149fd
SP
25827 * sysdeps/ieee754/dbl-64/slowpow.c [USE_LONG_DOUBLE_FOR_MP]
25828 (__slowpow): Use long double EXPL and LOGL functions to
25829 compute POW.
25830 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
25831 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
25832 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Remove.
25833 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
25834 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
25835 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Remove.
25836
e6ebd4a7
SP
25837 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Use
25838 intermediate variable to calculate exponent.
25839 (__sqr): Likewise.
25840 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
25841 Likewise.
25842 (__sqr): Likewise.
25843
82a9811d
SP
25844 * sysdeps/ieee754/dbl-64/mpa.c [!NO__MUL]: Define __mul.
25845 [!NO__SQR]: Define __sqr.
25846 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: define NO__MUL
25847 and NO__SQR. Remove all code except __mul and __sqr. Include
25848 sysdeps/ieee754/dbl-64/mpa.c.
25849 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
25850
adbb8027
SP
25851 [BZ #12723]
25852 * posix/Makefile (tests): Add tst-pathconf.
25853 * posix/tst-pathconf.c: New test case.
25854 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Remove
25855 _PC_PIPE_BUF.
25856 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Likewise.
25857
39120df9
PF
258582013-03-06 Patsy Franklin <pfrankli@redhat.com>
25859
25860 * io/fcntl.h: Added a comment about AT_EACCESS and AT_REMOVEDIR.
25861
67525cb8
AJ
258622013-03-06 Andreas Jaeger <aj@suse.de>
25863
664a9ce4
AJ
25864 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_ANONYMOUS): Allow
25865 definition via __MAP_ANONYMOUS.
25866
8e39047d
AJ
25867 * sysdeps/unix/sysv/linux/s390/bits/mman.h (MAP_GROWSUP): Remove,
25868 it's not part of Linux headers.
25869
67525cb8
AJ
25870 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_HUGE_SHIFT): Define.
25871 (MAP_HUGE_MASK): Define.
25872
25873 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h (PTRACE_O_EXIT_KILL):
25874 Define.
25875 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
25876 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_O_EXIT_KILL):
25877 Define.
25878 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
25879 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_EXIT_KILL):
25880 Define.
25881 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
25882 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_O_EXITKILL):
25883 Define.
25884 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
25885
25886 * sysdeps/unix/sysv/linux/x86/bits/msq.h (MSG_COPY): Likewise.
25887 * sysdeps/unix/sysv/linux/generic/bits/msq.h (MSG_COPY): Define.
25888 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h (MSG_COPY): Likewise.
25889 * sysdeps/unix/sysv/linux/bits/msq.h (MSG_COPY): Likewise.
25890 * sysdeps/unix/sysv/linux/s390/bits/msq.h (MSG_COPY): Likewise.
25891 * sysdeps/unix/sysv/linux/sparc/bits/msq.h (MSG_COPY): Define.
25892
25893 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
25894 Handle f2fs.
25895
25896 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
25897 Handle f2fs and efivarfs.
25898
25899 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Handle
25900 f2fs.
25901
25902 * sysdeps/unix/sysv/linux/linux_fsinfo.h (F2FS_SUPER_MAGIC): Add.
25903 (EFIVARFS_MAGIC): Add.
25904 (F2FS_LINK_MAX): Add.
25905
e1b42695
PP
259062013-03-06 Paul Pluzhnikov <ppluzhnikov@google.com>
25907
25908 * stdio-common/vfprintf.c: Replace __builtin_expect with
25909 __glibc_unlikely.
25910
2d67d91a
JM
259112013-03-06 Joseph Myers <joseph@codesourcery.com>
25912
25913 [BZ #13550]
25914 * sysdeps/generic/bp-sym.h: Remove file.
25915 * sysdeps/powerpc/powerpc64/bp-asm.h: Likewise.
25916 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Don't include
25917 <bp-sym.h> and <bp-asm.h>.
25918 (__longjmp): Don't use BP_SYM.
25919 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Don't include <bp-sym.h>
25920 and <bp-asm.h>.
25921 (memcpy): Don't use BP_SYM.
25922 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Don't include
25923 <bp-sym.h> and <bp-asm.h>.
25924 (memcpy): Don't use BP_SYM.
25925 * sysdeps/powerpc/powerpc64/memcpy.S: Don't include <bp-sym.h> and
25926 <bp-asm.h>.
25927 (memcpy): Don't use BP_SYM.
25928 * sysdeps/powerpc/powerpc64/memset.S: Don't include <bp-sym.h> and
25929 <bp-asm.h>.
25930 (memset): Don't use BP_SYM.
25931 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
25932 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
25933 (__bzero): Don't use BP_SYM.
25934 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
25935 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
25936 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Don't include
25937 <bp-sym.h> and <bp-asm.h>.
25938 (memcmp): Don't use BP_SYM. Remove comment about bounded
25939 pointers.
25940 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Don't include
25941 <bp-sym.h> and <bp-asm.h>.
25942 (memcpy): Don't use BP_SYM.
25943 * sysdeps/powerpc/powerpc64/power4/memset.S: Don't include
25944 <bp-sym.h> and <bp-asm.h>.
25945 (memset): Don't use BP_SYM.
25946 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
25947 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
25948 (__bzero): Don't use BP_SYM.
25949 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
25950 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
25951 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Don't include
25952 <bp-sym.h> and <bp-asm.h>.
25953 (strncmp): Don't use BP_SYM. Remove comment about bounded
25954 pointers.
25955 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Don't include
25956 <bp-sym.h> and <bp-asm.h>.
25957 (memcpy): Don't use BP_SYM.
25958 * sysdeps/powerpc/powerpc64/power6/memset.S: Don't include
25959 <bp-sym.h> and <bp-asm.h>.
25960 (memset): Don't use BP_SYM.
25961 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
25962 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
25963 (__bzero): Don't use BP_SYM.
25964 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
25965 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
25966 * sysdeps/powerpc/powerpc64/power7/memchr.S: Don't include
25967 <bp-sym.h> and <bp-asm.h>.
25968 (__memchr): Don't use BP_SYM.
25969 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Don't include
25970 <bp-sym.h> and <bp-asm.h>.
25971 (memcmp): Don't use BP_SYM. Remove comment about bounded
25972 pointers.
25973 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Don't include
25974 <bp-sym.h> and <bp-asm.h>.
25975 (memcpy): Don't use BP_SYM.
25976 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Don't include
25977 <bp-sym.h> and <bp-asm.h>.
25978 (__mempcpy): Don't use BP_SYM.
25979 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Don't include
25980 <bp-sym.h> and <bp-asm.h>.
25981 (__memrchr): Don't use BP_SYM.
25982 * sysdeps/powerpc/powerpc64/power7/memset.S: Don't include
25983 <bp-sym.h> and <bp-asm.h>.
25984 (memset): Don't use BP_SYM.
25985 (__bzero): Likewise.
25986 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Don't include
25987 <bp-sym.h> and <bp-asm.h>.
25988 (__rawmemchr): Don't use BP_SYM.
25989 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Don't include
25990 <bp-sym.h> and <bp-asm.h>.
25991 (__STRCMP): Don't use BP_SYM.
25992 * sysdeps/powerpc/powerpc64/power7/strchr.S: Don't include
25993 <bp-sym.h> and <bp-asm.h>.
25994 (strchr): Don't use BP_SYM.
25995 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: Don't include
25996 <bp-sym.h> and <bp-asm.h>.
25997 (__strchrnul): Don't use BP_SYM.
25998 * sysdeps/powerpc/powerpc64/power7/strlen.S: Don't include
25999 <bp-sym.h> and <bp-asm.h>.
26000 (strlen): Don't use BP_SYM.
26001 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Don't include
26002 <bp-sym.h> and <bp-asm.h>.
26003 (strncmp): Don't use BP_SYM. Remove comment about bounded
26004 pointers.
26005 * sysdeps/powerpc/powerpc64/power7/strnlen.S: Don't include
26006 <bp-sym.h> and <bp-asm.h>.
26007 (__strnlen): Don't use BP_SYM.
26008 * sysdeps/powerpc/powerpc64/setjmp-common.S: Don't include
26009 <bp-sym.h> and <bp-asm.h>.
26010 (__GI__setjmp): Don't use BP_SYM.
26011 (_setjmp): Likewise.
26012 (__sigsetjmp): Likewise.
26013 * sysdeps/powerpc/powerpc64/start.S: Don't include "bp-sym.h".
26014 (L(start_addresses)): Don't use BP_SYM.
26015 (_start): Likewise.
26016 * sysdeps/powerpc/powerpc64/stpcpy.S: Don't include <bp-sym.h> and
26017 <bp-asm.h>.
26018 (__stpcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW,
26019 STORE_RETURN_BOUNDS, CHECK_BOUNDS_HIGH and STORE_RETURN_VALUE.
26020 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
26021 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
26022 * sysdeps/powerpc/powerpc64/strchr.S: Don't include <bp-sym.h> and
26023 <bp-asm.h>.
26024 (strchr): Don't use BP_SYM, CHECK_BOUNDS_LOW, STORE_RETURN_BOUNDS,
26025 CHECK_BOUNDS_HIGH_RTN and STORE_RETURN_VALUE. Remove comment
26026 about bounded pointers.
26027 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
26028 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
26029 * sysdeps/powerpc/powerpc64/strcmp.S: Don't include <bp-sym.h> and
26030 <bp-asm.h>.
26031 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
26032 about bounded pointers. Remove GKM FIXME comments.
26033 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
26034 * sysdeps/powerpc/powerpc64/strcpy.S: Don't include <bp-sym.h> and
26035 <bp-asm.h>.
26036 (strcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW and
26037 STORE_RETURN_BOUNDS. Remove comment about bounded pointers.
26038 Remove GKM FIXME comments.
26039 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
26040 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
26041 * sysdeps/powerpc/powerpc64/strlen.S: Don't include <bp-sym.h> and
26042 <bp-asm.h>.
26043 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
26044 about bounded pointers. Remove GKM FIXME comment.
26045 * sysdeps/powerpc/powerpc64/strncmp.S: Don't include <bp-sym.h>
26046 and <bp-asm.h>.
26047 (strncmp): Don't use BP_SYM. Remove comment about bounded
26048 pointers.
26049 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S: Don't include
26050 <bp-sym.h> and <bp-asm.h>.
26051 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
26052 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Don't include
26053 <bp-sym.h> and <bp-asm.h>.
26054 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
26055 comment.
26056
cdcf361f
PP
260572013-03-05 Paul Pluzhnikov <ppluzhnikov@google.com>
26058
26059 * stdio-common/vfprintf.c (vfprintf): Check malloc return; don't
26060 call free(NULL).
26061
3c4a2b15
DM
260622013-03-05 David S. Miller <davem@davemloft.net>
26063
26064 * po/es.po: Update from translation team.
26065
cdcf361f 260662013-03-05 Andreas Jaeger <aj@suse.de>
890b58d3
AJ
26067
26068 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Include
26069 <bits/mman-linux.h>.
26070 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
26071 is fine.
26072 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Move include of
26073 <bits/mman-linux.h> to end of file.
26074 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
26075 is fine.
26076 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Move include of
26077 <bits/mman-linux.h> to end of file.
26078 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
26079 is fine.
26080 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Move include of
26081 <bits/mman-linux.h> to end of file.
26082
26083 * sysdeps/unix/sysv/linux/bits/mman-linux.h [!MCL_CURRENT]
26084 (MCL_CURRENT, MCL_FUTURE): Define here.
26085
5f67c04f
AK
260862013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
26087
8a4473cc 26088 [BZ #15232]
5f67c04f
AK
26089 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Use
26090 attribute_hidden.
26091 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
26092
c3e94a95
AK
260932013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
26094
26095 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Set the
26096 fourth parameter needed for rt_sigprocmask syscall.
26097 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
26098 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
26099 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
26100 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
26101 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
26102 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Define _NSIG8.
26103
cfb6382a
JM
261042013-03-04 Joseph Myers <joseph@codesourcery.com>
26105
26106 [BZ #13550]
26107 * sysdeps/powerpc/powerpc32/power4/strncmp.S (strncmp): Remove
26108 comment about bounded pointers.
26109 * sysdeps/powerpc/powerpc32/power7/strncmp.S (strncmp): Likewise.
26110 * sysdeps/powerpc/powerpc32/strncmp.S (strncmp): Likewise.
26111
539d8e01
AJ
261122013-03-04 Andreas Jaeger <aj@suse.de>
26113
26114 * sysdeps/unix/sysv/linux/bits/mman-linux.h: New file, with Linux
26115 common definitions.
26116
26117 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Remove all defines
26118 provided by bits/mman-linux.h and include <bits/mman-linux.h>.
26119 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Likewise.
26120 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
26121 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
539d8e01
AJ
26122 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
26123
2e167a70 261242013-03-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
e0b780ad
AZ
26125
26126 [BZ #15055]
26127 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
26128 __ieee754_sqrl instead of __sqrl.
26129
68508633
JM
261302013-03-01 Joseph Myers <joseph@codesourcery.com>
26131
26132 * sysdeps/powerpc/fpu/fpu_control.h: Move to ...
26133 * sysdeps/powerpc/fpu_control.h: ... here.
26134 * sysdeps/powerpc/fpu/bits/fenvinline.h: Move to ...
26135 * sysdeps/powerpc/bits/fenvinline.h: ... here.
26136 * sysdeps/powerpc/fpu/bits/mathinline.h: Move to ...
26137 * sysdeps/powerpc/bits/mathinline.h: ... here.
26138
7775448e
RM
261392013-03-01 Roland McGrath <roland@hack.frob.com>
26140
26141 * elf/dl-hwcaps.c (_dl_important_hwcaps):
26142 Change [NEED_DL_SYSINFO || NEED_DL_SYSINFO_DSO] conditionals
26143 to just [NEED_DL_SYSINFO_DSO].
26144 * elf/dl-support.c: Likewise.
26145 * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
26146 * elf/rtld.c (dl_main): Likewise.
26147 * elf/setup-vdso.h (setup_vdso): Likewise.
26148 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Likewise.
26149 * sysdeps/unix/sysv/linux/dl-sysdep.c
26150 (_dl_discover_osversion): Likewise.
26151
4e9b5995
CD
261522013-03-01 Carlos O'Donell <carlos@redhat.com>
26153
26154 * csu/libc-start.c (__pthread_initialize_minimal): Revert last change.
26155 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
26156
e23872c8
SP
261572013-03-01 Siddhesh Poyarekar <siddhesh@redhat.com>
26158
e5c74c63
SP
26159 * NEWS: Mention libm performance improvements and non-x86 PI
26160 futex support.
26161
e23872c8
SP
26162 * csu/libc-start.c (__pthread_initialize_minimal): Change
26163 function arguments.
26164 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
26165
b5510883
JM
261662013-02-28 Joseph Myers <joseph@codesourcery.com>
26167
26168 [BZ #13550]
26169 * sysdeps/powerpc/powerpc32/bp-asm.h: Remove file.
26170 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Don't include
26171 <bp-sym.h> and <bp-asm.h>.
26172 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
26173 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Don't include <bp-sym.h>
26174 and <bp-asm.h>.
26175 (memcpy): Don't use BP_SYM.
26176 * sysdeps/powerpc/powerpc32/add_n.S: Don't include <bp-sym.h> and
26177 <bp-asm.h>.
26178 (__mpn_add_n): Don't use BP_SYM.
26179 (__mpn_add_n) [__BOUNDED_POINTERS_]: Remove conditional code.
26180 * sysdeps/powerpc/powerpc32/addmul_1.S: Don't include <bp-sym.h>
26181 and <bp-asm.h>.
26182 (__mpn_addmul_1): Don't use BP_SYM.
26183 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
26184 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Don't include
26185 <bp-sym.h>.
26186 (_setjmp): Don't use BP_SYM.
26187 (__novmx_setjmp): Likewise.
26188 (__GI__setjmp): Likewise.
26189 (__vmx_setjmp): Likewise.
26190 * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Don't include
26191 <bp-sym.h>.
26192 * sysdeps/powerpc/powerpc32/bzero.S: Don't include <bp-sym.h>.
26193 (__bzero): Don't use BP_SYM.
26194 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
26195 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
26196 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Don't include
26197 <bp-sym.h> and <bp-asm.h>.
26198 (memcpy): Don't use BP_SYM.
26199 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Don't include
26200 <bp-sym.h> and <bp-asm.h>.
26201 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
26202 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Don't include
26203 <bp-sym.h> and <bp-asm.h>.
26204 (__sigsetjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
26205 * sysdeps/powerpc/powerpc32/lshift.S: Don't include <bp-sym.h> and
26206 <bp-asm.h>.
26207 (__mpn_lshift): Don't use BP_SYM.
26208 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
26209 * sysdeps/powerpc/powerpc32/memset.S: Don't include <bp-sym.h> and
26210 <bp-asm.h>.
26211 (memset): Don't use BP_SYM.
26212 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
26213 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
26214 * sysdeps/powerpc/powerpc32/mul_1.S: Don't include <bp-sym.h> and
26215 <bp-asm.h>.
26216 (__mpn_mul_1): Don't use BP_SYM.
26217 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
26218 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Don't include
26219 <bp-sym.h> and <bp-asm.h>.
26220 (memcmp): Don't use BP_SYM.
26221 * sysdeps/powerpc/powerpc32/power4/memcpy.S: Don't include
26222 <bp-sym.h> and <bp-asm.h>.
26223 (memcpy): Don't use BP_SYM.
26224 * sysdeps/powerpc/powerpc32/power4/memset.S: Don't include
26225 <bp-sym.h> and <bp-asm.h>.
26226 (memset): Don't use BP_SYM.
26227 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't include
26228 <bp-sym.h> and <bp-asm.h>.
26229 (strncmp): Don't use BP_SYM.
26230 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Don't include
26231 <bp-sym.h> and <bp-asm.h>.
26232 (memcpy): Don't use BP_SYM.
26233 * sysdeps/powerpc/powerpc32/power6/memset.S: Don't include
26234 <bp-sym.h> and <bp-asm.h>.
26235 (memset): Don't use BP_SYM.
26236 * sysdeps/powerpc/powerpc32/power7/memchr.S: Don't include
26237 <bp-sym.h> and <bp-asm.h>.
26238 (__memchr): Don't use BP_SYM.
26239 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Don't include
26240 <bp-sym.h> and <bp-asm.h>.
26241 (memcmp): Don't use BP_SYM.
26242 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Don't include
26243 <bp-sym.h> and <bp-asm.h>.
26244 (memcpy): Don't use BP_SYM.
26245 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Don't include
26246 <bp-sym.h> and <bp-asm.h>.
26247 (__mempcpy): Don't use BP_SYM.
26248 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Don't include
26249 <bp-sym.h> and <bp-asm.h>.
26250 (__memrchr): Don't use BP_SYM.
26251 * sysdeps/powerpc/powerpc32/power7/memset.S: Don't include
26252 <bp-sym.h> and <bp-asm.h>.
26253 (memset): Don't use BP_SYM.
26254 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Don't include
26255 <bp-sym.h> and <bp-asm.h>.
26256 (__rawmemchr): Don't use BP_SYM.
26257 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Don't include
26258 <bp-sym.h> and <bp-asm.h>.
26259 (__STRCMP): Don't use BP_SYM.
26260 * sysdeps/powerpc/powerpc32/power7/strchr.S: Don't include
26261 <bp-sym.h> and <bp-asm.h>.
26262 (strchr): Don't use BP_SYM.
26263 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Don't include
26264 <bp-sym.h> and <bp-asm.h>.
26265 (__strchrnul): Don't use BP_SYM.
26266 * sysdeps/powerpc/powerpc32/power7/strlen.S: Don't include
26267 <bp-sym.h> and <bp-asm.h>.
26268 (strlen): Don't use BP_SYM.
26269 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Don't include
26270 <bp-sym.h> and <bp-asm.h>.
26271 (strncmp): Don't use BP_SYM.
26272 * sysdeps/powerpc/powerpc32/power7/strnlen.S: Don't include
26273 <bp-sym.h> and <bp-asm.h>.
26274 (__strnlen): Don't use BP_SYM.
26275 * sysdeps/powerpc/powerpc32/rshift.S: Don't include <bp-sym.h> and
26276 <bp-asm.h>.
26277 (__mpn_rshift): Don't use BP_SYM.
26278 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
26279 * sysdeps/powerpc/powerpc32/setjmp-common.S: Don't include
26280 <bp-sym.h> and <bp-asm.h>.
26281 (__sigsetjmp): Don't use BP_SYM.
26282 * sysdeps/powerpc/powerpc32/start.S: Don't include "bp-sym.h".
26283 (L(start_addresses)): Don't use BP_SYM.
26284 (_start): Likewise.
26285 * sysdeps/powerpc/powerpc32/stpcpy.S: Don't include <bp-sym.h> and
26286 <bp-asm.h>.
26287 (__stpcpy): Don't use BP_SYM and macros from bp-asm.h.
26288 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
26289 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
26290 * sysdeps/powerpc/powerpc32/strchr.S: Don't include <bp-sym.h> and
26291 <bp-asm.h>.
26292 (strchr): Don't use BP_SYM.h and macros from bp-asm.h.
26293 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
26294 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
26295 * sysdeps/powerpc/powerpc32/strcmp.S: Don't include <bp-sym.h> and
26296 <bp-asm.h>.
26297 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
26298 comments.
26299 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
26300 * sysdeps/powerpc/powerpc32/strcpy.S: Don't include <bp-sym.h> and
26301 <bp-asm.h>.
26302 (strcpy): Don't use BP_SYM and macros from bp-asm.h. Remove GKM
26303 FIXME comments.
26304 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
26305 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
26306 * sysdeps/powerpc/powerpc32/strlen.S: Don't include <bp-sym.h> and
26307 <bp-asm.h>.
26308 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
26309 comment.
26310 * sysdeps/powerpc/powerpc32/strncmp.S: Don't include <bp-sym.h>
26311 and <bp-asm.h>.
26312 (strncmp): Don't use BP_SYM,
26313 * sysdeps/powerpc/powerpc32/sub_n.S: Don't include <bp-sym.h> and
26314 <bp-asm.h>.
26315 (__mpn_sub_n): Don't use BP_SYM.
26316 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
26317 * sysdeps/powerpc/powerpc32/submul_1.S: Don't include <bp-sym.h>
26318 and <bp-asm.h>.
26319 (__mpn_submul_1): Don't use BP_SYM.
26320 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
26321 * sysdeps/unix/sysv/linux/powerpc/powerpc32/brk.S: Don't include
26322 <bp-sym.h> and <bp-asm.h>.
26323 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
26324 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Don't include
26325 <bp-sym.h> and <bp-asm.h>.
26326 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
26327 comment.
26328
8d19fe64
SP
263292013-02-28 Siddhesh Poyarekar <siddhesh@redhat.com>
26330
26331 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (add_magnitudes):
26332 Use ZK to minimize writes to Z.
26333 (sub_magnitudes): Simplify code a bit.
26334 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (add_magnitudes):
26335 Use ZK to minimize writes to Z.
26336 (sub_magnitudes): Simplify code a bit.
26337
85bd816a
RM
263382013-02-27 Roland McGrath <roland@hack.frob.com>
26339
26340 * csu/gmon-start.c: Add special exception to license text.
26341
b5977bf2
RH
263422013-02-27 Richard Henderson <rth@redhat.com>
26343
26344 * scripts/config.guess: Update from config.git.
26345 * scripts/config.sub: Likewise.
26346
11d6e2f2
SP
263472013-02-27 Siddhesh Poyarekar <siddhesh@redhat.com>
26348
09c14ed2
SP
26349 * sysdeps/ieee754/dbl-64/mpsqrt.c: Reformat.
26350
a688864e
SP
26351 * sysdeps/ieee754/dbl-64/mpatan2.c: Reformat.
26352
6295157a
SP
26353 * sysdeps/ieee754/dbl-64/mpatan.c: Reformat.
26354
b8de2202
SP
26355 * sysdeps/ieee754/dbl-64/mptan.c: Reformat.
26356
11d6e2f2
SP
26357 * sysdeps/ieee754/dbl-64/mplog.c: Reformat.
26358
7e80ddb8
RM
263592013-02-26 Roland McGrath <roland@hack.frob.com>
26360
26361 * Makeconfig (%.v.i, %.v): Move these pattern rules outside of
26362 [$(build-shared = yes].
7e80ddb8 26363
7da6d9ed
SP
263642013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
26365
45f05884
SP
26366 * sysdeps/ieee754/dbl-64/mpa.c: Include alloca.h.
26367 (__mul): Reduce iterations for calculating mantissa.
26368
2236d359
SP
26369 * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use MPONE and
26370 MPTWO.
26371 (__mpranred): Likewise.
26372
7da6d9ed
SP
26373 [BZ #15160]
26374 * malloc/memusagestat.c (main): Draw graphs for heap and stack
26375 only if MAXSIZE_HEAP and MAXSIZE_STACK are non-zero.
26376
b7688c42
PE
263772013-02-26 Paul Eggert <eggert@cs.ucla.edu>
26378
26379 * posix/regex_internal.h [__GNUC__ < 3 + (__GNUC_MINOR__ < 1]:
26380 Define __attribute__.
26381
53a5c423
SP
263822013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
26383
26384 * locale/elem-hash.h (elem_hash): Mark as pure and possibly
26385 unused.
26386 * posix/regex_internal.h (__attribute): Remove.
26387 [!_LIBC && __i386__]: Use __attribute__ instead of __attribute.
26388 (re_string_context_at): Likewise.
26389 (bitset_not): Use __attribute__ and mark function as possibly
26390 unused.
26391 (bitset_merge): Likewise.
26392 (bitset_mask): Likewise.
26393 (re_string_char_size_at): Likewise.
26394 (re_string_wchar_at): Likewise.
26395 (re_string_elem_size_at): Likewise.
26396
60f5a8b5
SP
263972013-02-25 Siddhesh Poyarekar <siddhesh@redhat.com>
26398
2a983a2e
SP
26399 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Remove commented
26400 code.
26401 (cc32): Likewise.
26402
e69804d1
SP
26403 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Use long instead of int.
26404 (__acr): Likewise.
26405 (__cpy): Likewise.
26406 (norm): Likewise.
26407 (denorm): Likewise.
26408 (__dbl_mp): Likewise.
26409 (add_magnitudes): Likewise.
26410 (sub_magnitudes): Likewise.
26411 (__mul): Likewise.
26412 (__inv): Likewise.
26413
2f22a1e8
SP
26414 * sysdeps/ieee754/dbl-64/slowexp.c: Reformat in GNU coding
26415 style.
26416
8930ddc7
SP
26417 * sysdeps/ieee754/dbl-64/slowpow.c: Reformat in GNU coding
26418 style.
26419
dc60cb11
SP
26420 * sysdeps/ieee754/dbl-64/slowexp.c (__slowexp): Remove commented
26421 code.
26422
60f5a8b5
SP
26423 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mp_dbl): Sync
26424 up changes with default code.
26425 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mp_dbl):
26426 Likewise.
26427
b4d1fd33
AM
264282013-02-24 Allan McRae <allan@archlinux.org>
26429
faf6f8bc
AM
26430 * manual/socket.texi (The Internet Namespace): Order menu items
26431 to match that in the file.
26432
b4d1fd33
AM
26433 * manual/libc-texinfo.sh: Use @detailmenu around the detailed
26434 node listing of the info page menu.
26435
2366713d
JM
264362013-02-21 Joseph Myers <joseph@codesourcery.com>
26437
26438 [BZ #13550]
26439 * sysdeps/i386/bp-asm.h: Remove file.
26440 * sysdeps/i386/add_n.S: Do not include "bp-sym.h" and "bp-asm.h".
26441 (PARMS): Do not use macros from bp-asm.h.
26442 (S1): Likewise.
26443 (S2): Likewise.
26444 (SIZE): Likewise.
26445 (__mpn_add_n): Do not use BP_SYM
26446 * sysdeps/i386/addmul_1.S: Do not include "bp-sym.h" and
26447 "bp-asm.h".
26448 (PARMS): Do not use macros from bp-asm.h.
26449 (S1): Likewise.
26450 (SIZE): Likewise.
26451 (__mpn_addmul_1): Do not use BP_SYM
26452 * sysdeps/i386/bsd-_setjmp.S: Do not include "bp-sym.h" and
26453 "bp-asm.h".
26454 (PARMS): Do not use macros from bp-asm.h.
26455 (SIGMSK): Likewise.
26456 (_setjmp): Likewise. 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/fpu/s_frexp.S: Do not include "bp-sym.h" and
26463 "bp-asm.h".
26464 (PARMS): Do not use macros from bp-asm.h.
26465 (__frexp): Do not use BP_SYM.
26466 (frexp): Likewise.
26467 * sysdeps/i386/fpu/s_frexpf.S: Do not include "bp-sym.h" and
26468 "bp-asm.h".
26469 (PARMS): Do not use macros from bp-asm.h.
26470 (__frexpf): Do not use BP_SYM.
26471 (frexpf): Likewise.
26472 * sysdeps/i386/fpu/s_frexpl.S: Do not include "bp-sym.h" and
26473 "bp-asm.h".
26474 (PARMS): Do not use macros from bp-asm.h.
26475 (__frexpl): Do not use BP_SYM.
26476 (frexpl): Likewise.
26477 * sysdeps/i386/fpu/s_remquo.S: Do not include "bp-sym.h" and
26478 "bp-asm.h".
26479 (PARMS): Do not use macros from bp-asm.h.
26480 (__remquo): Do not use BP_SYM.
26481 (remquo): Likewise.
26482 * sysdeps/i386/fpu/s_remquof.S: Do not include "bp-sym.h" and
26483 "bp-asm.h".
26484 (PARMS): Do not use macros from bp-asm.h.
26485 (__remquof): Do not use BP_SYM.
26486 (remquof): Likewise.
26487 * sysdeps/i386/fpu/s_remquol.S: Do not include "bp-sym.h" and
26488 "bp-asm.h".
26489 (PARMS): Do not use macros from bp-asm.h.
26490 (__remquol): Do not use BP_SYM.
26491 (remquol): Likewise.
26492 * sysdeps/i386/i486/strcat.S: Do not include "bp-sym.h" and
26493 "bp-asm.h".
26494 (PARMS): Do not use macros from bp-asm.h.
26495 (DEST): Likewise.
26496 (SRC): Likewise.
26497 (strcat): Remove GKM FIXME comment. Do not use BP_SYM.
26498 * sysdeps/i386/i486/strlen.S: Do not include "bp-sym.h" and
26499 "bp-asm.h".
26500 (PARMS): Do not use macros from bp-asm.h.
26501 (strlen): Do not use BP_SYM.
26502 * sysdeps/i386/i586/add_n.S: Do not include "bp-sym.h" and
26503 "bp-asm.h".
26504 (PARMS): Do not use macros from bp-asm.h.
26505 (S1): Likewise.
26506 (S2): Likewise.
26507 (SIZE): Likewise.
26508 (__mpn_add_n): Do not use BP_SYM.
26509 * sysdeps/i386/i586/addmul_1.S: Do not include "bp-sym.h" and
26510 "bp-asm.h".
26511 (PARMS): Do not use macros from bp-asm.h.
26512 (S1): Likewise.
26513 (SIZE): Likewise.
26514 (__mpn_addmul_1): Do not use BP_SYM.
26515 * sysdeps/i386/i586/bzero.S (__bzero): Do not use BP_SYM in
26516 weak_alias.
26517 (bzero): Likewise.
26518 * sysdeps/i386/i586/lshift.S: Do not include "bp-sym.h" and
26519 "bp-asm.h".
26520 (PARMS): Do not use macros from bp-asm.h.
26521 (S): Likewise.
26522 (SIZE): Likewise.
26523 (__mpn_lshift): Do not use BP_SYM.
26524 * sysdeps/i386/i586/memcpy.S: Do not include "bp-sym.h" and
26525 "bp-asm.h".
26526 (PARMS): Do not use macros from bp-asm.h.
26527 (DEST): Likewise.
26528 (SRC): Likewise.
26529 (LEN): Likewise.
26530 (memcpy): Likewise. Do not use BP_SYM.
26531 * sysdeps/i386/i586/mempcpy.S (__mempcpy): Do not use BP_SYM in
26532 libc_hidden_def and weak_alias.
26533 (mempcpy): Do not use BP_SYM in weak_alias.
26534 * sysdeps/i386/i586/memset.S: Do not include "bp-sym.h" and
26535 "bp-asm.h".
26536 (PARMS): Do not use macros from bp-asm.h.
26537 (DEST): Likewise.
26538 (LEN): Likewise.
26539 [!BZERO_P] (CHR): Likewise.
26540 (memset): Likewise. Do not use BP_SYM.
26541 * sysdeps/i386/i586/mul_1.S: Do not include "bp-sym.h" and
26542 "bp-asm.h".
26543 (PARMS): Do not use macros from bp-asm.h.
26544 (S1): Likewise.
26545 (SIZE): Likewise.
26546 (__mpn_mul_1): Do not use BP_SYM.
26547 * sysdeps/i386/i586/rshift.S: Do not include "bp-sym.h" and
26548 "bp-asm.h".
26549 (PARMS): Do not use macros from bp-asm.h.
26550 (S): Likewise.
26551 (SIZE): Likewise.
26552 (__mpn_rshift): Do not use BP_SYM.
26553 * sysdeps/i386/i586/strchr.S: Do not include "bp-sym.h" and
26554 "bp-asm.h".
26555 (PARMS): Do not use macros from bp-asm.h.
26556 (STR): Likewise.
26557 (CHR): Likewise.
26558 (strchr): Likewise. Do not use BP_SYM.
26559 (index): Do not use BP_SYM in weak_alias.
26560 * sysdeps/i386/i586/strcpy.S: Do not include "bp-sym.h" and
26561 "bp-asm.h".
26562 (PARMS): Do not use macros from bp-asm.h.
26563 (DEST): Likewise.
26564 (SRC): Likewise.
26565 (STRCPY): Likewise. Remove GKM FIXME comment. Do not use BP_SYM.
26566 * sysdeps/i386/i586/strlen.S: Do not include "bp-sym.h" and
26567 "bp-asm.h".
26568 (PARMS): Do not use macros from bp-asm.h.
26569 (strlen): Do not use BP_SYM.
26570 * sysdeps/i386/i586/sub_n.S: Do not include "bp-sym.h" and
26571 "bp-asm.h".
26572 (PARMS): Do not use macros from bp-asm.h.
26573 (S1): Likewise.
26574 (S2): Likewise.
26575 (SIZE): Likewise.
26576 (__mpn_sub_n): Do not use BP_SYM.
26577 * sysdeps/i386/i586/submul_1.S: Do not include "bp-sym.h" and
26578 "bp-asm.h".
26579 (PARMS): Do not use macros from bp-asm.h.
26580 (S1): Likewise.
26581 (SIZE): Likewise.
26582 (__mpn_submul_1): Do not use BP_SYM.
26583 * sysdeps/i386/i686/add_n.S: Do not include "bp-sym.h" and
26584 "bp-asm.h".
26585 (PARMS): Do not use macros from bp-asm.h.
26586 (S1): Likewise.
26587 (S2): Likewise.
26588 (SIZE): Likewise.
26589 (__mpn_add_n): Do not use BP_SYM.
26590 * sysdeps/i386/i686/bzero.S (__bzero): Do not use BP_SYM in
26591 weak_alias.
26592 (bzero): Likewise.
26593 * sysdeps/i386/i686/memcmp.S: Do not include "bp-sym.h" and
26594 "bp-asm.h".
26595 (PARMS): Do not use macros from bp-asm.h.
26596 (BLK2): Likewise.
26597 (LEN): Likewise.
26598 (memcmp): Do not use BP_SYM.
26599 (bcmp): Do not use BP_SYM in weak_alias.
26600 * sysdeps/i386/i686/memcpy.S: Do not include "bp-sym.h" and
26601 "bp-asm.h".
26602 (PARMS): Do not use macros from bp-asm.h.
26603 (DEST): Likewise.
26604 (SRC): Likewise.
26605 (LEN): Likewise.
26606 (memcpy): Likewise. Do not use BP_SYM.
26607 * sysdeps/i386/i686/memmove.S: Do not include "bp-sym.h" and
26608 "bp-asm.h".
26609 (PARMS): Do not use macros from bp-asm.h.
26610 (DEST): Likewise.
26611 (SRC): Likewise.
26612 (LEN): Likewise.
26613 (memmove): Likewise. Do not use BP_SYM.
26614 * sysdeps/i386/i686/mempcpy.S: Do not include "bp-sym.h" and
26615 "bp-asm.h".
26616 (PARMS): Do not use macros from bp-asm.h.
26617 (DEST): Likewise.
26618 (SRC): Likewise.
26619 (LEN): Likewise.
26620 (__mempcpy): Likewise. Do not use BP_SYM.
26621 (mempcpy): Do not use BP_SYM in weak_alias.
26622 * sysdeps/i386/i686/memset.S: Do not include "bp-sym.h" and
26623 "bp-asm.h".
26624 (PARMS): Do not use macros from bp-asm.h.
26625 (DEST): Likewise.
26626 (LEN): Likewise.
26627 [!BZERO_P] (CHR): Likewise.
26628 (memset): Likewise. Do not use BP_SYM.
26629 * sysdeps/i386/i686/strcmp.S: Do not include "bp-sym.h" and
26630 "bp-asm.h".
26631 (PARMS): Do not use macros from bp-asm.h.
26632 (STR2): Likewise.
26633 (strcmp): Do not use BP_SYM.
26634 * sysdeps/i386/i686/strtok.S: Do not include "bp-sym.h" and
26635 "bp-asm.h".
26636 (PARMS): Do not use macros from bp-asm.h.
26637 (STR): Likewise.
26638 (DELIM): Likewise.
26639 [USE_AS_STRTOK_R] (SAVE): Likewise.
26640 (FUNCTION): Likewise. Do not use BP_SYM.
26641 * sysdeps/i386/i686/strtok_r.S (__strtok_r): Do not use BP_SYM in
26642 aliases.
26643 (strtok_r): Likewise.
26644 (__GI___strtok_r): Likewise.
26645 * sysdeps/i386/lshift.S: Do not include "bp-sym.h" and "bp-asm.h".
26646 (PARMS): Do not use macros from bp-asm.h.
26647 (S): Likewise.
26648 (SIZE): Likewise.
26649 (__mpn_lshift): Do not use BP_SYM.
26650 * sysdeps/i386/memchr.S: Do not include "bp-sym.h" and "bp-asm.h".
26651 (PARMS): Do not use macros from bp-asm.h.
26652 (STR): Likewise.
26653 (CHR): Likewise.
26654 (__memchr): Do not use BP_SYM.
26655 (memchr): Do not use BP_SYM in weak_alias.
26656 * sysdeps/i386/memcmp.S: Do not include "bp-sym.h" and "bp-asm.h".
26657 (PARMS): Do not use macros from bp-asm.h.
26658 (BLK2): Likewise.
26659 (LEN): Likewise.
26660 (memcmp): Do not use BP_SYM.
26661 (bcmp): Do not use BP_SYM in weak_alias.
26662 * sysdeps/i386/mul_1.S: Do not include "bp-sym.h" and "bp-asm.h".
26663 (PARMS): Do not use macros from bp-asm.h.
26664 (S1): Likewise.
26665 (SIZE): Likewise.
26666 (__mpn_mul_1): Do not use BP_SYM.
26667 * sysdeps/i386/rawmemchr.S: Do not include "bp-sym.h" and
26668 "bp-asm.h".
26669 (PARMS): Do not use macros from bp-asm.h.
26670 (STR): Likewise.
26671 (CHR): Likewise.
26672 (__rawmemchr): Do not use BP_SYM.
26673 (rawmemchr): Do not use BP_SYM in weak_alias.
26674 * sysdeps/i386/rshift.S: Do not include "bp-sym.h" and "bp-asm.h".
26675 (PARMS): Do not use macros from bp-asm.h.
26676 (S): Likewise.
26677 (SIZE): Likewise.
26678 (__mpn_rshift): Do not use BP_SYM.
26679 * sysdeps/i386/setjmp.S: Do not include "bp-sym.h" and "bp-asm.h".
26680 (PARMS): Do not use macros from bp-asm.h.
26681 (SIGMSK): Likewise.
26682 (__sigsetjmp): Likewise. Do not use BP_SYM.
26683 * sysdeps/i386/start.S: Do not include "bp-sym.h".
26684 (_start): Do not use BP_SYM.
26685 * sysdeps/i386/stpcpy.S: Do not include "bp-sym.h" and "bp-asm.h".
26686 (PARMS): Do not use macros from bp-asm.h.
26687 (DEST): Likewise.
26688 (SRC): Likewise.
26689 (__stpcpy): Likewise. Do not use BP_SYM.
26690 (stpcpy): Do not use BP_SYM in weak_alias.
26691 * sysdeps/i386/stpncpy.S: Do not include "bp-sym.h" and
26692 "bp-asm.h".
26693 (PARMS): Do not use macros from bp-asm.h.
26694 (DEST): Likewise.
26695 (SRC): Likewise.
26696 (LEN): Likewise.
26697 (__stpncpy): Likewise. Do not use BP_SYM.
26698 (stpncpy): Do not use BP_SYM in weak_alias.
26699 * sysdeps/i386/strchr.S: Do not include "bp-sym.h" and "bp-asm.h".
26700 (PARMS): Do not use macros from bp-asm.h.
26701 (STR): Likewise.
26702 (CHR): Likewise.
26703 (strchr): Likewise. Do not use BP_SYM.
26704 * sysdeps/i386/strchrnul.S: Do not include "bp-sym.h" and
26705 "bp-asm.h".
26706 (PARMS): Do not use macros from bp-asm.h.
26707 (STR): Likewise.
26708 (CHR): Likewise.
26709 (__strchrnul): Likewise. Do not use BP_SYM.
26710 (strchrnul): Do not use BP_SYM in weak_alias.
26711 * sysdeps/i386/strcspn.S: Do not include "bp-sym.h" and
26712 "bp-asm.h".
26713 (PARMS): Do not use macros from bp-asm.h.
26714 (STOP): Likewise.
26715 (strcspn): Do not use BP_SYM.
26716 * sysdeps/i386/strpbrk.S: Do not include "bp-sym.h" and
26717 "bp-asm.h".
26718 (PARMS): Do not use macros from bp-asm.h.
26719 (STR): Likewise.
26720 (STOP): Likewise.
26721 (strpbrk): Likewise. Do not use BP_SYM.
26722 * sysdeps/i386/strrchr.S: Do not include "bp-sym.h" and
26723 "bp-asm.h".
26724 (PARMS): Do not use macros from bp-asm.h.
26725 (STR): Likewise.
26726 (CHR): Likewise.
26727 (strrchr): Likewise. Do not use BP_SYM.
26728 * sysdeps/i386/strspn.S: Do not include "bp-sym.h" and "bp-asm.h".
26729 (PARMS): Do not use macros from bp-asm.h.
26730 (SKIP): Likewise.
26731 (strspn): Do not use BP_SYM.
26732 * sysdeps/i386/strtok.S: Do not include "bp-sym.h" and "bp-asm.h".
26733 (PARMS): Do not use macros from bp-asm.h.
26734 (STR): Likewise.
26735 (DELIM): Likewise.
26736 (SAVE): Likewise.
26737 (FUNCTION): Likewise. Do not use BP_SYM.
26738 * sysdeps/i386/strtok_r.S (__strtok_r): Do not use BP_SYM in
26739 aliases.
26740 (strtok_r): Likewise.
26741 (__GI___strtok_r): Likewise.
26742 * sysdeps/i386/sub_n.S: Do not include "bp-sym.h" and "bp-asm.h".
26743 (PARMS): Do not use macros from bp-asm.h.
26744 (S1): Likewise.
26745 (S2): Likewise.
26746 (SIZE): Likewise.
26747 (__mpn_sub_n): Do not use BP_SYM.
26748 * sysdeps/i386/submul_1.S: Do not include "bp-sym.h" and
26749 "bp-asm.h".
26750 (PARMS): Do not use macros from bp-asm.h.
26751 (S1): Likewise.
26752 (SIZE): Likewise.
26753 (__mpn_submul_1): Do not use BP_SYM.
26754 * sysdeps/unix/i386/sysdep.S: Do not include <bp-asm.h> and
26755 <bp-sym.h>.
26756 * sysdeps/unix/sysv/linux/i386/clone.S: Do not include <bp-sym.h>
26757 and <bp-asm.h>.
26758 (PARMS): Do not use macros from bp-asm.h.
26759 (FLAGS): Likewise.
26760 (PTID): Likewise.
26761 (TLS): Likewise.
26762 (CTID): Likewise.
26763 (__clone): Do not use BP_SYM.
26764 (clone): Do not use BP_SYM in weak_alias.
26765 * sysdeps/unix/sysv/linux/i386/mmap64.S: Do not include <bp-sym.h>
26766 and <bp-asm.h>.
26767 (PARMS): Do not use macros from bp-asm.h.
26768 (LEN): Likewise.
26769 (__mmap64): Do not use BP_SYM.
26770 (mmap64): Do not use BP_SYM in weak_alias.
26771 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
26772 <bp-sym.h> and <bp-asm.h>.
26773 (PARMS): Do not use macros from bp-asm.h.
26774 (__posix_fadvise64_l64): Do not use BP_SYM.
26775 * sysdeps/unix/sysv/linux/i386/semtimedop.S
26776 (PARMS): Do not use macros from bp-asm.h.
26777 (NSOPS): Likewise.
26778 (semtimedop): Do not use BP_SYM.
26779 * sysdeps/unix/sysv/linux/i386/sysdep.h: Do not include <bp-sym.h>
26780 and <bp-asm.h>.
26781
582a3cff
AM
267822013-02-21 Allan McRae <allan@archlinux.org>
26783
26784 * manual/message.texi (Charset conversion in gettext):
26785 Move @end statement to beginning of line.
26786
bab8a695
SP
267872013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
26788
80945231
SP
26789 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Mark as
26790 static.
26791 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
26792 Likewise.
26793
bab8a695
SP
26794 * sysdeps/ieee754/dbl-64/mpa.c (norm): Fix whitespace.
26795 (denorm): Likewise.
26796 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (norm): Likewise.
26797 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (norm): Likewise.
26798
e21d7aa7
AK
267992013-02-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
26800
26801 * sysdeps/s390/s390-32/dl-trampoline.S (_dl_runtime_profile): Do a
26802 tail-call to the resolved function if pltexit isn't needed.
26803
4c7a4263
SP
268042013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
26805
26806 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Mark X
26807 or Y being zero as being unlikely.
26808 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
26809 Likewise.
26810
41f49342
CD
268112013-02-20 Carlos O'Donell <carlos@redhat.com>
26812
26813 * manual/nss.texi (System Databases and Name Service Switch):
26814 Remove frobnicate @pxref.
26815
50022a93
TS
268162013-02-20 Thomas Schwinge <thomas@codesourcery.com>
26817
26818 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
26819 __attribute__ ((unused)) to __attribute__ ((__unused__)).
26820
08cbd996
PM
268212013-02-20 Petr Machata <pmachata@redhat.com>
26822
26823 * elf/elf.h (R_ARM_TARGET1): New macro.
26824 (R_ARM_SBREL31, R_ARM_V4BX, R_ARM_TARGET2): Likewise.
26825 (R_ARM_PREL31, R_ARM_MOVW_ABS_NC, R_ARM_MOVT_ABS): Likewise.
26826 (R_ARM_MOVW_PREL_NC, R_ARM_MOVT_PREL): Likewise.
26827 (R_ARM_THM_MOVW_ABS_NC, R_ARM_THM_MOVT_ABS): Likewise.
26828 (R_ARM_THM_MOVW_PREL_NC, R_ARM_THM_MOVT_PREL): Likewise.
26829 (R_ARM_THM_JUMP19, R_ARM_THM_JUMP6): Likewise.
26830 (R_ARM_THM_ALU_PREL_11_0, R_ARM_THM_PC12): Likewise.
26831 (R_ARM_ABS32_NOI, R_ARM_REL32_NOI): Likewise.
26832 (R_ARM_ALU_PC_G0_NC, R_ARM_ALU_PC_G0): Likewise.
26833 (R_ARM_ALU_PC_G1_NC, R_ARM_ALU_PC_G1): Likewise.
26834 (R_ARM_ALU_PC_G2, R_ARM_LDR_PC_G1, R_ARM_LDR_PC_G2): Likewise.
26835 (R_ARM_LDRS_PC_G0, R_ARM_LDRS_PC_G1): Likewise.
26836 (R_ARM_LDRS_PC_G2, R_ARM_LDC_PC_G0): Likewise.
26837 (R_ARM_LDC_PC_G1, R_ARM_LDC_PC_G2): Likewise.
26838 (R_ARM_ALU_SB_G0_NC, R_ARM_ALU_SB_G0): Likewise.
26839 (R_ARM_ALU_SB_G1_NC, R_ARM_ALU_SB_G1): Likewise.
26840 (R_ARM_ALU_SB_G2, R_ARM_LDR_SB_G0, R_ARM_LDR_SB_G1): Likewise.
26841 (R_ARM_LDR_SB_G2, R_ARM_LDRS_SB_G0): Likewise.
26842 (R_ARM_LDRS_SB_G1, R_ARM_LDRS_SB_G2): Likewise.
26843 (R_ARM_LDC_SB_G0, R_ARM_LDC_SB_G1, R_ARM_LDC_SB_G2): Likewise.
26844 (R_ARM_MOVW_BREL_NC, R_ARM_MOVT_BREL): Likewise.
26845 (R_ARM_MOVW_BREL, R_ARM_THM_MOVW_BREL_NC): Likewise.
26846 (R_ARM_THM_MOVT_BREL, R_ARM_THM_MOVW_BREL): Likewise.
26847 (R_ARM_PLT32_ABS, R_ARM_GOT_ABS, R_ARM_GOT_PREL): Likewise.
26848 (R_ARM_GOT_BREL12, R_ARM_GOTOFF12, R_ARM_GOTRELAX): Likewise.
26849 (R_ARM_TLS_LDO12, R_ARM_TLS_LE12, R_ARM_TLS_IE12GP): Likewise.
26850 (R_ARM_PRIVATE_0, R_ARM_PRIVATE_1, R_ARM_PRIVATE_2): Likewise.
26851 (R_ARM_PRIVATE_3, R_ARM_PRIVATE_4, R_ARM_PRIVATE_5): Likewise.
26852 (R_ARM_PRIVATE_6, R_ARM_PRIVATE_7, R_ARM_PRIVATE_8): Likewise.
26853 (R_ARM_PRIVATE_9, R_ARM_PRIVATE_10): Likewise.
26854 (R_ARM_PRIVATE_11, R_ARM_PRIVATE_12): Likewise.
26855 (R_ARM_PRIVATE_13, R_ARM_PRIVATE_14): Likewise.
26856 (R_ARM_PRIVATE_15, R_ARM_ME_TOO): Likewise.
26857 (R_ARM_THM_TLS_DESCSEQ16, R_ARM_THM_TLS_DESCSEQ32): Likewise.
26858 (R_ARM_THM_GOT_BREL12): Likewise.
26859 (R_ARM_PC24, R_ARM_PLT32): Updated a comment at this macro.
26860 (R_ARM_THM_PC11, R_ARM_THM_PC9): Likewise.
26861 (R_ARM_THM_ABS5, R_ARM_THM_PC22): Added a comment to this macro.
26862 (R_ARM_THM_PC8, R_ARM_THM_SWI8, R_ARM_XPC25): Likewise.
26863 (R_ARM_THM_XPC22, R_ARM_ALU_PCREL_7_0): Likewise.
26864 (R_ARM_ALU_PCREL_15_8, R_ARM_ALU_PCREL_23_15): Likewise.
26865 (R_ARM_LDR_SBREL_11_0, R_ARM_ALU_SBREL_19_12): Likewise.
26866 (R_ARM_ALU_SBREL_27_20, R_ARM_TLS_DESCSEQ): Likewise.
26867 (R_ARM_THM_TLS_DESCSEQ): Fixed whitespace.
26868
c7b275d6
TS
268692013-02-20 Thomas Schwinge <thomas@codesourcery.com>
26870
26871 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
26872 __attribute_used__ to __attribute__ ((unused)).
26873
20cd7fb3
SP
268742013-02-20 Siddhesh Poyarekar <siddhesh@redhat.com>
26875
26876 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Copy over comment from
26877 powerpc mpa.c.
26878 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Fix
26879 comment formatting.
26880 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul): Likewise.
26881
92945b52
JM
268822013-02-19 Joseph Myers <joseph@codesourcery.com>
26883
26884 [BZ #13550]
26885 * sysdeps/i386/bp-asm.h [__BOUNDED_POINTERS__] (BOUNDS_VIOLATED):
26886 Remove macro.
26887 (ENTER): Remove both macro definitions.
26888 (LEAVE): Likewise.
26889 (CHECK_BOUNDS_LOW): Likewise.
26890 (CHECK_BOUNDS_HIGH): Likewise.
26891 (CHECK_BOUNDS_BOTH): Likewise.
26892 (CHECK_BOUNDS_BOTH_WIDE): Likewise.
26893 (RETURN_BOUNDED_POINTER): Likewise.
26894 (RETURN_NULL_BOUNDED_POINTER): Likewise.
26895 (PUSH_ERRNO_LOCATION_RETURN): Likewise.
26896 (POP_ERRNO_LOCATION_RETURN): Likewise.
26897 * sysdeps/i386/add_n.S (__mpn_add_n): Do not use removed macros.
26898 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
26899 * sysdeps/i386/addmul_1.S (__mpn_addmul_1): Do not use removed
26900 macros.
26901 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
26902 * sysdeps/i386/bsd-_setjmp.S (_setjmp): Do not use removed macros.
26903 * sysdeps/i386/bsd-setjmp.S (setjmp): Likewise.
26904 * sysdeps/i386/fpu/s_frexp.S (__frexp): Likewise.
26905 * sysdeps/i386/fpu/s_frexpf.S (__frexpf): Likewise.
26906 * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Likewise.
26907 * sysdeps/i386/fpu/s_remquo.S (__remquo): Likewise.
26908 * sysdeps/i386/fpu/s_remquof.S (__remquof): Likewise.
26909 * sysdeps/i386/fpu/s_remquol.S (__remquol): Likewise.
26910 * sysdeps/i386/i486/strcat.S (strcat): Likewise.
26911 * sysdeps/i386/i486/strlen.S (strlen): Likewise.
26912 * sysdeps/i386/i586/add_n.S (__mpn_add_n): Likewise.
26913 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
26914 * sysdeps/i386/i586/addmul_1.S (__mpn_addmul_1): Do not use
26915 removed macros.
26916 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
26917 * sysdeps/i386/i586/lshift.S (__mpn_lshift): Do not use removed
26918 macros.
26919 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
26920 * sysdeps/i386/i586/memcpy.S (memcpy): Do not use removed macros.
26921 * sysdeps/i386/i586/memset.S (memset): Likewise.
26922 * sysdeps/i386/i586/mul_1.S (__mpn_mul_1): Likewise.
26923 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
26924 * sysdeps/i386/i586/rshift.S (__mpn_rshift): Do not use removed
26925 macros.
26926 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
26927 * sysdeps/i386/i586/strchr.S (strchr): Do not use removed macros.
26928 Change uses of L(2) to L(out).
26929 * sysdeps/i386/i586/strcpy.S (STRCPY): Do not use removed macros.
26930 * sysdeps/i386/i586/strlen.S (strlen): Likewise.
26931 * sysdeps/i386/i586/sub_n.S (__mpn_sub_n): Likewise.
26932 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
26933 * sysdeps/i386/i586/submul_1.S (__mpn_submul_1): Do not use
26934 removed macros.
26935 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
26936 * sysdeps/i386/i686/add_n.S (__mpn_add_n): Do not use removed
26937 macros.
26938 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
26939 * sysdeps/i386/i686/memcmp.S (ENTRANCE): Do not use macro ENTER.
26940 (RETURN): Do not use macro LEAVE.
26941 * sysdeps/i386/i686/memcpy.S (memcpy): Do not use removed macros.
26942 * sysdeps/i386/i686/memmove.S (memmove): Likewise.
26943 * sysdeps/i386/i686/mempcpy.S (mempcpy): Likewise.
26944 * sysdeps/i386/i686/memset.S (memset): Likewise.
26945 * sysdeps/i386/i686/strcmp.S (strcmp): Likewise.
26946 (strcmp) [!__BOUNDED_POINTERS__]: Make code unconditional.
26947 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
26948 * sysdeps/i386/i686/strtok.S (save_ptr) [__BOUNDED_POINTERS__]:
26949 Likewise.
26950 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
26951 (FUNCTION): Do not use removed macros. Combine labels L(1_1),
26952 L(1_2) and L(1_3) into L(1).
26953 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
26954 * sysdeps/i386/lshift.S (__mpn_lshift): Do not use removed macros.
26955 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
26956 * sysdeps/i386/memchr.S (__memchr): Do not use removed macros.
26957 (__memchr) [__BOUNDED_POINTERS__]: Remove conditional code.
26958 * sysdeps/i386/memcmp.S (memcmp): Do not use removed macros.
26959 * sysdeps/i386/mul_1.S (__mpn_mul_1): Likewise.
26960 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
26961 * sysdeps/i386/rawmemchr.S (__rawmemchr): Do not use removed
26962 macros.
26963 * sysdeps/i386/rshift.S (__mpn_rshift): Likewise.
26964 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
26965 * sysdeps/i386/setjmp.S (__sigsetjmp): Do not use removed macros.
26966 * sysdeps/i386/stpcpy.S (__stpcpy): Likewise.
26967 * sysdeps/i386/stpncpy.S (__stpncpy): Likewise.
26968 (__stpncpy) [__BOUNDED_POINTERS__]: Remove conditional code.
26969 * sysdeps/i386/strchr.S (strchr): Do not use removed macros.
26970 * sysdeps/i386/strchrnul.S (__strchrnul): Likewise.
26971 * sysdeps/i386/strcspn.S (strcspn): Likewise.
26972 * sysdeps/i386/strpbrk.S (strpbrk): Likewise.
26973 * sysdeps/i386/strrchr.S (strrchr): Likewise.
26974 * sysdeps/i386/strspn.S (strspn): Likewise.
26975 * sysdeps/i386/strtok.S (save_ptr) [__BOUNDED_POINTERS__]: Remove
26976 conditional code.
26977 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
26978 (FUNCTION) [!__BOUNDED_POINTERS__]: Likewise.
26979 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
26980 (FUNCTION): Do not use removed macros. Combine labels L(1_2) and
26981 L(1_3) into L(1_1).
26982 * sysdeps/i386/sub_n.S (__mpn_sub_n): Do not use removed macros.
26983 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
26984 * sysdeps/i386/submul_1.S (__mpn_submul_1): Do not use removed
26985 macros.
26986 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
26987
2389741a
JJ
269882013-02-19 Jakub Jelinek <jakub@redhat.com>
26989
26990 * stdlib/strtod_l.c (__mpn_lshift_1): Rewritten as function-like
26991 macro.
26992
2016b3cd
SP
269932013-02-19 Siddhesh Poyarekar <siddhesh@redhat.com>
26994
e4f22324
SP
26995 * math/atest-exp.c (exp_mpn): Remove ROUND.
26996 * math/atest-exp2.c (exp_mpn): Likewise.
26997 * math/atest-sincos.c (sincosx_mpn): Remove ROUND and CHK.
26998
2016b3cd
SP
26999 * stdlib/cxa_thread_atexit_impl.c: Fix Copyright year.
27000 * stdlib/tst-tls-atexit-lib.c: Likewise.
27001 * stdlib/tst-tls-atexit.c: Likewise.
27002
4be9b544
MF
270032013-02-18 Mike Frysinger <vapier@gentoo.org>
27004
27005 * stdlib/stdlib.h (aligned_alloc): Use __attribute_malloc__
27006 and __attribute_alloc_size__.
27007
2f62b9ee
MF
270082013-02-18 Mike Frysinger <vapier@gentoo.org>
27009
27010 * include/programs/xmalloc.h: Change __attribute_alloc_size to
27011 __attribute_alloc_size__.
27012 * include/sys/cdefs.h (__attribute_alloc_size): Macro removed.
27013 * misc/sys/cdefs.h (__attribute_alloc_size__): New macro.
27014
6ff444c4
MF
270152013-02-18 Mike Frysinger <vapier@gentoo.org>
27016
27017 * include/programs/xmalloc.h: New file.
27018 * catgets/gencat.c: Include it.
27019 (xmalloc, xcalloc, xrealloc, xstrdup): Don't declare them.
27020 * elf/pldd.c: Likewise.
27021 * iconv/iconv_charmap.c: Likewise.
27022 * iconv/iconvconfig.c: Likewise.
27023 * iconv/strtab.c: Likewise.
27024 * locale/programs/locale.c: Likewise.
27025 * locale/programs/localedef.h: Likewise.
27026 * locale/programs/simple-hash.c: Likewise.
27027 * nscd/nscd.h: Likewise.
27028 * nss/makedb.c: Likewise.
27029 * sysdeps/generic/ldconfig.h: Likewise.
27030
be179c8a
SP
270312013-02-18 Siddhesh Poyarekar <siddhesh@redhat.com>
27032
ba384f6e
SP
27033 * Versions.def: Add GLIBC_2.18.
27034 * include/link.h (struct link_map): New member l_tls_dtor_count.
27035 * include/stdlib.h (__cxa_thread_atexit_impl): Declare.
27036 (__call_tls_dtors): Likewise.
27037 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add
27038 __cxa_thread_atexit_impl.
27039 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
27040 Likewise.
27041 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
27042 Likewise.
27043 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
27044 Likewise.
27045 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
27046 Likewise.
27047 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
27048 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist:
27049 Likewise.
27050 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist:
27051 Likewise.
27052 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
27053 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
27054 Likewise.
27055 * stdlib/Makefile (routines): Add __cxa_thread_atexit_impl.
27056 (tests): Add test case tst-tls-atexit.
27057 (modules-names): Add shared library for tst-tls-atexit.
85891aca 27058 * stdlib/Versions (GLIBC_2.18): Add __cxa_thread_atexit_impl.
ba384f6e
SP
27059 (GLIBC_PRIVATE): Add __call_tls_dtors.
27060 * stdlib/cxa_thread_atexit_impl.c: New file with helper function
27061 for libstdc++.
27062 * stdlib/exit.c (__run_exit_handlers): Call __call_tls_dtors.
27063 * stdlib/tst-tls-atexit.c: New test case.
27064 * stdlib/tst-tls-atexit-lib.c: New test case.
27065
ffaa74cf 27066 * misc/tst-pselect.c: Include stdlib.h for declaration of exit.
ffaa74cf 27067
be179c8a
SP
27068 * elf/Versions (ld): Add _dl_find_dso_for_object.
27069 * elf/dl-addr.c (_dl_addr): Use _dl_find_dso_for_object.
27070 * elf/dl-open.c (_dl_find_dso_for_object): New function.
27071 (dl_open_worker): Use _dl_find_dso_for_object.
27072 * elf/dl-sym.c (do_sym): Likewise.
27073 * sysdeps/generic/ldsodefs.h: Declare _dl_find_dso_for_object.
27074
f78b5caa
AK
270752013-02-18 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
27076
27077 * sysdeps/s390/s390-64/dl-trampoline.S (_dl_runtime_resolve):
27078 Syntactic changes only.
27079 (_dl_runtime_profile): Do a tail-call to the resolved function.
27080
29691210
JM
270812013-02-17 Joseph Myers <joseph@codesourcery.com>
27082
27083 [BZ #13550]
27084 * sysdeps/x86_64/bp-asm.h: Remove file.
27085 * sysdeps/unix/sysv/linux/x86_64/clone.S: Do not include
27086 <bp-sym.h> and <bp-asm.h>.
27087 (__clone): Do not use BP_SYM.
27088 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Do not include
27089 <bp-sym.h> and <bp-asm.h>.
27090 * sysdeps/unix/x86_64/sysdep.S: Likewise.
27091 * sysdeps/x86_64/bsd-_setjmp.S: Do not include "bp-sym.h" and
27092 "bp-asm.h".
27093 (_setjmp): Do not use BP_SYM.
27094 * sysdeps/x86_64/bsd-setjmp.S: Do not include "bp-sym.h" and
27095 "bp-asm.h".
27096 (setjmp): Do not use BP_SYM.
27097 * sysdeps/x86_64/mempcpy.S (__mempcpy): Do not use BP_SYM in
27098 libc_hidden_def.
27099 (mempcpy): Do not use BP_SYM in weak_alias.
27100 * sysdeps/x86_64/rtld-strchr.S: Do not include "bp-sym.h" and
27101 "bp-asm.h".
27102 (strchr): Do not use BP_SYM.
27103 * sysdeps/x86_64/rtld-strlen.S: Do not include "bp-sym.h" and
27104 "bp-asm.h".
27105 * sysdeps/x86_64/setjmp.S (__sigsetjmp): Do not use BP_SYM.
27106 * sysdeps/x86_64/start.S: Do not include "bp-sym.h".
27107 (_start): Do not use BP_SYM.
27108 * sysdeps/x86_64/strcat.S: Do not include "bp-sym.h" and
27109 "bp-asm.h".
27110 (strcat): Do not use BP_SYM.
27111 * sysdeps/x86_64/strcmp.S: Do not include "bp-sym.h" and
27112 "bp-asm.h".
27113 (STRCMP): Do not use BP_SYM.
27114 * sysdeps/x86_64/strcpy.S: Do not include "bp-sym.h" and
27115 "bp-asm.h".
27116 (STRCPY): Do not use BP_SYM.
27117 * sysdeps/x86_64/strcpy_chk.S: Do not include "bp-sym.h" and
27118 "bp-asm.h".
27119 * sysdeps/x86_64/strtok.S: Do not include "bp-sym.h" and
27120 "bp-asm.h".
27121 (FUNCTION): Do not use BP_SYM.
27122 * sysdeps/x86_64/strtok_r.S (strtok_r): Do not use BP_SYM in
27123 weak_alias.
27124 (__GI___strtok_r): Do not use BP_SYM in strong_alias.
27125
f238fd19
AJ
271262013-02-17 Andreas Jaeger <aj@suse.de>
27127
27128 * time/Versions: Sort entries.
27129 * string/Versions: Likewise.
27130 * resolv/Versions: Likewise.
27131 * posix/Versions: Likewise.
27132 * iconv/Versions: Likewise.
27133 * elf/Versions: Likewise.
27134 * wcsmbs/Versions: Likewise.
27135
bd07f23c 271362013-02-15 Siddhesh Poyarekar <siddhesh@redhat.com>
4709fe76 27137
22af19f9
SP
27138 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Avoid using LIM in
27139 loop termination condition.
27140
4709fe76
SP
27141 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Use intermediate
27142 variable to calculate EZ.
27143 (__sqr): Likewise.
2d0e0f29
SP
27144
27145 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Fix determination of
27146 the lower precision input.
27147
daaa7713
JM
271482013-02-15 Joseph Myers <joseph@codesourcery.com>
27149
27150 [BZ #13550]
27151 * Makeconfig [!+link-bounded] (+link-bounded): Remove variable.
27152 [!link-extra-libs] (link-extra-libs-bounded): Likewise.
27153 (run-via-rtld-prefix): Do not handle %-bp tests.
27154 (test-via-rtld-prefix): Do not mention %-bp tests in comment.
27155 (all-object-suffixes): Remove .ob.
27156 (bppfx): Remove variable.
27157 [$(build-bounded) = yes] (object-suffixes): Do not add .ob.
27158 [$(build-bounded) = yes] (CPPFLAGS-.ob): Remove variable.
27159 [$(build-bounded) = yes] (CFLAGS-.ob): Likewise.
27160 [$(build-bounded) = yes] (libtype.ob): Likewise.
27161 * Makerules (elide-routines.ob): Remove variable.
27162 (do-tests-clean): Do not handle *-bp.out.
27163 (common-mostlyclean): Do not handle *-bp and *-bp.out.
27164 * Rules [$(build-bounded) = yes] (tests-bp.out): Remove variable.
27165 [$(build-bounded) = yes] (xtests-bp.out): Likewise.
27166 (tests): Do not include $(tests-bp.out).
27167 (xtests): Do not include $(xtests-bp.out).
27168 [$(build-bounded) = yes] (binaries-bounded): Remove variable.
27169 [$(build-bounded) = yes] ($(addprefix
27170 $(objpfx),$(binaries-bounded))): Remove rule.
27171 ($(objpfx)%-bp.out): Remove rule.
27172 * config.make.in (build-bounded): Remove variable.
27173 * crypt/Makefile [$(build-bounded) = yes]
27174 ($(tests:%=$(objpfx)%-bp)): Remove dependency.
27175 * csu/Makefile [$(build-bounded) = yes] (extra-objs): Do not
27176 append to variable.
27177 [$(build-bounded) = yes] (install-lib): Likewise.
27178 [$(build-bounded) = yes] (generated): Likewise.
27179 [!start-installed-name-rule] ($(objpfx)b$(start-installed-name)):
27180 Remove rule.
27181 * intl/Makefile [$(build-bounded) = yes]
27182 ($(multithread-test-srcs:%=$(objpfx)%-bp)): Remove dependency.
27183 * math/Makefile [$(build-bounded) = yes]
27184 ($(tests:%=$(objpfx)%-bp): Likewise.
27185 * misc/Makefile [$(build-bounded) = yes]
27186 ($(objpfx)tst-tsearch-bp): Likewise.
27187 * nptl/Makeconfig (bounded-thread-library): Remove variable.
27188 * rt/Makefile [$(build-bounded) = yes] ($(tests:%=$(objpfx)%-bp)):
27189 Remove dependency.
27190 * string/Makefile (o-objects.ob): Remove variable.
27191 * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]
27192 (CFLAGS-.ob): Remove variable.
27193 [$(config-asflags-i686) = yes] (ASFLAGS-.ob): Likewise.
27194 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.ob): Remove
27195 both definitions of variable.
27196 * sysdeps/sparc/sparc64/Makefile [$(have-as-vis3) = yes]
27197 (ASFLAGS-.ob): Remove variable.
27198
e97ed6dd
JM
271992013-02-14 Joseph Myers <joseph@codesourcery.com>
27200
2bdd4ca6
JM
27201 [BZ #13550]
27202 * config.h.in [USE_REGPARMS && !PROF && !__BOUNDED_POINTERS__]:
27203 Remove __BOUNDED_POINTERS__ from condition.
27204 * elf/dl-runtime.c [!PROF && !__BOUNDED_POINTERS__]: Likewise.
27205 * string/bits/string2.h [!__NO_STRING_INLINES &&
27206 !__BOUNDED_POINTERS__]: Likewise.
27207 * sysdeps/i386/dl-machine.h [!PROF && !__BOUNDED_POINTERS__]:
27208 Likewise.
27209 * sysdeps/unix/sysv/linux/shmat.c (shmat) [__BOUNDED_POINTERS__]:
27210 Remove conditional code.
27211 * sysdeps/x86/bits/string.h [!__NO_STRING_INLINES &&
27212 __USE_STRING_INLINES && __GNUC__ && __GNUC__ >= 2 &&
27213 !__BOUNDED_POINTERS__]: Remove __BOUNDED_POINTERS__ from
27214 condition.
27215
e97ed6dd
JM
27216 [BZ #13550]
27217 * csu/libc-start.c: Do not include <bp-sym.h>.
27218 [!LIBC_START_MAIN] (LIBC_START_MAIN): Do not use BP_SYM.
27219 * elf/dl-open.c: Do not include <bp-sym.h>.
27220 (_dl_sysdep_start): Do not use BP_SYM in weak_extern.
27221 * math/fegetenv.c: Do not include <bp-sym.h>.
27222 (fegetenv): Do not use BP_SYM in versioned symbols.
27223 * nptl/sysdeps/pthread/bits/libc-lockP.h
27224 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]: Do not include
27225 <bp-sym.h>.
27226 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
27227 (__pthread_mutex_init): Do not use BP_SYM in weak_extern.
27228 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
27229 (__pthread_mutex_destroy): Likewise.
27230 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
27231 (__pthread_mutex_lock): Likewise.
27232 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
27233 (__pthread_mutex_trylock): Likewise.
27234 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
27235 (__pthread_mutex_unlock): Likewise.
27236 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
27237 (__pthread_mutexattr_init): Likewise.
27238 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
27239 (__pthread_mutexattr_destroy): Likewise.
27240 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
27241 (__pthread_mutexattr_settype): Likewise.
27242 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
27243 (__pthread_rwlock_init): Likewise.
27244 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
27245 (__pthread_rwlock_destroy): Likewise.
27246 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
27247 (__pthread_rwlock_rdlock): Likewise.
27248 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
27249 (__pthread_rwlock_tryrdlock): Likewise.
27250 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
27251 (__pthread_rwlock_wrlock): Likewise.
27252 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
27253 (__pthread_rwlock_trywrlock): Likewise.
27254 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
27255 (__pthread_rwlock_unlock): Likewise.
27256 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
27257 (__pthread_key_create): Likewise.
27258 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
27259 (__pthread_setspecific): Likewise.
27260 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
27261 (__pthread_getspecific): Likewise.
27262 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern] (__pthread_once):
27263 Likewise.
27264 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
27265 (_pthread_cleanup_push_defer): Likewise.
27266 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
27267 (_pthread_cleanup_pop_restore): Likewise.
27268 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
27269 (pthread_setcancelstate): Likewise.
27270 * string/memchr.c [HAVE_BP_SYM_H || _LIBC]: Do not include
27271 <bp-sym.h>.
27272 [!(HAVE_BP_SYM_H || _LIBC)] (BP_SYM): Remove macro definition.
27273 (memchr): Do not use BP_SYM in weak_alias.
27274 * sysdeps/i386/fpu/fegetenv.c: Do not include <bp-sym.h>.
27275 (fegetenv): Do not use BP_SYM in versioned symbols.
27276 * sysdeps/i386/fpu/fesetenv.c: Do not include <bp-sym.h>.
27277 (fesetenv): Do not use BP_SYM in versioned symbols.
27278 * sysdeps/i386/fpu/feupdateenv.c: Do not include <bp-sym.h>.
27279 (feupdateenv): Do not use BP_SYM in versioned symbols.
27280 * sysdeps/i386/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
27281 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
27282 * sysdeps/posix/open64.c: Do not include <bp-sym.h>.
27283 (__open64): Do not use BP_SYM in weak_alias and libc_hidden_weak.
27284 (open64): Do not use BP_SYM in weak_alias.
27285 * sysdeps/powerpc/fpu/fegetenv.c: Do not include <bp-sym.h>.
27286 (fegetenv): Do not use BP_SYM in versioned symbols.
27287 * sysdeps/powerpc/fpu/fesetenv.c: Do not include <bp-sym.h>.
27288 (fesetenv): Do not use BP_SYM in versioned symbols.
27289 * sysdeps/powerpc/fpu/feupdateenv.c: Do not include <bp-sym.h>.
27290 (feupdateenv): Do not use BP_SYM in versioned symbols.
27291 * sysdeps/powerpc/fpu/fgetexcptflg.c: Do not include <bp-sym.h>.
27292 (fegetexceptflag): Do not use BP_SYM in versioned symbols.
27293 * sysdeps/powerpc/fpu/fraiseexcpt.c: Do not include <bp-sym.h>.
27294 (feraiseexcept): Do not use BP_SYM in versioned symbols.
27295 * sysdeps/powerpc/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
27296 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
27297 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Do not include
27298 <bp-sym.h>.
27299 (__libc_start_main): Do not use BP_SYM.
27300
d6752ccd
SP
273012013-02-14 Siddhesh Poyarekar <siddhesh@redhat.com>
27302
cb57ce60
SP
27303 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cpy): Remove
27304 redundant return line.
27305 (norm): Likewise.
27306 (denorm): Likewise.
27307 (dbl_mp): Likewise.
27308 (sub_magnitudes): Likewise.
27309 (__add): Likewise.
27310 (__sub): Likewise.
27311 (__mul): Likewise.
27312 (__inv): Likewise.
27313 (__dvd): Likewise.
27314 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cpy): Likewise.
27315 (norm): Likewise.
27316 (denorm): Likewise.
27317 (dbl_mp): Likewise.
27318 (sub_magnitudes): Likewise.
27319 (__add): Likewise.
27320 (__sub): Likewise.
27321 (__mul): Likewise.
27322 (__inv): Likewise.
27323 (__dvd): Likewise.
27324
f414520d
SP
27325 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __sqr
27326 instead of __mul.
27327 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
27328 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Likewise.
27329 (cc32): Likewise.
27330
d6752ccd
SP
27331 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): New function.
27332 * sysdeps/ieee754/dbl-64/mpa.h (__sqr): Declare.
27333 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): use __sqr instead
27334 of __mul for squares.
27335 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__sqr): New
27336 function
27337 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__sqr):
27338 Likewise.
27339 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define __sqr.
27340 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
27341
70d9946a
JM
273422013-02-13 Joseph Myers <joseph@codesourcery.com>
27343
27344 [BZ #13550]
27345 * misc/sys/cdefs.h [!__BOUNDED_POINTERS__]: Remove conditional
27346 code.
27347 * csu/libc-start.c (LIBC_START_MAIN): Do not use __unbounded in
27348 prototype or function definition. Rename ubp_* variables and
27349 parameters. Remove argv definitions conditional on
27350 [__BOUNDED_POINTERS__].
27351 * debug/backtrace.c (__backtrace): Do not use __unbounded.
27352 * elf/dl-runtime.c (_dl_fixup): Likewise.
27353 * include/set-hooks.h (RUN_HOOK): Likewise.
27354 * stdio-common/vfprintf.c (JUMP): Do not use __unbounded in either
27355 definition.
27356 * string/strcpy.c (strcpy): Do not use __unbounded.
27357 * sysdeps/generic/frame.h (struct layout): Likewise.
27358 * sysdeps/gnu/bits/msq.h (struct msqid_ds): Likewise.
27359 * sysdeps/i386/dl-machine.h (_dl_fixup): Likewise.
27360 * sysdeps/powerpc/powerpc32/backtrace.c (struct layout): Likewise.
27361 * sysdeps/powerpc/powerpc64/backtrace.c (struct layout): Likewise.
27362 * sysdeps/sparc/backtrace.c (struct layout): Likewise.
27363 (__backtrace): Likewise.
27364 * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Do not
27365 use __ptrvalue.
27366 * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
27367 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
27368 * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
27369 Likewise.
27370 * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Likewise.
27371 * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Likewise.
27372 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
27373 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
27374 * sysdeps/unix/sysv/linux/i386/msgctl.c (struct __old_msqid_ds):
27375 Do not use __unbounded.
27376 * sysdeps/unix/sysv/linux/i386/setrlimit.c (__new_setrlimit):
27377 Rename __unboundedrlimits parameter to rlimits in prototype.
27378 * sysdeps/unix/sysv/linux/i386/shmctl.c (struct __old_shmid_ds):
27379 Do not use __unbounded.
27380 * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction): Do
27381 not use __ptrvalue.
27382 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
27383 * sysdeps/unix/sysv/linux/llseek.c (__llseek): Likewise.
27384 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
27385 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Do not use
27386 __ptrvalue or __unbounded.
27387 (__mmap64) [__BOUNDED_POINTERS__]: Remove conditional code.
27388 * sysdeps/unix/sysv/linux/msgctl.c (struct __old_msqid_ds): Do not
27389 use __unbounded.
27390 (__new_msgctl): Do not use __ptrvalue.
27391 * sysdeps/unix/sysv/linux/msgrcv.c (struct ipc_kludge): Do not use
27392 __unbounded.
27393 (__libc_msgrcv): Do not use __ptrvalue.
27394 * sysdeps/unix/sysv/linux/powerpc/libc-start.c (struct
27395 startup_info): Do not use __unbounded.
27396 (__libc_start_main): Likewise. Rename ubp_* variables and
27397 parameters. Remove argv definitions conditional on
27398 [__BOUNDED_POINTERS__].
27399 * sysdeps/unix/sysv/linux/ptrace.c (ptrace): Do not use
27400 __ptrvalue.
27401 * sysdeps/unix/sysv/linux/semctl.c (struct __old_semid_ds): Do not
27402 use __unbounded.
27403 * sysdeps/unix/sysv/linux/shmat.c (shmat): Do not use __unbounded
27404 or __ptrvalue.
27405 * sysdeps/unix/sysv/linux/shmctl.c (struct __old_shmid_ds): Do not
27406 use __unbounded.
27407 (__new_shmctl): Do not use __ptrvalue.
27408 * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
27409 * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
27410 Likewise.
27411 * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
27412 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c
27413 (__libc_sigaction): Likewise.
27414 * sysdeps/unix/sysv/linux/sysctl.c (__sysctl): Likewise.
27415 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (__libc_sigaction):
27416 Likewise.
27417 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
27418
cc7834d6
OB
274192013-02-13 Ondřej Bílka <neleai@seznam.cz>
27420
ffb1ec7b 27421 * stdlib/Makefile (headers): Add bits/stdlib-bsearch.h.
170704c9
OB
27422
27423 * string/mempcpy.c: Implement by calling memcpy.
27424
bdf02814
SP
274252013-02-13 Siddhesh Poyarekar <siddhesh@redhat.com>
27426
c2af38aa
SP
27427 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove NFA.
27428
4e92d59e
SP
27429 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Faster polynomial
27430 evaluation.
27431
909279a5
SP
27432 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Don't bother with zero
27433 values in the mantissa.
27434
bdf02814
SP
27435 * sysdeps/ieee754/dbl-64/mpa.c (add_magnitudes): Use ZK to
27436 minimize writes to Z.
27437 (sub_magnitudes): Simplify code a bit.
27438
cd525923
RM
274392013-02-12 Roland McGrath <roland@hack.frob.com>
27440
27441 * include/libc-symbols.h (stub_warning): Remove "warning: " prefix
27442 from the message. The linker prefixes all warnings with that already.
27443
7e2f0d2d
AS
274442013-02-12 Andreas Schwab <schwab@suse.de>
27445
a445af0b
AS
27446 [BZ #15078]
27447 * posix/regexec.c (extend_buffers): Add parameter min_len.
27448 (check_matching): Pass minimum needed length.
27449 (clean_state_log_if_needed): Likewise.
27450 (get_subexp): Likewise.
27451 * posix/Makefile (tests): Add bug-regex34.
27452 (bug-regex34-ENV): Define.
27453 * posix/bug-regex34.c: New file.
27454
7e2f0d2d
AS
27455 [BZ #11561]
27456 * posix/regcomp.c (parse_bracket_exp): When looking up collating
27457 elements compare against the byte sequence of it, not its name.
27458 * posix/Makefile (tests): Add bug-regex35.
27459 (bug-regex35-ENV): Define.
27460 * posix/bug-regex35.c: New file.
27461
a175b684
TV
274622013-02-11 Tom de Vries <tom@codesourcery.com>
27463
27464 * string/str-two-way.h: Fix typo RESULT_TYPE -> RETURN_TYPE in
27465 comment.
27466 Add RET0_IF_0 and CHECK_EOL to macro list in comment.
27467 (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J): Remove superfluous undef.
27468 (CHECK_EOL): Add undef.
27469
310998fe 274702013-02-11 Ondřej Bílka <neleai@seznam.cz>
41eda41d
OB
27471
27472 * bits/stdlib-bsearch.h: New file.
27473 * stdlib/bsearch.c: Include bits/stdlib-bsearch.h.
310998fe 27474 * stdlib/stdlib.h: Likewise.
41eda41d 27475
8ded91fb
RM
274762013-02-11 Roland McGrath <roland@hack.frob.com>
27477
27478 * manual/conf.texi (General Limits): Fix SSIZE_MAX type to ssize_t.
27479 * manual/errno.texi (Error Messages): Fix typo in error_print_progname
27480 declaration.
27481 * manual/search.texi (Array Search Function): Add missing const in
27482 lfind prototype.
27483 * manual/resource.texi (Limits on Resources): Fix RLIM_INFINITY
27484 declaration to use rlim_t.
27485 (Basic Scheduling Functions): Remove erroneous const from
27486 sched_getparam prototype. Remove erroneous * from
27487 sched_get_priority_max and sched_get_priority_min prototypes.
27488 (Resource Usage): Fix summary @comment on vtimes to refer to
27489 sys/vtimes.h rather than vtimes.h.
27490 Add missing *s in vtimes prototype.
27491 (Limits on Resources): Fix ulimit prototype to return long int.
27492 * manual/math.texi (SVID Random): Fix lrand48_r and mrand48_r
27493 prototypes to use long int rather than double.
27494 (BSD Random): Fix initstate and setstate to use char *, not void *.
27495 * manual/llio.texi (Asynchronous Reads/Writes): Fix lio_listio64
27496 prototype to make second argument 'struct aiocb64 *const[]'.
27497 Fix aio_read64 and aio_write64 prototypes to use struct aiocb64.
27498 (Status of AIO Operations): Remove erroneous const in aio_return and
27499 aio_return64 prototypes.
27500 (Synchronizing I/O): Fix sync prototype to return void.
27501 * manual/startup.texi (Suboptions): Remove an erroneous const in
27502 getsubopt prototype.
27503 * manual/getopt.texi (Using Getopt): Add a const in getopt prototype.
27504 * manual/users.texi (Lookup Netgroup): Fix getnetgrent_r prototype to
27505 use size_t rather than int.
27506 (Scanning All Users): Likewise for getpwent_r.
27507 (Setting Groups): Add missing const to setgroups prototype.
27508 * manual/sysinfo.texi (mtab): Fix typo in getmntent_r prototype.
27509 * manual/socket.texi (Host Names): Fix gethostbyaddr and
27510 gethostbyaddr_r prototypes to use socklen_t rather than size_t and
27511 'const void *' rather than 'const char *'.
27512 (Host Address Functions): Likewise for inet_ntop.
27513 (Networks Database): Fix getnetbyaddr prototype to use uint32_t.
27514 (Receiving Data): Fix recv, recvfrom, recvmsg prototypes to use
27515 ssize_t for return value.
27516 (Sending Data): Likewise for send, sendto, sendmsg.
27517 (Socket Option Functions): Add a missing const in setsockopt prototype.
27518 * manual/stdio.texi (Simple Output): Fix fputwc_unlocked prototype to
27519 use wchar_t for the argument.
27520 (Formatted Input Functions): Fix swscanf prototype to use wchar_t *.
27521 * manual/arith.texi (Control Functions): Fix fegetexcept prototype to
27522 take no arguments.
27523 (Normalization Functions): Fix scalb, scalbf, scalbl prototypes to use
27524 double/float/long double for second argument.
27525 Fix return types of significand, significandf, significandl.
27526 * manual/filesys.texi (Setting Permissions): Use mode_t for second
27527 argument in fchmod prototype.
27528 (File Owner): Use uid_t and gid_t in fchown prototype.
27529 (File Times): Add const to utimes, futimes, and lutimes prototypes.
27530 (Making Special Files): Use mode_t and dev_t in mknod prototype.
27531 (Scanning Directory Content): Fix scandir and scandir64 prototypes to
27532 use 'const struct dirent **' as argument types to CMP function pointer
27533 argument.
27534 (Symbolic Links): Fix readlink prototype with ssize_t as return value.
27535 (File Times): Fix summary magic @comment for struct utimbuf and utime
27536 to refer to utime.h, not time.h.
27537 * manual/string.texi (Argz Functions): Add missing const in
27538 argz_extract and argz_next prototypes.
27539 (Finding Tokens in a String): Likewise for basename.
27540 (String/Array Comparison): Fix typo in wcscasecmp prototype.
27541 (Copying and Concatenation): Fix typo in wmemmove prototype.
27542 * manual/signal.texi (Using Pause): Use (void) in pause prototype.
27543 (Signal Stack): Remove erroneous const in sigstack prototype.
27544 * manual/time.texi (Setting an Alarm): Add missing const in setitimer
27545 prototype.
27546 (Simple Calendar Time): Likewise for stime.
27547 * manual/terminal.texi (BSD Terminal Modes): Add missing const in stty
27548 prototype.
27549 * manual/sysinfo.texi (System Parameters): Fix mentions of sysctl.h to
27550 say sys/sysctl.h instead.
27551 * manual/syslog.texi (syslog; vsyslog): Add missing const in syslog
27552 and vsyslog prototypes.
27553
fe77fe6d
TV
275542013-02-11 Tom de Vries <tom@codesourcery.com>
27555
27556 * string/Makefile (CFLAGS-bug-strstr1.c, CFLAGS-bug-strcasestr1.c):
27557 Remove.
27558
3a09b620
RM
275592013-02-11 Roland McGrath <roland@hack.frob.com>
27560
27561 * misc/sys/mman.h: Fix typo in mremap comment.
27562
550a0b89
RM
275632013-02-08 Roland McGrath <roland@hack.frob.com>
27564
27565 * manual/examples/mkfsock.c (make_named_socket): Don't add one for
27566 the '\0' terminator.
27567
a2da1673
JM
275682013-02-08 Joseph Myers <joseph@codesourcery.com>
27569
27570 [BZ #13550]
27571 * debug/segfault.c: Don't include <bp-checks.h>.
27572 * sysdeps/generic/bp-checks.h: Remove file.
27573 * sysdeps/unix/sysv/linux/getdents.c: Don't include <bp-checks.h>.
27574 (__GETDENTS): Don't use CHECK_N.
27575 * sysdeps/unix/sysv/linux/i386/brk.c: Don't include <bp-checks.h>.
27576 * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
27577 (__getgroups): Don't use CHECK_N.
27578 * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
27579 (setgroups): Don't use CHECK_N.
27580 * sysdeps/unix/sysv/linux/mmap64.c: Don't include <bp-checks.h>.
27581 * sysdeps/unix/sysv/linux/msgrcv.c: Likewise.
27582 (__libc_msgrcv): Don't use CHECK_N.
27583 * sysdeps/unix/sysv/linux/msgsnd.c: Don't include <bp-checks.h>.
27584 (__libc_msgsnd): Don't use CHECK_N.
27585 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Don't include
27586 <bp-checks.h>.
27587 (__libc_pread): Don't use CHECK_N.
27588 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Don't
27589 include <bp-checks.h>.
27590 (__libc_pread64): Don't use CHECK_N.
27591 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Don't
27592 include <bp-checks.h>.
27593 (__libc_pwrite): Don't use CHECK_N.
27594 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Don't
27595 include <bp-checks.h>.
27596 (__libc_pwrite64): Don't use CHECK_N.
27597 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Don't include
27598 <bp-checks.h>.
27599 (__libc_pread): Don't use CHECK_N.
27600 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Don't
27601 include <bp-checks.h>.
27602 (__libc_pread64): Don't use CHECK_N.
27603 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Don't
27604 include <bp-checks.h>.
27605 (__libc_pwrite): Don't use CHECK_N.
27606 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Don't
27607 include <bp-checks.h>.
27608 (__libc_pwrite64): Don't use CHECK_N.
27609 * sysdeps/unix/sysv/linux/pread.c: Don't include <bp-checks.h>.
27610 (do_pread): Don't use CHECK_N.
27611 * sysdeps/unix/sysv/linux/pread64.c: Don't include <bp-checks.h>.
27612 (do_pread64): Don't use CHECK_N.
27613 * sysdeps/unix/sysv/linux/pwrite.c: Don't include <bp-checks.h>.
27614 (do_pwrite): Don't use CHECK_N.
27615 * sysdeps/unix/sysv/linux/pwrite64.c: Don't include <bp-checks.h>.
27616 (do_pwrite64): Don't use CHECK_N.
27617 * sysdeps/unix/sysv/linux/readv.c: Don't include <bp-checks.h>.
27618 (__libc_readv): Don't use CHECK_N.
27619 * sysdeps/unix/sysv/linux/semop.c: Don't include <bp-checks.h>.
27620 (semop): Don't use CHECK_N.
27621 * sysdeps/unix/sysv/linux/semtimedop.c: Don't include
27622 <bp-checks.h>.
27623 (semtimedop): Don't use CHECK_N.
27624 * sysdeps/unix/sysv/linux/sh/pread.c: Don't include <bp-checks.h>.
27625 (__libc_pread): Don't use CHECK_N.
27626 * sysdeps/unix/sysv/linux/sh/pread64.c: Don't include
27627 <bp-checks.h>.
27628 (__libc_pread64): Don't use CHECK_N.
27629 * sysdeps/unix/sysv/linux/sh/pwrite.c: Don't include
27630 <bp-checks.h>.
27631 (__libc_pwrite): Don't use CHECK_N.
27632 * sysdeps/unix/sysv/linux/sh/pwrite64.c: Don't include
27633 <bp-checks.h>.
27634 (__libc_pwrite64): Don't use CHECK_N.
27635 * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c: Don't include
27636 <bp-checks.h>.
27637 (__libc_msgrcv): Don't use CHECK_N.
27638 * sysdeps/unix/sysv/linux/sysctl.c: Don't include <bp-checks.h>.
27639 (__sysctl): Don't use CHECK_N. Remove GKM FIXME comment.
27640 * sysdeps/unix/sysv/linux/writev.c: Don't include <bp-checks.h>.
27641 (__libc_writev): Don't use CHECK_N.
27642
b84660a8
RM
276432013-02-08 Roland McGrath <roland@hack.frob.com>
27644
7f3e75f8
RM
27645 * string/strcpy.c: Removed unused variable.
27646
b84660a8
RM
27647 * Makeconfig (+sysdep-includes): Define with := rather than =.
27648 Use an existing include/ subdir of each sysdeps dir before it.
27649
471514d3
CD
276502013-02-08 Carlos O'Donell <carlos@redhat.com>
27651
27652 * nscd/connection.c (register_traced_file): Comment function.
27653 [HAVE_INOTIFY] (union __inev): Define.
27654 [HAVE_INOTIFY] (inotify_check_files): New function.
27655 [HAVE_INOTIFY] (clear_db_cache): Likewise.
27656 [HAVE_INOTIFY] (main_loop_poll): Call inotify_check_files and
27657 clear_db_cache.
27658 [HAVE_INOTIFY] (main_loop_epoll): Likewise.
27659
b2d3c3be
CD
276602013-02-08 Carlos O'Donell <carlos@redhat.com>
27661
27662 * elf/dl-cache.c (_dl_load_cache_lookup): Comment that cache is
27663 loaded if not already and that a failure is permanent.
27664
b39949d2
CD
276652013-02-08 Carlos O'Donell <carlos@redhat.com>
27666
ddacd1db 27667 [BZ #15006]
b39949d2
CD
27668 * sysdeps/generic/ldconfig.h: Define FLAG_ARM_LIBSF.
27669 * elf/cache.c (print_entry): Add FLAG_ARM_LIBSF support.
27670
b2c9eff4
JM
276712013-02-08 Joseph Myers <joseph@codesourcery.com>
27672
f3aae3f3
JM
27673 [BZ #13550]
27674 * sysdeps/generic/bp-checks.h (CHECK_1): Remove all definitions.
27675 (CHECK_1_NULL_OK): Likewise.
27676 * sysdeps/unix/sysv/linux/fxstat.c: Do not include <bp-checks.h>.
27677 (__fxstat): Do not use CHECK_1.
27678 * sysdeps/unix/sysv/linux/fxstat64.c: Do not include
27679 <bp-checks.h>.
27680 (___fxstat64): Do not use CHECK_1.
27681 * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
27682 <bp-checks.h>.
27683 (__fxstatat): Do not use CHECK_1.
27684 * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
27685 <bp-checks.h>.
27686 (__fxstatat64): Do not use CHECK_1.
27687 * sysdeps/unix/sysv/linux/i386/fxstat.c: Do not include
27688 <bp-checks.h>.
27689 (__fxstat): Do not use CHECK_1.
27690 * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
27691 <bp-checks.h>.
27692 (__fxstatat): Do not use CHECK_1.
27693 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
27694 <bp-checks.h>.
27695 (__getresgid): Do not use CHECK_1.
27696 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
27697 <bp-checks.h>.
27698 (__getresuid): Do not use CHECK_1.
27699 * sysdeps/unix/sysv/linux/i386/lxstat.c: Do not include
27700 <bp-checks.h>.
27701 (__lxstat): Do not use CHECK_1.
27702 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
27703 <bp-checks.h>.
27704 (__old_msgctl): Do not use CHECK_1.
27705 (__new_msgctl): Likewise.
27706 * sysdeps/unix/sysv/linux/i386/setrlimit.c: Do not include
27707 <bp-checks.h>.
27708 (__new_setrlimit): Do not use CHECK_1.
27709 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
27710 <bp-checks.h>.
27711 (__old_shmctl): Do not use CHECK_1.
27712 (__new_shmctl): Likewise.
27713 * sysdeps/unix/sysv/linux/i386/xstat.c: Do not include
27714 <bp-checks.h>.
27715 (__xstat): Do not use CHECK_1.
27716 * sysdeps/unix/sysv/linux/lxstat.c: Do not include <bp-checks.h>.
27717 (__lxstat): Do not use CHECK_1.
27718 * sysdeps/unix/sysv/linux/lxstat64.c: Do not include
27719 <bp-checks.h>.
27720 (___lxstat64): Do not use CHECK_1.
27721 * sysdeps/unix/sysv/linux/msgctl.c: Do not include <bp-checks.h>.
27722 (__old_msgctl): Do not use CHECK_1.
27723 (__new_msgctl): Likewise.
27724 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Do not include
27725 <bp-checks.h>.
27726 (__gettimeofday): Do not use CHECK_1.
27727 * sysdeps/unix/sysv/linux/ptrace.c: Do not include <bp-checks.h>.
27728 (ptrace) [__BOUNDED_POINTERS__]: Remove conditional code.
27729 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Do not include
27730 <bp-checks.h>.
27731 (__gettimeofday): Do not use CHECK_1.
27732 * sysdeps/unix/sysv/linux/shmctl.c: Do not include <bp-checks.h>.
27733 (__old_shmctl): Do not use CHECK_1_NULL_OK.
27734 (__new_shmctl): Do not use CHECK_1.
27735 * sysdeps/unix/sysv/linux/sigtimedwait.c: Do not include
27736 <bp-checks.h>.
27737 (do_sigtimedwait): Do not use CHECK_1.
27738 * sysdeps/unix/sysv/linux/sigwaitinfo.c: Do not include
27739 <bp-checks.h>.
27740 (do_sigwaitinfo): Do not use CHECK_1.
27741 * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Do not include
27742 <bp-checks.h>.
27743 (msgctl): Do not use CHECK_1.
27744 * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Do not include
27745 <bp-checks.h>.
27746 (shmctl): Do not use CHECK_1.
27747 * sysdeps/unix/sysv/linux/ustat.c: Do not include <bp-checks.h>.
27748 (ustat): Do not use CHECK_1.
27749 * sysdeps/unix/sysv/linux/wordsize-64/fxstat.c: Do not include
27750 <bp-checks.h>.
27751 (__fxstat): Do not use CHECK_1.
27752 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
27753 <bp-checks.h>.
27754 (__fxstatat): Do not use CHECK_1.
27755 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c: Do not include
27756 <bp-checks.h>.
27757 (__lxstat): Do not use CHECK_1.
27758 * sysdeps/unix/sysv/linux/wordsize-64/xstat.c: Do not include
27759 <bp-checks.h>.
27760 (__xstat): Do not use CHECK_1.
27761 * sysdeps/unix/sysv/linux/xstat.c: Do not include <bp-checks.h>.
27762 (__xstat): Do not use CHECK_1.
27763 * sysdeps/unix/sysv/linux/xstat64.c: Do not include <bp-checks.h>.
27764 (___xstat64): Do not use CHECK_1.
27765
b2c9eff4
JM
27766 [BZ #13550]
27767 * sysdeps/generic/bp-checks.h (CHECK_BOUNDS_LOW): Remove all
27768 definitions.
27769 (CHECK_BOUNDS_HIGH): Likewise.
27770 * string/strcpy.c: Do not include <bp-checks.h>.
27771 (strcpy): Do not use CHECK_BOUNDS_LOW and CHECK_BOUNDS_HIGH.
27772
f1d70dad
RM
277732013-02-07 Roland McGrath <roland@hack.frob.com>
27774
27775 * nscd/nscd-client.h (__nscd_drop_map_ref):
27776 Add __attribute__ ((unused)).
27777 * nis/nss-nisplus.h (niserr2nss): Likewise.
27778
27779 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Define it only
27780 under [!(USE_AS_STRCASESTR && STRCASESTR_NONASCII)].
27781
27782 * csu/libc-tls.c (init_static_tls, init_slotinfo):
27783 Remove inline keyword.
27784 * include/rounding-mode.h (round_away): Likewise.
27785 * libio/wfileops.c (adjust_wide_data): Likewise.
27786 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Likewise.
27787 (__m128i_strloadu_tolower): Likewise.
27788 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c
27789 (__m128i_strloadu_tolower): Likewise.
27790 * time/mktime.c (ydhms_diff): Likewise.
27791 * locale/elem-hash.h (elem_hash): Likewise.
27792 * locale/setlocale.c (setdata): Likewise.
27793 * posix/regex_internal.h (re_string_char_size_at): Likewise.
27794 (re_string_wchar_at): Likewise.
27795 (bitset_not, bitset_merge, bitset_mask): Likewise.
27796 [!(__GNUC__ > 3)] (inline): Remove macro.
27797 * nscd/nscd-client.h (__nscd_drop_map_ref): Remove inline keyword.
27798 * elf/dl-deps.c (_dl_map_object_deps: preload): Likewise.
27799 * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
27800 (_dl_tlsdesc_wake_up_held_fixups): Likewise.
27801 * string/memcmp.c (memcmp_bytes): Likewise.
27802 * locale/programs/locarchive.c (compute_hashval): Likewise.
27803 * sysdeps/ieee754/dbl-64/x2y2m1.c (mul_split): Likewise.
27804 * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
27805 * resolv/res_send.c (evNowTime, evCmpTime): Likewise.
27806 * nss/getent.c (print_rpc, print_protocols): Likewise.
27807 (print_passwd, print_group, print_aliases): Likewise.
27808 * nis/nss-nisplus.h (niserr2nss): Likewise.
27809 * nscd/connections.c (restart_p): Likewise.
27810 Change return type to bool.
27811
eab55bfb
RM
278122013-02-05 Roland McGrath <roland@hack.frob.com>
27813
7bd642f5
RM
27814 * Makeconfig (all-Depend-files): Add existing
27815 $(sorted-subdirs:=/Depend) files.
27816 (all-subdirs): Remove nss.
27817 * sysdeps/unix/inet/Subdirs: Add it here instead.
27818 * hesiod/Depend: New file.
27819
573c29b2
RM
27820 * elf/dl-hwcaps.c (_dl_important_hwcaps): Use a variable-length array
27821 instead of calling alloca.
27822
b2e25af0
RM
27823 * io/lseek.c (__lseek): Rename to __libc_lseek.
27824 Define __lseek as an alias.
27825
eab55bfb
RM
27826 * sysdeps/generic/malloc-sysdep.h: Include <stdbool.h> and <unistd.h>.
27827
9a0d1941
CD
278282013-02-04 Carlos O'Donell <carlos@redhat.com>
27829
27830 * stdlib/getenv.c (getenv): Assume __BIG_ENDIAN in the
27831 else clause and remove check for non-standard endianness.
27832
b83bbec4
DM
278332013-02-04 David S. Miller <davem@davemloft.net>
27834
27835 * sysdeps/sparc/fpu/libm-test-ulps: Update.
27836
6277fdab
JM
278372013-02-04 Joseph Myers <joseph@codesourcery.com>
27838
27839 [BZ #13550]
27840 * sysdeps/generic/bp-checks.h [__BOUNDED_POINTERS__]
27841 (__ubp_memchr): Remove prototype.
27842 [__BOUNDED_POINTERS__] (_CHECK_STRING): Remove macro.
27843 [__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
27844 [__BOUNDED_POINTERS__] (CHECK_STRING_NULL_OK): Likewise.
27845 [!__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
27846 * sysdeps/i386/memchr.S [!__BOUNDED_POINTERS__] (__ubp_memchr):
27847 Remove alias.
27848 * sysdeps/sparc/sparc32/memchr.S [!__BOUNDED_POINTERS__]
27849 (__ubp_memchr): Likewise.
27850 * sysdeps/sparc/sparc64/memchr.S [!__BOUNDED_POINTERS__]
27851 (__ubp_memchr): Likewise.
27852 * sysdeps/unix/sysv/linux/execve.c: Do not include <bp-checks.h>.
27853 (__execve) [__BOUNDED_POINTERS__]: Remove conditional code.
27854 (__execve) [!__BOUNDED_POINTERS__]: Make code unconditional.
27855 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Do not use
27856 CHECK_STRING.
27857 * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
27858 * sysdeps/unix/sysv/linux/getcwd.c: Do not include <bp-checks.h>.
27859 (__getcwd): Do not use CHECK_STRING.
27860 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
27861 <bp-checks.h>.
27862 (__real_chown): Do not use CHECK_STRING.
27863 * sysdeps/unix/sysv/linux/i386/fchownat.c: Do not include
27864 <bp-checks.h>.
27865 (fchownat): Do not use CHECK_STRING.
27866 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Do not use
27867 CHECK_STRING.
27868 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
27869 <bp-checks.h>.
27870 (__lchown): Do not use CHECK_STRING.
27871 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
27872 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
27873 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
27874 * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
27875 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
27876 include <bp-checks.h>.
27877 (truncate64): Do not use CHECK_STRING.
27878 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
27879 <bp-checks.h>.
27880 (__real_chown): Do not use CHECK_STRING.
27881 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
27882 <bp-checks.h>.
27883 (__lchown): Do not use CHECK_STRING.
27884 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
27885 <bp-checks.h>.
27886 (__chown): Do not use CHECK_STRING.
27887 * sysdeps/unix/sysv/linux/truncate64.c: Do not include
27888 <bp-checks.h>.
27889 (truncate64): Do not use CHECK_STRING.
27890 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c (__lxstat):
27891 Likewise.
27892 * sysdeps/unix/sysv/linux/xmknod.c: Do not include <bp-checks.h>.
27893 (__xmknod): Do not use CHECK_STRING.
27894 * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
27895 <bp-checks.h>.
27896 (__xmknodat): Do not use CHECK_STRING.
27897 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
27898 * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
27899
903ae060
AS
279002013-02-04 Andreas Schwab <schwab@suse.de>
27901
27902 [BZ #14142]
27903 * include/errno.h: Redefine errno only if !NOT_IN_libc || IN_LIB.
27904 * include/netdb.h: Likewise for h_errno.
27905 * elf/tst-stackguard1.c: Include <tls.h>.
27906
542f9466
JK
279072013-02-02 Jan Kratochvil <jan.kratochvil@redhat.com>
27908
27909 * elf/link.h (struct link_map): Extend the l_addr comment.
27910 * include/link.h (struct link_map): Likewise.
27911
e782a927
JM
279122013-02-01 Joseph Myers <joseph@codesourcery.com>
27913
27914 [BZ #13550]
27915 * sysdeps/generic/bp-checks.h (BOUNDED_N): Remove all definitions.
27916 (BOUNDED_1): Remove macro.
27917 * debug/backtrace.c: Don't include <bp-checks.h>.
27918 (ADVANCE_STACK_FRAME): Don't use BOUNDED_1.
27919 (__backtrace): Likewise.
27920 * sysdeps/powerpc/powerpc32/backtrace.c: Don't include
27921 <bp-checks.h>.
27922 (__backtrace): Don't use BOUNDED_1.
27923 * sysdeps/powerpc/powerpc64/backtrace.c: Don't include
27924 <bp-checks.h>.
27925 (__backtrace): Don't use BOUNDED_1.
27926 * sysdeps/sparc/backtrace.c: Don't include <bp-checks.h>.
27927 (__backtrace): Don't use BOUNDED_1.
27928 * sysdeps/unix/sysv/linux/shmat.c: Don't include <bp-checks.h>.
27929 (shmat): Don't use BOUNDED_N.
27930
8cf28c5e
JM
279312013-01-31 Joseph Myers <joseph@codesourcery.com>
27932
3a7ac8a0
JM
27933 [BZ #13550]
27934 * sysdeps/generic/bp-start.h: Remove file.
27935 * csu/libc-start.c: Don't include <bp-start.h>.
27936 (LIBC_START_MAIN): Set up __environ directly instead of using
27937 INIT_ARGV_and_ENVIRON.
27938 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Don't include
27939 <bp-start.h>.
27940
f3499f95
JM
27941 [BZ #13550]
27942 * sysdeps/generic/bp-checks.h (CHECK_IOCTL): Remove both
27943 definitions.
27944 (CHECK_FCNTL): Likewise.
27945 (CHECK_N_PAGES): Likewise.
27946
32a45bea
JM
27947 [BZ #13550]
27948 * sysdeps/generic/bp-checks.h (CHECK_SIGSET): Remove both
27949 definitions.
27950 (CHECK_SIGSET_NULL_OK): Likewise.
27951 * sysdeps/unix/sysv/linux/sigpending.c: Don't include
27952 <bp-checks.h>.
27953 (sigpending): Don't use CHECK_SIGSET.
27954 * sysdeps/unix/sysv/linux/sigprocmask.c: Don't include
27955 <bp-checks.h>.
27956 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
27957 * sysdeps/unix/sysv/linux/sigsuspend.c: Don't include
27958 <bp-checks.h>.
27959 (do_sigsuspend): Don't use CHECK_SIGSET.
27960 * sysdeps/unix/sysv/linux/sigtimedwait.c (do_sigtimedwait): Don't
27961 use CHECK_SIGSET.
27962 * sysdeps/unix/sysv/linux/sigwait.c: Don't include <bp-checks.h>.
27963 (do_sigwait): Don't use CHECK_SIGSET.
27964 * sysdeps/unix/sysv/linux/sigwaitinfo.c (do_sigwaitinfo): Don't
27965 use CHECK_SIGSET.
27966 * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Don't
27967 include <bp-checks.h>.
27968 (sigpending): Don't use CHECK_SIGSET.
27969 * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: Don't
27970 include <bp-checks.h>.
27971 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
27972 * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Don't include
27973 <bp-checks.h>.
27974 (sigpending): Don't use CHECK_SIGSET.
27975 * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c: Don't include
27976 <bp-checks.h>.
27977 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
27978
2e8a5c8c
JM
27979 [BZ #13550]
27980 * sysdeps/generic/bp-semctl.h: Remove file.
27981 * sysdeps/unix/sysv/linux/i386/semctl.c: Don't include
27982 <bp-checks.h> and <bp-semctl.h>.
27983 (__old_semctl): Don't use CHECK_SEMCTL.
27984 (__new_semctl): Likewise.
27985 * sysdeps/unix/sysv/linux/semctl.c: Don't include <bp-checks.h>
27986 and <bp-semctl.h>.
27987 (__old_semctl): Don't use CHECK_SEMCTL.
27988 (__new_semctl): Likewise.
27989 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Don't include
27990 <bp-checks.h> and <bp-semctl.h>.
27991 (__old_semctl): Don't use CHECK_SEMCTL.
27992 (__new_semctl): Likewise.
27993 * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Don't include
27994 <bp-checks.h> and <bp-semctl.h>.
27995 (semctl): Don't use CHECK_SEMCTL.
27996
c2d54929
JM
27997 [BZ #13550]
27998 * Makerules (elide-bp-thunks): Remove variable.
27999 (elide-routines.oS): Don't use $(elide-bp-thunks).
28000 (elide-routines.os): Likewise.
28001 (elide-routines.o): Likewise.
28002 (elide-routines.op): Likewise.
28003 (elide-routines.og): Likewise.
28004 (objects): Don't use $(bp-thunks).
28005 * sysdeps/unix/Makefile ($(common-objpfx)s-proto-bp.d): Do not
28006 include.
28007 (common-generated): Do not add s-proto-bp.d.
28008 * sysdeps/unix/make-syscalls.sh (ptr): Remove variable.
28009 (int): Likewise.
28010 (typ): Likewise.
28011 Do not generate makefile rules for bounded-pointer thunks.
28012 * sysdeps/generic/bp-thunks.h: Remove file.
28013 * sysdeps/unix/sysv/linux/i386/bp-thunks.h: Likewise.
28014 * sysdeps/unix/s-proto-bp.S: Likewise.
28015
8cf28c5e
JM
28016 [BZ #15062]
28017 * math/k_casinh.c (__kernel_casinh): Compute real and imaginary
28018 parts of result separately when argument is not close to line from
28019 -i to i and one part of argument is small.
28020 * math/k_casinhf.c (__kernel_casinhf): Likewise.
28021 * math/k_casinhl.c (__kernel_casinhl): Likewise.
28022 * math/libm-test.inc (cacos_test): Add more tests.
28023 (casin_test): Likewise.
28024 (casinh_test): Likewise.
28025 * sysdeps/i386/fpu/libm-test-ulps: Update.
28026 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28027
c4e33b8d
DM
280282013-01-31 David S. Miller <davem@davemloft.net>
28029
28030 * po/de.po: Update from translation team.
28031
3b60b421
MK
280322013-01-25 Maxim Kuvyrkov <maxim.kuvyrkov@gmail.com>
28033
28034 * time/tzfile.c: Include stdint.h for SIZE_MAX.
28035
bb931195
TS
280362013-01-25 Thomas Schwinge <thomas@codesourcery.com>
28037
b5a5da23
TS
28038 * configure.in (_AC_PROG_CC_C89): New definition.
28039 * configure: Regenerate.
28040
bb931195
TS
28041 * configure.in (AC_PROG_CPP): New definition.
28042 * configure: Regenerate.
28043
8c53a12c
JM
280442013-01-23 Joseph Myers <joseph@codesourcery.com>
28045
28046 * debug/tst-backtrace.h: New file.
28047 * debug/tst-backtrace2.c: Include tst-backtrace.h.
28048 (ret): Remove variable.
28049 (x): Likewise.
28050 (FAIL): Remove macro.
28051 (NO_INLINE): Likewise.
28052 (fn1): Use match function instead of strstr.
28053 * debug/tst-backtrace3.c: Include tst-backtrace.h.
28054 (ret): Remove variable.
28055 (x): Likewise.
28056 (FAIL): Remove macro.
28057 (NO_INLINE): Likewise.
28058 (fn): Use match function instead of strstr.
28059 * debug/tst-backtrace4.c: Include tst-backtrace.h.
28060 (ret): Remove variable.
28061 (x): Likewise.
28062 (FAIL): Remove macro.
28063 (NO_INLINE): Likewise.
28064 (handle_signal): Use match function instead of strstr.
28065 * debug/tst-backtrace5.c: Include tst-backtrace.h.
28066 (ret): Remove variable.
28067 (x): Likewise.
28068 (FAIL): Remove macro.
28069 (NO_INLINE): Likewise.
28070 (handle_signal): Use match function instead of strstr.
28071
4858fa2a
RM
280722013-01-23 Roland McGrath <roland@hack.frob.com>
28073
28074 * misc/sys/cdefs.h (__glibc_unlikely, __glibc_likely): Fix whitespace.
28075
bae8e7f5
DM
280762013-01-23 David S. Miller <davem@davemloft.net>
28077
28078 * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h
28079 (__arch_compare_and_exchange_val_32_acq): Use %g0 as second
28080 argument of CAS if possible.
28081 * sysdeps/sparc/sparc64/bits/atomic.h
28082 (__arch_compare_and_exchange_val_32_acq): Likewise.
28083 (__arch_compare_and_exchange_val_64_acq): Likewise.
28084
9cbbc4ae
PT
280852013-01-23 Pino Toscano <toscano.pino@tiscali.it>
28086
28087 * sysdeps/unix/sysv/linux/ulimit.c: Moved to ...
28088 * sysdeps/posix/ulimit.c: ... this.
92a601b8 28089 Include <limits.h>.
67b3f58c 28090 * sysdeps/unix/bsd/ulimit.c: Remove file.
9cbbc4ae 28091
5655a0b5
AC
280922013-01-23 Adam Conrad <adconrad@0c3.net>
28093
28094 * elf/Makefile (LDFLAGS-tst-array2): Add $(no-as-needed).
28095 (LDFLAGS-tst-array5): Likewise.
28096
052aff95
JM
280972013-01-23 Joseph Myers <joseph@codesourcery.com>
28098
28099 [BZ #15036]
28100 * bits/wchar.h (__WCHAR_MAX): Define based on __WCHAR_MAX__, or
28101 based on [L'\0' - 1 > 0] if [!__WCHAR_MAX__].
28102 (__WCHAR_MIN): Likewise, using __WCHAR_MIN__.
28103 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: Remove.
28104
7c1e01aa
DM
281052013-01-21 David S. Miller <davem@davemloft.net>
28106
28107 * sysdeps/sparc/backtrace.c: New file.
28108 * sysdeps/sparc/sparc32/backtrace.h: New file.
28109 * sysdeps/sparc/sparc32/sparcv9/backtrace.h: New file.
28110 * sysdeps/sparc/sparc64/backtrace.h: New file.
28111 * sysdeps/sparc/sparc64/backtrace.c: Delete.
28112 * sysdeps/sparc/Makefile (CFLAGS-backtrace.c): Add
28113 -funwind-tables.
28114
ab087e0a
AS
281152013-01-21 Andreas Schwab <schwab@suse.de>
28116
28117 [BZ #15020]
28118 * posix/wordexp.c (exec_comm): Avoid busy loop when command has
28119 closed its stdout.
28120
ed689c2f
AS
281212013-01-20 Andreas Schwab <schwab@linux-m68k.org>
28122
28123 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Don't include
28124 "mpa2.h".
28125 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
28126
31d470ac
JM
281272013-01-18 Joseph Myers <joseph@codesourcery.com>
28128 Mark Mitchell <mark@codesourcery.com>
28129 Tom de Vries <tom@codesourcery.com>
28130 Paul Pluzhnikov <ppluzhnikov@google.com>
28131
28132 * debug/tst-backtrace2.c: New file.
28133 * debug/tst-backtrace3.c: Likewise.
28134 * debug/tst-backtrace4.c: Likewise.
28135 * debug/tst-backtrace5.c: Likewise.
28136 * debug/Makefile (CFLAGS-tst-backtrace2.c): New variable.
28137 (CFLAGS-tst-backtrace3.c): Likewise.
28138 (CFLAGS-tst-backtrace4.c): Likewise.
28139 (CFLAGS-tst-backtrace5.c): Likewise.
28140 (LDFLAGS-tst-backtrace2): Likewise.
28141 (LDFLAGS-tst-backtrace3): Likewise.
28142 (LDFLAGS-tst-backtrace4): Likewise.
28143 (LDFLAGS-tst-backtrace5): Likewise.
28144 (tests): Add new tests tst-backtrace2, tst-backtrace3,
28145 tst-backtrace4 and tst-backtrace5.
28146
90567f30 281472013-01-18 Anton Blanchard <anton@samba.org>
471a1672
AB
28148 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
28149
28150 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Rename
28151 __kernel_vdso_get_tbfreq to __kernel_get_tbfreq.
28152 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Add parameter to
28153 INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK to specify return type.
28154 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
28155 (INTERNAL_VSYSCALL_NCS): Change "=&r" in inline asm output regs list to
28156 "+r" and remove output regs list as redundant. Add explicit inline
28157 asm to specify register of return val to work around compiler codegen
28158 bug. Remove (int) cast on return value. Add return type parameter to
28159 use in macro so that this macro does not truncate return value for
28160 64-bit values.
28161 (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Add return type parameter and
28162 pass to INTERNAL_VSYSCALL_NCS.
28163 (INLINE_VSYSCALL): Add 'long int' as return type to
28164 INTERNAL_VSYSCALL_NCS macro invocation.
28165 (INTERNAL_VSYSCALL): Add 'long int' as return type to
28166 INTERNAL_VSYSCALL_NCS macro invocation.
28167 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
28168
d3b9ea61
SP
281692013-01-18 Siddhesh Poyarekar <siddhesh@redhat.com>
28170
0b57daeb
SP
28171 [BZ #14496]
28172 * sysdeps/i386/fpu/fenv_private.h (libc_feupdateenv_test_sse):
28173 Fix application of SIMD FP exception mask.
28174
caa99d06
SP
28175 * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): New function to get an
28176 mp_no from a power of two.
28177 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove
28178 __mpexp_twomm1. Use __pow_mp.
28179
d3b9ea61
SP
28180 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove unnecessary
28181 multiplication.
28182
1dbaee3c
DM
281832013-01-17 David S. Miller <davem@davemloft.net>
28184
28185 * sysdeps/sparc/fpu/libm-test-ulps: Update.
28186
728d7b43
JM
281872013-01-17 Joseph Myers <joseph@codesourcery.com>
28188
28189 [BZ #15023]
28190 * include/complex.h: Condition contents on [!_COMPLEX_H].
28191 (__kernel_casinhf): New prototype.
28192 (__kernel_casinh): Likewise.
28193 (__kernel_casinhl): Likewise.
28194 * math/Makefile (libm_calls): Add k_casinh.
28195 * math/k_casinh.c: New file.
28196 * math/k_casinhf.c: Likewise.
28197 * math/k_casinhl.c: Likewise.
28198 * math/s_cacos.c (__cacos): Implement using __kernel_casinh for
28199 finite nonzero arguments.
28200 * math/s_cacosf.c (__cacosf): Implement using __kernel_casinhf for
28201 finite nonzero arguments.
28202 * math/s_cacosl.c (__cacosl): Implement using __kernel_casinhl for
28203 finite nonzero arguments.
28204 * math/s_casinh.c: Do not include <float.h>.
28205 (__casinh): Move code for finite nonzero arguments to k_casinh.c.
28206 * math/s_casinhf.c: Do not include <float.h>.
28207 (__casinhf): Move code for finite nonzero arguments to
28208 k_casinhf.c.
28209 * math/s_casinhl.c: Do not include <float.h>.
28210 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Do not undefine and
28211 redefine.
28212 (__casinhl): Move code for finite nonzero arguments to
28213 k_casinhl.c.
28214 * math/libm-test.inc (cacos_test): Add more tests.
28215 * sysdeps/i386/fpu/libm-test-ulps: Update.
28216 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28217
2a26ef3a
PT
282182013-01-17 Pino Toscano <toscano.pino@tiscali.it>
28219
28220 * sysdeps/unix/sysv/linux/malloc-sysdep.h (HAVE_MREMAP): New define.
28221 * malloc/malloc.c: Include <unistd.h> and <malloc-sysdep.h>.
28222 [!HAVE_MREMAP]: Remove [defined linux] case.
28223 * malloc/arena.c: Do not include <malloc-sysdep.h>.
28224
a897655d
SP
282252013-01-17 Siddhesh Poyarekar <siddhesh@redhat.com>
28226
28227 * sysdeps/ieee754/dbl-64/mpa.c: Fix header comment.
28228
881ebe89 282292013-01-17 H.J. Lu <hongjiu.lu@intel.com>
22676eaf
L
28230
28231 * elf/elf.h (R_386_SIZE32): New relocation.
28232 * sysdeps/i386/dl-machine.h (elf_machine_rel): Handle
28233 R_386_SIZE32.
28234 (elf_machine_rela): Likewise.
28235 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
28236 R_X86_64_SIZE64 and R_X86_64_SIZE32.
28237
59981e9b
JM
282382013-01-17 Joseph Myers <joseph@codesourcery.com>
28239
28240 * sysdeps/powerpc/bits/mathdef.h [_SOFT_FLOAT || __NO_FPRS__]
28241 (FP_FAST_FMA): Do not define.
28242 [_SOFT_FLOAT || __NO_FPRS__] (FP_FAST_FMAF): Likewise.
28243 * sysdeps/powerpc/fpu/bits/fenvinline.h [__GNUC__ && !_SOFT_FLOAT
28244 && !__NO_MATH_INLINES]: Add [!__NO_FPRS__] condition.
28245 * sysdeps/powerpc/fpu/bits/mathinline.h [__GNUC__ &&
28246 !_SOFT_FLOAT]: Likewise.
28247 * sysdeps/powerpc/fpu/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]
28248 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_RESERVED): Define with generic
28249 value.
28250 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_DEFAULT): Likewise.
28251 [_SOFT_FLOAT || __NO_FPRS__] (fpu_control_t): Likewise.
28252 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_GETCW): Likewise.
28253 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_SETCW): Likewise.
28254 [_SOFT_FLOAT || __NO_FPRS__] (__fpu_control): Likewise.
28255 [!_SOFT_FLOAT && !__NO_FPRS__]: Condition previous contents of
28256 file.
28257
cfa8054f
AS
282582013-01-16 Andreas Schwab <schwab@suse.de>
28259
28260 [BZ #14327]
28261 * include/stdlib.h (__mktemp): Add declaration.
28262 * misc/mktemp.c (__mktemp): Renamed from mktemp, add weak alias.
28263 * misc/Versions (GLIBC_PRIVATE): Add __mktemp.
28264
dd930cc5
SP
282652013-01-16 Siddhesh Poyarekar <siddhesh@redhat.com>
28266
881ebe89
SP
28267 * sysdeps/ieee754/dbl-64/atnat.h: Remove constant value
28268 definitions.
28269 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
28270 * sysdeps/ieee754/dbl-64/mpa.c: Do not include mpa2.h.
28271 * sysdeps/ieee754/dbl-64/mpa.h: Move all constant value
28272 definitions here.
28273 * sysdeps/ieee754/dbl-64/mpa2.h: Remove.
28274 * sysdeps/ieee754/dbl-64/mpatan.h: Remove constant value
28275 definitions.
28276 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Remove ZERO
28277 and ONE.
28278 * sysdeps/ieee754/dbl-64/mpexp.c: Do not include mpexp.h.
28279 * sysdeps/ieee754/dbl-64/mpexp.h: Remove.
28280 * sysdeps/ieee754/dbl-64/mpsqrt.h: Remove constant value
28281 definitions.
28282 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Remove MONE.
28283 * sysdeps/ieee754/dbl-64/ulog.h: Remove constant value
28284 definitions.
28285 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
f93a8d15 28286
dd930cc5
SP
28287 * sysdeps/ieee754/dbl-64/mpa2.h: Fix the value of TWO.
28288
c19a9f89
DM
282892013-01-15 David S. Miller <davem@davemloft.net>
28290
1aa61767
DM
28291 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
28292 trunc{,f} to libm-sysdep_routes.
28293 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
28294 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: New
28295 file.
28296 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: New file.
28297 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: New
28298 file.
28299 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: New
28300 file.
28301 * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: New file.
28302 * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: New file.
28303 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: New file.
28304 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: New file.
28305 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: New file.
28306 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: New file.
28307 * sysdeps/sparc/sparc64/fpu/s_trunc.S: New file.
28308 * sysdeps/sparc/sparc64/fpu/s_truncf.S: New file.
28309
c42d5e98
DM
28310 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
28311 nearbyint{,f} to libm-sysdep_routes.
28312 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
28313 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S:
28314 New file.
28315 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: New
28316 file.
28317 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S:
28318 New file.
28319 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S: New
28320 file.
28321 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: New file.
28322 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: New file.
28323 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S: New
28324 file.
28325 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: New file.
28326 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S: New
28327 file.
28328 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: New file.
28329 * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: New file.
28330 * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: New file.
28331
c19a9f89
DM
28332 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
28333 libc_feholdexcept and libc_fesetenv.
28334
357679d2
MF
283352013-01-15 Mike Frysinger <vapier@gentoo.org>
28336
28337 * sysdeps/unix/sysv/linux/scsi/sg.h: Include stddef.h.
28338
65a82e3d
DM
283392013-01-14 David S. Miller <davem@davemloft.net>
28340
8b954ab9
DM
28341 * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC2): New macro.
28342 (SPARC_ASM_VIS2_IFUNC): Likewise.
28343 (SPARC_ASM_VIS3_VIS2_IFUNC): Likewise.
28344 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Make
28345 use of 'siam' instruction.
28346 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S:
28347 Likewise.
28348 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S:
28349 Likewise.
28350 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S:
28351 Likewise.
28352 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
28353 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
28354 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
28355 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
28356 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: New
28357 file.
28358 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: New
28359 file.
28360 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: New
28361 file.
28362 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: New
28363 file.
28364 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: New file.
28365 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: New file.
28366 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: New file.
28367 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: New file.
28368 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Hook in
28369 new VIS2 routines.
28370 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
28371 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
28372 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
28373 Likewise.
28374 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
28375 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
28376 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
28377 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
28378 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new VIS2
28379 routines to libm-sysdep_routines.
28380 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
28381
65a82e3d
DM
28382 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
28383 fdim/fdimf to libm-sysdep_routines.
28384 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: New
28385 file.
28386 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: New file.
28387 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: New
28388 file.
28389 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: New file.
28390 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: New file.
28391 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: New file.
28392 * sysdeps/sparc/sparc32/fpu/s_fdim.S: New file.
28393 * sysdeps/sparc/sparc32/fpu/s_fdimf.S: New file.
28394 * sysdeps/sparc/sparc64/fpu/s_fdim.S: New file.
28395 * sysdeps/sparc/sparc64/fpu/s_fdimf.S: New file.
28396
e34ab705
SP
283972013-01-14 Siddhesh Poyarekar <siddhesh@redhat.com>
28398
2a91b573
SP
28399 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Add a local variable
28400 to optimize copies.
28401
1066a534
SP
28402 * sysdeps/ieee754/dbl-64/mpa.c: Fix formatting.
28403 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
28404 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
28405
e34ab705
SP
28406 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Remove
28407 local variable MPTWO.
28408 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
28409 Likewise.
28410
aba5e596
MF
284112013-01-13 Mike Frysinger <vapier@gentoo.org>
28412
28413 * manual/pattern.texi (Flags for Globbing): Move GLOB_NOSORT after
28414 GLOB_NOESCAPE.
28415
e557e9e5
MF
284162013-01-13 Mike Frysinger <vapier@gentoo.org>
28417
28418 * manual/pattern.texi (Flags for Globbing): Highlight GNU extensions.
28419
0428cec9
MF
284202013-01-13 Mike Frysinger <vapier@gentoo.org>
28421
28422 * manual/pattern.texi (glob_t): Document gl_flags.
28423 (glob64_t): Likewise.
28424
8794a964
DM
284252013-01-11 David S. Miller <davem@davemloft.net>
28426
66438c3f
RM
28427 * math/Makefile (gmp-objs): Use $(gmp-sysdep_routines).
28428 * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = math]
28429 (gmp-sysdep_routines): New variable. Add VIS3 optimized GMP routines.
32fcb36d
DM
28430 * sysdeps/sparc/sparc64/multiarch/add_n-vis3.S: New file.
28431 * sysdeps/sparc/sparc64/multiarch/add_n.S: New file.
28432 * sysdeps/sparc/sparc64/multiarch/addmul_1-vis3.S: New file.
28433 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: New file.
28434 * sysdeps/sparc/sparc64/multiarch/mul_1-vis3.S: New file.
28435 * sysdeps/sparc/sparc64/multiarch/mul_1.S: New file.
28436 * sysdeps/sparc/sparc64/multiarch/sub_n-vis3.S: New file.
28437 * sysdeps/sparc/sparc64/multiarch/sub_n.S: New file.
28438 * sysdeps/sparc/sparc64/multiarch/submul_1-vis3.S: New file.
28439 * sysdeps/sparc/sparc64/multiarch/submul_1.S: New file.
28440
4ae4244d
DM
28441 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
28442 sparc V9 rather than using V8 code.
28443 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
28444 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
28445
8794a964
DM
28446 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
28447 Move to...
28448 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/multiarch/Implies:
28449 Here.
28450
6270516e
RM
284512013-01-11 Roland McGrath <roland@hack.frob.com>
28452
28453 * configure.in (sysnames): Use $multi_arch_d in setting up $mach list,
28454 not in the main loop.
28455 * configure: Regenerated.
28456
6a57d931
JM
284572013-01-11 Joseph Myers <joseph@codesourcery.com>
28458
28459 * include/features.h (__GLIBC_HAVE_LONG_LONG): Remove.
28460 * bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change #elif condition
28461 to just #else.
28462 * bits/types.h [__GLIBC_HAVE_LONG_LONG]: Likewise. Remove
28463 [!__GLIBC_HAVE_LONG_LONG] case.
28464 * posix/sys/types.h [__GLIBC_HAVE_LONG_LONG]: Change #elif
28465 condition to just #else.
28466 * stdlib/stdlib.h [__USE_ISOC99 || (__GLIBC_HAVE_LONG_LONG &&
28467 __USE_MISC)]: Change all uses to [__USE_ISOC99 || __USE_MISC].
28468 [__GLIBC_HAVE_LONG_LONG && __USE_BSD]: Change to [__USE_BSD].
28469 * string/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Make code
28470 unconditional.
28471 * string/endian.h [__GLIBC_HAVE_LONG_LONG]: Likewise.
28472 * sysdeps/s390/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
28473 #elif condition to just #else.
28474 * sysdeps/unix/sysv/linux/sys/sysmacros.h
28475 [__GLIBC_HAVE_LONG_LONG]: Make code unconditional.
28476 * sysdeps/x86/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
28477 #elif condition to just #else.
28478
0e8529e9
SE
284792013-01-11 Steve Ellcey <sellcey@mips.com>
28480
28481 * elf/elf.h (EF_MIPS_ARCH_32): Fix value.
28482 (EF_MIPS_ARCH_64): Fix value.
28483 (EF_MIPS_ARCH_32R2): New.
28484 (EF_MIPS_ARCH_64R2): New.
28485
740b3dbe
L
284862013-01-11 H.J. Lu <hongjiu.lu@intel.com>
28487
28488 * Makeconfig (+link-pie-before-libc): New.
28489 (+link-pie-after-libc): Likewise.
28490 (+link-pie-tests): Likewise.
28491 (+link-pie): Rewritten.
28492 (link-before-libc): Remove $(config-LDFLAGS).
28493 (+link): Add $(rtld-LDFLAGS) after $(+link-before-libc).
28494 (+link-tests): Add $(rtld-tests-LDFLAGS) after $(+link-before-libc).
28495 (config-LDFLAGS): Renamed to ...
28496 (rtld-LDFLAGS): This.
28497 (rtld-tests-LDFLAGS): New macro.
28498 (link-libc-rpath-link): Likewise.
28499 (link-libc-tests-rpath-link): Likewise.
28500 (link-libc-before-gnulib): Remove -Wl,-rpath-link=$(rpath-link).
28501 (link-libc): Prepand $(link-libc-rpath-link).
28502 (link-libc-tests): Prepand $(link-libc-tests-rpath-link).
28503 (test-program-prefix): New macro.
28504 (test-via-rtld-prefix): Likewise.
28505 (test-program-cmd): Likewise.
28506 (host-test-program-cmd): Likewise.
28507 * Makefile ($(common-objpfx)testrun.sh): Replace
28508 $(run-program-prefix) with $(test-program-prefix).
28509 * Makerules ($(LINK.o)): Replace $(config-LDFLAGS) with
28510 $(rtld-LDFLAGS).
28511 ($(common-objpfx)shlib.lds): Likewise.
28512 (build-module-helper): Likewise.
28513 ($(common-objpfx)format.lds): Likewise.
28514 * Rules (binaries-pie-tests): New.
28515 (binaries-pie-notests): Likewise.
28516 (binaries-pie): Rewritten.
28517 ($(addprefix $(objpfx),$(binaries-pie))): Renamed to ...
28518 ($(addprefix $(objpfx),$(binaries-pie-notests))): This.
28519 ($(addprefix $(objpfx),$(binaries-pie-tests))): New.
28520 (make-test-out): Replace $(host-built-program-cmd) with
28521 $(host-test-program-cmd).
28522 * config.make.in (build-hardcoded-path-in-tests): New variable.
28523 * configure.in (--enable-hardcoded-path-in-tests): New configure
28524 option.
28525 (hardcoded_path_in_tests): New AC_SUBST.
28526 * configure: Regenerated.
28527 * catgets/Makefile ($(objpfx)test-gencat.out): Replace
28528 $(built-program-cmd) with $(test-program-cmd).
28529 * catgets/test-gencat.sh (run_program_cmd): Renamed to ...
28530 (test_program_cmd): This.
28531 * elf/Makefile ($(objpfx)order.out): Run test with
28532 $(test-program-prefix).
28533 ($(objpfx)order2.out): Likewise.
28534 ($(objpfx)tst-initorder.out): Likewise.
28535 ($(objpfx)tst-initorder2.out): Likewise.
28536 ($(objpfx)tst-array1.out): Replace $(built-program-cmd) with
28537 $(test-program-cmd).
28538 ($(objpfx)tst-array1-static.out): Likewise.
28539 ($(objpfx)tst-array2.out): Likewise.
28540 ($(objpfx)tst-array3.out): Likewise.
28541 ($(objpfx)tst-array4.out): Likewise.
28542 ($(objpfx)tst-array5.out): Likewise.
28543 ($(objpfx)tst-array5-static.out): Likewise.
28544 (tst-stackguard1-ARGS): Replace $(built-program-cmd) with
28545 $(test-program-cmd).
28546 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Replace
28547 $(run-program-prefix) with $(test-program-prefix).
28548 * grp/tst_fgetgrent.sh (run_program_prefix): Renamed to ...
28549 (test_program_prefix): This.
28550 * iconvdata/Makefile ($(objpfx)tst-tables.out): Replace
28551 $(run-program-prefix) with $(test-program-prefix).
28552 * iconvdata/tst-table.sh (run_program_prefix): Renamed to ...
28553 (test_program_prefix): This.
28554 * iconvdata/tst-tables.sh: Likewise.
28555 * intl/Makefile ($(objpfx)tst-gettext.out): Replace
28556 $(run-program-prefix) with $(test-program-prefix).
28557 ($(objpfx)tst-translit.out): Likewise.
28558 ($(objpfx)tst-gettext2.out): Likewise.
28559 ($(objpfx)tst-gettext4.out): Likewise.
28560 ($(objpfx)tst-gettext6.out): Likewise.
28561 * intl/tst-gettext.sh (run_program_prefix): Renamed to ...
28562 (test_program_prefix): This.
28563 * intl/tst-gettext2.sh: Likewise.
28564 * intl/tst-gettext4.sh Likewise.
28565 * intl/tst-gettext6.sh: Likewise.
28566 * intl/tst-translit.sh: Likewise.
28567 * io/Makefile ($(objpfx)ftwtest.out): Replace $(run-program-cmd)
28568 with $(test-program-cmd).
28569 * libio/Makefile ($(objpfx)test-freopen.out): Replace
28570 $(run-program-prefix) with $(test-program-prefix).
28571 * libio/test-freopen.sh (run_program_prefix): Renamed to ...
28572 (test_program_prefix): This.
28573 * malloc/Makefile ($(objpfx)tst-mtrace.out): Replace
28574 $(run-program-prefix) with $(test-program-prefix).
28575 * malloc/tst-mtrace.sh (run_program_prefix): Renamed to ...
28576 (test_program_prefix): This.
28577 * manual/install.texi: Document --enable-hardcoded-path-in-tests.
28578 * posix/Makefile ($(objpfx)globtest.out): Replace
28579 $(run-via-rtld-prefix) and $(test-wrapper) with
28580 $(test-program-prefix) and $(test-via-rtld-prefix).
28581 ($(objpfx)wordexp-tst.out): Replace $(run-program-prefix) with
28582 $(test-program-prefix).
28583 (tst-exec-ARGS): Replace $(host-built-program-cmd) with
28584 $(host-test-program-cmd).
28585 (tst-spawn-ARGS): Likewise.
28586 ($(objpfx)tst-rxspencer-mem): Replace $(run-program-prefix) with
28587 $(test-program-prefix).
28588 * posix/globtest.sh (un_via_rtld_prefix): Renamed to ...
28589 (test_via_rtld_prefix): This.
28590 (test_wrapper): Renamed to ...
28591 (test_program_prefix): This.
28592 (run_program_prefix): Replaced by test_program_prefix.
28593 * posix/wordexp-tst.sh (run_program_prefix): Renamed to ...
28594 (test_program_prefix): This.
28595 * rt/Makefile (tst-mqueue7-ARGS): Replace $(host-built-program-cmd)
28596 with $(host-test-program-cmd).
28597 * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Replace
28598 $(run-program-prefix) with $(test-program-prefix).
28599 ($(objpfx)tst-printf.out): Likewise.
28600 ($(objpfx)tst-setvbuf1.out): Replace $(built-program-cmd) with
28601 $(test-program-cmd).
28602 * stdio-common/tst-printf.sh (run_program_prefix): Renamed to ...
28603 (test_program_prefix): This.
28604 * stdio-common/tst-unbputc.sh: Likewise.
28605 * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Replace
28606 $(run-program-prefix) with $(test-program-prefix).
28607 * stdlib/tst-fmtmsg.sh (run_program_prefix): Renamed to ...
28608 (test_program_prefix): This.
28609 * string/Makefile ($(objpfx)tst-svc.out): Replace
28610 $(built-program-cmd) with $(test-program-cmd).
28611
c6fe55cf
AJ
286122013-01-11 Andreas Jaeger <aj@suse.de>
28613
28614 [BZ #15003]
28615 * sysdeps/unix/sysv/linux/bits/socket.h (MSG_FASTOPEN): New
28616 value. Sync with Linux 3.7.
28617
9e6919c8
DM
286182013-01-10 David S. Miller <davem@davemloft.net>
28619
28620 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Revert previous changes.
28621 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
28622 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
28623
1c9f1a02
RM
286242013-01-10 Roland McGrath <roland@hack.frob.com>
28625
28626 * configure.in (sysnames): Drop use of $m0sub and $msub, which are
28627 never set.
28628 * configure: Regenerated.
28629
b9de2dde
DM
286302013-01-10 David S. Miller <davem@davemloft.net>
28631
28632 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
28633 sparc V9 rather than using V8 code.
28634 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
28635 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
28636
e7f68ef4
RM
286372013-01-10 Roland McGrath <roland@hack.frob.com>
28638
28639 * elf/elf.h (DT_SPARC_REGISTER, DT_SPARC_NUM): Fix whitespace.
28640 (EF_MIPS_NOREORDER, EF_MIPS_PIC, EF_MIPS_CPIC, EF_MIPS_XGOT): Likewise.
28641 (EF_MIPS_64BIT_WHIRL, EF_MIPS_ABI2, EF_MIPS_ABI_ON32): Likewise.
28642 (EF_MIPS_ARCH, EF_MIPS_ARCH_1, EF_MIPS_ARCH_2): Likewise.
28643 (EF_MIPS_ARCH_3, EF_MIPS_ARCH_4, EF_MIPS_ARCH_5): Likewise.
28644 (EF_MIPS_ARCH_32, EF_MIPS_ARCH_64): Likewise.
28645 (E_MIPS_ARCH_1): Define in terms of EF_MIPS_ARCH_* counterpart.
28646 (E_MIPS_ARCH_2, E_MIPS_ARCH_3, E_MIPS_ARCH_4, E_MIPS_ARCH_5): Likewise.
28647 (E_MIPS_ARCH_32, E_MIPS_ARCH_64): Likewise.
28648 (SHN_MIPS_ACOMMON, SHN_MIPS_TEXT, SHN_MIPS_DATA): Fix whitespace.
28649 (SHN_MIPS_SCOMMON, SHN_MIPS_SUNDEFINED): Likewise.
28650 (SHT_MIPS_LIBLIST, SHT_MIPS_MSYM, SHT_MIPS_CONFLICT): Likewise.
28651 (SHT_MIPS_GPTAB, SHT_MIPS_UCODE, SHT_MIPS_DEBUG): Likewise.
28652 (SHT_MIPS_REGINFO, SHT_MIPS_PACKAGE, SHT_MIPS_PACKSYM): Likewise.
28653 (SHT_MIPS_RELD, SHT_MIPS_IFACE, SHT_MIPS_CONTENT): Likewise.
28654 (SHT_MIPS_OPTIONS, SHT_MIPS_SHDR, SHT_MIPS_FDESC): Likewise.
28655 (SHT_MIPS_EXTSYM, SHT_MIPS_DENSE, SHT_MIPS_PDESC): Likewise.
28656 (SHT_MIPS_LOCSYM, SHT_MIPS_AUXSYM, SHT_MIPS_OPTSYM): Likewise.
28657 (SHT_MIPS_LOCSTR, SHT_MIPS_LINE, SHT_MIPS_RFDESC): Likewise.
28658 (SHT_MIPS_DELTASYM, SHT_MIPS_DELTAINST, SHT_MIPS_DELTACLASS): Likewise.
28659 (SHT_MIPS_DELTADECL, SHT_MIPS_SYMBOL_LIB, SHT_MIPS_EVENTS): Likewise.
28660 (SHT_MIPS_TRANSLATE, SHT_MIPS_PIXIE, SHT_MIPS_XLATE): Likewise.
28661 (SHT_MIPS_XLATE_DEBUG, SHT_MIPS_WHIRL, SHT_MIPS_EH_REGION): Likewise.
28662 (SHT_MIPS_XLATE_OLD, SHT_MIPS_PDR_EXCEPTION): Likewise.
28663 (SHF_MIPS_GPREL, SHF_MIPS_MERGE, SHF_MIPS_ADDR): Likewise.
28664 (SHF_MIPS_STRINGS, SHF_MIPS_NOSTRIP, SHF_MIPS_LOCAL): Likewise.
28665 (SHF_MIPS_NAMES, SHF_MIPS_NODUPE): Likewise.
28666
5a47cc9c
DM
286672013-01-10 David S. Miller <davem@davemloft.net>
28668
28669 * sysdeps/sparc/fpu/libm-test-ulps: Update.
28670
4cf8f209
L
286712013-01-10 H.J. Lu <hongjiu.lu@intel.com>
28672
28673 * posix/Makefile (tests-static): New variable.
28674 (tests): Add $(tests-static).
28675 (tst-exec-static-ARGS): New variable.
28676 (tst-spawn-static-ARGS): Likewise.
28677 * posix/tst-exec-static.c: New file.
28678 * posix/tst-spawn-static.c: Likewise.
28679 * posix/tst-exec.c: Support run directly.
28680 * posix/tst-spawn.c: Likewise.
28681
fed0faa1
JM
286822013-01-10 Joseph Myers <joseph@codesourcery.com>
28683
828beb13
JM
28684 * elf/link.h (struct dl_phdr_info): Use __extension__ with long
28685 long.
28686 * math/bits/mathcalls.h (llrint): Likewise.
28687 (llround): Likewise.
28688 * stdlib/stdlib.h (struct drand48_data): Likewise.
28689 * sysdeps/generic/inttypes.h (imaxdiv_t): Likewise.
28690 * sysdeps/s390/bits/byteswap.h (__bswap_64): Likewise.
28691 * sysdeps/unix/sysv/linux/sparc/bits/ipc.h (struct ipc_perm):
28692 Likewise.
28693 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu):
28694 Likewise.
28695 * sysdeps/unix/sysv/linux/x86/sys/procfs.h [__x86_64__]
28696 (elf_greg_t): Likewise.
28697 * sysdeps/x86/bits/setjmp.h [__x86_64__ && __WORDSIZE != 64]
28698 (__jmp_buf): Likewise.
28699 * sysdeps/x86/fpu/bits/mathinline.h (llrintf): Likewise, for all
28700 definitions.
28701 (llrint): Likewise, for all definitions.
28702 (llrintl): Likewise.
28703
fed0faa1
JM
28704 * string/string.h [__USE_BSD && __USE_GNU && __GNUC__] (ffsll):
28705 Remove [__GNUC__] condition.
28706 * wcsmbs/wchar.h [__USE_ISOC99 || (__GNUC__ && __USE_GNU)]: Change
28707 condition to just [__USE_ISOC99].
28708 [__GNUC__ && __USE_GNU]: Change condition to just [__USE_GNU].
28709
1a20cb20
L
287102013-01-10 H.J. Lu <hongjiu.lu@intel.com>
28711
28712 [BZ #14200]
28713 * sysdeps/unix/sysv/linux/x86/bits/environments.h
28714 (_POSIX_V7_ILP32_OFF32): Defined as 1 only if __x86_64__ isn't
28715 defined.
28716 (_POSIX_V6_ILP32_OFF32): Likewise.
28717 (_XBS5_ILP32_OFF32): Likewise.
28718 (__ILP32_OFFBIG_CFLAGS): Defined as "-mx32" for x32.
28719 (__ILP32_OFFBIG_LDFLAGS): Likewise.
28720
751b85f7
SP
287212013-01-10 Siddhesh Poyarekar <siddhesh@redhat.com>
28722
7490eb81
SP
28723 * sysdeps/ieee754/dbl-64/mpexp.c: Fix formatting.
28724
751b85f7
SP
28725 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): New array of
28726 doubles __mpexp_twomm1. Adjust usage.
28727 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1):
28728 Remove.
28729
988197f0
AS
287302013-01-10 Andreas Schwab <schwab@suse.de>
28731
28732 [BZ #14964]
28733 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (FALLOC_FL_KEEP_SIZE)
28734 (FALLOC_FL_PUNCH_HOLE) [__USE_GNU]: New macros.
28735
e83d7298
DM
287362013-01-09 David S. Miller <davem@davemloft.net>
28737
034ed64b 28738 [BZ #15003]
57f41c40
AS
28739 * sysdeps/gnu/netinet/tcp.h (TCP_COOKIE_TRANSACTIONS)
28740 (TCP_THIN_LINEAR_TIMEOUTS, TCP_THIN_DUPACK, TCP_USER_TIMEOUT)
28741 (TCP_REPAIR, TCP_REPAIR_QUEUE, TCP_QUEUE_SEQ, TCP_REPAIR_OPTIONS)
28742 (TCP_FASTOPEN): Define.
e83d7298
DM
28743 (tcp_repair_opt): New structure.
28744 (TCP_NO_QUEUE, TCP_RECV_QUEUE, TCP_SEND_QUEUE, TCP_QUEUES_NR): New
28745 enum values.
57f41c40
AS
28746 (TCP_COOKIE_MIN, TCP_COOKIE_MAX, TCP_COOKIE_PAIR_SIZE)
28747 (TCP_COOKIE_IN_ALWAYS, TCP_COOKIE_OUT_NEVER, TCP_S_DATA_IN)
28748 (TCP_S_DATA_OUT, TCP_MSS_DEFAULT, TCP_MSS_DESIRED): Define.
e83d7298
DM
28749 (tcp_cookie_transactions): New structure.
28750
d5e0b9bd
AB
287512013-01-09 Anton Blanchard <anton@samba.org>
28752
28753 * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: New file.
28754 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_getcpu.
28755 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Likewise.
28756 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
28757
0c07e3ea
JM
287582013-01-09 Joseph Myers <joseph@codesourcery.com>
28759
28760 * include/features.h (__USE_ANSI): Remove.
28761
232f7002
RM
287622013-01-09 Roland McGrath <roland@hack.frob.com>
28763
ad98e30c
RM
28764 * posix/Makefile (others): Depend on $(objpfx)getconf.speclist.
28765
232f7002
RM
28766 * misc/error.c (error_tail: ALLOCA_LIMIT): Remove unused macro.
28767
950c99ca
SP
287682013-01-09 Siddhesh Poyarekar <siddhesh@redhat.com>
28769
b5792741
SP
28770 * sysdeps/s390/fpu/libm-test-ulps: Update.
28771
47cf2278
SP
28772 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
28773
950c99ca
SP
28774 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Reword comment.
28775 (__acr): Likewise.
28776 (__cpy): Likewise.
28777 (norm): Likewise.
28778 (denorm): Likewise.
28779 (__mp_dbl): Likewise.
28780 (__dbl_mp): Likewise.
28781 (add_magnitudes): Likewise.
28782 (sub_magnitudes): Likewise.
28783 (__add): Likewise.
28784 (__sub): Likewise.
28785 (__mul): Likewise.
28786 (__inv): Likewise.
28787 (__dvd): Likewise.
28788 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mcr): Likewise.
28789 (__acr): Likewise.
28790 (__cpy): Likewise.
28791 (norm): Likewise.
28792 (denorm): Likewise.
28793 (__mp_dbl): Likewise.
28794 (__dbl_mp): Likewise.
28795 (add_magnitudes): Likewise.
28796 (sub_magnitudes): Likewise.
28797 (__add): Likewise.
28798 (__sub): Likewise.
28799 (__mul): Likewise.
28800 (__inv): Likewise.
28801 (__dvd): Likewise.
28802 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mcr): Likewise.
28803 (__acr): Likewise.
28804 (__cpy): Likewise.
28805 (norm): Likewise.
28806 (denorm): Likewise.
28807 (__mp_dbl): Likewise.
28808 (__dbl_mp): Likewise.
28809 (add_magnitudes): Likewise.
28810 (sub_magnitudes): Likewise.
28811 (__add): Likewise.
28812 (__sub): Likewise.
28813 (__mul): Likewise.
28814 (__inv): Likewise.
28815 (__dvd): Likewise.
28816
eede9df9
JM
288172013-01-08 Joseph Myers <joseph@codesourcery.com>
28818
28819 * io/sys/stat.h [__GNUC__ && __GNUC__ >= 2 &&
28820 __USE_EXTERN_INLINES]: Change condition to [__USE_EXTERN_INLINES].
28821 * sysdeps/unix/sysv/linux/sys/sysmacros.h [__GNUC__ && __GNUC__ >=
28822 2 && __USE_EXTERN_INLINES]: Likewise.
28823
c40ea3d9
AJ
288242013-01-08 Andreas Jaeger <aj@suse.de>
28825
28826 [BZ# 14985]
28827 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h (EPOLL_NONBLOCK):
28828 Remove.
28829 * sysdeps/unix/sysv/linux/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
28830 * sysdeps/unix/sysv/linux/x86/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
28831
2ccdea26
AB
288322013-01-07 Anton Blanchard <anton@samba.org>
28833
28834 * sysdeps/powerpc/fpu/feholdexcpt.c: Fixed spelling errors.
28835 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
28836 * sysdeps/powerpc/fpu/math_ldbl.h: Likewise.
28837 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
28838 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
28839 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
28840 * sysdeps/powerpc/powerpc32/dl-start.S: Likewise.
28841 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
28842 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
28843 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
28844 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
28845 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
28846 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
28847 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
28848 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
28849 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
28850 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
28851 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
28852 * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
28853 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
28854 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
28855 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Likewise.
28856 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
28857 * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
28858 * sysdeps/powerpc/powerpc64/bits/atomic.h: Likewise.
28859 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
28860 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
28861 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
28862 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Likewise.
28863 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
28864 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
28865 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
28866 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
28867 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
28868 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
28869 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
28870 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
28871 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
28872 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Likewise.
28873 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
28874 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Likewise.
28875 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
28876 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
28877
a9708fed
JM
288782013-01-07 Joseph Myers <joseph@codesourcery.com>
28879
375607b9
JM
28880 * malloc/malloc.h (__MALLOC_P): Remove all definitions.
28881 (__MALLOC_PMT): Likewise.
28882 [__GNUC__] (__MALLOC_HOOK_VOLATILE): Make not conditional on
28883 [__GNUC__], only on [_LIBC].
28884 [__GNUC__] (__MALLOC_DEPRECATED): Likewise.
28885 [!__GNUC__] (__MALLOC_HOOK_VOLATILE): Remove definition.
28886 [!__GNUC__] (__MALLOC_DEPRECATED): Likewise.
28887 * malloc/malloc.c (malloc_hook_ini): Do not use __MALLOC_P in
28888 forward declaration.
28889 (realloc_hook_ini): Likewise.
28890 (memalign_hook_ini): Likewise.
28891 (__libc_memalign): Do not use __MALLOC_PMT in variable
28892 declaration.
28893 (__libc_valloc): Likewise.
28894 (__libc_pvalloc): Likewise.
28895 (__libc_calloc): Likewise.
28896 (__posix_memalign): Likewise.
28897
a9708fed
JM
28898 [BZ #14996]
28899 * math/s_casinh.c: Include <float.h>.
28900 (__casinh): Do not do computation with squaring and square root
28901 for large arguments.
28902 * math/s_casinhf.c: Include <float.h>.
28903 (__casinhf): Do not do computation with squaring and square root
28904 for large arguments.
28905 * math/s_casinhl.c: Include <float.h>.
28906 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine and redefine.
28907 (__casinhl): Do not do computation with squaring and square root
28908 for large arguments.
28909 * math/libm-test.inc (casin_test): Add more tests.
28910 (casinh_test): Likewise.
28911 * sysdeps/i386/fpu/libm-test-ulps: Update.
28912 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28913
afec409a
L
289142013-01-04 H.J. Lu <hongjiu.lu@intel.com>
28915
28916 * sysdeps/i386/i686/cacheinfo.c (__x86_64_data_cache_size): Removed.
28917 (__x86_64_raw_data_cache_size): Likewise.
28918 (__x86_64_data_cache_size_half): Likewise.
28919 (__x86_64_raw_data_cache_size_half): Likewise.
28920 (__x86_64_shared_cache_size): Likewise.
28921 (__x86_64_raw_shared_cache_size): Likewise.
28922 (__x86_64_shared_cache_size_half): Likewise.
28923 (__x86_64_raw_shared_cache_size_half): Likewise.
28924 * sysdeps/x86_64/cacheinfo.c (__x86_64_data_cache_size): Renamed
28925 to ...
28926 (__x86_data_cache_size): This.
28927 (__x86_64_raw_data_cache_size): Renamed to ...
28928 (__x86_raw_data_cache_size): This.
28929 (__x86_64_data_cache_size_half): Renamed to ...
28930 (__x86_data_cache_size_half): This.
28931 (__x86_64_raw_data_cache_size_half): Renamed to ...
28932 (__x86_raw_data_cache_size_half): This.
28933 (__x86_64_shared_cache_size): Renamed to ...
28934 (__x86_shared_cache_size): This.
28935 (__x86_64_raw_shared_cache_size): Renamed to ...
28936 (__x86_raw_shared_cache_size): This.
28937 (__x86_64_shared_cache_size_half): Renamed to ...
28938 (__x86_shared_cache_size_half): This.
28939 (__x86_64_raw_shared_cache_size_half): Renamed to ...
28940 (__x86_raw_shared_cache_size_half): This.
28941 * sysdeps/x86_64/memcpy.S: Updated.
28942 * sysdeps/x86_64/memset.S: Likewise.
28943 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
28944 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
28945 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
28946
0b3986d0
DM
289472013-01-04 David S. Miller <davem@davemloft.net>
28948
28949 * sysdeps/sparc/fpu/libm-test-ulps: Update.
28950
e47686e9
AS
289512013-01-04 Andreas Schwab <schwab@linux-m68k.org>
28952
d643bac1
AS
28953 * sysdeps/powerpc/fpu/test-powerpc-snan.c (_GNU_SOURCE): Define as
28954 1 to avoid redefinition warning.
28955 (__USE_GNU): Don't define.
28956 (init_signaling_nan): Protoize.
28957
e47686e9
AS
28958 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
28959
b18decba
SP
289602013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
28961
fffb407f
SP
28962 * sysdeps/ieee754/dbl-64/mpa.c: Remove commented code.
28963 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cr): Remove.
28964 (__cpymn): Likewise.
28965 (norm): Remove commented code.
28966 (denorm): Likewise.
28967 (__mp_dbl): Likewise.
28968 (__inv): Likewise.
28969 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cr): Remove.
28970 (__cpymn): Likewise.
28971 (norm): Remove commented code.
28972 (denorm): Likewise.
28973 (__mp_dbl): Likewise.
28974 (__inv): Likewise.
28975
b18decba
SP
28976 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mpone): Define
28977 mp_no value for 1.0 and 2.0.
28978 (norm): Use RADIXI instead of radixi.d.
28979 (denorm): Likewise.
28980 (__mul): Use 0.0 instead of zero.d.
28981 * sysdeps/powerpc/powerpc64/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
cdc1c96f
JM
289872013-01-04 Joseph Myers <joseph@codesourcery.com>
28988
28989 [BZ #14994]
28990 * math/s_casinh.c (__casinh): Reduce finite argument to first
28991 quadrant then set signs of results at the end.
28992 * math/s_casinhf.c (__casinhf): Likewise.
28993 * math/s_casinhl.c (__casinhl): Likewise.
28994 * math/libm-test.inc (casin_test): Add more tests.
28995 (casinh_test): Likewise.
28996 * sysdeps/i386/fpu/libm-test-ulps: Update.
28997 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28998
302913e1
SP
289992013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
29000
6420d207
SP
29001 * sysdeps/ieee754/dbl-64/mpa.h: Fix code formatting.
29002
a9e48ab4
SP
29003 * sysdeps/ieee754/dbl-64/mpa.h: Clean up comment for MP_NO.
29004
b7837264
SP
29005 * sysdeps/ieee754/dbl-64/mpa.c(norm): Remove commented
29006 declarations.
29007 (denorm): Likewise.
29008 (__mp_dbl): Likewise.
29009 (__inv): Likewise.
29010
f8af25d2
SP
29011 * sysdeps/ieee754/dbl-64/mpa.h: Remove commented declarations
29012 and adjust the header comment.
29013
302913e1
SP
29014 * sysdeps/ieee754/dbl-64/mpa.h (__mpexp): Remove unnecessary
29015 variable name from declaration.
29016
5d7dd1ca
L
290172013-01-03 H.J. Lu <hongjiu.lu@intel.com>
29018
29019 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
29020 Initialize COMMON_CPUID_INDEX_7 element.
29021 * sysdeps/x86_64/multiarch/init-arch.h (bit_RTM): New macro.
29022 (CPUID_RTM): Likewise.
29023 (HAS_RTM): Likewise.
29024 (COMMON_CPUID_INDEX_7): New enum.
29025
2f5f40f4
AS
290262013-01-03 Andreas Schwab <schwab@linux-m68k.org>
29027
29028 [BZ #14981]
29029 * malloc/mtrace.c (tr_reallochook): If realloc returns NULL when
29030 size is zero, record memory as freed.
29031
4056f4a0
AJ
290322013-01-03 Andreas Jaeger <aj@suse.de>
29033
29034 * po/ia.po: Add new Interlingua translation.
29035
ab15736f 290362012-01-03 Allan McRae <allan@archlinux.org>
fd80f0b7
AM
29037
29038 * locale/programs/localedef.c: Fix description of '--posix' flag.
29039
568035b7
JM
290402013-01-02 Joseph Myers <joseph@codesourcery.com>
29041
e6898b8d
JM
29042 * NEWS: Update dates in second copyright notice.
29043 * README: Update copyright dates in example.
29044 * manual/libc.texinfo: Update copyright dates.
29045 * scripts/test-installation.pl: Update copyright date in --version
29046 output.
29047
0e2f9562
JM
29048 * hurd/ctty-input.c: Fix copyright notice formatting.
29049 * hurd/ctty-output.c: Likewise.
29050 * hurd/dtable.c: Likewise.
29051 * hurd/hurd-raise.c: Likewise.
29052 * hurd/hurdprio.c: Likewise.
29053 * hurd/msgportdemux.c: Likewise.
29054 * misc/sys/file.h: Likewise.
29055 * misc/sys/ioctl.h: Likewise.
29056 * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
29057 * sysdeps/mach/hurd/chdir.c: Likewise.
29058 * sysdeps/mach/hurd/fchdir.c: Likewise.
29059 * sysdeps/mach/hurd/rename.c: Likewise.
29060 * sysdeps/mach/hurd/rmdir.c: Likewise.
29061 * sysdeps/mach/hurd/seekdir.c: Likewise.
29062 * sysdeps/mach/hurd/setsid.c: Likewise.
29063 * sysdeps/posix/wait3.c: Likewise.
29064
568035b7
JM
29065 * All files with FSF copyright notices: Update copyright dates
29066 using scripts/update-copyrights.
29067 * intl/plural.c: Regenerated.
29068 * locale/programs/charmap-kw.h: Likewise.
29069 * locale/programs/locfile-kw.h: Likewise.
29070
da08f647
SP
290712013-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
29072
0f5477af
SP
29073 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1): Fix first
29074 four values.
29075
44e0d4c2
SP
29076 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Split mantissa
29077 calculation loop and add branch prediction.
29078
4d55b4e5
SP
29079 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Add assert to
29080 check access beyond bounds of m1np.
29081
da08f647
SP
29082 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
29083 MPTWO.
29084 (__inv): Remove local variable MPTWO to use the global
29085 constant.
29086 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPTWO.
29087 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
29088 variable MPTWO.
29089 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Make MPHALF and
29090 MP3HALFS static const.
29091
8e051029
DM
290922013-01-01 David S. Miller <davem@davemloft.net>
29093
29094 * po/ca.po: Update from translation team.
29095
f4cf5f2d
JM
290962013-01-01 Joseph Myers <joseph@codesourcery.com>
29097
29098 * scripts/update-copyrights: New file.
29099 * Makeconfig: Reformat copyright notice.
29100 * ctype/ctype.h: Likewise.
29101 * debug/swprintf_chk.c: Likewise.
29102 * elf/dl-cache.c: Likewise.
29103 * elf/dl-debug.c: Likewise.
29104 * elf/dl-object.c: Likewise.
29105 * grp/initgroups.c: Likewise.
29106 * hurd/Makefile: Likewise.
29107 * hurd/hurd/signal.h: Likewise.
29108 * hurd/hurdfault.c: Likewise.
29109 * hurd/hurdioctl.c: Likewise.
29110 * hurd/hurdlookup.c: Likewise.
29111 * hurd/intr-msg.c: Likewise.
29112 * iconv/gconv_open.c: Likewise.
29113 * libio/swprintf.c: Likewise.
29114 * locale/lc-ctype.c: Likewise.
29115 * locale/nl_langinfo.c: Likewise.
29116 * mach/Machrules: Likewise.
29117 * mach/Makefile: Likewise.
29118 * malloc/obstack.h: Likewise.
29119 * manual/Makefile: Likewise.
29120 * manual/tsort.awk: Likewise.
29121 * misc/bits/stab.def: Likewise.
29122 * nis/nis_print_group_entry.c: Likewise.
29123 * nis/nis_table.c: Likewise.
29124 * nis/nss_compat/compat-pwd.c: Likewise.
29125 * nis/nss_compat/compat-spwd.c: Likewise.
29126 * po/Makefile: Likewise.
29127 * posix/fnmatch.c: Likewise.
29128 * posix/regex.h: Likewise.
29129 * resolv/Makefile: Likewise.
29130 * resolv/nss_dns/dns-network.c: Likewise.
29131 * resolv/res_hconf.c: Likewise.
29132 * scripts/gen-sorted.awk: Likewise.
29133 * soft-fp/soft-fp.h: Likewise.
29134 * stdio-common/printf.h: Likewise.
29135 * stdlib/monetary.h: Likewise.
29136 * stdlib/random.c: Likewise.
29137 * stdlib/random_r.c: Likewise.
29138 * sysdeps/generic/Makefile: Likewise.
29139 * sysdeps/gnu/Makefile: Likewise.
29140 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
29141 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
29142 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
29143 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
29144 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
29145 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
29146 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
29147 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
29148 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
29149 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
29150 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
29151 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
29152 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
29153 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
29154 * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
29155 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
29156 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
29157 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
29158 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
29159 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
29160 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
29161 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
29162 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
29163 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
29164 * sysdeps/ieee754/ldbl-128/mpn2ldbl.c: Likewise.
29165 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
29166 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
29167 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Likewise.
29168 * sysdeps/mach/hurd/errnos.awk: Likewise.
29169 * sysdeps/mach/hurd/fork.c: Likewise.
29170 * sysdeps/mach/hurd/getcwd.c: Likewise.
29171 * sysdeps/mach/hurd/i386/trampoline.c: Likewise.
29172 * sysdeps/mach/hurd/mmap.c: Likewise.
29173 * sysdeps/mach/hurd/utimes.c: Likewise.
29174 * sysdeps/mach/hurd/xmknod.c: Likewise.
29175 * sysdeps/posix/profil.c: Likewise.
29176 * sysdeps/posix/readdir_r.c: Likewise.
29177 * sysdeps/powerpc/bits/mathdef.h: Likewise.
29178 * sysdeps/powerpc/bits/setjmp.h: Likewise.
29179 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Likewise.
29180 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
29181 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
29182 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
29183 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
29184 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
29185 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
29186 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
29187 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
29188 * sysdeps/pthread/lio_listio.c: Likewise.
29189 * sysdeps/sparc/dl-procinfo.h: Likewise.
29190 * sysdeps/unix/i386/sysdep.S: Likewise.
29191 * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
29192 * sysdeps/unix/sysv/linux/fstatvfs64.c: Likewise.
29193 * sysdeps/unix/sysv/linux/getdents.c: Likewise.
29194 * sysdeps/unix/sysv/linux/msgctl.c: Likewise.
29195 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
29196 * sysdeps/unix/sysv/linux/semctl.c: Likewise.
29197 * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
29198 * sysdeps/unix/sysv/linux/speed.c: Likewise.
29199 * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
29200 * sysdeps/wordsize-32/divdi3.c: Likewise.
29201 * time/sys/time.h: Likewise.
29202 * wcsmbs/Makefile: Likewise.
29203
0549fbba
DM
292042013-01-01 David S. Miller <davem@davemloft.net>
29205
a141f1a7
DM
29206 * po/fr.po: Update from translation team.
29207
0549fbba
DM
29208 * catgets/gencat.c: Update copyright year.
29209 * csu/version.c: Likewise.
29210 * debug/catchsegv.sh: Likewise.
29211 * debug/pcprofiledump.c: Likewise.
29212 * debug/xtrace.sh: Likewise.
29213 * elf/ldconfig.c: Likewise.
29214 * elf/ldd.bash.in: Likewise.
29215 * elf/pldd.c: Likewise.
29216 * elf/sotruss.ksh: Likewise.
29217 * elf/sprof.c: Likewise.
29218 * iconv/iconv_prog.c: Likewise.
29219 * iconv/iconvconfig.c: Likewise.
29220 * locale/programs/locale.c: Likewise.
29221 * locale/programs/localedef.c: Likewise.
29222 * login/programs/pt_chown.c: Likewise.
29223 * malloc/memusage.sh: Likewise.
29224 * malloc/memusagestat.c: Likewise.
29225 * malloc/mtrace.pl: Likewise.
29226 * nscd/nscd.c: Likewise.
29227 * nss/getent.c: Likewise.
29228 * nss/makedb.c: Likewise.
29229 * posix/getconf.c: Likewise.
29230
18ea052c
SP
292312012-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
29232
29233 * sysdeps/ieee754/dbl-64/mpa.c (__mp_dbl): Favour normal
29234 numbers.
29235
9c89fca6
MF
292362012-12-30 Mike Frysinger <vapier@gentoo.org>
29237
29238 * math/bits/mathcalls.h (modf): Use __nonnull.
29239
085ec079
SP
292402012-12-29 Siddhesh Poyarekar <siddhesh@redhat.com>
29241
29242 * sysdeps/ieee754/dbl-64/branred.h: Include dla.h.
29243 (split): Use macro CN instead of the bare value.
29244 * sysdeps/ieee754/dbl-64/dla.h: Add comment to explain why CN
29245 could be used.
29246 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use CN
29247 instead of the bare value.
29248 (power1): Likewise.
29249
6d9f97e1
SP
292502012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
29251
d63f73be
SP
29252 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove
29253 __ATAN_TWOM.
29254 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
29255
6d9f97e1
SP
29256 * sysdeps/ieee754/dbl-64/atnat.h: Replaced constants with
29257 their values.
29258 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
29259 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
29260 * sysdeps/ieee754/dbl-64/ulog.h: Likewise.
29261 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
29262
4c4febf5
AJ
292632012-12-28 Andreas Jaeger <aj@suse.de>
29264
af5843ef
AJ
29265 * elf/elf.h (NT_S390_TDB, NT_FILE, NT_SIGINFO): Define. New
29266 values are from Linux 3.7.
29267
4c4febf5
AJ
29268 * sysdeps/gnu/netinet/tcp.h (TCPI_OPT_SYN_DATA)
29269 (TCPI_OPT_ECN_SEEN): Define. Sync with Linux 3.7.
29270
99136f82
SP
292712012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
29272
2f216c3c 29273 * misc/sys/cdefs.h (__glibc_likely): Wrap __builtin_expect for
91998e44
SP
29274 TRUE case.
29275
99136f82
SP
29276 * sysdeps/ieee754/dbl-64/mpa.c (norm): Define R as RADIXI.
29277 (norm): Likewise.
29278 * sysdeps/ieee754/dbl-64/mpa2.h: Remove all static const
29279 variables with preprocessor constants.
29280 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
29281 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
29282 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
29283
7fffbdff
BH
292842012-12-27 Bruno Haible <bruno@clisp.org>
29285
29286 [BZ #14317]
29287 * string/xpg-strerror.c (__xpg_strerror_r): Optimize, call strlen
29288 only if needed.
29289
b76eb5f0
SP
292902012-12-27 Siddhesh Poyarekar <siddhesh@redhat.com>
29291
31a7fe5c
SP
29292 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Eliminate __mpexp_nn
29293 and use variable directly.
29294 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_nn): Remove.
29295
b76eb5f0
SP
29296 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
29297 MPONE.
29298 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPONE.
29299 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
29300 variable MPONE.
29301 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
29302 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
29303 * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Remove mplog.h
29304 include directive. Remove local variable MPONE.
29305 * sysdeps/ieee754/dbl-64/mplog.h: Remove.
29306 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define NO__CONST.
29307 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
29308
2c8bfe7d
DM
293092012-12-25 David S. Miller <davem@davemloft.net>
29310
29311 * version.h (RELEASE): Set to "development".
29312 (VERSION): Set to "2.17.90".
29313 * NEWS: Add 2.18 section.
29314
147d03b0
DM
293152012-12-21 David S. Miller <davem@davemloft.net>
29316
29317 * po/hr.po: Update from translation team.
29318
a8ebb2b9
AK
293192012-12-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
29320
29321 * sysdeps/s390/fpu/libm-test-ulps: Refreshed.
29322
95b4f1b6
SE
293232012-12-19 Steve Ellcey <sellcey@mips.com>
29324
b2d94007 29325 * NEWS: Mention new memcpy for MIPS.
95b4f1b6 29326
cedb2a90
MS
293272012-12-18 Marcus Shawcroft <marcus.shawcroft@linaro.org>
29328
29329 * manual/contrib.texi (Contributors): Spelling correction.
29330
bbf527d6
DM
293312012-12-15 David S. Miller <davem@davemloft.net>
29332
29333 * po/ru.po: Update from translation team.
29334
bc38c906
DM
293352012-12-13 David S. Miller <davem@davemloft.net>
29336
85429b1a
DM
29337 * NEWS: Mention IFUNC testsuite enhancements.
29338
d283e353
DM
29339 * po/pl.po: Update from translation team.
29340 * po/bg.po: Likewise.
29341
bc38c906
DM
29342 * manual/contrib.texi (Contributors): Update entries for Hongjiu
29343 Lu and Joseph S. Myers. Add entry for Marcus Shawcroft.
29344
a181b0d7
DM
293452012-12-11 David S. Miller <davem@davemloft.net>
29346
4641d57e
DM
29347 * po/sv.po: Update from translation team.
29348
f7bc6495
DM
29349 * po/vi.po: Update from translation team.
29350
6fc9048f
DM
29351 * po/cs.po: Update from translation team.
29352
a181b0d7
DM
29353 * po/de.po: Update from translation team.
29354 * po/eo.po: Likewise.
29355 * po/nl.po: Likewise.
29356
f70bfe80
SP
293572012-12-11 Siddhesh Poyarekar <siddhesh@redhat.com>
29358
3c8b4190
SP
29359 [BZ #14246]
29360 * manual/argp.texi (Argp Helper Functions): Move node to follow
29361 Argp Parsing State.
29362
f70bfe80
SP
29363 [BZ #14872]
29364 * manual/conf.texi (Limits on File System Capacity): Mention if
29365 terminating null is included in the max size.
29366
188f0adf
AJ
293672012-12-10 Andreas Jaeger <aj@suse.de>
29368
29369 * po/cs.po: Update from translation team.
29370
56e7d3ad
SP
293712012-12-08 Siddhesh Poyarekar <siddhesh@redhat.com>
29372
29373 * sysdeps/s390/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as
29374 void pointer and cast to uintptr_t.
29375 * sysdeps/s390/s390-64/memcmp.S: Pick sysdep.h from include
29376 path.
29377 * sysdeps/s390/s390-64/memcpy.S: Likewise.
29378 * sysdeps/s390/s390-64/memset.S: Likewise.
29379
76f2d2ea 293802012-12-08 Benno Schulenberg <bensberg@justemail.net>
c430c4af
BS
29381
29382 [BZ #14833]
29383 * menual/message.texi (Message Translation): Fix typos.
29384 (Helper programs for gettext): Likewise.
29385
67cbf9a2
AS
293862012-12-07 Andreas Schwab <schwab@linux-m68k.org>
29387
29388 [BZ #14898]
29389 * include/link.h (FORCED_DYNAMIC_TLS_OFFSET) [NO_TLS_OFFSET == 0]:
29390 Change to -1.
29391
682d0e9a
DM
293922012-12-07 David S. Miller <davem@davemloft.net>
29393
29394 * po/libc.pot: Update.
29395
573cd484
RH
293962012-12-07 Richard Henderson <rth@redhat.com>
29397
7e9da188 29398 [BZ #10114]
573cd484
RH
29399 * soft-fp/op-common.h (_FP_MUL): Pull computation of R_e from the
29400 normal/normal case to before the switch.
29401 (_FP_DIV): Likewise.
29402
e933a943
MF
294032012-12-06 Carlos O'Donell <carlos@systemhalted.org>
29404 Mike Frysinger <vapier@gentoo.org>
29405
29406 * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Also
29407 check for __NR_fadvise64_64.
29408
82123268
CM
294092012-12-06 Chris Metcalf <cmetcalf@tilera.com>
29410
29411 * sysdeps/generic/fpu_control.h (_FPU_GETCW): Define to set cw to
29412 0, not just to plain "0" as a statement.
29413 (_FPU_SETCW): Define to (void) (cw), rather than doing nothing
29414 with cw.
29415
d9814526
JM
294162012-12-06 Joseph Myers <joseph@codesourcery.com>
29417
29418 * NEWS: Use sourceware.org in Bugzilla URL.
29419
7728c574
SP
294202012-12-06 Siddhesh Poyarekar <siddhesh@redhat.com>
29421
f16946dd
SP
29422 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
29423 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
29424
5704bbcb
SP
29425 * stdio-common/tst-put-error.c (do_test): Add newline to the
29426 padded test to ensure flush.
29427
17aa0516
JL
294282012-12-05 Jeff Law <law@redhat.com>
29429
29430 * sunrpc/etc.rpc (fedfs_admin): Add entry.
29431
363313b5
JM
294322012-12-05 Joseph Myers <joseph@codesourcery.com>
29433
effbd42a
JM
29434 * README: Don't refer to ports add-on as distributed separately.
29435 Mention AArch64 in list of systems supported in the ports add-on.
29436
87600365
JM
29437 * LICENSES: Add more non-FSF copyright and license notices.
29438
a0d7066a
JM
29439 * soft-fp/op-common.h (_FP_DECL): Declare X##_s with __attribute__
29440 ((unused)).
29441
66ca5a5b
JM
29442 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Include <stdlib.h>.
29443
363313b5
JM
29444 * stdio-common/tst-put-error.c (do_test): Use 10000000 instead of
29445 10000 as width of padded output.
29446
b37984ad
JM
294472012-12-04 Joseph Myers <joseph@codesourcery.com>
29448
9003570a
JM
29449 * sysdeps/powerpc/sysdep.h (_SYS_AUXV_H): Define to 1 not empty.
29450
b37984ad
JM
29451 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Mark
29452 variable LX with __attribute__ ((unused)).
29453 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
29454 Likewise.
29455 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
29456 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
29457 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Mark variable LY
29458 with __attribute__ ((unused)).
29459
c8df52ec
DM
294602012-12-04 David S. Miller <davem@abraco.davemloft.net>
29461
29462 * sysdeps/generic/memcopy.h: Add multiple inclusion protection.
29463
b3b099af
JM
294642012-12-04 Joseph Myers <joseph@codesourcery.com>
29465
c33aa6e3
JM
29466 * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math]
29467 (CFLAGS-nldbl-acos.c): New variable.
29468 [$(subdir) = math] (CFLAGS-nldbl-acosh.c): Likewise.
29469 [$(subdir) = math] (CFLAGS-nldbl-asin.c): Likewise.
29470 [$(subdir) = math] (CFLAGS-nldbl-asinh.c): Likewise.
29471 [$(subdir) = math] (CFLAGS-nldbl-atan.c): Likewise.
29472 [$(subdir) = math] (CFLAGS-nldbl-atan2.c): Likewise.
29473 [$(subdir) = math] (CFLAGS-nldbl-atanh.c): Likewise.
29474 [$(subdir) = math] (CFLAGS-nldbl-cabs.c): Likewise.
29475 [$(subdir) = math] (CFLAGS-nldbl-cacos.c): Likewise.
29476 [$(subdir) = math] (CFLAGS-nldbl-cacosh.c): Likewise.
29477 [$(subdir) = math] (CFLAGS-nldbl-carg.c): Likewise.
29478 [$(subdir) = math] (CFLAGS-nldbl-casin.c): Likewise.
29479 [$(subdir) = math] (CFLAGS-nldbl-casinh.c): Likewise.
29480 [$(subdir) = math] (CFLAGS-nldbl-catan.c): Likewise.
29481 [$(subdir) = math] (CFLAGS-nldbl-catanh.c): Likewise.
29482 [$(subdir) = math] (CFLAGS-nldbl-cbrt.c): Likewise.
29483 [$(subdir) = math] (CFLAGS-nldbl-ccos.c): Likewise.
29484 [$(subdir) = math] (CFLAGS-nldbl-ccosh.c): Likewise.
29485 [$(subdir) = math] (CFLAGS-nldbl-ceil.c): Likewise.
29486 [$(subdir) = math] (CFLAGS-nldbl-cexp.c): Likewise.
29487 [$(subdir) = math] (CFLAGS-nldbl-cimag.c): Likewise.
29488 [$(subdir) = math] (CFLAGS-nldbl-clog.c): Likewise.
29489 [$(subdir) = math] (CFLAGS-nldbl-clog10.c): Likewise.
29490 [$(subdir) = math] (CFLAGS-nldbl-conj.c): Likewise.
29491 [$(subdir) = math] (CFLAGS-nldbl-copysign.c): Likewise.
29492 [$(subdir) = math] (CFLAGS-nldbl-cos.c): Likewise.
29493 [$(subdir) = math] (CFLAGS-nldbl-cosh.c): Likewise.
29494 [$(subdir) = math] (CFLAGS-nldbl-cpow.c): Likewise.
29495 [$(subdir) = math] (CFLAGS-nldbl-cproj.c): Likewise.
29496 [$(subdir) = math] (CFLAGS-nldbl-creal.c): Likewise.
29497 [$(subdir) = math] (CFLAGS-nldbl-csin.c): Likewise.
29498 [$(subdir) = math] (CFLAGS-nldbl-csinh.c): Likewise.
29499 [$(subdir) = math] (CFLAGS-nldbl-csqrt.c): Likewise.
29500 [$(subdir) = math] (CFLAGS-nldbl-ctan.c): Likewise.
29501 [$(subdir) = math] (CFLAGS-nldbl-ctanh.c): Likewise.
29502 [$(subdir) = math] (CFLAGS-nldbl-drem.c): Likewise.
29503 [$(subdir) = math] (CFLAGS-nldbl-erf.c): Likewise.
29504 [$(subdir) = math] (CFLAGS-nldbl-erfc.c): Likewise.
29505 [$(subdir) = math] (CFLAGS-nldbl-exp.c): Likewise.
29506 [$(subdir) = math] (CFLAGS-nldbl-exp10.c): Likewise.
29507 [$(subdir) = math] (CFLAGS-nldbl-exp2.c): Likewise.
29508 [$(subdir) = math] (CFLAGS-nldbl-expm1.c): Likewise.
29509 [$(subdir) = math] (CFLAGS-nldbl-fabs.c): Likewise.
29510 [$(subdir) = math] (CFLAGS-nldbl-fdim.c): Likewise.
29511 [$(subdir) = math] (CFLAGS-nldbl-finite.c): Likewise.
29512 [$(subdir) = math] (CFLAGS-nldbl-floor.c): Likewise.
29513 [$(subdir) = math] (CFLAGS-nldbl-fma.c): Likewise.
29514 [$(subdir) = math] (CFLAGS-nldbl-fmax.c): Likewise.
29515 [$(subdir) = math] (CFLAGS-nldbl-fmin.c): Likewise.
29516 [$(subdir) = math] (CFLAGS-nldbl-fmod.c): Likewise.
29517 [$(subdir) = math] (CFLAGS-nldbl-frexp.c): Likewise.
29518 [$(subdir) = math] (CFLAGS-nldbl-gamma.c): Likewise.
29519 [$(subdir) = math] (CFLAGS-nldbl-hypot.c): Likewise.
29520 [$(subdir) = math] (CFLAGS-nldbl-ilogb.c): Likewise.
29521 [$(subdir) = math] (CFLAGS-nldbl-isinf.c): Likewise.
29522 [$(subdir) = math] (CFLAGS-nldbl-isnan.c): Likewise.
29523 [$(subdir) = math] (CFLAGS-nldbl-j0.c): Likewise.
29524 [$(subdir) = math] (CFLAGS-nldbl-j1.c): Likewise.
29525 [$(subdir) = math] (CFLAGS-nldbl-jn.c): Likewise.
29526 [$(subdir) = math] (CFLAGS-nldbl-ldexp.c): Likewise.
29527 [$(subdir) = math] (CFLAGS-nldbl-lgamma.c): Likewise.
29528 [$(subdir) = math] (CFLAGS-nldbl-lgamma_r.c): Likewise.
29529 [$(subdir) = math] (CFLAGS-nldbl-llrint.c): Likewise.
29530 [$(subdir) = math] (CFLAGS-nldbl-llround.c): Likewise.
29531 [$(subdir) = math] (CFLAGS-nldbl-log.c): Likewise.
29532 [$(subdir) = math] (CFLAGS-nldbl-log10.c): Likewise.
29533 [$(subdir) = math] (CFLAGS-nldbl-log1p.c): Likewise.
29534 [$(subdir) = math] (CFLAGS-nldbl-log2.c): Likewise.
29535 [$(subdir) = math] (CFLAGS-nldbl-logb.c): Likewise.
29536 [$(subdir) = math] (CFLAGS-nldbl-lrint.c): Likewise.
29537 [$(subdir) = math] (CFLAGS-nldbl-lround.c): Likewise.
29538 [$(subdir) = math] (CFLAGS-nldbl-modf.c): Likewise.
29539 [$(subdir) = math] (CFLAGS-nldbl-nan.c): Likewise.
29540 [$(subdir) = math] (CFLAGS-nldbl-nearbyint.c): Likewise.
29541 [$(subdir) = math] (CFLAGS-nldbl-nextafter.c): Likewise.
29542 [$(subdir) = math] (CFLAGS-nldbl-nexttoward.c): Likewise.
29543 [$(subdir) = math] (CFLAGS-nldbl-nexttowardf.c): Likewise.
29544 [$(subdir) = math] (CFLAGS-nldbl-pow.c): Likewise.
29545 [$(subdir) = math] (CFLAGS-nldbl-pow10.c): Likewise.
29546 [$(subdir) = math] (CFLAGS-nldbl-remainder.c): Likewise.
29547 [$(subdir) = math] (CFLAGS-nldbl-remquo.c): Likewise.
29548 [$(subdir) = math] (CFLAGS-nldbl-rint.c): Likewise.
29549 [$(subdir) = math] (CFLAGS-nldbl-round.c): Likewise.
29550 [$(subdir) = math] (CFLAGS-nldbl-scalb.c): Likewise.
29551 [$(subdir) = math] (CFLAGS-nldbl-scalbln.c): Likewise.
29552 [$(subdir) = math] (CFLAGS-nldbl-scalbn.c): Likewise.
29553 [$(subdir) = math] (CFLAGS-nldbl-significand.c): Likewise.
29554 [$(subdir) = math] (CFLAGS-nldbl-sin.c): Likewise.
29555 [$(subdir) = math] (CFLAGS-nldbl-sincos.c): Likewise.
29556 [$(subdir) = math] (CFLAGS-nldbl-sinh.c): Likewise.
29557 [$(subdir) = math] (CFLAGS-nldbl-sqrt.c): Likewise.
29558 [$(subdir) = math] (CFLAGS-nldbl-tan.c): Likewise.
29559 [$(subdir) = math] (CFLAGS-nldbl-tanh.c): Likewise.
29560 [$(subdir) = math] (CFLAGS-nldbl-tgamma.c): Likewise.
29561 [$(subdir) = math] (CFLAGS-nldbl-trunc.c): Likewise.
29562 [$(subdir) = math] (CFLAGS-nldbl-y0.c): Likewise.
29563 [$(subdir) = math] (CFLAGS-nldbl-y1.c): Likewise.
29564 [$(subdir) = math] (CFLAGS-nldbl-yn.c): Likewise.
29565
20f0018d
JM
29566 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
29567 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
29568
b3b099af
JM
29569 [BZ #14914]
29570 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Clear
29571 whole low double instead of just low 47 bits when splitting values
29572 into two parts.
29573
029264d1
AM
295742012-12-03 Allan McRae <allan@archlinux.org>
29575
29576 * manual/stdio.texi (Predefined Printf Handlers): Remove
29577 @hsep and @vsep usage.
29578
c9d6789e
MF
295792012-12-03 Mike Frysinger <vapier@gentoo.org>
29580
29581 * bits/byteswap.h [__GNUC__]: Change __GNUC_PREREQ from 4.2 to 4.3.
29582 * sysdeps/x86/bits/byteswap.h [__GNUC__]: Likewise.
29583
4b7634a5
JL
295842012-12-03 Jeff Law <law@redhat.com>
29585
29586 * time/sys/time.h (settimeofday): Do not mark TV argument
29587 as __nonnull.
29588
eb6cbd24
MF
295892012-12-01 Mike Frysinger <vapier@gentoo.org>
29590
29591 * libio/fileops.c (_IO_new_file_close_it): Do not always flush
29592 when currently writing and seek to current position when not.
29593 * libio/Makefile (tests): Remove bug-fclose1.
29594 * libio/bug-fclose1.c: Delete.
29595
f638872a
JM
295962012-12-01 Joseph Myers <joseph@codesourcery.com>
29597
29598 * manual/arith.texi (feenableexcept): Fix typo.
29599 (fedisableexcept): Likewise.
29600
48085d14
RM
296012012-11-30 Roland McGrath <roland@hack.frob.com>
29602
29603 * sysdeps/powerpc/powerpc64/entry.h (TEXT_START): Define using a
29604 second, differently-typed declaration, rather than a cast.
29605
1a538b9f
SP
296062012-11-30 Siddhesh Poyarekar <siddhesh@redhat.com>
29607
29608 * sunrpc/rpc/svc.h (__svc_accept_failed): Move declaration...
29609 * include/rpc/svc.h: ... here.
29610
d07f2ff1 296112012-11-30 Aurelien Jarno <aurel32@debian.org>
cc8bb21c
AJ
29612
29613 [BZ #13013]
29614 * resolv/res_query.c(__libc_res_nquery): Assign hp and hp2
29615 depending n and resplen2 to catch cases where answer
29616 equals answerp2.
29617
c93ec1f0
CD
296182012-11-29 Carlos O'Donell <carlos@systemhalted.org>
29619
29620 * elf/get-dynamic-info.h (elf_get_dynamic_info): Warn
29621 for unsupported DF_1_* bits when DL_DEBUG_FILES is set.
29622
37db69de
MF
296232012-11-29 Mike Frysinger <vapier@gentoo.org>
29624
29625 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c (HAS_CPUCLOCK): Delete.
29626
e10c4e4f
RM
296272012-11-29 Roland McGrath <roland@hack.frob.com>
29628
29629 * inet/tst-inet6_rth.c (do_test): Use a union rather than type punning.
29630
2af1b328
JL
296312012-11-28 Jeff Law <law@redhat.com>
29632
29633 [BZ #13761]
29634 * nscd/grpcache.c (cache_addgr): Rename alloca_used to
29635 dataset_temporary. Track alloca usage into alloca_used.
29636 If dataset is large allocate and release it via malloc/free.
29637
111db5b1
FW
296382012-06-04 Florian Weimer <fweimer@redhat.com>
29639
f06cc227 29640 [BZ #14197]
111db5b1
FW
29641 * debug/test-strcpy_chk.c: Mention __chk_fail ABI test.
29642
dd694abd
DM
296432012-11-28 David S. Miller <davem@davemloft.net>
29644
29645 * sysdeps/sparc/fpu/libm-test-ulps: Update.
29646
9984dd01
JM
296472012-11-28 Joseph Myers <joseph@codesourcery.com>
29648
29649 [BZ #14803]
29650 * sysdeps/ieee754/ldbl-96/e_asinl.c (pio2_hi): Use hex float value
29651 of pi/2 rounded to nearest to 64 bits.
29652 (pio2_lo): Use hex float value of pi/2 - pio2_hi rounded to
29653 nearest to 64 bits.
29654 (pio4_hi): Use hex float value of pi/4 rounded to nearest to 64
29655 bits.
29656
14bc93a9
JL
296572012-11-28 Jeff Law <law@redhat.com>
29658 Martin Osvald <mosvald@redhat.com>
29659
29660 [BZ #14889]
29661 * sunrpc/rpc/svc.h (__svc_accept_failed): New prototype.
29662 * sunrpc/svc.c: Include time.h.
29663 (__svc_accept_failed): New function.
29664 * sunrpc/svc_tcp.c (rendezvous_request): If the accept fails for
29665 any reason other than EINTR, call __svc_accept_failed.
29666 * sunrpc/svc_udp.c (svcudp_recv): Similarly.
29667 * sunrpc/svc_unix.c (rendezvous_request): Similarly.
29668
e3c6aa3a
AS
296692012-11-28 Andreas Schwab <schwab@suse.de>
29670
29671 * scripts/abilist.awk: Also handle indirect functions in .opd
29672 section.
29673
1bead169
JM
296742012-11-28 Joseph Myers <joseph@codesourcery.com>
29675
29676 [BZ #13881]
29677 * sysdeps/x86/fpu/powl_helper.c: New file.
29678 * sysdeps/x86/fpu/Makefile: Likewise.
29679 * sysdeps/i386/fpu/e_powl.S (limit): Remove object.
29680 (p3): New object.
29681 (__ieee754_powl): Use __powl_helper for finite arguments except
29682 integer exponents below 8.
29683 * sysdeps/x86_64/fpu/e_powl.S (limit): Remove object.
29684 (p3): New object.
29685 (__ieee754_powl): Use __powl_helper for finite arguments except
29686 integer exponents below 8.
29687 * math/libm-test.inc (pow_test): Add more tests and enable some
29688 previously disabled tests.
29689 * sysdeps/i386/fpu/libm-test-ulps: Update.
29690 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29691
0817d63d
SP
296922012-11-28 Siddhesh Poyarekar <siddhesh@redhat.com>
29693 Carlos O'Donell <carlos_odonell@mentor.com>
29694
29695 * nss/makedb.c (is_prime): Assert that input is odd and greater
29696 than 4. Note that fact in a comment too.
29697 (next_prime): Add 4 to input.
29698
de2fd463
SP
296992012-11-27 Siddhesh Poyarekar <siddhesh@redhat.com>
29700
29701 [BZ #11741]
29702 * libio/Makefile (tests): Add test case tst-fwrite-error.
29703 * libio/iofwrite.c (_IO_fwrite): Return 0 on EOF.
29704 * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
29705 * libio/tst-fwrite-error.c: New test case.
29706
c515fb51
L
297072012-11-26 H.J. Lu <hongjiu.lu@intel.com>
29708
29709 * elf/dl-load.c (_dl_map_object_from_fd): Cast to uintptr_t
29710 before casting to void *.
29711 * include/libc-internal.h (__pointer_type): New macro.
29712 (__integer_if_pointer_type_sub): Likewise.
29713 (__integer_if_pointer_type): Likewise.
29714 (cast_to_integer): Likewise.
29715 * sysdeps/x86_64/bits/atomic.h: Include <libc-internal.h>.
29716 (__arch_c_compare_and_exchange_val_64_acq): Use cast_to_integer
29717 before casting to atomic64_t.
29718 (atomic_exchange_acq): Likewise.
29719 (__arch_exchange_and_add_body): Likewise.
29720 (__arch_add_body): Likewise.
29721 (atomic_add_negative): Likewise.
29722 (atomic_add_zero): Likewise.
29723
4cf77aa9
JM
297242012-11-26 Joseph Myers <joseph@codesourcery.com>
29725
29726 * sysdeps/generic/unwind-dw2-fde.c (get_pc_begin): New function.
29727 (fde_unencoded_compare): Use get_pc_begin instead of type-punning.
29728 (add_fdes): Likewise.
29729 (linear_search_fdes): Likewise.
29730 (binary_search_unencoded_fdes): Likewise.
29731
d260b3b4
AS
297322012-11-26 Andreas Schwab <schwab@linux-m68k.org>
29733
29734 * elf/sotruss.ksh: Correctly locate argument of -F and -T options.
29735
67060746
AC
297362012-11-24 Adam Conrad <adconrad@0c3.net>
29737
29738 * configure.in: Autodetect C++ header directories.
29739 * configure: Regenerated.
29740
800938a1
MF
297412012-11-23 Mike Frysinger <vapier@gentoo.org>
29742
29743 * elf/Makefile ($(objpfx)ld.so): Change readelf to $(READELF).
29744
4e6e34e6
AS
297452012-11-23 Andreas Schwab <schwab@linux-m68k.org>
29746
29747 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
29748
7c7feb47
JM
297492012-11-22 Joseph Myers <joseph@codesourcery.com>
29750
7184dcdf
JM
29751 * math/libm-test.inc (fma_test_towardzero) [TEST_LDOUBLE &&
29752 LDBL_MANT_DIG == 106]: Disable some tests.
29753 (fma_test_downward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
29754 Likewise.
29755 (fma_test_upward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
29756 Likewise.
29757
0a42601f
JM
29758 [BZ #14871]
29759 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Return the
29760 input for small inputs. Return +/- pi/2 for large inputs.
29761 * math/libm-test.inc (atan_test): Add more tests.
29762
79c9b9fe
JM
29763 * sysdeps/generic/unwind-dw2-fde-glibc.c
29764 (_Unwind_IteratePhdrCallback): Declare P_DYNAMIC with
29765 __attribute__ ((unused)).
29766
c60d3bf2
JM
29767 [BZ #14645]
29768 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Compute result as
29769 x * y if x and y are nonzero and z is zero.
29770
ef1e0867
JM
29771 [BZ #14811]
29772 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Saturate
29773 nonzero exponents with absolute value below 0x1p-117 to +/-
29774 0x1p-117.
29775
1468ded3
JM
29776 [BZ #14869]
29777 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Scale
29778 up arguments below 2**-450, not just those below 2**-500.
29779 * math/libm-test.inc (hypot_test): Add another test.
29780
8e27e3cc
JM
29781 [BZ #14868]
29782 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
29783 Return a+b for ratio over 2**120, not 2**60.
29784 * math/libm-test.inc (hypot_test): Add another test.
29785
c9c0279b
JM
29786 * math/libm-test.inc (clog_test): Use
29787 UNDERFLOW_EXCEPTION_LDOUBLE_IBM on two tests.
29788 (clog10_test): Likewise.
29789
7c7feb47
JM
29790 [BZ #6778]
29791 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (big): Change to 1e290L.
29792
fff1530e
AS
297932012-11-22 Andreas Schwab <schwab@suse.de>
29794
29795 * sysdeps/i386/fpu/libm-test-ulps: Update.
29796
94558d30
PT
297972012-11-22 Pino Toscano <toscano.pino@tiscali.it>
29798
29799 * sysdeps/x86_64/multiarch/test-multiarch.c (get_cpuinfo): Terminate
29800 printf output with newline.
29801
7e1be741
L
298022012-11-21 H.J. Lu <hongjiu.lu@intel.com>
29803
6bfea974
L
29804 [BZ #14865]
29805 * aclocal.m4 (LIBC_LINKER_FEATURE): New macro.
29806 * configure.in: Use LIBC_LINKER_FEATURE to check -z nodelete,
29807 -z nodlopen, -z initfirst and -z execstack support.
29808 * configure: Regenerated.
29809
7e1be741
L
29810 * elf/elf.h (DF_1_NODIRECT): New macro.
29811 (DF_1_IGNMULDEF): Likewise.
29812 (DF_1_NOKSYMS): Likewise.
29813 (DF_1_NOHDR): Likewise.
29814 (DF_1_EDITED): Likewise.
29815 (DF_1_NORELOC): Likewise.
29816 (DF_1_SYMINTPOSE): Likewise.
29817 (DF_1_GLOBAUDIT): Likewise.
29818 (DF_1_SINGLETON): Likewise.
29819 * elf/get-dynamic-info.h (elf_get_dynamic_info): Assert
29820 DT_1_SUPPORTED_MASK bits.
29821 * include/elf.h (DT_1_SUPPORTED_MASK): New macro.
29822
105ce2ce
CD
298232012-11-20 Carlos O'Donell <carlos_odonell@mentor.com>
29824
29825 * sysdeps/unix/make-syscalls.sh: Document prefixes.
29826
123be9de
TS
298272012-11-20 Thomas Schwinge <thomas@codesourcery.com>
29828
d072f3f7
TS
29829 * sysdeps/sh/dl-machine.h (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): New
29830 macro.
29831
123be9de
TS
29832 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr, recvmmsg)
29833 (sendmmsg): Move declarations...
29834 * socket/sys/socket.h: ... here.
29835 * sysdeps/unix/sysv/linux/recvmmsg.c [!defined __NR_recvmmsg &&
29836 !defined __NR_socketcall] (recvmmsg): Move ENOSYS stub into and
29837 include it from...
29838 * socket/recvmmsg.c: ... this new file.
29839 * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SENDMMSG]
29840 (sendmmsg): Rename to __sendmmsg, create weak alias and make
29841 definition of __sendmmsg hidden.
29842 * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
29843 [!defined __NR_sendmmsg && !defined __NR_socketcall] (sendmmsg):
29844 Move ENOSYS stub into and include it from...
29845 * socket/sendmmsg.c: ... this new file.
29846 * sysdeps/unix/sysv/linux/Makefile [subdir=socket]
29847 (sysdep_routines): Move recvmmsg and sendmmsg...
29848 * socket/Makefile (routines): ... here.
29849 * socket/Versions (GLIBC_2.17): Add recvmmsg and sendmmsg.
29850 (GLIBC_PRIVATE): Add __sendmmsg.
29851 * include/sys/socket.h (__sendmmsg): Add declarations.
29852 * resolv/res_send.c (send_dg): Invoke __sendmmsg instead of
29853 sendmmsg.
29854
cf9a5d18
JM
298552012-11-20 Joseph Myers <joseph@codesourcery.com>
29856
29857 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Mark
29858 variable I1 with __attribute__ ((unused)).
29859 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
29860
ecd4caf9
JM
298612012-11-19 Joseph Myers <joseph@codesourcery.com>
29862
be14d48f
JM
29863 * stdio-common/_itowa.c (_itowa) [BITS_PER_MP_LIMB == 64]: Declare
29864 DUMMY variables with __attribute__ ((unused)).
29865
ecd4caf9
JM
29866 * bits/byteswap.h: Include <bits/types.h>.
29867 (__bswap_64): Use __uint64_t instead of unsigned long long int.
29868
986cab95
PT
298692012-11-19 Pino Toscano <toscano.pino@tiscali.it>
29870
29871 * sysdeps/mach/hurd/ptsname.c (ptsname): Change the type of PEERNAME to
29872 string_t. Do not manually set errno.
29873 (__ptsname_r): Change the type of PEERNAME to string_t, and check its
29874 length with __strnlen. Make sure to both set errno and return it on
29875 failure.
29876
6d33cc9d
DM
298772012-11-19 David S. Miller <davem@davemloft.net>
29878
29879 With help from Joseph Myers.
29880 * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Handle tiny and
29881 very large arguments properly.
29882 * math/libm-test.inc (atan_test): New tests.
29883 (atan2_test): New tests.
29884 * sysdeps/sparc/fpu/libm-test-ulps: Update.
29885 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
29886
ee663277
JM
298872012-11-19 Joseph Myers <joseph@codesourcery.com>
29888
877f2d8e
JM
29889 [BZ #14856]
29890 * posix/bits/posix1_lim.h [!__USE_XOPEN2K] (_POSIX_TZNAME_MAX):
29891 Define to 3.
29892
116fc08a
JM
29893 * conform/data/errno.h-data [POSIX] (EADDRINUSE): Do not expect.
29894 [POSIX] (EADDRNOTAVAIL): Likewise.
29895 [POSIX] (EAFNOSUPPORT): Likewise.
29896 [POSIX] (EALREADY): Likewise.
29897 [POSIX] (ECONNABORTED): Likewise.
29898 [POSIX] (ECONNREFUSED): Likewise.
29899 [POSIX] (ECONNRESET): Likewise.
29900 [POSIX] (EDESTADDRREQ): Likewise.
29901 [POSIX] (EDQUOT): Likewise.
29902 [POSIX] (EHOSTUNREACH): Likewise.
29903 [POSIX] (EIDRM): Likewise.
29904 [POSIX] (EISCONN): Likewise.
29905 [POSIX] (ELOOP): Likewise.
29906 [POSIX] (EMULTIHOP): Likewise.
29907 [POSIX] (ENETDOWN): Likewise.
29908 [POSIX] (ENETUNREACH): Likewise.
29909 [POSIX] (ENOBUFS): Likewise.
29910 [POSIX] (ENODATA): Likewise.
29911 [POSIX] (ENOLINK): Likewise.
29912 [POSIX] (ENOMSG): Likewise.
29913 [POSIX] (ENOPROTOOPT): Likewise.
29914 [POSIX] (ENOSR): Likewise.
29915 [POSIX] (ENOSTR): Likewise.
29916 [POSIX] (ENOTCONN): Likewise.
29917 [POSIX] (ENOTSOCK): Likewise.
29918 [POSIX] (EOPNOTSUPP): Likewise.
29919 [POSIX] (EOVERFLOW): Likewise.
29920 [POSIX] (EPROTO): Likewise.
29921 [POSIX] (EPROTONOSUPPORT): Likewise.
29922 [POSIX] (EPROTOTYPE): Likewise.
29923 [POSIX] (ESTALE): Likewise.
29924 [POSIX] (ETIME): Likewise.
29925 [POSIX] (ETXTBSY): Likewise.
29926 [POSIX] (EWOULDBLOCK): Likewise.
29927 [!ISO && !ISO99 && !ISO11] (E*): Do not allow.
29928 * conform/data/fcntl.h-data [POSIX] (SEEK_SET): Allow.
29929 [POSIX] (SEEK_CUR): Likewise.
29930 [POSIX] (SEEK_END): Likewise.
29931 [POSIX || UNIX98] (mode_t): Do not require.
29932 [POSIX] (off_t): Likewise.
29933 [POSIX] (pid_t): Likewise.
29934 [POSIX] (sys/stat.h): Do not allow header.
29935 [POSIX] (unistd.h): Likewise.
29936 [!ISO && !ISO99 && !ISO11] (timespec): Do not allow.
29937 [!ISO && !ISO99 && !ISO11] (tv_nsec): Likewise.
29938 [!ISO && !ISO99 && !ISO11] (tv_sec): Likewise.
29939 * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Do not
29940 require.
29941 * conform/data/mqueue.h-data [!ISO && !ISO99 && !ISO11] (struct
29942 sigevent): Specify elements.
29943 [XOPEN2K8 || POSIX2008] (struct sigevent): Remove duplicate type
29944 entry.
29945 [!ISO && !ISO99 && !ISO11] (mq_*): Allow.
29946 [!ISO && !ISO99 && !ISO11] (MQ_*): Likewise.
29947
a483863f
JM
29948 * conform/data/cpio.h-data [POSIX]: Disable whole file.
29949 * conform/data/glob.h-data [POSIX] (GLOB_NOSYS): Do not expect.
29950 * conform/data/limits.h-data [!ISO && !ISO99 && !ISO11]
29951 (AIO_LIST_MAX): Change to AIO_LISTIO_MAX.
29952 [!ISO && !ISO99 && !ISO11] (ATEXT_MAX): Remove.
29953 [!ISO && !ISO99 && !ISO11 && !POSIX && !XPG3] (ATEXIT_MAX): Allow.
29954 [POSIX || POSIX2008 || XPG3] (IOV_MAX): Do not allow.
29955 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Likewise.
29956 [!ISO && !ISO99 && !ISO11] (MQ_PRIO_MAX): Allow.
29957 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Remove duplicate entry.
29958 [POSIX || XPG3 || XPG4 || UNIX98] (SS_REPL_MAX): Do not allow.
29959 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLOOP_MAX): Likewise.
29960 [POSIX || XPG3 || XPG4] (FILESIZEBITS): Likewise.
29961 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_ALLOC_SIZE_MIN):
29962 Likewise.
29963 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_INCR_XFER_SIZE):
29964 Likewise.
29965 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_MAX_XFER_SIZE):
29966 Likewise.
29967 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_XFER_ALIGN):
29968 Likewise.
29969 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLINK_MAX): Likewise.
29970 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SS_REPL_MAX): Likewise.
29971 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLINK_MAX): Likewise.
29972 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLOOP_MAX): Likewise.
29973 [!ISO && !ISO99 && !ISO11] (BC_BASE_MAX): Use macro-constant.
29974 Specify lower bound on value.
29975 [!ISO && !ISO99 && !ISO11] (BC_DIM_MAX): Likewise.
29976 [!ISO && !ISO99 && !ISO11] (BC_SCALE_MAX): Likewise.
29977 [!ISO && !ISO99 && !ISO11] (BC_STRING_MAX): Likewise.
29978 [!ISO && !ISO99 && !ISO11] (COLL_WEIGHTS_MAX): Likewise.
29979 [!ISO && !ISO99 && !ISO11] (EXPR_NEST_MAX): Likewise.
29980 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Likewise
29981 [POSIX || XPG3 || XPG4] (CHARCLASS_NAME_MAX): Do not allow.
29982 [!ISO && !ISO99 && !ISO11] (_POSIX_CLOCKRES_MIN): Specify exact
29983 value.
29984 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_LISTIO_MAX): Do not specify
29985 as optional.
29986 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_MAX): Likewise.
29987 [!ISO && !ISO99 && !ISO11] (_POSIX_ARG_MAX): Likewise.
29988 [!ISO && !ISO99 && !ISO11] (_POSIX_CHILD_MAX): Likewise.
29989 [!ISO && !ISO99 && !ISO11] (_POSIX_DELAYTIMER_MAX): Likewise.
29990 [!ISO && !ISO99 && !ISO11] (_POSIX_LINK_MAX): Likewise.
29991 [!ISO && !ISO99 && !ISO11] (_POSIX_LOGIN_NAME_MAX): Likewise.
29992 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_CANON): Likewise.
29993 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_INPUT): Likewise.
29994 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_OPEN_MAX): Likewise.
29995 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_PRIO_MAX): Likewise.
29996 [!ISO && !ISO99 && !ISO11] (_POSIX_NAME_MAX): Likewise.
29997 [!ISO && !ISO99 && !ISO11] (_POSIX_NGROUPS_MAX): Likewise.
29998 [!ISO && !ISO99 && !ISO11] (_POSIX_OPEN_MAX): Likewise.
29999 [!ISO && !ISO99 && !ISO11] (_POSIX_PATH_MAX): Likewise.
30000 [!ISO && !ISO99 && !ISO11] (_POSIX_PIPE_BUF): Likewise.
30001 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Remove duplicate
30002 entry.
30003 [!ISO && !ISO99 && !ISO11] (_POSIX_RTSIG_MAX): Do not specify as
30004 optional.
30005 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_NSEMS_MAX): Likewise.
30006 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_VALUE_MAX): Likewise.
30007 [!ISO && !ISO99 && !ISO11] (_POSIX_SIGQUEUE_MAX): Likewise.
30008 [!ISO && !ISO99 && !ISO11] (_POSIX_SSIZE_MAX): Likewise.
30009 [!ISO && !ISO99 && !ISO11] (_POSIX_STREAM_MAX): Likewise.
30010 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_DESTRUCTOR_ITERATIONS):
30011 Likewise.
30012 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_KEYS_MAX): Likewise.
30013 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_THREADS_MAX): Likewise.
30014 [!ISO && !ISO99 && !ISO11] (_POSIX_TIMER_MAX): Likewise.
30015 [!ISO && !ISO99 && !ISO11] (_POSIX_TTY_NAME_MAX): Likewise.
30016 [!ISO && !ISO99 && !ISO11] (_POSIX_TZNAME_MAX): Likewise. Give
30017 value as 3 for [POSIX || XPG3 || XPG4 || UNIX98].
30018 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_BASE_MAX): Do not specify
30019 as optional.
30020 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_DIM_MAX): Likewise.
30021 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_SCALE_MAX): Likewise.
30022 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_STRING_MAX): Likewise.
30023 [!ISO && !ISO99 && !ISO11] (_POSIX2_CHARCLASS_NAME_MAX):
30024 Likewise. Do not allow for [POSIX || XPG3 || XPG4 || UNIX98].
30025 [!ISO && !ISO99 && !ISO11] (_POSIX2_COLL_WEIGHTS_MAX): Do not
30026 specify as optional.
30027 [!ISO && !ISO99 && !ISO11] (_POSIX2_EXPR_NEST_MAX): Likewise.
30028 [!ISO && !ISO99 && !ISO11] (_POSIX2_LINE_MAX): Likewise.
30029 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Likewise.
30030 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Do not allow.
30031 [POSIX || XPG3] (NL_ARGMAX): Do not allow.
30032 [XPG3] (NL_LANGMAX): Likewise.
30033 [POSIX || XPG3] (NL_MSGMAX): Likewise.
30034 [POSIX || XPG3] (NL_NMAX): Likewise.
30035 [POSIX || XPG3] (NL_SETMAX): Likewise.
30036 [POSIX || XPG3] (NL_TEXTMAX): Likewise.
30037 [XPG3] (NZERO): Likewise.
30038 [XPG4 || UNIX98] (TMP_MAX): Only enable for these conditions.
30039 [POSIX || XPG3 || XPG4 || UNIX98] (*_MIN): Do not allow.
30040 [!ISO && !ISO99 && !ISO11] (*_t): Allow.
30041 * conform/data/regex.h-data [!ISO && !ISO99 && !ISO11]
30042 (REG_ERANGE): Expect.
30043 * conform/data/stdio.h-data [POSIX] (L_cuserid): Use
30044 optional-constant.
30045 [POSIX || XOPEN2K || XOPEN2K8 || POSIX2008] (getchar_unlocked):
30046 Use (void) in prototype.
30047 [POSIX] (*_t): Allow.
30048 * conform/data/sys/times.h-data [POSIX]: Enable whole file.
30049 * conform/data/wordexp.h-data [!ISO && !ISO99 && !ISO11]
30050 (WRDE_BADVAL): Expect.
30051
5ba924e3
JM
30052 * conform/data/fcntl.h-data [XPG3 || XPG4] (O_DSYNC): Do not
30053 expect.
30054 [XPG3 || XPG4] (O_RSYNC): Likewise.
30055 * conform/data/signal.h-data [XPG3 || XPG4] (pthread_kill):
30056 Likewise.
30057 [XPG3 || XPG4] (pthread_sigmask): Likewise.
30058 [XPG3 || XPG4] (sigqueue): Likewise.
30059 [XPG3 || XPG4] (sigtimedwait): Likewise.
30060 [XPG3 || XPG4] (sigwaitinfo): Likewise.
30061 * conform/data/stdio.h-data [XPG3 || XPG4] (snprintf): Likewise.
30062 [XPG3 || XPG4] (vsnprintf): Likewise.
30063 * conform/data/sys/stat.h-data [XPG3 || XPG4] (blkcnt_t):
30064 Likewise.
30065 [XPG3 || XPG4] (blksize_t): Likewise.
30066 * conform/data/time.h-data [XPG3 || XPG4] (struct timespec):
30067 Likewise.
30068 [XPG3 || XPG4] (CLOCK_PROCESS_CPUTIME_ID): Likewise.
30069 [XPG3 || XPG4] (CLOCK_THREAD_CPUTIME_ID): Likewise.
30070 [XPG3 || XPG4] (struct itimerspec): Likewise.
30071 [XPG3 || XPG4] (CLOCK_REALTIME): Likewise.
30072 [XPG3 || XPG4] (TIMER_ABSTIME): Likewise.
30073 [XPG3 || XPG4] (CLOCK_MONOTONIC): Likewise.
30074 [XPG3 || XPG4] (clockid_t): Likewise.
30075 [XPG3 || XPG4] (timer_t): Likewise.
30076 [XPG3 || XPG4] (clock_getres): Likewise.
30077 [XPG3 || XPG4] (clock_gettime): Likewise.
30078 [XPG3 || XPG4] (clock_settime): Likewise.
30079 [XPG3 || XPG4] (nanosleep): Likewise.
30080 [XPG3 || XPG4] (timer_create): Likewise.
30081 [XPG3 || XPG4] (timer_delete): Likewise.
30082 [XPG3 || XPG4] (timer_gettime): Likewise.
30083 [XPG3 || XPG4] (timer_getoverrun): Likewise.
30084 [XPG3 || XPG4] (timer_settime): Likewise.
30085 * conform/data/unistd.h-data [XPG3 || XPG4] (fdatasync): Likewise.
30086 [XPG3 || XPG4] (getlogin_r): Likewise.
30087 [XPG3 || XPG4] (pread): Likewise.
30088 [XPG3 || XPG4] (pthread_atfork): Likewise.
30089 [XPG3 || XPG4] (pwrite): Likewise.
30090
ee663277
JM
30091 [BZ #14835]
30092 * signal/signal.h [__USE_XOPEN_EXTENDED]: Include
30093 <bits/siginfo.h>.
30094
942caa16
PT
300952012-11-19 Pino Toscano <toscano.pino@tiscali.it>
30096
e19af380
PT
30097 * malloc/mtrace.c (muntrace): Reset MALLSTREAM and the hooks before
30098 finalizing MALLSTREAM.
30099
942caa16
PT
30100 * sysdeps/mach/hurd/syncfs.c: New file.
30101
cfde9b46
SP
301022012-11-19 Siddhesh Poyarekar <siddhesh@redhat.com>
30103
30104 [BZ #14719]
30105 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Set h_errno to
30106 NETDB_INTERNAL when NSS_STATUS_UNAVAIL.
30107 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Set
30108 h_errno to NETDB_INTERNAL when errno is EMFILE or ENFILE.
30109 (_nss_dns_gethostbyname4_r): Likewise.
30110 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set result to
30111 EAI_SYSTEM if NSS_STATUS_UNAVAIL.
30112
f6da27e5
PH
301132012-11-19 Peng Haitao <penght@cn.fujitsu.com>
30114
30115 [BZ #13763]
30116 * sunrpc/bindrsvprt.c: Add lock to protect static variable.
30117
6665d4a2
SM
301182012-11-19 Steve McIntyre <steve.mcintyre@linaro.org>
30119
1f51ee92
SM
30120 * sysdeps/generic/ldconfig.h (FLAG_AARCH64_LIB64): New macro.
30121 * elf/cache.c (print_entry): Print ",AArch64" for
30122 FLAG_AARCH64_LIB64
30123
6665d4a2
SM
30124 * sysdeps/generic/ldconfig.h (FLAG_ARM_LIBHF): New macro.
30125 * elf/cache.c (print_entry): Print ",hard-float" for
30126 FLAG_ARM_LIBHF.
30127
05b227bd
DM
301282012-11-18 David S. Miller <davem@davemloft.net>
30129
30130 With help from Joseph Myers.
30131 * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Adjust tinyness
30132 cutoff to 2**-13.
30133 * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Adjust tinyness
30134 cutoff to 2**-25.
30135 * sysdeps/ieee754/ldbl-128/e_j0l.c (U0): New constant.
30136 ( __ieee754_y0l): Avoid arithmetic underflow when 'x' is very
30137 small.
30138 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
30139 * math/libm-test.inc (y0_test): New tests.
30140 (y1_test): New tests.
30141 * sysdeps/i386/fpu/libm-test-ulps: Update.
30142 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
30143 * sysdeps/sparc/fpu/libm-test-ulps: Update.
30144
786b0b67
AS
301452012-11-18 Andreas Schwab <schwab@linux-m68k.org>
30146
30147 * configure.in (libc_cv_ld_gnu_indirect_function): Use .quad on
30148 64-bit targets.
30149 * configure: Regenerated.
30150
8e18b86d
DM
301512012-11-17 David S. Miller <davem@davemloft.net>
30152
30153 [BZ #14811]
30154 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Saturate
30155 nonzero exponents with absolute value below 0x1p-128 to +/-
30156 0x1p-128.
30157
531f1ae0
JM
301582012-11-17 Joseph Myers <joseph@codesourcery.com>
30159
12df29e2
JM
30160 * sysdeps/unix/sysv/linux/fxstatat.c: Include <string.h>.
30161
150dc1a0
JM
30162 * elf/dl-runtime.c [!ELF_MACHINE_NO_PLT]: Make code unconditional.
30163
531f1ae0
JM
30164 * posix/getconf-speclist.c: New file.
30165 * posix/posix-envs.def: Likewise.
30166 * posix/confstr.c (START_ENV_GROUP): New macro.
30167 (END_ENV_GROUP): Likewise.
30168 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
30169 (KNOWN_PRESENT_ENV_STRING): Likewise.
30170 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
30171 (UNKNOWN_ENVIRONMENT): Likewise.
30172 (confstr): Include posix-envs.def instead of handling
30173 _CS_V7_WIDTH_RESTRICTED_ENVS, _CS_V6_WIDTH_RESTRICTED_ENVS and
30174 _CS_V5_WIDTH_RESTRICTED_ENVS directly here.
30175 * sysdeps/posix/sysconf.c (START_ENV_GROUP): New macro.
30176 (END_ENV_GROUP): Likewise.
30177 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
30178 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
30179 (UNKNOWN_ENVIRONMENT): Likewise.
30180 (__sysconf): Include posix-envs.def instead of handling associated
30181 cases directly here.
30182 * posix/Makefile ($(objpfx)getconf.speclist): Generate by
30183 preprocessing getconf-speclist.c rather than running getconf or
30184 generating empty file.
30185
a93f9cbc
PT
301862012-11-16 Pino Toscano <toscano.pino@tiscali.it>
30187
30188 * scripts/check-local-headers.sh: Ignore 'mach' headers.
30189
d64d9f87
AL
301902012-11-16 Andrej Lajovic <natrij@gmail.com>
30191
30192 [BZ #14672]
30193 * iconv/iconv_prog.c (main): Fix -c handling of '/'.
30194
447885eb
DM
301952012-11-16 David S. Miller <davem@davemloft.net>
30196
30197 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): If xm1 is
30198 smaller than LDBL_EPSILON/2.0L, just return xm1.
30199
bcbf9830
L
302002012-11-16 H.J. Lu <hongjiu.lu@intel.com>
30201
30202 * elf/tst-array1.c (init): Set constructor priority to 1000.
30203 (fini): Set destructor priority to 1000.
30204 * elf/tst-array2dep.c: Likewise.
30205
2b766585
SP
302062012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
30207
30208 [BZ #11741]
30209 * libio/fileops.c (_IO_new_file_write): Correctly return error.
30210 (_IO_new_file_xsputn): Also return EOF if none of the input
30211 data was written when overflow failed.
30212 * libio/iopadn.c (_IO_padn): Likewise.
30213 * libio/iowpadn.c (_IO_wpadn): Likewise.
30214 * stdio-common/tst-put-error.c: Add copyright notice.
30215 (do_test): Add case for printing padded string.
30216 * stdio-common/vfprintf [!COMPILE_WPRINTF] (PAD): Flag error if
30217 _IO_padn returned error.
30218 [COMPILE_WPRINTF] (PAD): Flag error if _IO_wpadn returned error.
30219 * libio/libioP.h (_IO_xsputn_t): Note in comment that xsputn can
30220 return EOF.
30221
b1848fde
SP
302222012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
30223
30224 * libio/libioP.h: Add comment note that the references to C++
30225 bits are now obsolete.
30226
2fd89785
MS
302272012-11-15 Marcus Shawcroft <marcus.shawcroft@linaro.org>
30228
30229 * math/libm-test.inc (check_complex): Use asprintf.
30230
e3ea5409
JM
302312012-11-14 Joseph Myers <joseph@codesourcery.com>
30232
30233 * debug/pcprofiledump.c (print_version): Update copyright year.
30234 * malloc/memusagestat.c (print_version): Likewise.
30235
2e64d265
L
302362012-11-14 H.J. Lu <hongjiu.lu@intel.com>
30237
30238 [BZ #14831]
30239 * elf/Makefile (tests): Add tst-audit8.
30240 ($(objpfx)tst-audit8): Also depend on $(common-objpfx)math/libm.so.
30241 ($(objpfx)tst-audit8.out): New target.
30242 (tst-audit8-ENV): New variable.
30243 * elf/dl-runtime.c (_dl_profile_fixup): Call _dl_fixup to skip
30244 audit if l_reloc_result is NULL.
30245 (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): Issue an error if it isn't
30246 defined and ELF_MACHINE_RUNTIME_FIXUP_ARGS is defined.
30247 * elf/tst-audit8.c: New file.
30248
c485e4d2
MS
302492012-11-14 Marcus Shawcroft <marcus.shawcroft@linaro.org>
30250
30251 * io/Makefile (CFLAGS-open.c, CFLAGS-open64.c): Define.
30252 * misc/Makefile (CFLAGS-select.c): Define.
30253 * posix/Makefile (CFLAGS-pause.c): Define.
30254
3a0d900a
DM
302552012-11-13 David S. Miller <davem@davemloft.net>
30256
30257 * crypt/Makefile: Move test targets after toplevel Rules
30258 inclusion. Grab any necessary sysdep routines when linking.
30259 * crypt/md5.c (md5_process_block): Remove define, we will always
30260 name it __md5_process_block.
30261 (md5_finish_ctx): Update md5_process_block call.
30262 (md5_stream): Likewise.
30263 (md5_process_bytes): Likewise.
30264 (md5_process_block): Rename to __md5_process_block and move to ...
30265 * crypt/md5-block.c: ... here.
30266 * crypt/sha256.c (sha256_process_block): Move to ...
30267 * crypt/sha256-block.c: ... here.
30268 * crypt/sha512.c (sha512_process_block): Move to ...
30269 * crypt/sha512-block.c: ... here.
30270 * locale/Makefile (CFLAGS-md5.c): Define to add crypt/ to include
30271 path.
30272 * sysdeps/sparc/sparc-ifunc.c (sparc_libc_ifunc): Define.
30273 * sysdeps/sparc/sparc64/multiarch/Makefile
30274 (libcrypt-sysdep_routines): Add crypto assembler sysdeps when in
30275 crypt subdir.
30276 (localedef-aux): Add md5 crypto assembler when in locale subdir.
30277 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Mirror sparc64
30278 multiarch changes.
30279 * sysdeps/sparc/sparc64/multiarch/md5-block.c: New file.
30280 * sysdeps/sparc/sparc64/multiarch/md5-crop.S: New file.
30281 * sysdeps/sparc/sparc64/multiarch/sha256-block.c: New file.
30282 * sysdeps/sparc/sparc64/multiarch/sha256-crop.S: New file.
30283 * sysdeps/sparc/sparc64/multiarch/sha512-block.c: New file.
30284 * sysdeps/sparc/sparc64/multiarch/sha512-crop.S: New file.
30285 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-block.c: New file.
30286 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-crop.S: New file.
30287 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-block.c: New
30288 file.
30289 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-crop.S: New file.
30290 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-block.c: New
30291 file.
30292 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-crop.S: New file.
30293
8ca89318
JM
302942012-11-13 Joseph Myers <joseph@codesourcery.com>
30295
e27d476a
JM
30296 * timezone/tzselect.ksh: Update from tzcode git revision
30297 a435f9f0ecafa56d9e0263835836bd0c64cd7307.
30298 * timezone/zdump.c: Likewise.
30299 * timezone/zic.c: Likewise.
30300 * timezone/Makefile ($(objpfx)version.h): Only include $(version)
30301 in TZVERSION setting, not $(PKGVERSION).
30302 ($(objpfx)tzselect): Likewise. Also substitute PKGVERSION and
30303 REPORT_BUGS_TO settings.
30304
8ca89318
JM
30305 [BZ #14838]
30306 * resolv/netdb.h [__USE_XOPEN_EXTENDED] (IPPORT_RESERVED): Define
30307 macro.
30308
47594329
MS
303092012-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
30310
30311 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Move underflow
30312 detection to immediately after _FP_ROUND().
30313 * soft-fp/soft-fp.h (_FP_ROUND): Don't round if working
30314 bits are 0.
30315
640ac3f1
DM
303162012-11-11 David S. Miller <davem@davemloft.net>
30317
30318 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Include
30319 inttypes.h
30320 (__get_clockfreq_via_proc_openprom): Use __open, __read, and
30321 __close rather than their public counterparts.
30322
3d2577bb
JM
303232012-11-10 Joseph Myers <joseph@codesourcery.com>
30324
30325 * conform/data/semaphore.h-data [XPG3 || XPG4]: Disable whole
30326 file.
30327 [UNIX98] (sem_timedwait): Do not expect.
30328 * conform/data/sys/socket.h-data [XPG3]: Disable whole file.
30329 [XPG4 || UNIX98] (sockatmark): Do not expect.
30330 * conform/data/time.h-data [XPG3 || XPG4 || UNIX98]
30331 (clock_getcpuclockid): Do not expect.
30332 [XPG3 || XPG4 || UNIX98] (clock_nanosleep): Do not expect.
30333 * conform/data/unistd.h-data [XPG3 || XPG4 || UNIX98] (setegid):
30334 Do not expect.
30335 [XPG3 || XPG4 || UNIX98] (seteuid): Likewise.
30336 * conform/data/wchar.h-data [UNIX98] (vfwscanf): Do not expect.
30337 [UNIX98] (vwscanf): Likewise.
30338 [UNIX98] (vswscanf): Likewise.
30339
fb1ae1ee
JM
303402012-11-09 Joseph Myers <joseph@codesourcery.com>
30341
9ec6f8bd
JM
30342 * timezone/version.h: Remove file.
30343 * timezone/README: Do not refer to version.h.
30344 * timezone/Makefile ($(objpfx)zic.o): New dependency on
30345 $(objpfx)version.h.
30346 ($(objpfx)zdump.o): Likewise.
c3f81911 30347 ($(objpfx)version.h): New target.
9ec6f8bd 30348
0aa8f8a1
JM
30349 * timezone/tzselect.ksh: Change to verbatim copy from tzcode
30350 2012i.
30351 * timezone/README: Don't mention modification to tzselect.ksh.
30352 * timezone/Makefile ($(objpfx)tzselect): Update substitutions to
30353 work on unmodified tzselect.ksh. Substitute version numbers in
30354 tzselect.ksh.
30355
4e87147f
JM
30356 * Makefile (format-me): Remove.
30357 (INSTALL): Adjust indentation. Use commands directly instead of
30358 using $(format-me).
30359
8b748aed
JM
30360 * aclocal.m4 (ACX_PKGVERSION): New macro.
30361 (ACX_BUGURL): Likewise.
30362 * configure.in: Use ACX_PKGVERSION and ACX_BUGURL.
30363 (PKGVERSION): New AC_DEFINE_UNQUOTED.
30364 (REPORT_BUGS_TO): Likewise.
30365 * configure: Regenerated.
30366 * config.h.in (PKGVERSION): New macro.
30367 (REPORT_BUGS_TO): Likewise.
30368 * config.make.in (PKGVERSION): New variable.
30369 (PKGVERSION_TEXI): Likewise.
30370 (REPORT_BUGS_TO): Likewise.
30371 (REPORT_BUGS_TEXI): Likewise.
30372 * Makefile (format-me): Use -I$(common-objpfx)manual.
30373 (INSTALL): Depend on $(common-objpfx)manual/pkgvers.texi.
30374 ($(common-objpfx)manual/%): New target.
30375 (manual/%): Remove target.
30376 * catgets/gencat.c (more_help): Use REPORT_BUGS_TO.
30377 (print_version): Use PKGVERSION.
30378 * csu/version.c (banner): Use PKGVERSION and REPORT_BUGS_TO.
30379 * debug/Makefile ($(objpfx)catchsegv): Also substitute PKGVERSION
30380 and REPORT_BUGS_TO.
30381 ($(objpfx)xtrace): Likewise.
30382 * debug/catchsegv.sh: Use PKGVERSION and REPORT_BUGS_TO.
30383 * debug/pcprofiledump.c (more_help): Use REPORT_BUGS_TO.
30384 (print_version): Use PKGVERSION.
30385 * debug/xtrace.sh (do_help): Use REPORT_BUGS_TO.
30386 (do_version): Use PKGVERSION.
30387 * elf/Makefile ($(objpfx)sotruss): Also substitute PKGVERSION and
30388 REPORT_BUGS_TO.
30389 (common-ldd-rewrite): Likewise.
30390 * elf/dl-close.c (_dl_close_worker): Use REPORT_BUGS_TO.
30391 * elf/ldconfig.c (more_help): Use REPORT_BUGS_TO.
30392 (print_version): Use PKGVERSION.
30393 * elf/ldd.bash.in: Use PKGVERSION and REPORT_BUGS_TO.
30394 * elf/pldd.c (argp_program_bug_address): Remove variable.
30395 (more_help): New function.
30396 (argp): Use more_help.
30397 (print_version): Use PKGVERSION.
30398 * elf/sln.c (main): Use PKGVERSION.
30399 (usage): Use REPORT_BUGS_TO.
30400 * elf/sotruss.ksh (do_help): Use REPORT_BUGS_TO.
30401 (top level): Use PKGVERSION.
30402 * elf/sprof.c (more_help): Use REPORT_BUGS_TO.
30403 (print_version): Use PKGVERSION.
30404 * iconv/iconv_prog.c (more_help): Use REPORT_BUGS_TO.
30405 (print_version): Use PKGVERSION.
30406 * iconv/iconvconfig.c (more_help): Use REPORT_BUGS_TO.
30407 (print_version): Use PKGVERSION.
30408 * locale/programs/locale.c (more_help): Use REPORT_BUGS_TO.
30409 (print_version): Use PKGVERSION.
30410 * locale/programs/localedef.c (more_help): Use REPORT_BUGS_TO.
30411 (print_version): Use PKGVERSION.
30412 * login/programs/pt_chown.c (more_help): Use REPORT_BUGS_TO.
30413 (print_version): Use PKGVERSION.
30414 * malloc/Makefile ($(objpfx)mtrace): Also substitute PKGVERSION
30415 and BUGURL.
30416 ($(objpfx)memusage): Likewise.
30417 * malloc/memusage.sh (do_help): Use REPORT_BUGS_TO.
30418 (do_version): Use PKGVERSION.
30419 * malloc/memusagestat.c (more_help): Use REPORT_BUGS_TO.
30420 (print_version): Use PKGVERSION.
30421 * malloc/mtrace.pl ($PACKAGE): Remove variable.
30422 ($PKGVERSION): New variable.
30423 ($REPORT_BUGS_TO): Likewise.
30424 (usage): Use $REPORT_BUGS_TO.
30425 (top level): Use $PKGVERSION.
30426 * manual/Makefile (libc-texi-generated): Add pkgvers.texi.
30427 ($(objpfx)pkgvers.texi): New rule.
30428 ($(objpfx)stamp-pkgvers): Likewise.
30429 * manual/install.texi: Include pkgvers.texi.
30430 (--with-pkgversion): Document new configure option.
30431 (--with-bugurl): Likewise.
30432 (Reporting Bugs): Describe Bugzilla as upstream tracker rather
30433 than necessarily for this particular distribution. Use
30434 REPORT_BUGS_TO for where to report bugs.
30435 * INSTALL: Regenerated.
30436 * manual/libc.texinfo: Include pkgvers.texi.
30437 [!PKGVERSION_DEFAULT]: Include PKGVERSION in version information.
30438 * nscd/nscd.c (more_help): Use REPORT_BUGS_TO.
30439 (print_version): Use PKGVERSION.
30440 * nss/getent.c (more_help): Use REPORT_BUGS_TO.
30441 (print_version): Use PKGVERSION.
30442 * nss/makedb.c (more_help): Use REPORT_BUGS_TO.
30443 (print_version): Use PKGVERSION.
30444 * posix/getconf.c (main): Use PKGVERSION and REPORT_BUGS_TO.
30445 * sunrpc/proto.h [IS_IN_build] (_libc_intl_domainname): Remove
30446 macro.
30447 * sunrpc/rpc_main.c (options_usage): Use REPORT_BUGS_TO.
30448 (print_version): Use PKGVERSION.
30449 * sunrpc/rpcinfo.c (usage): Use REPORT_BUGS_TO.
30450 (print_version): Use PKGVERSION.
30451 * sysdeps/unix/sysv/linux/lddlibc4.c (main): Use REPORT_BUGS_TO
30452 and PKGVERSION.
30453
92e4b6a9
JM
30454 * timezone/checktab.awk: Update from tzcode 2012i.
30455 * timezone/ialloc.c: Likewise.
30456 * timezone/private.h: Likewise.
30457 * timezone/scheck.c: Likewise.
30458 * timezone/tzfile.h: Likewise.
30459 * timezone/tzselect.ksh: Merge in changes from tzcode 2012i.
30460 (TZVERSION): Hardcode tzcode version number.
30461 * timezone/zdump.c: Update from tzcode 2012i.
30462 * timezone/zic.c: Likewise.
30463 * timezone/version.h: New file.
30464 * timezone/README: Describe version.h. Update upstream location.
30465
9bde902c
JM
30466 [BZ #14824]
30467 * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && __USE_XOPEN2K]
30468 (mktemp): Enable declaration.
30469 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (ecvt): Likewise.
30470 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (fcvt): Likewise.
30471 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (gcvt): Likewise.
30472 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qecvt):
30473 Likewise.
30474 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qfcvt):
30475 Likewise.
30476 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qgcvt):
30477 Likewise.
30478 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (ecvt_r):
30479 Likewise.
30480 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (fcvt_r):
30481 Likewise.
30482 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (gcvt_r):
30483 Likewise.
30484
fb1ae1ee
JM
30485 [BZ #14821]
30486 * sunrpc/clnt_tcp.c (clnttcp_control): Access values at fixed
30487 offset in buffer as u_int32_t not u_long. Consistently use memcpy
30488 for copies of such integer values.
30489 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
30490 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
30491
2c1adbcb
AJ
304922012-11-09 Andreas Jaeger <aj@suse.de>
30493
30494 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove all
30495 definitions and declarations that are provided by
30496 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
30497
d0f8457e
AK
304982012-11-08 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
30499
3a235abb 30500 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add "te".
d0f8457e
AK
30501 * sysdeps/s390/dl-procinfo.h (HWCAP_S390_TE): Add enum value.
30502 * sysdeps/unix/sysv/linux/s390/hwcap.h (HWCAP_S390_TE): Add macro
30503 definition.
30504
57241e26
MS
305052012-11-08 Marcus Shawcroft <marcus.shawcroft@linaro.org>
30506
30507 * elf/elf.h: Update comment before AArch64 relocations.
30508
60e8270d
DM
305092012-11-07 David S. Miller <davem@davemloft.net>
30510
30511 * sysdeps/unix/sysv/linux/sparc/sparc64/__start_context.S: New file.
30512 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
30513 (__start_context): Declare.
30514 (__makecontext_ret): Delete.
30515 (__makecontext): Hook up __start_context instead of
30516 __makecontext_ret.
30517 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
30518 (sysdep_routines): Add __start_context when in stdlib.
30519
0fbb0fbc
JM
305202012-11-07 Joseph Myers <joseph@codesourcery.com>
30521
30522 * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Pass $(NM),
30523 $(OBJDUMP) and $(READELF) to tst-xmmymm.sh.
30524 * sysdeps/x86/tst-xmmymm.sh (NM): New variable. Use it instead of
30525 hardcoded "nm".
30526 (OBJDUMP): New variable. Use it instead of hardcoded "objdump".
30527 (READELF): New variable. Use it instead of hardcoded "readelf".
30528
eb48db7e
L
305292012-11-07 H.J. Lu <hongjiu.lu@intel.com>
30530
30531 * sysdeps/x86_64/Makefile ($(objpfx)tst-xmmymm.out): Moved to ...
30532 * sysdeps/x86/Makefile: Here.
30533 * sysdeps/x86_64/tst-xmmymm.sh: Renamed to ...
30534 * sysdeps/x86/tst-xmmymm.sh: This.
30535
05bcf62a
JM
305362012-11-07 Joseph Myers <joseph@codesourcery.com>
30537
c4b6cf53
JM
30538 * conform/data/pthread.h-data [XPG3 || XPG4]: Disable all
30539 expectations.
30540 [UNIX98] (pthread_barrier_t): Do not expect.
30541 [UNIX98] (pthread_barrierattr_t): Likewise.
30542 [UNIX98] (pthread_spinlock_t): Likewise.
30543 [UNIX98] (pthread_barrier_destroy): Likewise.
30544 [UNIX98] (pthread_barrier_init): Likewise.
30545 [UNIX98] (pthread_barrier_wait): Likewise.
30546 [UNIX98] (pthread_barrierattr_destroy): Likewise.
30547 [UNIX98] (pthread_barrierattr_getpshared): Likewise.
30548 [UNIX98] (pthread_barrierattr_init): Likewise.
30549 [UNIX98] (pthread_barrierattr_setpshared): Likewise.
30550 [UNIX98] (pthread_getcpuclockid): Likewise.
30551 [UNIX98] (pthread_mutex_timedlock): Likewise.
30552 [UNIX98] (pthread_rwlock_timedrdlock): Likewise.
30553 [UNIX98] (pthread_rwlock_timedwrlock): Likewise.
30554 [UNIX98] (pthread_sigmask): Likewise.
30555 [UNIX98] (pthread_spin_destroy): Likewise.
30556 [UNIX98] (pthread_spin_init): Likewise.
30557 [UNIX98] (pthread_spin_lock): Likewise.
30558 [UNIX98] (pthread_spin_trylock): Likewise.
30559 [UNIX98] (pthread_spin_unlock): Likewise.
30560 * conform/data/sys/types.h-data [XPG3 || XPG4] (pthread_attr_t):
30561 Do not expect.
30562 [XPG3 || XPG4 || UNIX98] (pthread_barrier_t): Likewise.
30563 [XPG3 || XPG4 || UNIX98] (pthread_barrierattr_t): Likewise.
30564 [XPG3 || XPG4] (pthread_cond_t): Likewise.
30565 [XPG3 || XPG4] (pthread_condattr_t): Likewise.
30566 [XPG3 || XPG4] (pthread_key_t): Likewise.
30567 [XPG3 || XPG4] (pthread_mutex_t): Likewise.
30568 [XPG3 || XPG4] (pthread_mutexattr_t): Likewise.
30569 [XPG3 || XPG4] (pthread_once_t): Likewise.
30570 [XPG3 || XPG4] (pthread_rwlock_t): Likewise.
30571 [XPG3 || XPG4] (pthread_rwlockattr_t): Likewise.
30572 [XPG3 || XPG4 || UNIX98] (pthread_spinlock_t): Likewise.
30573 [XPG3 || XPG4] (pthread_t): Likewise.
30574
cbe6e120
JM
30575 * conform/data/stdlib.h-data [XPG3 || XPG4 || UNIX98] (setenv): Do
30576 not expect.
30577 [XPG3 || XPG4 || UNIX98] (unsetenv): Likewise.
30578
1b126443
JM
30579 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (isnan):
30580 Change function return type to int.
30581
b961a573
JM
30582 * conform/data/sys/mman.h-data [!POSIX] (POSIX_MADV_NORMAL):
30583 Change condition to [!POSIX && !XPG3 && !XPG4 && !UNIX98].
30584 [!POSIX] (POSIX_MADV_SEQUENTIAL): Likewise.
30585 [!POSIX] (POSIX_MADV_RANDOM): Likewise.
30586 [!POSIX] (POSIX_MADV_WILLNEED): Likewise.
30587 [!POSIX] (POSIX_MADV_DONTNEED): Likewise.
30588 [!POSIX] (posix_madvise): Likewise.
30589 (POSIX_TYPED_MEM_ALLOCATE): Condition on [!POSIX && !XPG3 && !XPG4
30590 && !UNIX98].
30591 (POSIX_TYPED_MEM_ALLOCATE_CONTIG): Likewise.
30592 (POSIX_TYPED_MEM_MAP_ALLOCATABLE): Likewise.
30593 (mode_t): Likewise.
30594 (posix_mem_offset): Likewise.
30595 (posix_typed_mem_get_info): Likewise.
30596 (posix_typed_mem_open): Likewise.
30597
9e188909
JM
30598 * conform/data/sys/stat.h-data [!POSIX && !POSIX2008] (mknodat):
30599 Change condition to [XOPEN2K8].
30600
05bcf62a
JM
30601 * conform/conformtest.pl: Preprocess allow-header data with -x c
30602 instead of from stdin.
30603 (@headers): Add stdalign.h, stdbool.h and stdnoreturn.h.
30604 * conform/data/complex.h-data [C99-based standards] (cerf): Allow.
30605 [C99-based standards] (cerfc): Likewise.
30606 [C99-based standards] (cexp2): Likewise.
30607 [C99-based standards] (cexpm1): Likewise.
30608 [C99-based standards] (clog10): Likewise.
30609 [C99-based standards] (clog1p): Likewise.
30610 [C99-based standards] (clog2): Likewise.
30611 [C99-based standards] (clgamma): Likewise.
30612 [C99-based standards] (ctgamma): Likewise.
30613 [C99-based standards] (cerff): Likewise.
30614 [C99-based standards] (cerfcf): Likewise.
30615 [C99-based standards] (cexp2f): Likewise.
30616 [C99-based standards] (cexpm1f): Likewise.
30617 [C99-based standards] (clog10f): Likewise.
30618 [C99-based standards] (clog1pf): Likewise.
30619 [C99-based standards] (clog2f): Likewise.
30620 [C99-based standards] (clgammaf): Likewise.
30621 [C99-based standards] (ctgammaf): Likewise.
30622 [C99-based standards] (cerfl): Likewise.
30623 [C99-based standards] (cerfcl): Likewise.
30624 [C99-based standards] (cexp2l): Likewise.
30625 [C99-based standards] (cexpm1l): Likewise.
30626 [C99-based standards] (clog10l): Likewise.
30627 [C99-based standards] (clog1pl): Likewise.
30628 [C99-based standards] (clog2l): Likewise.
30629 [C99-based standards] (clgammal): Likewise.
30630 [C99-based standards] (ctgammal): Likewise.
30631 * conform/data/inttypes.h-data [C99-based standards]: Include
30632 stdint.h-data. Remove all expectations for stdint.h contents.
30633 [C99-based standards] (PRI*): Do not allow.
30634 [C99-based standards] (SCN*): Likewise.
30635 [C99-based standards] (*_t): Likewise.
30636 [C99-based-standards] (PRId8): Expect macro.
30637 [C99-based-standards] (PRIi8): Likewise.
30638 [C99-based-standards] (PRIo8): Likewise.
30639 [C99-based-standards] (PRIu8): Likewise.
30640 [C99-based-standards] (PRIx8): Likewise.
30641 [C99-based-standards] (PRIX8): Likewise.
30642 [C99-based-standards] (SCNd8): Likewise.
30643 [C99-based-standards] (SCNi8): Likewise.
30644 [C99-based-standards] (SCNo8): Likewise.
30645 [C99-based-standards] (SCNu8): Likewise.
30646 [C99-based-standards] (SCNx8): Likewise.
30647 [C99-based-standards] (PRIdLEAST8): Likewise.
30648 [C99-based-standards] (PRIiLEAST8): Likewise.
30649 [C99-based-standards] (PRIoLEAST8): Likewise.
30650 [C99-based-standards] (PRIuLEAST8): Likewise.
30651 [C99-based-standards] (PRIxLEAST8): Likewise.
30652 [C99-based-standards] (PRIXLEAST8): Likewise.
30653 [C99-based-standards] (SCNdLEAST8): Likewise.
30654 [C99-based-standards] (SCNiLEAST8): Likewise.
30655 [C99-based-standards] (SCNoLEAST8): Likewise.
30656 [C99-based-standards] (SCNuLEAST8): Likewise.
30657 [C99-based-standards] (SCNxLEAST8): Likewise.
30658 [C99-based-standards] (PRIdFAST8): Likewise.
30659 [C99-based-standards] (PRIiFAST8): Likewise.
30660 [C99-based-standards] (PRIoFAST8): Likewise.
30661 [C99-based-standards] (PRIuFAST8): Likewise.
30662 [C99-based-standards] (PRIxFAST8): Likewise.
30663 [C99-based-standards] (PRIXFAST8): Likewise.
30664 [C99-based-standards] (SCNdFAST8): Likewise.
30665 [C99-based-standards] (SCNiFAST8): Likewise.
30666 [C99-based-standards] (SCNoFAST8): Likewise.
30667 [C99-based-standards] (SCNuFAST8): Likewise.
30668 [C99-based-standards] (SCNxFAST8): Likewise.
30669 [C99-based-standards] (PRId16): Likewise.
30670 [C99-based-standards] (PRIi16): Likewise.
30671 [C99-based-standards] (PRIo16): Likewise.
30672 [C99-based-standards] (PRIu16): Likewise.
30673 [C99-based-standards] (PRIx16): Likewise.
30674 [C99-based-standards] (PRIX16): Likewise.
30675 [C99-based-standards] (SCNd16): Likewise.
30676 [C99-based-standards] (SCNi16): Likewise.
30677 [C99-based-standards] (SCNo16): Likewise.
30678 [C99-based-standards] (SCNu16): Likewise.
30679 [C99-based-standards] (SCNx16): Likewise.
30680 [C99-based-standards] (PRIdLEAST16): Likewise.
30681 [C99-based-standards] (PRIiLEAST16): Likewise.
30682 [C99-based-standards] (PRIoLEAST16): Likewise.
30683 [C99-based-standards] (PRIuLEAST16): Likewise.
30684 [C99-based-standards] (PRIxLEAST16): Likewise.
30685 [C99-based-standards] (PRIXLEAST16): Likewise.
30686 [C99-based-standards] (SCNdLEAST16): Likewise.
30687 [C99-based-standards] (SCNiLEAST16): Likewise.
30688 [C99-based-standards] (SCNoLEAST16): Likewise.
30689 [C99-based-standards] (SCNuLEAST16): Likewise.
30690 [C99-based-standards] (SCNxLEAST16): Likewise.
30691 [C99-based-standards] (PRIdFAST16): Likewise.
30692 [C99-based-standards] (PRIiFAST16): Likewise.
30693 [C99-based-standards] (PRIoFAST16): Likewise.
30694 [C99-based-standards] (PRIuFAST16): Likewise.
30695 [C99-based-standards] (PRIxFAST16): Likewise.
30696 [C99-based-standards] (PRIXFAST16): Likewise.
30697 [C99-based-standards] (SCNdFAST16): Likewise.
30698 [C99-based-standards] (SCNiFAST16): Likewise.
30699 [C99-based-standards] (SCNoFAST16): Likewise.
30700 [C99-based-standards] (SCNuFAST16): Likewise.
30701 [C99-based-standards] (SCNxFAST16): Likewise.
30702 [C99-based-standards] (PRId32): Likewise.
30703 [C99-based-standards] (PRIi32): Likewise.
30704 [C99-based-standards] (PRIo32): Likewise.
30705 [C99-based-standards] (PRIu32): Likewise.
30706 [C99-based-standards] (PRIx32): Likewise.
30707 [C99-based-standards] (PRIX32): Likewise.
30708 [C99-based-standards] (SCNd32): Likewise.
30709 [C99-based-standards] (SCNi32): Likewise.
30710 [C99-based-standards] (SCNo32): Likewise.
30711 [C99-based-standards] (SCNu32): Likewise.
30712 [C99-based-standards] (SCNx32): Likewise.
30713 [C99-based-standards] (PRIdLEAST32): Likewise.
30714 [C99-based-standards] (PRIiLEAST32): Likewise.
30715 [C99-based-standards] (PRIoLEAST32): Likewise.
30716 [C99-based-standards] (PRIuLEAST32): Likewise.
30717 [C99-based-standards] (PRIxLEAST32): Likewise.
30718 [C99-based-standards] (PRIXLEAST32): Likewise.
30719 [C99-based-standards] (SCNdLEAST32): Likewise.
30720 [C99-based-standards] (SCNiLEAST32): Likewise.
30721 [C99-based-standards] (SCNoLEAST32): Likewise.
30722 [C99-based-standards] (SCNuLEAST32): Likewise.
30723 [C99-based-standards] (SCNxLEAST32): Likewise.
30724 [C99-based-standards] (PRIdFAST32): Likewise.
30725 [C99-based-standards] (PRIiFAST32): Likewise.
30726 [C99-based-standards] (PRIoFAST32): Likewise.
30727 [C99-based-standards] (PRIuFAST32): Likewise.
30728 [C99-based-standards] (PRIxFAST32): Likewise.
30729 [C99-based-standards] (PRIXFAST32): Likewise.
30730 [C99-based-standards] (SCNdFAST32): Likewise.
30731 [C99-based-standards] (SCNiFAST32): Likewise.
30732 [C99-based-standards] (SCNoFAST32): Likewise.
30733 [C99-based-standards] (SCNuFAST32): Likewise.
30734 [C99-based-standards] (SCNxFAST32): Likewise.
30735 [C99-based-standards] (PRId64): Likewise.
30736 [C99-based-standards] (PRIi64): Likewise.
30737 [C99-based-standards] (PRIo64): Likewise.
30738 [C99-based-standards] (PRIu64): Likewise.
30739 [C99-based-standards] (PRIx64): Likewise.
30740 [C99-based-standards] (PRIX64): Likewise.
30741 [C99-based-standards] (SCNd64): Likewise.
30742 [C99-based-standards] (SCNi64): Likewise.
30743 [C99-based-standards] (SCNo64): Likewise.
30744 [C99-based-standards] (SCNu64): Likewise.
30745 [C99-based-standards] (SCNx64): Likewise.
30746 [C99-based-standards] (PRIdLEAST64): Likewise.
30747 [C99-based-standards] (PRIiLEAST64): Likewise.
30748 [C99-based-standards] (PRIoLEAST64): Likewise.
30749 [C99-based-standards] (PRIuLEAST64): Likewise.
30750 [C99-based-standards] (PRIxLEAST64): Likewise.
30751 [C99-based-standards] (PRIXLEAST64): Likewise.
30752 [C99-based-standards] (SCNdLEAST64): Likewise.
30753 [C99-based-standards] (SCNiLEAST64): Likewise.
30754 [C99-based-standards] (SCNoLEAST64): Likewise.
30755 [C99-based-standards] (SCNuLEAST64): Likewise.
30756 [C99-based-standards] (SCNxLEAST64): Likewise.
30757 [C99-based-standards] (PRIdFAST64): Likewise.
30758 [C99-based-standards] (PRIiFAST64): Likewise.
30759 [C99-based-standards] (PRIoFAST64): Likewise.
30760 [C99-based-standards] (PRIuFAST64): Likewise.
30761 [C99-based-standards] (PRIxFAST64): Likewise.
30762 [C99-based-standards] (PRIXFAST64): Likewise.
30763 [C99-based-standards] (SCNdFAST64): Likewise.
30764 [C99-based-standards] (SCNiFAST64): Likewise.
30765 [C99-based-standards] (SCNoFAST64): Likewise.
30766 [C99-based-standards] (SCNuFAST64): Likewise.
30767 [C99-based-standards] (SCNxFAST64): Likewise.
30768 [C99-based-standards] (PRIdMAX): Likewise.
30769 [C99-based-standards] (PRIiMAX): Likewise.
30770 [C99-based-standards] (PRIoMAX): Likewise.
30771 [C99-based-standards] (PRIuMAX): Likewise.
30772 [C99-based-standards] (PRIxMAX): Likewise.
30773 [C99-based-standards] (PRIXMAX): Likewise.
30774 [C99-based-standards] (SCNdMAX): Likewise.
30775 [C99-based-standards] (SCNiMAX): Likewise.
30776 [C99-based-standards] (SCNoMAX): Likewise.
30777 [C99-based-standards] (SCNuMAX): Likewise.
30778 [C99-based-standards] (SCNxMAX): Likewise.
30779 [C99-based-standards] (PRIdPTR): Likewise.
30780 [C99-based-standards] (PRIiPTR): Likewise.
30781 [C99-based-standards] (PRIoPTR): Likewise.
30782 [C99-based-standards] (PRIuPTR): Likewise.
30783 [C99-based-standards] (PRIxPTR): Likewise.
30784 [C99-based-standards] (PRIXPTR): Likewise.
30785 [C99-based-standards] (SCNdPTR): Likewise.
30786 [C99-based-standards] (SCNiPTR): Likewise.
30787 [C99-based-standards] (SCNoPTR): Likewise.
30788 [C99-based-standards] (SCNuPTR): Likewise.
30789 [C99-based-standards] (SCNxPTR): Likewise.
30790 * conform/data/iso646.h-data [ISO C standards] (*_t): Do not
30791 allow.
30792 * conform/data/stdint.h-data: Update comments to clarify
30793 requirements.
30794 [C99-based standards] (INT8_MIN): Use macro-int-constant. Specify
30795 type.
30796 [C99-based standards] (INT8_MAX): Likewise.
30797 [C99-based standards] (INT16_MIN): Likewise.
30798 [C99-based standards] (INT16_MAX): Likewise.
30799 [C99-based standards] (INT32_MIN): Likewise.
30800 [C99-based standards] (INT32_MAX): Likewise.
30801 [C99-based standards] (INT64_MIN): Likewise.
30802 [C99-based standards] (INT64_MAX): Likewise.
30803 [C99-based standards] (UINT8_MAX): Likewise.
30804 [C99-based standards] (UINT16_MAX): Likewise.
30805 [C99-based standards] (UINT32_MAX): Likewise.
30806 [C99-based standards] (UINT64_MAX): Likewise.
30807 [C99-based standards] (INT_LEAST8_MIN): Likewise.
30808 [C99-based standards] (INT_LEAST8_MAX): Likewise.
30809 [C99-based standards] (INT_LEAST16_MIN): Likewise.
30810 [C99-based standards] (INT_LEAST16_MAX): Likewise.
30811 [C99-based standards] (INT_LEAST32_MIN): Likewise.
30812 [C99-based standards] (INT_LEAST32_MAX): Likewise.
30813 [C99-based standards] (INT_LEAST64_MIN): Likewise.
30814 [C99-based standards] (INT_LEAST64_MAX): Likewise.
30815 [C99-based standards] (UINT_LEAST8_MAX): Likewise.
30816 [C99-based standards] (UINT_LEAST16_MAX): Likewise.
30817 [C99-based standards] (UINT_LEAST32_MAX): Likewise.
30818 [C99-based standards] (UINT_LEAST64_MAX): Likewise.
30819 [C99-based standards] (INT_FAST8_MIN): Likewise.
30820 [C99-based standards] (INT_FAST8_MAX): Likewise.
30821 [C99-based standards] (INT_FAST16_MIN): Likewise.
30822 [C99-based standards] (INT_FAST16_MAX): Likewise.
30823 [C99-based standards] (INT_FAST32_MIN): Likewise.
30824 [C99-based standards] (INT_FAST32_MAX): Likewise.
30825 [C99-based standards] (INT_FAST64_MIN): Likewise.
30826 [C99-based standards] (INT_FAST64_MAX): Likewise.
30827 [C99-based standards] (UINT_FAST8_MAX): Likewise.
30828 [C99-based standards] (UINT_FAST16_MAX): Likewise.
30829 [C99-based standards] (UINT_FAST32_MAX): Likewise.
30830 [C99-based standards] (UINT_FAST64_MAX): Likewise.
30831 [C99-based standards] (INTPTR_MIN): Likewise.
30832 [C99-based standards] (INTPTR_MAX): Likewise.
30833 [C99-based standards] (UINTPTR_MAX): Likewise.
30834 [C99-based standards] (INTMAX_MIN): Likewise.
30835 [C99-based standards] (INTMAX_MAX): Likewise.
30836 [C99-based standards] (UINTMAX_MAX): Likewise.
30837 [C99-based standards] (PTRDIFF_MIN): Likewise.
30838 [C99-based standards] (PTRDIFF_MAX): Likewise.
30839 [C99-based standards] (SIG_ATOMIC_MAX): Likewise.
30840 [C99-based standards] (SIZE_MAX): Likewise.
30841 [C99-based standards] (WCHAR_MAX): Likewise.
30842 [C99-based standards] (WINT_MAX): Likewise.
30843 [C99-based standards] (SIG_ATOMIC_MIN): Likewise. Do not specify
30844 constraint on value.
30845 [C99-based standards] (WCHAR_MIN): Likewise.
30846 [C99-based standards] (WINT_MIN): Likewise.
30847 [C99-based standards] (*_t): Allow.
30848 * conform/data/tgmath.h-data [XOPEN2K || POSIX2008]: Change
30849 condition to [!ISO && !POSIX && !XPG3 && !XPG4 && !UNIX98].
30850 Include math.h-data and complex.h-data. Remove all expectations
30851 of math.h and complex.h contents.
30852 * conform/data/uchar.h-data [ISO11] (c16rtomb): Remove stray "16"
30853 at end of line.
30854 * conform/data/wchar.h-data [!ISO && !POSIX && !XPG3 && !XPG4]
30855 (struct tm): Expect tag.
30856 [C99-based-standards] (wcstof): Expect function.
30857 [C99-based-standards] (wcstold): Likewise.
30858 [C99-based-standards] (wcstoll): Likewise.
30859 [C99-based-standards] (wcstoull): Likewise.
30860 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MIN): Use
30861 macro-int-constant. Specify type.
30862 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MAX): Likewise. Specify
30863 constraint on value.
30864 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
30865 Specify type.
30866 [!ISO && !POSIX && !XPG3 && !XPG4] (NULL): Use macro-constant.
30867 Specify value.
30868 [ISO C standards]: Do not allow headers.
30869 [!ISO && !POSIX && !XPG3 && !XPG4] (wcs*): Change to
30870 wcs[abcdefghijklmnopqrstuvwxyz]*.
30871 [ISO C standards] (*_t): Do not allow.
30872 * conform/data/wctype.h-data [C99-based standards] (iswblank):
30873 Expect function.
30874 [XOPEN2K8 || POSIX2008] (iswblank_l): Likewise.
30875 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
30876 Specify type.
30877 [ISO C standards]: Do not allow headers.
30878 [!ISO && !POSIX && !XPG3 && !XPG4] (is*): Change to
30879 is[abcdefghijklmnopqrstuvwxyz]*.
30880 [!ISO && !POSIX && !XPG3 && !XPG4] (to*): Change to
30881 to[abcdefghijklmnopqrstuvwxyz]*.
30882 [ISO C standards] (*_t): Do not allow.
30883 * conform/data/stdalign.h-data: New file.
30884 * conform/data/stdbool.h-data: Likewise.
30885 * conform/data/stdnoreturn.h-data: Likewise.
30886
7514feb8
RM
308872012-11-07 Roland McGrath <roland@hack.frob.com>
30888
30889 [BZ #14815]
30890 * manual/filesys.texi (Directory Entries): Typo fix.
30891 Reported by <h-iwamoto@kit.hi-ho.ne.jp>.
30892
19b2ecfc
MS
308932012-11-07 Marcus Shawcroft <marcus.shawcroft@linaro.org>
30894
30895 * elf/elf.h (EM_AARCH64): New macro.
30896 (R_AARCH64_NONE, R_AARCH64_ABS64, R_AARCH64_ABS32): Likewise.
30897 (R_AARCH64_COPY, R_AARCH64_GLOB_DAT, R_AARCH64_JUMP_SLOT): Likewise.
30898 (R_AARCH64_RELATIVE, R_AARCH64_TLS_DTPMOD64): Likewise.
30899 (R_AARCH64_TLS_DTPREL64, R_AARCH64_TLS_TPREL64): Likewise.
30900 (R_AARCH64_TLSDESC): Likewise.
30901 (NT_ARM_TLS): Likewise.
30902 (NT_ARM_HW_BREAK): Likewise.
30903 (NT_ARM_HW_WATCH): Likewise.
30904
60e235ee
JM
309052012-11-07 Joseph Myers <joseph@codesourcery.com>
30906
30907 [BZ #14811]
30908 * sysdeps/i386/fpu/e_powl.S (pm79): New object.
30909 (__ieee754_powl): Saturate nonzero exponents with absolute value
30910 below 0x1p-79 to +/- 0x1p-79.
30911 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Saturate nonzero
30912 exponents with absolute value below 0x1p-64 to +/- 0x1p-64.
30913 * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Saturate
30914 nonzero exponents with absolute value below 0x1p-32 to +/-
30915 0x1p-32.
30916 * sysdeps/x86_64/fpu/e_powl.S (pm79): New object.
30917 (__ieee754_powl): Saturate nonzero exponents with absolute value
30918 below 0x1p-79 to +/- 0x1p-79.
30919 * math/libm-test.inc (pow_test): Add more tests.
30920
0ab234b7
AK
309212012-11-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
30922
30923 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Sync
30924 _dl_s390_cap_flags with kernel. Increase string length.
30925 (_dl_s390_platforms): Add z196 and zEC12.
30926
45832f74
JM
309272012-11-07 Joseph Myers <joseph@codesourcery.com>
30928
30929 * conform/data/time.h-data [!XOPEN21K && !XOPEN2K8 && !POSIX2008]:
30930 Change XOPEN21K to XOPEN2K.
30931
19218757
MK
309322012-11-06 Maxim Kuvyrkov <maxim@codesourcery.com>
30933
30934 * string/memmove.c: Use memcpy when possible.
30935
c5f45721
AJ
309362012-11-06 Andreas Jaeger <aj@suse.de>
30937
30938 * po/eo.po: Update from translation team.
30939
82477c28
JM
309402012-11-06 Joseph Myers <joseph@codesourcery.com>
30941
30942 [BZ #14793]
30943 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): In case of large z
30944 exponent and small x and y exponents, scale x or y up. Increase
30945 by 2 the exponent used in scaling up.
30946 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
30947 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
30948 * math/libm-test.inc (fma_test): Add more tests.
30949 (fma_test_towardzero): Likewise.
30950 (fma_test_downward): Likewise.
30951 (fma_test_upward): Likewise.
30952
99252c8c
JM
309532012-11-05 Joseph Myers <joseph@codesourcery.com>
30954
acfa885f
JM
30955 [BZ #14805]
30956 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_DFL_ENV): Use cast to const
30957 fenv_t *.
30958
99252c8c
JM
30959 [BZ #14801]
30960 * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Use implementation
30961 namespace for names of struct fields.
30962 * sysdeps/s390/fpu/fegetenv.c (fegetenv): Update references to
30963 fenv_t fields.
30964 * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
30965 * sysdeps/s390/fpu/fesetenv.c (fesetenv): Likewise.
30966
d6d98dea
ST
309672012-11-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
30968
30969 [BZ #3665]
30970 * sysdeps/mach/hurd/bits/errno.h: Regenerated.
30971
e10bb107
TS
309722012-11-04 Thomas Schwinge <thomas@codesourcery.com>
30973
30974 * csu/libc-start.c (LIBC_START_MAIN): Conditionalize use of
30975 PTR_DEMANGLE.
30976
30977 [BZ #5246]
30978 * sysdeps/mach/hurd/i386/____longjmp_chk.S: Conditionalize use of
30979 PTR_DEMANGLE.
30980
a0c2940d
JM
309812012-11-04 Joseph Myers <joseph@codesourcery.com>
30982
30983 [BZ #14797]
30984 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute cases that
30985 definitely overflow as x * y not x * y + z.
30986 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
30987 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
30988 * math/libm-test.inc (fma_test): Add more tests.
30989 (fma_test_towardzero): Likewise.
30990 (fma_test_downward): Likewise.
30991 (fma_test_upward): Likewise.
30992
b830319d
TS
309932012-11-04 Thomas Schwinge <thomas@codesourcery.com>
30994
30995 [BZ #157]
30996
30997 * include/stub-tag.h: Remove file.
30998 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't emit
30999 '#include' of it.
31000 * manual/maint.texi (Porting): Don't reference it.
31001 * Makerules ($(objpfx)stubs): Likewise.
31002 * dirent/closedir.c: Don't include <stub-tag.h>.
31003 * dirent/dirfd.c: Likewise.
31004 * dirent/fdopendir.c: Likewise.
31005 * dirent/getdents.c: Likewise.
31006 * dirent/getdents64.c: Likewise.
31007 * dirent/opendir.c: Likewise.
31008 * dirent/readdir.c: Likewise.
31009 * dirent/readdir64.c: Likewise.
31010 * dirent/readdir64_r.c: Likewise.
31011 * dirent/readdir_r.c: Likewise.
31012 * dirent/rewinddir.c: Likewise.
31013 * dirent/seekdir.c: Likewise.
31014 * dirent/telldir.c: Likewise.
31015 * gmon/profil.c: Likewise.
31016 * grp/setgroups.c: Likewise.
31017 * inet/if_index.c: Likewise.
31018 * io/access.c: Likewise.
31019 * io/chdir.c: Likewise.
31020 * io/chmod.c: Likewise.
31021 * io/chown.c: Likewise.
31022 * io/close.c: Likewise.
31023 * io/dup.c: Likewise.
31024 * io/dup2.c: Likewise.
31025 * io/dup3.c: Likewise.
31026 * io/euidaccess.c: Likewise.
31027 * io/faccessat.c: Likewise.
31028 * io/fchdir.c: Likewise.
31029 * io/fchmod.c: Likewise.
31030 * io/fchmodat.c: Likewise.
31031 * io/fchown.c: Likewise.
31032 * io/fchownat.c: Likewise.
31033 * io/fcntl.c: Likewise.
31034 * io/flock.c: Likewise.
31035 * io/fstatfs.c: Likewise.
31036 * io/fstatfs64.c: Likewise.
31037 * io/fstatvfs.c: Likewise.
31038 * io/fstatvfs64.c: Likewise.
31039 * io/futimens.c: Likewise.
31040 * io/fxstat.c: Likewise.
31041 * io/fxstat64.c: Likewise.
31042 * io/fxstatat.c: Likewise.
31043 * io/fxstatat64.c: Likewise.
31044 * io/getcwd.c: Likewise.
31045 * io/isatty.c: Likewise.
31046 * io/lchmod.c: Likewise.
31047 * io/lchown.c: Likewise.
31048 * io/link.c: Likewise.
31049 * io/linkat.c: Likewise.
31050 * io/lseek.c: Likewise.
31051 * io/lseek64.c: Likewise.
31052 * io/lxstat64.c: Likewise.
31053 * io/mkdir.c: Likewise.
31054 * io/mkdirat.c: Likewise.
31055 * io/mkfifo.c: Likewise.
31056 * io/mkfifoat.c: Likewise.
31057 * io/open.c: Likewise.
31058 * io/open64.c: Likewise.
31059 * io/openat.c: Likewise.
31060 * io/openat64.c: Likewise.
31061 * io/pipe.c: Likewise.
31062 * io/pipe2.c: Likewise.
31063 * io/poll.c: Likewise.
31064 * io/posix_fadvise.c: Likewise.
31065 * io/posix_fadvise64.c: Likewise.
31066 * io/posix_fallocate.c: Likewise.
31067 * io/posix_fallocate64.c: Likewise.
31068 * io/read.c: Likewise.
31069 * io/readlink.c: Likewise.
31070 * io/readlinkat.c: Likewise.
31071 * io/rmdir.c: Likewise.
31072 * io/sendfile.c: Likewise.
31073 * io/sendfile64.c: Likewise.
31074 * io/statfs.c: Likewise.
31075 * io/statfs64.c: Likewise.
31076 * io/statvfs.c: Likewise.
31077 * io/statvfs64.c: Likewise.
31078 * io/symlink.c: Likewise.
31079 * io/symlinkat.c: Likewise.
31080 * io/ttyname.c: Likewise.
31081 * io/ttyname_r.c: Likewise.
31082 * io/umask.c: Likewise.
31083 * io/unlink.c: Likewise.
31084 * io/unlinkat.c: Likewise.
31085 * io/utime.c: Likewise.
31086 * io/utimensat.c: Likewise.
31087 * io/write.c: Likewise.
31088 * io/xmknod.c: Likewise.
31089 * io/xmknodat.c: Likewise.
31090 * io/xstat.c: Likewise.
31091 * io/xstat64.c: Likewise.
31092 * login/getpt.c: Likewise.
31093 * login/grantpt.c: Likewise.
31094 * login/unlockpt.c: Likewise.
31095 * math/e_acoshl.c: Likewise.
31096 * math/e_acosl.c: Likewise.
31097 * math/e_asinl.c: Likewise.
31098 * math/e_atan2l.c: Likewise.
31099 * math/e_atanhl.c: Likewise.
31100 * math/e_coshl.c: Likewise.
31101 * math/e_expl.c: Likewise.
31102 * math/e_fmodl.c: Likewise.
31103 * math/e_gammal_r.c: Likewise.
31104 * math/e_hypotl.c: Likewise.
31105 * math/e_j0l.c: Likewise.
31106 * math/e_j1l.c: Likewise.
31107 * math/e_jnl.c: Likewise.
31108 * math/e_lgammal_r.c: Likewise.
31109 * math/e_log10l.c: Likewise.
31110 * math/e_log2l.c: Likewise.
31111 * math/e_logl.c: Likewise.
31112 * math/e_powl.c: Likewise.
31113 * math/e_rem_pio2l.c: Likewise.
31114 * math/e_sinhl.c: Likewise.
31115 * math/e_sqrtl.c: Likewise.
31116 * math/fclrexcpt.c: Likewise.
31117 * math/fedisblxcpt.c: Likewise.
31118 * math/feenablxcpt.c: Likewise.
31119 * math/fegetenv.c: Likewise.
31120 * math/fegetexcept.c: Likewise.
31121 * math/fegetround.c: Likewise.
31122 * math/feholdexcpt.c: Likewise.
31123 * math/fesetenv.c: Likewise.
31124 * math/fesetround.c: Likewise.
31125 * math/feupdateenv.c: Likewise.
31126 * math/fgetexcptflg.c: Likewise.
31127 * math/fraiseexcpt.c: Likewise.
31128 * math/fsetexcptflg.c: Likewise.
31129 * math/ftestexcept.c: Likewise.
31130 * math/k_cosl.c: Likewise.
31131 * math/k_rem_pio2l.c: Likewise.
31132 * math/k_sinl.c: Likewise.
31133 * math/k_tanl.c: Likewise.
31134 * math/s_asinhl.c: Likewise.
31135 * math/s_atanl.c: Likewise.
31136 * math/s_cbrtl.c: Likewise.
31137 * math/s_erfl.c: Likewise.
31138 * math/s_expm1l.c: Likewise.
31139 * math/s_log1pl.c: Likewise.
31140 * math/s_tanhl.c: Likewise.
31141 * misc/acct.c: Likewise.
31142 * misc/brk.c: Likewise.
31143 * misc/chflags.c: Likewise.
31144 * misc/chroot.c: Likewise.
31145 * misc/fchflags.c: Likewise.
31146 * misc/fgetxattr.c: Likewise.
31147 * misc/flistxattr.c: Likewise.
31148 * misc/fremovexattr.c: Likewise.
31149 * misc/fsetxattr.c: Likewise.
31150 * misc/fsync.c: Likewise.
31151 * misc/ftruncate.c: Likewise.
31152 * misc/futimes.c: Likewise.
31153 * misc/futimesat.c: Likewise.
31154 * misc/getdomain.c: Likewise.
31155 * misc/getdtsz.c: Likewise.
31156 * misc/gethostid.c: Likewise.
31157 * misc/gethostname.c: Likewise.
31158 * misc/getloadavg.c: Likewise.
31159 * misc/getpagesize.c: Likewise.
31160 * misc/getsysstats.c: Likewise.
31161 * misc/getxattr.c: Likewise.
31162 * misc/gtty.c: Likewise.
31163 * misc/ioctl.c: Likewise.
31164 * misc/lgetxattr.c: Likewise.
31165 * misc/listxattr.c: Likewise.
31166 * misc/llistxattr.c: Likewise.
31167 * misc/lremovexattr.c: Likewise.
31168 * misc/lsetxattr.c: Likewise.
31169 * misc/lutimes.c: Likewise.
31170 * misc/madvise.c: Likewise.
31171 * misc/mincore.c: Likewise.
31172 * misc/mlock.c: Likewise.
31173 * misc/mlockall.c: Likewise.
31174 * misc/mmap.c: Likewise.
31175 * misc/mprotect.c: Likewise.
31176 * misc/msync.c: Likewise.
31177 * misc/munlock.c: Likewise.
31178 * misc/munlockall.c: Likewise.
31179 * misc/munmap.c: Likewise.
31180 * misc/preadv.c: Likewise.
31181 * misc/preadv64.c: Likewise.
31182 * misc/ptrace.c: Likewise.
31183 * misc/pwritev.c: Likewise.
31184 * misc/pwritev64.c: Likewise.
31185 * misc/readv.c: Likewise.
31186 * misc/reboot.c: Likewise.
31187 * misc/remap_file_pages.c: Likewise.
31188 * misc/removexattr.c: Likewise.
31189 * misc/revoke.c: Likewise.
31190 * misc/select.c: Likewise.
31191 * misc/setdomain.c: Likewise.
31192 * misc/setegid.c: Likewise.
31193 * misc/seteuid.c: Likewise.
31194 * misc/sethostid.c: Likewise.
31195 * misc/sethostname.c: Likewise.
31196 * misc/setregid.c: Likewise.
31197 * misc/setreuid.c: Likewise.
31198 * misc/setxattr.c: Likewise.
31199 * misc/sstk.c: Likewise.
31200 * misc/stty.c: Likewise.
31201 * misc/swapoff.c: Likewise.
31202 * misc/swapon.c: Likewise.
31203 * misc/sync.c: Likewise.
31204 * misc/syncfs.c: Likewise.
31205 * misc/syscall.c: Likewise.
31206 * misc/truncate.c: Likewise.
31207 * misc/ualarm.c: Likewise.
31208 * misc/usleep.c: Likewise.
31209 * misc/ustat.c: Likewise.
31210 * misc/utimes.c: Likewise.
31211 * misc/vhangup.c: Likewise.
31212 * misc/writev.c: Likewise.
31213 * posix/_exit.c: Likewise.
31214 * posix/alarm.c: Likewise.
31215 * posix/execve.c: Likewise.
31216 * posix/fexecve.c: Likewise.
31217 * posix/fork.c: Likewise.
31218 * posix/fpathconf.c: Likewise.
31219 * posix/getaddrinfo.c: Likewise.
31220 * posix/getegid.c: Likewise.
31221 * posix/geteuid.c: Likewise.
31222 * posix/getgid.c: Likewise.
31223 * posix/getgroups.c: Likewise.
31224 * posix/getlogin.c: Likewise.
31225 * posix/getlogin_r.c: Likewise.
31226 * posix/getpgid.c: Likewise.
31227 * posix/getpid.c: Likewise.
31228 * posix/getppid.c: Likewise.
31229 * posix/getresgid.c: Likewise.
31230 * posix/getresuid.c: Likewise.
31231 * posix/getsid.c: Likewise.
31232 * posix/getuid.c: Likewise.
31233 * posix/glob64.c: Likewise.
31234 * posix/nanosleep.c: Likewise.
31235 * posix/pathconf.c: Likewise.
31236 * posix/pause.c: Likewise.
31237 * posix/posix_madvise.c: Likewise.
31238 * posix/pread.c: Likewise.
31239 * posix/pread64.c: Likewise.
31240 * posix/pwrite.c: Likewise.
31241 * posix/pwrite64.c: Likewise.
31242 * posix/sched_getaffinity.c: Likewise.
31243 * posix/sched_getp.c: Likewise.
31244 * posix/sched_gets.c: Likewise.
31245 * posix/sched_primax.c: Likewise.
31246 * posix/sched_primin.c: Likewise.
31247 * posix/sched_rr_gi.c: Likewise.
31248 * posix/sched_setaffinity.c: Likewise.
31249 * posix/sched_setp.c: Likewise.
31250 * posix/sched_sets.c: Likewise.
31251 * posix/sched_yield.c: Likewise.
31252 * posix/setgid.c: Likewise.
31253 * posix/setlogin.c: Likewise.
31254 * posix/setpgid.c: Likewise.
31255 * posix/setresgid.c: Likewise.
31256 * posix/setresuid.c: Likewise.
31257 * posix/setsid.c: Likewise.
31258 * posix/setuid.c: Likewise.
31259 * posix/sleep.c: Likewise.
31260 * posix/spawni.c: Likewise.
31261 * posix/sysconf.c: Likewise.
31262 * posix/times.c: Likewise.
31263 * posix/wait.c: Likewise.
31264 * posix/wait3.c: Likewise.
31265 * posix/wait4.c: Likewise.
31266 * posix/waitpid.c: Likewise.
31267 * resolv/gai_sigqueue.c: Likewise.
31268 * resource/getpriority.c: Likewise.
31269 * resource/getrlimit.c: Likewise.
31270 * resource/getrusage.c: Likewise.
31271 * resource/nice.c: Likewise.
31272 * resource/setpriority.c: Likewise.
31273 * resource/setrlimit.c: Likewise.
31274 * resource/ulimit.c: Likewise.
31275 * rt/aio_cancel.c: Likewise.
31276 * rt/aio_fsync.c: Likewise.
31277 * rt/aio_read.c: Likewise.
31278 * rt/aio_sigqueue.c: Likewise.
31279 * rt/aio_suspend.c: Likewise.
31280 * rt/aio_write.c: Likewise.
31281 * rt/clock_getres.c: Likewise.
31282 * rt/clock_gettime.c: Likewise.
31283 * rt/clock_nanosleep.c: Likewise.
31284 * rt/clock_settime.c: Likewise.
31285 * rt/lio_listio.c: Likewise.
31286 * rt/mq_close.c: Likewise.
31287 * rt/mq_getattr.c: Likewise.
31288 * rt/mq_notify.c: Likewise.
31289 * rt/mq_open.c: Likewise.
31290 * rt/mq_receive.c: Likewise.
31291 * rt/mq_send.c: Likewise.
31292 * rt/mq_setattr.c: Likewise.
31293 * rt/mq_timedreceive.c: Likewise.
31294 * rt/mq_timedsend.c: Likewise.
31295 * rt/mq_unlink.c: Likewise.
31296 * rt/shm_open.c: Likewise.
31297 * rt/shm_unlink.c: Likewise.
31298 * rt/timer_create.c: Likewise.
31299 * rt/timer_delete.c: Likewise.
31300 * rt/timer_getoverr.c: Likewise.
31301 * rt/timer_gettime.c: Likewise.
31302 * rt/timer_settime.c: Likewise.
31303 * setjmp/__longjmp.c: Likewise.
31304 * setjmp/setjmp.c: Likewise.
31305 * signal/kill.c: Likewise.
31306 * signal/killpg.c: Likewise.
31307 * signal/raise.c: Likewise.
31308 * signal/sigaction.c: Likewise.
31309 * signal/sigaltstack.c: Likewise.
31310 * signal/sigblock.c: Likewise.
31311 * signal/sigignore.c: Likewise.
31312 * signal/sigintr.c: Likewise.
31313 * signal/signal.c: Likewise.
31314 * signal/sigpause.c: Likewise.
31315 * signal/sigpending.c: Likewise.
31316 * signal/sigqueue.c: Likewise.
31317 * signal/sigreturn.c: Likewise.
31318 * signal/sigset.c: Likewise.
31319 * signal/sigsetmask.c: Likewise.
31320 * signal/sigstack.c: Likewise.
31321 * signal/sigsuspend.c: Likewise.
31322 * signal/sigtimedwait.c: Likewise.
31323 * signal/sigvec.c: Likewise.
31324 * signal/sigwait.c: Likewise.
31325 * signal/sigwaitinfo.c: Likewise.
31326 * signal/sysv_signal.c: Likewise.
31327 * socket/accept.c: Likewise.
31328 * socket/accept4.c: Likewise.
31329 * socket/bind.c: Likewise.
31330 * socket/connect.c: Likewise.
31331 * socket/getpeername.c: Likewise.
31332 * socket/getsockname.c: Likewise.
31333 * socket/getsockopt.c: Likewise.
31334 * socket/isfdtype.c: Likewise.
31335 * socket/listen.c: Likewise.
31336 * socket/recv.c: Likewise.
31337 * socket/recvfrom.c: Likewise.
31338 * socket/recvmsg.c: Likewise.
31339 * socket/send.c: Likewise.
31340 * socket/sendmsg.c: Likewise.
31341 * socket/sendto.c: Likewise.
31342 * socket/setsockopt.c: Likewise.
31343 * socket/shutdown.c: Likewise.
31344 * socket/sockatmark.c: Likewise.
31345 * socket/socket.c: Likewise.
31346 * socket/socketpair.c: Likewise.
31347 * stdio-common/ctermid.c: Likewise.
31348 * stdio-common/cuserid.c: Likewise.
31349 * stdio-common/remove.c: Likewise.
31350 * stdio-common/rename.c: Likewise.
31351 * stdio-common/renameat.c: Likewise.
31352 * stdio-common/tempname.c: Likewise.
31353 * stdlib/getcontext.c: Likewise.
31354 * stdlib/makecontext.c: Likewise.
31355 * stdlib/setcontext.c: Likewise.
31356 * stdlib/swapcontext.c: Likewise.
31357 * stdlib/system.c: Likewise.
31358 * streams/fattach.c: Likewise.
31359 * streams/fdetach.c: Likewise.
31360 * streams/getmsg.c: Likewise.
31361 * streams/getpmsg.c: Likewise.
31362 * streams/putmsg.c: Likewise.
31363 * streams/putpmsg.c: Likewise.
31364 * sysdeps/unix/bsd/getpt.c: Likewise.
31365 * sysdeps/unix/sysv/linux/epoll_pwait.c: Likewise.
31366 * sysdeps/unix/sysv/linux/futimens.c: Likewise.
31367 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
31368 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
31369 Likewise.
31370 * sysdeps/unix/sysv/linux/readahead.c: Likewise.
31371 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
31372 * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
31373 * sysvipc/msgctl.c: Likewise.
31374 * sysvipc/msgget.c: Likewise.
31375 * sysvipc/msgrcv.c: Likewise.
31376 * sysvipc/msgsnd.c: Likewise.
31377 * sysvipc/semctl.c: Likewise.
31378 * sysvipc/semget.c: Likewise.
31379 * sysvipc/semop.c: Likewise.
31380 * sysvipc/semtimedop.c: Likewise.
31381 * sysvipc/shmat.c: Likewise.
31382 * sysvipc/shmctl.c: Likewise.
31383 * sysvipc/shmdt.c: Likewise.
31384 * sysvipc/shmget.c: Likewise.
31385 * termios/tcdrain.c: Likewise.
31386 * termios/tcflow.c: Likewise.
31387 * termios/tcflush.c: Likewise.
31388 * termios/tcgetattr.c: Likewise.
31389 * termios/tcgetpgrp.c: Likewise.
31390 * termios/tcsendbrk.c: Likewise.
31391 * termios/tcsetattr.c: Likewise.
31392 * termios/tcsetpgrp.c: Likewise.
31393 * time/adjtime.c: Likewise.
31394 * time/clock.c: Likewise.
31395 * time/getitimer.c: Likewise.
31396 * time/gettimeofday.c: Likewise.
31397 * time/setitimer.c: Likewise.
31398 * time/settimeofday.c: Likewise.
31399 * time/stime.c: Likewise.
31400 * time/time.c: Likewise.
31401
314022012-11-04 Pino Toscano <toscano.pino@tiscali.it>
72e182e3 31403
a20492cf
PT
31404 * sysdeps/generic/paths.h (_PATH_STDPATH): Remove /usr/contrib/bin and
31405 /usr/old/bin.
31406
72e182e3
PT
31407 * sysdeps/generic/paths.h (_PATH_MNTTAB, _PATH_MOUNTED): Use tabs
31408 instead of spaces.
31409 * sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP, _PATH_WTMP): Likewise.
31410
fbeafede
JM
314112012-11-03 Joseph Myers <joseph@codesourcery.com>
31412
5b5b04d6
JM
31413 [BZ #14796]
31414 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Set rounding mode to
31415 FE_TONEAREST before applying Dekker multiplication and Knuth
31416 addition. Clear inexact exceptions and check for exact zero
31417 results afterwards.
31418 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
31419 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
31420 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
31421 * math/libm-test.inc (fma_test): Add more tests.
31422 (fma_test_towardzero): Likewise.
31423 (fma_test_downward): Likewise.
31424 (fma_test_upward): Likewise.
31425 * sysdeps/generic/math_private.h (default_libc_fesetround): New
31426 function.
31427 (libc_fesetround): New macro.
31428 (libc_fesetroundf): Likewise.
31429 (libc_fesetroundl): Likewise.
31430 * sysdeps/i386/fpu/fenv_private.h (libc_fesetround_sse): New
31431 function.
31432 (libc_fesetround_387): Likewise.
31433 (libc_fesetroundf): New macro.
31434 (libc_fesetround): Likewise.
31435 (libc_fesetroundl): Likewise.
31436 * sysdeps/sparc/fpu/fenv_private.h (libc_fesetround): New
31437 function.
31438 (libc_fesetroundf): New macro.
31439 (libc_fesetround): Likewise.
31440 (libc_fesetroundl): Likewise.
31441 * include/fenv.h (feclearexcept): Add libm_hidden_proto.
31442 * math/fclrexcpt.c (feclearexcept): Add libm_hidden_ver.
31443 * sysdeps/i386/fpu/fclrexcpt.c (feclearexcept): Add
31444 libm_hidden_ver.
31445 * sysdeps/powerpc/fpu/fclrexcpt.c (feclearexcept): Likewise.
31446 * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Add
31447 libm_hidden_def.
31448 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Likewise.
31449 * sysdeps/sparc/fpu/fclrexcpt.c (feclearexcept): Add
31450 libm_hidden_ver.
31451 * sysdeps/x86_64/fpu/fclrexcpt.c (feclearexcept): Add
31452 libm_hidden_def.
31453
fbeafede
JM
31454 [BZ #3439]
31455 * sysdeps/powerpc/bits/fenv.h (FE_INEXACT): Define macro to
31456 integer constant usable in #if and use that to give value to enum
31457 constant.
31458 (FE_DIVBYZERO): Likewise.
31459 (FE_UNDERFLOW): Likewise.
31460 (FE_OVERFLOW): Likewise.
31461 (FE_INVALID): Likewise.
31462 (FE_INVALID_SNAN): Likewise.
31463 (FE_INVALID_ISI): Likewise.
31464 (FE_INVALID_IDI): Likewise.
31465 (FE_INVALID_ZDZ): Likewise.
31466 (FE_INVALID_IMZ): Likewise.
31467 (FE_INVALID_COMPARE): Likewise.
31468 (FE_INVALID_SOFTWARE): Likewise.
31469 (FE_INVALID_SQRT): Likewise.
31470 (FE_INVALID_INTEGER_CONVERSION): Likewise.
31471 (FE_TONEAREST): Likewise.
31472 (FE_TOWARDZERO): Likewise.
31473 (FE_UPWARD): Likewise.
31474 (FE_DOWNWARD): Likewise.
31475 * sysdeps/s390/fpu/bits/fenv.h (FE_INVALID): Likewise.
31476 (FE_DIVBYZERO): Likewise.
31477 (FE_OVERFLOW): Likewise.
31478 (FE_UNDERFLOW): Likewise.
31479 (FE_INEXACT): Likewise.
31480 (FE_TONEAREST): Likewise.
31481 (FE_DOWNWARD): Likewise.
31482 (FE_UPWARD): Likewise.
31483 (FE_TOWARDZERO): Likewise.
31484 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_INEXACT): Likewise.
31485 (FE_UNDERFLOW): Likewise.
31486 (FE_OVERFLOW): Likewise.
31487 (FE_DIVBYZERO): Likewise.
31488 (FE_INVALID): Likewise.
31489 (FE_TONEAREST): Likewise.
31490 (FE_TOWARDZERO): Likewise.
31491 * sysdeps/sparc/fpu/bits/fenv.h (FE_INVALID): Likewise.
31492 (FE_OVERFLOW): Likewise.
31493 (FE_UNDERFLOW): Likewise.
31494 (FE_DIVBYZERO): Likewise.
31495 (FE_INEXACT): Likewise.
31496 (FE_TONEAREST): Likewise.
31497 (FE_TOWARDZERO): Likewise.
31498 (FE_UPWARD): Likewise.
31499 (FE_DOWNWARD): Likewise.
31500 * sysdeps/x86/fpu/bits/fenv.h (FE_INVALID): Likewise.
31501 (FE_DIVBYZERO): Likewise.
31502 (FE_OVERFLOW): Likewise.
31503 (FE_UNDERFLOW): Likewise.
31504 (FE_INEXACT): Likewise.
31505 (FE_TONEAREST): Likewise.
31506 (FE_DOWNWARD): Likewise.
31507 (FE_UPWARD): Likewise.
31508 (FE_TOWARDZERO): Likewise.
31509
105ca950
CM
315102012-11-02 Chris Metcalf <cmetcalf@tilera.com>
31511
31512 * elf/elf.h (R_TILEGX_IMM16_X[01]_HW[012]_(|LAST_)PLT_PCREL): Add.
31513
a542b389
AS
315142012-11-03 Andreas Schwab <schwab@linux-m68k.org>
31515
31516 * scripts/cross-test-ssh.sh (command): Use newlines to separate
31517 commands. Quote $PWD.
31518 (blacklist_exports): Don't use remove_newlines. Replace "declare
31519 -x" by "export".
31520 (remove_newlines): Remove.
31521
f62c8abc
L
315222012-11-02 H.J. Lu <hongjiu.lu@intel.com>
31523
31524 * stdlib/Makefile (headers): Add bits/stdlib-float.h.
31525 * stdlib/stdlib.h (atof): Moved to ...
31526 * include/bits/stdlib-float.h: Here. New file.
31527 * stdlib/stdlib.h: Include <bits/stdlib-float.h>.
31528 * stdlib/bits/stdlib-float.h: New file.
31529 * sysdeps/x86/Makefile (CFLAGS-.os): Compile rtld routines with
31530 -mno-sse -mno-mmx.
31531 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Include
31532 <xmmintrin.h>.
31533
0155d5b2
JM
315342012-11-02 Joseph Myers <joseph@codesourcery.com>
31535
a68d0680
JM
31536 * conform/conformtest.pl (@headers): Add fenv.h.
31537 * conform/data/fenv.h-data: New file.
31538 * include/fenv.h [_ISOMAC]: Disable all contents of file except
31539 include of <math/fenv.h>.
31540
caf7f573
JM
31541 * conform/data/complex.h-data [ISO99 || ISO11 || XOPEN2K ||
31542 POSIX2008]: Change condition to [!ISO && !POSIX && !XPG3 && !XPG4
31543 && !UNIX98]. Enables tests for XOPEN2K8.
31544 * conform/data/inttypes.h-data [ISO99 || ISO11 || XOPEN2K ||
31545 POSIX2008]: Likewise.
31546
6c073ad6
JM
31547 * conform/data/sys/wait.h-data [XPG3 || XOPEN2K8 || POSIX2008]
31548 (struct rusage): Do not expect type or its members.
31549
0155d5b2
JM
31550 [BZ #3439]
31551 * math/math.h (FP_NAN): Define macro to integer constant usable in
31552 #if and use that to give value to enum constant.
31553 (FP_INFINITE): Likewise.
31554 (FP_ZERO): Likewise.
31555 (FP_SUBNORMAL): Likewise.
31556 (FP_NORMAL): Likewise.
31557
b5dcacb4
AS
315582012-11-02 Andreas Schwab <schwab@linux-m68k.org>
31559
31560 * iconvdata/bug-iconv8.c (do_test): Use %z for size_t arguments.
31561 * iconvdata/bug-iconv9.c (do_test): Use %t for ptrdiff_t
31562 arguments.
31563
f7934be8
RM
315642012-11-02 Roland McGrath <roland@hack.frob.com>
31565
31566 * aclocal.m4 (GLIBC_AUTOCONF_VERSION): New macro.
31567 Check that AC_AUTOCONF_VERSION matches it and m4_fatal at
31568 autoconf-time if not.
31569 * configure.in: Remove AC_PREREQ.
31570
d7d08bde
TMQMF
315712012-11-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
31572
31573 * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Use
31574 __builtin_ppc_get_timebase when building with GCC >= 4.8 instead
31575 of the internal implementation.
31576
dcdae19a
JM
315772012-11-02 Joseph Myers <joseph@codesourcery.com>
31578
31579 * include/sys/syslog.h [_ISOMAC]: Disable all contents of file
31580 except include of <misc/sys/syslog.h>.
31581
d6cffd3e
AS
315822012-11-01 Andreas Schwab <schwab@linux-m68k.org>
31583
31584 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: If the
31585 function returns with a NULL context exit with zero.
31586
b3563932
TMQMF
315872012-11-01 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
31588
31589 * sysdeps/powerpc/Makefile (cflags): Remove -mnew-mnemonics.
31590
b288a93d
L
315912012-11-01 H.J. Lu <hongjiu.lu@intel.com>
31592
31593 * catgets/test-gencat.sh (run_program_prefix): Renamed to ...
31594 (run_program_cmd): This.
31595 * localedata/tst-langinfo.sh (run_program_prefix): Removed.
31596 (tst_langinfo): New variable. Use it.
31597
a2421a68
SAS
315982012-11-01 Sebastan Andrzej Siewior <bigeasy@linutronix.de>
31599
31600 * sysdeps/powerpc/powerpc32/dl-trampoline.S: Put __NO_FPRS__ around
31601 floating point opcodes.
31602
6f796e1b
TS
316032012-11-01 Thomas Schwinge <thomas@codesourcery.com>
31604
7402596b
TS
31605 * sysdeps/mach/hurd/Makefile (link-libc-static-tests): New
31606 variable.
31607
d0d4f868
TS
31608 * elf/dl-support.c: Unconditionally include "setup-vdso.h".
31609
6f796e1b
TS
31610 * sysdeps/mach/hurd/powerpc: Remove directory.
31611 * sysdeps/mach/powerpc: Likewise.
31612
4da224a2
AS
316132012-11-01 Andreas Schwab <schwab@linux-m68k.org>
31614
31615 * scripts/check-local-headers.sh: Ignore c++ headers.
31616
341dd673
TS
316172012-11-01 Thomas Schwinge <thomas@codesourcery.com>
31618
31619 * libio/genops.c (_IO_flush_all_lockp): Use NULL rather than 0 for
31620 __libc_cleanup_region_start argument.
31621
473611b2
JM
316222012-11-01 Joseph Myers <joseph@codesourcery.com>
31623
31624 [BZ #14784]
31625 [BZ #14785]
31626 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle cases with small
31627 x * y using scaling, not as x * y + z.
31628 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
31629 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
31630 * math/libm-test.inc (fma_test): Add more tests.
31631 (fma_test_towardzero): Likewise.
31632 (fma_test_downward): Likewise.
31633 (fma_test_upward): Likewise.
31634
4078da3d
TS
316352012-11-01 Thomas Schwinge <thomas@codesourcery.com>
31636
31637 * sysdeps/mach/hurd/bits/param.h: Remove stray #endif.
31638
903252aa
JM
316392012-10-31 Joseph Myers <joseph@codesourcery.com>
31640
31641 * sysdeps/sh/Makefile [$(subdir) = debug] (CFLAGS-backtrace.c):
31642 New variable.
31643
cbc818d0
TS
316442012-10-31 Thomas Schwinge <thomas@codesourcery.com>
31645
31646 * rt/tst-shm.c (worker): Correct checking for mmap failure.
31647
5a03cb1e
AS
316482012-10-31 Andreas Schwab <schwab@linux-m68k.org>
31649
31650 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
31651 Fix sort order.
31652 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
31653 Likewise.
31654
90aff2ff
TMQMF
316552012-10-31 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
31656
31657 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
31658 Fix the order of the list for glibc 2.17.
31659 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
31660 Likewise.
31661
1818fcb7
AS
316622012-10-31 Andreas Schwab <schwab@linux-m68k.org>
31663
31664 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
31665
ef82f4da
JM
316662012-10-31 Joseph Myers <joseph@codesourcery.com>
31667
16a0e2ec
JM
31668 [BZ #14610]
31669 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Check
31670 for low part of x being zero before using __atanl (y).
31671 * math/libm-test.inc (atan2_test): Add another test.
31672
0eb69512
JM
31673 * manual/install.texi (Configuring and compiling): Document
31674 general use of test-wrapper and test-wrapper-env.
31675 * INSTALL: Regenerated.
31676
ef82f4da
JM
31677 * sysdeps/ieee754/dbl-64/s_fma.c: Include <tininess.h>.
31678 (__fma): Do not extract and scale down low bits on after-rounding
31679 systems when result rounded to normal precision would have normal
31680 exponent.
31681 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <tininess.h>.
31682 (__fmal): Do not extract and scale down low bits on after-rounding
31683 systems when result rounded to normal precision would have normal
31684 exponent.
31685 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <tininess.h>.
31686 (__fmal): Do not extract and scale down low bits on after-rounding
31687 systems when result rounded to normal precision would have normal
31688 exponent.
31689 * math/libm-test.inc (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): New
31690 macro.
31691 (fma_test): Add more tests.
31692 (fma_test_towardzero): Likewise.
31693 (fma_test_downward): Likewise.
31694 (fma_test_upward): Likewise.
31695
954ef0d9
L
316962012-10-30 H.J. Lu <hongjiu.lu@intel.com>
31697
31698 * sysdeps/i386/tininess.h: Renamed to ...
31699 * sysdeps/x86/tininess.h: This.
31700 * sysdeps/x86_64/tininess.h: Removed.
31701
df61ffb2
JM
317022012-10-30 Joseph Myers <joseph@codesourcery.com>
31703
31704 * elf/Makefile ($(objpfx)tst-array1.out): Depend on comparison
31705 input. Use $(build-program-cmd).
31706 ($(objpfx)tst-array1-static.out): Likewise.
31707 ($(objpfx)tst-array2.out): Likewise.
31708 ($(objpfx)tst-array3.out): Likewise.
31709 ($(objpfx)tst-array4.out): Likewise.
31710 ($(objpfx)tst-array5.out): Likewise.
31711 ($(objpfx)tst-array5-static.out): Likewise.
31712
01767843
CM
317132012-10-30 Chris Metcalf <cmetcalf@tilera.com>
31714
47cc1490
CM
31715 * elf/dl-load.c (_dl_map_object_from_fd): Call DL_AFTER_LOAD
31716 if defined.
31717
01767843
CM
31718 * nss/nsswitch.h (nss_interface_function): Provide new
31719 macro for use with NSS functions.
31720 * grp/initgroups.c: Use new macro.
31721 * nss/getXXbyYY.c: Likewise.
31722 * nss/getXXbyYY_r.c: Likewise.
31723 * nss/getXXent.c: Likewise.
31724 * nss/getXXent_r.c: Likewise.
31725 * sysdeps/posix/getaddrinfo.c: Likewise.
31726
8321aa97
AJ
317272012-10-30 Andreas Jaeger <aj@suse.de>
31728
31729 * po/ru.po: Update Russion translation from translation project.
31730
2a27fd6d
JM
317312012-10-30 Joseph Myers <joseph@codesourcery.com>
31732
8627a232
JM
31733 [BZ #14152]
31734 [BZ #14783]
31735 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Extract low bits of
31736 result and shift together with sticky bit instead of replicating
31737 round-to-nearest rounding.
31738 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
31739 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
31740 * math/libm-test.inc (fma_test): Add more tests. Do not permit
31741 missing underflow exceptions.
31742 (fma_test_towardzero): Add more tests.
31743 (fma_test_downward): Likewise.
31744 (fma_test_upward): Likewise.
31745
2a27fd6d
JM
31746 [BZ #14047]
31747 * sysdeps/generic/tininess.h: New file.
31748 * sysdeps/i386/tininess.h: Likewise.
31749 * sysdeps/sh/tininess.h: Likewise.
31750 * sysdeps/x86_64/tininess.h: Likewise.
31751 * stdlib/tst-strtod-underflow.c: Likewise.
31752 * stdlib/tst-tininess.c: Likewise.
31753 * stdlib/strtod_l.c: Include <tininess.h>.
31754 (round_and_return): Do not set errno for exact underflow cases.
31755 Force an underflow exception when setting errno for underflow.
31756 Determine underflow based on rounding to normal precision if
31757 TININESS_AFTER_ROUNDING.
31758 * stdlib/tst-strtod.c (tests): Do not expect errno to be set to
31759 ERANGE for exact underflow cases.
31760 * stdlib/Makefile (tests): Add tst-tininess and
31761 tst-strtod-underflow.
31762 ($(objpfx)tst-tininess): Use $(link-libm).
31763 ($(objpfx)tst-strtod-underflow): Likewise.
31764
e7170363
AJ
317652012-10-30 Andreas Jaeger <aj@suse.de>
31766
e5088dc6
AJ
31767 [BZ#14767]
31768 * elf/Makefile (tests): Remove conditional for have-initfini-array
31769 since this is now always required and the variable does not exist
31770 anymore.
31771 (tests-static): Likewise.
31772 (modules-names): Likewise.
31773
e7170363 31774 * po/eo.po: Add Esperanto translation from translation project.
b0988f10
AJ
31775
31776 * elf/tst-array1.c (fini_array): Make writeable so that it can be
31777 merged with constructor/destructor.
31778 (init_array): Likewise.
31779 * elf/tst-array2dep.c (fini_array): Likewise.
31780 (init_array): Likewise.
31781
60457d8a
MF
317822012-10-29 Mike Frysinger <vapier@gentoo.org>
31783
31784 * manual/message.texi: Delete @cartouche tags.
31785
8bece752
PT
317862012-10-29 Pino Toscano <toscano.pino@tiscali.it>
31787
94ce799f
PT
31788 * sysdeps/mach/hurd/fdatasync.c: Turn ERR into EINVAL if it is
31789 EOPNOTSUPP.
31790 * sysdeps/mach/hurd/fsync.c: Likewise.
31791
8bece752
PT
31792 * sysdeps/pthread/aio_notify.c (__aio_notify_only)
31793 [_POSIX_REALTIME_SIGNALS]: Change condition to
31794 [_POSIX_REALTIME_SIGNALS > 0].
31795
86ebe6b1
AJ
317962012-10-27 Andreas Jaeger <aj@suse.de>
31797
31798 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (__O_LARGEFILE)
31799 [!__x86_64]: Do not define, take value from <bits/fcntl-linux.h>.
31800 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE):
31801 [__WORDSIZE != 64]: Likewise.
31802
54399c08
L
318032012-10-26 H.J. Lu <hongjiu.lu@intel.com>
31804
31805 * iconvdata/tst-table.sh: Remove ${SHELL}.
31806 * iconvdata/tst-tables.sh: Likewise.
31807
e2211bed
DM
318082012-10-25 David S. Miller <davem@davemloft.net>
31809
31810 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
31811 (__get_clockfreq_via_proc_openprom): Use strtoumax instead
31812 of strtoull.
31813
f303f97c
DM
31814 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add comments for
31815 ifunc-impl-list.c
31816 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
31817 * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c: New file.
31818 * sysdeps/sparc/sparc32/sparcv9/multiarch/ifunc-impl-list.c: New
31819 file.
31820
1e9d84cd
RM
318212012-10-25 Roland McGrath <roland@hack.frob.com>
31822
31823 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
31824 (__get_clockfreq_via_proc_openprom): Use __getdents instead of
31825 __getdirentries.
31826
df381762
JM
318272012-10-25 Joseph Myers <joseph@codesourcery.com>
31828 Jim Blandy <jimb@codesourcery.com>
31829
31830 * scripts/cross-test-ssh.sh: New file.
31831 * manual/install.texi (Configuring and compiling): Document use of
31832 cross-test-ssh.sh.
31833 * INSTALL: Regenerated.
31834
bff64913
PT
318352012-10-25 Pino Toscano <toscano.pino@tiscali.it>
31836
31837 * sysdeps/mach/hurd/ptrace.c (ptrace): Use __hurd_fail to return
31838 EOPNOTSUPP.
31839
25fe8932
JM
318402012-10-25 Joseph Myers <joseph@codesourcery.com>
31841
31842 * Makeconfig (run-program-prefix): Fix comment.
31843
cc1290d0
JM
318442012-10-24 Joseph Myers <joseph@codesourcery.com>
31845 Jim Blandy <jimb@codesourcery.com>
31846
31847 * Makeconfig (test-wrapper): New variable,
31848 (test-wrapper-env): Likewise.
31849 [$(cross-compiling) = yes && $(test-wrapper) != ""]
31850 (run-built-tests): Define to yes.
31851 (run-program-prefix): Use $(test-wrapper).
31852 (built-program-cmd): Likewise.
31853 * Rules (make-test-out): Use $(test-wrapper-env) and
31854 $(host-built-program-cmd).
31855 * elf/Makefile ($(objpfx)order.out): Use $(test-wrapper).
31856 ($(objpfx)tst-pathopt.out): Pass $(test-wrapper-env) to
31857 tst-pathopt.sh.
31858 ($(objpfx)tst-rtld-load-self.out): Pass $(test-wrapper) and
31859 $(test-wrapper-env) to tst-rtld-load-self.sh.
31860 ($(objpfx)order2.out): Use $(test-wrapper).
31861 ($(objpfx)tst-initorder.out): Likewise.
31862 ($(objpfx)tst-initorder2.out): Likewise.
31863 ($(objpfx)tst-unused-dep.out): Use $(test-wrapper-env).
31864 * elf/tst-pathopt.sh (run_program_prefix): Remove unused variable.
31865 (test_wrapper_env): New variable. Use it to run ld.so.
31866 * elf/tst-rtld-load-self.sh (test_wrapper): New variable.
31867 Use it to run ld.so.
31868 (test_wrapper_env): Likewise.
31869 * iconvdata/Makefile ($(objpfx)iconv-test.out): Pass
31870 $(test-wrapper) to run-iconv-test.sh.
31871 * iconvdata/run-iconv-test.sh (test_wrapper): New variable.
31872 (ICONV): Use $test_wrapper.
31873 * posix/Makefile ($(objpfx)globtest.out): Pass
31874 $(run-via-rtld-prefix), $(test-wrapper) and $(test-wrapper-env) to
31875 globtest.sh, not $(run-program-prefix).
31876 * posix/globtest.sh (run_via_rtld_prefix): New variable.
31877 (test_wrapper): Likewise.
31878 (test_wrapper_env): Likewise. Use it to run globtest with HOME
31879 set together with run_via_rtld_prefix.
31880 (run_program_prefix): Define in terms of test_wrapper and
31881 run_via_rtld_prefix.
31882
6e6249d0
RM
318832012-10-24 Roland McGrath <roland@hack.frob.com>
31884
31885 * nscd/Makefile ($(objpfx)nscd): Remove librt dependency.
31886 * posix/Makefile ($(objpfx)tst-regex, $(objpfx)tst-regex2):
31887 Targets removed.
31888
31889 [BZ #14743]
31890 * include/time.h: Remove librt_hidden_proto (clock_gettime).
31891 Declare __clock_getres, __clock_gettime, __clock_settime,
31892 __clock_nanosleep, and __clock_getcpuclockid.
31893 * rt/clock_gettime.c: Define __clock_gettime as an alias.
31894 Remove librt_hidden_def (clock_gettime).
31895 * sysdeps/unix/clock_gettime.c: Likewise.
31896 * rt/clock_getcpuclockid.c: Define __clock_getcpuclockid as an alias.
31897 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
31898 * rt/clock_getres.c: Define __clock_getres as an alias.
31899 * sysdeps/posix/clock_getres.c: Likewise.
31900 * rt/clock_settime.c: Define __clock_settime as an alias.
31901 * sysdeps/unix/clock_settime.c: Likewise.
31902 * rt/clock_nanosleep.c: Define __clock_nanosleep as an alias.
31903 * sysdeps/unix/clock_nanosleep.c: Likewise.
31904 * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
31905 * rt/clock-compat.c: New file.
31906 * rt/Makefile (librt-routines): Add clock-compat and move
31907 $(clock-routines) to ...
31908 (routines): ... here, new variable.
31909 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_routines):
31910 Don't add get_clockfreq here.
31911 * rt/Versions (libc: GLIBC_2.17): New version set.
31912 Add clock_* symbols here.
31913 (libc: GLIBC_PRIVATE): New version set. Add __clock_* symbols here.
31914 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist
31915 (GLIBC_2.17): Add clock_* symbols.
31916 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
31917 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
31918 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
31919 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
31920 Likewise.
31921 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
31922 Likewise.
31923 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
31924 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
31925 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
31926 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
31927 * NEWS: Mention the move.
31928
31929 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
31930 Use __open, __read, __close rather than their public counterparts.
31931 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
31932 (__get_clockfreq_via_cpuinfo): Likewise.
31933 (__get_clockfreq_via_proc_openprom): Likewise, and __getdirentries.
31934 (__get_clockfreq_via_dev_openprom): Likewise, and __ioctl.
31935
31936 * config.h.in (HAVE_IFUNC): New #undef.
31937 * configure.in: Define it if libc_cv_ld_gnu_indirect_function
31938 was successful.
31939 * configure: Regenerated.
31940
0cae3f4b
MF
319412012-10-24 Mike Frysinger <vapier@gentoo.org>
31942
31943 * configure.in: Move READELF check to start of file.
31944 (libc_cv_ld_gnu_indirect_function): Change to a link test. Rename from
31945 libc_cv_asm_gnu_indirect_function in the process.
31946 * configure: Regenerated.
31947
8175a253
MF
319482012-10-24 Mike Frysinger <vapier@gentoo.org>
31949
31950 * configure.in (libc_cv_gcc_static_libgcc): Drop -q flag to grep and
31951 send the output to /dev/null.
31952 (libc_cv_cc_with_libunwind): Likewise.
31953 (libc_cv_as_noexecstack): Likewise.
31954 * configure: Regenerate.
31955
0708a7d1
JM
319562012-10-24 Joseph Myers <joseph@codesourcery.com>
31957
10b40d85
JM
31958 * io/ftwtest-sh (tmp): Define to ${objpfx}io, not using `pwd`.
31959
0708a7d1
JM
31960 * posix/globtest.sh (TMPDIR): Do not set.
31961 (testdir): Define using ${common_objpfx}posix not $TMPDIR.
31962 (testout): Likewise.
31963
9fddec1a
AJ
319642012-10-24 Andreas Jaeger <aj@suse.de>
31965
3a8db22f
AJ
31966 * io/fcntl.h: Always define mode_t, off_t, pid_t and use these
31967 types for creat, creat64, lockf, posix_fadvise, posix_fallocate.
31968 [__USE_LARGEFILE64 && !__off64_t_defined]: Define off64_t.
31969 [__USE_LARGEFILE64]: Use off64_t in declaration of lock64,
31970 posix_fadvise64, posix_fallocate64.
31971
9fddec1a
AJ
31972 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (F_GETLK, F_SETLK)
31973 (F_SETLKW) [__x86_64]: Remove, provided by <bits/fcntl-linux.h>.
31974 (F_GETLK, F_SETLK, F_SETLKW) [!__USE_FILE_OFFSET64 && !__x86_64__]:
31975 Likewise.
31976 (F_GETLK, F_SETLK, F_SETLKW) [__USE_FILE_OFFSET64 && ! __x86_64__]:
31977 Likewise.
31978 (F_GETLK64, F_SETLK64, F_SETLKW64) [!__x86_64__]: Likewise.
31979
31980 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_GETLK, F_SETLK)
31981 (F_SETLKW) [__USE_FILE_OFFSET64]: Remove, provided by
31982 <bits/fcntl-linux.h>.
31983 (F_GETLK64, F_SETLK64, F_SETLKW64) [__WORDSIZE == 64]: Likewise.
31984
31985 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_DUPFD, F_GETFD)
31986 (F_SETFD, F_GETFL, F_SETFL): Remove, provided by <bits/fcntl-linux.h>.
31987 (F_GETLK, F_SETLK, F_SETLKW) [__WORDSIZE == 64]: Likewise.
31988 (F_GETLK, F_SETLK, F_SETLKW, F_GETLK64, F_SETLK64, F_SETLKW64)
31989 [__WORDSIZE != 64]: Likewise.
31990
ebfd1bbd
JM
319912012-10-23 Joseph Myers <joseph@codesourcery.com>
31992
03ac099f
JM
31993 * Makeconfig (run-built-tests): New variable.
31994 * Rules [$(cross-compiling) = yes]: Change condition to
31995 [$(run-built-tests) = no].
31996 * catgets/Makefile [$(cross-compiling) != yes]: Change condition
31997 to [$(run-built-tests) = yes].
31998 * elf/Makefile [$(cross-compiling) = no]: Likewise
31999 * grp/Makefile [$(cross-compiling) = no]: Likewise.
32000 * iconv/Makefile [$(cross-compiling) != yes]: Likewise.
32001 * iconvdata/Makefile [$(cross-compiling) = no]: Likewise.
32002 * intl/Makefile [$(cross-compiling) = no]: Likewise.
32003 * io/Makefile [$(cross-compiling) = no]: Likewise.
32004 * libio/Makefile [$(cross-compiling) = no]: Likewise.
32005 * malloc/Makefile [$(cross-compiling) = no]: Likewise.
32006 * misc/Makefile [$(cross-compiling) = no]: Likewise.
32007 * posix/Makefile [$(cross-compiling) = no]: Likewise.
32008 * resolv/Makefile [$(cross-compiling) = no]: Likewise.
32009 * stdio-common/Makefile [$(cross-compiling) = no]: Likewise.
32010 * stdlib/Makefile [$(cross-compiling) = no]: Likewise.
32011 * string/Makefile [$(cross-compiling) = no]: Likewise.
32012
ebfd1bbd
JM
32013 * posix/Makefile ($(objpfx)globtest.out): Pass
32014 $(run-program-prefix) to globtest.sh, not $(elf-objpfx) and
32015 $(rtld-installed-name).
32016 * posix/globtest.sh (elf_objpfx): Remove variable.
32017 (rtld_installed_name): Likewise.
32018 (library_path): Likewise.
32019 (run_program_prefix): New variable. Use for running globtest
32020 binary.
32021
166bca24
JB
320222012-10-23 Jim Blandy <jimb@codesourcery.com>
32023 Joseph Myers <joseph@codesourcery.com>
32024
32025 * Makeconfig (host-built-program-cmd): New variable.
32026 * elf/Makefile (tst-stackguard1-ARGS): Use
32027 $(host-built-program-cmd).
32028 * posix/Makefile (tst-exec-ARGS): Use $(host-built-program-cmd).
32029 (tst-spawn-ARGS): Likewise.
32030 * rt/Makefile (tst-mqueue7-ARGS): Use $(host-built-program-cmd).
32031
88866099
JM
320322012-10-23 Joseph Myers <joseph@codesourcery.com>
32033 Jim Blandy <jimb@codesourcery.com>
32034
32035 * Makeconfig (run-via-rtld-prefix): New variable.
32036 (run-program-prefix): Define in terms of $(run-via-rtld-prefix).
32037 (built-program-cmd): Likewise.
32038
b4b4c296
AJ
320392012-10-22 Andreas Jaeger <aj@suse.de>
32040
32041 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (O_RSYNC): Define to
32042 __O_RSYNC if it exists, otherwise to O_SYNC.
32043
6fb54a22
JB
320442012-10-22 Jim Blandy <jimb@codesourcery.com>
32045 Joseph Myers <joseph@codesourcery.com>
32046
32047 * iconvdata/run-iconv-test.sh: Redirect iconv stdin in loops from
32048 /dev/null.
32049 * iconvdata/tst-tables.sh: Redirect tst-table.sh stdin in loop
32050 from /dev/null
32051 * posix/tst-getconf.sh: Redirect getconf stdin in loop from
32052 /dev/null.
32053
481b90b9
AJ
320542012-10-22 Andreas Jaeger <aj@suse.de>
32055
2a0e2669
AJ
32056 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_LARGEFILE):
32057 Define always.
32058 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE): Likewise.
32059
76e38f9a
AJ
32060 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
32061 bits/fcntl-linux.h.
32062
7cd37b43
AJ
32063 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (F_GETLK, F_SETLK)
32064 (F_SETLKW) [!F_GETLK]: Define values for [!__USE_FILE_OFFSET64].
32065
481b90b9
AJ
32066 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_LARGEFILE): Rename
32067 to __O_LARGEFILE.
32068 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Rename
32069 to __O_LARGEFILE.
32070
aba75984
JB
320712012-10-21 Jim Blandy <jimb@codesourcery.com>
32072 Joseph Myers <joseph@codesourcery.com>
32073
32074 * config.make.in (NM): New variable.
32075
88d4247f
AJ
320762012-10-21 Andreas Jaeger <aj@suse.de>
32077
32078 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Remove all
32079 definitions and declarations that are provided by
32080 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
32081
f2eed205
L
320822012-10-20 H.J. Lu <hongjiu.lu@intel.com>
32083
32084 [BZ #14683]
32085 * elf/Makefile (tests-static): Add tst-leaks1-static.
32086 (tests): Also depend on $(objpfx)tst-leaks1-static-mem.
32087 ($(objpfx)tst-leaks1-static): New rule.
32088 ($(objpfx)tst-leaks1-static-mem): Likewise.
32089 (tst-leaks1-static-ENV): New macro.
32090 * elf/dl-open.c (dl_open_worker): Check the main application
32091 only if SHARED is defined.
32092 * elf/tst-leaks1-static.c: New file.
32093
335e6931
AJ
320942012-10-20 Andreas Jaeger <aj@suse.de>
32095
32096 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: New file, contains
32097 generic values for Linux.
32098 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: Remove all definitions
32099 and declarations that are provided by <bits/fcntl-linux.h> and
32100 include <bits/fcntl-linux.h>.
32101 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
32102 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
32103
ac5c94d3
RM
321042012-10-20 Roland McGrath <roland@hack.frob.com>
32105
32106 * io/fcntl.h: Move include of <bits/types.h> to the top and
32107 include it unconditionally.
32108
de54b33a
L
321092012-10-20 H.J. Lu <hongjiu.lu@intel.com>
32110
228cfb01
L
32111 * wcsmbs/Makefile (tests-ifunc): New variable.
32112 (tests): Add $(tests-ifunc).
32113 * wcsmbs/test-wcschr-ifunc.c: New file.
32114 * wcsmbs/test-wcscmp-ifunc.c: Likewise.
32115 * wcsmbs/test-wcscpy-ifunc.c: Likewise.
32116 * wcsmbs/test-wcslen-ifunc.c: Likewise.
32117 * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
32118 * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
32119
69f07e5f
L
32120 * string/Makefile (tests-ifunc): New variable.
32121 (tests): Add $(tests-ifunc).
32122 * string/test-memccpy.c (TEST_NAME): New macro.
32123 * string/test-memchr.c (TEST_NAME): Likewise.
32124 * string/test-memcmp.c (TEST_NAME): Likewise.
32125 * string/test-memcpy.c (TEST_NAME): Likewise.
32126 * string/test-memmem.c (TEST_NAME): Likewise.
32127 * string/test-memmove.c (TEST_NAME): Likewise.
32128 * string/test-memset.c (TEST_NAME): Likewise.
32129 * string/test-rawmemchr.c (TEST_NAME): Likewise.
32130 * string/test-stpcpy.c (TEST_NAME): Likewise.
32131 * string/test-stpncpy.c (TEST_NAME): Likewise.
32132 * string/test-strcasecmp.c (TEST_NAME): Likewise.
32133 * string/test-strcasestr.c (TEST_NAME): Likewise.
32134 * string/test-strcat.c (TEST_NAME): Likewise.
32135 * string/test-strchr.c (TEST_NAME): Likewise.
32136 * string/test-strcmp.c(TEST_NAME): Likewise.
32137 * string/test-strcpy.c (TEST_NAME): Likewise.
32138 * string/test-strcspn.c (TEST_NAME): Likewise.
32139 * string/test-strlen.c (TEST_NAME): Likewise.
32140 * string/test-strncasecmp.c (TEST_NAME): Likewise.
32141 * string/test-strncmp.c (TEST_NAME): Likewise.
32142 * string/test-strncpy.c (TEST_NAME): Likewise.
32143 * string/test-strnlen.c (TEST_NAME): Likewise.
32144 * string/test-strpbrk.c (TEST_NAME): Likewise.
32145 * string/test-strrchr.c (TEST_NAME): Likewise.
32146 * string/test-strspn.c (TEST_NAME): Likewise.
32147 * string/test-strstr.c (TEST_NAME): Likewise.
32148 * string/test-bcopy-ifunc.c: New file.
32149 * string/test-bzero-ifunc.c: Likewise.
32150 * string/test-memccpy-ifunc.c: Likewise.
32151 * string/test-memchr-ifunc.c: Likewise.
32152 * string/test-memcmp-ifunc.c: Likewise.
32153 * string/test-memcpy-ifunc.c: Likewise.
32154 * string/test-memmem-ifunc.c: Likewise.
32155 * string/test-memmove-ifunc.c: Likewise.
32156 * string/test-mempcpy-ifunc.c: Likewise.
32157 * string/test-memset-ifunc.c: Likewise.
32158 * string/test-rawmemchr-ifunc.c: Likewise.
32159 * string/test-stpcpy-ifunc.c: Likewise.
32160 * string/test-stpncpy-ifunc.c: Likewise.
32161 * string/test-strcasecmp-ifunc.c: Likewise.
32162 * string/test-strcasestr-ifunc.c: Likewise.
32163 * string/test-strcat-ifunc.c: Likewise.
32164 * string/test-strchr-ifunc.c: Likewise.
32165 * string/test-strchrnul-ifunc.c: Likewise.
32166 * string/test-strcmp-ifunc.c: Likewise.
32167 * string/test-strcpy-ifunc.c: Likewise.
32168 * string/test-strcspn-ifunc.c: Likewise.
32169 * string/test-strlen-ifunc.c: Likewise.
32170 * string/test-strncasecmp-ifunc.c: Likewise.
32171 * string/test-strncat-ifunc.c: Likewise.
32172 * string/test-strncmp-ifunc.c: Likewise.
32173 * string/test-strncpy-ifunc.c: Likewise.
32174 * string/test-strnlen-ifunc.c: Likewise.
32175 * string/test-strpbrk-ifunc.c: Likewise.
32176 * string/test-strrchr-ifunc.c: Likewise.
32177 * string/test-strspn-ifunc.c: Likewise.
32178 * string/test-strstr-ifunc.c: Likewise.
32179
de54b33a
L
32180 * debug/Makefile (tests-ifunc): New variable.
32181 (tests): Add $(tests-ifunc).
32182 * debug/test-stpcpy_chk.c (TEST_NAME): New macro.
32183 * debug/test-strcpy_chk.c (TEST_NAME): Likewise.
32184 * debug/test-stpcpy_chk-ifunc.c: New file.
32185 * debug/test-strcpy_chk-ifunc.c: Likewise.
32186
88481c16
SP
321872012-10-20 Siddhesh Poyarekar <siddhesh@redhat.com>
32188
32189 [BZ #13601]
32190 * elf/dl-load.c (open_verify): Retry read if the entire ELF
32191 header is not read in.
32192
135948bd
JM
321932012-10-19 Joseph Myers <joseph@codesourcery.com>
32194
89f1c388
JM
32195 * io/Makefile ($(objpfx)ftwtest.out): Depend on ftwtest-sh. Pass
32196 script to $(SHELL) as $<. Pass $(common-objpfx) to script
32197 directly. Pass built executable to script as
32198 $(built-program-cmd).
32199 * io/ftwtest-sh (ldso): Remove variable. Run ftwtest directly as
32200 $testprogram without using LD_LIBRARY_PATH and $ldso.
32201
e40a0d21
JM
32202 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Pass
32203 $(run-program-prefix) to tst_fgetgrent.sh, not $(elf-objpfx) and
32204 $(rtld-installed-name).
32205 * grp/tst_fgetgrent.sh (elf_objpfx): Remove variable.
32206 (rtld_installed_name): Likewise.
32207 (library_path): Likewise.
32208 (run_program_prefix): New variable. Use it to run tst_fgetgrent.
32209 * iconvdata/Makefile ($(objpfx)tst-tables.out): Pass
32210 $(run-program-prefix) to tst-tables.sh.
32211 * iconvdata/tst-table.sh (run_program_prefix): New variable. Use
32212 it to run tst-table-from and tst-table-to.
32213 * iconvdata/tst-tables.sh (run_program_prefix): New variable.
32214 Pass it to tst-table.sh.
32215 * intl/Makefile ($(objpfx)tst-gettext.out): Pass
32216 $(run-program-prefix) to tst-gettext.sh.
32217 ($(objpfx)tst-translit.out): Pass $(run-program-prefix) to
32218 tst-translit.sh.
32219 ($(objpfx)tst-gettext2.out): Pass $(run-program-prefix) to
32220 tst-gettext2.sh.
32221 * intl/tst-gettext.sh (run_program_prefix): New variable. Use it
32222 to run tst-gettext.
32223 * intl/tst-gettext2.sh (run_program_prefix): New variable. Use it
32224 to run tst-gettext2.
32225 * intl/tst-translit.sh (run_program_prefix): New variable. Use it
32226 to run tst-translit.
32227 * malloc/Makefile ($(objpfx)tst-mtrace.out): Pass
32228 $(run-program-prefix) to tst-mtrace.sh.
32229 * malloc/tst-mtrace.sh (run_program_prefix): New variable. Use it
32230 to run tst-mtrace.
32231 * posix/Makefile ($(objpfx)wordexp-tst.out): Pass
32232 $(run-program-prefix) to wordexp-tst.sh, not $(elf-objpfx) and
32233 $(rtld-installed-name).
32234 * posix/wordexp-tst.sh (elf_objpfx): Remove variable.
32235 (rtld_installed_name): Likewise.
32236 (run_program_prefix): New variable. Use it to run wordexp-test.
32237
728e272a
JM
32238 * Makeconfig (ARCH): Remove all definitions.
32239 (machine): Likewise.
32240 [ARCH]: Remove conditional code.
32241 [!objdir]: Give error.
32242 [!objdir] (objpfx): Remove.
32243 [!objdir] (common-objpfx): Likewise.
32244 [!objdir] (common-objdir): Likewise.
32245 * configure.in (config_makefile): Remove. Hardcode Makefile in
32246 AC_CONFIG_FILES call.
32247 * configure: Regenerated.
32248
d528cdcf
JM
32249 [BZ #13888]
32250 * io/ftwtest-sh (tmp): Set to use the working directory, not /tmp
32251 or TMPDIR.
32252 (testout): Likewise.
32253
135948bd
JM
32254 * posix/Makefile ($(objpfx)tst-getconf.out): Pass
32255 $(built-program-cmd) to tst-getconf.sh, not $(elf-objpfx) and
32256 $(rtld-installed-name).
32257 * posix/tst-getconf.sh (elf_objpfx): Remove variable.
32258 (rtld_installed_name): Likwise.
32259 (runit): Remove function.
32260 (run_getconf): New variable, Use it for running getconf binary.
32261
38c78296
L
322622012-10-18 H.J. Lu <hongjiu.lu@intel.com>
32263
32264 [BZ #14716]
32265 * string/test-memmem.c (check_result): New function.
32266 (do_one_test): Use it.
32267 (check1): New function.
32268 (test_main): Use it.
32269
d077f65f
MT
322702012-10-18 Markus Trippelsdorf <markus@trippelsdorf.de>
32271
32272 * math/Makefile: Comment on slow compilation of test-tgmath2.c.
32273
ced52c71
JM
322742012-10-18 Joseph Myers <joseph@codesourcery.com>
32275
32276 * sysdeps/generic/_G_config.h (_G_OPEN64): Remove.
32277 (_G_LSEEK64): Likewise.
32278 (_G_MMAP64): Likewise.
32279 (_G_FSTAT64): Likewise.
32280 * sysdeps/unix/sysv/linux/_G_config.h (_G_OPEN64): Remove.
32281 (_G_LSEEK64): Likewise.
32282 (_G_MMAP64): Likewise.
32283 (_G_FSTAT64): Likewise.
32284 * libio/fileops.c (mmap_remap_check) [_G_MMAP64]: Make code
32285 unconditional. Call __mmap64 directly.
32286 (mmap_remap_check) [!_G_MMAP64]: Remove conditional code.
32287 (mmap_remap_check) [_G_LSEEK64]: Make code unconditional. Call
32288 __lseek64 directly.
32289 (mmap_remap_check) [!_G_LSEEK64]: Remove conditional code.
32290 (decide_maybe_mmap) [_G_MMAP64]: Make code unconditional. Call
32291 __mmap64 directly.
32292 (decide_maybe_mmap) [!_G_MMAP64]: Remove conditional code.
32293 (decide_maybe_mmap) [_G_LSEEK64]: Make code unconditional. Call
32294 __lseek64 directly.
32295 (decide_maybe_mmap) [!_G_LSEEK64]: Remove conditional code.
32296 (_IO_file_sync_mmap) [_G_LSEEK64]: Make code unconditional. Call
32297 __lseek64 directly.
32298 (_IO_file_sync_mmap) [!_G_LSEEK64]: Remove conditional code.
32299 (_IO_file_seek) [_G_LSEEK64]: Make code unconditional. Call
32300 __lseek64 directly.
32301 (_IO_file_seek) [!_G_LSEEK64]: Remove conditional code.
32302 (_IO_file_stat) [_G_FSTAT64]: Make code unconditional. Call
32303 __fxstat64 directly.
32304 (_IO_file_stat) [!_G_FSTAT64]: Remove conditional code.
32305 * libio/freopen64.c (freopen64) [_G_OPEN64]: Make code
32306 unconditional.
32307 (freopen64) [!_G_OPEN64]: Remove conditional code.
32308 * libio/fseeko64.c (fseeko64) [_G_LSEEK64]: Make code
32309 unconditional.
32310 (fseeko64) [!_G_LSEEK64]: Remove conditional code.
32311 * libio/ftello64.c (ftello64) [_G_LSEEK64]: Make code
32312 unconditional.
32313 (ftello64) [!_G_LSEEK64]: Remove conditional code.
32314 * libio/iofgetpos64.c (_IO_new_fgetpos64) [_G_LSEEK64]: Make code
32315 unconditional.
32316 (_IO_new_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
32317 * libio/iofopen64.c (_IO_fopen64) [_G_OPEN64]: Make code
32318 unconditional.
32319 (_IO_fopen64) [!_G_OPEN64]: Remove conditional code.
32320 * libio/iofsetpos64.c (_IO_new_fsetpos64) [_G_LSEEK64]: Make code
32321 unconditional.
32322 (_IO_new_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
32323 * libio/oldiofgetpos64.c (_IO_old_fgetpos64) [_G_LSEEK64]: Make code
32324 unconditional.
32325 (_IO_old_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
32326 * libio/oldiofsetpos64.c (_IO_old_fsetpos64) [_G_LSEEK64]: Make code
32327 unconditional.
32328 (_IO_old_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
32329
b741de23
SP
323302012-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
32331
32332 [BZ #12140]
32333 * manual/memory.texi (Malloc Tunable Parameters): Add note
32334 about free list pointers overwriting some perturb bytes.
32335 Wording suggested by Roland McGrath.
32336
f9b9d9c9
JM
323372012-10-17 Joseph Myers <joseph@codesourcery.com>
32338
32339 * math/libm-test.inc (gamma_test): Do not call feclearexcept.
32340 (lgamma_test): Likewise.
32341 (tgamma_test): Likewise.
32342
172a631a
FW
323432012-10-16 Florian Weimer <fweimer@redhat.com>
32344
32345 [BZ #14700]
32346 * sysdeps/posix/opendir.c (MAX_DIR_BUFFER_SIZE): New constant.
32347 (__alloc_dir): Limit buffer to MAX_DIR_BUFFER_SIZE.
32348
e9f37252
MK
323492012-10-16 Maxim Kuvyrkov <maxim@codesourcery.com>
32350
32351 * NEWS: Mention BZ #14716.
32352 * string/str-two-way.h (two_way_short_needle): Fix thinko introduced
32353 when removing AVAILABLE1_USES_J macro.
32354
d394eb74
L
323552012-10-12 H.J. Lu <hongjiu.lu@intel.com>
32356
32357 * sysdeps/x86/bits/byteswap.h: Include <bits/types.h>.
32358 (__bswap_64): __uint64_t for unsigned 64-bit int.
32359
ca38dc17
AS
323602012-10-12 Andreas Schwab <schwab@linux-m68k.org>
32361
32362 * include/string.h (memmem): Declare libc hidden alias.
32363 * string/memmem.c (memmem): Define libc hidden alias.
32364 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use __open,
32365 __read, __close instead of open, read, close.
32366
9a387d1f
L
323672012-10-11 H.J. Lu <hongjiu.lu@intel.com>
32368
ac49ecaf
L
32369 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: New file.
32370 * sysdeps/x86_64/multiarch/memcmp.S (__memcmp_sse2): Make it
32371 global and hidden.
32372 * sysdeps/x86_64/multiarch/memcpy.S (__memcpy_sse2): Likewise.
32373 * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy_sse2): Likewise.
32374 * sysdeps/x86_64/multiarch/rawmemchr.S (__rawmemchr_sse42):
32375 Likewise.
32376 (__rawmemchr_sse2): Likewise.
32377 * sysdeps/x86_64/multiarch/strcat.S (STRCAT_SSE2): Likewise.
32378 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Likewise.
32379 (__strchr_sse2): Likewise.
32380 * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Likewise.
32381 * sysdeps/x86_64/multiarch/strcmp.S (STRCMP_SSE2): Likewise.
32382 (__strcasecmp_sse2): Likewise.
32383 (__strncasecmp_sse2): Likewise.
32384 * sysdeps/x86_64/multiarch/strcpy.S (STRCPY_SSE2): Likewise.
32385 * sysdeps/x86_64/multiarch/strlen.S (__strlen_sse2): Likewise.
32386 * sysdeps/x86_64/multiarch/strnlen.S (__strnlen_sse2): Likewise.
32387 * sysdeps/x86_64/multiarch/strrchr.S (__strrchr_sse42): Likewise.
32388 (__strrchr_sse2): Likewise.
32389 * sysdeps/x86_64/multiarch/memcmp.S: Add comments for
32390 ifunc-impl-list.c.
32391 * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
32392 * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
32393 * sysdeps/x86_64/multiarch/memmove.c: Likewise.
32394 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
32395 * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
32396 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
32397 * sysdeps/x86_64/multiarch/memset.S: Likewise.
32398 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
32399 * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise.
32400 * sysdeps/x86_64/multiarch/stpcpy.S: Likewise.
32401 * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
32402 * sysdeps/x86_64/multiarch/strcasecmp_l.S: Likewise.
32403 * sysdeps/x86_64/multiarch/strcasestr-c.c: Likewise.
32404 * sysdeps/x86_64/multiarch/strcat.S: Likewise.
32405 * sysdeps/x86_64/multiarch/strchr.S: Likewise.
32406 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
32407 * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
32408 * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
32409 * sysdeps/x86_64/multiarch/strlen.S: Likewise.
32410 * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
32411 * sysdeps/x86_64/multiarch/strncat.S: Likewise.
32412 * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
32413 * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
32414 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
32415 * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
32416 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
32417 * sysdeps/x86_64/multiarch/strspn.S: Likewise.
32418 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
32419 * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
32420 * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
32421
b090e8ea
L
32422 * sysdeps/i386/i686/multiarch/bcopy.S (__bcopy_ia32): Make it
32423 global and hidden.
32424 * sysdeps/i386/i686/multiarch/bzero.S (__bzero_ia32): Likewise.
32425 * sysdeps/i386/i686/multiarch/memcmp.S (__memcmp_ia32): Likewise.
32426 * sysdeps/i386/i686/multiarch/memcpy.S (__memcpy_ia32): Likewise.
32427 * sysdeps/i386/i686/multiarch/memmove.S (__memmove_ia32):
32428 Likewise.
32429 * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy_ia32):
32430 Likewise.
32431 * sysdeps/i386/i686/multiarch/strcat.S (STRCAT_IA32): Likewise.
32432 * sysdeps/i386/i686/multiarch/strcmp.S (__STRCMP_IA32): Likewise.
32433 * sysdeps/i386/i686/multiarch/strcpy.S (STRCPY_IA32): Likewise.
32434 * sysdeps/i386/i686/multiarch/bcopy.S: Add comments for
32435 ifunc-impl-list.c.
32436 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
32437 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
32438 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
32439 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
32440 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
32441 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
32442 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
32443 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
32444 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
32445 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
32446 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
32447 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
32448 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
32449 * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
32450 * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
32451 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
32452 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
32453 * sysdeps/i386/i686/multiarch/strcasestr-c.c: Likewise.
32454 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
32455 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
32456 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
32457 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
32458 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
32459 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
32460 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
32461 * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
32462 * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
32463 * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
32464 * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
32465 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
32466 * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
32467 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
32468 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
32469 * sysdeps/i386/i686/multiarch/strstr-c.c: Likewise.
32470 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
32471 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
32472 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
32473 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
32474 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
32475 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
32476 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: New file.
32477
11dd4af6
L
32478 * Rules [$(multi-arch) = no] (tests): Filter out $(tests-ifunc).
32479 [$(multi-arch) = no] (xtests): Filter out $(xtests-ifunc).
32480 * include/ifunc-impl-list.h: New file.
32481 * misc/ifunc-impl-list.c: Likewise.
32482 * misc/Makefile (routines): Add ifunc-impl-list.
32483 * misc/Versions (GLIBC_PRIVATE): Add __libc_ifunc_impl_list.
32484 * string/test-string.h: Include <ifunc-impl-list.h>.
57f41c40
AS
32485 (func_list, func_count, impl_count, impl_array) [TEST_IFUNC &&
32486 TEST_NAME]: New variables.
11dd4af6
L
32487 (FOR_EACH_IMPL): Support func_list if TEST_IFUNC and TEST_NAME
32488 are defined.
32489 (test_init): Call __libc_ifunc_impl_list to initialize
32490 func_list if TEST_IFUNC and TEST_NAME are defined.
32491
9a387d1f
L
32492 * string/Makefile (strop-tests): Add bcopy and bzero.
32493 * string/test-bcopy.c: New file.
32494 * string/test-bzero.c: Likewise.
32495 * string/test-memmove.c: Support bcopy test if TEST_BCOPY is
32496 defined.
32497 * string/test-memset.c: Support bzero test if TEST_BZERO is
32498 defined.
32499 * sysdeps/x86_64/multiarch/bcopy.S (bcopy): Jump to
32500 __libc_memmove.
32501 * sysdeps/x86_64/multiarch/bzero.S (__bzero): Jump to
32502 __libc_memset.
32503 * sysdeps/x86_64/multiarch/memset.S (__libc_memset): New alias
32504 of memset.
32505
472371b9
JM
325062012-10-10 Joseph Myers <joseph@codesourcery.com>
32507
1e4a9536
JM
32508 * configure.in: Run $CXX, not cc1plus, to locate C++ headers.
32509 * configure: Regenerated.
32510
d173d12e
JM
32511 * Makeconfig (+link-static-before-libc): Don't include
32512 $(link-static-libc).
32513
472371b9
JM
32514 * libio/libio.h (_IO_pos_t): Remove.
32515
89a3ad0b
AO
325162012-10-10 Alexandre Oliva <aoliva@redhat.com>
32517
32518 * NEWS: Add note about FIPS mode. Wording suggested by Roland
32519 McGrath.
32520
e7451425
AO
325212012-10-10 Alexandre Oliva <aoliva@redhat.com>
32522
32523 * crypt/crypt-entry.c: Include fips-private.h.
32524 (__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled.
32525 * crypt/md5c-test.c (main): Tolerate disabled MD5.
32526 * sysdeps/unix/sysv/linux/fips-private.h: New file.
32527 * sysdeps/generic/fips-private.h: New file, dummy fallback.
32528
4ba74a35
AO
325292012-10-10 Alexandre Oliva <aoliva@redhat.com>
32530
32531 * crypt/crypt-private.h: Include stdbool.h.
32532 (_ufc_setup_salt_r): Return bool.
32533 * crypt/crypt-entry.c: Include errno.h.
32534 (__crypt_r): Return NULL with EINVAL for bad salt.
32535 * crypt/crypt_util.c (bad_for_salt): New.
32536 (_ufc_setup_salt_r): Check that salt is long enough and within
32537 the specified alphabet.
32538 * crypt/badsalttest.c: New file.
32539 * crypt/Makefile (tests): Add it.
32540 ($(objpfx)badsalttest): New.
32541
f96f1242
MK
325422012-10-09 Maxim Kuvyrkov <maxim@codesourcery.com>
32543
32544 * NEWS: Add entry for BZ #14602.
32545
0e8e0c1c
JM
325462012-10-09 Joseph Myers <joseph@codesourcery.com>
32547
32548 * math/gen-libm-test.pl (parse_args): Handle comparison macros as
32549 type-generic.
32550 * math/libm-test.inc: Update comment listing what functions and
32551 macros are tested.
32552 (isgreater_test): New function.
32553 (isgreaterequal_test): Likewise.
32554 (isless_test): Likewise.
32555 (islessequal_test): Likewise.
32556 (islessgreater_test): Likewise.
32557 (isunordered_test): Likewise.
32558 (main): Call the new functions.
32559
273edc5e
RM
325602012-10-09 Roland McGrath <roland@hack.frob.com>
32561
b8493de0
RM
32562 * aclocal.m4 (GLIBC_PROVIDES): Provide _AS_BASENAME_PREPARE,
32563 _AS_ME_PREPARE, _AS_VAR_ARITH_PREPARE, AS_SHELL_FN_as_fn_set_status,
32564 AS_SHELL_FN_as_fn_exit, AS_SHELL_FN_ac_fn_c_try_compile.
32565 * sysdeps/i386/configure: Regenerated.
32566 * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
32567 * sysdeps/mach/configure: Regenerated.
32568 * sysdeps/mach/hurd/configure: Regenerated.
32569 * sysdeps/powerpc/configure: Regenerated.
32570 * sysdeps/powerpc/powerpc32/configure: Regenerated.
32571 * sysdeps/powerpc/powerpc64/configure: Regenerated.
32572 * sysdeps/s390/s390-32/configure: Regenerated.
32573 * sysdeps/s390/s390-64/configure: Regenerated.
32574 * sysdeps/sh/configure: Regenerated.
32575 * sysdeps/sparc/configure: Regenerated.
32576 * sysdeps/unix/sysv/linux/configure: Regenerated.
32577 * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
32578 * sysdeps/x86_64/configure: Regenerated.
32579
273edc5e
RM
32580 * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
32581 defined. Don't check if MAP is NULL.
32582
c8450f70
JM
325832012-10-09 Joseph Myers <joseph@codesourcery.com>
32584
32585 * sysdeps/generic/_G_config.h (_G_off64_t): Remove.
32586 (_G_stat64): Likewise.
32587 * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove.
32588 (_G_stat64): Likewise.
32589 * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64
32590 instead of struct _G_stat64.
32591 * libio/fileops.c (mmap_remap_check): Likewise.
32592 (decide_maybe_mmap): Likewise.
32593 (_IO_new_file_seekoff): Likewise.
32594 (_IO_file_stat): Likewise.
32595 * libio/libio.h (_IO_off64_t): Define to __off64_t, not
32596 _G_off64_t.
32597 * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64
32598 instead of struct _G_stat64.
32599 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
32600
57e605ba
MK
326012012-10-08 Maxim Kuvyrkov <maxim@codesourcery.com>
32602
32603 [BZ #14602]
32604 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
32605 Replace with ...
32606 (CHECK_EOL): New macro.
32607 (two_way_short_needle): Check beginning of haystack for EOL. Use
32608 CHECK_EOL.
32609 * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
32610 Replace with CHECK_EOL.
32611 * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
32612 Replace with CHECK_EOL.
32613
ef1bb361
JM
326142012-10-08 Joseph Myers <joseph@codesourcery.com>
32615
32616 * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
32617 type-generic.
32618 * math/libm-test.inc: Update comment listing what functions and
32619 macros are tested.
32620 (finite_test): New function.
32621 (isinf_test): Likewise.
32622 (isnan_test): Likewise.
32623 (fpclassify_test): Test subnormal input.
32624 (isfinite_test): Likewise.
32625 (isnormal_test): Likewise.
32626 (main): Call the new functions.
32627
55f11534
JN
326282012-10-08 Jonathan Nieder <jrnieder@gmail.com>
32629
32630 [BZ #14660]
32631 * Makerules (%.dynsym): Force C locale when running
32632 $(OBJDUMP) --dynamic-syms.
32633
1ab29350
AS
326342012-10-08 Andreas Schwab <schwab@linux-m68k.org>
32635
32636 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
32637 <stdint.h>.
32638
f1ecb7ef
DM
326392012-10-06 David S. Miller <davem@davemloft.net>
32640
32641 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
32642 upper 32-bits of the length value in %o2 since we use branch-on-register
32643 tests which consider the entire 64-bit register.
32644
5d41d91a
L
326452012-10-06 H.J. Lu <hongjiu.lu@intel.com>
32646
32647 * string/test-strstr.c (check2): Add a test for page boundary.
32648
3baddb72
DM
326492012-10-05 David S. Miller <davem@davemloft.net>
32650
32651 * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
32652 * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
32653 file.
32654 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
32655 sysdep_routines.
32656 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
32657 * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
32658 and bzero when HWCAP_SPARC_CRYPTO is present.
32659
9cee5585
L
326602012-10-05 H.J. Lu <hongjiu.lu@intel.com>
32661
d7e0dab9
L
32662 [BZ #14602]
32663 * string/test-strstr.c (check2): New function.
32664 (test_main): Call check2.
32665
03759f47
L
32666 * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
32667 and bug-strchr1.
32668 * string/bug-strcasestr1.c (do_test): Moved to ...
32669 * string/test-strcasestr.c (check1): Here. New function.
32670 (do_one_test): Break out result checking code into ...
32671 (check_result): This. New function.
32672 (do_one_test): Call check_result.
32673 (test_main): Call check1.
32674 * string/bug-strchr1.c (do_test): Moved to ...
32675 * string/test-strchr.c (check1): Here. New function.
32676 (do_one_test): Break out result checking code into ...
32677 (check_result): This. New function.
32678 (do_one_test): Call check_result.
32679 (test_main): Call check1.
32680 * string/bug-strstr1.c (main): Moved to ...
046f153e 32681 * string/test-strstr.c (check1): Here. New function.
03759f47
L
32682 (do_one_test): Break out result checking code into ...
32683 (check_result): This. New function.
32684 (do_one_test): Call check_result.
32685 (test_main): Call check1.
32686 * string/bug-strcasestr1.c: Removed.
32687 * string/bug-strchr1.c: Likewise.
32688 * string/bug-strstr1.c: Likewise.
32689
53cea63e
L
32690 * elf/Makefile (dl-routines): Add hwcaps.
32691 * elf/dl-support.c (_dl_important_hwcaps): Removed.
32692 * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
32693 (_dl_important_hwcaps): Moved to ...
32694 * elf/dl-hwcaps.c: Here. New file.
32695 * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
32696
9cee5585 32697 [BZ #14557]
bb859b06
L
32698 * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
32699 if IS_IN_rtld isn't defined.
32700
9cee5585
L
32701 * elf/dl-support.c (_dl_sysinfo_map): New.
32702 Include "get-dynamic-info.h" and "setup-vdso.h".
32703 (_dl_non_dynamic_init): Call setup_vdso.
32704 * elf/dynamic-link.h: Don't include <assert.h>.
32705 (elf_get_dynamic_info): Moved to ...
32706 * elf/get-dynamic-info.h: Here. New file.
32707 * elf/dynamic-link.h: Include "get-dynamic-info.h".
32708 * elf/rtld.c (dl_main): Break out vDSO setup code into ...
32709 * elf/setup-vdso.h: Here. New file.
32710 * elf/rtld.c: Include "setup-vdso.h".
32711 (dl_main): Call setup_vdso.
32712
23c31b76
JM
327132012-10-05 Joseph Myers <joseph@codesourcery.com>
32714
28234b07
JM
32715 * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
32716 creal in comment listing functions tested. List finite, isinf,
32717 isnan, isless, islessequal, isgreater, isgreaterequal,
32718 islessgreater, isunordered, lgamma_r and pow10 as functions and
32719 macros not tested. Mention which functions not tested are aliases
32720 for other functions. Fix typo. Note that signs of NaNs are not
32721 tested.
32722
23c31b76
JM
32723 * scripts/config.guess: Update from config.git.
32724 * scripts/config.sub: Likewise.
32725
9043e228
RM
327262012-10-04 Roland McGrath <roland@hack.frob.com>
32727
32728 * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
32729 * misc/madvise.c (madvise): Renamed to __madvise.
32730 Make madvise a weak alias.
32731 * include/sys/mman.h: Declare __madvise.
32732 Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
32733 * sysdeps/unix/syscalls.list
32734 (madvise): Make __madvise the strong name, and madvise a weak alias.
32735 * sysdeps/unix/sysv/linux/syscalls.list
32736 (madvise, mmap): Remove redundant entries.
32737 * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
32738 * malloc/malloc.c (mtrim): Likewise.
32739 * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
32740
f57f8055
RM
327412012-10-03 Roland McGrath <roland@hack.frob.com>
32742
32743 * sysdeps/mach/hurd/dl-cache.c: File removed.
32744 * config.h.in (USE_LDCONFIG): New #undef.
32745 * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
32746 * configure: Regenerated.
32747 * elf/Makefile (dl-routines): Add dl-cache only under
32748 [$(use-ldconfig) = yes].
32749 * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
32750 cache on [USE_LDCONFIG].
32751 * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
32752 [USE_LDCONFIG].
32753 * elf/rtld.c (dl_main): Likewise.
32754
5bb0c10a
PT
327552012-10-03 Pino Toscano <toscano.pino@tiscali.it>
32756
32757 * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
32758 _SC_LEVEL4_CACHE_LINESIZE.
32759
010188c6
RM
327602012-10-03 Roland McGrath <roland@hack.frob.com>
32761
32762 * sysdeps/unix/bsd/confstr.h: File removed.
32763
b6c5ec07
AO
327642012-10-02 Alexandre Oliva <aoliva@redhat.com>
32765
32766 * scripts/check-local-headers.sh: Exclude sys/sdt.h and
32767 sys/sdt-config.h.
32768
408223d4
RM
327692012-10-02 Roland McGrath <roland@hack.frob.com>
32770
32771 * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
32772 Make 'mapoff' field ElfW(Off) rather than off_t.
32773
bb9510dc
DL
327742012-10-02 Dmitry V. Levin <ldv@altlinux.org>
32775
fc997c6e
DL
32776 * nscd/Makefile: Remove nscd-cflags and all its users.
32777 (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
32778 (CFLAGS-nonlib): Add compiler flags for nscd modules.
32779
bb9510dc
DL
32780 [BZ #10631]
32781 * malloc.c (malloc_printerr): Clarify error message.
32782
05699367
L
327832012-10-02 H.J. Lu <hongjiu.lu@intel.com>
32784
32785 [BZ #14648]
32786 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
32787 Set bit_FMA_Usable if FMA is supported.
32788 * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
32789 macro.
32790 (bit_FMA4_Usable): Updated.
32791 (index_FMA_Usable): New macro.
32792 (CPUID_FMA): Likewise
32793 (HAS_FMA): Defined with bit_FMA_Usable.
32794
51367701
RM
327952012-10-01 Roland McGrath <roland@hack.frob.com>
32796
32797 * bits/types.h (__swblk_t): Type removed.
32798 * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
32799 * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
32800 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
32801 (__SWBLK_T_TYPE): Likewise.
32802 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
32803 (__SWBLK_T_TYPE): Likewise.
32804 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
32805 (__SWBLK_T_TYPE): Likewise.
32806 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
32807 (__SWBLK_T_TYPE): Likewise.
32808
4d57bf63 328092012-10-01 Patsy Franklin <pfrankli@redhat.com>
1e9d84cd 32810 Honza Horak <hhorak@redhat.com>
4d57bf63
JL
32811
32812 * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
32813 (xdr_mapname): Use YPMAXMAP as maxsize.
32814 (xdr_peername): Use YPMAXPEER as maxsize.
32815 (xdr_keydat): Use YPAXRECORD as maxsize.
32816 (xdr_valdat): Use YPMAXRECORD as maxsize.
32817
93c65d43
RM
328182012-10-01 Roland McGrath <roland@hack.frob.com>
32819
497a03d6
RM
32820 * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
32821
93c65d43
RM
32822 * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
32823 * csu/init-first.c: ... here.
32824 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
32825 * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
32826 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
32827 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
32828 * sysdeps/i386/init-first.c: File removed.
32829 * sysdeps/sh/init-first.c: File removed.
32830
bec749fd
JM
328312012-10-01 Joseph Myers <joseph@codesourcery.com>
32832
32833 [BZ #14645]
32834 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
32835 if x * y might underflow to zero and z is zero.
32836 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
32837 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
32838 * math/libm-test.inc (min_subnorm_value): New variable.
32839 (fma_test): Add more tests.
32840 (fma_test_towardzero): Likewise.
32841 (fma_test_downward): Likewise
32842 (fma_test_upward): Likewise.
32843 (initialize): Set min_subnorm_value.
32844
8ec5b013
JM
328452012-09-29 Joseph Myers <joseph@codesourcery.com>
32846
32847 [BZ #14638]
32848 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
32849 0 + 0.
32850 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
32851 mode for addition resulting in exact zero.
32852 * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
32853 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
32854 exact 0 + 0.
32855 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
32856 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
32857 * math/libm-test.inc (fma_test): Add more tests.
32858 (fma_test_towardzero): New function.
32859 (fma_test_downward): Likewise.
32860 (fma_test_upward): Likewise.
32861 (main): Call the new functions.
32862
b1fa802e
DM
328632012-09-28 David S. Miller <davem@davemloft.net>
32864
32865 * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
32866
d3b9fd9e
RM
328672012-09-28 Roland McGrath <roland@hack.frob.com>
32868
ea4d37b3
RM
32869 * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
32870 instead of SIGALRM.
32871
ac51c949
RM
32872 * sysdeps/gnu/_G_config.h: Moved to ...
32873 * sysdeps/unix/sysv/linux/_G_config.h: ... here.
32874 * sysdeps/mach/hurd/_G_config.h: Moved to ...
32875 * sysdeps/generic/_G_config.h: ... here.
32876
28c195f7
RM
32877 * io/open.c (__open): Renamed to __libc_open. Make __open an alias.
32878
848917f9
RM
32879 * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
32880
6bacf05b
RM
32881 * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
32882 Conditionalize target on [libnss_test1.so-version].
32883
91363dbb
RM
32884 * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
32885
cc87f7d8
RM
32886 * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
32887 (elfobjdir): Move out of conditionals.
32888
b1c608fe
RM
32889 * nss/nsswitch.c (nss_new_service): Conditionalize definition and
32890 declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
32891 (__nss_lookup_function): Conditionalize label remove_from_tree on
32892 [!DO_STATIC_NSS || SHARED], matching its only use.
d3b9fd9e 32893
1d9a6d96
DM
328942012-09-28 David S. Miller <davem@davemloft.net>
32895
32896 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
32897 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
32898 file.
32899 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
32900 sysdep_routines.
32901 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
32902 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
32903 when HWCAP_SPARC_CRYPTO is present.
32904
72581615
PT
329052012-09-28 Pino Toscano <toscano.pino@tiscali.it>
32906
32907 * io/tst-mknodat.c: Create a FIFO instead of a socket.
32908
715a900c
JL
329092012-09-28 Andreas Schwab <schwab@linux-m68k.org>
32910
32911 [BZ #6530]
32912 * stdio-common/vfprintf.c (process_string_arg): Revert
32913 2000-07-22 change.
32914
329152011-09-28 Jonathan Nieder <jrnieder@gmail.com>
32916
32917 * stdio-common/Makefile (tst-sprintf-ENV): Set environment
32918 for testcase.
32919 * stdio-common/tst-sprintf.c: Include <locale.h>
32920 (main): Test sprintf's handling of incomplete multibyte
32921 characters.
32922
9bac1d86
L
329232012-09-28 H.J. Lu <hongjiu.lu@intel.com>
32924
32925 * elf/dl-runtime.c (VERSYMIDX): Removed.
32926 * elf/dl-version.c (VERSYMIDX): Likewise.
32927 * elf/do-rel.h (VERSYMIDX): Likewise.
32928 (VALIDX): Likewise.
32929 * elf/dynamic-link.h (VERSYMIDX): Likewise.
32930 * elf/rtld.c (VALIDX): Likewise.
32931 (ADDRIDX): Likewise.
9bac1d86
L
32932 * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
32933 * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
32934 * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
9c464f9c
L
32935 * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
32936 (VALIDX): Likewise.
32937 (ADDRIDX): Likewise.
9bac1d86 32938
b31606c0
PT
329392012-09-28 Pino Toscano <toscano.pino@tiscali.it>
32940
32941 * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
32942
11541177
JL
329432012-09-28 Dmitry V. Levin <ldv@altlinux.org>
32944
32945 [BZ #11438]
32946 * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
32947 to global scope.
32948 * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
32949 addresses are in the same scope as 192.0.2/24.
32950 * posix/gai.conf: Document new scope table defaults.
32951
adb26fae
SP
329522012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
32953
32954 [BZ #5298]
32955 * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
32956 for ftell. Compute offsets from write pointers instead.
32957 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
32958
4573c6b0
SP
329592012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
32960
32961 [BZ #14543]
32962 * libio/Makefile (tests): New test case tst-fseek.
32963 * libio/tst-fseek.c: New test case to verify that fseek/ftell
32964 combination works in wide mode.
32965 * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
32966 state when the external buffer state changes.
32967
aa9bbfe6
DM
329682012-09-27 David S. Miller <davem@davemloft.net>
32969
32970 [BZ #14376]
32971 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
32972 pass reloc->r_addend in as the 'high' argument to
32973 sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
32974
784421e7
DM
32975 * sysdeps/sparc/fpu/libm-test-ulps: Update.
32976
c39bc8b8
PT
329772012-09-28 Pino Toscano <toscano.pino@tiscali.it>
32978
32979 * rt/tst-aio2.c: Include <pthread.h>.
32980 * rt/tst-aio3.c: Likewise.
32981
1ccc2399
SE
329822012-09-27 Steve Ellcey <sellcey@mips.com>
32983
32984 * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
32985
31ed4153
L
329862012-09-27 H.J. Lu <hongjiu.lu@intel.com>
32987
25f5f885
L
32988 * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
32989 contents on [SHARED].
31ed4153 32990
b7bfe116
MP
329912012-09-26 Marek Polacek <polacek@redhat.com>
32992
32993 [BZ #14530]
32994 [BZ #13741]
32995 * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
32996 for C++ and GCC <4.3 as well as for non GCC compilers.
32997
43c4edba
MT
329982012-09-26 Markus Trippelsdorf <markus@trippelsdorf.de>
32999
33000 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
33001
6a1bf82f
RM
330022012-09-25 Roland McGrath <roland@hack.frob.com>
33003
33004 * Makefile.in (all, install): Declare with .PHONY.
33005 Reported by Michael Hope <michael.hope@linaro.org>.
33006
8ad11b9a
TMQMF
330072012-09-25 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
33008
33009 * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
33010 * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
33011 system header.
33012 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
33013 Likewise.
33014 (sydep_routines): Add the new and the internal functions.
33015 * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
33016 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
33017 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
33018 (GLIBC_2.17): Add the new function.
33019 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
33020 (GLIBC_2.17): Likewise.
33021 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
33022 (GLIBC_2.17): Likewise.
33023 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
33024 (GLIBC_2.17): Likewise.
33025 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
33026
7e2fca8d
AM
330272012-09-25 Alan Modra <amodra@gmail.com>
33028
33029 * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
33030 Add release barrier before setting once_control to say
33031 initialisation is done. Add hints on lwarx. Use macro in
33032 place of isync.
33033 (clear_once_control): Add release barrier.
33034
b87c4b24
JM
330352012-09-25 Joseph Myers <joseph@codesourcery.com>
33036
d032e0d2
JM
33037 [BZ #13629]
33038 * math/s_clog.c (__clog): Handle more values close to |z| = 1
33039 specially.
33040 * math/s_clog10.c (__clog10): Likewise.
33041 * math/s_clog10f.c (__clog10f): Likewise.
33042 * math/s_clog10l.c (__clog10l): Likewise.
33043 * math/s_clogf.c (__clogf): Likewise.
33044 * math/s_clogl.c (__clogl): Likewise.
33045 * math/Makefile (libm-calls): Add x2y2m1.
33046 * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
33047 (__x2y2m1): Likewise.
33048 (__x2y2m1l): Likewise.
33049 * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
33050 * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
33051 * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
33052 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
33053 * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
33054 * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
33055 * math/libm-test.inc (clog_test, clog10_test): Add more tests.
33056 * sysdeps/i386/fpu/libm-test-ulps: Update.
33057 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33058
b87c4b24
JM
33059 [BZ #14621]
33060 * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
33061 int as type of variable DEPTH.
33062 (glob): Use size_t instead of int as type of variables NEWCOUNT
33063 and OLD_PATHC.
33064
6d3bf199
LD
330652012-09-25 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
33066
22bf5c17
LD
33067 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
33068 Add s_sincosf-sse2.
33069 * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
33070 * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
33071 * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
33072 macros for using routine as __sincosf_ia32.
33073 Use macro for function declaration and weak_alias.
33074 * sysdeps/i386/fpu/libm-test-ulps: Update.
33075
33076 * sysdeps/x86_64/fpu/s_sincosf.S: New file.
33077 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
33078
33079 * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
6d3bf199
LD
33080 subnormal argument.
33081 * math/s_cexpf.c (__cexpf): Likewise.
33082 * math/s_csinf.c (__csinf): Likewise.
33083 * math/s_csinhf.c (__csinhf): Likewise.
33084 * math/s_ctanf.c (__ctanf): Likewise.
33085 * math/s_ctanhf.c (__ctanhf): Likewise.
33086 * math/s_ccosh.c (__ccoshf): Likewise.
33087 * math/s_cexp.c (__cexpl): Likewise.
33088 * math/s_csin.c (__csin): Likewise.
33089 * math/s_csinh.c (__csinh): Likewise.
33090 * math/s_ctan.c (__ctan): Likewise.
33091 * math/s_ctanh.c (ctanh): Likewise.
33092 * math/s_ccoshl.c (__ccoshl): Likewise.
33093 * math/s_cexpl.c (__cexpl): Likewise.
33094 * math/s_csinl.c (__csinl): Likewise.
33095 * math/s_csinhl.c (__csinhl): Likewise.
33096 * math/s_ctanl.c (__ctanl): Likewise.
33097 * math/s_ctanhl.c (__ctanhl): Likewise.
33098
203e5603
JM
330992012-09-25 Joseph Myers <joseph@codesourcery.com>
33100
33101 * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
33102 (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
33103 (_IO_off_t): Define to __off_t, not _G_off_t.
33104 (_IO_pid_t): Define to __pid_t, not _G_pid_t.
33105 (_IO_uid_t): Define to __uid_t, not _G_uid_t.
33106 (_IO_wint_t): Define to wint_t, not _G_wint_t.
33107 * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
33108 type of __dummy and __dummy2 fields.
33109 * sysdeps/generic/_G_config.h (_G_size_t): Remove.
33110 (_G_ssize_t): Likewise.
33111 (_G_off_t): Likewise.
33112 (_G_pid_t): Likewise.
33113 (_G_uid_t): Likewise.
33114 (_G_wchar_t): Likewise.
33115 (_G_wint_t): Likewise.
33116 * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
33117 (_G_ssize_t): Likewise.
33118 (_G_off_t): Likewise.
33119 (_G_pid_t): Likewise.
33120 (_G_uid_t): Likewise.
33121 (_G_wchar_t): Likewise.
33122 (_G_wint_t): Likewise.
33123 * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove.
33124 (_G_ssize_t): Likewise.
33125 (_G_off_t): Likewise.
33126 (_G_pid_t): Likewise.
33127 (_G_uid_t): Likewise.
33128 (_G_wchar_t): Likewise.
33129 (_G_wint_t): Likewise.
33130
9fab36eb
SP
331312012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
33132
33133 * malloc/arena.c: Include malloc-sysdep.h.
33134 (shrink_heap): Use check_may_shrink_heap to decide if madvise
33135 is sufficient to shrink the heap or an unmap is needed.
33136 * sysdeps/generic/malloc-sysdep.h: New file. Define
33137 new function check_may_shrink_heap.
33138 * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file. Define
33139 new function check_may_shrink_heap.
33140
2b4f00d1
SP
331412012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
33142
33143 * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
33144 comments.
33145
9a9028b1
DL
331462012-09-24 Dmitry V. Levin <ldv@altlinux.org>
33147
57c69bef
DL
33148 * catgets/test-gencat.sh: Add "set -e".
33149 * elf/tst-pathopt.sh: Likewise.
33150 * grp/tst_fgetgrent.sh: Likewise.
33151 * iconvdata/run-iconv-test.sh: Likewise.
33152 * intl/tst-gettext.sh: Likewise.
33153 * intl/tst-gettext2.sh: Likewise.
33154 * intl/tst-gettext4.sh: Likewise.
33155 * intl/tst-gettext6.sh: Likewise.
33156 * intl/tst-translit.sh: Likewise.
33157 * io/ftwtest-sh: Likewise.
33158 * libio/test-freopen.sh: Likewise.
33159 * malloc/tst-mtrace.sh: Likewise.
33160 * posix/globtest.sh: Likewise.
33161 * posix/tst-getconf.sh: Likewise.
33162 * posix/wordexp-tst.sh: Likewise.
33163 * stdio-common/tst-printf.sh: Likewise.
33164 * stdio-common/tst-unbputc.sh: Likewise.
33165 * stdlib/tst-fmtmsg.sh: Likewise.
33166 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
33167 * catgets/Makefile: Do not specify -e option when running
33168 testsuite shell scripts.
33169 * elf/Makefile: Likewise.
33170 * grp/Makefile: Likewise.
33171 * iconvdata/Makefile: Likewise.
33172 * intl/Makefile: Likewise.
33173 * io/Makefile: Likewise.
33174 * libio/Makefile: Likewise.
33175 * malloc/Makefile: Likewise.
33176 * posix/Makefile: Likewise.
33177 * stdio-common/Makefile: Likewise.
33178 * stdlib/Makefile: Likewise.
33179 * sysdeps/x86_64/Makefile: Likewise.
33180
9a9028b1
DL
33181 * io/ftwtest-sh: Add copyright header.
33182 * posix/globtest.sh: Likewise.
33183 * posix/tst-getconf.sh: Likewise.
33184 * posix/wordexp-tst.sh: Likewise.
33185 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
33186
ced6f16e
L
331872012-09-24 H.J. Lu <hongjiu.lu@intel.com>
33188
94b32c39
L
33189 [BZ #13679]
33190 * Makeconfig (+link): Defined as $(+link-static) if
33191 $(build-shared) isn't yes.
33192 (link-tests): Defined as $(+link-static-tests) if $(build-shared)
33193 isn't yes.
33194 (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
33195
189e935b
L
33196 * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
33197
ced6f16e
L
33198 [BZ #14562]
33199 * malloc/arena.c (heap_trim): Properly get fencepost and adjust
33200 new chunk size with MALLOC_ALIGN_MASK.
33201
a9f8e53a
JM
332022012-09-24 Joseph Myers <joseph@codesourcery.com>
33203
33204 [BZ #5044]
33205 * stdio-common/printf_fphex.c: Include <stdbool.h> and
33206 <rounding-mode.h>.
33207 (__printf_fphex): Determine rounding using get_rounding_mode and
33208 round_away.
33209 * stdio-common/tst-printf-round.c (struct hex_test): New
33210 structure.
33211 (hex_tests): New variable.
33212 (test_hex_in_one_mode): New function.
33213 (do_test): Also run tests for hex float output.
33214
43153109
JM
332152012-09-21 Joseph Myers <joseph@codesourcery.com>
33216
33217 * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
33218 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
33219 * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
33220 * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
33221 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
33222 * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
33223 * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
33224 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
33225
8a26625d
JM
332262012-09-20 Joseph Myers <joseph@codesourcery.com>
33227
33228 * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
33229 * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
33230 * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
33231 * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
33232
f3fd569c
DL
332332012-09-19 Dmitry V. Levin <ldv@altlinux.org>
33234
33235 [BZ #14579]
33236 * elf/rtld.c (dl_main): Limit the check for self loading to normal
33237 mode only.
33238 * elf/tst-rtld-load-self.sh: New test.
33239 * elf/Makefile: Run it.
33240
63bbedd4
JM
332412012-09-18 Joseph Myers <joseph@codesourcery.com>
33242
33243 * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
33244 (tst-writev-ENV): Remove.
33245 * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
33246
626f8b6a
CM
332472012-09-17 Chris Metcalf <cmetcalf@tilera.com>
33248
33249 * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
33250
b7aaa4d6
JM
332512012-09-17 Joseph Myers <joseph@codesourcery.com>
33252
33253 * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
33254 unconditional.
33255 * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
33256 Likewise.
33257 * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
33258 * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
33259 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
33260 Likewise.
33261
65513990
L
332622012-09-14 H.J. Lu <hongjiu.lu@intel.com>
33263
33264 [BZ #14587]
33265 * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
33266 * config.make.in (have-cpp-asm-debuginfo): Removed.
33267 * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
33268 * configure: Regenerated.
33269
784761be
JM
332702012-09-14 Joseph Myers <joseph@codesourcery.com>
33271
33272 [BZ #5044]
33273 * stdio-common/printf_fp.c: Include <stdbool.h> and
33274 <rounding-mode.h>.
33275 (___printf_fp): Determine rounding using get_rounding_mode and
33276 round_away.
33277 * stdio-common/tst-printf-round.c: New file.
33278 * stdio-common/Makefile (tests): Add tst-printf-round.
33279 (link-libm): New variable.
33280 ($(objpfx)tst-printf-round): Depend in $(link-libm).
33281
9503345f
L
332822012-09-13 H.J. Lu <hongjiu.lu@intel.com>
33283
33284 [BZ #14576]
33285 * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
33286 * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
33287 Likewise.
33288 * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
33289 Likewise.
33290
ad35fc00
JM
332912012-09-13 Joseph Myers <joseph@codesourcery.com>
33292
33293 * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
33294 * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
33295 * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
33296 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
33297
6c9b0f68
JM
332982012-09-12 Joseph Myers <joseph@codesourcery.com>
33299
33300 [BZ #14518]
33301 * include/rounding-mode.h: New file.
33302 * sysdeps/generic/get-rounding-mode.h: Likewise.
33303 * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
33304 * stdlib/strtod_l.c: Include <rounding-mode.h>.
33305 (MAX_VALUE): New macro.
33306 (MIN_VALUE): Likewise.
33307 (overflow_value): New function.
33308 (underflow_value): Likewise.
33309 (round_and_return): Use overflow_value and underflow_value to
33310 determine return values in overflow and underflow cases. Use
33311 round_away to determine rounding depending on rounding mode.
33312 (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
33313 determine return values in overflow and underflow cases.
33314 * stdlib/tst-strtod-round.c: Include <fenv.h>.
33315 (struct test_results): New structure.
33316 (struct test): Use struct test_results to store expected results
33317 for all rounding modes.
33318 (TEST): Include expected results for all rounding modes.
33319 (test_in_one_mode): New function.
33320 (do_test): Use test_in_one_mode to compute and check results.
33321 Check results for all rounding modes.
33322 * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
33323 $(link-libm).
33324
19fcedd5
AM
333252012-12-09 Allan McRae <allan@archlinux.org>
33326
1e9d84cd 33327 * sysdeps/i386/fpu/libm-test-ulps: Update
19fcedd5 33328
8bbfd2f1
JM
333292012-09-11 Joseph Myers <joseph@codesourcery.com>
33330
33331 * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
33332 (_G_int32_t): Likewise.
33333 (_G_uint16_t): Likewise.
33334 (_G_uint32_t): Likewise.
33335 (_G_HAVE_BOOL): Likewise.
33336 (_G_HAVE_ATEXIT): Likewise.
33337 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
33338 (_G_HAVE_IO_FILE_OPEN): Likewise.
33339 * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
33340 (_G_int32_t): Likewise.
33341 (_G_uint16_t): Likewise.
33342 (_G_uint32_t): Likewise.
33343 (_G_HAVE_BOOL): Likewise.
33344 (_G_HAVE_ATEXIT): Likewise.
33345 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
33346 (_G_HAVE_IO_FILE_OPEN): Likewise.
33347 * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
33348 (_G_int32_t): Likewise.
33349 (_G_uint16_t): Likewise.
33350 (_G_uint32_t): Likewise.
33351 (_G_HAVE_BOOL): Likewise.
33352 (_G_HAVE_ATEXIT): Likewise.
33353 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
33354 (_G_HAVE_IO_FILE_OPEN): Likewise.
33355
b1dc5912
L
333562012-09-11 H.J. Lu <hongjiu.lu@intel.com>
33357
33358 * csu/libc-tls.c: Update copyright years.
33359
0e886ef9
JM
333602012-09-10 Joseph Myers <joseph@codesourcery.com>
33361
28361c5e
JM
33362 * libioP.h [_G_USING_THUNKS]: Make code unconditional.
33363 [!_G_USING_THUNKS]: Remove conditional code.
33364 * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
33365 * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
33366
0e886ef9
JM
33367 * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
33368 [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
33369 * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
33370 (_G_VTABLE_LABEL_PREFIX): Likewise.
33371 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
33372 * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
33373 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
33374 (_G_VTABLE_LABEL_PREFIX): Likewise.
33375 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
33376 * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
33377 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
33378 (_G_VTABLE_LABEL_PREFIX): Likewise.
33379 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
33380
bcba7aa2
L
333812012-09-10 H.J. Lu <hongjiu.lu@intel.com>
33382
33383 * libio/Makefile: Include ../Makeconfig before tests.
33384 (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
33385 only if $(build-shared) is yes.
33386
06585ee8
L
33387 * iconv/gconv_db.c: Update copyright years.
33388
80ccd52c
LD
333892012-09-10 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
33390
33391 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
33392 unwind info if defined PIC. Fix special cases description.
33393 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
33394
33395 * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
33396 DP_HI_MASK entry.
33397 * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
33398
691bc9c1
L
333992012-09-07 H.J. Lu <hongjiu.lu@intel.com>
33400
3d9b46b3
L
33401 * scripts/check-local-headers.sh: Add "shopt -s nullglob".
33402
de2139a9
L
33403 * iconv/gconv_db.c (free_derivation): Check if deriv->steps
33404 is NULL.
33405
5ca78dd0
L
33406 * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
33407 (LDLIBS-tst-chk4): This.
33408 (LDFLAGS-tst-chk5): Renamed to ...
33409 (LDLIBS-tst-chk5): This.
33410 (LDFLAGS-tst-chk6): Renamed to ...
33411 (LDLIBS-tst-chk6): This.
33412 (LDFLAGS-tst-lfschk4): Renamed to ...
33413 (LDLIBS-tst-lfschk4): This.
33414 (LDFLAGS-tst-lfschk5): Renamed to ...
33415 (LDLIBS-tst-lfschk5): This.
33416 (LDFLAGS-tst-lfschk6): Renamed to ...
33417 (LDLIBS-tst-lfschk6): This.
33418
691bc9c1
L
33419 * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
33420 on $(common-objpfx)soversions.mk.
33421
65cafb1c
JM
334222012-09-07 Joseph Myers <joseph@codesourcery.com>
33423
33424 [BZ #10014]
33425 * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
33426 example host name.
33427
c78ab094
SP
334282012-09-07 Siddhesh Poyarekar <siddhesh@redhat.com>
33429
33430 * malloc/arena.c (arena_get_retry): New function that gets
33431 another arena for the caller to try its request on.
33432 * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
33433 current arena cannot fulfill the request.
33434 (__libc_memalign): Likewise.
33435 (__libc_memalign): Likewise.
33436 (__libc_pvalloc): Likewise.
33437 (__libc_calloc): Likewise.
33438
01f49f59
JT
334392012-09-05 John Tobey <john.tobey@gmail.com>
33440
33441 [BZ #13542]
33442 * manual/arith.texi (Operations on Complex): Fix description
33443 of carg branch cut.
33444
4c23fed5
JM
334452012-09-06 Joseph Myers <joseph@codesourcery.com>
33446
1d3c8572
JM
33447 [BZ #10014]
33448 * manual/socket.texi (Host Addresses): Use www.gnu.org as example
33449 host name.
33450
4c23fed5
JM
33451 [BZ #10038]
33452 * manual/memory.texi (Memory): Make order of menu items match
33453 order of sections.
33454
04570aaa
L
334552012-09-06 H.J. Lu <hongjiu.lu@intel.com>
33456
33457 * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
33458 (_dl_initial_dtv): New. Defined if SHARED isn't defined.
33459 (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
33460
b80af2f4
L
334612012-09-06 H.J. Lu <hongjiu.lu@intel.com>
33462
33463 * csu/libc-tls.c (static_dtv): Renamed to ...
33464 (_dl_static_dtv): This. Make it global.
33465 (_dl_initial_dtv): Removed.
33466 (__libc_setup_tls): Updated.
33467 * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
33468 (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
33469 DL_INITIAL_DTV.
33470
2abe9f15
PM
334712012-09-06 Petr Machata <pmachata@redhat.com>
33472
33473 * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
33474 (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
33475 (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
33476 (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
33477
0948c3af
L
334782012-09-06 H.J. Lu <hongjiu.lu@intel.com>
33479
33480 [BZ #14545]
33481 * csu/libc-tls.c (_dl_initial_dtv): New variable.
33482 * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
33483 freeing dtv[-1].
33484
a5055ad1
L
334852012-09-06 H.J. Lu <hongjiu.lu@intel.com>
33486
33487 [BZ #14544]
33488 * Makeconfig (link-static-before-libc): Replace $(+prector)
33489 with $(+prectorT).
33490 (link-static-after-libc): Replace $(+postctor) with
33491 $(+postctorT).
33492 (link-bounded): Replace $(+prector)/$(+postctor) with
33493 $(+prectorT)/$(+postctorT).
33494 (+prectorT): New macro.
33495 (+postctorT): Likewise.
33496
ed8c2ecd
JM
334972012-09-06 Joseph Myers <joseph@codesourcery.com>
33498
33499 * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
33500 (round_str): Handle values above the maximum for IBM long double
33501 as inexact.
33502 * stdlib/tst-strtod-round.c (tests): Regenerated.
33503
14c996c8
AK
335042012-09-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
33505
33506 * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
33507 assembler flag.
33508 * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
33509 zarch_nohighgprs around the zarch optimized routines.
33510 * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
33511 * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
33512 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
33513 for zarch.
33514
430d6ce6
DM
335152012-09-05 David S. Miller <davem@davemloft.net>
33516
33517 * sysdeps/sparc/fpu/libm-test-ulps: Update.
33518
57f41c40
AS
33519 * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE)
33520 (HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
ff04dda4
DM
33521 * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
33522 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
33523 entries.
33524
24d4e01b
AO
335252012-09-05 Alexandre Oliva <aoliva@redhat.com>
33526
33527 * malloc/arena.c: Fold copyright years.
33528 * malloc/mcheck.c, malloc/memusage.c: Likewise.
33529
61d58174
AO
335302012-09-05 Alexandre Oliva <aoliva@redhat.com>
33531
33532 * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
33533
20196a5e
AO
335342012-09-05 Alexandre Oliva <aoliva@redhat.com>
33535
33536 * manual/contrib.texi (Contributors): Fix typo. Complete entry.
33537
5c447383
AO
335382012-09-05 Alexandre Oliva <aoliva@redhat.com>
33539
33540 * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
33541 change internal state upon failure.
33542
fad64255
AO
335432012-09-05 Alexandre Oliva <aoliva@redhat.com>
33544
33545 * malloc/mcheck.c (mcheck_check_all): Fix typo.
33546 * malloc/memusage.c (mmap): Likewise.
33547 (mmap64, mremap): Likewise. Adjust name in comment.
33548
1ffb8c90
SP
335492012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
33550
33551 * libio/fileops.c: Fix typos in comments.
33552 * libio/oldfileops.c: Likewise.
33553 * libio/wfileops.c: Likewise.
33554
6ef9cc37
SP
335552012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
33556
33557 [BZ #1349]
33558 * malloc/Makefile (tests): Add tst-malloc-usable test case.
33559 (tst-malloc-usable-ENV): Set environment for test case.
33560 * malloc/hooks.c (malloc_check_get_size): New function to get
33561 requested size.
33562 * malloc/malloc.c (musable): Use malloc_check_get_size.
33563 * malloc/tst-malloc-usable.c: New test case.
33564
4d038ae3
AS
335652012-09-05 Andreas Schwab <schwab@linux-m68k.org>
33566
33567 * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
33568
c4e85184
AM
335692012-09-05 Allan McRae <allan@archlinux.org>
33570
b9dafc56 33571 [BZ #13966]
c4e85184
AM
33572 * configure.in (CXX_SYSINCLUDES): Use compiler output to
33573 determine header location.
33574 * configure: Regenerated.
33575
e1343020
AS
335762012-09-05 Andreas Schwab <schwab@linux-m68k.org>
33577
33578 * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
33579 float format.
33580 * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
a0070b7e
AS
33581 LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
33582 format.
e1343020
AS
33583 (test): Regenerate.
33584
0a9f1987
DM
335852012-09-04 David S. Miller <davem@davemloft.net>
33586
33587 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
33588 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
33589 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
33590
29237804
FW
335912012-09-04 Florian Weimer <fweimer@redhat.com>
33592
33593 * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
33594 failures.
33595
edb3cb88
FW
33596 * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
33597
60160d83
JM
335982012-09-04 Joseph Myers <joseph@codesourcery.com>
33599
33600 [BZ #9914]
33601 * libio/iogetdelim.c: Include <limits.h>.
33602 (_IO_getdelim): Avoid integer overflow in testing whether cur_len
33603 + len + 1 would overflow.
33604
bcd6c8dc
AJ
336052012-09-03 Andreas Jaeger <aj@suse.de>
33606
33607 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
33608 * sysdeps/i386/fpu/libm-test-ulps: Update.
33609
4ffffbd2
LD
336102012-09-03 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
33611
33612 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
33613 Add s_sinf-sse2, s_conf-sse2.
33614
33615 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
33616 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
33617 * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
33618 * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
33619
33620 * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
33621 for using routine as __sinf_ia32.
33622 Use macro for function declaration and weak_alias.
33623 * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
33624 for using routine as __cosf_ia32.
33625 Use macro for function declaration and weak_alias.
33626
33627 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
33628 * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
33629
33630 * sysdeps/x86_64/fpu/s_sinf.S: New file.
33631 * sysdeps/x86_64/fpu/s_cosf.S: New file.
33632 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
33633
33634 * math/libm-test.inc (cos_test): Add more test cases.
33635 (sin_test): Likewise.
33636 (sincos_test): Likewise.
33637
511fa286
AK
336382012-09-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
33639
33640 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
33641 (IFUNC_RESOLVE): Make pointers to the specialized implementations
33642 hidden.
33643 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
33644
5f30cfec
L
336452012-09-02 H.J. Lu <hongjiu.lu@intel.com>
33646
33647 [BZ #14538]
33648 * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
33649 first element of the GOT.
33650 (elf_machine_load_address): Return the difference between
33651 the runtime address of _DYNAMIC and elf_machine_dynamic ().
33652
0786794f
AM
336532012-09-01 Allan McRae <allan@archlinux.org>
33654
5f30cfec
L
33655 [BZ #13412]
33656 * configure.in (AWK): Require gawk version 3.0 or later.
33657 * configure: Regenerated.
0786794f 33658
26889eac
JM
336592012-09-01 Joseph Myers <joseph@codesourcery.com>
33660
33661 * sysdeps/unix/sysv/linux/kernel-features.h
33662 (__ASSUME_POSIX_CPU_TIMERS): Remove.
33663 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
33664 [__NR_clock_getres]: Make code unconditional.
33665 [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
33666 (clock_getcpuclockid): Remove code left unreachable by removal of
33667 conditionals.
33668 * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
33669 code unconditional.
33670 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
33671 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
33672 * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
33673 Make code unconditional.
33674 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
33675 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
33676 * sysdeps/unix/sysv/linux/clock_settime.c
33677 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
33678 conditional code.
33679 [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
33680 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
33681
d22e28b0
L
336822012-08-29 H.J. Lu <hongjiu.lu@intel.com>
33683
33684 [BZ #14476]
33685 * Makefile (install): Also pass LD_SO=$(ld.so-version) to
33686 scripts/test-installation.pl.
33687
33688 * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
33689 and $ld_so_version if it is set.
33690
050af9c4
SP
336912012-08-29 Siddhesh Poyarekar <siddhesh@redhat.com>
33692
33693 [BZ #14516]
33694 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
33695 failure if reading from procfs failed.
33696 * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
33697
ad845c0b
JM
336982012-08-27 Joseph Myers <joseph@codesourcery.com>
33699
33700 * sysdeps/unix/sysv/linux/kernel-features.h
33701 (__ASSUME_STAT64_SYSCALL): Remove all definitions.
33702 * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
33703 Remove conditional code.
33704 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
33705 * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
33706 Remove conditional code.
33707 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
33708 * sysdeps/unix/sysv/linux/i386/fxstat.c
33709 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
33710 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
33711 * sysdeps/unix/sysv/linux/i386/fxstatat.c
33712 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
33713 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
33714 * sysdeps/unix/sysv/linux/i386/lxstat.c
33715 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
33716 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
33717 * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
33718 Remove conditional code.
33719 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
33720 * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
33721 Remove conditional code.
33722 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
33723 * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
33724 <kernel-features.h>.
33725 [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
33726 Remove.
33727 * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
33728 Remove conditional code.
33729 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
33730 * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
33731 Remove conditional.
33732
5dbf56af
MF
337332012-08-27 Mike Frysinger <vapier@gentoo.org>
33734
33735 [BZ #5400]
33736 * NEWS: Add fixed bug number.
33737
d6e70f43
JM
337382012-08-27 Joseph Myers <joseph@codesourcery.com>
33739
7efb4737
JM
33740 [BZ #14519]
33741 * stdlib/strtod_l.c (round_and_return): Return -0.0 for
33742 underflowing exponent in case of negative sign.
33743 * stdlib/tst-strtod-round-data: Add more tests.
33744 * stdlib/tst-strtod-round.c (tests): Regenerated.
33745
af92131a
JM
33746 [BZ #3479]
33747 * stdlib/strtod_l.c (NDIG): Remove.
33748 (HEXNDIG): Likewise.
33749 (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
33750 smallest representable value.
33751 (____STRTOF_INTERNAL): Use all fractional decimal digits that may
33752 lie within an exact representation of 1/2 ulp of the result.
33753 * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
33754 unconditionally.
33755 (TENS_P9_IDX): Define unconditionally.
33756 (TENS_P9_SIZE): Likewise.
33757 (TENS_P10_IDX): Likewise.
33758 (TENS_P10_SIZE): Likewise.
33759 [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
33760 to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
33761 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
33762 entries for 10^2^13 and 10^2^14.
33763 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
33764 (TENS_P13_IDX): Define.
33765 (TENS_P13_SIZE): Likewise.
33766 (TENS_P14_IDX): Likewise.
33767 (TENS_P14_SIZE): Likewise.
33768 (_fpioconst_pow10): Change array size to
33769 FPIOCONST_POW10_ARRAY_SIZE. Make entries for 10^2^9 and 10^2^10
33770 unconditional.
33771 (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
33772 1024]: Add entries for 10^2^13 and 10^2^14.
33773 [LAST_POW10 > _LAST_POW10]: Remove #error.
33774 * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
33775 (_fpioconst_pow10): Change array size to
33776 FPIOCONST_POW10_ARRAY_SIZE.
33777 * stdlib/gen-fpioconst.c: New file.
33778 * stdlib/gen-tst-strtod-round.c: Likewise.
33779 * stdlib/tst-strtod-round-data: Likewise.
33780 * stdlib/tst-strtod-round.c: Likewise.
33781 * stdlib/Makefile (tests): Add tst-strtod-round.
33782
d6e70f43
JM
33783 [BZ #14459]
33784 * stdlib/strtod_l.c: Include <stdint.h>.
33785 (NDEBUG): Do not define.
33786 (round_and_return): Change EXPONENT parameter to type intmax_t.
33787 Rearrange calculations to avoid internal overflow possibilities.
33788 (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
33789 Rearrange calculations to avoid internal overflow possibilities.
33790 Assert that number fits inside MPNSIZE limbs.
33791 (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
33792 Change DIG_NO, INT_NO and LEAD_ZERO to type size_t. Rearrange
33793 calculations and add assertions to avoid internal overflow
33794 possibilities. Add casts to avoid signed/unsigned operations.
33795 * stdlib/tst-strtod-overflow.c: New file.
33796 * stdlib/Makefile (tests): Add tst-strtod-overflow.
33797
1f529f7d
MP
337982012-08-25 Marek Polacek <polacek@redhat.com>
33799
33800 * time/time.h: Fix some typos in comments.
33801
59a629f1
RM
338022012-08-23 Roland McGrath <roland@hack.frob.com>
33803
33804 * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
33805 * posix/tst-rfc3484-2.c: Likewise.
33806 * posix/tst-rfc3484-3.c: Likewise.
33807
d3bafbc9
SM
338082012-08-23 Steve McIntyre <steve.mcintyre@linaro.org>
33809
33810 * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
33811 (EF_ARM_ABI_FLOAT_HARD): Likewise.
33812
4efcc022
JM
338132012-08-23 Joseph Myers <joseph@codesourcery.com>
33814
33815 * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
33816 #include of fxstatat64.c.
33817
3cc3ef96
RM
338182012-08-22 Roland McGrath <roland@hack.frob.com>
33819
f04e2132
RM
33820 * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
33821 * shadow/getspent_r.c: Likewise.
33822 * shadow/getspnam.c: Likewise.
33823 * shadow/getspnam_r.c: Likewise.
33824 * gshadow/getsgent.c: Likewise.
33825 * gshadow/getsgent_r.c: Likewise.
33826 * gshadow/getsgnam.c: Likewise.
33827 * gshadow/getsgnam_r.c: Likewise.
33828 * inet/getnetbyad.c: Likewise.
33829 * inet/getnetbyad_r.c: Likewise.
33830 * inet/getnetbynm.c: Likewise.
33831 * inet/getnetbynm_r.c: Likewise.
33832 * inet/getnetent.c: Likewise.
33833 * inet/getnetent_r.c: Likewise.
33834 * inet/getproto.c: Likewise.
33835 * inet/getproto_r.c: Likewise.
33836 * inet/getprtent.c: Likewise.
33837 * inet/getprtent_r.c: Likewise.
33838 * inet/getprtname.c: Likewise.
33839 * inet/getprtname_r.c: Likewise.
33840 * inet/getrpcbyname.c: Likewise.
33841 * inet/getrpcbyname_r.c: Likewise.
33842 * inet/getrpcbynumber.c: Likewise.
33843 * inet/getrpcbynumber_r.c: Likewise.
33844 * inet/getrpcent.c: Likewise.
33845 * inet/getrpcent_r.c: Likewise.
33846 * inet/getaliasent.c: Likewise.
33847 * inet/getaliasent_r.c: Likewise.
33848 * inet/getaliasname.c: Likewise.
33849 * inet/getaliasname_r.c: Likewise.
33850 * nscd/getgrgid_r.c: Likewise.
33851 * nscd/getgrnam_r.c: Likewise.
33852 * nscd/gethstbyad_r.c: Likewise.
33853 * nscd/gethstbynm3_r.c: Likewise.
33854 * nscd/getpwnam_r.c: Likewise.
33855 * nscd/getpwuid_r.c: Likewise.
33856 * nscd/getsrvbynm_r.c: Likewise.
33857 * nscd/getsrvbypt_r.c: Likewise.
33858 * nscd/gai.c: Likewise.
33859
c53d909c
RM
33860 * configure.in (build_nscd): New substituted variable, set
33861 by --disable-build-nscd and defaults to $use_nscd.
33862 * configure: Regenerated.
33863 * config.make.in (build-nscd): New substituted variable.
33864 * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
33865 Change conditional to require [$(build-nscd) = yes] as well.
33866 * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
33867
3cc3ef96
RM
33868 [BZ# 13696]
33869 * configure.in (use_nscd): New substituted variable, set by
33870 --disable-nscd. If enabled, define USE_NSCD.
33871 * configure: Regenerated.
33872 * config.h.in: Add USE_NSCD.
33873 * config.make.in (use-nscd): New substituted variable.
33874 * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
33875 (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
33876 (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
33877 * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
33878 (CFLAGS-getgrnam_r.c): Likewise.
33879 (CFLAGS-initgroups.c): Likewise.
33880 * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
33881 * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
33882 Variables removed.
33883 * inet/getnetgrent_r.c
33884 (nscd_setnetgrent): New function, broken out of ...
33885 (setnetgrent): ... here. Call it.
33886 (innetgr): Conditionalize nscd bits on [USE_NSCD].
33887 (nscd_getnetgrent): Conditionalize on [USE_NSCD].
33888 (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
33889 * nscd/Makefile (routines, aux): Move definitions after include of
33890 Makeconfig. Conditionalize on [$(use-nscd) != no].
33891 * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
33892 Conditionalize on [USE_NSCD].
33893 (is_nscd, nscd_init_cb): Likewise.
33894 (nss_load_library): Conditionalize init callback on [USE_NSCD].
33895 * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
33896 * nss/nss_db/db-init.c: Likewise.
33897 * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
33898 [USE_NSCD].
33899 * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
33900 (make_request): Use it.
33901 (cache_valid_p): New function.
33902 (__check_pf): Use it.
33903 * NEWS: Add item for --disable-nscd.
33904
07e51550
DL
339052012-08-22 Dmitry V. Levin <ldv@altlinux.org>
33906
33907 * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
33908 to support sed >= 4.2.1-20-ga9bf076.
33909 * configure: Regenerated.
33910
35a5b08b
RM
339112012-08-22 Roland McGrath <roland@hack.frob.com>
33912
33913 * csu/libc-start.c (apply_irel): Move extern declarations inside here.
33914 Conditionalize whole body on [IREL].
33915
8479f23a
JL
339162012-08-22 Jeff Law <law@redhat.com>
33917
33918 [BZ #14505]
33919 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
33920 if the family is PF_UNSPEC.
33921
48da0b21
MF
339222012-08-22 Mike Frysinger <vapier@gentoo.org>
33923
33924 * Makerules (lib-version): Rename from V.
33925 (install-lib-nosubdir): Change V to lib-version.
33926
15d0da8c
WS
339272012-08-22 Will Schmidt <will_schmidt@vnet.ibm.com>
33928
33929 [BZ #14252]
33930 * powerpc32/power6/wcschr.c: New file.
33931 * powerpc32/power6/wcscpy.c: New file.
33932 * powerpc32/power6/wcsrchr.c: New file.
33933 * powerpc64/power6/wcschr.c: New file.
33934 * powerpc64/power6/wcscpy.c: New file.
33935 * powerpc64/power6/wcsrchr.c: New file.
33936
bcca0895
MK
339372012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
33938
33939 * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
33940 (two_way_short_needle): Use it.
5a4aaa33
RM
33941 * string/strstr.c (AVAILABLE1_USES_J): Define.
33942 * string/strcasestr.c: Likewise.
99677e57
MK
33943
33944 * string/str-two-way.h (two_way_short_needle): Use pointers instead of
33945 array references.
33946 * string/strcasestr.c (TOLOWER): Make side-effect safe.
33947
400726de
MK
33948 [BZ #11607]
33949 * NEWS: Add an entry.
33950 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
33951 define their defaults.
33952 (two_way_short_needle): Detect end-of-string on-the-fly.
33953 * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
33954 (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
33955 * string/bug-strcasestr1.c: New test.
33956 * string/Makefile: Run it.
33957
20a71f2c
MK
339582012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
33959
33960 [BZ #11607]
33961 * string/str-two-way.h (two_way_short_needle): Optimize matching of
33962 the first character.
33963
21ad0558
RM
339642012-08-21 Roland McGrath <roland@hack.frob.com>
33965
33966 * csu/elf-init.c (__libc_csu_irel): Function removed.
33967 * csu/libc-start.c (apply_irel): New function.
33968 (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
33969
0e1d9911
JM
339702012-08-21 Joseph Myers <joseph@codesourcery.com>
33971
33972 * sysdeps/unix/sysv/linux/kernel-features.h
33973 (__ASSUME_FADVISE64_64_SYSCALL): Remove.
33974 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
33975 <kernel-features.h>.
33976 [__NR_fadvise64_64]: Make code unconditional.
33977 [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
33978 [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
33979 !__NR_fadvise64_64)]: Likewise.
33980 [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
33981 !__NR_fadvise64_64))]: Likewise.
33982 [__NR_fadvise64]: Make code unconditional.
33983 [!__NR_fadvise64]: Remove conditional code.
33984 * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
33985 <kernel-features.h>.
33986 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
33987 unconditional.
33988 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
33989 conditional code.
33990 * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
33991 not include <kernel-features.h>.
33992 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
33993 unconditional.
33994 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
33995 conditional code.
33996 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
33997 include <kernel-features.h>.
33998 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
33999 unconditional.
34000 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
34001 conditional code.
34002
14a50c9d
WS
340032012-08-21 Will Schmidt <will_schmidt@vnet.ibm.com>
34004
34005 * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
34006 slight instruction rearrangements per scrollpipe analysis.
34007 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
34008
c0f4faf0
RM
340092012-08-20 Roland McGrath <roland@hack.frob.com>
34010
696da859
RM
34011 * manual/syslog.texi (syslog; vsyslog, closelog):
34012 Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
34013 Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
34014
c0f4faf0
RM
34015 * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
34016 DSOCAPS to match condition on defining it.
34017
348363b2
JM
340182012-08-20 Joseph Myers <joseph@codesourcery.com>
34019
a35cbf28
JM
34020 * sysdeps/unix/sysv/linux/kernel-features.h
34021 (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
34022 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
34023 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
34024 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
34025 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
34026 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
34027 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
34028 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
34029 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
34030 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
34031
445f7ecd
JM
34032 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
34033 __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
34034
348363b2
JM
34035 * sysdeps/unix/sysv/linux/kernel-features.h
34036 (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
34037 * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
34038 unconditional.
34039 [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
34040 * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
34041 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
34042 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
34043 * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
34044 Make code unconditional.
34045 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
34046 (__mmap64) [!__NR_mmap2]: Likewise.
34047 * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
34048 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
34049 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
34050 * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
34051 [__NR_mmap2]: Make code unconditional.
34052 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
34053 (__mmap64) [!__NR_mmap2]: Likewise.
34054
bc5bc0e5
AK
340552012-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
34056
34057 * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
34058
88d506de
AJ
340592012-08-18 Andreas Jaeger <aj@suse.de>
34060
34061 * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
34062
493387d2
MF
340632012-08-18 Mike Frysinger <vapier@gentoo.org>
34064
34065 * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
34066 * include/unistd.h (__have_sock_cloexec): Likewise.
34067 (__have_pipe2): Likewise.
34068 (__have_dup3): Likewise.
34069
a277af22
MF
340702012-08-18 Mike Frysinger <vapier@gentoo.org>
34071
34072 [BZ #9685]
34073 * include/unistd.h (__have_pipe2): Change define into an extern int.
34074 (__have_dup3): Likewise.
34075 * socket/have_sock_cloexec.c: Include fcntl.h.
34076 (__have_pipe2): New variable.
34077 (__have_dup3): Likewise.
34078
fdab8fd3
MF
340792012-08-17 Mike Frysinger <vapier@gentoo.org>
34080
34081 * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
34082
31035e80
MP
340832012-08-17 Marek Polacek <polacek@redhat.com>
34084
34085 * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
34086 ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
34087
3bd9e993
RM
340882012-08-17 Roland McGrath <roland@hack.frob.com>
34089
c91c505f
RM
34090 * configure.in: Add AC_SUBST for sysheaders.
34091 * configure: Regenerated.
34092 * config.make.in (sysheaders): New substituted variable.
34093
7c6f9d53
RM
34094 * sysdeps/unix/mkfifo.c: Moved ...
34095 * sysdeps/posix/mkfifo.c: ... here.
34096 * sysdeps/unix/mkfifoat.c: Moved ...
34097 * sysdeps/posix/mkfifoat.c: ... here.
34098
34099 * sysdeps/unix/utime.c: Moved ...
34100 * sysdeps/posix/utime.c: ... here.
34101
34102 * sysdeps/unix/time.c: Moved ...
34103 * sysdeps/posix/time.c: ... here.
e3b398f9
RM
34104 * sysdeps/unix/sysv/linux/time.c: Adjust #include.
34105 * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
7c6f9d53
RM
34106
34107 * sysdeps/unix/nice.c: Moved ...
34108 * sysdeps/posix/nice.c: ... here.
34109
34110 * sysdeps/unix/alarm.c: Moved ...
34111 * sysdeps/posix/alarm.c: ... here.
34112
3bd9e993
RM
34113 * intl/Makefile ($(codeset_mo)): Depend on the input file.
34114
d1f09384
JL
341152012-08-17 Jeff Law <law@redhat.com>
34116
34117 * intl/Makefile (codeset_mo): New variable.
34118 ($(codeset_mo)): New target.
34119 (tst-codeset.out): Depend on that. Remove explicit rule.
34120 (tst-gettext3.out, tst-gettext5.out): Likewise.
34121 (LOCPATH-ENV, tst-codeset-ENV): New variables.
34122 (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
34123 * intl/tst-codeset.sh: Remove.
34124 * intl/tst-gettext3.sh: Likewise.
34125 * intl/tst-gettext5.sh: Likewise.
34126
2ae1ae5c
RM
341272012-08-17 Roland McGrath <roland@hack.frob.com>
34128
c31fdb83
RM
34129 * sysdeps/unix/inet/syscalls.list: File removed. Move contents into ...
34130 * sysdeps/unix/syscalls.list: ... here.
34131
a0844057
RM
34132 * sysdeps/posix/getaddrinfo.c
34133 (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
34134 (gaiconf_init, gaiconf_reload): Use them.
34135 [!_STATBUF_ST_NSEC]
34136 (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
34137 Define using time_t rather than struct timespec.
34138
750c1f2a
RM
34139 * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
34140 (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
34141 Macros removed.
34142 * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
34143 [!NO_THREADS].
34144 (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
34145 (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
34146 Likewise.
34147
2ae1ae5c
RM
34148 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
34149 __libc_cleanup_push argument.
34150
e66a42f5
RM
34151 * bits/param.h: New file.
34152 * misc/sys/param.h: New file.
34153 * include/sys/param.h: New file.
34154 * misc/Makefile (headers): Add bits/param.h.
34155 * sysdeps/generic/sys/param.h: File removed.
34156 * sysdeps/unix/sysv/linux/bits/param.h: New file.
34157 * sysdeps/unix/sysv/linux/sys/param.h: File removed.
34158 * sysdeps/mach/hurd/bits/param.h: New file.
4078da3d 34159 * sysdeps/mach/hurd/sys/param.h: File removed.
e66a42f5 34160
b7c08a66
RM
34161 * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
34162 last change.
34163
b2e1c562
RM
34164 * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
34165 [_IO_MTSAFE_IO].
34166 * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
34167 (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
34168 New macros.
34169
c75ccd4c
RM
34170 * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
34171 * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
34172 rather than -D_IO_MTSAFE_IO conditionally.
34173 * stdio-common/Makefile (CPPFLAGS): Likewise.
34174 * wcsmbs/Makefile (CPPFLAGS): Likewise.
34175 * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
34176 Use $(libio-mtsafe).
34177 * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
34178 of -D_IO_MTSAFE_IO.
34179 (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
34180 (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
34181 (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
34182 (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
34183 (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
34184 (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
34185 (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
34186 (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
34187 (CFLAGS-fread_u_chk.c): Likewise.
34188 (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
34189 (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
34190 (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
34191 (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
34192 * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
34193 * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
34194 * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
34195 * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
34196 * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
34197
34198 * libio/Makefile: Test [$(libc-reentrant) = yes]
34199 instead of [$(filter %REENTRANT, $(defines)) nonempty].
34200
34201 * Makeconfig
34202 [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
34203 * sysdeps/pthread/configure: File removed.
34204 * sysdeps/pthread/Makeconfig: New file.
34205 * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
34206 * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
34207
d9195db8
GB
342082012-08-16 Gary Benson <gbenson@redhat.com>
34209
34210 * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
34211 unmapping the first object in a namespace.
34212
86466cd9
RM
342132012-08-16 Roland McGrath <roland@hack.frob.com>
34214
34215 * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
34216 (__internal_setnetgrent): ... this. Add internal_function to
34217 definition. Add libc_hidden_def.
34218 (setnetgrent): Update caller.
34219 (internal_endnetgrent): Renamed to ...
34220 (__internal_endnetgrent): ... this. Add internal_function to
34221 definition. Add libc_hidden_def.
34222 (endnetgrent): Update caller.
34223 (internal_getnetgrent_r): Renamed to ...
34224 (__internal_getnetgrent_r): ... this. Add internal_function to
34225 definition. Add libc_hidden_def.
34226 (__getnetgrent_r): Update caller.
34227 * inet/netgroup.h: Update declarations. Add libc_hidden_proto uses.
34228
c3c8283c
JM
342292012-08-16 Joseph Myers <joseph@codesourcery.com>
34230
34231 * stdlib/longlong.h: Update from GCC.
34232
db1ee0a8
RM
342332012-08-16 Roland McGrath <roland@hack.frob.com>
34234
34235 * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
34236 on _QL, which is set by umul_ppmm but never used.
34237 * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
34238 variables, which are set by GMP macros but never used.
34239 * stdio-common/_itowa.c (_itowa): Likewise.
34240 * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
34241 * stdlib/mod_1.c (mpn_mod_1): Likewise.
34242
30f69637
CD
342432012-08-16 Carlos O'Donell <carlos_odonell@mentor.com>
34244
34245 * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
34246 struct La_sh_regs is not constant.
34247 * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
34248 <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
34249 and struct La_sparc64_regs are not constant.
34250
93a78ac4
JM
342512012-08-16 Joseph Myers <joseph@codesourcery.com>
34252
34253 * sysdeps/unix/sysv/linux/kernel-features.h
34254 (__ASSUME_POSIX_TIMERS): Remove.
34255 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
34256 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
34257 * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
34258 Make code unconditional.
34259 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
34260 * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
34261 Make code unconditional.
34262 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
34263 * sysdeps/unix/sysv/linux/clock_nanosleep.c
34264 [__ASSUME_POSIX_TIMERS]: Make code unconditional.
34265 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
34266 * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
34267 Make code unconditional.
34268 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
34269 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
34270 (__libc_missing_posix_timers): Remove.
34271
dd924cd7
RM
342722012-08-15 Roland McGrath <roland@hack.frob.com>
34273
4b4f2771
RM
34274 * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
34275 check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
34276
601c888b
RM
34277 * bits/libc-lock.h (__rtld_lock_initialize): New macro.
34278
176790a7
RM
34279 * elf/dl-sym.c: Include <stdlib.h>.
34280
329bc018
RM
34281 * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
34282 constants, which avoids warnings in 32-bit builds.
34283
e04e272d
RM
34284 * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
34285 (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
34286
952bf94a
RM
34287 * misc/lseek.c: File moved to ...
34288 * io/lseek.c: ... here.
34289
7c99b50a
RM
34290 * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
34291
dd924cd7
RM
34292 * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
34293 shifting LEN more than 31 bits at once.
34294
b3f479a8
LD
342952012-08-15 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
34296
34297 [BZ #14195]
8c4ae0d4
RM
34298 * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
34299 segmentation fault for a case of two empty input strings.
b3f479a8
LD
34300 * string/test-strncasecmp.c (check1): Renamed to...
34301 (bz12205): ...this.
34302 (bz14195): Add new testcase for two empty input strings and N > 0.
34303 (test_main): Call new testcase, adapt for renamed function.
34304
9c55864e
AJ
343052012-08-15 Andreas Jaeger <aj@suse.de>
34306
34307 [BZ #14090]
34308 * crypt/md5test2.c: New test, based on test supplied by Serge
34309 Belyshev <belyshev@depni.sinp.msu.ru>.
34310 * crypt/Makefile (xtests): Add md5test-giant..
34311 * crypt/Makefile ($(objpfx)md5test-giant): Add.
34312
02dcb6c5
PE
343132012-08-15 Paul Eggert <eggert@cs.ucla.edu>
34314
34315 [BZ #14090]
34316 * crypt/md5.c (md5_process_block): Don't assume the buffer
34317 length is less than 2**32.
34318 * crypt/sha512.c (sha512_process_block): Don't assume the buffer
34319 length is less than 2**64.
34320
a3f95dcc
RM
343212012-08-15 Roland McGrath <roland@hack.frob.com>
34322
be75d758
RM
34323 * string/str-two-way.h: Include <sys/param.h>.
34324 (MAX): Macro removed.
34325
7312ca90
RM
34326 * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
34327 Move #define and #undef of memmove to just before and after
34328 including <string.h>.
34329
9a0a5486
RM
34330 * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
34331 [!NOT_IN_libc]: Move #define and #undef of memmove to just before
34332 and after including <string.h>. Move declarations of
34333 __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
34334 to before #include "string/memmove.c".
34335
67cc348d
RM
34336 * include/dirent.h: Declare __getdirentries.
34337
a3f95dcc
RM
34338 * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
34339 using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
34340
ca98e171
MF
343412012-08-14 Mike Frysinger <vapier@gentoo.org>
34342
34343 * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
34344 * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
34345 * sysdeps/i386/configure: Regenerated.
34346 * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
34347 STABS_CURRENT_FILE, and STABS_FUN.
34348 (END): Remove call to STABS_FUN_END.
34349 (STABS_CURRENT_FILE1): Delete.
34350 (STABS_CURRENT_FILE): Likewise.
34351 (STABS_FUN): Likewise.
34352 (STABS_FUN_END): Likewise.
34353 (STABS_FUN2): Likewise.
34354 * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
34355 * sysdeps/x86_64/configure: Regenerated.
34356
5908bf46
RM
343572012-08-14 Roland McGrath <roland@hack.frob.com>
34358
34359 * elf/dl-open.c: Include <atomic.h>.
1ec79f26 34360 * elf/dl-lookup.c: Likewise.
5908bf46 34361
f2c05b9e
JM
343622012-08-14 Joseph Myers <joseph@codesourcery.com>
34363
34364 * sysdeps/unix/sysv/linux/kernel-features.h
34365 (__ASSUME_CLONE_THREAD_FLAGS): Remove.
34366 * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
34367 unconditionally.
34368 * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
34369 unconditionally.
34370 * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
34371 condition on __ASSUME_CLONE_THREAD_FLAGS.
34372
e11f5155
AJ
343732012-08-14 Andreas Jaeger <aj@suse.de>
34374
34375 * sysdeps/i386/fpu/libm-test-ulps: Update.
34376
51a9ba86
MK
343772012-08-13 Maxim Kuvyrkov <maxim@codesourcery.com>
34378
2fdd4f78
AJ
34379 * include/atomic.h (atomic_exchange_and_add): Split into ...
34380 (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
34381 New atomic macros.
51a9ba86 34382
ba6cba9e
MT
343832012-08-13 Markus Trippelsdorf <markus@trippelsdorf.de>
34384
34385 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
34386
42443a47
JL
343872012-08-13 Jeff Law <law@redhat.com>
34388
34389 * manual/stdio.texi (snprintf): Clarify handling of the trailing
34390 null byte in the output string.
34391
121dce05
JM
343922012-08-10 Joseph Myers <joseph@codesourcery.com>
34393
34394 * sysdeps/unix/sysv/linux/kernel-features.h
34395 (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
34396 [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
34397 (__ASSUME_ARG_MAX_STACK_BASED): Define.
34398 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
34399 [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
34400 !__ASSUME_ARG_MAX_STACK_BASED. Compare version with
34401 __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
34402
bf51f568
JL
344032012-08-09 Jeff Law <law@redhat.com>
34404
34405 [BZ #13939]
34406 * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
34407 When avoid_arena is set, don't retry in the that arena. Pick the
34408 next one, whatever it might be.
34409 (arena_get2): New parameter avoid_arena, pass through to reused_arena.
34410 (arena_lock): Pass in new parameter to arena_get2.
34411 * malloc/malloc.c (__libc_memalign): Pass in new parameter to
34412 arena_get2.
34413 (__libc_malloc): Unify retrying after main arena failure with
34414 __libc_memalign version.
34415 (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
34416
f85fa270
L
344172012-08-09 H.J. Lu <hongjiu.lu@intel.com>
34418
34419 [BZ #14166]
34420 * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
34421 to __redirect_strstr.
34422 (__strstr_sse42): Use typeof __redirect_strstr.
34423 (__strstr_ia32): Likewise.
34424 (__libc_strstr): New prototype.
34425 (strstr): Renamed to ...
34426 (__libc_strstr): This.
34427 (strstr): New strong alias of __libc_strstr.
34428 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
34429 * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
34430 __redirect_time.
34431 Include <time.h>.
34432 (__libc_time): New prototype.
34433 (time_ifunc): Replace time with __libc_time.
34434 (time): New strong alias and hidden definition of __libc_time.
34435 (__GI_time): Remove strong alias.
34436 * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
34437 Include <stddef.h>.
34438 (memmove): Redefined to __redirect_memmove.
34439 (__memmove_sse2): Use typeof __redirect_memmove.
34440 (__memmove_ssse3): Likewise.
34441 (__memmove_ssse3_back): Likewise.
34442 (__libc_memmove): New prototype.
34443 (memmove): Renamed to ...
34444 (__libc_memmove): This.
34445 (memmove): New strong alias of __libc_memmove.
34446
33b4a91e
MS
344472012-08-08 Mark Salter <msalter@redhat.com>
34448
34449 * elf/elf.h
34450 (R_MN10300_TLS_GD): Define.
34451 (R_MN10300_TLS_LD): Likewise.
34452 (R_MN10300_TLS_LDO): Likewise.
34453 (R_MN10300_TLS_GOTIE): Likewise.
34454 (R_MN10300_TLS_IE): Likewise.
34455 (R_MN10300_TLS_LE): Likewise.
34456 (R_MN10300_TLS_DTPMOD): Likewise.
34457 (R_MN10300_TLS_DTPOFF): Likewise.
34458 (R_MN10300_TLS_TPOFF): Likewise.
34459 (R_MN10300_SYM_DIFF): Likewise.
34460 (R_MN10300_ALIGN): Likewise.
34461 (R_MN10300_NUM): Update.
34462
b36137f1
JM
344632012-08-08 Joseph Myers <joseph@codesourcery.com>
34464
34465 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
34466 Remove.
34467
cdd915fd
RM
344682012-08-08 Roland McGrath <roland@hack.frob.com>
34469
a2433aac
RM
34470 * sysdeps/posix/fdopendir.c: Include <stddef.h>.
34471
cdd915fd
RM
34472 * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
34473 sysdeps/unix -> sysdeps/posix move.
34474 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
34475
bf9b740a
AM
344762012-08-07 Allan McRae <allan@archlinux.org>
34477
34478 [BZ #14303]
34479 * sunrpc/rpc_main.c (SVR4_CPP): Remove.
34480 (SUNOS_CPP): Likewise.
34481 (find_cpp): Fall back to selecting system cpp when /lib/cpp is
34482 not found.
34483 (open_input): Call CPP using execvp.
34484
93df14ee
JM
344852012-08-07 Joseph Myers <joseph@codesourcery.com>
34486
34487 * sysdeps/unix/sysv/linux/kernel-features.h
34488 (__ASSUME_PROT_GROWSUPDOWN): Remove.
34489 (__ASSUME_NO_CLONE_DETACHED): Likewise.
34490 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
34491 (__ASSUME_WAITID_SYSCALL): Likewise.
34492 * sysdeps/unix/sysv/linux/dl-execstack.c
34493 (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
34494 code unconditional.
34495 (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
34496 conditional code.
34497 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
34498 [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
34499 (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
34500 code.
34501 * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
34502 unconditional.
34503 [__ASSUME_WAITID_SYSCALL]: Likewise.
34504 [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
34505
d34689de
RM
345062012-08-07 Roland McGrath <roland@hack.frob.com>
34507
a281decc
RM
34508 * sysdeps/unix/closedir.c: Renamed to ...
34509 * sysdeps/posix/closedir.c: ... here.
34510 * sysdeps/unix/dirfd.c: Renamed to ...
34511 * sysdeps/posix/dirfd.c: ... here.
34512 * sysdeps/unix/dirstream.h: Renamed to ...
34513 * sysdeps/posix/dirstream.h: ... here.
34514 * sysdeps/unix/fdopendir.c: Renamed to ...
34515 * sysdeps/posix/fdopendir.c: ... here.
34516 * sysdeps/unix/opendir.c: Renamed to ...
34517 * sysdeps/posix/opendir.c: ... here.
34518 * sysdeps/unix/readdir.c: Renamed to ...
34519 * sysdeps/posix/readdir.c: ... here.
34520 * sysdeps/unix/readdir_r.c: Renamed to ...
34521 * sysdeps/posix/readdir_r.c: ... here.
34522 * sysdeps/unix/rewinddir.c: Renamed to ...
34523 * sysdeps/posix/rewinddir.c: ... here.
34524 * sysdeps/unix/seekdir.c: Renamed to ...
34525 * sysdeps/posix/seekdir.c: ... here.
34526 * sysdeps/unix/telldir.c: Renamed to ...
34527 * sysdeps/posix/telldir.c: ... here.
34528 * sysdeps/unix/sysv/linux/opendir.c: Update #include.
34529 * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
34530 * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
34531 * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
34532
22895b47
RM
34533 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
34534 * bits/fcntl.h: ... here.
34535
707a53b6
RM
34536 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
34537 not 0.
34538 (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
34539 [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
34540 (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
34541 (struct flock): Move l_start, l_len to the beginning.
34542 Use __pid_t for l_pid.
34543 [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
34544 [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
34545 [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
34546 (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
34547 [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
34548 [__USE_LARGEFILE64] (struct flock64): New type.
34549 (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
34550
f0bd3e25
RM
34551 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
34552 * bits/dirent.h: ... here.
34553
d34689de
RM
34554 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
34555 [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
34556
6dad2c06
JM
345572012-08-07 Joseph Myers <joseph@codesourcery.com>
34558
34559 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
34560 Change from 2.6.0 to 2.6.16.
34561 * sysdeps/unix/sysv/linux/configure: Regenerated.
34562 * sysdeps/unix/sysv/linux/kernel-features.h
34563 (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
34564 (__ASSUME_TGKILL): Define conditional on architectures, not kernel
34565 version.
34566 (__ASSUME_UTIMES): Likewise.
34567 (__ASSUME_CLONE_STOPPED): Remove.
34568 (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
34569 architectures, not kernel version.
34570 (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
34571 (__ASSUME_NO_CLONE_DETACHED): Likewise.
34572 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
34573 (__ASSUME_WAITID_SYSCALL): Likewise.
34574 [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
34575 condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
34576 * README: State 2.6.16 as minimum Linux kernel version. Do not
34577 refer to older versions.
34578
03af9520
RM
345792012-08-06 Roland McGrath <roland@hack.frob.com>
34580
8e49df1d
RM
34581 * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
34582 Define alphasort64 as an alias.
34583 * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
34584 Define versionsort64 as an alias.
34585 * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
34586 Define scandir64 as an alias.
34587 * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
34588 Define scandirat64 as an alias.
34589 * dirent/alphasort64.c (alphasort64):
34590 Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
34591 * dirent/versionsort64.c: Likewise.
34592 * dirent/scandir64.c: Likewise.
34593 * dirent/scandirat64.c: Likewise.
34594 * sysdeps/wordsize-64/alphasort.c: File removed.
34595 * sysdeps/wordsize-64/alphasort64.c: File removed.
34596 * sysdeps/wordsize-64/scandir.c: File removed.
34597 * sysdeps/wordsize-64/scandir64.c: File removed.
34598 * sysdeps/wordsize-64/scandirat.c: File removed.
34599 * sysdeps/wordsize-64/scandirat64.c: File removed.
34600 * sysdeps/wordsize-64/versionsort.c: File removed.
34601 * sysdeps/wordsize-64/versionsort64.c: File removed.
34602 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
34603 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
34604 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
34605 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
34606 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
34607 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
34608 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
34609 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
34610
34611 * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
34612 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
34613 [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
34614 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
34615 [defined __arch64__ || defined __sparcv9]
34616 (__INO_T_MATCHES_INO64_T): New macro.
34617 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
34618 [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
34619 * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
34620 * sysdeps/unix/sysv/linux/bits/dirent.h
34621 [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
34622 (_DIRENT_MATCHES_DIRENT64): New macro.
34623
03af9520
RM
34624 * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
34625 Define lockf64 as an alias.
34626 * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
34627 Define fseeko64 as an alias.
34628 * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
34629 Define ftello64 as an alias.
34630 * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
34631 Define _IO_fgetpos64 and fgetpos64 as aliases.
34632 * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
34633 Define _IO_fsetpos64 and fsetpos64 as aliases.
34634 * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
34635 Conditionalize body on this.
34636 * libio/fseeko64.c: Likewise.
34637 * libio/ftello64.c: Likewise.
34638 * libio/iofgetpos64.c: Likewise.
34639 * libio/iofsetpos64.c: Likewise.
34640 * sysdeps/wordsize-64/lockf.c: File removed.
34641 * sysdeps/wordsize-64/lockf64.c: File removed.
34642 * sysdeps/wordsize-64/fseeko.c: File removed.
34643 * sysdeps/wordsize-64/fseeko64.c: File removed.
34644 * sysdeps/wordsize-64/ftello.c: File removed.
34645 * sysdeps/wordsize-64/ftello64.c: File removed.
34646 * sysdeps/wordsize-64/iofgetpos.c: File removed.
34647 * sysdeps/wordsize-64/iofgetpos64.c: File removed.
34648 * sysdeps/wordsize-64/iofsetpos.c: File removed.
34649 * sysdeps/wordsize-64/iofsetpos64.c: File removed.
34650 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
34651 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
34652 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
34653 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
34654 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
34655 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
34656 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
34657 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
34658 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
34659 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
34660
34661 * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
34662 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
34663 [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
34664 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
34665 [defined __arch64__ || defined __sparcv9]
34666 (__OFF_T_MATCHES_OFF64_T): New macro.
34667 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
34668 [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
34669 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
34670 (__OFF_T_MATCHES_OFF64_T): New macro.
34671
c5757acd
L
346722012-08-06 H.J. Lu <hongjiu.lu@intel.com>
34673
34674 * stdlib/secure-getenv.c (__secure_getenv): Replace
34675 GLIBC_2_16 with GLIBC_2_17.
34676
3a31811e
L
346772012-08-06 H.J. Lu <hongjiu.lu@intel.com>
34678
34679 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
34680 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
34681
faa2bccb
DM
346822012-08-03 David S. Miller <davem@davemloft.net>
34683
34684 * sysdeps/sparc/fpu/libm-test-ulps: Update.
34685
85fe1997
JM
346862012-08-03 Joseph Myers <joseph@codesourcery.com>
34687
34688 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
34689 Remove.
34690 (__ASSUME_CORRECT_SI_PID): Likewise.
34691 (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
34692 (__ASSUME_TMPFS_NAME): Likewise.
34693 * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
34694 [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
34695 * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
34696 (HAVE_AUX_SECURE): Make definition unconditional.
34697 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
34698 [!__ASSUME_TMPFS_NAME]: Remove conditional code.
34699
4f75b7a0
RM
347002012-08-03 Roland McGrath <roland@hack.frob.com>
34701
34702 * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
34703 * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
34704 * sysdeps/mach/hurd/eloop-threshold.h: New file.
34705 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
34706 __eloop_threshold instead of SYMLOOP_MAX.
34707
34708 * sysdeps/generic/eloop-threshold.h: New file.
34709 * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
34710 of MAXSYMLINKS.
34711 * elf/chroot_canon.c (chroot_canon): Likewise.
34712
7aab07e4
JM
347132012-08-03 Joseph Myers <joseph@codesourcery.com>
34714
34715 [BZ #13717]
34716 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
34717 Change to 2.6.0 everywhere.
34718 * sysdeps/unix/sysv/linux/configure: Regenerated.
34719 * sysdeps/unix/sysv/linux/kernel-features.h
34720 (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
34721 (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
34722 kernel versions.
34723 (__ASSUME_POSIX_TIMERS): Define unconditionally.
34724 (__ASSUME_FUTEX_REQUEUE): Remove.
34725 (__ASSUME_STATFS64): Define unconditionally.
34726 (__ASSUME_AT_SECURE): Likewise.
34727 (__ASSUME_CORRECT_SI_PID): Likewise.
34728 (__ASSUME_TGKILL): Define without depending on kernel version for
34729 i386.
34730 (__ASSUME_UTIMES): Likewise.
34731 (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
34732 kernel version.
34733 (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
34734 (__ASSUME_TMPFS_NAME): Likewise.
34735 * README: Update reference to Linux kernel versions.
34736
b67e9372
MP
347372012-08-02 Marek Polacek <polacek@redhat.com>
34738
1f529f7d 34739 [BZ# 14150]
b67e9372
MP
34740 * configure.in (libc_cv_asm_type_prefix): Remove test. Replace
34741 libc_cv_asm_type_prefix with %.
34742 * configure: Regenerated.
d2441631
RM
34743 * include/libc-symbols.h: Remove comment about
34744 ASM_TYPE_DIRECTIVE_PREFIX. Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
b67e9372
MP
34745 (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
34746 (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
34747 (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
34748 (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
34749 * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
34750 [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
34751 [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
34752 * elf/tst-unique2mod1.c: Likewise.
34753 * elf/tst-unique1mod2.c: Likewise.
34754 * elf/tst-unique1mod1.c: Likewise.
34755 * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
34756 * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
34757 Replace ASM_TYPE_DIRECTIVE with .type.
34758 * sysdeps/s390/s390-64/sysdep.h: Likewise.
34759 * sysdeps/i386/sysdep.h: Likewise.
34760 * sysdeps/x86_64/sysdep.h: Likewise.
34761 * sysdeps/sh/sysdep.h: Likewise.
d2441631
RM
34762 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
34763 Do not define ASM_TYPE_DIRECTIVE.
b67e9372 34764 * sysdeps/powerpc/sysdep.h: Likewise.
d2441631
RM
34765 * sysdeps/powerpc/powerpc32/sysdep.h:
34766 Replace ASM_TYPE_DIRECTIVE with .type.
b67e9372
MP
34767 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
34768 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
34769 * sysdeps/i386/fpu/e_powf.S: Likewise.
34770 * sysdeps/i386/fpu/e_expl.S: Likewise.
34771 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
34772 * sysdeps/i386/fpu/e_acosh.S: Likewise.
34773 * sysdeps/i386/fpu/e_pow.S: Likewise.
34774 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
34775 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
34776 * sysdeps/i386/fpu/s_expm1.S: Likewise.
34777 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
34778 * sysdeps/i386/fpu/e_log2.S: Likewise.
34779 * sysdeps/i386/fpu/e_log2l.S: Likewise.
34780 * sysdeps/i386/fpu/e_scalb.S: Likewise.
34781 * sysdeps/i386/fpu/e_powl.S: Likewise.
34782 * sysdeps/i386/fpu/e_log10f.S: Likewise.
34783 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
34784 * sysdeps/i386/fpu/e_logl.S: Likewise.
34785 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
34786 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
34787 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
34788 * sysdeps/i386/fpu/e_log2f.S: Likewise.
34789 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
34790 * sysdeps/i386/fpu/e_log.S: Likewise.
34791 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
34792 * sysdeps/i386/fpu/e_logf.S: Likewise.
34793 * sysdeps/i386/fpu/e_log10l.S: Likewise.
34794 * sysdeps/i386/fpu/e_atanh.S: Likewise.
34795 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
34796 * sysdeps/i386/fpu/e_log10.S: Likewise.
34797 * sysdeps/i386/fpu/s_frexp.S: Likewise.
34798 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
34799 * sysdeps/i386/fpu/s_asinh.S: Likewise.
34800 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
34801 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
34802 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
34803 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
34804 * sysdeps/i386/i686/strtok.S: Likewise.
34805 * sysdeps/i386/i386-mcount.S: Likewise.
34806 * sysdeps/i386/strtok.S: Likewise.
34807 * sysdeps/x86_64/fpu/e_expl.S: Likewise.
34808 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
34809 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
34810 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
34811 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
34812 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
34813 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
34814 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
34815 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
34816 * sysdeps/x86_64/_mcount.S: Likewise.
34817 * sysdeps/x86_64/strtok.S: Likewise.
34818 * sysdeps/sh/_mcount.S: Likewise.
34819
2747bf9a
RM
348202012-08-01 Roland McGrath <roland@hack.frob.com>
34821
34822 * libio/iofopen.c: Include <fcntl.h>.
34823 [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
34824 (_IO_fopen64, fopen64): Define as aliases.
34825 * libio/iofopen64.c: Include <fcntl.h>.
34826 [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
34827 Conditionalize body on this.
34828 * sysdeps/wordsize-64/iofopen.c: File removed.
34829 * sysdeps/wordsize-64/iofopen64.c: File removed.
34830
3fb791b8
MP
348312012-08-01 Marek Polacek <polacek@redhat.com>
34832
34833 * libc/Makeconfig: Use elf in place of binfmt-subdir.
34834 Use dlfcn directly instead of a variable.
34835 (binfmt-subdir): Do not define.
34836 (dlfcn): Likewise.
34837
a9f1039f
JM
348382012-08-01 Joseph Myers <joseph@codesourcery.com>
34839
23bddc06
JM
34840 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
34841 Remove all definitions.
34842 * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
34843 <kernel-features.h>.
34844 [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
34845 (miss_F_GETOWN_EX): Remove all definitions.
34846 [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
34847 macro definition.
34848 [!__ASSUME_FCNTL64]: Remove conditional code.
34849 [__ASSUME_FCNTL64]: Make code unconditional.
34850 * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
34851 <kernel-features.h>.
34852 [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
34853 (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
34854 (lockf64) [__NR_fcntl64]: Make code unconditional.
34855 (lockf64) [__ASSUME_FCNTL64]: Likewise.
34856
a9f1039f
JM
34857 * sysdeps/unix/sysv/linux/kernel-features.h
34858 (__ASSUME_VFORK_SYSCALL): Remove all definitions.
34859 * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
34860 Make code unconditional.
34861 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
34862 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
34863 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
34864 [__NR_vfork]: Make code unconditional.
34865 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
34866 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
34867 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
34868 [__NR_vfork]: Make code unconditional.
34869 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
34870 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
34871
09c0ee5f
RM
348722012-08-01 Roland McGrath <roland@hack.frob.com>
34873
48aec5b9
RM
34874 * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
34875 (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
34876
cd97c966
RM
34877 * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
34878 Define mkstemp64 as an alias.
3f55550c
RM
34879 * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
34880 Define mkstemps64 as an alias.
cd97c966
RM
34881 * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
34882 Define mkostemp64 as an alias.
b8625cfc
RM
34883 * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
34884 Define mkostemps64 as an alias.
cd97c966
RM
34885 * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
34886 Conditionalize body on this.
34887 * misc/mkostemp64.c: Likewise.
b8625cfc 34888 * misc/mkostemps64.c: Likewise.
3f55550c 34889 * misc/mkstemps64.c: Likewise.
cd97c966
RM
34890 * sysdeps/wordsize-64/mkstemp64.c: File removed.
34891 * sysdeps/wordsize-64/mkostemp64.c: File removed.
34892 * sysdeps/wordsize-64/mkostemp.c: File removed.
34893 * sysdeps/wordsize-64/mkstemp.c: File removed.
34894 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
34895 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
34896 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
34897 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
34898
09c0ee5f
RM
34899 [BZ #14138]
34900 * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
34901 * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
34902 * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
34903 * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
34904
34905 * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
34906 compat_symbol macros from <shlib-compat.h> rather than the underlying
34907 default_symbol_version and symbol_version macros, so that DEFAULT
34908 lines in shlib-versions are respected.
34909 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
34910
7e66ee51
FW
349112012-08-01 Florian Weimer <fweimer@redhat.com>
34912
34913 * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
34914 Declare with warn_unused_result.
34915 (setgid, setregid, setegid, setresgid): Likewise.
34916 * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
34917 Likewise.
34918 * WUR-REPORT: Remove set*id functions.
34919
d2a54255
PT
349202012-07-31 Pino Toscano <toscano.pino@tiscali.it>
34921
34922 * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
34923
7ecdb005
RM
349242012-07-31 Roland McGrath <roland@hack.frob.com>
34925
b4180a5e 34926 [BZ #10191]
789bd351
RM
34927 * include/sys/socket.h (__libc_accept, __libc_accept4):
34928 Add attribute_hidden.
34929 * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
34930
40ce302d
RM
34931 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
34932 use of PTR_MANGLE.
34933 * inet/getnetgrent_r.c (setup): Likewise.
34934
7ecdb005
RM
34935 * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
34936
e2eabb2c
DM
349372012-07-31 David S. Miller <davem@davemloft.net>
34938
34939 * sysdeps/sparc/fpu/libm-test-ulps: Update.
34940
d0419dbf
JM
349412012-07-31 Joseph Myers <joseph@codesourcery.com>
34942
34943 [BZ #13629]
34944 * math/s_clog.c (__clog): Use __log1p if larger part has absolute
34945 value between 1.0 and 2.0 and smaller part has absolute value less
34946 than 1.0.
34947 * math/s_clog10.c (__clog10): Likewise.
34948 * math/s_clog10f.c (__clog10f): Likewise.
34949 * math/s_clog10l.c (__clog10l): Likewise.
34950 * math/s_clogf.c (__clogf): Likewise.
34951 * math/s_clogl.c (__clogl): Likewise.
34952 * math/libm-test.inc (clog_test): Add more tests.
34953 (clog10_test): Likewise.
34954 * sysdeps/i386/fpu/libm-test-ulps: Update.
34955 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34956
2bc13872
FW
349572012-07-31 Florian Weimer <fweimer@redhat.com>
34958
34959 * stdlib/tst-secure-getenv.c: Use printf for error reporting.
34960 Exit with zero in case no suitable GID is found, and write a
34961 message to standard error.
34962
bea9b193
RM
349632012-07-30 Roland McGrath <roland@hack.frob.com>
34964
34965 * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
34966 rather than to 1.
34967 (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
34968 (MAXPATHLEN): Removed.
34969 (NOGROUP, NODEV): New macros.
34970 (setbit, clrbit, isset, isclr): New macros.
34971 (howmany, roundup, powerof2): New macros.
34972 (DEV_BSIZE): New macro.
34973
34974 * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
34975 * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
34976
34977 * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
34978 definition on [!__NO_LONG_DOUBLE_MATH].
34979
34980 * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
34981 PTR_MANGLE and PTR_DEMANGLE.
34982
34983 * socket/accept4.c (accept4): Rename to __libc_accept4.
34984 Define accept4 as a weak alias.
34985
34986 * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
34987 on [_DIRENT_HAVE_D_TYPE].
34988 * io/ftw.c (ftw_dir): Likewise.
34989
34990 * io/xmknod.c (__xmknod): Don't check PATH for being null.
34991
34992 * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
34993
34994 * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
34995 Use the BSD numbers rather than the arbitrary ones we had.
34996 (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
34997 (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
34998 (SIGXCPU, SIGXFSZ): New macros.
34999 (_NSIG): Now 32.
35000
35001 * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
35002 initializer on [_LIBC_REENTRANT].
35003
35004 * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
35005 definitions inside [_POSIX_MAPPED_FILES].
35006
35007 * posix/regex.c: Include <sys/param.h> for MIN/MAX.
35008
35009 * dirent/opendir.c: Include <fcntl.h>.
35010
35011 * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
35012 (__libc_getspecific): Likewise.
35013 (__libc_key_create): Likewise.
35014
35015 * stdio-common/tmpfile64.c: Include <fcntl.h> first.
35016 [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
35017 * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
35018 (tmpfile64): Define as alias.
35019 * sysdeps/wordsize-64/tmpfile.c: File removed.
35020 * sysdeps/wordsize-64/tmpfile64.c: File removed.
35021 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
35022 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
35023
35024 * stdio-common/vfscanf.c: Include <stdbool.h>.
35025 * nss/makedb.c: Likewise.
35026 * stdio-common/_i18n_number.h: Likewise.
35027 * argp/argp-help.c: Likewise.
35028 * posix/wordexp.c: Likewise.
35029 * sysdeps/posix/spawni.c: Likewise.
35030 * nss/nss_files/files-initgroups.c: Likewise.
35031 * stdio-common/reg-modifier.c: Include <stdlib.h>.
35032 * nss/nss_files/files-initgroups.c: Likewise.
35033 * nss/nss_db/db-netgrp.c: Likewise.
35034 * nss/nss_db/db-initgroups.c: Likewise.
35035 * io/fchmodat.c: Include <sys/stat.h>.
35036
35037 * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
35038 __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
35039
35040 * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
35041 [HAVE_MMAP].
35042
35043 * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
35044 Add multiple inclusion protection.
35045
e5abc686
DM
350462012-07-27 David S. Miller <davem@davemloft.net>
35047
35048 * sysdeps/sparc/fpu/libm-test-ulps: Update.
35049
815e6fa3
GB
350502012-07-27 Gary Benson <gbenson@redhat.com>
35051
35052 [BZ #14298]
35053 * elf/rtld.c: Include <stap-probe.h>.
35054 (dl_main): Added static probes "init_start" and "init_complete".
35055 * elf/dl-load.c: Include <stap-probe.h>.
35056 (lose): Take new parameter "nsid".
35057 Added static probe "map_failed".
35058 (_dl_map_object_from_fd): Pass namespace id to lose.
35059 Added static probe "map_start".
35060 (open_verify): Pass namespace id to lose.
35061 * elf/dl-open.c: Include <stap-probe.h>.
35062 (dl_open_worker) Added static probes "map_complete", "reloc_start"
35063 and "reloc_complete".
35064 * elf/dl-close.c: Include <stap-probe.h>.
35065 (_dl_close_worker): Added static probes "unmap_start" and
35066 "unmap_complete".
35067 * elf/rtld-debugger-interface.txt: New file documenting the above.
35068
9f98c16c
RM
350692012-07-26 Roland McGrath <roland@hack.frob.com>
35070
35071 * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
35072 rather than a string variable.
35073 * sunrpc/rpc_main.c (h_output): Likewise.
35074 * sunrpc/rpc_svcout.c (write_real_program): Likewise.
35075
f3c22df3
PT
350762012-07-26 Pino Toscano <toscano.pino@tiscali.it>
35077
35078 * inet/check_native.c: New file.
35079
3129cfc6
JM
350802012-07-26 Joseph Myers <joseph@codesourcery.com>
35081
da865e95
JM
35082 [BZ #13629]
35083 * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
35084 if larger part has absolute value 1.0.
35085 * math/s_clog10.c (__clog10): Likewise.
35086 * math/s_clog10f.c (__clog10f): Likewise.
35087 * math/s_clog10l.c (__clog10l): Likewise.
35088 * math/s_clogf.c (__clogf): Likewise.
35089 * math/s_clogl.c (__clogl): Likewise.
35090 * math/libm-test.inc (clog_test): Add more tests.
35091 (clog10_test): Likewise.
35092 * sysdeps/i386/fpu/libm-test-ulps: Update.
35093 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35094
3129cfc6
JM
35095 * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
35096 (pltexit): Likewise.
35097 (La_regs): Likewise.
35098 (La_retval): Likewise.
35099 (int_retval): Likewise.
35100 Update #error for removed macros to refer only to definitions in
35101 tst-audit.h.
35102 * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
35103 macro.
35104 (pltexit): Likewise.
35105 (La_regs): Likewise.
35106 (La_retval): Likewise.
35107 (int_retval): Likewise.
35108 * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
35109 macro.
35110 (pltexit): Likewise.
35111 (La_regs): Likewise.
35112 (La_retval): Likewise.
35113 (int_retval): Likewise.
35114 * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
35115 macro.
35116 (pltexit): Likewise.
35117 (La_regs): Likewise.
35118 (La_retval): Likewise.
35119 (int_retval): Likewise.
35120 * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
35121 macro.
35122 (pltexit): Likewise.
35123 (La_regs): Likewise.
35124 (La_retval): Likewise.
35125 (int_retval): Likewise.
35126 * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
35127 macro.
35128 (pltexit): Likewise.
35129 (La_regs): Likewise.
35130 (La_retval): Likewise.
35131 (int_retval): Likewise.
35132 * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
35133 macro.
35134 (pltexit): Likewise.
35135 (La_regs): Likewise.
35136 (La_retval): Likewise.
35137 (int_retval): Likewise.
35138 * sysdeps/generic/tst-audit.h: Update comment to refer only to
35139 macro definitions in tst-audit.h.
35140 * sysdeps/i386/tst-audit.h: New file.
35141 * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
35142 * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
35143 * sysdeps/s390/s390-32/tst-audit.h: Likewise.
35144 * sysdeps/s390/s390-64/tst-audit.h: Likewise.
35145 * sysdeps/sh/tst-audit.h: Likewise.
35146 * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
35147 * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
35148 * sysdeps/x86_64/tst-audit.h: Likewise.
35149
bfc07087
AJ
351502012-07-26 Andreas Jaeger <aj@suse.de>
35151
b1b2aaf8
AJ
35152 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
35153 ptrace.
35154
35155 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
35156 new value PTRACE_EVENT_SECCOMP from Linux 3.5.
35157 (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
35158 PTRACE_O_MASK.
35159 * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
35160 * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
35161 * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
35162
bfc07087
AJ
35163 * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
35164 value.
35165
35166 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
35167 _sigsys.
35168 (si_call_addr, si_syscall, si_arch): Define new macro.
35169 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
35170 _sigsys.
35171 (si_call_addr, si_syscall, si_arch): Define new marcro.
35172 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
35173 _sigsys.
35174 (si_call_addr, si_syscall, si_arch): Define new macro.
35175 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
35176 _sigsys.
35177 (si_call_addr, si_syscall, si_arch): Define new macro.
35178
89b4b02f
JM
351792012-07-25 Joseph Myers <joseph@codesourcery.com>
35180
35181 [BZ #13717]
35182 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
35183 Change to 2.4.21 where previously 2.4.1.
35184 * sysdeps/unix/sysv/linux/configure: Regenerated.
35185 * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
35186 __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
35187 Linux kernel version.
35188 (__ASSUME_STD_AUXV): Remove.
35189 [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
35190 kernel version.
35191 [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
35192 (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
35193 (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
35194 (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
35195 (__ASSUME_NETLINK_SUPPORT): Likewise.
35196 * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
35197 (__no_netlink_support): Remove conditional definition.
35198 * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
35199 Remove.
35200 (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
35201 [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
35202 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
35203 (if_nameindex_ioctl): Remove.
35204 (if_nameindex_netlink): Do not handle __no_netlink_support.
35205 (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
35206 code.
35207 * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
35208 Remove conditional code.
35209 (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
35210 code.
35211 (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
35212 unconditional.
35213 [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
35214 [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
35215 * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
35216 Remove.
35217 * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
35218 [!__ASSUME_STD_AUXV]: Remove conditional code.
35219 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
35220 [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
35221 [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
35222 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
35223 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
35224 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
35225 code.
35226 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
35227 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
35228 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
35229 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
35230 conditional code.
35231 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
35232 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
35233 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
35234 code.
35235 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
35236 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
35237 conditional code.
35238 * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
35239 (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
35240 code unconditional.
35241 (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
35242 conditional code.
35243 (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
35244 unconditional.
35245 (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
35246 conditional code.
35247 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
35248 (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
35249 unconditional.
35250 (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
35251 conditional code.
35252 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
35253 (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
35254 code unconditional.
35255 (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
35256 conditional code.
35257 (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
35258 unconditional.
35259 (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
35260 conditional code.
35261 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
35262 (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
35263 code unconditional.
35264 (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
35265 conditional code.
35266 (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
35267 unconditional.
35268 (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
35269 conditional code.
35270
842a39cd
AS
352712012-07-25 Andreas Schwab <schwab@linux-m68k.org>
35272
35273 * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
35274 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
35275 * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
35276 * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
35277 * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
35278 * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
35279 * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
35280 * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
35281 * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
35282 * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
35283 * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
35284 * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
35285 * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
35286 * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
35287 * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
35288 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
35289 * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
35290 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
35291 * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
35292 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
35293 * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
35294 * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
35295 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
35296
84b3fd84
FW
352972012-07-25 Florian Weimer <fweimer@redhat.com>
35298
35299 * Versions.def: Add GLIBC_2.17.
84b3fd84
FW
35300 * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
35301 * include/stdlib.h: Rename __secure_getenv to secure_getenv.
35302 Introduce __libc_secure_getenv.
0c7936d5
FW
35303 * stdlib/Versions (2.17): Add secure_getenv
35304 (GLIBC_PRIVATE): Add __libc_secure_getenv.
35305 * stdlib/secure-getenv.c: Rename __secure_getenv to
35306 __libc_secure_getenv. Add secure_getenv alias. Add compatibility
35307 symbol __secure_getenv for GLIBC_2.0.
84b3fd84
FW
35308 * stdlib/tst-secure-getenv.c: New.
35309 * stdlib/Makefile (tests): Add testcase.
84b3fd84
FW
35310 * manual/startup.texi (Environment Access): Document
35311 secure_getenv.
84b3fd84
FW
35312 * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
35313 __libc_secure_getenv.
35314 * inet/ruserpass.c (ruserpass): Likewise.
35315 * malloc/mtrace.c (mtrace): Likewise.
35316 * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
0c7936d5 35317 * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
84b3fd84
FW
35318 * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
35319 * sysdeps/posix/tempname.c: Likewise. Evaluate
35320 HAVE_SECURE_GETENV.
35321 * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
0c7936d5 35322 __secure_getenv to __libc_secure_getenv.
84b3fd84 35323 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
84b3fd84
FW
35324 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
35325 Likewise.
35326 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
35327 Likewise.
35328 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
35329 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
35330 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
35331 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
35332 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
35333 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
35334 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
84b3fd84 35335
56e49b71
JM
353362012-07-25 Joseph Myers <joseph@codesourcery.com>
35337
35338 * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
35339 (struct La_i86_retval): Likewise.
35340 (struct La_x86_64_regs): Likewise.
35341 (struct La_x86_64_retval): Likewise.
35342 (struct La_x32_regs): Likewise.
35343 (struct La_x32_retval): Likewise.
35344 (struct La_ppc32_regs): Likewise.
35345 (struct La_ppc32_retval): Likewise.
35346 (struct La_ppc64_regs): Likewise.
35347 (struct La_ppc64_retval): Likewise.
35348 (struct La_sh_regs): Likewise.
35349 (struct La_sh_retval): Likewise.
35350 (struct La_s390_32_regs): Likewise.
35351 (struct La_s390_32_retval): Likewise.
35352 (struct La_s390_64_regs): Likewise.
35353 (struct La_s390_64_retval): Likewise.
35354 (struct La_sparc32_regs): Likewise.
35355 (struct La_sparc32_retval): Likewise.
35356 (struct La_sparc64_regs): Likewise.
35357 (struct La_sparc64_retval): Likewise.
35358 (struct audit_ifaces): Remove architecture-specific pltenter and
35359 pltexit members.
35360 * sysdeps/i386/ldsodefs.h: New file.
35361 * sysdeps/powerpc/ldsodefs.h: Likewise.
35362 * sysdeps/s390/ldsodefs.h: Likewise.
35363 * sysdeps/sh/ldsodefs.h: Likewise.
35364 * sysdeps/sparc/ldsodefs.h: Likewise.
35365 * sysdeps/x86_64/ldsodefs.h: Likewise.
35366
354691b7
MP
353672012-07-25 Marek Polacek <polacek@redhat.com>
35368
35369 [BZ #6808]
35370 * math/libm-test.inc (yn_test): Add another test.
35371 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
35372 to ERANGE when the result is +-Inf.
35373 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
35374 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
35375 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
35376 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
35377
bf9e2071
JM
353782012-07-24 Joseph Myers <joseph@codesourcery.com>
35379
35380 * conform/data/time.h-data (NULL): Use macro-constant. Require
35381 equal to 0.
35382 (CLOCKS_PER_SEC): Use macro instead of constant. Specify type as
35383 clock_t.
35384 [ISO11] (TIME_UTC): Use macro-int-constant. Require value > 0.
35385
57633811
TS
353862012-07-23 Thomas Schwinge <thomas@codesourcery.com>
35387
35388 * configure.in <sysdeps resolving>: Correct printing
35389 Implies_before.
35390 * configure: Regenerate.
35391
c23c33b0
TS
353922012-07-22 Thomas Schwinge <thomas@codesourcery.com>
35393
35394 * math/w_ilogb.c: Include <limits.h>.
35395 * math/w_ilogbl.c: Likewise.
35396
b5982523
JM
353972012-07-20 Joseph Myers <joseph@codesourcery.com>
35398
35399 * manual/lang.texi (__va_copy): Document primarily as ISO C99
35400 va_copy. Document allowing for unavailable va_copy only as
35401 pre-C99 compatibility.
35402 * manual/string.texi (Copying and Concatenation): Use va_copy
35403 instead of __va_copy in concat example.
35404
ac4ea442
PT
354052012-07-20 Pino Toscano <toscano.pino@tiscali.it>
35406
35407 * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
35408 (__sendto): Use create_address_port. Initialize APORT and deallocate
35409 it if not null.
35410
f98eafbd
PT
35411 * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
35412 with O_NOLINK passed to __file_name_lookup.
35413
898c7aab
PT
35414 * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
35415 with O_NOLINK passed to __file_name_lookup.
35416
0ced335a
PT
35417 * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
35418 negative N or less than NGIDS.
35419
b3404dbd
PT
35420 * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
35421 type to string_t. Set ERANGE as errno and return it if NAME is not big
35422 enough. Use memcpy instead of strncpy.
35423
0f48659e
JM
354242012-07-20 Joseph Myers <joseph@codesourcery.com>
35425
35426 * elf/Makefile (check-data): Remove.
35427 (localplt.data): New vpath directive.
35428 ($(objpfx)check-localplt.out): Use localplt.data from vpath
35429 instead of $(check-data).
35430 * scripts/data/localplt-generic.data: Move to ...
35431 * sysdeps/generic/localplt.data: ... here.
35432 * scripts/data/localplt-i386-linux-gnu.data: Move to ...
35433 * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
35434 * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
35435 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
35436 ... here.
35437 * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
35438 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
35439 ... here.
35440 * scripts/data/localplt-s390-linux-gnu.data: Move to ...
35441 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
35442 ... here.
35443 * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
35444 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
35445 ... here.
35446 * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
35447 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
35448 ... here.
35449 * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
35450 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
35451 ... here.
35452
d37cbdaa
AZ
354532012-07-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
35454
35455 * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
35456 PPC32 and PPC64 files.
35457 * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
35458 * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
35459
46f85fc2
AK
354602012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
35461
35462 * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
35463 __makecontext_ret to ...
35464 * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
35465 ... here and call exit if uc_link is NULL. New file.
35466 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
35467 __makecontext_ret.S.
35468 * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
35469 __makecontext_ret to ...
35470 * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
35471 ... here and call exit if uc_link is NULL. New file.
35472 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
35473 __makecontext_ret.S.
35474
08f43f9b
AK
354752012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
35476
35477 * elf/elf.h (R_390_IRELATIVE): New definition.
35478 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
35479 resolver function for IFUNC symbols. Support R_390_IRELATIVE.
35480 (elf_machine_lazy_rel): Support R_390_IRELATIVE.
35481 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
35482 (elf_machine_lazy_rel): Likewise.
35483 * sysdeps/s390/dl-irel.h: New file.
35484 * sysdeps/s390/s390-64/memcpy.S: New asm code.
35485 * sysdeps/s390/s390-64/memset.S: New asm code.
35486 * sysdeps/s390/s390-64/memcmp.S: New asm code.
35487 * sysdeps/s390/s390-64/multiarch/memset.S: New file.
35488 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
35489 * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
35490 * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
35491 * sysdeps/s390/s390-64/multiarch/Makefile: New file.
35492 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
35493 * sysdeps/s390/s390-32/multiarch/Makefile: New file.
35494 * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
35495 * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
35496 * sysdeps/s390/s390-32/multiarch/memset.S: New file.
35497 * sysdeps/s390/s390-32/memcpy.S: New asm code.
35498 * sysdeps/s390/s390-32/memset.S: New asm code.
35499 * sysdeps/s390/s390-32/memcmp.S: New asm code.
35500
3b05db33
MP
355012012-07-17 Marek Polacek <polacek@redhat.com>
35502
35503 [BZ #14349]
35504 * sysdeps/s390/s390-32/configure.in: Remove TLS check.
35505 * sysdeps/s390/s390-64/configure.in: Likewise.
35506 * sysdeps/sparc/configure.in: Likewise.
35507 * sysdeps/powerpc/powerpc32/configure.in: Likewise.
35508 * sysdeps/powerpc/powerpc64/configure.in: Likewise.
35509 * sysdeps/i386/configure.in: Likewise.
35510 * sysdeps/x86_64/configure.in: Likewise.
35511 * sysdeps/sh/configure.in: Likewise.
35512 * sysdeps/s390/s390-32/configure: Regenerated.
35513 * sysdeps/s390/s390-64/configure: Likewise.
35514 * sysdeps/x86_64/configure: Likewise.
35515 * sysdeps/sh/configure: Likewise.
35516 * sysdeps/powerpc/powerpc64/configure: Likewise.
35517 * sysdeps/powerpc/powerpc32/configure: Likewise.
35518 * sysdeps/sparc/configure: Likwise.
35519 * sysdeps/i386/configure: Likewise.
35520
a66877c6
MP
35521 * elf/dl-open.c: Comment fixes.
35522
cfc82fd8
JM
355232012-07-17 Joseph Myers <joseph@codesourcery.com>
35524
bd29910a
JM
35525 * Makefile [CXX] (check-data): Remove.
35526 [CXX] (c++-types.data): New vpath directive.
35527 [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
35528 vpath. Do not allow for C++ type data being missing.
35529 * scripts/data/c++-types-alpha-linux-gnu.data: Move to
35530 ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
35531 * scripts/data/c++-types-ia64-linux-gnu.data: Move to
35532 ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
35533 * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
35534 * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
35535 * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
35536 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
35537 ... here.
35538 * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
35539 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
35540 ... here.
35541 * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
35542 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
35543 ... here.
35544 * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
35545 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
35546 ... here.
35547 * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
35548 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
35549 ... here.
35550 * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
35551 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
35552 ... here.
35553 * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
35554 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
35555 ... here.
35556 * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
35557 * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
35558
cfc82fd8
JM
35559 * elf/tls-macros.h (TLS_LE): Move architecture-specific
35560 definitions to architecture-specific files.
35561 (TLS_IE): Likewise.
35562 (TLS_LD): Likewise.
35563 (TLS_GD): Likewise.
35564 * sysdeps/i386/tls-macros.h: New file.
35565 * sysdeps/powerpc/tls-macros.h: Likewise.
35566 * sysdeps/s390/s390-32/tls-macros.h: Likewise.
35567 * sysdeps/s390/s390-64/tls-macros.h: Likewise.
35568 * sysdeps/sh/tls-macros.h: Likewise.
35569 * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
35570 * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
35571 * sysdeps/x86_64/tls-macros.h: Likewise.
35572
f7db3170
TS
355732012-07-17 Thomas Schwinge <thomas@codesourcery.com>
35574
07cbfc23
TS
35575 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
35576 zero value for regular exit case.
35577
f7db3170
TS
35578 * sysdeps/unix/sysv/linux/x86_64/__start_context.S
35579 (__start_context): Preserve zero value for regular exit case.
35580
dc97c227
TS
355812012-07-17 Thomas Schwinge <thomas@codesourcery.com>
35582 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
35583
35584 * manual/setjmp.texi (setcontext): Clarify normal process
35585 termination when uc_link is the null pointer.
35586 * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
35587 exit call.
35588
d0cd7d02
AS
355892012-07-16 Andreas Schwab <schwab@linux-m68k.org>
35590
35591 * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
35592 preprocessor. Test for each exception mask separately.
35593
dd318934
AJ
355942012-07-16 Andreas Jaeger <aj@suse.de>
35595
35596 * po/ru.po: Update from translation team.
35597
8048311a
JM
355982012-07-15 Joseph Myers <joseph@codesourcery.com>
35599
35600 * conform/data/string.h-data (NULL): Use macro-constant. Require
35601 equal to 0.
35602 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
35603 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
35604 (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
35605 (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
35606 [ISO || ISO99 || ISO11] (*_t): Do not allow.
35607
b637d46e
AJ
356082012-07-13 Andreas Jaeger <aj@suse.de>
35609
35610 * po/fr.po: Update from translation team.
35611
541428fe
MP
356122012-07-12 Marek Polacek <polacek@redhat.com>
35613
35614 [BZ #14173]
35615 * math/libm-test.inc (yn_test): Add test for BZ #14173.
35616 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
35617 loop condition.
35618
ec332e94
JM
356192012-07-12 Joseph Myers <joseph@codesourcery.com>
35620
35621 [BZ #13717]
35622 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
35623 Change to 2.4.1 where previously 2.4.0.
35624 * sysdeps/unix/sysv/linux/configure: Regenerated.
35625 * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
35626 (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
35627 version.
35628 [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
35629 (__ASSUME_AT_CLKTCK): Remove.
35630 (__ASSUME_AT_PAGESIZE): Likewise.
35631 (__ASSUME_AT_XID): Likewise.
35632 (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
35633 [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
35634 * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
35635 unconditionally.
35636 (HAVE_AUX_PAGESIZE): Likewise.
35637 * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
35638 [__ASSUME_AT_CLKTCK]: Make code unconditional.
35639 [!__ASSUME_AT_CLKTCK]: Remove conditional code.
35640
7b6e99be
JB
356412012-07-12 Jeroen van Bemmel <jvb127@gmail.com>
35642
35643 [BZ #14307]
35644 * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
35645 the temporary buffer used to invoke __gethostbyname2_r,
35646 __gethostbyaddr_r and gethostbyname4_r to make room for struct
35647 host_data / struct gaih_addrtuple.
35648 * resolv/nss_dns/dns-host.c (global scope): Move definition of
35649 implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
35650 header file nss/nsswitch.h.
35651 * nss/nsswitch.h (global scope): Add definition of implementation
35652 constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
35653 resolv/nss_dns/dns-host.c).
35654
608404eb
AJ
356552012-07-11 Andreas Jaeger <aj@suse.de>
35656
35657 * po/fr.po: Update from translation team.
35658
71220aca
AJ
35659 * po/sv.po: Update from translation team
35660 * po/fr.po: Another update from translation team.
35661
28cfe843
AZ
356622012-07-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
35663
35664 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
35665 for subnormals or multiply small sinh result by itself.
35666 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
35667 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
35668
6b90f981
DM
356692012-07-11 David S. Miller <davem@davemloft.net>
35670
35671 * sysdeps/sparc/fpu/libm-test-ulps: Update.
35672
c6825772
AS
356732012-07-10 Andreas Schwab <schwab@linux-m68k.org>
35674
35675 [BZ #14347]
35676 * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
35677 (INTERNAL_MARK): Shift it here.
35678
7b8e0d49
MP
356792012-07-10 Marek Polacek <polacek@redhat.com>
35680
35681 [BZ #14151]
35682 * configure.in (libc_cv_asm_global_directive): Remove test. Replace
35683 libc_cv_asm_global_directive with .globl.
35684 * configure: Regenerated.
35685 * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
35686 with .globl.
35687 * sysdeps/i386/configure: Regenerated.
35688 * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
35689 with .globl.
35690 * sysdeps/x86_64/configure: Regenerated.
35691 * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
35692 * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
35693 * elf/tst-unique2mod2.c: Likewise.
35694 * elf/tst-unique2mod1.c: Likewise.
35695 * elf/tst-unique1mod2.c: Likewise.
35696 * elf/tst-unique1mod1.c: Likewise.
35697 * sysdeps/s390/s390-32/sysdep.h: Likewise.
35698 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
35699 * sysdeps/s390/s390-64/sysdep.h: Likewise.
35700 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
35701 * sysdeps/mach/sysdep.h: Likewise.
35702 * sysdeps/i386/sysdep.h: Likewise.
35703 * sysdeps/i386/i386-mcount.S: Likewise.
35704 * sysdeps/x86_64/_mcount.S: Likewise.
35705 * sysdeps/x86_64/sysdep.h: Likewise.
35706 * sysdeps/sh/_mcount.S: Likewise.
35707 * sysdeps/sh/sysdep.h: Likewise.
35708 * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
35709 * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
35710 * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
35711 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
35712 * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
35713 * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
35714 * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
35715 * locale/localeinfo.h: Likewise.
35716 (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
35717 (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
35718
6c55cda3
RM
357192012-07-09 Roland McGrath <roland@hack.frob.com>
35720
35721 [BZ #14336]
35722 * manual/charset.texi (Extended Char Intro): Word use fix, "operating
35723 system".
35724 * manual/message.texi (The Uniforum approach): Likewise.
35725 * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
35726 (glibc iconv Implementation): Likewise.
35727
638a572e
JM
357282012-07-09 Joseph Myers <joseph@codesourcery.com>
35729
35730 [BZ #14337]
35731 * math/s_clog.c (__clog): Avoid scaling a value down where that
35732 could result in underflow.
35733 * math/s_clog10.c (__clog10): Likewise.
35734 * math/s_clog10f.c (__clog10f): Likewise.
35735 * math/s_clog10l.c (__clog10l): Likewise.
35736 * math/s_clogf.c (__clogf): Likewise.
35737 * math/s_clogl.c (__clogl): Likewise.
35738 * math/libm-test.inc (clog_test): Add more tests.
35739 (clog10_test): Likewise.
35740 * sysdeps/i386/fpu/libm-test-ulps: Update.
35741 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35742
261f4859
AS
357432012-07-06 Andreas Schwab <schwab@linux-m68k.org>
35744
0abaf3e4
AS
35745 [BZ #14283]
35746 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
35747 by 7 not 8 to examine high bit of fractional part.
35748
261f4859
AS
35749 [BZ #14042]
35750 * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
35751 for call to __mcount_internal.
35752 * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
35753 (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
35754 * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
35755
f17ac40d
JM
357562012-07-06 Joseph Myers <joseph@codesourcery.com>
35757
9ad63c23
JM
35758 [BZ #14154]
35759 * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
35760 approximation for values within 0x1p-13f of an odd multiple of
35761 pi/4.
35762 * math/libm-test.inc (tan_test): Do not allow spurious underflow
35763 exception. Add more tests.
35764 * sysdeps/i386/fpu/libm-test-ulps: Update.
35765
f17ac40d
JM
35766 [BZ #6778]
35767 * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
35768 inputs and return -1 for them. Do not check for +Inf in case not
35769 reachable for +Inf.
35770 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
35771 * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
35772 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
35773 and return -1 for them. Do not check for +Inf in case not
35774 reachable for +Inf.
35775 * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
35776 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 * math/libm-test.inc (expm1_test): Add more tests. Do not allow
35781 spurious underflow.
35782 * sysdeps/i386/fpu/libm-test-ulps: Update.
35783 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35784
fb21f89b
MF
357852012-07-06 Mike Frysinger <vapier@gentoo.org>
35786
35787 * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
35788
cdfe2c5e
JM
357892012-07-05 Joseph Myers <joseph@codesourcery.com>
35790
35791 [BZ #14157]
35792 [BZ #14331]
35793 * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
35794 could result in spurious underflow. Scale down values above
35795 DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
35796 * math/s_csqrtf.c (__csqrtf): Likewise.
35797 * math/s_csqrtl.c (__csqrtl): Likewise.
35798 * math/libm-test.inc (csqrt_test): Add more tests. Do not allow
35799 spurious underflow.
35800 * sysdeps/i386/fpu/libm-test-ulps: Update.
35801 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35802
70d35b67
AS
358032012-07-04 Andreas Schwab <schwab@linux-m68k.org>
35804
704bc459
AS
35805 * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
35806 xopen-msg.sed.
35807 * catgets/xopen-msg.awk: New file.
35808 * catgets/xopen-msg.sed: Removed.
35809
70d35b67
AS
35810 * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
35811 po2text.sed.
35812 * intl/po2test.awk: New file.
35813 * intl/po2test.sed: Removed.
35814
ca61cf32
JM
358152012-07-04 Joseph Myers <joseph@codesourcery.com>
35816
35817 [BZ #14328]
35818 * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
35819 or multiply small sinh result by itself.
35820 * math/s_ctanf.c (__ctanf): Likewise.
35821 * math/s_ctanh.c (__ctanh): Likewise.
35822 * math/s_ctanhf.c (__ctanhf): Likewise.
35823 * math/s_ctanhl.c (__ctanhl): Likewise.
35824 * math/s_ctanl.c (__ctanl): Likewise.
35825 * math/libm-test.inc (ctan_test_tonearest): New function.
35826 (ctan_test_towardzero): Likewise.
35827 (ctan_test_downward): Likewise.
35828 (ctan_test_upward): Likewise.
35829 (ctanh_test_tonearest): Likewise.
35830 (ctanh_test_towardzero): Likewise.
35831 (ctanh_test_downward): Likewise.
35832 (ctanh_test_upward): Likewise.
35833 (main): Call these new functions.
35834 * sysdeps/i386/fpu/libm-test-ulps: Update.
35835 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35836
ca48a46a
MF
358372012-07-03 Mike Frysinger <vapier@gentoo.org>
35838
35839 * .gitignore: Delete /ports entry.
35840
9d63d37d
AJ
358412012-07-03 Andreas Jaeger <aj@suse.de>
35842
35843 * po/bg.po: Update from translation team.
35844 * po/cs.po: Likewise.
35845 * po/de.po: Likewise.
35846 * po/hr.po: Likewise.
35847 * po/nl.pl: Likewise.
35848 * po/pl.po: Likewise.
35849 * po/vi.po: Likewise.
35850
370ca3d2
JM
358512012-07-03 Joseph Myers <joseph@codesourcery.com>
35852
95f5a9a8
JM
35853 * Makeconfig [!+link] (+link-before-libc): New variable.
35854 [!+link] (+link-after-libc): Likewise.
35855 [!+link] (+link-tests): Likewise.
35856 [!+link] (+link): Define in terms of $(+link-before-libc) and
35857 $(+link-after-libc).
35858 [!+link-static] (+link-static-before-libc): New variable.
35859 [!+link-static] (+link-static-after-libc): Likewise.
35860 [!+link-static] (+link-static-tests): Likewise.
35861 [!+link-static] (+link-static): Define in terms of
35862 $(+link-static-before-libc) and $(+link-static-after-libc).
35863 [build-shared] (link-libc-before-gnulib): New variable.
35864 [build-shared] (link-libc-tests): Likewise.
35865 [build-shared] (link-libc): Define in terms of
35866 $(link-libc-before-gnulib).
35867 [!build-shared] (link-libc-tests): New variable.
35868 (link-libc-static-tests): New variable.
35869 [!gnulib] (gnulib-arch): New variable.
35870 [!gnulib] (gnulib-tests): Likewise.
35871 [!gnulib] (static-gnulib-arch): Likewise.
35872 [!gnulib] (static-gnulib-tests): Likewise.
35873 [!gnulib] (gnulib): Use $(gnulib-arch). Do not use $(libgcc_eh).
35874 Define with "=" instead of ":=".
35875 [!gnulib] (static-gnulib): Use $(static-gnulib-arch). Do not use
35876 -lgcc_eh $(libunwind). Define with "=" instead of ":=".
35877 * Rules (binaries-all-notests): New variable.
35878 (binaries-all-tests): Likewise.
35879 (binaries-static-notests): Likewise.
35880 (binaries-static-tests): Likewise.
35881 (binaries-all): Define using $(binaries-all-notests) and
35882 $(binaries-all-tests).
35883 (binaries-static): Define using $(binaries-static-notests) and
35884 $(binaries-static-tests).
35885 (binaries-shared-tests): New variable.
35886 (binaries-shared-notests): Likewise.
35887 (binaries-shared): Remove variable.
35888 ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
35889 ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
35890 ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
35891 ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
35892 ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
35893 ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
35894 * elf/Makefile (sln-modules): New variable.
35895 (extra-objs): Add $(sln-modules:=.o).
35896 (ldconfig-modules): Add static-stubs.
35897 ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
35898 * elf/static-stubs.c: New file.
35899
7a845b2c
JM
35900 [BZ #14283]
35901 * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
35902 by 7 not 8 to examine high bit of fractional part. Use volatile
35903 variables when splitting into final array of floats if
35904 __FLT_EVAL_METHOD__ != 0.
35905 * math/libm-test.inc (cos_test): Add another test.
35906 (sin_test): Likewise.
35907 * sysdeps/i386/fpu/libm-test-ulps: Update.
35908
e2283f38
JM
35909 [BZ #14273]
35910 * math/libm-test.inc (cosh_test): Add more tests.
35911
370ca3d2
JM
35912 * version.h (RELEASE): Set to "development".
35913 (VERSION): Set to "2.16.90".
35914
ee9247c3
CD
359152012-06-30 Carlos O'Donell <carlos_odonell@mentor.com>
35916
35917 * NEWS: Update copyright. Remove last-updated date.
35918 Mention math library bug fixes and timezone data changes.
35919 * README: Mention GNU/Hurd, x32, and HPPA support status.
35920
4648c381
TS
359212012-06-28 Thomas Schwinge <thomas@codesourcery.com>
35922
35923 * manual/contrib.texi (Contributors): Sort alphabetically by last name.
35924
aac78a43
AJ
359252012-06-27 Andreas Jaeger <aj@suse.de>
35926
35927 * manual/contrib.texi (Contributors): Add Samuel Thibault.
35928
ed3dbfad
AJ
359292012-06-25 Andreas Jaeger <aj@suse.de>
35930
35931 * sysdeps/s390/fpu/libm-test-ulps: Update.
35932
4d0ee855
AS
359332012-06-23 Andreas Schwab <schwab@linux-m68k.org>
35934 Thomas Schwinge <thomas@codesourcery.com>
35935
35936 * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
35937 * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
35938 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
35939 fanotify_mark.
35940
af1bce34
TS
359412012-06-23 Thomas Schwinge <thomas@codesourcery.com>
35942
a9fa33ba
TS
35943 * sysdeps/mach/start.c: Remove file.
35944 * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
35945 * sysdeps/i386/init-first.c: Fix comment regarding start.S.
35946 * sysdeps/sh/init-first.c: Likewise.
35947
58f902b8
TS
35948 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
35949 registers for frame unwinding purposes, add CFI directives.
35950 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
35951 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise
35952 * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
35953 Likewise.
35954
1518f58b
TS
35955 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
35956 __fortify_fail returning.
35957 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
35958
db9b5059
TS
35959 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
35960 sysdeps/sh/____longjmp_chk.S.
35961 * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
35962 on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
35963 * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
35964 (gen-as-const-headers): Append sigaltstack-offsets.sym.
35965
967705fe
TS
35966 * sysdeps/sh/abort-instr.h: New file.
35967 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
35968 process in case exit returns.
35969
a9def8c4
TS
35970 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
35971 initialize the GOT register before use.
35972
2a649725
TS
35973 * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
35974 calculation of ARGC > 4.
35975
af1bce34
TS
35976 * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
35977 meaningful names to some local labels.
35978
d230f50a
KK
359792012-06-22 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
35980 Kaz Kojima <kkojima@rr.iij4u.or.jp>
35981
35982 * sysdeps/unix/sysv/linux/sh/bits/atomic.h
35983 (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
35984 (__arch_compare_and_exchange_val_16_acq): Likewise.
35985 (__arch_compare_and_exchange_val_32_acq): Likewise.
35986 (atomic_exchange_and_add): Fix gUSA sequence.
35987 (atomic_add): Likewise.
35988 (atomic_add_negative): Likewise.
35989 (atomic_add_zero): Likewise.
35990 (atomic_bit_test_set): Likewise.
35991
0479b305
AS
359922012-06-22 Andreas Schwab <schwab@redhat.com>
35993
35994 [BZ #13579]
35995 * include/link.h (struct link_map): Add l_free_initfini.
35996 * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
35997 l_initfini.
35998 * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
35999 * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
36000 * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
36001 set.
36002
0e3933b9
CD
360032012-06-22 Carlos O'Donell <carlos_odonell@mentor.com>
36004
36005 * configure.in: Use AC_LANG_SOURCE.
36006 * configure: Regenerate.
36007
4248b1b1
RM
360082012-06-22 Roland McGrath <roland@hack.frob.com>
36009
36010 * configure.in (libc_cv_localstatedir): New substituted variable.
36011 * configure: Regenerated.
36012 * config.make.in (localstatedir): New variable, substituted from
36013 libc_cv_localstatedir.
36014 * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
36015 * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
36016 ${prefix}/var to /var when we change ${prefix}/etc to /etc.
36017 * sysdeps/gnu/configure: Regenerated.
36018
006dd861
JL
360192012-06-21 Jeff Law <law@redhat.com>
36020
36021 [BZ #14277]
36022 * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
36023 free. Simplify list management for _LIBC case.
36024
79662d42
JM
360252012-06-21 Joseph Myers <joseph@codesourcery.com>
36026
b7abb4bf
JM
36027 [BZ #14273]
36028 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
36029 Clear sign bit of 64-bit integer value before comparing against
36030 overflow value.
36031
79662d42
JM
36032 * sysdeps/mach/configure: Regenerated.
36033
1f150908
L
360342012-06-21 H.J. Lu <hongjiu.lu@intel.com>
36035
36036 [BZ #14278]
36037 * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
36038
28363bbf
JL
360392012-06-21 Jeff Law <law@redhat.com>
36040
36041 [BZ #13882]
36042 * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection. Use
36043 uint16_t for elements in the "seen" array to avoid char overflows.
80784193 36044 * elf/dl-fini.c (_dl_sort_fini): Likewise.
28363bbf
JL
36045 * elf/dl-open.c (dl_open_worker): Likewise.
36046
09615db4
CD
360472012-06-21 Carlos O'Donell <carlos_odonell@mentor.com>
36048
36049 * scripts/list-sources.sh: Scan PORTS for translations.
36050 * po/libc.pot: Regenerated.
36051
2174c6dd
AJ
360522012-06-21 Andreas Jaeger <aj@suse.de>
36053
36054 [BZ #12194]
36055 * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
36056 warning.
36057 * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
36058 * bits/byteswap-16.h (__bswap_16): Likewise.
36059 * bits/byteswap.h (__bswap_constant_16): Likewise.
36060
3ee947b1
L
360612012-06-18 H.J. Lu <hongjiu.lu@intel.com>
36062
36063 [BZ #14117]
a2f34833
L
36064 * sysdeps/i386/fpu_control.h: Removed.
36065 * sysdeps/x86_64/fpu_control.h: Moved to ...
36066 * sysdeps/x86/fpu_control.h: Here.
36067
3ee947b1
L
36068 * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
36069 (_FPU_SETCW): Likewise.
36070
ed1825f8
L
360712012-06-15 H.J. Lu <hongjiu.lu@intel.com>
36072
25f1282a
L
36073 [BZ #14117]
36074 * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
36075 * sysdeps/x86/fpu/bits/mathinline.h: This.
36076 * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
36077
ed1825f8
L
36078 [BZ #14050]
36079 [BZ #14117]
36080 * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
36081 functions if __x86_64__ is defined.
36082
36d54b74
CLT
360832012-06-15 Chung-Lin Tang <cltang@codesourcery.com>
36084
36085 * string/endian.h: Add !__ASSEMBLER__ condition for including
36086 conversion interfaces.
36087
10285c21
JM
360882012-06-15 Joseph Myers <joseph@codesourcery.com>
36089
36090 [BZ #14241]
36091 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
36092 of ABS(x) in calculating zero to negative powers other than odd
36093 integers.
36094 * math/libm-test.inc (pow_test): Add more tests.
36095
06c5abbd
AJ
360962012-06-15 Andreas Jaeger <aj@suse.de>
36097
36098 * manual/contrib.texi (Contributors): Update entry of Liubov
36099 Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
36100 Machado Filho.
36101
a3aeac40
CH
361022012-06-15 Cyril Hrubis <metan@ucw.cz>
36103
36104 * string/string.h: Add __wur to GNU version of strerror_r.
36105
49bdf4c1
L
361062012-06-14 H.J. Lu <hongjiu.lu@intel.com>
36107
36108 [BZ #14229]
36109 * string/Makefile (tests): Add tst-strtok_r.
36110 * string/tst-strtok_r.c: New file.
36111 * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
36112 RAX_LP/RDX_LP on SAVE_PTR.
36113
834f9b8d
RM
361142012-06-14 Roland McGrath <roland@hack.frob.com>
36115
36116 * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
36117
75fa1921
JM
361182012-06-14 Joseph Myers <joseph@codesourcery.com>
36119
36120 * libm_test.inc (csqrt_test): Allow more spurious underflow
36121 exceptions.
36122 (j0_test): Likewise.
36123 (j1_test): Likewise.
36124 (y0_test): Likewise.
36125 (y1_test): Likewise.
36126
771766df
CD
361272012-06-13 Carlos O'Donell <carlos_odonell@mentor.com>
36128
36129 * po/Makefile (libc.pot): Use UTF-8 charset.
36130
ceb9e56b
PP
361312012-06-13 Paul Pluzhnikov <ppluzhnikov@google.com>
36132
36133 [BZ #14210]
36134 Suppress sign-conversion warning from FD_SET.
36135 See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
36136 * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
36137 not unsigned long int.
36138 * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
36139
ddb28975
L
361402012-06-12 H.J. Lu <hongjiu.lu@intel.com>
36141
36142 [BZ #14050]
36143 [BZ #14117]
36144 * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
36145 __extern_always_inline instead of __extern_inline.
36146 (__signbitf): Support __SSE2_MATH__ and C++ namespace.
36147 (__signbit): Likewise.
36148 (__signbitl): Support C++ namespace.
36149 (lrintf): New inline function.
36150 (lrint): Likewise.
36151 (llrintf): Likewise.
36152 (llrint): Likewise.
36153 (fmaxf): Likewise.
36154 (fmax): Likewise.
36155 (fminf): Likewise.
36156 (fmin): Likewise.
36157 (rint): Likewise.
36158 (rintf): Likewise.
36159 (ceil): Likewise.
36160 (ceilf): Likewise.
36161 (floor): Likewise.
36162 (floorf): Likewise.
36163 (nearbyint): Likewise.
36164 (nearbyintf): Likewise.
36165
d7b4fb26
TS
361662012-06-12 Thomas Schwinge <thomas@codesourcery.com>
36167
36168 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
36169 non-default versions.
36170
eb55f5c2
RM
361712012-06-11 Roland McGrath <roland@hack.frob.com>
36172
36173 [BZ #14218]
36174 * manual/argp.texi (Argp): Reword argp_parse description slightly.
36175
366af02c
TS
361762012-06-09 Thomas Schwinge <thomas@codesourcery.com>
36177
99ff6e5c
TS
36178 * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
36179 (FE_UPWARD, FE_DOWNWARD): Don't define.
36180 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
36181 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
36182
366af02c
TS
36183 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
36184 reading it.
36185 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
36186 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
36187
793ea851
KK
361882012-06-09 Kaz Kojima <kkojima@rr.iij4u.or.jp>
36189
36190 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
36191 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
36192 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
36193 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
36194
a728a38f
L
361952012-06-06 H.J. Lu <hongjiu.lu@intel.com>
36196
36197 [BZ #14117]
c08010c7
L
36198 * sysdeps/i386/fpu/bits/fenv.h: Removed.
36199 * sysdeps/i386/fpu/Implies: New file.
36200 * sysdeps/x86_64/fpu/Implies: Likewise.
36201 * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
36202 * sysdeps/x86/fpu/bits/fenv.h: This.
36203
a728a38f
L
36204 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
36205 __SSE_MATH__.
36206
6e230d11
SP
362072012-06-06 Siddhesh Poyarekar <siddhesh@redhat.com>
36208
36209 [BZ #14134]
36210 * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
36211 character 0xffff that matches the last element of the
36212 conversion table.
36213
1b671feb
AZ
362142012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
36215
36216 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
36217 fmodl commit.
36218
6043738b
AZ
362192012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
36220
36221 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
36222 values higher than 25.6283.
36223
34ae0b32
AZ
362242012-06-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
36225
36226 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
36227 subnormal exponent extraction and add some __builtin_expect.
36228 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
36229 Fix for subnormal mantissa calculation.
36230
1214ec8f
MF
362312012-06-04 Mike Frysinger <vapier@gentoo.org>
36232
36233 * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
36234 cpu2 is -1 and errno is not ENOSYS.
36235
f3d1f93c
L
362362012-06-04 H.J. Lu <hongjiu.lu@intel.com>
36237
36238 [BZ #14117]
0e4a3cd7
L
36239 * sysdeps/i386/i486/bits/string.h: Renamed to ...
36240 * sysdeps/x86/bits/string.h: This.
36241 * sysdeps/x86_64/bits/string.h: Removed.
36242
6704c645
L
36243 * sysdeps/i386/i486/bits/string.h: Define inline functions only
36244 if not compiling for x86-64, but compiling for >= i486.
36245
48495318
L
36246 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
36247 * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
36248
14adcbfc
L
36249 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
36250 New macro from Linux kernel 3.4.0.
36251 (FP_XSTATE_MAGIC2): Likewise.
36252 (FP_XSTATE_MAGIC2_SIZE): Likewise.
36253 (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
36254 (struct _fpx_sw_bytes): New struct.
36255 (struct _xsave_hdr): Likewise.
36256 (struct _ymmh_state): Likewise.
36257 (struct _xstate): Likewise.
36258
68e408ab
L
36259 * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
36260 * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
36261 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
36262 * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
36263 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
36264 * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
36265
f3d1f93c
L
36266 * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
36267 * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
36268 * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
36269 * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
36270 * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
36271 * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
36272
d9dc34cd
TMQMF
362732012-06-04 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
36274
36275 [BZ #13743]
36276 * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
36277 * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
36278 (sysdep_headers): Include sys/platform/ppc.h.
36279 * sysdeps/powerpc/test-gettimebase.c: Test for
36280 __ppc_get_timebase() to catch future ISA opcode/insn changes.
36281 * manual/Makefile (appendices): Include platform.texi.
36282 * manual/contrib.texi (Contributors): Update @node pointers.
36283 * manual/maint.texi (Maintenance): Likewise.
36284 (Platform): New node.
36285 * manual/platform.texi: New file. Document the new features.
36286
4af3879c
SP
362872012-06-04 Siddhesh Poyarekar <siddhesh@redhat.com>
36288 Jakub Jelinek <jakub@redhat.com>
36289
36290 [BZ #14188]
36291 * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
36292 where __builtin_expect is unavailable.
36293
2fd6ff13
DM
362942012-06-03 David S. Miller <davem@davemloft.net>
36295
36296 * stdlib/longlong.h: Updated from GCC.
36297
173f7220
AS
362982012-06-02 Andreas Schwab <schwab@linux-m68k.org>
36299
36300 [BZ #14042]
36301 * sysdeps/powerpc/powerpc32/mcount.c: New file.
36302 * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
36303 __mcount_internal.
36304 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
36305 (GLIBC_2.16): Likewise.
36306
f34a1c6f
L
363072012-06-01 H.J. Lu <hongjiu.lu@intel.com>
36308
36309 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
36310
88a4576f
JM
363112012-06-01 Joseph Myers <joseph@codesourcery.com>
36312
ea32bcdd
JM
36313 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
36314 (default-abi): New variable.
36315 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
36316 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
36317 variable.
36318 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
36319 Likewise.
36320 * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
36321 Likewise.
36322 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
36323 Likewise.
36324
88a4576f
JM
36325 * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
36326 definition. Document in comment.
36327
402fe938
DM
363282012-06-01 David S. Miller <davem@davemloft.net>
36329
36330 * stdlib/longlong.h: Updated from GCC.
36331
3553723f
L
363322012-06-01 H.J. Lu <hongjiu.lu@intel.com>
36333
36334 [BZ #14117]
3bd872c4
L
36335 * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
36336 Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
36337 sys/debugreg.h sys/io.h here.
36338 * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
36339 sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
36340 sys/io.h.
36341 * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
36342 Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
36343 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
36344 * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
36345 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
36346 * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
36347
3553723f
L
36348 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
36349 Define only if __x86_64__ is defined.
36350
4842e4fe
JM
363512012-06-01 Joseph Myers <joseph@codesourcery.com>
36352
c5bfe3d5
JM
36353 [BZ #14048]
36354 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
36355 Use int64_t for variable i.
36356 * math/libm-test.inc (fmod_test): Add more tests.
36357
4842e4fe
JM
36358 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
36359 z computation is not scheduled after fetestexcept.
36360 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
36361 Use math_force_eval instead of asm to ensure calculation scheduled
36362 before exception test.
36363 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
36364 Ensure a1 + u.d computation is not scheduled after fetestexcept.
36365
efb73488
AJ
363662012-06-01 Aurelien Jarno <aurelien@aurel32.net>
36367
36368 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
36369 computation is not scheduled after fetestexcept.
36370
29bcce7c
L
363712012-06-01 H.J. Lu <hongjiu.lu@intel.com>
36372
36373 [BZ #14117]
36374 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
36375 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
36376
73a68f94
AZ
363772012-06-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
36378
36379 * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
36380 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
36381
67b6df78
L
363822012-05-31 H.J. Lu <hongjiu.lu@intel.com>
36383
edf2933a 36384 [BZ #14117]
ebc64a18
L
36385 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
36386 <bits/wordsize.h>.
36387 (__WCHAR_MIN): Support __WORDSIZE == 64.
36388 (__WCHAR_MAX): Likewise.
36389
edf2933a
L
36390 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
36391 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
36392
57c6cf40
L
36393 [BZ #14183]
36394 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
36395 Defined with __SWORD_TYPE if __x86_64__ isn't defined.
36396
67b6df78 36397 [BZ #14117]
8eb6281e
L
36398 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
36399 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
36400
aac639f4
L
36401 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
36402 * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
36403
67b6df78
L
36404 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
36405 Defined to 1 if __x86_64__ isn't defined.
36406 (_STAT_VER_LINUX_OLD): New.
36407 (st_atime): Remove duplicate.
36408 (st_mtime): Likewise.
36409 (st_ctime): Likewise.
36410
1c2cfe81
DM
364112012-05-31 David S. Miller <davem@davemloft.net>
36412
36413 * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
36414 entries.
36415
5be8418c
AS
364162012-06-01 Andreas Schwab <schwab@linux-m68k.org>
36417
e7725326
AS
36418 * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
36419 gen-libm-test.pl.
36420
5be8418c
AS
36421 [BZ #14132]
36422 * elf/dl-reloc.c: Include <_itoa.h>.
36423 (_dl_reloc_bad_type): Remove use of INTUSE.
36424 * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
36425 * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
36426 * stdio-common/psiginfo.c (psiginfo): Likewise.
36427 * stdio-common/psignal.c (psignal): Likewise.
36428 * string/strsignal.c (strsignal): Likewise.
36429 * include/signal.h (_sys_siglist): Declare hidden proto.
36430 * stdio-common/itoa-digits.c: Include <_itoa.h>. Replace
36431 INTVARDEF with libc_hidden_data_def.
36432 * stdio-common/itoa-udigits.c: Likewise.
36433 * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
36434 (_itoa_lower_digits_internal): Remove declaration.
36435 (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
36436 * sysdeps/gnu/siglist.c (_sys_siglist_internal)
36437 (_sys_sigabbrev_internal): Remove aliases.
36438 (_sys_siglist): Define hidden alias.
36439
507352f1
MT
364402012-05-31 Markus Trippelsdorf <markus@trippelsdorf.de>
36441
36442 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
36443 bits/sysctl.h.
36444
42bbb1c3
L
364452012-05-31 H.J. Lu <hongjiu.lu@intel.com>
36446
36447 [BZ #14117]
6bd784b6
L
36448 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
36449 * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
36450
8bca20f0
L
36451 * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
36452 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
36453 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
36454 * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
36455 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
36456 * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
36457
f9e890a9
L
36458 * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
36459 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
36460 * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
36461
471101a1
L
36462 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
36463 with __addr.
36464 (insw): Likewise.
36465 (insl): Likewise.
36466 (outsb): Likewise.
36467 (outsw): Likewise.
36468 (outsl): Likewise.
36469
6451c862
L
36470 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
36471 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
36472 * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
36473
a254b8c9
L
36474 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
36475 * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
36476 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
36477 * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
36478 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
36479 * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
36480
b8dfdd92
L
36481 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
36482 * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
36483
578cd270
L
36484 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
36485 * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
36486
de662f5f
L
36487 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
36488 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
36489 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
36490
25653439
L
36491 * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
36492 * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
36493 to ...
36494 * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
36495
6bad24a0
L
36496 * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
36497 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
36498 * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
36499
42bbb1c3
L
36500 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
36501 for x86-64.
36502 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
36503
2d10d547
JM
365042012-05-31 Joseph Myers <joseph@codesourcery.com>
36505
36506 * math/math.h (M_El): Use two more decimal places.
36507 (M_LOG2El): Likewise.
36508 (M_LOG10El): Likewise.
36509 (M_LN2l): Likewise.
36510 (M_LN10l): Likewise.
36511 (M_PIl): Likewise.
36512 (M_PI_2l): Likewise.
36513 (M_PI_4l): Likewise.
36514 (M_1_PIl): Likewise.
36515 (M_2_PIl): Likewise.
36516 (M_2_SQRTPIl): Likewise.
36517 (M_SQRT2l): Likewise.
36518 (M_SQRT1_2l): Likewise.
36519
f230c29b
DM
365202012-05-31 David S. Miller <davem@davemloft.net>
36521
36522 * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
36523 values between float registers.
36524 * sysdeps/sparc/sparc64/memset.S: Likewise.
36525 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
36526
fed806c3
MF
365272012-05-31 Mike Frysinger <vapier@gentoo.org>
36528
36529 * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
36530 -D_FORTIFY_SOURCE=1.
36531 (CPPFLAGS-tst-longjmp_chk.c): Define.
36532 (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
36533 (CPPFLAGS-tst-longjmp_chk2.c): Define.
36534 * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
36535 CFLAGS-tst-wchar-h.c.
36536
30917259
MP
365372012-05-31 Marek Polacek <polacek@redhat.com>
36538
36539 [BZ #14132]
36540 * include/mntent.h (__setmntent_internal, __getmntent_r_internal
36541 __endmntent_internal): Remove declaration.
36542 (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
36543 (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
36544 * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
36545
1c58d5dc
DM
365462012-05-30 David S. Miller <davem@davemloft.net>
36547
36548 * sysdeps/sparc/sparc32/soft-fp/q_util.c
36549 (___Q_simulate_exceptions): Use real FP ops rather than writing
36550 into the %fsr.
36551 * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
36552 Likewise.
36553
7dc00e0d
L
365542012-05-30 H.J. Lu <hongjiu.lu@intel.com>
36555
36556 [BZ #14117]
0bd53985
L
36557 * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
36558 * sysdeps/x86/bits/xtitypes.h: This.
36559
3a257e66
L
36560 * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
36561 * sysdeps/x86/bits/wordsize.h: This.
36562
62f62904
L
36563 * sysdeps/i386/bits/huge_vall.h: Renamed to ...
36564 * sysdeps/x86/bits/huge_vall.h: This.
36565
404fe9d9
L
36566 * sysdeps/i386/bits/select.h: Removed.
36567 * sysdeps/x86_64/bits/select.h: Renamed to ...
36568 * sysdeps/x86/bits/select.h: This.
36569
d48d0446
L
36570 * sysdeps/i386/bits/setjmp.h: Removed.
36571 * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
36572 * sysdeps/x86/bits/setjmp.h: This.
36573
7dc00e0d
L
36574 * sysdeps/i386/bits/mathdef.h: Removed.
36575 * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
36576 * sysdeps/x86/bits/mathdef.h: This.
36577
03277f8f
AS
365782012-05-30 Andreas Schwab <schwab@linux-m68k.org>
36579
36580 [BZ #14132]
36581 * include/sys/socket.h (__connect_internal)
36582 (__libc_sa_len_internal): Remove declaration.
36583 (__connect, __libc_sa_len): Declare hidden_proto.
36584 (SA_LEN): Remove use of INTUSE.
36585 * socket/connect.c: Add libc_hidden_def.
36586 * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
36587 * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
36588 * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
36589 alias.
36590 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
36591 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
36592 * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
36593 of adding _internal alias.
36594
13764867
L
365952012-05-30 H.J. Lu <hongjiu.lu@intel.com>
36596
36597 [BZ #14117]
6bd97696
L
36598 * sysdeps/i386/bits/link.h: Removed.
36599 * sysdeps/i386/bits/linkmap.h: Likewise.
36600 * sysdeps/x86_64/bits/link.h: Renamed to ...
36601 * sysdeps/x86/bits/link.h: This.
36602 * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
36603 * sysdeps/x86/bits/linkmap.h: This.
36604
f726f0bb
L
36605 * sysdeps/i386/bits/endian.h: Removed.
36606 * sysdeps/x86_64/bits/endian.h: Renamed to ...
36607 * sysdeps/x86/bits/endian.h: This.
36608
13764867
L
36609 * sysdeps/i386/bits/byteswap.h: Removed.
36610 * sysdeps/i386/bits/byteswap-16.h: Likewise.
36611 * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
36612 * sysdeps/x86/bits/byteswap.h: This.
36613 * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
36614 * sysdeps/x86/bits/byteswap-16.h: This.
36615 * sysdeps/i386/Implies: Add x86.
36616 * sysdeps/x86_64/Implies: Likewise.
36617
ae251b0b
DM
366182012-05-30 David S. Miller <davem@davemloft.net>
36619
36620 * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
36621 (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
36622 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
36623 (FP_TRAPPING_EXCEPTIONS): Define.
36624 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
36625 (FP_TRAPPING_EXCEPTIONS): Define.
36626 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
36627 subnormals only when inexact has been signalled or underflow
36628 exceptions are enabled.
36629 (_FP_PACK_CANONICAL): Likewise.
36630
d5c90867
L
366312012-05-30 H.J. Lu <hongjiu.lu@intel.com>
36632
36633 [BZ #14183]
36634 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
36635 Defined with __UWORD_TYPE if __x86_64__ isn't defined.
36636
63f1549e
RH
366372012-05-30 Richard Henderson <rth@twiddle.net>
36638
8d8f2279
RH
36639 * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
36640 with #ifndef NOT_IN_libc.
36641
63f1549e
RH
36642 * scripts/abilist.awk: Accept 8 fields. Handle Alpha functions
36643 marked to avoid plt entry.
36644
0ab0291b
L
366452012-05-30 H.J. Lu <hongjiu.lu@intel.com>
36646
36647 [BZ #14112]
36648 * Makeconfig (default-abi): New macro.
36649 (abi-includes): Likewise.
36650 ($(common-objpfx)soversions.mk): Remove WORDSIZE check. Use
36651 $(abi-$(default-abi)-lib-soname) for soname if defined.
36652 ($(common-objpfx)gnu/lib-names.stmp): Generate from
36653 abi-variants.
36654 * Makefile (installed-stubs): Likewise.
36655 * include/stubs-biarch.h: Removed.
36656 * scripts/lib-names.awk: Only handle one library at a time.
36657 * scripts/soversions.awk: Remove WORDSIZE support.
36658 * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
36659 entries.
36660 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
36661 Removed.
36662 (syscall-list-default-condition): Likewise.
36663 (syscall-list-default-condition): Likewise.
36664 (syscall-list-includes): Likewise.
36665 ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
36666 syscall-list-* with abi-*. Handle undefined abi-variants.
36667 * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
36668 * sysdeps/unix/sysv/linux/i386/Implies: New file.
36669 * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
36670 * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
36671 * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
36672 * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
36673 Removed.
36674 (syscall-list-32-options): Likewise.
36675 (syscall-list-32-condition): Likewise.
36676 (syscall-list-64-options): Likewise.
36677 (syscall-list-64-condition): Likewise.
36678 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
36679 macro.
36680 * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
36681 Renamed to ...
36682 (abi-*): This.
36683 (abi-64-ld-soname): New macro.
36684 * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
36685 * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
36686 Renamed to ...
36687 (abi-*): This.
36688 * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
36689 * sysdeps/x86_64/x32/shlib-versions: Likewise.
36690
4da0431d
JM
366912012-05-30 Joseph Myers <joseph@codesourcery.com>
36692
3a85279c
JM
36693 * sysdeps/unix/sysv/linux/kernel-features.h
36694 (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
36695 * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
36696 include <kernel-features.h>.
36697 [!__NR_ftruncate64]: Remove conditional code.
36698 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
36699 [__NR_ftruncate64]: Make code unconditional.
36700 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
36701 * sysdeps/unix/sysv/linux/truncate64.c: Do not
36702 include <kernel-features.h>.
36703 [!__NR_ftruncate64]: Remove conditional code.
36704 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
36705 [__NR_ftruncate64]: Make code unconditional.
36706 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
36707 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
36708 include <kernel-features.h>.
36709 [!__NR_ftruncate64]: Remove conditional code.
36710 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
36711 [__NR_ftruncate64]: Make code unconditional.
36712 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
36713 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
36714 include <kernel-features.h>.
36715 [!__NR_ftruncate64]: Remove conditional code.
36716 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
36717 [__NR_ftruncate64]: Make code unconditional.
36718 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
36719
4da0431d
JM
36720 * configure.in (libc_cv_fpie): Weaken to a compile test using
36721 LIBC_TRY_CC_OPTION.
36722 * configure: Regenerated.
36723
11ef492c
AK
367242012-05-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
36725
36726 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
36727 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
36728 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
36729 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
36730 Refreshed.
36731 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
36732 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
36733 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
36734 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
36735 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
36736 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
36737 Refreshed.
36738
d66ef399
DM
367392012-05-27 David S. Miller <davem@davemloft.net>
36740
36741 * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
36742 (___Q_zero): New.
36743 (__Q_simulate_exceptions): Return void. Change to simulate
36744 exceptions by writing into the %fsr.
36745 * sysdeps/sparc/sparc64/soft-fp/qp_util.c
36746 (__Qp_handle_exceptions): Likewise.
36747 (numbers): Delete.
36748 * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
36749 __Qp_handle_exceptions.
36750 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
36751 __Qp_handle_exceptions.
36752 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
36753 as unused and give dummy FP_RND_NEAREST initializer.
36754 (FP_INHIBIT_RESULTS): Define.
36755 (___Q_simulate_exceptions): Update declaration.
36756 (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
36757 formatting.
36758 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
36759 as unused and give dummy FP_RND_NEAREST initializer.
36760 (__Qp_handle_exceptions): Update declaration.
36761 (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
36762 formatting.
36763
04fb54b5
TS
367642012-05-27 Thomas Schwinge <thomas@codesourcery.com>
36765
36766 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
36767 the temporary FPU control word.
36768 * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
36769 * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
36770 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
36771 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
36772 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
36773 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
36774 * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
36775 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
36776 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
36777 * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
36778 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
36779
3f99608f
KK
367802012-05-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
36781
36782 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
36783 fields.
36784
65a4de4e
CLT
367852012-05-27 Chung-Lin Tang <cltang@codesourcery.com>
36786
36787 * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
36788 * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
36789 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
36790 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
36791 Likewise.
36792 * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
36793 * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
36794 Likewise.
36795
15749d40
UD
367962012-05-27 Ulrich Drepper <drepper@gmail.com>
36797
36798 * po/h.po: Update from translation team.
36799
25dbcb27
AS
368002012-05-26 Andreas Schwab <schwab@linux-m68k.org>
36801
3d3f8e55
AS
36802 * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
36803
25dbcb27
AS
36804 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
36805 handling of denormals.
36806 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
36807 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
36808 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
36809 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
36810 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
36811 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
36812 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
36813 Likewise.
36814
7ad47a80 368152012-05-26 Marek Polacek <polacek@redhat.com>
d81dcb35
MP
36816
36817 [BZ #14152]
36818 * math/libm-test.inc (fma_test): Don't always expect underflow
36819 exception.
36820
9c6ea9fa
SP
368212012-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
36822
36823 [BZ #12416]
36824 * elf/tst-execstack.c: Include stackinfo.h.
36825 (do_test): Adjust test case to ensure that pthread_getattr_np
36826 behaviour remains the same after marking stack executable.
36827
a8239222
JM
368282012-05-25 Joseph Myers <joseph@codesourcery.com>
36829
36830 * sysdeps/unix/sysv/linux/kernel-features.h
36831 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
36832 * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
36833 kernel-features.h.
36834 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
36835 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
36836 * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
36837 kernel-features.h.
36838 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
36839 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
36840
918b5606
L
368412012-05-25 H.J. Lu <hongjiu.lu@intel.com>
36842
36843 * configure.in: Define the default includes to being none.
36844 * configure: Regenerated.
36845
3a097cc7
RM
368462012-05-25 Roland McGrath <roland@hack.frob.com>
36847
8422c9a5
RM
36848 * sysdeps/x86_64/__longjmp.S: Add a static probe here.
36849 * sysdeps/x86_64/setjmp.S: Likewise.
36850 * sysdeps/i386/bsd-setjmp.S: Likewise.
36851 * sysdeps/i386/bsd-_setjmp.S: Likewise.
36852 * sysdeps/i386/setjmp.S: Likewise.
36853 * sysdeps/i386/__longjmp.S: Likewise.
36854 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
36855 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
36856
3a097cc7
RM
36857 * include/stap-probe.h: New file.
36858 * configure.in: Handle --enable-systemtap.
36859 * configure: Regenerated.
36860 * config.h.in (USE_STAP_PROBE): New #undef.
36861 * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
36862 * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
36863 * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
36864
21708942
JM
368652012-05-25 Joseph Myers <joseph@codesourcery.com>
36866
36867 [BZ #13717]
36868 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
36869 to 2.4.0 where earlier.
36870 * sysdeps/unix/sysv/linux/configure: Regenerated.
36871 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
36872 <kernel-features.h>.
36873 [__ASSUME_32BITUIDS]: Make code unconditional.
36874 [!__ASSUME_32BITUIDS]: Remove conditional code.
36875 * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
36876 <kernel-features.h>.
36877 [__ASSUME_32BITUIDS]: Make code unconditional.
36878 [!__ASSUME_32BITUIDS]: Remove conditional code.
36879 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
36880 [__ASSUME_32BITUIDS]: Make code unconditional.
36881 (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
36882 * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
36883 <kernel-features.h>.
36884 [__ASSUME_32BITUIDS]: Make code unconditional.
36885 [!__ASSUME_32BITUIDS]: Remove conditional code.
36886 * sysdeps/unix/sysv/linux/i386/geteuid.c: Do not include
36887 <kernel-features.h>.
36888 [__ASSUME_32BITUIDS]: Make code unconditional.
36889 [!__ASSUME_32BITUIDS]: Remove conditional code.
36890 * sysdeps/unix/sysv/linux/i386/getgid.c: Do not include
36891 <kernel-features.h>.
36892 [__ASSUME_32BITUIDS]: Make code unconditional.
36893 [!__ASSUME_32BITUIDS]: Remove conditional code.
36894 * sysdeps/unix/sysv/linux/i386/getgroups.c: Do not include
36895 <kernel-features.h>.
36896 [__ASSUME_32BITUIDS]: Make code unconditional.
36897 [!__ASSUME_32BITUIDS]: Remove conditional code.
36898 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
36899 <kernel-features.h>.
36900 [__ASSUME_32BITUIDS]: Make code unconditional.
36901 [!__ASSUME_32BITUIDS]: Remove conditional code.
36902 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
36903 <kernel-features.h>.
36904 [__ASSUME_32BITUIDS]: Make code unconditional.
36905 [!__ASSUME_32BITUIDS]: Remove conditional code.
36906 * sysdeps/unix/sysv/linux/i386/getuid.c: Do not include
36907 <kernel-features.h>.
36908 [__ASSUME_32BITUIDS]: Make code unconditional.
36909 [!__ASSUME_32BITUIDS]: Remove conditional code.
36910 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
36911 <kernel-features.h>.
36912 [__ASSUME_32BITUIDS]: Make code unconditional.
36913 [!__ASSUME_32BITUIDS]: Remove conditional code.
36914 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
36915 <kernel-features.h>.
36916 [__ASSUME_32BITUIDS]: Make code unconditional.
36917 [!__ASSUME_32BITUIDS]: Remove conditional code.
36918 * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include
36919 <kernel-features.h>.
36920 [__ASSUME_32BITUIDS]: Make code unconditional.
36921 [!__ASSUME_32BITUIDS]: Remove conditional code.
36922 * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
36923 <kernel-features.h>.
36924 [__NR_setresgid] (__setresgid): Do not declare.
36925 [__ASSUME_32BITUIDS]: Make code unconditional.
36926 [!__ASSUME_32BITUIDS]: Remove conditional code.
36927 * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
36928 <kernel-features.h>.
36929 [__NR_setresuid] (__setresuid): Do not declare.
36930 [__ASSUME_32BITUIDS]: Make code unconditional.
36931 [!__ASSUME_32BITUIDS]: Remove conditional code.
36932 * sysdeps/unix/sysv/linux/i386/setfsgid.c: Do not include
36933 <kernel-features.h>.
36934 [__ASSUME_32BITUIDS]: Make code unconditional.
36935 [!__ASSUME_32BITUIDS]: Remove conditional code.
36936 * sysdeps/unix/sysv/linux/i386/setfsuid.c: Do not include
36937 <kernel-features.h>.
36938 [__ASSUME_32BITUIDS]: Make code unconditional.
36939 [!__ASSUME_32BITUIDS]: Remove conditional code.
36940 * sysdeps/unix/sysv/linux/i386/setgid.c: Do not include
36941 <kernel-features.h>.
36942 [__ASSUME_32BITUIDS]: Make code unconditional.
36943 [!__ASSUME_32BITUIDS]: Remove conditional code.
36944 * sysdeps/unix/sysv/linux/i386/setgroups.c: Do not include
36945 <kernel-features.h>.
36946 [__ASSUME_32BITUIDS]: Make code unconditional.
36947 [!__ASSUME_32BITUIDS]: Remove conditional code.
36948 * sysdeps/unix/sysv/linux/i386/setregid.c: Do not include
36949 <kernel-features.h>.
36950 [__ASSUME_32BITUIDS]: Make code unconditional.
36951 [!__ASSUME_32BITUIDS]: Remove conditional code.
36952 * sysdeps/unix/sysv/linux/i386/setresgid.c: Do not include
36953 <kernel-features.h>.
36954 [__ASSUME_32BITUIDS]: Make code unconditional.
36955 [!__ASSUME_32BITUIDS]: Remove conditional code.
36956 * sysdeps/unix/sysv/linux/i386/setresuid.c: Do not include
36957 <kernel-features.h>.
36958 [__ASSUME_32BITUIDS]: Make code unconditional.
36959 [!__ASSUME_32BITUIDS]: Remove conditional code.
36960 * sysdeps/unix/sysv/linux/i386/setreuid.c: Do not include
36961 <kernel-features.h>.
36962 [__ASSUME_32BITUIDS]: Make code unconditional.
36963 [!__ASSUME_32BITUIDS]: Remove conditional code.
36964 * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
36965 <kernel-features.h>.
36966 [__ASSUME_32BITUIDS]: Make code unconditional.
36967 [!__ASSUME_32BITUIDS]: Remove conditional code.
36968 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
36969 <kernel-features.h>.
36970 [__ASSUME_32BITUIDS]: Make code unconditional.
36971 [!__ASSUME_32BITUIDS]: Remove conditional code.
36972 * sysdeps/unix/sysv/linux/kernel-features.h
36973 (__ASSUME_SETRESUID_SYSCALL): Remove.
36974 (__ASSUME_SETRESGID_SYSCALL): Likewise.
36975 (__ASSUME_32BITUIDS): Likewise.
36976 (__ASSUME_LDT_WORKS): Likewise.
36977 (__ASSUME_O_DIRECTORY): Likewise.
36978 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
36979 architecture but not kernel version.
36980 (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
36981 (__ASSUME_MMAP2_SYSCALL): Likewise.
36982 (__ASSUME_STAT64_SYSCALL): Likewise.
36983 (__ASSUME_IPC64): Likewise.
36984 * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
36985 <kernel-features.h>.
36986 [__ASSUME_32BITUIDS]: Make code unconditional.
36987 [!__ASSUME_32BITUIDS]: Remove conditional code.
36988 * sysdeps/unix/sysv/linux/opendir.c: Do not include
36989 <kernel-features.h>.
36990 [__ASSUME_O_DIRECTORY]: Make code unconditional.
36991 * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
36992 132096]: Remove conditional code.
36993 [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
36994 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
36995 <kernel-features.h>.
36996 [__ASSUME_32BITUIDS]: Make code unconditional.
36997 [!__ASSUME_32BITUIDS]: Remove conditional code.
36998 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
36999 <kernel-features.h>.
37000 [__ASSUME_32BITUIDS]: Make code unconditional.
37001 [!__ASSUME_32BITUIDS]: Remove conditional code.
37002 * sysdeps/unix/sysv/linux/setegid.c: Do not include
37003 <kernel-features.h>.
37004 [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
37005 unconditional.
37006 (__setresgid): Do not declare.
37007 [__ASSUME_32BITUIDS]: Make code unconditional.
37008 [!__ASSUME_32BITUIDS]: Remove conditional code.
37009 * sysdeps/unix/sysv/linux/seteuid.c: Do not include
37010 <kernel-features.h>.
37011 [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
37012 unconditional.
37013 (__setresuid): Do not declare.
37014 [__ASSUME_32BITUIDS]: Make code unconditional.
37015 [!__ASSUME_32BITUIDS]: Remove conditional code.
37016 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
37017 <kernel-features.h>.
37018 [__ASSUME_32BITUIDS]: Make code unconditional.
37019 [!__ASSUME_32BITUIDS]: Remove conditional code.
37020 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
37021 <kernel-features.h>.
37022 [__ASSUME_32BITUIDS]: Make code unconditional.
37023 [!__ASSUME_32BITUIDS]: Remove conditional code.
37024
a386f1cc
RH
370252012-05-25 Richard Henderson <rth@twiddle.net>
37026
37027 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
37028 dl_hwcap to ifunc resolver.
37029 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
37030 elf_ifunc_invoke.
37031 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
37032 dl_hwcap to ifunc resolver.
37033 * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
37034
b6550497
JM
370352012-05-24 Joseph Myers <joseph@codesourcery.com>
37036
37037 [BZ #14153]
37038 * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
37039 for |x| <= 2**-26, not 2**-57.
37040 * math/libm-test.inc (acos_test): Do not allow spurious underflow
37041 exception.
37042
b0bc23a1
JL
370432012-05-24 Jeff Law <law@redhat.com>
37044
37045 * stdio-common/Makefile (tests): Add bug25.
37046 * stdio-common/bug25.c: New test.
37047
347c92e9
L
370482012-05-24 H.J. Lu <hongjiu.lu@intel.com>
37049
37050 [BZ #13576]
37051 * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
37052 multiple of MALLOC_ALIGNMENT in size.
37053 (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
37054
6bcc8b3f
JM
370552012-05-24 Joseph Myers <joseph@codesourcery.com>
37056
37057 * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
37058 Require >= 256.
37059 (FILENAME_MAX): Use macro-int-constant.
37060 (FOPEN_MAX): Use macro-int-constant. Require >= 8.
37061 (_IOFBF): Use macro-int-constant.
37062 (_IOLBF): Likewise.
37063 (_IONBF): Likewise.
37064 (SEEK_CUR): Likewise.
37065 (SEEK_END): Likewise.
37066 (SEEK_SET): Likewise.
37067 (TMP_MAX): Likewise.
37068 (EOF): Use macro-int-constant. Require < 0.
37069 (NULL): Use macro-constant. Require == 0.
37070 (stdin): Require type to be FILE *.
37071 (stdout): Likewise.
37072 (stderr): Likewise.
37073 * conform/data/stdlib.h-data (EXIT_FAILURE): Use
37074 macro-int-constant.
37075 (EXIT_SUCCESS): Likewise.
37076 (NULL): Use macro-constant. Require == 0.
37077 (RAND_MAX): Use macro-int-constant.
37078 [ISO99 || ISO11] (lldiv_t): Require also for these standards.
37079 [C99-based standards] (strtof): Require function.
37080 [C99-based standards] (strtold): Likewise.
37081 [C99-based standards] (strtoll): Likewise.
37082 [C99-based standards] (strtoull): Likewise.
37083 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
37084 [ISO || ISO99 || ISO11] (limits.h): Likewise.
37085 [ISO || ISO99 || ISO11] (math.h): Likewise.
37086 [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
37087 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
37088 [ISO || ISO99 || ISO11] (*_t): Do not allow.
37089
d18ea0c5
AS
370902012-05-24 Andreas Schwab <schwab@linux-m68k.org>
37091
37092 [BZ #14132]
56d25bb8
AS
37093 * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
37094 * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
37095 * intl/dgettext.c (DCGETTEXT): Likewise.
37096 * intl/gettext.c (DCGETTEXT): Likewise.
37097 * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
37098 * posix/regex_internal.h (gettext): Likewise.
37099 * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
37100 Remove declaration.
37101 * include/argz.h (__argz_count_internal)
37102 (__argz_stringify_internal): Remove declaration.
37103 (__argz_count, __argz_stringify): Declare hidden proto.
37104 * intl/dcgettext.c: Remove use of INTDEF.
37105 * string/argz-count.c: Replace INTDEF with libc_hidden_def.
37106 * string/argz-stringify.c: Likewise.
37107 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
37108 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
37109 Declare hidden proto.
d18ea0c5
AS
37110 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
37111 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
37112 Declare hidden proto.
37113 * include/stdio.h (__asprintf_internal): Don't declare.
37114 (__asprintf): Don't define as macro. Declare hidden proto.
37115 * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
37116 (__fsetlocking): Declare hidden proto.
37117 * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
37118 (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
37119 hidden proto.
37120 (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
37121 (_IO_setlinebuf): Remove use of INTUSE.
37122 (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
37123 (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
37124 (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
37125 Remove declaration.
37126 * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
37127 (_IO_do_flush): Remove use of INTUSE.
37128 (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
37129 (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
37130 (_IO_adjust_column, _IO_least_wmarker)
37131 (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
37132 (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
37133 (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
37134 (_IO_default_doallocate, _IO_wdefault_doallocate)
37135 (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
37136 (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
37137 (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
37138 (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
37139 (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
37140 (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
37141 (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
37142 (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
37143 (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
37144 (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
37145 (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
37146 (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
37147 (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
37148 proto.
37149 (_IO_flush_all_internal, _IO_adjust_column_internal)
37150 (_IO_default_uflow_internal, _IO_default_finish_internal)
37151 (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
37152 (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
37153 (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
37154 (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
37155 (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
37156 (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
37157 (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
37158 (_IO_file_xsgetn_internal, _IO_file_stat_internal)
37159 (_IO_file_close_internal, _IO_file_close_it_internal)
37160 (_IO_file_underflow_internal, _IO_file_overflow_internal)
37161 (_IO_file_init_internal, _IO_file_attach_internal)
37162 (_IO_file_fopen_internal, _IO_file_read_internal)
37163 (_IO_file_sync_internal, _IO_file_seek_internal)
37164 (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
37165 (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
37166 (_IO_str_underflow_internal, _IO_str_overflow_internal)
37167 (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
37168 (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
37169 (_IO_list_all_internal, _IO_link_in_internal)
37170 (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
37171 (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
37172 (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
37173 (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
37174 (_IO_do_write_internal, _IO_padn_internal)
37175 (_IO_getline_info_internal, _IO_getline_internal)
37176 (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
37177 (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
37178 (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
37179 (_IO_vfscanf_internal, _IO_vfprintf_internal)
37180 (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
37181 (_IO_init_internal, _IO_un_link_internal): Don't declare.
37182 * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
37183 with libc_hidden_ver, remove use of INTUSE.
37184 * libio/genops.c: Likewise.
37185 * libio/freopen.c: Likewise.
37186 * libio/freopen64.c: Likewise.
37187 * libio/iofclose.c: Likewise.
37188 * libio/iofdopen.c: Likewise.
37189 * libio/iofflush.c: Likewise.
37190 * libio/iofflush_u.c: Likewise.
37191 * libio/iofgets.c: Likewise.
37192 * libio/iofgets_u.c: Likewise.
37193 * libio/iofopen.c: Likewise.
37194 * libio/iofopncook.c: Likewise.
37195 * libio/iofread.c: Likewise.
37196 * libio/iofread_u.c: Likewise.
37197 * libio/ioftell.c: Likewise.
37198 * libio/iofwrite.c: Likewise.
37199 * libio/iogetline.c: Likewise.
37200 * libio/iogets.c: Likewise.
37201 * libio/iogetwline.c: Likewise.
37202 * libio/iopadn.c: Likewise.
37203 * libio/iopopen.c: Likewise.
37204 * libio/ioseekoff.c: Likewise.
37205 * libio/ioseekpos.c: Likewise.
37206 * libio/iosetbuffer.c: Likewise.
37207 * libio/iosetvbuf.c: Likewise.
37208 * libio/ioungetc.c: Likewise.
37209 * libio/ioungetwc.c: Likewise.
37210 * libio/iovdprintf.c: Likewise.
37211 * libio/iovsprintf.c: Likewise.
37212 * libio/iovsscanf.c: Likewise.
37213 * libio/memstream.c: Likewise.
37214 * libio/obprintf.c: Likewise.
37215 * libio/oldfileops.c: Likewise.
37216 * libio/oldiofclose.c: Likewise.
37217 * libio/oldiofdopen.c: Likewise.
37218 * libio/oldiofopen.c: Likewise.
37219 * libio/oldiopopen.c: Likewise.
37220 * libio/oldstdfiles.c: Likewise.
37221 * libio/putc.c: Likewise.
37222 * libio/setbuf.c: Likewise.
37223 * libio/setlinebuf.c: Likewise.
37224 * libio/stdfiles.c: Likewise.
37225 * libio/strops.c: Likewise.
37226 * libio/vasprintf.c: Likewise.
37227 * libio/vscanf.c: Likewise.
37228 * libio/vsnprintf.c: Likewise.
37229 * libio/vswprintf.c: Likewise.
37230 * libio/wfiledoalloc.c: Likewise.
37231 * libio/wfileops.c: Likewise.
37232 * libio/wgenops.c: Likewise.
37233 * libio/wmemstream.c: Likewise.
37234 * libio/wstrops.c: Likewise.
37235 * libio/__fpurge.c: Likewise.
37236 * libio/__fsetlocking.c: Likewise.
37237 * assert/assert.c: Likewise.
37238 * debug/fgets_chk.c: Likewise.
37239 * debug/fgets_u_chk.c: Likewise.
37240 * debug/fread_chk.c: Likewise.
37241 * debug/fread_u_chk.c: Likewise.
37242 * debug/gets_chk.c: Likewise.
37243 * debug/obprintf_chk.c: Likewise.
37244 * debug/vasprintf_chk.c: Likewise.
37245 * debug/vdprintf_chk.c: Likewise.
37246 * debug/vsnprintf_chk.c: Likewise.
37247 * debug/vsprintf_chk.c: Likewise.
37248 * malloc/mtrace.c: Likewise.
37249 * misc/error.c: Likewise.
37250 * misc/syslog.c: Likewise.
37251 * stdio-common/asprintf.c: Likewise.
37252 * stdio-common/fxprintf.c: Likewise.
37253 * stdio-common/getw.c: Likewise.
37254 * stdio-common/isoc99_fscanf.c: Likewise.
37255 * stdio-common/isoc99_scanf.c: Likewise.
37256 * stdio-common/isoc99_vfscanf.c: Likewise.
37257 * stdio-common/isoc99_vscanf.c: Likewise.
37258 * stdio-common/isoc99_vsscanf.c: Likewise.
37259 * stdio-common/printf-prs.c: Likewise.
37260 * stdio-common/printf_fp.c: Likewise.
37261 * stdio-common/printf_fphex.c: Likewise.
37262 * stdio-common/printf_size.c: Likewise.
37263 * stdio-common/putw.c: Likewise.
37264 * stdio-common/scanf.c: Likewise.
37265 * stdio-common/sprintf.c: Likewise.
37266 * stdio-common/tmpfile.c: Likewise.
37267 * stdio-common/vfprintf.c: Likewise.
37268 * stdio-common/vfscanf.c: Likewise.
37269 * stdlib/strfmon_l.c: Likewise.
37270 * sunrpc/openchild.c: Likewise.
37271 * sunrpc/xdr_stdio.c: Likewise.
37272 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
37273 * sysdeps/mach/hurd/tmpfile.c: Likewise.
37274
d6c33fda
RM
372752012-05-24 Roland McGrath <roland@hack.frob.com>
37276
c1487492
RM
37277 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
37278
37279 * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
37280 in the third column, to generate for the shared library an IFUNC
37281 that uses _dl_vdso_vsym.
37282 * Makerules (COMPILE.c, compile-stdin.c): New variables.
37283 * Makeconfig (object-suffixes-noshared): New variable.
37284
37285 * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
37286 (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
37287 (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
37288 (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
37289
d6c33fda
RM
37290 [BZ #14132]
37291 * include/sys/time.h (__gettimeofday): Remove macro.
37292 (__gettimeofday, gettimeofday): Add libc_hidden_proto.
37293 * time/gettimeofday.c (__gettimeofday): Remove #undef.
37294 Remove INTDEF.
37295 (__gettimeofday): Add libc_hidden_def.
37296 (gettimeofday): Add libc_hidden_weak.
37297 * sysdeps/mach/gettimeofday.c: Likewise.
37298 * sysdeps/posix/gettimeofday.c: Likewise.
37299 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
37300 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
37301 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
37302 (__gettimeofday_internal): Remove strong_alias.
37303 (__gettimeofday): Add libc_hidden_def.
37304 (gettimeofday): Add libc_hidden_weak.
37305 * sysdeps/unix/syscalls.list (gettimeofday):
37306 Remove __gettimeofday_internal alias.
37307
b5a2bbe6
L
373082012-05-24 Daniel Jacobowitz <drow@false.org>
37309 H.J. Lu <hongjiu.lu@intel.com>
37310
37311 [BZ #12495]
37312 * malloc/malloc.c (SMALLBIN_CORRECTION): New.
37313 (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
37314 (largebin_index_32_big): New.
37315 (largebin_index): Use it for 16-byte alignment.
37316 (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ. Don't update
37317 correction with front_misalign.
37318
cfba4fda
L
373192012-05-24 H.J. Lu <hongjiu.lu@intel.com>
37320
7f907421
L
37321 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
37322 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
37323 Likewise.
37324 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
37325 Likewise.
37326 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
37327 Likewise.
37328 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
37329 Likewise.
37330 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
37331 Likewise.
37332 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
37333 Likewise.
37334 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
37335 Likewise.
37336 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
37337 Likewise.
37338 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
37339 Likewise.
37340 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
37341 Likewise.
37342 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
37343 Likewise.
37344 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
37345 Likewise.
37346
cfba4fda
L
37347 * scripts/data/c++-types-x32-linux-gnu.data: New file.
37348 * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
37349
80bad0cc
JM
373502012-05-24 Joseph Myers <joseph@codesourcery.com>
37351
7a25eb06
JM
37352 [BZ #10846]
37353 [BZ #14036]
37354 * math/libm-test.inc (exp_test): Add test from bug 14036.
37355 (pow_test): Add test from bug 10846.
37356
795405f9
JM
37357 * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
37358 and other flags.
37359 (special_function): Do not include flags in test name.
37360 (parse_args): Likewise.
37361 * sysdeps/i386/fpu/libm-test-ulps: Update.
37362 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
37363 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
37364 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
37365 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37366
80bad0cc
JM
37367 * math/gen-libm-test.pl (%beautify): Add entries for underflow
37368 exceptions.
37369 * math/libm-test.inc ("Philosophy"): Update comment about
37370 exception testing.
37371 (UNDERFLOW_EXCEPTION): New macro.
37372 (UNDERFLOW_EXCEPTION_OK): Likewise.
37373 (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
37374 (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
37375 (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
37376 (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
37377 (INVALID_EXCEPTION_OK): Update value.
37378 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
37379 (OVERFLOW_EXCEPTION_OK): Likewise.
37380 (IGNORE_ZERO_INF_SIGN): Likewise.
37381 (test_exceptions): Handle underflow exceptions.
37382 (acos_test): Update for underflow exception expectations.
37383 (cexp_test): Likewise.
37384 (clog_test): Likewise.
37385 (clog10_test): Likewise.
37386 (csqrt_test): Likewise.
37387 (ctan_test): Likewise.
37388 (ctanh_test): Likewise.
37389 (exp_test): Likewise.
37390 (exp10_test): Likewise.
37391 (exp2_test): Likewise.
37392 (expm1_test): Likewise.
37393 (fma_test): Likewise.
37394 (j0_test): Likewise.
37395 (jn_test): Likewise.
37396 (nexttoward_test): Likewise.
37397 (pow_test): Likewise.
37398 (scalbn_test): Likewise.
37399 (scalbln_test): Likewise.
37400 (tan_test): Likewise.
37401 (y1_test): Likewise.
37402 * sysdeps/i386/fpu/libm-test-ulps: Update.
37403 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37404
9e0e3d0b
DM
374052012-05-23 David S. Miller <davem@davemloft.net>
37406
37407 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
37408 (__libc_sigaction): Remove unused local variables.
37409
ccd0a08f
L
374102012-05-23 H.J. Lu <hongjiu.lu@intel.com>
37411
37412 * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
37413
62bdf9a6
PE
374142012-05-23 Paul Eggert <eggert@cs.ucla.edu>
37415
f8591f80
PE
37416 mktime: avoid signed integer overflow
37417 * time/mktime.c (__mktime_internal): Do not mishandle the case
37418 where diff == INT_MIN.
37419
94c7d826
PE
37420 mktime: simplify computation of average
37421 * time/mktime.c (ranged_convert): Use new time_t_avg function
37422 instead of rolling our own (probably-slower) code.
37423
ce73d683
PE
37424 mktime: do not assume signed right shift propagates sign bit
37425 * time/mktime.c (isdst_differ): New static function.
37426 (__mktime_internal): No need to normalize tm_isdst now.
37427 (__mktime_internal, not_equal_tm): Use isdst_differ to compare
37428 tm_isdst values.
37429
72a22e59
PE
37430 mktime: merge another wrapv change from gnulib
37431 * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
37432 from some compilers.
37433
68605433
PE
37434 mktime: remove incorrect attempt at unusual arithmetics
37435 * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
37436 The code didn't really work on such machines anyway.
37437 (TYPE_MINIMUM): Assume two's complement.
37438 (twos_complement_arithmetic): Verify that long_int and time_t
37439 are two's complement (or unsigned, in the latter case).
37440
03cf7fe3
PE
37441 mktime: check signed shifts on long_int and time_t, too
37442 * time/mktime.c (SHR): Check that shifts work as desired
37443 on the types long_int and time_t too, as SHR is used on
37444 such types.
37445
f04dfbc2
PE
37446 mktime: do not assume 'long' is wide enough
37447 * time/mktime.c (verify): Move decl up.
37448 (long_int): New type.
37449 (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
37450 to remove assumption in the code that 'long' is wide enough to
37451 store year values. This assumption is not true on x32 and on
37452 some non-glibc platforms.
37453
62bdf9a6
PE
37454 mktime: merge wrapv change from gnulib
37455 * time/mktime.c (WRAPV): New macro.
37456 (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
37457 (guess_time_tm, __mktime_internal): Do not assume that signed
37458 integer overflow wraps around; modern compilers generate code
37459 where this assumption is no longer valid.
37460
5e292e4f
L
374612012-05-23 H.J. Lu <hongjiu.lu@intel.com>
37462
37463 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
37464 Replace "jmp L(pseudo_end)" with "ret".
37465 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
37466 Likewise.
37467
8caf8c87
AJ
374682012-05-23 Andreas Jaeger <aj@suse.de>
37469
37470 * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
37471 * sysdeps/unix/sysv/linux/poll.c: Remove file.
37472
1a09dc56
AJ
374732012-05-23 Andreas Jaeger <aj@suse.de>
37474 Maximilian Attems <max@stro.at>
37475
37476 * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
37477 New macros.
37478
1c87aba0
L
374792012-05-23 H.J. Lu <hongjiu.lu@intel.com>
37480
37481 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
37482 code so that pseudo_end is just ret and the stack pointer is
37483 correct also for static library in error case.
37484
40e45bd5
JM
374852012-05-23 Joseph Myers <joseph@codesourcery.com>
37486
c2670533
JM
37487 * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
37488 move to syscalls.list.
37489 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
37490 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
37491 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
37492 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
37493
40e45bd5
JM
37494 * manual/install.texi (Running make install): Do not mention Linux
37495 kernel version for which pt_chown is not needed.
37496 (Linux): Do not mention problems with nscd with 2.0 kernels.
37497 * INSTALL: Regenerated.
37498
be08eda5
AJ
374992012-05-23 Andreas Jaeger <aj@suse.de>
37500
37501 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
37502 (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
37503 macro.
37504 * sysdeps/unix/sysv/linux/s390/bits/mman.h
37505 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
37506 * sysdeps/unix/sysv/linux/sh/bits/mman.h
37507 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
37508 * sysdeps/unix/sysv/linux/i386/bits/mman.h
37509 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
37510 * sysdeps/unix/sysv/linux/sparc/bits/mman.h
37511 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
37512 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
37513 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
37514 * sysdeps/unix/sysv/linux/bits/in.h
37515 (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
37516
a6a056bb
RM
375172012-05-22 Roland McGrath <roland@hack.frob.com>
37518
37519 * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
37520 (PREPARE_VERSION): Just use assert instead, it will be elided
37521 under [NDEBUG] anyway.
37522
c9009328
L
375232012-05-22 H.J. Lu <hongjiu.lu@intel.com>
37524
37525 * sysdeps/unix/sysv/linux/Makefile: Include
37526 $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
cb191f23 37527 (sysdep_routines): Remove sysctl.
c9009328
L
37528 * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
37529 * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
37530 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
37531 * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
37532 * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
37533
73338355
AJ
375342012-05-22 Andreas Jaeger <aj@suse.de>
37535
37536 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
37537 that pseudo_end is just ret and the stack pointer is correct also
37538 for static library in error case.
37539
d44638b0
PP
375402012-05-22 Paul Pluzhnikov <ppluzhnikov@google.com>
37541
37542 [BZ #14122]
37543 * nss/nsswitch.c (defconfig_entries): New variable.
37544 (__nss_database_lookup): Don't leak defconfig entries.
37545 (nss_parse_service_list): Don't leak on error paths.
37546 (free_database_entries): New function.
37547 (free_defconfig): New function.
37548 (free_mem): Move common code to free_database_entries.
37549
31a39bd8
L
375502012-05-22 H.J. Lu <hongjiu.lu@intel.com>
37551
da0331a8
L
37552 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
37553 Add arch_prctl.
37554 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
37555
31a39bd8
L
37556 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
37557 (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
37558 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
37559 New macro.
37560 (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
37561 (INTERNAL_SYSCALL_TYPES): Likewise.
37562 (LOAD_ARGS_TYPES_[1-6]): Likewise.
37563 (LOAD_REGS_TYPES_[1-6]): Likewise.
37564 (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
37565 (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
37566
45470df3
AZ
375672012-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
37568
37569 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
37570 copysignl for GLIBC_2_0.
37571 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
37572 finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
37573 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
37574 logbl for GLIBC_2_0.
37575 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
37576 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
37577
98a61bcb
L
375782012-05-22 H.J. Lu <hongjiu.lu@intel.com>
37579
a4f6e481
L
37580 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
37581 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
37582
f63d5db6
L
37583 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
37584 Use "neg %eax".
37585
98a61bcb
L
37586 * time/mktime.c: Update copyright years.
37587
95770f14
PE
375882012-05-22 Paul Eggert <eggert@cs.ucla.edu>
37589
6226efbd
PE
37590 mktime: merge comment-quoting-style change from gnulib
37591 * time/mktime.c: Quote 'like this' in comments.
37592 The GNU coding standards suggest that we no longer quote `like this',
37593 as "`" and "'" are typically rendered asymmetrically nowadays.
37594 The typical gnulib style is to quote 'like this' when quoting
37595 code, and "like this" when quoting English.
37596
b99e4f78
PE
37597 * time/mktime.c (compile-command): Add "-I.".
37598
643e01e6
PE
37599 mktime: merge mktime-internal.h change from gnulib
37600 * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
37601
2554247d
PE
37602 mktime: merge time_r change from gnulib
37603 * time/mktime.c [!_LIBC]: Do not include "time_r.h".
37604
826dd0ab
PE
37605 mktime: merge DEBUG change from gnulib
37606 * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
37607 case system <time.h> has a #define.
37608
bd83aabe
PE
37609 mktime: merge <sys/types.h> change from gnulib
37610 * time/mktime.c: Do not include <sys/types.h>; no longer needed,
37611 since <time.t> is now guaranteed to define time_t.
37612
95770f14
PE
37613 mktime: merge HAVE_CONFIG_H change from gnulib
37614 * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
37615
5e1a27a9
L
376162012-05-22 H.J. Lu <hongjiu.lu@intel.com>
37617
0e44a77e
L
37618 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
37619 Use "neg %eax".
37620
5e1a27a9
L
37621 * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
37622 __rlim_t cast.
37623 (struct rusage): Use anonymous union to pad each field to
37624 __syscall_slong_t.
37625
46259bec
DM
376262012-05-21 David S. Miller <davem@davemloft.net>
37627
37628 * Makefules (o-iterator): Remove .s cases.
37629 (compile-command.s): Delete.
37630 (COMPILE.s): Delete.
37631 * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
37632
59f0c22e
JM
376332012-05-21 Joseph Myers <joseph@codesourcery.com>
37634
37635 * configure.in (libc_cv_predef_stack_protector): Only consider
37636 "foobar" and "__stack_chk_fail" lines in libc_undefs.
37637 * configure: Regenerated.
37638
20c07380
L
376392012-05-21 H.J. Lu <hongjiu.lu@intel.com>
37640
bbb3154b
L
37641 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
37642 New macro. Use R*LP on int and pointer.
37643 (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
c5b3a2c0
L
37644 * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
37645 * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
bbb3154b
L
37646 * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
37647
20c07380
L
37648 * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
37649 [__WORDSIZE_TIME64_COMPAT32] instead of
37650 [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
37651 (struct utmp): Likewise.
37652 * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
37653 * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
37654 Renamed to ...
37655 (__WORDSIZE_TIME64_COMPAT32): This.
37656 * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
37657 * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
37658 * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
37659 * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
37660 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
37661 (__WORDSIZE_TIME64_COMPAT32): New macro.
37662
d8d1017e
AJ
376632012-05-21 Andreas Jaeger <aj@suse.de>
37664
37665 * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
37666 only if [SHARED]. Add prototype for __wcschr_ia32.
37667
6c7fb145
RM
376682012-05-21 Roland McGrath <roland@hack.frob.com>
37669
37670 * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
37671 of %rbp unmolested in the jmp_buf while mangling the low bits.
37672 * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
37673 unmolested high bits of %rbp while demangling the low bits.
37674 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
37675
66274218
AJ
376762012-05-21 Andreas Jaeger <aj@suse.de>
37677
07c58f8f
AJ
37678 * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
37679 * sunrpc/svc_simple.c: Use it for registerrpc.
37680 * sunrpc/xcrypt.c: Use it for passwd2des.
37681
66274218
AJ
37682 * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
37683
61f65140
L
376842012-05-21 H.J. Lu <hongjiu.lu@intel.com>
37685
37686 * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
37687 Don't define if [__SYSCALL_WORDSIZE != 32].
37688 * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
37689 New macro.
37690
5fefb436
AJ
376912012-05-21 Bruno Haible <bruno@clisp.org>
37692 Andreas Jaeger <aj@suse.de>
37693
37694 [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
37695 * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
37696 inptr and inend for must_buffer_ch.
37697 * wcsmbs/tst-mbsnrtowcs.c: Remove file.
37698 * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
37699 * stdio-common/Makefile (tests): Remove bug15.
37700 (bug15-ENV): Remove macro.
37701 * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
37702 anymore.
37703
d8e272ab
AJ
377042012-05-19 Andreas Jaeger <aj@suse.de>
37705 Roland McGrath <roland@hack.frob.com>
37706
37707 * manual/contrib.texi: Completely rewritten. It contains now an
37708 alphabetical list of contributors and their contributions.
37709
4a56a162
RH
377102012-05-21 Richard Henderson <rth@twiddle.net>
37711
37712 * misc/getauxval.c (__getauxval): Use unsigned long int.
37713 * misc/sys/auxv.h: Include <sys/cdefs.h>.
37714 (getauxval): Use unsigned long int.
37715
d024d23c
L
377162012-05-21 H.J. Lu <hongjiu.lu@intel.com>
37717
37718 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
37719
cbc00a03
RM
377202012-05-21 Roland McGrath <roland@hack.frob.com>
37721
37722 * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
37723 (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
37724 __alignof__ (long double).
37725
478143fa
AZ
377262012-05-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
37727
37728 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
37729
c7683a6d
RH
377302012-05-20 Richard Henderson <rth@twiddle.net>
37731
37732 * misc/getauxval.c: New file.
37733 * misc/sys/auxv.h: New file.
37734 * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
37735 (routines): Add getauxval.
37736 * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
37737 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
37738 * elf/dl-sysdep.c (_dl_auxv): Remove.
37739 (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
37740 * elf/dl-support.c (_dl_auxv): New variable.
37741 (_dl_aux_init): Initialize it.
37742 * manual/startup.texi (Auxiliary Vector): New node.
37743 * sysdeps/generic/bits/hwcap.h: New file.
37744 * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
37745 * sysdeps/powerpc/sysdep.h: ... here. Include it.
37746 * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
37747 * sysdeps/sparc/sysdep.h: ... here. Include it.
37748 * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
37749 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
cbc00a03
RM
37750 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
37751 Update.
c7683a6d
RH
37752 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
37753 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
37754 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
37755 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
37756 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
37757 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
37758 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
37759 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
37760
a6f1845d
AZ
377612012-05-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
37762
37763 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
37764
cbcbe830
DM
377652012-05-19 David S. Miller <davem@davemloft.net>
37766
37767 * sysdeps/sparc/fpu/libm-test-ulps: Update.
37768
e0b16cc2
JM
377692012-05-19 Joseph Myers <joseph@codesourcery.com>
37770
37771 [BZ #14123]
37772 * math/s_ccosh.c: Include <float.h>
37773 (__ccosh): Avoid internal overflow calculating sinh and cosh
37774 values before multiplying by sin and cos values.
37775 * math/s_ccoshf.c: Likewise.
37776 * math/s_ccoshl.c: Likewise.
37777 * math/s_csin.c: Likewise.
37778 * math/s_csinf.c: Likewise.
37779 * math/s_csinl.c: Likewise.
37780 * math/s_csinh.c: Likewise.
37781 * math/s_csinhf.c: Likewise.
37782 * math/s_csinhl.c: Likewise.
37783 * math/libm-test.inc (ccos_test): Add more tests.
37784 (ccosh_test): Likewise.
37785 (csin_test): Likewise.
37786 (csinh_test): Likewise.
37787 * sysdeps/i386/fpu/libm-test-ulps: Update.
37788 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37789
6ad13e08
L
377902012-05-19 H.J. Lu <hongjiu.lu@intel.com>
37791
f66f0ce8
L
37792 * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
37793 * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
37794
6ad13e08
L
37795 * sysdeps/x86_64/x32/_itoa.h: Add comment.
37796
b1d072a7
JM
377972012-05-19 Joseph Myers <joseph@codesourcery.com>
37798
37799 * sysdeps/powerpc/soft-fp/Makefile: Remove file.
37800 * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
37801 * sysdeps/powerpc/soft-fp/Versions: Likewise.
37802 * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
37803 * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
37804 * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
37805 * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
37806 * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
37807 * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
37808 * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
37809 * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
37810 * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
37811 * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
37812 * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
37813 * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
37814 * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
37815 * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
37816 * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
37817 * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
37818 * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
37819 * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
37820 * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
37821 * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
37822 * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
37823 * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
37824 * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
37825 * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
37826 * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
37827 * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
37828 * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
37829 * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
37830
9eae47cb
AJ
378312012-05-18 Andreas Jaeger <aj@suse.de>
37832
37833 * csu/.gitignore: Delete.
37834
bb07f69f
L
378352012-05-18 H.J. Lu <hongjiu.lu@intel.com>
37836
37837 * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
37838 (timex): Use __syscall_slong_t.
37839
e6bdb741
AJ
378402012-05-18 Andreas Jaeger <aj@suse.de>
37841 Carlos O'Donell <carlos_odonell@mentor.com>
37842
37843 * manual/install.texi (Configuring and compiling): Update
37844 description about files modified in the source directory.
d6c33fda 37845 * INSTALL: Regenerated.
e6bdb741 37846
1b74487e
L
378472012-05-18 H.J. Lu <hongjiu.lu@intel.com>
37848
37849 * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
37850 value. Use "or" to set return value to -1.
37851 * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
37852 negate return value.
37853
a88b64b9
TMQMF
378542012-05-18 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
37855
57f41c40
AS
37856 * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c)
37857 (CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
a88b64b9
TMQMF
37858 failure if the compiler has Graphite support disabled.
37859 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
37860 Likewise.
57f41c40
AS
37861 * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c)
37862 (CFLAGS-memmove.c): Likewise.
a88b64b9
TMQMF
37863 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
37864 Likewise.
37865
3707636e
L
378662012-05-18 H.J. Lu <hongjiu.lu@intel.com>
37867
610b8622
L
37868 * sysdeps/x86_64/x32/_itoa.h: New file.
37869
7cd195df
L
37870 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
37871 getdents system call only if kernel and user dirents have the
37872 same d_ino and d_off.
37873
94b07d20
L
37874 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
37875 LLONG_MAX != LONG_MAX.
37876 (_itoa_word): Use _ITOA_WORD_TYPE on value.
37877 (_fitoa_word): Likewise.
37878
18298070
L
37879 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
37880 years.
37881 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
37882 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
37883 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
37884
553c7ea4
L
37885 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
37886 include <bits/wordsize.h>. Check __x86_64__ instead of
37887 __WORDSIZE.
37888 (sigcontext): Use "__uint64_t" instead of "unsigned long int"
37889 if __x86_64__ is defined. Use anonymous union on fpstate.
37890
3707636e
L
37891 * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
37892 anonymous union.
37893
b53ef01a
AS
378942012-05-18 Andreas Schwab <schwab@linux-m68k.org>
37895
37fb1dc0
AS
37896 * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
37897 INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
37898 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
37899 Refer to _rtld_local_ro instead of _rtld_global_ro.
37900 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
37901 Likewise.
37902 * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
37903 Likewise.
37904 * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
37905 Likewise.
37906 * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
37907 * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
37908 of _rtld_global, and rtld_progname instead of _dl_argv[0].
37909
b53ef01a
AS
37910 * sysdeps/powerpc/powerpc32/dl-machine.c
37911 (__elf_machine_runtime_setup) [PROF]: Don't reference
37912 _dl_prof_resolve.
37913
7a185db2
AJ
379142012-05-18 Andreas Jaeger <aj@suse.de>
37915
37916 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
37917 function only available for GCCs before 3.4 since GCC 3.4
37918 introduced a builtin.
37919 (lrint): Likewise.
37920 (llrintf): Likewise.
37921 (llrint): Likewise.
37922 (fmaxf): Likewise.
37923 (fmax): Likewise.
37924 (fminf): Likewise.
37925 (fmin): Likewise.
37926 (rint): Likewise.
37927 (rintf): Likewise.
37928 (nearbyint): Likewise.
37929 (nearbyintf): Likewise.
37930 (ceil): Likewise.
37931 (ceilf): Likewise.
37932 (floor): Likewise.
37933 (floorf): Likewise.
37934
3e5aef87
L
379352012-05-17 H.J. Lu <hongjiu.lu@intel.com>
37936
428bd707
L
37937 * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
37938 on both fields and cast pointer to __syscall_ulong_t.
37939
3e5aef87
L
37940 * bits/types.h (__fsword_t): New type.
37941 * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
37942 sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
37943 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
37944 (__FSWORD_T_TYPE): Likewise.
37945 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
37946 (__FSWORD_T_TYPE): Likewise.
37947 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
37948 (__FSWORD_T_TYPE): Likewise.
37949 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
37950 (__FSWORD_T_TYPE): Likewise.
37951 * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
37952 __SWORD_TYPE with __fsword_t.
37953 (statfs64): Likewise.
37954
1ba7c3dc
DM
379552012-05-17 David S. Miller <davem@davemloft.net>
37956
37957 * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
37958
59910343
AJ
379592012-05-17 Andreas Jaeger <aj@suse.de>
37960
37961 * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
37962 warning.
37963
2e4c1e9e
L
379642012-05-17 H.J. Lu <hongjiu.lu@intel.com>
37965
37966 * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
37967
de7f5ce7
AJ
379682012-05-17 Andreas Jaeger <aj@suse.de>
37969
37970 * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
37971 when it is used.
37972
286abc3d
CM
379732012-05-17 Chris Metcalf <cmetcalf@tilera.com>
37974
37975 * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
37976
477cc68e
L
379772012-05-17 H.J. Lu <hongjiu.lu@intel.com>
37978
37979 * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
37980 * sysdeps/x86_64/tst-mallocalign1.c: New file.
37981
1a0994f5
CD
379822012-05-17 Andreas Jaeger <aj@suse.de>
37983 Carlos O'Donell <carlos_odonell@mentor.com>
37984
37985 [BZ #14059]
37986 * sysdeps/x86_64/multiarch/init-arch.h
37987 (bit_YMM_Usable): Rename to...
37988 (bit_AVX_Usable): ... this.
37989 (bit_FMA4_Usable): New macro.
37990 (bit_XMM_state): New macro.
37991 (bit_YMM_state): New macro.
37992 [__ASSEMBLER__] (index_YMM_Usable): Rename to...
37993 [__ASSEMBLER__] (index_AVX_Usable): ... this.
37994 [__ASSEMBLER__] (index_FMA4_Usable): New macro.
37995 (CPUID_OSXSAVE): New macro.
37996 (CPUID_AVX): New macro.
37997 (CPUID_FMA4): New macro.
37998 (index_YMM_Usable): Rename to...
37999 (index_AVX_Usable): ... this.
38000 (HAS_AVX): Use HAS_ARCH_FEATURE.
38001 (HAS_FMA4): Likewise.
38002 (HAS_YMM_USABLE): Remove.
38003 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
38004 Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
38005 are present.
38006 * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
38007 * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
38008 * sysdeps/x86_64/multiarch/Makefile: Likewise.
38009 * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
38010 * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
38011
0af797de
CM
380122012-05-17 Chris Metcalf <cmetcalf@tilera.com>
38013
38014 * math/libm-test.c: Support platforms without multiple rounding modes.
38015 * math/bug-nextafter.c: Support platforms without FP exceptions.
38016 * math/bug-nexttoward.c: Likewise.
38017 * math/test-fenv.c: Likewise.
38018 * math/test-misc.c: Likewise.
38019 * stdlib/bug-getcontext.c: Likewise.
38020
e39745ff
AJ
380212012-05-17 Andreas Jaeger <aj@suse.de>
38022
38023 * manual/examples/search.c (critter_cmp): Change signature to
38024 avoid warnings.
38025 * manual/string.texi (Collation Functions): Likewise.
38026
48970aba
L
380272012-05-16 H.J. Lu <hongjiu.lu@intel.com>
38028
38029 * bits/types.h: Fold copyright years.
38030 * bits/typesizes.h: Likewise.
38031 * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
38032 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
38033 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
38034 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
38035 * time/time.h: Likewise.
38036
bedee953
PP
380372012-05-16 Paul Pluzhnikov <ppluzhnikov@google.com>
38038
38039 [BZ #208]
38040 * malloc.c (int_mallinfo): Add parameter to accumulate statistics
38041 in instead of returning them. Return void.
38042 (__libc_mallinfo): Accumulate over all arenas.
38043 (__malloc_stats): Adjust for change in int_mallinfo interface.
38044
61653dfb
RM
380452012-05-16 Roland McGrath <roland@hack.frob.com>
38046
30b99d79
RM
38047 [BZ #10375]
38048 * configure.in (NM): Add AC_CHECK_TOOL for it.
38049 (libc_extra_cflags): New substituted variable.
38050 Check for -fstack-protector being used implicitly.
38051 * configure: Regenerated.
38052 * config.make.in (config-extra-cflags): New variable,
38053 gets @libc_extra_cflags@.
38054 * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
38055
61653dfb
RM
38056 [BZ #10375]
38057 * configure.in: Check for _FORTIFY_SOURCE being predefined.
38058 (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
38059 * configure: Regenerated.
38060 * config.make.in (CPPUNDEFS): New substituted variable.
38061 * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
38062 * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
38063 * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
38064
661768bb
L
380652012-05-16 H.J. Lu <hongjiu.lu@intel.com>
38066
38067 * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
38068 (mq_attr): Use __syscall_slong_t.
38069
d4261567
L
380702012-05-16 H.J. Lu <hongjiu.lu@intel.com>
38071
38072 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
38073 Check __x86_64__ instead of __WORDSIZE.
38074 (_STAT_VER_LINUX): Likewise.
38075 (stat): Check __x86_64__ instead of __WORDSIZE. Use
38076 __syscall_ulong_t and __syscall_slong_t.
38077 (stat64): Likewise.
38078
cf3ff365
L
380792012-05-16 H.J. Lu <hongjiu.lu@intel.com>
38080
38081 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
38082
76cf3e4d
L
380832012-05-16 H.J. Lu <hongjiu.lu@intel.com>
38084
38085 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
38086
a637753a
L
380872012-05-16 H.J. Lu <hongjiu.lu@intel.com>
38088
38089 * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
38090 __syscall_ulong_t.
38091
d5e05119
L
38092 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
38093 include <bits/wordsize.h>. Check __x86_64__ instead of
38094 __WORDSIZE.
38095 (greg_t): Use "__extension__ long long int" if __x86_64__ is
38096 defined.
38097 (mcontext_t): Replace "unsigned long" with "unsigned long long".
38098
f62ee380
L
38099 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
38100 include <bits/wordsize.h>. Check __x86_64__ instead of
38101 __WORDSIZE.
38102 (user_regs_struct): Use "__extension__ unsigned long long"
38103 instead of "unsigned long" if __x86_64__ is defined.
38104 (user): Likewise. Pad after pointer field if __ILP32__ is
38105 defined.
38106
4e124ced
JM
381072012-05-16 Joseph Myers <joseph@codesourcery.com>
38108
6a3951a0
JM
38109 * configure.in (makeinfo): Require version 4.5 or later. Allow
38110 versions 5 to 9.
38111 * configure: Regenerated.
38112 * manual/install.texi (texinfo): Increase version requirement to
38113 4.5 or later.
38114 * INSTALL: Regenerated.
38115
4e124ced
JM
38116 * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
38117
953ca31a
L
381182012-05-16 H.J. Lu <hongjiu.lu@intel.com>
38119
38120 * sysdeps/x86_64/x32/gmp-mparam.h: New file.
38121
617aca05
L
38122 * sysdeps/x86_64/x32/ffs.c: New file.
38123
5762f7ae
L
38124 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
38125 __syscall_ulong_t.
38126 (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
38127 defined. Use __syscall_ulong_t.
38128 (shminfo): Use __syscall_ulong_t.
38129 (shm_info): Likewise.
38130
a26b6856
L
38131 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
38132 __syscall_ulong_t.
38133
cb2b9ef7
L
38134 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
38135 <bits/wordsize.h>.
38136 (msgqnum_t): Use __syscall_ulong_t.
38137 (msglen_t): Likewise.
38138 (msqid_ds): Check __x86_64__ instead of __WORDSIZE. Use
38139 __syscall_ulong_t.
38140
34683bb0
L
38141 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
38142 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
38143
84a68786
L
38144 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
38145
48baa5f1
L
38146 * sysdeps/x86_64/x32/divdi3.c: New dummy file.
38147 * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
38148
180be88b
L
38149 * sysvipc/sys/msg.h (msgbuf): Replace long int with
38150 __syscall_slong_t.
38151
5e90c8ad
L
38152 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
38153 include <bits/wordsize.h>. Check __x86_64__ instead of
38154 __WORDSIZE.
38155
23dfb58b
L
38156 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
38157 "unsigned long long int" if __x86_64__ is defined.
38158 (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
38159
ce5d54b0
L
38160 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
38161 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
38162 (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
38163
13dc9eac
L
38164 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
38165 <stdint.h>.
38166 (GET_PC): Cast to uintptr_t first.
38167 (GET_FRAME): Likewise.
38168 (GET_STACK): Likewise.
38169
a7895d15
L
38170 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
38171 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
38172 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
38173 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
38174 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
38175 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
38176 * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
38177 * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
38178 * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
38179 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
38180 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
38181 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
38182 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
38183 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
38184 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
38185 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
38186 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
38187 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
38188 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
38189 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
38190 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
38191 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
38192 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
38193 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
38194 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
38195 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
38196 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
38197 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
38198 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
38199
656416c9
AS
382002012-05-16 Andreas Schwab <schwab@linux-m68k.org>
38201
5bd66283
AS
38202 * Makerules (+depfiles): Also collect depfiles from .oS in
38203 $(extra-objs).
38204 * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
38205 .oS, $(libnldbl-routines)).
38206
656416c9
AS
38207 * Makerules (native-compile-mkdep-flags): Define.
38208 * sunrpc/Makefile (extra-objs): Add $(addprefix
38209 cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
38210 ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
38211 of $(compile-mkdep-flags). Depend on $(before-compile) instead of
38212 calling $(make-target-directory).
38213
a46f2169
L
382142012-05-15 H.J. Lu <hongjiu.lu@intel.com>
38215
38216 * bits/types.h (__snseconds_t): Removed.
38217 * time/time.h (struct timespec): Replace __snseconds_t with
38218 __syscall_slong_t.
38219 * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
38220 * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
38221 Likewise.
38222 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
38223 (__SNSECONDS_T_TYPE): Likewise.
38224 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
38225 (__SNSECONDS_T_TYPE): Likewise.
38226 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
38227 (__SNSECONDS_T_TYPE): Likewise.
38228
6af6528b
L
382292012-05-15 H.J. Lu <hongjiu.lu@intel.com>
38230
38231 * sysdeps/mach/hurd/bits/typesizes.h
38232 (__SYSCALL_SLONG_TYPE): New macro.
38233 (__SYSCALL_ULONG_TYPE): Likewise.
38234
de986b56
L
382352012-05-15 H.J. Lu <hongjiu.lu@intel.com>
38236
38237 * bits/types.h (__syscall_slong_t): New type.
38238 (__syscall_ulong_t): Likewise.
38239
38240 * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
38241 (__SYSCALL_ULONG_TYPE): Likewise.
38242 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
38243 (__SYSCALL_SLONG_TYPE): Likewise.
38244 (__SYSCALL_ULONG_TYPE): Likewise.
38245 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
38246 (__SYSCALL_SLONG_TYPE): Likewise.
38247 (__SYSCALL_ULONG_TYPE): Likewise.
38248 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
38249 (__SYSCALL_SLONG_TYPE): Likewise.
38250 (__SYSCALL_ULONG_TYPE): Likewise.
38251
85736dc7
L
382522012-05-15 H.J. Lu <hongjiu.lu@intel.com>
38253
38254 * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
38255 Add sigaltstack-offsets.sym.
38256 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
38257 <sigaltstack-offsets.h>.
38258 (CALL_FAIL): Use RSP_LP to operate on stack. Use RDI_LP on
38259 longjmp_msg pointer.
38260 (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC. Use
38261 R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
38262 signal stack.
38263 * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
38264
cc03b296
JM
382652012-05-15 Joseph Myers <joseph@codesourcery.com>
38266
a9538892
JM
38267 * elf/stackguard-macros.h: Remove file.
38268 * sysdeps/generic/stackguard-macros.h: New file.
38269 * sysdeps/i386/stackguard-macros.h: Likewise.
38270 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
38271 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
38272 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
38273 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
38274 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
38275 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
38276 * sysdeps/x86_64/stackguard-macros.h: Likewise.
38277 * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
38278 <elf/stackguard-macros.h>.
38279
cc03b296
JM
38280 [BZ #14109]
38281 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
38282 __aligned__ in attribute.
38283 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
38284 (gregset_t): Likewise.
38285
93171016
L
382862012-05-15 H.J. Lu <hongjiu.lu@intel.com>
38287
38288 * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
38289 * sysdeps/x86_64/64/Implies-after: Here. New file.
38290 * sysdeps/x86_64/x32/Implies-after: New file.
38291
d86813a0
L
382922012-05-15 H.J. Lu <hongjiu.lu@intel.com>
38293
38294 * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
38295 and access return value for _dl_profile_fixup. Use R10_LP to
38296 load frame size.
38297
2953ec75
L
382982012-05-15 H.J. Lu <hongjiu.lu@intel.com>
38299
38300 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
38301
3b550e9e
L
383022012-05-15 H.J. Lu <hongjiu.lu@intel.com>
38303
38304 * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
38305 * sysdeps/x86_64/x32/sysdep.h: New file.
38306
eda41706
L
383072012-05-15 H.J. Lu <hongjiu.lu@intel.com>
38308
38309 * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
38310 * sysdeps/x86_64/setjmp.S: Likewise.
38311
9ea01d93
AZ
383122012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
38313
38314 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
38315 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
38316 * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
38317 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
38318 remove unused global constant.
38319
02a91938
CM
383202012-05-15 Chris Metcalf <cmetcalf@tilera.com>
38321
38322 * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
38323 include of <not-cancel.h>.
38324
6540185f
RM
383252012-05-15 Roland McGrath <roland@hack.frob.com>
38326
38327 * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
38328
509072a0
AJ
383292012-05-15 Jeff Law <law@redhat.com>
38330 Andreas Jaeger <aj@suse.de>
38331
38332 [BZ #13594]
38333 * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
38334 out from...
38335 * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
38336 * nscd/nscd-client.h: Add __nscd_acquire_maplock.
38337 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
38338 code changing __hst_map_handle.map.
38339
ba75122d
RM
383402012-05-15 Roland McGrath <roland@hack.frob.com>
38341
38342 * configure.in (sysnames): Look for Implies-before and Implies-after
38343 files.
38344 * configure: Regenerated.
38345
890d8bd8
L
383462012-05-15 H.J. Lu <hongjiu.lu@intel.com>
38347
38348 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
38349 8-byte data alignment with LP_SIZE alignment.
38350
f6ee6623
L
383512012-05-15 H.J. Lu <hongjiu.lu@intel.com>
38352
38353 * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
38354 into R10_LP.
38355
ea2626f6
L
383562012-05-15 H.J. Lu <hongjiu.lu@intel.com>
38357
38358 * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
38359
085f715e
L
383602012-05-15 H.J. Lu <hongjiu.lu@intel.com>
38361
38362 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
38363 * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
38364 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
38365 Likewise.
38366 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
38367
be8498fc
L
383682012-05-15 H.J. Lu <hongjiu.lu@intel.com>
38369
38370 * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
38371 (stackinfo_sub_sp): Likewise.
38372
70bc83b9
L
383732012-05-15 H.J. Lu <hongjiu.lu@intel.com>
38374
38375 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
38376 RAX_LP.
38377
9bc0b730
L
383782012-05-15 H.J. Lu <hongjiu.lu@intel.com>
38379
38380 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
38381 into R*_LP.
38382
6d2850e7
L
383832012-05-15 H.J. Lu <hongjiu.lu@intel.com>
38384
38385 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
38386 sizes into R*_LP.
38387
3cb84561
L
383882012-05-15 H.J. Lu <hongjiu.lu@intel.com>
38389
38390 * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
38391
54e2ed81
L
383922012-05-15 H.J. Lu <hongjiu.lu@intel.com>
38393
38394 * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
38395 into R11_LP and load __x86_64_shared_cache_size_half into
38396 R8_LP.
38397
8a17f349
L
383982012-05-15 H.J. Lu <hongjiu.lu@intel.com>
38399
38400 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
38401 R8_LP.
38402
777b1eea
AZ
384032012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
38404
38405 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
38406 logb for POWER7.
38407 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
38408 logbf for POWER7.
38409 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
38410 logbl for POWER7.
38411 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
38412 powerpc32/power7/fpu/s_logb.c via #include.
38413 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
38414 powerpc32/power7/fpu/s_logbf.c via #include.
38415 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
38416 powerpc32/power7/fpu/s_logbl.c via #include.
38417
d20d4ac2
JM
384182012-05-15 Joseph Myers <joseph@codesourcery.com>
38419
38420 * README.libm: Remove file.
38421
6cdef1ab
L
384222012-05-14 H.J. Lu <hongjiu.lu@intel.com>
38423
38424 * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
38425 count for x32. Use R*_LP and omit operand-size suffix.
38426
0b254d8f
L
384272012-05-14 H.J. Lu <hongjiu.lu@intel.com>
38428
38429 * shlib-versions: Move x86_64-.*-linux.* entries to ...
38430 * sysdeps/x86_64/64/shlib-versions: Here. New file.
38431 * sysdeps/x86_64/x32/shlib-versions: New file.
38432
ceb809dc
RM
384332012-05-14 Roland McGrath <roland@hack.frob.com>
38434
38435 * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
38436 * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
38437 Use _dl_fatal_printf instead.
38438
37f1abd4
JM
384392012-05-14 Joseph Myers <joseph@codesourcery.com>
38440
38441 * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
38442 set if not set by the user. Do not allow for being unset.
38443 * sysdeps/unix/sysv/linux/configure: Regenerated.
38444
11de3a33
L
384452012-05-14 H.J. Lu <hongjiu.lu@intel.com>
38446
38447 * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
38448 the `q' suffix from lea and replace .quad with ASM_ADDR.
38449
e02f153a
L
384502012-05-14 H.J. Lu <hongjiu.lu@intel.com>
38451
38452 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
38453 the `q' suffix from xor/rol instructions. Use $2*LP_SIZE+1
38454 instead of $17.
38455 (PTR_DEMANGLE): Likewise.
38456
520ae0fd
L
384572012-05-14 H.J. Lu <hongjiu.lu@intel.com>
38458
38459 * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
38460 (LP_OP): Likewise.
38461 (ASM_ADDR): Likewise.
38462 (RAX_LP): Likewise.
38463 (RBP_LP): Likewise.
38464 (RBX_LP): Likewise.
38465 (RCX_LP): Likewise.
38466 (RDI_LP): Likewise.
38467 (RSI_LP): Likewise.
38468 (RSP_LP): Likewise.
38469 (R8_LP): Likewise.
38470 (R9_LP): Likewise.
38471 (R10_LP): Likewise.
38472 (R10_LP): Likewise.
38473 (R11_LP): Likewise.
38474 (R12_LP): Likewise.
38475 (R13_LP): Likewise.
38476 (R14_LP): Likewise.
38477 (R15_LP): Likewise.
38478
b985be81
L
384792012-05-14 H.J. Lu <hongjiu.lu@intel.com>
38480
38481 * sysdeps/x86_64/x32/dl-machine.h: New file.
38482
6a4888ff
AJ
384832012-05-14 Andreas Jaeger <aj@suse.de>
38484
38485 * manual/Makefile (subdir): Remove export of subdir.
38486 (all): Remove target.
38487 (.PHONY): Remove all from list.
38488 (mkinstalldirs): Remove.
38489 (.PHONY): Remove installdirs from list.
38490 ($(inst_infodir)/libc.info): Use make-target-directory.
38491 (installdirs): Remove.
38492 (subdir_%): Remove.
38493 (glibc-targets): Remove.
38494 (lib): Remove.
38495 (stubs): Remove.
38496 ($(objpfx)stubs ../po/manual.pot): Remove.
38497 ($(objpfx)stamp%): Remove.
38498 (make-target-directory): Remove.
38499 (subdir_install): Remove.
38500 (routines): Remove.
38501 (aux): Remove.
38502 (sources): Remove.
38503 (objects): Remove.
38504 (headers): Remove.
38505
38506 [BZ #13750]
38507 * manual/.gitignore: Remove, it's not needed anymore.
38508 * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
38509 all files in it.
38510 * manual/Makefile (dvi, pdf, info, html): Depend on files in build
38511 directory.
38512 (texis): Renamed to $(objpfx)texis.
38513 (texis-path): New, contains path to generated files.
38514 (chapters.%): Use texis-path for complete path, add extra argument
38515 libc-texinfo.sh.
38516 (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
38517 (libc/index.html, summary.texi): Add $(objpfx) as prefix.
38518 (summary,texi, stamp-summary): Use complete path of
38519 files. Generate files in build dir.
38520 (dir-add.texi): Build in build dir.
38521 (libm-err.texi,stamp-libm-err): Likewise.
38522 (version.texi, stamp-version): Likewise.
38523 (.%c.texi): Likewise.
38524 (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
38525 (mostlyclean): Remove target.
38526 (realclean): Remove target.
38527 (generated): Add new variable with contents from mostlyclean and
38528 realclean, remove entries duplicated in common-mostlyclean, add
38529 stamp-libm-err and stamp-version.
38530 (generated-dirs): Add libc directory.
38531 ($(inst_infodir)/libc.info): Install files from build dir.
38532
38533 * manual/install.texi (Configuring and compiling): Adjust since
38534 the info files are not part of the tar ball anymore.
38535
7ac77294
AJ
385362012-05-14 Andreas Jaeger <aj@suse.de>
38537
38538 * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
38539 variable.
38540
ffb7875d
JM
385412012-05-14 Joseph Myers <joseph@codesourcery.com>
38542
38543 [BZ #13717]
38544 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
38545 to 2.2.0 where earlier.
38546 * sysdeps/unix/sysv/linux/configure: Regenerated.
38547 * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
38548 Remove conditional code.
38549 [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
38550 * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
38551 Remove conditional code.
38552 [!__NR_lchown]: Likewise.
38553 [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
38554 [__NR_lchown]: Likewise.
38555 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
38556 comment referencing __ASSUME_LCHOWN_SYSCALL.
38557 * sysdeps/unix/sysv/linux/i386/sigaction.c
38558 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
38559 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
38560 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
38561 Remove conditional code.
38562 [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
38563 (__protocol_available): Remove #if 0 code.
38564 * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
38565 conditional code.
38566 [__ASSUME_SIOCGIFNAME]: Make code unconditional.
38567 * sysdeps/unix/sysv/linux/kernel-features.h
38568 (__ASSUME_GETCWD_SYSCALL): Don't define.
38569 (__ASSUME_REALTIME_SIGNALS): Likewise.
38570 (__ASSUME_PREAD_SYSCALL): Likewise.
38571 (__ASSUME_PWRITE_SYSCALL): Likewise.
38572 (__ASSUME_POLL_SYSCALL): Likewise.
38573 (__ASSUME_LCHOWN_SYSCALL): Likewise.
38574 (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
38575 non-SPARC.
38576 (__ASSUME_SIOCGIFNAME): Don't define.
38577 (__ASSUME_MSG_NOSIGNAL): Likewise.
38578 (__ASSUME_SENDFILE): Define unconditionally.
38579 (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
38580 * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
38581 conditional code.
38582 [__ASSUME_POLL_SYSCALL]: Make code unconditional.
38583 * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
38584 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
38585 (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
38586 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
38587 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
38588 (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
38589 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
38590 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
38591 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
38592 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
38593 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
38594 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
38595 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
38596 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
38597 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
38598 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
38599 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
38600 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
38601 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
38602 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
38603 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
38604 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
38605 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
38606 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
38607 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
38608 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
38609 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
38610 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
38611 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
38612 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
38613 * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
38614 Remove conditional code.
38615 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
38616 * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
38617 Remove conditional code.
38618 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
38619 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
38620 [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
38621 * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
38622 Remove conditional code.
38623 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
38624 * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
38625 Remove conditional code.
38626 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
38627 * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
38628 Remove conditional code.
38629 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
38630 * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
38631 Remove conditional code.
38632 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
38633 * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
38634 Remove conditional code.
38635 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
38636 * sysdeps/unix/sysv/linux/sh/pwrite64.c
38637 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
38638 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
38639 * sysdeps/unix/sysv/linux/sigaction.c
38640 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
38641 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
38642 * sysdeps/unix/sysv/linux/sigpending.c
38643 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
38644 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
38645 * sysdeps/unix/sysv/linux/sigprocmask.c
38646 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
38647 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
38648 * sysdeps/unix/sysv/linux/sigsuspend.c
38649 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
38650 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
38651 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
38652 (__libc_missing_rt_sigs): Remove.
38653 (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
38654 (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
38655 * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
38656 Remove conditional code.
38657 [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
38658 * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
38659 return 1.
38660 * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
38661 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
38662 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
38663 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
38664
1bfb7291
AJ
386652012-05-14 Andreas Jaeger <aj@suse.de>
38666
caae5a81
AJ
38667 * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
38668 it's not used in glibc.
38669 (__coshm1): Likewise.
38670 (__acosh1p): Likewise.
38671 (__sgn): Likewise.
38672
1bfb7291
AJ
38673 * manual/string.texi (Copying and Concatenation): Add missing
38674 variable in concat example.
38675 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
38676
c044d724
L
386772012-05-14 H.J. Lu <hongjiu.lu@intel.com>
38678
144c5467 38679 [BZ #14103]
c044d724
L
38680 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
38681 __builtin_clzl with __builtin_clzll.
38682
2523c62b
L
386832012-05-14 H.J. Lu <hongjiu.lu@intel.com>
38684
38685 [BZ #14104]
38686 * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
38687 libc_freeres_ptr.
38688
d7bb4c42
LD
386892012-05-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
38690
38691 * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
38692 * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
38693 * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
38694 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
38695
9dc4e1fb
MF
386962012-05-14 Mike Frysinger <vapier@gentoo.org>
38697
38698 * NEWS: Update ia64 info.
38699
c7df0112
AS
387002012-05-12 Andreas Schwab <schwab@linux-m68k.org>
38701
38702 * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
38703 used as bcopy.
38704
dc70356c
TS
387052012-05-12 Thomas Schwinge <thomas@codesourcery.com>
38706
38707 * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
38708 * sysdeps/unix/syscalls.list (dup3): Likewise.
38709 * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
38710 * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
38711
9fb1a21f
L
387122012-05-11 H.J. Lu <hongjiu.lu@intel.com>
38713
38714 * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
38715 "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
38716
4822a2a5
L
387172012-05-11 H.J. Lu <hongjiu.lu@intel.com>
38718
38719 * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
38720 thread pointer.
38721 (TLS_IE): Use mov/add instead of movq/addq to load thread
38722 pointer.
38723 (TLS_GD_PREFIX): New.
38724 (TLS_GD): Use it.
38725
842b81d6
DM
387262012-05-11 David S. Miller <davem@davemloft.net>
38727
38728 * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
38729 * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
38730 (_FPU_SETCW): Likewise.
38731
1cf463cd
L
387322012-05-10 H.J. Lu <hongjiu.lu@intel.com>
38733
38734 * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
38735 is 32-byte aligned.
38736
60cc4a18
AS
387372012-05-11 Andreas Schwab <schwab@linux-m68k.org>
38738
38739 [BZ #11837]
38740 * iconvdata/gb18030.c: Update tables.
38741 (BODY for FROM_LOOP): Update. Handle two-byte encoded non-BMP
38742 characters specially.
38743 (BODY for TO_LOOP): Add encoding of missing ranges.
38744
febb44a4
TS
387452012-05-11 Thomas Schwinge <thomas@codesourcery.com>
38746
38747 [BZ #13673]
38748 * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
38749 * sysdeps/mach/hurd/dup3.c: Likewise.
38750 * sysdeps/mach/hurd/readlinkat.c: Likewise.
38751 * sysdeps/powerpc/memmove.c:: Likewise.
38752
0a10fb9e
L
387532012-05-10 H.J. Lu <hongjiu.lu@intel.com>
38754
38755 * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
38756 R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
38757
df8a552f
L
387582012-05-10 H.J. Lu <hongjiu.lu@intel.com>
38759
38760 * elf/elf.h (R_X86_64_RELATIVE64): New.
38761 (R_X86_64_NUM): Updated.
38762 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
38763 R_X86_64_RELATIVE64. Always use Elf64_Addr with R_X86_64_64.
38764 (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
38765 * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
38766 tst-quad1pie tst-quad2pie
38767 (modules-names): Add tst-quadmod1 tst-quadmod2.
38768 ($(objpfx)tst-quad1): New dependency.
38769 ($(objpfx)tst-quad2): Likewise.
38770 ($(objpfx)tst-quad1pie): Likewise.
38771 ($(objpfx)tst-quad2pie): Likewise.
38772 * sysdeps/x86_64/tst-quad1.c: New file.
38773 * sysdeps/x86_64/tst-quad1pie.c: New file.
38774 * sysdeps/x86_64/tst-quad2.c: Likewise.
38775 * sysdeps/x86_64/tst-quad2pie.c: Likewise.
38776 * sysdeps/x86_64/tst-quadmod1.S: Likewise.
38777 * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
38778 * sysdeps/x86_64/tst-quadmod2.S: Likewise.
38779 * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
38780
f34d6f84
ST
387812012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
38782
f42d41d1
ST
38783 * io/fcntl.h (mode_t, off_t, pid_t): Define types.
38784 (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
38785 * streams/stropts.h (t_scalar_t): Define type.
38786
3c3571fc
ST
38787 * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
38788 (_PATH_PRESERVE): Set to "/var/lib".
38789 (_PATH_RWHODIR): Set to "/var/spool/rwho".
38790
61f06bd3
ST
38791 * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
38792 instead of int.
38793
918d4d71
ST
38794 * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
38795 if __dir_mkfile succeeded.
38796
f34d6f84
ST
38797 * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
38798 checking for _hurd_dtablesize. Unlock it right after having
38799 finished _hurd_dtable allocation.
38800
10589b4a
TS
388012012-05-10 Thomas Schwinge <thomas@schwinge.name>
38802
674cdbc7
TS
38803 * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
38804 * sysdeps/mach/hurd/configure: Regenerated.
38805 * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
38806 special-casing to...
38807 * sysdeps/gnu/configure.in: ... this new file.
38808 * sysdeps/unix/sysv/linux/configure: Regenerated.
38809 * sysdeps/gnu/configure: New generated file.
38810
8e41b99f
TS
38811 * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
38812 for Linux: use nsec instead of usec, as well as:
38813 [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
38814 members of type struct timespec.
38815 [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
38816 New macros.
38817 (struct stat64): Likewise.
38818 (_STATBUF_ST_NSEC): New macro.
38819 * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
38820
10589b4a
TS
38821 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
38822 __strtoul_internal rather than strtoul.
38823
63643c85
PT
388242012-05-10 Pino Toscano <toscano.pino@tiscali.it>
38825
38826 * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
38827 and reject them.
38828
3faebe6a
ST
388292012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
38830
38831 * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
38832 which preserves existing values.
38833 * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
38834
c6474b07
PT
388352012-05-10 Pino Toscano <toscano.pino@tiscali.it>
38836
38837 * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
38838 TIMEOUT values. Return EINVAL for NFDS values either negative or
38839 greater than FD_SETSIZE.
38840
1043890b
ST
388412012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
38842
38843 * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
38844 allocated, call __vm_protect to finish enabling the existing space, and
38845 pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
38846 allocate the remainder.
38847
37ed8b9b
PT
388482012-05-10 Pino Toscano <toscano.pino@tiscali.it>
38849
38850 * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
38851 address port. Set ADDR_LEN to 0 when not filling ADDRARG.
38852
db653660
ST
388532012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
38854
37ed8b9b
PT
38855 * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
38856 sysdeps/mach/hurd/readlink.c.
b29d4053 38857
db653660
ST
38858 * posix/tst-sysconf.c (posix_options): Only use
38859 _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
38860 _POSIX_SYNCHRONIZED_IO when they are defined
38861 * sysdeps/mach/hurd/bits/posix_opt.h:
38862 (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
38863 (_XOPEN_REALTIME): Undefine macro.
38864 (_XOPEN_REALTIME_THREADS): Undefine macro.
38865 (_XOPEN_SHM): Undefine macro.
38866 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
38867 macro to -1.
38868 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
38869 macro to -1.
38870 (_POSIX_ASYNC_IO): Undefine macro.
38871 (_POSIX_PRIORITIZED_IO): Undefine macro.
38872 (_POSIX_SPIN_LOCKS): Define macro to -1.
38873
ee16e894
ST
38874 * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
38875 SA_NODEFER, SA_RESETHAND.
38876 * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
38877 O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
38878 F_DUPFD_CLOEXEC.
38879
6103ae3b
TS
388802012-05-10 Thomas Schwinge <thomas@schwinge.name>
38881
38882 * elf/Makefile (pldd-modules): Define unconditionally.
38883
80b4e5f3
TS
388842012-05-10 Thomas Schwinge <thomas@schwinge.name>
38885
38886 * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
38887
edadcbd6
ST
388882012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
38889
38890 * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
38891 Return ENOENT when name is empty.
38892 * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
38893
80694780
TS
388942012-05-10 Thomas Schwinge <thomas@schwinge.name>
38895
1792c087
TS
38896 * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
38897
80694780
TS
38898 * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
38899
6b645f0d
ST
389002012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
38901
80694780
TS
38902 Fix mlock in all cases except non-readable pages.
38903 * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
38904 instead of VM_PROT_ALL as parameter to __vm_wire function.
66cbbebc 38905
6b645f0d
ST
38906 * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
38907 (__mkdir): When path is `/', just fail with EEXIST.
38908 * sysdeps/mach/hurd/mkdirat.c: Likewise.
38909
e468f8a3
TS
389102012-05-10 Thomas Schwinge <thomas@schwinge.name>
38911
38912 * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
38913 <sys/uio.h> (for writev).
38914 * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
38915 and <sys/param.h> (for MIN).
38916
a4186cff
PT
389172012-05-10 Pino Toscano <toscano.pino@tiscali.it>
38918
38919 * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
38920 REQUESTED_TIME. Properly set the remaining time and return EINTR
38921 if interrupted.
38922
510bbf14
TS
389232012-05-10 Thomas Schwinge <thomas@schwinge.name>
38924
38925 * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
38926 Depend on against $(link-rpcuserlibs).
38927
5d5722e8
ST
389282012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
38929
a4186cff
PT
38930 * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
38931 (__libc_stack_end): Do not use attribute_relro.
38932 * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
38933 * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
5d5722e8 38934 to libthread-provided value.
a4186cff
PT
38935 * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
38936 attribute_relro.
5d5722e8 38937
37233df9
TS
389382012-05-10 Thomas Schwinge <thomas@schwinge.name>
38939
be971a2b
TS
38940 [BZ #3748]
38941 * bits/libc-lock.h (__libc_once_get): New macro.
38942 * sysdeps/mach/bits/libc-lock.h: Likewise.
38943 * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
38944 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
38945 instead of using implementation details.
38946
37233df9
TS
38947 * libio/fileops.c: Unconditionally include <kernel-features.h>.
38948 * libio/freopen.c: Likewise.
38949 * libio/freopen64.c: Likewise.
38950 * misc/syslog.c: Likewise.
38951 * nscd/connections.c: Likewise.
38952 * nscd/netgroupcache.c: Likewise.
38953 * sysdeps/posix/getcwd.c: Likewise.
38954
38de94a5
RM
389552012-05-10 Roland McGrath <roland@hack.frob.com>
38956
38957 * math/w_ilogbf.c: Add #include <limits.h>.
38958
67530489
ST
389592012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
38960
a4186cff 38961 * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
bbc49098
ST
38962 path instead of returning without unlocking.
38963
67530489
ST
38964 * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
38965 immediate-write ioctls.
38966 * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
38967
5aa3a74a
TS
389682012-05-10 Thomas Schwinge <thomas@schwinge.name>
38969
18bad2ae
TS
38970 * sysdeps/mach/hurd/i386/init-first.c (init): Use
38971 __builtin_frame_address instead of making assumptions about the
38972 location of the return address relative to DATA. Force early load of
38973 the return address.
38974 (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
38975 __builtin_frame_address.
38976
5aa3a74a
TS
38977 dup3 for GNU Hurd.
38978 * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
38979 * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c. Evolve it to
38980 implement dup3 and do some further code clean-ups.
38981 * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
38982 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
38983
ecd0de9a
ST
389842012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
38985
cd9fa985
ST
38986 * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
38987
a4186cff
PT
38988 * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
38989 HURD_CRITICAL_END around holding _hurd_dtable_lock.
38990 * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
38991 * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
38992 HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
38993 d->port.lock.
802ca5a5 38994
a4186cff
PT
38995 * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
38996 instead of setjmp/longjmp to restore the signal mask. Call sigsetjmp
38997 when handler == SIG_ERR, not when handler != SIG_ERR.
ecd0de9a 38998
bcf55240
TS
389992012-05-10 Thomas Schwinge <thomas@schwinge.name>
39000
6960eb42
TS
39001 * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
39002 (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
39003 definitions.
39004
eb43375f
TS
39005 accept4 for GNU Hurd.
39006 * include/sys/socket.h (__libc_accept4): New prototype.
39007 * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c. Evolve it
39008 to implement __libc_accept4.
39009 * sysdeps/mach/hurd/accept.c (accept): Reimplement using
39010 __libc_accept4.
39011 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
39012
bcf55240
TS
39013 * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
39014 * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
39015 * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
39016 signal-defines.sym.
39017
6178c55b
ST
390182012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
39019
a4186cff 39020 * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
6178c55b 39021
6f080c2f
TS
390222012-05-10 Thomas Schwinge <thomas@schwinge.name>
39023
39024 * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
39025 assertion on O_CLOEXEC flag.
39026 * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
39027 * hurd/intern-fd.c: Likewise.
39028 * hurd/port2fd.c: Likewise.
39029
bcfe3a54
ST
390302012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
39031
39032 [BZ #3906]
39033 * bits/in.h (IPV6_PKTINFO): Define new macro.
39034 (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
39035
89c9aa49
AZ
390362012-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
39037
39038 [BZ #13954]
39039 [BZ #13955]
39040 [BZ #13956]
39041 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
39042 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
39043 * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
39044 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
39045 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
39046 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
39047 * math/libm-test.inc (logb_test) : Additional logb tests.
39048
021db4be
AJ
390492012-05-09 Andreas Schwab <schwab@linux-m68k.org>
39050 Andreas Jaeger <aj@suse.de>
39051
39052 * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
39053 * configure: Regenerated.
39054 * config.h.in (LINK_OBSOLETE_RPC): New macro.
39055 * config.make.in (link-obsolete-rpc): New substituted variable.
39056 * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
39057 libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
39058 * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
39059 (shared-only-routines): Don't set it under [link-obsolete-rpc],
39060 so that libc.a contains the symbols.
39061 * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
39062 * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
39063 * sunrpc/auth_none.c: Likewise.
39064 * sunrpc/auth_unix.c: Likewise.
39065 * sunrpc/authdes_prot.c: Likewise.
39066 * sunrpc/authuxprot.c: Likewise.
39067 * sunrpc/clnt_gen.c: Likewise.
39068 * sunrpc/clnt_perr.c: Likewise.
39069 * sunrpc/clnt_raw.c: Likewise.
39070 * sunrpc/clnt_simp.c: Likewise.
39071 * sunrpc/clnt_tcp.c: Likewise.
39072 * sunrpc/clnt_udp.c: Likewise.
39073 * sunrpc/clnt_unix.c: Likewise.
39074 * sunrpc/des_crypt.c: Likewise.
39075 * sunrpc/des_soft.c: Likewise.
39076 * sunrpc/get_myaddr.c: Likewise.
39077 * sunrpc/key_call.c: Likewise.
39078 * sunrpc/key_prot.c: Likewise.
39079 * sunrpc/netname.c: Likewise.
39080 * sunrpc/pm_getmaps.c: Likewise.
39081 * sunrpc/pm_getport.c: Likewise.
39082 * sunrpc/pmap_clnt.c: Likewise.
39083 * sunrpc/pmap_prot.c: Likewise.
39084 * sunrpc/pmap_prot2.c: Likewise.
39085 * sunrpc/pmap_rmt.c: Likewise.
39086 * sunrpc/publickey.c: Likewise.
39087 * sunrpc/rpc_cmsg.c: Likewise.
39088 * sunrpc/rpc_common.c: Likewise.
39089 * sunrpc/rpc_dtable.c: Likewise.
39090 * sunrpc/rpc_prot.c: Likewise.
39091 * sunrpc/rpc_thread.c: Likewise.
39092 * sunrpc/rtime.c: Likewise.
39093 * sunrpc/svc.c: Likewise.
39094 * sunrpc/svc_auth.c: Likewise.
39095 * sunrpc/svc_raw.c: Likewise.
39096 * sunrpc/svc_run.c: Likewise.
39097 * sunrpc/svc_tcp.c: Likewise.
39098 * sunrpc/svc_udp.c: Likewise.
39099 * sunrpc/svc_unix.c: Likewise.
39100 * sunrpc/svcauth_des.c: Likewise.
39101 * sunrpc/xcrypt.c: Likewise.
39102 * sunrpc/xdr.c: Likewise.
39103 * sunrpc/xdr_array.c: Likewise.
39104 * sunrpc/xdr_float.c: Likewise.
39105 * sunrpc/xdr_intXX_t.c: Likewise.
39106 * sunrpc/xdr_mem.c: Likewise.
39107 * sunrpc/xdr_rec.c: Likewise.
39108 * sunrpc/xdr_ref.c: Likewise.
39109 * sunrpc/xdr_sizeof.c: Likewise.
39110 * sunrpc/xdr_stdio.c: Likewise.
39111
b5c086a2
RM
391122012-05-10 Roland McGrath <roland@hack.frob.com>
39113
39114 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
39115 change. Update copyright years.
39116
6d74dd09
JM
391172012-05-10 Joseph Myers <joseph@codesourcery.com>
39118
39119 * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
39120
28e72501
MK
391212012-05-10 Maxim Kuvyrkov <maxim@codesourcery.com>
39122 Joseph Myers <joseph@codesourcery.com>
39123 Paul Pluzhnikov <ppluzhnikov@google.com>
39124
39125 [BZ #14012]
39126 * sunrpc/Makefile [cross-compiling] (headers): Enable additions
39127 requiring rpcgen.
39128 [cross-compiling] (extra-libs): Likewise.
39129 [cross-compiling] (extra-libs-others): Likewise.
39130 [cross-compiling] (librpcsvc-routines): Likewise.
39131 [cross-compiling] (librpcsvc-inhibit-o): Likewise.
39132 [cross-compiling] (omit-deps): Likewise.
39133 (sunrpc-CPPFLAGS): New variable.
39134 (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
39135 (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
39136 (cross-rpcgen-objs): New variable.
39137 (extra-objs): Append $(cross-rpcgen-objs).
39138 ($(cross-rpcgen-objs)): New rule.
39139 ($(objpfx)cross-rpcgen): Likewise.
39140 (rpcgen-cmd): Define to use $(built-program-file). Expand
39141 comment.
39142 ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
39143 ($(objpfx)x%.stmp): Likewise.
39144 * sunrpc/proto.h [IS_IN_build] (_): Define.
39145 [IS_IN_build] (_libc_intl_domainname): Likewise.
39146
c8c59454
L
391472012-05-10 H.J. Lu <hongjiu.lu@intel.com>
39148
39149 * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
39150 Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
39151 and R_X86_64_TPOFF64.
39152
6f27cd16
JM
391532012-05-10 Joseph Myers <joseph@codesourcery.com>
39154
39155 * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
39156 sysdeps/unix/sysv/syscalls.list.
39157 (stime): Likewise.
39158 (utime): Likewise.
39159 * sysdeps/unix/sysv/syscalls.list: Remove file.
39160
02467e1c
PE
391612012-05-10 Paul Eggert <eggert@cs.ucla.edu>
39162
39163 [BZ #3440]
39164 * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
39165 (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
39166 (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
39167 (__LC_IDENTIFICATION): Make these macros useful in #if
39168 expressions, as required by C99.
39169
da392631
AS
391702012-05-10 Andreas Schwab <schwab@linux-m68k.org>
39171
39172 * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
39173 $(addsuffix .os,$(rpc-compat-routines)). Move include ../Rules
39174 after this.
39175
8115f29b
L
391762012-05-09 H.J. Lu <hongjiu.lu@intel.com>
39177
39178 * stdlib/longlong.h: Updated from GCC.
39179
bdd74070
AJ
391802012-05-09 Andreas Jaeger <aj@suse.de>
39181
edfe0dbe
AJ
39182 * nscd/nscd.c (run_modes): Make named enum, reorder so that
39183 default is first entry.
39184 (run_mode): Set type.
39185 (main): Remove informal message about syslog.
39186 (options): Fix typo.
39187
bcfe3a54
ST
39188 [BZ #14053]
39189 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
bdd74070 39190 to asm.
bcfe3a54
ST
39191 (lrint): Likewise.
39192 (llrintf): Likewise.
39193 (llrint): Likewise.
39194 (rint): Likewise.
39195 (rintf): Likewise.
39196 (nearbyint): Likewise.
39197 (nearbyintf): Likewise.
bdd74070 39198
91d8d69e
AJ
391992012-05-09 Andreas Jaeger <aj@suse.de>
39200 Pedro Alves <palves@redhat.com>
39201
39202 * nscd/nscd.c (run_mode): Use enum.
39203 (main): Cleanup coding style issue.
39204
bb90b80b
AJ
392052012-05-09 Alexandre Oliva <aoliva@redhat.com>
39206 Andreas Jaeger <aj@suse.de>
39207
bcfe3a54
ST
39208 * nscd/nscd.c (go_background): Replaced with...
39209 (run_mode): ... this.
bb90b80b 39210 (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
bcfe3a54
ST
39211 (options): Add -F --foreground.
39212 (main): Implement it.
39213 (parse_opt): Parse it.
bb90b80b 39214
1a4b75a1
AJ
392152012-05-09 Andreas Jaeger <aj@suse.de>
39216
39217 [BZ #14083]
39218 * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
39219 !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
39220 -Wconversion warning.
39221 (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
39222 Likewise.
39223
b1cc2472
JM
392242012-05-09 Joseph Myers <joseph@codesourcery.com>
39225
39226 * conform/data/locale.h-data (NULL): Use macro-constant. Require
39227 == 0.
39228 (LC_ALL): Use macro-int-constant.
39229 (LC_COLLATE): Likewise.
39230 (LC_CTYPE): Likewise.
39231 (LC_MESSAGES): Likewise.
39232 (LC_MONETARY): Likewise.
39233 (LC_NUMERIC): Likewise.
39234 (LC_TIME): Likewise.
39235 [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
39236 (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
39237 [ISO || ISO99 || ISO11] (*_t): Do not allow.
39238 * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
39239 Specify type.
39240 [C99-based standards] (float_t): Expect type.
39241 [C99-based standards] (double_t): Expect type.
39242 [C99-based standards] (HUGE_VALF): Use macro-constant. Specify
39243 type.
39244 [C99-based standards] (HUGE_VALL): Likewise.
39245 [C99-based standards] (INFINITY): Likewise.
39246 [C99-based standards] (NAN): Likewise.
39247 [C99-based standards] (FP_INFINITE): Use macro-int-constant.
39248 [C99-based standards] (FP_NAN): Likewise.
39249 [C99-based standards] (FP_NORMAL): Likewise.
39250 [C99-based standards] (FP_SUBNORMAL): Likewise.
39251 [C99-based standards] (FP_ZERO): Likewise.
39252 [C99-based standards] (FP_FAST_FMA): Use
39253 optional-macro-int-constant. Specify type. Require == 1.
39254 [C99-based standards] (FP_FAST_FMAF): Likewise.
39255 [C99-based standards] (FP_FAST_FMAL): Likewise.
39256 [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
39257 [C99-based standards] (FP_ILOGBNAN): Likewise.
39258 [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
39259 Specify type.
39260 [C99-based standards] (MATH_ERREXCEPT): Likewise.
39261 [C99-based standards] (math_errhandling): Specify type.
39262 [ISO99 || ISO11] (signgam): Do not allow.
39263 [non-C99-based standards] (copysignf): Do not allow.
39264 [non-C99-based standards] (exp2f): Likewise.
39265 [non-C99-based standards] (log2f): Likewise.
39266 [non-C99-based standards] (modff): Allow.
39267 [non-C99-based standards] (erff): Do not allow.
39268 [non-C99-based standards] (erfcf): Likewise.
39269 [non-C99-based standards] (gammaf): Likewise.
39270 [non-C99-based standards] (hypotf): Likewise.
39271 [non-C99-based standards] (j0f): Likewise.
39272 [non-C99-based standards] (j1f): Likewise.
39273 [non-C99-based standards] (jnf): Likewise.
39274 [non-C99-based standards] (lgammaf): Likewise.
39275 [non-C99-based standards] (tgammaf): Likewise.
39276 [non-C99-based standards] (y0f): Likewise.
39277 [non-C99-based standards] (y1f): Likewise.
39278 [non-C99-based standards] (ynf): Likewise.
39279 [non-C99-based standards] (isnanf): Likewise.
39280 [non-C99-based standards] (acoshf): Likewise.
39281 [non-C99-based standards] (asinhf): Likewise.
39282 [non-C99-based standards] (atanhf): Likewise.
39283 [non-C99-based standards] (cbrtf): Likewise.
39284 [non-C99-based standards] (expm1f): Likewise.
39285 [non-C99-based standards] (ilogbf): Likewise.
39286 [non-C99-based standards] (log1pf): Likewise.
39287 [non-C99-based standards] (logbf): Likewise.
39288 [non-C99-based standards] (nextafterf): Likewise.
39289 [non-C99-based standards] (remainderf): Likewise.
39290 [non-C99-based standards] (rintf): Likewise.
39291 [non-C99-based standards] (scalbf): Likewise.
39292 [non-C99-based standards] (copysignl): Likewise.
39293 [non-C99-based standards] (exp2l): Likewise.
39294 [non-C99-based standards] (log2l): Likewise.
39295 [non-C99-based standards] (modfl): Allow.
39296 [non-C99-based standards] (erfl): Do not allow.
39297 [non-C99-based standards] (erfcl): Likewise.
39298 [non-C99-based standards] (gammal): Likewise.
39299 [non-C99-based standards] (hypotl): Likewise.
39300 [non-C99-based standards] (j0l): Likewise.
39301 [non-C99-based standards] (j1l): Likewise.
39302 [non-C99-based standards] (jnl): Likewise.
39303 [non-C99-based standards] (lgammal): Likewise.
39304 [non-C99-based standards] (tgammal): Likewise.
39305 [non-C99-based standards] (y0l): Likewise.
39306 [non-C99-based standards] (y1l): Likewise.
39307 [non-C99-based standards] (ynl): Likewise.
39308 [non-C99-based standards] (isnanl): Likewise.
39309 [non-C99-based standards] (acoshl): Likewise.
39310 [non-C99-based standards] (asinhl): Likewise.
39311 [non-C99-based standards] (atanhl): Likewise.
39312 [non-C99-based standards] (cbrtl): Likewise.
39313 [non-C99-based standards] (expm1l): Likewise.
39314 [non-C99-based standards] (ilogbl): Likewise.
39315 [non-C99-based standards] (log1pl): Likewise.
39316 [non-C99-based standards] (logbl): Likewise.
39317 [non-C99-based standards] (nextafterl): Likewise.
39318 [non-C99-based standards] (remainderl): Likewise.
39319 [non-C99-based standards] (rintl): Likewise.
39320 [non-C99-based standards] (scalbl): Likewise.
39321 [ISO || ISO99 || ISO11] (*_t): Do not allow.
39322 [non-C99-based standards] (FP_*): Do not allow.
39323 [C99-based standards] (FP_*): Change to
39324 FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
39325 * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
39326 allow.
39327 * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
39328 (SIG_ERR): Likewise.
39329 [X/Open-based standards] (SIG_HOLD): Likewise.
39330 (SIG_IGN): Likewise.
39331 (SIGABRT): Use macro-int-constant. Specify type. Require
39332 positive value.
39333 (SIGFPE): Likewise.
39334 (SIGILL): Likewise.
39335 (SIGINT): Likewise.
39336 (SIGSEGV): Likewise.
39337 (SIGTER): Likewise.
39338 [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
39339 [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
39340 [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
39341 [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
39342 [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
39343 [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
39344 [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
39345 [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
39346 [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
39347 [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
39348 [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
39349 [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
39350 [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
39351 [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
39352 [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
39353 [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
39354 [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
39355 [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
39356 [X/Open-based standards] (SIGTRAP): Likewise.
39357 [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
39358 [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
39359 [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
39360 [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
39361 * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
39362 allow.
39363
b9f1922d
IW
393642012-05-08 Ian Wienand <ianw@vmware.com>
39365
39366 [BZ #14080]
39367 * time/tzset.c (__tzset_parse_tz): Update default rules for
39368 daylight time changes in the Energy Policy Act of 2005.
39369
1db86e88
AJ
393702012-05-09 Andreas Jaeger <aj@suse.de>
39371
39372 [BZ #13983]
39373 * elf/ldconfig.c (parse_conf): Change string to make clear that
39374 ldconfig only issued a warning if ld.so.conf does not exist.
39375
dee4a4e3
DM
393762012-05-08 David S. Miller <davem@davemloft.net>
39377
ee0db190
DM
39378 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
39379 movxtod instead of popping the value on the stack.
39380
dee4a4e3
DM
39381 * sysdeps/sparc/fpu/libm-test-ulps: Update.
39382
6a43ec98
CD
393832012-05-08 Carlos O'Donell <carlos_odonell@mentor.com>
39384
39385 * config.h.in: Add HAVE_ARM_PCS_VFP.
39386
05c2c961
RMG
393872012-05-08 Roland Mc Grath <roland@hack.frob.com>
39388
bcfe3a54
ST
39389 [BZ #13979]
39390 * include/features.h: Warn if user requests __FORTIFY_SOURCE
39391 checking but the checks are disabled for any reason.
05c2c961 39392
4b30f61a
L
393932012-05-08 H.J. Lu <hongjiu.lu@intel.com>
39394
39395 * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
39396 and ELF64_R_TYPE with ELFW(R_TYPE).
39397
eee2bc67
JM
393982012-05-08 Joseph Myers <joseph@codesourcery.com>
39399
7ea5391a
JM
39400 * sysdeps/unix/sysv/syscalls.list (pause): Remove.
39401 (ulimit): Likewise.
39402
eee2bc67
JM
39403 * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
39404 (settimeofday): Likewise.
39405
abb66a67
MF
394062012-05-08 Mike Frysinger <vapier@gentoo.org>
39407
39408 * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1. Add
39409 a struct th_u2 inside the union, and move tu_block/tu_code into
39410 a new th_u3 union of tu_block/tu_code inside of that. Move
39411 th_data[1] into the th_u2 as tu_data[0]. Change tu_stuff[1] to
39412 tu_stuff[0]. Add a new tu_padding[4] to keep sizeof() the same.
39413 (th_block): Change to th_u1.th_u2.th_u3.tu_block.
39414 (th_code): Change to th_u1.th_u2.th_u3.tu_code.
39415 (th_stuff): Change to th_u1.tu_stuff.
39416 (th_data): Define.
39417 (th_msg): Change to th_u1.th_u2.tu_data.
39418
7f18b530
DM
394192012-05-07 David S. Miller <davem@davemloft.net>
39420
05760585
DM
39421 * sysdeps/sparc/fpu/libm-test-ulps: Update.
39422
7f18b530
DM
39423 [BZ #14074]
39424 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
39425 (SETUP_PIC_REG): Use it.
39426 (SETUP_PIC_REG_LEAF): Use it.
39427
495fd99f
JM
394282012-05-07 Joseph Myers <joseph@codesourcery.com>
39429
39430 [BZ #13885]
39431 [BZ #13923]
39432 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
39433 USE_AS_EXPM1L.
39434 (EXPL_FINITE): Likewise.
39435 (FLDLOG): Likewise.
39436 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
39437 * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
39438 e_expl.S.
39439 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
39440 USE_AS_EXPM1L.
39441 (EXPL_FINITE): Likewise.
39442 (FLDLOG): Likewise.
39443 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
39444 * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
39445 e_expl.S.
39446 * math/libm-test.inc (expm1_test): Add more tests. Do not disable
39447 test of -max_value argument for long double.
39448 * sysdeps/i386/fpu/libm-test-ulps: Update.
39449 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39450
6693d694
DM
394512012-05-06 David S. Miller <davem@davemloft.net>
39452
39453 * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
39454 quad soft-float symbols whose references which are compiler
39455 generated.
39456 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
39457
6c23e11c
JM
394582012-05-06 Joseph Myers <joseph@codesourcery.com>
39459
d8b82cad
JM
39460 [BZ #13884]
39461 [BZ #13914]
39462 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
39463 USE_AS_EXP10L.
39464 (EXPL_FINITE): Likewise.
39465 (FLDLOG): Likewise.
39466 (c0): Likewise.
39467 (c1): Likewise.
39468 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
39469 Adjust comments for base varying.
39470 (__expl_finite): Change alias to EXPL_FINITE.
39471 * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
39472 e_expl.S.
39473 * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
39474 * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
39475 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
39476 * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
39477 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
39478 USE_AS_EXP10L.
39479 (EXPL_FINITE): Likewise.
39480 (FLDLOG): Likewise.
39481 (c0): Likewise.
39482 (c1): Likewise.
39483 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
39484 Adjust comments for base varying.
39485 (__expl_finite): Change alias to EXPL_FINITE.
39486 * math/libm-test.inc (exp10_test): Add more tests. Do not disable
39487 tests for bugs.
39488 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
39489
6c23e11c
JM
39490 [BZ #14064]
39491 * math/libm-test.inc (check_float_internal): Correct ulp
39492 calculation for subnormal expected results.
39493
29ba805c
AJ
394942012-05-06 Andreas Jaeger <aj@suse.de>
39495
39496 * Makeconfig (+math-flags): New, set to -frounding-math.
39497 (+cflags): Add +math-flags so that all of glibc gets compiled with
39498 it.
39499
39500 * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
39501
7b17aeda
JM
395022012-05-05 Joseph Myers <joseph@codesourcery.com>
39503
5779f134
JM
39504 * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
39505 Disable one test.
39506
41498f4d
JM
39507 [BZ #13787]
39508 [BZ #13922]
39509 [BZ #14036]
39510 * sysdeps/i386/fpu/e_expl.S (csat): New constant.
39511 (__ieee754_expl): Allow for and saturate large arguments.
39512 * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
39513 (u_threshold): Likewise.
39514 (__exp): Call __ieee754_exp before checking for overflow and
39515 underflow.
39516 * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
39517 (u_threshold): Likewise.
39518 (__expf): Call __ieee754_expf before checking for overflow and
39519 underflow.
39520 * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
39521 (u_threshold): Likewise.
39522 (__expl): Call __ieee754_expl before checking for overflow and
39523 underflow.
39524 * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
39525 (__ieee754_expl): Allow for and saturate large arguments.
39526 * math/libm-test.inc (exp_test): Add another test. Do not allow
39527 missing overflow exception on overflow.
39528 (expm1_test): Do not allow missing overflow exception on overflow.
39529
6698b8bf
JM
39530 * sysdeps/i386/fpu/e_expl.c: Move to ...
39531 * sysdeps/i386/fpu/e_expl.S: ... here. Write directly in assembly
39532 rather than using inline asm.
39533 * sysdeps/x86_64/fpu/e_expl.c: Remove file.
39534 * sysdeps/x86_64/fpu/e_expl.S: Copy from
39535 sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
39536
7b17aeda
JM
39537 * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
39538 (nice): Likewise.
39539 (poll): Likewise.
39540 (signal): Likewise.
39541 (time): Likewise.
39542 (times): Likewise.
39543
f7c85819
JM
395442012-05-04 Joseph Myers <joseph@codesourcery.com>
39545
39546 * sysdeps/unix/syscalls.list (adjtime): Add entry from
39547 sysdeps/unix/common/syscalls.list.
39548 (fchmod): Likewise.
39549 (fchown): Likewise.
39550 (ftruncate): Likewise.
39551 (getrusage): Likewise.
39552 (gettimeofday): Likewise.
39553 (setpgid): Likewise.
39554 (setregid): Likewise.
39555 (setreuid): Likewise.
39556 (sigaction): Likewise.
39557 (truncate): Likewise.
39558 (vhangup): Likewise.
39559 * sysdeps/unix/common/syscalls.list: Remove file.
39560 * sysdeps/unix/bsd/Implies: Don't include unix/common.
39561 * sysdeps/unix/sysv/linux/Implies: Likewise.
39562
336270d0
L
395632012-05-04 H.J. Lu <hongjiu.lu@intel.com>
39564
39565 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
39566 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
39567 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
39568 Moved to ...
39569 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
39570 Here.
39571 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
39572 to ...
39573 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
39574 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
39575 to ...
39576 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
39577 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
39578 to ...
39579 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
39580 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
39581 to ...
39582 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
39583 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
39584 to ...
39585 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
39586 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
39587 to ...
39588 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
39589 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
39590 to ...
39591 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
39592 Here.
39593 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
39594 to ...
39595 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
39596 Here.
39597 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
39598 to ...
39599 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
39600 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
39601 Moved to ...
39602 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
39603 Here.
39604 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
39605 to ...
39606 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
39607
d128e450
JM
396082012-05-04 Joseph Myers <joseph@codesourcery.com>
39609
fa8ee516
JM
39610 * sysdeps/unix/common/bits/dirent.h: Remove file.
39611 * sysdeps/unix/common/bits/fcntl.h: Likewise.
39612
d128e450
JM
39613 * sysdeps/unix/bsd/bits/dirent.h: Remove file.
39614 * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
39615 * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
39616 * sysdeps/unix/bsd/isatty.c: Likewise.
39617 * sysdeps/unix/bsd/tcdrain.c: Likewise.
39618 * sysdeps/unix/bsd/tcgetattr.c: Likewise.
39619 * sysdeps/unix/bsd/tcsetattr.c: Likewise.
39620
ff8faaf0 396212012-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31dc8730 39622
62881be4 39623 [BZ #13563]
31dc8730
AZ
39624 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
39625 long double comparison inaccuracies.
39626 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
39627 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
39628
6fef930c
AS
396292012-05-04 Andreas Schwab <schwab@linux-m68k.org>
39630
39631 * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
39632 * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
39633
8f203e6c
JM
396342012-05-04 Joseph Myers <joseph@codesourcery.com>
39635
39636 [BZ #14049]
39637 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
39638 nonzero digits before rounding a hex value.
39639 * stdlib/tst-strtod.c (tests): Add another test.
39640
5197d9c2
AK
396412012-05-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
39642
39643 * sysdeps/s390/fpu/libm-test-ulps: Update.
39644
f0c1dedf
AJ
396452012-05-03 Andreas Jaeger <aj@suse.de>
39646
39647 * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
39648 does not get optimized out.
39649 (malloc_opt_barrier): New.
39650
a65ef2ae 396512012-05-03 Andreas Jaeger <aj@suse.de>
461b8e5a 39652 Roland McGrath <roland@hack.frob.com>
a65ef2ae 39653
2b942cb7 39654 * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
a65ef2ae 39655 intermediate file deletion.
2b942cb7 39656 (generated): Add .symlist files.
a65ef2ae 39657
54b71e02
JM
396582012-05-03 Joseph Myers <joseph@codesourcery.com>
39659
39660 [BZ #13775]
39661 * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
39662 Redirect under this condition.
39663 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
39664 [__USE_GNU] (__dprintf_chk): Not under this condition.
39665 [__USE_GNU] (__vdprintf_chk): Likewise.
39666 * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
39667 under this condition.
39668 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
39669 [__USE_XOPEN2K8] (dprintf): Define under this condition.
39670 [__USE_XOPEN2K8] (vdprintf): Likewise.
39671 [__USE_GNU] (__dprintf_chk): Not under this condition.
39672 [__USE_GNU] (__vdprintf_chk): Likewise.
39673 [__USE_GNU] (dprintf): Likewise.
39674 [__USE_GNU] (vdprintf): Likewise.
39675
d3dfcc41
RM
396762012-05-03 Roland McGrath <roland@hack.frob.com>
39677
39678 * elf/Makefile (common-generated): Set this instead of generated for
39679 .dyn, .phdr, .jmprel files. Remove $(common-objpfx) from the
39680 $(all-built-dso)-derived lists.
39681
7ac30cc5
AJ
396822012-05-03 Andreas Jaeger <aj@suse.de>
39683
0c51e550
AJ
39684 * sysdeps/i386/fpu/libm-test-ulps: Update.
39685
7ac30cc5
AJ
39686 * FAQ: Removed.
39687 * FAQ.in: Likewise.
39688 * scripts/gen-FAQ.pl: Likewise.
39689 * manual/install.texi (Installation): Point to online location of
39690 FAQ.
39691 * Makefile (files-for-dist): Remove FAQ.
39692 (FAQ): Remove.
39693
d4c2917f
AM
396942012-05-02 Allan McRae <allan@archlinux.org>
39695
39696 * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
39697 (LDFLAGS-reldepmod5.so): Likewise.
39698 (LDFLAGS-reldep6mod1.so): Likewise.
39699 (LDFLAGS-reldep6mod4.so): Likewise.
39700 (LDFLAGS-reldep8mod3.so): Likewise.
39701 (LDFLAGS-unload4mod1.so): Likewise.
39702 (LDFLAGS-unload4mod2.so): Likewise.
39703 (LDFLAGS-tst-initorder): Likewise.
39704 (LDFLAGS-tst-initordera2.so): Likewise.
39705 (LDFLAGS-tst-initordera3.so): Likewise.
39706 (LDFLAGS-tst-initordera4.so): Likewise.
39707 (LDFLAGS-tst-initorderb2.so): Likewise.
39708 (LDFLAGS-noload): Likewise.
39709 (LDFLAGS-next): Likewise.
39710 (LDFLAGS-order2mod1.so): Likewise.
39711 (LDFLAGS-order2mod2.so): Likewise.
39712 (LDFLAGS-tst-initorder2): Likewise.
39713 (LDFLAGS-tst-initorder2a.so): Likewise.
39714 (LDFLAGS-tst-initorder2b.so): Likewise.
39715 (LDFLAGS-tst-initorder2c.so): Likewise.
39716 * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
39717
d77f993f
DM
397182012-05-02 David S. Miller <davem@davemloft.net>
39719
39720 * sysdeps/sparc/fpu/libm-test-ulps: Update.
39721
171a70b4
PP
397222012-05-02 Paul Pluzhnikov <ppluzhnikov@google.com>
39723
39724 [BZ #14055]
39725 * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
39726
0be196ad
AJ
397272012-05-02 Andreas Jaeger <aj@suse.de>
39728
39729 * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
39730 since we manipulate rounding mode.
39731 (CPPFLAGS-test-idouble.c): Likewise.
39732 (CPPFLAGS-test-ifloat.c): Likewise.
39733 (CFLAGS-test-ldouble.c): Likewise.
39734 (CFLAGS-test-double.c): Likewise.
39735 (CFLAGS-test-float.c): Likewise.
39736 (CFLAGS-test-misc.c): Likewise.
39737 (CFLAGS-test-test-fenv.c): Likewise.
39738
4f9d04aa
AZ
397392012-05-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
39740
2b942cb7
RM
39741 [BZ #2550]
39742 [BZ #2570]
39743 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
39744 comparisons to determine direction to adjust input.
4f9d04aa 39745
82a79e7d
RM
397462012-05-01 Roland McGrath <roland@hack.frob.com>
39747
f5a01ca9
RM
39748 * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
39749 output to the target.
39750
90fe4186
RM
39751 * scripts/localplt.awk: New file.
39752 * elf/Makefile ($(objpfx)check-localplt): Target removed.
39753 (check-localplt-CFLAGS): Variable removed.
39754 ($(all-built-dso:=.jmprel)): New static pattern rule.
39755 (generated): Add those targets.
39756 (localplt-built-dso): New variable.
39757 ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
39758
39759 * elf/check-localplt.c: File removed.
39760
82397ed6
RM
39761 * scripts/check-execstack.awk: New file.
39762 * elf/Makefile ($(objpfx)check-execstack): Target removed.
39763 (check-execstack-CFLAGS): Variable removed.
39764 ($(objpfx)check-execstack.h): Target removed.
39765 ($(objpfx)execstack-default): New target.
39766 (generated): Add that instead of check-execstack.h.
39767 ($(all-built-dso:=.phdr)): New static pattern rule.
39768 (generated): Add those targets.
39769 * elf/check-execstack.c: File removed.
39770
82a79e7d
RM
39771 * scripts/check-textrel.awk: New file.
39772 * elf/Makefile ($(objpfx)check-textrel): Target removed.
39773 (check-textrel-CFLAGS): Variable removed.
39774 (all-built-dso): Use := to define.o
39775 ($(all-built-dso:=.dyn)): New static pattern rule.
39776 (generated): Add those targets.
39777 ($(objpfx)check-textrel.out): Use the script on the .dyn files.
39778 * config.make.in (READELF): New substituted variable.
39779 * elf/check-textrel.c: File removed.
39780
62fde54f 397812012-05-01 Joseph Myers <joseph@codesourcery.com>
ee74b9cb 39782
615605c9
JM
39783 * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
39784 allow.
39785 * conform/data/ctype.h-data [C99-based standards] (isblank):
39786 Expect function.
39787 (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
39788 (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
39789 [ISO || ISO99 || ISO11] (*_t): Do not allow.
39790 * conform/data/errno.h-data (EDOM): Use macro-int-constant.
39791 Specify type. Require positive value.
39792 (EILSEQ): Likewise.
39793 (ERANGE): Likewise.
39794 [ISO || POSIX] (EILSEQ): Do not expect.
39795 [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
39796 Specify type. Require positive value.
39797 [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
39798 [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
39799 [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
39800 [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
39801 [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
39802 [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
39803 [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
39804 [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
39805 [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
39806 [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
39807 [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
39808 [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
39809 [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
39810 [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
39811 [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
39812 [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
39813 [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
39814 [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
39815 [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
39816 [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
39817 [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
39818 [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
39819 [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
39820 [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
39821 [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
39822 [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
39823 [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
39824 [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
39825 [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
39826 [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
39827 [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
39828 [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
39829 [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
39830 [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
39831 [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
39832 [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
39833 [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
39834 [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
39835 [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
39836 [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
39837 [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
39838 [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
39839 [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
39840 [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
39841 [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
39842 [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
39843 [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
39844 [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
39845 [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
39846 [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
39847 [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
39848 [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
39849 [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
39850 [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
39851 [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
39852 [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
39853 [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
39854 [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
39855 [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
39856 [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
39857 [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
39858 [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
39859 [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
39860 [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
39861 [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
39862 [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
39863 [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
39864 [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
39865 [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
39866 [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
39867 [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
39868 [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
39869 [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
39870 [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
39871 [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
39872 [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
39873 * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
39874 Require >= 2.
39875 (FLT_ROUNDS): Expect as macro, not constant.
39876 (FLT_MANT_DIG): Use macro-int-constant.
39877 (DBL_MANT_DIG): Likewise.
39878 (LDBL_MANT_DIG): Likewise.
39879 (FLT_DIG): Likewise.
39880 (DBL_DIG): Likewise.
39881 (LDBL_DIG): Likewise.
39882 (FLT_MIN_EXP): Use macro-int-constant. Require < 0.
39883 (DBL_MIN_EXP): Likewise.
39884 (LDBL_MIN_EXP): Likewise.
39885 (FLT_MAX_EXP): Use macro-int-constant.
39886 (DBL_MAX_EXP): Likewise.
39887 (LDBL_MAX_EXP): Likewise.
39888 (FLT_MAX_10_EXP): Likewise.
39889 (DBL_MAX_10_EXP): Likewise.
39890 (LDBL_MAX_10_EXP): Likewise.
39891 (FLT_MAX): Use macro-constant.
39892 (DBL_MAX): Likewise.
39893 (LDBL_MAX): Likewise.
39894 (FLT_EPSILON): Use macro-constant. Give upper bound.
39895 (DBL_EPSILON): Likewise.
39896 (LDBL_EPSILON): Likewise.
39897 (FLT_MIN): Likewise.
39898 (DBL_MIN): Likewise.
39899 (LDBL_MIN): Likewise.
39900 [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
39901 [C99-based standards] (FLT_EVAL_METHOD): Likewise.
39902 [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
39903 [ISO11] (FLT_HAS_SUBNORM): Likewise.
39904 [ISO11] (LDBL_HAS_SUBNORM): Likewise.
39905 [ISO11] (DBL_DECIMAL_DIG): Likewise.
39906 [ISO11] (FLT_DECIMAL_DIG): Likewise.
39907 [ISO11] (LDBL_DECIMAL_DIG): Likewise.
39908 [ISO11] (DBL_TRUE_MIN): Use macro-constant.
39909 [ISO11] (FLT_TRUE_MIN): Likewise.
39910 [ISO11] (LDBL_TRUE_MIN): Likewise.
39911 [ISO || ISO99 || ISO11] (*_t): Do not allow.
39912 * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
39913 (SCHAR_MIN): Use macro-int-constant. Specify type.
39914 (SCHAR_MAX): Likewise.
39915 (UCHAR_MAX): Likewise.
39916 (CHAR_MIN): Likewise.
39917 (CHAR_MAX): Likewise.
39918 (MB_LEN_MAX): Use macro-int-constant.
39919 (SHRT_MIN): Use macro-int-constant. Specify type.
39920 (SHRT_MAX): Likewise.
39921 (USHRT_MAX): Likewise.
39922 (INT_MAX): Likewise.
39923 (INT_MIN): Use macro-int-constant. Specify type. Make upper
39924 bound negative.
39925 (UINT_MAX): Use macro-int-constant. Specify type. Suffix lower
39926 bound with "U".
39927 (LONG_MAX): Use macro-int-constant. Specify type. Suffix lower
39928 bound with "L".
39929 (LONG_MIN): Use macro-int-constant. Specify type. Make upper
39930 bound negative. Suffix upper bound with "L".
39931 (ULONG_MAX): Use macro-int-constant. Specify type. Suffix lower
39932 bound with "UL".
39933 [C99-based standards] (LLONG_MIN): Use macro-int-constant.
39934 Specify type.
39935 [C99-based standards] (LLONG_MAX): Likewise.
39936 [C99-based standards] (ULLONG_MAX): Likewise.
39937 * conform/data/stddef.h-data (NULL): Use macro-constant. Require
39938 == 0.
39939 [ISO11] (max_align_t): Require type.
39940 [ISO || ISO99 || ISO11] (*_t): Do not allow.
39941
c9140a62
JM
39942 * conform/conformtest.pl ($CFLAGS_namespace): Define separately
39943 from $CFLAGS, without defining away __attribute__ calls.
39944 (checknamespace): Use $CFLAGS_namespace.
39945
9af0bf29
JM
39946 * conform/conformtest.pl (@keywords): Only include C99 keywords
39947 for standards based on C99 or C11.
39948
343222a2
JM
39949 * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
39950 Disable tests.
39951 * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
39952 UNIX98]: Likewise.
39953
661f8cf0
JM
39954 * conform/conformtest.pl: Handle "macro-int-constant" and test for
39955 usability of symbols in #if.
39956
ee74b9cb
JM
39957 * conform/conformtest.pl: If macro or constant types start
39958 "promoted:", expect the symbol to be of the following type
39959 promoted by the integer promotions.
62fde54f 39960
aafc49b3
JM
39961 * conform/conformtest.pl: Parse all "constant" and "macro" lines
39962 in one place. Also handle "macro-constant".
39963
fefdf574
JM
39964 * conform/conformtest.pl: Only accept expected macro values with
39965 "==". Parse all "macro" lines in one place.
39966 * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
39967
f2d922fe
JM
39968 * conform/conformtest.pl: Handle braced types on "constant" lines
39969 instead of handling "typed-constant".
39970 * conform/data/signal.h-data: Use "constant" instead of
39971 "typed-constant".
39972
d22956c9
JM
39973 * conform/conformtest.pl: Handle "optional-" at start of lines in
39974 one place rather than duplicating several cases. Handle each
39975 format of "macro" line with initial "optional-".
39976
028e2e38
JM
39977 * conform/conformtest.pl: Only accept expected constant or
39978 optional-constant values with "==". Parse all "constant" lines in
39979 one place. Parse all "optional-constant" lines in one place.
39980 * conform/data/cpio.h-data: Use "==" form on "constant" lines.
39981 * conform/data/fmtmsg.h-data: Likewise.
39982 * conform/data/netinet/in.h-data: Likewise.
39983 * conform/data/tar.h-data: Likewise.
39984 * conform/data/limits.h-data: Use "==" form on "constant" and
39985 "optional-constant" lines.
39986
1b8f2850
JM
39987 * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
39988 Use -std=c99 for XOPEN2K.
39989 (@knownproblems): Remove.
39990 (newtoken): Don't check %isknown.
39991
a05a144b
JM
39992 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
39993 Do not expect macro.
39994 [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
39995 [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
39996 [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
39997 [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
39998 [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
39999 [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
40000 [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
40001 [XPG3 || XPG4 || UNIX98] (isless): Likewise.
40002 [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
40003 [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
40004 [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
40005 [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
40006 [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
40007 [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
40008 [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
40009 [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
40010 [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
40011 [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
40012 [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
40013 [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
40014 [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
40015 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
40016 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
40017 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
40018 [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
40019 [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
40020 [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
40021 [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
40022 [XPG3 || XPG4 || UNIX98] (log2): Likewise.
40023 [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
40024 [XPG3] (acosh): Likewise.
40025 [XPG3] (asinh): Likewise.
40026 [XPG3] (atanh): Likewise.
40027 [XPG3] (cbrt): Likewise.
40028 [XPG3] (expm1): Likewise.
40029 [XPG3] (ilogb): Likewise.
40030 [XPG3] (log1p): Likewise.
40031 [XPG3] (logb): Likewise.
40032 [XPG3] (nextafter): Likewise.
40033 [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
40034 [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
40035 [XPG3] (remainder): Likewise.
40036 [XPG3] (rint): Likewise.
40037 [XPG3 || XPG4 || UNIX98] (round): Likewise.
40038 [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
40039 [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
40040 [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
40041 [XPG3 || XPG4 || UNIX98] (lround): Likewise.
40042 [XPG3 || XPG4 || UNIX98] (llround): Likewise.
40043 [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
40044 [UNIX98 || XOPEN2K] (scalb): Expect.
40045 [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
40046 [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
40047 [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
40048 [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
40049 [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
40050 [XPG3 || XPG4 || UNIX98] (fma): Likewise.
40051 [XPG3 || XPG4 || UNIX98] (nan): Likewise.
40052 [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
40053 [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
40054 [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
40055 [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
40056 [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
40057 [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
40058 [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
40059 [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
40060 [XPG3 || XPG4 || UNIX98] (expf): Likewise.
40061 [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
40062 [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
40063 [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
40064 [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
40065 [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
40066 [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
40067 [XPG3 || XPG4 || UNIX98] (logf): Likewise.
40068 [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
40069 [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
40070 [XPG3 || XPG4 || UNIX98] (modff): Likewise.
40071 [XPG3 || XPG4 || UNIX98] (powf): Likewise.
40072 [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
40073 [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
40074 [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
40075 [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
40076 [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
40077 [XPG3 || XPG4 || UNIX98] (erff): Likewise.
40078 [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
40079 [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
40080 [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
40081 [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
40082 [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
40083 [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
40084 [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
40085 [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
40086 [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
40087 [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
40088 [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
40089 [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
40090 [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
40091 [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
40092 [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
40093 [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
40094 [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
40095 [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
40096 [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
40097 [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
40098 [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
40099 [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
40100 [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
40101 [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
40102 [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
40103 [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
40104 [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
40105 [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
40106 [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
40107 [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
40108 [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
40109 [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
40110 [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
40111 [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
40112 [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
40113 [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
40114 [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
40115 [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
40116 [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
40117 [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
40118 [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
40119 [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
40120 [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
40121 [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
40122 [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
40123 [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
40124 [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
40125 [XPG3 || XPG4 || UNIX98] (expl): Likewise.
40126 [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
40127 [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
40128 [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
40129 [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
40130 [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
40131 [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
40132 [XPG3 || XPG4 || UNIX98] (logl): Likewise.
40133 [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
40134 [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
40135 [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
40136 [XPG3 || XPG4 || UNIX98] (powl): Likewise.
40137 [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
40138 [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
40139 [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
40140 [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
40141 [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
40142 [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
40143 [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
40144 [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
40145 [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
40146 [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
40147 [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
40148 [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
40149 [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
40150 [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
40151 [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
40152 [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
40153 [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
40154 [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
40155 [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
40156 [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
40157 [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
40158 [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
40159 [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
40160 [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
40161 [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
40162 [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
40163 [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
40164 [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
40165 [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
40166 [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
40167 [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
40168 [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
40169 [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
40170 [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
40171 [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
40172 [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
40173 [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
40174 [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
40175 [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
40176 [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
40177 [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
40178 [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
40179 [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
40180 [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
40181 [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
40182
73c5ebe3
JM
40183 * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
40184 _XOPEN_SOURCE_EXTENDED for XPG4.
40185
39c33b6c
JM
40186 * conform/conformtest.pl: Handle "symbol" lines for allow-header.
40187
62fde54f
JM
40188 * Makeconfig (localtime): Remove variable.
40189 (inst_localtime-file): Likewise.
40190
0741d64c
AS
401912012-05-01 Andreas Schwab <schwab@linux-m68k.org>
40192
40193 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
40194 Update.
40195 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
40196 Update.
40197 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
40198 Update.
40199 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
40200 Update.
40201 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
40202 Update.
40203 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
40204 Update.
40205 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
40206 Update.
40207 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
40208 Update.
40209 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
40210 Update.
40211
7cb029ee
JM
402122012-05-01 Joseph Myers <joseph@codesourcery.com>
40213
40214 [BZ #2550]
40215 [BZ #2570]
40216 * math/s_nexttowardf.c (__nexttowardf): Use floating-point
40217 comparisons to determine direction to adjust input.
40218 * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
40219 * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
40220 * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
40221 Likewise.
40222 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
40223 Likewise.
40224 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
40225 Likewise.
40226 * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
40227 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
40228 Likewise.
40229 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
40230 Likewise.
40231 * math/libm-test.inc (nexttoward_test): Add more tests.
40232
412bd966
AS
402332012-05-01 Andreas Schwab <schwab@linux-m68k.org>
40234
40235 [BZ #14040]
40236 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
40237 in version GLIBC_2.1, not GLIBC_2.0.
40238 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
40239 Likewise.
40240
9568c0c2
JM
402412012-04-30 Joseph Myers <joseph@codesourcery.com>
40242
adfbc8ac
JM
40243 [BZ #13942]
40244 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
40245 (1 - x) * (1 + x).
40246 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
40247 * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
40248 * math/libm-test.inc (acos_test): Add more tests.
40249 (asin_test): Likewise.
40250 * sysdeps/i386/fpu/libm-test-ulps: Update.
40251 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40252
5ba3cc69
JM
40253 [BZ #14034]
40254 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
40255 of square root.
40256 * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
40257 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
40258 * math/libm-test.inc (acos_test_tonearest): New function.
40259 (acos_test_towardzero): Likewise.
40260 (acos_test_downward): Likewise.
40261 (acos_test_upward): Likewise.
40262 (asin_test_tonearest): Likewise.
40263 (asin_test_towardzero): Likewise.
40264 (asin_test_downward): Likewise.
40265 (asin_test_upward): Likewise.
40266 (main): Call the new functions.
40267 * sysdeps/i386/fpu/libm-test-ulps: Update.
40268 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
40269
9568c0c2
JM
40270 [BZ #13884]
40271 [BZ #13924]
40272 * math/e_exp10.c: Include <float.h>.
40273 (__ieee754_exp10): Handle underflow here rather than multiplying
40274 large negative argument by M_LN10.
40275 * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
40276 of __ieee754_expf.
40277 * math/e_exp10l.c: Include <float.h>.
40278 (__ieee754_exp10l): Handle underflow here rather than multiplying
40279 large negative argument by M_LN10l.
40280 * math/libm-test.inc (exp10_test): Add another test. Do not allow
40281 spurious overflow exception on underflow.
40282
5ac3ea17
MP
402832012-04-29 Marek Polacek <polacek@redhat.com>
40284
40285 * misc/sys/cdefs.h (__attribute_artificial__): New macro.
40286 (__fortify_function): New macro.
40287 (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
40288 * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
40289 __extern_always_inline.
40290 * libio/bits/stdio2.h: Likewise.
40291 * libio/bits/stdio.h: Likewise.
40292 * string/string.h: Likewise.
40293 * string/bits/string3.h: Likewise.
40294 * include/stdio.h: Likewise.
40295 * stdlib/bits/stdlib.h: Likewise.
40296 * stdlib/stdlib.h: Likewise.
40297 * rt/bits/mqueue2.h: Likewise.
40298 * rt/mqueue.h: Likewise.
40299 * posix/bits/unistd.h: Likewise.
40300 * posix/unistd.h: Likewise.
40301 * io/bits/poll2.h: Likewise.
40302 * io/bits/fcntl2.h: Likewise.
40303 * io/fcntl.h: Likewise.
40304 * io/sys/poll.h: Likewise.
40305 * misc/bits/syslog.h: Likewise.
40306 * misc/bits/syslog-ldbl.h: Likewise.
40307 * misc/sys/syslog.h: Likewise.
40308 * socket/bits/socket2.h: Likewise.
40309 * socket/sys/socket.h: Likewise.
40310 * debug/tst-chk1.c: Likewise.
40311 * wcsmbs/bits/wchar2.h: Likewise.
40312 * wcsmbs/bits/wchar-ldbl.h: Likewise.
40313 * wcsmbs/wchar.h: Likewise.
40314
ecf0ebfb
AJ
403152012-04-29 Andreas Jaeger <aj@suse.de>
40316
40317 * Makerules (tests): Remove enable-check-abi protection.
40318 (check-abi-warn): Remove.
40319 (check-abi-%): Remove check-abi-warn usage.
40320
40321 * configure.in: Remove check-abi configure option.
40322 * configure: Regenerated.
40323 * config.make.in (enable-check-abi): Remove.
40324
6d5c57fa
AS
403252012-04-28 Andreas Schwab <schwab@linux-m68k.org>
40326
24c5d07e 40327 [BZ #14033]
ded5180a
AS
40328 * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
40329 double functions to double *_finite functions.
40330
7e0d315d
AS
40331 [BZ #13941]
40332 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
40333 (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
40334 LDBL_MIN_EXP.
40335 * stdio-common/Makefile (tests): Add tst-sprintf3.
40336 * stdio-common/tst-sprintf3.c: New file.
40337
6d5c57fa
AS
40338 * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
40339 ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
40340
0749ff8b
JM
403412012-04-28 Joseph Myers <joseph@codesourcery.com>
40342
40343 * conform/conformtest.pl: Remove duplicate typed-constant
40344 handling.
40345
8dbd5d7b
DM
403462012-04-28 David S. Miller <davem@davemloft.net>
40347
40348 * Makerules (%.abilist): Add vpath on sysdep_dirs.
40349 (check-abi-%): Remove AWK script prerequisite and explicit
40350 abilist directory.
40351 (check-abi): Rewrite to just diff the symlist with the abilist.
40352 (config-tls, config-abi-config): Delete, no longer used.
40353 (update-abi-%): Remove AWK script and explicit abilist directory.
40354 (update-abi): Rewrite to simply compare and conditionally copy the
40355 symlist and the sysdep abilist file. Remove update-abi-config
40356 checks.
40357 * abilist/ld.abilist: Remove.
40358 * abilist/libBrokenLocale.abilist: Remove.
40359 * abilist/libanl.abilist: Remove.
40360 * abilist/libcrypt.abilist: Remove.
40361 * abilist/libdl.abilist: Remove.
40362 * abilist/librt.abilist: Remove.
40363 * abilist/libthread_db.abilist: Remove.
40364 * abilist/libutil.abilist: Remove.
40365 * scripts/extract-abilist.awk: Remove.
40366 * scripts/merge-abilist.awk: Remove.
40367 * sysdeps/generic/libcidn.abilist: New file.
40368 * sysdeps/generic/libnss_compat.abilist: New file.
40369 * sysdeps/generic/libnss_db.abilist: New file.
40370 * sysdeps/generic/libnss_dns.abilist: New file.
40371 * sysdeps/generic/libnss_files.abilist: New file.
40372 * sysdeps/generic/libnss_hesiod.abilist: New file.
40373 * sysdeps/generic/libnss_nis.abilist: New file.
40374 * sysdeps/generic/libnss_nisplus.abilist: New file.
40375 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
40376 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
40377 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
40378 file.
40379 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
40380 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
40381 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
40382 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
40383 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
40384 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
40385 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
40386 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
40387 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
40388 file.
40389 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
40390 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
40391 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
40392 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
40393 file.
40394 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
40395 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
40396 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
40397 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
40398 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
40399 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
40400 file.
40401 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
40402 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
40403 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
40404 file.
40405 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
40406 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
40407 New file.
40408 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
40409 New file.
40410 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
40411 New file.
40412 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
40413 New file.
40414 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
40415 New file.
40416 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
40417 New file.
40418 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
40419 New file.
40420 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
40421 New file.
40422 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
40423 New file.
40424 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
40425 New file.
40426 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
40427 New file.
40428 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
40429 New file.
40430 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
40431 New file.
40432 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
40433 file.
40434 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
40435 New file.
40436 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
40437 New file.
40438 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
40439 file.
40440 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
40441 New file.
40442 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
40443 New file.
40444 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
40445 file.
40446 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
40447 New file.
40448 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
40449 New file.
40450 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
40451 New file.
40452 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
40453 New file.
40454 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
40455 New file.
40456 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
40457 New file.
40458 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
40459 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
40460 file.
40461 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
40462 New file.
40463 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
40464 file.
40465 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
40466 file.
40467 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
40468 file.
40469 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
40470 file.
40471 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
40472 file.
40473 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
40474 New file.
40475 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
40476 file.
40477 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
40478 file.
40479 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
40480 New file.
40481 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
40482 file.
40483 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
40484 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
40485 file.
40486 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
40487 New file.
40488 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
40489 file.
40490 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
40491 file.
40492 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
40493 file.
40494 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
40495 file.
40496 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
40497 file.
40498 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
40499 New file.
40500 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
40501 file.
40502 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
40503 file.
40504 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
40505 New file.
40506 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
40507 file.
40508 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
40509 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
40510 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
40511 file.
40512 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
40513 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
40514 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
40515 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
40516 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
40517 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
40518 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
40519 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
40520 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
40521 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
40522 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
40523 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
40524 file.
40525 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
40526 New file.
40527 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
40528 file.
40529 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
40530 file.
40531 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
40532 file.
40533 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
40534 file.
40535 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
40536 file.
40537 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
40538 New file.
40539 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
40540 New file.
40541 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
40542 file.
40543 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
40544 New file.
40545 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
40546 file.
40547 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
40548 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
40549 file.
40550 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
40551 New file.
40552 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
40553 file.
40554 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
40555 file.
40556 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
40557 file.
40558 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
40559 file.
40560 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
40561 file.
40562 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
40563 New file.
40564 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
40565 New file.
40566 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
40567 file.
40568 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
40569 New file.
40570 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
40571 file.
40572
41d73a1b
JM
405732012-04-28 Joseph Myers <joseph@codesourcery.com>
40574
40575 * conform/conformtest.pl: Fix typo in handling typed-constant from
40576 allow-header.
40577
28aeeda4
JM
405782012-04-27 Joseph Myers <joseph@codesourcery.com>
40579
adae8f5e
JM
40580 * README: Cut down references to pre-2.6 Linux kernels and
40581 Linuxthreads. Update lists of configurations in libc and ports
40582 and sort alphabetically. Say "or newer" with Linux kernel version
40583 requirements.
40584
28aeeda4
JM
40585 * config.h.in [IS_IN_build]: Allow compiling without optimization.
40586
a462cb63
RA
405872012-04-27 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
40588
40589 [BZ #887]
40590 * math/libm-test.inc (logb_test_downward): New test to expose
40591 erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
40592 rounding mode.
40593
6ad3493e
JM
405942012-04-27 Joseph Myers <joseph@codesourcery.com>
40595
40596 [BZ #14027]
40597 * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
40598 to be done.
40599 * math/fraiseexcpt.c (__feraiseexcept): Likewise.
40600 * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
40601
2ce4f015
JM
406022012-04-26 Joseph Myers <joseph@codesourcery.com>
40603
5aeb141a
JM
40604 * sysdeps/unix/i386/brk.S: Remove file.
40605 * sysdeps/unix/i386/dl-brk.S: Likewise.
40606 * sysdeps/unix/i386/pipe.S: Likewise.
40607 * sysdeps/unix/i386/sigreturn.S: Likewise.
40608 * sysdeps/unix/i386/syscall.S: Likewise.
40609 * sysdeps/unix/i386/vfork.S: Likewise.
40610 * sysdeps/unix/i386/wait.S: Likewise.
40611
7143acae
JM
40612 * sysdeps/unix/common/tcsendbrk.c: Move to ...
40613 * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
40614
2ce4f015
JM
40615 * configure.in (arm*-none*): Do not allow without
40616 --enable-hacker-mode.
40617 (netbsd*): Remove case setting base_os.
40618 (386bsd*): Likewise.
40619 (freebsd*): Likewise.
40620 (bsdi*): Likewise.
40621 (osf*): Likewise.
40622 (sunos*): Likewise.
40623 (ultrix*): Likewise.
40624 (newsos*): Likewise.
40625 (dynix*): Likewise.
40626 (*bsd*): Likewise.
40627 (sysv*): Likewise.
40628 (isc*): Likewise.
40629 (esix*): Likewise.
40630 (sco*): Likewise.
40631 (minix*): Likewise.
40632 (irix4*): Likewise.
40633 (irix6*): Likewise.
40634 (solaris[2-9]*): Likewise.
40635 (none): Likewise.
40636 * configure: Regenerated.
40637
0ac229c8
AZ
406382012-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
40639
40640 [BZ #11521]
40641 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
40642 overflow or cancellation in calculating denominator.
40643 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
40644 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
40645 down expression to avoid unexpected rounding in newer GCCs.
40646 * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
40647
33f244f4
DM
406482012-04-26 David S. Miller <davem@davemloft.net>
40649
40650 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
40651 long-double compat symbols.
40652 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
40653 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
40654 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
40655 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
40656 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
40657 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
40658 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
40659 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
40660 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
40661 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
40662 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
40663 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
40664 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
40665
cfa1f3e8
DM
406662012-04-25 David S. Miller <davem@davemloft.net>
40667
40668 * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
40669 HWCAP_* values only after the memory barriers have been defined.
40670 (atomic_full_barrier): Define.
40671 (atomic_read_barrier): Define.
40672 (atomic_write_barrier): Define.
40673
6e236b92
SP
406742012-04-26 Siddhesh Poyarekar <siddhesh@redhat.com>
40675
40676 * shlib-versions: Add libgcc_s version information.
40677 * sysdeps/generic/libgcc_s.h: Remove.
40678 * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
40679 libgcc_s.h.
40680 * sysdeps/gnu/unwind-resume.c: Likewise.
40681 * scripts/test-installation.pl: Remove libgcc_s from link_libs.
40682
aab39a09
DM
406832012-04-25 David S. Miller <davem@davemloft.net>
40684
40685 * sysdeps/unix/sparc/brk.S: Delete.
40686 * sysdeps/unix/sparc/dl-brk.S: Delete.
40687 * sysdeps/unix/sparc/pipe.S: Delete.
40688 * sysdeps/unix/sparc/sysdep.S: Delete.
40689 * sysdeps/unix/sparc/sysdep.h: Delete.
40690 * sysdeps/unix/sparc/vfork.S: Delete.
57f41c40
AS
40691 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG)
40692 (SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
40693 * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO)
40694 (ret_ERRVAL, r0, r1, MOVE): Define.
aab39a09
DM
40695 (JUMPTARGET): Remove.
40696 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
40697 sysdeps/unix/sparc/sysdep.h
40698 (ENTRY, END): Remove.
40699 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
40700
a3cc4f48
JM
407012012-04-25 Joseph Myers <joseph@codesourcery.com>
40702
2ed8cda2
JM
40703 * Makerules (native-compile): Use $(BUILD_LDFLAGS).
40704 (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
40705 -DIS_IN_build.
40706
35d76d59
JM
40707 * timezone/README: Update upstream location and email address for
40708 tzcode and tzdata.
40709 * timezone/zdump.c: Update from tzcode 2012b.
40710 * timezone/zic.c: Likewise.
40711
a3cc4f48
JM
40712 * configure.in (libc_cv_as_needed): Remove test.
40713 * configure: Regenerated.
40714 * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
40715 conditional definition.
40716 [$(have-as-needed) != yes] (no-as-needed): Likewise.
40717 [$(have-as-needed) != yes] (libgcc_eh): Likewise.
40718 * config.make.in (have-as-needed): Remove variable.
40719
ceab42c3
SP
407202012-04-25 Siddhesh Poyarekar <siddhesh@redhat.com>
40721 Paul Pluzhnikov <ppluzhnikov@google.com>
40722
40723 * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
40724 strings correctly.
40725
3ce2865f
CLT
407262012-04-25 Chung-Lin Tang <cltang@codesourcery.com>
40727
40728 * sysdeps/sh/memcpy.S: Remove include of endian.h, change
40729 preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
40730 * sysdeps/sh/strlen.S: Likewise.
40731
f37e0d68
JM
407322012-04-24 Joseph Myers <joseph@codesourcery.com>
40733
ae186e9a
JM
40734 * sysdeps/unix/fork.S: Remove file.
40735 * sysdeps/unix/i386/fork.S: Likewise.
40736 * sysdeps/unix/sparc/fork.S: Likewise.
40737
b96914af
JM
40738 * sysdeps/unix/system.c: Remove file.
40739 * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
40740
f37e0d68
JM
40741 * sysdeps/unix/getegid.S: Remove file.
40742 * sysdeps/unix/geteuid.S: Likewise.
40743
87ef29ca
RM
407442012-04-24 Roland McGrath <roland@hack.frob.com>
40745
83bcd236
RM
40746 * scripts/check-localplt.awk: New file.
40747 * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
40748 of diff.
40749 * scripts/data/localplt-generic.data: Add a comment.
40750
87ef29ca
RM
40751 * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
40752 NODE when __dir_mkfile failed.
40753 * sysdeps/mach/hurd/symlinkat.c: Likewise.
40754 Reported by Ludovic Courtès <ludo@gnu.org>.
40755
e5a6e567
AJ
407562012-04-24 Andreas Jaeger <aj@suse.de>
40757
40758 * Makerules (common-clean): Also remove gen-as-const-headers
40759 files.
40760
c1820385
JM
407612012-04-24 Joseph Myers <joseph@codesourcery.com>
40762
40763 * Makerules (native-compile): Do not change working directory for
40764 build. Use $(OUTPUT_OPTION) in command.
40765 (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
40766
94e02fc4
AZ
407672012-04-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
40768
40769 [BZ #13886]
40770 * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
40771 sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
40772 * math/libm-test.inc (floor_test): Add more tests.
40773 * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
40774
3a533ca3
JM
407752012-04-24 Joseph Myers <joseph@codesourcery.com>
40776
940ab4b3
JM
40777 * sysdeps/unix/getdents.c: Remove file.
40778 * sysdeps/unix/sysv/getdents.c: Likewise.
40779 * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
40780
90e037bd
JM
40781 * sysdeps/unix/syscalls.list (madvise): Add syscall from
40782 sysdeps/unix/mman/syscalls.list.
40783 (mmap): Likewise.
40784 (mprotect): Likewise.
40785 (msync): Likewise.
40786 (munmap): Likewise.
40787 * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
40788 * sysdeps/unix/mman/syscalls.list: Remove.
40789 * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
40790
3a533ca3
JM
40791 * configure.in (libc_cv_libgcc_s_suffix): Remove test.
40792 (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
40793 * configure: Regenerated.
40794 * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
40795 $(libgcc_s_suffix).
40796 * config.make.in (libgcc_s_suffix): Remove variable.
40797
1ad743de
JM
407982012-04-23 Joseph Myers <joseph@codesourcery.com>
40799
4ad451e2
JM
40800 * sysdeps/unix/sysv/gethostname.c: Move to ...
40801 * sysdeps/posix/gethostname.c: ... here.
40802
5e37ce39
JM
40803 * sysdeps/unix/execve.S: Remove file.
40804
1ad743de
JM
40805 * sysdeps/unix/_exit.S: Remove file.
40806
4e681b5b
AJ
408072012-04-23 Andreas Jaeger <aj@suse.de>
40808
40809 [BZ #13739]
40810 * manual/Makefile: Remove make dist support, there's no
40811 need for a stand-alone documentation tar ball.
40812 (TEXI2DVI): Define always, it's not in Makeconfig.
40813 (dist): Removed.
40814 (tar-it): Removed.
40815 (edition): Removed.
40816 (glibc-doc-$(edition).tar): Removed
40817 (%.Z): Removed.
40818 (%.gz): Removed.
40819 (%.uu): Removed.
40820 (ETAGS): Remove, it's in Makeconfig.
40821 (move-if-change): Remove, it's in Makeconfig.
40822
38686a03 408232012-04-23 Paul Eggert <eggert@cs.ucla.edu>
c0baea34
PE
40824
40825 [BZ #13970]
40826 * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
40827 (strtod, strtof, strtold, strtol, strtoul, strtoq)
40828 (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
40829 (strtod_l, strtof_l, strtold_l): Remove __wur.
40830 It is not necessarily an error to ignore strtol's return value.
40831 One can reliably look at the stored endptr to decide whether
40832 the number had valid syntax.
40833
7c0616fa
AJ
408342012-04-21 Andreas Jaeger <aj@suse.de>
40835
803cb6b7 40836 [BZ #13739]
7c0616fa
AJ
40837 * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
40838
b0fe253f
JM
408392012-04-21 Joseph Myers <joseph@codesourcery.com>
40840
40841 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
40842 * sysdeps/unix/sysv/Versions: Remove file.
40843
8280f22d
MT
408442012-04-21 Markus Trippelsdorf <markus@trippelsdorf.de>
40845
40846 [BZ #13927]
40847 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
40848
75ce411f 408492012-04-21 Nick Alcock <nick.alcock@oracle.com>
b8e33728
N
40850
40851 [BZ #7064]
40852 * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
40853 version from __vm86.
40854
097d59fa
JM
408552012-04-20 Joseph Myers <joseph@codesourcery.com>
40856
a90f3bcb
JM
40857 * sysdeps/unix/common/lxstat.c: Remove file.
40858 * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
40859
edc7ea78
JM
40860 * sysdeps/unix/sysv/Makefile: Remove file.
40861
cb78c221
JM
40862 * sysdeps/unix/sysv/direct.h: Remove file.
40863
efa6a45f
JM
40864 * sysdeps/unix/sysv/bits/dirent.h: Remove file.
40865 * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
40866 * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
40867 * sysdeps/unix/sysv/bits/signum.h: Likewise.
40868 * sysdeps/unix/sysv/bits/stat.h: Likewise.
40869 * sysdeps/unix/sysv/bits/utmp.h: Likewise.
40870 * sysdeps/unix/sysv/bits/utsname.h: Likewise.
40871
9c9f2d0c
JM
40872 * sysdeps/unix/sysv/setrlimit.c: Remove file.
40873
4541c83b
JM
40874 * sysdeps/unix/xmknod.c: Remove file.
40875 * sysdeps/unix/syscalls.list (sys_mknod): Remove.
40876
f5d153a0
JM
40877 * sysdeps/unix/sysv/settimeofday.c: Remove file.
40878
aa746595
JM
40879 * sysdeps/unix/sysv/i386/time.S: Remove file.
40880
cce5905e
JM
40881 * sysdeps/unix/fxstat.c: Remove file.
40882 * sysdeps/unix/xstat.c: Likewise.
40883 * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
40884
37fa3841
JM
40885 * sysdeps/unix/sysv/sigaction.c: Remove file.
40886
ff1962a3
JM
40887 * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
40888 (sysdep_headers): Remove variable.
40889 [termio.h not in sysdep_headers] (generated): Likewise.
40890 [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
40891 * sysdeps/unix/sysv/sysv_termio.h: Remove file.
40892 * sysdeps/unix/sysv/tcdrain.c: Likewise.
40893 * sysdeps/unix/sysv/tcflow.c: Likewise.
40894 * sysdeps/unix/sysv/tcflush.c: Likewise.
40895 * sysdeps/unix/sysv/tcgetattr.c: Likewise.
40896 * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
40897 * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
40898 * sysdeps/unix/sysv/tcsetattr.c: Likewise.
40899 * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
40900
e7740d31
JM
40901 * sysdeps/unix/siglist.c: Remove file.
40902
ee06f18b
JM
40903 * sysdeps/unix/getppid.S: Remove file.
40904
097d59fa
JM
40905 * sysdeps/unix/mkdir.c: Remove file.
40906 * sysdeps/unix/rmdir.c: Likewise.
40907
ff3d51ec
AS
409082012-04-19 Andreas Schwab <schwab@linux-m68k.org>
40909
40910 * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
40911 ERR_MAX value.
40912 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
40913 errlist-compat value.
40914
50f81fd7
DM
409152012-04-18 David S. Miller <davem@davemloft.net>
40916
40917 * sysdeps/generic/memcopy.h (reg_char): Delete.
40918 * debug/strcat_chk.c: Use char, not reg_char.
40919 * debug/strcpy_chk.c: Likewise.
40920 * debug/strncat_chk.c: Likewise.
40921 * debug/strncpy_chk.c: Likewise.
40922 * string/memchr.c: Likewise.
40923 * string/memrchr.c: Likewise.
40924 * string/rawmemchr.c: Likewise.
40925 * string/strcat.c: Likewise.
40926 * string/strchr.c: Likewise.
40927 * string/strchrnul.c: Likewise.
40928 * string/strcmp.c: Likewise.
40929 * string/strcpy.c: Likewise.
40930 * string/strncat.c: Likewise.
40931 * string/strncmp.c: Likewise.
40932 * string/strncpy.c: Likewise.
40933
8ff41c46
WS
409342012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
40935
40936 * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
40937 __builtin_memcopy is called when src and dest ranges are known to not
40938 overlap.
40939
6b652f46
WS
409402012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
40941
40942 * sysdeps/powerpc/powerpc64/power6/wordcopy.c
40943 (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
40944 fwd_align_merge macro call.
40945 (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
40946 bwd_align_merge macro call.
40947 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
40948
b282631e
WS
409492012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
40950
40951 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
40952 bwd_align_merge macros.
40953 (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
40954 (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
40955 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
40956
95aa737c
DM
409572012-04-18 David S. Miller <davem@davemloft.net>
40958
40959 * sysdeps/sparc/sparc64/memcopy.h: Delete.
40960
7a99a614
AJ
409612012-04-18 Andreas Jaeger <aj@suse.de>
40962
40963 [BZ# 6794]
40964 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
40965 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
40966 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
40967
40968 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
40969 * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
40970 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
40971
40972 * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
40973 * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
40974 Adjust for changed ldbl-128 files.
40975
40976 * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
40977 * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
40978 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
40979
e5270c23
DM
409802012-04-17 David S. Miller <davem@davemloft.net>
40981
40982 * sysdeps/sparc/sparc32/memcopy.h: Delete.
40983
fb5e92c9
AS
409842012-04-17 Andreas Schwab <schwab@linux-m68k.org>
40985
40986 * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
40987 * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
40988 * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
40989 * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
40990 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
40991 * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
40992
76da7265
AZ
409932012-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
40994
40995 [BZ #6794]
40996 * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
40997 * math/libm-test.inc: Add ilogb errno and exception tests.
40998 * math/w_ilogb.c: New file: ilogb wrapper.
40999 * math/w_ilogbf.c: New file: ilogbf wrapper.
41000 * math/w_ilogbl.c: New file: ilogbl wrapper.
41001 * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
41002 * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
41003 * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
41004 exception being thrown with 0.0 as argument.
41005 * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
41006 * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
41007 exception being thrown with 0.0 as argument.
41008 * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
41009 * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
41010 exception being thrown with 0.0 as argument.
41011 * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
41012 * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
41013 exception being thrown with 0.0 as argument.
41014 * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
41015 * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
7a99a614 41016 * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
76da7265
AZ
41017 * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
41018 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
41019 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
41020 * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
41021 * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
41022 * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
41023
0396e69d
PB
410242012-04-17 Petr Baudis <pasky@ucw.cz>
41025
41026 * include/sys/uio.h: Change __vector to __iovec to avoid clash
41027 with altivec.
41028
750b5926
MP
410292012-04-16 Marek Polacek <polacek@redhat.com>
41030
41031 * elf/pldd-xx.c: Rename static_assert to pldd_assert.
41032
751728a1
MP
410332012-04-16 Marek Polacek <polacek@redhat.com>
41034
41035 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
41036 operands of fdivp instruction.
41037
34a27407
L
410382012-04-13 H.J. Lu <hongjiu.lu@intel.com>
41039
41040 * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
41041 * elf/tst-auditmod3b.c: Likewise.
41042 * elf/tst-auditmod4b.c: Likewise.
41043 * elf/tst-auditmod5b.c: Likewise.
41044 * elf/tst-auditmod6b.c: Likewise.
41045 * elf/tst-auditmod6c.c: Likewise.
41046 * elf/tst-auditmod7b.c: Likewise.
41047 * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
41048 * sysdeps/x86_64/preconfigure.in: Likewise.
41049 * sysdeps/x86_64/preconfigure: Regenerated.
41050
7e73e17d
L
410512012-04-13 H.J. Lu <hongjiu.lu@intel.com>
41052
41053 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
41054 __ILP32__.
41055
c7a6ab72
AB
410562012-04-13 Antoine Balestrat <merkil33@gmail.com>
41057
41058 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
41059 (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
41060
a9e8e0e0
CL
410612012-04-13 Chris Leonard <cjlhomeaddress@gmail.com>
41062
41063 [BZ #13973]
41064 * locale/iso-639.def: Fix gl language name. Spotted by
41065 Yaron Shahrabani.
41066
ec98af7d
RM
410672012-04-12 Roland McGrath <roland@hack.frob.com>
41068
41069 [BZ #2074]
41070 * libio/libio.h (__io_write_fn): Update comment.
41071
247c3ede
PB
410722012-04-12 Petr Baudis <pasky@ucw.cz>
41073
41074 [BZ #2074]
41075 * stdio.texi (Hook Functions): The user provided writer function
41076 is not allowed to return -1.
41077
55939d6d
DM
410782012-04-11 David S. Miller <davem@davemloft.net>
41079
41080 * sysdeps/sparc/fpu/libm-test-ulps: Update.
41081
90020f5a
MF
410822012-04-11 Mike Frysinger <vapier@gentoo.org>
41083
41084 * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
41085 Add a leading slash to rtkaio.
41086
288f9098
JM
410872012-04-11 Jim Meyering <meyering@redhat.com>
41088
90020f5a
MF
41089 [BZ #11959]
41090 * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
41091 It is not necessarily an error to ignore fwrite's return
41092 value. One can reliably use ferror to test for errors after
41093 the fact.
288f9098 41094
4be2b570
L
410952012-04-10 H.J. Lu <hongjiu.lu@intel.com>
41096
41097 * bits/types.h (__snseconds_t): New type.
41098 * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
41099
41100 * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
41101 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
41102 (__SNSECONDS_T_TYPE): Likewise.
41103 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
41104 (__SNSECONDS_T_TYPE): Likewise.
41105 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
41106 (__SNSECONDS_T_TYPE): Likewise.
41107
288f9098 411082012-04-10 Andreas Jaeger <aj@suse.de>
4cfd8026
AJ
41109
41110 [BZ #2636]
41111 * manual/time.texi (Processor Time): Return type of times is
41112 elapsed real time since an arbitrary point in the past.
41113 (CPU Time): Move CLK_TCK from here...
41114 (Processor Time): ...to here. Correct description.
41115 * manual/conf.texi (Constants for Sysconf): Correct description of
41116 _SC_CLK_TCK.
41117
d7dd4413
DM
411182012-04-10 David S. Miller <davem@davemloft.net>
41119
41120 [BZ #13967]
41121 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
41122 where the is a gap between DT_REL(A) and DT_JMPREL.
41123
b46068fc
L
411242012-04-10 H.J. Lu <hongjiu.lu@intel.com>
41125
41126 * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
41127 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
41128 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
41129
73d65cc3
SP
411302012-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
41131
41132 * elf/dl-support.c (_dl_inhibit_cache): New variable.
41133 * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
41134 (dl_main): Handle --inhibit-cache.
41135 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
41136 _dl_inhibit_cache.
41137 * elf/dl-load.c (_dl_map_object): Use it.
41138 * elf/Makefile: Define SYSCONFDIR when building rtld.c.
41139
bcc8d661
JM
411402012-04-09 Joseph Myers <joseph@codesourcery.com>
41141
8f9a2fae
JM
41142 [BZ #13872]
41143 * sysdeps/i386/fpu/e_powl.S (p78): New object.
41144 (__ieee754_powl): Saturate large exponents rather than testing for
41145 overflow of y*log2(x).
41146 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
41147 * math/libm-test.inc (pow_test): Do not permit spurious overflow
41148 exceptions.
41149
bcc8d661
JM
41150 [BZ #11521]
41151 * math/s_ctan.c: Include <float.h>.
41152 (__ctan): Avoid internal overflow or cancellation in calculating
41153 denominator.
41154 * math/s_ctanf.c: Likewise.
41155 * math/s_ctanl.c: Likewise.
41156 * math/s_ctanh.c: Likewise.
41157 * math/s_ctanhf.c: Likewise.
41158 * math/s_ctanhl.c: Likewise.
41159 * math/libm-test.inc (ctan_test): Add more tests.
41160 (ctanh_test): Likewise.
41161 * sysdeps/i386/fpu/libm-test-ulps: Update.
41162 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
41163
823fbbb4
AJ
411642012-04-09 Andreas Jaeger <aj@suse.de>
41165
03879793
AJ
41166 [BZ #6894]
41167 * manual/filesys.texi (Directory Entries): Mention that d_namlen
41168 is an optional BSD extension.
41169
823fbbb4
AJ
41170 [BZ #10254]
41171 * manual/stdio.texi (Opening Streams): Document additional fopen
41172 parameters.
41173
8de131cb
RM
411742012-04-09 Roland McGrath <roland@hack.frob.com>
41175
41176 * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
41177 %eax without telling the compiler.
41178
c0ed9d7d
CD
411792012-04-09 Carlos O'Donell <carlos_odonell@mentor.com>
41180
41181 [BZ # 13963]
41182 * manual/install.texi: Use sourceware.org.
41183
c483f6b4
JM
411842012-04-09 Joseph Myers <joseph@codesourcery.com>
41185
d7dd9453
JM
41186 [BZ #13873]
41187 * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
41188 (__ieee754_pow): Generate overflow and underflow using huge*huge
41189 and tiny*tiny rather than just returning constant infinity or zero
41190 for large exponents.
41191 * math/libm-test.inc (pow_test): Require overflow exceptions for
41192 applicable cases of large exponents.
41193
c483f6b4
JM
41194 [BZ #706]
41195 * sysdeps/i386/fpu/e_pow.S (p10): New object.
41196 (__ieee754_pow): Use iterative multiplication algorithm only for
41197 integer exponents with absolute value below 1024. Check for odd
41198 integer exponents when using algorithm for real exponents.
41199 * math/libm-test.inc (pow_test): Add more tests.
41200 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
41201
d2de7579
JM
412022012-04-08 Joseph Myers <joseph@codesourcery.com>
41203
41204 [BZ #13705]
41205 * math/libm-test.inc (exp_test): Do not allow overflow exception
41206 on underflow test.
41207
f77f1232
AJ
412082012-04-08 Aurelien Jarno <aurelien@aurel32.net>
41209
41210 [BZ #13705]
41211 * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
41212 instead of __kernel_standard_f.
41213
3884932b
MF
412142012-04-08 Mike Frysinger <vapier@gentoo.org>
41215
41216 * sysdeps/i386/i686/memset_chk.S: Update copyright year.
41217 * sysdeps/x86_64/memset_chk.S: Likewise.
41218
54472e9c
AJ
412192012-04-08 Andreas Jaeger <aj@suse.de>
41220
6ab0fbfc
AJ
41221 [BZ #10153]
41222 * manual/startup.texi (Environment Access): Describe return value
41223 for putenv and setenv.
41224
61efba8c
AJ
41225 [BZ #6895]
41226 * manual/filesys.texi (Directory Entries): Add description for
41227 DT_LNK.
41228
95c3f29a
AJ
41229 [BZ #6890]
41230 * manual/filesys.texi (Directory Entries): Clarify that it's file
41231 system not operating system in the description of DT_UNKNOWN.
41232
54472e9c
AJ
41233 [BZ #6578]
41234 * manual/syslog.texi (closelog): Fix reference, it's openlog.
41235
624254b1
SC
412362012-04-08 Stephen Compall <s11@member.fsf.org>
41237
41238 [BZ #6649]
41239 * manual/llio.texi (Opening and Closing Files): Add cross
41240 reference to explain mode argument.
41241
1e4920e0
MF
412422012-04-07 Mike Frysinger <vapier@gentoo.org>
41243
41244 * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
41245 * sysdeps/x86_64/memset_chk.S: Likewise.
41246
5ed848f3
DM
412472012-04-07 David S. Miller <davem@davemloft.net>
41248
41249 * elf/elf.h (R_SPARC_WDISP10): Define.
41250 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
41251 R_SPARC_SIZE32.
41252 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
41253 R_SPARC_SIZE64 and R_SPARC_H34.
41254
96154cd8
CD
412552012-04-07 Carlos O'Donell <carlos_odonell@mentor.com>
41256
41257 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
41258 conditions and remove no longer applicable assertion.
41259
9904dc47
L
412602012-04-06 H.J. Lu <hongjiu.lu@intel.com>
41261
41262 * bits/byteswap.h: Include <features.h>.
41263 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
41264 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
41265
f8887d0a
L
412662012-04-06 H.J. Lu <hongjiu.lu@intel.com>
41267
41268 * bits/byteswap.h (__bswap_16): Removed.
41269 Include <bits/byteswap-16.h> to get __bswap_16.
41270 * sysdeps/i386/bits/byteswap.h: Likewise.
41271 * sysdeps/s390/bits/byteswap.h: Likewise.
41272 * sysdeps/x86_64/bits/byteswap.h: Likewise.
41273 * bits/byteswap-16.h: New file.
41274 * sysdeps/i386/bits/byteswap-16.h: Likewise.
41275 * sysdeps/s390/bits/byteswap-16.h: Likewise.
41276 * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
41277 * string/Makefile (headers): Add bits/byteswap-16.h.
41278
62470f60
PP
412792012-04-06 Paul Pluzhnikov <ppluzhnikov@google.com>
41280
41281 [BZ #13895]
41282 * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
41283 extra indirection.
41284 * nss/Makefile (tests-static, tests): Add tst-nss-static.
41285 * nss/tst-nss-static.c: New.
41286
4dad7bab
RM
412872012-04-06 Robert Millan <rmh@gnu.org>
41288
41289 [BZ #6486]
41290 * manual/llio.texi (File Position Primitive): lseek
41291 refers to WHENCE when it really means OFFSET.
41292
e9142a17
AJ
412932012-04-06 Andreas Jaeger <aj@suse.de>
41294
2c040eff
AJ
41295 * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
41296 strncmp declarations.
41297
e9142a17
AJ
41298 * abilist/libc.abilist: Add __poll and __ppoll.
41299
ff9f1c5f
DM
413002012-04-05 David S. Miller <davem@davemloft.net>
41301
dcd2ae90
DM
41302 * scripts/check-local-headers.sh: Accept a host triplet in the
41303 path matched by the exclude regexp.
41304
993eb054
DM
41305 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
41306 definition.
41307 * sysdeps/powerpc/powerpc32/dl-machine.h
41308 (ELF_MACHINE_PLTREL_OVERLAP): Delete.
41309 * sysdeps/s390/s390-32/dl-machine.h
41310 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
41311 * sysdeps/sparc/sparc32/dl-machine.h
41312 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
41313 * sysdeps/sparc/sparc64/dl-machine.h
41314 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
41315
ff9f1c5f
DM
41316 * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
41317 lazy binding.
48e2e132 41318 * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
ff9f1c5f
DM
41319 undefined symbol errors.
41320
48e2e132 41321 * elf/rtld.c (dl_main): Skip VDSO when checking for unused
ff9f1c5f
DM
41322 DT_NEEDED entries.
41323
e80d6f94
MM
413242012-04-05 Michael Matz <matz@suse.de>
41325
41326 [BZ #13592]
41327 * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
41328
349fa79f
AJ
413292012-04-05 Andreas Jaeger <aj@suse.de>
41330
41331 [BZ #13908]
41332 * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
41333 comment.
41334
f402708f
KK
413352012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
41336
41337 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
41338 which ROUND is no valid rounding mode.
41339
2ecccfc9
KK
413402012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
41341
41342 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
41343 read again.
41344 * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
41345
8a53f50f
KK
413462012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
41347
41348 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
41349 an exception using FPU order intentionally.
41350
413512012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
41352
41353 * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
41354 * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
41355 * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
41356 * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
41357
d653abb7
SJ
413582012-04-05 Simon Josefsson <simon@josefsson.org>
41359
41360 [BZ #12340]
41361 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
41362 EINVAL when BUFLEN is too smal.
41363
c3b1bf7d
TS
413642012-04-05 Thomas Schwinge <thomas@codesourcery.com>
41365
41366 [BZ #13553]
41367 * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
41368 * sysdeps/mach/powerpc/machine-lock.h: Likewise.
41369
b1aa60f3
AJ
413702012-04-03 Andreas Jaeger <aj@suse.de>
41371
c3b1bf7d 41372 [BZ #13938]
67f60a26
AJ
41373 * manual/setjmp.texi (System V contexts): Fix sentence.
41374
b1aa60f3
AJ
41375 [BZ #13926]
41376 * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
41377 New macro for this case.
41378 [!__GNUC__] (__bswap_64): New inline function for this case.
41379 * sysdeps/x86_64/bits/byteswap.h: Likewise.
41380 * bits/byteswap.h: Likewise.
41381 * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
41382 ull, guard with __GLIBC_HAVE_LONG_LONG.
41383
41384 * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
41385 __GLIBC_HAVE_LONG_LONG.
41386
41387 * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
41388 Include <features.h> for __GLIBC_HAVE_LONG_LONG.
41389
39c59c35
TMQMF
413902012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
41391
41392 [BZ #13691]
41393 * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
41394 inptr and inend, rather than using last_ch.
41395
135ffda8
DM
413962012-04-02 David S. Miller <davem@davemloft.net>
41397
41398 With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
41399 * stdio-common/printf-parse.h (read_int): Change return type to
41400 'int', return -1 on INT_MAX overflow.
41401 * stdio-common/vfprintf.c (vfprintf): Validate width and precision
41402 against overflow of INT_MAX. Set errno to EOVERFLOW when 'done'
41403 overflows INT_MAX. Check for overflow of in-format-string precision
41404 values properly. Use EOVERFLOW rather than ERANGE throughout. Use
41405 SIZE_MAX not INT_MAX for integer overflow test.
41406 * stdio-common/printf-parsemb.c: If read_int signals an overflow,
41407 skip the construct in the format string but do not record anything.
41408 * stdio-common/bug22.c: Adjust to test both width/prevision
41409 INT_MAX overflow as well as total length INT_MAX overflow. Check
41410 explicitly for proper errno values.
41411
228c019e
TS
414122012-04-02 Thomas Schwinge <thomas@codesourcery.com>
41413
302cadd3
TS
41414 * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
41415 CHAR_MAX.
41416 * string/test-strcmp.c [! WIDE]: Likewise.
41417 * time/tst-mktime2.c: Likewise for INT_MAX.
41418 * string/test-string.h: #include <sys/param.h> for MIN.
41419
228c019e
TS
41420 * csu/init-first.c (__libc_init_first): Call __ctype_init.
41421 * sysdeps/i386/init-first.c (init): Likewise.
41422 * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
41423 * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
41424 * sysdeps/sh/init-first.c (init): Likewise.
41425
cfa633f5
UD
414262012-04-01 Ulrich Drepper <drepper@gmail.com>
41427
41428 * po/ru.po: Update from translation team.
d1635ef8 41429 * po/vi.po: Likewise.
cfa633f5 41430
6cd0a5ea
SP
414312012-03-31 Siddhesh Poyarekar <siddhesh@redhat.com>
41432
41433 * resolv/nss_dns/dns-host.c: Merge copyright years.
41434
4b43400f
LD
414352012-03-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
41436
41437 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
41438 Optimize memcpy with prefetch if
41439 DATA_CACHE_SIZE_HALF <= len < SHARED_CACHE_SIZE_HALF and
41440 src, dst pointers have unequal 16 byte alignments.
41441
48c41d04
SP
414422012-03-30 Siddhesh Poyarekar <siddhesh@redhat.com>
41443
41444 [BZ #13928]
41445 * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
41446 from a CNAME entry and return the minimum ttl for the query.
41447 (gaih_getanswer_slice): Likewise.
41448
b8dc394d
JL
414492012-03-30 Jeff Law <law@redhat.com>
41450
41451 * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
41452 due to long keys.
41453 * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
41454 * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
41455
2f5a5ed0
JL
41456 * resolv/nss_dns/dns-host.c: Update copyright year.
41457
1d39e359
UD
414582012-03-30 Ulrich Drepper <drepper@gmail.com>
41459
c030f70c 41460 * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
8e6d1083 41461 requests to save a system call. Fix check that all bytes are sent.
c030f70c 41462
1d39e359
UD
41463 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
41464 comments for sendmmsg.
41465
414662012-03-30 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
e64d2de5
TMQMF
41467
41468 [BZ #13691]
41469 * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
41470 with only 1 character between 0x0041 and 0x01b0.
41471 * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
41472 * wcsmbs/tst-mbsnrtowcs.c: New file.
41473
20fde227
DM
414742012-03-29 David S. Miller <davem@davemloft.net>
41475
41476 * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
41477 small copies by hand.
41478
984a4237
JL
414792012-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
41480
41481 [BZ #13761]
57f41c40
AS
41482 * nis/nss_compat/compat-initgroups.c (getgrent_next_nss)
41483 (_nss_compat_initgroups_dyn): Fall back to malloc/free for large
41484 group memberships.
984a4237 41485
18c9d62b
DM
414862012-03-28 David S. Miller <davem@davemloft.net>
41487
88d85d4f
DM
41488 * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
41489 that branches into memcpy.
41490 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
41491 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
41492 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
41493 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
41494 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
41495 bits.
41496 * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
41497 implementation too.
41498 * sysdeps/sparc/mempcpy.S: New file.
41499
e5aa83e1
DM
41500 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
41501 the IFUNC routine in the libc case.
41502 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
41503
88570753
DM
41504 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
41505 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
41506 * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
41507 * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
41508 * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
41509 * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
41510 * sysdeps/sparc/sparc64/rtld-memset.c: New file.
41511 * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
41512
249d7567
DM
41513 * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
41514 loop to 256 bytes instead of 64 bytes and fix test signedness.
41515
18c9d62b
DM
41516 * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
41517 * sysdeps/sparc/sparc32/Makefile: rather than here...
41518 * sysdeps/sparc/sparc64/Makefile: and here.
41519
05f3d1f6
UD
415202012-03-28 Ulrich Drepper <drepper@gmail.com>
41521
41522 * malloc/mallocbug.c: Avoid warnings about unused variables.
41523
86ae07a8
JL
415242012-02-22 Siddhesh Poyarekar <siddhesh@redhat.com>
41525
41526 [BZ #13760]
41527 * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
41528 in the right place. Discard and retry query if response is
41529 larger than input buffer size.
41530
41bf21a1
JM
415312012-03-28 Joseph Myers <joseph@codesourcery.com>
41532
d6270972
JM
41533 [BZ #369]
41534 [BZ #2678]
41535 [BZ #3866]
41536 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
41537 x for large integer exponent.
41538 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
41539 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise. Adjust
41540 sign of result as needed afterwards.
41541 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
41542 * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
41543 result for underflowing pow the same as for overflow.
41544 (__kernel_standard_l): Handle powl overflow and underflow here
41545 rather than calling __kernel_standard.
41546 * math/libm-test.inc (pow_test): Add more tests.
41547
414fca03 41548 [BZ #3868]
41bf21a1
JM
41549 [BZ #13879]
41550 [BZ #13910]
41551 [BZ #13911]
41552 [BZ #13912]
41553 [BZ #13913]
41554 [BZ #13915]
41555 [BZ #13916]
41556 [BZ #13917]
41557 [BZ #13918]
41558 [BZ #13919]
41559 [BZ #13920]
41560 [BZ #13921]
41561 * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
41562 * sysdeps/ieee754/k_standard.c: Include <float.h>.
41563 (__kernel_standard_l): New function.
41564 * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
41565 __kernel_standard.
41566 * math/w_acosl.c (__acosl): Likewise.
41567 * math/w_asinl.c (__asinl): Likewise.
41568 * math/w_atan2l.c (__atan2l): Likewise.
41569 * math/w_atanhl.c (__atanhl): Likewise.
41570 * math/w_coshl.c (__coshl): Likewise.
41571 * math/w_exp10l.c (__exp10l): Likewise.
41572 * math/w_exp2l.c (__exp2l): Likewise.
41573 * math/w_fmodl.c (__fmodl): Likewise.
41574 * math/w_hypotl.c (__hypotl): Likewise.
41575 * math/w_j0l.c (__j0l, __y0l): Likewise.
41576 * math/w_j1l.c (__j1l, __y1l): Likewise.
41577 * math/w_jnl.c (__jnl, __ynl): Likewise.
41578 * math/w_lgammal.c (__lgammal): Likewise.
41579 * math/w_log10l.c (__log10l): Likewise.
41580 * math/w_log2l.c (__log2l): Likewise.
41581 * math/w_logl.c (__logl): Likewise.
41582 * math/w_powl.c (__powl): Likewise.
41583 * math/w_remainderl.c (__remainderl): Likewise.
41584 * math/w_scalbl.c (sysv_scalbl): Likewise.
41585 * math/w_sinhl.c (__sinhl): Likewise.
41586 * math/w_sqrtl.c (__sqrtl): Likewise.
41587 * math/w_tgammal.c (__tgammal): Likewise.
41588 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
41589 * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
41590 * math/libm-test.inc (acos_test): Add more tests.
41591 (acosh_test): Likewise.
41592 (asin_test): Likewise.
41593 (atanh_test): Likewise.
41594 (exp_test): Likewise.
41595 (exp10_test): Likewise.
41596 (exp2_test): Likewise.
41597 (expm1_test): Likewise.
41598 (lgamma_test): Likewise.
41599 (log_test): Likewise.
41600 (log10_test): Likewise.
41601 (log1p_test): Likewise.
41602 (log2_test): Likewise.
41603 (pow_test): Do not allow some spurious overflow exceptions.
41604 (sqrt_test): Add more tests.
41605 (tgamma_test): Likewise.
41606 (y0_test): Likewise.
41607 (y1_test): Likewise.
41608 (yn_test): Likewise.
41609
dd62fda6
AB
416102012-03-27 Anton Blanchard <anton@samba.org>
41611
41612 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
41613 MAP_HUGETLB.
41614 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
41615 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
41616 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
41617
1e3cdfda
AJ
416182012-03-27 David S. Miller <davem@davemloft.net>
41619
b855ab85
DM
41620 * conform/Makefile: Run run-conformtest.sh using $(BASH).
41621
1e3cdfda
AJ
41622 * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
41623 have-as-vis3 check.
41624
416252012-03-27 Andreas Jaeger <aj@suse.de>
41626
41627 * sysdeps/x86_64/elf/configure.in: Moved to ...
41628 * sysdeps/x86_64/configure.in: ... here.
41629 * sysdeps/x86_64/elf/start.S: Moved to ...
41630 * sysdeps/x86_64/start.S: ... here.
41631 * sysdeps/x86_64/elf/configure: Delete.
41632
41633 * sysdeps/x86_64/configure.in: Merge contents from
41634 sysdeps/i386/configure.in (without i686 check).
41635
41636 * sysdeps/i386/elf/Versions: Merge into ...
41637 * sysdeps/i386/Versions: ... this.
41638 * sysdeps/i386/elf/Versions: Delete file.
41639 * sysdeps/i386/elf/start.S: Moved to ...
41640 * sysdeps/i386/start.S: ...here.
41641 * sysdeps/i386/elf/configure.in: Merge into...
41642 * sysdeps/i386/configure.in: ...here.
41643 * sysdeps/i386/elf/configure.in: Delete file.
41644 * sysdeps/i386/elf/configure: Delete file.
41645
41646 * sysdeps/generic/elf/backtracesyms.c: Moved to ...
41647 * debug/backtracesyms.c: ... here.
41648 * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
41649 * debug/backtracesymsfd.c: ... here.
41650 * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
41651 * sysdeps/generic/ifunc-sel.h: ... here.
41652
41653 * sysdeps/unix/i386/start.c: Delete file.
41654 * sysdeps/unix/sparc/start.c: Delete file.
41655 * sysdeps/unix/start.c: Delete file.
41656
41657 * sysdeps/sh/elf/configure.in: Moved to ...
41658 * sysdeps/sh/configure.in: ... here.
41659 * sysdeps/sh/elf/start.S: Moved to ...
41660 * sysdeps/sh/start.S: ... here.
41661 * sysdeps/sh/elf/configure: Delete file.
41662
41663 * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
41664 * sysdeps/powerpc/powerpc64/bzero.S: ... here.
41665 * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
41666 * sysdeps/powerpc/powerpc64/entry.h: ... here.
41667 * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
41668 * sysdeps/powerpc/powerpc64/start.S: here.
41669 * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
41670 * sysdeps/powerpc/powerpc64/Makefile: ... this.
41671 * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
41672 * sysdeps/powerpc/powerpc64/configure.in: ... this.
41673 * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
41674
41675 * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
41676 * sysdeps/powerpc/powerpc32/bzero.S: ... here.
41677 * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
41678 * sysdeps/powerpc/powerpc32/start.S: ... here.
41679 * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
41680 * sysdeps/powerpc/powerpc32/configure.in: ... this.
41681 * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
41682
41683 * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
41684 * sysdeps/powerpc/ifunc-sel.h: ... here.
41685 * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
41686 * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
41687
41688 * sysdeps/sparc/elf/configure.in: Moved to ...
41689 * sysdeps/sparc/configure.in: ... here.
41690 * sysdeps/sparc/elf/configure: Delete file.
41691 * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
41692 * sysdeps/sparc/sparc32/start.S: ... here.
41693 * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
41694 * sysdeps/sparc/sparc64/start.S: ... here.
41695 * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
41696 * sysdeps/sparc/sparc32/Makefile: ... this.
41697 * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
41698 * sysdeps/sparc/sparc64/Makefile: ... this.
41699
41700 * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
41701 * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
41702 * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
41703 * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
41704 * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
41705 * sysdeps/s390/s390-32/setjmp.S: ... here.
41706 * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
41707 * sysdeps/s390/s390-32/configure.in: ... here.
41708 * sysdeps/s390/s390-32/elf/configure: Delete file.
41709 * sysdeps/s390/s390-32/elf/start.S: Moved to ...
41710 * sysdeps/s390/s390-32/start.S: ... here.
41711
41712 * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
41713 * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
41714 * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
41715 * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
41716 * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
41717 * sysdeps/s390/s390-64/setjmp.S: ... here.
41718 * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
41719 * sysdeps/s390/s390-64/configure.in: ... here
41720 * sysdeps/s390/s390-64/elf/configure: Delete file.
41721 * sysdeps/s390/s390-64/elf/start.S: Moved to ...
41722 * sysdeps/s390/s390-64/start.S: ... here.
41723 * sysdeps/s390/s390-64/elf/configure: Delete.
41724
41725 * configure.in: Remove support for elf directories in sysdeps.
41726
41727 * configure: Regenerated.
41728 * sysdeps/i386/configure: Regenerated.
41729 * sysdeps/powerpc/powerpc32/configure: Regenerated.
41730 * sysdeps/powerpc/powerpc64/configure: Regenerated.
41731 * sysdeps/s390/s390-32/configure: Regenerated.
41732 * sysdeps/s390/s390-64/configure: Regenerated.
41733 * sysdeps/sh/configure: Regenerated.
41734 * sysdeps/sparc/configure: Regenerated.
41735 * sysdeps/x86_64/configure: Regenerated.
41736
a3f61311
AS
417372012-03-26 Andreas Schwab <schwab@linux-m68k.org>
41738
c876e002
AS
41739 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
41740
a3f61311
AS
41741 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
41742 denormal result into account.
41743
ac4c54f0
RM
417442012-03-25 Roland McGrath <roland@hack.frob.com>
41745
41746 * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
41747 Reported by Allan McRae <allan@archlinux.org>.
41748
6a9b9c02
JL
417492012-03-23 Jeff Law <law@redhat.com>
41750
41751 * nss/getnssent.c (__nss_getent): Fix typo.
41752
4c42a0c1
DM
417532012-03-23 David S. Miller <davem@davemloft.net>
41754
41755 * sysdeps/sparc/fpu/libm-test-ulps: Update.
41756
1532c7ac
L
417572012-03-23 H.J. Lu <hongjiu.lu@intel.com>
41758
41759 * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
41760 to pad to uint64_t for each field.
41761 (dl_tls_index): Replace unsigned long with uint64_t.
41762
3ff42526
PP
417632012-03-23 Daniel Jacobowitz <dmj@google.com>
41764 Paul Pluzhnikov <ppluzhnikov@google.com>
41765
41766 [BZ #6528]
41767 * grp/Makefile (otherlibs): Don't set it.
41768 * inet/Makefile (otherlibs): Likewise.
41769 * login/Makefile (otherlibs): Likewise.
41770 * nscd/Makefile (otherlibs): Likewise.
41771 * posix/Makefile (otherlibs): Likewise.
41772 * pwd/Makefile (otherlibs): Likewise.
41773 * rt/Makefile (otherlibs): Likewise.
41774 * sunrpc/Makefile (otherlibs): Likewise.
41775 * nss/Makefile (otherlibs): Likewise.
41776 Add libnss_files to routines and static-only-routines.
41777 ($(objpfx)getent): Remove rule.
41778 * resolv/Makefile: Add libnss_dns and libresolv to routines and
41779 static-only-routines.
41780
7c69cd14
JM
417812012-03-22 Joseph Myers <joseph@codesourcery.com>
41782
41783 [BZ #13892]
41784 * math/s_cexp.c: Include <float.h>.
41785 (__cexp): Handle exp result overflowing not necessarily
41786 overflowing both real and imaginary parts of result.
41787 * math/s_cexpf.c: Likewise.
41788 * math/s_cexpl.c: Likewise.
41789 * math/libm-test.inc (cexp_test): Add more tests.
41790 * sysdeps/i386/fpu/libm-test-ulps: Update.
41791 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
41792
81b035fe
L
417932012-03-22 H.J. Lu <hongjiu.lu@intel.com>
41794
41795 * include/link.h (ELFW): New macro.
41796 * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
41797 Replace ELF64_R_TYPE with ELFW(R_TYPE).
41798
1da7940c
L
417992012-03-22 H.J. Lu <hongjiu.lu@intel.com>
41800
41801 * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
41802 with uint64_t.
41803
b749dbb9
L
418042012-03-22 H.J. Lu <hongjiu.lu@intel.com>
41805
41806 * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
41807 declaration.
41808 (struct La_x32_retval): Likewise.
41809
2ff87f3f
L
418102012-03-22 H.J. Lu <hongjiu.lu@intel.com>
41811
41812 * sysdeps/x86_64/preconfigure.in: New file.
41813 * sysdeps/x86_64/preconfigure: New generated file.
41814
c0df8e69
JM
418152012-03-22 Joseph Myers <joseph@codesourcery.com>
41816
48e44791
JM
41817 [BZ #13824]
41818 * math/e_exp2l.c: Include <float.h>.
41819 (__ieee754_exp2l): Handle overflow and underflow cases
41820 separately. Only pass fractional part of argument to
41821 __ieee754_expl.
41822 * math/libm-test.inc (exp2_test): Add more tests.
41823
c0df8e69
JM
41824 * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
41825 negating x to take absolute value.
41826 * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
41827 Likewise.
41828 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
41829 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
41830 Likewise.
41831 * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
41832 computing low part if x was negated.
41833 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
41834
c8e43ba7
L
418352012-03-21 H.J. Lu <hongjiu.lu@intel.com>
41836
41837 * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
41838 la_x32_gnu_pltexit.
41839 (pltexit): Cast int_retval to ptrdiff_t.
41840 * elf/tst-auditmod3b.c: Likewise.
41841 * elf/tst-auditmod4b.c: Likewise.
41842 * elf/tst-auditmod5b.c: Likewise.
41843 * elf/tst-auditmod6b.c: Likewise.
41844 * elf/tst-auditmod6c.c: Likewise.
41845 * elf/tst-auditmod7b.c: Likewise.
41846
41847 * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
41848 and x32_gnu_pltexit.
41849
41850 * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
41851 __ELF_NATIVE_CLASS.
41852 (La_x32_regs): New macro.
41853 (La_x32_retval): Likewise.
41854 (la_x32_gnu_pltenter): New function prototype.
41855 (la_x32_gnu_pltexit): Likewise.
41856
7998fa78
AS
418572012-03-21 Andreas Schwab <schwab@linux-m68k.org>
41858
dcb33988
AS
41859 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
41860 exponent.
41861
233fc563
AS
41862 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
41863
7998fa78
AS
41864 * configure.in (libc_cv_cc_nofma): Check for option to disable
41865 generation of FMA instructions.
41866 * configure: Regenerate.
41867 * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
41868 * sysdeps/ieee754/dbl-64/Makefile: New file.
41869 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
41870 Remove brandred-fma4.
41871 (CFLAGS-brandred-fma4.c): Remove.
41872 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
41873 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
41874 define.
41875 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
41876 define.
41877
8e95c99a
L
418782012-03-21 H.J. Lu <hongjiu.lu@intel.com>
41879
41880 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
41881 LLONG_MAX != LONG_MAX.
41882 (_itoa_word): Use _ITOA_WORD_TYPE on value.
41883 (_fitoa_word): Likewise.
41884 * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
41885 LLONG_MAX != LONG_MAX.
41886 * stdio-common/_itowa.h: Include <_itoa.h>.
41887 (_itowa_word): Use _ITOA_WORD_TYPE on value.
41888 (_itowa): New macro. Defined only if _ITOA_NEEDED is false.
41889 * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro. Defined
41890 only if not defined.
41891 (_ITOA_WORD_TYPE): Likewise.
41892 (_itoa_word): Use _ITOA_WORD_TYPE on value.
41893 Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
41894
6f4db457
DM
418952012-03-21 David S. Miller <davem@davemloft.net>
41896
41897 * sysdeps/sparc/fpu/libm-test-ulps: Update.
41898
7785fe5a
L
418992012-03-21 H.J. Lu <hongjiu.lu@intel.com>
41900
41901 * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
41902 of x86_64 when setting libc_cv_slibdir, libdir and
41903 libc_cv_localedir.
41904 * sysdeps/unix/sysv/linux/configure: Regenerated.
41905
4535cd55
JM
419062012-03-21 Joseph Myers <joseph@codesourcery.com>
41907
41908 * manual/lang.texi (Old Varargs): Remove section.
41909 (How Variadic): Update menu.
41910 (va_start): Do not mention varargs.h.
41911
17228132
TS
419122012-03-21 Thomas Schwinge <thomas@codesourcery.com>
41913 Joseph Myers <joseph@codesourcery.com>
41914
41915 * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
41916 link test.
41917 * configure: Regenerated.
41918
8149f976
TS
419192012-03-21 Thomas Schwinge <thomas@codesourcery.com>
41920
05f3d1f6
UD
41921 * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
41922 * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
41923 conformtest.pl
8149f976 41924
1a4ac776
JM
419252012-03-21 Joseph Myers <joseph@codesourcery.com>
41926
be22ce65
JM
41927 * NOTES: Remove.
41928 * Makefile (files-for-dist): Remove NOTES.
41929 (NOTES): Remove rule.
41930 * README: Don't refer to NOTES.
41931 * manual/creature.texi: Don't include macros.texi.
41932 * manual/intro.texi (creature.texi): Remove comment referring to
41933 NOTES.
41934
40b601fb
JM
41935 * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
41936 * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
41937 * configure: Regenerated.
41938 * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
41939 LIBC_TRY_CC_OPTION.
41940 (libc_cv_as_i686): Likewise.
41941 (libc_cv_cc_avx): Likewise.
41942 (libc_cv_cc_sse2avx): Likewise.
41943 (libc_cv_cc_fma4): Likewise.
41944 (libc_cv_cc_novzeroupper): Likewise.
41945 * sysdeps/i386/configure: Regenerated.
41946
1a4ac776
JM
41947 [BZ #13883]
41948 * sysdeps/i386/fpu/s_cexp.S: Remove.
41949 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
41950 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
41951 * math/libm-test.inc (cexp_test): Add more tests.
41952 * sysdeps/i386/fpu/libm-test-ulps: Update.
41953 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
41954
a458e7fe
AM
419552012-03-21 Allan McRae <allan@archlinux.org>
41956
41957 * timezone/Makefile: Do not install iso3166.tab and zone.tab
41958
0cb7efc5
JM
419592012-03-21 Joseph Myers <joseph@codesourcery.com>
41960
41961 [BZ #13871]
41962 * math/w_exp2.c: Do not include <float.h>.
41963 (o_threshold, u_threshold): Remove.
41964 (__exp2): Calculate result before checking finiteness and calling
41965 __kernel_standard.
41966 * math/w_exp2f.c: Likewise.
41967 * math/w_exp2l.c: Likewise.
41968 * math/libm-test.inc (exp2_test): Require overflow exception for
41969 1e6 input.
2460d3aa
JM
41970
41971 [BZ #3866]
41972 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
41973 range of signed 64-bit integers before using fistpll. Remove
41974 checks for whether integers fit in mantissa bits.
41975 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
41976 the range of signed 32-bit integers before using fistpl. Remove
41977 checks for whether integers fit in mantissa bits.
41978 * sysdeps/i386/fpu/e_powl.S (p64): New object.
41979 (__ieee754_powl): Test for y outside the range of signed 64-bit
41980 integers before using fistpll. Reduce 64-bit values to 63-bit
41981 ones as needed.
41982 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
41983 divide-by-zero is raised for zero to large negative powers.
41984 * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
41985 (__ieee754_powl): Test for y outside the range of signed 64-bit
41986 integers before using fistpll. Reduce 64-bit values to 63-bit
41987 ones as needed.
41988 * math/libm-test.inc (pow_test): Add more tests.
41989
eb96ffb0
L
419902012-03-20 H.J. Lu <hongjiu.lu@intel.com>
41991
41992 * debug/backtracesymsfd.c: Include <_itoa.h> instead of
41993 <stdio-common/_itoa.h>.
41994 * debug/segfault.c: Likewise.
41995 * elf/dl-cache.c: Likewise.
41996 * elf/dl-minimal.c: Likewise.
41997 * elf/dl-misc.c: Likewise.
41998 * elf/dl-sysdep.c: Likewise.
41999 * elf/dl-version.c: Likewise.
42000 * elf/rtld.c: Likewise.
42001 * hurd/hurdsock.c: Likewise.
42002 * hurd/lookup-retry.c: Likewise.
42003 * malloc/malloc.c: Likewise.
42004 * malloc/mtrace.c: Likewise.
42005 * nscd/nscd_getgr_r.c: Likewise.
42006 * nscd/nscd_getpw_r.c: Likewise.
42007 * nscd/nscd_getserv_r.c: Likewise.
42008 * posix/getopt_init.c: Likewise.
42009 * posix/wordexp.c: Likewise.
42010 * stdio-common/_itoa.c: Likewise.
42011 * stdio-common/printf_fphex.c: Likewise.
42012 * stdio-common/vfprintf.c: Likewise.
42013 * string/_strerror.c: Likewise.
42014 * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
42015 * sysdeps/i386/i686/hp-timing.h: Likewise.
42016 * sysdeps/mach/_strerror.c: Likewise.
42017 * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
42018 * sysdeps/mach/hurd/sethostid.c: Likewise.
42019 * sysdeps/mach/hurd/xmknodat.c: Likewise.
42020 * sysdeps/mach/xpg-strerror.c: Likewise.
42021 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
42022 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
42023 * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
42024 * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
42025 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
42026 * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
42027 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
42028 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
42029 * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
42030 * sysdeps/unix/sysv/linux/futimes.c: Likewise.
42031 * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
42032 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
42033 * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
42034 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
42035 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
42036 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
42037 * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
42038 * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
42039 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
42040 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
42041 * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
42042
42043 * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
42044
42045 * stdio-common/_itoa.h: Moved to ...
42046 * sysdeps/generic/_itoa.h: Here.
42047
42048 * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
42049
42050 * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
42051 instead of "_itoa.h" and "_itowa.h".
42052 * stdio-common/vfprintf.: Likewise.
42053
d1af992d
L
420542012-03-20 H.J. Lu <hongjiu.lu@intel.com>
42055
42056 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
42057 <bits/wordsize.h>.
42058 (__signbitf): Check __x86_64__ instead of __WORDSIZE.
42059 (__signbit): Likwise.
42060 (llrintf): Likwise.
42061 (llrint): Likwise.
42062
114883e0
L
420632012-03-20 H.J. Lu <hongjiu.lu@intel.com>
42064
42065 * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
42066 __WORDSIZE != 64.
42067
c135cc1b
JM
420682012-03-20 Joseph Myers <joseph@codesourcery.com>
42069
42070 * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
42071 OVERFLOW_EXCEPTION_OK.
42072 * math/libm-test.inc ("Philosophy"): Update comment about
42073 exception testing.
42074 (OVERFLOW_EXCEPTION): Define.
42075 (OVERFLOW_EXCEPTION_OK): Likewise.
42076 (INVALID_EXCEPTION_OK): Renumber.
42077 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
42078 (IGNORE_ZERO_INF_SIGN): Likewise.
42079 (test_exceptions): Handle FE_OVERFLOW.
42080 (exp10_test): Expect overflow exceptions.
42081 (exp2_test): Likewise.
42082 (expm1_test): Likewise.
42083 (nextafter_test): Likewise.
42084 (pow_test): Likewise.
42085 (scalbn_test): Likewise.
42086 (scalbln_test): Likewise.
42087
95443d88
L
420882012-03-19 H.J. Lu <hongjiu.lu@intel.com>
42089
42090 * sysdeps/x86_64/bits/atomic.h
42091 (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
42092 64bit integer.
42093 (atomic_exchange_acq): Likewise.
42094 (__arch_exchange_and_add_body): Likewise.
42095 (__arch_add_body): Likewise.
42096 (atomic_add_negative): Likewise.
42097 (atomic_add_zero): Likewise.
42098
490df6c4
L
420992012-03-19 H.J. Lu <hongjiu.lu@intel.com>
42100
c2722551 42101 * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
490df6c4
L
42102 (fenv_t): Check __x86_64__ instead of __WORDSIZE.
42103
5e52b189
L
421042012-03-19 H.J. Lu <hongjiu.lu@intel.com>
42105
42106 * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
42107 Check __x86_64__ instead of __WORDSIZE.
42108
a9879d4c
L
421092012-03-19 H.J. Lu <hongjiu.lu@intel.com>
42110
42111 * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
42112
5df98260
DM
421132012-03-19 David S. Miller <davem@davemloft.net>
42114
e1497744
DM
42115 * sysdeps/sparc/fpu/libm-test-ulps: Update.
42116
5df98260
DM
42117 * sysdeps/sparc/fpu/fenv_private.h: New file.
42118 * sysdeps/sparc/fpu/math_private.h: Use it.
42119 (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
42120 Remove.
57f41c40 42121 (libc_feholdexcept_setround, libc_feholdexcept_setroundf)
5df98260
DM
42122 (libc_feholdexcept_setroundl): Remove.
42123 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
42124 Remove.
42125 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
42126 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
42127
b4c35121
L
421282012-03-19 H.J. Lu <hongjiu.lu@intel.com>
42129
42130 * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
42131 int64_t instead of long int.
42132 (INSERT_WORDS64): Likwise.
42133
56965fd7
L
421342012-03-19 H.J. Lu <hongjiu.lu@intel.com>
42135
42136 * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
42137 _Unwind_GetCFA return to _Unwind_Ptr first.
42138
83d1aec8
JM
421392012-03-19 Joseph Myers <joseph@codesourcery.com>
42140
1897ad44
JM
42141 [BZ #13629]
42142 * math/s_clog.c: Include <float.h>.
42143 (__clog): Scale large or subnormal inputs.
42144 * math/s_clogf.c: Likewise.
42145 * math/s_clogl.c: Likewise.
42146 * math/s_clog10.c: Include <float.h>.
42147 (M_LOG10_2): Define.
42148 (__clog10): Scale large or subnormal inputs.
42149 * math/s_clog10f.c: Likewise.
42150 * math/s_clog10l.c: Likewise.
42151 * math/libm-test.inc (clog_test): Add more tests.
42152 (clog10_test): Likewise.
42153 * sysdeps/i386/fpu/libm-test-ulps: Update.
42154 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
42155
7726d6a9
JM
42156 [BZ #11451]
42157 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
42158 x and y.
42159 * math/libm-test.inc (atan2_test): Add another test.
42160
83d1aec8
JM
42161 * Makerules (common-objdir-compile): Remove.
42162 * sysdeps/unix/Makefile (config-generated): Do not add
42163 $(unix-generated) to variable.
42164 [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
42165 [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
42166 Remove rule.
42167 [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
42168 Likewise.
42169 [generic bits/local_lim.h] (before-compile): Do not append to
42170 variable.
42171 [generic bits/local_lim.h] (common-generated): Likewise.
42172 [generic sys/param.h] (before-compile): Do not append to variable.
42173 [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
42174 [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
42175 [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
42176 [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
42177 include.
42178 [generic sys/param.h] (sys/param.h-includes): Remove variable.
42179 [generic sys/param.h] (sys/param.h-includes): Remove rule.
42180 [generic sys/param.h] ($(addprefix
42181 $(common-objpfx),$(sys/param.h-includes))): Likewise.
42182 [generic sys/param.h] (common-generated): Do not append to
42183 variable.
42184 [generic sys/param.h] (sysdep_headers): Likewise.
42185 [generic bits/errno.h] (before-compile): Do not append to
42186 variable.
42187 [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
42188 rule.
42189 [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
42190 [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
42191 [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
42192 [generic bits/errno.h] (common-generated): Do not append to
42193 variable.
42194 [generic bits/ioctls.h] (before-compile): Do not append to
42195 variable.
42196 [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
42197 rule.
42198 [generic bits/ioctls.h] (ioctl-includes): Remove variable.
42199 [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
42200 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
42201 rule.
42202 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
42203 [generic bits/ioctls.h] (bits_termios.h): Remove variable.
42204 [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
42205 [generic bits/ioctls.h] (common-generated): Do not append to
42206 variable.
42207 [generic sys/syscall.h] (syscall.h): Remove variable.
42208 [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
42209 rule.
42210 [generic sys/syscall.h] (before-compile): Do not append to
42211 variable.
42212 [generic sys/syscall.h] (common-generated): Likewise.
42213 * sysdeps/unix/errnos-tmpl.c: Remove file.
42214 * sysdeps/unix/errnos.awk: Likewise.
42215 * sysdeps/unix/ioctls-tmpl.c: Likewise.
42216 * sysdeps/unix/ioctls.awk: Likewise.
42217 * sysdeps/unix/mk-local_lim.c: Likewise.
42218 * sysdeps/unix/snarf-ioctls: Likewise.
42219
4851a949
RH
422202012-03-19 Richard Henderson <rth@twiddle.net>
42221
bd37f2ee
RH
42222 * sysdeps/i386/fpu/fenv_private.h: New file.
42223 * sysdeps/i386/fpu/math_private.h: Use it.
42224 (math_opt_barrier, math_force_eval): Remove.
42225 (libc_feholdexcept_setround_53bit): Remove.
42226 (libc_feupdateenv_53bit): Remove.
42227 * sysdeps/x86_64/fpu/math_private.h: Likewise.
42228 (math_opt_barrier, math_force_eval): Remove.
42229 (libc_feholdexcept): Remove.
42230 (libc_feholdexcept_setround): Remove.
42231 (libc_fetestexcept, libc_fesetenv): Remove.
42232 (libc_feupdateenv_test): Remove.
42233 (libc_feupdateenv, libc_feholdsetround): Remove.
42234 (libc_feresetround): Remove.
42235
d0adc922
RH
42236 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
42237 * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
42238
0fe0f1f8
RH
42239 * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
42240 (libc_feupdateenv_test, libc_feupdateenv_testf): New.
42241 (libc_feupdateenv_testl): New.
42242 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
42243 (libc_feupdateenv_testf): New.
42244 (libc_feupdateenv): Use libc_feupdateenv_test.
42245 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
42246 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
42247
eb92c487
RH
42248 * sysdeps/generic/math_private.h (libc_feholdsetround): New.
42249 (libc_feholdsetroundf, libc_feholdsetroundl): New.
42250 (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
42251 (libc_feresetround_noex): New.
42252 (libc_feresetround_noexf): New.
42253 (libc_feresetround_noexl): New.
42254 (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
42255 (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
42256 (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
42257 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
42258 SET_RESTORE_ROUND.
42259 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
42260 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
42261 (__cos): Likewise.
42262 * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
42263 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
42264 SET_RESTORE_ROUND_NOEX.
42265 * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
42266 SET_RESTORE_ROUND_NOEXF.
42267 * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
42268 * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
42269 (libc_feholdsetroundf): New.
42270 (libc_feresetround, libc_feresetroundf): New.
42271
7d2e8012
RH
42272 * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
42273 (libc_feholdexcept_setround_53bit): Convert from macro to function.
42274 (libc_feupdateenv_53bit): Likewise. Don't force _FPU_EXTENDED.
42275
b4dabbb4
RH
42276 * sysdeps/generic/math_private.h: Include <fenv.h>.
42277 (default_libc_feholdexcept): New.
42278 (default_libc_feholdexcept_setround): New.
42279 (default_libc_fesetenv, default_libc_feupdateenv): New.
42280 (libc_feholdexcept): Only define if undefined.
42281 (libc_feholdexceptf, libc_feholdexceptl): Likewise.
42282 (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
42283 (libc_feholdexcept_setroundl): Likewise.
42284 (libc_feholdexcept_setround_53bit): Likewise.
42285 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
42286 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
42287 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
42288 (libc_feupdateenv_53bit): Likewise.
42289 * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
42290 (libc_feholdexcept): Convert from macro to inline function.
42291 (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
42292 (libc_fesetenv, libc_feupdateenv): Likewise.
42293
4851a949
RH
42294 * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
42295 not previously defined.
42296 (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
42297 (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
42298 (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
42299 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
42300 * sysdeps/ieee754/flt-32/math_private.h: New file.
42301 * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
42302 math_private.h below SET_FLOAT_WORD.
42303 (__isnan, __isinf_ns, __finite): Remove.
42304 (__isnanf, __isinf_nsf, __finitef): Remove.
42305
e79d442e
AS
423062012-03-18 Andreas Schwab <schwab@linux-m68k.org>
42307
42308 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
42309
90b80344
DM
423102012-03-17 David S. Miller <davem@davemloft.net>
42311
42312 [BZ #6471]
42313 * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
42314 for 2.16.
42315
edc21804
DM
423162012-03-16 David S. Miller <davem@davemloft.net>
42317
77e927af
DM
42318 * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
42319 warnings.
42320
374976dd
DM
42321 [BZ #6471]
42322 * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
42323 properly.
42324 * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
42325 * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
42326 sysdep_routines when subdir is sysvipc.
42327 * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
42328 __getshmlba helper.
42329
edc21804
DM
42330 * sysdeps/sparc/fpu/libm-test/ulps: Update.
42331
473c3ef3
L
423322012-03-16 H.J. Lu <hongjiu.lu@intel.com>
42333
42334 * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
42335 [__LP64__].
42336
eb0f39b6
L
423372012-03-16 H.J. Lu <hongjiu.lu@intel.com>
42338
42339 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
42340 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
42341 (__lround): Renamed to ...
42342 (__llround): This. Replace long int with long long int.
42343 Define lround functions as aliases of llround functions.
42344 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
42345
6b6cd74b
L
423462012-03-16 H.J. Lu <hongjiu.lu@intel.com>
42347
42348 * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
42349 Use greg_t on sp. Use unsigned int on idx_uc_link. Cast
42350 adresses to uintptr_t. Replace "long int" and "unsigned long
42351 int" with "greg_t" on va_arg.
42352
f1a77b01
L
423532012-03-16 H.J. Lu <hongjiu.lu@intel.com>
42354
42355 * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
42356 * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
42357
42358 * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
42359 Move e_machine check before EI_CLASS check. Handle x32
42360 libraries. Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
42361 * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
42362 SKIP_EM_IA_64 and include
42363 <sysdeps/unix/sysv/linux/i386/readelflib.c>.
42364
42365 * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
42366 Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
42367 (add_system_dir): New macro.
42368
42369 * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
42370 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
42371
11b90b9f
JM
423722012-03-16 Joseph Myers <joseph@codesourcery.com>
42373
c36e1d23
JM
42374 [BZ #2551]
42375 [BZ #2552]
42376 [BZ #2553]
42377 [BZ #2554]
42378 [BZ #2562]
42379 [BZ #2563]
42380 [BZ #2565]
42381 [BZ #2566]
42382 [BZ #2576]
42383 * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
42384 (y0): Likewise.
42385 * math/w_j0f.c (j0f): Likewise.
42386 (y0f): Likewise.
42387 * math/w_j0l.c (__j0l): Likewise.
42388 (__y0l): Likewise.
42389 * math/w_j1.c (j1): Likewise.
42390 (y1): Likewise.
42391 * math/w_j1f.c (j1f): Likewise.
42392 (y1f): Likewise.
42393 * math/w_j1l.c (__j1l): Likewise.
42394 (__y1l): Likewise.
42395 * math/w_jn.c (jn): Likewise.
42396 (yn): Likewise.
42397 * math/w_jnf.c (jnf): Likewise.
42398 (ynf): Likewise.
42399 * math/w_jnl.c (__jnl): Likewise.
42400 (__ynl): Likewise.
42401 * math/libm-test.inc (j0_test): Add more tests.
42402 (j1_test): Likewise.
42403 (jn_test): Likewise. Add trailing semicolon to existing test.
42404 (y0_test): Likewise.
42405 (y1_test): Likewise.
42406 * sysdeps/i386/fpu/libm-test-ulps: Update.
42407 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
42408
11b90b9f
JM
42409 [BZ #13851]
42410 [BZ #13854]
42411 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
42412 libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
42413 * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
42414 * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
42415 (__tanl): Set errno for infinite argument.
42416 * sysdeps/i386/fpu/mptan.c: Remove.
42417 * sysdeps/i386/fpu/s_tan.S: Likewise.
42418 * sysdeps/i386/fpu/s_tanl.S: Likewise.
42419 * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
42420 * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
42421 * math/libm-test.inc (tan_test): Add more tests and enable more
42422 tests for double and long double.
42423 * sysdeps/i386/fpu/libm-test-ulps: Update.
42424 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
42425
6a1bd2a1
JK
424262012-03-16 Jan Kratochvil <jan.kratochvil@redhat.com>
42427
42428 * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
42429 (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
42430
10a803e0
RM
424312012-03-16 Roland McGrath <roland@hack.frob.com>
42432
42433 * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
42434 * configure.in: Use it for both main tree and add-ons.
42435 * configure: Regenerated.
42436
f196c7f7
L
424372012-03-16 H.J. Lu <hongjiu.lu@intel.com>
42438
42439 * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
42440
8848d99d
JM
424412012-03-16 Joseph Myers <joseph@codesourcery.com>
42442
96cbe7f4
JM
42443 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
42444 in comment.
42445
8848d99d
JM
42446 [BZ #13851]
42447 * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
42448 * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
42449 * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
42450 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
42451 * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
42452 infinite argument.
42453 * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
42454 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
42455 != 0 for prec == 2.
42456 * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
42457 * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
42458 * sysdeps/i386/fpu/s_cosl.S: Likewise.
42459 * sysdeps/i386/fpu/s_sincosl.S: Likewise.
42460 * sysdeps/i386/fpu/s_sinl.S: Likewise.
42461 * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
42462 * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
42463 * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
42464 * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
42465 * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
42466 * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
42467 * math/libm-test.inc (cos_test): Add more tests and enable more
42468 tests for long double.
42469 (sin_test): Likewise.
42470 (sincos_test): Likewise.
42471 * sysdeps/i386/fpu/libm-test-ulps: Update.
42472 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
42473
dd7f4703
DM
424742012-03-16 David S. Miller <davem@davemloft.net>
42475
42476 * sysdeps/sparc/fpu/math_private.h: New file.
42477
006f1daa
DM
424782012-03-15 David S. Miller <davem@davemloft.net>
42479
c0c83bc8
DM
42480 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
42481 file.
e6a62e18 42482 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
c0c83bc8
DM
42483 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
42484 file.
e6a62e18
DM
42485 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
42486 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
42487 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
42488 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
42489 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
42490 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
42491 sysdep routines.
42492 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
42493
88cb87d9
DM
42494 * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
42495 * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
42496
006f1daa 42497 * sysdeps/sparc/sparc-ifunc.h: New file.
c0c83bc8
DM
42498 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
42499 sparc-ifunc.h
006f1daa 42500 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
c0c83bc8
DM
42501 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
42502 Likewise.
42503 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
42504 Likewise.
006f1daa
DM
42505 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
42506 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
42507 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
c0c83bc8
DM
42508 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
42509 Likewise.
006f1daa
DM
42510 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
42511 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
42512 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
42513 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
c0c83bc8
DM
42514 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
42515 Likewise.
42516 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
42517 Likewise.
006f1daa
DM
42518 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
42519 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
42520 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
42521 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
42522 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
42523 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
42524 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
42525 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
42526 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
42527 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
42528 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
42529 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
42530 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
42531 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
42532 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
42533 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
42534 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
42535 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
42536 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
42537 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
42538 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
42539 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
42540 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
42541 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
42542
11e0098e
AS
425432012-03-15 Andreas Schwab <schwab@linux-m68k.org>
42544
42545 * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
42546 scaling.
42547 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
42548
e85b09d0
AJ
425492012-03-15 Andreas Jaeger <aj@suse.de>
42550
42551 [BZ #13852]
42552 * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
42553 ieee754/flt-32 implementation for sin, cos and sincos.
42554 * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
42555 * sysdeps/i386/fpu/s_cosf.S: Likewise.
42556 * sysdeps/i386/fpu/s_sincosf.S: Likewise.
42557 * sysdeps/i386/fpu/s_sinf.S: Likewise.
42558 * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
42559 ieee754/flt-32 implementation for tan.
42560
42561 * math/libm-test.inc (cos_test): Enable some large input tests for
42562 float as well
42563 (sin_test): Likewise.
42564 (sincos_test): Likewise.
42565 (tan_test): Add tests for large input.
42566
42567 * sysdeps/i386/fpu/libm-test-ulps: Update.
42568
81c64153
AJ
425692012-03-15 Andreas Jaeger <aj@suse.de>
42570
42571 [BZ #13658]
42572 * math/libm-test.inc (cos_test): Add more test cases.
42573 (sin_test): Likewise.
42574 (sincos_test): Likewise.
42575
7bbfa5c6
AJ
425762012-03-15 Andreas Jaeger <aj@suse.de>
42577
42578 [BZ #13837]
42579 * math/libm-test.inc (cos_test): Add a test case for large input
42580 value.
42581 (sin_test): Likewise.
42582 (sincos_test): Likewise.
42583
57f41c40
AS
425842012-03-15 Andreas Jaeger <aj@suse.de>
42585 Joseph Myers <joseph@codesourcery.com>
7bbfa5c6
AJ
42586
42587 [BZ #13658]
0671f479 42588 * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
7bbfa5c6
AJ
42589 x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
42590 * sysdeps/i386/fpu/branred.c: Likewise.
42591 * sysdeps/i386/fpu/dosincos.c: Likewise.
42592 * sysdeps/i386/fpu/mpa.c: Likewise.
42593 * sysdeps/i386/fpu/s_cos.S: Likewise.
42594 * sysdeps/i386/fpu/s_sin.S: Likewise.
42595 * sysdeps/i386/fpu/s_sincos.S: Likewise.
42596 * sysdeps/i386/fpu/sincos32.c: Likewise.
42597
42598 * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
42599 Define.
42600 (libc_feupdateenv_53bit): Define.
42601 * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
42602 Define.
42603 (libc_feupdateenv_53bit): Define.
42604
42605 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
42606 53 bit (without extend i386 double precision).
42607
42608 * math/libm-test.inc (sincos_test): Add tests for large input.
42609 (sin): Likewise.
42610 (cos): Likewise.
42611
42612 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
42613
9cad04ea
AS
426142012-03-15 Andreas Schwab <schwab@linux-m68k.org>
42615
42616 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
42617
f7062b9a
DM
426182012-03-15 David S. Miller <davem@davemloft.net>
42619
42620 * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
42621 * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
42622 * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
42623 * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
42624 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
42625 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
42626 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
42627 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
42628 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
42629 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
42630 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
42631 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
42632 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
42633 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
42634 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
c0c83bc8
DM
42635 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
42636 file.
f7062b9a 42637 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
c0c83bc8
DM
42638 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
42639 file.
f7062b9a 42640 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
c0c83bc8
DM
42641 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
42642 file.
f7062b9a 42643 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
c0c83bc8
DM
42644 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
42645 file.
f7062b9a
DM
42646 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
42647 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
42648 fmin/fmax sysdep routines.
42649 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
42650
7bd951ff
DM
426512012-03-14 David S. Miller <davem@davemloft.net>
42652
559398ab
DM
42653 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
42654 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
42655 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
42656 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
42657 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
42658 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
42659 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
42660 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
42661 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
42662 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
42663 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
42664 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
42665 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
42666 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
42667 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
42668 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
42669 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
42670 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
42671 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
42672 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
42673 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
42674 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
42675 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
42676 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
42677 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
42678 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
42679 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
42680 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
c0c83bc8
DM
42681 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
42682 routines.
42683 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
42684 file.
559398ab 42685 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
c0c83bc8
DM
42686 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
42687 file.
559398ab 42688 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
c0c83bc8
DM
42689 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
42690 file.
559398ab 42691 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
c0c83bc8
DM
42692 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
42693 file.
559398ab 42694 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
c0c83bc8
DM
42695 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
42696 file.
559398ab 42697 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
c0c83bc8
DM
42698 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
42699 file.
42700 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
42701 file.
42702 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
42703 file.
42704 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
42705 file.
42706 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
42707 New file.
42708 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
42709 file.
42710 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
42711 file.
559398ab 42712 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
c0c83bc8
DM
42713 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
42714 file.
559398ab 42715 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
c0c83bc8
DM
42716 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
42717 file.
559398ab 42718 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
c0c83bc8
DM
42719 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
42720 file.
559398ab 42721 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
c0c83bc8
DM
42722 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
42723 VIS3 routines.
559398ab
DM
42724
42725 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
42726 New file.
42727
5a1c1e32
DM
42728 * sysdeps/sparc/fpu/libm-test-ulps: Update.
42729
eae47a36
DM
42730 * sysdeps/sparc/configure.in: New file.
42731 * sysdeps/sparc/configure: Generate.
42732 * configure.in (libc_cv_sparc_as_vis3): Substitute.
42733 * configure: Regenerate.
42734 * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
42735 * config.make.in (have-as-vis3): New.
42736 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
42737 available use -Av9d instead of -Av9a.
42738 * sysdeps/sparc/sparc64/Makefile: Likewise.
42739 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
c0c83bc8
DM
42740 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
42741 New file.
42742 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
42743 file.
42744 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
42745 New file.
42746 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
42747 file.
eae47a36
DM
42748 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
42749 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
42750 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
42751 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
42752 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
42753
c0c83bc8
DM
42754 * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
42755 fzeros/fnegs to load 0x80000000 into a float register instead of
42756 using the stack.
7bd951ff
DM
42757 * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
42758
bd951ccb
JM
427592012-03-14 Joseph Myers <joseph@codesourcery.com>
42760
42761 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
42762 bits/syscall.h.
42763 ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
42764 ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
42765 ($(inst_includedir)/bits/syscall.h): Remove rule.
42766 ($(objpfx)bits/syscall.d): Include instead of
42767 $(objpfx)syscall-list.d.
42768 (generated): Change syscall-list.h and syscall-list.d to
42769 bits/syscall.h and bits/syscall.d.
42770
bb4e6db2
RM
427712012-03-14 Roland McGrath <roland@hack.frob.com>
42772
42773 [BZ #13846]
42774 * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
42775
aa4a2ae1
JM
427762012-03-14 Joseph Myers <joseph@codesourcery.com>
42777
e456826d
JM
42778 [BZ #13841]
42779 * math/s_csqrt.c: Include <float.h>.
42780 (__csqrt): Scale large or subnormal inputs.
42781 * math/s_csqrtf.c: Likewise.
42782 * math/s_csqrtl.c: Likewise.
42783 * math/libm-test.inc (csqrt_test): Add more tests.
42784 * sysdeps/i386/fpu/libm-test-ulps: Update.
42785 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
42786
aa4a2ae1
JM
42787 [BZ #13840]
42788 * math/libm-test.inc (hypot_test): Add more tests.
42789
7c10fd35
DM
427902012-03-13 David S. Miller <davem@davemloft.net>
42791
42792 [BZ #13840]
42793 * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
42794 double-precision for the calculation instead of scaling.
42795
f453b98b
JM
427962012-03-13 Joseph Myers <joseph@codesourcery.com>
42797
42798 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
42799 manipulate bits before adding and subtracting TWO52[sx].
42800 * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
42801 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
42802 Likewise.
42803 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
42804
09a3453f
DM
428052012-03-13 David S. Miller <davem@davemloft.net>
42806
8e59da90
DM
42807 * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
42808 * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
42809 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
42810 rtld-global-offsets.h
42811 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
42812
2a8ab7f2
DM
42813 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
42814 large parameters.
42815
10f62770
DM
42816 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
42817
5f0bdb18
DM
42818 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
42819 'err' in the ifdef scope in which it is actually used.
42820
09a3453f
DM
42821 * nss/nss_db/db-init.c: Include string.h
42822
b4b2eb5e
DM
428232012-03-12 David S. Miller <davem@davemloft.net>
42824
98bb2f1c
DM
42825 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
42826 masking out of the most significant byte of random value used.
42827 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
42828 Fix coding style in previous change.
42829
b4b2eb5e
DM
42830 * sysdeps/unix/sysv/linux/kernel-features.h
42831 (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
42832 (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
42833 expression.
42834 (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
42835 later.
42836
6e226b09
DM
428372012-03-11 David S. Miller <davem@davemloft.net>
42838
a1bcbd40
DM
42839 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
42840 (__makecontext): Fix signedness of pointer casts setting up 'sp'.
42841 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
42842 for 'resultvar' otherwise things get truncated on 64-bit.
42843
cb9d6174
DM
42844 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
42845 Fix masking out of the most significant byte of random value used.
42846
6e226b09
DM
42847 * sysdeps/sparc/fpu/libm-test-ulps: Update.
42848
058c132d
AS
428492012-03-10 Andreas Schwab <schwab@linux-m68k.org>
42850
42851 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
42852
2d2cd515
DM
428532012-03-09 David S. Miller <davem@davemloft.net>
42854
42855 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
42856 variables with appropriate CPP guards.
57f41c40
AS
42857 * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr
42858 from the frame pointer, not the stack pointer. Correct layout
42859 comments. Fix test on resulting framesize and the management of
42860 the outregs buffer for pltexit. Preserve floating point return
42861 values across _dl_call_pltexit call.
2d2cd515
DM
42862 * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
42863 framesize and the management of the outregs buffer for pltexit.
42864 Preserve floating point return values across _dl_call_pltexit
42865 call.
57f41c40
AS
42866 * elf/sotruss-lib.c (la_sparc32_gnu_pltenter)
42867 (la_sparc64_gnu_pltenter, la_sparc32_gnu_pltexit)
42868 (la_sparc64_gnu_pltexit): New functions.
2d2cd515
DM
42869 (print_exit): Fix format string for return register value.
42870
9a07f9d0
JM
428712012-03-10 Joseph Myers <joseph@codesourcery.com>
42872
42873 * sunrpc/Makefile (others): Add rpcgen.
42874 ($(objpfx)rpcgen): Remove special build rule and dependency on
42875 libc.
42876 * sunrpc/rpcgen.c: New file.
42877
547b5e30
PE
428782012-03-09 Paul Eggert <eggert@cs.ucla.edu>
42879
c524201a
PE
42880 [BZ #13673]
42881 * posix/bug-regex33.c: Replace FSF snail mail address with URL.
42882 * stdio-common/bug-vfprintf-nargs.c: Likewise.
42883 * sysdeps/i386/crti.S: Likewise.
42884 * sysdeps/i386/crtn.S: Likewise.
42885 * sysdeps/powerpc/powerpc32/crti.S: Likewise.
42886 * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
42887 * sysdeps/powerpc/powerpc64/crti.S: Likewise.
42888 * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
42889 * sysdeps/sh/crti.S: Likewise.
42890 * sysdeps/sh/crtn.S: Likewise.
42891 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
42892
7b6235f2
PE
42893 [BZ #13673]
42894 * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
42895 with URL.
42896 * locale/programs/locfile-kw.gperf: Likewise.
42897 * locale/programs/charmap-kw.h: Regenerated.
42898 * locale/programs/locfile-kw.h: Likewise.
42899
547b5e30
PE
42900 [BZ #13673]
42901 * intl/plural.y: Replace FSF snail mail address with URL.
42902 * intl/plural.c: Regenerated.
42903
5f0a5dae
RH
429042012-03-09 Richard Henderson <rth@twiddle.net>
42905
42906 * include/math_private.h: Remove file.
42907 * math/math_private.h: Move file ...
42908 * sysdeps/generic/math_private.h: ... here.
42909
b8c03620
RH
42910 * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
42911 * sysdeps/powerpc/fpu/math_private.h: Likewise.
42912 * sysdeps/x86_64/fpu/math_private.h: Likewise.
42913
4e234f5d 42914 * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
33154d7b
RH
42915 and <math_private.h>.
42916 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
42917 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
42918 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
42919 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
42920 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
42921 * sysdeps/ieee754/dbl-64/branred.c: Likewise.
42922 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
42923 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
42924 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
42925 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
42926 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
42927 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
42928 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
42929 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
42930 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
42931 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
42932 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
42933 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
42934 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
42935 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
42936 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
42937 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
42938 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
42939 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
42940 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
42941 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
42942 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
42943 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
42944 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
42945 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
42946 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
42947 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
42948 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
42949 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
42950 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
42951 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
42952 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
42953 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
42954 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
42955 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
42956 * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
42957 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
42958 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
42959 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
42960 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
42961 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
42962 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
42963 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
42964 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
42965 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
42966 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
42967 * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
42968 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
42969 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
42970 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
42971 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
42972 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
42973 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
42974 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
42975 * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
42976 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
42977 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
42978 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
42979 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
42980 * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
42981 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
42982 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
42983 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
42984 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
42985 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
42986 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
42987 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
42988 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
42989 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
42990 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
42991 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
42992 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
42993 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
42994 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
42995 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
42996 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
42997 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
42998 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
42999 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
43000 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
43001 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
43002 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
43003 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
43004 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
43005 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
43006 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
43007 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
43008 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
43009 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
43010 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
43011 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
43012 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
43013 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
43014 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
43015 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
43016 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
43017 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
43018 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
43019 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
43020 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
43021 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
43022 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
43023 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
43024 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
43025 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
43026 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
43027 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
43028 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
43029 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
43030 * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
43031 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
43032 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
43033 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
43034 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
43035 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
43036 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
43037 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
43038 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
43039 * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
43040 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
43041 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
43042 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
43043 * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
43044 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
43045 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
43046 * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
43047 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
43048 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
43049 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
43050 * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
43051 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
43052 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
43053 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
43054 * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
43055 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
43056 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
43057 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
43058 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
43059 * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
43060 * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
43061 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
43062 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
43063 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
43064 * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
43065 * sysdeps/ieee754/k_standard.c: Likewise.
43066 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
43067 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
43068 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
43069 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
43070 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
43071 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
43072 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
43073 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
43074 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
43075 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
43076 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
43077 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
43078 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
43079 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
43080 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
43081 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
43082 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
43083 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
43084 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
43085 * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
43086 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
43087 * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
43088 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
43089 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
43090 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
43091 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
43092 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
43093 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
43094 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
43095 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
43096 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
43097 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
43098 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
43099 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
43100 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
43101 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
43102 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
43103 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
43104 * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
43105 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
43106 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
43107 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
43108 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
43109 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
43110 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
43111 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
43112 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
43113 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
43114 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
43115 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
43116 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
43117 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
43118 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
43119 * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
43120 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
43121 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
43122 * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
43123 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
43124 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
43125 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
43126 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
43127 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
43128 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
43129 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
43130 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
43131 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
43132 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
43133 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
43134 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
43135 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
43136 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
43137 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
43138 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
43139 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
43140 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
43141 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
43142 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
43143 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
43144 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
43145 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
43146 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
43147 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
43148 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
43149 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
43150 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
43151 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
43152 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
43153 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
43154 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
43155 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
43156 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
43157 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
43158 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
43159 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
43160 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
43161 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
43162 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
43163 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
43164 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
43165 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
43166 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
43167 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
43168 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
43169 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
43170 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
43171 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
43172 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
43173 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
43174 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
43175 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
43176 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
43177 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
43178 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
43179 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
43180 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
43181 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
43182 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
43183 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
43184 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
43185 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
43186 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
43187 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
43188 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
43189 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
43190 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
43191 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
43192 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
43193 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
43194 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
43195 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
43196 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
43197 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
43198 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
43199 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
43200 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
43201 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
43202 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
43203 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
43204 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
43205 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
43206 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
43207 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
43208 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
43209 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
43210 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
43211 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
43212 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
43213 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
43214 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
43215 * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
43216 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
43217 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
43218 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
43219 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
43220 * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
43221 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
43222 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
43223 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
43224 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
43225 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
43226 * sysdeps/ieee754/s_lib_version.c: Likewise.
43227 * sysdeps/ieee754/s_matherr.c: Likewise.
43228 * sysdeps/ieee754/s_signgam.c: Likewise.
43229 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
43230 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
43231 * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
43232 * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
43233 * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
43234 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
43235 * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
43236 * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
43237 * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
43238 * sysdeps/powerpc/fpu/s_rint.c: Likewise.
43239 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
43240 * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
43241 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
43242 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
43243 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
43244 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
43245 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
43246 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
43247 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
43248 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
43249 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
1ed0291c 43250
1991fa03
JM
432512012-03-09 Joseph Myers <joseph@codesourcery.com>
43252
43253 * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
43254 * sunrpc/rpc_main.c: Likewise.
43255 * sunrpc/rpc_svcout.c: Likewise.
43256
60d6f5a6
DM
432572012-03-09 David S. Miller <davem@davemloft.net>
43258
43259 * include/math_private.h: New file.
43260
4962050e
JM
432612012-03-09 Joseph Myers <joseph@codesourcery.com>
43262
02a6f887
JM
43263 * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
43264 * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
43265 * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
43266 from <bits/socket_type.h>.
43267 (enum __socket_type): Don't define here.
43268 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
43269 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
43270 bits/socket_type.h.
43271
c6e013c1
JM
43272 [BZ #13566]
43273 * libio/stdio.h (gets): Always declare for C++ up to C++11 without
43274 checking __USE_GNU.
43275
4962050e
JM
43276 * Makerules ($(inst_includedir)/%.h): New rule.
43277 * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
43278 (install-others): Remove variable setting.
43279 ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
43280
38842f45
RH
432812012-03-08 Richard Henderson <rth@twiddle.net>
43282
67bb6da6
RH
43283 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
43284 from macro to inline function; merge with the
43285 !__LIBC_INTERNAL_MATH_INLINES version.
43286 (__ieee754_sqrtf): Likewise.
43287
15194b4b
RH
43288 * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
43289 to inline function.
43290 (__rintf, __floor, __floorf): Likewise.
43291
64e21ede
RH
43292 * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
43293 macro to inline function.
43294 (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
43295
38842f45
RH
43296 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
43297 not <math/math_private.h>.
43298
c64bf5fe
DM
432992012-03-08 David S. Miller <davem@davemloft.net>
43300
43301 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
43302 copyright year.
43303 * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
43304
82d86f28
TS
433052012-03-08 Thomas Schwinge <thomas@codesourcery.com>
43306
43307 * resolv/gai_misc.c (handle_requests): Fix struct timespec
43308 normalization.
43309 * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
43310 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
43311
aea5d727
UD
433122012-03-08 Ulrich Drepper <drepper@gmail.com>
43313
43314 * stdio-common/tst-fphex.c: Various cleanups. The macros cannot
43315 be defined individually, they must be defined as a block. Define
43316 S for printing a string instead of hidint the different by using a
43317 macro for adding the 'l'.
43318 * stdio-common/tst-fphex-wide.c: Adjust.
43319
70bca0a3
MP
433202012-03-07 Marek Polacek <polacek@redhat.com>
43321
43322 * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
43323
65b81130
MP
433242012-03-08 Marek Polacek <polacek@redhat.com>
43325
43326 [BZ #13806]
43327 * stdio-common/Makefile (tests): Add tst-fphex-wide.
43328 * stdio-common/tst-fphex.c: Define a few macros to make the
43329 test reusable. Use them.
43330 * stdio-common/tst-fphex-wide.c: New file.
43331
07037eeb
JM
433322012-03-08 Joseph Myers <joseph@codesourcery.com>
43333
a7a93d50
JM
43334 [BZ #6911]
43335 * manual/macros.texi (gnusystems): New macro.
43336 (nongnusystems): Likewise.
43337 (gnulinuxhurdsystems): Likewise.
43338 (gnuhurdsystems): Likewise..
43339 (gnulinuxsystems): Likewise.
43340 * manual/charset.texi: Use new macros or @theglibc{} to refer to
43341 variants of the GNU system, not "GNU system".
43342 * manual/conf.texi: Likewise.
43343 * manual/errno.texi: Likewise. Update example of errno macro
43344 expansion.
43345 * manual/filesys.texi: Likewise.
43346 (getumask): Document as specific to GNU/Hurd.
43347 * manual/install.texi: Likewise. Reword some references to
43348 GNU/Linux.
43349 * manual/intro.texi: Likewise.
43350 * manual/io.texi: Likewise.
43351 (File Name Portability): Detail which constraints are inapplicable
43352 to all GNU systems and which are only inapplicable to GNU/Hurd.
43353 * manual/job.texi: Likewise.
43354 * manual/llio.texi: Likewise.
43355 (O_NOCTTY): Document as present on GNU/Linux.
43356 * manual/maint.texi: Likewise.
43357 * manual/memory.texi: Likewise.
43358 * manual/pattern.texi: Likewise.
43359 * manual/pipe.texi: Likewise.
43360 * manual/process.texi: Likewise.
43361 * manual/resource.texi: Likewise.
43362 (RUSAGE_CHILDREN): Remove statement about specifying a particular
43363 child on GNU/Hurd.
43364 * manual/setjmp.texi: Likewise.
43365 * manual/signal.texi: Likewise.
43366 * manual/startup.texi: Likewise.
43367 * manual/stdio.texi: Likewise.
43368 * manual/terminal.texi: Likewise.
43369 (ONLCR): Document as POSIX.
43370 (OXTABS): Document availability on GNU/Linux as XTABS.
43371 (ONOEOT): Document availability separately from other bits.
43372 (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
43373 * manual/time.texi: Likewise.
43374 * manual/users.texi: Likewise.
43375 * INSTALL: Regenerated.
43376 * sysdeps/gnu/errlist.c: Regenerated.
43377
07037eeb
JM
43378 * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
43379 * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
43380 (libc_cv_ctors_header): Likewise. Use asm ("") instead of calling
43381 puts.
43382 * configure: Regenerated.
43383
d1d3431a
JM
433842012-03-07 Joseph Myers <joseph@codesourcery.com>
43385
af6a1e37
JM
43386 * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
43387 default includes instead of AC_HEADER_CHECK.
43388 * sysdeps/i386/configure: Regenerated.
43389
d1d3431a
JM
43390 [BZ #10716]
43391 * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
43392 * math/s_cacoshf.c (__cacoshf): Likewise.
43393 * math/s_cacoshl.c (__cacoshl): Likewise.
43394 * math/s_casinh.c (__casinh): Set signs of result from argument.
43395 * math/s_casinhf.c (__casinhf): Likewise.
43396 * math/s_casinhl.c (__casinhl): Likewise.
43397 * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
43398 (casinh_test): Add more tests.
43399 * sysdeps/i386/fpu/libm-test-ulps: Update.
43400 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
43401
482ff4da
UD
434022012-03-07 Ulrich Drepper <drepper@gmail.com>
43403
872fda05
UD
43404 * po/zh_TW.po: Update from translation team.
43405
a4300c7a
UD
43406 * login/Makefile (distribute): Remove variable.
43407 * catgets/Makefile: Likewise.
43408 * mach/Makefile: Likewise.
43409 * malloc/Makefile: Likewise.
43410 * misc/Makefile: Likewise.
43411 * iconv/Makefile: Likewise.
43412 * nscd/Makefile: Likewise.
43413 * hurd/Makefile: Likewise.
43414 * manual/Makefile: Likewise.
43415 * locale/Makefile: Likewise.
43416 * intl/Makefile: Likewise.
43417 * conform/Makefile: Likewise.
43418 * nss/Makefile: Likewise.
43419 * time/Makefile: Likewise.
43420 * soft-fp/Makefile: Likewise.
43421 * dirent/Makefile: Likewise.
43422 * gmon/Makefile: Likewise.
43423 * po/Makefile: Likewise.
43424 * rt/Makefile: Likewise.
43425 * socket/Makefile: Likewise.
43426 * math/Makefile: Likewise.
43427 * signal/Makefile: Likewise.
43428 * debug/Makefile: Likewise.
43429 * elf/Makefile: Likewise.
43430 * timezone/Makefile: Likewise.
43431 * stdlib/Makefile: Likewise.
43432 * iconvdata/Makefile: Likewise.
43433 * sunrpc/Makefile: Likewise.
43434 * io/Makefile: Likewise.
43435 * argp/Makefile: Likewise.
43436 * inet/Makefile: Likewise.
43437 * hesiod/Makefile: Likewise.
43438 * grp/Makefile: Likewise.
43439 * csu/Makefile: Likewise.
43440 * wctype/Makefile: Likewise.
43441 * crypt/Makefile: Likewise.
43442 * libio/Makefile: Likewise.
43443 * string/Makefile: Likewise.
43444 * nis/Makefile: Likewise.
43445 * resolv/Makefile: Likewise.
43446 * stdio-common/Makefile: Likewise.
43447 * wcsmbs/Makefile: Likewise.
43448 * dlfcn/Makefile: Likewise.
43449 * posix/Makefile: Likewise.
43450
3b7c4e74 43451 [BZ #6959]
482ff4da
UD
43452 * timezone/Makefile: Don't install timezone files, just the programs
43453 and scripts.
43454
f72ed77d
UD
434552012-03-06 Ulrich Drepper <drepper@gmail.com>
43456
a000466f
UD
43457 * nss/databases.def: Add missing gshadow entry.
43458
f72ed77d
UD
43459 * stdio-common/vfprintf.c: Fix formatting. Missing copyright update.
43460
a53b7a4e
MP
434612012-03-06 Marek Polacek <polacek@redhat.com>
43462
43463 [BZ #13726]
43464 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
43465 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
43466 * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
43467 * stdio-common/tst-long-dbl-fphex.c: New file.
43468
e9258400
DM
434692012-03-06 David S. Miller <davem@davemloft.net>
43470
43471 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
43472 (set_obp_int): New function.
43473 (get_obp_int): New function.
43474 (__get_clockfreq_via_dev_openprom): Likewise.
f72ed77d
UD
43475 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
43476 Avoid unused variable warnings on 'val' and use builtin_expect.
43477 (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
43478 __builtin_expect.
e9258400
DM
43479 (INLINE_CLONE_SYSCALL): Likewise.
43480
3bd2c723
DM
434812012-03-05 David S. Miller <davem@davemloft.net>
43482
43483 * sysdeps/sparc/fpu/libm-test-ulps: Update.
43484
bbb78d03
AS
434852012-03-05 Andreas Schwab <schwab@linux-m68k.org>
43486
884c5db4
AS
43487 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
43488
bbb78d03
AS
43489 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
43490 only for |x| >= 40.
43491 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
43492
1c9f702a 434932012-03-05 H.J. Lu <hongjiu.lu@intel.com>
8542dee3
L
43494
43495 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
43496 Replace gettimeofday with __vdso_gettimeofday.
43497
7be16f82
RM
43498 * sysdeps/unix/sysv/linux/x86_64/init-first.c
43499 (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
43500 __vdso_clock_gettime and __vdso_getcpu.
8542dee3
L
43501
43502 * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
43503 time with __vdso_time.
43504
ed58a00f
JM
435052012-03-05 Joseph Myers <joseph@codesourcery.com>
43506
43507 * manual/lang.texi (size_t): Note types to which size_t may be
43508 equivalent with the GNU C Library, but do not describe when
43509 differences between them are significant.
43510
30ee4ced
AJ
435112012-03-05 Andreas Jaeger <aj@suse.de>
43512
43513 * sysdeps/i386/fpu/libm-test-ulps: Update.
43514
b7cd39e8
JM
435152012-03-05 Joseph Myers <joseph@codesourcery.com>
43516
43517 [BZ #3976]
43518 * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
43519 (__ieee754_pow): Save and restore rounding mode and use
43520 round-to-nearest for main computations.
43521 * math/libm-test.inc (pow_test_tonearest): New function.
43522 (pow_test_towardzero): Likewise.
43523 (pow_test_downward): Likewise.
43524 (pow_test_upward): Likewise.
43525 (main): Call the new functions.
43526 * sysdeps/i386/fpu/libm-test-ulps: Update.
43527 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
ca811b22
JM
43528
43529 [BZ #3976]
43530 * math/libm-test.inc (cosh_test_tonearest): New function.
43531 (cosh_test_towardzero): Likewise.
43532 (cosh_test_downward): Likewise.
43533 (cosh_test_upward): Likewise.
43534 (sinh_test_tonearest): Likewise.
43535 (sinh_test_towardzero): Likewise.
43536 (sinh_test_downward): Likewise.
43537 (sinh_test_upward): Likewise.
43538 (main): Call the new functions.
43539 * sysdeps/i386/fpu/libm-test-ulps: Update.
43540 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
43541
6c6a98c9
TV
435422012-03-05 Tom de Vries <tom@codesourcery.com>
43543
43544 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
43545 default stack guard is set in last bytes.
43546 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
43547
21bb2d2e 435482012-03-05 Kees Cook <keescook@chromium.org>
7c1f4834 43549
21bb2d2e 43550 * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
fa035517 43551
21bb2d2e
AJ
43552 [BZ #13656]
43553 * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
43554 possibly allocate from heap instead of stack.
43555 * stdio-common/bug-vfprintf-nargs.c: New file.
43556 * stdio-common/Makefile (tests): Add nargs overflow test.
7c1f4834 43557
c6922934
AS
435582012-03-03 Andreas Schwab <schwab@linux-m68k.org>
43559
43560 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
43561
bc957d53
MP
435622012-03-03 Marek Polacek <polacek@redhat.com>
43563
43564 * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
43565 * math/math_private.h: Likewise.
43566 * stdlib/tst-strtod.c: Likewise.
43567 * sysdeps/i386/i486/bits/atomic.h: Likewise.
43568 * sysdeps/x86_64/bits/atomic.h: Likewise.
43569
6358490d
DM
435702012-03-02 David S. Miller <davem@davemloft.net>
43571
43572 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
43573 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
43574 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
43575 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
43576 * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
43577 * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
43578 * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
43579 * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
43580
01ae168d
RM
435812012-03-02 Roland McGrath <roland@hack.frob.com>
43582
d9a17c07
RM
43583 [BZ #13792]
43584 * manual/examples/README: New file, says the example source files
43585 can be used under GPL>=2.
43586 * manual/Makefile (%.c.texi): Eat the leading part of the file until a
43587 line containing just "*/".
43588 * manual/examples/add.c: Add copyright header (GPL>=2).
43589 * manual/examples/argp-ex1.c: Likewise.
43590 * manual/examples/argp-ex2.c: Likewise.
43591 * manual/examples/argp-ex3.c: Likewise.
43592 * manual/examples/argp-ex4.c: Likewise.
43593 * manual/examples/atexit.c: Likewise.
43594 * manual/examples/db.c: Likewise.
43595 * manual/examples/dir.c: Likewise.
43596 * manual/examples/dir2.c: Likewise.
43597 * manual/examples/execinfo.c: Likewise.
43598 * manual/examples/filecli.c: Likewise.
43599 * manual/examples/filesrv.c: Likewise.
43600 * manual/examples/fmtmsgexpl.c: Likewise.
43601 * manual/examples/genpass.c: Likewise.
43602 * manual/examples/inetcli.c: Likewise.
43603 * manual/examples/inetsrv.c: Likewise.
43604 * manual/examples/isockad.c: Likewise.
43605 * manual/examples/longopt.c: Likewise.
43606 * manual/examples/memopen.c: Likewise.
43607 * manual/examples/memstrm.c: Likewise.
43608 * manual/examples/mkfsock.c: Likewise.
43609 * manual/examples/mkisock.c: Likewise.
43610 * manual/examples/mygetpass.c: Likewise.
43611 * manual/examples/pipe.c: Likewise.
43612 * manual/examples/popen.c: Likewise.
43613 * manual/examples/rprintf.c: Likewise.
43614 * manual/examples/search.c: Likewise.
43615 * manual/examples/select.c: Likewise.
43616 * manual/examples/setjmp.c: Likewise.
43617 * manual/examples/sigh1.c: Likewise.
43618 * manual/examples/sigusr.c: Likewise.
43619 * manual/examples/stpcpy.c: Likewise.
43620 * manual/examples/strdupa.c: Likewise.
43621 * manual/examples/strftim.c: Likewise.
43622 * manual/examples/strncat.c: Likewise.
43623 * manual/examples/subopt.c: Likewise.
43624 * manual/examples/swapcontext.c: Likewise.
43625 * manual/examples/termios.c: Likewise.
43626 * manual/examples/testopt.c: Likewise.
43627 * manual/examples/testpass.c: Likewise.
43628 * manual/examples/timeval_subtract.c: Likewise.
43629
01ae168d
RM
43630 [BZ #13792]
43631 * manual/time.texi (Elapsed Time): Move timeval_subtract example
43632 function to ...
43633 * manual/timeval_subtract.c.texi: ... here, new file.
43634
49efa33d
DM
436352012-03-02 David S. Miller <davem@davemloft.net>
43636
43637 * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
43638
28afd92d
JM
436392012-03-02 Joseph Myers <joseph@codesourcery.com>
43640
804360ed
JM
43641 [BZ #3976]
43642 * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
43643 (__sin): Save and restore rounding mode and use round-to-nearest
43644 for all computations.
43645 (__cos): Save and restore rounding mode and use round-to-nearest
43646 for all computations.
43647 * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
43648 <fenv.h>.
43649 (tan): Save and restore rounding mode and use round-to-nearest for
43650 all computations.
43651 * math/libm-test.inc (cos_test_tonearest): New function.
43652 (cos_test_towardzero): Likewise.
43653 (cos_test_downward): Likewise.
43654 (cos_test_upward): Likewise.
43655 (sin_test_tonearest): Likewise.
43656 (sin_test_towardzero): Likewise.
43657 (sin_test_downward): Likewise.
43658 (sin_test_upward): Likewise.
43659 (tan_test_tonearest): Likewise.
43660 (tan_test_towardzero): Likewise.
43661 (tan_test_downward): Likewise.
43662 (tan_test_upward): Likewise.
43663 (main): Call the new functions.
43664 * sysdeps/i386/fpu/libm-test-ulps: Update.
43665 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
43666
a6d06d7b
JM
43667 [BZ #10135]
43668 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
43669 small n, then large n, before computing and testing k+n.
43670 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
43671 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
43672 Likewise.
43673 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
43674 Likewise.
43675 * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
43676 * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
43677 * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
43678 * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
43679 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
43680 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
43681 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
43682 * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
43683 * math/libm-test.inc (scalbn_test): Add more tests.
43684 (scalbln_test): Likewise.
43685
07e12bb3
JM
43686 * manual/filesys.texi (mode_t): Describe constraints on size and
43687 signedness, not exact equivalence to a particular type.
43688 (ino_t): Likewise.
43689 (ino64_t): Likewise.
43690 (dev_t): Likewise.
43691 (nlink_t): Likewise.
43692 (blkcnt_t): Likewise.
43693 (blkcnt64_t): Likewise.
43694 * manual/llio.texi (off_t): Likewise.
43695
28afd92d
JM
43696 [BZ #3976]
43697 * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
43698 (__ieee754_exp): Save and restore rounding mode and use
43699 round-to-nearest for all computations.
43700 * math/libm-test.inc (exp_test_tonearest): New function.
43701 (exp_test_towardzero): Likewise.
43702 (exp_test_downward): Likewise.
43703 (exp_test_upward): Likewise.
43704 (main): Call the new functions.
43705 * sysdeps/i386/fpu/libm-test-ulps: Update.
43706 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
43707
b1eeb65d
CD
437082012-03-01 Chris Demetriou <cgd@google.com>
43709
43710 * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
43711 have predictable order.
43712
53362a4b
DM
437132012-03-01 David S. Miller <davem@davemloft.net>
43714
3c969083
DM
43715 * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
43716
759707de
DM
43717 * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
43718 * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
43719 * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
43720 * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
43721
dfdb8ff2
DM
43722 * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
43723 * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
43724 * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
43725 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
43726 * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
43727 * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
43728 * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
43729 * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
43730 * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
43731
ead89f96
DM
43732 * sysdeps/sparc/fpu/libm-test-ulps: Update.
43733
7f66bd07
DM
43734 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
43735 * sysdeps/sparc/fpu/libm-test-ulps: to here.
43736 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
43737
53362a4b
DM
43738 * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
43739 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
43740 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
43741 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
43742 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
43743 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
43744 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
43745 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
43746 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
43747 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
43748 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
43749 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
43750 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
43751 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
43752 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
43753 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
43754 * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
43755 * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
43756 * sysdeps/sparc/elf/configure: Regenerated.
43757
7b1902cb
JM
437582012-03-01 Joseph Myers <joseph@codesourcery.com>
43759
bec039bc
JM
43760 * configure.in (AS, LD): Require binutils 2.20 or later.
43761 * configure: Regenerated.
43762 * manual/install.texi (Tools for Compilation): Give binutils 2.20
43763 as required minimum version.
43764 * INSTALL: Regenerated.
43765
7b1902cb
JM
43766 [BZ #2541]
43767 [BZ #4108]
43768 * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
43769 before squaring exponent.
43770 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
43771 bottom long double and 27 bits of top long double before squaring
43772 exponent.
43773 * math/libm-test.inc (erfc_test): Add more tests.
43774 * sysdeps/i386/fpu/libm-test-ulps: Update.
43775 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
43776 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
43777
f775c276
KT
437782012-03-01 Kai Tietz <ktietz@redhat.com>
43779
43780 * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
43781 * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
43782 containing bit-fields.
43783 * soft-fp/extended.h (_FP_UNION_E): Likewise.
43784 * soft-fp/single.h (_FP_UNION_S): Likewise.
43785 * soft-fp/double.h (_FP_UNION_D): Likewise.
43786
5b8a4d4a
JM
437872012-02-29 Joseph Myers <joseph@codesourcery.com>
43788
0bab47b6
JM
43789 [BZ #13786]
43790 * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
43791 not include ../strcmp.S.
43792 [USE_AS_STRNCASECMP_L]: Likewise.
43793 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
43794 (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
43795 * sysdeps/i386/i686/multiarch/strncase_l-c.c
43796 (__strncasecmp_l_ia32): Define as alias to
43797 __strncasecmp_l_nonascii.
43798
0fcad3e2
JM
43799 [BZ #5794]
43800 * math/libm-test.inc (expm1_test): Add test for bug 5794.
43801 * sysdeps/i386/fpu/libm-test-ulps: Update.
43802 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
43803
5b8a4d4a
JM
43804 * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
43805 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
43806
8fdceb2e
JL
438072012-02-29 Jeff Law <law@redhat.com>
43808
43809 * resolv/res_query.c (__libc_res_nquerydomain): Avoid
43810 out of bounds read.
43811
1f393a11
MP
438122012-02-29 Marek Polacek <polacek@redhat.com>
43813
43814 [BZ #13706]
43815 * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
43816 * elf/Makefile: Add rules to run tst-unused-dep.out.
43817
8847f037
DM
438182012-02-28 David S. Miller <davem@davemloft.net>
43819
43820 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
43821 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
43822 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
43823 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
43824 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
43825 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
43826
169d7f11
JM
438272012-02-29 Joseph Myers <joseph@codesourcery.com>
43828
43829 * math/libm-test.inc (llround_test): Move one test from
43830 lround_test. Use TEST_f_L in moved test.
43831 (lround_test): Move misplaced test to llround_test. Add testcase
43832 from bug 2561.
43833
39adf059
UD
438342012-02-28 Ulrich Drepper <drepper@gmail.com>
43835
43836 * sysdeps/x86_64/fpu/e_expf.S: New file.
43837 Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
43838
71b5d1c5
SB
438392012-02-28 Stanislav Brabec <sbrabec@suse.cz>
43840
43841 [BZ #13637]
43842 * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
43843 of remain_len that may cause incomplete multi-byte character and
43844 false match.
43845 * posix/bug-regex33.c: New file.
43846 * posix/Makefile (tests): Add bug-regex33.
43847
1f77f049
JM
438482012-02-28 Joseph Myers <joseph@codesourcery.com>
43849
43850 * manual/macros.texi: New file.
43851 * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
43852 * manual/libc.texinfo: Include macros.texi.
43853 * manual/creatute.texi: Likewise.
43854 * manual/install.texi: Likewise.
43855 * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
43856 @glibcadj{} in references to the GNU C Library.
43857 * manual/charset.texi: Likewise.
43858 * manual/conf.texi: Likewise.
43859 * manual/contrib.texi: Likewise. Consistently use "GNU C Library"
43860 when not using those macros.
43861 * manual/creature.texi: Likewise.
43862 * manual/crypt.texi: Likewise.
43863 * manual/errno.texi: Likewise.
43864 * manual/filesys.texi: Likewise.
43865 * manual/header.texi: Likewise.
43866 * manual/install.texi: Likewise.
43867 * manual/intro.texi: Likewise.
43868 * manual/io.texi: Likewise.
43869 * manual/job.texi: Likewise.
43870 * manual/lang.texi: Likewise.
43871 * manual/libc.texiinfo: Likewise.
43872 * manual/llio.texi: Likewise.
43873 * manual/locale.texi: Likewise.
43874 * manual/maint.texi: Likewise.
43875 * manual/math.texi: Likewise.
43876 * manual/memory.texi: Likewise.
43877 * manual/message.texi: Likewise.
43878 * manual/nss.texi: Likewise.
43879 * manual/pattern.texi: Likewise.
43880 * manual/process.texi: Likewise.
43881 * manual/resource.texi: Likewise.
43882 * manual/search.texi: Likewise.
43883 * manual/setjmp.texi: Likewise.
43884 * manual/signal.texi: Likewise.
43885 * manual/socket.texi: Likewise.
43886 * manual/startup.texi: Likewise.
43887 * manual/stdio.texi: Likewise.
43888 * manual/string.texi: Likewise.
43889 * manual/sysinfo.texi: Likewise.
43890 * manual/syslog.texi: Likewise.
43891 * manual/terminal.texi: Likewise.
43892 * manual/time.texi: Likewise.
43893 * manual/users.texi: Likewise.
43894 * INSTALL: Regenerated.
43895 * NOTES: Regenerated.
d40c5d54 43896 * sysdeps/gnu/errlist.c: Regenerated.
1f77f049 43897
450bf206
AS
438982012-02-28 Andreas Schwab <schwab@linux-m68k.org>
43899
43900 * include/dirent.h: Include <dirstream.h> before
43901 <dirent/dirent.h>.
43902
741a235b
DM
439032012-02-28 David S. Miller <davem@davemloft.net>
43904
43905 * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
43906 * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
43907 * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
43908 * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
43909
d6b5aa58
DM
439102012-02-27 David S. Miller <davem@davemloft.net>
43911
1aff59a3
DM
43912 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
43913 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
43914 * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
43915 * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
43916
d6b5aa58
DM
43917 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
43918 frame pointer instead of stack pointer relative arg slot.
43919 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
43920 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
43921 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
43922
433f48bf
CD
439232012-02-27 Carlos O'Donell <carlos_odonell@mentor.com>
43924
43925 [BZ #3992]
43926 * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
43927
d674b76d
DM
439282012-02-27 David S. Miller <davem@davemloft.net>
43929
43930 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
43931 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
43932 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
43933 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
43934 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
43935 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
43936 * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
43937 * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
43938
0e7727f7
JM
439392012-02-27 Joseph Myers <joseph@codesourcery.com>
43940
43941 * configure.in (CC): Restrict allowed GCC versions to 4.3 and
43942 later. Allow versions 5-9.
43be4ca2 43943 * configure: Regenerated.
0e7727f7
JM
43944 * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
43945 required minimum version and 4.6 as recommended version. Do not
43946 mention bugs in GCC 2.7 and 2.8.
43be4ca2 43947 * INSTALL: Regenerated.
0e7727f7 43948
a78bc654
DM
439492012-02-27 David S. Miller <davem@davemloft.net>
43950
428d5830
DM
43951 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
43952 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
43953 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
43954 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
43955 * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
43956 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
43957 * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
43958 * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
43959
a78bc654
DM
43960 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
43961 manipulate bits before adding and subtracting TWO112[sx].
43962 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
43963
4579f81c
RM
439642012-02-27 Roland McGrath <roland@hack.frob.com>
43965
36c8acb4
RM
43966 [BZ #13775]
43967 * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
43968 [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
43969 * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
43970 being in POSIX, because they are in 1003.1-2008.
43971
84ad622b
RM
43972 * rt/tst-aio.c: Include <fcntl.h>.
43973 * rt/tst-aio7.c: Likewise.
43974 * rt/tst-aio64.c: Likewise.
43975
4579f81c
RM
43976 * stdio-common/tst-fmemopen.c (main): Remove spurious const.
43977
abd923db
JM
439782012-02-27 Joseph Myers <joseph@codesourcery.com>
43979
43980 * manual/install.texi (--with-headers): Describe headers as
43981 interface headers, not private headers.
43982 (Specific advice for GNU/Linux systems): Describe use of headers
43983 from "make headers_install", not private headers from older
43984 kernels.
43be4ca2 43985 * INSTALL: Regenerated.
abd923db
JM
43986 * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
43987 Change to 2.6.19.
43988 * sysdeps/unix/sysv/linux/configure: Regenerated.
43989
6664049b
JM
43990 * manual/llio.texi (fclean): Remove documentation.
43991
bb8b6697
JM
43992 * manual/Makefile (libc-texi-generated): New variable. Include
43993 version.texi.
43994 (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
43995 $(libc-texi-generated), not duplicated list of files.
43996 (version.texi, stamp-version): New rules.
43997 (realclean): Remove $(libc-texi-generated), not individual files
43998 from that list. Do not remove dir-add.texinfo.
43999 * manual/libc.texinfo: Comment out uses of edition numbers and
44000 references to printed manual. Remove last-updated dates.
44001 (EDITION): Comment out.
44002 (ISBN): Likewise.
44003 (VERSION, UPDATED): Remove.
44004 (version.texi): Include.
44005
12e5c3b9
AS
440062012-02-27 Andreas Schwab <schwab@linux-m68k.org>
44007
44008 * sysdeps/posix/spawni.c: Include <signal.h>.
44009 * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
44010 * sysdeps/pthread/aio_fsync.c: Likewise.
44011
4efeffc1 440122012-02-26 Ulrich Drepper <drepper@gmail.com>
d94a4670 44013
ba63ba08
UD
44014 * conform/Makefile (tests): Run only when not cross-compiling and
44015 when fast-check is not defined.
44016
d94a4670
UD
44017 * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
44018 * conform/data/limits.h-data: Fixes for POSIX2008.
44019 * conform/run-conformtest.sh: Run all tests.
44020 * include/arpa/inet.h: Changes to allow conformtest.pl to use the
44021 headers.
44022 * include/bits/dlfcn.h: Likewise.
44023 * include/langinfo.h: Likewise.
44024 * include/monetary.h: Likewise.
44025 * include/sys/poll.h: Likewise.
44026
44027 * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
44028 for __USE_GNU.
44029 * posix/spawn.h: Define __need_sigset_t.
44030 * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
44031 * posix/unistd.h: Declare ctermid only for XPG before XPG6.
44032 * rt/aio.h: Don't include fcntl.h and signal.h. Use bits/siginfo.h
44033 to get sigevent_t only.
44034 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
44035 only for __USE_GNU.
44036 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
44037 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
44038 process_vm_writev only for __USE_GNU.
44039 * termios/termios.h: Declare tcgetsid also for POSIX2008.
4efeffc1
UD
44040
44041 * conform/Makefile: For now ignore errors from run-conformtest.
44042 * conform/conformtest.pl: Simplify code. Add -ansi to CFLAGS for
44043 POSIX to avoid namespace pollution. Don't prepend headers.
44044 * conform/data/aio.h-data: Fixes for POSIX testing.
44045 * conform/data/fcntl.h-data: Likewise.
44046 * conform/data/glob.h-data: Likewise.
44047 * conform/data/grp.h-data: Likewise.
44048 * conform/data/pthread.h-data: Likewise.
44049 * conform/data/pwd.h-data: Likewise.
44050 * conform/data/signal.h-data: Likewise.
44051 * conform/data/spawn.h-data: Likewise.
44052 * conform/data/stdio.h-data: Likewise.
44053 * conform/data/stdlib.h-data: Likewise.
44054 * conform/data/stropts.h-data: Likewise.
44055 * conform/data/sys/mman.h-data: Likewise.
44056 * conform/data/sys/stat.h-data: Likewise.
44057 * conform/data/sys/types.h-data: Likewise.
44058 * conform/data/sys/wait.h-data: Likewise.
44059 * conform/data/time.h-data: Likewise.
44060 * conform/data/unistd.h-data: Likewise.
44061 * conform/data/utime.h-data: Likewise.
44062
44063 * io/sys/stat.h: fchmod was always in POSIX.
44064 * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
44065 * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
44066 * rt/aio.h: Define __need_timespec before including <time.h>.
44067 * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
44068 struct. Add forward declaration of pthread_attr_t and use it in
44069 sigevent.
44070 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
44071 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
44072 * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
44073 always remove CLK_TCK definition.
44074
c20105c3
AS
440752012-02-26 Andreas Schwab <schwab@linux-m68k.org>
44076
44077 * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
44078
7a270350
UD
440792012-02-25 Ulrich Drepper <drepper@gmail.com>
44080
31341567
UD
44081 * conform/run-conformtest.sh: New file.
44082 * conform/Makefile: Run run-conformtest for tests.
44083 * conform/conformtest.pl: Many bug fixes. Add ISO C99, ISO C11
44084 support.
44085
44086 * conform/data/uchar.h-data: New file.
44087 * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
44088 * conform/data/arpa/inet.h-data: Likewise.
44089 * conform/data/assert.h-data: Likewise.
44090 * conform/data/complex.h-data: Likewise.
44091 * conform/data/cpio.h-data: Likewise.
44092 * conform/data/ctype.h-data: Likewise.
44093 * conform/data/dirent.h-data: Likewise.
44094 * conform/data/dlfcn.h-data: Likewise.
44095 * conform/data/errno.h-data: Likewise.
44096 * conform/data/fcntl.h-data: Likewise.
44097 * conform/data/float.h-data: Likewise.
44098 * conform/data/fmtmsg.h-data: Likewise.
44099 * conform/data/fnmatch.h-data: Likewise.
44100 * conform/data/ftw.h-data: Likewise.
44101 * conform/data/glob.h-data: Likewise.
44102 * conform/data/grp.h-data: Likewise.
44103 * conform/data/iconv.h-data: Likewise.
44104 * conform/data/inttypes.h-data: Likewise.
44105 * conform/data/langinfo.h-data: Likewise.
44106 * conform/data/libgen.h-data: Likewise.
44107 * conform/data/limits.h-data: Likewise.
44108 * conform/data/locale.h-data: Likewise.
44109 * conform/data/math.h-data: Likewise.
44110 * conform/data/monetary.h-data: Likewise.
44111 * conform/data/mqueue.h-data: Likewise.
44112 * conform/data/ndbm.h-data: Likewise.
44113 * conform/data/net/if.h-data: Likewise.
44114 * conform/data/netdb.h-data: Likewise.
44115 * conform/data/netinet/in.h-data: Likewise.
44116 * conform/data/nl_types.h-data: Likewise.
44117 * conform/data/poll.h-data: Likewise.
44118 * conform/data/pthread.h-data: Likewise.
44119 * conform/data/pwd.h-data: Likewise.
44120 * conform/data/regex.h-data: Likewise.
44121 * conform/data/sched.h-data: Likewise.
44122 * conform/data/search.h-data: Likewise.
44123 * conform/data/semaphore.h-data: Likewise.
44124 * conform/data/setjmp.h-data: Likewise.
44125 * conform/data/signal.h-data: Likewise.
44126 * conform/data/spawn.h-data: Likewise.
44127 * conform/data/stdarg.h-data: Likewise.
44128 * conform/data/stdio.h-data: Likewise.
44129 * conform/data/stdlib.h-data: Likewise.
44130 * conform/data/string.h-data: Likewise.
44131 * conform/data/strings.h-data: Likewise.
44132 * conform/data/stropts.h-data: Likewise.
44133 * conform/data/sys/ipc.h-data: Likewise.
44134 * conform/data/sys/mman.h-data: Likewise.
44135 * conform/data/sys/msg.h-data: Likewise.
44136 * conform/data/sys/resource.h-data: Likewise.
44137 * conform/data/sys/select.h-data: Likewise.
44138 * conform/data/sys/sem.h-data: Likewise.
44139 * conform/data/sys/shm.h-data: Likewise.
44140 * conform/data/sys/socket.h-data: Likewise.
44141 * conform/data/sys/stat.h-data: Likewise.
44142 * conform/data/sys/statvfs.h-data: Likewise.
44143 * conform/data/sys/time.h-data: Likewise.
44144 * conform/data/sys/timeb.h-data: Likewise.
44145 * conform/data/sys/times.h-data: Likewise.
44146 * conform/data/sys/types.h-data: Likewise.
44147 * conform/data/sys/uio.h-data: Likewise.
44148 * conform/data/sys/un.h-data: Likewise.
44149 * conform/data/sys/utsname.h-data: Likewise.
44150 * conform/data/sys/wait.h-data: Likewise.
44151 * conform/data/syslog.h-data: Likewise.
44152 * conform/data/tar.h-data: Likewise.
44153 * conform/data/termios.h-data: Likewise.
44154 * conform/data/utime.h-data: Likewise.
44155 * conform/data/utmpx.h-data: Likewise.
44156 * conform/data/varargs.h-data: Likewise.
44157 * conform/data/wchar.h-data: Likewise.
44158 * conform/data/wctype.h-data: Likewise.
44159 * conform/data/wordexp.h-data: Likewise.
44160
44161 * include/stropts.h: New file.
44162 * include/uchar.h: New file.
44163 * include/aio.h: Changes to allow conformtest.pl to use the headers.
44164 * include/assert.h: Likewise.
44165 * include/ctype.h: Likewise.
44166 * include/dirent.h: Likewise.
44167 * include/dlfcn.h: Likewise.
44168 * include/fcntl.h: Likewise.
44169 * include/fnmatch.h: Likewise.
44170 * include/glob.h: Likewise.
44171 * include/grp.h: Likewise.
44172 * include/libio.h: Likewise.
44173 * include/locale.h: Likewise.
44174 * include/math.h: Likewise.
44175 * include/net/if.h: Likewise.
44176 * include/netdb.h: Likewise.
44177 * include/netinet/in.h: Likewise.
44178 * include/pthread.h: Likewise.
44179 * include/pwd.h: Likewise.
44180 * include/regex.h: Likewise.
44181 * include/sched.h: Likewise.
44182 * include/search.h: Likewise.
44183 * include/setjmp.h: Likewise.
44184 * include/signal.h: Likewise.
44185 * include/stdio.h: Likewise.
44186 * include/stdlib.h: Likewise.
44187 * include/string.h: Likewise.
44188 * include/sys/cdefs.h: Likewise.
44189 * include/sys/mman.h: Likewise.
44190 * include/sys/msg.h: Likewise.
44191 * include/sys/resource.h: Likewise.
44192 * include/sys/select.h: Likewise.
44193 * include/sys/socket.h: Likewise.
44194 * include/sys/stat.h: Likewise.
44195 * include/sys/statvfs.h: Likewise.
44196 * include/sys/time.h: Likewise.
44197 * include/sys/times.h: Likewise.
44198 * include/sys/uio.h: Likewise.
44199 * include/sys/utsname.h: Likewise.
44200 * include/sys/wait.h: Likewise.
44201 * include/termios.h: Likewise.
44202 * include/time.h: Likewise.
44203 * include/ulimit.h: Likewise.
44204 * include/unistd.h: Likewise.
44205 * include/utime.h: Likewise.
44206 * include/wchar.h: Likewise.
44207 * include/wctype.h: Likewise.
44208 * include/wordexp.h: Likewise.
44209
44210 * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
44211
7a270350
UD
44212 * time/time.h: TIME_UTC must be a macro.
44213 Make timespec_get available for ISO C11 only as well.
44214
7724defc
UD
442152012-02-24 Ulrich Drepper <drepper@gmail.com>
44216
44217 * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
44218 Reported by Peng Haitao <penght@cn.fujitsu.com>.
44219
6b1d1d46
JM
442202012-02-24 Joseph Myers <joseph@codesourcery.com>
44221
44222 * configure.in: Use -o not -a in test for unsupported multi-arch.
6b1d1d46 44223
0f8bbd69
JM
442242012-02-24 Joseph Myers <joseph@codesourcery.com>
44225
44226 * manual/texinfo.tex: Update to version 2012-01-19.16.
44227
66ab80bc
JM
442282012-02-24 Joseph Myers <joseph@codesourcery.com>
44229
44230 * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
44231
74981cc5
RM
442322012-02-24 Roland McGrath <roland@hack.frob.com>
44233
ee968201
RM
44234 [BZ #13738]
44235 * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
44236 * manual/fdl-1.3.texi: New file.
44237 * manual/fdl-1.1.texi: File removed.
44238
74981cc5
RM
44239 [BZ #13738]
44240 * manual/libc.texinfo (FDL_VERSION): New @set.
44241 Use it for mention of FDL in cover text.
44242 (Documentation License): Use it in @include file name.
44243
7bb764bc
JM
442442012-02-22 Joseph Myers <joseph@codesourcery.com>
44245 Roland McGrath <roland@hack.frob.com>
44246
44247 [BZ #5461]
57f41c40
AS
44248 * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN)
44249 (not LONG_LONG_MAX and LONG_LONG_MIN.
7bb764bc
JM
44250 * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
44251 LLONG_MIN. Refer to LONG_LONG_MIN only as older GCC-specific
44252 name.
44253 (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
44254
6cbeae47
JM
442552012-02-22 Joseph Myers <joseph@codesourcery.com>
44256
44257 [BZ #2547]
44258 [BZ #11365]
44259 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
44260 manipulate bits before adding and subtracting TWO23[sx].
44261 * math/libm-test.inc (nearbyint_test): Add more tests.
44262
fe45ce09
JM
442632012-02-22 Joseph Myers <joseph@codesourcery.com>
44264
44265 [BZ #2548]
44266 * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
44267 bits before adding and subtracting TWO23[sx].
44268 * math/libm-test.inc (rint_test): Add more tests.
44269 (rint_test_tonearest): Likewise.
44270 (rint_test_towardzero): Likewise.
44271 (rint_test_downward): Likewise.
44272 (rint_test_upward: Likewise.
44273
ff3b3d82
JM
442742012-02-22 Joseph Myers <joseph@codesourcery.com>
44275
44276 [BZ #10110]
44277 * include/stdc-predef.h: New file. Extracted from features.h.
44278 * include/features.h: Include stdc-predef.h.
44279 * Makefile (headers): Add stdc-predef.h.
44280 * CONFORMANCE (Compiler limitations): Update.
44281
ef0aab35
JM
442822012-02-22 Joseph Myers <joseph@codesourcery.com>
44283
44284 * manual/libc.texinfo (VERSION, UPDATED): Revert.
44285
58639409
DM
442862012-02-21 David S. Miller <davem@davemloft.net>
44287
44288 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
44289 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
44290
c0e70b25
DM
442912012-02-20 David S. Miller <davem@davemloft.net>
44292
44293 * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
44294 using a normal save/restore sequence, rather than allocating a
44295 dummy stack frame just to store a frame pointer and restore.
44296 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
44297
fb06851d
JM
442982012-02-21 Joseph Myers <joseph@codesourcery.com>
44299
44300 * manual/install.texi: Fix stray word in line-wrapped comment.
44301
7a8b71c3
DM
443022012-02-20 David S. Miller <davem@davemloft.net>
44303
d510c123
DM
44304 * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
44305 both binutils and gcc support GOTDATA.
44306
0722d7c2
DM
44307 * sysdeps/unix/sparc/sysdep.h: Document why we don't use
44308 "rd %pc" in the PIC register setup sequences.
44309
3d2b3019
DM
44310 * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
44311 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
44312 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
44313 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
44314 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
44315 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
44316 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
44317 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
44318 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
44319 (SYSCALL_ERROR_HANDLER): Likewise.
44320 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
44321 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
44322 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
44323 (SYSCALL_ERROR_HANDLER): Likewise.
44324
c80098a9
DM
44325 * config.h.in (HAVE_BINUTILS_GOTDATA): New.
44326 (HAVE_GCC_GOTDATA): New.
44327 * sysdeps/sparc/elf/configure.in: Test for GOTDATA
44328 relocation support in both binutils and gcc.
44329 * sysdeps/sparc/elf/configure: Regenerate.
44330
3a2545a0
DM
44331 * sysdeps/sparc/sparc32/elf/configure.in: Delete.
44332 * sysdeps/sparc/sparc32/elf/configure: Delete.
44333 * sysdeps/sparc/sparc64/elf/configure.in: Delete.
44334 * sysdeps/sparc/sparc64/elf/configure: Delete.
44335 * sysdeps/sparc/elf/configure.in: New file.
44336 * sysdeps/sparc/elf/configure: Generate.
44337
7a8b71c3
DM
44338 * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
44339 * sysdeps/sparc/sparc32/elf/configure: Regenerate.
44340 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
44341 * sysdeps/sparc/sparc64/elf/configure: Regenerate.
44342 * config.h.in (BROKEN_SPARC_WDISP22): Remove.
44343
f1e86fca
JM
443442012-02-21 Joseph Myers <joseph@codesourcery.com>
44345
44346 * manual/install.texi: Do not mention specific glibc version
44347 numbers.
44348 * manual/libc.texinfo (VERSION, UPDATED): Update.
44349 (@copying): Use @copyright{} and range of years.
44350
0e7dfaef
JM
443512012-02-21 Joseph Myers <joseph@codesourcery.com>
44352
44353 [BZ #13695]
44354 * csu/Makefile (distribute): Remove initfini.c and defs.awk.
44355 [crti.S not in sysdirs] (generated): Do not append.
44356 [crti.S not in sysdirs] (omit-deps): Likewise.
44357 [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
44358 [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
44359 [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
44360 [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
44361 [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
44362 Likewise.
44363 [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
44364 [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
44365 [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
44366 * csu/defs.awk: Remove file.
44367 * sysdeps/generic/initfini.c: Likewise.
44368 * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
44369 variable.
44370 * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
44371 Likewise.
44372
599af3ca
JM
443732012-02-20 Joseph Myers <joseph@codesourcery.com>
44374
44375 * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
44376 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
44377 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
44378 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
44379 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
44380 * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
44381 <bits/epoll.h>.
44382 (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
44383 (__EPOLL_PACKED): Define to empty if not defined by
44384 <bits/epoll.h>.
44385 (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
44386 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
44387 bits/epoll.h.
44388
0e499750
JM
443892012-02-20 Joseph Myers <joseph@codesourcery.com>
44390
44391 * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
44392 * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
44393 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
44394 * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
44395 <bits/timerfd.h>.
44396 (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
44397 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
44398 bits/timerfd.h.
44399
5ad91f6e
JM
444002012-02-20 Joseph Myers <joseph@codesourcery.com>
44401
44402 * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
44403 in C locale.
44404 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
44405 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
44406 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
44407 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
44408
06b99b02
AJ
444092012-02-20 Aurelien Jarno <aurelien@aurel32.net>
44410
44411 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
44412 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
44413
7638c0fd
AS
444142012-02-19 Andreas Schwab <schwab@linux-m68k.org>
44415
44416 * manual/errno.texi (Error Codes): Add EHWPOISON entry.
44417 * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
44418 defined.
44419 * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
44420 Likewise.
44421 * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
44422 entry for 2.16.
44423
92221550
AJ
444242012-02-19 Aurelien Jarno <aurelien@aurel32.net>
44425
44426 * math/w_acos.c: Use non-signaling floating-point comparisons.
44427 * math/w_acosf.c: Likewise.
44428 * math/w_acosh.c: Likewise.
44429 * math/w_acoshf.c: Likewise.
44430 * math/w_acoshl.c: Likewise.
44431 * math/w_acosl.c: Likewise.
44432 * math/w_asin.c: Likewise.
44433 * math/w_asinf.c: Likewise.
44434 * math/w_asinl.c: Likewise.
44435 * math/w_atanh.c: Likewise.
44436 * math/w_atanhf.c: Likewise.
44437 * math/w_atanhl.c: Likewise.
44438 * math/w_exp2.c: Likewise.
44439 * math/w_exp2f.c: Likewise.
44440 * math/w_exp2l.c: Likewise.
44441 * math/w_j0.c: Likewise.
44442 * math/w_j0f.c: Likewise.
44443 * math/w_j0l.c: Likewise.
44444 * math/w_j1.c: Likewise.
44445 * math/w_j1f.c: Likewise.
44446 * math/w_j1l.c: Likewise.
44447 * math/w_jn.c: Likewise.
44448 * math/w_jnf.c: Likewise.
44449 * math/w_log.c: Likewise.
44450 * math/w_log10.c: Likewise.
44451 * math/w_log10f.c: Likewise.
44452 * math/w_log10l.c: Likewise.
44453 * math/w_log2.c: Likewise.
44454 * math/w_log2f.c: Likewise.
44455 * math/w_log2l.c: Likewise.
44456 * math/w_logf.c: Likewise.
44457 * math/w_logl.c: Likewise.
44458 * math/w_sqrt.c: Likewise.
44459 * math/w_sqrtf.c: Likewise.
44460 * math/w_sqrtl.c: Likewise.
44461 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
44462 * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
44463 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
44464 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
44465 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
44466
ebaf36eb
JM
444672012-02-19 Joseph Myers <joseph@codesourcery.com>
44468
44469 [BZ #9739]
44470 * manual/string.texi (strnlen): Use correct parameter name in
44471 equivalent expression.
44472
71c254a6
JM
444732012-02-19 Joseph Myers <joseph@codesourcery.com>
44474
44475 [BZ #11174]
44476 * manual/users.texi (seteuid): Consistently use neweuid for
44477 argument name.
44478
16d2c631
JM
444792012-02-19 Joseph Myers <joseph@codesourcery.com>
44480
44481 [BZ #13704]
44482 * manual/nss.texi (Services in the NSS configuration): Correct
44483 list of services in example configuration file.
44484
cd837b09
NB
444852012-02-19 Nick Bowler <nbowler@draconx.ca>
44486
44487 [BZ #11322]
44488 * manual/arith.texi: Remove statements about negative zero
44489 behaving identically to zero.
44490
02c4bbad
JM
444912012-02-18 Joseph Myers <joseph@codesourcery.com>
44492
44493 [BZ #5993]
44494 * manual/install.texi: Do not document upgrading from libc5.
44495
366842e7
JM
444962012-02-18 Joseph Myers <joseph@codesourcery.com>
44497
44498 [BZ #4596]
44499 * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
44500
dd54084d
DM
445012012-02-18 David S. Miller <davem@davemloft.net>
44502
44503 * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
44504 (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
44505 %o7 across the call.
44506 (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
44507 instead.
44508 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
44509 SETUP_PIC_REG_LEAF.
44510 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
44511 * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
44512 * sysdeps/sparc/crtn.S: Likewise.
44513
2bcc53a3
UD
445142012-02-17 Ulrich Drepper <drepper@gmail.com>
44515
44516 * aout/Makefile: Remove.
44517
09c093b5
RK
445182012-02-18 Rafe Kettler <rafe.kettler@gmail.com>
44519
44520 [BZ #13058]
44521 * manual/examples/argp-ex1.c (main): Format definition in GNU
44522 style.
44523 * manual/examples/argp-ex2.c (main): Likewise.
44524 * manual/examples/argp-ex3.c (main): Likewise.
44525 * manual/examples/argp-ex4.c (main): Likewise.
44526 * manual/examples/longopt.c (main): Use new-style prototype
44527 definition.
44528 * manual/examples/strncat.c (main): Specify return type and use
44529 (void) for arguments.
44530 * manual/examples/subopt.c (main): Use char **argv argument.
44531
2ee633a2
JM
445322012-02-17 Joseph Myers <joseph@codesourcery.com>
44533
44534 [BZ #5077]
44535 * manual/lang.texi (FLT_EPSILON): Avoid description depending on
44536 rounding modes.
44537
0520adde
FB
445382012-02-17 Fabrice Bauzac <fabrice.bauzac@wanadoo.fr>
44539
44540 [BZ #6907]
44541 * manual/string.texi (strchr): Change when strchrnul is
44542 recommended.
44543
3f4081cd
DGM
445442012-02-17 Dwayne Grant McConnell <decimal@us.ibm.com>
44545
44546 [BZ #174]
44547 * manual/locale.texi (setlocale): Document LOCPATH.
44548
d1b10e78
JM
445492012-02-17 Joseph Myers <joseph@codesourcery.com>
44550
44551 [BZ #10210]
44552 * manual/process.texi (execle): Move @dots{} before last argument.
44553
79c6869c
PB
445542012-02-17 Paul Bolle <pebolle@tiscali.nl>
44555
44556 [BZ #12047]
44557 * manual/charset.texi (Generic Charset Conversion): Fix typo
44558 (LC_TYPE -> LC_CTYPE).
44559
cc6e48bc
NB
445602012-02-17 Nicolas Boulenguez <nicolas.boulenguez@free.fr>
44561
44562 [BZ #5805]
44563 * manual/arith.texi (scalbn): Use @var{} on parameter names.
44564 (scalbnf): Likewise.
44565 (scalbnl): Likewise.
44566 (scalbln): Likewise.
44567 (scalblnf): Likewise.
44568 (scalblnl): Likewise.
44569 * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
44570 (vwarnx): Likewise.
44571 (verr): Likewise.
44572 (verrx): Likewise.
44573 * manual/filesys.texi (telldir): Use braces around return type.
44574 * manual/llio.texi (mmap): Add space after comma.
44575 (mmap64): Likewise.
44576 * manual/math.texi (jn): Use @var{} on parameter names.
44577 (jnf): Likewise.
44578 (jnl): Likewise.
44579 (yn): Likewise.
44580 (ynf): Likewise.
44581 (ynl): Likewise.
44582 * manual/memory.texi (alloca): Remove semicolon on @deftypefun
44583 line.
44584 * manual/resource.texi (ulimit): Use @dots{} instead of literal
44585 "...".
44586 (sched_get_priority_min): Remove semicolon on @deftypefun line.
44587 (sched_get_priority_max): Likewise.
44588 * manual/signal.texi (sigvec): Add space after comma.
44589 * manual/socket.texi (if_nametoindex): Use @var{} on parameter
44590 names.
44591 (if_indextoname): Likewise.
44592 (if_freenameindex): Likewise.
44593 (sendto): Use ',' instead of '.' in prototype.
44594 * manual/startup.texi (syscall): Use @dots{} instead of literal
44595 "...".
44596 * manual/stdio.texi (__fpending): Separate initial words of
44597 paragraph from @deftypefun line.
44598 * manual/syslog.texi (syslog): Use @dots{} instead of literal
44599 "...".
44600 (vsyslog): Use @var{} on parameter names.
44601 * manual/terminal.texi (stty): Use @var{} on parameter names.
44602 * manual/users.texi (getutmp): Use @var{} on parameter names.
44603 (getutmpx): Likewise.
44604
5b23062f
JM
446052012-02-17 Joseph Myers <joseph@codesourcery.com>
44606
44607 [BZ #6884]
44608 * manual/stdio.texi (fopen): Fix typos in description of
44609 ",ccs=STRING".
44610
8dee4833
AJ
446112012-02-17 Aurelien Jarno <aurelien@aurel32.net>
44612
44613 [BZ #4026]
44614 * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
44615 get clock_id definition.
44616
9078ce93
TS
446172012-02-17 Thomas Schwinge <thomas@schwinge.name>
44618
44619 [BZ #4822]
44620 * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
44621 (madvise): Cast every argument to void on its own.
44622
3835c55f
JM
446232012-02-17 Joseph Myers <joseph@codesourcery.com>
44624
44625 [BZ #9902]
44626 * manual/startup.texi (Exit Status): Fix typo.
44627
35c47e37
JM
446282012-02-17 Joseph Myers <joseph@codesourcery.com>
44629
44630 [BZ #10140]
44631 * manual/examples/argp-ex1.c: Include <stdlib.h>.
44632 * manual/examples/argp-ex2.c: Likewise.
44633 * manual/examples/argp-ex3.c: Likewise.
44634
e3b69ca7
RH
446352012-02-16 Richard Henderson <rth@redhat.com>
44636
44637 * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
44638 * sysdeps/s390/s390-32/initfini.c: Remove.
44639 * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
44640 * sysdeps/s390/s390-64/initfini.c: Remove.
44641
df83af67
KK
446422012-02-15 Kaz Kojima <kkojima@rr.iij4u.or.jp>
44643
44644 * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
44645 compiler output for sysdeps/generic/initfini.c.
44646 * sysdeps/sh/elf/initfini.c: Remove file.
44647
f63f3380
DM
446482012-02-16 David S. Miller <davem@davemloft.net>
44649
fb59b3a4
DM
44650 [BZ #11494]
44651 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
44652
f63f3380
DM
44653 * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
44654 * sysdeps/sparc/crti.S: New file.
44655 * sysdeps/sparc/crtn.S: New file.
44656 * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
44657 * sysdeps/sparc/sparc64/Makefile: Likewise.
44658
df6a4a4a
MF
446592012-02-15 Mike Frysinger <vapier@gentoo.org>
44660
6dd8f3dc 44661 [BZ #3335]
df6a4a4a
MF
44662 * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
44663
1cac7236
RM
446642012-02-15 Roland McGrath <roland@hack.frob.com>
44665
d2c736f8
RM
44666 [BZ #4822]
44667 * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
44668
1cac7236
RM
44669 * mach/devstream.c (cookie_io_functions_t): Macro removed.
44670 (write, read, close): Likewise.
44671 Patch by Aurelien Jarno <aurelien@aurel32.net>.
44672
8e475601
JM
446732012-02-15 Joseph Myers <joseph@codesourcery.com>
44674
44675 * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
44676 * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
44677 * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
44678 * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
44679 <bits/signalfd.h>.
44680 (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
44681 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
44682 bits/signalfd.h.
44683
ed656b40
MP
446842012-02-14 Marek Polacek <polacek@redhat.com>
44685
44686 * sysdeps/x86_64/crti.S: New file.
44687 * sysdeps/x86_64/crtn.S: New file.
44688 * sysdeps/x86_64/elf/initfini.c: Remove file.
44689
2a979d3a
JM
446902012-02-13 Joseph Myers <joseph@codesourcery.com>
44691
44692 * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
44693 * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
44694 * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
44695 * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
44696 <bits/inotify.h>.
44697 (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
44698 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
44699 bits/inotify.h.
44700
2a418ac3
JM
447012012-02-13 Joseph Myers <joseph@codesourcery.com>
44702
44703 * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
44704 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
44705 * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
44706 * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
44707 <bits/eventfd.h>.
44708 (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
44709 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
44710 bits/eventfd.h.
44711
fb779be7
TS
447122012-02-10 Thomas Schwinge <thomas@codesourcery.com>
44713
e19e83c5
RM
44714 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
44715 __feraiseexcept instead of feraiseexcept.
7c35ffed 44716
fb779be7
TS
44717 * rt/tst-cpuclock1.c: Add a few comments, and error checking for
44718 nanosleep invocations.
44719 * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
44720 strings, and add error checking for a nanosleep invocations.
44721
59ba27a6
PE
447222012-02-09 Paul Eggert <eggert@cs.ucla.edu>
44723
44724 Replace FSF snail mail address with URLs, as per GNU coding standards.
44725 Most of the snail mail addresses were wrong anyway, and omitting
44726 them makes the source code easier to maintain. Almost all of the
44727 changes are to license notices and to locale LC_IDENTIFICATION
44728 addresses, except for this one:
44729 * manual/libc.texinfo: In "Published by", give the FSF's URL,
44730 not its snail mail address.
44731
57b957eb
RH
447322012-02-09 Richard Henderson <rth@twiddle.net>
44733
af850b1c
RH
44734 * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
44735 of kernel-features.h.
44736
57b957eb
RH
44737 * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
44738
6b73181a
MP
447392012-02-08 Marek Polacek <polacek@redhat.com>
44740
44741 * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
44742 * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
44743 * sysdeps/gnu/_G_config.h: Likewise.
44744 * sysdeps/generic/_G_config.h: Likewise.
44745
26ecc33a
AS
447462012-02-08 Andreas Schwab <schwab@linux-m68k.org>
44747
6c6dbc63
AS
44748 * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
44749 tests.
44750 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
44751
e216c012
AS
44752 * sysdeps/powerpc/powerpc32/crti.S: New file.
44753 * sysdeps/powerpc/powerpc32/crtn.S: New file.
44754 * sysdeps/powerpc/powerpc64/crti.S: New file.
44755 * sysdeps/powerpc/powerpc64/crtn.S: New file.
44756
26ecc33a
AS
44757 * Makeconfig (have-initfini): Don't set.
44758 * config.make.in (have-initfini, need-nopic-initfini): Don't set.
44759 * configure.in (nopic_initfini): Don't substitute.
44760 * config.h.in (HAVE_INITFINI): Don't #undef.
44761 * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
44762 * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
44763
3add8e13
JM
447642012-02-08 Joseph Myers <joseph@codesourcery.com>
44765
44766 Support crti.S and crtn.S provided directly by architectures.
44767 * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
44768 [crti.S in sysdirs] (omit-deps): Likewise.
44769 [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
44770 [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
44771 [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
44772 [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
44773 [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
44774 [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
44775 [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
44776 [crti.S in sysdirs] (initfini.c): Remove vpath directive.
44777 * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
44778 compiler output for sysdeps/generic/initfini.c.
44779 * sysdeps/i386/elf/Makefile: Remove file.
44780 * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
44781
a22f12b4
MP
447822012-02-07 Marek Polacek <polacek@redhat.com>
44783
44784 * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
44785 * sysdeps/gnu/_G_config.h: Likewise.
44786 * sysdeps/mach/hurd/_G_config.h: Likewise.
44787
148cf100
MP
447882012-02-07 Marek Polacek <polacek@redhat.com>
44789
44790 * math/Makefile (tests): Add tst-CMPLX2.
44791 * math/tst-CMPLX2.c: New file.
44792
cfdc0dd7
AS
447932012-02-07 Andreas Schwab <schwab@linux-m68k.org>
44794
84ba42c4
AS
44795 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
44796
cfdc0dd7
AS
44797 * math/libm-test.inc (jn_test): Add missing L suffix.
44798
622c86f4
MP
447992012-02-06 Marek Polacek <polacek@redhat.com>
44800
44801 * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
44802 * sysdeps/i386/fpu/e_powf.S: Likewise.
44803 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
44804 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
44805 * sysdeps/i386/fpu/e_acosh.S: Likewise.
44806 * sysdeps/i386/fpu/e_pow.S: Likewise.
44807 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
44808 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
44809 * sysdeps/i386/fpu/s_expm1.S: Likewise.
44810 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
44811 * sysdeps/i386/fpu/e_log2.S: Likewise.
44812 * sysdeps/i386/fpu/e_log2l.S: Likewise.
44813 * sysdeps/i386/fpu/e_scalb.S: Likewise.
44814 * sysdeps/i386/fpu/e_powl.S: Likewise.
44815 * sysdeps/i386/fpu/s_log1p.S: Likewise.
44816 * sysdeps/i386/fpu/e_log10f.S: Likewise.
44817 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
44818 * sysdeps/i386/fpu/e_logl.S: Likewise.
44819 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
44820 * sysdeps/i386/fpu/s_expm1l.S: Likewise.
44821 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
44822 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
44823 * sysdeps/i386/fpu/e_log2f.S: Likewise.
44824 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
44825 * sysdeps/i386/fpu/e_log.S: Likewise.
44826 * sysdeps/i386/fpu/s_cexp.S: Likewise.
44827 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
44828 * sysdeps/i386/fpu/s_log1pl.S: Likewise.
44829 * sysdeps/i386/fpu/e_logf.S: Likewise.
44830 * sysdeps/i386/fpu/e_log10l.S: Likewise.
44831 * sysdeps/i386/fpu/e_atanh.S: Likewise.
44832 * sysdeps/i386/fpu/s_log1pf.S: Likewise.
44833 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
44834 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
44835 * sysdeps/i386/fpu/e_log10.S: Likewise.
44836 * sysdeps/i386/fpu/s_frexp.S: Likewise.
44837 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
44838 * sysdeps/i386/fpu/s_asinh.S: Likewise.
44839 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
44840 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
44841 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
44842 * sysdeps/i386/asm-syntax.h: Likewise.
44843 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
44844 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
44845 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
44846 * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
44847 * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
44848 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
44849 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
44850 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
44851 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
44852 * sysdeps/powerpc/sysdep.h: Likewise.
44853 * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
44854 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
44855
d4a54ac6
JM
448562012-02-06 Joseph Myers <joseph@codesourcery.com>
44857
44858 [BZ #411]
44859 * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
44860
314054ea
JM
448612012-02-06 Joseph Myers <joseph@codesourcery.com>
44862
44863 * sysdeps/i386/sysdep.h: Include <features.h>.
44864 (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
44865 version.
44866
d8e0ca50
JM
448672012-02-05 Joseph Myers <joseph@codesourcery.com>
44868
44869 * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
44870 Define.
44871 * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
44872 LOAD_PIC_REG_STR.
44873
b1da7dd9
JM
448742012-02-03 Joseph Myers <joseph@codesourcery.com>
44875
44876 * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
44877 (SETUP_PIC_REG): Use GET_PC_THUNK.
44878 * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
44879 macro.
44880
9a1d9254
JM
448812012-02-03 Joseph Myers <joseph@codesourcery.com>
44882
44883 * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
44884 for non-PIC compilation.
44885 (SETUP_PIC_REG): Add .p2align directive.
44886 * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
44887 * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
44888 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
44889 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
44890 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
44891 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
44892 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
44893 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
44894 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
44895 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
44896 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
44897 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
44898 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
44899 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
44900 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
44901 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
44902 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
44903 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
44904 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
44905 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
44906 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
44907 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
44908 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
44909 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
44910 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
44911 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
44912 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
44913 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
44914 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
44915 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
44916 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
44917 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
44918 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
44919 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
44920 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
44921 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
44922 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
44923 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
44924 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
44925 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
44926 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
44927
65dc3b75
JM
449282012-02-03 Joseph Myers <joseph@codesourcery.com>
44929
44930 * math/tst-CMPLX.c: Include <stdio.h>.
44931
d55bf177
JM
449322012-01-31 Joseph Myers <joseph@codesourcery.com>
44933
44934 * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
44935 float.
44936 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
44937 * sysdeps/sparc/bits/mathdef.h: Likewise.
44938
69db4f8f
MP
449392012-01-31 Marek Polacek <polacek@redhat.com>
44940
44941 * libio/libio.h: Don't define _PARAMS.
44942 * locale/programs/config.h: Don't define PARAMS.
44943 * stdlib/strtol_l.c: Likewise.
44944 (__strtol_l): Remove PARAMS from the prototype.
44945
41b81892
UD
449462012-01-31 Ulrich Drepper <drepper@gmail.com>
44947
3b49edc0
UD
44948 * malloc/malloc.c: Remove name translation. Don't use mixed-cap
44949 names. Just use the correct names. Remove unnecessary wrapper
44950 functions.
44951 * malloc/arena.c: Likewise.
44952 * malloc/hooks.c: Likewise.
44953
41b81892
UD
44954 * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
44955 ARENA_TEST says not to. Simplify test for creation of a new arena.
44956 Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
44957
27a25b6e
UD
449582012-01-30 Ulrich Drepper <drepper@gmail.com>
44959
44960 * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
44961 into tail calls.
44962 (update_get_addr): New function.
44963 (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
44964 GET_ADDR_MODULE parameter.
44965
c8a89e7d
JM
449662012-01-30 Joseph Myers <joseph@codesourcery.com>
44967
44968 * crypt/cert.c: Remove __STDC__ conditionals.
44969 * crypt/crypt-entry.c: Likewise.
44970 * crypt/crypt_util.c: Likewise.
44971 * libio/filedoalloc.c: Likewise.
44972 * libio/fileops.c: Likewise.
44973 * libio/genops.c: Likewise.
44974 * libio/iofclose.c: Likewise.
44975 * libio/iofdopen.c: Likewise.
44976 * libio/iofopen.c: Likewise.
44977 * libio/iofopen64.c: Likewise.
44978 * libio/iogetdelim.c: Likewise.
44979 * libio/iopopen.c: Likewise.
44980 * libio/obprintf.c: Likewise.
44981 * libio/oldfileops.c: Likewise.
44982 * libio/oldiofclose.c: Likewise.
44983 * libio/oldiofdopen.c: Likewise.
44984 * libio/oldiofopen.c: Likewise.
44985 * libio/oldiopopen.c: Likewise.
44986 * libio/wfiledoalloc.c: Likewise.
44987 * libio/wgenops.c: Likewise.
44988 * locale/programs/xmalloc.c: Likewise.
44989 * misc/syslog.c: Likewise.
44990 * stdio-common/xbug.c: Likewise.
44991 * string/memchr.c: Likewise.
44992 * string/memcmp.c: Likewise.
44993 * string/memrchr.c: Likewise.
44994 * string/rawmemchr.c: Likewise.
44995 * sysdeps/posix/getcwd.c: Likewise.
44996 * time/strftime_l.c: Likewise.
44997
3b100462
JM
449982012-01-30 Joseph Myers <joseph@codesourcery.com>
44999
45000 * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
3b100462
JM
45001 * config.make.in (config-cflags-sse2avx): Define.
45002 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
45003 Fix typo.
45004
607998af
CM
450052012-01-29 Chris Metcalf <cmetcalf@tilera.com>
45006
45007 * scripts/config.guess: Update from upstream config git repository.
45008 * scripts/config.sub: Likewise.
45009
3601428f
CM
450102012-01-28 Chris Metcalf <cmetcalf@tilera.com>
45011
3ac8b282
CM
45012 * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
45013 (EM_NUM): Update.
45014 (R_TILEPRO_*, R_TILEGX_*): New macros.
45015
e034841e
CM
45016 * scripts/firstversions.awk: Fix bug in version range handling.
45017
540d7568
CM
45018 * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
45019
3601428f
CM
45020 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
45021
463de862
CM
45022 * include/sys/epoll.h: New file.
45023 * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
45024 libc_hidden_def.
45025
73139a76
UD
450262012-01-28 Ulrich Drepper <drepper@gmail.com>
45027
96bc5b45
UD
45028 * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
45029 Avoid unnecessary __WORDSIZE == 64 test.
45030 (fmaxf): Use VEX format if possible.
45031 (fmax): Likewise.
45032 (fminf): Likewise.
45033 (fmin): Likewise.
45034
56f6f6a2
UD
45035 * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
45036 * math/math_private.h: Remove libc_fegetround* and
45037 libc_fesetround*.
45038 * sysdeps/i386/configure.in: Check for -msse2avx.
45039 * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
45040 also if SSE2AVX is defined.
45041 Remove libc_fegetround* and libc_fesetround*.
45042 * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
45043 if config-cflags-sse2avx is yes. Also add -DSSE2AVX to defines.
45044 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
45045 of HAS_YMM_USABLE.
45046 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
45047 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
45048 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
45049 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
45050 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
45051
73139a76
UD
45052 * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
45053
d73f93a4
AZ
450542012-01-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
45055
45056 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
45057 size is not set.
45058 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
45059
6ee65ed6
UD
450602012-01-27 Ulrich Drepper <drepper@gmail.com>
45061
45062 [BZ #13618]
45063 * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
45064 relocation.
45065 * Makeconfig (libm): Define.
45066 * elf/Makefile: Add rules to build and run tst-relsort1.
45067 * elf/tst-relsort1.c: New file.
45068 * elf/tst-relsort1mod1.c: New file.
45069 * elf/tst-relsort1mod2.c: New file.
45070
8db21882
JM
450712012-01-27 Joseph Myers <joseph@codesourcery.com>
45072
45073 * math/s_ldexp.c: Remove __STDC__ conditionals.
45074 * math/s_ldexpf.c: Likewise.
45075 * math/s_ldexpl.c: Likewise.
45076 * math/s_nextafter.c: Likewise.
45077 * math/s_nexttowardf.c: Likewise.
45078 * math/s_significand.c: Likewise.
45079 * math/s_significandf.c: Likewise.
45080 * math/s_significandl.c: Likewise.
45081 * math/w_jnl.c: Likewise.
45082 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
45083 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
45084 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
45085 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
45086 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
45087 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
45088 * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
45089 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
45090 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
45091 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
45092 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
45093 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
45094 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
45095 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
45096 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
45097 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
45098 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
45099 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
45100 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
45101 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
45102 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
45103 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
45104 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
45105 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
45106 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
45107 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
45108 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
45109 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
45110 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
45111 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
45112 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
45113 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
45114 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
45115 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
45116 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
45117 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
45118 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
45119 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
45120 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
45121 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
45122 * sysdeps/ieee754/k_standard.c: Likewise.
45123 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
45124 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
45125 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
45126 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
45127 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
45128 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
45129 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
45130 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
45131 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
45132 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
45133 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
45134 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
45135 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
45136 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
45137 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
45138 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
45139 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
45140 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
45141 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
45142 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
45143 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
45144 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
45145 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
45146 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
45147 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
45148 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
45149 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
45150 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
45151 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
45152 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
45153 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
45154 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
45155 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
45156 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
45157 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
45158 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
45159 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
45160 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
45161 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
45162 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
45163 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
45164 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
45165 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
45166 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
45167 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
45168 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
45169 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
45170 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
45171 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
45172 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
45173 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
45174 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
45175 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
45176 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
45177 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
45178 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
45179 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
45180 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
45181 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
45182 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
45183 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
45184 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
45185 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
45186 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
45187 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
45188 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
45189 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
45190 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
45191 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
45192 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
45193 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
45194 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
45195 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
45196 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
45197 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
45198 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
45199 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
45200 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
45201 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
45202 * sysdeps/ieee754/s_matherr.c: Likewise.
45203 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
45204 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
45205 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
45206 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
45207
965a54a4
JM
452082012-01-26 Joseph Myers <joseph@codesourcery.com>
45209
45210 * crypt/md5.h: Remove __STDC__ conditionals.
45211 * libio/libioP.h: Likewise.
45212 * locale/programs/config.h: Likewise.
45213 * sysdeps/generic/sysdep.h: Likewise.
45214 * sysdeps/i386/asm-syntax.h: Likewise.
45215 * sysdeps/s390/asm-syntax.h: Likewise.
45216 * sysdeps/unix/sysdep.h: Likewise.
45217 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
45218 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
45219
7071ad79
JM
452202012-01-26 Joseph Myers <joseph@codesourcery.com>
45221
45222 * libio/libio.h: Remove __STDC__ conditionals.
45223 * malloc/obstack.h: Likewise.
45224 * math/complex.h: Likewise.
45225 * math/math.h: Likewise.
45226 * sysdeps/generic/_G_config.h: Likewise.
45227 * sysdeps/gnu/_G_config.h: Likewise.
45228 * sysdeps/mach/hurd/_G_config.h: Likewise.
45229 * sysdeps/powerpc/bits/mathdef.h: Likewise.
45230 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
45231 * sysdeps/sparc/bits/mathdef.h: Likewise.
45232
afc5ed09
UD
452332012-01-26 Ulrich Drepper <drepper@gmail.com>
45234
45235 [BZ #13583]
45236 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
08cf777f 45237 Clean up HAS_* macros.
afc5ed09 45238 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
08cf777f
UD
45239 bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
45240 possible.
45241 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
45242 HAS_AVX.
45243 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
45244 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
45245 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
45246 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
45247 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
afc5ed09 45248
bdb6de1d
JM
452492012-01-25 Joseph Myers <joseph@codesourcery.com>
45250
45251 * elf/tst-unique3.cc (gets): Remove declaration.
45252 * elf/tst-unique3lib.cc (gets): Likewise.
45253 * elf/tst-unique3lib2.cc (gets): Likewise.
45254 * elf/tst-unique4.cc (gets): Likewise.
45255
b15549e6
UD
452562012-01-24 Ulrich Drepper <drepper@gmail.com>
45257
45258 * include/stdio.h: Add C++ protection. Add gets declarations and
45259 definitions.
45260 * debug/tst-chk1.c: Don't declare gets here.
45261 * stdio-common/tst-gets.c: Likewise.
45262
a037381f
JM
452632012-01-24 Joseph Myers <joseph@codesourcery.com>
45264
45265 * posix/glob: Remove directory.
45266
f1d4aa75
JM
452672012-01-24 Joseph Myers <joseph@codesourcery.com>
45268
45269 * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
45270
81c0c964
PT
452712012-01-22 Pino Toscano <toscano.pino@tiscali.it>
45272
45273 * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
45274 of the non-standard EPFNOSUPPORT.
45275
0ea698ae
ST
452762011-12-26 Samuel Thibault <samuel.thibault@ens-lyon.org>
45277
45278 * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
45279 __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
45280 ANYWHERE set to 1 only on KERN_NO_SPACE error.
45281
d220b117
UD
452822012-01-21 Ulrich Drepper <drepper@gmail.com>
45283
45284 * wcsmbs/uchar.h: Test __STDC_VERSION__.
45285
3e1aa84e
UD
452862012-01-20 Ulrich Drepper <drepper@gmail.com>
45287
45288 * nscd/aicache.c (addhstaiX): Do not cache negative results of
45289 transient errors.
45290 * nscd/grpcache.c (cache_addgr): Likewise.
45291 * nscd/hstcache.c (cache_addhst): Likewise.
45292 * nscd/initgrcache.c (addinitgroupsX): Likewise.
45293 * nscd/pwdcache.c (cache_addpw): Likewise.
45294 * nscd/servicescache.c (cache_addserv): Likewise.
45295
400aa020
UD
452962012-01-16 Ulrich Drepper <drepper@gmail.com>
45297
d77e7869
UD
45298 * malloc/malloc.c: Various cleanups.
45299 * malloc/hooks.c: Likewise.
45300
400aa020
UD
45301 * stdlib/Makefile (tests): Add bug-fmtmsg1.
45302 * stdlib/bug-fmtmsg1.c: New file.
45303
45304 * stdlib/fmtmsg.c (init): Add missing unlock.
45305 Patch by Peng Haitao <penght@cn.fujitsu.com>.
45306
e0a309cf
MP
453072012-01-12 Marek Polacek <polacek@redhat.com>
45308
45309 * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
45310 and _GNU_SOURCE.
45311
929d11c7
WS
453122012-01-04 Will Schmidt <will_schmidt@vnet.ibm.com>
45313
45314 * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
45315 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
45316 macro to ensure uniqueness of label name.
45317 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
45318 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
45319
41d0e869
UD
453202012-01-11 Ulrich Drepper <drepper@gmail.com>
45321
0cc5ed3b
UD
45322 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
45323
41d0e869
UD
45324 * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
45325 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
45326 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
45327 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
45328
a47a831a
UD
453292012-01-10 Ulrich Drepper <drepper@gmail.com>
45330
daa891c0
UD
45331 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
45332
45333 * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
45334 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
45335 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
45336
e58ef0f2
UD
45337 * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
45338
a47a831a 45339 * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
a47a831a
UD
45340 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
45341 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
41d0e869 45342 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
a47a831a
UD
45343
45344 * math/bits/math-finite.h: Add ldexp support.
45345
a0bfc9c7
MP
453462012-01-10 Marek Polacek <polacek@redhat.com>
45347
45348 * locale/programs/localedef.h (show_archive_content): Add noreturn
45349 attribute.
45350
d6e97a1d
UD
453512012-01-09 Ulrich Drepper <drepper@gmail.com>
45352
45353 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
45354
d5835c26
UD
453552012-01-08 Ulrich Drepper <drepper@gmail.com>
45356
e5f484c6
UD
45357 * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
45358
d5835c26
UD
45359 * io/Makefile (headers): Add bits/poll2.h.
45360
d1f741e9
WS
453612011-01-05 Will Schmidt <will_schmidt@vnet.ibm.com>
45362
45363 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
45364 typo #include statement.
45365
ec09c1c4
UD
453662012-01-08 Ulrich Drepper <drepper@gmail.com>
45367
45368 * include/sys/cdefs.h: Define __attribute_alloc_size.
45369 * catgets/gencat.c: Add alloc_size attribute and apply consistently
45370 the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
45371 * elf/pldd.c: Likewise.
45372 * iconv/iconv_charmap.c: Likewise.
45373 * iconv/iconvconfig.c: Likewise.
45374 * iconv/strtab.c: Likewise.
45375 * locale/programs/locale.c: Likewise.
45376 * locale/programs/localedef.h: Likewise.
45377 * locale/programs/simple-hash.c: Likewise.
45378 * nscd/nscd.h: Likewise.
45379 * nss/makedb.c: Likewise.
45380 * sysdeps/generic/ldconfig.h: Likewise.
45381 * locale/programs/localedef.c: Remove xmalloc prototype.
45382 * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
45383
20b38e03
PP
453842012-01-05 Paul Pluzhnikov <ppluzhnikov@google.com>
45385
45386 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
45387 appropriate.
45388
a0da5fe1
UD
453892012-01-08 Ulrich Drepper <drepper@gmail.com>
45390
1d5a644a 45391 * math/Makefile (tests): Add tst-CMPLX.
669704fd 45392 * math/tst-CMPLX.c: New file.
1d5a644a 45393
8784a6db
UD
45394 * math/complex.h (CMPLXL): Fix typo.
45395
d9a216c0
UD
45396 * debug/Makefile (routines): Add poll_chk and ppoll_chk.
45397 * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
45398 GLIBC_2.16.
45399 * debug/tst-chk1.c: Add poll and ppoll tests.
45400 * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
45401 * include/sys/poll.h: Add hidden proto for ppoll.
45402 * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
45403 * sysdeps/mach/hurd/ppoll.c: Likewise.
45404 * io/ppoll.c: Likewise.
45405 * debug/poll_chk.c: New file.
45406 * debug/ppoll_chk.c: New file.
45407 * include/bits/poll2.h: New file.
45408 * io/bits/poll2.h: New file.
45409
ac097f5c
UD
45410 [BZ #1350]
45411 * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
45412
2119dcfa
UD
45413 * configure.in: static is always set to yes. Remove.
45414 * config.make.in: Don't set build-static.
45415 * Makeconfig: Remove use of build-static.
45416 * dlfcn/Makefile: Likewise.
45417 * elf/Makefile: Likewise.
45418 * math/Makefile: Likewise.
45419 * misc/Makefile: Likewise.
45420 * nptl/Makefile: Likewise.
45421 * sysdeps/mach/hurd/Makefile: Likewise.
45422
121766a9
UD
45423 * configure.in: PWD_P is not used anymore.
45424 * config.make.in: Remove PWD_P entry.
45425
51a1d39c 45426 * configure.in: Remove last remnants of RANLIB.
8720d066 45427 No need to check for signed size_t anymore.
215f4bdc
UD
45428 Don't set libc_commonpagesize and libc_relro_required here for Alpha
45429 and IA-64.
3857022a 45430 Remove __builtin_expect test because we require at least gcc 3.4.
51a1d39c
UD
45431 * aclocal.m4: Likewise.
45432
d3ed7225
UD
45433 * wcsmbs/mbrtoc16.c: Implement using towc function.
45434 * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
45435 * wcsmbs/wcsmbsload.c: Likewise.
45436 * iconv/gconv_simple.c: Likewise.
45437 * iconv/gconv_int.h: Likewise.
45438 * iconv/gconv_builtin.h: Likewise.
45439 * iconv/iconv_prog.c: Remove CHAR16 handling.
45440
45441 * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
45442
45443 * wcsmbs/mbrtowc.c: Better check for invalid inputs.
45444
a0da5fe1
UD
45445 * configure.in: Remove --with-elf and --enable-bounded options.
45446 Dont set base_machine for ia64. More non-ELF conditions removed.
45447 Remove testing and setting of leading underscore information.
45448 * config.make.in (build-bounded): Set to no.
45449 * config.h.in: Remove NO_UNDERSCORES entry.
45450 * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS. ELF has
45451 them.
45452 * csu/start.c: Remove !NO_UNDERSCORE code.
45453 * locale/localeinfo.h: Likewise.
45454 * sysdeps/generic/machine-gmon.h: Likewise.
45455 * sysdeps/generic/sysdep.h: Likewise.
45456 * sysdeps/i386/sysdep.h: Likewise.
45457 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
45458 * sysdeps/mach/sysdep.h: Likewise.
45459 * sysdeps/s390/s390-32/sysdep.h: Likewise.
45460 * sysdeps/s390/s390-64/sysdep.h: Likewise.
45461 * sysdeps/sh/sysdep.h: Likewise.
45462 * sysdeps/sparc/sparc32/alloca.S: Likewise.
45463 * sysdeps/unix/i386/sysdep.S: Likewise.
45464 * sysdeps/unix/sparc/start.c: Likewise.
45465 * sysdeps/unix/sparc/sysdep.S: Likewise.
45466 * sysdeps/unix/sparc/sysdep.h: Likewise.
45467 * sysdeps/unix/start.c: Likewise.
45468 * sysdeps/unix/x86_64/sysdep.S: Likewise.
45469 * sysdeps/x86_64/sysdep.h: Likewise.
45470
df78418a
UD
454712012-01-07 Ulrich Drepper <drepper@gmail.com>
45472
a784e502
UD
45473 [BZ #13553]
45474 * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
45475 for non-gcc.
45476 * argp/argp-fmtstream.h: Use const instead __const.
45477 * argp/argp.h: Likewise.
45478 * assert/assert.h: Likewise.
45479 * bits/fenv.h: Likewise.
45480 * bits/sched.h: Likewise.
45481 * bits/sigset.h: Likewise.
45482 * bits/sigthread.h: Likewise.
45483 * catgets/nl_types.h: Likewise.
45484 * conform/data/pthread.h-data: Likewise.
45485 * crypt/crypt-private.h: Likewise.
45486 * crypt/crypt.h: Likewise.
45487 * crypt/crypt_util.c: Likewise.
45488 * ctype/ctype.h: Likewise.
45489 * debug/execinfo.h: Likewise.
45490 * debug/mbsnrtowcs_chk.c: Likewise.
45491 * debug/mbsrtowcs_chk.c: Likewise.
45492 * debug/wcsnrtombs_chk.c: Likewise.
45493 * debug/wcsrtombs_chk.c: Likewise.
45494 * debug/wcstombs_chk.c: Likewise.
45495 * dirent/dirent.h: Likewise.
45496 * dlfcn/dlfcn.h: Likewise.
45497 * elf/neededtest4.c: Likewise.
45498 * grp/grp.h: Likewise.
45499 * gshadow/gshadow.h: Likewise.
45500 * iconv/gconv.h: Likewise.
45501 * iconv/gconv_int.h: Likewise.
45502 * iconv/gconv_simple.c: Likewise.
45503 * iconv/iconv.h: Likewise.
45504 * iconv/loop.c: Likewise.
45505 * iconv/skeleton.c: Likewise.
45506 * include/aio.h: Likewise.
45507 * include/aliases.h: Likewise.
45508 * include/argz.h: Likewise.
45509 * include/arpa/inet.h: Likewise.
45510 * include/assert.h: Likewise.
45511 * include/dirent.h: Likewise.
45512 * include/dlfcn.h: Likewise.
45513 * include/execinfo.h: Likewise.
45514 * include/fcntl.h: Likewise.
45515 * include/fenv.h: Likewise.
45516 * include/glob.h: Likewise.
45517 * include/grp.h: Likewise.
45518 * include/libintl.h: Likewise.
45519 * include/mntent.h: Likewise.
45520 * include/netdb.h: Likewise.
45521 * include/pwd.h: Likewise.
45522 * include/rpc/netdb.h: Likewise.
45523 * include/sched.h: Likewise.
45524 * include/search.h: Likewise.
45525 * include/shadow.h: Likewise.
45526 * include/signal.h: Likewise.
45527 * include/stdio.h: Likewise.
45528 * include/stdlib.h: Likewise.
45529 * include/string.h: Likewise.
45530 * include/sys/socket.h: Likewise.
45531 * include/sys/stat.h: Likewise.
45532 * include/sys/statfs.h: Likewise.
45533 * include/sys/statvfs.h: Likewise.
45534 * include/sys/syslog.h: Likewise.
45535 * include/sys/time.h: Likewise.
45536 * include/sys/uio.h: Likewise.
45537 * include/time.h: Likewise.
45538 * include/unistd.h: Likewise.
45539 * include/utmp.h: Likewise.
45540 * include/wchar.h: Likewise.
45541 * include/wctype.h: Likewise.
45542 * inet/aliases.h: Likewise.
45543 * inet/arpa/inet.h: Likewise.
45544 * inet/netinet/ether.h: Likewise.
45545 * inet/netinet/in.h: Likewise.
45546 * intl/libintl.h: Likewise.
45547 * io/bits/fcntl2.h: Likewise.
45548 * io/fcntl.h: Likewise.
45549 * io/ftw.h: Likewise.
45550 * io/sys/poll.h: Likewise.
45551 * io/sys/stat.h: Likewise.
45552 * io/sys/statfs.h: Likewise.
45553 * io/sys/statvfs.h: Likewise.
45554 * io/utime.h: Likewise.
45555 * libio/bits/stdio.h: Likewise.
45556 * libio/bits/stdio2.h: Likewise.
45557 * libio/libio.h: Likewise.
45558 * libio/libioP.h: Likewise.
45559 * libio/stdio.h: Likewise.
45560 * locale/lc-ctype.c: Likewise.
45561 * locale/locale.h: Likewise.
45562 * login/utmp.h: Likewise.
45563 * malloc/arena.c: Likewise.
45564 * malloc/malloc.c: Likewise.
45565 * malloc/malloc.h: Likewise.
45566 * malloc/mcheck.c: Likewise.
45567 * malloc/mtrace.c: Likewise.
45568 * math/bits/mathcalls.h: Likewise.
45569 * math/fenv.h: Likewise.
45570 * math/math_private.h: Likewise.
45571 * misc/bits/error.h: Likewise.
45572 * misc/bits/syslog.h: Likewise.
45573 * misc/err.h: Likewise.
45574 * misc/error.h: Likewise.
45575 * misc/fstab.h: Likewise.
45576 * misc/mntent.h: Likewise.
45577 * misc/regexp.h: Likewise.
45578 * misc/search.h: Likewise.
45579 * misc/sgtty.h: Likewise.
45580 * misc/sys/mman.h: Likewise.
45581 * misc/sys/syslog.h: Likewise.
45582 * misc/sys/uio.h: Likewise.
45583 * misc/sys/xattr.h: Likewise.
45584 * misc/ttyent.h: Likewise.
45585 * nis/rpcsvc/ypclnt.h: Likewise.
45586 * nss/nss.h: Likewise.
45587 * posix/bits/unistd.h: Likewise.
45588 * posix/fnmatch.h: Likewise.
45589 * posix/glob.h: Likewise.
45590 * posix/sched.h: Likewise.
45591 * posix/spawn.h: Likewise.
45592 * posix/sys/wait.h: Likewise.
45593 * posix/unistd.h: Likewise.
45594 * posix/wordexp.h: Likewise.
45595 * pwd/pwd.h: Likewise.
45596 * resolv/netdb.h: Likewise.
45597 * resource/sys/resource.h: Likewise.
45598 * rt/aio.h: Likewise.
45599 * rt/bits/mqueue2.h: Likewise.
45600 * rt/mqueue.h: Likewise.
45601 * shadow/shadow.h: Likewise.
45602 * signal/signal.h: Likewise.
45603 * socket/send.c: Likewise.
45604 * socket/sendto.c: Likewise.
45605 * socket/sys/socket.h: Likewise.
45606 * stdio-common/printf.h: Likewise.
45607 * stdlib/bits/stdlib.h: Likewise.
45608 * stdlib/fmtmsg.h: Likewise.
45609 * stdlib/monetary.h: Likewise.
45610 * stdlib/stdlib.h: Likewise.
45611 * stdlib/ucontext.h: Likewise.
45612 * streams/stropts.h: Likewise.
45613 * string/argz.h: Likewise.
45614 * string/bits/string2.h: Likewise.
45615 * string/string.h: Likewise.
45616 * string/strings.h: Likewise.
45617 * sunrpc/rpc/auth.h: Likewise.
45618 * sunrpc/rpc/auth_des.h: Likewise.
45619 * sunrpc/rpc/clnt.h: Likewise.
45620 * sunrpc/rpc/netdb.h: Likewise.
45621 * sunrpc/rpc/pmap_clnt.h: Likewise.
45622 * sunrpc/rpc/xdr.h: Likewise.
45623 * sysdeps/generic/inttypes.h: Likewise.
45624 * sysdeps/generic/net/if.h: Likewise.
45625 * sysdeps/generic/sys/swap.h: Likewise.
45626 * sysdeps/gnu/net/if.h: Likewise.
45627 * sysdeps/gnu/utmpx.h: Likewise.
45628 * sysdeps/i386/fpu/bits/fenv.h: Likewise.
45629 * sysdeps/i386/i486/bits/string.h: Likewise.
45630 * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
45631 * sysdeps/s390/bits/string.h: Likewise.
45632 * sysdeps/s390/fpu/bits/fenv.h: Likewise.
45633 * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
45634 * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
45635 * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
45636 * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
45637 * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
45638 * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
45639 * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
45640 * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
45641 * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
45642 * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
45643 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
45644 * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
45645 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
45646 * sysdeps/unix/sysv/linux/readv.c: Likewise.
45647 * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
45648 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
45649 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
45650 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
45651 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
45652 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
45653 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
45654 * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
45655 * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
45656 * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
45657 * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
45658 * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
45659 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
45660 * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
45661 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
45662 * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
45663 * sysvipc/sys/ipc.h: Likewise.
45664 * sysvipc/sys/msg.h: Likewise.
45665 * sysvipc/sys/sem.h: Likewise.
45666 * sysvipc/sys/shm.h: Likewise.
45667 * termios/termios.h: Likewise.
45668 * time/sys/time.h: Likewise.
45669 * time/time.h: Likewise.
45670 * wcsmbs/bits/wchar2.h: Likewise.
45671 * wcsmbs/uchar.h: Likewise.
45672 * wcsmbs/wchar.h: Likewise.
45673 * wctype/wctype.h: Likewise.
45674
0269750c
UD
45675 [BZ #13551]
45676 * Makeconfig: Remove all but ELF support including AIX support.
45677 * Makerules: Likewise.
45678 * config.h.in: Likewise.
45679 * config.make.in: Likewise.
45680 * configure: Likewise.
45681 * configure.in: Likewise.
45682 * csu/Makefile: Likewise.
45683 * csu/version.c: Likewise.
45684 * debug/Makefile: Likewise.
45685 * dlfcn/Makefile: Likewise.
45686 * elf/Makefile: Likewise.
45687 * extra-lib.mk: Likewise.
45688 * iconv/Makefile: Likewise.
45689 * include/libc-symbols.h: Likewise.
45690 * include/shlib-compat.h: Likewise.
45691 * resolv/Makefile: Likewise.
45692 * resolv/res_libc.c: Likewise.
45693 * rt/Makefile: Likewise.
45694 * sysdeps/i386/asm-syntax.h: Likewise.
45695 * sysdeps/i386/sysdep.h: Likewise.
45696 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
45697 * sysdeps/mach/sysdep.h: Likewise.
45698 * sysdeps/powerpc/powerpc32/Makefile: Likewise.
45699 * sysdeps/powerpc/powerpc64/Makefile: Likewise.
45700 * sysdeps/s390/asm-syntax.h: Likewise.
45701 * sysdeps/s390/s390-32/sysdep.h: Likewise.
45702 * sysdeps/s390/s390-64/sysdep.h: Likewise.
45703 * sysdeps/sh/sysdep.h: Likewise.
45704 * sysdeps/unix/sparc/sysdep.h: Likewise.
45705 * sysdeps/wordsize-32/divdi3.c: Likewise.
45706 * sysdeps/x86_64/sysdep.h: Likewise.
45707
00bbd29b
UD
45708 * argp/Versions: Remove _argp_unlock_xxx.
45709
45710 [BZ #13559]
45711 * abilist/ld.abilist: Update. Adjust for removal of tls option.
45712 * abilist/libBrokenLocale.abilist: Likewise.
45713 * abilist/libanl.abilist: Likewise.
45714 * abilist/libc.abilist: Likewise.
45715 * abilist/libcrypt.abilist: Likewise.
45716 * abilist/libdl.abilist: Likewise.
45717 * abilist/libm.abilist: Likewise.
45718 * abilist/libnsl.abilist: Likewise.
45719 * abilist/libpthread.abilist: Likewise.
45720 * abilist/libresolv.abilist: Likewise.
45721 * abilist/librt.abilist: Likewise.
45722 * abilist/libthread_db.abilist: Likewise.
45723 * abilist/libutil.abilist: Likewise.
45724 * abilist/libnss_db.abilist: New file.
45725
45726 * scripts/abilist.awk: Add support for indirect functions.
45727
a2693a0e
UD
45728 * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
45729
3f05895f
UD
45730 * sysdeps/generic/ldsodefs.h: Remove Alpha support.
45731
ecb6fb48
UD
45732 * shlib-versions: Remove entries for ports architectures.
45733
664f8cb9
UD
45734 * elf/tls-macros.h: Remove support for Alpha and IA-64. Should be in
45735 files in ports.
45736 * elf/stackguard-macros.h: Remove support for IA-64.
45737 * elf/tst-auditmod1.c: Likewise.
45738 * sysdeps/generic/ldsodefs.h: Likewise.
45739
7ae81d88
UD
45740 * sysdeps/unix/sysv/linux/configure.in: Ports should define
45741 libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
45742 configure files.
45743
bdeba135
UD
45744 [BZ #13552]
45745 * configure.in: Remove --enable-omitfp support.
45746 * FAQ.in: Adjust.
45747 * config.make.in: Likewise.
45748 * Makeconfig: Likewise.
45749 * manual/install.texi: Likewise.
45750
d75a0a62
UD
45751 In case anyone cares, the IA-64 architecture could move to ports.
45752 * sysdeps/ia64/*: Removed.
45753 * sysdeps/unix/sysv/linux/ia64/*: Removed.
b13b9885 45754 * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
d75a0a62 45755
dcc9756b
UD
45756 [BZ #13555]
45757 * configure.in: Remove entries for unsupported architectures.
45758
d3761ebc 45759 [BZ #13533]
9954432e
UD
45760 * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
45761 * iconv/gconv_simple.c: Rename char16_t routines. Add char16_t<->utf8
45762 routines.
45763 * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
45764 * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
45765 * wcsmbs/c16rtomb.c: Fix a few problems. Disable all the code and
45766 fall back to using wcrtomb.
45767 * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
45768 * wcsmbs/wcsmbsload.c: Make char16 routines optional. Adjust for
45769 renaming.
45770 * wcsmbs/Makefile (tests): Add tst-c16c32-1:
45771 * wcsmbs/tst-c16c32-1.c: New file.
45772
45773 * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
45774 local variable.
45775
c3a87236
UD
45776 * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
45777
28926a1b
UD
45778 * elf/tst-unique3.cc: Add explicit declaration of gets.
45779 * elf/tst-unique3lib.cc: Likewise.
45780 * elf/tst-unique3lib2.cc: Likewise.
45781 * elf/tst-unique4.cc: Likewise.
45782
df78418a
UD
45783 * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
45784
8ecd6b2a
JM
457852012-01-06 Joseph Myers <joseph@codesourcery.com>
45786
45787 [BZ #13566]
45788 * assert/assert.h (static_assert): Don't define for C++.
45789 * libio/stdio.h (gets): Do declare for C++ <= C++11.
45790 * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
45791
9f115170
UD
457922012-01-03 Ulrich Drepper <drepper@gmail.com>
45793
5e0d0300
UD
45794 * iconv/loop.c (single loop): Fix assertion in storing of
45795 remaining bytes.
45796
9f115170
UD
45797 * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
45798
81fb02b0
UD
457992012-01-01 Ulrich Drepper <drepper@gmail.com>
45800
45801 * posix/getconf.c: Update copyright year.
45802 * nss/getent.c: Likewise.
a316c1f6 45803 * nss/makedb.c: Likewise.
81fb02b0
UD
45804 * iconv/iconvconfig.c: Likewise.
45805 * iconv/iconv_prog.c: Likewise.
45806 * elf/ldconfig.c: Likewise.
a316c1f6
UD
45807 * elf/pldd.c: Likewise.
45808 * elf/sotruss.ksh: Likewise.
81fb02b0
UD
45809 * catgets/gencat.c: Likewise.
45810 * csu/version.c: Likewise.
45811 * elf/ldd.bash.in: Likewise.
45812 * elf/sprof.c (print_version): Likewise.
45813 * locale/programs/locale.c: Likewise.
45814 * locale/programs/localedef.c: Likewise.
a316c1f6 45815 * login/programs/pt_chown.c: Likewise.
81fb02b0
UD
45816 * nscd/nscd.c (print_version): Likewise.
45817 * debug/xtrace.sh: Likewise.
45818 * malloc/memusage.sh: Likewise.
45819 * malloc/mtrace.pl: Likewise.
45820 * debug/catchsegv.sh: Likewise.
45821
2ba92745
JJ
458222011-12-30 Jakub Jelinek <jakub@redhat.com>
45823
45824 * posix/regex_internal.c (re_string_fetch_byte_case): Remove
45825 pure attribute.
45826
dadebdae
UD
458272011-12-24 Ulrich Drepper <drepper@gmail.com>
45828
d3761ebc 45829 [BZ #13533]
db6af3eb
UD
45830 * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
45831 * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
45832 transformations.
45833 * iconv/gconv_int.h: Likewise.
45834 * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
45835 * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
45836 from libc for GLIBC_2.16.
45837 * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
45838 * wcsmbs/wcrtomb.c: Define c32rtomb alias.
45839 * wcsmbs/uchar.h: Really define mbstate_t.
45840 * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
45841 * wcsmbs/c16rtomb.c: New file.
45842 * wcsmbs/mbrtoc16.c: New file.
45843 * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
45844 for C/POSIX locale.
45845 (__wcsmbs_load_conv): Do not fill in c16 routines yet.
45846 * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
45847
dadebdae
UD
45848 * wcsmbs/wchar.h: Add missing __restrict.
45849
67371b56
UD
458502011-12-23 Ulrich Drepper <drepper@gmail.com>
45851
74033a25
UD
45852 [BZ #13532]
45853 * time/Makefile (routines): Add timespec_get.
45854 * time/Versions: Export timespec_get from libc for GLIBC_2.16.
45855 * time/time.h: Define TIME_UTC and declare timespec_get. Define
45856 timespec for ISO C11.
45857 * time/timespec_get.c: New file.
45858 * sysdeps/unix/sysv/linux/timespec_get.c: New file.
45859 * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
45860
380d7e87
UD
45861 [BZ #13531]
45862 * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
45863 * stdlib/stdlib.h: Declare aligned_alloc.
45864 * Versions.def: Add GLIBC_2.16 for libc.
45865 * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
45866
4e9e7a35
UD
45867 [BZ 13527]
45868 * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
45869 ISO C11.
45870
380d7e87 45871 * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
8fd8ff3b
UD
45872 code.
45873
03a71829
UD
45874 [BZ #13528]
45875 * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
45876
839e283e
UD
45877 [BZ #13529]
45878 * assert/assert.h (static_assert): Define.
45879
ce5294e2 45880 * version.h: Update for 2.16 development version.
90fa7312 45881
8d44e150 45882 [BZ #13526]
d7809905
UD
45883 * include/features.h: Handle __STDC_VERSION__ >= 201112 and
45884 _ISOC11_SOURCE.
45885
c0da14cd
UD
45886 * version.h (RELEASE): Bump for 2.15 release.
45887 * include/features.h (__GLIBC_MINOR__): Bump to 15.
45888
530a3249
MP
45889 * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
45890 Patch by Marek Polacek <mpolacek@redhat.com>.
45891
67371b56
UD
45892 * bits/byteswap.h: Protect long long constants with __extension__.
45893 * sysdeps/i386/bits/byteswap.h: Likewise.
45894 * sysdeps/ia64/bits/byteswap.h: Likewise.
45895 * sysdeps/s390/bits/byteswap.h: Likewise.
45896 * sysdeps/x86_64/bits/byteswap.h: Likewise.
45897
15db4de1
LD
458982011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
45899
45900 [BZ #13540]
bbe315ea
LD
45901 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
45902 destination buffer.
15db4de1
LD
45903 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
45904
2b2596b1
MP
459052011-12-23 Marek Polacek <polacek@redhat.com>
45906
45907 * elf/dl-addr.c (determine_info): Add inline keyword.
45908 * elf/tst-auditmod4b.c (check_avx): Likewise.
45909 * elf/tst-auditmod6b.c (check_avx): Likewise.
45910 * elf/tst-auditmod6c.c (check_avx): Likewise.
45911 * elf/tst-auditmod7b.c (check_avx): Likewise.
45912
70c6c246
UD
459132011-12-23 Ulrich Drepper <drepper@gmail.com>
45914
45915 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
45916 !__SSE_MATH__.
45917
c044cf14
LD
459182011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
45919
15db4de1 45920 [BZ #13540]
c044cf14
LD
45921 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
45922 processing for last bytes.
45923
6b13d9d9
BH
459242011-08-06 Bruno Haible <bruno@clisp.org>
45925
d455f537
BH
45926 [BZ #13061]
45927 * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
45928 U+0385, not to U+1FEE.
45929
6b13d9d9
BH
45930 [BZ #13062]
45931 * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
45932 entry for U+00A5 U+0301.
45933
db910efd
UD
459342011-12-22 Ulrich Drepper <drepper@gmail.com>
45935
27deeafc
UD
45936 [BZ #13166]
45937 * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
45938 buffer for the output is too small.
45939
aed9d171
UD
45940 * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
45941 optimization.
45942
db910efd
UD
45943 [BZ #13185]
45944 * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
45945 SSE flags if possible.
45946
2bd779ae
LD
459472011-12-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
45948
e7f9dac3 45949 [BZ #13540]
2bd779ae
LD
45950 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
45951 processing for last bytes.
45952
154bfc16
JM
459532011-12-22 Joseph Myers <joseph@codesourcery.com>
45954
45955 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
45956 (syscall-list-default-options, syscall-list-default-condition)
45957 (syscall-list-includes): Define.
45958 ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
45959 list of ABIs and options and #if conditions for each ABI. Do not
45960 handle common syscalls between ABIs specially.
45961 * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
45962 Remove.
45963 (syscall-list-variants, syscall-list-32bit-options)
45964 (syscall-list-32bit-condition, syscall-list-64bit-options)
45965 (syscall-list-64bit-condition): Define.
45966 * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
45967 (syscall-list-variants, syscall-list-32bit-options)
45968 (syscall-list-32bit-condition, syscall-list-64bit-options)
45969 (syscall-list-64bit-condition): Define.
45970 * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
45971 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/x86_64/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
21eaf3a5
UD
459812011-12-22 Ulrich Drepper <drepper@gmail.com>
45982
16c6f992
UD
45983 * locale/iso-639.def: Add brx entry.
45984
41043168
UD
45985 [BZ #13328]
45986 * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
45987 Proposed by Mariusz_Cukr <marcukr@op.pl>.
45988
21eaf3a5
UD
45989 * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
45990 __feraiseexcept_renamed.
45991
e3a851a2
UD
459922011-12-21 Ulrich Drepper <drepper@gmail.com>
45993
4920765e
UD
45994 [BZ #13538]
45995 * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
45996 EPOLLET with unsigned values.
45997 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
45998 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
45999
e3a851a2
UD
46000 * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
46001 to large cancellation.
46002 * math/s_cacoshf.c: Likewise.
46003 * math/s_cacoshl.c: Likewise.
46004
b27e24b8
RK
460052011-11-18 Richard B. Kreckel <kreckel@ginac.de>
46006
46007 [BZ #13305]
aebefeee 46008 [BZ #12786]
b27e24b8
RK
46009 * math/s_cacosh.c: Fix rare miscomputation in cacosh().
46010 * math/s_cacoshf.c: Likewise.
46011 * math/s_cacoshl.c: Likewise.
46012
ee190f67
UD
460132011-12-21 Ulrich Drepper <drepper@gmail.com>
46014
46015 [BZ #13439]
46016 * iconv/gconv.h: Define __GCONV_SWAP.
46017 * iconvdata/unicode.c: The swap bit must be stored in __flags.
46018 * iconvdata/utf-16.c: Likewise.
46019 * iconvdata/utf-32.c: Likewise.
46020
707f25df
AS
460212011-12-21 Andreas Schwab <schwab@linux-m68k.org>
46022
46023 [BZ #13524]
46024 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
46025 numerator after shifting it by one limb.
46026
d2daaa1e
RÁE
460272011-12-19 Rafael Ávila de Espíndola <rafael.espindola@gmail.com>
46028
46029 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
46030 under [__USE_EXTERN_INLINES].
46031
a4647e72
UD
460322011-12-17 Ulrich Drepper <drepper@gmail.com>
46033
46034 [BZ #13446]
46035 * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
46036
f0b264f1
AZ
460372011-11-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
46038
46039 * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
46040 * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
46041 optimized code.
46042 * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
46043 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
46044 * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
46045 * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
46046 for strncasecmp/strncasecmp_l compilation.
46047 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
46048 * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
46049
8ef4f244
MP
460502011-12-08 Marek Polacek <mpolacek@redhat.com>
46051
46052 [BZ #13484]
46053 * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
46054 of __asm__.
46055
97ac2654
UD
460562011-12-17 Ulrich Drepper <drepper@gmail.com>
46057
46058 [BZ #13506]
46059 * time/tzfile.c (__tzfile_read): Check values from file header.
46060
91d2a845
WS
460612011-11-21 Will Schmidt <will_schmidt@vnet.ibm.com>
46062
46063 * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
46064 * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
46065 * powerpc/powerpc32/dl-start.S: Likewise.
46066 * powerpc/powerpc32/elf/start.S: Likewise.
46067 * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
46068 * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
46069 * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
46070 * powerpc/powerpc32/fpu/s_floor.S: Likewise.
46071 * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
46072 * powerpc/powerpc32/fpu/s_lround.S: Likewise.
46073 * powerpc/powerpc32/fpu/s_rint.S: Likewise.
46074 * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
46075 * powerpc/powerpc32/fpu/s_round.S: Likewise.
46076 * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
46077 * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
46078 * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
46079 * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
46080 * powerpc/powerpc32/memset.S: Likewise.
46081 * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
46082 * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
46083 * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
46084 * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
46085 * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
46086 * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
46087 * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
46088 * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
46089 * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
46090 * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
46091 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
46092 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
46093 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
46094
a1267ba1
AZ
460952011-11-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
46096
46097 * math/libm-test.inc: Added more nearbyint tests.
46098 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
46099 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
46100 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
46101 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
46102
ad8ac1bd
RL
461032011-11-21 Ross Lagerwall <rosslagerwall@gmail.com>
46104
46105 * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
46106 FD_CLOEXEC.
46107
1d3e4b61
UD
461082011-11-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
46109
46110 * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
46111 Add wcscpy-ssse3 wcscpy-c.
46112 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
46113 * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
46114 * sysdeps/x86_64/multiarch/wcscpy.S: New file.
46115 * sysdeps/x86_64/wcschr.S: New file.
46116 * sysdeps/x86_64/wcsrchr.S: New file.
46117 * string/test-strcmp.c: Remove checking of wcscmp function for
46118 wrong alignments.
46119 * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
46120 (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
46121 wcsrchr-sse2 wcsrchr-c.
46122 * sysdeps/i386/i686/multiarch/wcschr.S: New file.
46123 * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
46124 * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
46125 * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
46126 * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
46127 * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
46128 * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
46129 * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
46130 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
46131 * wcsmbc/wcschr.c (WCSCHR): New macro.
46132
5b330a2d
UD
461332011-11-17 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
46134
46135 * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
46136 * wcsmbs/test-wcsrchr.c: New file.
46137 * string/test-strrchr.c: Add wcsrchr support.
46138 (WIDE): New macro.
46139 * wcsmbs/test-wcscpy.c: New file.
46140 * string/test-strcpy.c: Add wcscpy support.
46141 (WIDE): New macro.
26428b7c 46142
f039c043
UD
461432011-12-10 Ulrich Drepper <drepper@gmail.com>
46144
46145 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
46146 the inner loop.
46147
850fb039
AS
461482011-12-06 Andreas Schwab <schwab@linux-m68k.org>
46149
46150 [BZ #13472]
46151 * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
46152
4efbd5cb
UD
461532011-12-04 Ulrich Drepper <drepper@gmail.com>
46154
52ff5dd0 46155 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
52ad36a2 46156 Minor optimizations.
52ff5dd0 46157
4efbd5cb
UD
46158 * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
46159 * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
46160 * sunrpc/clnt_udp.c (clntudp_call): Likewise.
46161
8a426e12
UD
461622011-12-03 Ulrich Drepper <drepper@gmail.com>
46163
aff2453d
UD
46164 * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
46165 IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
46166 IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
46167 for gcc to avoid warnings.
46168 * inet/Makefile (tests): Add tst-checks.
46169 * inet/tst-checks.c: New file.
46170
46171 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
46172 warning.
46173
46174 * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
46175 __wmemcmp_sse2.
46176
46177 * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
46178 * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
46179
8a426e12
UD
46180 * malloc/mcheck.h: Fix use of incorrect encoding in comment.
46181
9bea3473
UD
461822011-12-02 Ulrich Drepper <drepper@gmail.com>
46183
3a965496
UD
46184 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
46185 problem.
46186
9bea3473
UD
46187 * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
46188
f101631b
UD
461892011-11-29 Joseph Myers <joseph@codesourcery.com>
46190
46191 * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
46192 conditional on GCC version.
46193 (__arch_compare_and_exchange_val_8_acq)
46194 (__arch_compare_and_exchange_val_16_acq)
46195 (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
46196 (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
46197 (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
46198
a98275aa
UD
461992011-12-02 Joseph Myers <joseph@codesourcery.com>
46200
46201 * sysdeps/sh/backtrace.c: New file.
46202
d4cc29a2
AS
462032011-12-02 Andreas Schwab <schwab@redhat.com>
46204
46205 * misc/bits/select2.h (__FD_ELT): Mark as extension. Add
46206 parenthesis.
46207
6257af2d
AS
462082011-12-01 Andreas Schwab <schwab@redhat.com>
46209
46210 * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
46211 falling back to utime.
46212
b5f44c1a
AS
462132011-11-30 Andreas Schwab <schwab@redhat.com>
46214
46215 * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
46216 expectations for float.
46217
f3a6cc0a
AS
462182011-11-29 Andreas Schwab <schwab@redhat.com>
46219
46220 * locale/weight.h (findidx): Add parameter len.
46221 * locale/weightwc.h (findidx): Likewise.
46222 * posix/fnmatch_loop.c (FCT): Adjust caller.
46223 * posix/regcomp.c (build_equiv_class): Likewise.
46224 * posix/regex_internal.h (re_string_elem_size_at): Likewise.
46225 * posix/regexec.c (check_node_accept_bytes): Likewise.
46226 * string/strcoll_l.c (STRCOLL): Likewise.
46227 * string/strxfrm_l.c (STRXFRM): Likewise.
46228
9d65ea3a
UD
462292011-11-17 Ulrich Drepper <drepper@gmail.com>
46230
46231 * Makefile.in: Remove CVSOPT handling.
46232 * configure.in: Remove use of AC_REVISION.
46233 * iconvdata/Makefile (distribute): No need to filter out CVS.
46234 * scripts/list-sources.sh: Remove CVS, subversion and monotone
46235 handling.
46236
5583a086
AS
462372011-11-16 Andreas Schwab <schwab@redhat.com>
46238
46239 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
46240 [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
46241 [USE_AS_STRNCASECMP_L]: Likewise.
46242 (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
46243 NO_TLS_DIRECT_SEG_REFS.
46244 * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
46245 Fix argument offsets for non-PIC.
46246 [USE_AS_STRNCASECMP_L]: Likewise.
46247 (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
46248 NO_TLS_DIRECT_SEG_REFS.
46249
d62a8200
UD
462502011-11-15 Ulrich Drepper <drepper@gmail.com>
46251
9d65ea3a 46252 * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
d62a8200
UD
46253 O_CLOEXEC.
46254 * locale/loadlocale.c (_nl_load_locale): Likewise.
46255
09f93bd3
AS
462562011-11-15 Andreas Schwab <schwab@redhat.com>
46257
446514f9
AS
46258 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
46259 [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
46260 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
46261 (SYSCALL_GETTIME): Set errno on error.
46262
09f93bd3
AS
46263 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
46264 count references to noai6ai_cached.
46265
312be3f9
UD
462662011-11-15 Ulrich Drepper <drepper@gmail.com>
46267
46268 * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
46269
46270 * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
46271 FD_CLOEXEC for /proc/self/maps.
46272
46273 * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
46274 FD_CLOEXEC for /proc/meminfo.
46275
46276 * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
46277 gai.conf.
46278
46279 * resolv/res_query.c (res_hostalias): Don't allow cancellation and set
46280 FD_CLOEXEC for given file.
46281
46282 * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
46283
46284 * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
46285 FD_CLOEXEC for /etc/hosts.
46286 (_gethtent): Likewise.
46287
46288 * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
46289
46290 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
46291 cancellation and set FD_CLOEXEC for /etc/netgroup.
46292
46293 * nss/nss_files/files-key.c (search): Don't allow cancellation when
46294 reading /etc/publickey.
46295
46296 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
46297 allow cancellation when reading /etc/group.
46298
46299 * nss/nss_files/files-alias.c (internal_setent): Don't allow
46300 cancellation.
46301 (get_next_alias): Likewise for included file. Also set FD_CLOEXEC.
46302
46303 * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
46304 when using data file.
46305
46306 * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
46307
46308 * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
46309 (write_nis_obj): Use "c" and "e" in fopen.
46310
46311 * misc/mntent_r.c (__setmntent): Also append e to fopen format.
46312
46313 * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
46314
46315 * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
46316
46317 * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
46318
46319 * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
46320 locale.alias.
46321
46322 * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
46323
46324 * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
46325
46326 * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
46327
46328 * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
46329 file parsing and set FD_CLOEXEC.
46330
82af0fa8
UD
463312011-11-14 Ulrich Drepper <drepper@gmail.com>
46332
46333 * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
46334
a5fb313c
AS
463352011-11-14 Andreas Schwab <schwab@redhat.com>
46336
46337 * malloc/arena.c (arena_get2): Don't call reused_arena when
46338 _int_new_arena failed.
46339
6abf3465
UD
463402011-11-14 Ulrich Drepper <drepper@gmail.com>
46341
46342 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
46343 (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
46344 * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
46345 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
46346 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
46347 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
46348 to compile strcasecmp and strncasecmp.
46349 * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
46350 * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
46351
46352 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
46353
76e3966e
UD
463542011-11-13 Ulrich Drepper <drepper@gmail.com>
46355
46356 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
46357 locale-defines.sym to gen-as-const-headers.
46358 (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
46359 strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
46360 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
46361 to compile strcasecmp and strncasecmp.
46362 * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
46363 strcasecmp_l and strncasecmp_l.
46364 * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
46365 * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
46366 * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
46367 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
46368 * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
46369 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
46370 * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
46371 * sysdeps/i386/i686/multiarch/strncase.S: New file.
46372 * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
46373 * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
46374 * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
46375
ab26144e
UD
463762011-11-12 Ulrich Drepper <drepper@gmail.com>
46377
7edb22ef
UD
46378 * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
46379 result of SYSDEP_GETTIME_CPU to retval.
46380 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
46381 parameter list to macro. Remove trailing semicolon. Adjust users.
46382
9694fc44
UD
46383 * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
46384 variable.
46385
8ad89ef8
UD
46386 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
46387 mantissa words.
46388 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
46389
0c822ef9
UD
46390 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
46391 from unused variable.
46392
874e0564
UD
46393 * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
46394 DWARF definitions.
46395 * sysdeps/generic/dwarf2.h: Don't define enums when using the file
46396 for assembling.
46397
3a2edc79
UD
46398 * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
46399 over namespaces.
46400
f3c2577f
UD
46401 * sunrpc/rpc_prot.c (rejected): Fix case value.
46402
294ce126
UD
46403 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
46404 unsigned long long int to avoid warnings in shift.
46405
5e2b63c6
UD
46406 * posix/regex_internal.c (re_string_reconstruct): Actually use result
46407 of use of trans.
46408 * posix/regex_internal.h (re_string_wchar_at): Remove temporary
46409 variable tmp.
46410
e7f4b08e
UD
46411 * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
46412 * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
46413 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
46414
ab26144e
UD
46415 * nis/nis_table.c (nis_list): Use variable of correct type for
46416 result of __follow_path call.
46417
8a6d5255
AZ
464182011-11-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
46419
46420 * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
46421 of math functions ceil, trunc, floor, round, and sqrt, when
46422 avaliable on the platform.
46423 * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
46424 name clash.
46425 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
46426 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
46427 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
46428
aaddc98c
MP
464292011-10-30 Marek Polacek <mpolacek@redhat.com>
46430
46431 * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
46432 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
46433
95b7042b
RM
464342011-11-11 Roland McGrath <roland@hack.frob.com>
46435
46436 * include/unistd.h: Fix __readlink return type.
46437 Reported by Chris Metcalf <cmetcalf@tilera.com>.
46438
57769839
UD
464392011-11-11 Ulrich Drepper <drepper@gmail.com>
46440
46441 * stdlib/ucontext.h: Undo last change for makecontext.
46442
edc5984d
AS
464432011-11-11 Andreas Schwab <schwab@redhat.com>
46444
98591e58
AS
46445 * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
46446
edc5984d
AS
46447 * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
46448 * setjmp/setjmp.h: Mark functions as non-leaf.
46449 * setjmp/bits/setjmp2.h: Likewise.
46450 * stdlib/ucontext.h: Likewise.
46451
77cdc054
AS
464522011-11-10 Andreas Schwab <schwab@redhat.com>
46453
46454 * malloc/arena.c (_int_new_arena): Don't increment narenas.
46455 (reused_arena): Don't check arena limit.
46456 (arena_get2): Atomically check arena limit.
46457
fe72eebd
UD
464582011-11-08 Ulrich Drepper <drepper@gmail.com>
46459
5f078c32
UD
46460 * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
46461 * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
46462
fe72eebd
UD
46463 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
46464 instructions.
46465
ae1bc2fa
AS
464662011-11-07 Andreas Schwab <schwab@redhat.com>
46467
7583a88d
AS
46468 * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
46469 handler when locking.
46470
ae1bc2fa
AS
46471 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
46472 Fix size of allocated buffer.
46473
10fb0bfa
AS
464742011-11-04 Andreas Schwab <schwab@redhat.com>
46475
998832a4
AS
46476 [BZ #10103]
46477 * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
46478 declarations for long double functions.
46479 * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
46480
10fb0bfa
AS
46481 * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
46482
3d7ba52b
AS
464832011-11-03 Andreas Schwab <schwab@redhat.com>
46484
a9ae54a1
AS
46485 * nscd/nscd.c (main): Don't start AVC thread until credentials are
46486 installed.
46487
3d7ba52b
AS
46488 * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
46489 is disabled.
46490
bc8db248
ST
464912011-11-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
46492
46493 * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
46494
45b96dd6
AS
464952011-11-01 Andreas Schwab <schwab@linux-m68k.org>
46496
647776f6
AS
46497 * include/alloca.h (stackinfo_alloca_round): Define.
46498 (extend_alloca): Use it.
46499 [_STACK_GROWS_UP]: Correct check for adjacent allocation.
46500 * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
46501 here.
46502
d91a8b93
AS
46503 * scripts/check-local-headers.sh: Ignore libaudit.h.
46504
45b96dd6
AS
46505 * nscd/Makefile (extra-objs): Make recursively expanded.
46506
432d41ce
UD
465072011-11-01 Ulrich Drepper <drepper@gmail.com>
46508
34372fc6
UD
46509 * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
46510 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
46511
fadb59f8
UD
46512 * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
46513 * posix/tst-rfc3484-2.c: Likewise.
46514 * posix/tst-rfc3484-3.c: Likewise.
46515
78239589
UD
46516 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
46517 process_vm_writev.
46518 * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
46519 process_vm_writev.
46520 * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
46521 process_vm_writev from libc using GLIBC_2.15 version.
46522
432d41ce
UD
46523 * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
46524
02f9c6cf
PP
465252011-10-31 Paul Pluzhnikov <ppluzhnikov@google.com>
46526
46527 * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
46528 stack usage.
46529
3a2c0242
UD
465302011-10-31 Ulrich Drepper <drepper@gmail.com>
46531
f4ec4833
UD
46532 [BZ #13367]
46533 * nss/getent.c (initgroups_keys): Show error message in case no group
46534 names are given.
46535
3a2c0242
UD
46536 * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
46537 * inet/check_pf.c: Provide dummy versions of __free_in6ai and
46538 __bump_nl_timestamp.
46539 * nscd/connections (nscd_init): When host database is served open
46540 netlink socket and request notification about configuration changes.
46541 (main_loop_poll): Track netlink file descriptor and bump timestamp
46542 in case data becomes available.
46543 (main_loop_epoll): Likewise.
46544 * nscd/nscd-client.h (DB_VERSION): Bump to 2.
46545 (database_pers_head): Add extra_data fileds.
46546 Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
46547 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
46548 * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
46549 Adjust caller.
46550 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
46551 in6ai data, call __free_in6ai.
46552 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
46553 Add -DHAVE_NETLINK.
46554 * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite. Cache the
46555 interface information. Reuse previous data if netlink timestamp
46556 is not changed.
46557 (__bump_nl_timestamp): New function.
46558 (__free_in6ai): New function.
46559
636064eb
UD
465602011-10-30 Ulrich Drepper <drepper@gmail.com>
46561
46562 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
46563 close_not_cancel_no_status here.
46564 (__check_pf): Reorganize code a bit to not call close twice if OOM.
46565
9beb2334
UD
465662011-10-29 Ulrich Drepper <drepper@gmail.com>
46567
6ef76f3b
UD
46568 [BZ #13276]
46569 * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
46570 return value.
46571
0ffc4f3e 46572 * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
9beb2334
UD
46573 * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
46574 asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
46575
cb95113e
UD
465762011-07-03 Andreas Jaeger <aj@suse.de>
46577
46578 [BZ #10709]
46579 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
46580 of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
46581 * math/libm-test.inc (sin_test): Add test case.
46582
a1b560ff
UD
465832011-10-29 Ulrich Drepper <drepper@gmail.com>
46584
c9aaface
UD
46585 [BZ #13337]
46586 * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
46587 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
46588
d272e7f1
UD
46589 * elf/chroot_canon.c (chroot_canon): Cleanups.
46590
1bc33071
UD
46591 * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
46592
1760874d
TJ
46593 [BZ #13335]
46594 * elf/chroot_canon.c (chroot_canon): Fix readlink call.
46595 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
46596
51d91b18
UD
46597 * string/test-strchr.c: Make usable for strchrnul testing.
46598 * string/test-strchrnul.c: New file.
46599 * string/Makefile (strop-tests): Add strchrnul.
46600
a1b560ff 46601 * po/it.po: Update from translation team.
b611fb81 46602 * po/es.po: Likewise.
a1b560ff 46603
a5b81e1f
UD
466042011-10-28 Ulrich Drepper <drepper@gmail.com>
46605
fd52bc6d
UD
46606 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
46607 the three constants needed as parameters. Drop the others.
46608 (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
46609 __m128i_strloadu_tolower.
52e4b9eb
UD
46610 Create and initialize variable zero and use it in all the places
46611 where _mm_setzero_si128 was used.
fd52bc6d 46612
a5b81e1f
UD
46613 * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
46614 doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
46615 mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
46616 * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
46617 anymore.
46618 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
46619 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
46620 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
46621 __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
46622 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
46623 __mpranred, __mptan.
46624 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
46625 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
46626 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
46627 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
46628 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
46629 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
46630 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
46631 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
46632 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
46633
b4343346
AS
466342011-10-28 Andreas Schwab <schwab@redhat.com>
46635
0c92d8a8
AS
46636 * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
46637 redefine if SHARED.
46638 * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
46639
b4343346
AS
46640 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
46641 wide char related routines to wcsmbs subdir.
46642
3871f58f
AS
466432011-10-27 Andreas Schwab <schwab@redhat.com>
46644
46645 [BZ #13344]
46646 * misc/sys/cdefs.h (__THROWNL): Define.
46647 * posix/unistd.h: Use __THREADNL instead of __THREAD
46648 for memory synchronization functions.
46649
94d44d9f
RM
466502011-10-26 Roland McGrath <roland@hack.frob.com>
46651
21b64b15 46652 [BZ #13349]
94d44d9f
RM
46653 * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
46654 doesn't exist.
46655 * manual/stdio.texi (Obstack Streams): Node removed.
46656
f6ce9294
AS
466572011-10-26 Andreas Schwab <schwab@redhat.com>
46658
80479147
AS
46659 * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
46660 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
46661 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
46662
f6ce9294
AS
46663 * math/math_private.h (math_force_eval): Allow non-addressable
46664 arguments.
46665 * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
46666
618280a1
UD
466672011-10-25 Ulrich Drepper <drepper@gmail.com>
46668
e0016b11
UD
46669 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
46670 file is not needed.
46671
46672 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
46673 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
46674 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
46675 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
46676 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
46677 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
46678 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
46679 * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
46680 Add AVX variants.
46681 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
46682 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
46683 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
46684 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
46685 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
46686 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
46687 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
46688 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
46689 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
46690 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
46691 * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
46692 * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
46693 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
46694 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
46695 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
46696 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
46697 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
46698 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
46699 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
46700
46701 * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
46702 all the time. Define bit_AVX. Define HAS_* macros using bit_* macros.
46703
618280a1
UD
46704 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
46705 place. Use VEX encoding when compiling for AVX.
46706
37822576
AS
467072011-10-25 Andreas Schwab <schwab@redhat.com>
46708
1f1e1947
AS
46709 * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
46710 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
46711
37822576
AS
46712 * string/test-strchr.c (do_test): Don't generate NUL bytes.
46713
31ea014d
UD
467142011-10-25 Ulrich Drepper <drepper@gmail.com>
46715
d7826aa1 46716 * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
ffb124cc 46717 useless if() expression.
d7826aa1
UD
46718 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
46719 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
46720 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
46721 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
46722 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
46723 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
46724 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
46725 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
46726 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
46727 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
46728 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
46729 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
46730 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
46731 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
46732 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
46733 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
46734 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
46735 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
46736 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
46737
31ea014d
UD
46738 * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
46739
16437fec
AS
467402011-10-25 Andreas Schwab <schwab@redhat.com>
46741
46742 * elf/dl-deps.c (_dl_map_object_deps): Remove always true
46743 condition.
46744 * elf/dl-fini.c (_dl_sort_fini): Likewise.
46745
31d3cc00
UD
467462011-10-25 Ulrich Drepper <drepper@gmail.com>
46747
46748 * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
46749 .text section. Avoid duplicate constants.
46750 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
46751 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
46752 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
46753 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
46754 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
46755 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
46756 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
46757 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
46758 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
46759 * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
46760 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
46761 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
46762 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
46763 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
46764 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
46765 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
46766 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
46767 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
46768 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
46769 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
46770 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
46771 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
46772 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
46773 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
46774 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
46775 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
46776 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
46777 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
46778 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
46779 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
46780 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
46781 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
46782 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
46783 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
46784 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
46785 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
46786 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
46787 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
46788 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
46789 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
46790 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
46791 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
46792 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
46793 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
46794 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
46795
58985aa9
UD
467962011-10-24 Ulrich Drepper <drepper@gmail.com>
46797
202c9deb
UD
46798 * sysdeps/x86_64/dla.h: Move to ...
46799 * sysdeps/x86_64/fpu/dla.h: ...here.
46800 (DLA_FMS): Some compilers fail to inline __builtin_fma in some
46801 situations. Use __builtin_fma only for gcc 4.6 and up.
a0cf1edd 46802
af968f62
UD
46803 * config.make.in: Add have-mfma4 entry.
46804 * configure.in: Substitute libc_cv_cc_fma4.
46805 * math/Makefile (dbl-only-routines): Add sincostab.
46806 * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
46807 Use __sincostab not sincos.
46808 * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
46809 name is a macro.
46810 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
46811 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
46812 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
46813 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise. Define singArctan2
46814 using __copysign.
46815 * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr. Don't define
46816 __cr and __cpymn. Define __cpy unless NO___CPY is defined. Define
46817 norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
46818 * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
46819 and __inv.
46820 * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
46821 * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
46822 __copysign.
46823 * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos. Don't
46824 define aliases when function name is a macro.
46825 * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
46826 sysdeps/ieee754/dbl-64/sincos.tbl.
46827 * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
46828 fma4-enabled routines.
46829 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
46830 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
46831 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
46832 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
46833 * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
46834 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
46835 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
46836 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
46837 * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
46838 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
46839 * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
46840 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
46841 * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
46842 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
46843 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
46844 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
46845 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
46846 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
46847 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
46848 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
46849 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
46850 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
46851 * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
46852 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
46853 * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
46854 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
46855 * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
46856 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
46857 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
46858 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
46859
58985aa9
UD
46860 * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
46861 rename.
46862 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
46863 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
46864 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
46865 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
46866 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
46867 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
46868 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
46869 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
46870
a201fbcf
AS
468712011-10-24 Andreas Schwab <schwab@redhat.com>
46872
46873 * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
46874
fc2ee42a
LD
468752011-10-23 Ulrich Drepper <drepper@gmail.com>
46876
bb3129bd
UD
46877 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
46878
0275fff8
UD
46879 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
46880 prediction.
46881 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
46882
2fa2ae85
UD
46883 * string/strnlen.c: Don't define STRNLEN, reverse logic.
46884 Remove unused variable magic_bits.
46885 * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
46886
fc2ee42a
LD
46887 * string/strnlen.c: Define and use STRNLEN macro.
46888 * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
46889 Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
46890 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
46891 * wcsmbs/wcslen.c: Define and use WCSLEN.
46892 * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
46893 * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
46894 * sysdeps/i386/i686/multiarch/strnlen.S: New file.
46895 * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
46896 * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
46897 * sysdeps/i386/i686/multiarch/wcslen.S: New file.
46898 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
46899
ce7dd29f
LD
469002011-10-20 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
46901
46902 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
46903 strnlen-sse2-no-bsf.
46904 Rename strlen-no-bsf to strlen-sse2-no-bsf.
46905 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
46906 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
46907 Add strnlen support.
46908 (USE_AS_STRNLEN): New macro.
46909 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
46910 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
46911 Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
46912 * sysdeps/x86_64/wcslen.S: New file.
46913
979c70a3
MZ
469142011-10-20 Michael Zolotukhin <michael.v.zolotukhin@gmail.com>
46915
46916 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
46917 XMM-moves are used for copying on small sizes.
46918
2d09f82f
LD
469192011-10-19 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
46920
46921 * wcsmbs/Makefile (strop-tests): Add wcschr.
46922 * wcsmbs/test-wcschr.c: New file.
46923 * string/test-strchr.c: Update.
46924 Add wcschr support.
46925 (WIDE): New macro.
46926
619fccca
LD
469272011-10-18 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
46928
2d09f82f 46929 * wcsmbs/Makefile (strop-tests): Add wcslen.
619fccca
LD
46930 * wcsmbs/test-wcslen.c: New file.
46931 * string/test-strlen.c: Update.
46932 Add wcslen support.
46933 (WIDE): New macro.
46934
09f699ea
UD
469352011-10-23 Ulrich Drepper <drepper@gmail.com>
46936
46937 * po/it.po: Update from translation team.
46938
95584d3b
LD
469392011-09-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
46940
46941 * sysdeps/x86_64/wcscmp.S: Update.
46942 Fix wrong comparison semantics.
46943 wcscmp shall use signed comparison not unsigned.
46944 Don't use substraction to avoid overflow bug.
46945 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
46946 * wcsmbc/wcscmp.c: Likewise.
46947 * string/test-strcmp.c: Likewise.
46948 Add new tests to check cases with negative values.
46949
c8b3296b
UD
469502011-10-23 Ulrich Drepper <drepper@gmail.com>
46951
46952 * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
46953 * sysdeps/x86_64/dla.h: ...here. New file.
46954 * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
46955 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
46956 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
46957 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
46958 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
46959 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
46960 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
46961 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
46962 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
46963
246ad57a
AS
469642011-10-23 Andreas Schwab <schwab@linux-m68k.org>
46965
46966 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
46967 __ynl_finite aliases.
46968
a1a87169
UD
469692011-10-22 Ulrich Drepper <drepper@gmail.com>
46970
0d355eb7
UD
46971 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
46972
a1a87169
UD
46973 * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
46974 define DLA_FMA.
46975 [DLA_FMA] (EMULV): Use DLA_FMA.
46976 [DLA_FMA] (MUL12): Use EMULV.
46977 * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
46978 that are not needed.
46979 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
46980 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
46981 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
46982 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
46983 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
46984 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
46985 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
46986
ee2aafe0
AS
469872011-10-22 Andreas Schwab <schwab@linux-m68k.org>
46988
46989 * math/s_nan.c: Undef __nan.
46990 * math/s_nanf.c: Undef __nanf.
46991 * math/s_nanl.c: Undef __nanl.
46992 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
46993 "math_private.h".
46994
bc62c2fb
UD
469952011-10-22 Ulrich Drepper <drepper@gmail.com>
46996
77425c63
UD
46997 * math/s_catan.c: Add branch predictions.
46998 * math/s_catanf.c: Likewise.
46999 * math/s_catanh.c: Likewise.
47000 * math/s_catanhf.c: Likewise.
47001 * math/s_catanhl.c: Likewise.
47002 * math/s_catanl.c: Likewise.
47003 * math/s_cexp.c: Likewise.
47004 * math/s_cexpf.c: Likewise.
47005 * math/s_cexpl.c: Likewise.
47006 * math/s_clog.c: Likewise.
47007 * math/s_clog10.c: Likewise.
47008 * math/s_clog10f.c: Likewise.
47009 * math/s_clog10l.c: Likewise.
47010 * math/s_clogf.c: Likewise.
47011 * math/s_clogl.c: Likewise.
47012 * math/s_csqrt.c: Likewise.
47013 * math/s_csqrtf.c: Likewise.
47014 * math/s_csqrtl.c: Likewise.
47015 * math/s_ctanf.c: Likewise.
47016 * math/s_ctanh.c: Likewise.
47017 * math/s_ctanhf.c: Likewise.
47018 * math/s_ctanhl.c: Likewise.
47019 * math/s_ctanl.c: Likewise.
47020
bc62c2fb
UD
47021 * math/math_private.h: Define __nan, __nanf, __nanl.
47022 * math/s_cacosh.c: Include <math_private.h>.
47023 * math/s_cacoshl.c: Likewise.
47024 * math/s_casinh.c: Likewise.
47025 * math/s_casinhf.c: Likewise.
47026 * math/s_casinhl.c: Likewise.
47027 * math/s_ccos.c: Rely entire on ccosh.
47028 * math/s_ccosf.c: Rely entire on ccoshf.
47029 * math/s_ccosl.c: Rely entirely on ccoshl.
47030 * math/s_ccosh.c: Add branch predicion helpers. Add branch prediction.
47031 Remove tests for FE_INVALID.
47032 * math/s_ccoshf.c: Likewise.
47033 * math/s_ccoshl.c: Likewise.
47034 * math/s_csin.c: Likewise.
47035 * math/s_csinf.c: Likewise.
47036 * math/s_csinh.c Likewise.
47037 * math/s_csinhf.c: Likewise.
47038 * math/s_csinhl.c: Likewise.
47039 * math/s_csinl.c: Likewise.
47040 * math/s_ctan.c: Likewise.
47041 * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
47042 * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
47043 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
47044
8ec250a4
UD
470452011-10-21 Ulrich Drepper <drepper@gmail.com>
47046
c196fed8
UD
47047 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
47048 compilation problems.
47049
8ec250a4
UD
47050 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
47051 __builtin_expect.
47052
8d4f46c6
UD
470532011-10-20 Ulrich Drepper <drepper@gmail.com>
47054
ed72b654
UD
47055 * sysdeps/i386/configure.in: Test for -mfma4 option.
47056 * config.h.in: Add HAVE_FMA4_SUPPORT entry.
47057 * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
47058 COMMON_CPUID_INDEX_80000001.
47059 * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
47060 * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
47061 use it if FMA3 is not supported.
47062 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
47063
8d4f46c6
UD
47064 * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
47065 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
47066
d45c60c2
AS
470672011-10-20 Andreas Schwab <schwab@redhat.com>
47068
47069 [BZ #12892]
47070 * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
47071 it would create a cycle with a link time dependency.
47072
d9a4d2ab
UD
470732011-10-19 Ulrich Drepper <drepper@gmail.com>
47074
855d1560
UD
47075 * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
47076 instruction.
47077 * string/Makefile (strop-tests): Add rawmemchr.
47078 * string/test-rawmemchr.c: New file.
47079
d9a4d2ab
UD
47080 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
47081 * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file. Split out from...
47082 * sysdeps/x86_64/multiarch/strcmp.S: ...here. Include strcmp-sse42.S
47083 when compiling str{,n}casecmp and when AVX is available. Hook up
47084 new optimized code in initializers.
47085
8f3b1ffe
AS
470862011-10-19 Andreas Schwab <schwab@redhat.com>
47087
47088 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
47089 __feraiseexcept instead of feraiseexcept.
47090
d38f1dba
UD
470912011-10-18 Ulrich Drepper <drepper@gmail.com>
47092
d9a8d0ab
UD
47093 * math/math_private.h: Define defaults for libc_fetestexcept and
47094 libc_feupdateenv.
47095 * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
47096 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
47097 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
47098 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
47099 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
47100 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
47101 libc_fetestexcept and libc_feupdateenv.
47102
4855e3dd
UD
47103 * math/math_private.h: Define defaults for libc_feholdexcept_setround,
47104 libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
47105 * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
47106 * sysdeps/x86_64/fpu/math_private.h: Define special version of
47107 libc_feholdexcept_setround.
47108
581d30e3
UD
47109 * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
47110 Add s_nearbyint-c and s_nearbyintf-c.
47111 * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
47112 nearbyintf inlines.
47113 * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
47114 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
47115 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
47116 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
47117
d38f1dba
UD
47118 * math/math_private.h: Define defaults for libc_fegetround,
47119 libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
47120 libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
47121 libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
47122 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
47123 libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
47124 standard functions.
47125 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
47126 Remove comments and hacks for old compiler versions.
47127 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
47128 libc_fegetround, libc_fesetround, libc_feholdexcept, and
47129 libc_feholdexceptl.
47130
caa6c9d8
AS
471312011-10-18 Andreas Schwab <schwab@redhat.com>
47132
47133 * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
83c7615c
AS
47134 (__feraiseexcept_renamed): Add __NTH.
47135 (feraiseexcept): Add __NTH. Rename local variables to fix
caa6c9d8
AS
47136 namespace violations.
47137
97c066e6
UD
471382011-10-17 Ulrich Drepper <drepper@gmail.com>
47139
99ce7b04
UD
47140 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
47141
1004d182
UD
47142 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
47143
228a984d
UD
47144 * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
47145 recently added interfaces.
47146 * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
47147
c8553a6a
UD
47148 * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
47149 about macro parameter expansion.
47150
ed22dcf6
UD
47151 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
47152 __NO_MATH_INLINES is defined. Cleanups.
47153
47154 * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
47155 and __floorf is target has SSE4.1.
47156 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
47157 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
47158 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
47159 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
47160
b171c137
UD
47161 * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
47162 name.
47163 (floorf): Likewise.
47164
97c066e6
UD
47165 * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
47166
629f62ef
AS
471672011-10-17 Andreas Schwab <schwab@redhat.com>
47168
49a43d80
AS
47169 * misc/sys/cdefs.h: Fix last change.
47170
629f62ef
AS
47171 * grp/initgroups.c (internal_getgrouplist): Fix initgroups
47172 database lookup.
47173
e453f6cd
UD
471742011-10-16 Ulrich Drepper <drepper@gmail.com>
47175
aa78043a
UD
47176 * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
47177
ad0f5cad
UD
47178 * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
47179 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
47180 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
47181 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
47182 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
47183 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
47184 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
47185 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
47186 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
47187 * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
47188 * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
47189 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
47190 * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
47191 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
47192 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
47193 * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
47194 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
47195 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
47196 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
47197 * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
47198 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
47199 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
47200
47201 * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
47202 ceil, ceilf, floor, floorf.
47203
47204 * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
47205 Perform IRELATIVE relocations last.
47206
e453f6cd
UD
47207 * elf/do-rel.h: Add another parameter nrelative, replacing the
47208 local variable with the same name. Change name of the function
47209 to end in Rel or Rela (uppercase).
47210 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
47211 nrelative to ranges. Only nonzero for DT_REL/DT_RELA. Pass to the
47212 elf_dynamic_do_##reloc function.
47213
fd5bdc09
UD
472142011-10-15 Ulrich Drepper <drepper@gmail.com>
47215
79b195b5
UD
47216 * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
47217 is sufficient, at least on modern CPUs.
47218
d4a28569
UD
47219 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
47220
b61099b5
UD
47221 * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
47222 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
47223
bcf01e6d
UD
47224 * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
47225 __expl_finite.
47226 * math/bits/math-finite.h: Add entries for exp.
47227 * math/e_expl.c: Add __*_finite alias.
47228 * sysdeps/i386/fpu/e_exp.S: Likewise.
47229 * sysdeps/i386/fpu/e_expf.S: Likewise.
47230 * sysdeps/i386/fpu/e_expl.c: Likewise.
47231 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
47232 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
47233 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
47234 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
47235 * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
47236 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
47237 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
47238
ba1a0d59
UD
47239 * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
47240 is sufficient, at least on modern CPUs.
47241
fd5bdc09
UD
47242 * ctype/ctype-info.c (__ctype_init): Define.
47243 * include/ctype.h (__ctype_init): Declare.
47244 (__ctype_b_loc): The variable is always initialized.
47245 (__ctype_toupper_loc): Likewise.
47246 (__ctype_tolower_loc): Likewise.
47247 * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
47248 * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
47249
7872cfb0
AS
472502011-10-15 Andreas Schwab <schwab@linux-m68k.org>
47251
b468825a
AS
47252 * wcsmbs/wmemcmp.c (WMEMCMP): Define.
47253
7872cfb0
AS
47254 * configure.in: Also look in $cxxmachine/include for C++ system
47255 headers.
47256
be13f7bf
LD
472572011-09-27 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
47258
47259 * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
47260 memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
47261 * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
47262 * sysdeps/x86_64/multiarch/memcmp.S: Update. Add __memcmp_ssse3.
47263 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
47264 (USE_AS_WMEMCMP): New macro.
47265 Fixing indents.
47266 * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
47267 * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
47268 * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
47269 * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
47270 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
47271 wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
47272 * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
47273 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
47274 * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
47275 * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
47276 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
47277 (USE_AS_WMEMCMP): New macro.
47278 * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
47279 * sysdeps/string/test-memcmp.c: Update.
47280 Fix simple_wmemcmp.
47281 Add new tests.
47282 * wcsmbs/wmemcmp.c: Update.
47283 (WMEMCMP): New macro.
47284 Fix overflow bug.
47285
556a2007
AJ
472862011-10-12 Andreas Jaeger <aj@suse.de>
47287
47288 [BZ #13268]
47289 * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
47290
538faaa7
UD
472912011-10-15 Ulrich Drepper <drepper@gmail.com>
47292
ab6737ff
UD
47293 * libio/iofwide.c (do_length): Avoid warning.
47294
538faaa7
UD
47295 * ctype/ctype.h (__isctype_f): Add missing __THROW.
47296
396a21b1
UD
472972011-10-14 Ulrich Drepper <drepper@gmail.com>
47298
cdf2901f
UD
47299 * elf/pldd-xx.c (find_maps): Remove leftover debug message.
47300
38ad40ce
UD
47301 * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
47302 * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
47303 * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
47304 * sysdeps/i386/i686/fpu/e_log.S: New file.
47305 * sysdeps/i386/i686/fpu/e_logf.S: New file.
47306 * sysdeps/i386/i686/fpu/e_logl.S: New file.
47307
396a21b1
UD
47308 * ctype/ctype.h: Add support for inlined isXXX functions when
47309 compiling C++ code.
47310
6b1f68c9
AS
473112011-10-14 Andreas Schwab <schwab@redhat.com>
47312
349290c0
AS
47313 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
47314
6b1f68c9
AS
47315 * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
47316
f2282d42
RM
473172011-10-13 Roland McGrath <roland@hack.frob.com>
47318
47319 [BZ #13291]
47320 * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
47321
5298ffa8
AS
473222011-10-13 Andreas Schwab <schwab@redhat.com>
47323
714fad23
AS
47324 * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
47325 * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
47326 feraiseexcept.
47327
81dcc7fb
AS
47328 * sysdeps/x86_64/memrchr.S: Check for zero size.
47329
5298ffa8
AS
47330 * string/stratcliff.c: Add memrchr tests.
47331
951fbcec
LD
473322011-10-12 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
47333
47334 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
47335 memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
47336 rawmemchr-sse2 rawmemchr-sse2-bsf.
47337 * sysdeps/i386/i686/multiarch/memchr.S: New file.
47338 * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
47339 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
47340 * sysdeps/i386/i686/multiarch/memrchr.S: New file.
47341 * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
47342 * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
47343 * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
47344 * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
47345 * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
47346 * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
47347 * string/memrchr.c (MEMRCHR): New macro.
47348
0ac5ae23
UD
473492011-10-12 Ulrich Drepper <drepper@gmail.com>
47350
47351 Add integration with gcc's -ffinite-math-only and optimize wrapper
47352 functions in libm.
47353 * Versions.def: Define GLIBC_2.15 version for libm.
47354 * math/Makefile (headers): Add bits/math-finite.h.
47355 * math/bits/math-finite.h: New file.
47356 * sysdeps/ia64/fpu/bits/math-finite.h: New file.
47357 * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
47358 * math/e_acoshl.c: Add __*_finite alias.
47359 * math/e_acosl.c: Likewise.
47360 * math/e_asinl.c: Likewise.
47361 * math/e_atan2l.c: Likewise.
47362 * math/e_atanhl.c: Likewise.
47363 * math/e_coshl.c: Likewise.
47364 * math/e_exp10.c: Likewise.
47365 * math/e_exp10f.c: Likewise.
47366 * math/e_exp10l.c: Likewise.
47367 * math/e_exp2l.c: Likewise.
47368 * math/e_fmodl.c: Likewise.
47369 * math/e_gammal_r.c: Likewise.
47370 * math/e_hypotl.c: Likewise.
47371 * math/e_j0l.c: Likewise.
47372 * math/e_j1l.c: Likewise.
47373 * math/e_jnl.c: Likewise.
47374 * math/e_lgammal_r.c: Likewise.
47375 * math/e_log10l.c: Likewise.
47376 * math/e_log2l.c: Likewise.
47377 * math/e_logl.c: Likewise.
47378 * math/e_powl.c: Likewise.
47379 * math/e_sinhl.c: Likewise.
47380 * math/e_sqrtl.c: Likewise.
47381 * math/e_scalb.c: Completely rewritten and optimized.
47382 * math/e_scalbf.c: Likewise.
47383 * math/e_scalbl.c: Likewise.
47384 * math/w_acos.c: Likewise.
47385 * math/w_acosf.c: Likewise.
47386 * math/w_acosl.c: Likewise.
47387 * math/w_acosh.c: Likewise.
47388 * math/w_acoshf.c: Likewise.
47389 * math/w_acoshl.c: Likewise.
47390 * math/w_asin.c: Likewise.
47391 * math/w_asinf.c: Likewise.
47392 * math/w_asinl.c: Likewise.
47393 * math/w_atan2.c: Likewise.
47394 * math/w_atan2f.c: Likewise.
47395 * math/w_atan2l.c: Likewise.
47396 * math/w_atanh.c: Likewise.
47397 * math/w_atanhf.c: Likewise.
47398 * math/w_atanhl.c: Likewise.
47399 * math/w_exp10.c: Likewise.
47400 * math/w_exp10f.c: Likewise.
47401 * math/w_exp10l.c: Likewise.
47402 * math/w_fmod.c: Likewise.
47403 * math/w_fmodf.c: Likewise.
47404 * math/w_fmodl.c: Likewise.
47405 * math/w_j0.c: Likewise.
47406 * math/w_j0f.c: Likewise.
47407 * math/w_j0l.c: Likewise.
47408 * math/w_j1.c: Likewise.
47409 * math/w_j1f.c: Likewise.
47410 * math/w_j1l.c: Likewise.
47411 * math/w_jn.c: Likewise.
47412 * math/w_jnf.c: Likewise.
47413 * math/w_log.c: Likewise.
47414 * math/w_logf.c: Likewise.
47415 * math/w_logl.c: Likewise.
47416 * math/w_log10.c: Likewise.
47417 * math/w_log10f.c: Likewise.
47418 * math/w_log10l.c: Likewise.
47419 * math/w_log2.c: Likewise.
47420 * math/w_log2f.c: Likewise.
47421 * math/w_log2l.c: Likewise.
47422 * math/w_pow.c: Likewise.
47423 * math/w_powf.c: Likewise.
47424 * math/w_powl.c: Likewise.
47425 * math/w_remainder.c: Likewise.
47426 * math/w_remainderf.c: Likewise.
47427 * math/w_remainderl.c: Likewise.
47428 * math/w_scalb.c: Likewise.
47429 * math/w_scalbf.c: Likewise.
47430 * math/w_scalbl.c: Likewise.
47431 * math/w_sqrt.c: Likewise.
47432 * math/w_sqrtf.c: Likewise.
47433 * math/w_sqrtl.c: Likewise.
47434 * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
47435 are declared. Include <bits/math-finite.h> if -ffinite-math-only is
47436 used.
47437 * math/math_private.h: Declare __kernel_standard_f.
47438 * math/w_cosh.c: Remove cruft and optimize a bit.
47439 * math/w_coshf.c: Likewise.
47440 * math/w_coshl.c: Likewise.
47441 * math/w_exp2.c: Likewise.
47442 * math/w_exp2f.c: Likewise.
47443 * math/w_exp2l.c: Likewise.
47444 * math/w_hypot.c: Likewise.
47445 * math/w_hypotf.c: Likewise.
47446 * math/w_hypotl.c: Likewise.
47447 * math/w_lgamma.c: Likewise.
47448 * math/w_lgamma_r.c: Likewise.
47449 * math/w_lgammaf.c: Likewise.
47450 * math/w_lgammaf_r.c: Likewise.
47451 * math/w_lgammal.c: Likewise.
47452 * math/w_lgammal_r.c: Likewise.
47453 * math/w_sinh.c: Likewise.
47454 * math/w_sinhf.c: Likewise.
47455 * math/w_sinhl.c: Likewise.
47456 * math/w_tgamma.c: Likewise.
47457 * math/w_tgammaf.c: Likewise.
47458 * math/w_tgammal.c: Likewise.
47459 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
47460 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
47461 * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
47462 Minor optimizations. Pretty printing. Remove cruft.
47463 * sysdeps/i386/fpu/e_acosf.S: Likewise.
47464 * sysdeps/i386/fpu/e_acosh.S: Likewise.
47465 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
47466 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
47467 * sysdeps/i386/fpu/e_acosl.c: Likewise.
47468 * sysdeps/i386/fpu/e_asin.S: Likewise.
47469 * sysdeps/i386/fpu/e_asinf.S: Likewise.
47470 * sysdeps/i386/fpu/e_atan2.S: Likewise.
47471 * sysdeps/i386/fpu/e_atan2f.S: Likewise.
47472 * sysdeps/i386/fpu/e_atan2l.c: Likewise.
47473 * sysdeps/i386/fpu/e_atanh.S: Likewise.
47474 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
47475 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
47476 * sysdeps/i386/fpu/e_exp10.S: Likewise.
47477 * sysdeps/i386/fpu/e_exp10f.S: Likewise.
47478 * sysdeps/i386/fpu/e_exp10l.S: Likewise.
47479 * sysdeps/i386/fpu/e_exp2.S: Likewise.
47480 * sysdeps/i386/fpu/e_exp2f.S: Likewise.
47481 * sysdeps/i386/fpu/e_exp2l.S: Likewise.
47482 * sysdeps/i386/fpu/e_fmod.S: Likewise.
47483 * sysdeps/i386/fpu/e_fmodf.S: Likewise.
47484 * sysdeps/i386/fpu/e_fmodl.c: Likewise.
47485 * sysdeps/i386/fpu/e_hypot.S: Likewise.
47486 * sysdeps/i386/fpu/e_hypotf.S: Likewise.
47487 * sysdeps/i386/fpu/e_log.S: Likewise.
47488 * sysdeps/i386/fpu/e_log10.S: Likewise.
47489 * sysdeps/i386/fpu/e_log10f.S: Likewise.
47490 * sysdeps/i386/fpu/e_log10l.S: Likewise.
47491 * sysdeps/i386/fpu/e_log2.S: Likewise.
47492 * sysdeps/i386/fpu/e_log2f.S: Likewise.
47493 * sysdeps/i386/fpu/e_log2l.S: Likewise.
47494 * sysdeps/i386/fpu/e_logf.S: Likewise.
47495 * sysdeps/i386/fpu/e_logl.S: Likewise.
47496 * sysdeps/i386/fpu/e_pow.S: Likewise.
47497 * sysdeps/i386/fpu/e_powf.S: Likewise.
47498 * sysdeps/i386/fpu/e_powl.S: Likewise.
47499 * sysdeps/i386/fpu/e_remainder.S: Likewise.
47500 * sysdeps/i386/fpu/e_remainderf.S: Likewise.
47501 * sysdeps/i386/fpu/e_remainderl.S: Likewise.
47502 * sysdeps/i386/fpu/e_scalb.S: Likewise.
47503 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
47504 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
47505 * sysdeps/i386/fpu/e_sqrt.S: Likewise.
47506 * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
47507 * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
47508 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
47509 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
47510 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
47511 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
47512 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
47513 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
47514 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
47515 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
47516 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
47517 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
47518 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
47519 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
47520 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
47521 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
47522 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
47523 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
47524 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
47525 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
47526 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
47527 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
47528 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
47529 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
47530 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
47531 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
47532 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
47533 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
47534 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
47535 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
47536 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
47537 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
47538 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
47539 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
47540 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
47541 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
47542 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
47543 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
47544 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
47545 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
47546 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
47547 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
47548 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
47549 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
47550 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
47551 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
47552 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
47553 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
47554 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
47555 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
47556 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
47557 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
47558 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
47559 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
47560 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
47561 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
47562 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
47563 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
47564 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
47565 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
47566 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
47567 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
47568 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
47569 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
47570 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
47571 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
47572 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
47573 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
47574 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
47575 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
47576 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
47577 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
47578 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
47579 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
47580 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
47581 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
47582 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
47583 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
47584 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
47585 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
47586 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
47587 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
47588 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
47589 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
47590 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
47591 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
47592 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
47593 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
47594 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
47595 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
47596 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
47597 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
47598 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
47599 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
47600 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
47601 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
47602 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
47603 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
47604 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
47605 * sysdeps/s390/fpu/e_sqrt.c: Likewise.
47606 * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
47607 * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
47608 * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
47609 * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
47610 * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
47611 * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
47612 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
47613 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
47614 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
47615 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
47616 * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
47617 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
47618 * sysdeps/x86_64/fpu/e_sqrt.c: Likewise. Fix parameter order
47619 * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
47620 * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
47621 (__isnanf): Likewise.
47622 (__isinf_ns): Likewise.
47623 (__isinf_nsf): Likewise.
47624 (__finite): Likewise.
47625 (__finitef): Likewise.
47626 (__ieee754_sqrt): Define as macro.
47627 (__ieee754_sqrtf): Define as macro.
47628 (__ieee754_sqrtl): Define as macro.
47629 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
47630 inlined copy.
47631 * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
47632 __FINITE_MATH_ONLY__ consistent.
47633 * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
47634
12cc2fcd
AS
476352011-10-10 Andreas Schwab <schwab@linux-m68k.org>
47636
a843a204
AS
47637 * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
47638 of rawmemchr.
47639
12cc2fcd
AS
47640 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
47641
c853acd5
UD
476422011-10-09 Ulrich Drepper <drepper@gmail.com>
47643
47644 * po/ja.po: Update from translation team.
47645
c658d255
RM
476462011-10-08 Roland McGrath <roland@hack.frob.com>
47647
110946e4
RM
47648 * locale/programs/locarchive.c (prepare_address_space): New function.
47649 (create_archive, enlarge_archive, open_archive): Use it.
47650
50604220
RM
47651 * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
47652 inside [SHARED], where it is used.
47653
c658d255
RM
47654 * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
47655
47656 * nss/getent.c (netgroup_keys): Remove unused variable.
47657 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
47658
6a621eb7
UD
476592011-10-08 Ulrich Drepper <drepper@gmail.com>
47660
7edb55ce
UD
47661 * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
47662 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
47663 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
47664 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
47665 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
47666 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
47667 * math/Makefile (libm-calls): Add s_isinf_ns.
47668 * math/divtc3.c: Use __isinf_nsl instead of isinf.
47669 * math/multc3.c: Likewise.
47670 * math/s_casin.c: Likewise.
47671 * math/s_casinf.c: Likewise.
47672 * math/s_casinl.c: Likewise.
47673 * math/s_ccos.c: Likewise.
47674 * math/s_ccosf.c: Likewise.
47675 * math/s_ccosl.c: Likewise.
47676 * math/s_ctan.c: Likewise.
47677 * math/s_ctanf.c: Likewise.
47678 * math/s_ctanh.c: Likewise.
47679 * math/s_ctanhf.c: Likewise.
47680 * math/s_ctanhl.c: Likewise.
47681 * math/s_ctanl.c: Likewise.
47682 * math/w_fmod.c: Likewise.
47683 * math/w_fmodf.c: Likewise.
47684 * math/w_fmodl.c: Likewise.
47685 * math/w_remainder.c: Likewise.
47686 * math/w_remainderf.c: Likewise.
47687 * math/w_remainderl.c: Likewise.
47688 * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
47689 * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
47690 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
47691 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
47692 * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
47693 * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
47694 * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
47695 __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
47696
187da0ae
UD
47697 * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
47698 of the number.
47699 * stdio-common/printf_fphex.c: Likewise.
47700 * stdio-common/printf_size.c: Likewise.
47701
9277c064
UD
47702 * math/e_exp10.c: Include math_private.h using <...> not "...".
47703 * math/e_exp10f.c: Likewise.
47704 * math/e_exp10l.c: Likewise.
47705 * math/e_exp2l.c: Likewise.
47706 * math/e_j0l.c: Likewise.
47707 * math/e_j1l.c: Likewise.
47708 * math/e_jnl.c: Likewise.
47709 * math/e_lgammal_r.c: Likewise.
47710 * math/e_rem_pio2l.c: Likewise.
47711 * math/e_scalb.c: Likewise.
47712 * math/e_scalbf.c: Likewise.
47713 * math/e_scalbl.c: Likewise.
47714 * math/k_cosl.c: Likewise.
47715 * math/k_sinl.c: Likewise.
47716 * math/k_tanl.c: Likewise.
47717 * math/s_cacoshf.c: Likewise.
47718 * math/s_catan.c: Likewise.
47719 * math/s_catanf.c: Likewise.
47720 * math/s_catanh.c: Likewise.
47721 * math/s_catanhf.c: Likewise.
47722 * math/s_catanhl.c: Likewise.
47723 * math/s_catanl.c: Likewise.
47724 * math/s_ccosh.c: Likewise.
47725 * math/s_ccoshf.c: Likewise.
47726 * math/s_ccoshl.c: Likewise.
47727 * math/s_cexp.c: Likewise.
47728 * math/s_cexpf.c: Likewise.
47729 * math/s_cexpl.c: Likewise.
47730 * math/s_clog.c: Likewise.
47731 * math/s_clog10.c: Likewise.
47732 * math/s_clog10f.c: Likewise.
47733 * math/s_clog10l.c: Likewise.
47734 * math/s_clogf.c: Likewise.
47735 * math/s_clogl.c: Likewise.
47736 * math/s_csin.c: Likewise.
47737 * math/s_csinf.c: Likewise.
47738 * math/s_csinh.c: Likewise.
47739 * math/s_csinhf.c: Likewise.
47740 * math/s_csinhl.c: Likewise.
47741 * math/s_csinl.c: Likewise.
47742 * math/s_csqrt.c: Likewise.
47743 * math/s_csqrtf.c: Likewise.
47744 * math/s_csqrtl.c: Likewise.
47745 * math/s_ctan.c: Likewise.
47746 * math/s_ctanf.c: Likewise.
47747 * math/s_ctanh.c: Likewise.
47748 * math/s_ctanhf.c: Likewise.
47749 * math/s_ctanhl.c: Likewise.
47750 * math/s_ctanl.c: Likewise.
47751 * math/s_ldexp.c: Likewise.
47752 * math/s_ldexpf.c: Likewise.
47753 * math/s_ldexpl.c: Likewise.
47754 * math/s_significand.c: Likewise.
47755 * math/s_significandf.c: Likewise.
47756 * math/s_significandl.c: Likewise.
47757 * math/w_acos.c: Likewise.
47758 * math/w_acosf.c: Likewise.
47759 * math/w_acosh.c: Likewise.
47760 * math/w_acoshf.c: Likewise.
47761 * math/w_acoshl.c: Likewise.
47762 * math/w_acosl.c: Likewise.
47763 * math/w_asin.c: Likewise.
47764 * math/w_asinf.c: Likewise.
47765 * math/w_asinl.c: Likewise.
47766 * math/w_atan2.c: Likewise.
47767 * math/w_atan2f.c: Likewise.
47768 * math/w_atan2l.c: Likewise.
47769 * math/w_atanh.c: Likewise.
47770 * math/w_atanhf.c: Likewise.
47771 * math/w_atanhl.c: Likewise.
47772 * math/w_cosh.c: Likewise.
47773 * math/w_coshf.c: Likewise.
47774 * math/w_coshl.c: Likewise.
47775 * math/w_dremf.c: Likewise.
47776 * math/w_exp10.c: Likewise.
47777 * math/w_exp10f.c: Likewise.
47778 * math/w_exp10l.c: Likewise.
47779 * math/w_exp2.c: Likewise.
47780 * math/w_exp2f.c: Likewise.
47781 * math/w_fmod.c: Likewise.
47782 * math/w_fmodf.c: Likewise.
47783 * math/w_fmodl.c: Likewise.
47784 * math/w_hypot.c: Likewise.
47785 * math/w_hypotf.c: Likewise.
47786 * math/w_hypotl.c: Likewise.
47787 * math/w_j0.c: Likewise.
47788 * math/w_j0f.c: Likewise.
47789 * math/w_j0l.c: Likewise.
47790 * math/w_j1.c: Likewise.
47791 * math/w_j1f.c: Likewise.
47792 * math/w_j1l.c: Likewise.
47793 * math/w_jn.c: Likewise.
47794 * math/w_jnf.c: Likewise.
47795 * math/w_jnl.c: Likewise.
47796 * math/w_lgamma.c: Likewise.
47797 * math/w_lgamma_r.c: Likewise.
47798 * math/w_lgammaf.c: Likewise.
47799 * math/w_lgammaf_r.c: Likewise.
47800 * math/w_lgammal.c: Likewise.
47801 * math/w_lgammal_r.c: Likewise.
47802 * math/w_log.c: Likewise.
47803 * math/w_log10.c: Likewise.
47804 * math/w_log10f.c: Likewise.
47805 * math/w_log10l.c: Likewise.
47806 * math/w_log2.c: Likewise.
47807 * math/w_log2f.c: Likewise.
47808 * math/w_log2l.c: Likewise.
47809 * math/w_logf.c: Likewise.
47810 * math/w_logl.c: Likewise.
47811 * math/w_pow.c: Likewise.
47812 * math/w_powf.c: Likewise.
47813 * math/w_powl.c: Likewise.
47814 * math/w_remainder.c: Likewise.
47815 * math/w_remainderf.c: Likewise.
47816 * math/w_remainderl.c: Likewise.
47817 * math/w_scalb.c: Likewise.
47818 * math/w_scalbf.c: Likewise.
47819 * math/w_scalbl.c: Likewise.
47820 * math/w_sinh.c: Likewise.
47821 * math/w_sinhf.c: Likewise.
47822 * math/w_sinhl.c: Likewise.
47823 * math/w_sqrt.c: Likewise.
47824 * math/w_sqrtf.c: Likewise.
47825 * math/w_sqrtl.c: Likewise.
47826 * math/w_tgamma.c: Likewise.
47827 * math/w_tgammaf.c: Likewise.
47828 * math/w_tgammal.c: Likewise.
47829
6a621eb7
UD
47830 * po/ja.po: Update from translation team.
47831
bf582445
AJ
478322011-09-29 Andreas Jaeger <aj@suse.de>
47833
f9efbf3a
AJ
47834 [BZ #13179]
47835 * sunrpc/netname.c (netname2host): Fix logic.
47836
bf582445
AJ
47837 [BZ #6779]
47838 [BZ #6783]
47839 * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
47840 correctly.
47841 * math/w_remainder.c (__remainder): Likewise.
47842 * math/w_remainderf.c (__remainderf): Likewise.
47843 * math/libm-test.inc (remainder_test): Add test cases.
47844
48693bea
AK
478452011-10-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
47846
47847 * stdlib/longlong.h: Update from GCC. Fix zarch smul_ppmm and
47848 sdiv_qrnnd.
47849
42622229
LD
478502011-10-07 Ulrich Drepper <drepper@gmail.com>
47851
47852 * string/test-memcmp.c: Avoid unncessary #defines.
47853 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
47854
093ecf92
LD
478552011-08-31 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
47856
47857 * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
47858 Use new sse2 version for core i3 - i7 as it's faster
47859 than sse42 version.
47860 (bit_Prefer_PMINUB_for_stringop): New.
47861 * sysdeps/x86_64/rawmemchr.S: Update.
47862 Replace with faster SSE2 version.
47863 * sysdeps/x86_64/memrchr.S: New file.
47864 * sysdeps/x86_64/memchr.S: Update.
47865 Replace with faster SSE2 version.
47866
fde56e5c
MP
478672011-09-12 Marek Polacek <mpolacek@redhat.com>
47868
47869 * elf/dl-load.c (lose): Add cast to avoid warning.
47870
21fd49a9
UD
478712011-10-07 Ulrich Drepper <drepper@gmail.com>
47872
5a06e643
UD
47873 * po/ca.po: Update from translation team.
47874
684ae515
UD
47875 * inet/getnetgrent_r.c: Hook up nscd.
47876 * nscd/Makefile (routines): Add nscd_netgroup.
47877 (nscd-modules): Add netgroupcache.
47878 (CFLAGS-netgroupcache.c): Define.
47879 * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
47880 (cache_search): Add const to second parameter.
47881 * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
47882 INNETGR.
47883 (dbs): Add netgrdb entry.
47884 (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
47885 (verify_persistent_db): Handle netgrdb.
47886 (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
47887 * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
47888 GETFDNETGR.
47889 (netgroup_response_header): Define.
47890 (innetgroup_response_header): Define.
47891 (datahead): Add netgroup_response_header and innetgroup_response_header
47892 elements.
47893 * nscd/nscd.conf: Add entries for netgroup cache.
47894 * nscd/nscd.h (dbtype): Add netgrdb.
47895 (_PATH_NSCD_NETGROUP_DB): Define.
47896 (netgroup_iov_disabled): Declare.
47897 (xmalloc, xcalloc, xrealloc): Move declarations here.
47898 (cache_search): Adjust prototype.
47899 Add netgroup-related prototypes.
47900 * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
47901 * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
47902 (__nscd_innetgr): Declare.
47903 * nscd/selinux.c (perms): Use access_vector_t as element type and
47904 add netgroup-related initializers.
47905 * nscd/netgroupcache.c: New file.
47906 * nscd/nscd_netgroup.c: New file.
47907 * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
47908 * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
47909 For four parameters use innetgr.
47910 * nss/nss_files/files-init.c: Add definition and callback for netgr.
47911 * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
47912 (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
47913 * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
47914
21fd49a9
UD
47915 * nscd/connections.c (register_traced_file): Don't register file
47916 for disabled databases.
47917
054c0457
UD
479182011-10-06 Ulrich Drepper <drepper@gmail.com>
47919
32b63198
UD
47920 * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
47921
054c0457
UD
47922 * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
47923 from tree and freeing node.
47924
64031225
JO
479252011-09-25 Jiri Olsa <jolsa@redhat.com>
47926
47927 * nss/nsswitch.c (__nss_database_lookup): Handle
47928 nss_parse_service_list out of memory case.
47929
0490345c
JO
479302011-09-15 Jiri Olsa <jolsa@redhat.com>
47931
47932 * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
47933 out of memory case.
47934
3a62d00d
AS
479352011-10-04 Andreas Schwab <schwab@redhat.com>
47936
47937 * include/dlfcn.h (__RTLD_NOIFUNC): Define.
47938 * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
47939 pass it down.
47940 * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
47941 elf_machine_rela, elf_machine_lazy_rel.
47942 (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
47943 (ELF_DYNAMIC_DO_REL): Likewise.
47944 (ELF_DYNAMIC_DO_RELA): Likewise.
47945 (ELF_DYNAMIC_RELOCATE): Likewise.
47946 * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
47947 to ELF_DYNAMIC_DO_REL.
47948 * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
47949 (dl_main): In trace mode always set __RTLD_NOIFUNC.
47950 * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
47951 elf_machine_rela.
47952 * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
47953 skip_ifunc, don't call ifunc function if non-zero.
47954 (elf_machine_rela): Likewise.
47955 (elf_machine_lazy_rel): Likewise.
47956 (elf_machine_lazy_rela): Likewise.
47957 * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
47958 (elf_machine_lazy_rel): Likewise.
47959 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
47960 Likewise.
47961 (elf_machine_lazy_rel): Likewise.
47962 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
47963 Likewise.
47964 (elf_machine_lazy_rel): Likewise.
47965 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
47966 (elf_machine_lazy_rel): Likewise.
47967 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
47968 (elf_machine_lazy_rel): Likewise.
47969 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
47970 (elf_machine_lazy_rel): Likewise.
47971 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
47972 (elf_machine_lazy_rel): Likewise.
47973 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
47974 (elf_machine_lazy_rel): Likewise.
47975 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
47976 (elf_machine_lazy_rel): Likewise.
47977
68577918
UD
479782011-09-28 Ulrich Drepper <drepper@gmail.com>
47979
47980 * nss/nss_files/files-init.c (_nss_files_init): Use static
47981 initialization for all the *_traced_file variables.
47982
68822d74
AS
479832011-09-28 Andreas Schwab <schwab@redhat.com>
47984
47985 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
47986
2056100b
RM
479872011-09-27 Roland McGrath <roland@hack.frob.com>
47988
47989 [BZ #13226]
47990 * manual/signal.texi (Longjmp in Handler): Grammar fixes.
47991
32c76b63
AS
479922011-09-27 Andreas Schwab <schwab@redhat.com>
47993
47994 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
47995 Reread the line before reparsing it.
47996
bf972c9d
AS
479972011-09-26 Andreas Schwab <schwab@redhat.com>
47998
47999 * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
48000
e057a1b5
JM
480012011-09-21 Chung-Lin Tang <cltang@codesourcery.com>
48002 Maxim Kuvyrkov <maxim@codesourcery.com>
48003 Joseph Myers <joseph@codesourcery.com>
48004
48005 * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
48006 if needed for __stack_chk_guard.
48007
bc7e1c36
RM
480082011-09-19 Roland McGrath <roland@hack.frob.com>
48009
ecb1482f
RM
48010 * sysdeps/posix/spawni.c (script_execute): Always define it.
48011 It will be optimized away if unused.
48012 (maybe_script_execute): New function.
48013 (__spawni): Call it.
48014
bc7e1c36
RM
48015 * Makerules: Don't include tls.make.
48016 (config-tls): Always set to thread.
48017 * tls.make.c: File removed.
48018
1c3b002b
MF
480192011-09-19 Mike Frysinger <vapier@gentoo.org>
48020
48021 * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
48022 * config.make.in (CPPFLAGS-config): New substituted variable.
48023
2840865d
UD
480242011-09-15 Ulrich Drepper <drepper@gmail.com>
48025
88738eb6
UD
48026 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
48027
cbf645a6 48028 [BZ #13192]
2840865d
UD
48029 * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
48030 Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
48031
b402e91a
RM
480322011-09-15 Roland McGrath <roland@hack.frob.com>
48033
48034 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
48035 (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
48036 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
48037 (CALL_FAIL): Likewise.
48038 * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
48039 (CALL_FAIL): Macro removed.
48040 Patch mostly by Mike Frysinger <vapier@gentoo.org>.
48041
4c1a1f71
UD
480422011-09-15 Ulrich Drepper <drepper@gmail.com>
48043
48044 * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
48045 for __FINITE_MATH_ONLY__ == 1.
48046
edc121be
AS
480472011-09-15 Andreas Schwab <schwab@redhat.com>
48048
48049 * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
48050 __ieee754_sqrt instead of sqrt.
48051 * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
48052 __ieee754_sqrtf instead of sqrtf.
48053 * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
48054 __floorf instead of floorf.
48055 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
48056 __floorf, __truncf instead of floorf, truncf.
48057
cd205654
UD
480582011-09-14 Ulrich Drepper <drepper@gmail.com>
48059
ee4d0315
UD
48060 * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
48061
cd205654
UD
48062 * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
48063 __extern_always_inline.
48064 Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
48065 32-bit.
48066
48b67d71
AS
480672011-09-14 Andreas Schwab <schwab@redhat.com>
48068
48069 * elf/rtld.c (dl_main): Also relocate in dependency order when
48070 doing symbol dependency testing.
48071
1ae12c75
AS
480722011-09-13 Andreas Schwab <schwab@linux-m68k.org>
48073
48074 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
48075 Always define `refsym'.
48076
995a80df
AS
480772011-09-13 Andreas Schwab <schwab@redhat.com>
48078
e529793b
AS
48079 * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
48080 (__FD_ELT): Renamed from __FDELT.
48081 * misc/bits/select2.h (__FD_ELT): Likewise.
48082 * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
48083 __FD_MASK instead of __FDELT, __FDMASK.
48084 * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
48085 Likewise.
48086 * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
48087 Likewise.
48088
52d4fef8
AS
48089 * elf/Makefile (gen-ldd): Fix pattern.
48090
995a80df
AS
48091 * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
48092 (init_tls): Likewise.
48093
8682f8b0
UD
480942011-09-12 Ulrich Drepper <drepper@gmail.com>
48095
48096 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
48097
de82006d
AS
480982011-09-12 Andreas Schwab <schwab@redhat.com>
48099
a7c8e6a1
AS
48100 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
48101 `struct cmsghdr *' instead of `void *'.
48102 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
48103 Likewise.
48104
0f31fe77
AS
481052011-09-11 Andreas Schwab <schwab@linux-m68k.org>
48106
48107 * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
48108 if non-absolute.
48109 * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
48110 ldd_rewrite_script.
0f31fe77 48111
32b4c839
UD
481122011-09-11 Ulrich Drepper <drepper@gmail.com>
48113
83cd1420
UD
48114 * configure.in: Remove --with-tls option.
48115 * config.h.in: Remove HAVE_TLS_SUPPORT entry.
48116 * sysdeps/i386/elf/configure.in: Always test for TLS support and err
48117 out in case it is missing.
48118 * sysdeps/ia64/elf/configure.in: Likewise.
48119 * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
48120 * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
48121 * sysdeps/s390/s390-32/elf/configure.in: Likewise.
48122 * sysdeps/s390/s390-64/elf/configure.in: Likewise.
48123 * sysdeps/sh/elf/configure.in: Likewise.
48124 * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
48125 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
48126 * sysdeps/x86_64/elf/configure.in: Likewise.
48127 * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
48128 * sysdeps/mach/hurd/tls.h: Likewise.
48129
633f745d
UD
48130 [BZ #13067]
48131 * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
48132
f318beb8
UD
48133 [BZ #13090]
48134 * configure.in: Fix use of AC_INIT.
48135
32b4c839
UD
48136 * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
48137
3ce1f295
UD
481382011-09-10 Ulrich Drepper <drepper@gmail.com>
48139
bb016596
UD
48140 * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
48141 __set_errno.
8e58439c
UD
48142 * malloc/hooks.c: Likewise.
48143
aebae053 48144 [BZ #11929]
02d46fc4
UD
48145 * malloc/arena.c (ptmalloc_init_minimal): Removed. Initialize all
48146 variables statically.
48147 (narenas): Initialize.
48148 (list_lock): Initialize.
bb016596
UD
48149 (ptmalloc_init): Don't call ptmalloc_init_minimal. Remove
48150 initializtion of main_arena and list_lock. Small cleanups.
02d46fc4
UD
48151 Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
48152 * malloc/malloc.c: Remove malloc_getpagesize. Include <ldsodefs.h>.
48153 Add initializers to main_arena and mp_.
48154 (malloc_state): Remove pagesize member. Change all users to use
48155 GLRO(dl_pagesize).
48156
48157 * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
48158 * sysdeps/unix/sysv/linux/getpagesize.c: Simplify. GLRO(dl_pagesize)
48159 is always initialized.
48160
22a89187
UD
48161 * malloc/malloc.c: Removed unused configurations and dead code.
48162 * malloc/arena.c: Likewise.
48163 * malloc/hooks.c: Likewise.
02d46fc4 48164 * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
22a89187 48165
d063d164
UD
48166 * include/tls.h: Removed. USE___THREAD must always be defined.
48167 * bits/libc-tsd.h: Don't handle !USE___THREAD.
48168 * elf/dl-libc.c: Likewise.
48169 * elf/dl-tsd.c: Likewise.
48170 * include/errno.h: Likewise.
48171 * include/netdb.h: Likewise.
48172 * include/resolv.h: Likewise.
48173 * inet/herrno-loc.c: Likewise.
48174 * inet/herrno.c: Likewise.
48175 * malloc/arena.c: Likewise.
48176 * malloc/hooks.c: Likewise.
48177 * malloc/malloc.c: Likewise.
48178 * resolv/res-state.c: Likewise.
48179 * resolv/res_libc.c: Likewise.
48180 * sysdeps/i386/dl-machine.h: Likewise.
48181 * sysdeps/ia64/dl-machine.h: Likewise.
48182 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
48183 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
48184 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
48185 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
48186 * sysdeps/sh/dl-machine.h: Likewise.
48187 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
48188 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
48189 * sysdeps/unix/i386/sysdep.S: Likewise.
48190 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
48191 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
48192 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
48193 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
48194 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
48195 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
48196 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
48197 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
48198 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
48199 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
48200 * sysdeps/unix/x86_64/sysdep.S: Likewise.
48201 * sysdeps/x86_64/dl-machine.h: Likewise.
48202 * tls.make.c: Likewise.
48203
3ce1f295
UD
48204 * configure.in: Remove --with-__thread option. Make tests for
48205 --no-whole-archive, __builtin_expect, symbol redirection, __thread,
48206 tls_model attribute fail if no support is available. Remove
48207 USE_IN_LIBIO.
48208 * Makeconfig: Adjust for dropped configure option. All features are
48209 now mandatory.
48210 * Makerules: Likewise.
48211 * Versions.def: Likewise.
48212 * argp/argp-fmtstream.c: Likewise.
48213 * argp/argp-fmtstream.h: Likewise.
48214 * argp/argp-help.c: Likewise.
48215 * assert/assert.c: Likewise.
48216 * config.h.in: Likewise.
48217 * config.make.in: Likewise.
48218 * configure: Likewise.
48219 * configure.in: Likewise.
48220 * csu/Versions: Likewise.
48221 * csu/init.c: Likewise.
48222 * elf/tst-audit2.c: Likewise.
48223 * elf/tst-tls10.c: Likewise.
48224 * elf/tst-tls10.h: Likewise.
48225 * elf/tst-tls11.c: Likewise.
48226 * elf/tst-tls12.c: Likewise.
48227 * elf/tst-tls14.c: Likewise.
48228 * elf/tst-tlsmod11.c: Likewise.
48229 * elf/tst-tlsmod12.c: Likewise.
48230 * elf/tst-tlsmod13.c: Likewise.
48231 * elf/tst-tlsmod13a.c: Likewise.
48232 * elf/tst-tlsmod14a.c: Likewise.
48233 * elf/tst-tlsmod15b.c: Likewise.
48234 * elf/tst-tlsmod16a.c: Likewise.
48235 * elf/tst-tlsmod16b.c: Likewise.
48236 * elf/tst-tlsmod7.c: Likewise.
48237 * elf/tst-tlsmod8.c: Likewise.
48238 * elf/tst-tlsmod9.c: Likewise.
48239 * gmon/gmon.c: Likewise.
48240 * grp/fgetgrent_r.c: Likewise.
48241 * grp/putgrent.c: Likewise.
48242 * hurd/fopenport.c: Likewise.
48243 * include/libc-symbols.h: Likewise.
48244 * include/tls.h: Likewise.
48245 * intl/gettextP.h: Likewise.
48246 * intl/loadinfo.h: Likewise.
48247 * locale/global-locale.c: Likewise.
48248 * locale/localeinfo.h: Likewise.
48249 * mach/devstream.c: Likewise.
48250 * malloc/arena.c: Likewise.
48251 * malloc/set-freeres.c: Likewise.
48252 * misc/err.c: Likewise.
48253 * misc/getttyent.c: Likewise.
48254 * misc/mntent_r.c: Likewise.
48255 * posix/getopt.c: Likewise.
48256 * posix/wordexp.c: Likewise.
48257 * pwd/fgetpwent_r.c: Likewise.
48258 * resolv/Versions: Likewise.
48259 * resolv/res_hconf.c: Likewise.
48260 * shadow/fgetspent_r.c: Likewise.
48261 * shadow/putspent.c: Likewise.
48262 * stdio-common/printf_fphex.c: Likewise.
48263 * stdio-common/tmpfile.c: Likewise.
48264 * stdlib/abort.c: Likewise.
48265 * stdlib/fmtmsg.c: Likewise.
48266 * sunrpc/auth_unix.c: Likewise.
48267 * sunrpc/clnt_perr.c: Likewise.
48268 * sunrpc/clnt_tcp.c: Likewise.
48269 * sunrpc/clnt_udp.c: Likewise.
48270 * sunrpc/clnt_unix.c: Likewise.
48271 * sunrpc/openchild.c: Likewise.
48272 * sunrpc/svc_simple.c: Likewise.
48273 * sunrpc/svc_tcp.c: Likewise.
48274 * sunrpc/svc_udp.c: Likewise.
48275 * sunrpc/svc_unix.c: Likewise.
48276 * sunrpc/xdr.c: Likewise.
48277 * sunrpc/xdr_array.c: Likewise.
48278 * sunrpc/xdr_rec.c: Likewise.
48279 * sunrpc/xdr_ref.c: Likewise.
48280 * sunrpc/xdr_stdio.c: Likewise.
48281
1248c1c4
PB
482822011-09-09 Ulrich Drepper <drepper@gmail.com>
48283
48284 * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
48285
482862011-07-03 Andreas Jaeger <aj@suse.de>
48287
48288 * math/libm-test.inc (jn_test): Add tests for BZ#11589.
48289 * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
48290 regenerate with gen-libm-tests.pl.
48291
482922010-05-12 Petr Baudis <pasky@suse.cz>
48293
48294 [BZ #11589]
48295 * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
48296 around j0() zero points by switching to j1().
48297 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
48298 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
48299 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
48300 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
48301
f22e1074
UD
483022011-09-09 Ulrich Drepper <drepper@gmail.com>
48303
f19009c1
UD
48304 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
48305 instead of 0.
48306 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
3a235abb 48307 instead of 0.
f19009c1
UD
48308 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
48309 Patch in part by Pavel Roskin <proski@gnu.org>.
48310
3f8cc204
UD
48311 [BZ #13138]
48312 * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
48313 realloc.
48314 (_IO_vfscanf_internal): Remove reteof. Use errout after setting done.
48315 Free memory block if necessary.
48316
f22e1074
UD
48317 [BZ #12847]
48318 * libio/genops.c (INTDEF): For string streams the _lock pointer can
48319 be NULL. Don't lock in this case.
48320
0a2349f9
RM
483212011-09-09 Roland McGrath <roland@hack.frob.com>
48322
48323 * elf/elf.h (ELFOSABI_GNU): New macro.
48324 (ELFOSABI_LINUX): Define to that.
48325
f3cdd467
DZ
483262011-07-29 Denis Zaitceff <zaitceff@gmail.com>
48327
48328 * string/strncat.c (strncat): Undef the symbol in case it has been
48329 defined in bits/string.h.
48330
74718d13
UD
483312011-09-09 Ulrich Drepper <drepper@gmail.com>
48332
633e9e0f
UD
48333 * elf/sotruss.ksh: Clean up, fix, and complete help messages.
48334
0a2349f9 48335 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
74718d13
UD
48336 link map.
48337
f9924780
AJ
483382011-08-17 Andreas Jaeger <aj@suse.de>
48339
48340 * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
48341
7f5517aa
PP
483422011-08-18 Paul Pluzhnikov <ppluzhnikov@google.com>
48343 Ian Lance Taylor <iant@google.com>
48344
48345 * math/libm-test.inc (lround_test): New testcase.
48346 * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
48347
762011fe
UD
483482011-09-08 Ulrich Drepper <drepper@gmail.com>
48349
92963737
UD
48350 * Makefile: Remove support for automatic cvs check-ins.
48351 * Makerules: Likewise.
48352 * config.make.in: Likewise.
48353 * configure.in: Likewise.
48354 * intl/Makefile: Likewise.
48355 * locale/Makefile: Likewise.
48356 * po/Makefile: Likewise.
48357 * posix/Makefile: Likewise.
48358 * sysdeps/gnu/Makefile: Likewise.
48359 * sysdeps/mach/hurd/Makefile: Likewise.
48360 * sysdeps/sparc/sparc32/Makefile: Likewise.
48361
b0727fd8
JS
48362 [BZ #13118]
48363 * posix/Makefile (bug-regex32-ENV): Define.
48364 Patch by John Stanley <jpsinthemix@verizon.net>.
48365
a0f33f99
UD
48366 * misc/Makefile (headers): Add bits/select2.h.
48367 * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
48368 * misc/bits/select2.h: New file.
48369 * include/bits/select2.h: New file.
48370 * debug/Makefile (routines): Add fdelt_chk.
48371 * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
48372 * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
48373 FD_ISSET.
48374 * debug/fdelt_chk.c: New file.
48375
762011fe
UD
48376 * wcsmbs/test-wcscmp.c: Moved from string/*. Adjust.
48377 * wcsmbs/test-wmemcmp.c: Likewise.
48378 * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
a0f33f99 48379 * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
762011fe
UD
48380
483812011-09-08 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
48382
48383 * string/Makefile (strop-tests): Add memcmp.
48384 * string/test-wmemcmp.c: New file.
48385 * string/test-memcmp.c: Add wmemcmp support.
48386
7f513ec8
RM
483872011-09-08 Roland McGrath <roland@hack.frob.com>
48388
0442afb4
RM
48389 [BZ #13153]
48390 * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
48391 2011-07-19 change.
48392
7f513ec8
RM
48393 * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
48394 garbage value in a __mach_port_mod_refs call in the cases of the
48395 task-self and thread-self ports.
48396
a12b2239
ST
483972011-09-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
48398
48399 * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
48400
610f9ab4
AS
484012011-09-08 Andreas Schwab <schwab@redhat.com>
48402
7f513ec8 48403 * elf/dl-load.c (lose): Check for non-null L.
610f9ab4 48404
48882a1a
LD
484052011-09-07 Ulrich Drepper <drepper@gmail.com>
48406
b49865be
UD
48407 * elf/dl-load.c (open_verify): Use O_CLOEXEC.
48408
fdc86bc9
UD
48409 * elf/dl-libc.c (dlerror_run): Pass back error code from
48410 dl_catch_error.
48411
c966526a
UD
48412 [BZ #13123]
48413 * elf/dl-load.c (lose): Free l_origin if it is valid.
48414
48882a1a
LD
48415 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
48416 names.
48417 * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
48418 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
48419 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
48420 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
48421 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
48422 Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
48423
77a2a8b4
AZ
484242011-08-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
48425
48426 * sysdeps/powerpc/fpu/e_hypot.c: New file.
48427 * sysdeps/powerpc/fpu/e_hypotf.c: New file.
48428 * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
48429 * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
48430 * sysdeps/powerpc/fpu/k_cosf.c: New file.
48431 * sysdeps/powerpc/fpu/k_sinf.c: New file.
48432 * sysdeps/powerpc/fpu/s_cosf.c: New file.
48433 * sysdeps/powerpc/fpu/s_sinf.c: New file.
48434 * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
48435 * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
48436
24f579d8
AM
484372011-08-15 Alan Modra <amodra@gmail.com>
48438
48439 [BZ #13092]
48440 * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
48441 * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
48442 * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here. Add
48443 ppc_mcount to static-only-routines.
48444 * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
48445 __mcount_internal.
48446 * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
48447 __mcount_internal with usual JUMPTARGET. Remove useless nop.
48448
3d4837df
UD
484492011-08-18 David Flaherty <flaherty@linux.vnet.ibm.com>
48450
48451 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
48452 for finite and infinity parameters.
48453
22700377
WS
484542011-08-04 Will Schmidt <will_schmidt@vnet.ibm.com>
48455
48456 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
48457 and add nop instructions for throughput optimization.
48458 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
48459
5025581e
WS
484602011-07-28 Will Schmidt <will_schmidt@vnet.ibm.com>
48461
48462 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
48463 aligned copy for power7 with vector-scalar instructions.
48464 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
48465
08a300c9
L
484662011-07-24 H.J. Lu <hongjiu.lu@intel.com>
48467
48468 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
48469 AVX check.
48470
59178ef9
AS
484712011-09-07 Andreas Schwab <schwab@redhat.com>
48472
48473 [BZ #13144]
48474 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
48475 last change.
48476
e38ba7ab
UD
484772011-09-07 Ulrich Drepper <drepper@gmail.com>
48478
48479 * sysdeps/unix/sysv/linux/x86_64/init-first.c
48480 (_libc_vdso_platform_setup): If vDSO is not present store pointer to
48481 syscall wrapper around clock_gettime in __vdso_clock_gettime.
48482 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
48483 clock_gettime.
48484
d53a73ac
UD
484852011-09-06 Ulrich Drepper <drepper@gmail.com>
48486
fc8bffcc
UD
48487 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
48488 Forgot to demangle the pointer.
48489
ceaa0c5d
UD
48490 * sysdeps/i386/sysdep.h: Define atom_text_section.
48491 * sysdeps/x86_64/sysdep.h: Likewise.
48492 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
48493 section with atom_text_section.
48494 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
48495 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
48496 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
48497 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
48498 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
48499
a77d3c17
UD
48500 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
48501 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
48502 already be defined. Change to take two parameters and don't assign
48503 result to variable. Adjust all users.
48504 Define INTERNAL_GETTIME if not already defined.
48505 Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
48506 call.
48507 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
48508 HAVE_CLOCK_GETTIME_VSYSCALL.
48509 * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
48510
d53a73ac
UD
48511 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
48512 gettimeofday vsyscall, just use time.
48513
a8f84144
AS
485142011-09-06 Andreas Schwab <schwab@redhat.com>
48515
48516 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
48517 <errno.h>.
48518
ef606249
UD
485192011-09-06 Ulrich Drepper <drepper@gmail.com>
48520
48521 * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
48522 syscall on x86-64.
48523 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
48524 syscall.
48525 * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
48526 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
48527 syscall if possible.
48528
6585cb60
UD
485292011-09-05 Ulrich Drepper <drepper@gmail.com>
48530
48531 * elf/pldd.c (get_process_info): Don't read whole ELF header, just
48532 e_ident. Don't pass to find_mapsXX.
48533 * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
48534
a5f524e4
LD
485352011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
48536
48537 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
48538 strchr-sse2-no-bsf strrchr-sse2-no-bsf
48539 * sysdeps/x86_64/multiarch/strchr.S: Update.
48540 Check bit_slow_BSF bit.
48541 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
48542 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
48543 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
48544
554881ef
UD
485452011-09-05 Ulrich Drepper <drepper@gmail.com>
48546
d96de963
UD
48547 [BZ #13134]
48548 * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
48549 before glibc 2.15.
48550 (tryshell): Define.
48551 (__spawni): Change last parameter to be flag. Test
48552 SPAWN_XFLAGS_USE_PATH flag to use path or not.
48553 Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
48554 * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
48555 * posix/spawni.c: Likewise.
48556 * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
48557 * posix/spawnp.c: Likewise. Change normal version to use
48558 SPAWN_XFLAGS_USE_PATH.
48559 * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
48560 SPAWN_XFLAGS_TRY_SHELL.
48561
d48e5868
UD
48562 [BZ #13150]
48563 * posix/glob.h: Remove gcc 1.x support.
48564
554881ef
UD
48565 [BZ #13068]
48566 * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
48567
693fb948
LD
485682011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
48569
48570 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
48571 strchr-sse2 strrchr-sse2 strchr-sse2-bsf
48572 strrchr-sse2-bsf
48573 * sysdeps/i386/i686/multiarch/strchr.S: New file.
48574 * sysdeps/i386/i686/multiarch/strrchr.S: New file.
48575 * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
48576 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
48577 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
48578 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
48579
1b48c537
UD
485802011-08-29 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
48581
49d42c37
UD
48582 * sysdeps/x86_64/wcscmp.S: New file.
48583
1b48c537
UD
48584 * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
48585 wcscmp-c wcscmp-sse2
48586 * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
48587 * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
48588 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
48589 * wcsmbs/wcscmp.c: Allow renaming.
48590
15c95c5d
DM
485912011-09-05 David S. Miller <davem@davemloft.net>
48592
48593 * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
48594 stack slot, rather than the struct return pointer slot.
48595 * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
48596 * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
48597 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
48598 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
48599
2f0ad8f3
UD
486002011-09-05 Ulrich Drepper <drepper@gmail.com>
48601
d88ae418
UD
48602 * po/ja.po: Update from translation team.
48603
2f0ad8f3
UD
48604 [BZ #13144]
48605 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
48606 kernel in 64-bit binaries.
48607
5f4318d1
DM
486082011-09-01 David S. Miller <davem@davemloft.net>
48609
48610 * elf/elf.h (HWCAP_SPARC_*): Move to..
48611 * sysdeps/sparc/sysdep.h: this new file and add new values.
48612 * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
48613 * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
48614 _DL_HWCAP_COUNT to 24.
48615 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
48616 entries.
48617 * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
48618 __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
48619 * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
48620 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
48621 instead of magic constants.
48622 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
48623
3ba57516
DM
486242011-08-31 David S. Miller <davem@davemloft.net>
48625
48626 * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
48627 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
48628 Reimplement to do errno handling inline.
48629 (SYSCALL_ERROR_HANDLER): New macro.
48630 (__SYSCALL_STRING): Do not do errno handling in asm.
48631 (__CLONE_SYSCALL_STRING): Delete.
48632 (__INTERNAL_SYSCALL_STRING): Delete.
48633 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
48634 sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
48635 (PSEUDO): Reimplement to do errno handling inline.
48636 (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
48637 (SYSCALL_ERROR_HANDLER): New macro.
48638 (__SYSCALL_STRING): Do not do errno handling in asm.
48639 (__CLONE_SYSCALL_STRING): Delete.
48640 (__INTERNAL_SYSCALL_STRING): Delete.
48641 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
48642 Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
48643 i386.
48644 (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
48645 (inline_syscall*): Add 'err' argument.
48646 (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
48647 INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
48648 (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
48649 INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
48650
48651 * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
48652 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
48653
2bc17433
AS
486542011-08-30 Andreas Schwab <schwab@redhat.com>
48655
48656 * elf/rtld.c (dl_main): Relocate objects in dependency order.
48657
fbeb5f4d
JO
486582011-08-29 Jiri Olsa <jolsa@redhat.com>
48659
48660 * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
48661 directive.
48662
ad69cc26
DM
486632011-08-24 David S. Miller <davem@davemloft.net>
48664
48665 * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
48666
39dd69df
AS
486672011-08-24 Andreas Schwab <schwab@redhat.com>
48668
48669 * elf/Makefile: Add rules to build and run unload8 test.
48670 * elf/unload8.c: New file.
48671 * elf/unload8mod1.c: New file.
48672 * elf/unload8mod1x.c: New file.
48673 * elf/unload8mod2.c: New file.
48674 * elf/unload8mod3.c: New file.
48675
48676 * elf/dl-close.c (_dl_close_worker): Reset private search list if
48677 it wasn't used.
48678
2c0b250a
DM
486792011-08-23 David S. Miller <davem@davemloft.net>
48680
48681 * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
48682 subtract stack bias.
48683 * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
48684 %sp not %fp in calculations.
48685 (_JMPBUF_UNWINDS_ADJ): Likewise.
48686
22044b48
DM
48687 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
48688 (aio_suspend): Call it to force an exception region around the
48689 AIO_MISC_WAIT() invocation.
48690
2cae4995
AS
486912011-08-23 Andreas Schwab <schwab@redhat.com>
48692
48693 * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
48694 backslash.
48695
873a772e
AJ
486962011-07-04 Aurelien Jarno <aurelien@aurel32.net>
48697
48698 * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
48699 protection macro.
48700 * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
48701 and <dl-machine.h>.
48702 (Elf64_FuncDesc): Remove.
48703
25ad0df1
DM
487042011-08-22 David S. Miller <davem@davemloft.net>
48705
48706 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
48707 sigaltstack check, add missing cfi directives.
48708 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
48709 missing cfi directives, and sigaltstack handling.
48710
e888bcbe
AS
487112011-08-16 Andreas Schwab <schwab@redhat.com>
48712
48713 [BZ #11724]
48714 * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
48715 object is seen twice.
48716 * elf/dl-fini.c (_dl_sort_fini): Likewise.
48717
48718 * elf/Makefile (distribute): Add tst-initorder2.c.
48719 (tests): Add tst-initorder2.
48720 (modules-names): Add tst-initorder2a tst-initorder2b
48721 tst-initorder2c tst-initorder2d. Add rules to build them.
48722 ($(objpfx)tst-initorder2.out): New rule.
48723 * elf/tst-initorder2.c: New file.
48724 * elf/tst-initorder2.exp: New file.
48725
87162f46
AS
487262011-08-22 Andreas Schwab <schwab@redhat.com>
48727
70538b7f
AS
48728 * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
48729
f55ffe58
AS
48730 * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
48731 dependencies back to end of function.
48732
87162f46
AS
48733 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
48734 $(elfobjdir)/ld.so.
48735
91b392a4
UD
487362011-08-21 Ulrich Drepper <drepper@gmail.com>
48737
48738 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
48739 * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
48740 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
48741 * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
48742 * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
48743 of __vdso_gettimeofday.
48744 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
48745 __vdso_gettimeofday and __vdso_time. Define __vdso_getcpu with
48746 attribute_hidden.
48747 (_libc_vdso_platform_setup): Remove initialization of
48748 __vdso_gettimeofday and __vdso_time.
48749
5c43483f
UD
487502011-08-20 Ulrich Drepper <drepper@gmail.com>
48751
775a77e7
UD
48752 * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
48753 and fgetc_unlocked.
48754 * nss/nss_files/files-key.c (search): Use fgets_unlocked and
48755 getc_unlocked.
89f447ed 48756
49c74ba9
UD
48757 * elf/dl-open.c (add_to_global): Report additions to the global scope
48758 for LD_DEBUG=scopes.
48759 (dl_open_worker): Also print scope of newly loaded dependencies.
001f0a6c 48760 (_dl_show_scope): Indicate if there is no scope.
49c74ba9 48761
5c43483f
UD
48762 [BZ #13114]
48763 * stdio-common/Makefile (tests): Add bug24.
48764 * stdio-common/bug24.c: New file.
48765
a101b025
AJ
487662011-08-19 Andreas Jaeger <aj@suse.de>
48767
48768 [BZ #13114]
48769 * libio/fileops.c (_IO_new_file_fopen): Fix handling of
48770 non-existant file when using close-on-exec mode.
48771
c88f1766
UD
487722011-08-20 Ulrich Drepper <drepper@gmail.com>
48773
0276a718
UD
48774 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
48775 the very first instruction.
48776
c88f1766
UD
48777 * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
48778 the CFI state in the end.
48779 * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
48780 inclusion of dl-trampoline.h.
48781 Based on a patch by Jiri Olsa <jolsa@redhat.com>.
48782
51ccffa0
AS
487832011-08-19 Andreas Schwab <schwab@redhat.com>
48784
94d7165f
AS
48785 * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
48786 expectations for long double.
48787
51ccffa0
AS
48788 * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
48789 from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
48790
fd708658 487912011-08-14 David S. Miller <davem@davemloft.net>
c27714f1
DM
48792
48793 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
48794 artificual limit depends upon the system page size.
48795
44f0a71e
UD
487962011-08-17 Ulrich Drepper <drepper@gmail.com>
48797
48798 * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
48799 * resolv/Makefile: Define CFLAGS-libresolv.
48800
8de79a24
AS
488012011-08-17 Andreas Schwab <schwab@redhat.com>
48802
48803 * nss/makedb.c (compute_tables): Make variables used in nested
48804 function static.
48805
27724598
UD
488062011-08-17 Ulrich Drepper <drepper@gmail.com>
48807
c5305d88
UD
48808 * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
48809 * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
48810 if buffer was too small.
48811
27724598
UD
48812 * elf/pldd.c (main): Attach to all threads in the process.
48813 Rewrite /proc handling to use *at functions.
48814
076fe015
UD
488152011-08-16 Ulrich Drepper <drepper@gmail.com>
48816
174baab3
UD
48817 * elf/dl-open.c (_dl_show_scope): Take additional parameter which
48818 specifies first scope to show.
48819 (dl_open_worker): Update callers. Move printing scope of new
48820 object to before the relocation.
44f0a71e 48821 * elf/rtld.c (dl_main): Update _dl_show_scope call.
174baab3
UD
48822 * sysdeps/generic/ldsodefs.h: Update declaration.
48823
076fe015
UD
48824 * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
48825 string for the scope number.
48826
a60df2c3
UD
488272011-08-14 Ulrich Drepper <drepper@gmail.com>
48828
48829 * nscd/servicescache.c (cache_addserv): Make sure written is always
48830 initialized.
48831
5e4287d1
RM
488322011-08-14 Roland McGrath <roland@hack.frob.com>
48833
85ae0589
RM
48834 * sysdeps/i386/i486/bits/atomic.h
48835 (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
48836 statement expression, so as to suppress "set but not used" warning.
48837 (__arch_c_compare_and_exchange_val_64_acq): Likewise.
48838
69f63097
RM
48839 * string/strncat.c (STRNCAT): Use prototype definition.
48840
675456ef
RM
48841 * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
48842 (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
48843 -Iprograms here.
48844 (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
48845 (localedef-modules): Add localedef.
48846 (locale-modules): Add locale.
48847
5e4287d1
RM
48848 * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
48849 * elf/rtld.c (dl_main): Invert order of assignment in last change,
48850 to avoid a warning.
48851
9c96ff23
DM
488522011-08-14 David S. Miller <davem@davemloft.net>
48853
48854 * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
48855 RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
48856
f9ddf089
UD
488572011-08-13 Ulrich Drepper <drepper@gmail.com>
48858
44f0a71e 48859 * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
73d7af4f
UD
48860 (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
48861 * elf/rtld.c (dl_main): Set l_name of vDSO.
48862 Call _dl_show_scope when DL_DEBUG_SCOPES.
48863 (process_dl_debug): Recognize scopes flag and also set it for all.
48864 * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
48865 Declare _dl_show_scope.
48866
1dc27704
UD
48867 * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
48868 (do_dlopen): Pass caller_dlopen to dl_open.
48869 (__libc_dlopen_mode): Initialize caller_dlopen.
48870
f9ddf089
UD
48871 * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
48872 of libc. Make tolower call locale-independent. Optimize a bit by
48873 using isdigit instead of isalnum.
48874 * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
48875
9ac533d3
UD
488762011-08-12 Ulrich Drepper <drepper@gmail.com>
48877
48878 * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
48879 was a dependency or dynamically loaded.
48880
89edf2e9
UD
488812011-08-11 Ulrich Drepper <drepper@gmail.com>
48882
8e999d29
UD
48883 * intl/l10nflist.c: Allow architecture-specific pop function.
48884 * sysdeps/x86_64/l10nflist.c: New file.
48885
89edf2e9
UD
48886 * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
48887 classification.
48888
14d96785
AS
488892011-08-10 Andreas Schwab <schwab@redhat.com>
48890
48891 * include/dirent.h: Add libc_hidden_proto for scandirat and
48892 scandirat64. Don't declare __scandirat64.
48893 * dirent/scandirat.c: Add libc_hidden_def.
48894 * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
48895 * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
48896
6761ac04
DM
488972011-08-10 David S. Miller <davem@davemloft.net>
48898
48899 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
48900 enum.
48901 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
48902 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
48903 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
48904
c55fbd1e
UD
489052011-08-09 Ulrich Drepper <drepper@gmail.com>
48906
48907 * Versions.def [libc]: Add GLIBC_2.15.
48908 * dirent/Makefile (routines): Add scandirat and scandirat64.
48909 * dirent/Versions [libc]: Export scandirat and scandirat64 for
48910 GLIBC_2.15.
48911 * dirent/dirent.h: Declare scandirat and scandirat64.
48912 * dirent/scandirat.c: New file.
48913 * dirent/scandirat64.c: New file.
48914 * sysdeps/wordsize-64/scandirat.c: New file.
48915 * sysdeps/wordsize-64/scandirat64.c: New file.
48916 * dirent/opendir.c: Define opendirat.
48917 * dirent/scandir.c: Move code to scandirat.c. Implement scandir
48918 using scandirat.
48919 * dirent/scandir64.c: Adjust for scandir.c change.
48920 * include/dirent.h: Define scandir_cancel_struct. Declare __opendirat,
48921 __scandirat64, and __scandir_cancel_handler.
48922 * sysdeps/unix/opendir.c: Rename __opendir to __opendirat. Take
48923 additional parameter and use openat instead of open (outside of ld.so).
48924 Add new __opendir as wrapper around __opendirat.
48925 * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
48926 here without requiring old scandirat implementation.
48927
879165f2
UD
489282011-08-08 Ulrich Drepper <drepper@gmail.com>
48929
48930 * dirent/scandir.c (cancel_handler): Renamed to
48931 __scandir_cancel_handler. Do not define if SKIP_SCANDIR_CANCEL is
48932 defined. Adjust users.
48933 * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
48934 * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
48935
cb7e923b
UD
489362011-08-04 Ulrich Drepper <drepper@gmail.com>
48937
16292edd
UD
48938 * string/test-string.h (IMPL): Use __STRING to expand name and then
48939 stringify it.
48940
cb7e923b
UD
48941 * string/test-strcmp.c: Unify most of the WIDE and !WIDE code. Lots
48942 of cleanups.
48943
cff82933
LD
489442011-07-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
48945
48946 * string/Makefile: Update.
48947 (strop-tests): Append strncat.
48948 * string/test-wcscmp.c: New file.
48949 New comprehensive test for wcscmp.
48950 * string/test-strcmp.c: Update.
48951 (WIDE): New define.
48952
9be9bfcc
AS
489532011-07-22 Andreas Schwab <schwab@redhat.com>
48954
48955 * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
48956 line.
48957
2e96f1c7
AS
489582011-07-26 Andreas Schwab <schwab@redhat.com>
48959
48960 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
48961 encoding to ACE if AI_IDN.
48962
85188888
JJ
489632011-08-01 Jakub Jelinek <jakub@redhat.com>
48964
48965 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
48966 to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
48967
5fa16e9b
LD
489682011-07-22 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
48969
48970 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
48971 Fix overflow bug in strncat.
48972 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
48973
48974 * string/test-strncat.c: Update.
48975 Add new tests for checking overflow bugs.
48976
489772011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
48978
48979 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
48980 strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
48981 * sysdeps/i386/i686/multiarch/strcat.S: New file.
48982 * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
48983 * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
48984 * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
48985 * sysdeps/i386/i686/multiarch/strncat.S: New file.
48986 * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
48987 * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
48988
48989 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
48990 (USE_AS_STRCAT): Define.
48991 Add strcat and strncat support.
48992 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
48993
8c1a459f
AS
489942011-07-25 Andreas Schwab <schwab@redhat.com>
48995
48996 * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
48997 __n bigger than INT_MAX+1.
48998 (__strncmp_g): Likewise.
48999
bba33c28
UD
490002011-07-23 Ulrich Drepper <drepper@gmail.com>
49001
798be72d
UD
49002 * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
49003 * libio/stido.h: Likewise.
49004
8accd4dc
UD
49005 * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
49006 (AF_NFC): Define.
49007 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
49008 (AF_NFC): Define.
49009
cbff0d96
UD
49010 * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
49011 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
49012 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
49013 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
49014 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
49015
9191c04a
UD
49016 [BZ #13021]
49017 * scripts/test-installation.pl: Don't expect libnss_test1 to be
49018 installed.
49019
bba33c28
UD
49020 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
49021 typo.
49022 (_dl_x86_64_save_sse): Likewise.
49023
90f139dd
UD
490242011-07-22 Ulrich Drepper <drepper@gmail.com>
49025
1aae088a
UD
49026 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
49027 OSXSAVE.
49028 (_dl_x86_64_save_sse): Likewise.
49029
8e2045f5
UD
49030 * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
49031
90f139dd
UD
49032 * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
49033
1d002f25
AS
490342011-07-21 Andreas Schwab <schwab@redhat.com>
49035
49036 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
49037 change.
49038 (_dl_x86_64_save_sse): Use correct AVX check.
49039
21137f89
UD
490402011-07-21 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
49041
49042 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
49043 bug in strncpy/strncat.
49044 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
49045
a65c0b7a
UD
490462011-07-21 Ulrich Drepper <drepper@gmail.com>
49047
49048 * string/tester.c (test_strcat): Add tests for different alignments
49049 of source and destination.
49050 (test_strncat): Likewise.
49051
6986b98a
UD
490522011-07-20 Ulrich Drepper <drepper@gmail.com>
49053
90bb2039
UD
49054 [BZ #12852]
49055 * posix/glob.c (glob): Check passed in values before using them in
49056 expressions to avoid some overflows.
49057 (glob_in_dir): Likewise.
49058
5644ef54
UD
49059 [BZ #13007]
49060 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
49061 check for AVX enablement so that we don't crash with old kernels and
49062 new hardware.
49063 * elf/tst-audit4.c: Add same checks here.
49064 * elf/tst-audit6.c: Likewise.
49065
49066 * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
6986b98a 49067
bfc9dc9b
AS
490682011-07-09 Andreas Schwab <schwab@linux-m68k.org>
49069
49070 * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
49071
702e64bb
UD
490722011-07-20 Ulrich Drepper <drepper@gmail.com>
49073
49074 * po/cs.po: Update from translation team.
49075 * po/bg.po: Likewise.
49076
295e904f
MP
490772011-07-12 Marek Polacek <mpolacek@redhat.com>
49078
49079 * misc/sys/cdefs.h: Add support for const attribute.
49080 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
49081 to gnu_dev_{major,minor,makedev} functions.
49082
3ff94596
MP
490832011-07-20 Marek Polacek <mpolacek@redhat.com>
49084
49085 * intl/dcigettext.c (get_output_charset): Add missing bracket.
49086
28b59fca
AS
490872011-07-20 Andreas Schwab <schwab@redhat.com>
49088
49089 * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
49090 strlen results.
49091
19df733e
AK
490922011-07-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
49093
49094 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
49095 (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
49096 register in order to avoid conflicts with the soft frame pointer
49097 being held in r11 when necessary.
49098 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
49099 (INTERNAL_VSYSCALL_NCS): Likewise.
49100
c8835729
MP
491012011-07-14 Marek Polacek <mpolacek@redhat.com>
49102
49103 * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
49104 * elf/dl-fini.c (_dl_fini): Adjust caller.
49105 * elf/dl-close.c (_dl_close_worker): Likewise.
49106 * sysdeps/generic/ldsodefs.h: Adjust declaration.
49107
b902330c
MP
491082011-07-15 Marek Polacek <mpolacek@redhat.com>
49109
8991e135
MP
49110 * elf/cache.c (load_aux_cache): Remove unnecessary condition of
49111 "aux_cache->nlibs < 0".
49112
b902330c
MP
49113 * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
49114 in the reload-count case.
49115
99710781
LD
491162011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
49117
49118 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
49119 strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
49120 strncat-sse2-unaligned strncat-c strlen-sse2-pminub
49121 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
49122 * sysdeps/x86_64/multiarch/strcat.S: New file.
49123 * sysdeps/x86_64/multiarch/strncat.S: New file.
49124 * sysdeps/x86_64/multiarch/strncat-c.c: New file.
49125 * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
49126 * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
49127 * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
49128 * sysdeps/x86_64/multiarch/strcpy-ssse3.S
49129 (USE_AS_STRCAT): Define.
49130 Add strcat and strncat support.
49131 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
49132 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
49133 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
49134 * string/strncat.c: Update.
49135 (USE_AS_STRNCAT): Define.
49136 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
49137 Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
49138 and i7.
49139 * sysdeps/x86_64/multiarch/init-arch.h
49140 (bit_Prefer_PMINUB_for_stringop): New.
49141 (index_Prefer_PMINUB_for_stringop): Likewise.
49142 * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
49143 bit_Prefer_PMINUB_for_stringop.
49144
7dc6bd90
UD
491452011-07-19 Ulrich Drepper <drepper@gmail.com>
49146
49147 * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
49148 buffer64.
49149 * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
49150 of casting of buffer.
49151 * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
49152 buffer32 and buffer64.
49153 * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
49154 writes instead of casting of buffer.
49155 * crypt/md5.h (struct md5_ctx): Move buffer into union and add
49156 buffer32.
49157 * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
49158 casting of buffer.
49159
e0e72284
AS
491602011-07-19 Andreas Schwab <schwab@redhat.com>
49161
49162 * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
49163
feb1eb0b
UD
491642011-07-19 Ulrich Drepper <drepper@gmail.com>
49165
49166 * nscd/nscd.c (termination_handler): Don't do anything for a database
49167 if it has not yet been initialized.
49168
298711ff
UD
491692011-07-18 Ulrich Drepper <drepper@gmail.com>
49170
49171 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
49172
491732011-07-15 Marek Polacek <mpolacek@redhat.com>
49174
49175 * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
49176
f9d68389
UD
491772011-07-18 Ulrich Drepper <drepper@gmail.com>
49178
49179 * po/nl.po: Update from translation team.
49180 * po/sv.po: Likewise.
49181
db290cf5
RM
491822011-07-16 Roland McGrath <roland@hack.frob.com>
49183
49184 * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
49185 now disallowed by GCC.
5c550700 49186
fd5e21c7
RM
49187 * configure.in (use-default-link): Default to yes if a test -shared
49188 link meets our qualifications.
49189 * configure: Regenerated.
49190
5c550700
RM
49191 * config.make.in (output-format): New variable.
49192 * configure.in: Check for ld --print-output-format support.
49193 * configure: Regenerated.
49194 * Makerules ($(common-objpfx)format.lds)
49195 [$(output-format) != unknown]: Just use $(output-format),
49196 instead of the linker-script munging.
49197
9fa2c032
RM
491982011-07-14 Roland McGrath <roland@hack.frob.com>
49199
a6928d51
RM
49200 * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
49201 of $(common-objpfx)shlib.lds.
49202 * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
49203
661607b3
RM
49204 * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
49205 Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
49206
9fa2c032
RM
49207 * configure.in (-z relro check): Adjust test code to add a large
49208 writable data section after it.
49209 * configure: Regenerated.
49210
defe9061
RM
492112011-07-11 Roland McGrath <roland@hack.frob.com>
49212
49213 * configure.in (-z relro check): Fix test code to make the variable
49214 truly const.
49215 * configure: Regenerated.
49216
319b9ad4
UD
492172011-07-11 Ulrich Drepper <drepper@gmail.com>
49218
49219 * nscd/nscd.h (struct traced_file): Define.
49220 (struct database_dyn): Remove inotify_descr, reset_res, and filename
49221 elements. Add traced_files.
49222 (inotify_fd): Declare.
49223 (register_traced_file): Declare.
49224 * nscd/connections.c (dbs): Remove reset_res and filename initializers.
49225 (inotify_fd): Export.
49226 (resolv_conf_descr): Remove.
49227 (nscd_init): Move inotify descriptor creation to main.
49228 Don't register files for notification here.
49229 (register_traced_file): New function.
49230 (invalidate_cache): Don't use reset_res to determine whether to call
49231 res_init, go through the list of registered files.
49232 (main_loop_poll): The inotify descriptors are now stored in the
49233 structures for the traced files.
49234 (main_loop_epoll): Likewise
49235 * nscd/nscd.c (main): Create inotify socket here. Pass extra argument
49236 to __nss_disable_nscd.
49237 * nscd/cache.c (prune_cache): There is no single inotify descriptor
49238 for a database anymore. Check the records for all the registered
49239 files instead.
49240 * nss/Makefile (libnss_files-routines): Add files-init.
49241 (libnss_db-routines): Add db-init.
49242 * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
49243 [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
49244 * nss/nss_db/db-init.c: New file.
49245 * nss/nss_files/files-init.c: New file.
49246 * nss/nsswitch.c (nss_load_library): New function. Broken out of
49247 __nss_lookup_function.
49248 (__nss_lookup_function): Call nss_load_library.
49249 (nss_load_all_libraries): New function.
49250 (__nss_disable_nscd): Take parameter with callback function for files
49251 to register. Set is_nscd. Load all the DSOs for the NSS modules
49252 used for the cached services.
49253 * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
49254 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
49255 options for features to all the files in nscd.
49256
49257 * nss/nsswitch.c (nss_parse_file): Add missing fclose.
49258
23bee3e8
RM
492592011-07-10 Roland McGrath <roland@hack.frob.com>
49260
49261 * csu/elf-init.c (__libc_csu_init): Comment typo.
49262
46a5b7f0
UD
492632011-07-09 Ulrich Drepper <drepper@gmail.com>
49264
49265 * po/pl.po: Update from translation team.
49266 * po/ja.po: Likewise.
49267 * po/ru.po: Likewise.
49268 * po/ko.po: Likewise.
49269 * po/fr.po: Likewise.
49270
d30cf5bb
RM
492712011-07-09 Roland McGrath <roland@hack.frob.com>
49272
113ddea4
RM
49273 * configure.in (.ctors/.dtors header and trailer check):
49274 Use an empirical test on a built program.
49275 * configure: Regenerated.
49276
574920b4
RM
49277 * configure.in (-z relro check): Use an empirical test on a built DSO.
49278 Detect, but do not require, on ia64.
49279 * configure: Regenerated.
49280
d30cf5bb
RM
49281 * configure.in (READELF): Find it with AC_CHECK_TOOL.
49282 Update tests that use readelf to use $READELF instead.
49283 * configure: Regenerated.
49284
8538fdb3
UD
492852011-07-08 Ulrich Drepper <drepper@gmail.com>
49286
49287 * malloc/hooks.c (memalign_check): Avoid using checked_request2size
49288 if the result is not used.
49289
04d08991
AJ
492902011-07-05 Andreas Jaeger <aj@suse.de>
49291
49292 [BZ#9696]
49293 * stdlib/tst-strtod.c: Add testcase.
49294
de283087
AD
492952011-07-07 Ulrich Drepper <drepper@gmail.com>
49296
4e5f31c8 49297 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
46a5b7f0 49298 (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
4e5f31c8
UD
49299 The latter has a higher limit. Take additional parameter to pass to
49300 the new function.
49301 (__pathconf): Pass file to __statfs_link_max.
49302 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
49303 __statfs_link_max.
49304 * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
49305 __statfs_link_max.
49306
de283087
AD
49307 [BZ #12868]
49308 * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
49309 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
49310 Handle Lustre.
49311 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
49312 (__statfs_filesize_max): Likewise.
49313 Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
49314
c75fa153
AJ
493152011-07-05 Andreas Jaeger <aj@suse.de>
49316
49317 * resolv/res_comp.c (dn_skipname): Remove unused variable.
49318
1a544854
UD
493192011-07-06 Marek Polacek <mpolacek@redhat.com>
49320
49321 * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
49322 `status' variable.
49323 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
49324 Likewise.
49325
6f0eec67
UD
493262011-07-04 H.J. Lu <hongjiu.lu@intel.com>
49327
49328 * Makefile (strop-tests): Add strncat.
49329 * string/test-strncat.c: New file.
49330
aae30307
UD
493312011-06-30 Marek Polacek <mpolacek@redhat.com>
49332
49333 * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
49334
c0cfb5eb
UD
493352011-06-21 Andreas Jaeger <aj@suse.de>
49336
49337 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
49338 Copy rule from iconvdata/Makefile.
49339
01636b21
UD
493402011-07-06 Ulrich Drepper <drepper@gmail.com>
49341
49342 [BZ #12922]
49343 * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
49344 but no long options are defined, just return 'W'.
49345
9895c8bc
UD
493462011-06-22 Marek Polacek <mpolacek@redhat.com>
49347
49348 [BZ #9696]
49349 * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
49350
5d4cf042
UD
493512011-07-06 Ulrich Drepper <drepper@gmail.com>
49352
49353 * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
49354 netgroups to read.
960e5535 49355 (innetgr): Likewise.
5d4cf042 49356
751eb97e
RM
493572011-07-05 Roland McGrath <roland@hack.frob.com>
49358
49359 * config.make.in (install_root): Default to $(DESTDIR).
49360
f15f1e45
UD
493612011-07-05 Ulrich Drepper <drepper@gmail.com>
49362
49363 * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
49364
4e34ac6a
RM
493652011-07-02 Roland McGrath <roland@hack.frob.com>
49366
5e9b6af4
RM
49367 * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
49368
84f9ea0f
RM
49369 * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
49370 containing directory rather than embedding absolute directory names.
49371
ea5ee9f7
RM
49372 * scripts/check-local-headers.sh: Rewritten using awk.
49373 Match by word, not by line. Print error messages for matches.
49374 * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
49375
1b74661a
RM
49376 * Makerules [shlib-lds-flags empty]:
49377 ($(common-objpfx)libc_pic.opts): New target.
49378 ($(common-objpfx)libc_pic.os.clean): New target.
49379 ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
49380
49381 * config.make.in (OBJCOPY): New variable.
49382 * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
49383 * configure: Regenerated.
49384
f781ef40
RM
49385 * config.make.in (use-default-link): New variable.
49386 * configure.in (use_default_link): Grok --with-default-link to set it.
49387 * configure: Regenerated.
49388 * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
49389 (shlib-lds, shlib-lds-flags): Define to empty.
49390
2d4fa81e
RM
49391 * Makerules (shlib-lds): New variable.
49392 (shlib-lds-flags): New variable.
49393 (build-shlib, build-moduile, build-module-asneeded): Use it.
49394 ($(common-objpfx)libc.so): Use $(shlib-lds).
49395 ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
49396 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
49397
31fffa6b
RM
49398 * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
49399 DT_FLAGS/DT_FLAGS_1 with zero flags.
49400
4e34ac6a
RM
49401 * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
49402 linker script munging.
49403
fcfc776b
UD
494042011-07-02 Ulrich Drepper <drepper@gmail.com>
49405
49406 * crypt/sha512.h (struct sha512_ctx): Add union to access total also
49407 as 128-bit value.
49408 * crypt/sha512.c (sha512_process_block): Perform total addition using
49409 128-bit if possible.
49410 (__sha512_finish_ctx): Likewise.
49411 * crypt/sha256.h (struct sha256_ctx): Add union to access total also
49412 as 64-bit value.
49413 * crypt/sha256.c (SWAP64): Define.
49414 (sha256_process_block): Perform total addition using 64-bit if
49415 possible.
49416 (__sha256_finish_ctx): Likewise.
49417
99231d9a
UD
494182011-07-01 Ulrich Drepper <drepper@gmail.com>
49419
49420 * nscd/pwdcache.c (cache_addpw): Cleanup. Add branch prediction.
49421 * nscd/initgrcache.c (addinitgroupsX): Likewise.
49422 * nscd/hstcache.c (cache_addhst): Likewise.
49423 * nscd/grpcache.c (cache_addgr): Likewise.
49424 * nscd/aicache.c (addhstaiX): Likewise
49425 * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
49426
445b4a53
TK
494272011-07-01 Thorsten Kukuk <kukuk@suse.de>
49428
49429 * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
49430 * nscd/initgrcache.c (addinitgroupsX): Likewise.
49431 * nscd/hstcache.c (cache_addhst): Likewise.
49432 * nscd/grpcache.c (cache_addgr): Likewise.
49433 * nscd/aicache.c (addhstaiX): Likewise
49434
6d4d8e8e
AS
494352011-07-01 Andreas Schwab <schwab@redhat.com>
49436
49437 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
49438 domain only when needed.
49439
89f654c5
AS
494402011-06-30 Andreas Schwab <schwab@redhat.com>
49441
49442 * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
49443 is always restored.
49444
cf3b23ff
UD
494452011-06-29 Ulrich Drepper <drepper@gmail.com>
49446
49447 * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
49448 are re-adding the entry.
49449 * nscd/servicescache.c (cache_addserv): Likewise.
49450
751626f9
AJ
494512011-06-30 Aurelien Jarno <aurelien@aurel32.net>
49452
49453 * sysdeps/generic/dl-irel.h: fix protection against multiple
49454 inclusions.
49455 * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
49456
9113ea1f
UD
494572011-06-28 Ulrich Drepper <drepper@gmail.com>
49458
5c0b8d90
UD
49459 [BZ #12935]
49460 * malloc/memusage.sh: Fix quoting in message.
49461 * debug/xtrace.sh: Likewise.
49462
9113ea1f
UD
49463 * configure.in: Remove support for --experimental-malloc option, make
49464 it the default.
49465 * config.make.in: Likewise.
49466 * malloc/Makefile: Likewise.
49467
a4172181
AS
494682011-06-27 Andreas Schwab <schwab@redhat.com>
49469
49470 * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
49471 two-byte characters.
49472
78a7eee7
RM
494732011-06-27 Roland McGrath <roland@hack.frob.com>
49474
62bede13
RM
49475 * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
49476 AC_CACHE_CHECK invocation.
49477 * configure: Regenerated.
49478
78a7eee7
RM
49479 * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
49480
5ce33a62
UD
494812011-06-27 Ulrich Drepper <drepper@gmail.com>
49482
034807a9
UD
49483 [BZ #12350]
49484 * nscd/aicache.c (addhstaiX): Restore only RES_USE_INET6
49485 bit from old_res_options.
49486
4902da17
UD
49487 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
49488
5ce33a62
UD
49489 * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
49490 value type for setfct.
49491
c2344f56
L
494922011-06-23 H.J. Lu <hongjiu.lu@intel.com>
49493
49494 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
49495 __gettimeofday instead of gettimeofday.
49496
68468076
UD
494972011-06-26 Ulrich Drepper <drepper@gmail.com>
49498
49499 * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
49500
acb0d739
L
495012011-06-24 H.J. Lu <hongjiu.lu@intel.com>
49502
49503 * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
49504
49505 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
49506 info.
49507
8912479f
L
495082011-06-22 H.J. Lu <hongjiu.lu@intel.com>
49509
49510 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
49511 strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
49512 strcpy-sse2-unaligned strncpy-sse2-unaligned
49513 stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
49514 * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
49515 * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
49516 * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
49517 * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
49518 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
49519 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
49520 * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
49521 * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
49522 * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
49523 (STRCPY): Support SSE2 and SSSE3 versions.
49524
d5495a11
UD
495252011-06-24 Ulrich Drepper <drepper@gmail.com>
49526
49527 [BZ #12874]
49528 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
49529 * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
49530 kernels which artificially limit size of requests.
49531
0b1cbaae
L
495322011-06-22 H.J. Lu <hongjiu.lu@intel.com>
49533
49534 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
49535 strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
49536 strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
49537 * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
49538 * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
49539 * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
49540 * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
49541 * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
49542 * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
49543 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
49544 * sysdeps/i386/i686/multiarch/strcpy.S: New file.
49545 * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
49546 * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
49547 * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
49548 * sysdeps/i386/i686/multiarch/strncpy.S: New file.
49549 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
49550 Enable unaligned load optimization for Intel Core i3, i5 and i7
49551 processors.
49552 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
49553 Define.
49554 (index_Fast_Unaligned_Load): Define.
49555 (HAS_FAST_UNALIGNED_LOAD): Define.
49556
07f494a0
MP
495572011-06-23 Marek Polacek <mpolacek@redhat.com>
49558
49559 * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
49560
fa3fc0fe
UD
495612011-06-22 Ulrich Drepper <drepper@gmail.com>
49562
49563 [BZ #12907]
49564 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
49565 until it is clear that the information is realy needed.
49566 Patch mostly by David Hanisch <david.hanisch@nsn.com>.
49567
e12df166
AS
495682011-06-22 Andreas Schwab <schwab@redhat.com>
49569
49570 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
49571
852eb34d
UD
495722011-06-22 Ulrich Drepper <drepper@gmail.com>
49573
84e2a551
UD
49574 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
49575 /sys/devices/system/cpu/online if it is usable.
49576
852eb34d
UD
49577 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
49578 reading the information from the /proc filesystem to once a second.
49579
6e502e19
UD
495802011-06-21 Andreas Jaeger <aj@suse.de>
49581
49582 * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
49583 NULL after inclusion of kernel headers.
49584
75d39ff2
UD
495852011-06-21 Ulrich Drepper <drepper@gmail.com>
49586
51f9aa6a
UD
49587 * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
49588 calls to internal_setent.
49589
c0244a9d
UD
49590 [BZ #12885]
49591 * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
49592 addresses using gethostbyname4_r ignore IPv4 addresses.
49593
c5e3c2ae
UD
49594 * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
49595 branch using gethostbyname2 is only for AF_INET. Optimize accordingly.
49596
75d39ff2
UD
49597 * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
49598
42675c6f
DM
495992011-06-20 David S. Miller <davem@davemloft.net>
49600
49601 * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
49602 inclusions.
49603 * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
49604
49605 * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
49606 (elf_irel): Use it.
49607 * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
49608 * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
49609 * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
49610 * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
49611 * sysdeps/x86_64/dl-irel.h: Likewise.
49612
49613 * elf/dl-runtime.c: Use elf_ifunc_invoke.
49614 * elf/dl-sym.c: Likewise.
49615
57912a71
UD
496162011-06-15 Ulrich Drepper <drepper@gmail.com>
49617
49618 * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch. We
49619 need to dereference resplen2.
49620
ee22793d
AS
496212011-06-14 Andreas Schwab <schwab@redhat.com>
49622
49623 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
49624
a9e836b0
UD
496252011-06-15 Ulrich Drepper <drepper@gmail.com>
49626
77fb9117
UD
49627 * Makeconfig: Define vardbdir and inst_vardbdir.
49628 * nss/Makefile: Add rules to install db-Makefile.
49629
40c1b22c
UD
49630 * nss/nss_db/db-XXX.c: Cleanup.
49631
9f2da732
UD
49632 * nss/Makefile (libnss_db-dbs): Add db-initgroups.
49633 * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
49634 GLIBC_PRIVATE.
49635 * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
49636 * nss/makedb.c: Implement -g option to specify that value strings
49637 are generated and should not be added to table iterated over for
49638 get*ent calls.
49639 * nss/nss_db/db-initgroups.c: New file.
49640
82e9a1f7
UD
49641 * nss/getent.c: Add support for initgroups lookups through getgrouplist
49642 interface.
49643
c41af17e
UD
49644 * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
49645 (internal_getgrouplist): Adjust to name change.
49646 Update use_initgroups_entry if this is not the first call.
49647 * nss/databases.def: Add initgroups entry.
49648
a9e836b0
UD
49649 * nss/makedb.c (compute_tables): Check result of multiple hash table
49650 sizes to minimize maximum chain length.
49651
2666d441
UD
496522011-06-14 Ulrich Drepper <drepper@gmail.com>
49653
49654 * Versions.def: Add entry for libnss_db.
49655 * shlib-versions: Likewise.
49656 * nss/Makefile: Add rules to build libnss_db.
49657 * nss/Versions: Add libnss_db information. Organize libnss_files
49658 entries better.
49659 * nss/db-Makefile: Add gshadow support. Change rules for the new
49660 makedb progra. Some minor improvements to generate smaller files.
49661 * nss/nss_db/nss_db.h: Move NSS database header data structures to
49662 here from...
49663 * nss/makedb.c: ...here.
49664 Improve database format to be smaller and require less memory at
49665 runtime.
49666 * nss/nss_db/db-XXX.x: Adjust for new database format. Don't use
49667 db anymore.
49668 * nss/nss_db/db-netgrp.c: Likewise.
49669 * nss/nss_db/db-open.c: Likewise.
49670 * nss/nss_files/flies-XXX.x: Adjust comments.
49671 * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
49672 * nss/nss_files/files-grp.c: Likewise.
49673 * nss/nss_files/files-hosts.c: Likewise.
49674 * nss/nss_files/files-network.c: Likewise.
49675 * nss/nss_files/files-proto.c: Likewise.
49676 * nss/nss_files/files-pwd.c: Likewise.
49677 * nss/nss_files/files-rpc.c: Likewise.
49678 * nss/nss_files/files-service.c: Likewise.
49679 * nss/nss_files/files-sgrp.c: Likewise.
49680 * nss/nss_files/files-spwd.c: Likewise.
49681 * nss/nss_db/db-alias.c: Removed.
49682 * nss/nss_db/dummy-db.h: Removed.
49683
9ee76b5a
UD
496842011-06-02 Ulrich Drepper <drepper@gmail.com>
49685
49686 * nss/makedb.c: Rewritten to not use database library.
49687 * nss/Makefile: Update to build new makedb program.
49688
c71ca1f8
AJ
496892011-06-14 Andreas Jaeger <aj@suse.de>
49690
49691 * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
49692 memset declaration.
49693
3154bfb8
UD
496942011-06-10 Andreas Schwab <schwab@redhat.com>
49695
49696 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
49697 tmpbuf.
49698
b350afab
RM
496992011-06-10 Roland McGrath <roland@hack.frob.com>
49700
decd4e50
RM
49701 * Makerules (shlib.lds): Fail if the linker script comes out empty.
49702 * elf/Makefile ($(objpfx)ld.so): Likewise.
49703
5615eaf2
RM
49704 * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
49705 Don't list ld.so twice in dependencies.
49706
49707 * posix/bug-regex31.c: Include <stdlib.h>.
49708
49709 * nscd/hstcache.c (cache_addhst): Remove unused variable.
49710
49711 * nis/nss_compat/compat-spwd.c
49712 (getspent_next_nss_netgr): Remove unused variable.
49713 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
49714
49715 * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
49716 nonmembers" output to use the right array.
49717
49718 * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
49719
49720 * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
49721
49722 * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
49723 * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
49724 * catgets/gencat.c (read_input_file): Likewise.
49725 * locale/programs/locarchive.c (enlarge_archive): Likewise.
49726
49727 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
49728 variable definition inside #if's controlling its use.
49729
49730 * inet/getnetgrent_r.c (innetgr): Remove unused variable.
49731
49732 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
49733
49734 * misc/syslog.c (__vsyslog_chk): Remove unused variable.
49735
49736 * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
49737 unreachable code.
49738
49739 * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
49740
b68e08db
RM
49741 * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
49742 * configure: Regenerated.
49743
b350afab
RM
49744 * Makerules: Revert last change.
49745 * elf/Makefile: Likewise.
49746
28368601
RM
497472011-06-09 Roland McGrath <roland@hack.frob.com>
49748
49749 * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
49750 * elf/Makefile ($(objpfx)librtld.os): Likewise.
49751 (reloc-link): Likewise.
49752
11988f8f
UD
497532011-06-09 Ulrich Drepper <drepper@gmail.com>
49754
49755 * elf/Makefile: Add rules to build pldd.
49756 * elf/pldd.c: New file.
49757 * elf/pldd-xx.c: New file.
49758
e80fab37
UD
497592011-06-07 Ulrich Drepper <drepper@gmail.com>
49760
49761 * version.h: Update for 2.15 development version.
49762
9b849836
DM
497632011-06-07 David S. Miller <davem@davemloft.net>
49764
49765 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
49766 ifuncs.
49767 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
49768 elf_machine_lazy_rel): Likewise.
49769 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
49770 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
49771 elf_machine_lazy_rel): Likewise.
49772 * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
49773 dl_hwcap via passed in argument.
49774 * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
49775 Likewise.
49776
5a31b283
AK
497772011-06-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
49778
49779 * stdlib/longlong.h: Update from GCC. Fix smul_ppmm for S/390.
49780
069e52f8
RM
497812011-06-06 Roland McGrath <roland@hack.frob.com>
49782
49783 [BZ #12849]
49784 * manual/fdl-1.1.texi: New file, verbatim from:
49785 http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
49786 * manual/lgpl-2.1.texi: New file, verbatim from:
49787 http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
49788 * manual/Makefile (licenses): New variable, list those new file names.
49789 (texis): Use it.
49790 (chapters.% top-menu.%): Include $(licenses) with $(appendices).
49791
49792 * manual/fdl.texi: File removed.
49793 * manual/lesser.texi: File removed.
49794 * manual/libc.texinfo (Copying, Documentation License):
49795 Use new @include file names, put @appendix directive before @include.
49796
f16846a5
JJ
497972011-06-04 Jakub Jelinek <jakub@redhat.com>
49798
49799 [BZ #12841]
49800 * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
49801 (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
49802 (mq_open): Add __NTH.
49803
3d29045b
L
498042011-06-02 H.J. Lu <hongjiu.lu@intel.com>
49805
49806 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
49807 Assume Intel Core i3/i5/i7 processor if AVX is available.
49808
8c297311
UD
498092011-05-31 Ulrich Drepper <drepper@gmail.com>
49810
49811 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
49812 typo.
49813
c8fc0c91
UD
498142011-05-31 Andreas Schwab <schwab@redhat.com>
49815
49816 * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
49817 memory. Use alloca_account. Fix memory leak when retrying.
49818
5b27a807
UD
498192011-05-31 Ulrich Drepper <drepper@gmail.com>
49820
356f8bc6
UD
49821 * version.h (RELEASE): Bump for 2.14 release.
49822 * include/features.h (__GLIBC_MINOR__): Bump to 14.
49823
5b27a807
UD
49824 * config.make.in (RANLIB): Remove entry.
49825
01f16ab0
UD
498262011-05-30 Ulrich Drepper <drepper@gmail.com>
49827
41fce8bd
UD
49828 * po/Makefile (po-sed-cmd): Add ksh to extensions.
49829 (libc.pot): Work around missing support for .ksh extension in xgettext.
49830
4769ae77
UD
49831 [BZ #12684]
49832 * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
49833 if both request failed.
49834 (send_dg): In case of server errors clear resplen or *resplen2.
49835
6b1e7d19
UD
49836 [BZ #12454]
49837 * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
49838 when there are multiple maps.
49839 * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
49840 (_dl_fini): Remove test here.
49841
01f16ab0
UD
49842 * elf/rtld.c (dl_main): Don't allow the loader to load itself.
49843
b1ebd700
UD
498442011-05-29 Ulrich Drepper <drepper@gmail.com>
49845
7ae22829
UD
49846 [BZ #12350]
49847 * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
49848 bit from old_res_options.
49849 (gaih_inet): Likewise.
49850
553149f6 49851 [BZ #11099]
18a84741 49852 * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
873ca504
UD
49853 as signed.
49854
652ffab1
UD
49855 * resolv/res_init.c (res_setoptions): Make the code more compact.
49856
16985fd0
UD
49857 [BZ #11558]
49858 * resolv/res_init.c (res_setoptions): Recognize use-vc option and
49859 set RES_USEVC.
49860
0464f746
UD
49861 [BZ #11634]
49862 * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
49863
7d17596c
UD
49864 * malloc/malloc.h: Mark malloc hook variables as deprecated.
49865
cf6bbbd7
UD
49866 [BZ #11781]
49867 * malloc/malloc.h: Declare malloc hook variables as volatile.
49868
13f1ab36
UD
49869 * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
49870 in last patch.
49871
b1ebd700
UD
49872 [BZ #11799]
49873 * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
4997db74 49874 raise in the comment.
80e2212d
UD
49875 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
49876 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
49877 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
b1ebd700 49878
ce67228d
UD
498792011-05-28 Ulrich Drepper <drepper@gmail.com>
49880
8887a920
UD
49881 [BZ #12811]
49882 * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
49883 grow the buffers more if it already has to be sufficient.
49884 (build_wcs_upper_buffer): Likewise.
49885 * posix/regexec.c (check_matching): Likewise.
49886 (clean_state_log_if_needed): Likewise.
49887 (extend_buffers): Don't enlarge buffers beyond size of the input
49888 buffer.
49889 Patches mostly by Emil Wojak <emil@wojak.eu>.
49890 * posix/bug-regex32.c: New file.
49891 * posix/Makefile (tests): Add bug-regex32.
49892
4f031072
UD
49893 * locale/findlocale.c (_nl_find_locale): Return right away if
49894 _nl_explode_name failed.
49895 * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
49896
d0478f0c
UD
49897 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
49898
de81b246
UD
49899 * debug/xtrace.sh: Unify messages.
49900 * malloc/memusage.sh: Likewise.
49901
c738465a
UD
49902 [BZ #12813]
49903 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
49904 time symbol from vDSO. Substitute with vsyscall if not available.
49905 * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
49906 __vdso_time.
49907
f1f929d7
UD
49908 * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
49909 * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
49910 * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
49911 Add sendmmsg and internal_sendmmsg.
49912 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
49913 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
49914 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
49915
ce67228d
UD
49916 * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
49917 * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
49918 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
49919
e57420c6
UD
499202011-05-27 Ulrich Drepper <drepper@gmail.com>
49921
a8509ca5
UD
49922 [BZ #12813]
49923 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
49924 Retrieve getcpu symbol from vDSO. Substitute with vsyscall if not
49925 available.
49926 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
49927 __vdso_getcpu.
49928
e57420c6
UD
49929 [BZ #12814]
49930 * iconvdata/Makefile (tests): Add bug-iconv9.
49931 * iconvdata/bug-iconv9.c: New file.
49932
4d07db15
AS
499332011-05-27 Andreas Schwab <schwab@redhat.com>
49934
49935 [BZ #12814]
49936 * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
49937
ea486f69
JJ
499382011-05-25 Jakub Jelinek <jakub@redhat.com>
49939
49940 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
49941 (struct user_regs_struct): Change intcs field back to cs.
49942
6f038433
UD
499432011-05-25 Ulrich Drepper <drepper@gmail.com>
49944
49945 * po/ja.po: Update from translation team.
49946
67f86a25
UD
499472011-05-23 Ulrich Drepper <drepper@gmail.com>
49948
49949 [BZ #12795]
49950 * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
49951 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
49952
def7fbd6
AS
499532011-05-20 Andreas Schwab <schwab@redhat.com>
49954
49955 * stdlib/longlong.h: Update from GCC.
49956
f50ef8f1
AS
499572011-05-23 Andreas Schwab <schwab@redhat.com>
49958
49959 * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
49960 parameter name.
49961 * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
49962 Add parameter name.
49963 (__sysconf): Pass it down.
49964
de7ce8f1
UD
499652011-05-22 Ulrich Drepper <drepper@gmail.com>
49966
f2962a71
UD
49967 [BZ #12671]
49968 * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
49969 some situations.
49970 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
49971 * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
49972 add in in __libc_use_alloca calls. Adjust callers.
49973 (glob): Use malloc in some situations.
49974
de7ce8f1
UD
49975 * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
49976 and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
49977 pltexit.
49978
aec84f53
UD
499792011-05-21 Ulrich Drepper <drepper@gmail.com>
49980
05bb4a68
UD
49981 * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
49982 and CLOCK_BOOTTIME_ALARM.
49983
7ea72f99
UD
49984 [BZ #12782]
49985 * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
49986 is returned.
49987
7e4afad5
UD
49988 * string/_strerror.c (__strerror_r): Print negative errors as signed
49989 numbers.
49990
8e211fec
UD
49991 [BZ #12777]
49992 * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
49993 (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
49994 * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
49995
f7d82dc9
UD
49996 * configure.in: Fix typo in redirection and correct removal of test
49997 files in two cases.
49998
cc9e536d
UD
49999 [BZ #12788]
50000 * locale/setlocale.c (new_composite_name): Fix test to check for
50001 identical name of all categories.
50002
aec84f53
UD
50003 [BZ #12792]
50004 * libio/filedoalloc.c (local_isatty): New function.
50005 (_IO_file_doallocate): Use local_isatty.
50006 * stdio-common/perror.c (perror): In case a new stream is used
50007 forward the stream error.
50008 * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
50009 error flag.
50010
78e64fdc
RT
500112011-05-20 Ulrich Drepper <drepper@gmail.com>
50012
34a9094f
UD
50013 [BZ #11869]
50014 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
50015 alloca.
50016 * include/alloca.h (extend_alloca_account): Define.
50017
78e64fdc
RT
50018 [BZ #11857]
50019 * posix/regex.h: Fix comments with documentation of user-accessible
50020 fields after compilation and describe correct free'ing of pattern
50021 after re_compile_pattern.
50022 Patch by Reuben Thomas <rrt@sc3d.org>.
50023
457bddfc
RA
500242011-05-18 Ryan S. Arnold <rsa@us.ibm.com>
50025
50026 * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
50027 and -mno-altivec to prevent the compiler from using Altivec and/or
50028 VSX instructions when the corresponding registers are not available.
50029
a4527b51
AS
500302011-05-19 Andreas Schwab <schwab@redhat.com>
50031
50032 * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
50033
ed690b2f
UD
500342011-05-19 Ulrich Drepper <drepper@gmail.com>
50035
50036 * libio/freopen.c (freopen): Use __dup2, not dup2.
50037 * libio/freopen64.c (freopen64): Likewise.
50038
8db73634
L
500392011-05-17 H.J. Lu <hongjiu.lu@intel.com>
50040
50041 [BZ #12775]
50042 * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
50043 * math/Makefile (tests): Add test-powl.
50044 (CFLAGS-test-powl.c): Define.
50045 * math/test-powl.c: New file.
50046
0a197a9d
L
500472011-05-16 H.J. Lu <hongjiu.lu@intel.com>
50048
50049 * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
50050
ee30c380
UD
500512011-05-17 Ulrich Drepper <drepper@gmail.com>
50052
50053 [BZ #11837]
50054 * iconvdata/gb18030.c: Update to GB18020-2005.
50055
6ce75379
UD
500562011-05-16 Ulrich Drepper <drepper@gmail.com>
50057
a4b89fd8
AR
50058 * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
50059 RE_SYNTAX_POSIX_AWK): Update to match recent development.
50060 Patch by Aharon Robbins <arnold@skeeve.com>.
50061
ea389b12
UD
50062 [BZ #11892]
50063 * stdlib/putenv.c (putenv): Don't always create copy of the variable
50064 on the stack.
50065
68a3f91f
UD
50066 [BZ #11895]
50067 * misc/pselect.c (__pselect): Handle timeout value errors hidden
50068 through underflows.
50069
15cc7dd1
UD
50070 [BZ #12766]
50071 * misc/error.c (error_at_line): Ensure file_name and old_file_name
50072 point to strings before performing equality test for error_one_per_line
50073 mode.
50074
f3799213
UD
50075 [BZ #11697]
50076 * login/programs/pt_chown.c (do_pt_chown): Always call chown.
50077
d79a9c94
UD
50078 [BZ #11820]
50079 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
50080 (struct user_fpregs_struct): Avoid __uint*_t types.
50081
56e5eb46
UD
50082 [BZ #6420]
50083 * malloc/mtrace.c (tr_where): Add additional parameter to point to
50084 symbol info. Use it instead of calling _dl_addr locally.
50085 (lock_and_info): New function.
50086 (tr_freehook): Call lock_and_info and pass symbol info as additional
50087 parameter to tr_where.
50088 (tr_mallochook): Likewise.
50089 (tr_reallochook): Likewise.
50090 (tr_memalignhook): Likewise.
50091
6ce75379
UD
50092 * malloc/mtrace.c: Remove support for USE_MTRACE_FILE. It is not
50093 used and couldn't be at all thread-safe.
50094
f8a3b5bf
UD
500952011-05-15 Ulrich Drepper <drepper@gmail.com>
50096
94b7cc37
UD
50097 * libio/freopen.c (freopen): Don't close old file descriptor
50098 before the new one is opened. Instead dup the new file descriptor
50099 to the old one after the new stream is created.
50100 * libio/freopen64.c (freopen64): Likewise.
50101 * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
50102 * libio/fileops.c (_IO_new_file_close_it): Handle new
50103 _IO_FLAGS2_NOCLOSE flag.
50104 (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
50105 If _IO_file_open didn't set FD_CLOEXEC do it after the call.
50106 * libio/oldfileops.c (_IO_old_file_close_it): Handle new
50107 _IO_FLAGS2_NOCLOSE flag.
50108 * include/unistd.h: Add hidden_proto for dup3.
50109 Define __have_dup3.
50110 * io/dup3.c: Define hidden symbol.
50111 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
50112
bd25564e
UD
50113 [BZ #7101]
50114 * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
50115 when an incomplete long option is used.
50116 * posix/tst-getopt_long1.c: New file.
50117 * posix/Makefile (tests): Add tst-getopt_long1.
50118
c84cfef4
UD
50119 [BZ #10138]
50120 * scripts/config.guess: Update from autoconf-2.68.
50121 * scripts/config.sub: Likewise.
50122
3b85df27
UD
50123 [BZ #10157]
50124 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
50125 tests into ...
50126 (has_cpuclock): ...this. New function.
50127 * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
50128 macro here based on has_cpuclock code.
50129
15a856b1
UD
50130 [BZ #10149]
50131 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
50132 First byte (not low byte) is now always NUL.
50133 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
50134
05f399e6
UD
50135 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
50136 Use non-cancelable interfaces.
50137
10a52685 50138 [BZ #9809]
94ecc67d
UD
50139 * locale/iso-639.def: Add entry for Sorani.
50140
f8a3b5bf
UD
50141 [BZ #11901]
50142 * include/stdlib.h: Move include protection to the right place.
50143 Define abort_msg_s. Declare __abort_msg with it.
50144 * stdlib/abort.c (__abort_msg): Adjust type.
50145 * assert/assert.c (__assert_fail_base): New function. Majority
50146 of code from __assert_fail. Allocate memory for __abort_msg with
50147 mmap.
50148 (__assert_fail): Now call __assert_fail_base.
50149 * assert/assert-perr.c: Remove bulk of implementation. Use
50150 __assert_fail_base.
50151 * include/assert.hL Declare __assert_fail_base.
50152 * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
50153 mmap.
50154 * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
50155
1af4e298
UD
501562011-05-14 Ulrich Drepper <drepper@gmail.com>
50157
f8a3b5bf 50158 [BZ #11952]
d26dfc60
MG
50159 [BZ #12453]
50160 * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
50161 until all modules are registered in the DTV.
50162 * elf/Makefile: Add rules to build and run tst-tls19.
50163 * elf/tst-tls19.c: New file.
50164 * elf/tst-tls19mod1.c: New file.
50165 * elf/tst-tls19mod2.c: New file.
50166 * elf/tst-tls19mod3.c: New file.
50167 Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
50168
2fc54d6f
UD
50169 [BZ #12083]
50170 * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
50171 correctly.
50172
98d76b46
UD
50173 [BZ #12601]
50174 * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
50175 two-byte sequence errors.
50176 * iconvdata/Makefile (tests): Add bug-iconv8.
50177 * iconvdata/bug-iconv8.c: New file.
50178
da3c19ef
UD
50179 [BZ #12626]
50180 * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
50181 buf2 definition.
50182
ca408c15
UD
50183 * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
50184
d6f67f7d
UD
50185 [BZ #12432]
50186 * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
50187 (dummy_getcfa): New function.
50188 (init): Get _Unwind_GetCFA address, use dummy if not found.
50189 (backtrace_helper): In recursion check, also check whether CFA changes.
50190 (__backtrace): Completely initialize arg.
50191
1af4e298 50192 * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
0656e90e
UD
50193 storing incomplete byte sequence in state object. Avoid testing for
50194 guaranteed too small input if we know there is enough data available.
1af4e298 50195
da62f81b
AS
501962011-05-11 Andreas Schwab <schwab@redhat.com>
50197
50198 * Makeconfig (+link-pie): Indent.
50199 * Rules (binaries-pie): Define if $(have-fpie) and
50200 $(build-shared).
50201 (binaries-shared): Also filter out $(binaries-pie).
50202 ($(addprefix $(objpfx),$(binaries-pie))): New rule.
50203 * nscd/Makefile (others-pie): Add nscd.
50204 (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
50205 ($(objpfx)nscd): Remove command override.
50206 * login/Makefile (others-pie): Add pt_chown.
50207 ($(objpfx)pt_chown): Remove command override.
50208 * elf/Makefile: Add PIE tests to tests and tests-pie variables and
50209 remove command overrides.
50210
fcabc0f8
UD
502112011-05-13 Ulrich Drepper <drepper@gmail.com>
50212
20030ae6
UD
50213 * libio/tst_putwc.c: Fix error messages.
50214
fcabc0f8
UD
50215 [BZ #12724]
50216 * libio/fileops.c (_IO_new_file_close_it): Always flush when
50217 currently writing and seek to current position when not.
50218 * libio/Makefile (tests): Add bug-fclose1.
50219 * libio/bug-fclose1.c: New file.
50220
320a5dc0
PB
502212011-05-12 Ulrich Drepper <drepper@gmail.com>
50222
50223 [BZ #12511]
50224 * elf/dl-lookup.c (enter): Don't test for copy relocation here and
50225 don't set DF_1_NODELETE here.
50226 (do_lookup_x): When entering new entry test for copy relocation
50227 and if necessary set DF_1_NODELETE flag.
50228 * elf/tst-unique4.cc: New file.
50229 * elf/tst-unique4.h: New file.
50230 * elf/tst-unique4lib.cc: New file.
50231 * elf/Makefile: Add rules to build and run tst-unique4.
50232 Patch by Piotr Bury <pbury@goahead.com>.
50233
22836f52
UD
502342011-05-11 Ulrich Drepper <drepper@gmail.com>
50235
f574184a
UD
50236 [BZ #12052]
50237 * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
50238
e1fb097f
UD
50239 [BZ #12625]
50240 * misc/mntent_r.c (addmntent): Flush the stream after the output
50241
22836f52
UD
50242 [BZ #12393]
50243 * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
50244 (is_trusted_path_normalize): Skip initial colon. Append slash
50245 to empty buffer. Duplicate is_trusted_path code but allow
50246 constructed patch to be prefix.
50247 (is_dst): Allow $ORIGIN followed by /.
50248 (_dl_dst_substitute): Correct clearing of check_for_trusted.
50249 Correct testing of result of is_trusted_path_normalize
50250 (decompose_rpath): Fix warning.
50251
7b3b0b2a
UD
502522011-05-10 Ulrich Drepper <drepper@gmail.com>
50253
50254 [BZ #11257]
50255 * grp/initgroups.c (internal_getgrouplist): When we found the service
50256 list through the initgroups entry in nsswitch.conf do not always
50257 continue on a successful lookup. Don't always use the
eac80ce2 50258 __nss_group_database value if it is set.
7b3b0b2a
UD
50259 * nss/nsswitch.conf (initgroups): Change action for successful db
50260 lookup to continue for compatibility.
50261
2a81eaa5
UD
502622011-05-09 Ulrich Drepper <drepper@gmail.com>
50263
be97a69e
UD
50264 [BZ #11532]
50265 * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
50266 and CP774 modules.
50267 * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
50268 and CP774 modules.
50269 * iconvdata/tst-tables.sh: Likewise.
50270 * iconvdata/cp770.c: New file.
50271 * iconvdata/cp771.c: New file.
50272 * iconvdata/cp772.c: New file.
50273 * iconvdata/cp773.c: New file.
50274 * iconvdata/cp774.c: New file.
50275 * iconvdata/testdata/CP770: New file.
50276 * iconvdata/testdata/CP770..UTF8: New file.
50277 * iconvdata/testdata/CP771: New file.
50278 * iconvdata/testdata/CP771..UTF8: New file.
50279 * iconvdata/testdata/CP772: New file.
50280 * iconvdata/testdata/CP772..UTF8: New file.
50281 * iconvdata/testdata/CP773: New file.
50282 * iconvdata/testdata/CP773..UTF8: New file.
50283 * iconvdata/testdata/CP774: New file.
50284 * iconvdata/testdata/CP774..UTF8: New file.
50285
50286 * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
50287 END CHARMAP line.
50288 * iconvdata/gen-8bit-gap.sh: Likewise.
50289 * iconvdata/gen-8bit.sh: Likewise.
50290
c1e9e399
UD
50291 * locale/iso-639.def: Add ary entry.
50292
24c55fb3 50293 [BZ #11258]
96b4b1b0
UD
50294 * locale/C-translit.h.in: Add U20A1 transliteration.
50295
bdc2f971
KB
50296 [BZ #12178]
50297 * locale/iso-639.def: Add wae entry.
50298 Patch by Kevin Bortis <bortis@translate-wae.ch>.
50299
2952b117
UD
50300 [BZ #12545]
50301 * locale/programs/localedef.c (construct_output_path): Use ssize_t
50302 for n.
50303
2a81eaa5
UD
50304 [BZ #12711]
50305 * locale/C-translit.h.in: Add entry for U20B9.
50306 Patch by pravin.d.s@gmail.com.
50307
28377d1b
UD
503082011-05-08 Ulrich Drepper <drepper@gmail.com>
50309
7fb90fb8
UD
50310 [BZ #12713]
50311 * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
50312 ENAMETOOLONG use generic getcwd.
6fb2dde3
UD
50313 * sysdeps/posix/getcwd.c: Add support to use openat. Make usable
50314 in rtld. Use *stat64.
7fb90fb8 50315 * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
6fb2dde3 50316 Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
7fb90fb8 50317 * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
6fb2dde3
UD
50318 * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
50319 * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
50320 * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
50321 * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
50322 __fstatat64 macros.
7fb90fb8
UD
50323 * include/dirent.h: Add libc_hidden_proto for rewinddir.
50324 * dirent/rewinddir.c: Add libc_hidden_def.
50325 * sysdeps/mach/hurd/rewinddir.c: Likewise.
6fb2dde3 50326 * sysdeps/unix/rewinddir.c: Likewise. Don't do locking outside libc.
7fb90fb8 50327
28377d1b
UD
50328 * include/dirent.h (__alloc_dir): Add flags parameter.
50329 * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
50330 * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
50331 __alloc_dir.
50332 (__alloc_dir): Take new parameter. Don't call fcntl for invocations
50333 from fdopendir if O_CLOEXEC is already set.
50334
66bdbaa4
AM
503352011-03-15 Alan Modra <amodra@gmail.com>
50336
50337 * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
50338 l_tls_firstbyte_offset non-zero. Save padding offset in
50339 l_tls_firstbyte_offset for later use.
50340 * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
50341 freeing static tls block.
50342
95721191
JN
503432011-03-05 Jonathan Nieder <jrnieder@gmail.com>
50344
50345 * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
50346 where #ifdef was intended. The intent is to prevent ARG_MAX from
50347 being defined by the kernel headers.
50348
f87dfb1f
UD
503492011-05-07 Ulrich Drepper <drepper@gmail.com>
50350
50351 [BZ #12734]
50352 * resolv/resolv.h: Define RES_NOTLDQUERY.
50353 * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
50354 no-tld-query and set RES_NOTLDQUERY.
50355 * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
50356 * resolv/res_query.c (__libc_res_nsearch): Backport changes from
50357 modern BIND to search name as TLD unless forbidden.
50358
47c3cd7a
UD
503592011-05-07 Petr Baudis <pasky@suse.cz>
50360 Ulrich Drepper <drepper@gmail.com>
50361
50362 [BZ #12393]
50363 * elf/dl-load.c (fillin_rpath): Move trusted path check...
50364 (is_trusted_path): ...to here.
c1e9ea35 50365 (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
47c3cd7a 50366 (_dl_dst_substitute): Verify expanded $ORIGIN path elements
c1e9ea35 50367 using is_trusted_path_normalize() in setuid scripts.
47c3cd7a 50368
8a35c912
PP
503692011-05-06 Paul Pluzhnikov <ppluzhnikov@google.com>
50370
50371 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
50372 __BEGIN/__END_DECLS.
50373
acd41f47
UD
503742011-05-06 Ulrich Drepper <drepper@gmail.com>
50375
50376 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
50377 NSS_STATUS_NOTFOUND if no record was found.
50378
597df647
AS
503792011-05-05 Andreas Schwab <schwab@redhat.com>
50380
50381 * sunrpc/Makefile (headers): Add rpc/netdb.h.
50382 (headers-not-in-tirpc): Remove rpc/netdb.h
50383 * resolv/netdb.h: Revert last change.
50384
b9af1301
PP
503852011-05-05 Paul Pluzhnikov <ppluzhnikov@google.com>
50386
50387 * Makeconfig (link-libc-static): Use --{start,end}-group to handle
50388 circular dependency between libgcc.a and libc.a.
50389
4e34d5f5
AS
503902011-05-05 Andreas Schwab <schwab@redhat.com>
50391
50392 * resolv/netdb.h: Don't include <rpc/netdb.h>.
50393 * nis/Makefile: Don't install rpcsvc/*.
50394 * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
50395 instead of <rpc/types.h>.
50396 (MAXHOSTNAMELEN): Define.
50397
00ee369c
AS
503982011-05-03 Andreas Schwab <schwab@redhat.com>
50399
50400 * elf/ldconfig.c (add_dir): Don't crash on empty path.
50401
0b592a30
MB
504022011-04-28 Maciej Babinski <mbabinski@google.com>
50403
50404 [BZ #12714]
50405 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
50406 gethostbyname4_r when IPv6 results are possible.
50407
6e04cbbe
UD
504082011-05-02 Ulrich Drepper <drepper@gmail.com>
50409
50410 [BZ #12723]
50411 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
50412 _PC_PIPE_BUF handling.
50413
e4ecafe0
BH
504142011-04-30 Bruno Haible <bruno@clisp.org>
50415
50416 [BZ #12717]
50417 * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
50418 * resolv/netdb.h (getnameinfo): Change type of flags parameter
50419 to 'int'.
50420 * inet/getnameinfo.c (getnameinfo): Likewise.
50421
125ee683
UD
504222011-04-29 Ulrich Drepper <drepper@gmail.com>
50423
50424 * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
50425 to groups setting in database lookup.
50426 * nss/nsswitch.conf: Add initgroups entry.
50427
b722481a
EB
504282011-04-22 Ulrich Drepper <drepper@gmail.com>
50429
50430 [BZ #12685]
50431 * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
50432 mode string.
50433 Patch by Eric Blake <eblake@redhat.com>.
50434
4df46dbd
L
504352011-04-20 H.J. Lu <hongjiu.lu@intel.com>
50436
50437 * sunrpc/Makefile (need-export-routines): Add svc_run.
50438 (routines): Remove svc_run.
50439 ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
50440 * sunrpc/clnt_perr.c (clnt_perrno): Export.
50441 * sunrpc/svc_run.c (svc_run): Likewise.
50442 * sunrpc/svc_udp.c (svcudp_create): Likewise.
50443
e84142d2
UD
504442011-04-21 Ulrich Drepper <drepper@gmail.com>
50445
50446 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
50447 problem in reallocation in last patch.
50448
877175d8
UD
504492011-04-20 Ulrich Drepper <drepper@gmail.com>
50450
50451 * sunrpc/Makefile: Move inclusion of Rules.
50452
ab8eed78
UD
504532011-04-19 Ulrich Drepper <drepper@gmail.com>
50454
50455 * nss/nss_files/files-initgroups.c: New file.
50456 * nss/Makefile (libnss_files-routines): Add files-initgroups.
50457 * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
50458 _nss_files_initgroups_dyn.
50459
e3d8f584
RS
504602011-03-31 Richard Sandiford <richard.sandiford@linaro.org>
50461
50462 * elf/elf.h (R_ARM_IRELATIVE): Define.
50463
af190f45
UD
504642011-04-19 Ulrich Drepper <drepper@gmail.com>
50465
50466 * po/ru.po: Update from translation team.
50467
53cf59ef
UD
504682011-04-17 Ulrich Drepper <drepper@gmail.com>
50469
50470 * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
50471 dependencies.
50472
4c559bcd
MF
504732011-02-06 Mike Frysinger <vapier@gentoo.org>
50474
50475 [BZ #12653]
50476 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
50477 MEMCPY_CHK with USE_AS_BCOPY ifdef check.
50478 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
50479 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
50480 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
50481
4420675c
AS
504822011-03-28 Andreas Schwab <schwab@linux-m68k.org>
50483
50484 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
50485 differing bytes.
50486 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
50487 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
50488 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
50489
75ea32ab
UD
504902011-04-17 Ulrich Drepper <drepper@gmail.com>
50491
50492 [BZ #12420]
50493 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
50494 storing it.
50495 * stdlib/bug-getcontext.c: New file.
50496 * stdlib/Makefile: Add rules to build and run bug-getcontext.
50497
27390476
AK
504982011-04-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
50499
50500 * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
50501 instructions into .machine "z9-109".
50502 * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
50503 * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
50504
10442705
AK
505052011-04-11 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
50506
50507 * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
50508 between environment variables and auxiliary vector.
50509
7b57bfe5
UD
505102011-04-16 Ulrich Drepper <drepper@gmail.com>
50511
50512 * Makefile: Add rules to build linkobj/libc.so.
50513 * include/libc-symbols.h: Define libc_hidden_nolink.
50514 * include/rpc/auth.h: Mark functions which are to be hidden.
50515 * include/rpc/auth_des.h: Likewise.
50516 * include/rpc/auth_unix.h: Likewise.
50517 * include/rpc/clnt.h: Likewise.
50518 * include/rpc/des_crypt.h: Likewise.
50519 * include/rpc/key_prot.h: Likewise.
50520 * include/rpc/pmap_clnt.h: Likewise.
50521 * include/rpc/pmap_prot.h: Likewise.
50522 * include/rpc/pmap_rmt.h: Likewise.
50523 * include/rpc/rpc_msg.h: Likewise.
50524 * include/rpc/svc.h: Likewise.
50525 * include/rpc/svc_auth.h: Likewise.
50526 * include/rpc/xdr.h: Likewise.
50527 * nis/Makefile: Link all DSOs against linkobj/libc.so.
50528 * nss/Makefile: Likewise.
50529 * sunrpc/Makefile: Don't install headers. Build library with normal
50530 entry points. Don't build rpcinfo. Link RPC tests appropriately.
50531 * sunrpc/auth_des.c: Hide exported symbols by default, export some
50532 for the compat linking library. Remove use of INTDEF/INTUSE.
50533 * sunrpc/auth_none.c: Likewise.
50534 * sunrpc/auth_unix.c: Likewise.
50535 * sunrpc/authdes_prot.c: Likewise.
50536 * sunrpc/authuxprot.c: Likewise.
50537 * sunrpc/clnt_gen.c: Likewise.
50538 * sunrpc/clnt_perr.c: Likewise.
50539 * sunrpc/clnt_raw.c: Likewise.
50540 * sunrpc/clnt_simp.c: Likewise.
50541 * sunrpc/clnt_tcp.c: Likewise.
50542 * sunrpc/clnt_udp.c: Likewise.
50543 * sunrpc/clnt_unix.c: Likewise.
50544 * sunrpc/des_crypt.c: Likewise.
50545 * sunrpc/des_soft.c: Likewise.
50546 * sunrpc/get_myaddr.c: Likewise.
50547 * sunrpc/key_call.c: Likewise.
50548 * sunrpc/key_prot.c: Likewise.
50549 * sunrpc/netname.c: Likewise.
50550 * sunrpc/pm_getmaps.c: Likewise.
50551 * sunrpc/pm_getport.c: Likewise.
50552 * sunrpc/pmap_clnt.c: Likewise.
50553 * sunrpc/pmap_prot.c: Likewise.
50554 * sunrpc/pmap_prot2.c: Likewise.
50555 * sunrpc/pmap_rmt.c: Likewise.
50556 * sunrpc/publickey.c: Likewise.
50557 * sunrpc/rpc_cmsg.c: Likewise.
50558 * sunrpc/rpc_common.c: Likewise.
50559 * sunrpc/rpc_dtable.c: Likewise.
50560 * sunrpc/rpc_prot.c: Likewise.
50561 * sunrpc/rpc_thread.c: Likewise.
50562 * sunrpc/rtime.c: Likewise.
50563 * sunrpc/svc.c: Likewise.
50564 * sunrpc/svc_auth.c: Likewise.
50565 * sunrpc/svc_authux.c: Likewise.
50566 * sunrpc/svc_raw.c: Likewise.
50567 * sunrpc/svc_run.c: Likewise.
50568 * sunrpc/svc_simple.c: Likewise.
50569 * sunrpc/svc_tcp.c: Likewise.
50570 * sunrpc/svc_udp.c: Likewise.
50571 * sunrpc/svc_unix.c: Likewise.
50572 * sunrpc/svcauth_des.c: Likewise.
50573 * sunrpc/xcrypt.c: Likewise.
50574 * sunrpc/xdr.c: Likewise.
50575 * sunrpc/xdr_array.c: Likewise.
50576 * sunrpc/xdr_float.c: Likewise.
50577 * sunrpc/xdr_intXX_t.c: Likewise.
50578 * sunrpc/xdr_mem.c: Likewise.
50579 * sunrpc/xdr_rec.c: Likewise.
50580 * sunrpc/xdr_ref.c: Likewise.
50581 * sunrpc/xdr_sizeof.c: Likewise.
50582 * sunrpc/xdr_stdio.c: Likewise.
50583
e6c61494
UD
505842011-04-10 Ulrich Drepper <drepper@gmail.com>
50585
50586 [BZ #12650]
50587 * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
50588 * sysdeps/ia64/dl-tls.h: Likewise.
50589 * sysdeps/powerpc/dl-tls.h: Likewise.
50590 * sysdeps/s390/dl-tls.h: Likewise.
50591 * sysdeps/sh/dl-tls.h: Likewise.
50592 * sysdeps/sparc/dl-tls.h: Likewise.
50593 * sysdeps/x86_64/dl-tls.h: Likewise.
50594 * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
50595
34fe483e
AS
505962011-03-14 Andreas Schwab <schwab@redhat.com>
50597
50598 * elf/dl-load.c (_dl_dst_substitute): When skipping the first
50599 rpath element also skip the following colon.
50600 (expand_dynamic_string_token): Add is_path parameter and pass
50601 down to DL_DST_REQUIRED and _dl_dst_substitute.
50602 (decompose_rpath): Call expand_dynamic_string_token with
50603 non-zero is_path. Ignore empty rpaths.
50604 (_dl_map_object_from_fd): Call expand_dynamic_string_token
50605 with zero is_path.
50606
f12a32e6
AS
506072011-04-08 Andreas Schwab <schwab@linux-m68k.org>
50608
50609 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
50610 Make cancelable.
50611
38a7d692
UD
506122011-04-09 Ulrich Drepper <drepper@gmail.com>
50613
50614 [BZ #12655]
50615 * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
50616 Patch by Filipe David Manana <fdmanana@apache.org>.
50617
e451d22b
AS
506182011-04-07 Andreas Schwab <schwab@redhat.com>
50619
50620 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
50621 Maintain aligned stack.
50622 (CHECK_RSP): Remove unused macro.
50623
dedc7c7b
UD
506242011-04-03 Ulrich Drepper <drepper@gmail.com>
50625
50626 * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
50627 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
50628
94521213
UD
506292011-04-02 Ulrich Drepper <drepper@gmail.com>
50630
50631 * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
50632
8cb700c0 50633 * include/features.h: Mention __USE_XOPEN2K8 in comment.
81489b2e 50634
0354e355
L
506352011-03-26 H.J. Lu <hongjiu.lu@intel.com>
50636
50637 [BZ #12518]
50638 * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
50639 * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
50640 * sysdeps/x86_64/memmove.c: New file.
50641 * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
50642 (memcpy): Renamed to ...
50643 (__new_memcpy): This.
50644 (memcpy): Provide GLIBC_2_14 memcpy.
50645 * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
50646 (memcpy): Provide GLIBC_2_2_5 memcpy.
50647
8593482f
UD
506482011-04-01 Ulrich Drepper <drepper@gmail.com>
50649
50650 [BZ #12631]
50651 * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
50652
81a5726b
AS
506532011-03-30 Andreas Schwab <schwab@redhat.com>
50654
50655 * misc/syncfs.c: New file.
50656 * misc/Makefile (routines): Add syncfs.
50657 * posix/unistd.h: Declare syncfs.
50658 * sysdeps/unix/syscalls.list: Add syncfs.
50659
00e5419f
AS
506602011-04-01 Andreas Schwab <schwab@redhat.com>
50661
50662 * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
50663 open_by_handle_at.
50664 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
50665 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
50666 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
50667 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
50668 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
50669 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
50670 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
50671
748876bf
UD
506722011-04-01 Ulrich Drepper <drepper@gmail.com>
50673
658e451d
UD
50674 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
50675 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
50676 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
50677 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
50678 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
50679 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
50680 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
50681
748876bf
UD
50682 * io/Makefile: Compile fallocate.c, fallocate64.c, and
50683 sync_file_range.c with -fexceptions.
50684 * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
50685 * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
50686 * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
50687 * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
50688 * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
50689 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
50690 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
3167dad0
UD
50691 sync_file_range as cancellation point
50692 * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file. This is
50693 now a wrapper around __call_sync_file_range with cancellation handling.
50694 * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
50695 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this. Change
50696 function name to __call_sync_file_range.
50697 * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
50698 Add call_sync_file_range.
748876bf 50699
6e63d5e1
AS
507002011-04-01 Andreas Schwab <schwab@redhat.com>
50701
50702 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
748876bf 50703 bits/timex.h.
6e63d5e1 50704
46998f74
UD
507052011-04-01 Ulrich Drepper <drepper@gmail.com>
50706
4c1423ed
UD
50707 * iconv/iconv.h: Fix typo in comment.
50708 * io/fcntl.h: Likewise.
50709 * libio/stdio.h: Likewise.
50710 * posix/spawn.h: Likewise.
50711 * posix/unistd.h: Likewise.
50712 * stdlib/stdlib.h: Likewise.
50713 * time/time.h: Likewise.
50714 * wcsmbs/wchar.h: Likewise.
50715
158648c0
UD
50716 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
50717 open_by_handle): Add.
50718 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
50719 and MAX_HANDLE_SZ. Declare name_to_handle_at and open_by_handle.
50720 Augment a few comments.
50721 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
50722 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
50723 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
50724 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
50725 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
50726 * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
50727 open_by_handle.
50728
46998f74
UD
50729 * io/fcntl.h (AT_EMPTY_PATH): Define.
50730
83fe108b
UD
507312011-03-30 Ulrich Drepper <drepper@gmail.com>
50732
50733 * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
50734 * sysdeps/unix/sysv/linux/bits/time.h: New file.
50735 * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
50736 to...
50737 * sysdeps/unix/sysv/linux/bits/timex.h: ...here. New file.
034c4e15
UD
50738 * Versions.def: Add GLIBC_2.14.
50739 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
50740 Export.
83fe108b 50741
bb242059
UD
507422011-03-22 Ulrich Drepper <drepper@gmail.com>
50743
50744 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
50745 round counter.
50746 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
50747
c97a1282
L
507482011-03-20 H.J. Lu <hongjiu.lu@intel.com>
50749
50750 [BZ #12597]
50751 * string/test-strncmp.c (do_page_test): New function.
50752 (check2): Likewise.
50753 (test_main): Call check2.
50754 * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
50755
2a115601
UD
507562011-03-20 Ulrich Drepper <drepper@gmail.com>
50757
50758 [BZ #12587]
50759 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
50760 Handle cache information in CPU leaf 4.
50761 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
50762
8126d904
UD
507632011-03-18 Ulrich Drepper <drepper@gmail.com>
50764
042c49c6 50765 [BZ #12583]
8126d904
UD
50766 * posix/fnmatch.c (fnmatch): Check size of pattern in wide
50767 character representation.
50768 Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
50769
ccfe366e
RA
507702011-03-16 Ryan S. Arnold <rsa@us.ibm.com>
50771
50772 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
50773 END(__isnan) to END(__isnanf) to match function entry point/label
50774 EALIGN(__isnanf,...).
50775
c6e13027
JJ
507762011-03-10 Jakub Jelinek <jakub@redhat.com>
50777
50778 * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
50779
33f85a3f
UD
507802011-03-10 Ulrich Drepper <drepper@gmail.com>
50781
028478fa
UD
50782 [BZ #12510]
50783 * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
50784 copy from the symbol referenced in the relocation to initialize the
50785 used variable.
50786 Patch by Piotr Bury <pbury@goahead.com>.
50787 * elf/Makefile: Add rules to build and tst-unique3.
50788 * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
50789 * elf/tst-unique3.cc: New file.
50790 * elf/tst-unique3.h: New file.
50791 * elf/tst-unique3lib.cc: New file.
50792 * elf/tst-unique3lib2.cc: New file.
50793
33f85a3f
UD
50794 * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
50795
03592fc7
MF
507962011-03-10 Mike Frysinger <vapier@gentoo.org>
50797
50798 * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
50799 $LDFLAGS and -nostdlib -nostartfiles to linking step. Change main
50800 to _start.
03592fc7 50801
6a5ee102
UD
508022011-03-06 Ulrich Drepper <drepper@gmail.com>
50803
50804 * elf/dl-load.c (_dl_map_object): If we are looking for the first
50805 to-be-loaded object along a path to loader is ld.so.
50806
7e4ba49c
HJ
508072011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
50808 Ulrich Drepper <drepper@gmail.com>
50809
50810 * sysdeps/x86_64/memset.S: After aligning destination, code
50811 branches to different locations depending on the value of
50812 misalignment, when multiarch is enabled. Fix this.
50813
508142011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
50815
50816 * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
50817 Set _x86_64_preferred_memory_instruction for AMD processsors.
50818 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
50819 Set bit_Prefer_SSE_for_memop for AMD processors.
50820
13a804de
UD
508212011-03-04 Ulrich Drepper <drepper@gmail.com>
50822
50823 * libio/fmemopen.c (fmemopen): Optimize a bit.
50824
9d25c392
AS
508252011-03-03 Andreas Schwab <schwab@redhat.com>
50826
50827 * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
50828
a5543c6a
RM
508292011-03-03 Roland McGrath <roland@redhat.com>
50830
50831 * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
50832
012d35f7
DM
508332011-02-28 Aurelien Jarno <aurelien@aurel32.net>
50834
7e4ba49c 50835 * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
012d35f7
DM
50836 __bzero_ultra1 instead of __memset_ultra1.
50837
4bff6e01
AS
508382011-02-23 Andreas Schwab <schwab@redhat.com>
50839 Ulrich Drepper <drepper@gmail.com>
50840
50841 [BZ #12509]
50842 * include/link.h (struct link_map): Add l_orig_initfini.
50843 * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
50844 returning unsuccessfully.
50845 * elf/dl-close.c (_dl_close_worker): If this is the last explicit
50846 close of a file loaded at startup, restore the original l_initfini
50847 list.
50848 * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
50849 list, store the pointer.
50850 * elf/Makefile ($(objpfx)noload-mem): New rule.
50851 (noload-ENV): Define.
50852 (tests): Add $(objpfx)noload-mem.
50853 * elf/noload.c: Include <memcheck.h>.
50854 (main): Call mtrace. Close all opened handles.
50855
f2092faf
AS
508562011-02-17 Andreas Schwab <schwab@redhat.com>
50857
50858 [BZ #12454]
50859 * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
50860 dependencies are missing.
50861
6c8a2e88
ST
508622011-02-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
50863
f2092faf 50864 Fix __if_freereq crash: Unlike the generic version which uses free,
6c8a2e88
ST
50865 Hurd needs munmap.
50866 * sysdeps/mach/hurd/ifreq.h: New file.
50867
84a42118
PB
508682011-01-27 Petr Baudis <pasky@suse.cz>
50869 Ulrich Drepper <drepper@gmail.com>
50870
071f805e 50871 [BZ 12445]#
84a42118
PB
50872 * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
50873 to extend_alloca().
50874 * stdio-common/bug23.c: New file.
50875 * stdio-common/Makefile (tests): Add bug23.
50876
e23fe25b
AS
508772010-09-28 Andreas Schwab <schwab@redhat.com>
50878 Ulrich Drepper <drepper@gmail.com>
50879
50880 [BZ #12489]
50881 * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
50882 before performing relro protection. At old place add assertion
50883 to make sure nothing changed.
50884
d3f02e10
NS
508852011-02-17 Nathan Sidwell <nathan@codesourcery.com>
50886 Glauber de Oliveira Costa <glommer@gmail.com>
50887
50888 * elf/elf.h: Add new ARM TLS relocs.
50889
d55fd7a5
RA
508902011-02-16 Ryan S. Arnold <rsa@us.ibm.com>
50891
50892 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
50893 (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
50894 cast from r3.
50895 * sysdeps/wordsize-64/Makefile: New file. Add tst-writev to
50896 'tests' variable.
50897 * sysdeps/wordsize-64/tst-writev.c: New file.
50898
2206397e
RA
508992011-02-15 Ryan S. Arnold <rsa@us.ibm.com>
50900
50901 * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
50902 -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
50903 insns in _dl_start to prevent a TOC reference before relocs are
50904 resolved.
50905
e9433893
UD
509062011-02-15 Ulrich Drepper <drepper@gmail.com>
50907
50908 [BZ #12469]
50909 * Makeconfig: Remove RANLIB definition.
50910 * Makerules: Don't use RANLIB.
50911 * aclocal.m4: Remove ranlib test.
50912 * configure.in: No need to check for ranlib.
50913 * elf/rtld-Rules: Don't use RANLIB.
50914
f75286c6
ST
509152011-02-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
50916
8e31c82d
ST
50917 * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
50918 protection macro.
50919 * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
50920 inclusion protection macro.
50921
f75286c6
ST
50922 * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
50923 SIGRTMIN and SIGRTMAX and print information in that case only when
50924 SIGRTMIN is defined.
50925
c1d0e639
JJ
509262011-02-11 Jakub Jelinek <jakub@redhat.com>
50927
50928 * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
50929 arginfo fn returning -1.
50930
50931 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
50932 and thousands string is zero terminated.
50933
edf9294e
AS
509342011-02-03 Andreas Schwab <schwab@redhat.com>
50935
50936 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
50937 sysdeps/unix/sysv/linux/bits/socket.h.
50938
2b7e92df
ST
509392011-01-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
50940
edf9294e
AS
50941 * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
50942 (__CPU_COUNT): Remove old macros.
50943 (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
50944 (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
50945 (__CPU_ALLOC, __CPU_FREE): Add macros.
2b7e92df
ST
50946 (__sched_cpualloc, __sched_cpufree): Add declarations.
50947
a4c7ea7b
UD
509482011-02-05 Ulrich Drepper <drepper@gmail.com>
50949
50950 * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
50951 (struct datahead): Reuse 32 bits of the alignment for a TTL field.
50952 * nscd/aicache.c (addhstaiX): Return timeout of added value.
50953 (readdhstai): Return value of addhstaiX call.
50954 * nscd/grpcache.c (cache_addgr): Return timeout of added value.
50955 (addgrbyX): Return value returned by cache_addgr.
50956 (readdgrbyname): Return value returned by addgrbyX.
50957 (readdgrbygid): Likewise.
50958 * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
50959 (addpwbyX): Return value returned by cache_addpw.
50960 (readdpwbyname): Return value returned by addhstbyX.
50961 (readdpwbyuid): Likewise.
50962 * nscd/servicescache.c (cache_addserv): Return timeout of added value.
50963 (addservbyX): Return value returned by cache_addserv.
50964 (readdservbyname): Return value returned by addservbyX:
50965 (readdservbyport): Likewise.
50966 * nscd/hstcache.c (cache_addhst): Return timeout of added value.
50967 (addhstbyX): Return value returned by cache_addhst.
50968 (readdhstbyname): Return value returned by addhstbyX.
50969 (readdhstbyaddr): Likewise.
50970 (readdhstbynamev6): Likewise.
50971 (readdhstbyaddrv6): Likewise.
50972 * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
50973 (readdinitgroups): Return value returned by addinitgroupsX.
50974 * nscd/cache.c (readdfcts): Change return value of functions to time_t.
50975 (prune_cache): Keep track of timeout value of re-added entries.
50976 * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
50977 * nscd/nscd.h: Adjust prototypes of readd* functions.
50978
a0bf67cc
RM
509792011-02-04 Roland McGrath <roland@redhat.com>
50980
50981 * nis/nis_server.c (nis_servstate): Use the right name for 0.
50982 (nis_stats): Likewise.
50983 * nis/nis_modify.c (nis_modify): Likewise.
50984 * nis/nis_remove.c (nis_remove): Likewise.
50985 * nis/nis_add.c (nis_add): Likewise.
50986
50987 * elf/dl-object.c (_dl_new_object): Remove unused variable L.
50988
50989 * posix/fnmatch_loop.c: Add some consts.
50990
50991 * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
50992
435b95eb
L
509932011-02-02 H.J. Lu <hongjiu.lu@intel.com>
50994
50995 [BZ #12460]
50996 * config.make.in (config-cflags-novzeroupper): Define.
50997 * configure.in: Substitute libc_cv_cc_novzeroupper.
50998 * elf/Makefile (AVX-CFLAGS): Define.
50999 (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
51000 (CFLAGS-tst-auditmod4a.c): Likewise.
51001 (CFLAGS-tst-auditmod4b.c): Likewise.
51002 (CFLAGS-tst-auditmod6b.c): Likewise.
51003 (CFLAGS-tst-auditmod6c.c): Likewise.
51004 (CFLAGS-tst-auditmod7b.c): Likewise.
51005 * sysdeps/i386/configure.in: Check -mno-vzeroupper.
51006
8517b15e
UD
510072011-02-02 Ulrich Drepper <drepper@gmail.com>
51008
51009 * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
51010 function to the callback.
51011 Patch partly by Jiri Olsa <jolsa@redhat.com>.
51012
10a656fe
AS
510132011-02-02 Andreas Schwab <schwab@redhat.com>
51014
51015 * shadow/sgetspent.c: Check return value of __sgetspent_r instead
51016 of errno.
51017
968dad0a
UD
510182011-01-19 Ulrich Drepper <drepper@gmail.com>
51019
9f94d2ea 51020 [BZ #11724]
968dad0a
UD
51021 * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
51022 of constructors.
51023 * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
51024 of destructors.
51025 (_dl_fini): Don't call _dl_sort_fini if there is only one object.
51026
51027 [BZ #11724]
51028 * elf/Makefile: Add rules to build and run new test.
51029 * elf/tst-initorder.c: New file.
51030 * elf/tst-initorder.exp: New file.
51031 * elf/tst-initordera1.c: New file.
51032 * elf/tst-initordera2.c: New file.
51033 * elf/tst-initordera3.c: New file.
51034 * elf/tst-initordera4.c: New file.
51035 * elf/tst-initorderb1.c: New file.
51036 * elf/tst-initorderb2.c: New file.
51037 * elf/tst-order-a1.c: New file.
51038 * elf/tst-order-a2.c: New file.
51039 * elf/tst-order-a3.c: New file.
51040 * elf/tst-order-a4.c: New file.
51041 * elf/tst-order-b1.c: New file.
51042 * elf/tst-order-b2.c: New file.
51043 * elf/tst-order-main.c: New file.
51044 New test case by George Gensure <werkt0@gmail.com>.
51045
86e92359
UD
510462010-10-01 Andreas Schwab <schwab@redhat.com>
51047
51048 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
51049 decoding ACE if AI_CANONIDN.
51050
5d5732b0
UD
510512011-01-18 Ulrich Drepper <drepper@gmail.com>
51052
51053 * elf/Makefile: Build IFUNC tests unless multi-arch = no.
51054
a77e8cbc
UD
510552011-01-17 Ulrich Drepper <drepper@gmail.com>
51056
6392473f
UD
51057 * version.h (RELEASE): Bump for 2.13 release.
51058 * include/features.h: (__GLIBC_MINOR__): Bump to 13.
51059
620a0529
UD
51060 * io/fcntl.h: Define AT_NO_AUTOMOUNT.
51061
18ba70a5
UD
51062 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
51063 MADV_NOHUGEPAGE.
32465c3e
UD
51064 * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
51065 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
51066 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
51067 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
51068 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
51069 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
51070
c0dafcf1
UD
51071 * posix/getconf.c: Update copyright year.
51072 * catgets/gencat.c: Likewise.
51073 * csu/version.c: Likewise.
51074 * debug/catchsegv.sh: Likewise.
51075 * debug/xtrace.sh: Likewise.
51076 * elf/ldconfig.c: Likewise.
51077 * elf/ldd.bash.in: Likewise.
51078 * elf/sprof.c (print_version): Likewise.
51079 * iconv/iconv_prog.c: Likewise.
51080 * iconv/iconvconfig.c: Likewise.
51081 * locale/programs/locale.c: Likewise.
51082 * locale/programs/localedef.c: Likewise.
51083 * malloc/memusage.sh: Likewise.
51084 * malloc/mtrace.pl: Likewise.
51085 * nscd/nscd.c (print_version): Likewise.
51086 * nss/getent.c: Likewise.
51087
a77e8cbc
UD
51088 * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
51089 PF_CAIF, and PF_ALG.
51090 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
51091
77e8bddf
AS
510922011-01-16 Andreas Schwab <schwab@linux-m68k.org>
51093
1f20b93a
AS
51094 * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
51095 (modules-names): Use them.
51096 (ifunc-test-modules, ifunc-pie-tests): Define.
51097 (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
51098 tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
51099 (test-extras): Likewise.
51100 ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
51101 $(compile-command.c).
51102 ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
51103 (all-built-dso): Define.
51104 (check-textrel.out, check-execstack.out): Depend on it.
51105
77e8bddf
AS
51106 * configure.in: Don't override --enable-multi-arch.
51107
bc425b33
UD
511082011-01-15 Ulrich Drepper <drepper@gmail.com>
51109
51110 [BZ #6812]
51111 * nscd/hstcache.c (tryagain): Define.
51112 (cache_addhst): Return tryagain not notfound for temporary errors.
51113 (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
51114 failed.
51115
794c3ad3
UD
511162011-01-14 Ulrich Drepper <drepper@gmail.com>
51117
70181fdd
UD
51118 [BZ #10563]
51119 * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
51120 to make the syscall.
51121 * sysdeps/unix/sysv/linux/setgroups.c: New file.
51122
794c3ad3
UD
51123 [BZ #12378]
51124 * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
51125 and fall back to matching as normal character if the string ends before
51126 the matching ']' is found. This is what POSIX requires.
51127 * posix/testfnm.c: Adjust test result.
51128 * posix/globtest.sh: Adjust test result. Add new test.
51129 * posix/tst-fnmatch.input: Likewise.
51130 * posix/tst-fnmatch2.c: Add new test.
51131
68dc9497
AS
511322010-12-28 Andreas Schwab <schwab@linux-m68k.org>
51133
51134 * elf/Makefile (check-execstack): Revert last change. Depend on
51135 check-execstack.h.
51136 (check-execstack.h): New target.
51137 (generated): Add check-execstack.h.
51138 * elf/check-execstack.c: Include "check-execstack.h".
51139 (main): Revert last change.
51140 (handle_file): Return zero if GNU_STACK is absent and
51141 DEFAULT_STACK_PERMS doesn't include PF_X.
51142
451f001b
UD
511432011-01-13 Ulrich Drepper <drepper@gmail.com>
51144
cfa28e56
UD
51145 * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
51146 in child fails because the descriptor is already closed.
8cf8ce17
UD
51147 * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
51148 * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
51149 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
cfa28e56 51150
1086d70d
UD
51151 [BZ #12397]
51152 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
51153 syscall.
51154
451f001b
UD
51155 [BZ #10484]
51156 * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
51157 temporary buffer used to handle multi lookups locally.
a85b5cb4 51158 * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
451f001b 51159
08769175
UD
511602011-01-12 Ulrich Drepper <drepper@gmail.com>
51161
51162 * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
51163 loader is ld.so.
51164
5e49c52e
UD
511652011-01-10 Paul Pluzhnikov <ppluzhnikov@google.com>
51166
51167 * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
51168 alignment for SSE2.
51169
60522a5f
UD
511702011-01-12 Ulrich Drepper <drepper@gmail.com>
51171
51172 [BZ #12394]
51173 * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
51174 characters. When rounding increased number of integer digits recompute
51175 number of groups.
51176 * stdio-common/tst-grouping.c: New file.
51177 * stdio-common/Makefile: Add rules to build and run tst-grouping.
51178
f257bbd7
UD
511792011-01-09 Ulrich Drepper <drepper@gmail.com>
51180
51181 * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
51182 __FD_CLR, and __FS_ISSET. gcc generates better code on its own.
51183
51184 * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
51185 void.
51186 * bits/select.h: Likewise.
51187
fa9c15cb
UD
511882011-01-08 Ulrich Drepper <drepper@gmail.com>
51189
51190 * po/ja.po: Update from translation team.
51191
16c2895f
DM
511922011-01-04 David S. Miller <davem@sunset.davemloft.net>
51193
51194 [BZ #11155]
51195 * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
51196 implementation just like for lxstat, fxstatat, et al.
51197
2543fef2
JM
511982010-12-27 Jim Meyering <meyering@redhat.com>
51199
51200 [BZ #12348]
51201 * posix/regexec.c (build_trtable): Return failure indication upon
51202 calloc failure. Otherwise, re_search_internal could infloop on OOM.
51203
98727dbe
UD
512042010-12-25 Ulrich Drepper <drepper@gmail.com>
51205
5bd6dc5c
UD
51206 [BZ #12201]
51207 * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
51208 * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
51209 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
51210 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
51211
97983464
UD
51212 [BZ #12207]
51213 * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
51214
98727dbe
UD
51215 [BZ #12204]
51216 * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
51217 * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
51218
4a531bb0
L
512192010-12-15 H.J. Lu <hongjiu.lu@intel.com>
51220
51221 * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
51222 * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
51223 script has SORT_BY_INIT_PRIORITY.
51224 * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
51225 NO_CTORS_DTORS_SECTIONS is defined.
51226 * elf/soinit.c: Likewise.
51227 * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
51228 NO_CTORS_DTORS_SECTIONS is defined.
51229 * sysdeps/mach/hurd/i386/init-first.c: Likewise.
51230 * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
51231 * sysdeps/sh/init-first.c: Likewise.
51232 * sysdeps/unix/sysv/linux/init-first.c: Likewise.
51233
07eb4b71
UD
512342010-12-24 Ulrich Drepper <drepper@gmail.com>
51235
51236 * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
51237 always use the slow path.
51238
30950a5f
RA
512392010-12-15 Ryan S. Arnold <rsa@us.ibm.com>
51240
51241 * elf/Makefile: (check-execstack): Replace $(native-compile) with a
51242 similar rule which adds the sysdep directories to the header search in
51243 order to pick up the correct platform stackinfo.h.
51244 * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
51245 perform test if it is, otherwise return successfully without testing.
51246 * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
51247 DEFAULT_STACK_PERMS define in stackinfo.h.
51248 * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
51249 defined in stackinfo.h.
51250 * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
51251 DEFAULT_STACK_PERMS defined in stackinfo.h.
51252 * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
51253 * sysdeps/ia64/stackinfo.h: Likewise.
51254 * sysdeps/s390/stackinfo.h: Likewise.
51255 * sysdeps/sh/stackinfo.h: Likewise.
51256 * sysdeps/sparc/stackinfo.h: Likewise.
51257 * sysdeps/x86_64/stackinfo.h: Likewise.
51258 * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
51259 PF_X for powerpc64. Retain PF_X for powerpc32.
51260
db753e2c
UD
512612010-12-19 Ulrich Drepper <drepper@gmail.com>
51262
14b697f7
UD
51263 * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
51264 accurately.
db753e2c
UD
51265 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
51266 GETDENTS_64BIT_ALIGNED.
51267
28300719
UD
512682010-12-14 Ulrich Drepper <dreper@gmail.com>
51269
14b697f7 51270 * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
28300719 51271
4f197237
AS
512722010-12-10 Andreas Schwab <schwab@redhat.com>
51273
dbb0472f
AS
51274 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
51275 _GNU_SOURCE.
51276
4f197237
AS
51277 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
51278 * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
51279 Remove __restrict.
51280 (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
51281 (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
51282
fb88ac72
UD
512832010-12-09 Ulrich Drepper <drepper@gmail.com>
51284
51285 [BZ #11655]
51286 * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
51287 are initialized.
51288
42acbb92
JJ
512892010-12-09 Jakub Jelinek <jakub@redhat.com>
51290
51291 * string/bits/string3.h (memmove, bcopy): Remove __restrict.
51292
c038d98d
UD
512932010-12-03 Ulrich Drepper <drepper@gmail.com>
51294
51295 * po/it.po: Update from translation team.
51296
3a4a2499
L
512972010-12-01 H.J. Lu <hongjiu.lu@intel.com>
51298
51299 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
51300 unused codes.
51301
1e24cf6e
UD
513022010-11-30 Ulrich Drepper <drepper@gmail.com>
51303
51304 * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
51305
a7690819
AS
513062010-11-24 Andreas Schwab <schwab@redhat.com>
51307
51308 * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
51309 specially.
51310 (gaih_getanswer_slice): Likewise.
51311
3bf8d1b1
JJ
513122010-10-20 Jakub Jelinek <jakub@redhat.com>
51313
51314 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
51315
6db52fbb
PB
513162010-05-31 Petr Baudis <pasky@suse.cz>
51317
51318 [BZ #11149]
51319 * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
51320 silently even in the chroot mode.
51321
eaca7569
UD
513222010-11-22 Ulrich Drepper <drepper@gmail.com>
51323
51324 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
51325 last patch a bit. Pretty printing
51326
3056dcdb
UD
513272010-05-31 Petr Baudis <pasky@suse.cz>
51328
51329 [BZ #10085]
51330 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
51331 initialization of skip_initgroups_dyn.
51332
cf7c9078
UD
513332010-11-19 Ulrich Drepper <drepper@gmail.com>
51334
51335 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
51336 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
51337
a1fb5e3e
UD
513382010-11-16 Ulrich Drepper <drepper@gmail.com>
51339
51340 * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
51341
3540d66b
AS
513422010-11-11 Andreas Schwab <schwab@redhat.com>
51343
51344 * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
51345 * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
51346 (tst-fnmatch-ENV): Set MALLOC_TRACE.
51347 ($(objpfx)tst-fnmatch-mem): New rule.
51348 (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
51349 * posix/tst-fnmatch.c (main): Call mtrace.
51350
13b69574
L
513512010-11-11 H.J. Lu <hongjiu.lu@intel.com>
51352
51353 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
51354 Support Intel processor model 6 and model 0x2c.
51355
da93d214
LM
513562010-11-10 Luis Machado <luisgpm@br.ibm.com>
51357
51358 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
51359 signed comparison.
51360
8ca52c6e
L
513612010-11-09 H.J. Lu <hongjiu.lu@intel.com>
51362
51363 [BZ #12205]
51364 * string/test-strncasecmp.c (check_result): New function.
51365 (do_one_test): Use it.
51366 (check1): New function.
51367 (test_main): Use it.
51368 * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
51369 Support strcasecmp and strncasecmp.
51370
69da074d
UD
513712010-11-08 Ulrich Drepper <drepper@gmail.com>
51372
51373 [BZ #12194]
51374 * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
51375 * sysdeps/x86_64/bits/byteswap.h: Likewise.
51376
ff02d528
L
513772010-11-07 H.J. Lu <hongjiu.lu@intel.com>
51378
51379 * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
51380 IFUNC support.
51381 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
51382 memset-x86-64.
51383 * sysdeps/x86_64/multiarch/bzero.S: New file.
51384 * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
51385 * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
51386 * sysdeps/x86_64/multiarch/memset.S: New file.
51387 * sysdeps/x86_64/multiarch/memset_chk.S: New file.
51388 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
51389 Set bit_Prefer_SSE_for_memop for Intel processors.
51390 * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
51391 Define.
51392 (index_Prefer_SSE_for_memop): Define.
51393 (HAS_PREFER_SSE_FOR_MEMOP): Define.
51394
344d0b54
LM
513952010-11-04 Luis Machado <luisgpm@br.ibm.com>
51396
51397 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
51398 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
51399
c0dde15b
UD
514002010-11-03 H.J. Lu <hongjiu.lu@intel.com>
51401
51402 [BZ #12191]
51403 * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
51404 (__x86_64_raw_data_cache_size_half): Likewise.
51405 (__x86_64_raw_shared_cache_size): Likewise.
51406 (__x86_64_raw_shared_cache_size_half): Likewise.
51407
51408 * sysdeps/x86_64/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 (init_cacheinfo): Set __x86_64_raw_data_cache_size,
51413 __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
51414 and __x86_64_raw_shared_cache_size_half. Round
51415 __x86_64_data_cache_size_half, __x86_64_data_cache_size
51416 __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
51417 to multiple of 256 bytes.
51418
0e516e0e
MS
514192010-11-03 Ulrich Drepper <drepper@gmail.com>
51420
51421 [BZ #12167]
51422 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
51423 of inacessible symlinks. Verify result of symlink before returning it.
51424 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
51425 Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
51426
0e012e87
ER
514272010-10-28 Erich Ritz <erichritz@gmail.com>
51428
51429 * math/math.h (isinf): Fix typo in comment.
51430
de0ff7bc
UD
514312010-11-01 Ulrich Drepper <drepper@gmail.com>
51432
51433 * po/da.po: Update from translation team.
51434
fa41c84d
UD
514352010-10-26 Ulrich Drepper <drepper@gmail.com>
51436
51437 * elf/rtld.c (dl_main): Move assertion after the point where rtld map
51438 is added to the list.
51439
f0967738
AK
514402010-10-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
51441 Ulrich Drepper <drepper@gmail.com>
51442
51443 * elf/dl-object.c (_dl_new_object): Don't append the new object to
51444 the global list here. Move code to...
51445 (_dl_add_to_namespace_list): ...here. New function.
51446 * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
51447 * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
51448 * elf/dl-load.c (lose): Don't remove the element from the list.
51449 (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
51450 (_dl_map_object): Likewise.
51451
514522010-10-25 Ulrich Drepper <drepper@gmail.com>
dbf3a069
RL
51453
51454 [BZ #12159]
51455 * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
51456 into all bytes of SSE register.
51457 Patch by Richard Li <richardpku@gmail.com>.
51458
f0967738 514592010-10-24 Ulrich Drepper <drepper@gmail.com>
fdc0f374
UD
51460
51461 [BZ #12140]
51462 * malloc/malloc.c (_int_free): Fill correct number of bytes when
51463 perturbing.
51464
d0b9e94f
MB
514652010-10-20 Michael B. Brutman <brutman@us.ibm.com>
51466
51467 * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
51468 * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
51469 * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
51470 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
51471 * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
51472 submachine.
51473 * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
51474
8e9f92e9
AS
514752010-10-22 Andreas Schwab <schwab@redhat.com>
51476
51477 * include/dlfcn.h (__RTLD_SECURE): Define.
51478 * elf/dl-load.c (_dl_map_object): Remove preloaded parameter. Use
51479 mode & __RTLD_SECURE instead.
51480 (open_path): Rename preloaded parameter to secure.
51481 * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
51482 * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
51483 * elf/dl-deps.c (openaux): Likewise.
51484 * elf/rtld.c (struct map_args): Remove is_preloaded.
51485 (map_doit): Don't use it.
51486 (dl_main): Likewise.
51487 (do_preload): Use __RTLD_SECURE instead of is_preloaded.
51488 (dlmopen_doit): Add __RTLD_SECURE to mode bits.
51489
bc96fbda
AS
514902010-09-09 Andreas Schwab <schwab@redhat.com>
51491
51492 * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
51493 (sysd-rules-targets): Remove duplicates.
51494 * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
51495 rtld-%.$o dependency.
51496
22cd1c9b
AS
514972010-10-18 Andreas Schwab <schwab@redhat.com>
51498
51499 * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
51500 _dl_map_object do it.
51501
18edac48
UD
515022010-10-19 Ulrich Drepper <drepper@gmail.com>
51503
51504 * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
51505 fast fma builtins, define the macros in the C99 standard.
51506 (FP_FAST_FMAF): Likewise.
51507 (FP_FAST_FMAL): Likewise.
51508 * sysdeps/x86_64/bits/mathdef.h: Likewise.
51509
51510 * bits/mathdef.h: Update copyright year.
51511 * sysdeps/powerpc/bits/mathdef.h: Likewise.
51512
d2050124
MM
515132010-10-19 Michael Meissner <meissner@linux.vnet.ibm.com>
51514
51515 * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
51516 builtins, define the macros in the C99 standard.
51517 (FP_FAST_FMAF): Likewise.
51518 (FP_FAST_FMAL): Likewise.
51519 * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
51520 multiply/add.
51521 (FP_FAST_FMAF): Likewise.
51522
475facd1
JJ
515232010-10-15 Jakub Jelinek <jakub@redhat.com>
51524
51525 [BZ #3268]
51526 * math/libm-test.inc (fma_test): Some new testcases.
51527 * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
51528 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
51529 y and infinite z. Do multiplication by C already in long double.
51530 * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
51531 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
51532 y and infinite z. Do bitwise or of inexact bit into u.d.
51533 * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
51534 * sysdeps/i386/fpu/s_fmaf.S: Removed.
51535 * sysdeps/i386/fpu/s_fma.S: Removed.
51536 * sysdeps/i386/fpu/s_fmal.S: Removed.
51537
7c08a05c
JJ
515382010-10-16 Jakub Jelinek <jakub@redhat.com>
51539
51540 [BZ #3268]
51541 * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
51542 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
51543 computation is not scheduled after fetestexcept. Fix value
51544 of minimum denormal long double.
51545
f3f7372d
JJ
515462010-10-14 Jakub Jelinek <jakub@redhat.com>
51547
51548 [BZ #3268]
51549 * math/libm-test.inc (fma_test): Add some more tests.
51550 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
51551 correctly.
51552
14d43591
AS
515532010-10-15 Andreas Schwab <schwab@redhat.com>
51554
51555 * scripts/data/localplt-s390-linux-gnu.data: New file.
51556 * scripts/data/localplt-s390x-linux-gnu.data: New file.
51557
5e908464
JJ
515582010-10-13 Jakub Jelinek <jakub@redhat.com>
51559
51560 [BZ #3268]
51561 * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
51562 * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
51563 instead of dbl-64.
51564 * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
51565 inlines.
51566 * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
51567 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
51568 if one of x and y is very large and the other is subnormal.
51569 * sysdeps/s390/fpu/s_fmaf.c: New file.
51570 * sysdeps/s390/fpu/s_fma.c: New file.
51571 * sysdeps/powerpc/fpu/s_fmaf.S: New file.
51572 * sysdeps/powerpc/fpu/s_fma.S: New file.
51573 * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
51574 * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
51575 * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
51576
515772010-10-12 Jakub Jelinek <jakub@redhat.com>
51578
51579 [BZ #3268]
51580 * math/libm-test.inc (fma_test): Add some more fmaf tests, add
51581 fma tests.
51582 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
51583 * sysdeps/ieee754/dbl-64/s_fma.c: New file.
51584 * sysdeps/i386/i686/multiarch/s_fma.c: Include
51585 sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
51586 * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
51587 * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
51588 * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
51589
b833d51f
UD
515902010-10-12 Ulrich Drepper <drepper@redhat.com>
51591
51592 [BZ #12078]
51593 * posix/regcomp.c (parse_branch): One more memory leak plugged.
51594 * posix/bug-regex31.input: Add test case.
51595
1751705d
UD
515962010-10-11 Ulrich Drepper <drepper@gmail.com>
51597
e9b9cbf5
UD
51598 * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
51599 * posix/bug-regex31.input: New file.
51600
51601 [BZ #12078]
51602 * posix/regcomp.c (parse_branch): Free memory when allocation failed.
51603 (parse_sub_exp): Fix last change, use postorder.
51604
ef06edbe
UD
51605 * posix/bug-regex31.c: New file.
51606 * posix/Makefile: Add rules to build and run bug-regex31.
51607
a129c80d
UD
51608 * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
51609
51610 [BZ #12078]
51611 * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
51612
b76b818e
UD
51613 [BZ #12108]
51614 * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
51615 to have entries in sys_siglist.
51616
1751705d
UD
51617 [BZ #12093]
51618 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
51619 be NULL.
51620
9ff8d36f
JJ
516212010-10-07 Jakub Jelinek <jakub@redhat.com>
51622
51623 [BZ #3268]
51624 * math/libm-test.inc (fma_test): Add 2 fmaf tests.
51625 * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
51626 * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
51627 sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
51628 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
51629 * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
51630 * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
51631 * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
51632 * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
51633 * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
51634 * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
51635 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
51636 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
51637 * math/ftestexcept.c (fetestexcept): Likewise.
51638 * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
51639 * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
51640 * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
51641 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
51642 * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
51643 * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
51644 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
51645
af325969
UD
516462010-10-11 Ulrich Drepper <drepper@gmail.com>
51647
c579b202 51648 [BZ #12107]
af325969
UD
51649 * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
51650 newline.
51651
67a67b95
UD
516522010-10-06 Ulrich Drepper <drepper@gmail.com>
51653
51654 * string/bug-strstr1.c: New file.
51655 * string/Makefile: Add rules to build and run bug-strstr1.
51656
5fb308bc
EB
516572010-10-05 Eric Blake <eblake@redhat.com>
51658
51659 [BZ #12092]
51660 * string/str-two-way.h (two_way_long_needle): Always clear memory
51661 when skipping input due to the shift table.
51662
45db99c7
UD
516632010-10-03 Ulrich Drepper <drepper@gmail.com>
51664
3b111893
UD
51665 [BZ #12005]
51666 * malloc/mcheck.c: Handle large requests.
51667
45db99c7
UD
51668 [BZ #12077]
51669 * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
51670 for strncmp and strncasecmp.
51671 * string/stratcliff.c: Add tests for strcmp and strncmp.
51672 * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
51673
cf7a1eb8
NI
516742010-09-28 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
51675
51676 * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
51677 __set_fpscr.
51678
6484ba5e
AJ
516792010-09-30 Andreas Jaeger <aj@suse.de>
51680
51681 * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
51682 (CGROUP_SUPER_MAGIC): Define.
51683 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
51684 Handle btrfs and cgroup file systems.
51685 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
51686 Likewise.
51687
91c42559
LM
516882010-09-27 Luis Machado <luisgpm@br.ibm.com>
51689
51690 * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
51691 * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
51692
87a97932
AK
516932010-09-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
51694
51695 [BZ #12067]
51696 * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
51697 trying to locate the ELF header.
51698
c21cc9bc
AS
516992010-09-27 Andreas Schwab <schwab@redhat.com>
51700
51701 [BZ #11611]
51702 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
51703 Mask out sign-bit copies when constructing f_fsid.
51704
315970f6
PB
517052010-09-24 Petr Baudis <pasky@suse.cz>
51706
51707 * debug/stack_chk_fail_local.c: Add missing licence exception.
51708 * debug/warning-nop.c: Likewise.
51709
1ac7a2c7
JM
517102010-09-15 Joseph Myers <joseph@codesourcery.com>
51711
51712 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
51713 implementing getdents64 using getdents syscall, set d_type if
51714 __ASSUME_GETDENTS32_D_TYPE.
51715
56801c50
AS
517162010-09-16 Andreas Schwab <schwab@redhat.com>
51717
51718 * elf/dl-close.c (free_slotinfo, free_mem): Move to...
51719 * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
51720
dda51327
UD
517212010-09-21 Ulrich Drepper <drepper@redhat.com>
51722
51723 [BZ #12037]
51724 * posix/unistd.h: Undo change of feature selection for ftruncate from
51725 2010-01-11.
51726
8ffcee4a
UD
517272010-09-20 Ulrich Drepper <drepper@redhat.com>
51728
a545ecd9 51729 * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
8ffcee4a
UD
51730 detection.
51731
e24f0a8b
AS
517322010-09-20 Andreas Schwab <schwab@redhat.com>
51733
51734 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
51735 fanotify_mark.
51736 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
51737
7291c56f
AS
517382010-09-14 Andreas Schwab <schwab@redhat.com>
51739
51740 * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
51741 variables after CHECK_SP call.
51742 * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
51743
bc5fb037
AS
517442010-09-13 Andreas Schwab <schwab@redhat.com>
51745 Ulrich Drepper <drepper@redhat.com>
51746
51747 * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
51748 re-relocationg ld.so.
51749 * elf/dl-support.c (_dl_non_dynamic_init): And here after the
51750 _dl_init_paths call.
51751 * elf/dl-load.c (_dl_init_paths). Don't set GLRO(dl_init_all_dirs)
51752 here anymore.
51753
e66e7419
UD
517542010-09-14 Ulrich Drepper <drepper@redhat.com>
51755
51756 * resolv/res_init.c (__res_vinit): Count the default server we added.
51757
c044aa75
CLT
517582010-09-08 Chung-Lin Tang <cltang@codesourcery.com>
51759 Ulrich Drepper <drepper@redhat.com>
51760
51761 [BZ #11968]
51762 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
51763 (____longjmp_chk): Use %ebx for saving value across system call.
51764 Add unwind info.
51765
32cf4069
AS
517662010-09-06 Andreas Schwab <schwab@redhat.com>
51767
51768 * manual/Makefile: Don't mix pattern rules with normal rules.
51769
817328ee
AS
517702010-09-05 Andreas Schwab <schwab@linux-m68k.org>
51771
51772 * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
51773 operation.
51774 * libio/iofdopen.c (_IO_new_fdopen): Likewise.
51775 * libio/iofopncook.c (_IO_cookie_init): Likewise.
51776 * libio/iovdprintf.c (_IO_vdprintf): Likewise.
51777 * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
51778 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
51779 Likewise.
51780
29fddf61
UD
517812010-09-04 Ulrich Drepper <drepper@redhat.com>
51782
51783 [BZ #11979]
51784 * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
51785 IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
51786
0959ffc9
UD
517872010-09-02 Ulrich Drepper <drepper@redhat.com>
51788
51789 * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
51790 * sysdeps/x86_64/addmul_1.S: Likewise.
51791 * sysdeps/x86_64/lshift.S: Likewise.
51792 * sysdeps/x86_64/mul_1.S: Likewise.
51793 * sysdeps/x86_64/rshift.S: Likewise.
51794 * sysdeps/x86_64/sub_n.S: Likewise.
51795 * sysdeps/x86_64/submul_1.S: Likewise.
51796
ece29840
ST
517972010-09-01 Samuel Thibault <samuel.thibault@ens-lyon.org>
51798
0959ffc9
UD
51799 This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
51800 Define __sched_param instead of SCHED_* and sched_param when
ece29840 51801 <bits/sched.h> is included with __need_schedparam defined.
0959ffc9 51802 * bits/sched.h [__need_schedparam]
ece29840 51803 (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
0959ffc9
UD
51804 [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
51805 (__defined_schedparam): Define to 1.
ece29840
ST
51806 (__sched_param): New structure, identical to sched_param.
51807 (__need_schedparam): Undefine.
51808
e53a31fe
MF
518092010-08-31 Mike Frysinger <vapier@gentoo.org>
51810
fdc0c10d
MF
51811 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
51812 (epoll_create1): Declare.
51813
e53a31fe
MF
51814 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
51815
a726d796
AS
518162010-08-31 Andreas Schwab <schwab@redhat.com>
51817
51818 [BZ #7066]
51819 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
51820 shifting retval into place.
51821
2f3e3dc7
UD
518222010-09-01 Ulrich Drepper <drepper@redhat.com>
51823
f2933da9
UD
51824 * nis/rpcsvc/nis.h: Update copyright notice.
51825 * nis/rpcsvc/nis.x: Likewise.
51826 * nis/rpcsvc/nis_callback.h: Likewise.
51827 * nis/rpcsvc/nis_callback.x: Likewise.
51828 * nis/rpcsvc/nis_object.x: Likewise.
51829 * nis/rpcsvc/nis_tags.h: Likewise.
51830 * nis/rpcsvc/yp.h: Likewise.
51831 * nis/rpcsvc/yp.x: Likewise.
51832 * nis/rpcsvc/ypupd.h: Likewise.
51833 * nis/yp_xdr.c: Likewise.
51834 * nis/ypupdate_xdr.c: Likewise.
51835
2f3e3dc7
UD
51836 * sunrpc/pm_getport.c (__libc_rpc_getport): New function. This is
51837 mainly the body of pmap_getport. Add parameters to specify timeouts.
51838 (pmap_getport): Use __libc_rpc_getport.
51839 * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
51840 * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
51841 * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
51842
f3dcc2f9
AS
518432010-08-31 Andreas Schwab <schwab@linux-m68k.org>
51844
51845 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
51846 fanotify_mark.
51847
6d34eb5b
RM
518482010-08-27 Roland McGrath <roland@redhat.com>
51849
51850 * sysdeps/i386/i686/multiarch/Makefile
51851 (CFLAGS-varshift.c): New variable.
51852
9ea3de11
UD
518532010-08-27 Ulrich Drepper <drepper@redhat.com>
51854
c96d23fc
UD
51855 * sysdeps/i386/i686/multiarch/varshift.S: File removed.
51856 * sysdeps/i386/i686/multiarch/varshift.c: New file.
51857
9ea3de11
UD
51858 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
51859
51860 * sysdeps/x86_64/strlen.S: Minimal code improvement.
51861
623aac7f
L
518622010-08-26 H.J. Lu <hongjiu.lu@intel.com>
51863
51864 * sysdeps/x86_64/strlen.S: Unroll the loop.
51865 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
51866 strlen-sse2 strlen-sse2-bsf.
51867 * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
51868 __strlen_no_bsf if bit_Slow_BSF is set.
51869 (__strlen_sse42): Removed.
51870 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
51871 * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
51872
8b2b7715
RM
518732010-08-25 Roland McGrath <roland@redhat.com>
51874
51875 * sysdeps/x86_64/multiarch/varshift.S: File removed.
51876 * sysdeps/x86_64/multiarch/varshift.c: New file.
51877 * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
51878 * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
51879 * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
51880 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
51881
e73015f2
L
518822010-08-25 H.J. Lu <hongjiu.lu@intel.com>
51883
51884 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
51885 strlen-sse2 strlen-sse2-bsf.
51886 * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
51887 __strlen_sse2_bsf if bit_Slow_BSF is unset.
51888 (__strlen_sse2): Removed.
51889 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
51890 * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
51891 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
51892 bit_Slow_BSF for Atom.
51893 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
51894 (index_Slow_BSF): Define.
51895 (HAS_SLOW_BSF): Define.
51896
df24a73e
UD
518972010-08-25 Ulrich Drepper <drepper@redhat.com>
51898
51899 [BZ #10851]
51900 * resolv/res_init.c (__res_vinit): When no server address at all
51901 is given default to loopback.
51902
f2ac4868
RM
519032010-08-24 Roland McGrath <roland@redhat.com>
51904
09055553
RM
51905 * configure.in: Remove config-name.h generation.
51906 * configure: Regenerated.
51907 * config-name.in: File removed.
51908 * scripts/config-uname.sh: New file.
51909 * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
51910 ($(objdir)config-name.h): New target.
51911
f2ac4868
RM
51912 * sunrpc/rpc_parse.h: Avoid nested comment.
51913
73f27d5e
RH
519142010-08-24 Richard Henderson <rth@redhat.com>
51915 Ulrich Drepper <drepper@redhat.com>
51916 H.J. Lu <hongjiu.lu@intel.com>
51917
51918 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
51919 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
51920 * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
51921 Replace _mm_srli_si128 with __m128i_shift_right. Replace
51922 _mm_alignr_epi8 with _mm_loadu_si128.
51923 * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
51924 * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
51925 (__m128i_shift_right): Removed.
51926 * sysdeps/i386/i686/multiarch/varshift.h: New file.
51927 * sysdeps/i386/i686/multiarch/varshift.S: New file.
51928 * sysdeps/x86_64/multiarch/varshift.h: New file.
51929 * sysdeps/x86_64/multiarch/varshift.S: New file.
51930
84b9230c
MF
519312010-08-21 Mike Frysinger <vapier@gentoo.org>
51932
51933 * configure.in: Move assembler checks to before sysdep dir checking.
51934
9bbd0ddc
PB
519352010-08-20 Petr Baudis <pasky@suse.cz>
51936
51937 * LICENSES: Sync the sunrpc license.
51938
9da4bb31
UD
519392010-08-19 Ulrich Drepper <drepper@redhat.com>
51940
a7ab6ec8
UD
51941 * sunrpc/auth_des.c: Update copyright notice once again.
51942 * sunrpc/auth_none.c: Likewise.
51943 * sunrpc/auth_unix.c: Likewise.
51944 * sunrpc/authdes_prot.c: Likewise.
51945 * sunrpc/authuxprot.c: Likewise.
51946 * sunrpc/bindrsvprt.c: Likewise.
51947 * sunrpc/clnt_gen.c: Likewise.
51948 * sunrpc/clnt_perr.c: Likewise.
51949 * sunrpc/clnt_raw.c: Likewise.
51950 * sunrpc/clnt_simp.c: Likewise.
51951 * sunrpc/clnt_tcp.c: Likewise.
51952 * sunrpc/clnt_udp.c: Likewise.
51953 * sunrpc/clnt_unix.c: Likewise.
51954 * sunrpc/des_crypt.c: Likewise.
51955 * sunrpc/des_soft.c: Likewise.
51956 * sunrpc/get_myaddr.c: Likewise.
51957 * sunrpc/getrpcport.c: Likewise.
51958 * sunrpc/key_call.c: Likewise.
51959 * sunrpc/key_prot.c: Likewise.
51960 * sunrpc/openchild.c: Likewise.
51961 * sunrpc/pm_getmaps.c: Likewise.
51962 * sunrpc/pm_getport.c: Likewise.
51963 * sunrpc/pmap_clnt.c: Likewise.
51964 * sunrpc/pmap_prot.c: Likewise.
51965 * sunrpc/pmap_prot2.c: Likewise.
51966 * sunrpc/pmap_rmt.c: Likewise.
51967 * sunrpc/rpc/auth.h: Likewise.
51968 * sunrpc/rpc/auth_unix.h: Likewise.
51969 * sunrpc/rpc/clnt.h: Likewise.
51970 * sunrpc/rpc/des_crypt.h: Likewise.
51971 * sunrpc/rpc/key_prot.h: Likewise.
51972 * sunrpc/rpc/netdb.h: Likewise.
51973 * sunrpc/rpc/pmap_clnt.h: Likewise.
51974 * sunrpc/rpc/pmap_prot.h: Likewise.
51975 * sunrpc/rpc/pmap_rmt.h: Likewise.
51976 * sunrpc/rpc/rpc.h: Likewise.
51977 * sunrpc/rpc/rpc_des.h: Likewise.
51978 * sunrpc/rpc/rpc_msg.h: Likewise.
51979 * sunrpc/rpc/svc.h: Likewise.
51980 * sunrpc/rpc/svc_auth.h: Likewise.
51981 * sunrpc/rpc/types.h: Likewise.
51982 * sunrpc/rpc/xdr.h: Likewise.
51983 * sunrpc/rpc_clntout.c: Likewise.
51984 * sunrpc/rpc_cmsg.c: Likewise.
51985 * sunrpc/rpc_common.c: Likewise.
51986 * sunrpc/rpc_cout.c: Likewise.
51987 * sunrpc/rpc_dtable.c: Likewise.
51988 * sunrpc/rpc_hout.c: Likewise.
51989 * sunrpc/rpc_main.c: Likewise.
51990 * sunrpc/rpc_parse.c: Likewise.
51991 * sunrpc/rpc_parse.h: Likewise.
51992 * sunrpc/rpc_prot.c: Likewise.
51993 * sunrpc/rpc_sample.c: Likewise.
51994 * sunrpc/rpc_scan.c: Likewise.
51995 * sunrpc/rpc_scan.h: Likewise.
51996 * sunrpc/rpc_svcout.c: Likewise.
51997 * sunrpc/rpc_tblout.c: Likewise.
51998 * sunrpc/rpc_util.c: Likewise.
51999 * sunrpc/rpc_util.h: Likewise.
52000 * sunrpc/rpcinfo.c: Likewise.
52001 * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
52002 * sunrpc/rpcsvc/key_prot.x: Likewise.
52003 * sunrpc/rpcsvc/klm_prot.x: Likewise.
52004 * sunrpc/rpcsvc/mount.x: Likewise.
52005 * sunrpc/rpcsvc/nfs_prot.x: Likewise.
52006 * sunrpc/rpcsvc/nlm_prot.x: Likewise.
52007 * sunrpc/rpcsvc/rex.x: Likewise.
52008 * sunrpc/rpcsvc/rstat.x: Likewise.
52009 * sunrpc/rpcsvc/rusers.x: Likewise.
52010 * sunrpc/rpcsvc/sm_inter.x: Likewise.
52011 * sunrpc/rpcsvc/spray.x: Likewise.
52012 * sunrpc/rpcsvc/yppasswd.x: Likewise.
52013 * sunrpc/rtime.c: Likewise.
52014 * sunrpc/svc.c: Likewise.
52015 * sunrpc/svc_auth.c: Likewise.
52016 * sunrpc/svc_authux.c: Likewise.
52017 * sunrpc/svc_raw.c: Likewise.
52018 * sunrpc/svc_run.c: Likewise.
52019 * sunrpc/svc_simple.c: Likewise.
52020 * sunrpc/svc_tcp.c: Likewise.
52021 * sunrpc/svc_udp.c: Likewise.
52022 * sunrpc/svc_unix.c: Likewise.
52023 * sunrpc/svcauth_des.c: Likewise.
52024 * sunrpc/xcrypt.c: Likewise.
52025 * sunrpc/xdr.c: Likewise.
52026 * sunrpc/xdr_array.c: Likewise.
52027 * sunrpc/xdr_float.c: Likewise.
52028 * sunrpc/xdr_mem.c: Likewise.
52029 * sunrpc/xdr_rec.c: Likewise.
52030 * sunrpc/xdr_ref.c: Likewise.
52031 * sunrpc/xdr_sizeof.c: Likewise.
52032 * sunrpc/xdr_stdio.c: Likewise.
52033
9da4bb31
UD
52034 * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
52035 handling.
52036
bdaa77bc
AS
520372010-08-19 Andreas Schwab <schwab@redhat.com>
52038
52039 * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
52040
fe2f79db
LM
520412010-08-19 Luis Machado <luisgpm@br.ibm.com>
52042
52043 * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
52044 * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
52045 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
52046 * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
52047 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
52048 * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
52049 * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
52050 * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
52051 * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
52052 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
52053 * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
52054 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
52055 * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
52056 * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
52057
b9b42ee0
AB
520582010-07-26 Anton Blanchard <anton@samba.org>
52059
52060 * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
52061 * malloc/arena.c (heap_trim): Likewise.
52062
1c06ba31
UD
520632010-08-16 Ulrich Drepper <drepper@redhat.com>
52064
52065 * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
52066 here. Not...
52067 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
52068 * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
52069
f8392f40
L
520702010-08-12 H.J. Lu <hongjiu.lu@intel.com>
52071
52072 * sysdeps/i386/elf/Makefile: New file.
52073
3162f12e
AS
520742010-08-14 Andreas Schwab <schwab@linux-m68k.org>
52075
52076 * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
52077 from fanotify_init.
52078 * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
52079 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
52080
28c90b2c
UD
520812010-08-15 Ulrich Drepper <drepper@redhat.com>
52082
52083 * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
52084 of strncasecmp_l.
1feccb6c 52085 * sysdeps/multiarch/strcmp.S: Likewise.
28c90b2c 52086
ca6bb004
UD
520872010-08-14 Ulrich Drepper <drepper@redhat.com>
52088
e9f82e0d
UD
52089 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
52090 strncase_l-nonascii.
52091 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
52092 Add strncase_l-ssse3.
52093 * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
52094 * sysdeps/x86_64/strcmp.S: Likewise.
52095 * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
52096 * sysdeps/x86_64/multiarch/strncase_l.S: New file.
52097 * sysdeps/x86_64/strncase.S: New file.
52098 * sysdeps/x86_64/strncase_l-nonascii.c: New file.
52099 * sysdeps/x86_64/strncase_l.S: New file.
52100 * string/Makefile (strop-tests): Add strncasecmp.
52101 * string/test-strncasecmp.c: New file.
52102
52103 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
52104 warning.
52105
ca6bb004
UD
52106 * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
52107 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
52108
052fa7b3
AS
521092010-08-14 Andreas Schwab <schwab@linux-m68k.org>
52110
52111 * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
52112
962dba78
UD
521132010-08-12 Ulrich Drepper <drepper@redhat.com>
52114
52115 * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
52116 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
52117 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
52118
bebff237
AM
521192010-05-01 Alan Modra <amodra@gmail.com>
52120
52121 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
52122 * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
52123 * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
52124 * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
52125 * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
52126 tidying. Don't tail-call __sigjmp_save for static lib.
52127 * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
52128 save location.
52129 (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
52130 (CALL_MCOUNT): Add eh info, and nop after bl.
52131 (TAIL_CALL_SYSCALL_ERROR): New macro.
52132 (PSEUDO_RET): Use it.
52133 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
52134 Correct save location of integer regs and cr.
52135 (_dl_profile_resolve): Correct cr save location. Delete nops
52136 after bl when SHARED. Reduce cfi size a little by better
52137 placement of cfi directives.
52138 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
52139 make a stack frame. Instead use parm save area as a temp.
52140 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
52141 make a stack frame. Use TAIL_CALL_SYSCALL_ERROR.
52142 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
52143 Don't make a stack frame for parent, use parm save area.
52144 Increase child stack frame to 112 bytes. Don't save unused reg,
52145 and adjust reg usage. Set up cfi on error recovery and
52146 epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
52147 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
52148 (__makecontext): Add dummy nop after jump to exit.
52149 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
52150 Use correct parm save area and cr save, reduce stack frame.
52151 Correct cfi for possible PSEUDO_RET frame setup.
52152 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
52153 Branch to local label emitted by PSEUDO_RET rather than
52154 __syscall_error.
52155
02637374
AS
521562010-08-12 Andreas Schwab <schwab@redhat.com>
52157
52158 [BZ #11904]
52159 * locale/programs/locale.c (print_assignment): New function.
52160 (show_locale_vars): Use it.
52161
c3e2f19b
UD
521622010-08-11 Ulrich Drepper <drepper@redhat.com>
52163
3cdaa6ad
UD
52164 * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
52165 field.
52166 (struct statfs64): Likewise.
52167 (_STATFS_F_FLAGS): Define.
52168 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
52169 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
52170 Don't define if __ASSUME_STATFS_F_FLAGS is defined.
52171 (ST_VALID): Define locally.
52172 (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
52173 __statvfs_getflags, use the provided value.
52174 * sysdeps/unix/sysv/linux/kernel-features.h: Define
52175 __ASSUME_STATFS_F_FLAGS.
52176
754f7da3
UD
52177 * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
52178
10b3bedc
UD
52179 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
52180 Add sys/fanotify.h.
52181 * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
52182 fanotify_mask for GLIBC_2.13.
52183 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
52184 fanotify_init and fanotify_mark.
52185 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
52186 * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
52187
c08fb0d7
UD
52188 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
52189 Add prlimit.
52190 * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
52191 prlimit64 for GLIBC_2.13.
52192 * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
52193 prlimit64.
52194 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
52195 syscall.
52196 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
52197 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
52198 * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
52199 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
52200 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise. Also
52201 add prlimit alias.
52202 * sysdeps/unix/sysv/linux/prlimit.c: New file.
52203
15bac72b
UD
52204 [BZ #11903]
52205 * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
52206 Patch by Evgeni Bikov <bikovevg@iitp.ru>.
52207
c3e2f19b
UD
52208 * nss/Makefile: Add rules to build and run tst-nss-test1.
52209 * shlib-versions: Add entry for libnss_test1.
52210 * nss/nss_test1.c: New file.
52211 * nss/tst-nss-test1.c: New file.
52212
52213 * nss/nsswitch.c (__nss_database_custom): Define new variable.
52214 (__nss_configure_lookup): Set appropriate entry in
52215 __nss_configure_lookup to true.
52216 * nss/nsswitch.h: Define enum with indeces of databases in
52217 databases and __nss_database_custom arrays. Declare
52218 __nss_database_custom.
52219 * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
52220 to avoid using nscd when custom rules are installed.
52221 * nss/getXXbyYY_r.c: Likewise.
52222 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
52223
52224 * nss/nss_files/files-parse.c: Whitespace fixes.
52225
f15ce4d8
UD
522262010-08-09 Ulrich Drepper <drepper@redhat.com>
52227
52228 [BZ #11883]
52229 * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
52230 * posix/fnmatch_loop.c: Likewise.
52231
d22e4cc9
AK
522322010-07-17 Andi Kleen <ak@linux.intel.com>
52233
52234 * sysdeps/i386/i386-mcount.S (__fentry__): Define.
52235 * sysdeps/x86_64/_mcount.S (__fentry__): Define.
52236 * stdlib/Versions (__fentry__): Add for GLIBC 2.13
52237 * Versions.def [GLIBC_2.13]: Add.
52238
805bc17d
UD
522392010-08-06 Ulrich Drepper <drepper@redhat.com>
52240
52241 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
52242 Also fail if tpwd after pwuid call is NULL.
52243
5a42321d
ST
522442010-07-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
52245
52246 * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
52247 when converting to ms.
52248
fd3ebeda
ST
522492010-06-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
52250
52251 * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
52252 EOPNOTSUPP errors with ENOTTY.
52253 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
52254 EOPNOTSUPP errors with ENOTTY.
52255
73507d3a
UD
522562010-07-31 Ulrich Drepper <drepper@redhat.com>
52257
52258 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
52259 Add strcasecmp_l-ssse3.
52260 * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
52261 strcasecmp.
52262 * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
52263 * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
52264 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
52265
fe36dd02
UD
522662010-07-30 Ulrich Drepper <drepper@redhat.com>
52267
66f6765a
UD
52268 * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
52269
42e08a54
UD
52270 * string/Makefile (strop-tests): Add strcasecmp.
52271 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
52272 strcasecmp_l-nonascii.
52273 (gen-as-const-headers): Add locale-defines.sym.
52274 * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
52275 * sysdeps/x86_64/strcasecmp.S: New file.
52276 * sysdeps/x86_64/strcasecmp_l.S: New file.
52277 * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
52278 * sysdeps/x86_64/locale-defines.sym: New file.
52279 * string/test-strcasecmp.c: New file.
52280
fe36dd02
UD
52281 * string/test-strcasestr.c: Test both ends of the range of characters.
52282 * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
52283
48cbc0d6
RM
522842010-07-29 Roland McGrath <roland@redhat.com>
52285
76e6d6bc 52286 [BZ #11856]
48cbc0d6
RM
52287 * manual/locale.texi (Yes-or-No Questions): Fix example code.
52288
880113d9
UD
522892010-07-27 Ulrich Drepper <drepper@redhat.com>
52290
52291 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
52292 for ld.so.
52293
deb9cabb
AS
522942010-07-27 Andreas Schwab <schwab@redhat.com>
52295
52296 * manual/memory.texi (Malloc Tunable Parameters): Document
52297 M_PERTURB.
52298
1c7570ff
RM
522992010-07-26 Roland McGrath <roland@redhat.com>
52300
52301 [BZ #11840]
52302 * configure.in (-fgnu89-inline check): Set and substitute
52303 gnu89_inline, not libc_cv_gnu89_inline.
52304 * configure: Regenerated.
52305 * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
52306
24fb0f88
UD
523072010-07-26 Ulrich Drepper <drepper@redhat.com>
52308
52309 * string/test-strnlen.c: New file.
52310 * string/Makefile (strop-tests): Add strnlen.
52311 * string/tester.c (test_strnlen): Add a few more test cases.
52312 * string/tst-strlen.c: Better error reporting.
52313
52314 * sysdeps/x86_64/strnlen.S: New file.
52315
8e96b93a
UD
523162010-07-24 Ulrich Drepper <drepper@redhat.com>
52317
52318 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
52319 lower-latency instructions.
52320
dbc676d4
UD
523212010-07-23 Ulrich Drepper <drepper@redhat.com>
52322
52323 * string/test-strcasestr.c: New file.
52324 * string/test-strstr.c: New file.
52325 * string/Makefile (strop-tests): Add strstr and strcasestr.
52326 * string/str-two-way.h: Don't undefine MAX.
52327 * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
52328
f6a31e0e
AS
523292010-07-21 Andreas Schwab <schwab@redhat.com>
52330
52331 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
52332 strcasestr-nonascii.
52333 (CFLAGS-strcasestr-nonascii.c): Define.
52334 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
52335 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
52336 Remove unused attribute.
52337
5dbc3b6c
RM
523382010-07-20 Roland McGrath <roland@redhat.com>
52339
52340 * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
52341 dl_hwcap_mask as well as dl_hwcap. Without this, dsocaps matching in
52342 ld.so.cache was broken. With it, there is no way to disable dsocaps
52343 like LD_HWCAP_MASK can disable hwcaps.
52344
23d101d8
EPM
523452010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
52346
52347 * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
52348
cc9f2e47
UD
523492010-07-16 Ulrich Drepper <drepper@redhat.com>
52350
52351 * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
52352 call in strcasestr.
52353 * sysdeps/x86_64/multiarch/strcasestr.c: Declare
52354 __strcasestr_sse42_nonascii.
52355 * sysdeps/x86_64/multiarch/Makefile: Add rules to build
52356 strcasestr-nonascii.c.
52357 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
52358
77c1b069
LM
523592010-06-15 Luis Machado <luisgpm@br.ibm.com>
52360
52361 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
52362 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
52363 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
52364 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
52365
440566c3
UD
523662010-07-09 Ulrich Drepper <drepper@redhat.com>
52367
52368 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
52369 fcntl.
52370
5be9d05d
AS
523712010-07-06 Andreas Schwab <schwab@redhat.com>
52372
c30b7ee2 52373 [BZ #11577]
5be9d05d
AS
52374 * elf/dl-version.c (match_symbol): Don't pass NULL occation to
52375 dl_signal_cerror.
52376
8a492a67
UD
523772010-07-06 Ulrich Drepper <drepper@redhat.com>
52378
52379 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
52380 _PC_PIPE_BUF using F_GETPIPE_SZ.
52381
713df3d5
RM
523822010-07-05 Roland McGrath <roland@redhat.com>
52383
52384 * manual/arith.texi (Rounding Functions): Fix rint description
52385 implicit in round description.
52386
702e8f14
UD
523872010-07-02 Ulrich Drepper <drepper@redhat.com>
52388
52389 * elf/Makefile: Fix linking for a few tests to make recent linker
52390 happy.
52391
52ed8be9
AS
523922010-06-30 Andreas Schwab <schwab@redhat.com>
52393
52394 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
52395 $(common-objpfx)libc_nonshared.a.
52396
f47c9a11
LM
523972010-06-21 Luis Machado <luisgpm@br.ibm.com>
52398
52399 * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
52400 * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
52401 * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
52402 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
52403 * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
52404 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
52405 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
52406 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
52407 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
52408 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
52409 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
52410 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
52411 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
52412 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
52413 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
52414 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
52415 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
52416 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
52417 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
52418 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
52419 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
52420 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
52421 * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
52422 * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
52423 * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
52424 * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
52425 * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
52426 * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
52427 * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
52428 * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
52429 * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
52430 * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
52431 * sysdeps/powerpc/powerpc32/power7/Implies: New file.
52432 * sysdeps/powerpc/powerpc64/power7/Implies: New file.
52433 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
52434 * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
52435 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
52436 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
52437 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
52438 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
52439 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
52440 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
52441 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
52442 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
52443 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
52444 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
52445 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
52446 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
52447
6fb8cbcb
L
524482010-06-25 H.J. Lu <hongjiu.lu@intel.com>
52449
52450 * debug/memmove_chk.c (__memmove_chk): Renamed to ...
52451 (MEMMOVE_CHK): ...this. Default to __memmove_chk.
52452 * string/memmove.c (memmove): Renamed to ...
52453 (MEMMOVE): ...this. Default to memmove.
52454 * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
52455 * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
52456 (END_CHK): Define.
52457 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
52458 memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
52459 mempcpy-ssse3-back memmove-ssse3-back.
52460 * sysdeps/x86_64/multiarch/bcopy.S: New file .
52461 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
52462 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
52463 * sysdeps/x86_64/multiarch/memcpy.S: New file.
52464 * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
52465 * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
52466 * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
52467 * sysdeps/x86_64/multiarch/memmove.c: New file.
52468 * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
52469 * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
52470 * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
52471 * sysdeps/x86_64/multiarch/mempcpy.S: New file.
52472 * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
52473 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
52474 Define.
52475 (index_Fast_Copy_Backward): Define.
52476 (HAS_ARCH_FEATURE): Define.
52477 (HAS_FAST_REP_STRING): Define.
52478 (HAS_FAST_COPY_BACKWARD): Define.
52479
4e733bac 524802010-06-21 Andreas Schwab <schwab@redhat.com>
e35fcef8
AS
52481
52482 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
52483 Restore proper fallback handling.
52484
63c4ed22
UD
524852010-06-19 Ulrich Drepper <drepper@redhat.com>
52486
ac2b484c
UD
52487 [BZ #11701]
52488 * posix/group_member.c (__group_member): Correct checking loop.
52489
63c4ed22
UD
52490 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
52491 OOM in getpwuid_r correctly. Return error number when the caller
52492 should return, otherwise -1.
52493 (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
52494 call returning > 0 value.
52495 * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
52496
765ade4b
AS
524972010-06-07 Andreas Schwab <schwab@redhat.com>
52498
52499 * dlfcn/Makefile: Remove explicit dependencies on libc.so and
52500 libc_nonshared.a from targets in modules-names.
52501
80da2e09
KS
525022010-06-02 Kirill A. Shutemov <kirill@shutemov.name>
52503
52504 * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
52505 requires it.
52506
158db122
LM
525072010-06-10 Luis Machado <luisgpm@br.ibm.com>
52508
52509 * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
52510 * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
52511 * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
52512 * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
52513
caa78cf8
AS
525142010-06-02 Andreas Schwab <schwab@redhat.com>
52515
52516 * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
52517
b2ef2c01
UD
525182010-06-14 Ulrich Drepper <drepper@redhat.com>
52519
52520 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
52521 and F_GETPIPE_SZ.
52522 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
52523 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
52524 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
52525 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
52526 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
52527 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
52528
fbd643b6
RM
525292010-06-14 Roland McGrath <roland@redhat.com>
52530
52531 * manual/libc.texinfo (@copying): Change to GFDL v1.3.
52532
f32f2869
JJ
525332010-06-07 Jakub Jelinek <jakub@redhat.com>
52534
52535 * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
52536 __REDIRECT followed by __THROW.
52537 * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
52538 * posix/getopt.h (getopt): Likewise.
52539
2a50c078
EPM
525402010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
52541
52542 * hurd/lookup-at.c (__file_name_lookup_at): Accept
52543 AT_SYMLINK_FOLLOW in AT_FLAGS. Fail with EINVAL if both
52544 AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
52545 in AT_FLAGS.
52546 * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
52547 * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
52548
eb5ad2eb
LM
525492010-05-28 Luis Machado <luisgpm@br.ibm.com>
52550
52551 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
52552
3c88fe1e
L
525532010-05-26 H.J. Lu <hongjiu.lu@intel.com>
52554
52555 [BZ #11640]
52556 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
52557 Properly check family and model.
52558
d2f73151
TY
525592010-05-26 Takashi Yoshii <takashi.yoshii.zj@renesas.com>
52560
52561 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
52562
ebd2e13d
LM
525632010-05-24 Luis Machado <luisgpm@br.ibm.com>
52564
52565 * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
52566
b32b8b45
UD
525672010-05-21 Ulrich Drepper <drepper@redhat.com>
52568
52569 * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
52570 symbol reference.
52571
9acbe24d
AS
525722010-05-19 Andreas Schwab <schwab@redhat.com>
52573
52574 * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
52575 symbol reference.
52576
f0ccf6ea
AS
525772010-05-21 Andreas Schwab <schwab@redhat.com>
52578
3d04ff3a
AS
52579 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
52580 and internal_recvmmsg.
52581 * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
52582 * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
52583 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
52584 * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
52585
f0ccf6ea
AS
52586 * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
52587 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
52588 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
52589
5b08ac57
AS
525902010-05-20 Andreas Schwab <schwab@redhat.com>
52591
52592 * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
52593
4828935d
LM
525942010-05-17 Luis Machado <luisgpm@br.ibm.com>
52595
52596 POWER7 optimizations.
52597 * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
52598 * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
52599
373d545e
UD
526002010-05-19 Ulrich Drepper <drepper@redhat.com>
52601
52602 * version.h: Update for 2.13 development version.
52603
21a2b1ae
AS
526042010-05-12 Andrew Stubbs <ams@codesourcery.com>
52605
52606 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
52607 exceptions. Return 0.
52608
3f7dcb2b
RM
526092010-05-07 Roland McGrath <roland@redhat.com>
52610
52611 * elf/ldconfig.c (main): Add a const.
52612
5f24d53a 526132010-05-06 Ulrich Drepper <drepper@redhat.com>
70c9476e 52614
a160f8d8
UD
52615 * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
52616 (args_options): Add no-idn option.
52617 (ahosts_keys_int): Add idn_flags to ai_flags.
52618 (parse_option): Handle 'i' option to clear idn_flags.
52619
5f24d53a
UD
52620 * malloc/malloc.c (_int_free): Possible race in the most recently
52621 added check. Only act on the data if no current modification
52622 happened.
265bb1ce
UD
52623
52624See ChangeLog.17 for earlier changes.