]> git.ipfire.org Git - thirdparty/glibc.git/blame - ChangeLog
BZ#14498: fix infinite loop in nss_db_getservbyname
[thirdparty/glibc.git] / ChangeLog
CommitLineData
49698902
AO
12014-11-21 Alexandre Oliva <aoliva@redhat.com>
2
3 [BZ #14498]
4 * NEWS: Fixed.
5 * nss/nss_db/db-XXX.c (_nss_db_get##name##_r): Update hidx
6 after parsing line but before break_if_match.
7 * nss/nss_files/files-service (DB_LOOKUP): Don't "continue;"
8 if there is a protocol mismatch.
9
81959214
MS
102014-11-21 Ma Shimiao <mashimiao.fnst@cn.fujitsu.com>
11
12 * manual/sysinfo.texi (addmntent): It is actually MT-Safe,
13 because the potential race is on the user-supplied stream.
14
7729e0e9
AO
152014-11-21 Alexandre Oliva <aoliva@redhat.com>
16
17 * sysdeps/posix/ctermid.c (ctermid): Return a pointer to a
18 string literal if not passed a buffer.
19 * manual/job.texi (ctermid): Update reasoning, note deviation
20 from posix, suggest mtasurace when not passed a buffer, for
21 future non-preliminary safety notes.
22
a4ea5e28
AO
232014-11-21 Alexandre Oliva <aoliva@redhat.com>
24
25 * manual/users.texi (cuserid): Fix MT-Safety note for the case
26 of not passing it a buffer.
27 Reported by Peng Haitao.
28
a2b581cb
AO
292014-11-21 Alexandre Oliva <aoliva@redhat.com>
30
31 * manual/Makefile ($(objpfx)stamp-summary): Require
32 check-safety.sh to pass.
33 * manual/check-safety.sh: Wish for verification that every
34 @deftypefn and @deftypefun is followed by a @safety remark.
35
f214ff74
RM
362014-11-20 Roland McGrath <roland@hack.frob.com>
37
7f0dfae0
RM
38 * nptl/unwind.c (unwind_cleanup): Use __libc_fatal.
39
2f531bbb
RM
40 * nptl/pthread_setcanceltype.c [!SIGCANCEL]: Return ENOTSUP early for
41 PTHREAD_CANCEL_ASYNCHRONOUS.
42 * nptl/pthread_cancel.c [!SIGCANCEL]: Just abort rather than trying to
43 send SIGCANCEL.
44
f214ff74
RM
45 * nptl/default-sched.h: New file.
46 * sysdeps/unix/sysv/linux/default-sched.h: New file.
47 * nptl/pthread_create.c: Include it.
48 (__pthread_create_2_1): Use collect_default_sched instead of making
49 Linux syscalls here directly.
50
e37c91d4
TR
512014-11-20 Torvald Riegel <triegel@redhat.com>
52
53 * nptl/pthread_once.c (clear_once_control, __pthread_once_slow,
54 __pthread_once): Use C11 atomics.
55
1eccfecd
TR
562014-11-20 Torvald Riegel <triegel@redhat.com>
57
58 * csu/tst-atomic.c (do_test): Add tests for C11-like atomics.
59
ff871426
TR
602014-11-20 Torvald Riegel <triegel@redhat.com>
61
62 * include/atomic.h (__atomic_link_error, __atomic_check_size,
63 atomic_thread_fence_acquire, atomic_thread_fence_release,
64 atomic_thread_fence_seq_cst, atomic_load_relaxed,
65 atomic_load_acquire, atomic_store_relaxed, atomic_store_release,
66 atomic_compare_exchange_weak_relaxed,
67 atomic_compare_exchange_weak_acquire,
68 atomic_compare_exchange_weak_release,
69 atomic_exchange_acquire, atomic_exchange_release,
70 atomic_fetch_add_relaxed, atomic_fetch_add_acquire,
71 atomic_fetch_add_release, atomic_fetch_add_acq_rel,
72 atomic_fetch_and_acquire,
73 atomic_fetch_or_relaxed, atomic_fetch_or_acquire): New.
74
1ea339b6
TR
752014-11-20 Torvald Riegel <triegel@redhat.com>
76
77 * sysdeps/aarch64/bits/atomic.h (__HAVE_64B_ATOMICS,
78 USE_ATOMIC_COMPILER_BUILTINS): Define.
79 * sysdeps/alpha/bits/atomic.h (__HAVE_64B_ATOMICS,
80 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
81 * sysdeps/arm/bits/atomic.h (__HAVE_64B_ATOMICS,
82 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
83 * sysdeps/i386/i486/bits/atomic.h (__HAVE_64B_ATOMICS,
84 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
85 * sysdeps/ia64/bits/atomic.h (__HAVE_64B_ATOMICS,
86 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
87 * sysdeps/m68k/coldfire/bits/atomic.h (__HAVE_64B_ATOMICS,
88 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
89 * sysdeps/m68k/m680x0/m68020/bits/atomic.h (__HAVE_64B_ATOMICS,
90 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
91 * sysdeps/microblaze/bits/atomic.h (__HAVE_64B_ATOMICS,
92 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
93 * sysdeps/mips/bits/atomic.h (__HAVE_64B_ATOMICS,
94 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
95 * sysdeps/powerpc/powerpc32/bits/atomic.h (__HAVE_64B_ATOMICS,
96 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
97 * sysdeps/powerpc/powerpc64/bits/atomic.h (__HAVE_64B_ATOMICS,
98 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
99 * sysdeps/s390/bits/atomic.h (__HAVE_64B_ATOMICS,
100 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
101 * sysdeps/sparc/sparc32/bits/atomic.h (__HAVE_64B_ATOMICS,
102 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
103 * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (__HAVE_64B_ATOMICS,
104 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
105 * sysdeps/sparc/sparc64/bits/atomic.h (__HAVE_64B_ATOMICS,
106 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
107 * sysdeps/tile/tilegx/bits/atomic.h (__HAVE_64B_ATOMICS,
108 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
109 * sysdeps/tile/tilepro/bits/atomic.h (__HAVE_64B_ATOMICS,
110 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
111 * sysdeps/unix/sysv/linux/hppa/bits/atomic.h (__HAVE_64B_ATOMICS,
112 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
113 * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h
114 (__HAVE_64B_ATOMICS, USE_ATOMIC_COMPILER_BUILTINS): Likewise.
115 * sysdeps/unix/sysv/linux/sh/bits/atomic.h (__HAVE_64B_ATOMICS,
116 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
117 * sysdeps/x86_64/bits/atomic.h (__HAVE_64B_ATOMICS,
118 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
119
cbd463e2
RM
1202014-11-19 Roland McGrath <roland@hack.frob.com>
121
d960211f
RM
122 * nptl/pthread_create.c (__pthread_create_2_1): Don't try to validate
123 the sched_priority value here. It was already checked when the user
124 called pthread_attr_setschedparam.
125
cbd463e2
RM
126 * nptl/tst-bad-schedattr.c: New file.
127 * nptl/Makefile (tests): Add it.
128
a39208bd
CD
1292014-11-19 Carlos O'Donell <carlos@redhat.com>
130 Florian Weimer <fweimer@redhat.com>
131 Joseph Myers <joseph@codesourcery.com>
132 Adam Conrad <adconrad@0c3.net>
133 Andreas Schwab <schwab@suse.de>
134 Brooks <bmoses@google.com>
135
136 [BZ #17625]
137 * wordexp-test.c (__dso_handle): Add prototype.
138 (__register_atfork): Likewise.
139 (__app_register_atfork): New function.
140 (registered_forks): New global.
141 (register_fork): New function.
142 (test_case): Add 3 new tests for WRDE_CMDSUB.
143 (main): Call __app_register_atfork.
144 (testit): If WRDE_NOCMD set registered_forks to zero, run test, and if
145 fork count is non-zero fail the test.
146 * posix/wordexp.c (exec_comm): Return WRDE_CMDSUB if WRDE_NOCMD flag
147 is set.
148 (parse_dollars): Remove check for WRDE_NOCMD.
149 (parse_dquote): Likewise.
150
9cd47470
SP
1512014-11-19 Siddhesh Poyarekar <siddhesh@redhat.com>
152
130ac68c
SP
153 * Makeconfig (built-modules): List non-library modules to be
154 built.
155 (module-cppflags): Include libc-modules.h for
156 everything except shlib-versions.v.i.
157 (CPPFLAGS): Use it.
158 (before-compile): Add libc-modules.h.
159 ($(common-objpfx)libc-modules.h,
160 $(common-objpfx)libc-modules.stmp): New targets.
161 (common-generated): Add libc-modules.h and libc-modules.stmp.
162 ($(common-objpfx)Versions.v.i): Depend on libc-modules.h.
163 * include/libc-symbols.h: Don't include libc-modules.h.
164 * include/libc-modules.h: Remove file.
165 * scripts/gen-libc-modules.awk: New script to generate
166 libc-modules.h.
167 * sysdeps/unix/Makefile ($(common-objpfx)sysd-syscalls):
168 Depend on libc-modules.stmp.
169
286663c3
SP
170 * include/shlib-compat.h (_SHLIB_COMPAT): Use IS_IN.
171
9cd47470
SP
172 * Makeconfig (in-module): Get value of libof set for the
173 translation unit.
174 (CPPFLAGS): Use $(in-module).
175 * Makerules: Don't suffix routine names for nonlib.
176 * include/libc-modules.h: New file.
177 * include/libc-symbols.h: Include libc-modules.h
178 (IS_IN): New macro to replace IS_IN_* macros.
179 * elf/Makefile: Set libof-* for each routine.
180 * elf/rtld-Rules: Likewise.
181 * extra-modules.mk: Likewise.
182 * iconv/Makefile: Likewise.
183 * iconvdata/Makefile: Likewise.
184 * locale/Makefile: Likewise.
185 * malloc/Makefile: Likewise.
186 * nss/Makefile: Likewise.
187 * sysdeps/gnu/Makefile: Likewise.
188 * sysdeps/ieee754/ldbl-opt/Makefile: Likewise.
189 * sysdeps/unix/sysv/linux/Makefile: Likewise.
190 * sysdeps/s390/s390-64/Makefile: Likewise.
191 * nscd/Makefile: Set libof-* for each routine. Set CFLAGS and
192 CPPFLAGS for nscd instead of nonlib.
193
32fed10f
RM
1942014-11-18 Roland McGrath <roland@hack.frob.com>
195
d71035bd
RM
196 * nptl/createthread.c: New file.
197
6540b991
RM
198 * nptl/createthread.c: Moved ...
199 * sysdeps/unix/sysv/linux/createthread.c: ... here.
200
32fed10f
RM
201 * nptl/createthread.c: Add proper top-line comment.
202 (do_clone): Folded into ...
203 (create_thread): ... here. Take new arguments STOPPED_START and
204 THREAD_RAN. Always set PD->stopped_start to something here. Don't
205 increment __nptl_threads, do event-reporting logic, do
206 CHECK_THREAD_SYSINFO, or set THREAD_SELF->header.multiple_threads
207 here. Set *THREAD_RAN after ARCH_CLONE call succeeds. Don't do any
208 resource cleanup if sched_setaffinity or sched_setscheduler fails,
209 just send SIGCANCEL.
210 * nptl/pthread_create.c: Forward-declare create_thread before
211 including createthread.c.
212 (start_thread): Use new macro START_THREAD_DEFN to replace defining
213 declaration, and new macro START_THREAD_SELF to replace argument.
214 Remove return statement.
215 (report_thread_creation): New function.
216 (__pthread_create_2_1): Use it. Do TD_CREATE reporting,
217 synchronization logic, and __nptl_nthreads increment here, around
218 calling create_thread. Do CHECK_THREAD_SYSINFO and initialize
219 PD->parent_cancelhandling here, before create_thread. When
220 create_thread fails, do __nptl_nthreads decrement, setxid_futex wake,
221 __deallocate_stack, and ENOMEM translation here.
222
107a5bf0
JM
2232014-11-18 Joseph Myers <joseph@codesourcery.com>
224
225 [BZ #17616]
226 * sysdeps/ieee754/dbl-64/mpa.c (mpone): Rename to __mpone.
227 (mptwo): Rename to __mptwo.
228 (__inv): Use __mptwo instead of mptwo.
229 * sysdeps/ieee754/dbl-64/mpa.h (mpone): Rename to __mpone.
230 (mptwo): Rename to __mptwo.
231 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __mpone instead
232 of mpone and __mptwo instead of mptwo.
233 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Use __mpone
234 instead of mpone.
235 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
236 * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Likewise.
237 * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use __mpone instead
238 of mpone and __mptwo instead of mptwo.
239 (__mpranred): Use __mpone instead of mpone.
240 * conform/Makefile (test-xfail-ISO/math.h/linknamespace): Remove
241 variable.
242 (test-xfail-ISO99/complex.h/linknamespace): Likewise.
243 (test-xfail-ISO99/math.h/linknamespace): Likewise.
244 (test-xfail-ISO99/tgmath.h/linknamespace): Likewise.
245 (test-xfail-ISO11/complex.h/linknamespace): Likewise.
246 (test-xfail-ISO11/math.h/linknamespace): Likewise.
247 (test-xfail-ISO11/tgmath.h/linknamespace): Likewise.
248 (test-xfail-XPG3/math.h/linknamespace): Likewise.
249 (test-xfail-XPG4/math.h/linknamespace): Likewise.
250 (test-xfail-POSIX/math.h/linknamespace): Likewise.
251 (test-xfail-UNIX98/math.h/linknamespace): Likewise.
252 (test-xfail-XOPEN2K/complex.h/linknamespace): Likewise.
253 (test-xfail-XOPEN2K/math.h/linknamespace): Likewise.
254 (test-xfail-XOPEN2K/tgmath.h/linknamespace): Likewise.
255 (test-xfail-POSIX2008/complex.h/linknamespace): Likewise.
256 (test-xfail-POSIX2008/math.h/linknamespace): Likewise.
257 (test-xfail-POSIX2008/tgmath.h/linknamespace): Likewise.
258 (test-xfail-XOPEN2K8/complex.h/linknamespace): Likewise.
259 (test-xfail-XOPEN2K8/math.h/linknamespace): Likewise.
260 (test-xfail-XOPEN2K8/tgmath.h/linknamespace): Likewise.
261
3b679ab3
TV
2622014-11-18 Tom de Vries <tom@codesoucery.com>
263
264 * manual/signal.texi (Primitives Interrupted by Signals): In section,
265 replace BSD Handler xref with BSD Signal Handling.
4886f341
RH
266
2672014-11-17 Richard Henderson <rth@redhat.com>
268
269 * sysdeps/alpha/soft-fp/local-soft-fp.h (_FP_UNPACK_RAW_2): Remove.
270 (_FP_PACK_RAW_2): Remove.
271 (AXP_DECL_RETURN_Q): Rename from FP_DECL_RETURN, use _FP_UNION_Q.
272 (AXP_RETURN_Q): Rename from FP_RETURN, use _FP_UNION_Q.
273 (AXP_UNPACK_RAW_Q, AXP_UNPACK_SEMIRAW_Q, AXP_UNPACK_Q): New.
274 (AXP_PACK_RAW_Q, AXP_PACK_SEMIRAW_Q, AXP_PACK_Q): New.
275 * sysdeps/alpha/soft-fp/ots_add.c (_OtsAddX): Update to match.
276 * sysdeps/alpha/soft-fp/ots_cmp.c (internal_equality): Likewise.
277 * sysdeps/alpha/soft-fp/ots_cmpe.c (internal_compare): Likewise.
278 * sysdeps/alpha/soft-fp/ots_cvtqux.c (_OtsCvtQUX): Likewise.
279 * sysdeps/alpha/soft-fp/ots_cvtqx.c (_OtsCvtQX): Likewise.
280 * sysdeps/alpha/soft-fp/ots_cvttx.c (_OtsConvertFloatTX): Likewise.
281 * sysdeps/alpha/soft-fp/ots_cvtxq.c (_OtsCvtXQ): Likewise.
282 * sysdeps/alpha/soft-fp/ots_cvtxt.c (_OtsConvertFloatXT): Likewise.
283 * sysdeps/alpha/soft-fp/ots_div.c (_OtsDivX): Likewise.
284 * sysdeps/alpha/soft-fp/ots_mul.c (_OtsMulX): Likewise.
285 * sysdeps/alpha/soft-fp/ots_nintxq.c (_OtsNintXQ): Likewise.
286 * sysdeps/alpha/soft-fp/ots_sub.c (_OtsSubX): Likewise.
287
0781a777
RM
2882014-11-14 Roland McGrath <roland@hack.frob.com>
289
290 * signal/signal.h [__USE_MISC]
291 (struct sigvec): Remove type.
292 (SV_ONSTACK, SV_INTERRUPT, SV_RESETHAND): Remove macros.
293 (sigvec): Remove declaration.
294 * sysdeps/posix/sigvec.c: Moved ...
295 * signal/sigvec.c: ... here, replacing old file.
296 (struct sigvec): New type, copied from old signal.h definition.
297 (SV_ONSTACK, SV_INTERRUPT, SV_RESETHAND): New macros, likewise copied.
298 (__sigvec): Convert definition to prototype.
299 (sigvec): Replace weak_alias with compat_symbol.
300 * signal/Versions (libc: GLIBC_2.21): New version set.
301 * include/signal.h: Remove __sigvec declaration.
302 * sysdeps/unix/bsd/sigvec.c: Remove file.
303 * sysdeps/unix/bsd/syscalls.list: Remove sigvec.
304 * manual/signal.texi (BSD Handler): Remove subsection.
305 Move siginterrupt up to ...
306 (BSD Signal Handling): ... here. Mark it as XPG rather than BSD.
307 (Blocking in BSD): Fold subsection into its parent.
308 * NEWS: Mention sigvec removal.
309
a4733812
JM
3102014-11-14 Joseph Myers <joseph@codesourcery.com>
311
5ae4fe60
JM
312 * sysdeps/x86_64/fpu/dla.h [__FMA4__ && __GNUC_PREREQ (4, 6)]
313 (DLA_FMS): Make definition conditional only on [__FMA4__].
314 [__FMA4__ && !__GNUC_PREREQ (4, 6)] (DLA_FMS): Remove conditional
315 definition.
316
6a0dd472
JM
317 * sysdeps/arm/sysdep.h [PROF && __GNUC_PREREQ(4,4)] (CALL_MCOUNT):
318 Make definition conditional only on [PROF].
319 [PROF && !__GNUC_PREREQ(4,4)] (CALL_MCOUNT): Remove conditional
320 definition.
321 [__GNUC_PREREQ(4,4)] (mcount): Make definition unconditional.
322 [!__GNUC_PREREQ(4,4)] (mcount): Remove conditional definition.
323
a4733812
JM
324 * signal/signal.h (__sigpause): Only declare if [__USE_XOPEN &&
325 !__GNUC__].
326 * include/signal.h (__sigpause): Move declaration above call to
327 libc_hidden_proto.
328 * conform/Makefile (test-xfail-ISO/signal.h/linknamespace): Remove
329 variable.
330 (test-xfail-ISO99/signal.h/linknamespace): Likewise.
331 (test-xfail-ISO11/signal.h/linknamespace): Likewise.
332
cf7246dd
DM
3332014-11-14 David S. Miller <davem@davemloft.net>
334
335 * sysdeps/sparc/sparc64/rtld-memcpy.c (NO_MEMPCPY_STPCPY_REDIRECT):
336 Define before including <string/memcpy.c> and <string/mempcpy.c>.
337
c1b0aadc
JM
3382014-11-14 Joseph Myers <joseph@codesourcery.com>
339
4863355a
JM
340 * configure.ac (libc_cv_compiler_ok): Require GCC 4.6 or later.
341 * configure: Regenerated.
342 * manual/install.texi (Tools for Compilation): Document a
343 requirement of GCC 4.6 or later and that GCC 4.9 is the newest
344 compiler verified to work.
345 * INSTALL: Regenerated.
346
c1b0aadc
JM
347 * include/string.h [NO_MEMPCPY_STPCPY_REDIRECT] (mempcpy): Do not
348 redeclare with asm name.
349 [NO_MEMPCPY_STPCPY_REDIRECT] (stpcpy): Likewise.
350 * string/mempcpy.c (NO_MEMPCPY_STPCPY_REDIRECT): Define before
351 including <string.h>.
352 * string/stpcpy.c (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
353 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c
354 [!NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
355 * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c
356 [!NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
357 * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c
358 [SHARED && !NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
359
2a1cfd94
JM
3602014-11-13 Joseph Myers <joseph@codesourcery.com>
361
bf438382
JM
362 * stdlib/strtol.c (__strtol): Use prototype definition.
363
2a1cfd94
JM
364 [BZ #17594]
365 * stdlib/strtol.c (SYM__): New macro.
366 (SYM__1): Likewise.
367 (__strtol): Likewise.
368 (strtol): Rename to __strtol and define as weak alias of
369 __strtol. Use libc_hidden_weak.
370
20ed0d26
SL
3712014-11-13 Stefan Liebler <stli@linux.vnet.ibm.com>
372
373 * sysdeps/s390/s390-32/dl-machine.h (RTLD_START):
374 Use numbered labels in inline assembly.
375
53244a4e
SL
3762014-11-13 Stefan Liebler <stli@linux.vnet.ibm.com>
377
378 * sysdeps/s390/s390-32/setjmp.S (__sigsetjmp):
379 Add setjmp LIBC_PROBE.
380 * sysdeps/s390/s390-64/setjmp.S (__sigsetjmp):
381 Likewise.
382 * sysdeps/s390/s390-32/__longjmp.c (__longjmp):
383 Add longjmp, longjmp_target LIBC_PROBE.
384 * sysdeps/s390/s390-64/__longjmp.c (__longjmp):
385 Likewise.
386
47df8251
SL
3872014-11-13 Stefan Liebler <stli@linux.vnet.ibm.com>
388
389 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
390 Gate the definition of refsym additionally with !RTLD_BOOTSTRAP
391 to get rid of unused variable warning.
392
618cebef
SL
3932014-11-13 Stefan Liebler <stli@linux.vnet.ibm.com>
394
395 * sysdeps/s390/s390-32/backtrace.c (__backtrace):
396 Check for unwind_backtrace == NULL only in SHARED case.
397 (__backchain_backtrace): Compile only in SHARED case.
398 * sysdeps/s390/s390-64/backtrace.c (__backtrace):
399 Likewise.
400 (__backchain_backtrace): Declare as static.
401
c6aab2cb
RM
4022014-11-12 Roland McGrath <roland@hack.frob.com>
403
404 * nptl/createthread.c [!TLS_MULTIPLE_THREADS_IN_TCB]
405 (__libc_multiple_threads_ptr): Variable moved ...
406 * nptl/nptl-init.c [!TLS_MULTIPLE_THREADS_IN_TCB]: ... here.
407
5a6fa4d7
JM
4082014-11-12 Joseph Myers <joseph@codesourcery.com>
409
24f4f825
JM
410 * conform/GlibcConform.pm: New file.
411 * conform/conformtest.pl: Use GlibcConform module.
412 * conform/linknamespace.pl: New file.
413 * conform/list-header-symbols.pl: Likewise.
414 * conform/Makefile (linknamespace-symlists-base): New variable.
415 (linknamespace-symlists-tests): Likewise.
416 (linknamespace-header-base): Likewise.
417 (linknamespace-header-tests): Likewise.
418 (tests-special): Add new tests.
419 ($(linknamespace-symlists-tests)): New rule.
420 (linknamespace-libs): New variable.
421 ($(objpfx)symlist-stdlibs): New rule.
422 ($(linknamespace-header-tests)): Likewise.
423 (test-xfail-XPG3/varargs.h/linknamespace): New variable.
424 (test-xfail-XPG4/varargs.h/linknamespace): Likewise.
425 (test-xfail-UNIX98/varargs.h/linknamespace): Likewise.
426 (test-xfail-XPG4/ndbm.h/linknamespace): Likewise.
427 (test-xfail-UNIX98/ndbm.h/linknamespace): Likewise.
428 (test-xfail-XOPEN2K/ndbm.h/linknamespace): Likewise.
429 (test-xfail-XOPEN2K8/ndbm.h/linknamespace): Likewise.
430 (test-xfail-ISO/math.h/linknamespace): Likewise.
431 (test-xfail-ISO/signal.h/linknamespace): Likewise.
432 (test-xfail-ISO/stdio.h/linknamespace): Likewise.
433 (test-xfail-ISO/time.h/linknamespace): Likewise.
434 (test-xfail-ISO99/complex.h/linknamespace): Likewise.
435 (test-xfail-ISO99/ctype.h/linknamespace): Likewise.
436 (test-xfail-ISO99/math.h/linknamespace): Likewise.
437 (test-xfail-ISO99/signal.h/linknamespace): Likewise.
438 (test-xfail-ISO99/stdio.h/linknamespace): Likewise.
439 (test-xfail-ISO99/tgmath.h/linknamespace): Likewise.
440 (test-xfail-ISO11/complex.h/linknamespace): Likewise.
441 (test-xfail-ISO11/ctype.h/linknamespace): Likewise.
442 (test-xfail-ISO11/math.h/linknamespace): Likewise.
443 (test-xfail-ISO11/signal.h/linknamespace): Likewise.
444 (test-xfail-ISO11/stdio.h/linknamespace): Likewise.
445 (test-xfail-ISO11/tgmath.h/linknamespace): Likewise.
446 (test-xfail-XPG3/ctype.h/linknamespace): Likewise.
447 (test-xfail-XPG3/fnmatch.h/linknamespace): Likewise.
448 (test-xfail-XPG3/glob.h/linknamespace): Likewise.
449 (test-xfail-XPG3/math.h/linknamespace): Likewise.
450 (test-xfail-XPG3/regex.h/linknamespace): Likewise.
451 (test-xfail-XPG3/search.h/linknamespace): Likewise.
452 (test-xfail-XPG3/stdio.h/linknamespace): Likewise.
453 (test-xfail-XPG3/time.h/linknamespace): Likewise.
454 (test-xfail-XPG3/unistd.h/linknamespace): Likewise.
455 (test-xfail-XPG3/wordexp.h/linknamespace): Likewise.
456 (test-xfail-XPG4/ctype.h/linknamespace): Likewise.
457 (test-xfail-XPG4/fmtmsg.h/linknamespace): Likewise.
458 (test-xfail-XPG4/fnmatch.h/linknamespace): Likewise.
459 (test-xfail-XPG4/glob.h/linknamespace): Likewise.
460 (test-xfail-XPG4/grp.h/linknamespace): Likewise.
461 (test-xfail-XPG4/libgen.h/linknamespace): Likewise.
462 (test-xfail-XPG4/math.h/linknamespace): Likewise.
463 (test-xfail-XPG4/netdb.h/linknamespace): Likewise.
464 (test-xfail-XPG4/pwd.h/linknamespace): Likewise.
465 (test-xfail-XPG4/regex.h/linknamespace): Likewise.
466 (test-xfail-XPG4/search.h/linknamespace): Likewise.
467 (test-xfail-XPG4/stdio.h/linknamespace): Likewise.
468 (test-xfail-XPG4/stdlib.h/linknamespace): Likewise.
469 (test-xfail-XPG4/sys/mman.h/linknamespace): Likewise.
470 (test-xfail-XPG4/sys/statvfs.h/linknamespace): Likewise.
471 (test-xfail-XPG4/syslog.h/linknamespace): Likewise.
472 (test-xfail-XPG4/time.h/linknamespace): Likewise.
473 (test-xfail-XPG4/unistd.h/linknamespace): Likewise.
474 (test-xfail-XPG4/wordexp.h/linknamespace): Likewise.
475 (test-xfail-POSIX/aio.h/linknamespace): Likewise.
476 (test-xfail-POSIX/fnmatch.h/linknamespace): Likewise.
477 (test-xfail-POSIX/glob.h/linknamespace): Likewise.
478 (test-xfail-POSIX/math.h/linknamespace): Likewise.
479 (test-xfail-POSIX/mqueue.h/linknamespace): Likewise.
480 (test-xfail-POSIX/pthread.h/linknamespace): Likewise.
481 (test-xfail-POSIX/regex.h/linknamespace): Likewise.
482 (test-xfail-POSIX/sched.h/linknamespace): Likewise.
483 (test-xfail-POSIX/semaphore.h/linknamespace): Likewise.
484 (test-xfail-POSIX/sys/mman.h/linknamespace): Likewise.
485 (test-xfail-POSIX/time.h/linknamespace): Likewise.
486 (test-xfail-POSIX/unistd.h/linknamespace): Likewise.
487 (test-xfail-POSIX/wordexp.h/linknamespace): Likewise.
488 (test-xfail-UNIX98/aio.h/linknamespace): Likewise.
489 (test-xfail-UNIX98/ctype.h/linknamespace): Likewise.
490 (test-xfail-UNIX98/fmtmsg.h/linknamespace): Likewise.
491 (test-xfail-UNIX98/fnmatch.h/linknamespace): Likewise.
492 (test-xfail-UNIX98/glob.h/linknamespace): Likewise.
493 (test-xfail-UNIX98/grp.h/linknamespace): Likewise.
494 (test-xfail-UNIX98/libgen.h/linknamespace): Likewise.
495 (test-xfail-UNIX98/math.h/linknamespace): Likewise.
496 (test-xfail-UNIX98/mqueue.h/linknamespace): Likewise.
497 (test-xfail-UNIX98/netdb.h/linknamespace): Likewise.
498 (test-xfail-UNIX98/pthread.h/linknamespace): Likewise.
499 (test-xfail-UNIX98/pwd.h/linknamespace): Likewise.
500 (test-xfail-UNIX98/regex.h/linknamespace): Likewise.
501 (test-xfail-UNIX98/sched.h/linknamespace): Likewise.
502 (test-xfail-UNIX98/search.h/linknamespace): Likewise.
503 (test-xfail-UNIX98/semaphore.h/linknamespace): Likewise.
504 (test-xfail-UNIX98/stdio.h/linknamespace): Likewise.
505 (test-xfail-UNIX98/stdlib.h/linknamespace): Likewise.
506 (test-xfail-UNIX98/sys/mman.h/linknamespace): Likewise.
507 (test-xfail-UNIX98/sys/statvfs.h/linknamespace): Likewise.
508 (test-xfail-UNIX98/syslog.h/linknamespace): Likewise.
509 (test-xfail-UNIX98/time.h/linknamespace): Likewise.
510 (test-xfail-UNIX98/unistd.h/linknamespace): Likewise.
511 (test-xfail-UNIX98/wchar.h/linknamespace): Likewise.
512 (test-xfail-UNIX98/wordexp.h/linknamespace): Likewise.
513 (test-xfail-XOPEN2K/aio.h/linknamespace): Likewise.
514 (test-xfail-XOPEN2K/complex.h/linknamespace): Likewise.
515 (test-xfail-XOPEN2K/fcntl.h/linknamespace): Likewise.
516 (test-xfail-XOPEN2K/fmtmsg.h/linknamespace): Likewise.
517 (test-xfail-XOPEN2K/fnmatch.h/linknamespace): Likewise.
518 (test-xfail-XOPEN2K/glob.h/linknamespace): Likewise.
519 (test-xfail-XOPEN2K/grp.h/linknamespace): Likewise.
520 (test-xfail-XOPEN2K/libgen.h/linknamespace): Likewise.
521 (test-xfail-XOPEN2K/math.h/linknamespace): Likewise.
522 (test-xfail-XOPEN2K/mqueue.h/linknamespace): Likewise.
523 (test-xfail-XOPEN2K/net/if.h/linknamespace): Likewise.
524 (test-xfail-XOPEN2K/netdb.h/linknamespace): Likewise.
525 (test-xfail-XOPEN2K/pthread.h/linknamespace): Likewise.
526 (test-xfail-XOPEN2K/pwd.h/linknamespace): Likewise.
527 (test-xfail-XOPEN2K/regex.h/linknamespace): Likewise.
528 (test-xfail-XOPEN2K/search.h/linknamespace): Likewise.
529 (test-xfail-XOPEN2K/semaphore.h/linknamespace): Likewise.
530 (test-xfail-XOPEN2K/signal.h/linknamespace): Likewise.
531 (test-xfail-XOPEN2K/spawn.h/linknamespace): Likewise.
532 (test-xfail-XOPEN2K/stdlib.h/linknamespace): Likewise.
533 (test-xfail-XOPEN2K/sys/mman.h/linknamespace): Likewise.
534 (test-xfail-XOPEN2K/sys/statvfs.h/linknamespace): Likewise.
535 (test-xfail-XOPEN2K/sys/wait.h/linknamespace): Likewise.
536 (test-xfail-XOPEN2K/syslog.h/linknamespace): Likewise.
537 (test-xfail-XOPEN2K/tgmath.h/linknamespace): Likewise.
538 (test-xfail-XOPEN2K/time.h/linknamespace): Likewise.
539 (test-xfail-XOPEN2K/ucontext.h/linknamespace): Likewise.
540 (test-xfail-XOPEN2K/unistd.h/linknamespace): Likewise.
541 (test-xfail-XOPEN2K/wordexp.h/linknamespace): Likewise.
542 (test-xfail-POSIX2008/aio.h/linknamespace): Likewise.
543 (test-xfail-POSIX2008/complex.h/linknamespace): Likewise.
544 (test-xfail-POSIX2008/ctype.h/linknamespace): Likewise.
545 (test-xfail-POSIX2008/dirent.h/linknamespace): Likewise.
546 (test-xfail-POSIX2008/fcntl.h/linknamespace): Likewise.
547 (test-xfail-POSIX2008/grp.h/linknamespace): Likewise.
548 (test-xfail-POSIX2008/math.h/linknamespace): Likewise.
549 (test-xfail-POSIX2008/mqueue.h/linknamespace): Likewise.
550 (test-xfail-POSIX2008/net/if.h/linknamespace): Likewise.
551 (test-xfail-POSIX2008/netdb.h/linknamespace): Likewise.
552 (test-xfail-POSIX2008/pthread.h/linknamespace): Likewise.
553 (test-xfail-POSIX2008/regex.h/linknamespace): Likewise.
554 (test-xfail-POSIX2008/semaphore.h/linknamespace): Likewise.
555 (test-xfail-POSIX2008/spawn.h/linknamespace): Likewise.
556 (test-xfail-POSIX2008/sys/mman.h/linknamespace): Likewise.
557 (test-xfail-POSIX2008/sys/statvfs.h/linknamespace): Likewise.
558 (test-xfail-POSIX2008/tgmath.h/linknamespace): Likewise.
559 (test-xfail-POSIX2008/time.h/linknamespace): Likewise.
560 (test-xfail-POSIX2008/unistd.h/linknamespace): Likewise.
561 (test-xfail-XOPEN2K8/aio.h/linknamespace): Likewise.
562 (test-xfail-XOPEN2K8/complex.h/linknamespace): Likewise.
563 (test-xfail-XOPEN2K8/dirent.h/linknamespace): Likewise.
564 (test-xfail-XOPEN2K8/fcntl.h/linknamespace): Likewise.
565 (test-xfail-XOPEN2K8/fmtmsg.h/linknamespace): Likewise.
566 (test-xfail-XOPEN2K8/grp.h/linknamespace): Likewise.
567 (test-xfail-XOPEN2K8/libgen.h/linknamespace): Likewise.
568 (test-xfail-XOPEN2K8/math.h/linknamespace): Likewise.
569 (test-xfail-XOPEN2K8/mqueue.h/linknamespace): Likewise.
570 (test-xfail-XOPEN2K8/net/if.h/linknamespace): Likewise.
571 (test-xfail-XOPEN2K8/netdb.h/linknamespace): Likewise.
572 (test-xfail-XOPEN2K8/pthread.h/linknamespace): Likewise.
573 (test-xfail-XOPEN2K8/pwd.h/linknamespace): Likewise.
574 (test-xfail-XOPEN2K8/regex.h/linknamespace): Likewise.
575 (test-xfail-XOPEN2K8/search.h/linknamespace): Likewise.
576 (test-xfail-XOPEN2K8/semaphore.h/linknamespace): Likewise.
577 (test-xfail-XOPEN2K8/spawn.h/linknamespace): Likewise.
578 (test-xfail-XOPEN2K8/sys/mman.h/linknamespace): Likewise.
579 (test-xfail-XOPEN2K8/sys/statvfs.h/linknamespace): Likewise.
580 (test-xfail-XOPEN2K8/syslog.h/linknamespace): Likewise.
581 (test-xfail-XOPEN2K8/tgmath.h/linknamespace): Likewise.
582 (test-xfail-XOPEN2K8/time.h/linknamespace): Likewise.
583 (test-xfail-XOPEN2K8/unistd.h/linknamespace): Likewise.
584
cc67478e
JM
585 [BZ #17589]
586 * intl/localealias.c [_LIBC] (FGETS): Use __fgets_unlocked instead
587 of fgets_unlocked.
588
9975e3d3
JM
589 [BZ #17585]
590 * string/memmem.c [!_LIBC] (__memmem): Define to memmem.
591 (memmem): Rename to __memmem and define as weak alias of
592 __memmem. Use libc_hidden_weak.
593 (__memmem): Use libc_hidden_def.
594 * include/string.h (__memmem): Declare. Use libc_hidden_proto.
595 * locale/findlocale.c (valid_locale_name): Use __memmem instead of
596 memmem.
597
c4eae752
JM
598 [BZ #17582]
599 * libio/iofgets.c [weak_alias && !_IO_MTSAFE_IO]
600 (__fgets_unlocked): Add alias of _IO_fgets. Use libc_hidden_def.
601 * libio/iofgets_u.c (fgets_unlocked): Rename to __fgets_unlocked
602 and define as weak alias of __fgets_unlocked. Use
603 libc_hidden_weak.
604 (__fgets_unlocked): Use libc_hidden_def.
605 * include/stdio.h (__fgets_unlocked): Declare. Use
606 libc_hidden_proto.
607 * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Use
608 __fgets_unlocked instead of fgets_unlocked.
609 * sysdeps/unix/sysv/linux/alpha/getsysstats.c
610 (GET_NPROCS_CONF_PARSER): Likewise.
611 * sysdeps/unix/sysv/linux/sparc/getsysstats.c
612 (GET_NPROCS_CONF_PARSER): Likewise.
613
01cad84e
JM
614 [BZ #17574]
615 * wcsmbs/wmemset.c (wmemset): Rename to __wmemset and define as
616 weak alias of __wmemset. Use libc_hidden_weak.
617 (__wmemset): Use libc_hidden_def.
618 * include/wchar.h (__wmemset): Declare. Use libc_hidden_proto.
619 * stdio-common/printf_fp.c (___printf_fp): Call __wmemset instead
620 of wmemset.
621
939da411
JM
622 [BZ #17573]
623 * include/string.h [NOT_IN_libc || !SHARED] (mempcpy): Declare
624 with asm name __mempcpy.
625 [NOT_IN_libc || !SHARED] (stpcpy): Declare with asm name __stpcpy.
626
293d9a41
JM
627 [BZ #17572]
628 * sysdeps/x86_64/rawmemchr.S (rawmemchr): Rename to __rawmemchr
629 and define as weak alias of __rawmemchr.
630 (__rawmemchr): Do not define as strong alias of rawmemchr.
631
bef8fd60
JM
632 [BZ #17571]
633 * stdlib/msort.c (qsort_r): Rename to __qsort_r and define as weak
634 alias of __qsort_r.
635 (qsort): Call __qsort_r instead of qsort_r.
636 * include/stdlib.h (qsort_r): Do not call libc_hidden_proto.
637 (__qsort_r): Declare. Call libc_hidden_proto.
638 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Call __qsort_r
639 instead of qsort_r.
640 * nscd/gai.c (__qsort_r): Define to qsort_r.
641 * posix/tst-rfc3484.c (__qsort_r): Likewise.
642 * posix/tst-rfc3484-2.c (__qsort_r): Likewise.
643 * posix/tst-rfc3484-3.c (__qsort_r): Likewise.
644
c52ff39e
JM
645 [BZ #17570]
646 * malloc/malloc.c (malloc_info): Rename to __malloc_info and
647 define as weak alias of __malloc_info.
648
2f5c1b00
JM
649 [BZ #17584]
650 * dirent/rewinddir.c (rewinddir): Rename to __rewinddir and define
651 as weak alias of __rewinddir. Don't use libc_hidden_def.
652 (__rewinddir): Use libc_hidden_def.
653 * sysdeps/mach/hurd/rewinddir.c: Rename to __rewinddir and define
654 as weak alias of __rewinddir. Don't use libc_hidden_def.
655 (__rewinddir): Use libc_hidden_def.
656 * sysdeps/posix/rewinddir.c: Rename to __rewinddir and define as
657 weak alias of __rewinddir. Don't use libc_hidden_def.
658 (__rewinddir): Use libc_hidden_def.
659 * include/dirent.h (rewinddir): Don't use libc_hidden_proto.
660 (__rewinddir): Use libc_hidden_proto.
661 * sysdeps/posix/getcwd.c [!_LIBC] (__rewinddir): Define to
662 rewinddir.
663 (__getcwd): Use __rewinddir instead of rewinddir.
664
5a6fa4d7
JM
665 [BZ #17583]
666 * libio/fileno.c (fileno): Rename to __fileno and define as weak
667 alias of __fileno. Use libc_hidden_weak.
668 (__fileno): Use libc_hidden_def.
669 [weak_alias] (fileno_unlocked): Define as weak alias of __fileno.
670 * libio/ftello.c (ftello): Rename to __ftello and define as weak
671 alias of __ftello.
672 [__OFF_T_MATCHES_OFF64_T] (ftello64): Define as weak alias of
673 __ftello.
674 * libio/iofread.c [weak_alias && !_IO_MTSAFE_IO]
675 (__fread_unlocked): Define as strong alias of _IO_fread. Use
676 libc_hidden_def.
677 (fread_unlocked): Don't use libc_hidden_ver.
678 * libio/iofread_u.c (fread_unlocked): Rename to __fread_unlocked
679 and define as weak alias of __fread_unlocked. Don't use
680 libc_hidden_def.
681 (__fread_unlocked): Use libc_hidden_def.
682 * include/stdio.h (__fileno): Declare. Use libc_hidden_proto.
683 (ftello): Don't use libc_hidden_proto.
684 (__ftello): Declare. Use libc_hidden_proto.
685 (fread_unlocked): Don't use libc_hidden_proto.
686 (__fread_unlocked): Declare. Use libc_hidden_proto.
687 * time/tzfile.c (__tzfile_read): Use __fileno, __fread_unlocked
688 and __ftello instead of fileno, fread_unlocked and ftello.
689
2581b98e
SP
6902012-11-12 Siddhesh Poyarekar <siddhesh@redhat.com>
691
692 * sysdeps/s390/s390-32/bcopy.S (__bcopy): Use GOT instead of
693 GOT12.
694 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_load_address):
695 Likewise.
696 (_dl_start_user): Likewise.
697 * sysdeps/s390/s390-32/setjmp.S (__sigsetjmp): Likewise.
698
533bb7c2
SP
6992014-11-12 Carlos O'Donell <carlos@redhat.com>
700 Siddhesh Poyarekar <siddhesh@redhat.com>
701
702 * sysdeps/s390/s390-32/dl-machine.h (_dl_start_user):
703 Move argv and envp down instead of moving argc up.
704 * sysdeps/s390/s390-32/dl-sysdep.h: New file.
705
fffa1cf8
LH
7062014-11-12 Leonhard Holz <leonhard.holz@web.de>
707
708 [BZ #17506]
709 * test-skeleton.c (main): Return successful if one of
710 EXPECTED_SIGNAL or EXPECTED_STATUS is met when both given.
711 * string/tst-strcoll-overflow.c: Define expected status.
712
fb89b46d
TU
7132014-11-12 Tatiana Udalova <t.udalova@samsung.com>
714
715 [BZ #17475]
716 * locale/iso-639.def: Define Bhili and Tulu language codes.
717
5c40c3ba
AH
7182014-11-11 Alan Hayward <alan.hayward@arm.com>
719
720 * sysdeps/unix/sysv/linux/aarch64/bits/ipc.h: New file.
721
b17fe01b 7222014-11-10 Renlin Li <Renlin.Li@arm.com>
80085def
RL
723
724 [BZ #17555]
725 * sysdeps/aarch64/start.S (_start): Delete x29 overwritten assignment.
726
bd805071
AS
7272014-11-10 Andrew Senkevich <andrew.n.senkevich@gmail.com>
728
729 * configure.ac: Updated check of minimal required version to
730 2.22.
731 * manual/install.texi (Tools for Compilation): Updated version
732 number.
733 * configure: Regenerated.
734 * INSTALL: Likewise.
735
1400983e
AS
7362014-11-07 Andreas Schwab <schwab@linux-m68k.org>
737
738 * sysdeps/unix/sysv/linux/m68k/localplt.data (ld.so): Remove
739 __tls_get_addr.
740
2c46a66a
JM
7412014-11-07 Joseph Myers <joseph@codesourcery.com>
742
743 * include/sys/wait.h (__libc_waitpid): Remove declaration.
744 * posix/waitpid.c (__libc_waitpid): Rename to __waitpid.
745 (__waitpid): Don't define as alias. Use libc_hidden_def not
746 libc_hidden_weak.
747 (waitpid): Define as alias of __waitpid.
748 * sysdeps/unix/bsd/waitpid.c (__libc_waitpid): Rename to
749 __waitpid.
750 (__waitpid): Don't define as alias. Use libc_hidden_def not
751 libc_hidden_weak.
752 (waitpid): Define as alias of __waitpid.
753 * sysdeps/unix/sysv/linux/i386/syscalls.list (waitpid): Remove
754 __libc_waitpid alias.
755 * sysdeps/unix/sysv/linux/m68k/syscalls.list (waitpid): Likewise.
756 * sysdeps/unix/sysv/linux/powerpc/syscalls.list (waitpid):
757 Likewise.
758 * sysdeps/unix/sysv/linux/sh/syscalls.list (waitpid): Likewise.
759 * sysdeps/unix/sysv/linux/sparc/syscalls.list (waitpid): Likewise.
760 * sysdeps/unix/sysv/linux/tile/waitpid.S (__libc_waitpid): Remove
761 alias.
762 * sysdeps/unix/sysv/linux/waitpid.c (__libc_waitpid): Rename to
763 __waitpid.
764 (__waitpid): Don't define as alias. Use libc_hidden_def not
765 libc_hidden_weak.
766 (waitpid): Define as alias of __waitpid.
767
da53d6db
CD
7682014-11-06 Carlos O'Donell <carlos@redhat.com>
769
a2887bdb
CD
770 * manual/llio.texi: Add comment that write safety has been
771 fixed in Linux.
772
da53d6db
CD
773 * elf/Makefile (all-built-dso): Add $(common-objpfx)elf/ld.so.
774 (localplt-build-dso): Add elf/ld.so.
775 * sysdeps/unix/sysv/linux/i386/localplt.data: Add ___tls_get_addr
776 i.e. 3 underscore version, __libc_memalign, malloc, calloc, realloc,
777 and free for ld.so.
778 * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data: Add
779 __libc_memalign, malloc, calloc, realloc, and free for ld.so.
780 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data:
781 Likewise.
782 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data:
783 Likewise.
784 * sysdeps/unix/sysv/linux/s390/localplt.data: Likewise.
785 * sysdeps/generic/localplt.data: Add __tls_get_addr i.e. 2 underscore
786 version, __libc_memalign, malloc, calloc, realloc and free for ld.so.
787 * sysdeps/unix/sysv/linux/aarch64/localplt.data: Likewise.
788 * sysdeps/unix/sysv/linux/arm/localplt.data: Likewise.
789 * sysdeps/unix/sysv/linux/alpha/localplt.data: Likewise.
790 * sysdeps/unix/sysv/linux/ia64/localplt.data: Likewise.
791 * sysdeps/unix/sysv/linux/m68k/localplt.data: Likewise.
792 * sysdeps/unix/sysv/linux/microblaze/localplt.data: Likewise.
793 * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: Likewise.
794 * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: Likewise.
795
9cf27b8d
JM
7962014-11-05 Joseph Myers <joseph@codesourcery.com>
797
798 [BZ #14132]
799 * include/libc-symbols.h (INTUSE): Remove macro.
800 (INTDEF): Likewise.
801 (INTVARDEF): Likewise.
802 (_INTVARDEF): Likewise.
803 (INTDEF2): Likewise.
804 (INTVARDEF2): Likewise.
805 * elf/rtld.c [!HAVE_INLINED_SYSCALLS] (_dl_starting_up): Use
806 rtld_hidden_def instead of INTVARDEF.
807 * sysdeps/generic/ldsodefs.h [IS_IN_rtld]
808 (_dl_starting_up_internal): Remove declaration.
809 (_dl_starting_up): Use rtld_hidden_proto.
810 * elf/dl-init.c [!HAVE_INLINED_SYSCALLS] (_dl_starting_up): Remove
811 declaration.
812 [!HAVE_INLINED_SYSCALLS] (_dl_starting_up_internal): Likewise.
813 (_dl_init) [!HAVE_INLINED_SYSCALLS]: Don't use INTUSE with
814 _dl_starting_up.
815 * elf/dl-writev.h (_dl_writev): Likewise.
816 * sysdeps/powerpc/powerpc64/dl-machine.h [!HAVE_INLINED_SYSCALLS]
817 (DL_STARTING_UP_DEF): Use __GI__dl_starting_up instead of
818 _dl_starting_up_internal.
819
af83568d
AZ
8202014-11-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
821
822 * stdio-common/tst-fmemopen.c (do_test): Refactor to use
823 test-skeleton.c.
824
b01ee67c
WN
8252014-11-05 Will Newton <will.newton@linaro.org>
826
827 * benchtests/Makefile: (bench-malloc): Add malloc thread
828 scalability benchmark.
829 * benchtests/bench-malloc-threads.c: New file.
830
be9d4ccc
RE
8312014-11-05 Richard Earnshaw <rearnsha@arm.com>
832
833 * sysdeps/aarch64/strchrnul.S: New file.
834
7110166d
AZ
8352014-11-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
836
837 * sysdeps/powerpc/powerpc64/power8/memset.S (MTVSRD_V1_R4): Simplify
838 definition.
839 * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S (MFVSRD_R3_V1):
840 Likwise.
841 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S (MFVSRD_R3_V1):
842 Likewise.
843 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (MFVSRD_R3_V1):
844 Likewise.
845 * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S (MFVSRD_R3_V1):
846 Likewise.
847 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S (MFVSRD_R3_V1):
848 Likewise.
849
8502014-11-05 Arjun Shankar <arjun.is@lostca.se>
29955b5d
AS
851
852 * catgets/test-gencat.c: Use test-skeleton.c.
853 * catgets/tst-catgets.c: Likewise.
854 * csu/tst-empty.c: Likewise.
855 * elf/tst-audit2.c: Likewise.
856 * elf/tst-global1.c: Likewise.
857 * elf/tst-pathopt.c: Likewise.
858 * elf/tst-piemod1.c: Likewise.
859 * elf/tst-tls10.c: Likewise.
860 * elf/tst-tls11.c: Likewise.
861 * elf/tst-tls12.c: Likewise.
862 * gnulib/tst-gcc.c: Likewise.
863 * iconvdata/tst-e2big.c: Likewise.
864 * iconvdata/tst-loading.c: Likewise.
865 * iconv/tst-iconv1.c: Likewise.
866 * iconv/tst-iconv2.c: Likewise.
867 * inet/test-inet6_opt.c: Likewise.
868 * inet/tst-gethnm.c: Likewise.
869 * inet/tst-network.c: Likewise.
870 * inet/tst-ntoa.c: Likewise.
871 * intl/tst-codeset.c: Likewise.
872 * intl/tst-gettext2.c: Likewise.
873 * intl/tst-gettext3.c: Likewise.
874 * intl/tst-ngettext.c: Likewise.
875 * intl/tst-translit.c: Likewise.
876 * io/test-stat.c: Likewise.
877 * libio/test-fmemopen.c: Likewise.
878 * libio/tst-freopen.c: Likewise.
879 * libio/tst-sscanf.c: Likewise.
880 * libio/tst-ungetwc1.c: Likewise.
881 * libio/tst-ungetwc2.c: Likewise.
882 * libio/tst-widetext.c: Likewise.
883 * localedata/tst-ctype.c: Likewise.
884 * localedata/tst-digits.c: Likewise.
885 * localedata/tst-leaks.c: Likewise.
886 * localedata/tst-mbswcs1.c: Likewise.
887 * localedata/tst-mbswcs2.c: Likewise.
888 * localedata/tst-mbswcs3.c: Likewise.
889 * localedata/tst-mbswcs4.c: Likewise.
890 * localedata/tst-mbswcs5.c: Likewise.
891 * localedata/tst-setlocale.c: Likewise.
892 * localedata/tst-trans.c: Likewise.
893 * localedata/tst-wctype.c: Likewise.
894 * localedata/tst-xlocale1.c: Likewise.
895 * login/tst-grantpt.c: Likewise.
896 * malloc/tst-calloc.c: Likewise.
897 * malloc/tst-malloc.c: Likewise.
898 * malloc/tst-mallocstate.c: Likewise.
899 * malloc/tst-mcheck.c: Likewise.
900 * malloc/tst-mtrace.c: Likewise.
901 * malloc/tst-obstack.c: Likewise.
902 * math/atest-exp2.c: Likewise.
903 * math/atest-exp.c: Likewise.
904 * math/atest-sincos.c: Likewise.
905 * math/test-matherr.c: Likewise.
906 * math/test-misc.c: Likewise.
907 * math/test-powl.c: Likewise.
908 * math/tst-definitions.c: Likewise.
909 * misc/tst-dirname.c: Likewise.
910 * misc/tst-efgcvt.c: Likewise.
911 * misc/tst-fdset.c: Likewise.
912 * misc/tst-hsearch.c: Likewise.
913 * misc/tst-mntent2.c: Likewise.
914 * nptl/tst-sem7.c: Likewise.
915 * nptl/tst-sem8.c: Likewise.
916 * nptl/tst-sem9.c: Likewise.
917 * nss/test-netdb.c: Likewise.
918 * posix/tst-fnmatch.c: Likewise.
919 * posix/tst-getlogin.c: Likewise.
920 * posix/tst-gnuglob.c: Likewise.
921 * posix/tst-mmap.c: Likewise.
922 * pwd/tst-getpw.c: Likewise.
923 * resolv/tst-inet_ntop.c: Likewise.
924 * rt/tst-timer.c: Likewise.
925 * stdio-common/test-fseek.c: Likewise.
926 * stdio-common/test-popen.c: Likewise.
927 * stdio-common/test-vfprintf.c: Likewise.
928 * stdio-common/tst-cookie.c: Likewise.
929 * stdio-common/tst-fileno.c: Likewise.
930 * stdio-common/tst-gets.c: Likewise.
931 * stdio-common/tst-obprintf.c: Likewise.
932 * stdio-common/tst-perror.c: Likewise.
933 * stdio-common/tst-sprintf2.c: Likewise.
934 * stdio-common/tst-sprintf3.c: Likewise.
935 * stdio-common/tst-sprintf.c: Likewise.
936 * stdio-common/tst-swprintf.c: Likewise.
937 * stdio-common/tst-tmpnam.c: Likewise.
938 * stdio-common/tst-unbputc.c: Likewise.
939 * stdio-common/tst-wc-printf.c: Likewise.
940 * stdlib/tst-environ.c: Likewise.
941 * stdlib/tst-fmtmsg.c: Likewise.
942 * stdlib/tst-limits.c: Likewise.
943 * stdlib/tst-rand48-2.c: Likewise.
944 * stdlib/tst-rand48.c: Likewise.
945 * stdlib/tst-random2.c: Likewise.
946 * stdlib/tst-random.c: Likewise.
947 * stdlib/tst-strtol.c: Likewise.
948 * stdlib/tst-strtoll.c: Likewise.
949 * stdlib/tst-tls-atexit.c: Likewise.
950 * stdlib/tst-xpg-basename.c: Likewise.
951 * string/test-ffs.c: Likewise.
952 * string/tst-bswap.c: Likewise.
953 * string/tst-inlcall.c: Likewise.
954 * string/tst-strtok.c: Likewise.
955 * string/tst-strxfrm.c: Likewise.
956 * sysdeps/x86_64/tst-audit10.c: Likewise.
957 * sysdeps/x86_64/tst-audit3.c: Likewise.
958 * sysdeps/x86_64/tst-audit4.c: Likewise.
959 * sysdeps/x86_64/tst-audit5.c: Likewise.
960 * time/tst-ftime_l.c: Likewise.
961 * time/tst-getdate.c: Likewise.
962 * time/tst-mktime3.c: Likewise.
963 * time/tst-mktime.c: Likewise.
964 * time/tst-posixtz.c: Likewise.
965 * time/tst-strptime2.c: Likewise.
966 * time/tst-strptime3.c: Likewise.
967 * wcsmbs/tst-btowc.c: Likewise.
968 * wcsmbs/tst-mbrtowc.c: Likewise.
969 * wcsmbs/tst-mbsrtowcs.c: Likewise.
970 * wcsmbs/tst-wchar-h.c: Likewise.
971 * wcsmbs/tst-wcpncpy.c: Likewise.
972 * wcsmbs/tst-wcrtomb.c: Likewise.
973 * wcsmbs/tst-wcsnlen.c: Likewise.
974 * wcsmbs/tst-wcstof.c: Likewise.
975
2004e7fb
JM
9762014-11-04 Joseph Myers <joseph@codesourcery.com>
977
ab97ee8f
JM
978 [BZ #14132]
979 * elf/dl-profile.c (_dl_mcount): Use rtld_hidden_def instead of
980 INTDEF.
981 * sysdeps/generic/ldsodefs.h (_dl_mcount_internal): Remove
982 declaration.
983 (_dl_mcount): Use rtld_hidden_proto.
984 * elf/dl-runtime.c (_dl_profile_fixup): Don't use INTUSE with
985 _dl_mcount.
986 * elf/rtld.c (_rtld_global_ro): Likewise.
987
c5684fdb
JM
988 [BZ #14132]
989 * elf/dl-init.c (_dl_init): Don't use INTDEF.
990 * sysdeps/aarch64/dl-machine.h (RTLD_START): Use _dl_init instead
991 of _dl_init_internal.
992 * sysdeps/alpha/dl-machine.h (RTLD_START): Likewise.
993 * sysdeps/arm/dl-machine.h (RTLD_START): Likewise.
994 * sysdeps/hppa/dl-machine.h (RTLD_START): Likewise.
995 * sysdeps/i386/dl-machine.h (RTLD_START): Likewise.
996 * sysdeps/ia64/dl-machine.h (RTLD_START): Likewise.
997 * sysdeps/m68k/dl-machine.h (RTLD_START): Likewise.
998 * sysdeps/microblaze/dl-machine.h (RTLD_START): Likewise.
999 * sysdeps/mips/dl-machine.h (RTLD_START): Likewise.
1000 * sysdeps/powerpc/powerpc32/dl-start.S (_start): Likewise.
1001 * sysdeps/s390/s390-32/dl-machine.h (RTLD_START): Likewise.
1002 * sysdeps/s390/s390-64/dl-machine.h (RTLD_START): Likewise.
1003 * sysdeps/sh/dl-machine.h (RTLD_START): Likewise.
1004 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
1005 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
1006 * sysdeps/tile/dl-start.S (_start): Likewise.
1007 * sysdeps/x86_64/dl-machine.h (RTLD_START): Likewise.
1008 * sysdeps/x86_64/x32/dl-machine.h (RTLD_START): Likewise.
1009
4243cbea
JM
1010 [BZ #14132]
1011 * sysdeps/generic/ldsodefs.h (_dl_argv): Use rtld_hidden_proto.
1012 [IS_IN_rtld] (_dl_argv_internal): Do not declare.
1013 (rtld_progname): Make macro definition unconditional.
1014 * elf/rtld.c (_dl_argv): Use rtld_hidden_data_def instead of
1015 INTDEF.
1016 (dlmopen_doit): Do not use INTUSE with _dl_argv.
1017 (dl_main): Likewise.
1018 * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
1019 * sysdeps/alpha/dl-machine.h (RTLD_START): Use __GI__dl_argv
1020 instead of _dl_argv_internal.
1021 * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
1022 __GI__dl_argv instead of INTUSE(_dl_argv).
1023 * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Use
1024 __GI__dl_argv instead of _dl_argv_internal.
1025
2004e7fb
JM
1026 * soft-fp/op-common.h (_FP_TO_INT_ROUND): New macro.
1027 * soft-fp/double.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_D): New
1028 macro.
1029 [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_D): Likewise.
1030 * soft-fp/extended.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_E):
1031 New macro.
1032 [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_E): Likewise.
1033 * soft-fp/quad.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_Q): New
1034 macro.
1035 [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_Q): Likewise.
1036 * soft-fp/single.h (FP_TO_INT_ROUND_S): New macro.
1037
97827bfc
AS
10382014-11-04 Andreas Schwab <schwab@suse.de>
1039
1040 * posix/regex_internal.h: Don't include <locale/elem-hash.h>.
1041
5e4df284
AZ
10422014-11-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1043
1044 * sysdeps/powerpc/powerpc64/power8/memset.S (MTVSRD_V1_R4): Encode
1045 mtvsrd instruction in binary form.
1046
04b76b5a
AS
10472014-11-03 Andreas Schwab <schwab@suse.de>
1048
1049 [BZ #17522]
1050 * libio/wfileops.c (_IO_wdo_write): If the file buffer has room
1051 for less than MB_LEN_MAX use a local buffer of that size.
1052 * libio/tst-fputws.c: New file.
1053 * libio/Makefile (tests): Add tst-fputws.
1054
4c6da7da
JM
10552014-11-01 Jose E. Marchesi <jose.marchesi@oracle.com>
1056
1057 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu): fix
1058 the size of the fpu_fr.fpu_dregs[] array.
1059
1679ba8e
JM
10602014-11-01 Joseph Myers <joseph@codesourcery.com>
1061
1062 * posix/nanosleep.c (__libc_nanosleep): Rename to __nanosleep.
1063 (__nanosleep): Do not define as alias.
1064 (nanosleep): Define as alias of __nanosleep.
1065 * sysdeps/unix/sysv/linux/syscalls.list (nanosleep): Remove
1066 __libc_nanosleep name.
1067
2626c183
JM
10682014-10-31 Joseph Myers <joseph@codesourcery.com>
1069
1070 * aclocal.m4 (GLIBC_AUTOCONF_VERSION): Mention need to update
1071 install.texi in comment.
1072
7f981fc2
TR
10732014-10-31 Torvald Riegel <triegel@redhat.com>
1074
1075 * sysdeps/powerpc/bits/atomic.h (atomic_write_barrier): Remove and...
1076 * sysdeps/powerpc/powerpc32/bits/atomic.h (atomic_write_barrier):
1077 ... add here and use lwsync or sync ...
1078 * sysdeps/powerpc/powerpc64/bits/atomic.h (atomic_write_barrier):
1079 ... and add here using lwsync.
1080
d6f373d2
MF
10812014-10-31 Matthew Fortune <matthew.fortune@imgtec.com>
1082
1083 * elf/dl-machine-reject-phdr.h: New file.
1084 * elf/dl-load.c: #include that.
1085 (open_verify): Call elf_machine_reject_phdr_p and ignore the file
1086 if that returned true.
1087
67c37987
RM
10882014-10-31 Roland McGrath <roland@hack.frob.com>
1089
1090 [BZ #17496]
1091 * Makerules: Move gnu/lib-names.h generation chunk up, to right after
1092 gen-as-const-headers chunk. Add a big scare comment after the last
1093 safe place to touch before-compile.
1094
94a42455 10952014-10-31 Joseph Myers <joseph@codesourcery.com>
f62ff286 1096
f3f5d895
JM
1097 * manual/install.texi (Tools for Compilation): Update autoconf
1098 version requirements.
1099 * INSTALL: Regenerated.
1100
f62ff286
JM
1101 * misc/pselect.c [!__pselect] (__libc_pselect): Remove alias.
1102 * sysdeps/unix/sysv/linux/pselect.c [__NR_pselect6]
1103 (__libc_pselect): Likewise.
94a42455
JM
1104
1105 [BZ #14138]
1106 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Remove file.
1107 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
1108 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
1109 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
1110
ff9dbdc0
TR
11112014-10-31 Torvald Riegel <triegel@redhat.com>
1112
1113 * sysdeps/sparc/sparc32/bits/atomic.h (atomic_write_barrier): Use
1114 correct barrier instruction.
1115 * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (atomic_write_barrier):
1116 Likewise.
1117 * sysdeps/sparc/sparc64/bits/atomic.h (atomic_write_barrier):
1118 Likewise.
1119
b4f66884
RM
11202014-10-30 Roland McGrath <roland@hack.frob.com>
1121
1122 * include/ctype.h: Include <ctype/ctype.h> first thing rather than
1123 after defining inlines. Instead, just use parens to defeat macro
1124 expansion of __isctype in its declaration.
1125
e19c95fd
JM
11262014-10-30 Joseph Myers <joseph@codesourcery.com>
1127
1128 * include/sys/uio.h (__libc_readv): Remove declaration.
1129 (__libc_writev): Likewise.
1130 * misc/readv.c (__libc_readv): Rename to __readv.
1131 (__readv): Do not define as alias.
1132 (readv): Define as alias of __readv.
1133 * misc/writev.c (__libc_writev): Rename to __writev.
1134 (__writev): Do not define as alias.
1135 (writev): Define as alias of __writev.
1136 * sysdeps/posix/readv.c (__libc_readv): Rename to __readv.
1137 (__readv): Do not define as alias.
1138 (readv): Define unconditionally as alias of __readv.
1139 * sysdeps/posix/writev.c (__libc_writev): Rename to __writev.
1140 (__writev): Do not define as alias.
1141 (writev): Define unconditionally as alias of __writev.
1142 * sysdeps/unix/syscalls.list (readv): Do not define __libc_readv
1143 name.
1144 (writev): Do not define __libc_writev name.
1145
65b00b6c
RM
11462014-10-30 Roland McGrath <roland@hack.frob.com>
1147
1148 * iconv/iconv_charmap.c (add_bytes): Make IN argument pointer to const.
1149 (convert_charseq): New function, broken out of ...
1150 (use_from_charmap): ... here. Call it.
1151 (use_to_charmap): Use convert_charseq and free instead of duplicating
1152 its code with a variable-length stack struct.
1153
d4e157aa
JM
11542014-10-30 Joseph Myers <joseph@codesourcery.com>
1155
1156 * include/fcntl.h (__libc_creat): Remove declaration.
1157 * io/creat.c (__libc_creat): Rename to creat.
1158 (creat): Do not define as alias.
1159 * sysdeps/unix/sysv/linux/alpha/creat.c (creat64): Define as alias
1160 of creat instead of __libc_creat.
1161 * sysdeps/unix/sysv/linux/generic/creat.c (__libc_creat): Rename
1162 to creat.
1163 (creat): Do not define as alias.
1164 [__WORDSIZE == 64] (creat64): Define as alias of creat instead of
1165 __libc_creat.
1166 * sysdeps/unix/sysv/linux/syscalls.list (creat): Do not define
1167 __libc_creat name.
1168 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (creat):
1169 Likewise.
1170
0c6891a0
CD
11712014-10-29 Carlos O'Donell <carlos@redhat.com>
1172
1173 * manual/llio.texi: Add comments discussing why write() may be
1174 considered MT-unsafe on Linux.
1175
cc00cece
CD
11762014-10-28 Carlos O'Donell <carlos@redhat.com>
1177
1178 * dl-load.c (local_strdup): Remove.
1179 (expand_dynamic_string_token): Use __strdup.
1180 (decompose_rpath): Likewise.
1181 (_dl_map_object): Likewise.
1182
51e623f2
JM
11832014-10-28 Joseph Myers <joseph@codesourcery.com>
1184
1185 [BZ #14132]
1186 * sysdeps/generic/unwind-dw2-fde.c
1187 (__register_frame_info_bases_internal): Do not declare.
1188 (__register_frame_info_table_bases_internal): Likewise.
1189 (__deregister_frame_info_bases_internal): Likewise.
1190 (__register_frame_info_bases): Declare and use hidden_proto before
1191 definition. Use hidden_def instead of INTDEF.
1192 (__register_frame_info_table_bases): Likewise.
1193 (__deregister_frame_info_bases): Likewise.
1194 (__register_frame_info): Do not use INTUSE.
1195 (__register_frame): Likewise.
1196 (__register_frame_info_table): Likewise.
1197 (__register_frame_table): Likewise.
1198 (__deregister_frame_info): Likewise.
1199 (__deregister_frame): Likewise.
1200
03d41216
GC
12012014-10-27 Gratian Crisan <gratian.crisan@ni.com>
1202
1203 * sysdeps/unix/sysv/linux/arm/kernel-features.h
1204 [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_FUTEX_LOCK_PI): Do
1205 not undefine.
1206 [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_REQUEUE_PI):
1207 Likewise.
1208 [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_SET_ROBUST_LIST):
1209 Likewise.
1210
a4b3624d
JM
12112014-10-27 Joseph Myers <joseph@codesourcery.com>
1212
1213 [BZ #14138]
1214 * sysdeps/unix/sysv/linux/arm/setfsgid.c: Remove file.
1215 * sysdeps/unix/sysv/linux/arm/setfsuid.c: Likewise.
1216 * sysdeps/unix/sysv/linux/i386/setfsgid.c: Likewise.
1217 * sysdeps/unix/sysv/linux/i386/setfsuid.c: Likewise.
1218 * sysdeps/unix/sysv/linux/m68k/setfsgid.c: Likewise.
1219 * sysdeps/unix/sysv/linux/m68k/setfsuid.c: Likewise.
1220 * sysdeps/unix/sysv/linux/s390/s390-32/setfsgid.c: Likewise.
1221 * sysdeps/unix/sysv/linux/s390/s390-32/setfsuid.c: Likewise.
1222 * sysdeps/unix/sysv/linux/sh/setfsgid.c: Likewise.
1223 * sysdeps/unix/sysv/linux/sh/setfsuid.c: Likewise.
1224 * sysdeps/unix/sysv/linux/sparc/sparc32/setfsgid.c: Likewise.
1225 * sysdeps/unix/sysv/linux/sparc/sparc32/setfsuid.c: Likewise.
1226 * sysdeps/unix/sysv/linux/arm/syscalls.list (setfsgid): Add
1227 syscall.
1228 (setfsuid): Likewise.
1229 * sysdeps/unix/sysv/linux/i386/syscalls.list (setfsgid): Likewise.
1230 (setfsuid): Likewise.
1231 * sysdeps/unix/sysv/linux/m68k/syscalls.list (setfsgid): Likewise.
1232 (setfsuid): Likewise.
1233 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (setfsgid):
1234 Likewise.
1235 (setfsuid): Likewise.
1236 * sysdeps/unix/sysv/linux/sh/syscalls.list (setfsgid): Likewise.
1237 (setfsuid): Likewise.
1238 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (setfsgid):
1239 Likewise.
1240 (setfsuid): Likewise.
1241
3574f2fd
AS
12422014-10-27 Andreas Schwab <schwab@suse.de>
1243
1244 [BZ #17501]
1245 * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Fix
1246 check for Slow_SSE4_2 feature bit.
1247 * sysdeps/i386/i686/multiarch/strcmp.S (STRCMP): Likewise.
1248 * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
1249 * sysdeps/x86_64/multiarch/strcmp.S (STRCMP, __strcascmp):
1250 Likewise. Fix check for Fast_Unaligned_Load feature bit.
1251
70996a37
RM
12522014-10-24 Roland McGrath <roland@hack.frob.com>
1253
461a7b1e
RM
1254 * configure.ac: Validate compiler version with a empirical test of
1255 __GNUC__ and __GNUC_MINOR__ predefined values, rather than by grepping
1256 $CC -v output.
1257 * configure: Regenerated.
1258
70996a37
RM
1259 * inet/htons.c (htons): Prototypify.
1260 * inet/htonl.c (htonl): Likewise.
1261
e80514b5
WD
12622014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
1263
1264 * string/strncat.c (strncat): Improve performance by using strlen.
1265
6e46de42
WD
12662014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
1267
1268 * string/strcat.c (strcat): Improve performance by using strlen/strcpy.
1269
6a9ad2fa
WD
12702014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
1271
1272 * sysdeps/aarch64/fpu/fgetexcptflg.c (fegetexceptflag):
1273 Call libc_fetestexcept_aarch64.
1274
1c8810ed
WD
12752014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
1276
1277 * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept):
1278 Call libc_feholdexcept_aarch64.
1279
8b1af712
WD
12802014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
1281
1282 * sysdeps/aarch64/fpu/fegetround.c (fegetround):
1283 Call get_rounding_mode.
1284
a7b00c11
WD
12852014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
1286
1287 * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept):
1288 Simplify logic.
1289
3a84f1a6
WD
12902014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
1291
1292 * sysdeps/aarch64/fpu/fedisblxcpt.c (fedisableexcept):
1293 Simplify logic.
1294
48eb7a94
JM
12952014-10-24 Joseph Myers <joseph@codesourcery.com>
1296
c8bc4038
JM
1297 [BZ #14138]
1298 * sysdeps/unix/sysv/linux/arm/getegid.c: Remove file.
1299 * sysdeps/unix/sysv/linux/arm/geteuid.c: Likewise.
1300 * sysdeps/unix/sysv/linux/arm/getgid.c: Likewise.
1301 * sysdeps/unix/sysv/linux/arm/getgroups.c: Likewise.
1302 * sysdeps/unix/sysv/linux/arm/getresgid.c: Likewise.
1303 * sysdeps/unix/sysv/linux/arm/getresuid.c: Likewise.
1304 * sysdeps/unix/sysv/linux/arm/getuid.c: Likewise.
1305 * sysdeps/unix/sysv/linux/i386/getegid.c: Likewise.
1306 * sysdeps/unix/sysv/linux/i386/geteuid.c: Likewise.
1307 * sysdeps/unix/sysv/linux/i386/getgid.c: Likewise.
1308 * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
1309 * sysdeps/unix/sysv/linux/i386/getresgid.c: Likewise.
1310 * sysdeps/unix/sysv/linux/i386/getresuid.c: Likewise.
1311 * sysdeps/unix/sysv/linux/i386/getuid.c: Likewise.
1312 * sysdeps/unix/sysv/linux/m68k/getegid.c: Likewise.
1313 * sysdeps/unix/sysv/linux/m68k/geteuid.c: Likewise.
1314 * sysdeps/unix/sysv/linux/m68k/getgid.c: Likewise.
1315 * sysdeps/unix/sysv/linux/m68k/getgroups.c: Likewise.
1316 * sysdeps/unix/sysv/linux/m68k/getresgid.c: Likewise.
1317 * sysdeps/unix/sysv/linux/m68k/getresuid.c: Likewise.
1318 * sysdeps/unix/sysv/linux/m68k/getuid.c: Likewise.
1319 * sysdeps/unix/sysv/linux/s390/s390-32/getegid.c: Likewise.
1320 * sysdeps/unix/sysv/linux/s390/s390-32/geteuid.c: Likewise.
1321 * sysdeps/unix/sysv/linux/s390/s390-32/getgid.c: Likewise.
1322 * sysdeps/unix/sysv/linux/s390/s390-32/getgroups.c: Likewise.
1323 * sysdeps/unix/sysv/linux/s390/s390-32/getresgid.c: Likewise.
1324 * sysdeps/unix/sysv/linux/s390/s390-32/getresuid.c: Likewise.
1325 * sysdeps/unix/sysv/linux/s390/s390-32/getuid.c: Likewise.
1326 * sysdeps/unix/sysv/linux/sh/getegid.c: Likewise.
1327 * sysdeps/unix/sysv/linux/sh/geteuid.c: Likewise.
1328 * sysdeps/unix/sysv/linux/sh/getgid.c: Likewise.
1329 * sysdeps/unix/sysv/linux/sh/getgroups.c: Likewise.
1330 * sysdeps/unix/sysv/linux/sh/getresgid.c: Likewise.
1331 * sysdeps/unix/sysv/linux/sh/getresuid.c: Likewise.
1332 * sysdeps/unix/sysv/linux/sh/getuid.c: Likewise.
1333 * sysdeps/unix/sysv/linux/sparc/sparc32/getegid.c: Likewise.
1334 * sysdeps/unix/sysv/linux/sparc/sparc32/geteuid.c: Likewise.
1335 * sysdeps/unix/sysv/linux/sparc/sparc32/getgid.c: Likewise.
1336 * sysdeps/unix/sysv/linux/sparc/sparc32/getgroups.c: Likewise.
1337 * sysdeps/unix/sysv/linux/sparc/sparc32/getuid.c: Likewise.
1338 * sysdeps/unix/sysv/linux/arm/syscalls.list (getegid): Add
1339 syscall.
1340 (geteuid): Likewise.
1341 (getgid): Likewise.
1342 (getuid): Likewise.
1343 (getresgid): Likewise.
1344 (getresuid): Likewise.
1345 (getgroups): Likewise.
1346 * sysdeps/unix/sysv/linux/i386/syscalls.list (getegid): Likewise.
1347 (geteuid): Likewise.
1348 (getgid): Likewise.
1349 (getuid): Likewise.
1350 (getresgid): Likewise.
1351 (getresuid): Likewise.
1352 (getgroups): Likewise.
1353 * sysdeps/unix/sysv/linux/m68k/syscalls.list (getegid): Likewise.
1354 (geteuid): Likewise.
1355 (getgid): Likewise.
1356 (getuid): Likewise.
1357 (getresgid): Likewise.
1358 (getresuid): Likewise.
1359 (getgroups): Likewise.
1360 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (getegid):
1361 Likewise.
1362 (geteuid): Likewise.
1363 (getgid): Likewise.
1364 (getuid): Likewise.
1365 (getresgid): Likewise.
1366 (getresuid): Likewise.
1367 (getgroups): Likewise.
1368 * sysdeps/unix/sysv/linux/sh/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/sparc/sparc32/syscalls.list (getegid):
1376 Likewise.
1377 (geteuid): Likewise.
1378 (getgid): Likewise.
1379 (getuid): Likewise.
1380 (getgroups): Likewise.
1381
48eb7a94
JM
1382 [BZ #14138]
1383 * sysdeps/unix/sysv/linux/i386/chown.c: Remove file.
1384 * sysdeps/unix/sysv/linux/i386/fchown.c: Likewise.
1385 * sysdeps/unix/sysv/linux/i386/lchown.c: Likewise.
1386 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
1387 * sysdeps/unix/sysv/linux/s390/s390-32/fchown.c: Remove file.
1388 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Likewise.
1389 * sysdeps/unix/sysv/linux/sh/chown.c: Likewise.
1390 * sysdeps/unix/sysv/linux/sh/fchown.c: Likewise.
1391 * sysdeps/unix/sysv/linux/sh/lchown.c: Likewise.
1392 * sysdeps/unix/sysv/linux/sparc/sparc32/chown.c: Likewise.
1393 * sysdeps/unix/sysv/linux/sparc/sparc32/fchown.c: Likewise.
1394 * sysdeps/unix/sysv/linux/sparc/sparc32/lchown.c: Likewise.
1395 * sysdeps/unix/sysv/linux/s390/s390-32/Versions (GLIBC_2.1): Add
1396 __chown.
1397 * sysdeps/unix/sysv/linux/i386/syscalls.list (chown): Add syscall.
1398 (lchown): Likewise.
1399 (fchown): Likewise.
1400 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (chown):
1401 Likewise.
1402 (lchown): Likewise.
1403 (fchown): Likewise.
1404 * sysdeps/unix/sysv/linux/sh/syscalls.list (chown): Likewise.
1405 (lchown): Likewise.
1406 (fchown): Likewise.
1407 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (chown):
1408 Likewise.
1409 (lchown): Likewise.
1410 (fchown): Likewise.
1411
ea9a7c8b
WD
14122014-10-23 Wilco Dijkstra <wdijkstr@arm.com>
1413
1414 * sysdeps/aarch64/fpu/fclrexcpt.c (feclearexcept):
1415 Simplify logic.
1416
e226de33
WD
14172014-10-23 Wilco Dijkstra <wdijkstr@arm.com>
1418
1419 * sysdeps/aarch64/fpu/fsetexcptflg.c (fsetexceptflag):
1420 Cleanup logic.
1421
6e3d8ed3
WD
14222014-10-23 Wilco Dijkstra <wdijkstr@arm.com>
1423
1424 * sysdeps/aarch64/fpu/fsetexcptflg.c (fsetexceptflag):
1425 Remove unused include.
1426
eb04247d
WD
14272014-10-23 Wilco Dijkstra <wdijkstr@arm.com>
1428
1429 * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Remove spaces.
1430 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Remove spaces.
1431 * sysdeps/aarch64/fpu/fesetround.c (fesetround): Remove spaces.
1432 * sysdeps/aarch64/fpu/fraiseexcpt.c (feraiseexcept): Remove spaces.
1433
13d84554
CD
14342014-10-23 Carlos O'Donell <carlos@systemhalted.org>
1435 Helge Deller <deller@gmx.de>
1436
1437 [BZ #17508]
1438 * sysdeps/unix/sysv/linux/hppa/bits/signum.h: Remove SIGEMT.
1439 Define SIGSTKFLT as 7. Define SIGSYS as 31. Define SIGXCPU as 12.
1440 Remove SIGLOST. Define SIGXFSZ as 30. Define __SIGRTMIN as 32.
1441
15f9c5df
JM
14422014-10-23 Joseph Myers <joseph@codesourcery.com>
1443
1444 [BZ #14132]
1445 * sysdeps/powerpc/powerpc32/libgcc-compat.S (__ashldi3_v_glibc20):
1446 Remove macro definition.
1447 (__ashrdi3_v_glibc20): Likewise.
1448 (__lshrdi3_v_glibc20): Likewise.
1449 (__cmpdi2_v_glibc20): Likewise.
1450 (__ucmpdi2_v_glibc20): Likewise.
1451 [!_SOFT_FLOAT && !__NO_FPRS__] (__fixdfdi_v_glibc20): Likewise.
1452 [!_SOFT_FLOAT && !__NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
1453 [!_SOFT_FLOAT && !__NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
1454 [!_SOFT_FLOAT && !__NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
1455 [!_SOFT_FLOAT && !__NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
1456 [!_SOFT_FLOAT && !__NO_FPRS__] (__floatdisf_v_glibc20): Likewise.
1457
c6dfed24
RM
14582014-10-22 Roland McGrath <roland@hack.frob.com>
1459
1460 * inet/netgroup.h (struct name_list): Use C99 [] syntax rather than
1461 old GNU extension [0] syntax.
1462 * nscd/nscd_helper.c (open_socket): Use a flexible array member and
1463 alloca rather than an array member with variable length.
1464 * nscd/netgroupcache.c (addgetnetgrentX): Likewise.
1465 * nscd/nscd.c (invalidate_db): New function, broken out of ...
1466 (parse_opt): ... here. Likewise use alloca there.
1467 Validate the -i argument before checking for rootness.
1468 (send_shutdown): New function, broken out of ...
1469 (parse_opt): ... here.
1470
8c2b1ed8
RM
14712014-10-22 Roland McGrath <roland@hack.frob.com>
1472
1473 * sysdeps/arm/__longjmp.S [NEED_HWCAP] [IS_IN_rtld]: Use LDST_PCREL
1474 macro to get at the _rt_local_ro field.
1475 [NEED_HWCAP] [!IS_IN_rtld]: Use LDR_GLOBAL to get at _rtld_global_ro
1476 ([PIC] case) or _dl_hwcap ([!PIC] case).
1477 * sysdeps/arm/setjmp.S: Likewise.
1478
1479 * config.h.in (ARM_PCREL_MOVW_OK): New macro.
1480 * sysdeps/arm/configure.ac: New check to define it.
1481 * sysdeps/arm/configure: Regenerated.
1482 * sysdeps/arm/sysdep.h [__ASSEMBLER__]: Include <arm-features.h>.
1483 (LDST_INDEXED_NOINDEX, LDST_INDEXED_INDEX): New macros.
1484 (LDST_INDEXED, LDST_PC_INDEXED): New macros, differing definitions
1485 depending on [ARM_NO_INDEX_REGISTER] and [__thumb2__].
1486 (LDST_PCREL) [!__thumb2__ && ARCH_HAS_T2 && ARM_PCREL_MOVW_OK]:
1487 Use move/movt pair instead of a load.
1488 (LDST_GLOBAL): Macro removed.
1489 (LDR_GLOBAL): New macro replaces it.
1490 (LDR_HIDDEN): New macro.
1491 (PTR_MANGLE_LOAD): Use LDR_GLOBAL rather than LDST_GLOBAL.
1492 Use LDR_HIDDEN instead for __pointer_chk_guard_local.
1493
1494 * setjmp/tst-setjmp-static.c: New file.
1495 * setjmp/Makefile (tests): Add it.
1496 (tests-static): New variable.
1497
b5af9297
MR
14982014-10-22 Maciej W. Rozycki <macro@codesourcery.com>
1499
1500 [BZ #17485]
1501 * sysdeps/unix/sysv/linux/mips/vfork.S (__libc_vfork): Define.
1502
a13d0d74
JM
15032014-10-21 Joseph Myers <joseph@codesourcery.com>
1504
1505 [BZ #14132]
1506 * math/s_ldexpf.c (__ldexpf): Do not use INTDEF.
1507
f05e73f6
RM
15082014-10-21 Roland McGrath <roland@hack.frob.com>
1509
1510 * nptl/version.c (__nptl_main): Call __libc_write, not __write.
1511
6ab1d1ea
RM
15122014-10-20 Roland McGrath <roland@hack.frob.com>
1513
1514 * io/fts.c (dirent_not_directory): New function.
1515 (fts_build): Call it.
1516
ab49e763
RM
15172014-10-20 Roland McGrath <roland@hack.frob.com>
1518
e436eb79
RM
1519 * nptl/version.c (__nptl_main): Use normal __write rather than
1520 INTERNAL_SYSCALL.
1521 (banner): Update copyright years.
1522
6af246cf
RM
1523 * nptl/pthread_rwlock_timedrdlock.c: #include <sys/time.h> before using
1524 gettimeofday.
1525 * nptl/pthread_rwlock_timedwrlock.c: Likewise.
1526 * nptl/pthread_cond_timedwait.c: Likewise.
1527 * nptl/pthread_mutex_timedlock.c: Likewise.
1528 * nptl/sem_timedwait.c: Likewise.
1529
ab49e763
RM
1530 * sysdeps/nptl/bits/libc-lock.h
1531 [_LIBC && (!NOT_IN_libc || IS_IN_libpthread)]
1532 (__libc_lock_init_recursive): Return void, not 0.
1533 * sysdeps/nptl/bits/libc-lockP.h (__libc_lock_init): Likewise.
1534 (__libc_rwlock_init): Likewise.
1535 * sysdeps/nptl/bits/stdio-lock.h (_IO_lock_init): Likewise.
1536
f50277c1
TR
15372014-10-20 Torvald Riegel <triegel@redhat.com>
1538
1539 [BZ #15215]
1540 * nptl/pthread_once.c (__pthread_once): Split out fast path to ...
1541 (__pthread_once_slow): ... here.
1542 * sysdeps/unix/sysv/linux/i386/pthread_once.S: Remove file.
1543 * sysdeps/unix/sysv/linux/x86_64/pthread_once.S: Remove file.
1544
63668b70
TR
15452014-10-20 Torvald Riegel <triegel@redhat.com>
1546
1547 [BZ #15215]
1548 * nptl/pthreadP.h (__PTHREAD_ONCE_INPROGRESS, __PTHREAD_ONCE_DONE,
1549 __PTHREAD_ONCE_FORK_GEN_INCR): New.
1550 * sysdeps/nptl/fork.c (__libc_fork): Use them.
1551 * nptl/pthread_once.c (__pthread_once): Likewise.
1552 Update comments.
1553
42b7f5d4
JM
15542014-10-20 Joseph Myers <joseph@codesourcery.com>
1555
1556 [BZ #14138]
1557 * sysdeps/unix/syscalls.list (readv): Use __libc_readv as strong
1558 name.
1559 (writev): Use __libc_writev as strong name.
1560 * sysdeps/unix/sysv/linux/readv.c: Remove file.
1561 * sysdeps/unix/sysv/linux/writev.c: Likewise.
1562
b0643088
RM
15632014-10-17 Roland McGrath <roland@hack.frob.com>
1564
114c4e09
RM
1565 * nptl/createthread.c (TLS_DEFINE_INIT_TP, TLS_VALUE): Macros removed.
1566
674b8978
RM
1567 * sysdeps/i386/nptl/tls.h
1568 (THREAD_SELF_SYSINFO, THREAD_SYSINFO): Macros removed.
1569 [NEED_DL_SYSINFO] (SETUP_THREAD_SYSINFO, CHECK_THREAD_SYSINFO):
1570 New macros.
1571 * sysdeps/ia64/nptl/tls.h [NEED_DL_SYSINFO]
1572 (SETUP_THREAD_SYSINFO, CHECK_THREAD_SYSINFO): New macros.
1573 * nptl/allocatestack.c (allocate_stack) [NEED_DL_SYSINFO]:
1574 Call SETUP_THREAD_SYSINFO instead of doing an assignment.
1575 * nptl/createthread.c (create_thread) [NEED_DL_SYSINFO]:
1576 Call CHECK_THREAD_SYSINFO instead of doing an assert.
1577
184ee940
RM
1578 * nptl/nptl-init.c (__pthread_initialize_minimal_internal):
1579 Conditionalize FUTEX_PRIVATE_FLAG and FUTEX_CLOCK_REALTIME probes
1580 on [__NR_futex].
1581 * nptl/pthread_mutex_init.c (prio_inherit_missing): New function,
1582 broken out of ...
1583 (__pthread_mutex_init): ... here. Call it.
1584 * nptl/pthread_mutex_lock.c (__pthread_mutex_lock_full):
1585 Conditionalize PI cases on [__NR_futex].
1586 * nptl/pthread_mutex_timedlock.c (pthread_mutex_timedlock): Likewise.
1587 * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock): Likewise.
1588 * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_full): Likewise.
1589
327ae257
RM
1590 * nptl/nptl-init.c (sighandler_setxid, __xidcmd): Make definitions
1591 conditional on [SIGSETXID].
1592 (sigcancel_handler): Make definition conditional on [SIGCANCEL].
1593 (__pthread_initialize_minimal_internal): Set up SIGCANCEL only if it
1594 is defined. Likewise for SIGSETXID.
1595 * nptl/allocatestack.c (setxid_mark_thread, setxid_unmark_thread):
1596 Conditionalize definitions on [SIGSETXID].
1597 (setxid_signal_thread, __nptl_setxid_error, __nptl_setxid): Likewise.
1598 * nptl/pthread_create.c (start_thread): Conditionalize SIGCANCEL
1599 unblocking on [SIGCANCEL].
1600
b0643088
RM
1601 * nptl/nptl-init.c (__nptl_set_robust): Conditionalize body on
1602 [__NR_set_robust_list].
1603
33cc770b
SP
16042014-10-17 Siddhesh Poyarekar <siddhesh@redhat.com>
1605
1606 * string/strcoll_l.c (get_next_seq): Fix up formatting.
1607 (do_compare): Likewise.
1608
0742aef6
LH
16092014-10-17 Leonhard Holz <leonhard.holz@web.de>
1610
1611 [BZ #15884]
1612 * string/strcoll_l.c: Don't include stdio.h.
1613 (coll_seq): Remove members idxarr and rulearr.
1614 (get_next_seq_cached): Remove function.
1615 (get_next_seq): Likewise.
1616 (get_next_seq_nocache): Rename to get_next_seq.
1617 (do_compare): Remove function.
1618 (do_compare_nocache): Rename to do_compare.
1619 (STRCOLL): Remove weight and rules cache.
1620
ee54ce44
RM
16212014-10-16 Roland McGrath <roland@hack.frob.com>
1622
1623 * sysdeps/arm/soft-fp/sfp-machine.h: Filed moved ...
1624 * sysdeps/arm/sfp-machine.h: ... to here.
1625 * sysdeps/arm/Implies: Remove arm/soft-fp.
1626
a75d3b02
JM
16272014-10-14 Joseph Myers <joseph@codesourcery.com>
1628
1629 * conform/data/sys/utsname.h-data (*_t): Allow.
1630 * conform/data/sys/wait.h-data [POSIX] (uid_t): Do not define.
1631 [POSIX] (WEXITED): Do not expect constant.
1632 [POSIX] (WSTOPPED): Likewise.
1633 [POSIX] (WNOHANG): Likewise.
1634 [POSIX] (WNOWAIT): Likewise.
1635 [POSIX] (siginfo_t): Do not expect type or elements.
1636 [POSIX] (pid_t): Do not expect type.
1637 [POSIX] (signal.h): Do not allow header.
1638 [POSIX] (sys/resource.h): Likewise.
1639 [POSIX] (si_*): Do not allow pattern.
1640 [POSIX] (W*): Likewise.
1641 [POSIX] (P_*): Likewise.
1642 [POSIX] (BUS_*): Likewise.
1643 [POSIX] (CLD_*): Likewise.
1644 [POSIX] (FPE_*): Likewise.
1645 [POSIX] (ILL_*): Likewise.
1646 [POSIX] (POLL_*): Likewise.
1647 [POSIX] (SEGV_*): Likewise.
1648 [POSIX] (SI_*): Likewise.
1649 [POSIX] (TRAP_*): Likewise.
1650 * conform/Makefile (test-xfail-POSIX/sys/wait.h/conform): New
1651 variable.
1652
fda389c8
SP
16532014-10-14 Paul Pluzhnikov <ppluzhnikov@google.com>
1654
1655 [BZ #12926]
1656 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Avoid
1657 infinite loop when __recvmsg returns 0.
1658
6bc6bd3b
JM
16592014-10-10 Joseph Myers <joseph@codesourcery.com>
1660
fcb32af1
JM
1661 * CANCEL-FCT-WAIVE: Remove file.
1662 * CANCEL-FILE-WAIVE: Likewise.
1663
6bc6bd3b
JM
1664 [BZ #14132]
1665 * elf/dl-sysdep.c (__libc_enable_secure): Use rtld_hidden_data_def
1666 instead of INTVARDEF.
1667 (_dl_sysdep_start): Do not use INTUSE with __libc_enable_secure.
1668 * sysdeps/mach/hurd/dl-sysdep.c (__libc_enable_secure): Use
1669 rtld_hidden_data_def instead of INTVARDEF.
1670 (_dl_sysdep_start): Do not use INTUSE with __libc_enable_secure.
1671 * elf/dl-deps.c (expand_dst): Likewise.
1672 * elf/dl-load.c (_dl_dst_count): Likewise.
1673 (_dl_dst_substitute): Likewise.
1674 (decompose_rpath): Likewise.
1675 (_dl_init_paths): Likewise.
1676 (open_path): Likewise.
1677 (_dl_map_object): Likewise.
1678 * elf/rtld.c (dl_main): Likewise.
1679 (process_dl_audit): Likewise.
1680 (process_envvars): Likewise.
1681 * include/unistd.h [IS_IN_rtld] (__libc_enable_secure_internal):
1682 Remove declaration.
1683 (__libc_enable_secure): Use rtld_hidden_proto.
1684
b8c80a7e
KS
16852014-10-09 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
1686
1687 * elf/dl-load.c
1688 (add_path): New function broken out of _dl_rtld_di_serinfo.
1689 (_dl_rtld_di_serinfo): Remove that nested function. Update call sites.
1690
ff12c11f
JM
16912014-10-09 Joseph Myers <joseph@codesourcery.com>
1692
5c0508a3
JM
1693 * soft-fp/double.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_D): Use
1694 parentheses around macro arguments.
1695 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_DP): Likewise.
1696 [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_D): Likewise.
1697 [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_DP): Likewise.
1698 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_D): Likewise.
1699 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_DP): Likewise.
1700 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_D): Likewise.
1701 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_DP): Likewise.
1702 [_FP_W_TYPE_SIZE < 64] (FP_PACK_D): Likewise.
1703 [_FP_W_TYPE_SIZE < 64] (FP_PACK_DP): Likewise.
1704 [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_D): Likewise.
1705 [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_DP): Likewise.
1706 [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_D): Likewise.
1707 [_FP_W_TYPE_SIZE < 64] (FP_CMP_D): Likewise.
1708 [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_D): Likewise.
1709 [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_D): Likewise.
1710 [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_D): Likewise.
1711 [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_D): Likewise.
1712 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_D): Likewise.
1713 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_DP): Likewise.
1714 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_D): Likewise.
1715 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_DP): Likewise.
1716 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_D): Likewise.
1717 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_DP): Likewise.
1718 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_D): Likewise.
1719 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_DP): Likewise.
1720 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_D): Likewise.
1721 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_DP): Likewise.
1722 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_D): Likewise.
1723 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_DP): Likewise.
1724 [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_D): Likewise.
1725 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_D): Likewise.
1726 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_D): Likewise.
1727 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_D): Likewise.
1728 [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_D): Likewise.
1729 [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_D): Likewise.
1730 * soft-fp/extended.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_E):
1731 Likewise.
1732 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_EP): Likewise.
1733 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_E): Likewise.
1734 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_EP): Likewise.
1735 [_FP_W_TYPE_SIZE < 64] (FP_PACK_E): Likewise.
1736 [_FP_W_TYPE_SIZE < 64] (FP_PACK_EP): Likewise.
1737 [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_E): Likewise.
1738 [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_EP): Likewise.
1739 [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_E): Likewise.
1740 [_FP_W_TYPE_SIZE < 64] (FP_CMP_E): Likewise.
1741 [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_E): Likewise.
1742 [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_E): Likewise.
1743 [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_E): Likewise.
1744 [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_E): Likewise.
1745 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_E): Likewise.
1746 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_EP): Likewise.
1747 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_E): Likewise.
1748 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_EP): Likewise.
1749 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_E): Likewise.
1750 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_EP): Likewise.
1751 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_E): Likewise.
1752 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_EP): Likewise.
1753 [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_E): Likewise.
1754 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_E): Likewise.
1755 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_E): Likewise.
1756 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_E): Likewise.
1757 [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_E): Likewise.
1758 [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_E): Likewise.
1759 * soft-fp/op-1.h (_FP_FRAC_SRST_1): Likewise.
1760 (_FP_FRAC_SRS_1): Likewise.
1761 (_FP_FRAC_CLZ_1): Likewise.
1762 (_FP_MUL_MEAT_1_imm): Likewise.
1763 (_FP_MUL_MEAT_1_wide): Likewise.
1764 (_FP_MUL_MEAT_1_hard): Likewise.
1765 (_FP_SQRT_MEAT_1): Likewise.
1766 (_FP_FRAC_ASSEMBLE_1): Likewise.
1767 (_FP_FRAC_DISASSEMBLE_1): Likewise.
1768 * soft-fp/op-2.h (_FP_FRAC_CLZ_2): Likewise.
1769 (__FP_CLZ_2): Likewise.
1770 (_FP_MUL_MEAT_2_wide): Likewise.
1771 (_FP_MUL_MEAT_2_wide_3mul): Likewise.
1772 (_FP_MUL_MEAT_2_gmp): Likewise.
1773 (_FP_MUL_MEAT_2_120_240_double): Likewise.
1774 (_FP_SQRT_MEAT_2): Likewise.
1775 (_FP_FRAC_ASSEMBLE_2): Likewise.
1776 (_FP_FRAC_DISASSEMBLE_2): Likewise.
1777 * soft-fp/op-4.h (_FP_FRAC_SRS_4): Likewise.
1778 (_FP_FRAC_CLZ_4): Likewise.
1779 (_FP_MUL_MEAT_4_wide): Likewise.
1780 (_FP_MUL_MEAT_4_gmp): Likewise.
1781 (_FP_SQRT_MEAT_4): Likewise.
1782 (_FP_FRAC_ASSEMBLE_4): Likewise.
1783 (_FP_FRAC_DISASSEMBLE_4): Likewise.
1784 * soft-fp/op-common.h (_FP_CMP): Likewise.
1785 (_FP_CMP_EQ): Likewise.
1786 (_FP_CMP_UNORD): Likewise.
1787 (_FP_TO_INT): Likewise.
1788 (_FP_FROM_INT): Likewise.
1789 [!__FP_CLZ] (__FP_CLZ): Likewise.
1790 (_FP_DIV_HELP_imm): Likewise.
1791 * soft-fp/quad.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_Q):
1792 Likewise.
1793 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_QP): Likewise.
1794 [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_Q): Likewise.
1795 [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_QP): Likewise.
1796 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_Q): Likewise.
1797 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_QP): Likewise.
1798 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_Q): Likewise.
1799 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_QP): Likewise.
1800 [_FP_W_TYPE_SIZE < 64] (FP_PACK_Q): Likewise.
1801 [_FP_W_TYPE_SIZE < 64] (FP_PACK_QP): Likewise.
1802 [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_Q): Likewise.
1803 [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_QP): Likewise.
1804 [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_Q): Likewise.
1805 [_FP_W_TYPE_SIZE < 64] (FP_CMP_Q): Likewise.
1806 [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_Q): Likewise.
1807 [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_Q): Likewise.
1808 [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_Q): Likewise.
1809 [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_Q): Likewise.
1810 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_Q): Likewise.
1811 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_QP): Likewise.
1812 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_Q): Likewise.
1813 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_QP): Likewise.
1814 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_Q): Likewise.
1815 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_QP): Likewise.
1816 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_Q): Likewise.
1817 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_QP): Likewise.
1818 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_Q): Likewise.
1819 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_QP): Likewise.
1820 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_Q): Likewise.
1821 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_QP): Likewise.
1822 [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_Q): Likewise.
1823 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_Q): Likewise.
1824 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_Q): Likewise.
1825 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_Q): Likewise.
1826 [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_Q): Likewise.
1827 [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_Q): Likewise.
1828 * soft-fp/single.h (FP_UNPACK_RAW_S): Likewise.
1829 (FP_UNPACK_RAW_SP): Likewise.
1830 (FP_PACK_RAW_S): Likewise.
1831 (FP_PACK_RAW_SP): Likewise.
1832 (FP_UNPACK_S): Likewise.
1833 (FP_UNPACK_SP): Likewise.
1834 (FP_UNPACK_SEMIRAW_S): Likewise.
1835 (FP_UNPACK_SEMIRAW_SP): Likewise.
1836 (FP_PACK_S): Likewise.
1837 (FP_PACK_SP): Likewise.
1838 (FP_PACK_SEMIRAW_S): Likewise.
1839 (FP_PACK_SEMIRAW_SP): Likewise.
1840 (_FP_SQRT_MEAT_S): Likewise.
1841 (FP_CMP_S): Likewise.
1842 (FP_CMP_EQ_S): Likewise.
1843 (FP_CMP_UNORD_S): Likewise.
1844 (FP_TO_INT_S): Likewise.
1845 (FP_FROM_INT_S): Likewise.
1846
a736ec37
JM
1847 * soft-fp/op-common.h (_FP_TO_INT): Handle rsigned == 2.
1848
ff12c11f
JM
1849 * soft-fp/soft-fp.h (FP_EX_INVALID_SNAN): New macro.
1850 (FP_EX_INVALID_IMZ): Likewise.
1851 (FP_EX_INVALID_IMZ_FMA): Likewise.
1852 (FP_EX_INVALID_ISI): Likewise.
1853 (FP_EX_INVALID_ZDZ): Likewise.
1854 (FP_EX_INVALID_IDI): Likewise.
1855 (FP_EX_INVALID_SQRT): Likewise.
1856 (FP_EX_INVALID_CVI): Likewise.
1857 (FP_EX_INVALID_VC): Likewise.
1858 * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Specify more precise
1859 "invalid" exceptions.
1860 (_FP_CHECK_SIGNAN_SEMIRAW): Likewise.
1861 (_FP_ADD_INTERNAL): Likewise.
1862 (_FP_MUL): Likewise.
1863 (_FP_FMA): Likewise.
1864 (_FP_DIV): Likewise.
1865 (_FP_CMP_CHECK_NAN): Likewise.
1866 (_FP_SQRT): Likewise.
1867 (_FP_TO_INT): Likewise.
1868 (FP_EXTEND): Likewise.
1869
b6dcfe8c
AM
18702014-10-09 Allan McRae <allan@archlinux.org>
1871
1872 * po/fr.po: Update French translation from translation project.
1873
2d6a47ba
JM
18742014-10-09 Joseph Myers <joseph@codesourcery.com>
1875
cb831245
JM
1876 [BZ #14132]
1877 * stdlib/cxa_atexit.c (__cxa_atexit): Use libc_hidden_def instead
1878 of INTDEF.
1879 * include/stdlib.h (__cxa_atexit_internal): Remove declaration.
1880 (__cxa_atexit): Use libc_hidden_proto.
1881 [!NOT_IN_libc] (__cxa_atexit): Remove macro definition.
1882
5deeb190
JM
1883 [BZ #14132]
1884 * include/wctype.h [!_ISOMAC] (__iswalpha_l_internal): Remove
1885 declaration.
1886 [!_ISOMAC] (__iswdigit_l_internal): Likewise.
1887 [!_ISOMAC] (__iswspace_l_internal): Likewise.
1888 [!_ISOMAC] (__iswxdigit_l_internal): Likewise.
1889 [!_ISOMAC] (__iswctype_internal): Likewise.
1890 * stdio-common/siglist.c (_sys_siglist_internal): Remove alias.
1891 * sysdeps/unix/syscalls.list (chown): Remove __chown_internal
1892 alias.
1893 (fcntl): Remove __fcntl_internal alias.
1894 * sysdeps/unix/sysv/linux/hppa/syscalls.list (connect): Remove
1895 __connect_internal alias.
1896 * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list (connect):
1897 Likewise.
1898
454ac701
JM
1899 * soft-fp/soft-fp.h (FP_DENORM_ZERO): New macro.
1900 * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Check
1901 FP_DENORM_ZERO.
1902 (_FP_CHECK_FLUSH_ZERO): New macro.
1903 (_FP_ADD_INTERNAL): Call _FP_CHECK_FLUSH_ZERO.
1904 (_FP_CMP): Likewise.
1905 (_FP_CMP_EQ): Likewise.
1906 (_FP_TO_INT): Do not set inexact for subnormal arguments if
1907 FP_DENORM_ZERO.
1908 (FP_EXTEND): Call _FP_CHECK_FLUSH_ZERO.
1909 (FP_TRUNC): Likewise.
1910
0022e688
JM
1911 * soft-fp/op-common.h (_FP_TO_INT): Ensure maximum exponent is
1912 treated as invalid conversion, not as normal exponent.
1913
73e28d9c
JM
1914 * soft-fp/op-common.h (_FP_CMP_CHECK_NAN): New macro.
1915 (_FP_CMP): Add extra argument EX. Call _FP_CMP_CHECK_NAN.
1916 (_FP_CMP_EQ): Likewise.
1917 (_FP_CMP_UNORD): Likewise.
1918 * soft-fp/double.h (FP_CMP_D): Add extra argument EX.
1919 (FP_CMP_EQ_D): Likewise.
1920 (FP_CMP_UNORD_D): Likewise.
1921 * soft-fp/extended.h (FP_CMP_E): Likewise.
1922 (FP_CMP_EQ_E): Likewise.
1923 (FP_CMP_UNORD_E): Likewise.
1924 * soft-fp/quad.h (FP_CMP_Q): Likewise.
1925 (FP_CMP_EQ_Q): Likewise.
1926 (FP_CMP_UNORD_Q): Likewise.
1927 * soft-fp/single.h (FP_CMP_S): Likewise.
1928 (FP_CMP_EQ_S): Likewise.
1929 (FP_CMP_UNORD_S): Likewise.
1930 * soft-fp/eqdf2.c (__eqdf2): Update call to FP_CMP_EQ_D.
1931 * soft-fp/eqsf2.c (__eqsf2): Update call to FP_CMP_EQ_S.
1932 * soft-fp/eqtf2.c (__eqtf2): Update call to FP_CMP_EQ_Q.
1933 * soft-fp/gedf2.c (__gedf2): Update call to FP_CMP_D.
1934 * soft-fp/gesf2.c (__gesf2): Update call to FP_CMP_S.
1935 * soft-fp/getf2.c (__getf2): Update call to FP_CMP_Q.
1936 * soft-fp/ledf2.c (__ledf2): Update call to FP_CMP_D.
1937 * soft-fp/lesf2.c (__lesf2): Update call to FP_CMP_S.
1938 * soft-fp/letf2.c (__letf2): Update call to FP_CMP_Q.
1939 * soft-fp/unorddf2.c (__unorddf2): Update call to FP_CMP_UNORD_D.
1940 * soft-fp/unordsf2.c (__unordsf2): Update call to FP_CMP_UNORD_S.
1941 * soft-fp/unordtf2.c (__unordtf2): Update call to FP_CMP_UNORD_Q.
1942 * sysdeps/alpha/soft-fp/ots_cmpe.c (internal_compare): Update call
1943 to FP_CMP_Q.
1944 * sysdeps/sparc/sparc32/soft-fp/q_cmp.c (_Q_cmp): Update call to
1945 FP_CMP_Q.
1946 * sysdeps/sparc/sparc32/soft-fp/q_cmpe.c (_Q_cmpe): Likewise.
1947 * sysdeps/sparc/sparc32/soft-fp/q_feq.c (_Q_feq): Update call to
1948 FP_CMP_EQ_Q.
1949 * sysdeps/sparc/sparc32/soft-fp/q_fge.c (_Q_fge): Update call to
1950 FP_CMP_Q.
1951 * sysdeps/sparc/sparc32/soft-fp/q_fgt.c (_Q_fgt): Likewise.
1952 * sysdeps/sparc/sparc32/soft-fp/q_fle.c (_Q_fle): Likewise.
1953 * sysdeps/sparc/sparc32/soft-fp/q_flt.c (_Q_flt): Likewise.
1954 * sysdeps/sparc/sparc32/soft-fp/q_fne.c (_Q_fne): Update call to
1955 FP_CMP_EQ_Q.
1956 * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c (_Qp_cmp): Update call to
1957 FP_CMP_Q.
1958 * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c (_Qp_cmpe): Likewise.
1959 * sysdeps/sparc/sparc64/soft-fp/qp_feq.c (_Qp_feq): Update call to
1960 FP_CMP_EQ_Q.
1961 * sysdeps/sparc/sparc64/soft-fp/qp_fge.c (_Qp_fge): Update call to
1962 FP_CMP_Q.
1963 * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c (_Qp_fgt): Likewise.
1964 * sysdeps/sparc/sparc64/soft-fp/qp_fle.c (_Qp_fle): Likewise.
1965 * sysdeps/sparc/sparc64/soft-fp/qp_flt.c (_Qp_flt): Likewise.
1966 * sysdeps/sparc/sparc64/soft-fp/qp_fne.c (_Qp_fne): Update call to
1967 FP_CMP_EQ_Q.
1968
43059f42
JM
1969 * soft-fp/op-common.h (FP_EXTEND): When a subnormal input produces
1970 a subnormal result, set the underflow exception if trapping on
1971 underflow is enabled.
1972 * soft-fp/soft-fp.h (FP_INIT_TRAPPING_EXCEPTIONS): New macro.
1973 (FP_INIT_EXCEPTIONS): Default to FP_INIT_TRAPPING_EXCEPTIONS.
1974 [FP_NO_EXACT_UNDERFLOW] (FP_TRAPPING_EXCEPTIONS): Undefine and
1975 redefine to 0.
1976 * soft-fp/extenddftf2.c (FP_NO_EXACT_UNDERFLOW): Define.
1977 * soft-fp/extendsfdf2.c (FP_NO_EXACT_UNDERFLOW): Likewise.
1978 * soft-fp/extendsftf2.c (FP_NO_EXACT_UNDERFLOW): Likewise.
1979 * soft-fp/extendxftf2.c (__extendxftf2): Use
1980 FP_INIT_TRAPPING_EXCEPTIONS instead of FP_INIT_ROUNDMODE.
1981
2d6a47ba
JM
1982 * soft-fp/soft-fp.h (FP_CLEAR_EXCEPTIONS): Remove macro.
1983 * sysdeps/sparc/sparc32/soft-fp/q_itoq.c: Define FP_NO_EXCEPTIONS.
1984 (_Q_itoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
1985 FP_HANDLE_EXCEPTIONS.
1986 * sysdeps/sparc/sparc32/soft-fp/q_lltoq.c: Define FP_NO_EXCEPTIONS.
1987 (_Q_lltoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
1988 FP_HANDLE_EXCEPTIONS.
1989 * sysdeps/sparc/sparc32/soft-fp/q_ulltoq.c: Define FP_NO_EXCEPTIONS.
1990 (_Q_ulltoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
1991 FP_HANDLE_EXCEPTIONS.
1992 * sysdeps/sparc/sparc32/soft-fp/q_utoq.c: Define FP_NO_EXCEPTIONS.
1993 (_Q_utoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
1994 FP_HANDLE_EXCEPTIONS.
1995
620f462e
JM
19962014-10-08 Joseph Myers <joseph@codesourcery.com>
1997
1998 [BZ #14132]
1999 * sysdeps/unix/sysv/linux/include/sys/timex.h: New file.
2000 * sysdeps/unix/sysv/linux/adjtime.c [!ADJTIMEX] (ADJTIMEX): Do not
2001 use INTUSE.
2002 [!ADJTIMEX] (INTUSE(__adjtimex)): Remove declaration.
2003 * sysdeps/unix/sysv/linux/alpha/adjtime.c (__adjtimex_internal):
2004 Remove alias.
2005 (__adjtimex): Define using libc_hidden_ver.
2006 * sysdeps/unix/sysv/linux/ntp_gettime.c (INTUSE(__adjtimex)):
2007 Remove declaration.
2008 (ntp_gettime): Call __adjtimex directly.
2009 * sysdeps/unix/sysv/linux/ntp_gettimex.c (INTUSE(__adjtimex)):
2010 Remove declaration.
2011 (ntp_gettimex): Call __adjtimex directly.
2012 * sysdeps/unix/sysv/linux/syscalls.list (adjtimex): Remove
2013 __adjtimex_internal alias.
2014
c763c5d2
RM
20152014-10-08 Roland McGrath <roland@hack.frob.com>
2016
2017 [BZ #17460]
2018 * nscd/nscd.c (more_help): Rewrite list of tables collection
2019 using xstrdup and asprintf.
2020
2021 * nscd/nscd_conf.c: Remove local xstrdup declaration.
2022
7b8fb2b8
RM
20232014-10-08 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
2024 Roland McGrath <roland@hack.frob.com>
2025
2026 * elf/dl-lookup.c (enter_unique_sym): New function, broken out of ...
2027 (do_lookup_unique): ... local function 'enter' here; update callers.
2028
abb280f7
JM
20292014-10-06 Joseph Myers <joseph@codesourcery.com>
2030
f7b42517
JM
2031 * sysdeps/unix/make-syscalls.sh (emit_weak_aliases): Condition
2032 compat_symbol calls on [SHARED].
2033 * sysdeps/unix/sysv/linux/powerpc/lchown.S: Remove file.
2034 * sysdeps/unix/sysv/linux/i386/syscalls.list (oldsetrlimit):
2035 Remove.
2036 (setrlimit): Add setrlimit@GLIBC_2.0 alias.
2037 * sysdeps/unix/sysv/linux/m68k/m680x0/syscalls.list
2038 (oldsetrlimit): Remove.
2039 (setrlimit): Add setrlimit@GLIBC_2.0 alias.
2040 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list
2041 (lchown): New syscall entry.
2042 (oldsetrlimit): Remove.
2043 (setrlimit): Add setrlimit@GLIBC_2.0 alias.
2044 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list
2045 (oldsetrlimit): Remove.
2046 (setrlimit): Add setrlimit@GLIBC_2.0 alias.
2047
abb280f7
JM
2048 [BZ #14138]
2049 * sysdeps/unix/sysv/linux/arm/fchown.c: Remove file.
2050 * sysdeps/unix/sysv/linux/arm/lchown.c: Likewise.
2051 * sysdeps/unix/sysv/linux/m68k/fchown.c: Likewise.
2052 * sysdeps/unix/sysv/linux/m68k/lchown.c: Likewise.
2053 * sysdeps/unix/sysv/linux/powerpc/chown.c: Likewise.
2054 * sysdeps/unix/sysv/linux/arm/syscalls.list (lchown): Add syscall.
2055 (fchown): Likewise.
2056 * sysdeps/unix/sysv/linux/m68k/syscalls.list (lchown): Likewise.
2057 (fchown): Likewise.
2058 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list (chown):
2059 Likewise.
2060
47d46237
AZ
20612014-10-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2062
2063 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Remove file.
2064 * sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c
2065 (pthread_spin_unlock): Use __ARCH_REL_INSTR instead of
2066 __lll_rel_instr and __ARCH_ACQ_INSTR instead of __lll_acq_instr.
2067 * sysdeps/unix/sysv/linux/powerpc/sem_post.c (__new_sem_post):
2068 Likewise.
2069 (__old_sem_post): Likewise.
2070
20712014-10-06 Chris Metcalf <cmetcalf@tilera.com>
1c4c1a6f 2072
845a7343
CM
2073 * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_VSYSCALL): Define
2074 INLINE_VSYSCALL, INTERNAL_VSYSCALL, and
2075 HAVE_CLOCK_GETTIME_VSYSCALL macros.
2076 * sysdeps/unix/sysv/linux/tile/gettimeofday.c (__gettimeofday):
2077 Use INLINE_VSYSCALL macro.
2078 * sysdeps/unix/sysv/linux/tile/bits/libc-vdso: Add declaration of
2079 __vdso_clock_gettime.
2080 * sysdeps/unix/sysv/linux/tile/init-first.c
2081 (_libc_vdso_platform_setup): Set new __vdso_clock_gettime global.
2082 * sysdeps/unix/sysv/linux/tile/Versions (GLIBC_PRIVATE): Add
2083 __vdso_clock_gettime.
2084
83d641ef
CM
2085 * sysdeps/unix/sysv/linux/tile/clone.S (__clone): Fix code
2086 to set up frame more cleanly.
2087
d9cd52e6
CM
2088 * sysdeps/tile/memcmp.c: New file.
2089
4b68ea11
CM
2090 * sysdeps/unix/sysv/linux/tile/sysconf.c: New file.
2091
c86f7b80
CM
2092 * sysdeps/tile/tilegx/string-endian.h (STRSHIFT): New macro.
2093 * sysdeps/tile/tilegx/strcasestr.c: New file.
2094 * sysdeps/tile/tilegx/strnlen.c: New file.
2095 * sysdeps/tile/tilegx/strstr.c: New file.
2096
1c4c1a6f
CM
2097 * sysdeps/tile/tilegx/string-endian.h (copy_byte): Optimize.
2098
99d86ea3
AS
20992014-10-06 Arjun Shankar <arjun.is@lostca.se>
2100
2101 * nptl/tst-setuid3.c: Write errors to stdout.
2102
06210a44
KS
21032014-10-01 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
2104
2105 * elf/dl-deps.c
2106 (preload): New functions broken out of _dl_map_object_deps.
2107 (_dl_map_object_deps): Remove a nested function. Update call sites.
2108
6268f532
JM
21092014-10-01 Joseph Myers <joseph@codesourcery.com>
2110
2111 [BZ #14138]
2112 * sysdeps/unix/sysv/linux/execve.c: Remove file.
2113 * sysdeps/unix/sysv/linux/syscalls.list (execve): Add syscall.
2114
b925285f
SE
21152014-10-01 Steve Ellcey <sellcey@mips.com>
2116
2117 * sysdeps/mips/strcmp.S: New.
2118
754a15c6
JM
21192014-09-30 Joseph Myers <joseph@codesourcery.com>
2120
2121 [BZ #14138]
2122 * sysdeps/unix/sysv/linux/syscalls.list (fchownat): New syscall.
2123 (linkat): Likewise.
2124 (mkdirat): Likewise.
2125 (readlinkat): Likewise.
2126 (renameat): Likewise.
2127 (symlinkat): Likewise.
2128 (unlinkat): Likewise.
2129 * sysdeps/unix/sysv/linux/fchownat.c: Remove file.
2130 * sysdeps/unix/sysv/linux/linkat.c: Likewise.
2131 * sysdeps/unix/sysv/linux/mkdirat.c: Likewise.
2132 * sysdeps/unix/sysv/linux/readlinkat.c: Likewise.
2133 * sysdeps/unix/sysv/linux/renameat.c: Likewise.
2134 * sysdeps/unix/sysv/linux/symlinkat.c: Likewise.
2135 * sysdeps/unix/sysv/linux/unlinkat.c: Likewise.
2136
85bb81c9
WN
21372014-09-30 Will Newton <will.newton@linaro.org>
2138
dc6fe23b
WN
2139 * math/math.h: Define long double math functions if
2140 _LIBC_TEST is defined.
2141 * stdlib/tst-strtod-round.c: Define _LIBC_TEST.
2142
85bb81c9
WN
2143 * localedata/Makefile: Move assignment to tests-special
2144 into an ifdef testing run-built-tests.
2145 * timezone/Makefile: Likewise.
2146
b7e02da4
JM
21472014-09-29 Joseph Myers <joseph@codesourcery.com>
2148
2149 * sysdeps/x86/Makefile ($(objpfx)tst-ld-sse-use.out): Run script
2150 with $(BASH) not $(SHELL).
2151
62058ce6
CD
21522014-09-29 Carlos O'Donell <carlos@redhat.com>
2153 Matthew LeGendre <legendre1@llnl.gov>
2154
2155 [BZ #17411]
2156 * elf/dl-reloc.c (_dl_relocate_object): Allocate correct amount for
2157 l_reloc_result.
2158
8e257a29
KS
21592014-09-29 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
2160
2161 * stdio-common/printf_fp.c
2162 (hack_digit): New function, broken out of ...
2163 (__printf_fp): ... local function here. Update call sites.
2164 hack_digit now takes an additional parameter that is a pointer
2165 to a struct of the referenced locals. Those locals moved inside
2166 the struct and references updated.
2167
f4a58f0d
L
21682014-09-29 H.J. Lu <hongjiu.lu@intel.com>
2169
2170 * aclocal.m4: Require autoconf 2.69.
2171 * configure: Regenerated.
2172 * sysdeps/aarch64/configure: Likewise.
2173 * sysdeps/alpha/configure: Likewise.
2174 * sysdeps/arm/armv7/configure: Likewise.
2175 * sysdeps/arm/configure: Likewise.
2176 * sysdeps/ia64/configure: Likewise.
2177 * sysdeps/mach/configure: Likewise.
2178 * sysdeps/mips/configure: Likewise.
2179 * sysdeps/s390/configure: Likewise.
2180 * sysdeps/unix/sysv/linux/mips/configure: Likewise.
2181 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Likewise.
2182
2183 * sysdeps/alpha/configure.ac: Avoid empty lines at the end of
2184 file.
2185 * sysdeps/ia64/configure.ac: Likewise.
2186
93ae1eba
JM
21872014-09-26 Joseph Myers <joseph@codesourcery.com>
2188
1810d3ab
JM
2189 * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: Do not
2190 specify symbol version for ld.so. Do not include entry for
2191 libpthread.
2192 * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
2193 * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Likewise.
2194 * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
2195
93ae1eba
JM
2196 [BZ #14171]
2197 * Makeconfig [$(build-shared) = yes]
2198 ($(common-objpfx)soversions.mk): Don't handle SONAMEs specified in
2199 makefiles.
2200 [$(build-shared) = yes && $(soversions.mk-done) = t]
2201 ($(common-objpfx)gnu/lib-names.h): Remove rule.
2202 [$(build-shared) = yes && $(soversions.mk-done) = t]
2203 ($(common-objpfx)gnu/lib-names.stmp): Likewise. Split and moved
2204 to Makerules.
2205 [$(build-shared) = yes && $(soversions.mk-done) = t]
2206 (before-compile): Don't append $(common-objpfx)gnu/lib-names.h
2207 here.
2208 [$(build-shared) = yes && $(soversions.mk-done) = t]
2209 (common-generated): Don't append gnu/lib-names.h and
2210 gnu/lib-names.stmp here.
2211 * Makerules [$(build-shared) = yes && $(soversions.mk-done) = t]
2212 (lib-names-h-abi): New variable.
2213 [$(build-shared) = yes && $(soversions.mk-done) = t]
2214 (lib-names-stmp-abi): Likewise.
2215 [$(build-shared) = yes && $(soversions.mk-done) = t &&
2216 abi-variants] (before-compile): Append
2217 $(common-objpfx)$(lib-names-h-abi).
2218 [$(build-shared) = yes && $(soversions.mk-done) = t &&
2219 abi-variants] (common-generated): Append gnu/lib-names.h.
2220 [$(build-shared) = yes && $(soversions.mk-done) = t &&
2221 abi-variants] (install-others-nosubdir): Depend on
2222 $(inst_includedir)/$(lib-names-h-abi).
2223 [$(build-shared) = yes && $(soversions.mk-done) = t &&
2224 abi-variants] ($(common-objpfx)gnu/lib-names.h): New rule.
2225 [$(build-shared) = yes && $(soversions.mk-done) = t]
2226 ($(common-objpfx)$(lib-names-h-abi)): New rule.
2227 [$(build-shared) = yes && $(soversions.mk-done) = t]
2228 ($(common-objpfx)$(lib-names-stmp-abi)): Likewise.
2229 [$(build-shared) = yes && $(soversions.mk-done) = t]
2230 (common-generated): Append $(lib-names-h-abi) and
2231 $(lib-names-stmp-abi).
2232 * scripts/lib-names.awk: Do not handle multi being set.
2233 * sysdeps/unix/sysv/linux/aarch64/Makefile (abi-lp64-ld-soname):
2234 Remove variable.
2235 (abi-lp64_be-ld-soname): Likewise.
2236 * sysdeps/unix/sysv/linux/arm/Makefile (abi-soft-ld-soname):
2237 Likewise.
2238 (abi-hard-ld-soname): Likewise.
2239 * sysdeps/unix/sysv/linux/i386/shlib-versions: New file.
2240 * sysdeps/unix/sysv/linux/mips/Makefile (abi-o32_soft-ld-soname):
2241 Remove variable.
2242 (abi-o32_hard-ld-soname): Likewise.
2243 (abi-o32_soft_2008-ld-soname): Likewise.
2244 (abi-o32_hard_2008-ld-soname): Likewise.
2245 (abi-n32_soft-ld-soname): Likewise.
2246 (abi-n32_hard-ld-soname): Likewise.
2247 (abi-n32_soft_2008-ld-soname): Likewise.
2248 (abi-n32_hard_2008-ld-soname): Likewise.
2249 (abi-n64_soft-ld-soname): Likewise.
2250 (abi-n64_hard-ld-soname): Likewise.
2251 (abi-n64_soft_2008-ld-soname): Likewise.
2252 (abi-n64_hard_2008-ld-soname): Likewise.
2253 * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-64-v1-ld-soname):
2254 Likewise.
2255 (abi-64-v2-ld-soname): Likewise.
2256 * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: Add
2257 ld.so entries.
2258 * sysdeps/unix/sysv/linux/s390/Makefile (abi-64-ld-soname): Remove
2259 variable.
2260 * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Add ld.so
2261 entry.
2262 * sysdeps/unix/sysv/linux/x86/Makefile (abi-32-ld-soname): Remove
2263 variable.
2264 (abi-64-ld-soname): Likewise.
2265 (abi-x32-ld-soname): Likewise.
2266 * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Add ld.so
2267 entry.
2268 * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
2269
68870f12
JM
22702014-09-23 Joseph Myers <joseph@codesourcery.com>
2271
2272 [BZ #14138]
2273 * sysdeps/unix/sysv/linux/arm/setrlimit.c: Remove file.
2274 * sysdeps/unix/sysv/linux/i386/setrlimit.c: Likewise.
2275 * sysdeps/unix/sysv/linux/m68k/setrlimit.c: Likewise.
2276 * sysdeps/unix/sysv/linux/powerpc/setrlimit.c: Likewise.
2277 * sysdeps/unix/sysv/linux/s390/s390-32/setrlimit.c: Likewise.
2278 * sysdeps/unix/sysv/linux/sh/setrlimit.c: Likewise.
2279 * sysdeps/unix/sysv/linux/i386/syscalls.list (setrlimit): Add
2280 syscall entry for GLIBC_2.2 symbol version.
2281 * sysdeps/unix/sysv/linux/m68k/m680x0/syscalls.list (setrlimit):
2282 Likewise.
2283 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list
2284 (setrlimit): Likewise.
2285 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (setrlimit):
2286 Likewise.
2287
ea58f202
WN
22882014-09-23 Will Newton <will.newton@linaro.org>
2289
2290 * sysdeps/unix/sysv/linux/arm/bits/hwcap.h: Check for
2291 _LINUX_ARM_SYSDEP_H include guard too.
2292 * sysdeps/unix/sysv/linux/arm/sysdep.h (_SYS_AUXV_H): Remove
2293 define.
2294
69eb9a18
RV
22952014-09-20 Rasmus Villemoes <rv@rasmusvillemoes.dk>
2296
2297 * sysdeps/unix/sysv/linux/eventfd.c:
2298 Make first argument unsigned.
2299 * sysdeps/unix/sysv/linux/hppa/sys/eventfd.h: Likewise.
2300 * sysdeps/unix/sysv/linux/sys/eventfd.h: Likewise.
2301
20e5a5f7
OB
23022014-09-20 Ondřej Bílka <neleai@seznam.cz>
2303
2304 * socket/recvmmsg.c (recvmmsg): Drop const argument.
2305 * socket/sys/socket.h: Likewise
2306 * sysdeps/unix/sysv/linux/recvmmsg.c: Likewise.
2307
d3c827e7
AK
23082014-09-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
2309
2310 * stdlib/longlong.h: Add __udiv_w_sdiv prototype.
2311
fe1cc35a
AS
23122014-09-17 Arjun Shankar <arjun.is@lostca.se>
2313
2314 * time/tst-ftime.c: New test.
2315 * time/Makefile (tests): Add tst-ftime.
2316
4e8afe69
JM
23172014-09-17 Joseph Myers <joseph@codesourcery.com>
2318
c4fe3ea7
JM
2319 * soft-fp/extended.h: Fix comment formatting.
2320 * soft-fp/op-1.h: Likewise.
2321 * soft-fp/op-2.h: Likewise.
2322 * soft-fp/op-4.h: Likewise.
2323 * soft-fp/op-8.h: Likewise.
2324 * soft-fp/op-common.h: Likewise.
2325 * soft-fp/soft-fp.h: Likewise.
2326
4e8afe69
JM
2327 * soft-fp/op-common.h (_FP_TO_INT): Correct formatting.
2328
af296fcd
JM
23292014-09-16 Joseph Myers <joseph@codesourcery.com>
2330
2331 [BZ #6652]
2332 * Makeconfig (soversions-default-setname): Remove variable.
2333 ($(common-objpfx)soversions.i): Don't pass default_setname to
2334 soversions.awk.
2335 * Makerules ($(common-objpfx)abi-versions.h): Don't pass
2336 oldest_abi to abi-versions.awk.
2337 * config.h.in (GLIBC_OLDEST_ABI): Remove macro undefine.
2338 * config.make.in (oldest-abi): Remove variable.
2339 * configure.ac (--enable-oldest-abi): Remove configure option.
2340 * configure: Regenerated.
2341 * csu/version.c (banner) [GLIBC_OLDEST_ABI]: Remove conditional
2342 text.
2343 * scripts/abi-versions.awk: Do not handle oldest_abi variable.
2344 * scripts/soversions.awk: Do not handle default_setname variable.
2345 * sysdeps/mach/hurd/configure.ac: Do not handle oldest_abi
2346 variable.
2347 * sysdeps/mach/hurd/configure: Regenerated.
2348 * sysdeps/unix/sysv/linux/configure.ac: Do not handle oldest_abi
2349 variable.
2350 * sysdeps/unix/sysv/linux/configure: Regenerated.
2351
545583d6
SP
23522014-09-16 Siddhesh Poyarekar <siddhesh@redhat.com>
2353
d330b980
SP
2354 * elf/Makefile (CFLAGS-interp.c): Remove.
2355 ($(elf-objpfx)runtime-linker.h): Generate header with linker
2356 path string.
2357 * elf/interp.c: Include generated runtime-linker.h
2358
02657da2
SP
2359 * Makerules (lib%.so): Don't include $(+interp) in
2360 prerequisites.
2361 * elf/Makefile (CFLAGS-interp.c): Don't define NOT_IN_libc.
2362 * dlfcn/eval.c: Remove file.
2363
653b1080
SP
2364 * posix/getconf.c (vars): Don't check for _[SP]C_* and _CS
2365 macros.
2366
602f80ec
SP
2367 [BZ #17266]
2368 * misc/sys/cdefs.h: Define __extern_always_inline for clang
2369 4.2 and newer.
2370
545583d6
SP
2371 [BZ #17370]
2372 * libio/wfileops.c (do_ftell_wide): Free OUT on error path.
2373
884ddc50
SP
23742014-09-16 Siddhesh Poyarekar <siddhesh@redhat.com>
2375 Jakub Jelinek <jakub@redhat.com>
2376
2377 [BZ #17266]
2378 * libio/stdio.h: Check definition of __fortify_function
2379 instead of __extern_always_inline to include bits/stdio2.h.
2380 * math/bits/math-finite.h [__USE_XOPEN || __USE_ISOC99]: Also
2381 check if __extern_always_inline is defined.
2382 [__USE_MISC || __USE_XOPEN]: Likewise.
2383 [__USE_ISOC99] Likewise.
2384 * misc/sys/cdefs.h (__fortify_function): Define only if
2385 __extern_always_inline is defined.
2386 [!__cplusplus || __GNUC_PREREQ (4,3)]: Revert to defining
2387 __extern_always_inline and __extern_inline only for g++-4.3
2388 and newer or a compatible gcc.
2389
a7b87268
AS
23902014-09-15 Andreas Schwab <schwab@linux-m68k.org>
2391
2392 [BZ #17371]
2393 * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Fix
2394 last change to handle zero prefix length.
2395
3f41521d
SP
23962014-09-15 Siddhesh Poyarekar <siddhesh@redhat.com>
2397
61fe374a
SP
2398 * sysdeps/posix/sysconf.c (__sysconf): Return -1 for
2399 _SC_REGEX_VERSION.
2400
3f41521d
SP
2401 * posix/getconf.c (vars): Add _POSIX_IPV6 and
2402 _POSIX_RAW_SOCKETS.
2403
d8f879ee
AM
24042014-09-13 Allan McRae <allan@archlinux.org>
2405
2406 * po/ru.po: Update Russian translation from translation project.
2407
c079afb7
RM
24082014-09-12 Roland McGrath <roland@hack.frob.com>
2409
a62b3c15
RM
2410 * locale/programs/locale.c (show_locale_vars): Inline local function
2411 into its sole call site. Clean up some style nits.
2412 (print_item): New function, broken out of ...
2413 (show_info): ... local function here. Clean up style nits.
2414
d7e49b19
RM
2415 * locale/programs/ld-ctype.c (set_one_default): New function, broken
2416 out of ...
2417 (set_class_defaults): ... local function set_default here.
2418 Define set_default as a macro locally to pass constant parameters.
2419 (allocate_arrays, set_class_defaults): Use C99 for scope for each CNT,
2420 rather than a shared local.
2421
c079afb7
RM
2422 * stdlib/rpmatch.c (try): New function, broken out of ...
2423 (rpmatch): ... local function here. Also, prototypify definition.
2424
0bd72468
JM
24252014-09-12 Joseph Myers <joseph@codesourcery.com>
2426
ba90e050
JM
2427 * scripts/soversions.awk: Do not handle configuration names.
2428 * Makeconfig ($(common-objpfx)soversions.i): Do not pass cpu,
2429 vendor and os variables to soversions.awk.
2430 * configure.ac: Do not modify gnu-* host_os.
2431 * configure: Regenerated
2432 * shlib-versions: Remove first column with configuration names.
2433 * nptl/shlib-versions: Likewise.
2434 * nptl_db/shlib-versions: Likewise.
2435 * sysdeps/hppa/shlib-versions: Likewise.
2436 * sysdeps/m68k/shlib-versions: Likewise.
2437 * sysdeps/mach/hurd/shlib-versions: Likewise.
2438 * sysdeps/unix/sysv/linux/aarch64/shlib-versions: Likewise.
2439 * sysdeps/unix/sysv/linux/alpha/shlib-versions: Likewise.
2440 * sysdeps/unix/sysv/linux/arm/shlib-versions: Likewise.
2441 * sysdeps/unix/sysv/linux/hppa/shlib-versions: Likewise.
2442 * sysdeps/unix/sysv/linux/ia64/shlib-versions: Likewise.
2443 * sysdeps/unix/sysv/linux/m68k/coldfire/shlib-versions: Likewise.
2444 * sysdeps/unix/sysv/linux/microblaze/shlib-versions: Likewise.
2445 * sysdeps/unix/sysv/linux/mips/shlib-versions: Likewise.
2446 * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions:
2447 Likewise.
2448 * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
2449 * sysdeps/unix/sysv/linux/sh/shlib-versions: Likewise.
2450 * sysdeps/unix/sysv/linux/shlib-versions: Likewise.
2451 * sysdeps/unix/sysv/linux/sparc/sparc32/shlib-versions: Likewise.
2452 * sysdeps/unix/sysv/linux/sparc/sparc64/shlib-versions: Likewise.
2453 * sysdeps/unix/sysv/linux/tile/shlib-versions: Likewise.
2454 * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Likewise.
2455 * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
2456
73a39112
JM
2457 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
2458 (HAVE_ELFV2_ABI): AC_DEFINE in ELFv2 case.
2459 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure:
2460 Regenerated.
2461 * config.h.in (HAVE_ELFV2_ABI): New macro undefine.
2462 * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions:
2463 Condition symbol version definitions on [HAVE_ELFV2_ABI].
2464
c729e7c1
JM
2465 * shlib-versions: Remove OS-specific entries. Moved to files in
2466 sysdeps.
2467 * sysdeps/mach/hurd/shlib-versions: New file.
2468 * sysdeps/unix/sysv/linux/shlib-versions: Likewise.
2469
dc932a24
JM
2470 * nptl/shlib-versions: Remove architecture-specific entries.
2471 Moved to files in sysdeps.
2472 * shlib-versions: Likewise.
2473 * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: New
2474 file.
2475 * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
2476 * sysdeps/unix/sysv/linux/sh/shlib-versions: Likewise.
2477 * sysdeps/unix/sysv/linux/sparc/sparc32/shlib-versions: Likewise.
2478 * sysdeps/unix/sysv/linux/sparc/sparc64/shlib-versions: Likewise.
2479
0bd72468
JM
2480 * sysdeps/gnu/netinet/udp.h (UDP_NO_CHECK6_TX): New macro.
2481 (UDP_NO_CHECK6_RX): Likewise.
2482
920238e0
SP
24832014-09-12 Siddhesh Poyarekar <siddhesh@redhat.com>
2484
2485 * sysdeps/posix/sysconf.c (__sysconf): Spell
2486 _POSIX_DEVICE_SPECIFIC and _POSIX_DEVICE_SPECIFIC_R correctly.
2487
ba7b4d29
FW
24882014-08-12 Florian Weimer <fweimer@redhat.com>
2489
2490 * iconv/gconv_open.c (__gconv_open): Remove transliteration module
2491 loading.
2492 * iconv/Versions (__gconv_transliterate): Export for use from
2493 gconv modules.
2494 * iconv/gconv.h (__GCONV_TRANSLIT): New flag.
2495 (struct __gconv_trans_data, __gconv_trans_fct,
2496 __gconv_trans_context_fct, __gconv_trans_query_fct,
2497 __gconv_trans_init_fct, __gconv_trans_end_fct): Remove type
2498 definitions.
2499 (struct __gconv_step_data): Remove __trans member.
2500 (__gconv_transliterate): Declaration moved from gconv_int.h. No
2501 longer hidden. Remove unused trans_data argument.
2502 * iconv/gconv_int.h (struct trans_struct): Remove definition.
2503 (__gconv_translit_find): Remove declaration.
2504 (__gconv_transliterate): Declaration moved to gconv.h. Add hidden
2505 prototype.
2506 * iconv/gconv_close.c (__gconv_close): Remove __trans cleanup.
2507 * iconv/gconv_trans.c (__gconv_transliterate): Remove unused
2508 trans_data argument. Add hidden definition.
2509 (__gconv_translit_find): Remove.
2510 * iconv/loop.c (STANDARD_TO_LOOP_ERR_HANDLER): Call
2511 __gconv_transliterate directly if __GCONV_TRANSLIT is set.
2512 * iconv/skeleton.c: Remove transliteration initialization.
2513 * libio/fileops.c (_IO_new_file_fopen): Adjust struct
2514 __gconv_step_data initialization.
2515 * libio/iofwide.c (__libio_translit_): Remove.
2516 (_IO_fwide): Adjust struct __gconv_step_data initialization.
2517 * wcsmbs/btowc.c (__btowc): Likewise.
2518 * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
2519 * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
2520 * wcsmbs/mbsnrtowcs.c (__mbsnrtowcs): Likewise.
2521 * wcsmbs/mbsrtowcs_l.c (__mbsrtowcs_l): Likewise.
2522 * wcsmbs/wcrtomb.c (__wcrtomb): Likewise.
2523 * wcsmbs/wcsnrtombs.c (__wcsnrtombs): Likewise.
2524 * wcsmbs/wcsrtombs.c (__wcsrtombs): Likewise.
2525 * wcsmbs/wctob.c (wctob): Likewise.
2526
5379aebd
SP
25272014-09-12 Siddhesh Poyarekar <siddhesh@redhat.com>
2528
2529 [BZ #16194]
2530 * sysdeps/x86/tst-xmmymm.sh: Rename file to...
2531 * sysdeps/x86/tst-ld-sse-use.sh: ... this. Check for zmm
2532 register usage.
2533 * sysdeps/x86/Makefile: Adjust.
2534
8c0ab919
RM
25352014-09-11 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
2536 Roland McGrath <roland@hack.frob.com>
2537
2538 * locale/weight.h: Add include guard.
2539 (findidx): Make static rather than auto; take new parameters
2540 TABLE, INDIRECT, and EXTRA instead of getting them as outer locals.
2541 * locale/weightwc.h: Likewise.
2542 * posix/fnmatch_loop.c
2543 (FCT): Change type of EXTRA from int32_t to wint_t.
2544 Don't include either header inside the function.
2545 Call FINDIDX rather than findidx, and pass new arguments.
2546 #undef FINDIDX at the end of the file.
2547 * posix/fnmatch.c [_LIBC]: #include <locale/weight.h> and define
2548 FINDIDX before including fnmatch_loop.c for the non-wide version.
2549 [_LIBC] [HANDLE_MULTIBYTE]: #define findidx to findidxwc around
2550 #include <locale/weightwc.h>, and define FINDIDX to findidxwc
2551 for the wide version.
2552 * posix/regcomp.c [_LIBC]: #include <locale/weight.h>.
2553 (build_equiv_class) [_LIBC]: Don't #include it inside the function.
2554 Pass new arguments to findidx.
2555 * posix/regexec.c [RE_ENABLE_I18N] [_LIBC]: #include <locale/weight.h>.
2556 [RE_ENABLE_I18N] (check_node_accept_bytes) [_LIBC]:
2557 Don't #include it inside the function. Pass new arguments to findidx.
2558 * posix/regex_internal.h
2559 [!NOT_IN_libc] [_LIBC]: #include <locale/weight.h>.
2560 (re_string_elem_size_at): Don't #include it inside the function.
2561 Pass new arguments to findidx.
2562 * string/strcoll_l.c: #include WEIGHT_H at top level.
2563 (get_next_seq): Don't #include it inside the function.
2564 Pass new arguments to findidx.
2565 (get_next_seq_nocache): Likewise.
2566 * string/strxfrm_l.c: #include WEIGHT_H at top level.
2567 (STRXFRM): Don't #include it inside the function.
2568 Pass new arguments to findidx.
2569
52ffbdf2
FW
25702014-09-11 Florian Weimer <fweimer@redhat.com>
2571
2572 [BZ #17344]
2573 * malloc/malloc.c (unlink): Turn asserts into a call to
2574 malloc_printerr.
2575
984c0ea9
TL
25762014-09-11 Tim Lammens <tim.lammens@gmail.com>
2577
2578 [BZ #17370]
2579 * libio/wfileops (do_ftell_wide): Free OUT.
2580
3daee107
CM
25812014-09-10 Chris Metcalf <cmetcalf@tilera.com>
2582
2583 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Remove file.
2584
58b930ae
SP
25852014-09-10 Siddhesh Poyarekar <siddhesh@redhat.com>
2586
2587 [BZ #17363]
2588 * inet/getnetgrent_r.c (__internal_getnetgrent_r): Try next
2589 group if the current group is empty.
2590
3b473fec
AZ
25912014-09-10 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2592
71ae8647
AZ
2593 * benchtests/bench-memset.c (test_main): Add more test from size
2594 from 32 to 512 bytes.
2595 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
2596 Add POWER8 memset object.
2597 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
2598 (__libc_ifunc_impl_list): Add POWER8 memset and bzero implementations.
2599 * sysdeps/powerpc/powerpc64/multiarch/bzero.c (__bzero): Add POWER8
2600 implementation.
2601 * sysdeps/powerpc/powerpc64/multiarch/memset.c (__libc_memset):
2602 Likewise.
2603 * sysdeps/powerpc/powerpc64/multiarch/memset-power8.S: New file:
2604 multiarch POWER8 memset optimization.
2605 * sysdeps/powerpc/powerpc64/power8/memset.S: New file: optimized
2606 POWER8 memset optimization.
2607
3b473fec
AZ
2608 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
2609 Remove bzero multiarch objects.
2610 * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: Remove file.
2611 * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: Likewise.
2612 * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: Likewise.
2613 * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S [NO_BZERO_IMPL]:
2614 Remove define.
2615 [__bzero]: Redefine to specific name.
2616 * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: Likewise.
2617 * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: Likewise.
2618 * sysdeps/powerpc/powerpc64/power4/memset.S [NO_BZERO_IMPL]: Remove
2619 define.
2620 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
2621 * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
2622
e6fb9587
FW
26232014-09-10 Florian Weimer <fweimer@redhat.com>
2624
2625 * Makeconfig (gccwarn-c): Turn implicit-function-declaration
2626 warnings into errors.
2627
2628 * stdlib/tst-tls-atexit-lib.c: Include <stdlib.h>, for the
2629 __cxa_thread_atexit_impl prototype.
2630
9d3a350b
SE
26312014-09-09 Steve Ellcey <sellcey@mips.com>
2632
2633 * sysdeps/mips/preconfigure: Put code inside mips* case statement.
2634 Fix capitalization of error message.
2635
0febba23
SE
26362014-09-09 Steve Ellcey <sellcey@mips.com>
2637
2638 * sysdeps/mips/preconfigure: Modify ABI tests.
2639
645a0e9c
CD
26402014-09-07 Carlos O'Donell <carlos@systemhalted.org>
2641
2642 * sysdeps/unix/sysv/linux/hppa/c++-types.data: New file.
2643
d83f0734
CD
26442014-09-07 Roland McGrath <roland@hack.frob.com>
2645 Carlos O'Donell <carlos@systemhalted.org>
2646
2647 * sysdeps/unix/sysv/linux/hppa/nptl/libc-lowlevellock.c: File removed.
2648 * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Moved ...
2649 * sysdeps/unix/sysv/linux/hppa/lowlevellock.h: ... here.
2650 * sysdeps/unix/sysv/linux/hppa/nptl/pt-vfork.S: Moved ...
2651 * sysdeps/unix/sysv/linux/hppa/pt-vfork.S: ... here.
2652 * sysdeps/unix/sysv/linux/hppa/nptl/pthread.h: Moved ...
2653 * sysdeps/unix/sysv/linux/hppa/pthread.h: ... here.
2654 * sysdeps/unix/sysv/linux/hppa/nptl/pthreadP.h: Moved ...
2655 * sysdeps/unix/sysv/linux/hppa/pthreadP.h: ... here.
2656 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_broadcast.c: Moved ...
2657 * sysdeps/unix/sysv/linux/hppa/pthread_cond_broadcast.c: ... here.
2658 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_destroy.c: Moved ...
2659 * sysdeps/unix/sysv/linux/hppa/pthread_cond_destroy.c: ... here.
2660 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_init.c: Moved ...
2661 * sysdeps/unix/sysv/linux/hppa/pthread_cond_init.c: ... here.
2662 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_signal.c: Moved ...
2663 * sysdeps/unix/sysv/linux/hppa/pthread_cond_signal.c: ... here.
2664 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_timedwait.c: Moved ...
2665 * sysdeps/unix/sysv/linux/hppa/pthread_cond_timedwait.c: ... here.
2666 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_wait.c: Moved ...
2667 * sysdeps/unix/sysv/linux/hppa/pthread_cond_wait.c: ... here.
2668 * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Moved ...
2669 * sysdeps/unix/sysv/linux/hppa/sysdep-cancel.h: ... here.
2670 * sysdeps/unix/sysv/linux/hppa/nptl/bits/pthreadtypes.h: Moved ...
2671 * sysdeps/hppa/nptl/bits/pthreadtypes.h: ... here.
2672 * sysdeps/unix/sysv/linux/hppa/nptl/bits/semaphore.h: Moved ...
2673 * sysdeps/hppa/nptl/bits/semaphore.h: ... here.
2674 * sysdeps/unix/sysv/linux/hppa/clone.S: Include <tcb-offsets.h>.
2675 Deconditionalize the code that was previously under [RESET_PID].
2676 * sysdeps/unix/sysv/linux/hppa/nptl/clone.S: File removed.
2677 * sysdeps/unix/sysv/linux/hppa/arch-fork.h: New file.
2678 * sysdeps/unix/sysv/linux/hppa/nptl/fork.c: File removed.
2679 * sysdeps/hppa/nptl/tcb-offsets.sym: Include pthread.h and don't
2680 include sysdep.h.
2681
21c83793
AM
26822014-09-08 Allan McRae <allan@archlinux.org>
2683
2684 * version.h (RELEASE): Set to "development".
2685 (VERSION): Set to "2.20.90"
2686
1cd9b65c
AM
26872014-09-07 Allan McRae <allan@archlinux.org
2688
b8079dd0
AM
2689 * version.h (RELEASE): Set to "stable".
2690 (VERSION): Set to "2.20"
2691 * include/features.h (__GLIBC_MINOR__): Set to 20.
2692
c46303ef
AM
2693 * manual/contrib.texi: Add entries for Wilco Dijkstra and Stefan
2694 Liebler.
2695
1cd9b65c
AM
2696 * po/ko.po: Update Korean translation from translation project.
2697
8622092d
CM
26982014-09-06 Chris Metcalf <cmetcalf@tilera.com>
2699
2700 [BZ #17354]
2701 * sysdeps/tile/dl-machine.h (elf_machine_rela): Add a MUNGE_SIGNED
2702 macro for handling signed relocations.
2703
41488498
FW
27042014-09-03 Florian Weimer <fweimer@redhat.com>
2705
2706 [BZ #17325]
2707 * iconvdata/ibm1364.c (BODY): Fix check for sentinel.
2708 * iconvdata/ibm932.c (BODY): Replace invalid sentinel check with
2709 assert.
2710 * iconvdata/ibm933.c (BODY): Fix check for sentinel.
2711 * iconvdata/ibm935.c (BODY): Likewise.
2712 * iconvdata/ibm937.c (BODY): Likewise.
2713 * iconvdata/ibm939.c (BODY): Likewise.
2714 * iconvdata/ibm943.c (BODY): Replace invalid sentinel check with
2715 assert.
2716 * iconvdata/Makefile (iconv-test.out): Pass module list to test
2717 script.
2718 * iconvdata/run-iconv-test.sh: New test loop for checking for
2719 decoder crashers.
2720
a78b712d
KR
27212014-09-02 Khem Raj <raj.khem@gmail.com>
2722
2723 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c (fegetenv): Add
2724 libm_hidden_ver.
2725
cb08abc6
AM
27262014-09-01 Allan McRae <allan@archlinux.org>
2727
2c31e102
AM
2728 * po/eo.po: Update Esperanto translation from translation project.
2729
cb08abc6
AM
2730 * po/ca.po: Update Catalan translation from translation project.
2731
17a62de1
ST
27322014-08-28 Samuel Thibault <samuel.thibault@ens-lyon.org>
2733
2734 * sysdeps/mach/hurd/fork.c (__fork): Lock SS->lock around
2735 __proc_dostop call.
2736
9570bc53
MW
27372014-08-27 Mark Wielaard <mjw@redhat.com>
2738
2739 [BZ #17319]
2740 * sysdeps/i386/nptl/tls.h (TLS_INIT_TP): Use INTERNAL_SYSCALL
2741 to call set_thread_area instead of hand written asm.
2742 (__NR_set_thread_area): Removed define.
2743 (TLS_FLAG_WRITABLE): Likewise.
2744 (__ASSUME_SET_THREAD_AREA): Remove check.
2745 (TLS_EBX_ARG): Remove define.
2746 (TLS_LOAD_EBX): Likewise.
2747
b0f955c9
ST
27482014-08-27 Samuel Thibault <samuel.thibault@ens-lyon.org>
2749
2750 Simplify atomicity of socket creation in bind.
2751
2752 * sysdeps/mach/hurd/bind.c (__bind): Use dir_lookup(node, "") instead of
2753 looking up the name after linking the file.
2754
529bf515
AM
27552014-08-27 Allan McRae <allan@archlinux.org>
2756
2757 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
2758
a1a6a401
FW
27592014-08-26 Florian Weimer <fweimer@redhat.com>
2760
2761 [BZ #17187]
2762 * iconv/gconv_trans.c (struct known_trans, search_tree, lock,
2763 trans_compare, open_translit, __gconv_translit_find):
2764 Remove module loading code.
2765
686ab290
AM
27662014-08-26 Allan McRae <allan@archlinux.org>
2767
e4e7cfd2
AM
2768 * po/vi.po: Update Vietnamese translation from translation project.
2769
6aa09f71
AM
2770 * po/uk.po: Update Ukrainian translation from translation project.
2771
edc0660e
AM
2772 * po/fr.po: Update French translation from translation project.
2773
7eea72ac
AM
2774 * po/ru.po: Update Russian translation from translation project.
2775
93c49eff
AM
2776 * po/pl.po: Update Polish translation from translation project.
2777
46acaf63
AM
2778 * po/cs.po: Update Czech translation from translation project.
2779
a9f5ce98
AM
2780 * po/de.po: Update German translation from translation project.
2781
373f2b78
AM
2782 * po/bg.po: Update Bulgarian translation from translation project.
2783
e7548bd8
AM
2784 * po/sv.po: Update Sweedish translation from translation project.
2785
c526bf4d
AM
2786 * po/nl.po: Update Dutch translation from translation project.
2787
686ab290
AM
2788 * po/es.po: Update Spanish translation from translation project.
2789
eb72478a
SP
27902014-08-21 Siddhesh Poyarekar <siddhesh@redhat.com>
2791
dd763fdb
SP
2792 * nptl/Makefile (CFLAGS-pthread_atfork.c): Remove.
2793
318c7a58
SP
2794 * catgets/Makefile (CPPFLAGS-gencat): Remove.
2795 * iconv/Makefile (CPPFLAGS-iconv_prog): Likewise.
2796 (CPPFLAGS-iconvconfig): Likewise.
2797 * timezone/Makefile (CPPFLAGS-zic): Likewise.
2798
eb72478a
SP
2799 * include/libc-symbols.h: Remove unnecessary check for
2800 NOT_IN_libc.
2801 * nptl/pthreadP.h: Likewise.
2802 * sysdeps/aarch64/setjmp.S: Likewise.
2803 * sysdeps/alpha/setjmp.S: Likewise.
2804 * sysdeps/arm/sysdep.h: Likewise.
2805 * sysdeps/i386/setjmp.S: Likewise.
2806 * sysdeps/m68k/setjmp.c: Likewise.
2807 * sysdeps/posix/getcwd.c: Likewise.
2808 * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
2809 * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise.
2810 * sysdeps/s390/s390-32/setjmp.S: Likewise.
2811 * sysdeps/s390/s390-64/setjmp.S: Likewise.
2812 * sysdeps/sh/sh3/setjmp.S: Likewise.
2813 * sysdeps/sh/sh4/setjmp.S: Likewise.
2814 * sysdeps/unix/alpha/sysdep.h: Likewise.
2815 * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
2816 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
2817 * sysdeps/unix/sysv/linux/ia64/setjmp.S: Likewise.
2818 * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
2819 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
2820 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
2821 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
2822 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
2823 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
2824 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
2825 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
2826 * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
2827 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
2828 * sysdeps/x86_64/setjmp.S: Likewise.
2829
d44a052c
JM
28302014-08-13 Joseph Myers <joseph@codesourcery.com>
2831
2832 [BZ #17263]
2833 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Include
2834 <stdint.h>.
2835 (__get_clockfreq): Use uint64_t instead of hp_timing_t in
2836 INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK call.
2837
508ce3ac
SP
28382014-08-13 Siddhesh Poyarekar <siddhesh@redhat.com>
2839
e44c8b0e
SP
2840 * sysdeps/x86/fpu/bits/mathinline.h: Fix typo in comment.
2841
508ce3ac
SP
2842 [BZ #17262]
2843 * sysdeps/x86/fpu/bits/mathinline.h: Check both __SSE2_MATH__
2844 and __x86_64__ when disabling x87 inline functions.
2845
b4acef1f
L
28462014-08-12 H.J. Lu <hongjiu.lu@intel.com>
2847
2848 [BZ #17259]
2849 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Replace cpuid
2850 asm statement with __cpuid_count.
2851
61b1ef6e
MF
28522014-08-12 Mike Frysinger <vapier@gentoo.org>
2853
2854 * configure.ac: Change __ehdr_start code to dereference the struct.
2855 Run readelf on the output to look for relocations.
2856 * configure: Regenerated.
2857
898c62f4
JM
28582014-08-12 Joseph Myers <joseph@codesourcery.com>
2859
2860 [BZ #17261]
2861 * sysdeps/powerpc/nofpu/fenv_const.c (__fe_enabled_env): Change
2862 value to 0.
2863 (__fe_nonieee_env): Define as an alias for __fe_dfl_env.
2864
9a8a5720
RM
28652014-08-12 Roland McGrath <roland@hack.frob.com>
2866
2867 * NEWS: Mention x86-64 ld.so use of Intel MPX instructions.
2868
4e75751c
BO
28692014-08-12 Bernard Ogden <bernie.ogden@linaro.org>
2870
2871 [BZ #16892]
2872 * sysdeps/nptl/lowlevellock.h (__lll_timedlock): Use
2873 atomic_compare_and_exchange_bool_acq rather than atomic_exchange_acq.
2874
bb2ce416
SA
28752014-08-12 Sean Anderson <seanga2@gmail.com>
2876
2877 * malloc/malloc.c: Fix typo in comment.
2878
7950a4ee
AM
28792014-08-09 Allan McRae <allan@archlinux.org>
2880
2881 * Regenerate libc.po.
2882
f469c49f
MF
28832014-08-08 Mike Frysinger <vapier@gentoo.org>
2884
2885 * intl/tst-gettext2.sh: Check every lang file for creation.
2886
656b84c2
WD
28872014-08-07 Wilco Dijkstra <wdijkstr@arm.com>
2888
2889 * sysdeps/aarch64/fpu/math_private.h
2890 (libc_feholdsetround_noex_aarch64_ctx): New function.
2891
538e9e45
W
28922014-08-07 Wilco Dijkstra <wdijkstr@arm.com>
2893
2894 * sysdeps/arm/armv6/strcpy.S (strcpy):
2895 Fix performance issue in misaligned cases.
2896
d4795e4a
AZ
28972014-08-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2898
2899 * sysdeps/unix/sysv/linux/powerpc/bits/ioctl-types.h (struct winsize):
2900 Move definition from termios.h.
2901 (struct termio): Likewise.
2902 (NCC, TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
2903 TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI, N_TTY, N_SLIP,
2904 N_MOUSE, N_PPP, N_STRIP, N_AX25, N_X25, N_6PACK, N_MASC, N_R3964,
2905 N_PROFIBUS_FDL, N_IRDA, N_SMSBLOCK, N_HDLC, N_SYNC_PPP, N_HCI):
2906 Likewise.
2907 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h (struct winsize):
2908 Move definition to ioctl-types.h
2909 (struct termio): Likewise.
2910 (NCC, TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
2911 TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI, N_TTY, N_SLIP,
2912 N_MOUSE, N_PPP, N_STRIP, N_AX25, N_X25, N_6PACK, N_MASC, N_R3964,
2913 N_PROFIBUS_FDL, N_IRDA, N_SMSBLOCK, N_HDLC, N_SYNC_PPP, N_HCI):
2914 Likewise.
2915
64accb62
RH
29162014-08-05 Richard Henderson <rth@redhat.com>
2917
27bb6dc0
RH
2918 * sysdeps/alpha/soft-fp/ots_cvtxq.c (_OtsCvtXQ): Always raise
2919 exceptions.
2920 * sysdeps/alpha/soft-fp/Makefile [soft-fp] (sysdep_routines):
2921 Add fraiseexcpt.
2922 * sysdeps/alpha/soft-fp/sfp-machine.h (FP_HANDLE_EXCEPTIONS):
2923 Use __feraiseexcept.
2924 * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S (feraiseexcept):
2925 Protect libm symbols with IS_IN_libm.
2926
64accb62
RH
2927 * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Remove file.
2928
e5292691
BO
29292014-08-04 Bernard Ogden <bernie.ogden@linaro.org>
2930
2931 * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Remove file.
2932
5b4bd2d4
WN
29332014-08-04 Will Newton <will.newton@linaro.org>
2934
2935 * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: Remove
2936 file.
2937
fcadaeef
MF
29382014-08-04 Mike Frysinger <vapier@gentoo.org>
2939
2940 * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h (PSEUDO): Add nocancel
2941 variants for each function.
2942
43a94c64
RM
29432014-08-04 Roland McGrath <roland@hack.frob.com>
2944
2945 * sysdeps/unix/sysv/linux/ia64/nptl/Makefile: File removed, contents
2946 appended ...
2947 * sysdeps/unix/sysv/linux/ia64/Makefile: ... here.
2948 * sysdeps/unix/sysv/linux/ia64/nptl/Versions: File removed, contents
2949 appended ...
2950 * sysdeps/unix/sysv/linux/ia64/Versions: ... here.
2951 * sysdeps/unix/sysv/linux/ia64/nptl/__ia64_longjmp.S: Moved ...
2952 * sysdeps/unix/sysv/linux/ia64/__ia64_longjmp.S: ... here.
2953 * sysdeps/unix/sysv/linux/ia64/nptl/__sigstack_longjmp.c: Moved ...
2954 * sysdeps/unix/sysv/linux/ia64/__sigstack_longjmp.c: ... here.
2955 * sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data: Moved ...
2956 * sysdeps/unix/sysv/linux/ia64/c++-types.data: ... here.
2957 * sysdeps/unix/sysv/linux/ia64/nptl/dl-sysdep.h: Moved ...
2958 * sysdeps/unix/sysv/linux/ia64/dl-sysdep.h: ... here.
2959 * sysdeps/unix/sysv/linux/ia64/nptl/ld.abilist: Moved ...
2960 * sysdeps/unix/sysv/linux/ia64/ld.abilist: ... here.
2961 * sysdeps/unix/sysv/linux/ia64/nptl/libBrokenLocale.abilist: Moved ...
2962 * sysdeps/unix/sysv/linux/ia64/libBrokenLocale.abilist: ... here.
2963 * sysdeps/unix/sysv/linux/ia64/nptl/libanl.abilist: Moved ...
2964 * sysdeps/unix/sysv/linux/ia64/libanl.abilist: ... here.
2965 * sysdeps/unix/sysv/linux/ia64/nptl/libc.abilist: Moved ...
2966 * sysdeps/unix/sysv/linux/ia64/libc.abilist: ... here.
2967 * sysdeps/unix/sysv/linux/ia64/nptl/libcrypt.abilist: Moved ...
2968 * sysdeps/unix/sysv/linux/ia64/libcrypt.abilist: ... here.
2969 * sysdeps/unix/sysv/linux/ia64/nptl/libdl.abilist: Moved ...
2970 * sysdeps/unix/sysv/linux/ia64/libdl.abilist: ... here.
2971 * sysdeps/unix/sysv/linux/ia64/nptl/libm.abilist: Moved ...
2972 * sysdeps/unix/sysv/linux/ia64/libm.abilist: ... here.
2973 * sysdeps/unix/sysv/linux/ia64/nptl/libnsl.abilist: Moved ...
2974 * sysdeps/unix/sysv/linux/ia64/libnsl.abilist: ... here.
2975 * sysdeps/unix/sysv/linux/ia64/nptl/libpthread.abilist: Moved ...
2976 * sysdeps/unix/sysv/linux/ia64/libpthread.abilist: ... here.
2977 * sysdeps/unix/sysv/linux/ia64/nptl/libresolv.abilist: Moved ...
2978 * sysdeps/unix/sysv/linux/ia64/libresolv.abilist: ... here.
2979 * sysdeps/unix/sysv/linux/ia64/nptl/librt.abilist: Moved ...
2980 * sysdeps/unix/sysv/linux/ia64/librt.abilist: ... here.
2981 * sysdeps/unix/sysv/linux/ia64/nptl/libthread_db.abilist: Moved ...
2982 * sysdeps/unix/sysv/linux/ia64/libthread_db.abilist: ... here.
2983 * sysdeps/unix/sysv/linux/ia64/nptl/libutil.abilist: Moved ...
2984 * sysdeps/unix/sysv/linux/ia64/libutil.abilist: ... here.
2985 * sysdeps/unix/sysv/linux/ia64/nptl/localplt.data: Moved ...
2986 * sysdeps/unix/sysv/linux/ia64/localplt.data: ... here.
2987 * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Moved ...
2988 * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: ... here.
2989 * sysdeps/unix/sysv/linux/ia64/nptl/sysdep-cancel.h: Moved ...
2990 * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: ... here.
2991 * sysdeps/unix/sysv/linux/ia64/nptl/timer_create.c: Moved ...
2992 * sysdeps/unix/sysv/linux/ia64/timer_create.c: ... here.
2993 * sysdeps/unix/sysv/linux/ia64/nptl/timer_delete.c: Moved ...
2994 * sysdeps/unix/sysv/linux/ia64/timer_delete.c: ... here.
2995 * sysdeps/unix/sysv/linux/ia64/nptl/timer_getoverr.c: Moved ...
2996 * sysdeps/unix/sysv/linux/ia64/timer_getoverr.c: ... here.
2997 * sysdeps/unix/sysv/linux/ia64/nptl/timer_gettime.c: Moved ...
2998 * sysdeps/unix/sysv/linux/ia64/timer_gettime.c: ... here.
2999 * sysdeps/unix/sysv/linux/ia64/nptl/timer_settime.c: Moved ...
3000 * sysdeps/unix/sysv/linux/ia64/timer_settime.c: ... here.
3001 * sysdeps/unix/sysv/linux/ia64/nptl/unwind-forcedunwind.c: Moved ...
3002 * sysdeps/unix/sysv/linux/ia64/unwind-forcedunwind.c: ... here.
3003 Update #include.
3004 * sysdeps/unix/sysv/linux/ia64/nptl/unwind_longjmp.c: Moved ...
3005 * sysdeps/unix/sysv/linux/ia64/unwind_longjmp.c: ... here.
3006
8f3c1fa4
RM
30072014-08-04 Roland McGrath <roland@hack.frob.com>
3008
3009 * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h: Moved ...
3010 * sysdeps/ia64/nptl/bits/pthreadtypes.h: ... here.
3011 * sysdeps/unix/sysv/linux/ia64/nptl/bits/semaphore.h: Moved ...
3012 * sysdeps/ia64/nptl/bits/semaphore.h: ... here.
3013 * sysdeps/unix/sysv/linux/ia64/nptl/bits/local_lim.h: Moved ...
3014 * sysdeps/unix/sysv/linux/ia64/bits/local_lim.h: ... here.
3015
ca08746f
RM
30162014-08-04 Roland McGrath <roland@hack.frob.com>
3017
3018 * nptl/sysdeps/pthread/createthread.c: Include <arch-fork.h>.
3019 * sysdeps/unix/sysv/linux/ia64/arch-fork.h (ARCH_CLONE): New macro.
3020 * sysdeps/ia64/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
3021 * sysdeps/unix/sysv/linux/ia64/nptl/createthread.c: File removed.
3022
9c925ff9
RM
30232014-08-04 Roland McGrath <roland@hack.frob.com>
3024
3025 * sysdeps/unix/sysv/linux/ia64/nptl/vfork.S: Moved ...
3026 * sysdeps/unix/sysv/linux/ia64/vfork.S: ... here.
3027 (__libc_vfork): Define function under this name.
3028 (__vfork): Define as an alias.
3029 * sysdeps/unix/sysv/linux/ia64/pt-vfork.S: New file.
3030 * sysdeps/unix/sysv/linux/ia64/nptl/pt-vfork.S: File removed.
3031
e641054c
RM
30322014-08-04 Roland McGrath <roland@hack.frob.com>
3033
3034 * sysdeps/unix/sysv/linux/ia64/clone2.S: Deconditionalize the code
3035 that was previously under [RESET_PID].
3036 * sysdeps/unix/sysv/linux/ia64/nptl/clone2.S: File removed.
3037
dacdc867
AS
30382014-08-04 Andreas Schwab <schwab@suse.de>
3039
3040 * sysdeps/ieee754/ldbl-96/s_fma.c: Include <math_private.h>.
3041
41f725ff
MF
30422014-08-03 Mike Frysinger <vapier@gentoo.org>
3043
3044 * stdlib/tst-setcontext.c (test_stack): Fix coding style.
3045 (main): Likewise.
3046
277cfb31
RM
30472014-08-01 Roland McGrath <roland@hack.frob.com>
3048
3049 * sysdeps/unix/sysv/linux/arm/lowlevellock.h: File removed.
3050
4896f049
RH
30512014-08-01 Richard Henderon <rth@redhat.com>
3052
3053 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use math_force_eval before
3054 feclearexcept; use math_opt_barrier instead of open-coded asm; fix
3055 typo in exact zero test.
3056 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
3057 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
3058 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
3059
6f64e7d7
RM
30602014-08-01 Roland McGrath <roland@hack.frob.com>
3061
3062 * sysdeps/unix/sysv/linux/arm/sysdep.h (PTR_MANGLE_LOAD, PTR_MANGLE)
3063 (PTR_MANGLE2, PTR_DEMANGLE, PTR_DEMANGLE2): Move these macros...
3064 * sysdeps/arm/sysdep.h: ... here.
3065 [!__ASSEMBLER__]: Include <stdint.h>.
3066
3f3dd810
SP
30672014-08-01 Siddhesh Poyarekar <siddhesh@redhat.com>
3068
a476ac4b
SP
3069 * include/libc-symbols.h (HAVE_LIBINTL_H): Define macro.
3070 (HAVE_WCTYPE_H): Likewise.
3071 (HAVE_ISWCTYPE): Likewise.
3072 (ENABLE_NLS): Likewise.
3073 * posix/regex_internal.h [(defined MB_CUR_MAX && HAVE_WCTYPE_H
3074 && HAVE_ISWCTYPE) || _LIBC]: Sync up with gnulib.
3075
78dd658a
SP
3076 * posix/regex_internal.c: Check if DEBUG is defined and is
3077 set.
3078
3f3dd810
SP
3079 * include/libc-symbols.h (HAVE_MBSTATE_T): Define macro.
3080 (HAVE_MBSRTOWCS): Likewise.
3081 * posix/fnmatch.c: Include string.h unconditionally.
3082
95ee7fb1
SL
30832014-08-01 Stefan Liebler <stli@linux.vnet.ibm.com>
3084
3085 * NEWS: Explain the s390 jmp_buf / ucontext_t ABI change
3086 reversal.
3087
23fe486b
RM
30882014-07-31 Roland McGrath <roland@hack.frob.com>
3089
f61a113f
RM
3090 * sysdeps/generic/safe-fatal.h: New file.
3091 * sysdeps/unix/sysv/linux/safe-fatal.h: New file.
3092 * nptl/forward.c: Include it.
3093 (__pthread_unwind): Use __safe_fatal as default action, rather
3094 than a bogus use of INTERNAL_SYSCALL that could never work.
3095
9fe7e787
RM
3096 * config.h.in (HAVE_BUILTIN_TRAP): New #define to 0.
3097 * configure.ac (libc_cv_builtin_trap): New test.
3098 * configure: Regenerated.
3099 * sysdeps/generic/abort-instr.h [HAVE_BUILTIN_TRAP]
3100 (ABORT_INSTRUCTION): Define using __builtin_trap.
3101
23fe486b
RM
3102 * nptl/pthreadP.h (SIGCANCEL, SIGTIMER, SIGSETXID, __xidcmd): Moved ...
3103 * sysdeps/unix/sysv/linux/nptl-signals.h: ... to this new file.
3104 * sysdeps/nptl/nptl-signals.h: New file.
3105 * nptl/pthreadP.h: Include <nptl-signals.h>.
3106
f349489e
SL
31072014-07-31 Stefan Liebler <stli@linux.vnet.ibm.com>
3108
3109 * sysdeps/s390/s390-64/utf16-utf32-z9.c
3110 (ONE_DIRECTION): Define.
3111 * sysdeps/s390/s390-64/utf8-utf16-z9.c
3112 (ONE_DIRECTION): Define.
3113 * sysdeps/s390/s390-64/utf8-utf32-z9.c
3114 (ONE_DIRECTION): Define.
3115
2f438e20
SL
31162014-07-31 Stefan Liebler <stli@linux.vnet.ibm.com>
3117
3118 * sysdeps/s390/Makefile: Delete file.
3119 * sysdeps/s390/Versions (GLIBC_2.19): Remove __setjmp.
3120 * sysdeps/s390/__longjmp.c: Delete file.
3121 * sysdeps/s390/bits/setjmp.h (__s390_jmp_buf):
3122 Remove fields __flags and __reserved.
3123 * sysdeps/s390/longjmp.c: Include setjmp/longjmp.c
3124 and add versioning.
3125 * sysdeps/s390/rtld-__longjmp.c: Delete file.
3126 * sysdeps/s390/rtld-global-offsets.sym: Likewise.
3127 * sysdeps/s390/rtld-setjmp.S: Likewise.
3128 * sysdeps/s390/s390-32/__longjmp-common.c: Move to ...
3129 * sysdeps/s390/s390-32/__longjmp.c: ... here.
3130 * sysdeps/s390/s390-32/setjmp-common.S: Move to ...
3131 * sysdeps/s390/s390-32/setjmp.S: ... here.
3132 Add versioning.
3133 (__sigsetjmp): Remove setting __flags field.
3134 * sysdeps/s390/s390-64/__longjmp-common.c:Move to ...
3135 * sysdeps/s390/s390-64/__longjmp.c: ... here.
3136 * sysdeps/s390/s390-64/setjmp-common.S: Move to ...
3137 * sysdeps/s390/s390-64/setjmp.S: ... here.
3138 Add versioning.
3139 (__sigsetjmp): Remove setting __flags field.
3140 * sysdeps/s390/setjmp.S: Delete file.
3141 * sysdeps/s390/sigjmp.c: Likewise.
3142 * sysdeps/s390/v1-longjmp.c: Likewise.
3143 * sysdeps/s390/v1-setjmp.h: Likewise.
3144 * sysdeps/s390/v1-sigjmp.c: Likewise.
3145 * sysdeps/unix/sysv/linux/s390/Makefile (sysdep_routines):
3146 Remove v1-longjmp_chk.
3147 * sysdeps/unix/sysv/linux/s390/getcontext.S: Delete file.
3148 * sysdeps/unix/sysv/linux/s390/longjmp_chk.c:
3149 Include debug/longjmp_chk.c and add versioning.
3150 * sysdeps/unix/sysv/linux/s390/pt-longjmp.c:
3151 Include nptl/pt-longjmp.c and add versioning.
3152 * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: Delete file.
3153 * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c:
3154 Include __longjmp.c.
3155 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
3156 Move to ...
3157 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: ... here.
3158 (__getcontext): Remove setting __flags field.
3159 Add versioning.
3160 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
3161 Don't restore upper high grps.
3162 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S:
3163 Likewise.
3164 (__swapcontext): Remove setting uc_flags field.
3165 * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym:
3166 Delete file.
3167 * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
3168 Include __longjmp.c.
3169 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
3170 Move to ...
3171 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: ... here.
3172 (__getcontext): Remove setting __flags field.
3173 Add versioning.
3174 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S:
3175 (__swapcontext): Remove setting uc_flags field.
3176 * unix/sysv/linux/s390/s390-64/ucontext_i.sym: Delete file.
3177 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (ucontext):
3178 Remove fields uc_high_gprs and __reserved.
3179 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym:
3180 New file with reverted content.
3181 * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: Delete file.
3182 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist:
3183 Regenerated.
3184 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist:
3185 Regenerated.
3186
6c9578a2
AS
31872014-07-31 Andreas Schwab <schwab@suse.de>
3188
3189 * config.h.in (HAVE_IFUNC): Define to 0.
3190 * rt/clock-compat.c [HAVE_IFUNC]: Check for value, not
3191 definedness.
3192
05f3633d
LM
31932014-07-30 Ling Ma <ling.ml@alibaba-inc.com>
3194
3195 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
3196 memmove-avx-unaligned, memcpy-avx-unaligned and
3197 mempcpy-avx-unaligned.
3198 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
3199 Add tests for AVX memcpy functions.
3200 * sysdeps/x86_64/multiarch/memcpy.S: Add support for AVX memcpy.
3201 * sysdeps/x86_64/multiarch/memcpy_chk.S: Add support for AVX
3202 memcpy_chk.
3203 * sysdeps/x86_64/multiarch/memmove.c: Add support for AVX memmove.
3204 * sysdeps/x86_64/multiarch/memmove_chk.c: Add support for AVX
3205 memmove_chk.
3206 * sysdeps/x86_64/multiarch/mempcpy.S: Add support for AVX mempcpy.
3207 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Add support for AVX
3208 mempcpy_chk.
3209 * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S: New file.
3210 * sysdeps/x86_64/multiarch/mempcpy-avx-unaligned.S: New file.
3211 * sysdeps/x86_64/multiarch/memmove-avx-unaligned.S: New file.
3212
a53fbd8e
AZ
32132013-07-29 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3214
3215 [BZ #17213]
3216 * sysdeps/powerpc/powerpc64/entry.h: Fix TEXT_START definition for
3217 powerpc64le.
3218
0961f7e1
JL
32192014-07-29 Jeff Layton <jlayton@poochiereds.net>
3220
3221 [BZ #16839]
3222 * manual/llio.texi: Add section about open file description locks.
3223 * manual/examples/ofdlocks.c: Example of open file description
3224 lock usage.
3225 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Define F_OFD_GETLK,
3226 F_OFD_SETLK, and F_OFD_SETLKW.
3227
cc5fb300
AM
32282014-07-23 Allan McRae <allan@archlinux.org>
3229
3230 * po/es.po: Update Spanish translation from translation project.
3231
23329dca
AS
32322014-07-18 Andreas Schwab <schwab@linux-m68k.org>
3233
3234 * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Removed.
3235
9c82da17
MR
32362014-07-17 Maciej W. Rozycki <macro@codesourcery.com>
3237
3238 [BZ #17078]
3239 * sysdeps/arm/dl-machine.h (elf_machine_rela)
3240 [RESOLVE_CONFLICT_FIND_MAP]: Handle R_ARM_TLS_DESC relocation.
3241 (elf_machine_lazy_rel): Handle prelinked R_ARM_TLS_DESC entries.
3242
29c4f53e
JM
32432014-07-17 Joseph Myers <joseph@codesourcery.com>
3244
831b9896
JM
3245 [BZ #17088]
3246 * math/fesetenv.c (__fesetenv)
3247 [FE_NOMASK_ENV && FE_ALL_EXCEPT != 0]: Return 1 for FE_NOMASK_ENV.
3248 * math/feupdateenv.c (__feupdateenv)
3249 [FE_NOMASK_ENV && FE_ALL_EXCEPT != 0]: Likewise.
3250
b21c2d50
JM
3251 * sysdeps/unix/sysv/linux/s390/kernel-features.h: New file.
3252 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__]
3253 (__ASSUME_SOCKETCALL): Do not define.
3254
067764ef
JM
3255 * sysdeps/unix/sysv/linux/sh/kernel-features.h: New file.
3256 * sysdeps/unix/sysv/linux/kernel-features.h [__sh__]
3257 (__ASSUME_SOCKETCALL): Do not define.
3258 (__ASSUME_ST_INO_64_BIT): Define unconditionally.
3259 [__LINUX_KERNEL_VERSION >= 0x020625 && __sh__]
3260 (__ASSUME_ACCEPT4_SYSCALL): Do not define.
3261 [__LINUX_KERNEL_VERSION >= 0x020625 && __sh__]
3262 (__ASSUME_RECVMMSG_SYSCALL): Likewise.
3263 [__LINUX_KERNEL_VERSION >= 0x030000 && __sh__]
3264 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
3265 [__sh__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
3266
642530c1
JM
3267 * sysdeps/unix/sysv/linux/powerpc/kernel-features.h: New file.
3268 * sysdeps/unix/sysv/linux/kernel-features.h [__powerpc__]
3269 (__ASSUME_SOCKETCALL): Do not define.
3270 (__ASSUME_IPC64): Define unconditionally.
3271 [__LINUX_KERNEL_VERSION >= 0x020625 && __powerpc__]
3272 (__ASSUME_ACCEPT4_SYSCALL): Do not define.
3273 [__LINUX_KERNEL_VERSION >= 0x020625 && __powerpc__]
3274 (__ASSUME_RECVMMSG_SYSCALL): Likewise.
3275 [__LINUX_KERNEL_VERSION >= 0x030000 && __powerpc__]
3276 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
3277 [__powerpc__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL):
3278 Likewise.
3279
03f77315
JM
3280 * sysdeps/unix/sysv/linux/sparc/kernel-features.h: New file.
3281 * sysdeps/unix/sysv/linux/kernel-features.h [__sparc__]
3282 (__ASSUME_SOCKETCALL): Do not define.
3283 (__ASSUME_SET_ROBUST_LIST): Define unconditionally.
3284 (__ASSUME_FUTEX_LOCK_PI): Likewise.
3285 [__sparc__] (__ASSUME_ACCEPT4_SYSCALL): Do not define.
3286 [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
3287 (__ASSUME_REQUEUE_PI): Define unconditionally.
3288 [__LINUX_KERNEL_VERSION >= 0x020621 && __sparc__]
3289 (__ASSUME_RECVMMSG_SYSCALL): Do not define.
3290 [__sparc__] (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
3291 [__LINUX_KERNEL_VERSION >= 0x030000 && __sparc__]
3292 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
3293 [__sparc__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
3294
083b1f7c
JM
3295 * sysdeps/unix/sysv/linux/i386/kernel-features.h: New file.
3296 * sysdeps/unix/sysv/linux/kernel-features.h [__i386__]
3297 (__ASSUME_SOCKETCALL): Do not define.
3298 [__LINUX_KERNEL_VERSION >= 0x020621 && __i386__]
3299 (__ASSUME_RECVMMSG_SYSCALL): Likewise.
3300 [__i386__] (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
3301 [__LINUX_KERNEL_VERSION >= 0x030000 && __i386__]
3302 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
3303 [__i386__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
3304
5be44ea6
JM
3305 * sysdeps/unix/sysv/linux/x86_64/kernel-features.h: New file.
3306 * sysdeps/unix/sysv/linux/kernel-features.h [__x86_64__]
3307 (__ASSUME_ACCEPT4_SYSCALL): Do not define.
3308 [__LINUX_KERNEL_VERSION >= 0x020621 && __x86_64__]
3309 (__ASSUME_RECVMMSG_SYSCALL): Likewise.
3310 [__LINUX_KERNEL_VERSION >= 0x030000 && __x86_64__]
3311 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
3312 [__x86_64__ && __LINUX_KERNEL_VERSION >= 0x030100]
3313 (__ASSUME_GETCPU_SYSCALL): Likewise.
3314
d95ffd4c
JM
3315 * aclocal.m4 (LIBC_SLIBDIR_RTLDDIR): New macro.
3316 * sysdeps/gnu/configure.ac: Use LIBC_SLIBDIR_RTLDDIR. Remove
3317 cases for individual architectures.
3318 * sysdeps/gnu/configure: Regenerated.
3319 * sysdeps/unix/sysv/linux/aarch64/configure.ac: Use
3320 LIBC_SLIBDIR_RTLDDIR.
3321 * sysdeps/unix/sysv/linux/aarch64/configure: Regenerated.
3322 * sysdeps/unix/sysv/linux/mips/configure.ac: Use
3323 LIBC_SLIBDIR_RTLDDIR.
3324 * sysdeps/unix/sysv/linux/mips/configure: Regenerated.
3325 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: Use
3326 LIBC_SLIBDIR_RTLDDIR.
3327 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure:
3328 Regenerated.
3329 * sysdeps/unix/sysv/linux/s390/s390-64/configure.ac: New file.
3330 * sysdeps/unix/sysv/linux/s390/s390-64/configure: New generated
3331 file.
3332 * sysdeps/unix/sysv/linux/sparc/sparc64/configure.ac: New file.
3333 * sysdeps/unix/sysv/linux/sparc/sparc64/configure: New generated
3334 file.
3335 * sysdeps/unix/sysv/linux/x86_64/64/configure.ac: New file.
3336 * sysdeps/unix/sysv/linux/x86_64/64/configure: New generated file.
3337 * sysdeps/unix/sysv/linux/x86_64/x32/configure.ac: New file.
3338 * sysdeps/unix/sysv/linux/x86_64/x32/configure: Generate.
3339
29c4f53e
JM
3340 * sysdeps/aarch64/shlib-versions: Move to ...
3341 * sysdeps/unix/sysv/linux/aarch64/shlib-versions: ... here.
3342 * sysdeps/alpha/shlib-versions: Move to ...
3343 * sysdeps/unix/sysv/linux/alpha/shlib-versions: ... here.
3344 * sysdeps/arm/shlib-versions: Move to ...
3345 * sysdeps/unix/sysv/linux/arm/shlib-versions: ... here.
3346 * sysdeps/hppa/shlib-versions: Move all contents except for
3347 libgcc_s entry to ...
3348 * sysdeps/unix/sysv/linux/hppa/shlib-versions: ... here. Merge in
3349 entry from ...
3350 * sysdeps/hppa/nptl/shlib-versions: ... here. Remove file.
3351 * sysdeps/ia64/shlib-versions: Move to ...
3352 * sysdeps/unix/sysv/linux/ia64/shlib-versions: ... here. Merge in
3353 entry from ...
3354 * sysdeps/ia64/nptl/shlib-versions: ... here. Remove file.
3355 * sysdeps/m68k/coldfire/shlib-versions: Move to ...
3356 * sysdeps/unix/sysv/linux/m68k/coldfire/shlib-versions: ... here.
3357 * sysdeps/microblaze/shlib-versions: Move to ...
3358 * sysdeps/unix/sysv/linux/microblaze/shlib-versions: ... here.
3359 * sysdeps/mips/shlib-versions: Move to ...
3360 * sysdeps/unix/sysv/linux/mips/shlib-versions: ... here. Merge in
3361 entry from ...
3362 * sysdeps/mips/nptl/shlib-versions: ... here. Remove file.
3363 * sysdeps/tile/shlib-versions: Move to ...
3364 * sysdeps/unix/sysv/linux/tile/shlib-versions: ... here.
3365 * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Merge in entry
3366 from ...
3367 * sysdeps/x86_64/64/shlib-versions: ... here. Remove file.
3368 * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Merge in
3369 entry from ...
3370 * sysdeps/x86_64/x32/shlib-versions: ... here. Remove file.
3371
32bead5b
WN
33722014-07-17 Will Newton <will.newton@linaro.org>
3373
57977c4b
WN
3374 * sysdeps/arm/bits/atomic.h
3375 (__arch_compare_and_exchange_bool_8_int): Evaluate to zero.
3376 (__arch_compare_and_exchange_bool_16_int): Likewise.
3377 (__arch_compare_and_exchange_bool_64_int): Likewise.
3378
32bead5b
WN
3379 * iconv/loop.c: Move definition of LOOPFCT and gconv_btowc
3380 into an #else block.
3381
37fccd41
RM
33822014-07-16 Roland McGrath <roland@hack.frob.com>
3383
3384 * sysdeps/arm/preconfigure.ac: Apply EABI sanity check to arm*, not
3385 just Linux configurations. Test empirically that the compiler sets
3386 __ARM_EABI__, rather than using the tuple to decide.
3387 * sysdeps/arm/preconfigure: Regenerated.
3388 * sysdeps/unix/sysv/linux/arm/configure: File removed.
3389 * sysdeps/unix/sysv/linux/arm/configure.ac: File removed,
3390 contents appended ...
3391 * sysdeps/arm/configure.ac: ... here.
3392 * sysdeps/arm/configure: Regenerated.
3393
b365f3ec
RM
33942014-07-15 Roland McGrath <roland@hack.frob.com>
3395
8badf496
RM
3396 * nptl/pthread_kill.c: New file.
3397 * nptl/pthread_sigmask.c: New file.
3398 * nptl/pthread_sigqueue.c: New file.
3399
3df6f22e
RM
3400 * sysdeps/nptl/lowlevellock.h: New file.
3401 * sysdeps/unix/sysv/linux/lowlevellock-futex.h: New file.
3402 * sysdeps/nptl/lowlevellock-futex.h: New file.
3403
b365f3ec
RM
3404 * nptl/pthreadP.h (__current_sigrtmin, __current_sigrtmax):
3405 Remove dead declarations.
3406
f2fef657
L
34072014-07-14 H.J. Lu <hongjiu.lu@intel.com>
3408
3409 * config.h.in (HAVE_AVX2_SUPPORT): New #undef.
3410 * sysdeps/i386/configure.ac: Set HAVE_AVX2_SUPPORT and
3411 config-cflags-avx2.
3412 * sysdeps/x86_64/configure.ac: Likewise.
3413 * sysdeps/i386/configure: Regenerated.
3414 * sysdeps/x86_64/configure: Likewise.
3415 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
3416 memset-avx2 only if config-cflags-avx2 is yes.
3417 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
3418 Tests for memset_chk and memset only if HAVE_AVX2_SUPPORT is
3419 defined.
3420 * sysdeps/x86_64/multiarch/memset.S: Define multiple versions
3421 only if HAVE_AVX2_SUPPORT is defined.
3422 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
3423
f6c44d47
AM
34242014-07-14 Alan Modra <amodra@gmail.com>
3425
3426 [BZ #17153]
3427 * elf/elf.h (DT_PPC64_NUM): Correct value.
3428 * NEWS: Add to fixed bug list.
3429
7ee03f00
JM
34302014-07-13 Jim Meyering <meyering@fb.com>
3431
3432 [BZ 17150]
3433 regex: don't deref NULL upon heap allocation failure
3434 * posix/regcomp.c: (parse_dup_op): Handle duplicate_tree
3435 failure in one more place.
3436 To trigger the segfault, configure grep -with-included-regex,
3437 build it, and run these commands:
3438 ( ulimit -v 300000; echo a|src/grep -E a+++++++++++++++++++++ )
3439
9d39d517
AS
34402014-07-13 Andreas Schwab <schwab@linux-m68k.org>
3441
3442 * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
3443
a75b89b7
RH
34442014-07-11 Richard Henderson <rth@redhat.com>
3445
3446 * sysdeps/aarch64/libm-test-ulps: Update.
3447
771eb141
FW
34482014-07-10 Florian Weimer <fweimer@redhat.com>
3449
3450 [BZ #17135]
3451 * nptl/pthreadP.h (__nptl_setxid_error): Declare function.
3452 * nptl/allocatestack.c (__nptl_setxid_error): New function.
3453 (__nptl_setxid): Initialize error member. Call
3454 __nptl_setxid_error.
3455 * nptl/nptl-init.c (sighandler_setxid): Call __nptl_setxid_error.
3456 * nptl/descr.h (struct xid_command): Add error member.
3457 * nptl/tst-setuid3.c: New file.
3458 * nptl/Makefile (tests): Add it.
3459
bc1da176
AZ
34602014-07-10 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3461
3462 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h (__lll_base_trylock):
3463 New define.
3464 (__lll_trylock): Use __lll_base_trylock.
3465 (__lll_cond_trylock): Likewise.
3466
887865fc
RM
34672014-07-10 Roland McGrath <roland@hack.frob.com>
3468
c0c6bac9
RM
3469 * nptl/pthread_create.c (start_thread): Use atomic_or and
3470 lll_futex_wake directly rather than lll_robust_dead.
3471 * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h
3472 (lll_robust_dead): Macro removed.
6a42be57 3473 * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: Likewise.
c0c6bac9
RM
3474 * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Likewise.
3475 * sysdeps/unix/sysv/linux/arm/lowlevellock.h: Likewise.
3476 * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
3477 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
3478 * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Likewise.
3479 * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Likewise.
3480 * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
3481 * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Likewise.
3482 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
3483 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
3484 * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
3485 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
3486 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
3487 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
3488
887865fc
RM
3489 * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock):
3490 Use atomic_compare_and_exchange_val_acq directly rather than
3491 lll_robust_trylock.
3492 * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h
3493 (__lll_robust_trylock, lll_robust_trylock): Removed.
3494 * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Likewise.
3495 * sysdeps/unix/sysv/linux/arm/lowlevellock.h: Likewise.
3496 * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
3497 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
3498 * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Likewise.
3499 * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Likewise.
3500 * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
3501 * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Likewise.
3502 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
3503 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
3504 * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
3505 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
3506 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
3507 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
3508
58536726
FW
35092014-07-02 Florian Weimer <fweimer@redhat.com>
3510
3511 * manual/locale.texi (Locale Names): New section documenting
3512 locale name syntax. Adjust menu and node chaining accordingly.
3513 (Choosing Locale): Reference Locale Names, Locale Categories.
3514 Mention setting LC_ALL=C. Reflect that name syntax is now
3515 documented.
3516 (Locale Categories): New section title. Reference Locale Names.
3517 LC_ALL is an environment variable, but not a category.
3518 (Setting the Locale): Remove "locale -a" invocation and LOCPATH
3519 description, now in Locale Name. Reference that section. Locale
3520 name syntax is now documented.
3521
4e8f95a0
FW
35222014-07-02 Florian Weimer <fweimer@redhat.com>
3523
3524 [BZ #17137]
3525 * locale/findlocale.c (name_present, valid_locale_name): New
3526 functions.
3527 (_nl_find_locale): Use the loc_name variable to store name
3528 candidates. Call name_present and valid_locale_name to check and
3529 validate locale names. Return an error if the locale is invalid.
3530
d1836456
FW
35312014-07-02 Florian Weimer <fweimer@redhat.com>
3532
3533 * locale/setlocale.c (setlocale): Use strdup for allocating
3534 composite name copy.
3535
d69b7f5a
SP
35362014-07-10 Siddhesh Poyarekar <siddhesh@redhat.com>
3537
888c679b
SP
3538 Sync up with gnulib.
3539 * misc/error.c: Use !_LIBC instead of HAVE_CONFIG_H.
3540 [!_LIBC && ENABLE_NLS]: Include gettext.h.
3541 [_LIBC]: Define USE_UNLOCKED_IO, _GL_ATTRIBUTE_FORMAT_PRINTF
3542 and _GL_ARG_NONNULL.
3543 [USE_UNLOCKED_IO]: Include unlocked-io.h.
3544 [!_LIBC]: Include code for Windows and Cygwin.
3545 [!_LIBC && !HAVE_DECL_STRERROR_R && !STRERROR_R_CHAR_P]:
3546 Include prototype for int strerror_r.
3547 [!_LIBC] (is_open): New function.
3548 (flush_stdout): New function.
3549 (print_errno_message): Use it.
3550 (error): Likewise.
3551 (error_at_line): Likewise.
3552 (error_tail) Add function attribute macros. Use
3553 __builtin_expect.
3554
180e0e4b
SP
3555 * time/strptime_l.c [_LIBC]: Define HAVE_LOCALTIME_R.
3556
d22f1fe2
SP
3557 * time/strftime_l.c [_LIBC]: Define HAVE_STRFTIME.
3558
12f2254b
SP
3559 * io/ftw.c: Include sys/param.h unconditionally.
3560
c3c7c360
SP
3561 * locale/programs/simple-hash.c [!HAVE_OBSTACK]: Remove code.
3562
d62aa75a
SP
3563 [BZ #17125]
3564 * sysdeps/unix/sysv/linux/check_pf.c (cache): Don't use
3565 libc_freeres_ptr.
3566 (freecache): New function to free CACHE on exit.
3567
d69b7f5a
SP
3568 * sunrpc/xdr.c (xdr_string): Add comment about SIZE
3569 initialization.
3570
5efe06a1
DM
35712014-07-09 David S. Miller <davem@davemloft.net>
3572
3573 * sysdeps/sparc/fpu/libm-test-ulps: Update.
3574
7000d82e
DM
3575 * sysdeps/sparc/nptl/internaltypes.h: Delete.
3576 * sysdeps/sparc/nptl/sparc-nptl.h: New file.
3577 * sysdeps/sparc/nptl/pthread_barrier_destroy.c: Include it.
3578 * sysdeps/sparc/nptl/pthread_barrier_init.c: Likewise.
3579 * sysdeps/sparc/nptl/pthread_barrier_wait.c: Likewise.
3580 * sysdeps/sparc/nptl/sem_init.c: Likewise.
3581 * sysdeps/sparc/nptl/sem_post.c: Likewise.
3582 * sysdeps/sparc/nptl/sem_timedwait.c: Likewise.
3583 * sysdeps/sparc/nptl/sem_wait.c: Likewise.
3584 * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: Likewise.
3585 * sysdeps/sparc/sparc32/nptl/sem_post.c: Likewise.
3586 * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: Likewise.
3587 * sysdeps/sparc/sparc32/nptl/sem_wait.c: Likewise.
3588
c213442d
AS
35892014-07-09 Andreas Schwab <schwab@suse.de>
3590
4a2552c3
AS
3591 * sysdeps/powerpc/test-gettimebase.c (do_test): Add newline to
3592 output.
3593 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c
3594 (do_test): Likewise.
3595
c213442d
AS
3596 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
3597
82374e65
WN
35982014-07-09 Will Newton <will.newton@linaro.org>
3599
3600 * sysdeps/aarch64/tlsdesc.c (_dl_unmap): Test SHARED with #ifdef.
3601 * sysdeps/arm/tlsdesc.c (_dl_unmap): Likewise.
3602 * sysdeps/i386/tlsdesc.c (_dl_unmap): Likewise.
3603 * sysdeps/x86_64/tlsdesc.c (_dl_unmap): Likewise.
3604 * sysdeps/hppa/start.S (_start): Likewise.
3605
6680738a
SP
36062014-07-09 Siddhesh Poyarekar <siddhesh@redhat.com>
3607
6ee3eab4
SP
3608 * sunrpc/xdr.c (xdr_string): Initialize SIZE to 0.
3609
6680738a
SP
3610 * sysdeps/generic/unwind-pe.h: Only check if __cplusplus is
3611 defined.
3612
80b5c505
SP
36132014-07-08 Siddhesh Poyarekar <siddhesh@redhat.com>
3614
e35c53e3
SP
3615 * resolv/res_query.c (__libc_res_nsearch): Dereference resplen2
3616 after checking that it is non-NULL.
3617
80b5c505
SP
3618 * sysdeps/i386/dl-machine.h: Define ELF_MACHINE_NO_REL.
3619
91f4b564
AZ
36202014-07-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3621
27b75f56
AZ
3622 * sysdeps/powerpc/memmove.c: Remove file.
3623 * sysdeps/powerpc/powerpc32/power4/memcopy.h
3624 [MEMCPY_OK_FOR_FWD_MEMMOVE]: Define it to 1.
3625 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c
3626 [MEMCPY_OK_FOR_FWD_MEMMOVE]: Remove define.
3627 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-ppc.c:
3628 [MEMCPY_OK_FOR_FWD_MEMMOVE]: Likewise.
3629 * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Include default
3630 string memmove instead of removed powerpc one.
3631
e7f95bb5
AZ
3632 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
3633 [weak_alias]: Fix compiler warning due trailing data.
3634 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S:
3635 [weak_alias]: Likewise.
3636 * sysdeps/powerpc/powerpc64/multiarch/strcat-power7.c: Fix compile
3637 warnigs due missing definition of __strcpy_power7 and __strlen_power7.
3638
91f4b564
AZ
3639 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
3640 (__libc_ifunc_impl_list): Add memmove functions.
3641
7c33f1e5
SP
36422014-07-08 Siddhesh Poyarekar <siddhesh@redhat.com>
3643
3644 * localedata/tests-mbwc/dat_iswalnum.c [SHOJI_IS_RIGHT]:
3645 Remove code.
3646 * localedata/tests-mbwc/dat_iswalpha.c [SHOJI_IS_RIGHT]:
3647 Likewise
3648 * localedata/tests-mbwc/dat_iswctype.c [SHOJI_IS_RIGHT]:
3649 Likewise
3650 * localedata/tests-mbwc/dat_iswgraph.c [SHOJI_IS_RIGHT]:
3651 Likewise
3652 * localedata/tests-mbwc/dat_iswprint.c [SHOJI_IS_RIGHT]:
3653 Likewise
3654 * localedata/tests-mbwc/dat_iswpunct.c [SHOJI_IS_RIGHT]:
3655 Likewise
3656 * localedata/tests-mbwc/dat_mbrlen.c [SHOJI_IS_RIGHT]:
3657 Likewise
3658 * localedata/tests-mbwc/dat_mbstowcs.c [SHOJI_IS_RIGHT]:
3659 Likewise
3660 * localedata/tests-mbwc/dat_mbtowc.c [SHOJI_IS_RIGHT]:
3661 Likewise
3662 * localedata/tests-mbwc/dat_strcoll.c [SHOJI_IS_RIGHT]:
3663 Likewise
3664 * localedata/tests-mbwc/dat_swscanf.c [SHOJI_IS_RIGHT]:
3665 Likewise
3666 * localedata/tests-mbwc/dat_towctrans.c [SHOJI_IS_RIGHT]:
3667 Likewise
3668 * localedata/tests-mbwc/dat_wcscoll.c [SHOJI_IS_RIGHT]:
3669 Likewise
3670 * localedata/tests-mbwc/dat_wcswidth.c [SHOJI_IS_RIGHT]:
3671 Likewise
3672 * localedata/tests-mbwc/dat_wctob.c [SHOJI_IS_RIGHT]:
3673 Likewise
3674 * localedata/tests-mbwc/dat_wcwidth.c [SHOJI_IS_RIGHT]:
3675 Likewise
3676 * localedata/tests-mbwc/tst_towctrans.c [SHOJI_IS_RIGHT]:
3677 Likewise
3678
3f17b03b
AZ
36792014-07-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3680
87868c24
AZ
3681 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Align VSX copies to 16B
3682 to avoid alignment traps in non-cacheable memory.
3683 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
3684
07aedd78
AZ
3685 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memmove
3686 multiarch objects.
3687 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c: New
3688 file: multiarch power7 memmove.
3689 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-ppc.c: New file:
3690 multiarch default memmove.
3691 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove.c: New file:
3692 multiarch memove for powerpc32/power4.
3693
17762f66
AZ
3694 * string/bcopy.c: Use full path to include memmove.c.
3695 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memmove and bcopy
3696 multiarch objects.
3697 * sysdeps/powerpc/powerpc64/multiarch/bcopy-ppc64.c: New file: default
3698 bcopy for powerpc64.
3699 * sysdeps/powerpc/powerpc64/multiarch/bcopy.c: New file: multiarch
3700 bcopy for powerpc64.
3701 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Add bcopy
3702 and memmove implementations.
3703 * sysdeps/powerpc/powerpc64/multiarch/memmove-power7.S: New file:
3704 optimized multiarch memmove for POWER7/powerpc64.
3705 * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: New file:
3706 default multiarch memmove for powerpc64.
3707 * sysdeps/powerpc/powerpc64/multiarch/memmove.c: New file: memmove
3708 multiarch for powerpc64.
3709 * sysdeps/powerpc/powerpc64/power7/bcopy.c: New file: optimized bcopy
3710 for POWER7/powerpc64.
3711 * sysdeps/powerpc/powerpc64/power7/memmove.S: New file: optimized
3712 memmove for POWER7/powerpc64.
3713
d6f68bbe
AZ
3714 * sysdeps/powerpc/memmove.c (memmove): Cleanup impplementation to use
3715 glibc default one.
3716
3f17b03b
AZ
3717 * sysdeps/powerpc/bits/link.h [_CALL_ELF]: Guard check for
3718 __ELF_NATIVE_CLASS equal to 64.
3719
08192659
RM
37202014-07-07 Roland McGrath <roland@hack.frob.com>
3721
f4c4021b
RM
3722 * sysdeps/nptl/lowlevellock.h: File removed.
3723
f083450f
RM
3724 * NEWS: NPTL is no longer an add-on!
3725 * nptl/internaltypes.h: Moved ...
3726 * sysdeps/nptl/internaltypes.h: ... here.
3727 * sysdeps/nptl/aio_misc.h: Use <nptl/pthreadP.h> in #include.
3728 * sysdeps/nptl/fork.c: Likewise.
3729 * sysdeps/nptl/gai_misc.h: Likewise.
3730 * sysdeps/nptl/librt-cancellation.c: Likewise.
3731 * sysdeps/nptl/jmp-unwind.c: Likewise.
3732 * sysdeps/nptl/setxid.h: Likewise.
3733 * sysdeps/unix/sysv/linux/aarch64/Implies: New file.
3734 * sysdeps/unix/sysv/linux/alpha/Implies: Add alpha/nptl.
3735 * sysdeps/unix/sysv/linux/arm/Implies: New file.
3736 * sysdeps/unix/sysv/linux/hppa/Implies: New file.
3737 * sysdeps/unix/sysv/linux/i386/Implies: Add i386/nptl.
3738 * sysdeps/unix/sysv/linux/i386/i686/Implies: New file.
3739 * sysdeps/unix/sysv/linux/ia64/Implies: Add ia64/nptl.
3740 * sysdeps/unix/sysv/linux/m68k/Implies: New file.
3741 * sysdeps/unix/sysv/linux/microblaze/Implies: New file.
3742 * sysdeps/unix/sysv/linux/mips/Implies: New file.
3743 * sysdeps/unix/sysv/linux/powerpc/Implies: New file.
3744 * sysdeps/unix/sysv/linux/s390/Implies: Add s390/nptl.
3745 * sysdeps/unix/sysv/linux/sh/Implies: New file.
3746 * sysdeps/unix/sysv/linux/sparc/Implies: New file.
3747 * sysdeps/unix/sysv/linux/tile/Implies: New file.
3748 * sysdeps/unix/sysv/linux/x86_64/Implies: Add x86_64/nptl.
3749 * sysdeps/unix/sysv/linux/x86_64/x32/Implies: New file.
3750 * nptl/Makeconfig: Moved ...
3751 * sysdeps/nptl/Makeconfig: ... here.
3752 * nptl/configure: File removed.
3753 * nptl/ANNOUNCE: File removed.
3754 * sysdeps/unix/sysv/linux/configure.ac: Remove nptl sanity check.
3755 * sysdeps/unix/sysv/linux/configure: Regenerated.
3756
08192659
RM
3757 * nptl/Makefile (routines): Add libc_pthread_init,
3758 libc_multiple_threads, register-atfork and unregister-atfork.
3759 (libpthread-routines): Add pthread_mutex_cond_lock and pt-fork here.
3760 (gen-as-const-headers): Add lowlevelcond.sym, lowlevelrwlock.sym,
3761 lowlevelbarrier.sym, unwindbuf.sym, lowlevelrobustlock.sym,
3762 pthread-pi-defines.sym, structsem.sym.
3763 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = posix]
3764 (CFLAGS-fork.c, CFLAGS-getpid.o, CFLAGS-getpid.os): New variables.
3765 [$(subdir) = nptl] (tests): Add tst-setgetname.
3766 * nptl/sysdeps/unix/sysv/linux/Makefile: File removed.
3767 * sysdeps/unix/sysv/linux/sigaction.c: Just include
3768 <nptl/sigaction.c> directly here, instead of WRAPPER_INCLUDE.
3769 [!LIBC_SIGACTION]: Remove aliases.
3770 * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Likewise.
3771 * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
3772 * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
3773 * sysdeps/unix/sysv/linux/ia64/sigaction.c: Likewise.
3774 * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
3775 * sysdeps/unix/sysv/linux/s390/s390-64/sigaction.c: Likewise.
3776 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
3777 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
3778 * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
3779 * nptl/Versions (libc: GLIBC_2.3.2): Add __register_atfork.
3780 (libc: GLIBC_PRIVATE): Add __libc_pthread_init,
3781 __libc_current_sigrtmin_private, __libc_current_sigrtmax_private,
3782 __libc_allocate_rtsig_private.
3783 * nptl/sysdeps/unix/sysv/linux/Versions: File removed.
3784 * sysdeps/unix/sysv/linux/sigtimedwait.c: Include <nptl/pthreadP.h>.
3785 * sysdeps/unix/sysv/linux/sigwait.c: Likewise.
3786 * sysdeps/unix/sysv/linux/sigwaitinfo.c: Likewise.
3787 * sysdeps/unix/sysv/linux/sleep.c: Likewise.
3788 * nptl/sysdeps/unix/sysv/linux/sigwait.c: File removed.
3789 * nptl/sysdeps/unix/sysv/linux/sigtimedwait.c: File removed.
3790 * nptl/sysdeps/unix/sysv/linux/sigwaitinfo.c: File removed.
3791 * nptl/sysdeps/unix/sysv/linux/sleep.c: File removed.
3792 * nptl/sysdeps/unix/sysv/linux/createthread.c: File removed.
3793 * sysdeps/unix/sysv/linux/ia64/fork.S: File removed.
3794 * nptl/sysdeps/unix/sysv/linux/internaltypes.h: Moved ...
3795 * nptl/internaltypes.h: ... here.
3796 * nptl/sysdeps/unix/sysv/linux/jmp-unwind.c: Moved ...
3797 * sysdeps/nptl/jmp-unwind.c: ... here.
3798 * nptl/sysdeps/unix/sysv/linux/libc-lowlevellock.c: Moved ...
3799 * nptl/libc-lowlevellock.c: ... here.
3800 * nptl/sysdeps/unix/sysv/linux/libc_multiple_threads.c: Moved ...
3801 * nptl/libc_multiple_threads.c: ... here.
3802 * nptl/sysdeps/unix/sysv/linux/libc_pthread_init.c: Moved ...
3803 * nptl/libc_pthread_init.c: ... here.
3804 * nptl/sysdeps/unix/sysv/linux/lowlevelbarrier.sym: Moved ...
3805 * nptl/lowlevelbarrier.sym: ... here.
3806 * nptl/sysdeps/unix/sysv/linux/lowlevelcond.sym: Moved ...
3807 * nptl/lowlevelcond.sym: ... here.
3808 * nptl/sysdeps/unix/sysv/linux/lowlevellock.c: Moved ...
3809 * nptl/lowlevellock.c: ... here.
3810 * nptl/lowlevellock.h: Moved ...
3811 * sysdeps/nptl/lowlevellock.h: ... here.
3812 * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.c: Moved ...
3813 * nptl/lowlevelrobustlock.c: ... here.
3814 * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.sym: Moved ...
3815 * nptl/lowlevelrobustlock.sym: ... here.
3816 * nptl/sysdeps/unix/sysv/linux/lowlevelrwlock.sym: Moved ...
3817 * nptl/lowlevelrwlock.sym: ... here.
3818 * nptl/sysdeps/unix/sysv/linux/pt-fork.c: Moved ...
3819 * nptl/pt-fork.c: ... here.
3820 * nptl/sysdeps/unix/sysv/linux/pthread-pi-defines.sym: Moved ...
3821 * nptl/pthread-pi-defines.sym: ... here.
3822 * nptl/sysdeps/unix/sysv/linux/pthread_attr_getaffinity.c: Moved ...
3823 * nptl/pthread_attr_getaffinity.c: ... here.
3824 * nptl/sysdeps/unix/sysv/linux/pthread_attr_setaffinity.c: Moved ...
3825 * nptl/pthread_attr_setaffinity.c: ... here.
3826 * nptl/sysdeps/unix/sysv/linux/pthread_mutex_cond_lock.c: Moved ...
3827 * nptl/pthread_mutex_cond_lock.c: ... here.
3828 * sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
3829 Update #include.
3830 * sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: Likewise.
3831 * nptl/sysdeps/unix/sysv/linux/pthread_once.c: Moved ...
3832 * nptl/pthread_once.c: ... here, replacing old file.
3833 * nptl/sysdeps/unix/sysv/linux/pthread_yield.c: Moved ...
3834 * nptl/pthread_yield.c: ... here.
3835 * nptl/sysdeps/unix/sysv/linux/register-atfork.c: Moved ...
3836 * nptl/register-atfork.c: ... here.
3837 * nptl/sysdeps/unix/sysv/linux/sem_post.c: Moved ...
3838 * nptl/sem_post.c: ... here.
3839 * sysdeps/unix/sysv/linux/alpha/sem_post.c: Update #include.
3840 * nptl/sysdeps/unix/sysv/linux/sem_timedwait.c: Moved ...
3841 * nptl/sem_timedwait.c: ... here.
3842 * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Moved ...
3843 * nptl/sem_trywait.c: ... here.
3844 * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: Update #include.
3845 * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Moved ...
3846 * nptl/sem_wait.c: ... here.
3847 * nptl/sysdeps/unix/sysv/linux/structsem.sym: Moved ...
3848 * nptl/structsem.sym: ... here.
3849 * nptl/sysdeps/unix/sysv/linux/mq_notify.c: Moved ...
3850 * sysdeps/unix/sysv/linux/mq_notify.c: ... here, replacing old file.
3851 * nptl/sysdeps/unix/sysv/linux/unregister-atfork.c: Moved ...
3852 * nptl/unregister-atfork.c: ... here.
3853 * nptl/sysdeps/unix/sysv/linux/unwindbuf.sym: Moved ...
3854 * nptl/unwindbuf.sym: ... here.
3855 * nptl/sysdeps/unix/sysv/linux/fork.c: Moved ...
3856 * sysdeps/nptl/fork.c: ... here.
3857 * nptl/sysdeps/unix/sysv/linux/fork.h: Moved ...
3858 * sysdeps/nptl/fork.h: ... here.
3859 * sysdeps/unix/sysv/linux/syscalls.list: Remove fork.
3860 * nptl/sysdeps/unix/sysv/linux/aio_misc.h: Moved ...
3861 * sysdeps/unix/sysv/linux/aio_misc.h: ... here.
3862 * nptl/sysdeps/unix/sysv/linux/allocrtsig.c: Moved ...
3863 * sysdeps/unix/sysv/linux/allocrtsig.c: ... here.
3864 * nptl/sysdeps/unix/sysv/linux/getpid.c: Moved ...
3865 * sysdeps/unix/sysv/linux/getpid.c: ... here.
3866 * nptl/sysdeps/unix/sysv/linux/kernel-posix-timers.h: Moved ...
3867 * sysdeps/unix/sysv/linux/kernel-posix-timers.h: ... here.
3868 * nptl/sysdeps/unix/sysv/linux/pt-raise.c: Moved ...
3869 * sysdeps/unix/sysv/linux/pt-raise.c: ... here.
3870 * nptl/sysdeps/unix/sysv/linux/pthread_getaffinity.c: Moved ...
3871 * sysdeps/unix/sysv/linux/pthread_getaffinity.c: ... here.
3872 * nptl/sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: Moved ...
3873 * sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: ... here.
3874 * nptl/sysdeps/unix/sysv/linux/pthread_getname.c: Moved ...
3875 * sysdeps/unix/sysv/linux/pthread_getname.c: ... here.
3876 * nptl/sysdeps/unix/sysv/linux/pthread_kill.c: Moved ...
3877 * sysdeps/unix/sysv/linux/pthread_kill.c: ... here.
3878 * nptl/sysdeps/unix/sysv/linux/pthread_setaffinity.c: Moved ...
3879 * sysdeps/unix/sysv/linux/pthread_setaffinity.c: ... here.
3880 * nptl/sysdeps/unix/sysv/linux/pthread_setname.c: Moved ...
3881 * sysdeps/unix/sysv/linux/pthread_setname.c: ... here.
3882 * nptl/sysdeps/unix/sysv/linux/pthread_sigqueue.c: Moved ...
3883 * sysdeps/unix/sysv/linux/pthread_sigqueue.c: ... here.
3884 * nptl/sysdeps/unix/sysv/linux/raise.c: Moved ...
3885 * sysdeps/unix/sysv/linux/raise.c: ... here.
3886 * nptl/sysdeps/unix/sysv/linux/timer_create.c: Moved ...
3887 * sysdeps/unix/sysv/linux/timer_create.c: ... here.
3888 * nptl/sysdeps/unix/sysv/linux/timer_delete.c: Moved ...
3889 * sysdeps/unix/sysv/linux/timer_delete.c: ... here.
3890 * nptl/sysdeps/unix/sysv/linux/timer_getoverr.c: Moved ...
3891 * sysdeps/unix/sysv/linux/timer_getoverr.c: ... here.
3892 * nptl/sysdeps/unix/sysv/linux/timer_gettime.c: Moved ...
3893 * sysdeps/unix/sysv/linux/timer_gettime.c: ... here.
3894 * nptl/sysdeps/unix/sysv/linux/timer_routines.c: Moved ...
3895 * sysdeps/unix/sysv/linux/timer_routines.c: ... here.
3896 * nptl/sysdeps/unix/sysv/linux/timer_settime.c: Moved ...
3897 * sysdeps/unix/sysv/linux/timer_settime.c: ... here.
3898 * nptl/sysdeps/unix/sysv/linux/tst-setgetname.c: Moved ...
3899 * sysdeps/unix/sysv/linux/tst-setgetname.c: ... here.
3900 * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Update #include.
3901
96baf6ff
SP
39022014-07-04 Siddhesh Poyarekar <siddhesh@redhat.com>
3903
3904 * sysdeps/generic/memcopy.h: Add comment for
3905 MEMCPY_OK_FOR_FWD_MEMMOVE.
3906
6b7b14b2
WN
39072014-07-04 Will Newton <will.newton@linaro.org>
3908
1570a72b
WN
3909 * string/memchr.c: Merge from gnulib.
3910 [_LIBC]: Remove conditionals.
3911 (__ptr_t): Remove define.
3912 (LONG_MAX_32_BITS): Likewise.
3913 (LONG_MAX): Likewise.
3914 (MEMCHR): Use ANSI prototype and optimize algorithm.
3915
6b7b14b2
WN
3916 * sysdeps/arm/dl-machine.h (ELF_MACHINE_NO_REL): Define.
3917
38851324
SP
39182014-07-03 Roland McGrath <roland@hack.frob.com>
3919
3d9eb57c
RM
3920 * sysdeps/unix/sysv/linux/ia64/lowlevellock.h
3921 (lll_futex_timed_wait_bitset): Fix syscall argument count.
3922
78b984ae
RM
3923 * sysdeps/nptl/configure.ac (libc_cv_forced_unwind):
3924 Use -Dinhibit_libc=1 for unwind.h check to prevent false failure
3925 in a bare environment with no <stdlib.h> installed.
3926 * sysdeps/nptl/configure: Regenerated.
3927
2d5976a5
RM
3928 * sysdeps/alpha/fpu/s_nearbyint.c: Include <math_ldbl_opt.h>.
3929
c1f5acd4
RM
3930 * sysdeps/unix/sysv/linux/configure.ac: Use AC_TRY_COMPILE rather than
3931 AC_EGREP_CPP for kernel header checks, so they only succeed if
3932 including <linux/version.h> actually works right.
3933 * sysdeps/unix/sysv/linux/configure: Regenerated.
3934
4d614fe5
RM
3935 * sysdeps/s390/nptl/tls.h (THREAD_SET_POINTER_GUARD): Refer to the
3936 value so it's not diagnosed as unused.
3937
38851324
SP
3938 * sysdeps/pthread/Makefile: Conditionalize tst-timer bits (the only
3939 thing) with "ifeq ($(subdir),rt)".
3940
b3ec00e5
RH
39412014-07-03 Richard Henderson <rth@redhat.com>
3942
69862e25
RH
3943 * sysdeps/alpha/fpu/s_nearbyintf.c: Remove file.
3944 * sysdeps/alpha/fpu/s_nearbyint.c (__nearbyint): Remove;
3945 include sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c.
3946
d5e16ade
RH
3947 * sysdeps/alpha/fpu/math_private.h (math_opt_barrier): New.
3948 (math_force_eval): New.
3949
ca7b945c
RH
3950 * sysdeps/alpha/fpu/s_lround.c: Add 0.5 with chopped rounding.
3951 * sysdeps/alpha/fpu/s_lroundf.c: Likewise.
3952
cd1175a3
RH
3953 * sysdeps/alpha/fpu/s_round.c: Remove file.
3954 * sysdeps/alpha/fpu/s_roundf.c: Remove file.
3955
b3ec00e5
RH
3956 * elf/dl-support.c (HP_TIMING_AVAIL): Do not redefine.
3957 (_dl_non_dynamic_init): Check HP_SMALL_TIMING_AVAIL instead.
3958 * elf/rtld.c (HP_TIMING_AVAIL): Do not redefine.
3959 (_dl_start_final): Check HP_SMALL_TIMING_AVAIL instead.
3960 (_dl_start, print_statistics): Likewise.
3961 * sysdeps/generic/ldsodefs.h (struct rtld_global): Only check
3962 HP_SMALL_TIMING_AVAIL in defining _dl_cpuclock_offset.
3963
3964 * sysdeps/aarch64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
3965 * sysdeps/generic/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
3966 * sysdeps/i386/i686/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
3967 * sysdeps/ia64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
3968 * sysdeps/powerpc/powerpc32/power4/hp-timing.h
3969 (HP_SMALL_TIMING_AVAIL): Define.
3970 * sysdeps/powerpc/powerpc64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
3971 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h
3972 (HP_SMALL_TIMING_AVAIL): Define.
3973 * sysdeps/sparc/sparc64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
3974 * sysdeps/x86_64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
3975
3976 * sysdeps/aarch64/hp-timing.h: New file.
3977
3978 * sysdeps/generic/hp-timing.h: Remove dead comment.
3979 * sysdeps/generic/hp-timing-common.h: New file.
3980 * sysdeps/alpha/hp-timing.h: Include it.
3981 (HP_TIMING_DIFF, HP_TIMING_ACCUM_NT, HP_TIMING_PRINT): Remove.
3982 * sysdeps/i386/i686/hp-timing.h: Likewise.
3983 * sysdeps/ia64/hp-timing.h: Likewise.
3984 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
3985 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
3986 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
3987 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
3988 * sysdeps/x86_64/hp-timing.h: Don't include the i686 version.
3989 (HP_TIMING_AVAIL, HP_TIMING_INLINE): Define.
3990 (hp_timing_t): New.
3991
3992 * benchtests/bench-string.h (_dl_hp_timing_overhead): Remove.
3993 * benchtests/bench-timing.h (_dl_hp_timing_overhead): Remove.
3994 (TIMING_INIT): Remove call to HP_TIMING_DIFF_INIT.
3995 * elf/rtld.c (_dl_start_final): Likewise.
3996 * sysdeps/generic/ldsodefs.h (_dl_hp_timing_overhead): Remove.
3997 * sysdeps/alpha/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
3998 * sysdeps/generic/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
3999 * sysdeps/i386/i686/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
4000 * sysdeps/ia64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
4001 * sysdeps/powerpc/powerpc32/power4/hp-timing.h
4002 (HP_TIMING_DIFF_INIT): Remove.
4003 * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
4004 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h
4005 (HP_TIMING_DIFF_INIT): Remove.
4006 * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
4007 * sysdeps/i386/i686/hp-timing.c: Remove file.
4008 * sysdeps/x86_64/hp-timing.c: Remove file.
4009 * sysdeps/ia64/hp-timing.c: Remove file.
4010 * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Remove file.
4011 * sysdeps/powerpc/powerpc64/hp-timing.c: Remove file.
4012 * sysdeps/sparc/sparc32/sparcv9/hp-timing.c: Remove file.
4013 * sysdeps/sparc/sparc64/hp-timing.c: Remove file.
4014
4015 * sysdeps/alpha/hp-timing.h (HP_TIMING_ACCUM): Remove.
4016 * sysdeps/generic/hp-timing.h (HP_TIMING_ACCUM): Remove.
4017 * sysdeps/i386/i686/hp-timing.h (HP_TIMING_ACCUM): Remove.
4018 * sysdeps/ia64/hp-timing.h (HP_TIMING_ACCUM): Remove.
4019 * sysdeps/powerpc/powerpc32/power4/hp-timing.h
4020 (HP_TIMING_ACCUM): Remove.
4021 * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_ACCUM): Remove.
4022 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h (HP_TIMING_ACCUM): Remove.
4023 * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_ACCUM): Remove.
4024
4025 * sysdeps/alpha/hp-timing.h (HP_TIMING_ZERO): Remove.
4026 * sysdeps/generic/hp-timing.h (HP_TIMING_ZERO): Remove.
4027 * sysdeps/i386/i686/hp-timing.h (HP_TIMING_ZERO): Remove.
4028 * sysdeps/ia64/hp-timing.h (HP_TIMING_ZERO): Remove.
4029 * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_ZERO): Remove.
4030 * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_ZERO): Remove.
4031 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h (HP_TIMING_ZERO): Remove.
4032 * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_ZERO): Remove.
4033
4034 * sysdeps/powerpc/powerpc32/hp-timing.h: Remove file.
4035
225f410f
MR
40362014-07-03 Maciej W. Rozycki <macro@codesourcery.com>
4037
4038 * stdlib/tst-strtod-overflow.c (TIMEOUT): Bump up to 30.
4039
3247f285
SP
40402014-07-02 Siddhesh Poyarekar <siddhesh@redhat.com>
4041
4042 Sync up with gettext.
4043 * intl/loadmsgcat.c: Define O_BINARY if not defined.
4044 [_MSC_VER]: Include malloc.h
4045 [_LIBC]: Define PRI_MACROS_BROKEN if it is not defined.
4046 (get_sysdep_segment_value) [!__UCLIBC__]: Return "I" flag.
4047 (_nl_load_domain): Open DOMAIN_FILE in binary mode. Don't use
4048 TEMP_FAILURE_RETRY. Cast return of alloca.
4049 [!_LIBC] Call gl_rwlock_init.
4050 [IN_LIBGLOCALE]: Call _nl_find_msg with one less argument.
4051
d12704c7
SP
40522014-07-02 Roland McGrath <roland@hack.frob.com>
4053
4054 * misc/sys/cdefs.h: Check if __STDC_VERSION__ is defined
4055 before checking its value.
4056
99f8dc92
SP
40572014-07-02 Siddhesh Poyarekar <siddhesh@redhat.com>
4058
05fdac77
SP
4059 * intl/loadmsgcat.c (_nl_load_domain): Use __builtin_expect.
4060
99f8dc92
SP
4061 * debug/memcpy_chk.c: Don't include pagecopy.h.
4062 * debug/mempcpy_chk.c: Likewise.
4063 * string/memcpy.c: Likewise.
4064 * string/memmove.c: Likewise.
4065 * sysdeps/powerpc/memmove.c: Likewise.
4066 * sysdeps/generic/memcopy.h: Include pagecopy.h. Move
4067 definition of PAGE_COPY_FWD_MAYBE here...
4068 * sysdeps/generic/pagecopy.h: ... from here.
4069 * sysdeps/mach/pagecopy.h: Don't include generic pagecopy.h.
4070
bc8ea385
VR
40712014-07-02 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
4072 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4073
4074 * sysdeps/powerpc/strcat.c: Using macro to redefine symbol name.
4075 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcat multiarch
4076 optimizations.
4077 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
4078 (__libc_ifunc_impl_list): Likewise.
4079 * sysdeps/powerpc/powerpc64/multiarch/strcat.c: New file:
4080 multiarch strcat for PPC64.
4081 * sysdeps/powerpc/powerpc64/multiarch/strcat-ppc64.c: New file/
4082 * sysdeps/powerpc/powerpc64/multiarch/strcat-power7.c: New file.
4083
fe5f34e4
RM
40842014-07-02 Roland McGrath <roland@hack.frob.com>
4085
4086 * sysdeps/unix/sysv/linux/dl-sysdep.c: Include <sys/param.h>.
4087
256aa665
SP
40882014-07-02 Siddhesh Poyarekar <siddhesh@redhat.com>
4089
d4eb8195
SP
4090 * intl/loadmsgcat.c: Remove declaration of
4091 get_sysdep_segment_value.
4092 (get_sysdep_segment_value): Use ISO C style.
4093 (_nl_load_domain): Use ISO C style. Get rid of redundant
4094 semicolon. Fix typo and formatting in comment.
4095 (_nl_unload_domain): Use ISO C style.
4096
256aa665
SP
4097 * sysdeps/posix/sysconf.c (__sysconf): Fix typo in macro name.
4098
b100f9aa
WN
40992014-07-02 Will Newton <will.newton@linaro.org>
4100
4101 * malloc/obstack.c: Merge from gnulib master.
4102 [HAVE_CONFIG_H]: Remove conditional code.
4103 [!_LIBC]: Include config.h.
4104 [!ELIDE_CODE]: Don't include inttypes.h, include
4105 stdint.h unconditionally.
4106 (print_and_abort): Mark as _Noreturn.
4107 (_obstack_allocated_p): Mark as __attribute_pure__.
4108 (obstack_free): Rename to __obstack_free.
4109 [!__attribute__]: Remove conditional code.
4110 * malloc/obstack.h: Merge from gnulib master.
4111 [__cplusplus]: Move conditional down.
4112 [!__attribute_pure__]: Define __attribute_pure__ here
4113 if it is not already defined.
4114 (_obstack_memory_used): Mark as __attribute_pure__.
4115 [!__obstack_free]: Define as obstack_free.
4116 [__GNUC__]: Remove check for ancient NeXT gcc.
4117
c4c41244
PE
41182014-07-02 Will Newton <will.newton@linaro.org>
4119 Paul Eggert <eggert@cs.ucla.edu>
4120
4121 * misc/sys/cdefs.h (_Noreturn): New macro, for pre-C11 compilers.
4122
e1e041c4
SP
41232014-07-02 Siddhesh Poyarekar <siddhesh@redhat.com>
4124
4125 * resolv/gethnamaddr.c: Add comment warning that the file is
4126 not maintained.
4127
ccf431ff
CD
41282014-07-01 Carlos O'Donell <carlos@redhat.com>
4129
d34570a6
CD
4130 * sysdeps/unix/sysv/linux/hppa/librt.abilist: Remove GLIBC_2.3
4131 entries.
4132
ccf431ff
CD
4133 * sysdeps/unix/sysv/linux/hppa/Versions: Remove librt GLIBC_2.3
4134 entry for aio_cancel and aio_cancel64.
4135 * sysdeps/unix/sysv/linux/hppa/ld.abilist: New file.
4136 * sysdeps/unix/sysv/linux/hppa/libBrokenLocale.abilist: New file.
4137 * sysdeps/unix/sysv/linux/hppa/libanl.abilist: New file.
4138 * sysdeps/unix/sysv/linux/hppa/libc.abilist: New file.
4139 * sysdeps/unix/sysv/linux/hppa/libcrypt.abilist: New file.
4140 * sysdeps/unix/sysv/linux/hppa/libdl.abilist: New file.
4141 * sysdeps/unix/sysv/linux/hppa/libm.abilist: New file.
4142 * sysdeps/unix/sysv/linux/hppa/libnsl.abilist: New file.
4143 * sysdeps/unix/sysv/linux/hppa/libpthread.abilist: New file.
4144 * sysdeps/unix/sysv/linux/hppa/libresolv.abilist: New file.
4145 * sysdeps/unix/sysv/linux/hppa/librt.abilist: New file.
4146 * sysdeps/unix/sysv/linux/hppa/libthread_db.abilist: New file.
4147 * sysdeps/unix/sysv/linux/hppa/libutil.abilist: New file.
4148
ca06321d
RM
41492014-07-01 Roland McGrath <roland@hack.frob.com>
4150
4151 * sysdeps/unix/sysv/linux/sysconf.c: Include <sys/param.h>.
4152 * nptl/pthread_mutex_lock.c: Likewise.
4153 * nptl/pthread_mutex_timedlock.c: Likewise.
4154 * nptl/sysdeps/unix/sysv/linux/pthread_attr_getaffinity.c: Likewise.
4155
a1ac3184
RH
41562014-07-01 Richard henderson <rth@redhat.com>
4157
631021e0
RH
4158 * sysdeps/alpha/fpu/bits/mathinline.h (__isnanf): Remove.
4159 (__isnan, __isnanl): Remove.
4160 * sysdeps/alpha/fpu/s_isnan.c (__isnan): Use integer arithmetic.
4161
a1ac3184
RH
4162 * sysdeps/alpha/fpu/libm-test-ulps: Update.
4163
0c1d731f
SL
41642014-07-01 Stefan Liebler <stli@linux.vnet.ibm.com>
4165
4166 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
4167
76985d3e
SP
41682014-07-01 Siddhesh Poyarekar <siddhesh@redhat.com>
4169
4170 * resolv/nss_dns/dns-host.c (getanswer_r)
4171 [MULTI_PTRS_ARE_ALIASES]: Remove code.
4172
b0cb3096
JM
41732014-07-01 Joseph Myers <joseph@codesourcery.com>
4174
4175 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
4176 [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PSELECT): Do not
4177 undefine.
4178 [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PREADV): Likewise.
4179 [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PWRITEV): Likewise.
4180
4d76cb39
RM
41812014-07-01 Roland McGrath <roland@hack.frob.com>
4182
4183 * sysdeps/unix/sysv/linux/microblaze/arch-fork.h: New file.
4184 * sysdeps/unix/sysv/linux/microblaze/nptl/fork.c: File removed.
4185
4186 * sysdeps/microblaze/nptl/tls.h: Define TLS_DEFINE_INIT_TP.
4187 * sysdeps/unix/sysv/linux/microblaze/nptl/createthread.c: File removed.
4188
4189 * sysdeps/microblaze/nptl/bits/pthreadtypes.h: Moved ...
4190 * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h:
4191 ... here.
4192 * sysdeps/microblaze/nptl/bits/semaphore.h: Moved ...
4193 * sysdeps/unix/sysv/linux/microblaze/nptl/bits/semaphore.h: ... here.
4194
4195 * sysdeps/unix/sysv/linux/microblaze/pt-vfork.S: Moved ...
4196 * sysdeps/unix/sysv/linux/microblaze/nptl/pt-vfork.S: ... here.
4197 * sysdeps/unix/sysv/linux/microblaze/nptl/vfork.S: Moved ...
4198 * sysdeps/unix/sysv/linux/microblaze/vfork.S: ... here.
4199
4200 * sysdeps/unix/sysv/linux/microblaze/c++-types.data: Moved ...
4201 * sysdeps/unix/sysv/linux/microblaze/nptl/c++-types.data: ... here.
4202 * sysdeps/unix/sysv/linux/microblaze/ld.abilist: Moved ...
4203 * sysdeps/unix/sysv/linux/microblaze/nptl/ld.abilist: ... here.
4204 * sysdeps/unix/sysv/linux/microblaze/libBrokenLocale.abilist:
4205 Moved ...
4206 * sysdeps/unix/sysv/linux/microblaze/nptl/libBrokenLocale.abilist:
4207 ... here.
4208 * sysdeps/unix/sysv/linux/microblaze/libanl.abilist: Moved ...
4209 * sysdeps/unix/sysv/linux/microblaze/nptl/libanl.abilist: ... here.
4210 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Moved ...
4211 * sysdeps/unix/sysv/linux/microblaze/nptl/libc.abilist: ... here.
4212 * sysdeps/unix/sysv/linux/microblaze/libcrypt.abilist: Moved ...
4213 * sysdeps/unix/sysv/linux/microblaze/nptl/libcrypt.abilist: ... here.
4214 * sysdeps/unix/sysv/linux/microblaze/libdl.abilist: Moved ...
4215 * sysdeps/unix/sysv/linux/microblaze/nptl/libdl.abilist: ... here.
4216 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Moved ...
4217 * sysdeps/unix/sysv/linux/microblaze/nptl/libm.abilist: ... here.
4218 * sysdeps/unix/sysv/linux/microblaze/libnsl.abilist: Moved ...
4219 * sysdeps/unix/sysv/linux/microblaze/nptl/libnsl.abilist: ... here.
4220 * sysdeps/unix/sysv/linux/microblaze/libpthread.abilist: Moved ...
4221 * sysdeps/unix/sysv/linux/microblaze/nptl/libpthread.abilist: ... here.
4222 * sysdeps/unix/sysv/linux/microblaze/libresolv.abilist: Moved ...
4223 * sysdeps/unix/sysv/linux/microblaze/nptl/libresolv.abilist: ... here.
4224 * sysdeps/unix/sysv/linux/microblaze/librt.abilist: Moved ...
4225 * sysdeps/unix/sysv/linux/microblaze/nptl/librt.abilist: ... here.
4226 * sysdeps/unix/sysv/linux/microblaze/libthread_db.abilist: Moved ...
4227 * sysdeps/unix/sysv/linux/microblaze/nptl/libthread_db.abilist:
4228 ... here.
4229 * sysdeps/unix/sysv/linux/microblaze/libutil.abilist: Moved ...
4230 * sysdeps/unix/sysv/linux/microblaze/nptl/libutil.abilist: ... here.
4231 * sysdeps/unix/sysv/linux/microblaze/localplt.data: Moved ...
4232 * sysdeps/unix/sysv/linux/microblaze/nptl/localplt.data: ... here.
4233 * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Moved ...
4234 * sysdeps/unix/sysv/linux/microblaze/nptl/lowlevellock.h: ... here.
4235 * sysdeps/unix/sysv/linux/microblaze/nptl/pthread_once.c: Moved ...
4236 * sysdeps/unix/sysv/linux/microblaze/pthread_once.c: ... here.
4237
0cdcad17
DH
42382014-07-01 David Holsgrove <david.holsgrove@xilinx.com>
4239
4240 * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: New file.
4241 * sysdeps/unix/sysv/linux/microblaze/socket.S: Update SINGLE_THREAD_P use.
4242 * sysdeps/unix/sysv/linux/microblaze/Makefile(libpthread-routines):
4243 Add sysdep.
4244
9b71d0e3
AZ
42452014-06-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4246
4247 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
4248
665390c2
JM
42492014-06-30 Joseph Myers <joseph@codesourcery.com>
4250
ae05a9d7
JM
4251 * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
4252 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
4253
a7672a2f
JM
4254 * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
4255
665390c2
JM
4256 * sysdeps/arm/libm-test-ulps: Regenerated.
4257
d7a05d07
MR
42582014-06-30 Maciej W. Rozycki <macro@codesourcery.com>
4259 Roland McGrath <roland@hack.frob.com>
4260
4261 * test-skeleton.c (signal_handler): Kill the whole process group
4262 before killing the child individually.
4263 (main): Report any failure on `setpgid'.
4264
46f1d8a6
RM
42652014-06-30 Roland McGrath <roland@hack.frob.com>
4266
4267 * sysdeps/arm/nptl/tls.h: Rename the multiple inclusion guard
4268 from _TLS_H to _ARM_NPTL_TLS_H.
4269 (TLS_INIT_TP): Move macro, and #include of <sysdep.h>, to ...
4270 * sysdeps/unix/sysv/linux/arm/tls.h: ... this new file.
4271
9c37ec0b
JM
42722014-06-30 Joseph Myers <joseph@codesourcery.com>
4273
ce9c5b3e
JM
4274 [BZ #16539]
4275 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Include <float.h>.
4276 (__expm1l): Return argument unchanged when small but not
4277 subnormal.
4278
3a6e9887
JM
4279 * soft-fp/op-1.h (_FP_UNPACK_RAW_1): Rename local variables to
4280 include macro name.
4281 (_FP_UNPACK_RAW_1_P): Likewise.
4282 (_FP_PACK_RAW_1): Likewise.
4283 (_FP_PACK_RAW_1_P): Likewise.
4284 (_FP_MUL_MEAT_1_wide): Likewise.
4285 (_FP_MUL_MEAT_DW_1_hard): Likewise.
4286 (_FP_MUL_MEAT_1_hard): Likewise.
4287 (_FP_DIV_MEAT_1_imm): Likewise.
4288 (_FP_DIV_MEAT_1_udiv_norm): Likewise.
4289 (_FP_DIV_MEAT_1_udiv): Likewise.
4290 * soft-fp/op-2.h (__FP_FRAC_DEC_2): Likewise.
4291 (_FP_UNPACK_RAW_2): Likewise.
4292 (_FP_UNPACK_RAW_2_P): Likewise.
4293 (_FP_PACK_RAW_2): Likewise.
4294 (_FP_PACK_RAW_2_P): Likewise.
4295 (_FP_MUL_MEAT_DW_2_wide): Likewise.
4296 (_FP_MUL_MEAT_2_wide): Likewise.
4297 (_FP_MUL_MEAT_DW_2_wide_3mul): Likewise.
4298 (_FP_MUL_MEAT_2_wide_3mul): Likewise.
4299 (_FP_MUL_MEAT_DW_2_gmp): Likewise.
4300 (_FP_MUL_MEAT_2_gmp): Likewise.
4301 (_FP_DIV_MEAT_2_udiv): Likewise.
4302 * soft-fp/op-4.h (_FP_FRAC_SLL_4): Likewise.
4303 (_FP_FRAC_SRL_4): Likewise.
4304 (_FP_FRAC_SRST_4): Likewise.
4305 (_FP_FRAC_SRS_4): Likewise.
4306 (_FP_UNPACK_RAW_4): Likewise.
4307 (_FP_UNPACK_RAW_4_P): Likewise.
4308 (_FP_PACK_RAW_4): Likewise.
4309 (_FP_PACK_RAW_4_P): Likewise.
4310 (_FP_MUL_MEAT_DW_4_wide): Likewise.
4311 (_FP_MUL_MEAT_4_wide): Likewise.
4312 (_FP_MUL_MEAT_4_gmp): Likewise.
4313 (umul_ppppmnnn): Likewise.
4314 (_FP_DIV_MEAT_4_udiv): Likewise.
4315 (__FP_FRAC_ADD_4): Likewise.
4316 (__FP_FRAC_SUB_3): Likewise.
4317 (__FP_FRAC_SUB_4): Likewise.
4318 (__FP_FRAC_DEC_3): Likewise.
4319 (__FP_FRAC_DEC_4): Likewise.
4320 (__FP_FRAC_ADDI_4): Likewise.
4321 * soft-fp/op-8.h (_FP_FRAC_SLL_8): Likewise.
4322 (_FP_FRAC_SRL_8): Likewise.
4323 (_FP_FRAC_SRS_8): Likewise.
4324
9c37ec0b
JM
4325 * soft-fp/extended.h (FP_UNPACK_RAW_E): Rename local variables to
4326 include macro name.
4327 (FP_UNPACK_RAW_EP): Likewise.
4328 (FP_PACK_RAW_E): Likewise.
4329 (FP_PACK_RAW_EP): Likewise.
4330 * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Likewise.
4331 (_FP_ISSIGNAN): Likewise.
4332 (_FP_ADD_INTERNAL): Likewise.
4333 (_FP_FMA): Likewise.
4334 (_FP_CMP): Likewise.
4335 (_FP_SQRT): Likewise.
4336 (_FP_TO_INT): Likewise.
4337 (_FP_FROM_INT): Likewise.
4338 (FP_EXTEND): Likewise.
4339 (_FP_DIV_MEAT_N_loop): Likewise.
4340
2125f674
MR
43412014-06-30 Maciej W. Rozycki <macro@codesourcery.com>
4342
4343 * sysdeps/unix/sysv/linux/bits/socket.h: Adjust macro formatting
4344 throughout.
4345
edea4028
JM
43462014-06-29 Joseph Myers <joseph@codesourcery.com>
4347
4348 [BZ #17097]
4349 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Return
4350 result with correct sign in case of exponents that produce
4351 overflow except for X very close to 1.
4352
dd0ba018
PE
43532014-06-28 Paul Eggert <eggert@cs.ucla.edu>
4354
4355 mktime: merge #if/#ifdef usage from glibc
4356 * lib/mktime.c: Use "#if defined DEBUG && DEBUG", not "#if DEBUG",
4357 as that works with both Glibc's and Gnulib's style.
4358 See thread starting at Siddhesh Poyarekar's bug report at:
4359 http://lists.gnu.org/archive/html/bug-gnulib/2014-06/msg00102.html
4360
64df73c2
SP
43612014-06-28 Siddhesh Poyarekar <siddhesh@redhat.com>
4362
4363 * sysdeps/generic/memcopy.h: Define MEMCPY_OK_FOR_FWD_MEMMOVE.
4364 * sysdeps/tile/memcopy.h: Redefine MEMCPY_OK_FOR_FWD_MEMMOVE.
4365 * sysdeps/tile/tilegx/memmove.c: Remove file.
4366
f1eafb41
JM
43672014-06-27 Joseph Myers <joseph@codesourcery.com>
4368
4369 * Makeconfig ($(common-objpfx)soversions.mk): Do not generate
4370 abi-name definition.
4371 * scripts/soversions.awk: Do not handle or generate ABI lines.
4372 * shlib-versions: Remove ABI entries.
4373 * sysdeps/powerpc/nofpu/shlib-versions: Remove file.
4374 * sysdeps/x86_64/x32/shlib-versions: Remove ABI entry.
4375
58eb0862
RM
43762014-06-27 Roland McGrath <roland@hack.frob.com>
4377
37caf178
RM
4378 * sysdeps/unix/sysv/linux/mips/mips32/nptl/c++-types.data: Moved ...
4379 * sysdeps/unix/sysv/linux/mips/mips32/c++-types.data: ... here.
4380 * sysdeps/unix/sysv/linux/mips/mips32/fpu/nptl/libc.abilist: Moved ...
4381 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: ... here.
4382 * sysdeps/unix/sysv/linux/mips/mips32/nptl/ld.abilist: Moved ...
4383 * sysdeps/unix/sysv/linux/mips/mips32/ld.abilist: ... here.
4384 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libBrokenLocale.abilist:
4385 Moved ...
4386 * sysdeps/unix/sysv/linux/mips/mips32/libBrokenLocale.abilist:
4387 ... here.
4388 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libanl.abilist: Moved ...
4389 * sysdeps/unix/sysv/linux/mips/mips32/libanl.abilist: ... here.
4390 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libcidn.abilist: Moved ...
4391 * sysdeps/unix/sysv/linux/mips/mips32/libcidn.abilist: ... here.
4392 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libcrypt.abilist: Moved ...
4393 * sysdeps/unix/sysv/linux/mips/mips32/libcrypt.abilist: ... here.
4394 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libdl.abilist: Moved ...
4395 * sysdeps/unix/sysv/linux/mips/mips32/libdl.abilist: ... here.
4396 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libm.abilist: Moved ...
4397 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: ... here.
4398 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnsl.abilist: Moved ...
4399 * sysdeps/unix/sysv/linux/mips/mips32/libnsl.abilist: ... here.
4400 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_compat.abilist:
4401 Moved ...
4402 * sysdeps/unix/sysv/linux/mips/mips32/libnss_compat.abilist: ... here.
4403 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_db.abilist: Moved ...
4404 * sysdeps/unix/sysv/linux/mips/mips32/libnss_db.abilist: ... here.
4405 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_dns.abilist: Moved ...
4406 * sysdeps/unix/sysv/linux/mips/mips32/libnss_dns.abilist: ... here.
4407 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_files.abilist:
4408 Moved ...
4409 * sysdeps/unix/sysv/linux/mips/mips32/libnss_files.abilist: ... here.
4410 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_hesiod.abilist:
4411 Moved ...
4412 * sysdeps/unix/sysv/linux/mips/mips32/libnss_hesiod.abilist: ... here.
4413 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_nis.abilist: Moved ...
4414 * sysdeps/unix/sysv/linux/mips/mips32/libnss_nis.abilist: ... here.
4415 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_nisplus.abilist:
4416 Moved ...
4417 * sysdeps/unix/sysv/linux/mips/mips32/libnss_nisplus.abilist: ... here.
4418 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libpthread.abilist: Moved ...
4419 * sysdeps/unix/sysv/linux/mips/mips32/libpthread.abilist: ... here.
4420 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libresolv.abilist: Moved ...
4421 * sysdeps/unix/sysv/linux/mips/mips32/libresolv.abilist: ... here.
4422 * sysdeps/unix/sysv/linux/mips/mips32/nptl/librt.abilist: Moved ...
4423 * sysdeps/unix/sysv/linux/mips/mips32/librt.abilist: ... here.
4424 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libthread_db.abilist:
4425 Moved ...
4426 * sysdeps/unix/sysv/linux/mips/mips32/libthread_db.abilist: ... here.
4427 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libutil.abilist: Moved ...
4428 * sysdeps/unix/sysv/linux/mips/mips32/libutil.abilist: ... here.
4429 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/nptl/libc.abilist:
4430 Moved ...
4431 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: ... here.
4432 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/c++-types.data:
4433 Moved ...
4434 * sysdeps/unix/sysv/linux/mips/mips64/n32/c++-types.data: ... here.
4435 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/ld.abilist: Moved ...
4436 * sysdeps/unix/sysv/linux/mips/mips64/n32/ld.abilist: ... here.
4437 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libBrokenLocale.abilist:
4438 Moved ...
4439 * sysdeps/unix/sysv/linux/mips/mips64/libBrokenLocale.abilist:
4440 ... here.
4441 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libBrokenLocale.abilist:
4442 Identical file removed.
4443 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libanl.abilist:
4444 Moved ...
4445 * sysdeps/unix/sysv/linux/mips/mips64/libanl.abilist: ... here.
4446 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libanl.abilist:
4447 Identical file removed.
4448 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libc.abilist: Moved ...
4449 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: ... here.
4450 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libcrypt.abilist:
4451 Moved ...
4452 * sysdeps/unix/sysv/linux/mips/mips64/libcrypt.abilist: ... here.
4453 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libcrypt.abilist:
4454 Identical file removed.
4455 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libdl.abilist: Moved ...
4456 * sysdeps/unix/sysv/linux/mips/mips64/libdl.abilist: ... here.
4457 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libdl.abilist:
4458 Identical file removed.
4459 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libm.abilist: Moved ...
4460 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: ... here.
4461 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libm.abilist:
4462 Identical file removed.
4463 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libnsl.abilist: Moved ...
4464 * sysdeps/unix/sysv/linux/mips/mips64/libnsl.abilist: ... here.
4465 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libnsl.abilist:
4466 Identical file removed.
4467 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libpthread.abilist:
4468 Moved ...
4469 * sysdeps/unix/sysv/linux/mips/mips64/libpthread.abilist: ... here.
4470 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libpthread.abilist:
4471 Identical file removed.
4472 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libresolv.abilist:
4473 Moved ...
4474 * sysdeps/unix/sysv/linux/mips/mips64/n32/libresolv.abilist: ... here.
4475 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/librt.abilist: Moved ...
4476 * sysdeps/unix/sysv/linux/mips/mips64/librt.abilist: ... here.
4477 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/librt.abilist:
4478 Identical file removed.
4479 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libthread_db.abilist:
4480 Moved ...
4481 * sysdeps/unix/sysv/linux/mips/mips64/libthread_db.abilist:
4482 ... here.
4483 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libthread_db.abilist:
4484 Identical file removed.
4485 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libutil.abilist:
4486 Moved ...
4487 * sysdeps/unix/sysv/linux/mips/mips64/libutil.abilist: ... here.
4488 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libutil.abilist:
4489 Identical file removed.
4490 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/c++-types.data:
4491 Moved ...
4492 * sysdeps/unix/sysv/linux/mips/mips64/n64/c++-types.data: ... here.
4493 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/ld.abilist: Moved ...
4494 * sysdeps/unix/sysv/linux/mips/mips64/n64/ld.abilist: ... here.
4495 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libc.abilist: Moved ...
4496 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: ... here.
4497 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libresolv.abilist:
4498 Moved ...
4499 * sysdeps/unix/sysv/linux/mips/mips64/n64/libresolv.abilist: ... here.
4500 * sysdeps/unix/sysv/linux/mips/mips64/nptl/sysdep-cancel.h: Moved ...
4501 * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: ... here.
4502
58eb0862
RM
4503 * sysdeps/unix/sysv/linux/mips/vfork.S: Incorporate
4504 SAVE_PID and RESTORE_PID blocks from nptl/pt-vfork.S.
4505 * sysdeps/unix/sysv/linux/mips/nptl/vfork.S: File removed.
4506 * sysdeps/unix/sysv/linux/mips/nptl/pt-vfork.S: File removed.
4507 * sysdeps/unix/sysv/linux/mips/pt-vfork.S: New file.
4508
6f12d062
AS
45092014-06-27 Arjun Shankar <arjun.is@lostca.se>
4510
4511 [BZ #17092]
4512 * nscd/nscd.c (monitor_child): Return exit status of child
4513 instead of return value from wait syscall.
4514
be254932
JM
45152014-06-27 Joseph Myers <joseph@codesourcery.com>
4516
cb403c34
JM
4517 * configure.ac (libc_commonpagesize): Remove variable.
4518 (libc_relro_required): Likewise.
4519 (libc_cv_z_relro): Remove configure test.
4520 * configure: Regenerated.
4521 * sysdeps/aarch64/preconfigure (libc_commonpagesize): Do not set
4522 variable.
4523 (libc_relro_required): Likewise.
4524 * sysdeps/alpha/preconfigure (libc_commonpagesize): Likewise.
4525 (libc_relro_required): Likewise.
4526 * sysdeps/arm/preconfigure.ac (libc_commonpagesize): Likewise.
4527 (libc_relro_required): Likewise.
4528 * sysdeps/arm/preconfigure: Regenerated.
4529 * sysdeps/ia64/preconfigure: Remove file.
4530 * sysdeps/tile/preconfigure (libc_commonpagesize): Do not set
4531 variable.
4532 (libc_relro_required): Likewise.
4533
be254932
JM
4534 [BZ #16561]
4535 [BZ #16562]
4536 * sysdeps/ieee754/dbl-64/e_jn.c: Include <float.h>.
4537 (__ieee754_yn): Set FE_TONEAREST mode internally and then
4538 recompute overflowing results in original rounding mode.
4539 * sysdeps/ieee754/flt-32/e_jnf.c: Include <float.h>.
4540 (__ieee754_ynf): Set FE_TONEAREST mode internally and then
4541 recompute overflowing results in original rounding mode.
4542 * sysdeps/ieee754/ldbl-128/e_jnl.c: Include <float.h>.
4543 (__ieee754_ynl): Set FE_TONEAREST mode internally and then
4544 recompute overflowing results in original rounding mode.
4545 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Include <float.h>.
4546 (__ieee754_ynl): Set FE_TONEAREST mode internally and then
4547 recompute overflowing results in original rounding mode.
4548 * sysdeps/ieee754/ldbl-96/e_jnl.c: Include <float.h>.
4549 (__ieee754_ynl): Set FE_TONEAREST mode internally and then
4550 recompute overflowing results in original rounding mode.
4551 * sysdeps/i386/fpu/fenv_private.h [!__SSE2_MATH__]
4552 (libc_feholdsetround_ctx): New macro.
4553 * math/libm-test.inc (yn_test): Use ALL_RM_TEST.
4554 * sysdeps/i386/fpu/libm-test-ulps: Update.
4555 * sysdeps/x86_64/fpu/libm-test-ulps : Likewise.
4556
b351d85a
JM
45572014-06-26 Joseph Myers <joseph@codesourcery.com>
4558
4559 * sysdeps/unix/sysv/linux/mips/mips64/nptl/sysdep-cancel.h
4560 [__PIC__] (PSEUDO): Use name of _nocancel entry point in
4561 corresponding .cpsetup call.
4562
3cb4de47
RM
45632014-06-26 Roland McGrath <roland@hack.frob.com>
4564
4565 * sysdeps/unix/sysv/linux/arm/libc-aeabi_read_tp.S: Moved ...
4566 * sysdeps/arm/libc-aeabi_read_tp.S: ... here.
4567 * sysdeps/arm/Makefile [$(subdir) = csu]
4568 (aeabi_routines): Add aeabi_read_tp and libc-aeabi_read_tp here.
4569 (static-only-routines): Add aeabi_read_tp here.
4570 (shared-only-routines): Add libc-aeabi_read_tp here.
4571 (CFLAGS-libc-start.c): Add -fexceptions here.
4572 * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = csu]
4573 (sysdep_routines, static-only-routines, shared-only-routines):
4574 Don't add to these here.
4575 (CFLAGS-libc-start.c): Likewise.
4576
4577 * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: Moved ...
4578 * sysdeps/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
4579 * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: Moved ...
4580 * sysdeps/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
4581 * sysdeps/arm/Makefile [$(subdir) = rt]
4582 (librt-sysdep_routines, librt-shared-only-routines):
4583 Append rt-aeabi_unwind_cpp_pr1 here.
4584 * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = rt]
4585 (librt-sysdep_routines, librt-shared-only-routines): Don't do it here.
4586 * sysdeps/arm/nptl/Makefile [$(subdir) = nptl]
4587 (libpthread-sysdep_routines, libpthread-shared-only-routines):
4588 Append nptl-aeabi_unwind_cpp_pr1 here.
4589 (tests): Filter out tst-cleanupx4 here.
4590 * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = nptl]
4591 (libpthread-sysdep_routines, libpthread-shared-only-routines, tests):
4592 Don't do those here.
4593
354426bb
JM
45942014-06-26 Joseph Myers <joseph@codesourcery.com>
4595
4596 * scripts/list-sources.sh: Do not handle ports specially.
4597
28b0a8c9
RM
45982014-06-26 Roland McGrath <roland@hack.frob.com>
4599
a3dd035d
RM
4600 * sysdeps/arm/fesetenv.c: Include <fpu_control.h>.
4601 * sysdeps/arm/feupdateenv.c: Likewise.
4602
28b0a8c9
RM
4603 * posix/spawn_faction_addopen.c: Include <stdlib.h> for free decl.
4604
e66a8203
JM
46052014-06-26 Joseph Myers <joseph@codesourcery.com>
4606
4607 * manual/texinfo.tex: Update to version 2014-05-05.10 with
4608 trailing whitespace removed.
4609 * scripts/config.guess: Update to version 2014-03-23.
4610 * scripts/config.sub: Update to version 2014-05-01
4611 * scripts/install-sh: Update to version 2013-12-25.23.
4612 * scripts/move-if-change: Update from gnulib.
4613
74171115
SP
46142014-06-26 Siddhesh Poyarekar <siddhesh@redhat.com>
4615
b97c9ce5
SP
4616 * debug/memmove_chk.c: Remove pagecopy.h include.
4617
4000f892
SP
46182014-06-26 Paul Eggert <eggert@cs.ucla.edu>
4619
74171115
SP
4620 * time/mktime.c (leapyear): Remove inline keyword. The code is now
4621 identical to gnulib mktime.
4622
a8779c28
JM
46232014-06-26 Joseph Myers <joseph@codesourcery.com>
4624
e64708de
JM
4625 * configure.ac: Do not test for machine being rs6000. Do not test
4626 for powerpc*-*soft.
4627 * configure: Regenerated.
4628
a8779c28
JM
4629 * configure.ac (libc_cv_asm_cfi_directives): Remove configure
4630 test.
4631 * configure: Regenerated.
4632 * config.h.in (HAVE_ASM_CFI_DIRECTIVES): Remove macro undefine.
4633 * sysdeps/arm/configure.ac (libc_cv_asm_cfi_directive_sections):
4634 Remove configure test.
4635 * sysdeps/arm/configure: Regenerated.
4636 * sysdeps/nptl/configure.ac: Do not check
4637 libc_cv_asm_cfi_directives.
4638 * sysdeps/nptl/configure: Regenerated.
4639 * sysdeps/x86_64/nptl/configure.ac: Remove file.
4640 * sysdeps/x86_64/nptl/configure: Remove generated file.
4641 * b/sysdeps/generic/sysdep.h [HAVE_ASM_CFI_DIRECTIVES]: Make code
4642 unconditional.
4643 [!HAVE_ASM_CFI_DIRECTIVES]: Remove conditional code.
4644
2aac0a86
SP
46452014-06-26 Siddhesh Poyarekar <siddhesh@redhat.com>
4646
059bf913
SP
4647 * posix/fnmatch.c: Define WIDE_CHAR_VERSION.
4648 * posix/fnmatch_loop.c: Undefine WIDE_CHAR_VERSION.
4649 (FCT): Check value of WIDE_CHAR_VERSION instead of checking if
4650 it is defined.
4651
4cf5b6d0
SP
4652 * elf/dl-runtime.c: Check for value of ELF_MACHINE_NO_RELA
4653 instead of whether it is defined.
4654 * sysdeps/aarch64/dl-machine.h: Define ELF_MACHINE_NO_RELA.
4655 * sysdeps/hppa/dl-machine.h: Likewise.
4656 * sysdeps/ia64/dl-machine.h: Likewise.
4657 * sysdeps/m68k/dl-machine.h: Likewise.
4658 * sysdeps/microblaze/dl-machine.h: Likewise.
4659 * sysdeps/mips/dl-machine.: Likewise.
4660 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
4661 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
4662 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
4663 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
4664 * sysdeps/sh/dl-machine.h: Likewise.
4665 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
4666 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
4667 * sysdeps/tile/dl-machine.h: Likewise.
4668 * sysdeps/x86_64/dl-machine.h: Likewise.
4669
2aac0a86
SP
4670 * nscd/connections.c (enum usekey) [SEPARATE_KEY]: Remove
4671 code.
4672 (verify_persistent_db): Likewise.
4673
6ad2df0b
RM
46742014-06-26 Roland McGrath <roland@hack.frob.com>
4675
d8a483f3
RM
4676 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data: Moved ...
4677 * sysdeps/unix/sysv/linux/s390/s390-32/c++-types.data: ... here.
4678 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Moved ...
4679 * sysdeps/unix/sysv/linux/s390/s390-32/ld.abilist: ... here.
4680 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
4681 Moved ...
4682 * sysdeps/unix/sysv/linux/s390/s390-32/libBrokenLocale.abilist:
4683 ... here.
4684 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: Moved ...
4685 * sysdeps/unix/sysv/linux/s390/libanl.abilist: ... here.
4686 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist:
4687 Identical file removed.
4688 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Moved ...
4689 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: ... here.
4690 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: Moved ...
4691 * sysdeps/unix/sysv/linux/s390/s390-32/libcrypt.abilist: ... here.
4692 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: Moved ...
4693 * sysdeps/unix/sysv/linux/s390/s390-32/libdl.abilist: ... here.
4694 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Moved ...
4695 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: ... here.
4696 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: Moved ...
4697 * sysdeps/unix/sysv/linux/s390/s390-32/libnsl.abilist: ... here.
4698 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
4699 Moved ...
4700 * sysdeps/unix/sysv/linux/s390/s390-32/libpthread.abilist: ... here.
4701 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: Moved ...
4702 * sysdeps/unix/sysv/linux/s390/s390-32/libresolv.abilist: ... here.
4703 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Moved ...
4704 * sysdeps/unix/sysv/linux/s390/s390-32/librt.abilist: ... here.
4705 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
4706 Moved ...
4707 * sysdeps/unix/sysv/linux/s390/s390-32/libthread_db.abilist: ... here.
4708 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Moved ...
4709 * sysdeps/unix/sysv/linux/s390/s390-32/libutil.abilist: ... here.
4710 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data: Moved ...
4711 * sysdeps/unix/sysv/linux/s390/localplt.data: ... here.
4712 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
4713 Identical file removed.
4714 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data: Moved ...
4715 * sysdeps/unix/sysv/linux/s390/s390-64/c++-types.data: ... here.
4716 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Moved ...
4717 * sysdeps/unix/sysv/linux/s390/s390-64/ld.abilist: ... here.
4718 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
4719 Moved ...
4720 * sysdeps/unix/sysv/linux/s390/s390-64/libBrokenLocale.abilist:
4721 ... here.
4722 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Moved ...
4723 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: ... here.
4724 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: Moved ...
4725 * sysdeps/unix/sysv/linux/s390/s390-64/libcrypt.abilist: ... here.
4726 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: Moved ...
4727 * sysdeps/unix/sysv/linux/s390/s390-64/libdl.abilist: ... here.
4728 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Moved ...
4729 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: ... here.
4730 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: Moved ...
4731 * sysdeps/unix/sysv/linux/s390/s390-64/libnsl.abilist: ... here.
4732 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
4733 Moved ...
4734 * sysdeps/unix/sysv/linux/s390/s390-64/libpthread.abilist: ... here.
4735 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist:
4736 Moved ...
4737 * sysdeps/unix/sysv/linux/s390/s390-64/libresolv.abilist: ... here.
4738 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: Moved ...
4739 * sysdeps/unix/sysv/linux/s390/s390-64/librt.abilist: ... here.
4740 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
4741 Moved ...
4742 * sysdeps/unix/sysv/linux/s390/s390-64/libthread_db.abilist: ... here.
4743 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: Moved ...
4744 * sysdeps/unix/sysv/linux/s390/s390-64/libutil.abilist: ... here.
4745
52ae23b4
RM
4746 * nptl/sysdeps/unix/sysv/linux/s390/Makefile: File removed, contents
4747 folded into ...
4748 * sysdeps/unix/sysv/linux/s390/Makefile [$(subdir) = nptl]: ... here.
4749 * sysdeps/unix/sysv/linux/s390/Versions
4750 (libpthread: GLIBC_2.19): New version set.
4751 * nptl/sysdeps/unix/sysv/linux/s390/Versions: File removed.
4752 * sysdeps/unix/sysv/linux/s390/s390-64/Versions
4753 (librt: GLIBC_2.3.3): New version set.
4754 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/Versions: File removed.
4755 * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: Moved ...
4756 * sysdeps/unix/sysv/linux/s390/elision-conf.c: ... here.
4757 * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Moved ...
4758 * sysdeps/unix/sysv/linux/s390/elision-conf.h: ... here.
4759 * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Moved ...
4760 * sysdeps/unix/sysv/linux/s390/elision-lock.c: ... here.
4761 * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Moved ...
4762 * sysdeps/unix/sysv/linux/s390/elision-timed.c: ... here.
4763 * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Moved ...
4764 * sysdeps/unix/sysv/linux/s390/elision-trylock.c: ... here.
4765 * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Moved ...
4766 * sysdeps/unix/sysv/linux/s390/elision-unlock.c: ... here.
4767 * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Moved ...
4768 * sysdeps/unix/sysv/linux/s390/force-elision.h: ... here.
4769 * nptl/sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Moved ...
4770 * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: ... here.
4771 * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h: Moved ...
4772 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: ... here.
4773 * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: Moved ...
4774 * sysdeps/unix/sysv/linux/s390/pt-longjmp.c: ... here.
4775 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c: Moved ...
4776 * sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c: ... here.
4777 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c: Moved ...
4778 * sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c: ... here.
4779 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c: Moved ...
4780 * sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c: ... here.
4781 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c: Moved ...
4782 * sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c: ... here.
4783 * nptl/sysdeps/unix/sysv/linux/s390/pthread_once.c: Moved ...
4784 * sysdeps/unix/sysv/linux/s390/pthread_once.c: ... here.
4785 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Moved ...
4786 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: ... here.
4787 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Moved ...
4788 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: ... here.
4789 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Moved ...
4790 * sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: ... here.
4791 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Moved ...
4792 * sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: ... here.
4793 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Moved ...
4794 * sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: ... here.
4795 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Moved ...
4796 * sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: ... here.
4797 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Moved ...
4798 * sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: ... here.
4799
39507e4a
RM
4800 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Moved ...
4801 * sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: ... here.
4802 (__libc_vfork): Define the function under this name.
4803 [!NOT_IN_libc] (__vfork): Make this an alias.
4804 [!NOT_IN_libc] (vfork): Conditionalize the weak_alias.
4805 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Moved ...
4806 * sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: ... here.
4807 (__libc_vfork): Define the function under this name.
4808 [!NOT_IN_libc] (__vfork): Make this an alias.
4809 [!NOT_IN_libc] (vfork): Conditionalize the weak_alias.
4810 * sysdeps/unix/sysv/linux/s390/pt-vfork.S: New file.
4811 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/pt-vfork.S: File removed.
4812 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/pt-vfork.S: File removed.
4813 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Remove vfork.
4814 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
4815
e549ee56
RM
4816 * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Deconditionalize the
4817 code that was previously under [RESET_PID].
4818 * sysdeps/unix/sysv/linux/s390/s390-64/clone.S: Likewise.
4819 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/clone.S: File removed.
4820 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/clone.S: File removed.
4821
6ad2df0b
RM
4822 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h: Moved ...
4823 * sysdeps/aarch64/nptl/bits/pthreadtypes.h: ... here.
4824 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/semaphore.h: Moved ...
4825 * sysdeps/aarch64/nptl/bits/semaphore.h: ... here.
4826 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/local_lim.h: Moved ...
4827 * sysdeps/unix/sysv/linux/aarch64/bits/local_lim.h: ... here.
4828 * sysdeps/unix/sysv/linux/aarch64/nptl/c++-types.data: Moved ...
4829 * sysdeps/unix/sysv/linux/aarch64/c++-types.data: ... here.
4830 * sysdeps/unix/sysv/linux/aarch64/nptl/ld.abilist: Moved ...
4831 * sysdeps/unix/sysv/linux/aarch64/ld.abilist: ... here.
4832 * sysdeps/unix/sysv/linux/aarch64/nptl/libBrokenLocale.abilist:
4833 Moved ...
4834 * sysdeps/unix/sysv/linux/aarch64/libBrokenLocale.abilist: ... here.
4835 * sysdeps/unix/sysv/linux/aarch64/nptl/libanl.abilist: Moved ...
4836 * sysdeps/unix/sysv/linux/aarch64/libanl.abilist: ... here.
4837 * sysdeps/unix/sysv/linux/aarch64/nptl/libc.abilist: Moved ...
4838 * sysdeps/unix/sysv/linux/aarch64/libc.abilist: ... here.
4839 * sysdeps/unix/sysv/linux/aarch64/nptl/libcrypt.abilist: Moved ...
4840 * sysdeps/unix/sysv/linux/aarch64/libcrypt.abilist: ... here.
4841 * sysdeps/unix/sysv/linux/aarch64/nptl/libdl.abilist: Moved ...
4842 * sysdeps/unix/sysv/linux/aarch64/libdl.abilist: ... here.
4843 * sysdeps/unix/sysv/linux/aarch64/nptl/libm.abilist: Moved ...
4844 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: ... here.
4845 * sysdeps/unix/sysv/linux/aarch64/nptl/libnsl.abilist: Moved ...
4846 * sysdeps/unix/sysv/linux/aarch64/libnsl.abilist: ... here.
4847 * sysdeps/unix/sysv/linux/aarch64/nptl/libpthread.abilist: Moved ...
4848 * sysdeps/unix/sysv/linux/aarch64/libpthread.abilist: ... here.
4849 * sysdeps/unix/sysv/linux/aarch64/nptl/libresolv.abilist: Moved ...
4850 * sysdeps/unix/sysv/linux/aarch64/libresolv.abilist: ... here.
4851 * sysdeps/unix/sysv/linux/aarch64/nptl/librt.abilist: Moved ...
4852 * sysdeps/unix/sysv/linux/aarch64/librt.abilist: ... here.
4853 * sysdeps/unix/sysv/linux/aarch64/nptl/libthread_db.abilist: Moved ...
4854 * sysdeps/unix/sysv/linux/aarch64/libthread_db.abilist: ... here.
4855 * sysdeps/unix/sysv/linux/aarch64/nptl/libutil.abilist: Moved ...
4856 * sysdeps/unix/sysv/linux/aarch64/libutil.abilist: ... here.
4857 * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data: Moved ...
4858 * sysdeps/unix/sysv/linux/aarch64/localplt.data: ... here.
4859 * sysdeps/unix/sysv/linux/aarch64/nptl/lowlevellock.h: Moved ...
4860 * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: ... here.
4861 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Moved ...
4862 * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: ... here.
4863
7c1c1d8e
RM
48642014-06-25 Roland McGrath <roland@hack.frob.com>
4865
4866 * sysdeps/unix/sysv/linux/mips/clone.S: Deconditionalize the code
4867 that was previously under [RESET_PID].
4868 * sysdeps/unix/sysv/linux/mips/nptl/clone.S: File removed.
4869
3e239be6
JM
48702014-06-25 Joseph Myers <joseph@codesourcery.com>
4871
74385da5
JM
4872 * sysdeps/unix/sysv/linux/dl-opendir.c (__ASSUME_O_CLOEXEC): Do
4873 not undefine and redefine.
4874 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs)
4875 [O_CLOEXEC]: Make code unconditional.
4876 (__get_nprocs) [!O_CLOEXEC]: Remove conditional code.
4877 * sysdeps/unix/sysv/linux/shm_open.c: Do not include
4878 <kernel-features.h>.
4879 [O_CLOEXEC && !__ASSUME_O_CLOEXEC] (have_o_cloexec): Remove
4880 conditional variable definition.
4881 (shm_open) [O_CLOEXEC]: Make code unconditional.
4882 (shm_open) [!O_CLOEXEC || !__ASSUME_O_CLOEXEC]: Remove conditional
4883 code.
4884
c2570a0b
JM
4885 * configure.ac (USE_REGPARMS): Don't define here.
4886 * configure: Regenerated.
4887 * sysdeps/i386/configure.ac (USE_REGPARMS): Define here.
4888 * sysdeps/i386/configure: Regenerated.
4889
11b076bb
JM
4890 * nptl/createthread.c: Don't include kernel-features.h.
4891 * nptl/pthread_cancel.c: Likewise.
4892 * nptl/pthread_condattr_setclock.c: Likewise.
4893 * nptl/sysdeps/unix/sysv/linux/pt-raise.c: Likewise.
4894 * nptl/sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: Likewise.
4895 * nptl/sysdeps/unix/sysv/linux/pthread_kill.c: Likewise.
4896 * nptl/sysdeps/unix/sysv/linux/pthread_sigqueue.c: Likewise.
4897 * nptl/sysdeps/unix/sysv/linux/raise.c: Likewise.
4898 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/pt-vfork.S: Likewise.
4899 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Likewise.
4900 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/pt-vfork.S: Likewise.
4901 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Likewise.
4902 * nptl/sysdeps/unix/sysv/linux/timer_create.c: Likewise.
4903 * nptl/sysdeps/unix/sysv/linux/timer_delete.c: Likewise.
4904 * nptl/sysdeps/unix/sysv/linux/timer_getoverr.c: Likewise.
4905 * nptl/sysdeps/unix/sysv/linux/timer_gettime.c: Likewise.
4906 * nptl/sysdeps/unix/sysv/linux/timer_routines.c: Likewise.
4907 * nptl/sysdeps/unix/sysv/linux/timer_settime.c: Likewise.
4908 * nscd/gai.c: Likewise.
4909 * nss/nss_db/db-open.c: Likewise.
4910 * sysdeps/generic/ldsodefs.h: Likewise.
4911 * sysdeps/sh/nptl/tls.h: Likewise.
4912 * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Likewise.
4913 * sysdeps/unix/sysv/linux/aarch64/sigcontextinfo.h: Likewise.
4914 * sysdeps/unix/sysv/linux/aarch64/vfork.S: Likewise.
4915 * sysdeps/unix/sysv/linux/adjtime.c: Likewise.
4916 * sysdeps/unix/sysv/linux/alpha/xstatconv.h: Likewise.
4917 * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
4918 * sysdeps/unix/sysv/linux/arm/sigcontextinfo.h: Likewise.
4919 * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
4920 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
4921 * sysdeps/unix/sysv/linux/clock_getres.c: Likewise.
4922 * sysdeps/unix/sysv/linux/clock_gettime.c: Likewise.
4923 * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
4924 * sysdeps/unix/sysv/linux/clock_settime.c: Likewise.
4925 * sysdeps/unix/sysv/linux/dl-execstack.c: Likewise.
4926 * sysdeps/unix/sysv/linux/dl-osinfo.h: Likewise.
4927 * sysdeps/unix/sysv/linux/dl-sysdep.c: Likewise.
4928 * sysdeps/unix/sysv/linux/generic/futimesat.c: Likewise.
4929 * sysdeps/unix/sysv/linux/generic/poll.c: Likewise.
4930 * sysdeps/unix/sysv/linux/generic/wordsize-32/fcntl.c: Likewise.
4931 * sysdeps/unix/sysv/linux/generic/wordsize-32/fxstatat.c: Likewise.
4932 * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c: Likewise.
4933 * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c: Likewise.
4934 * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv.c: Likewise.
4935 * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv64.c: Likewise.
4936 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c: Likewise.
4937 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c: Likewise.
4938 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev.c: Likewise.
4939 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev64.c: Likewise.
4940 * sysdeps/unix/sysv/linux/getcwd.c: Likewise.
4941 * sysdeps/unix/sysv/linux/getpagesize.c: Likewise.
4942 * sysdeps/unix/sysv/linux/getsysstats.c: Likewise.
4943 * sysdeps/unix/sysv/linux/i386/fxstat.c: Likewise.
4944 * sysdeps/unix/sysv/linux/i386/lxstat.c: Likewise.
4945 * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
4946 * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
4947 * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
4948 * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
4949 * sysdeps/unix/sysv/linux/i386/xstat.c: Likewise.
4950 * sysdeps/unix/sysv/linux/ia64/system.c: Likewise.
4951 * sysdeps/unix/sysv/linux/if_index.c: Likewise.
4952 * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
4953 * sysdeps/unix/sysv/linux/ifreq.c: Likewise.
4954 * sysdeps/unix/sysv/linux/ldsodefs.h: Likewise.
4955 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
4956 * sysdeps/unix/sysv/linux/m68k/vfork.S: Likewise.
4957 * sysdeps/unix/sysv/linux/microblaze/nptl/vfork.S: Likewise.
4958 * sysdeps/unix/sysv/linux/mips/mips32/accept4.c: Likewise.
4959 * sysdeps/unix/sysv/linux/mips/mips32/recvmmsg.c: Likewise.
4960 * sysdeps/unix/sysv/linux/mips/mips32/sendmmsg.c: Likewise.
4961 * sysdeps/unix/sysv/linux/mips/pread.c: Likewise.
4962 * sysdeps/unix/sysv/linux/mips/pread64.c: Likewise.
4963 * sysdeps/unix/sysv/linux/mips/pwrite.c: Likewise.
4964 * sysdeps/unix/sysv/linux/mips/pwrite64.c: Likewise.
4965 * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
4966 * sysdeps/unix/sysv/linux/mmap64.c: Likewise.
4967 * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
4968 * sysdeps/unix/sysv/linux/powerpc/chown.c: Likewise.
4969 * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c: Likewise.
4970 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
4971 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c: Likewise.
4972 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c: Likewise.
4973 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Likewise.
4974 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Likewise.
4975 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Likewise.
4976 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Likewise.
4977 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Likewise.
4978 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
4979 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
4980 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Likewise.
4981 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c: Likewise.
4982 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c: Likewise.
4983 * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S: Likewise.
4984 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
4985 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
4986 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
4987 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
4988 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
4989 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S: Likewise.
4990 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S: Likewise.
4991 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Likewise.
4992 * sysdeps/unix/sysv/linux/pread.c: Likewise.
4993 * sysdeps/unix/sysv/linux/pread64.c: Likewise.
4994 * sysdeps/unix/sysv/linux/prof-freq.c: Likewise.
4995 * sysdeps/unix/sysv/linux/pwrite.c: Likewise.
4996 * sysdeps/unix/sysv/linux/pwrite64.c: Likewise.
4997 * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S: Likewise.
4998 * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S: Likewise.
4999 * sysdeps/unix/sysv/linux/s390/system.c: Likewise.
5000 * sysdeps/unix/sysv/linux/sh/pread.c: Likewise.
5001 * sysdeps/unix/sysv/linux/sh/pread64.c: Likewise.
5002 * sysdeps/unix/sysv/linux/sh/pwrite.c: Likewise.
5003 * sysdeps/unix/sysv/linux/sh/pwrite64.c: Likewise.
5004 * sysdeps/unix/sysv/linux/sigaction.c: Likewise.
5005 * sysdeps/unix/sysv/linux/sigpending.c: Likewise.
5006 * sysdeps/unix/sysv/linux/sigprocmask.c: Likewise.
5007 * sysdeps/unix/sysv/linux/sigsuspend.c: Likewise.
5008 * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
5009 * sysdeps/unix/sysv/linux/sparc/system.c: Likewise.
5010 * sysdeps/unix/sysv/linux/syslog.c: Likewise.
5011 * sysdeps/unix/sysv/linux/system.c: Likewise.
5012 * sysdeps/unix/sysv/linux/testrtsig.h: Likewise.
5013 * sysdeps/unix/sysv/linux/timespec_get.c: Likewise.
5014 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
5015 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
5016 * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
5017 * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
5018 * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
5019
92072d57
JM
5020 * configure.ac (libc_cv_c_asmcr0_bug): Remove configure test.
5021 * configure: Regenerated.
5022 * config.h.in (BROKEN_PPC_ASM_CR0): Remove macro.
5023
3e239be6
JM
5024 * configure.ac (base_machine): Do not set specially for particular
5025 machines here.
5026 * configure: Regenerated.
5027 * sysdeps/powerpc/preconfigure: Move machine and base_machine
5028 settings from configure.ac.
5029 * sysdeps/i386/preconfigure: New file.
5030 * sysdeps/s390/preconfigure: Likewise.
5031 * sysdeps/sh/preconfigure: Likewise.
5032 * sysdeps/sparc/preconfigure: Likewise.
5033
06d50baa
RM
50342014-06-25 Roland McGrath <roland@hack.frob.com>
5035
74836003
RM
5036 * sysdeps/sparc/sparc64/nptl/cpu_relax.S: Moved ...
5037 * sysdeps/sparc/sparc64/cpu_relax.S: ... here.
5038 * sysdeps/sparc/sparc64/nptl/pthread_spin_init.c: Moved ...
5039 * sysdeps/sparc/sparc64/pthread_spin_init.c: ... here.
5040 * sysdeps/sparc/sparc64/nptl/pthread_spin_lock.S: Moved ...
5041 * sysdeps/sparc/sparc64/pthread_spin_lock.S: ... here.
5042 * sysdeps/sparc/sparc64/nptl/pthread_spin_trylock.S: Moved ...
5043 * sysdeps/sparc/sparc64/pthread_spin_trylock.S: ... here.
5044 * sysdeps/sparc/sparc64/nptl/pthread_spin_unlock.S: Moved ...
5045 * sysdeps/sparc/sparc64/pthread_spin_unlock.S: ... here.
5046 * sysdeps/sparc/sparc64/nptl/pthreaddef.h: Moved ...
5047 * sysdeps/sparc/sparc64/pthreaddef.h: ... here.
5048 * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: Update #include.
5049 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: Likewise.
5050 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: Likewise.
5051 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: Likewise.
5052 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: Likewise.
5053 * sysdeps/sparc/sparc64/nptl/Makefile: File removed, its contents ...
5054 * sysdeps/sparc/sparc64/Makefile: ... appended here.
5055
5056 * sysdeps/sparc/sparc32/nptl/lowlevellock.c: Moved ...
5057 * sysdeps/sparc/sparc32/lowlevellock.c: ... here.
5058 * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: Moved ...
5059 * sysdeps/sparc/sparc32/pthread_barrier_wait.c: ... here.
5060 * sysdeps/sparc/sparc32/nptl/pthread_spin_lock.S: Moved ...
5061 * sysdeps/sparc/sparc32/pthread_spin_lock.S: ... here.
5062 * sysdeps/sparc/sparc32/nptl/pthread_spin_trylock.S: Moved ...
5063 * sysdeps/sparc/sparc32/pthread_spin_trylock.S: ... here.
5064 * sysdeps/sparc/sparc32/nptl/pthreaddef.h: Moved ...
5065 * sysdeps/sparc/sparc32/pthreaddef.h: ... here.
5066 * sysdeps/sparc/sparc32/nptl/sem_post.c: Moved ...
5067 * sysdeps/sparc/sparc32/sem_post.c: ... here.
5068 * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: Moved ...
5069 * sysdeps/sparc/sparc32/sem_timedwait.c: ... here.
5070 * sysdeps/sparc/sparc32/nptl/sem_trywait.c: Moved ...
5071 * sysdeps/sparc/sparc32/sem_trywait.c: ... here.
5072 * sysdeps/sparc/sparc32/nptl/sem_wait.c: Moved ...
5073 * sysdeps/sparc/sparc32/sem_wait.c: ... here.
5074 * sysdeps/sparc/sparc32/sparcv9/nptl/cpu_relax.S: Moved ...
5075 * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: ... here.
5076 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_barrier_wait.c: Moved ...
5077 * sysdeps/sparc/sparc32/sparcv9/pthread_barrier_wait.c: ... here.
5078 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_init.c: Moved ...
5079 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: ... here.
5080 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_lock.S: Moved ...
5081 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: ... here.
5082 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_trylock.S: Moved ...
5083 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: ... here.
5084 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: Moved ...
5085 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_unlock.S: ... here.
5086 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_post.c: Moved ...
5087 * sysdeps/sparc/sparc32/sparcv9/sem_post.c: ... here.
5088 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_timedwait.c: Moved ...
5089 * sysdeps/sparc/sparc32/sparcv9/sem_timedwait.c: ... here.
5090 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_trywait.c: Moved ...
5091 * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: ... here.
5092 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_wait.c: Moved ...
5093 * sysdeps/sparc/sparc32/sparcv9/sem_wait.c: ... here.
5094
06d50baa
RM
5095 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data: Moved ...
5096 * sysdeps/unix/sysv/linux/sparc/sparc32/c++-types.data: ... here.
5097 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: Moved ...
5098 * sysdeps/unix/sysv/linux/sparc/sparc32/ld.abilist: ... here.
5099 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
5100 Moved ...
5101 * sysdeps/unix/sysv/linux/sparc/sparc32/libBrokenLocale.abilist:
5102 ... here.
5103 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: Moved ...
5104 * sysdeps/unix/sysv/linux/sparc/sparc32/libanl.abilist: ... here.
5105 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Moved ...
5106 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: ... here.
5107 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist:
5108 Moved ...
5109 * sysdeps/unix/sysv/linux/sparc/sparc32/libcrypt.abilist: ... here.
5110 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: Moved ...
5111 * sysdeps/unix/sysv/linux/sparc/sparc32/libdl.abilist: ... here.
5112 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: Moved ...
5113 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: ... here.
5114 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: Moved ...
5115 * sysdeps/unix/sysv/linux/sparc/sparc32/libnsl.abilist: ... here.
5116 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
5117 Moved ...
5118 * sysdeps/unix/sysv/linux/sparc/sparc32/libpthread.abilist: ... here.
5119 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
5120 Moved ...
5121 * sysdeps/unix/sysv/linux/sparc/sparc32/libresolv.abilist: ... here.
5122 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: Moved ...
5123 * sysdeps/unix/sysv/linux/sparc/sparc32/librt.abilist: ... here.
5124 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
5125 Moved ...
5126 * sysdeps/unix/sysv/linux/sparc/sparc32/libthread_db.abilist: ... here.
5127 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: Moved ...
5128 * sysdeps/unix/sysv/linux/sparc/sparc32/libutil.abilist: ... here.
5129 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data: Moved ...
5130 * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: ... here.
5131 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data: Moved ...
5132 * sysdeps/unix/sysv/linux/sparc/sparc64/c++-types.data: ... here.
5133 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: Moved ...
5134 * sysdeps/unix/sysv/linux/sparc/sparc64/ld.abilist: ... here.
5135 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
5136 Moved ...
5137 * sysdeps/unix/sysv/linux/sparc/sparc64/libBrokenLocale.abilist:
5138 ... here.
5139 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: Moved ...
5140 * sysdeps/unix/sysv/linux/sparc/sparc64/libanl.abilist: ... here.
5141 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Moved ...
5142 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: ... here.
5143 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist:
5144 Moved ...
5145 * sysdeps/unix/sysv/linux/sparc/sparc64/libcrypt.abilist: ... here.
5146 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: Moved ...
5147 * sysdeps/unix/sysv/linux/sparc/sparc64/libdl.abilist: ... here.
5148 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: Moved ...
5149 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: ... here.
5150 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: Moved ...
5151 * sysdeps/unix/sysv/linux/sparc/sparc64/libnsl.abilist: ... here.
5152 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
5153 Moved ...
5154 * sysdeps/unix/sysv/linux/sparc/sparc64/libpthread.abilist: ... here.
5155 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
5156 Moved ...
5157 * sysdeps/unix/sysv/linux/sparc/sparc64/libresolv.abilist: ... here.
5158 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: Moved ...
5159 * sysdeps/unix/sysv/linux/sparc/sparc64/librt.abilist: ... here.
5160 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
5161 Moved ...
5162 * sysdeps/unix/sysv/linux/sparc/sparc64/libthread_db.abilist: ... here.
5163 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: Moved ...
5164 * sysdeps/unix/sysv/linux/sparc/sparc64/libutil.abilist: ... here.
5165 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data: Moved ...
5166 * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: ... here.
5167
a4ccbc9b
JM
51682014-06-25 Joseph Myers <joseph@codesourcery.com>
5169
0828edbf
JM
5170 * timezone/checktab.awk: Update from tzcode 2014e.
5171 * timezone/private.h: Likewise.
5172 * timezone/tzfile.h: Likewise.
5173 * timezone/zdump.c: Likewise.
5174 * timezone/zic.c: Likewise.
5175
a4ccbc9b
JM
5176 * sysdeps/unix/sysv/linux/kernel-features.h
5177 (__ASSUME_XFS_RESTRICTED_CHOWN): Remove macro.
5178 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_chown_restricted)
5179 [__ASSUME_XFS_RESTRICTED_CHOWN]: Make code unconditional.
5180 (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
5181 Remove conditional code.
5182
9aea0cb8
WN
51832014-06-25 Will Newton <will.newton@linaro.org>
5184
5185 * sysdeps/unix/sysv/linux/arm/dl-procinfo.c
5186 (_dl_arm_cap_flags): Add HWCAP2 values.
5187 * sysdeps/unix/sysv/linux/arm/dl-procinfo.h
5188 (_DL_HWCAP_COUNT): Increase to 37.
5189 (_DL_HWCAP_LAST): New define.
5190 (_DL_HWCAP2_LAST): New define.
5191 (_dl_procinfo): Add support for printing
5192 AT_HWCAP2 entries.
5193 (_dl_string_hwcap): Use _dl_hwcap_string.
5194
6eaa65ce
AZ
51952014-06-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5196
5197 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
5198
0f5b7185
JM
51992014-06-25 Joseph Myers <joseph@codesourcery.com>
5200
cfd2ea50
JM
5201 * README: Do not mention ports directory.
5202
cecf2ed4
JM
5203 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMENSAT):
5204 Remove macro.
5205 * sysdeps/unix/sysv/linux/futimes.c: Do not include
5206 <kernel-features.h>.
5207 [__NR_utimensat && !__ASSUME_UTIMENSAT] (miss_utimensat): Remove
5208 conditional variable definition.
5209 (__futimes): Update comment.
5210 (__futimes) [__ASSUME_UTIMENSAT]: Make code unconditional.
5211 (__futimes) [!__ASSUME_UTIMENSAT]: Remove conditional code.
5212
a638de82
JM
5213 [BZ #16560]
5214 * sysdeps/ieee754/dbl-64/e_exp10.c (__ieee754_exp10): Return 1 for
5215 arguments close to 0.
5216 * sysdeps/ieee754/ldbl-128/e_exp10l.c (__ieee754_exp10l):
5217 Likewise.
5218 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c (__ieee754_exp10l):
5219 Likewise.
5220 * math/auto-libm-test-in: Add more tests of exp10.
5221 * math/auto-libm-test-out: Regenerated.
5222 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
5223
0f5b7185
JM
5224 * sysdeps/unix/sysv/linux/kernel-features.h
5225 (__ASSUME_COMPLETE_READV_WRITEV): Remove macro.
5226 * sysdeps/unix/sysv/linux/readv.c: Do not include
5227 <kernel-features.h>.
5228 [!__ASSUME_COMPLETE_READV_WRITEV]: Remove conditional code.
5229 [!UIO_FASTIOV] (UIO_FASTIOV): Remove macro.
5230 (__libc_readv) [__ASSUME_COMPLETE_READV_WRITEV]: Make code
5231 unconditional.
5232 (__libc_readv) [!__ASSUME_COMPLETE_READV_WRITEV]: Remove
5233 conditional code.
5234 * sysdeps/unix/sysv/linux/writev.c: Do not include
5235 <kernel-features.h>.
5236 [!__ASSUME_COMPLETE_READV_WRITEV]: Remove conditional code.
5237 [!UIO_FASTIOV] (UIO_FASTIOV): Remove macro.
5238 (__libc_writev) [__ASSUME_COMPLETE_READV_WRITEV]: Make code
5239 unconditional.
5240 (__libc_writev) [!__ASSUME_COMPLETE_READV_WRITEV]: Remove
5241 conditional code.
5242
c7aec4be
WN
52432014-06-25 Will Newton <will.newton@linaro.org>
5244
5245 * sysdeps/posix/tempname.c: Merge from gnulib, cosmetic
5246 comment changes throughout the file. Remove checks
5247 for HAVE_*_H definitions that are not required.
5248 (__gen_tempname): Call abort if an unknown kind value is
5249 passed.
5250
c5241f95
AS
52512014-06-25 Andreas Schwab <schwab@suse.de>
5252
5253 [BZ #17086]
5254 * sysdeps/m68k/m680x0/fpu/s_scalbn.c: Add compat symbols for
5255 scalbln, scalblnf, scalblnl in libc.
5256
911422da
SP
52572014-06-25 Siddhesh Poyarekar <siddhesh@redhat.com>
5258
5259 [BZ #17086]
5260 * sysdeps/i386/fpu/s_scalbn.S: Add compat symbol for libc.so.
5261 * sysdeps/i386/fpu/s_scalbnf.S: Likewise.
5262 * sysdeps/i386/fpu/s_scalbnl.S: Likewise.
5263
0d749bbe
RM
52642014-06-24 Roland McGrath <roland@hack.frob.com>
5265
5266 * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: Moved ...
5267 * sysdeps/i386/i486/pthread_spin_trylock.S: ... here.
5268 * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: Moved ...
5269 * sysdeps/i386/i586/pthread_spin_trylock.S: ... here.
5270 Update #include.
5271 * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: Moved ...
5272 * sysdeps/i386/i686/pthread_spin_trylock.S: ... here.
5273 Update #include.
5274 * sysdeps/x86_64/64/nptl/shlib-versions: Moved ...
5275 * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: ... here.
5276 * sysdeps/x86_64/x32/nptl/shlib-versions: Moved ...
5277 * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: ... here.
5278 * sysdeps/x86/nptl/bits/pthreadtypes.h: Moved ...
5279 * sysdeps/x86/bits/pthreadtypes.h: ... here.
5280 * sysdeps/x86/nptl/bits/semaphore.h: Moved ...
5281 * sysdeps/x86/bits/semaphore.h: ... here.
5282 * sysdeps/x86/nptl/elide.h: Moved ...
5283 * sysdeps/x86/elide.h: ... here.
5284 * sysdeps/x86_64/nptl/Implies: File removed.
5285 * sysdeps/i386/nptl/Implies: File removed.
5286
0ea5d373
JM
52872014-06-24 Joseph Myers <joseph@codesourcery.com>
5288
4060283d
JM
5289 [BZ #16539]
5290 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Just
5291 return the argument for normal arguments with exponent below -64.
5292 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
5293 Likewise.
5294 * math/auto-libm-test-in: Add another test of expm1.
5295 * math/auto-libm-test-out: Regenerated.
5296
e7dd3c8c
JM
5297 [BZ #16287]
5298 * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfl): Return 1 without
5299 calling __erfcl for arguments at least 16.
5300 * math/auto-libm-test-in: Add more tests of erf.
5301 * math/auto-libm-test-out: Regenerated.
5302
0ea5d373
JM
5303 * sysdeps/unix/sysv/linux/configure.ac: Remove cases for
5304 individual architectures.
5305 * sysdeps/unix/sysv/linux/configure: Regenerated.
5306 * sysdeps/unix/sysv/linux/i386/configure.ac: New file.
5307 * sysdeps/unix/sysv/linux/i386/configure: New generated file.
5308 * sysdeps/unix/sysv/linux/powerpc/configure.ac
5309 (ldd_rewrite_script): Define variable.
5310 * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
5311 * sysdeps/unix/sysv/linux/powerpc/powerpc32/configure.ac: New
5312 file.
5313 * sysdeps/unix/sysv/linux/powerpc/powerpc32/configure: New
5314 generated file.
5315 * sysdeps/unix/sysv/linux/s390/configure.ac: New file.
5316 * sysdeps/unix/sysv/linux/s390/configure: New generated file.
5317 * sysdeps/unix/sysv/linux/sh/configure.ac: New file.
5318 * sysdeps/unix/sysv/linux/sh/configure: New generated file.
5319 * sysdeps/unix/sysv/linux/sparc/configure.ac: New file.
5320 * sysdeps/unix/sysv/linux/sparc/configure: New generated file.
5321 * sysdeps/unix/sysv/linux/x86_64/configure.ac: New file.
5322 * sysdeps/unix/sysv/linux/x86_64/configure: New generated file.
5323
2307e126
SP
53242014-06-24 Siddhesh Poyarekar <siddhesh@redhat.com>
5325
5326 [BZ #17084]
5327 * sysdeps/x86/nptl/bits/pthreadtypes.h (pthread_mutex_t):
5328 Rename member __data.d to __data.__elision_data.
5329
c0a4ed77
W
53302014-06-24 Wilco <wdijkstr@arm.com>
5331
5332 * NEWS: Add 16918 to fixed bug list.
5333
b8c00573
W
53342014-06-24 Wilco <wdijkstr@arm.com>
5335
5336 * sysdeps/arm/fesetenv.c (fesetenv): Optimize implementation.
5337
b5570d92
W
53382014-06-24 Wilco <wdijkstr@arm.com>
5339
5340 * sysdeps/arm/fpu_control.h (_FPU_MASK_RM): Define.
5341 * sysdeps/arm/fenv_private.h (libc_fesetround_vfp)
5342 (libc_feholdexcept_setround_vfp) (libc_feholdsetround_vfp)
5343 (libc_feresetround_vfp) (libc_feholdsetround_vfp_ctx)
5344 (libc_feresetround_vfp_ctx): Use _FPU_MASK_RM.
5345 * sysdeps/arm/fesetround.c (fesetround): Use _FPU_MASK_RM.
5346 * sysdeps/arm/get-rounding-mode.h (get_rounding_mode):
5347 Use _FPU_MASK_RM.
5348
947bdca2
W
53492014-06-24 Wilco <wdijkstr@arm.com>
5350
5351 * sysdeps/arm/fsetexcptflg.c (fesetexceptflag): Remove unused include.
5352
00f669ed
W
53532014-06-24 Wilco <wdijkstr@arm.com>
5354
5355 * sysdeps/arm/feholdexcpt.c (feholdexcept): Remove space.
5356 * sysdeps/arm/fesetenv.c (fesetenv): Remove space.
5357 * sysdeps/arm/fesetround.c (fesetround): Remove space.
5358 * sysdeps/arm/fraiseexcpt.c (feraiseexcept): Remove space.
5359
db59bad3
W
53602014-06-24 Wilco <wdijkstr@arm.com>
5361
5362 [BZ #16918]
5363 * sysdeps/arm/feupdateenv.c (feupdateenv):
5364 Rewrite to reduce FPSCR accesses and fix return value.
5365
001f7b77
W
53662014-06-24 Wilco <wdijkstr@arm.com>
5367
5368 * sysdeps/arm/fclrexcpt.c (feclearexcept):
5369 Optimize to avoid unnecessary FPSCR writes.
5370 * sysdeps/arm/fedisblxcpt.c (fedisableexcept): Likewise.
5371 * sysdeps/arm/feenablxcpt.c (feenableexcept): Likewise.
5372 * sysdeps/arm/fsetexcptflg.c (fesetexceptflag): Likewise.
5373 * sysdeps/arm/setfpucw.c (__setfpucw): Likewise.
5374
4841e6a6
W
53752014-06-24 Wilco <wdijkstr@arm.com>
5376
5377 * sysdeps/arm/fegetround.c (fegetround): Call get_rounding_mode.
5378 * sysdeps/arm/feholdexcpt.c (feholdexcept): Call libc_feholdexcept_vfp.
5379 * sysdeps/arm/fesetround.c (fesetround): Call libc_fesetround_vfp.
5380 * sysdeps/arm/fgetexcptflg.c (fegetexceptflag):
5381 Call libc_fetestexcept_vfp.
5382 * sysdeps/arm/ftestexcept.c (fetestexcept): Call libc_fetestexcept_vfp.
5383 * sysdeps/arm/fenv_private.h: Move libc_*_vfp functions outside of
5384 __SOFTFP__ ifdef so that they can be built for softfp.
5385
0813022c
SP
53862014-06-24 Siddhesh Poyarekar <siddhesh@redhat.com>
5387
08e5862f
SP
5388 * sysdeps/x86/nptl/elide.h (elision_adapt): Make first
5389 argument type signed char.
5390
0813022c
SP
5391 * Makerules (check-abi): Dump diff of symlist if the test
5392 fails.
5393
3fc7236a
RM
53942014-06-23 Roland McGrath <roland@hack.frob.com>
5395
aba8ef95
RM
5396 * sysdeps/generic/get-rounding-mode.h: Include <stdlib.h> before
5397 using abort.
5398
3fc7236a
RM
5399 * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
5400 Remove unused variable ST.
5401
4da6db51
JM
54022014-06-23 Joseph Myers <joseph@codesourcery.com>
5403
4648909d
JM
5404 [BZ #16354]
5405 [BZ #17061]
5406 * sysdeps/ieee754/dbl-64/e_cosh.c (__ieee754_cosh): Check for
5407 small arguments before calling __expm1.
5408 * sysdeps/ieee754/flt-32/e_coshf.c (__ieee754_coshf): Check for
5409 small arguments before calling __expm1f.
5410 * sysdeps/ieee754/ldbl-128/e_coshl.c (__ieee754_coshl): Check for
5411 small arguments before calling __expm1l.
5412 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
5413 Likewise.
5414 * sysdeps/ieee754/ldbl-96/e_coshl.c (__ieee754_coshl): Likewise.
5415 * math/auto-libm-test-in: Add more cosh tests. Do not allow
5416 spurious underflow for some cosh tests.
5417 * math/auto-libm-test-out: Regenerated.
5418 * sysdeps/i386/fpu/libm-test-ulps: Update.
5419
46a3d3c7
JM
5420 [BZ #17050]
5421 * sysdeps/ieee754/dbl-64/e_j1.c: Include <errno.h>.
5422 (__ieee754_y1): Set errno if return value overflows.
5423 * sysdeps/ieee754/flt-32/e_j1f.c: Include <errno.h>.
5424 (__ieee754_y1f): Set errno if return value overflows.
5425 * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <errno.h>.
5426 (__ieee754_y1l): Set errno if return value overflows.
5427 * sysdeps/ieee754/ldbl-96/e_j1l.c: Include <errno.h>.
5428 (__ieee754_y1l): Set errno if return value overflows.
5429 * math/auto-libm-test-in: Add more tests of y0, y1 and yn.
5430 * math/auto-libm-test-out: Regenerated.
5431
863893ec
JM
5432 * math/gen-auto-libm-tests.c: Document use of
5433 ignore-zero-inf-sign.
5434 (input_flag_type): Add value flag_ignore_zero_inf_sign.
5435 (input_flags): Add ignore-zero-inf-sign.
5436 (output_for_one_input_case): Handle flag_ignore_zero_inf_sign.
5437 * math/gen-libm-test.pl (generate_testfile): Handle
5438 ignore-zero-inf-sign.
5439 * math/auto-libm-test-in: Mark some cpow tests with
5440 ignore-zero-inf-sign and some with xfail-rounding.
5441 * math/auto-libm-test-out: Regenerated.
5442 * math/libm-test.inc (cpow_test): Use ALL_RM_TEST.
5443 * sysdeps/i386/fpu/libm-test-ulps: Update.
5444 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5445
4da6db51
JM
5446 [BZ #16315]
5447 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Ensure possibly
5448 overflowing or underflowing operations take place with sign of
5449 result.
5450 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
5451 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
5452 * sysdeps/ieee754/dbl-64/e_pow.c: Include <math.h>.
5453 (__ieee754_pow): Recompute overflowing and underflowing results in
5454 original rounding mode.
5455 * sysdeps/x86/fpu/powl_helper.c: Include <stdbool.h>.
5456 (__powl_helper): Allow negative argument X and scale negated value
5457 as needed. Avoid passing value outside [-1, 1] to f2xm1.
5458 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Ensure possibly
5459 overflowing or underflowing operations take place with sign of
5460 result.
5461 * sysdeps/x86_64/fpu/multiarch/e_pow.c [HAVE_FMA4_SUPPORT]:
5462 Include <math.h>.
5463 * math/auto-libm-test-in: Add more tests of pow.
5464 * math/auto-libm-test-out: Regenerated.
5465 * math/libm-test.inc (pow_test): Use ALL_RM_TEST.
5466 (pow_tonearest_test_data): Remove.
5467 (pow_test_tonearest): Likewise.
5468 (pow_towardzero_test_data): Likewise.
5469 (pow_test_towardzero): Likewise.
5470 (pow_downward_test_data): Likewise.
5471 (pow_test_downward): Likewise.
5472 (pow_upward_test_data): Likewise.
5473 (pow_test_upward): Likewise.
5474 (main): Don't call removed functions.
5475 * sysdeps/i386/fpu/libm-test-ulps: Update.
5476 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5477
5686b236
RM
54782014-06-23 Roland McGrath <roland@hack.frob.com>
5479
5480 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/c++-types.data:
5481 Moved ...
5482 * sysdeps/unix/sysv/linux/powerpc/powerpc32/c++-types.data: ... here.
5483 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
5484 Moved ...
5485 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist: ... here.
5486 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
5487 Moved ...
5488 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: ... here.
5489 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
5490 Moved ...
5491 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data: ... here.
5492 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
5493 File removed.
5494 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
5495 File removed.
5496 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libBrokenLocale.abilist:
5497 File removed.
5498 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libanl.abilist:
5499 File removed.
5500 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libcrypt.abilist:
5501 File removed.
5502 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libdl.abilist:
5503 File removed.
5504 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libnsl.abilist:
5505 File removed.
5506 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
5507 File removed.
5508 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libresolv.abilist:
5509 File removed.
5510 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
5511 File removed.
5512 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libthread_db.abilist:
5513 File removed.
5514 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libutil.abilist:
5515 File removed.
5516 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/ld.abilist:
5517 Moved ...
5518 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist: ... here.
5519 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libBrokenLocale.abilist:
5520 Moved ...
5521 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libBrokenLocale.abilist:
5522 ... here.
5523 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libanl.abilist:
5524 Moved ...
5525 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libanl.abilist: ... here.
5526 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libcrypt.abilist:
5527 Moved ...
5528 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libcrypt.abilist: ... here.
5529 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libdl.abilist:
5530 Moved ...
5531 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libdl.abilist: ... here.
5532 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libnsl.abilist:
5533 Moved ...
5534 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libnsl.abilist: ... here.
5535 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libpthread.abilist:
5536 Moved ...
5537 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libpthread.abilist: ... here.
5538 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libresolv.abilist:
5539 Moved ...
5540 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libresolv.abilist: ... here.
5541 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/librt.abilist:
5542 Moved ...
5543 * sysdeps/unix/sysv/linux/powerpc/powerpc32/librt.abilist: ... here.
5544 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libthread_db.abilist: Moved ...
5545 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libthread_db.abilist:
5546 ... here.
5547 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libutil.abilist:
5548 Moved ...
5549 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libutil.abilist: ... here.
5550 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
5551 Moved ...
5552 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
5553 ... here.
5554 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libm.abilist:
5555 Moved ...
5556 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
5557 ... here.
5558 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
5559 Moved ...
5560 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data:
5561 ... here.
5562 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
5563 Moved ...
5564 * sysdeps/unix/sysv/linux/powerpc/powerpc64/c++-types.data: ... here.
5565 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
5566 Moved ...
5567 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist: ... here.
5568 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: Moved ...
5569 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist: ... here.
5570 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
5571 Moved ...
5572 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale-le.abilist:
5573 ... here.
5574 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
5575 Moved ...
5576 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale.abilist:
5577 ... here.
5578 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
5579 Moved ...
5580 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl-le.abilist: ... here.
5581 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
5582 Moved ...
5583 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl.abilist: ... here.
5584 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
5585 Moved ...
5586 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: ... here.
5587 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
5588 Moved ...
5589 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: ... here.
5590 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
5591 Moved ...
5592 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt-le.abilist:
5593 ... here.
5594 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
5595 Moved ...
5596 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt.abilist: ... here.
5597 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
5598 Moved ...
5599 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl-le.abilist: ... here.
5600 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
5601 Moved ...
5602 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl.abilist: ... here.
5603 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
5604 Moved ...
5605 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: ... here.
5606 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: Moved ...
5607 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: ... here.
5608 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
5609 Moved ...
5610 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl-le.abilist: ... here.
5611 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
5612 Moved ...
5613 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl.abilist: ... here.
5614 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
5615 Moved ...
5616 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread-le.abilist:
5617 ... here.
5618 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
5619 Moved ...
5620 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread.abilist:
5621 ... here.
5622 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
5623 Moved ...
5624 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv-le.abilist:
5625 ... here.
5626 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
5627 Moved ...
5628 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv.abilist: ... here.
5629 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
5630 Moved ...
5631 * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt-le.abilist: ... here.
5632 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
5633 Moved ...
5634 * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt.abilist: ... here.
5635 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
5636 Moved ...
5637 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db-le.abilist:
5638 ... here.
5639 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
5640 Moved ...
5641 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db.abilist:
5642 ... here.
5643 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
5644 Moved ...
5645 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil-le.abilist:
5646 ... here.
5647 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
5648 Moved ...
5649 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil.abilist: ... here.
5650 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
5651 Moved ...
5652 * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data: ... here.
5653
e6d90d67
WD
56542014-06-23 Will Newton <will.newton@linaro.org>
5655 Wilco <wdijkstr@arm.com>
5656
5657 * sysdeps/generic/math_private.h: Add generic HAVE_RM_CTX
5658 implementation. Include get-rounding-mode.h.
5659 [!HAVE_RM_CTX]: Define HAVE_RM_CTX to zero.
5660 [!libc_feholdsetround_noex_ctx]: Define
5661 libc_feholdsetround_noex_ctx.
5662 [!libc_feholdsetround_noexf_ctx]: Define
5663 libc_feholdsetround_noexf_ctx.
5664 [!libc_feholdsetround_noexl_ctx]: Define
5665 libc_feholdsetround_noexl_ctx.
5666 (libc_feholdsetround_ctx): New function.
5667 (libc_feresetround_ctx): New function.
5668 (libc_feholdsetround_noex_ctx): New function.
5669 (libc_feresetround_noex_ctx): New function.
5670
d42df555
RM
56712014-06-23 Roland McGrath <roland@hack.frob.com>
5672
88a46474
RM
5673 * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h: Moved ...
5674 * sysdeps/mips/nptl/bits/pthreadtypes.h: ... here.
5675 * sysdeps/unix/sysv/linux/mips/nptl/bits/semaphore.h: Moved ...
5676 * sysdeps/mips/nptl/bits/semaphore.h: ... here.
5677 * sysdeps/unix/sysv/linux/mips/nptl/bits/local_lim.h: Moved ...
5678 * sysdeps/unix/sysv/linux/mips/bits/local_lim.h: ... here.
5679
15bed472
RM
5680 * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h: Moved ...
5681 * sysdeps/m68k/nptl/bits/pthreadtypes.h: ... here.
5682 * sysdeps/unix/sysv/linux/m68k/nptl/bits/semaphore.h: Moved ...
5683 * sysdeps/m68k/nptl/bits/semaphore.h: ... here.
5684 * sysdeps/unix/sysv/linux/m68k/nptl/c++-types.data: Moved ...
5685 * sysdeps/unix/sysv/linux/m68k/c++-types.data: ... here.
5686 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/bits/atomic.h: Moved ...
5687 * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h: ... here.
5688 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/ld.abilist: Moved ...
5689 * sysdeps/unix/sysv/linux/m68k/coldfire/ld.abilist: ... here.
5690 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libBrokenLocale.abilist:
5691 Moved ...
5692 * sysdeps/unix/sysv/linux/m68k/coldfire/libBrokenLocale.abilist:
5693 ... here.
5694 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libanl.abilist: Moved ...
5695 * sysdeps/unix/sysv/linux/m68k/coldfire/libanl.abilist: ... here.
5696 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libc.abilist: Moved ...
5697 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: ... here.
5698 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libcrypt.abilist:
5699 Moved ...
5700 * sysdeps/unix/sysv/linux/m68k/coldfire/libcrypt.abilist: ... here.
5701 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libdl.abilist: Moved ...
5702 * sysdeps/unix/sysv/linux/m68k/coldfire/libdl.abilist: ... here.
5703 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libm.abilist: Moved ...
5704 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: ... here.
5705 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libnsl.abilist: Moved ...
5706 * sysdeps/unix/sysv/linux/m68k/coldfire/libnsl.abilist: ... here.
5707 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libpthread.abilist:
5708 Moved ...
5709 * sysdeps/unix/sysv/linux/m68k/coldfire/libpthread.abilist: ... here.
5710 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libresolv.abilist:
5711 Moved ...
5712 * sysdeps/unix/sysv/linux/m68k/coldfire/libresolv.abilist: ... here.
5713 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/librt.abilist: Moved ...
5714 * sysdeps/unix/sysv/linux/m68k/coldfire/librt.abilist: ... here.
5715 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libthread_db.abilist:
5716 Moved ...
5717 * sysdeps/unix/sysv/linux/m68k/coldfire/libthread_db.abilist: ... here.
5718 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libutil.abilist: Moved ...
5719 * sysdeps/unix/sysv/linux/m68k/coldfire/libutil.abilist: ... here.
5720 * sysdeps/unix/sysv/linux/m68k/nptl/localplt.data: Moved ...
5721 * sysdeps/unix/sysv/linux/m68k/localplt.data: ... here.
5722 * sysdeps/unix/sysv/linux/m68k/nptl/lowlevellock.h: Moved ...
5723 * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: ... here.
5724 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/ld.abilist: Moved ...
5725 * sysdeps/unix/sysv/linux/m68k/m680x0/ld.abilist: ... here.
5726 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libBrokenLocale.abilist:
5727 Moved ...
5728 * sysdeps/unix/sysv/linux/m68k/m680x0/libBrokenLocale.abilist:
5729 ... here.
5730 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libanl.abilist: Moved ...
5731 * sysdeps/unix/sysv/linux/m68k/m680x0/libanl.abilist: ... here.
5732 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libc.abilist: Moved ...
5733 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: ... here.
5734 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libcrypt.abilist: Moved ...
5735 * sysdeps/unix/sysv/linux/m68k/m680x0/libcrypt.abilist: ... here.
5736 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libdl.abilist: Moved ...
5737 * sysdeps/unix/sysv/linux/m68k/m680x0/libdl.abilist: ... here.
5738 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libm.abilist: Moved ...
5739 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: ... here.
5740 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libnsl.abilist: Moved ...
5741 * sysdeps/unix/sysv/linux/m68k/m680x0/libnsl.abilist: ... here.
5742 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libpthread.abilist:
5743 Moved ...
5744 * sysdeps/unix/sysv/linux/m68k/m680x0/libpthread.abilist: ... here.
5745 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libresolv.abilist: Moved ...
5746 * sysdeps/unix/sysv/linux/m68k/m680x0/libresolv.abilist: ... here.
5747 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/librt.abilist: Moved ...
5748 * sysdeps/unix/sysv/linux/m68k/m680x0/librt.abilist: ... here.
5749 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libthread_db.abilist:
5750 Moved ...
5751 * sysdeps/unix/sysv/linux/m68k/m680x0/libthread_db.abilist: ... here.
5752 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libutil.abilist: Moved ...
5753 * sysdeps/unix/sysv/linux/m68k/m680x0/libutil.abilist: ... here.
5754 * sysdeps/unix/sysv/linux/m68k/nptl/sysdep-cancel.h: Moved ...
5755 * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: ... here.
5756
d42df555
RM
5757 * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: Moved ...
5758 * sysdeps/unix/sysv/linux/sh/c++-types.data: ... here.
5759 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: Moved ...
5760 * sysdeps/unix/sysv/linux/sh/ld.abilist: ... here.
5761 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: Moved ...
5762 * sysdeps/unix/sysv/linux/sh/libBrokenLocale.abilist: ... here.
5763 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: Moved ...
5764 * sysdeps/unix/sysv/linux/sh/libanl.abilist: ... here.
5765 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Moved ...
5766 * sysdeps/unix/sysv/linux/sh/libc.abilist: ... here.
5767 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: Moved ...
5768 * sysdeps/unix/sysv/linux/sh/libcrypt.abilist: ... here.
5769 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: Moved ...
5770 * sysdeps/unix/sysv/linux/sh/libdl.abilist: ... here.
5771 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Moved ...
5772 * sysdeps/unix/sysv/linux/sh/libm.abilist: ... here.
5773 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: Moved ...
5774 * sysdeps/unix/sysv/linux/sh/libnsl.abilist: ... here.
5775 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: Moved ...
5776 * sysdeps/unix/sysv/linux/sh/libpthread.abilist: ... here.
5777 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: Moved ...
5778 * sysdeps/unix/sysv/linux/sh/libresolv.abilist: ... here.
5779 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Moved ...
5780 * sysdeps/unix/sysv/linux/sh/librt.abilist: ... here.
5781 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: Moved ...
5782 * sysdeps/unix/sysv/linux/sh/libthread_db.abilist: ... here.
5783 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: Moved ...
5784 * sysdeps/unix/sysv/linux/sh/libutil.abilist: ... here.
5785
76e5216e
JM
57862014-06-23 Joseph Myers <joseph@codesourcery.com>
5787
5788 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_GNU]
5789 (FALLOC_FL_COLLAPSE_RANGE): New macro.
5790 [__USE_GNU] (FALLOC_FL_ZERO_RANGE): Likewise.
5791 * sysdeps/unix/sysv/linux/bits/in.h (IP_PMTUDISC_OMIT): Likewise.
5792 (IPV6_PMTUDISC_INTERFACE): Likewise.
5793 (IPV6_PMTUDISC_OMIT): Likewise.
5794
7a81cbcc
AS
57952014-06-23 Andreas Schwab <schwab@suse.de>
5796
5797 * nptl/sysdeps/unix/sysv/linux/mq_notify.c (init_mq_netlink):
5798 Remove unused errout label.
5799
db224009
AZ
58002014-06-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5801
5802 * sysdeps/powerpc/bits/hwcap.h [PPC_FEATURE2_HAS_VEC_CRYPTO]: New
5803 macro: hardware supports Vector Crypto instructions.
5804
f393b4aa
WN
58052014-06-23 Will Newton <will.newton@linaro.org>
5806
cc7d0447
WN
5807 * elf/dl-lookup.c: Use __glibc_unlikely and __glibc_likely
5808 rather than __builtin_expect.
5809
d6d06225
WN
5810 * elf/dl-lookup.c (undefined_msg): Remove variable.
5811 (_dl_lookup_symbol_x): Replace undefined_msg with string
5812 literal.
5813
f393b4aa
WN
5814 * elf/dl-lookup.c (do_lookup_unique): New function.
5815 (do_lookup_x): Move STB_GNU_UNIQUE handling code
5816 to a separate function.
5817
ac60763e
AS
58182014-06-23 Andreas Schwab <schwab@suse.de>
5819
5820 [BZ #17079]
5821 * nss/nss_files/files-XXX.c (get_contents): Store overflow marker
5822 before reading the next line.
5823
c5c13355
WN
58242014-06-23 Will Newton <will.newton@linaro.org>
5825
5826 * test-skeleton.c (signal_handler): Use printf and %m
5827 rather than perror. Use printf rather than fprintf to
5828 stderr. Use puts rather than fputs to stderr.
5829 (main): Likewise.
5830
bd3675f9
LC
58312014-06-22 Ludovic Courtès <ludo@gnu.org>
5832
5833 * nscd/nscd.c (thread_info_t): Remove typedef.
5834 (thread_info): Remove variable.
5835
d03efb2f
AM
58362014-06-21 Allan McRae <allan@archlinux.org>
5837
5838 * NEWS: Mention CVE-2014-4043.
5839
bc4a86fa
RM
58402014-06-20 Roland McGrath <roland@hack.frob.com>
5841
dc9a54f8
RM
5842 * nptl/sysdeps/unix/sysv/linux/smp.h: Moved ...
5843 * nptl/smp.h: ... here.
5844
bd7022c4
RM
5845 * nptl/sysdeps/unix/sysv/linux/rtld-lowlevel.h: File removed.
5846
26ffd5e6
RM
5847 * include/libc-symbols.h (HAVE_CONFIG_H, STDC_HEADERS): New macros.
5848 * catgets/Makefile (catgets-CPPFLAGS): Remove -DHAVE_CONFIG_H.
5849 * locale/Makefile (CPPFLAGS-locale-programs): Likewise.
5850 * stdlib/strtol_l.c [_LIBC] (STDC_HEADERS): Don't define it.
5851
93a6d082
RM
5852 * nptl/allocatestack.c: Include <stack-aliasing.h>.
5853 * nptl/stack-aliasing.h: New file.
5854 * sysdeps/i386/i686/stack-aliasing.h: New file.
5855 * sysdeps/i386/i686/nptl/Makefile: File removed.
5856 * sysdeps/x86_64/stack-aliasing.h: New file.
5857 * sysdeps/x86_64/nptl/Makefile
5858 (CFLAGS-pthread_create.c): Variable removed.
5859
bc4a86fa
RM
5860 * nptl/sysdeps/unix/sysv/linux/bits/local_lim.h: Moved ...
5861 * sysdeps/unix/sysv/linux/bits/local_lim.h: ... here, replacing the
5862 old file.
5863 * nptl/sysdeps/unix/sysv/linux/bits/posix_opt.h: Moved ...
5864 * sysdeps/unix/sysv/linux/bits/posix_opt.h: ... here, replacing the
5865 old file.
5866
2272ffc1
JM
58672014-06-21 Joseph Myers <joseph@codesourcery.com>
5868
5869 * sysdeps/unix/sysv/linux/arm/kernel-features.h
5870 (__ASSUME_SIGFRAME_V2): Remove macro.
5871 * sysdeps/unix/sysv/linux/arm/sigrestorer.S: Update comment.
5872 [!__ASSUME_SIGFRAME_V2]: Remove conditional code.
5873 (__default_sa_restorer_v2): Rename to __default_sa_restorer.
5874 (__default_rt_sa_restorer_v2): Rename to __default_rt_sa_restorer.
5875 * sysdeps/unix/sysv/linux/arm/sigaction.c (__default_sa_restorer):
5876 Declare as function. Remove conditional macro definitions.
5877 (__default_rt_sa_restorer): Likewise.
5878 (__default_sa_restorer_v1): Remove declaration.
5879 (__default_sa_restorer_v2): Likewise.
5880 (__default_rt_sa_restorer_v1): Likewise.
5881 (__default_rt_sa_restorer_v2): Likewise.
5882 * sysdeps/unix/sysv/linux/arm/Versions (GLIBC_PRIVATE): Remove
5883 __default_sa_restorer_v1, __default_rt_sa_restorer_v1,
5884 __default_sa_restorer_v2 and __default_rt_sa_restorer_v2.
5885
4b88139b
RM
58862014-06-20 Roland McGrath <roland@hack.frob.com>
5887
5888 * sysdeps/unix/sysv/linux/sparc/Makefile [$(subdir) = nptl]
5889 (libpthread-routines): Add sysdep.
5890 * nptl/sysdeps/unix/sysv/linux/sparc/Makefile: File removed.
5891 * sysdeps/unix/sysv/linux/sparc/Versions
5892 (libpthread: GLIBC_2.3.3): New version set.
5893 * nptl/sysdeps/unix/sysv/linux/sparc/Versions: File removed.
5894 * nptl/sysdeps/unix/sysv/linux/sparc/aio_cancel.c: Moved ...
5895 * sysdeps/unix/sysv/linux/sparc/aio_cancel.c: ... here.
5896 * nptl/sysdeps/unix/sysv/linux/sparc/internaltypes.h: Moved ...
5897 * sysdeps/sparc/nptl/internaltypes.h: ... here. Use #include_next.
5898 * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_destroy.c:
5899 Moved ...
5900 * sysdeps/sparc/nptl/pthread_barrier_destroy.c: ... here.
5901 * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_init.c: Moved ...
5902 * sysdeps/sparc/nptl/pthread_barrier_init.c: ... here.
5903 * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_wait.c: Moved ...
5904 * sysdeps/sparc/nptl/pthread_barrier_wait.c: ... here.
5905 * nptl/sysdeps/unix/sysv/linux/sparc/sem_init.c: Moved ...
5906 * sysdeps/sparc/nptl/sem_init.c: ... here.
5907 * nptl/sysdeps/unix/sysv/linux/sparc/sem_post.c: Moved ...
5908 * sysdeps/sparc/nptl/sem_post.c: ... here.
5909 * nptl/sysdeps/unix/sysv/linux/sparc/sem_timedwait.c: Moved ...
5910 * sysdeps/sparc/nptl/sem_timedwait.c: ... here.
5911 * nptl/sysdeps/unix/sysv/linux/sparc/sem_wait.c: Moved ...
5912 * sysdeps/sparc/nptl/sem_wait.c: ... here.
5913 * nptl/sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Moved ...
5914 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: ... here.
5915 * sysdeps/sparc/sparc32/sparcv9/Makefile [$(subdir) = nptl]
5916 (libpthread-routines): Add cpu_relax.
5917 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/Makefile:
5918 File removed.
5919 * sysdeps/unix/sysv/linux/sparc/sparc64/Versions
5920 (librt: GLIBC_2.3.3): New version set.
5921 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Versions: File removed.
5922 * sysdeps/sparc/sparc64/nptl/Makefile: New file.
5923 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile [$(subdir) = nptl]
5924 (CFLAGS-pause.c, CFLAGS-sigsuspend.c): New variables.
5925 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Makefile: File removed.
5926 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/lowlevellock.c: Moved ...
5927 * sysdeps/sparc/sparc32/nptl/lowlevellock.c: ... here.
5928 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pthread_barrier_wait.c:
5929 Moved ...
5930 * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: ... here.
5931 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_post.c: Moved ...
5932 * sysdeps/sparc/sparc32/nptl/sem_post.c: ... here.
5933 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_timedwait.c: Moved ...
5934 * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: ... here.
5935 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_trywait.c: Moved ...
5936 * sysdeps/sparc/sparc32/nptl/sem_trywait.c: ... here.
5937 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_wait.c: Moved ...
5938 * sysdeps/sparc/sparc32/nptl/sem_wait.c: ... here.
5939 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/cpu_relax.S:
5940 Moved ...
5941 * sysdeps/sparc/sparc32/sparcv9/nptl/cpu_relax.S: ... here.
5942 Update #include.
5943 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/pthread_barrier_wait.c:
5944 Moved ...
5945 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_barrier_wait.c: ... here.
5946 Update #include.
5947 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_post.c:
5948 Moved ...
5949 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_post.c: ... here.
5950 Update #include.
5951 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_timedwait.c:
5952 Moved ...
5953 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_timedwait.c: ... here.
5954 Update #include.
5955 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_trywait.c:
5956 Moved ...
5957 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_trywait.c: ... here.
5958 Update #include.
5959 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_wait.c:
5960 Moved ...
5961 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_wait.c: ... here.
5962 Update #include.
5963 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/cpu_relax.S: Moved ...
5964 * sysdeps/sparc/sparc64/nptl/cpu_relax.S: ... here.
5965 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Moved ...
5966 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: ... here.
5967 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Moved ...
5968 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: ... here.
5969 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: Moved ...
5970 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: ... here.
5971 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: Moved ...
5972 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: ... here.
5973 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
5974 Moved ...
5975 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c: ... here.
5976 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: Moved ...
5977 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: ... here.
5978 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: Moved ...
5979 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: ... here.
5980
d7109027
JM
59812014-06-20 Joseph Myers <joseph@codesourcery.com>
5982
9bc6103d
JM
5983 * nptl/pthread_cond_wait.c: Include <kernel-features.h>.
5984 * nptl/pthread_rwlock_timedrdlock.c: Likewise.
5985 * nptl/pthread_rwlock_timedwrlock.c: Likewise.
5986 * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.c: Likewise.
5987 * nscd/nscd.c: Likewise.
5988 * sysdeps/i386/nptl/tcb-offsets.sym: Likewise.
5989 * sysdeps/powerpc/nptl/tcb-offsets.sym: Likewise.
5990 * sysdeps/sh/nptl/tcb-offsets.sym: Likewise.
5991 * sysdeps/x86_64/nptl/tcb-offsets.sym: Likewise.
5992
d7109027
JM
5993 * nptl/sysdeps/unix/sysv/linux/mq_notify.c: Do not include
5994 <kernel-features.h>.
5995 (init_mq_netlink): Remove conditional have_sock_cloexec
5996 definitions. Remove code conditional on have_sock_cloexec < 0.
5997 (init_mq_netlink) [!SOCK_CLOEXEC]: Remove conditional code.
5998 (init_mq_netlink) [!__ASSUME_SOCK_CLOEXEC]: Likewise.
5999 * sysdeps/unix/sysv/linux/opensock.c: Do not include
6000 <kernel-features.h>.
6001 (__opensock) [SOCK_CLOEXEC]: Make code unconditional.
6002 (__opensock) [!__ASSUME_SOCK_CLOEXEC]: Remove conditional code.
6003
d92d8f8a
L
60042014-06-20 H.J. Lu <hongjiu.lu@intel.com>
6005
6006 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
6007 Add tests for memset_chk and memset.
6008
6009 * sysdeps/x86_64/multiarch/init-arch.h (HAS_AVX2): Defined
6010 with AVX2_Usable.
6011
4e6d2347
MR
60122014-06-20 Maciej W. Rozycki <macro@codesourcery.com>
6013
257ce712
MR
6014 [BZ #16046]
6015 * elf/tst-dl-iter-static.c: New file.
6016 * elf/Makefile (tests-static): Add tst-dl-iter-static.
6017
4e6d2347
MR
6018 * stdlib/tst-qsort2.c (main): Fix off-by-one argc interpretation
6019 error.
6020
a2a76afe
JM
60212014-06-20 Joseph Myers <joseph@codesourcery.com>
6022
7fd00f99
JM
6023 * sysdeps/unix/sysv/linux/kernel-features.h
6024 (__ASSUME_F_GETOWN_EX): Remove macro.
6025 * sysdeps/unix/sysv/linux/fcntl.c: Do not include
6026 <kernel-features.h>.
6027 (miss_F_GETOWN_EX): Remove variable or macro.
6028 (do_fcntl): Do not check miss_F_GETOWN_EX.
6029 (do_fcntl) [!__ASSUME_F_GETOWN_EX]: Remove conditional code.
6030
4a103975
JM
6031 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_RANDOM):
6032 Remove macro.
6033 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard)
6034 [!__ASSUME_AT_RANDOM]: Remove conditional code.
6035 (_dl_setup_pointer_guard) [!__ASSUME_AT_RANDOM]: Likewise.
6036
a2a76afe
JM
6037 * sysdeps/unix/sysv/linux/kernel-features.h
6038 (__ASSUME_ADJ_OFFSET_SS_READ): Remove macro.
6039 * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME)
6040 [ADJ_OFFSET_SS_READ]: Make code unconditional.
6041 (ADJTIME) [!ADJ_OFFSET_SS_READ]: Remove conditional code.
6042
90e5dd48
MR
60432014-06-20 Maciej W. Rozycki <macro@codesourcery.com>
6044
6045 [BZ #17075]
6046 * sysdeps/arm/dl-machine.h (elf_machine_rel) <R_ARM_TLS_DESC>:
6047 Fix calculation of the symbol's value.
6048 * sysdeps/arm/tst-armtlsdescloc.c: New file.
6049 * sysdeps/arm/tst-armtlsdesclocmod.c: New file.
6050 * sysdeps/arm/tst-armtlsdescextnow.c: New file.
6051 * sysdeps/arm/tst-armtlsdescextlazymod.c: New file.
6052 * sysdeps/arm/tst-armtlsdescextlazy.c: New file.
6053 * sysdeps/arm/tst-armtlsdescextnowmod.c: New file.
6054 * sysdeps/arm/Makefile (tests): Add `tst-armtlsdesc',
6055 `tst-armtlsdescextnow' and `tst-armtlsdescextlazy'.
6056 (modules-names): Add `tst-armtlsdescmod',
6057 `tst-armtlsdescextlazymod' and `tst-armtlsdescextnowmod'.
6058 (CPPFLAGS-tst-armtlsdescextnowmod.c): New variable.
6059 (CPPFLAGS-tst-armtlsdescextlazymod.c): Likewise.
6060 (CFLAGS-tst-armtlsdesclocmod.c): Likewise.
6061 (CFLAGS-tst-armtlsdescextnowmod.c): Likewise.
6062 (CFLAGS-tst-armtlsdescextlazymod.c): Likewise.
6063 (LDFLAGS-tst-armtlsdescextnowmod.so): Likewise.
6064 ($(objpfx)tst-armtlsdescloc): New dependency.
6065 ($(objpfx)tst-armtlsdescextnow): Likewise.
6066 ($(objpfx)tst-armtlsdescextlazy): Likewise.
6067 * sysdeps/arm/configure.ac: Add a check for tools' GNU descriptor
6068 TLS scheme support.
6069 * sysdeps/arm/configure: Regenerate.
6070
809fdf0d
JM
60712014-06-20 Joseph Myers <joseph@codesourcery.com>
6072
6073 * include/fcntl.h (__atfct_seterrno): Remove prototype.
6074 (__atfct_seterrno_2): Likewise.
6075 * sysdeps/unix/sysv/linux/alpha/dl-fxstatat64.c: Do not include
6076 <kernel-features.h>.
6077 (__ASSUME_ATFCTS): Do not undefine and redefine.
6078 * sysdeps/unix/sysv/linux/alpha/fxstatat.c [__ASSUME_ATFCTS]
6079 (__have_atfcts): Remove conditional definition.
6080 (__fxstatat([__NR_fstatat64]: Make code unconditional.
6081 (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code and code
6082 unreachable if [__ASSUME_ATFCTS].
6083 * sysdeps/unix/sysv/linux/dl-fxstatat64.c (__ASSUME_ATFCTS): Do
6084 not undefine and redefine.
6085 * sysdeps/unix/sysv/linux/faccessat.c: Do not include
6086 <kernel-features.h>.
6087 (faccessat) [__NR_faccessat]: Make code unconditional.
6088 (faccessat) [!__ASSUME_ATFCTS]: Remove conditional code.
6089 * sysdeps/unix/sysv/linux/fchmodat.c: Do not include
6090 <kernel-features.h>.
6091 (fchmodat) [__NR_fchmodat]: Make code unconditional.
6092 (fchmodat) [!__ASSUME_ATFCTS]: Remove conditional code.
6093 * sysdeps/unix/sysv/linux/fchownat.c: Do not include
6094 <kernel-features.h>.
6095 (fchownat) [__NR_fchownat]: Make code unconditional.
6096 (fchownat) [!__ASSUME_ATFCTS]: Remove conditional code.
6097 * sysdeps/unix/sysv/linux/futimesat.c: Do not include
6098 <kernel-features.h>.
6099 (futimesat) [__NR_futimesat]: Make code unconditional.
6100 (futimesat) [!__ASSUME_ATFCTS]: Remove conditional code.
6101 * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
6102 <kernel-features.h>.
6103 (__fxstatat) [__NR_newfstatat]: Make code unconditional.
6104 (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
6105 * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
6106 <kernel-features.h>.
6107 (__fxstatat64) [__NR_fstatat64]: Make code unconditional.
6108 (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
6109 * sysdeps/unix/sysv/linux/i386/fchownat.c: Remove file.
6110 * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
6111 <kernel-features.h>.
6112 (__fxstatat) [__NR_fstatat64]: Make code unconditional.
6113 (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
6114 * sysdeps/unix/sysv/linux/linkat.c: Do not include
6115 <kernel-features.h>.
6116 (linkat) [__NR_linkat]: Make code unconditional.
6117 (linkat) [!__ASSUME_ATFCTS]: Remove conditional code.
6118 * sysdeps/unix/sysv/linux/m68k/fchownat.c: Remove file.
6119 * sysdeps/unix/sysv/linux/mips/mips64/fxstatat64.c: Do not include
6120 <kernel-features.h>.
6121 (__fxstatat64) [__NR_newfstatat]: Make code unconditional.
6122 (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
6123 * sysdeps/unix/sysv/linux/mkdirat.c: Do not include
6124 <kernel-features.h>.
6125 (mkdirat) [__NR_mkdirat]: Make code unconditional.
6126 (mkdirat) [!__ASSUME_ATFCTS]: Remove conditional code.
6127 * sysdeps/unix/sysv/linux/openat.c: Do not include
6128 <kernel-features.h>.
6129 [!__ASSUME_ATFCTS] (__atfct_seterrno): Remove function.
6130 [!__ASSUME_ATFCTS] (__have_atfcts): Remove variable.
6131 (OPENAT_NOT_CANCEL) [__NR_openat]: Make code unconditional.
6132 (OPENAT_NOT_CANCEL) [!__ASSUME_ATFCTS]: Remove conditional code.
6133 * sysdeps/unix/sysv/linux/powerpc/fchownat.c: Remove file.
6134 * sysdeps/unix/sysv/linux/readlinkat.c: Do not include
6135 <kernel-features.h>.
6136 (readlinkat) [__NR_readlinkat]: Make code unconditional.
6137 (readlinkat) [!__ASSUME_ATFCTS]: Remove conditional code. Return
6138 result of INLINE_SYSCALL directly, not via int variable.
6139 * sysdeps/unix/sysv/linux/renameat.c: Do not include
6140 <kernel-features.h>.
6141 [!__ASSUME_ATFCTS] (__atfct_seterrno_2): Remove function.
6142 (renameat) [__NR_renameat]: Make code unconditional.
6143 (renameat) [!__ASSUME_ATFCTS]: Remove conditional code.
6144 * sysdeps/unix/sysv/linux/s390/s390-32/fchownat.c: Remove file.
6145 * sysdeps/unix/sysv/linux/sh/fchownat.c: Remove file.
6146 * sysdeps/unix/sysv/linux/sparc/sparc32/fchownat.c: Remove file.
6147 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c
6148 (__ASSUME_ATFCTS): Do not undefine and redefine.
6149 * sysdeps/unix/sysv/linux/symlinkat.c: Do not include
6150 <kernel-features.h>.
6151 (symlinkat) [__NR_symlinkat]: Make code unconditional.
6152 (symlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
6153 * sysdeps/unix/sysv/linux/unlinkat.c: Do not include
6154 <kernel-features.h>.
6155 (unlinkat) [__NR_unlinkat]: Make code unconditional.
6156 (unlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
6157 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c
6158 (__ASSUME_ATFCTS): Do not undefine and redefine.
6159 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
6160 <kernel-features.h>.
6161 (__fxstatat) [__NR_newfstatat]: Make code unconditional.
6162 (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
6163 * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
6164 <kernel-features.h>.
6165 (__xmknodat) [__NR_mknodat]: Make code unconditional.
6166 (__xmknodat) [!__ASSUME_ATFCTS]: Remove conditional code.
6167
224c6c51
L
61682014-06-20 H.J. Lu <hongjiu.lu@intel.com>
6169
6170 * sysdeps/x86_64/multiarch/rtld-strlen.S: Removed.
6171
aa6ec754
AS
61722014-06-20 Andreas Schwab <schwab@linux-m68k.org>
6173
6174 [BZ #17069]
6175 * posix/regcomp.c (parse_reg_exp): Deallocate partially
6176 constructed tree before returning error.
6177 * posix/bug-regexp36.c: Expand test case.
6178
d8c2869d
SL
61792014-06-20 Stefan Liebler <stli@linux.vnet.ibm.com>
6180
3ef6b850
SL
6181 [BZ #6803]
6182 * math/libm-test.inc (scalbln_test_date):
6183 Add errno expectations.
6184 * math/w_scalblnf.c: New File.
6185 Add wrapper which checks for setting errno to ERANGE.
6186 Add weak_alias for corresponding scalbln function.
6187 * math/w_scalbln.c: Likewise.
6188 * math/w_scalblnl.c: Likewise.
6189 * math/Makefile (libm-calls): Add w_scalbln.
6190 * sysdeps/ieee754/flt-32/s_scalblnf.c:
6191 Remove weak_alias for corresponding scalbln function.
6192 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
6193 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
6194 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
6195 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
6196 * sysdeps/sparc/sparc64/soft-fp/s_scalblnl.c: Likewise.
6197 * sysdeps/i386/fpu/s_scalbnf.S: Likewise.
6198 * sysdeps/i386/fpu/s_scalbn.S: Likewise.
6199 * sysdeps/i386/fpu/s_scalbnl.S: Likewise.
6200 * sysdeps/m68k/m680x0/fpu/s_scalbn.c: Likewise.
6201 * sysdeps/ieee754/ldbl-64-128/s_scalblnl.c:
6202 Remove long_double_symbol for scalblnl function in libm, libc.
6203 * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: New File.
6204 Add wrapper which checks for setting errno to ERANGE.
6205 Add long_double_symbol for scalblnl function in libm, libc.
6206 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c:
6207 Remove long_double_symbol for scalblnl in libm.
6208 * sysdeps/ieee754/ldbl-128ibm/w_scalblnl.c: New File.
6209 Add wrapper which checks for setting errno to ERANGE.
6210 Add long_double_symbol for scalblnl function in libm.
6211 * sysdeps/ia64/fpu/w_scalblnf.c: New File.
6212 Do not use wrapper because of own implementation.
6213
c8daec5c
L
62142014-06-19 H.J. Lu <hongjiu.lu@intel.com>
6215
6216 * sysdeps/x86/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Use
6217 3 bytes for __pad1 for x32.
6218 (__PTHREAD_RWLOCK_ELISION_EXTRA): Likewise.
6219
5c74e47c
LM
62202014-06-19 Ling Ma <ling.ml@alibaba-inc.com>
6221 H.J. Lu <hongjiu.lu@intel.com>
6222
6223 * sysdeps/x86_64/multiarch/Makefile: Add memset-avx2.
6224 * sysdeps/x86_64/multiarch/memset-avx2.S: New file.
6225 * sysdeps/x86_64/multiarch/memset.S: Likewise.
6226 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
6227 * sysdeps/x86_64/multiarch/rtld-memset.S: Likewise.
6228
4d43ef1e
AS
62292014-06-19 Andreas Schwab <schwab@linux-m68k.org>
6230
6231 [BZ #17069]
6232 * posix/regcomp.c (parse_expression): Deallocate partially
6233 constructed tree before returning error.
6234 * posix/Makefile.c (tests): Add bug-regex36.
6235 (generated): Add bug-regex36.mtrace.
6236 (tests-special): Add $(objpfx)bug-regex36-mem.out
6237 (bug-regex36-ENV): New variable.
6238 ($(objpfx)bug-regex36-mem.out): New rule.
6239 * posix/bug-regex36.c: New file.
6240
51a7380b
WN
62412014-06-19 Will Newton <will.newton@linaro.org>
6242
6243 * malloc/malloc.c (systrim): If extra is zero then return
6244 early.
6245
91b84fe5
SP
62462014-06-19 Siddhesh Poyarekar <siddhesh@redhat.com>
6247
6248 * benchtests/Makefile ($(objpfx)bench-%.c): Remove $(.).
6249
f940b965
RE
62502014-06-19 Richard Earnshaw <rearnsha@arm.com>
6251
6252 * sysdeps/aarch64/strchr.S: New file.
6253
4ba7a00f
JM
62542014-06-18 Joseph Myers <joseph@codesourcery.com>
6255
6256 [BZ #17022]
6257 * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Do not subtract 1
6258 from arguments -2 or below.
6259 * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
6260 * sysdeps/x86_64/fpu/e_logl.S (__ieee754_logl): Likewise.
6261
b3a9f56b
AS
62622014-06-18 Andreas Schwab <schwab@suse.de>
6263
6264 [BZ #17062]
6265 * posix/fnmatch_loop.c (FCT): Rerrange loop for skipping over rest
6266 of a bracket expr not to run off the end of the string.
6267 * posix/Makefile (tests): Add tst-fnmatch3.
6268 * posix/tst-fnmatch3.c: New file.
6269
85d89278
JM
62702014-06-18 Joseph Myers <joseph@codesourcery.com>
6271
6272 * elf/Makefile ($(objpfx)tst-unused-dep.out): Use $(rtld-prefix).
6273 * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
6274 [$(cross-compiling) = no]: Likewise.
6275 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
6276 [$(cross-compiling) = no]: Likewise.
6277
754c5a08
RS
62782014-16-17 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
6279
6280 [BZ #17031]
6281 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Consider the low
6282 double, adjusted for any remainder from the high double.
6283 * math/libm-test.inc (nearbyint): Add tests.
6284 (rint): Likewise.
6285
556f529d
AZ
62862014-06-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6287
6288 * nptl/sysdeps/powerpc/Makefile: Moved ...
6289 * sysdeps/powerpc/nptl/Makefile: ... here.
6290 * nptl/sysdeps/powerpc/pthread_spin_lock.c: Moved ...
6291 * sysdeps/powerpc/nptl/pthread_spin_lock.c: .. here.
6292 * nptl/sysdeps/powerpc/pthread_spin_trylock.c: Moved ...
6293 * sysdeps/powerpc/nptl/pthread_spin_trylock.c: ... here.
6294 * nptl/sysdeps/powerpc/pthreaddef.h: Moved ...
6295 * sysdeps/powerpc/nptl/pthreaddef.h: ... here.
6296 * nptl/sysdeps/powerpc/tcb-offsets.sym: Moved ...
6297 * sysdeps/powerpc/nptl/tcb-offsets.sym: ... here.
6298 * nptl/sysdeps/powerpc/tls.h: Moved ...
6299 * sysdeps/powerpc/nptl/tls.h: ... here.
6300
91c03c53
JM
63012014-06-16 Joseph Myers <joseph@codesourcery.com>
6302
6303 [BZ #16681]
6304 * sysdeps/i386/fpu/s_ceil.S (__ceil): Add CFI.
6305 * sysdeps/i386/fpu/s_ceilf.S (__ceilf): Likewise.
6306 * sysdeps/i386/fpu/s_ceill.S (__ceill): Likewise.
6307 * sysdeps/i386/fpu/s_floor.S (__floor): Likewise.
6308 * sysdeps/i386/fpu/s_floorf.S (__floorf): Likewise.
6309 * sysdeps/i386/fpu/s_floorl.S (__floorl): Likewise.
6310 * sysdeps/i386/fpu/s_trunc.S (__trunc): Likewise.
6311 * sysdeps/i386/fpu/s_truncf.S (__truncf): Likewise.
6312 * sysdeps/i386/fpu/s_truncl.S (__truncl): Likewise.
6313
a76e63c5
AS
63142014-06-17 Andreas Schwab <schwab@linux-m68k.org>
6315
6316 * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
6317
f2f6d82f
AS
63182014-06-16 Andreas Schwab <schwab@linux-m68k.org>
6319
ea8a15f6
AS
6320 * sysdeps/m68k/m680x0/bits/huge_vall.h: Fix missing space after
6321 defined operator.
6322
f2f6d82f
AS
6323 * scripts/cross-test-ssh.sh (timeoutfactor): Default to
6324 $TIMEOUTFACTOR.
6325
a7291117
FW
63262014-06-16 Florian Weimer <fweimer@redhat.com>
6327
6328 [BZ #17058]
6329 * nptl/tst-setuid2.c (do_test): Fix tautological comparison in
6330 non-executed part of the test.
6331
3d7c00e3
AS
63322014-06-16 Andreas Schwab <schwab@suse.de>
6333
6334 * string/bits/string2.h (strdup, strndup): Update feature guard.
6335
6957fb31
DM
63362014-06-14 David S. Miller <davem@davemloft.net>
6337
6338 * sysdeps/sparc/fpu/libm-test-ulps: Update.
6339
11b9e55b
AS
63402014-06-14 Andreas Schwab <schwab@linux-m68k.org>
6341
1d2a0492
AS
6342 * sysdeps/unix/sysv/linux/m68k/clone.S: Deconditionalize the code
6343 that was previously under [RESET_PID].
6344 * sysdeps/unix/sysv/linux/m68k/nptl/clone.S: Remove file.
6345
11b9e55b
AS
6346 * sysdeps/unix/sysv/linux/m68k/pt-vfork.c: New file.
6347 * sysdeps/unix/sysv/linux/m68k/nptl/pt-vfork.S: Remove file.
6348 * sysdeps/unix/sysv/linux/m68k/vfork.S: Include <tcb-offsets.h>.
6349 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
6350 (__libc_vfork): New strong alias.
6351 * sysdeps/unix/sysv/linux/m68k/nptl/vfork.S: Remove file.
6352
0f6901d0
AK
63532014-06-14 Andi Kleen <ak@linux.intel.com>
6354
6355 * sysdeps/generic/elide.h: New file.
6356
38bbbb9f
SL
63572014-06-13 Stefan Liebler <stli@linux.vnet.ibm.com>
6358
6359 * Makefile (installed-headers): Adjust path of pthread.h header.
6360
45193bb8
RM
63612014-06-13 Roland McGrath <roland@hack.frob.com>
6362
9a25fd1e
RM
6363 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h: Moved ...
6364 * sysdeps/s390/nptl/bits/pthreadtypes.h: ... here.
6365 * nptl/sysdeps/unix/sysv/linux/s390/bits/semaphore.h: Moved ...
6366 * sysdeps/s390/nptl/bits/semaphore.h: ... here.
6367
4004f7e4
RM
6368 * nptl/sysdeps/s390/Makefile: Moved ...
6369 * sysdeps/s390/nptl/Makefile: ... here.
6370 * nptl/sysdeps/s390/pthread_spin_init.c: Moved ...
6371 * sysdeps/s390/nptl/pthread_spin_init.c: ... here.
6372 * nptl/sysdeps/s390/pthread_spin_lock.c: Moved ...
6373 * sysdeps/s390/nptl/pthread_spin_lock.c: ... here.
6374 * nptl/sysdeps/s390/pthread_spin_trylock.c: Moved ...
6375 * sysdeps/s390/nptl/pthread_spin_trylock.c: ... here.
6376 * nptl/sysdeps/s390/pthread_spin_unlock.c: Moved ...
6377 * sysdeps/s390/nptl/pthread_spin_unlock.c: ... here.
6378 * nptl/sysdeps/s390/pthreaddef.h: Moved ...
6379 * sysdeps/s390/nptl/pthreaddef.h: ... here.
6380 * nptl/sysdeps/s390/tcb-offsets.sym: Moved ...
6381 * sysdeps/s390/nptl/tcb-offsets.sym: ... here.
6382 * nptl/sysdeps/s390/tls.h: Moved ...
6383 * sysdeps/s390/nptl/tls.h: ... here.
6384
45193bb8
RM
6385 * sysdeps/unix/sysv/linux/s390/arch-fork.h: New file.
6386 * nptl/sysdeps/unix/sysv/linux/s390/fork.c: File removed.
6387
f6fdf533
DM
63882014-06-13 David S. Miller <davem@davemloft.net>
6389
6390 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/clone.S: Delete.
6391 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pt-vfork.S: Delete.
6392 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: Moved ...
6393 * sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: ... here.
6394 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/clone.S: Delete.
6395 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/pt-vfork.S: Delete.
6396 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: Moved ...
6397 * sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: ... here.
6398 * sysdeps/unix/sysv/linux/sparc/fork.S: Delete.
6399 * sysdeps/unix/sysv/linux/sparc/pt-vfork.S: New file.
6400 * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S (__thread_start):
6401 Remove RESET_PID cpp guards.
6402 * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S (__thread_start):
6403 Remove RESET_PID cpp guards.
6404 * sysdeps/unix/sysv/linux/sparc/vfork.S: Delete.
6405
f5d71e14
AS
64062014-06-13 Andreas Schwab <schwab@linux-m68k.org>
6407
6408 * sysdeps/m68k/jmpbuf-unwind.h (_JMPBUF_UNWINDS, _jmpbuf_sp): Cast
6409 __sp to uintptr_t.
6410
b7aa8caa
AK
64112014-06-13 Andi Kleen <ak@linux.intel.com>
6412
4b266200
AZ
6413 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: Remove.
6414 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S: dito.
6415 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S: dito.
6416 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: dito.
6417 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: dito.
6418 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: dito.
6419 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S: dito.
6420 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S: dito.
6421 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: dito.
6422 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: dito.
6423 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: dito.
6424 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S: dito.
6425 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S: dito.
6426 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: dito.
6427 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: dito.
6428 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: dito.
6429 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: dito.
6430 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: dito.
6431 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: dito.
6432 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: dito.
8491ed6d
AK
6433
6434 * nptl/pthread_rwlock_rdlock.c: Include elide.h.
4b266200
AZ
6435 (pthread_rwlock_rdlock): Add elision.
6436 * nptl/pthread_rwlock_wrlock.c: Include elide.h.
6437 (pthread_rwlock_wrlock): Add elision.
6438 * nptl/pthread_rwlock_trywrlock.c: Include elide.h.
6439 (pthread_rwlock_trywrlock): Add elision.
6440 * nptl/pthread_rwlock_tryrdlock.c: Include elide.h.
6441 (pthread_rwlock_tryrdlock): Add elision.
6442 * nptl/pthread_rwlock_unlock.c: Include elide.h.
6443 (pthread_rwlock_tryrdlock): Add elision unlock.
6444 * nptl/sysdeps/pthread/pthread.h:
6445 (__PTHREAD_RWLOCK_ELISION_EXTRA): Handle new define
6446 (PTHREAD_RWLOCK_INITIALIZER,
6447 PTHREAD_RWLOCK_WRITER_NONRECURSIVE_INITIALIZER_NP):
6448 Handle new elision field.
6449 * sysdeps/x86/nptl/elide.h: New file. Add generic elision macros.
6450 * sysdeps/arm/nptl/bits/pthreadtypes.h
6451 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
6452 * sysdeps/sh/nptl/bits/pthreadtypes.h
6453 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
6454 * sysdeps/tile/nptl/bits/pthreadtypes.h
6455 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
6456 * sysdeps/a/nptl/bits/pthreadtypes.h
6457 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
6458 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
6459 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
6460 * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
6461 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
6462 * sysdeps/unix/sysv/linux/hppa/nptl/bits/pthreadtypes.h
6463 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
6464 * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
6465 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
6466 * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
6467 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
6468 * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
6469 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
6470 * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
6471 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
6472 * sysdeps/unix/sysv/linux/powerpc/nptl/bits/pthreadtypes.h
6473 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
6474 * sysdeps/unix/sysv/linux/x86/elision-conf.c:
6475 (elision_init): Set try_xbegin to zero when no RTM.
6476 * sysdeps/x86/nptl/bits/pthreadtypes.h
6477 (pthread_rwlock_t): Change __pad1 to __rwelision.
6478 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
8491ed6d 6479
a832bdd3
AK
64802014-06-13 Andi Kleen <ak@linux.intel.com>
6481
6482 * nptl/pthread_rwlock_rdlock (__pthread_rwlock_rdlock):
6483 Split into __do_pthread_rwlock_rdlock and __pthread_rwlock_rdlock.
6484 * nptl/pthread_rwlock_wrlock (__pthread_rwlock_wrlock):
6485 Split into __do_pthread_rwlock_wrlock and __pthread_wrlock_rdlock.
6486
995a46bb
MI
64872014-06-13 Meador Inge <meadori@codesourcery.com>
6488
6489 [BZ #16996]
03ed7738 6490 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Ensure
995a46bb
MI
6491 that the cached result has been set before returning it.
6492
45262aee
RM
64932014-06-12 Roland McGrath <roland@hack.frob.com>
6494
febf6cc5
RM
6495 * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h: Moved ...
6496 * sysdeps/sparc/nptl/bits/pthreadtypes.h: ... here.
6497 * nptl/sysdeps/unix/sysv/linux/sparc/bits/semaphore.h: Moved ...
6498 * sysdeps/sparc/nptl/bits/semaphore.h: ... here.
6499 * nptl/sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: Moved ...
6500 * sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: ... here.
6501
e2682246
RM
6502 * nptl/sysdeps/sparc/Makefile: Moved ...
6503 * sysdeps/sparc/nptl/Makefile: ... here.
6504 * nptl/sysdeps/sparc/tcb-offsets.sym: Moved ...
6505 * sysdeps/sparc/nptl/tcb-offsets.sym: ... here.
6506 * nptl/sysdeps/sparc/tls.h: Moved ...
6507 * sysdeps/sparc/nptl/tls.h: ... here.
6508 * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S: Moved ...
6509 * sysdeps/sparc/sparc32/nptl/pthread_spin_lock.S: ... here.
6510 * nptl/sysdeps/sparc/sparc32/pthread_spin_trylock.S: Moved ...
6511 * sysdeps/sparc/sparc32/nptl/pthread_spin_trylock.S: ... here.
6512 * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Moved ...
6513 * sysdeps/sparc/sparc32/nptl/pthreaddef.h: ... here.
6514 * nptl/sysdeps/sparc/sparc64/pthread_spin_init.c: Moved ...
6515 * sysdeps/sparc/sparc64/nptl/pthread_spin_init.c: ... here.
6516 * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S: Moved ...
6517 * sysdeps/sparc/sparc64/nptl/pthread_spin_lock.S: ... here.
6518 * nptl/sysdeps/sparc/sparc64/pthread_spin_trylock.S: Moved ...
6519 * sysdeps/sparc/sparc64/nptl/pthread_spin_trylock.S: ... here.
6520 * nptl/sysdeps/sparc/sparc64/pthread_spin_unlock.S: Moved ...
6521 * sysdeps/sparc/sparc64/nptl/pthread_spin_unlock.S: ... here.
6522 * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Moved ...
6523 * sysdeps/sparc/sparc64/nptl/pthreaddef.h: ... here.
6524 * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: Moved ...
6525 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_init.c: ... here.
6526 Update #include.
6527 * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: Moved ...
6528 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_lock.S: ... here.
6529 Update #include.
6530 * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: Moved ...
6531 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_trylock.S: ... here.
6532 Update #include.
6533 * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_unlock.S: Moved ...
6534 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: ... here.
6535 Update #include.
6536
b0725f43
RM
6537 * nptl/sysdeps/sparc/tls.h (TLS_DEFINE_INIT_TP): New macro.
6538
b14368b8
RM
6539 * sysdeps/unix/sysv/linux/sparc/arch-fork.h: New file.
6540 * nptl/sysdeps/unix/sysv/linux/sparc/fork.c: File removed.
6541
c5620eb3
RM
6542 * sysdeps/pthread/posix-timer.h: Include <list.h>.
6543 (struct list_links): Type removed.
6544 (struct thread_node, struct timer_node): Replace struct list_links
6545 with struct list_head.
6546 (list_unlink_ip): Likewise.
6547 * sysdeps/pthread/timer_routines.c
6548 (timer_free_list, thread_free_list, thread_active_list): Likewise.
6549 (list_append, list_insbefore): Likewise.
6550 (list_init): Function removed.
6551 (thread_init, init_module): Use INIT_LIST_HEAD instead.
463dc947
RM
6552 * sysdeps/nptl/Makefile: Move tst-timer bits to ...
6553 * sysdeps/pthread/Makefile: ... here, new file.
6554
6555 * nptl/sysdeps/unix/sysv/linux/Implies: Moved ...
6556 * sysdeps/nptl/Implies: ... here.
6557 * sysdeps/unix/sysv/linux/Implies: Add nptl.
6558 * nptl/sysdeps/pthread/list.h: Moved ...
6559 * include/list.h: ... here.
6560 * nptl/sysdeps/pthread/createthread.c: Moved ...
6561 * nptl/createthread.c: ... here.
6562 * nptl/sysdeps/unix/sysv/linux/createthread.c: Update #include.
6563 * nptl/sysdeps/pthread/pt-longjmp.c: Moved ...
6564 * nptl/pt-longjmp.c: ... here.
6565 * nptl/sysdeps/pthread/Makefile: Moved ...
6566 * sysdeps/nptl/Makefile: ... here.
6567 * nptl/sysdeps/pthread/Subdirs: Moved ...
6568 * sysdeps/nptl/Subdirs: ... here.
6569 * nptl/sysdeps/pthread/aio_misc.h: Moved ...
6570 * sysdeps/nptl/aio_misc.h: ... here.
6571 * nptl/sysdeps/pthread/bits/libc-lock.h: Moved ...
6572 * sysdeps/nptl/bits/libc-lock.h: ... here.
6573 * nptl/sysdeps/pthread/bits/libc-lockP.h: Moved ...
6574 * sysdeps/nptl/bits/libc-lockP.h: ... here.
6575 * nptl/sysdeps/pthread/bits/stdio-lock.h: Moved ...
6576 * sysdeps/nptl/bits/stdio-lock.h: ... here.
6577 * nptl/sysdeps/pthread/configure: Moved ...
6578 * sysdeps/nptl/configure: ... here.
6579 * nptl/sysdeps/pthread/configure.ac: Moved ...
6580 * sysdeps/nptl/configure.ac: ... here.
6581 * nptl/sysdeps/pthread/gai_misc.h: Moved ...
6582 * sysdeps/nptl/gai_misc.h: ... here.
6583 * nptl/sysdeps/pthread/librt-cancellation.c: Moved ...
6584 * sysdeps/nptl/librt-cancellation.c: ... here.
6585 * nptl/sysdeps/pthread/malloc-machine.h: Moved ...
6586 * sysdeps/nptl/malloc-machine.h: ... here.
6587 * nptl/sysdeps/pthread/pthread-functions.h: Moved ...
6588 * sysdeps/nptl/pthread-functions.h: ... here.
6589 * nptl/sysdeps/pthread/pthread.h: Moved ...
6590 * sysdeps/nptl/pthread.h: ... here.
6591 * nptl/sysdeps/pthread/setxid.h: Moved ...
6592 * sysdeps/nptl/setxid.h: ... here.
6593 * nptl/sysdeps/pthread/sigfillset.c: Moved ...
6594 * sysdeps/nptl/sigfillset.c: ... here.
6595 * nptl/sysdeps/pthread/tcb-offsets.h: Moved ...
6596 * sysdeps/nptl/tcb-offsets.h: ... here.
6597 * nptl/sysdeps/pthread/tst-mqueue8x.c: Moved ...
6598 * sysdeps/nptl/tst-mqueue8x.c: ... here.
6599 * nptl/sysdeps/pthread/unwind-forcedunwind.c: Moved ...
6600 * sysdeps/nptl/unwind-forcedunwind.c: ... here.
6601 * nptl/sysdeps/pthread/allocalim.h: Moved ...
6602 * sysdeps/pthread/allocalim.h: ... here.
6603 * nptl/sysdeps/pthread/bits/sigthread.h: Moved ...
6604 * sysdeps/pthread/bits/sigthread.h: ... here.
6605 * nptl/sysdeps/pthread/flockfile.c: Moved ...
6606 * sysdeps/pthread/flockfile.c: ... here.
6607 * nptl/sysdeps/pthread/ftrylockfile.c: Moved ...
6608 * sysdeps/pthread/ftrylockfile.c: ... here.
6609 * nptl/sysdeps/pthread/funlockfile.c: Moved ...
6610 * sysdeps/pthread/funlockfile.c: ... here.
6611 * nptl/sysdeps/pthread/posix-timer.h: Moved ...
6612 * sysdeps/pthread/posix-timer.h: ... here.
6613 * nptl/sysdeps/pthread/timer_create.c: Moved ...
6614 * sysdeps/pthread/timer_create.c: ... here.
6615 * nptl/sysdeps/pthread/timer_delete.c: Moved ...
6616 * sysdeps/pthread/timer_delete.c: ... here.
6617 * nptl/sysdeps/pthread/timer_getoverr.c: Moved ...
6618 * sysdeps/pthread/timer_getoverr.c: ... here.
6619 * nptl/sysdeps/pthread/timer_gettime.c: Moved ...
6620 * sysdeps/pthread/timer_gettime.c: ... here.
6621 * nptl/sysdeps/pthread/timer_routines.c: Moved ...
6622 * sysdeps/pthread/timer_routines.c: ... here.
6623 * nptl/sysdeps/pthread/timer_settime.c: Moved ...
6624 * sysdeps/pthread/timer_settime.c: ... here.
6625 * nptl/sysdeps/pthread/tst-timer.c: Moved ...
6626 * sysdeps/pthread/tst-timer.c: ... here.
6627 * nptl/sysdeps/pthread/pthread_sigmask.c: Moved ...
6628 * sysdeps/unix/sysv/linux/pthread_sigmask.c: ... here.
6629
e876b090
RM
6630 * sysdeps/unix/sysv/linux/sigprocmask.c: Include <nptl/pthreadP.h>.
6631 * nptl/sysdeps/pthread/sigprocmask.c: File removed.
6632
f6b07b3d
RM
6633 * nptl/sysdeps/i386/i486/pthread_spin_trylock.S: Moved ...
6634 * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: ... here.
6635 * nptl/sysdeps/i386/i586/pthread_spin_trylock.S: Moved ...
6636 * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: ... here.
6637 Update #include target.
6638 * nptl/sysdeps/i386/i686/Makefile: Moved ...
6639 * sysdeps/i386/i686/nptl/Makefile: ... here.
6640 * nptl/sysdeps/i386/i686/pthread_spin_trylock.S: Moved ...
6641 * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: ... here.
6642 Update #include target.
6643 * nptl/sysdeps/i386/i686/tls.h: Moved ...
6644 * sysdeps/i386/i686/nptl/tls.h: ... here. Use #include_next.
6645 * nptl/sysdeps/i386/Makefile: Moved ...
6646 * sysdeps/i386/nptl/Makefile: ... here.
6647 * nptl/sysdeps/i386/pthread_spin_init.c: Moved ...
6648 * sysdeps/i386/nptl/pthread_spin_init.c: ... here.
6649 * sysdeps/x86_64/nptl/pthread_spin_init.c: Update #include target.
6650 * nptl/sysdeps/i386/pthread_spin_lock.S: Moved ...
6651 * sysdeps/i386/nptl/pthread_spin_lock.S: ... here.
6652 * nptl/sysdeps/i386/pthread_spin_unlock.S: Moved ...
6653 * sysdeps/i386/nptl/pthread_spin_unlock.S: ... here.
6654 * nptl/sysdeps/i386/pthreaddef.h: Moved ...
6655 * sysdeps/i386/nptl/pthreaddef.h: ... here.
6656 * nptl/sysdeps/i386/tcb-offsets.sym: Moved ...
6657 * sysdeps/i386/nptl/tcb-offsets.sym: ... here.
6658 * nptl/sysdeps/i386/tls.h: Moved ...
6659 * sysdeps/i386/nptl/tls.h: ... here.
6660
45262aee
RM
6661 * sysdeps/sh/Makefile [$(subdir) = csu]
6662 (gen-as-const-headers): Add tcb-offsets.sym.
6663 * nptl/sysdeps/sh/Makefile: File removed.
6664 * nptl/sysdeps/sh/pthread_spin_init.c: Moved ...
6665 * sysdeps/sh/nptl/pthread_spin_init.c: ... here.
6666 * nptl/sysdeps/sh/pthread_spin_lock.c: Moved ...
6667 * sysdeps/sh/nptl/pthread_spin_lock.c: ... here.
6668 * nptl/sysdeps/sh/pthread_spin_trylock.S: Moved ...
6669 * sysdeps/sh/nptl/pthread_spin_trylock.S: ... here.
6670 * nptl/sysdeps/sh/pthread_spin_unlock.S: Moved ...
6671 * sysdeps/sh/nptl/pthread_spin_unlock.S: ... here.
6672 * nptl/sysdeps/sh/pthreaddef.h: Moved ...
6673 * sysdeps/sh/nptl/pthreaddef.h: ... here.
6674 * nptl/sysdeps/sh/tcb-offsets.sym: Moved ...
6675 * sysdeps/sh/nptl/tcb-offsets.sym: ... here.
6676 * nptl/sysdeps/sh/tls.h: Moved ...
6677 * sysdeps/sh/nptl/tls.h: ... here.
6678 * nptl/sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: Moved ...
6679 * sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: ... here.
6680 * nptl/sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: Moved ...
6681 * sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: ... here.
6682 * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.S: Moved ...
6683 * sysdeps/unix/sysv/linux/sh/lowlevellock.S: ... here.
6684 * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.h: Moved ...
6685 * sysdeps/unix/sysv/linux/sh/lowlevellock.h: ... here.
6686 * nptl/sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: Moved ...
6687 * sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: ... here.
6688 * nptl/sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: Moved ...
6689 * sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: ... here.
6690 * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: Moved ...
6691 * sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: ... here.
6692 * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: Moved ...
6693 * sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: ... here.
6694 * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: Moved ...
6695 * sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: ... here.
6696 * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: Moved ...
6697 * sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: ... here.
6698 * nptl/sysdeps/unix/sysv/linux/sh/pthread_once.S: Moved ...
6699 * sysdeps/unix/sysv/linux/sh/pthread_once.S: ... here.
6700 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: Moved ...
6701 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: ... here.
6702 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S:
6703 Moved ...
6704 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S: ... here.
6705 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S:
6706 Moved ...
6707 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S: ... here.
6708 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: Moved ...
6709 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: ... here.
6710 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: Moved ...
6711 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: ... here.
6712 * nptl/sysdeps/unix/sysv/linux/sh/sem_post.S: Moved ...
6713 * sysdeps/unix/sysv/linux/sh/sem_post.S: ... here.
6714 * nptl/sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Moved ...
6715 * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: ... here.
6716 * nptl/sysdeps/unix/sysv/linux/sh/sem_trywait.S: Moved ...
6717 * sysdeps/unix/sysv/linux/sh/sem_trywait.S: ... here.
6718 * nptl/sysdeps/unix/sysv/linux/sh/sem_wait.S: Moved ...
6719 * sysdeps/unix/sysv/linux/sh/sem_wait.S: ... here.
6720 * nptl/sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: Moved ...
6721 * sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: ... here.
6722 * nptl/sysdeps/unix/sysv/linux/sh/smp.h: Moved ...
6723 * sysdeps/unix/sysv/linux/sh/smp.h: ... here.
6724 * nptl/sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Moved ...
6725 * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: ... here.
6726
35a5e3e3
SL
67272014-06-12 Stefan Liebler <stli@linux.vnet.ibm.com>
6728
6729 * posix/spawn_faction_addopen.c: Include string.h.
6730
14642b85
RM
67312014-06-11 Roland McGrath <roland@hack.frob.com>
6732
6733 * nptl/sysdeps/x86_64/64/shlib-versions: Moved ...
6734 * sysdeps/x86_64/64/nptl/shlib-versions: ... here.
6735 * nptl/sysdeps/x86_64/Makefile: Moved ...
6736 * sysdeps/x86_64/nptl/Makefile: ... here.
6737 * nptl/sysdeps/x86_64/configure: Moved ...
6738 * sysdeps/x86_64/nptl/configure: ... here.
6739 * nptl/sysdeps/x86_64/configure.ac: Moved ...
6740 * sysdeps/x86_64/nptl/configure.ac: ... here.
6741 * nptl/sysdeps/x86_64/pthread_spin_init.c: Moved ...
6742 * sysdeps/x86_64/nptl/pthread_spin_init.c: ... here.
6743 * nptl/sysdeps/x86_64/pthread_spin_lock.S: Moved ...
6744 * sysdeps/x86_64/nptl/pthread_spin_lock.S: ... here.
6745 * nptl/sysdeps/x86_64/pthread_spin_trylock.S: Moved ...
6746 * sysdeps/x86_64/nptl/pthread_spin_trylock.S: ... here.
6747 * nptl/sysdeps/x86_64/pthread_spin_unlock.S: Moved ...
6748 * sysdeps/x86_64/nptl/pthread_spin_unlock.S: ... here.
6749 * nptl/sysdeps/x86_64/pthreaddef.h: Moved ...
6750 * sysdeps/x86_64/nptl/pthreaddef.h: ... here.
6751 * nptl/sysdeps/x86_64/tcb-offsets.sym: Moved ...
6752 * sysdeps/x86_64/nptl/tcb-offsets.sym: ... here.
6753 * nptl/sysdeps/x86_64/tls.h: Moved ...
6754 * sysdeps/x86_64/nptl/tls.h: ... here.
6755 * nptl/sysdeps/x86_64/x32/shlib-versions: Moved ...
6756 * sysdeps/x86_64/x32/nptl/shlib-versions: ... here.
6757 * nptl/sysdeps/x86_64/x32/tls.h: Moved ...
6758 * sysdeps/x86_64/x32/nptl/tls.h: ... here.
6759
6760 * sysdeps/x86_64/x32/nptl/tls.h: Use #include_next.
6761
31c44fea
AZ
67622014-06-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6763
6764 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
6765
e81a4f9a
JM
67662014-06-11 Joseph Myers <joseph@codesourcery.com>
6767
6768 * conform/data/sys/mman.h-data [POSIX] (size_t): Do not require
6769 type.
6770 [POSIX] (off_t): Likewise.
6771 * conform/data/sys/stat.h-data (S_IRGRP): Require constant.
6772 [POSIX] (S_ISBLK): Require macro.
6773 [POSIX] (S_ISCHR): Likewise.
6774 [POSIX] (S_ISDIR): Likewise.
6775 [POSIX] (S_ISFIFO): Likewise.
6776 [POSIX] (S_ISREG): Likewise.
6777 [POSIX || XPG3 || XPG4 || UNIX98] (S_TYPEISTMO): Do not list
6778 optional-macro.
6779 * conform/data/sys/types.h-data [POSIX] (blkcnt_t): Do not require
6780 type.
6781 [POSIX] (time_t): Likewise.
6782 [POSIX] (timer_t): Likewise.
6783
89e435f3
FW
67842014-06-11 Florian Weimer <fweimer@redhat.com>
6785
6786 [BZ #17048]
6787 * posix/spawn_int.h (struct __spawn_action): Make the path string
6788 non-const to support deallocation.
6789 * posix/spawn_faction_addopen.c
6790 (posix_spawn_file_actions_addopen): Make a copy of the pathname.
6791 * posix/spawn_faction_destroy.c
6792 (posix_spawn_file_actions_destroy): Adjust comment. Deallocate
6793 path in all spawn_do_open actions.
6794 * posix/tst-spawn.c (do_test): Exercise the copy operation in
6795 posix_spawn_file_actions_addopen.
6796
c3a2ebe1
CM
67972014-06-11 Chris Metcalf <cmetcalf@tilera.com>
6798
6799 * sysdeps/unix/sysv/linux/tile/pt-vfork.c: New file.
6800 * sysdeps/unix/sysv/linux/tile/pt-vfork.S: Remove file.
6801 * sysdeps/unix/sysv/linux/tile/vfork.S (__vfork): Make PT_VFORK
6802 conditional code always true.
6803 (__libc_vfork): New alias.
6804
9503784a
RM
68052014-06-11 Roland McGrath <roland@hack.frob.com>
6806
c9cab3d2
RM
6807 * sysdeps/tile/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
6808 * sysdeps/unix/sysv/linux/tile/createthread.c: File removed.
6809
d3996c79
RM
6810 * nptl/sysdeps/s390/tls.h (TLS_DEFINE_INIT_TP): New macro.
6811
ba5ec611
RM
6812 * sysdeps/alpha/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
6813 * sysdeps/unix/sysv/linux/alpha/createthread.c: File removed.
6814
f12b4814
RM
6815 * nptl/sysdeps/powerpc/tls.h (TLS_DEFINE_INIT_TP): New macro.
6816 * sysdeps/unix/sysv/linux/powerpc/createthread.c: File removed.
6817
9503784a
RM
6818 * sysdeps/aarch64/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
6819 * sysdeps/unix/sysv/linux/aarch64/nptl/createthread.c: File removed.
6820
e23d3d26
VR
68212014-06-11 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
6822
6823 * sysdeps/powerpc/powerpc64/power7/strcmp.S: New file: Optimization.
6824 * sysdeps/powerpc/powerpc64/multiarch/strcmp.c: New file:
6825 multiarch strcmp for PPC64.
6826 * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: New file.
6827 * sysdeps/powerpc/powerpc64/multiarch/strcmp-power7.S: New file.
6828 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcmp
6829 multiarch optimizations.
6830 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
6831 (__libc_ifunc_impl_list): Likewise.
6832
42b1161e
SP
68332014-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
6834
6835 * benchtests/scripts/validate_benchout.py: New script.
6836 * benchtests/Makefile (bench-func): Call it.
6837 * benchtests/scripts/benchout.schema.json: New file.
6838
2d0fc4dc
CM
68392014-06-10 Chris Metcalf <cmetcalf@tilera.com>
6840
4a594c34
AZ
6841 * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h: Moved ...
6842 * sysdeps/tile/nptl/bits/pthreadtypes.h: ... here.
6843 * sysdeps/unix/sysv/linux/tile/nptl/bits/semaphore.h: Moved ...
6844 * sysdeps/tile/nptl/bits/semaphore.h: ... here.
6845 * sysdeps/unix/sysv/linux/tile/nptl/Makefile: Removed, merged into ...
6846 * sysdeps/unix/sysv/linux/tile/Makefile: ... here.
6847 * sysdeps/unix/sysv/linux/tile/nptl/clone.S: Moved ...
6848 * sysdeps/unix/sysv/linux/tile/clone.S: ... here.
6849 * sysdeps/unix/sysv/linux/tile/nptl/createthread.c: Moved ...
6850 * sysdeps/unix/sysv/linux/tile/createthread.c: ... here.
6851 * sysdeps/unix/sysv/linux/tile/nptl/lowlevellock.h: Moved ...
6852 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: ... here.
6853 * sysdeps/unix/sysv/linux/tile/nptl/pt-vfork.S: Moved ...
6854 * sysdeps/unix/sysv/linux/tile/pt-vfork.S: ... here.
6855 * sysdeps/unix/sysv/linux/tile/nptl/sysdep-cancel.h: Moved ...
6856 * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: ... here.
6857 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/c++-types.data:
2d0fc4dc 6858 Moved ...
4a594c34 6859 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/c++-types.data:
2d0fc4dc 6860 ... here.
4a594c34 6861 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/ld.abilist:
2d0fc4dc 6862 Moved ...
4a594c34
AZ
6863 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/ld.abilist: ... here.
6864 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libBrokenLocale.abilist:
2d0fc4dc 6865 Moved ...
4a594c34 6866 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libBrokenLocale.abilist:
2d0fc4dc 6867 ... here.
4a594c34 6868 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libanl.abilist:
2d0fc4dc 6869 Moved ...
4a594c34 6870 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libanl.abilist:
2d0fc4dc 6871 ... here.
4a594c34 6872 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libc.abilist:
2d0fc4dc 6873 Moved ...
4a594c34
AZ
6874 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: ... here.
6875 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libcrypt.abilist:
2d0fc4dc 6876 Moved ...
4a594c34 6877 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libcrypt.abilist:
2d0fc4dc 6878 ... here.
4a594c34 6879 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libdl.abilist:
2d0fc4dc 6880 Moved ...
4a594c34 6881 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libdl.abilist:
2d0fc4dc 6882 ... here.
4a594c34 6883 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libm.abilist:
2d0fc4dc 6884 Moved ...
4a594c34
AZ
6885 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist: ... here.
6886 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libnsl.abilist:
2d0fc4dc 6887 Moved ...
4a594c34 6888 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libnsl.abilist:
2d0fc4dc 6889 ... here.
4a594c34 6890 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libpthread.abilist:
2d0fc4dc 6891 Moved ...
4a594c34 6892 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libpthread.abilist:
2d0fc4dc 6893 ... here.
4a594c34 6894 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libresolv.abilist:
2d0fc4dc 6895 Moved ...
4a594c34 6896 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libresolv.abilist:
2d0fc4dc 6897 ... here.
4a594c34 6898 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/librt.abilist:
2d0fc4dc 6899 Moved ...
4a594c34
AZ
6900 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/librt.abilist: ... here.
6901 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libthread_db.abilist:
2d0fc4dc 6902 Moved ...
4a594c34 6903 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libthread_db.abilist:
2d0fc4dc 6904 ... here.
4a594c34 6905 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libutil.abilist:
2d0fc4dc 6906 Moved ...
4a594c34 6907 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libutil.abilist:
2d0fc4dc 6908 ... here.
4a594c34 6909 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/c++-types.data:
2d0fc4dc 6910 Moved ...
4a594c34 6911 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/c++-types.data:
2d0fc4dc 6912 ... here.
4a594c34 6913 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/ld.abilist:
2d0fc4dc 6914 Moved ...
4a594c34
AZ
6915 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/ld.abilist: ... here.
6916 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libBrokenLocale.abilist:
2d0fc4dc 6917 Moved ...
4a594c34 6918 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libBrokenLocale.abilist:
2d0fc4dc 6919 ... here.
4a594c34 6920 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libanl.abilist:
2d0fc4dc 6921 Moved ...
4a594c34 6922 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libanl.abilist:
2d0fc4dc 6923 ... here.
4a594c34 6924 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libc.abilist:
2d0fc4dc 6925 Moved ...
4a594c34
AZ
6926 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: ... here.
6927 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libcrypt.abilist:
2d0fc4dc 6928 Moved ...
4a594c34 6929 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libcrypt.abilist:
2d0fc4dc 6930 ... here.
4a594c34 6931 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libdl.abilist:
2d0fc4dc 6932 Moved ...
4a594c34
AZ
6933 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libdl.abilist: ... here.
6934 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libm.abilist:
2d0fc4dc 6935 Moved ...
4a594c34
AZ
6936 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist: ... here.
6937 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libnsl.abilist:
2d0fc4dc 6938 Moved ...
4a594c34 6939 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libnsl.abilist:
2d0fc4dc 6940 ... here.
4a594c34 6941 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libpthread.abilist:
2d0fc4dc 6942 Moved ...
4a594c34 6943 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libpthread.abilist:
2d0fc4dc 6944 ... here.
4a594c34 6945 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libresolv.abilist:
2d0fc4dc 6946 Moved ...
4a594c34 6947 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libresolv.abilist:
2d0fc4dc 6948 ... here.
4a594c34 6949 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/librt.abilist:
2d0fc4dc 6950 Moved ...
4a594c34
AZ
6951 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/librt.abilist: ... here.
6952 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libthread_db.abilist:
2d0fc4dc 6953 Moved ...
4a594c34 6954 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libthread_db.abilist:
2d0fc4dc 6955 ... here.
4a594c34 6956 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libutil.abilist:
2d0fc4dc 6957 Moved ...
4a594c34 6958 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libutil.abilist:
2d0fc4dc 6959 ... here.
4a594c34
AZ
6960 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/c++-types.data: Moved ...
6961 * sysdeps/unix/sysv/linux/tile/tilepro/c++-types.data: ... here.
6962 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/ld.abilist: Moved ...
6963 * sysdeps/unix/sysv/linux/tile/tilepro/ld.abilist: ... here.
6964 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libBrokenLocale.abilist:
2d0fc4dc 6965 Moved ...
4a594c34 6966 * sysdeps/unix/sysv/linux/tile/tilepro/libBrokenLocale.abilist:
2d0fc4dc 6967 ... here.
4a594c34
AZ
6968 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libanl.abilist: Moved ...
6969 * sysdeps/unix/sysv/linux/tile/tilepro/libanl.abilist: ... here.
6970 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libc.abilist: Moved ...
6971 * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: ... here.
6972 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libcrypt.abilist: Moved ...
6973 * sysdeps/unix/sysv/linux/tile/tilepro/libcrypt.abilist: ... here.
6974 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libdl.abilist: Moved ...
6975 * sysdeps/unix/sysv/linux/tile/tilepro/libdl.abilist: ... here.
6976 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libm.abilist: Moved ...
6977 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: ... here.
6978 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libnsl.abilist: Moved ...
6979 * sysdeps/unix/sysv/linux/tile/tilepro/libnsl.abilist: ... here.
6980 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libpthread.abilist:
2d0fc4dc 6981 Moved ...
4a594c34
AZ
6982 * sysdeps/unix/sysv/linux/tile/tilepro/libpthread.abilist: ... here.
6983 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libresolv.abilist:
2d0fc4dc 6984 Moved ...
4a594c34
AZ
6985 * sysdeps/unix/sysv/linux/tile/tilepro/libresolv.abilist: ... here.
6986 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/librt.abilist: Moved ...
6987 * sysdeps/unix/sysv/linux/tile/tilepro/librt.abilist: ... here.
6988 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libthread_db.abilist:
2d0fc4dc 6989 Moved ...
4a594c34
AZ
6990 * sysdeps/unix/sysv/linux/tile/tilepro/libthread_db.abilist: ... here.
6991 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libutil.abilist: Moved ...
6992 * sysdeps/unix/sysv/linux/tile/tilepro/libutil.abilist: ... here.
6993 * sysdeps/unix/sysv/linux/tile/nptl/vfork.S: Moved ...
6994 * sysdeps/unix/sysv/linux/tile/vfork.S: ... here.
6995 * sysdeps/unix/sysv/linux/tile/nptl/waitpid.S: Moved ...
6996 * sysdeps/unix/sysv/linux/tile/waitpid.S: ... here.
2d0fc4dc 6997
0570cfed
W
69982014-06-10 Wilco <wdijkstr@arm.com>
6999
7000 * math/test-fenv-return.c: New file.
7001 * math/Makefile: Add new test test-fenv-return.
7002
f8ba1b56
JM
70032014-06-10 Joseph Myers <joseph@codesourcery.com>
7004
7005 [BZ #17042]
7006 * sysdeps/i386/fpu/e_log2.S (__ieee754_log2): Take absolete value
7007 when x - 1 is zero.
7008 * sysdeps/i386/fpu/e_log2f.S (__ieee754_log2f): Likewise.
7009 * sysdeps/i386/fpu/e_log2l.S (__ieee754_log2l): Likewise.
7010 * sysdeps/ieee754/ldbl-128/e_log2l.c (__ieee754_log2l): Return
7011 0.0L for an argument of 1.0L.
7012 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l):
7013 Likewise.
7014 * sysdeps/x86_64/fpu/e_log2l.S (__ieee754_log2l): Take absolute
7015 value when x - 1 is zero.
7016 * math/libm-test.inc (log2_test): Use ALL_RM_TEST.
7017 * sysdeps/i386/fpu/libm-test-ulps: Update.
7018 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7019
2c3520d9
BO
70202014-06-09 Bernard Ogden <bernie.ogden@linaro.org>
7021
7022 [BZ #15119]
7023 * ports/sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.c: Remove file.
7024
acaa4d24
RM
70252014-06-09 Roland McGrath <roland@hack.frob.com>
7026
7027 * nptl/sysdeps/sh/tls.h (TLS_DEFINE_INIT_TP): New macro.
7028 * nptl/sysdeps/unix/sysv/linux/sh/createthread.c: File removed.
7029
962b744d
RM
70302014-06-09 Roland McGrath <roland@hack.frob.com>
7031
d752f0cc
RM
7032 * sysdeps/m68k/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
7033 * sysdeps/unix/sysv/linux/m68k/nptl/createthread.c: File removed.
7034
34eda6d1
RM
7035 * sysdeps/hppa/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
7036 * sysdeps/unix/sysv/linux/hppa/nptl/createthread.c: File removed.
7037
50f0a637
RM
7038 * sysdeps/mips/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
7039 * sysdeps/unix/sysv/linux/mips/nptl/createthread.c: File removed.
7040
08f41f04
RM
7041 * sysdeps/arm/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
7042 * sysdeps/unix/sysv/linux/arm/createthread.c: File removed.
7043
962b744d
RM
7044 * nptl/sysdeps/pthread/createthread.c (TLS_DEFINE_INIT_TP): New macro,
7045 if not already defined.
7046 (do_clone): Use that in place of PREPARE_CREATE and TLS_VALUE.
7047 * nptl/sysdeps/x86_64/tls.h (TLS_DEFINE_INIT_TP): New macro.
7048 * nptl/sysdeps/i386/tls.h (tls_fill_user_desc): New function.
7049 (TLS_INIT_TP): Use it.
7050 (TLS_DEFINE_INIT_TP): New macro.
7051 * sysdeps/unix/sysv/linux/i386/createthread.c: File removed.
7052
09f19b05
JM
70532014-06-09 Joseph Myers <joseph@codesourcery.com>
7054
7055 * conform/data/termios.h-data [POSIX] (IUCLC): Do not expect
7056 constant.
7057 [POSIX] (IXANY): Likewise.
7058 [POSIX] (OLCUC): Likewise.
7059 [POSIX || POSIX2008] (CBAUD): Do not allow.
7060 [POSIX || POSIX2008] (DEFECHO): Likewise.
7061 [POSIX || POSIX2008] (ECHOCTL): Likewise.
7062 [POSIX || POSIX2008] (ECHOKE): Likewise.
7063 [POSIX || POSIX2008] (ECHOPRT): Likewise.
7064 [POSIX || POSIX2008] (EXTA): Likewise.
7065 [POSIX || POSIX2008] (EXTB): Likewise.
7066 [POSIX || POSIX2008] (FLUSHO): Likewise.
7067 [POSIX || POSIX2008] (LOBLK): Likewise.
7068 [POSIX || POSIX2008] (PENDIN): Likewise.
7069 [POSIX || POSIX2008] (SWTCH): Likewise.
7070 [POSIX || POSIX2008] (VDISCARD): Likewise.
7071 [POSIX || POSIX2008] (VDSUSP): Likewise.
7072 [POSIX || POSIX2008] (VLNEXT): Likewise.
7073 [POSIX || POSIX2008] (VREPRINT): Likewise.
7074 [POSIX || POSIX2008] (VSTATUS): Likewise.
7075 [POSIX || POSIX2008] (VWERASE): Likewise.
7076 (B*): Change to B[0123456789]*.
7077 * conform/data/time.h-data [POSIX || UNIX98]
7078 (CLOCK_PROCESS_CPUTIME_ID): Do not expect constant.
7079 [POSIX || UNIX98] (CLOCK_THREAD_CPUTIME_ID): Likewise.
7080 [POSIX || UNIX98] (CLOCK_MONOTONIC): Likewise.
7081 [POSIX] (tm_*): Do not allow.
7082
686554bf
JM
70832014-06-07 Joseph Myers <joseph@codesourcery.com>
7084
7085 * Makefile (install): Don't set LANGUAGE.
7086 * Makefile.in (install): Likewise.
7087 * assert/Makefile (test-assert-ENV): Remove variable.
7088 (test-assert-perr-ENV): Likewise.
7089 * elf/Makefile (neededtest4-ENV): Likewise.
7090 * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
7091 [$(cross-compiling) = no]: Don't set LANGUAGE.
7092 * io/ftwtest-sh (LANG): Remove variable.
7093 * libio/Makefile (tst-widetext-ENV): Likewise.
7094 * manual/install.texi (Running make install): Don't refer to
7095 environment settings for make install.
7096 * INSTALL: Regenerated.
7097 * nptl/tst-tls6.sh: Don't set LANG.
7098 * posix/globtest.sh (LANG): Remove variable.
7099 * string/Makefile (tester-ENV): Likewise.
7100 (inl-tester-ENV): Likewise.
7101 (noinl-tester-ENV): Likewise.
7102 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
7103 [$(cross-compiling) = no]: Don't set LANGUAGE.
7104 * timezone/Makefile (build-testdata): Use $(built-program-cmd)
7105 without explicit environment settings.
7106
68e6b6b1
RM
71072014-06-06 Roland McGrath <roland@hack.frob.com>
7108
7109 * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h: Moved ...
7110 * sysdeps/sh/nptl/bits/pthreadtypes.h: ... here.
7111 * nptl/sysdeps/unix/sysv/linux/sh/bits/semaphore.h: Moved ...
7112 * sysdeps/sh/nptl/bits/semaphore.h: ... here.
7113
4d3ae034
CM
71142014-06-06 Chris Metcalf <cmetcalf@tilera.com>
7115
7116 * crypt/crypt-private.h [DOS]: Add some includes taken from the
7117 other files in the crypt directory.
7118 * crypt/crypt.c: Remove duplicate includes.
7119 * crypt/crypt-entry.c: Likewise.
7120 * crypt/crypt_util.c: Likewise.
7121
8540f6d2
JM
71222014-06-06 Joseph Myers <joseph@codesourcery.com>
7123
7124 * Makeconfig (run-program-env): New variable.
7125 (run-program-prefix-before-env): Likewise.
7126 (run-program-prefix-after-env): Likewise.
7127 (run-program-prefix): Define in terms of new variables.
7128 (built-program-cmd-before-env): New variable.
7129 (built-program-cmd-after-env): Likewise.
7130 (built-program-cmd): Define in terms of new variables.
7131 (test-program-prefix-before-env): New variable.
7132 (test-program-prefix-after-env): Likewise.
7133 (test-program-prefix): Define in terms of new variables.
7134 (test-program-cmd-before-env): New variable.
7135 (test-program-cmd-after-env): Likewise.
7136 (test-program-cmd): Define in terms of new variables.
7137 * Rules (make-test-out): Use $(run-program-env).
7138 * scripts/cross-test-ssh.sh (env_blacklist): Remove variable.
7139 (help): Do not mention environment variables. Mention
7140 --timeoutfactor option.
7141 (timeoutfactor): New variable.
7142 (blacklist_exports): Remove function.
7143 (exports): Remove variable.
7144 (command): Do not include ${exports}.
7145 * manual/install.texi (Configuring and compiling): Do not mention
7146 test wrappers preserving environment variables. Mention that last
7147 assignment to a variable must take precedence.
7148 * INSTALL: Regenerated.
7149 * benchtests/Makefile (run-bench): Use $(run-program-env).
7150 * catgets/Makefile ($(objpfx)test1.cat): Use
7151 $(built-program-cmd-before-env), $(run-program-env) and
7152 $(built-program-cmd-after-env).
7153 ($(objpfx)test2.cat): Do not specify environment variables
7154 explicitly.
7155 ($(objpfx)de/libc.cat): Use $(built-program-cmd-before-env),
7156 $(run-program-env) and $(built-program-cmd-after-env).
7157 ($(objpfx)test-gencat.out): Use $(test-program-cmd-before-env),
7158 $(run-program-env) and $(test-program-cmd-after-env).
7159 ($(objpfx)sample.SJIS.cat): Do not specify environment variables
7160 explicitly.
7161 * catgets/test-gencat.sh: Use test_program_cmd_before_env,
7162 run_program_env and test_program_cmd_after_env arguments.
7163 * elf/Makefile ($(objpfx)tst-pathopt.out): Use $(run-program-env).
7164 * elf/tst-pathopt.sh: Use run_program_env argument.
7165 * iconvdata/Makefile ($(objpfx)iconv-test.out): Use
7166 $(test-wrapper-env) and $(run-program-env).
7167 * iconvdata/run-iconv-test.sh: Use test_wrapper_env and
7168 run_program_env arguments.
7169 * iconvdata/tst-table.sh: Do not set GCONV_PATH explicitly.
7170 * intl/Makefile ($(objpfx)tst-gettext.out): Use
7171 $(test-program-prefix-before-env), $(run-program-env) and
7172 $(test-program-prefix-after-env).
7173 ($(objpfx)tst-gettext2.out): Likewise.
7174 * intl/tst-gettext.sh: Use test_program_prefix_before_env,
7175 run_program_env and test_program_prefix_after_env arguments.
7176 * intl/tst-gettext2.sh: Likewise.
7177 * intl/tst-gettext4.sh: Do not set environment variables
7178 explicitly.
7179 * intl/tst-gettext6.sh: Likewise.
7180 * intl/tst-translit.sh: Likewise.
7181 * malloc/Makefile ($(objpfx)tst-mtrace.out): Use
7182 $(test-program-prefix-before-env), $(run-program-env) and
7183 $(test-program-prefix-after-env).
7184 * malloc/tst-mtrace.sh: Use test_program_prefix_before_env,
7185 run_program_env and test_program_prefix_after_env arguments.
7186 * math/Makefile (run-regen-ulps): Use $(run-program-env).
7187 * nptl/Makefile ($(objpfx)tst-tls6.out): Use $(run-program-env).
7188 * nptl/tst-tls6.sh: Use run_program_env argument. Set LANG=C
7189 explicitly with each use of ${test_wrapper_env}.
7190 * posix/Makefile ($(objpfx)wordexp-tst.out): Use
7191 $(test-program-prefix-before-env), $(run-program-env) and
7192 $(test-program-prefix-after-env).
7193 * posix/tst-getconf.sh: Do not set environment variables
7194 explicitly.
7195 * posix/wordexp-tst.sh: Use test_program_prefix_before_env,
7196 run_program_env and test_program_prefix_after_env arguments.
7197 * stdio-common/tst-printf.sh: Do not set environment variables
7198 explicitly.
7199 * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Use
7200 $(test-program-prefix-before-env), $(run-program-env) and
7201 $(test-program-prefix-after-env).
7202 * stdlib/tst-fmtmsg.sh: Use test_program_prefix_before_env,
7203 run_program_env and test_program_prefix_after_env arguments.
7204 Split $test calls into $test_pre and $test.
7205 * timezone/Makefile (build-testdata): Use
7206 $(built-program-cmd-before-env), $(run-program-env) and
7207 $(built-program-cmd-after-env).
7208
ed36bfa1
AZ
72092014-06-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7210
7211 * sysdeps/powerpc/powerpc64/power7/strncat.S [STRLEN]: Define it as
7212 strlen for non SHARED builds.
7213
fc75bf46
SP
72142014-06-05 Siddhesh Poyarekar <siddhesh@redhat.com>
7215
7216 * nptl/allocatestack.c (check_list): Inlined function...
7217 (__reclaim_stacks): ... here.
7218
d89b3d80
OB
72192014-06-05 Ondřej Bílka <neleai@seznam.cz>
7220
7221 [BZ #15698]
7222 * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Fix
7223 memory overrun.
7224
2bf18041
JM
72252014-06-05 Joseph Myers <joseph@codesourcery.com>
7226
7227 * Rules (make-test-out): Include
7228 LOCPATH=$(common-objpfx)localedata in default environment.
7229 * debug/Makefile (tst-chk1-ENV): Remove variable.
7230 (tst-chk2-ENV): Likewise.
7231 (tst-chk3-ENV): Likewise.
7232 (tst-chk4-ENV): Likewise.
7233 (tst-chk5-ENV): Likewise.
7234 (tst-chk6-ENV): Likewise.
7235 (tst-lfschk1-ENV): Likewise.
7236 (tst-lfschk2-ENV): Likewise.
7237 (tst-lfschk3-ENV): Likewise.
7238 (tst-lfschk4-ENV): Likewise.
7239 (tst-lfschk5-ENV): Likewise.
7240 (tst-lfschk6-ENV): Likewise.
7241 * iconvdata/Makefile (bug-iconv6-ENV): Likewise.
7242 (tst-iconv7-ENV): Likewise.
7243 * intl/Makefile (LOCPATH-ENV): Likewise.
7244 (tst-codeset-ENV): Likewise.
7245 (tst-gettext3-ENV): Likewise.
7246 (tst-gettext5-ENV): Likewise.
7247 * libio/Makefile (tst-widetext-ENV): Don't set LOCPATH.
7248 (tst-fopenloc-ENV): Likewise.
7249 (tst-fgetws-ENV): Remove variable.
7250 (tst-ungetwc1-ENV): Likewise.
7251 (tst-ungetwc2-ENV): Likewise.
7252 (bug-ungetwc2-ENV): Likewise.
7253 (tst-swscanf-ENV): Likewise.
7254 (bug-ftell-ENV): Likewise.
7255 (tst-fgetwc-ENV): Likewise.
7256 (tst-fseek-ENV): Likewise.
7257 (tst-ftell-partial-wide-ENV): Likewise.
7258 (tst-ftell-active-handler-ENV): Likewise.
7259 (tst-ftell-append-ENV): Likewise.
7260 * posix/Makefile (tst-fnmatch-ENV): Likewise.
7261 (tst-regexloc-ENV): Likewise.
7262 (bug-regex1-ENV): Likewise.
7263 (tst-regex-ENV): Likewise.
7264 (tst-regex2-ENV): Likewise.
7265 (bug-regex5-ENV): Likewise.
7266 (bug-regex6-ENV): Likewise.
7267 (bug-regex17-ENV): Likewise.
7268 (bug-regex18-ENV): Likewise.
7269 (bug-regex19-ENV): Likewise.
7270 (bug-regex20-ENV): Likewise.
7271 (bug-regex22-ENV): Likewise.
7272 (bug-regex23-ENV): Likewise.
7273 (bug-regex25-ENV): Likewise.
7274 (bug-regex26-ENV): Likewise.
7275 (bug-regex30-ENV): Likewise.
7276 (bug-regex32-ENV): Likewise.
7277 (bug-regex33-ENV): Likewise.
7278 (bug-regex34-ENV): Likewise.
7279 (bug-regex35-ENV): Likewise.
7280 (tst-rxspencer-ENV): Likewise.
7281 (tst-rxspencer-no-utf8-ENV): Likewise.
7282 * stdio-common/Makefile (tst-sprintf-ENV): Likewise.
7283 (tst-sscanf-ENV): Likewise.
7284 (tst-swprintf-ENV): Likewise.
7285 (tst-swscanf-ENV): Likewise.
7286 (test-vfprintf-ENV): Likewise.
7287 (scanf13-ENV): Likewise.
7288 (bug14-ENV): Likewise.
7289 (tst-grouping-ENV): Likewise.
7290 * stdlib/Makefile (tst-strtod-ENV): Likewise.
7291 (tst-strtod3-ENV): Likewise.
7292 (tst-strtod4-ENV): Likewise.
7293 (tst-strtod5-ENV): Likewise.
7294 (testmb2-ENV): Likewise./
7295 * string/Makefile (tst-strxfrm-ENV): Likewise.
7296 (tst-strxfrm2-ENV): Likewise.
7297 (bug-strcoll1-ENV): Likewise.
7298 (test-strcasecmp-ENV): Likewise.
7299 (test-strncasecmp-ENV): Likewise.
7300 * time/Makefile (tst-strptime-ENV): Likewise.
7301 (tst-ftime_l-ENV): Likewise.
7302 * wcsmbs/Makefile (tst-btowc-ENV): Likewise.
7303 (tst-mbrtowc-ENV): Likewise.
7304 (tst-wcrtomb-ENV): Likewise.
7305 (tst-mbrtowc2-ENV): Likewise.
7306 (tst-c16c32-1-ENV): Likewise.
7307 (tst-mbsnrtowcs-ENV): Likewise.
7308
cd1fb604
OB
73092014-06-05 Ondřej Bílka <neleai@seznam.cz>
7310
7311 * manual/resource.texi (How to get information about the memory
7312 subsystem?): Fix typo.
7313 Reported by Peon de la Parra Ivan <peon@keba.com>
7314
b42eca7d
GY
73152014-06-03 Guo Yixuan <culu.gyx@gmail.com>
7316
7317 [BZ #16882]
7318 * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S
7319 (pthread_spin_lock): Branch out of spin loop to proper location.
7320 * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S
7321 (pthread_spin_lock): Likewise.
7322
902b71f9
DM
7323 * nptl/tst-spin4.c: New test.
7324 * nptl/Makefile (tests): Add tst-spin4.
7325
f9d2d032
AS
73262014-06-03 Andreas Schwab <schwab@suse.de>
7327
7328 [BZ #15946]
7329 * resolv/res_send.c (send_dg): Reload file descriptor after
7330 calling reopen.
7331
cf7bfd28
SL
73322014-06-03 Stefan Liebler <stli@linux.vnet.ibm.com>
7333
7334 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
7335
111cc714
RH
73362014-06-03 Richard Henderson <rth@redhat.com>
7337
89b4bd6b
RH
7338 * sysdeps/unix/sysv/linux/aarch64/pt-vfork.c: New file.
7339 * sysdeps/unix/sysv/linux/aarch64/nptl/pt-vfork.S: Remove file.
7340 * sysdeps/unix/sysv/linux/aarch64/vfork.S (__vfork): Incorporate
7341 SAVE_PID and RESTORE_PID blocks from pt-vfork.S. Map 0 to INT_MIN
7342 in the SAVE_PID block.
7343 (__libc_vfork): New alias.
71840409 7344 * sysdeps/unix/sysv/linux/aarch64/nptl/vfork.S: Remove file.
89b4bd6b 7345
111cc714
RH
7346 * sysdeps/unix/sysv/linux/aarch64/clone.S (__clone): Save args for
7347 child in registers, not on the stack. Remove RESET_PID conditionals.
7348 * sysdeps/unix/sysv/linux/aarch64/nptl/clone.S: Remove file.
7349
ccc39911
MS
73502014-06-03 Marcus Shawcroft <marcus.shawcroft@arm.com>
7351
7352 * sysdeps/aarch64/libm-test-ulps: Regenerate.
7353
693096cc
W
73542014-06-03 Wilco <wdijkstr@arm.com>
7355
7356 * sysdeps/aarch64/fpu/math_private.h (libc_fesetround_aarch64)
7357 (libc_feholdexcept_setround_aarch64) (libc_feholdsetround_aarch64)
7358 (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
7359 Use _FPU_FPCR_RM_MASK for rounding mask rather than FE_TOWARDZERO.
7360 * sysdeps/aarch64/fpu/get-rounding-mode.h (get_rounding_mode):
7361 Likewise.
7362
0b4366bc
W
73632014-06-03 Wilco <wdijkstr@arm.com>
7364
7365 * sysdeps/aarch64/fpu/math_private.h
7366 (libc_feholdexcept_aarch64) (libc_feholdexcept_setround_aarch64)
7367 (libc_fetestexcept_aarch64) (libc_fesetenv_aarch64)
7368 (libc_feupdateenv_test_aarch64) (libc_feholdsetround_aarch64)
7369 (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
7370 Fix declarations.
7371
8747cd03
KS
73722014-06-03 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
7373
7374 * crypt/crypt-private.h: Include ufc-crypt.h.
7375 (__b64_from_24bit): Declare extern.
7376 * crypt/crypt_util.c(__b64_from_24bit): New function.
7377 (b64t): New static const variable.
7378 * crypt/md5-crypt.c (b64_from_24bit): Remove function.
7379 (b64t): Remove variable.
7380 (__md5_crypt_r): Replace b64_from_24bit with __b64_from_24bit.
7381 * crypt/sha256-crypt.c: Include crypt-private.h.
7382 (b64t): Remove variable.
7383 (__sha256_crypt_r): Remove b64_from_24bit and replace
7384 with __b64_from_24bit.
7385 * crypt/sha512-crypt.c: Likewise.
7386
d936d379
RM
73872014-06-02 Roland McGrath <roland@hack.frob.com>
7388
7389 * nptl/sysdeps/unix/sysv/linux/sh/vfork.S: Moved ...
7390 * sysdeps/unix/sysv/linux/sh/vfork.S: ... here.
7391 Label the code __libc_vfork rather than __vfork.
7392 [!NOT_IN_libc] (vfork): Define as weak alias.
7393 [!NOT_IN_libc] (__vfork): Define as strong alias, and libc_hidden_def.
7394 * sysdeps/unix/sysv/linux/sh/pt-vfork.S: New file.
7395 * nptl/sysdeps/unix/sysv/linux/sh/pt-vfork.S: File removed.
7396
9fa76613
SP
73972014-06-02 Siddhesh Poyarekar <siddhesh@redhat.com>
7398
7399 * malloc/malloc.c (malloc_info): Fix format specifier for
7400 n_mmaps.
7401
a88dadbe
W
74022014-06-02 Wilco <wdijkstr@arm.com>
7403
7404 * sysdeps/aarch64/fpu/fpu_control.h (_FPU_SETCW): Remove ISB after
7405 FPCR write.
7406
c95b3011
W
74072014-06-02 Wilco <wdijkstr@arm.com>
7408
7409 [BZ #17009]
7410 * sysdeps/aarch64/fpu/feupdateenv (feupdateenv):
7411 Rewrite to reduce FPCR/FPSR accesses.
7412
6b4d7a90
DM
74132014-06-01 David S. Miller <davem@davemloft.net>
7414
7415 * sysdeps/sparc/fpu/libm-test-ulps: Update.
7416
30f3d07c
DM
74172014-05-31 David S. Miller <davem@davemloft.net>
7418
7419 * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Force computations
7420 to occur in round to nearest mode when |x| >= 2.0
7421
74f31c18
RH
74222014-05-30 Richard Henderson <rth@twiddle.net>
7423
f0712b54
RH
7424 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Remove.
7425 (PSEUDO_RET_NOERRNO): Remove.
7426 (ret): Don't redefine.
7427 (ret_NOERRNO): Define in terms of ret.
7428 (ret_ERRVAL): Likewise.
7429
74f31c18
RH
7430 * sysdeps/unix/sysv/linux/aarch64/ioctl.S (__ioctl): Remove the
7431 use of PSEUDO_RET; perform the error check directly.
7432
30477995
MM
74332014-05-30 Marko Myllynen <myllynen@redhat.com>
7434
7435 * sysdeps/x86_64/link-defines.sym (BND_SIZE): Replace __int128
7436 with __int128_t.
7437
62a58816
SP
74382014-05-30 Siddhesh Poyarekar <siddhesh@redhat.com>
7439
7440 * malloc/malloc (malloc_info): Fix formatting.
7441
4d653a59
SP
74422014-05-30 Siddhesh Poyarekar <siddhesh@redhat.com>
7443 Roland McGrath <roland@hack.frob.com>
7444
7445 * malloc/malloc (malloc_info): Also print mmapped statistics.
7446
5190c17f
RM
74472014-05-30 Roland McGrath <roland@hack.frob.com>
7448
7449 * sysdeps/unix/sysv/linux/m68k/arch-fork.h: New file.
7450 * sysdeps/unix/sysv/linux/m68k/nptl/fork.c: File removed.
7451
987c0269
OB
74522014-05-30 Ondřej Bílka <neleai@seznam.cz>
7453
7454 * malloc/malloc.c (malloc_info): Inline mi_arena.
7455
af4e8ef9
RH
74562014-05-29 Richard Henderson <rth@twiddle.net>
7457
1670e207
RH
7458 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (INTERNAL_VSYSCALL_NCS):
7459 Remove comma before expanding ASM_ARGS_##nr.
7460 (INTERNAL_SYSCALL_RAW): Make _sys_result signed, instead of casting.
7461 Make _x0 a strict output; make _x8 a strict input; adjust expansion
7462 of ASM_ARGS_##nr.
7463 (CLOBBER_ARGS_0, CLOBBER_ARGS_1, CLOBBER_ARGS_2): Remove.
7464 (CLOBBER_ARGS_3, CLOBBER_ARGS_4, CLOBBER_ARGS_5): Remove.
7465 (CLOBBER_ARGS_6, CLOBBER_ARGS_7): Remove.
7466 (ASM_ARGS_1): Add leading comma.
7467
11a28aee
RH
7468 * sysdeps/unix/sysv/linux/aarch64/sysdep.h [NOT_IN_libc]
7469 (SYSCALL_ERROR_HANDLER): Use tpidr_el0 instead of a call
7470 to __errno_location.
7471 * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data (libpthread.so):
7472 Remove the expected plt for __errno_location.
7473
a17e5ffb 7474 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
11a28aee 7475 [NOT_IN_libc] (SINGLE_THREAD_P): Use tpidr_el0 instead of a
a17e5ffb
RH
7476 call to __read_tp.
7477
b5be4597
RH
7478 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
7479 Always allocate 64 bytes of stack frame. Use ldp/stp to create
7480 it and break it down.
7481 (DOCARGS_0, DOCARGS_1): Do nothing.
7482 (DOCARGS_2): Update to store into the new stack frame.
7483 (DOCARGS_3, DOCARGS_4, DOCARGS_5, DOCARGS_6): Likewise.
7484 (UNDOCARGS_1): Update to restore from the new stack frame.
7485 (UNDOCARGS_2, UNDOCARGS_3, UNDOCARGS_4): Likewise.
7486 (UNDOCARGS_5, UNDOCARGS_6): Likewise.
7487
645d44ab
RH
7488 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
7489 (SINGLE_THREAD_P): New parameter for result regno.
7490 (PSEUDO): Update to match; use cbz instead of beq.
7491
a8b4f04a
RH
7492 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
7493 Use ENTRY to define the _nocancel entry point. Share the syscall
7494 and syscall error check paths with the cancel path.
7495 (PSEUDO_END): New.
7496
af4e8ef9
RH
7497 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Adjust
7498 whitespace; tabs before and after asm mnemonics.
7499
26b0d2e1
EW
75002014-05-29 Eric Wong <normalperson@yhbt.net>
7501
7502 [BZ #15132]
7503 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
7504 Call fstat64 or stat64 internally, depending on arguments passed.
7505 Replace stat buffer argument with file descriptor argument.
7506 (INTERNAL_STATVFS): Update arguments to match __statvfs_getflags.
7507 * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
7508 Pass fd to __internal_statvfs instead of calling fstat64.
7509 * sysdeps/unix/sysv/linux/fstatvfs64.c (__fstatvfs64):
7510 Pass fd to __internal_statvfs64 instead of calling fstat64.
7511 * sysdeps/unix/sysv/linux/statvfs.c (statvfs):
7512 Pass -1 to __internal_statvfs instead of calling stat64.
7513 * sysdeps/unix/sysv/linux/statvfs64.c (__statvfs64):
7514 Pass -1 to __internal_statvfs64 instead of calling stat64.
7515
1efe2bd9
RM
75162014-05-28 Roland McGrath <roland@hack.frob.com>
7517
0d3b7a19
RM
7518 * sysdeps/unix/sysv/linux/sh/clone.S: Deconditionalize the code
7519 that was previously under [RESET_PID].
7520 * nptl/sysdeps/unix/sysv/linux/sh/clone.S: File removed.
7521
1efe2bd9
RM
7522 * sysdeps/unix/sysv/linux/tile/arch-fork.h: New file.
7523 * sysdeps/unix/sysv/linux/tile/nptl/fork.c: File removed.
7524
a6bea3ca
RM
75252014-05-27 Roland McGrath <roland@hack.frob.com>
7526
30b6629e
RM
7527 * sysdeps/unix/sysv/linux/ia64/arch-fork.h: New file.
7528
a6bea3ca
RM
7529 * sysdeps/unix/sysv/linux/sh/arch-fork.h: New file.
7530 * nptl/sysdeps/unix/sysv/linux/sh/fork.c: File removed.
7531
3dfb9a5c
OB
75322014-05-27 Ondřej Bílka <neleai@seznam.cz>
7533
7534 * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate code.
7535
774f9285
AS
75362014-05-27 Andreas Schwab <schwab@suse.de>
7537
7538 * csu/libc-tls.c (__libc_setup_tls): Remove second argument from
7539 TLS_INIT_TP macro.
7540 * elf/dl-load.c (_dl_map_object_from_fd): Likewise.
7541 * elf/rtld.c (init_tls, dl_main): Likewise.
7542 * nptl/sysdeps/i386/tls.h (TLS_INIT_TP): Likewise.
7543 * nptl/sysdeps/powerpc/tls.h (TLS_INIT_TP): Likewise.
7544 * nptl/sysdeps/s390/tls.h (TLS_INIT_TP): Likewise.
7545 * nptl/sysdeps/sh/tls.h (TLS_INIT_TP): Likewise.
7546 * nptl/sysdeps/sparc/tls.h (TLS_INIT_TP): Likewise.
7547 * nptl/sysdeps/x86_64/tls.h (TLS_INIT_TP): Likewise.
7548 * sysdeps/aarch64/nptl/tls.h (TLS_INIT_TP): Likewise.
7549 * sysdeps/alpha/nptl/tls.h (TLS_INIT_TP): Likewise.
7550 * sysdeps/arm/nptl/tls.h (TLS_INIT_TP): Likewise.
7551 * sysdeps/hppa/nptl/tls.h (TLS_INIT_TP): Likewise.
7552 * sysdeps/ia64/nptl/tls.h (TLS_INIT_TP): Likewise.
7553 * sysdeps/m68k/nptl/tls.h (TLS_INIT_TP): Likewise.
7554 * sysdeps/mach/hurd/i386/tls.h (_hurd_tls_init): Likewise.
7555 * sysdeps/microblaze/nptl/tls.h (TLS_INIT_TP): Likewise.
7556 * sysdeps/mips/nptl/tls.h (TLS_INIT_TP): Likewise.
7557 * sysdeps/tile/nptl/tls.h (TLS_INIT_TP): Likewise.
7558 * sysdeps/generic/tls.h: Update description.
7559
36ffe739
WN
75602014-05-27 Will Newton <will.newton@linaro.org>
7561
7562 [BZ #16990]
7563 * sysdeps/arm/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Save
7564 and restore r2 rather than just restoring.
7565
2482ae43
SP
75662014-05-27 Siddhesh Poyarekar <siddhesh@redhat.com>
7567
7568 [BZ #16724]
7569 * libio/tst-ftell-append.c: New test case.
7570 * libio/Makefile (tests): Add test case.
7571 * libio/fileops.c (do_ftell): Don't trust _IO_read_end when in
7572 append mode.
7573 * libio/wfileops.c (do_ftell_wide): Likewise.
7574
3d1024e8
AZ
75752014-05-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7576
bab90016
AZ
7577 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
7578
c7a8d667
AZ
7579 * nptl/sysdeps/unix/sysv/linux/powerpc/Versions: Remove, merge into
7580 ...
7581 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions: ... here.
7582 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
7583 * nptl/sysdeps/unix/sysv/linux/powerpc/Makefile: Moved rules to ...
7584 * sysdeps/unix/sysv/linux/powerpc/Makefile: ... here.
7585 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: Moved ...
7586 * sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: ... here.
7587 * nptl/sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Moved ...
7588 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: ...here.
7589 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h:
7590 Moved ...
7591 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: ... here.
7592 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h:
7593 Moved ...
7594 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: ... here.
7595 * nptl/sysdeps/unix/sysv/linux/powerpc/createthread.c: Moved ...
7596 * sysdeps/unix/sysv/linux/powerpc/createthread.c: ... here.
7597 * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Moved ...
7598 * sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: ... here.
7599 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: Moved
7600 ...
7601 * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: ... here.
7602 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c:
7603 Moved ...
7604 * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c: ...
7605 here.
7606 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: Moved
7607 ...
7608 * sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: ... here.
7609 * nptl/sysdeps/unix/sysv/linux/powerpc/sem_post.c: Moved ...
7610 * sysdeps/unix/sysv/linux/powerpc/sem_post.c: ... here.
7611
daee7851
AZ
7612 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Moved ...
7613 * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: ... here.
7614 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: Moved ...
7615 * sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: ... here.
7616
50a40819
AZ
7617 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Remove,
7618 merge into ...
7619 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: ... here.
7620 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: Moved
7621 ...
7622 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: ... here.
7623 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: Moved
7624 ...
7625 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: ... here.
7626 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
7627 Moved ...
7628 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c: ...
7629 here.
7630 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
7631 Moved ...
7632 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c: ... here.
7633 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
7634 Moved ...
7635 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c: ... here.
7636
8464c2a1
AZ
7637 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Remove
7638 conditional [RESET_PID].
7639 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Likewise.
7640 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: File
7641 removed.
7642 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: File
7643 removed.
7644
3d1024e8
AZ
7645 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Include
7646 <tcb-offsets.h>.
7647 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
7648 (__libc_vfork): New strong alias.
7649 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/pt-vfork.S: File
7650 removed.
7651 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: File
7652 Removed.
7653
7654 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Include
7655 <tcb-offsets.h>.
7656 (__vfork): Incorporate save/retore of PID from nptl/vfork.S here.
7657 (__libc_vfork): New strong alias.
7658 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/pt-vfork.S: File
7659 removed.
7660 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: File
7661 removed.
7662
fdfd175d
CD
76632014-05-26 Carlos O'Donell <carlos@redhat.com>
7664
7665 * malloc/malloc.c (mi_arena): New function.
7666 (malloc_info): Remove nested function mi_arena. Call non-nosted
7667 function mi_arena.
7668
d298c416
AZ
76692014-05-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7670
7671 * sysdeps/powerpc/powerpc32/power4/memset.S (memset): Replace insrdi
7672 by insrwi.
7673 * sysdeps/powerpc/powerpc32/power6/memset.S (memset): Likewise.
7674 * sysdeps/powerpc/powerpc32/power7/memset.S (memset): Likewise.
7675 * sysdeps/powerpc/powerpc32/power7/memchr.S (memchr): Likewise.
7676 * sysdeps/powerpc/powerpc32/power7/memrchr.S (memrchr): Likewise.
7677 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S (rawmemchr): Likewise.
7678 * sysdeps/powerpc/powerpc32/power7/strchr.S (strchr): Likewise.
7679 * sysdeps/powerpc/powerpc32/power7/strchrnul.S (strchrnul): Likewise.
7680
b60ea6ff
AS
76812014-05-26 Andreas Schwab <schwab@suse.de>
7682
7683 [BZ #16984]
7684 * locale/programs/repertoire.c (repertoire_read): Add slash
7685 between I18NPATH element and file name.
7686 * locale/programs/locfile.c (locfile_read): Likewise.
7687
67365926
SL
76882014-05-26 Stefan Liebler <stli@linux.vnet.ibm.com>
7689
7690 * nptl/pthread_mutexattr_settype.c
7691 (__pthread_mutexattr_settype):
7692 Disable lock elision for PTHREAD_MUTEX_NORMAL.
7693
f8bdf1f0
SL
76942014-05-26 Stefan Liebler <stli@linux.vnet.ibm.com>
7695
7696 * nptl/tst-mutex5 (do_test):
7697 Use #ifndef ENABLE_LOCK_ELISION instead of #ifdef.
7698
15eaf6ff
SP
76992014-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
7700
7701 * benchtests/README: Document 'init' directive.
7702 * benchtests/bench-skeleton.c (main) [BENCH_INIT]: Call
7703 BENCH_INIT.
7704 * scripts/bench.py (gen_source): Define BENCH_INIT macro.
7705 (parse_file): Recognize 'init' directive.
7706
75f11331
KM
77072014-05-26 Kyle McMartin <kyle@redhat.com>
7708
7709 [BZ #16796]
7710 * sysdeps/aarch64/nptl/tls.h: increase TCB alignment to the
7711 alignment of struct pthread.
7712
c3ec475c
SP
77132014-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
7714
7715 [BZ #16878]
7716 * nscd/netgroupcache.c (addgetnetgrentX): Look for
7717 NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
7718 * nscd/nss_files/files-netgrp.c (_nss_netgroup_parseline): Use
7719 NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
7720
82aab97c
RH
77212014-05-25 Richard Henderson <rth@twiddle.net>
7722
aa2f176d
RH
7723 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
7724 (SINGLE_THREAD_P_PIC): Remove.
7725 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h
7726 (SINGLE_THREAD_P_PIC): Remove.
7727
ca3cfa40
RH
7728 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Move
7729 branch to syscall error ...
7730 (PSEUDO): ... here.
7731 [NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Rename the label
7732 from __local_syscall_error to .Lsyscall_error.
7733 [!NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Branch to __syscall_error.
7734 (SYSCALL_ERROR): Update label name.
7735
6e6c2d01
RH
7736 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
7737 Do not use DOARGS/UNDOARGS.
7738 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Likewise.
7739 (DOARGS_0, DOARGS_1, DOARGS_2, DOARGS_3): Remove.
7740 (DOARGS_4, DOARGS_5, DOARGS_6, DOARGS_7): Remove.
7741 (UNDOARGS_0, UNDOARGS_1, UNDOARGS_2, UNDOARGS_3): Remove.
7742 (UNDOARGS_4, UNDOARGS_5, UNDOARGS_6, UNDOARGS_7): Remove.
7743
c69abcee
RH
7744 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Fix
7745 block comment.
7746
82aab97c
RH
7747 * sysdeps/unix/sysv/linux/alpha/vfork.S (vfork, __vfork): Only
7748 define if !NOT_IN_libc.
7749 * sysdeps/unix/sysv/linux/alpha/pt-vfork.S (vfork, __vfork): Only
7750 define with non-default symbol versions.
7751
8820e3ac
RH
77522014-05-23 Richard Henderson <rth@twiddle.net>
7753
900e445f
RH
7754 * nptl/pt-vfork.c (vfork_resolve): Rename from vfork_ifunc.
7755 (vfork, __vfork): Define via compat_symbol.
7756
8820e3ac
RH
7757 * nptl/pt-vfork.c: Error if !HAVE_IFUNC.
7758 [!HAVE_IFUNC] (vfork_compat): Remove.
7759 [!HAVE_IFUNC] (DEFINE_VFORK): Remove.
7760
e59252a5
JM
77612014-05-23 Joseph Myers <joseph@codesourcery.com>
7762
7763 [BZ #16978]
7764 * posix/tar.h [!__USE_XOPEN2K] (TSVTX): Define macro.
7765 * conform/Makefile (test-xfail-POSIX/tar.h/conform): Remove
7766 variable.
7767
132c7f5f
RH
77682014-05-23 Richard Henderson <rth@twiddle.net>
7769
bc89e962
RH
7770 * sysdeps/unix/sysv/linux/alpha/nptl/Makefile: Merge into...
7771 * sysdeps/unix/sysv/linux/alpha/Makefile: ... here.
7772 * sysdeps/unix/sysv/linux/alpha/nptl/Versions: Merge into...
7773 * sysdeps/unix/sysv/linux/alpha/Versions: ... here.
7774
7775 * sysdeps/unix/sysv/linux/alpha/nptl/aio_cancel.c: Moved ...
7776 * sysdeps/unix/sysv/linux/alpha/aio_cancel.c: ... here.
7777 * sysdeps/unix/sysv/linux/alpha/nptl/bits/local_lim.h: Moved ...
7778 * sysdeps/unix/sysv/linux/alpha/bits/local_lim.h: ... here.
7779 * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h: Moved ...
7780 * sysdeps/unix/sysv/linux/alpha/bits/pthreadtypes.h: ... here.
7781 * sysdeps/unix/sysv/linux/alpha/nptl/bits/semaphore.h: Moved ...
7782 * sysdeps/unix/sysv/linux/alpha/bits/semaphore.h: ... here.
7783 * sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data: Moved ...
7784 * sysdeps/unix/sysv/linux/alpha/c++-types.data: ... here.
7785 * sysdeps/unix/sysv/linux/alpha/nptl/createthread.c: Moved ...
7786 * sysdeps/unix/sysv/linux/alpha/createthread.c: ... here.
7787 * sysdeps/unix/sysv/linux/alpha/nptl/ld.abilist: Moved ...
7788 * sysdeps/unix/sysv/linux/alpha/ld.abilist: ... here.
7789 * sysdeps/unix/sysv/linux/alpha/nptl/libBrokenLocale.abilist: Moved ...
7790 * sysdeps/unix/sysv/linux/alpha/libBrokenLocale.abilist: ... here.
7791 * sysdeps/unix/sysv/linux/alpha/nptl/libanl.abilist: Moved ...
7792 * sysdeps/unix/sysv/linux/alpha/libanl.abilist: ... here.
7793 * sysdeps/unix/sysv/linux/alpha/nptl/libc.abilist: Moved ...
7794 * sysdeps/unix/sysv/linux/alpha/libc.abilist: ... here.
7795 * sysdeps/unix/sysv/linux/alpha/nptl/libcrypt.abilist: Moved ...
7796 * sysdeps/unix/sysv/linux/alpha/libcrypt.abilist: ... here.
7797 * sysdeps/unix/sysv/linux/alpha/nptl/libdl.abilist: Moved ...
7798 * sysdeps/unix/sysv/linux/alpha/libdl.abilist: ... here.
7799 * sysdeps/unix/sysv/linux/alpha/nptl/libm.abilist: Moved ...
7800 * sysdeps/unix/sysv/linux/alpha/libm.abilist: ... here.
7801 * sysdeps/unix/sysv/linux/alpha/nptl/libnsl.abilist: Moved ...
7802 * sysdeps/unix/sysv/linux/alpha/libnsl.abilist: ... here.
7803 * sysdeps/unix/sysv/linux/alpha/nptl/libpthread.abilist: Moved ...
7804 * sysdeps/unix/sysv/linux/alpha/libpthread.abilist: ... here.
7805 * sysdeps/unix/sysv/linux/alpha/nptl/libresolv.abilist: Moved ...
7806 * sysdeps/unix/sysv/linux/alpha/libresolv.abilist: ... here.
7807 * sysdeps/unix/sysv/linux/alpha/nptl/librt.abilist: Moved ...
7808 * sysdeps/unix/sysv/linux/alpha/librt.abilist: ... here.
7809 * sysdeps/unix/sysv/linux/alpha/nptl/libthread_db.abilist: Moved ...
7810 * sysdeps/unix/sysv/linux/alpha/libthread_db.abilist: ... here.
7811 * sysdeps/unix/sysv/linux/alpha/nptl/libutil.abilist: Moved ...
7812 * sysdeps/unix/sysv/linux/alpha/libutil.abilist: ... here.
7813 * sysdeps/unix/sysv/linux/alpha/nptl/localplt.data: Moved ...
7814 * sysdeps/unix/sysv/linux/alpha/localplt.data: ... here.
7815 * sysdeps/unix/sysv/linux/alpha/nptl/lowlevellock.h: Moved ...
7816 * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: ... here.
7817 * sysdeps/unix/sysv/linux/alpha/nptl/sem_post.c: Moved ...
7818 * sysdeps/unix/sysv/linux/alpha/sem_post.c: ... here.
7819 * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h: Moved ...
7820 * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: ... here.
7821 * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Moved ...
7822 * sysdeps/unix/sysv/linux/alpha/timer_create.c: ... here.
7823 * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Moved ...
7824 * sysdeps/unix/sysv/linux/alpha/timer_delete.c: ... here.
7825 * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Moved ...
7826 * sysdeps/unix/sysv/linux/alpha/timer_getoverr.c: ... here.
7827 * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Moved ...
7828 * sysdeps/unix/sysv/linux/alpha/timer_gettime.c: ... here.
7829 * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Moved ...
7830 * sysdeps/unix/sysv/linux/alpha/timer_settime.c: ... here.
7831
e2fa4bc2
RH
7832 * sysdeps/unix/sysv/linux/alpha/syscalls.list: Remove vfork.
7833 * sysdeps/unix/sysv/linux/alpha/nptl/vfork.S: Move file ...
7834 * sysdeps/unix/sysv/linux/alpha/vfork.S: ... here. Restore PID
7835 before exiting on error.
7836 (__libc_vfork): New strong alias.
7837 * sysdeps/unix/sysv/linux/alpha/nptl/pt-vfork.S: Remove file.
7838 * sysdeps/unix/sysv/linux/alpha/pt-vfork.S: New file.
7839
279b24e2
RH
7840 * sysdeps/unix/sysv/linux/alpha/clone.S: Deconditionalize the code
7841 that was previously under [RESET_PID].
7842 * sysdeps/unix/sysv/linux/alpha/nptl/clone.S: File removed.
7843
132c7f5f
RH
7844 * sysdeps/unix/sysv/linux/alpha/nptl/fork.c: Remove file.
7845
b72592e7
JM
78462014-05-23 Joseph Myers <joseph@codesourcery.com>
7847
7848 [BZ #16977]
7849 * sysdeps/i386/fpu/e_log10.S (__ieee754_log10): Take absolute
7850 value when x - 1 is zero.
7851 * sysdeps/i386/fpu/e_log10f.S (__ieee754_log10f): Likewise.
7852 * sysdeps/i386/fpu/e_log10l.S (__ieee754_log10l): Likewise.
7853 * sysdeps/ieee754/ldbl-128/e_log10l.c (__ieee754_log10l): Return
7854 0.0L for an argument of 1.0L.
7855 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l):
7856 Likewise.
7857 * sysdeps/x86_64/fpu/e_log10l.S (__ieee754_log10l): Take absolute
7858 value when x - 1 is zero.
7859 * math/libm-test.inc (log10_test): Use ALL_RM_TEST.
7860 * sysdeps/i386/fpu/libm-test-ulps: Update.
7861 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7862
2302d679
RV
78632014-05-23 Rasmus Villemoes <rv@rasmusvillemoes.dk>
7864
7865 * manual/filesys.texi (Scanning Directory Content): Fix prototype of
7866 alphasort and versionsort.
7867
32999d63
AZ
78682014-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7869
7870 * sysdeps/powerpc/fpu/math_private.h [copysign]: Remove unneeded
7871 macro.
7872 [copysignf]: Likewise.
7873
019324d0
SP
78742014-05-22 Siddhesh Poyarekar <siddhesh@redhat.com>
7875
7876 * crypt/md5-crypt.c: Fix formatting.
7877
34fff5c2
KS
78782014-05-22 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
7879
7880 * crypt/md5-crypt.c (__md5_crypt_r): Remove a nested function.
7881 (b64_from_24bit): New function.
7882
3d2badac
AZ
78832014-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7884
7885 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c (memchr): Remove
7886 libc_hidden_builtin_def to ifunc.
7887 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
7888 [libc_hidden_builtin_def]: Define hidden definition to __memchr_ppc32.
7889
f7bb179f 78902014-05-21 Roland McGrath <roland@hack.frob.com>
df54acbb
RM
7891
7892 * sysdeps/unix/sysv/linux/aarch64/arch-fork.h: New file.
7893 * sysdeps/unix/sysv/linux/aarch64/nptl/fork.c: File removed.
7894
4134b50d
JM
78952014-05-21 Joseph Myers <joseph@codesourcery.com>
7896
bb7d0337
JM
7897 * nscd/Depend (linuxthreads): Remove.
7898 (nptl): Add.
7899 * resolv/Depend (linuxthreads): Remove.
7900 * rt/Depend (linuxthreads): Remove.
7901
4134b50d
JM
7902 * Makeconfig [$(build-hardcoded-path-in-tests) = yes]
7903 (rtld-tests-LDFLAGS): Use $(elf-objpfx) instead of
7904 $(common-objpfx)elf/.
7905 (link-libc-before-gnulib): Likewise.
7906 (elfobjdir): Remove variable.
7907 * Makefile (install): Use $(elf-objpfx) instead of
7908 $(common-objpfx)elf/.
7909 * Makerules (link-libc-args): Use $(elf-objpfx) instead of
7910 $(elfobjdir)/.
7911 (link-libc-deps): Likewise.
7912 ($(common-objpfx)libc.so): Likewise.
7913 ($(common-objpfx)linkobj/libc.so): Likewise.
7914 [$(cross-compiling) = no] (symbolic-link-prog): Use $(elf-objpfx)
7915 instead of $(common-objpfx)elf/.
7916 (symbolic-link-list): Likewise.
7917 * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
7918 [$(cross-compiling) = no]: Likewise.
7919 * sysdeps/arm/Makefile (gnulib-arch): Use $(elf-objpfx) instead of
7920 $(elfobjdir)/.
7921 (static-gnulib-arch): Likewise.
7922 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
7923 [$(cross-compiling) = no]: Use $(elf-objpfx) instead of
7924 $(common-objpfx)elf/.
7925
3612eb8f
RH
79262014-05-21 Richard Henderson <rth@redhat.com>
7927
a6b3657b
RH
7928 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
7929 (SINGLE_THREAD_P): Use the correct width load. Fold
7930 into the ldr offset.
7931
3612eb8f
RH
7932 * sysdeps/unix/sysv/linux/aarch64/sysdep.h [RTLD_PRIVATE_ERRNO]
7933 (SYSCALL_ERROR_HANDLER): Fold add insn into str offset.
7934
175cef41
JM
79352014-05-20 Joseph Myers <joseph@codesourcery.com>
7936
7937 * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c
7938 (libgcc_s_resume): Use __attribute_used__.
7939 * sysdeps/unix/sysv/linux/arm/unwind-resume.c (libgcc_s_resume):
7940 Likewise.
7941
e13bccd3
AZ
79422014-05-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7943
7944 * sysdeps/powerpc/fpu/math_private.h [__copysignf]: Fix copysign macro
7945 optimization when used with float constants.
7946
7c112a38
AZ
7947 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
7948
ae75a883
AJ
79492014-05-20 Aurelien Jarno <aurelien@aurel32.net>
7950
7951 [BZ #16915]
7952 * locale/nl_langinfo_l.c: Make direct reference to every
7953 _nl_current_CATEGORY symbol.
7954 * localedata/Makefile (test-srcs): Add tst-langinfo-static.
7955 (tests-static): Add tst-langinfo-static.
7956 (tests-special): Add tst-langinfo-static.out.
7957 ($(objpfx)tst-langinfo.out): Redirect output.
7958 ($(objpfx)tst-langinfo-static.out): New.
7959 * localedata/tst-langinfo.sh: Send output to stdout.
7960 * localedata/tst-langinfo-static.c: New file.
7961
4406c41c
AJ
7962 [BZ #16965]
7963 * stdlib/strtod_l.c (round_and_return): Add code to shift limbs
7964 when the shift amount is modulo the limb size.
7965
4c0a1e63
RH
79662014-05-20 Richard Henderson <rth@redhat.com>
7967
de9d8f20
RH
7968 [BZ #16967]
7969 * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h (struct sigaction):
7970 Change type of sa_flags from unsigned int to int.
7971
4c0a1e63
RH
7972 [BZ #16966]
7973 * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h: Remove file.
57cce706
RH
7974
7975 * sysdeps/alpha/dl-machine.h (ELF_MACHINE_NO_RELA): Define.
7976
a60339aa
WN
79772014-05-20 Will Newton <will.newton@linaro.org>
7978
7979 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
7980 Test the return value of the system call in the nocancel case.
7981
7d05a816
YR
79822014-05-20 Will Newton <will.newton@linaro.org>
7983 Yvan Roux <yvan.roux@linaro.org>
7984
7985 * sysdeps/unix/sysv/linux/aarch64/sys/user.h: Remove unused
7986 #include of asm/ptrace.h.
7987 (PTRACE_GET_THREAD_AREA): Remove #undef.
7988 (PTRACE_GETHBPREGS): Likewise.
7989 (PTRACE_SETHBPREGS): Likewise.
7990 (struct user_regs_struct): New structure.
7991 (struct user_fpsimd_struct): New structure.
7992 * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h: Remove unused
7993 #include of asm/ptrace.h and second #include of sys/user.h.
7994 (PTRACE_GET_THREAD_AREA): Remove #undef.
7995 (PTRACE_GETHBPREGS): Likewise.
7996 (PTRACE_SETHBPREGS): Likewise.
7997 (ELF_NGREG): Use new struct user_regs_struct.
7998 (elf_fpregset_t): Use new struct user_fpsimd_struct.
7999
af121e37
AZ
80002014-05-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8001
8002 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypof.c: Moved ...
8003 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c: ... here.
8004
834caf06
JM
80052014-05-17 Jose E. Marchesi <jose.marchesi@oracle.com>
8006
8007 [BZ #16958]
8008 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Add missing
8009 membar to avoid block loads/stores to overlap previous stores.
8010
e184a918
RH
80112014-05-17 Richard Henderson <rth@redhat.com>
8012
8013 * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h (PSEUDO):
8014 Create the __##syscall_name##_nocancel entry point.
8015 * sysdeps/unix/sysv/linux/alpha/sigsuspend.S (__sigsuspend_nocancel):
8016 Remove; let the sysdep-cancel.h code create it.
8017
f56c7a6a
DM
80182014-05-17 David S. Miller <davem@davemloft.net>
8019
8020 * sysdeps/unix/sysv/linux/sparc/bits/termios.h (PAGEOUT, WRAP):
8021 Protect with __USE_GNU.
8022 (TIOCSET_TEMPT): Likewise.
8023 (TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
8024 TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI): Remove as
8025 these are already provided in bits/ioctl-types.h
8026
f75616b2
RM
80272014-05-16 Roland McGrath <roland@hack.frob.com>
8028
3edeca86
RM
8029 * sysdeps/unix/sysv/linux/alpha/arch-fork.h: New file.
8030 * sysdeps/unix/sysv/linux/ia64/nptl/fork.c: File removed.
8031
f75616b2
RM
8032 * sysdeps/unix/sysv/linux/not-cancel.h (waitpid_not_cancel):
8033 Use wait4 regardless of [__NR_waitpid].
8034
deb0f7f6
MR
80352014-05-16 Maciej W. Rozycki <macro@codesourcery.com>
8036
8037 PR libgcc/60166
8038 * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
8039 (_FP_NANSIGN_Q): Set the quiet bit.
8040
79520f4b
JM
80412014-05-16 Joseph Myers <joseph@codesourcery.com>
8042
8043 * benchtests/Makefile
8044 ($(addprefix $(objpfx)bench-,$(bench-math))): Depend on $(libm),
8045 not $(common-objpfx)math/libm.so.
8046 ($(addprefix $(objpfx)bench-,$(bench-pthread))): Depend on
8047 $(shared-thread-library), not $(common-objpfx)nptl/libpthread.so.
8048 * elf/Makefile ($(objpfx)noload): Depend on $(libdl), not
8049 $(common-objpfx)dlfcn/libdl.so.
8050 ($(objpfx)tst-audit8): Depend on $(libm), not
8051 $(common-objpfx)math/libm.so.
8052 * malloc/Makefile ($(objpfx)libmemusage.so): Depend on $(libdl),
8053 not $(common-objpfx)dlfcn/libdl.so.
8054 * math/Makefile
8055 ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
8056 Depend on $(libm), not $(objpfx)libm.so. Do not condition on
8057 [$(build-shared) = yes].
8058 ($(objpfx)test-fenv-tls): Depend on $(shared-thread-library), not
8059 $(common-objpfx)nptl/libpthread.so.
8060 * misc/Makefile ($(objpfx)tst-tsearch): Depend on $(libm), not
8061 $(common-objpfx)math/libm.so$(libm.so-version) or
8062 $(common-objpfx)math/libm.a depending on [$(build-shared) = yes].
8063 * nptl/Makefile ($(objpfx)tst-unload): Depend on $(libdl), not
8064 $(common-objpfx)dlfcn/libdl.so.
8065 * setjmp/Makefile (link-libm): Remove variable.
8066 ($(objpfx)tst-setjmp-fp): Depend on $(libm), not $(link-libm).
8067 * stdio-common/Makefile (link-libm): Remove variable.
8068 ($(objpfx)tst-printf-round): Depend on $(libm), not $(link-libm).
8069 * stdlib/Makefile (link-libm): Remove variable.
8070 ($(objpfx)bug-getcontext): Depend on $(libm), not $(link-libm).
8071 ($(objpfx)tst-strtod-round): Likewise.
8072 ($(objpfx)tst-tininess): Likewise.
8073 ($(objpfx)tst-strtod-underflow): Likewise.
8074 ($(objpfx)tst-strtod6): Likewise.
8075 ($(objpfx)tst-tls-atexit): Depend on $(shared-thread-library) and
8076 $(libdl), not $(common-objpfx)nptl/libpthread.so and
8077 $(common-objpfx)dlfcn/libdl.so.
8078
026b0fe4
AZ
80792014-05-16 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8080
8081 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_MISC]: Guard
8082 BSD terminal modes definitions.
8083
def4bcb2
RM
80842014-05-16 Roland McGrath <roland@hack.frob.com>
8085
fe39b021
RM
8086 * sysdeps/unix/sysv/linux/arm/arch-fork.h: New file.
8087 * sysdeps/unix/sysv/linux/arm/fork.c: File removed.
8088
1d1fc46e 8089 * sysdeps/unix/sysv/linux/arch-fork.h: New file.
def4bcb2
RM
8090 * sysdeps/unix/sysv/linux/i386/fork.h: Moved ...
8091 * sysdeps/unix/sysv/linux/i386/arch-fork.h: ... here.
8092 Don't do #include_next.
8093 * sysdeps/unix/sysv/linux/x86_64/fork.h: Moved ...
8094 * sysdeps/unix/sysv/linux/x86_64/arch-fork.h: ... here.
8095 Don't do #include_next.
8096 * sysdeps/unix/sysv/linux/mips/arch-fork.h: New file.
8097 * sysdeps/unix/sysv/linux/mips/fork.h: File removed.
8098 * sysdeps/unix/sysv/linux/powerpc/arch-fork.h: New file.
8099 * sysdeps/unix/sysv/linux/powerpc/fork.h: File removed.
8100
c72399fb
AM
81012014-05-16 Allan McRae <allan@archlinux.org>
8102
d51d659d
AM
8103 * po/sv.po: Update Swedish translation from translation project.
8104
c72399fb
AM
8105 * timezone/Makefile ($(objpfx)tzselect): Use correct variable
8106 in sed expression.
8107
d0583c40
AJ
81082014-05-16 Aurelien Jarno <aurelien@aurel32.net>
8109
8110 [BZ #16917]
8111 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal): Return
8112 errno if the TIOCGPTN ioctl fails with an error different than
8113 EINVAL.
8114 * login/tst-ptsname.c: New file.
8115 * login/Makefile (tests): Add tst-ptsname.
8116
d16e6ec7
AJ
8117 [BZ #16943]
8118 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Declare prlimit
8119 and prlimit64.
8120
cf26a0cb
SP
81212014-05-15 Siddhesh Poyarekar <siddhesh@redhat.com>
8122
8123 [BZ #16849]
8124 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only check for
8125 herrno to return EAI_AGAIN.
8126
5675da1e
RM
81272014-05-14 Roland McGrath <roland@hack.frob.com>
8128
a5d87b3d
RM
8129 * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: Moved ...
8130 * sysdeps/unix/sysv/linux/i386/c++-types.data: ... here.
8131 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: Moved ...
8132 * sysdeps/unix/sysv/linux/i386/ld.abilist: ... here.
8133 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: Moved ...
8134 * sysdeps/unix/sysv/linux/i386/libBrokenLocale.abilist: ... here.
8135 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: Moved ...
8136 * sysdeps/unix/sysv/linux/i386/libanl.abilist: ... here.
8137 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Moved ...
8138 * sysdeps/unix/sysv/linux/i386/libc.abilist: ... here.
8139 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: Moved ...
8140 * sysdeps/unix/sysv/linux/i386/libcrypt.abilist: ... here.
8141 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: Moved ...
8142 * sysdeps/unix/sysv/linux/i386/libdl.abilist: ... here.
8143 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: Moved ...
8144 * sysdeps/unix/sysv/linux/i386/libm.abilist: ... here.
8145 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: Moved ...
8146 * sysdeps/unix/sysv/linux/i386/libnsl.abilist: ... here.
8147 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Moved ...
8148 * sysdeps/unix/sysv/linux/i386/libpthread.abilist: ... here.
8149 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: Moved ...
8150 * sysdeps/unix/sysv/linux/i386/libresolv.abilist: ... here.
8151 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: Moved ...
8152 * sysdeps/unix/sysv/linux/i386/librt.abilist: ... here.
8153 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: Moved ...
8154 * sysdeps/unix/sysv/linux/i386/libthread_db.abilist: ... here.
8155 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: Moved ...
8156 * sysdeps/unix/sysv/linux/i386/libutil.abilist: ... here.
8157 * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: Moved ...
8158 * sysdeps/unix/sysv/linux/i386/localplt.data: ... here.
8159 * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: Moved ...
8160 * sysdeps/unix/sysv/linux/x86_64/64/c++-types.data: ... here.
8161 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Moved ...
8162 * sysdeps/unix/sysv/linux/x86_64/64/ld.abilist: ... here.
8163 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
8164 Moved ...
8165 * sysdeps/unix/sysv/linux/x86_64/64/libBrokenLocale.abilist: ... here.
8166 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Moved ...
8167 * sysdeps/unix/sysv/linux/x86_64/64/libanl.abilist: ... here.
8168 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Moved ...
8169 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: ... here.
8170 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Moved ...
8171 * sysdeps/unix/sysv/linux/x86_64/64/libcrypt.abilist: ... here.
8172 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Moved ...
8173 * sysdeps/unix/sysv/linux/x86_64/64/libdl.abilist: ... here.
8174 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Moved ...
8175 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: ... here.
8176 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Moved ...
8177 * sysdeps/unix/sysv/linux/x86_64/64/libnsl.abilist: ... here.
8178 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist: Moved ...
8179 * sysdeps/unix/sysv/linux/x86_64/64/libpthread.abilist: ... here.
8180 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist: Moved ...
8181 * sysdeps/unix/sysv/linux/x86_64/64/libresolv.abilist: ... here.
8182 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Moved ...
8183 * sysdeps/unix/sysv/linux/x86_64/64/librt.abilist: ... here.
8184 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist: Moved ...
8185 * sysdeps/unix/sysv/linux/x86_64/64/libthread_db.abilist: ... here.
8186 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Moved ...
8187 * sysdeps/unix/sysv/linux/x86_64/64/libutil.abilist: ... here.
8188 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data: Moved ...
8189 * sysdeps/unix/sysv/linux/x86_64/x32/c++-types.data: ... here.
8190 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: Moved ...
8191 * sysdeps/unix/sysv/linux/x86_64/x32/ld.abilist: ... here.
8192 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
8193 Moved ...
8194 * sysdeps/unix/sysv/linux/x86_64/x32/libBrokenLocale.abilist: ... here.
8195 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist: Moved ...
8196 * sysdeps/unix/sysv/linux/x86_64/x32/libanl.abilist: ... here.
8197 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Moved ...
8198 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: ... here.
8199 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist: Moved ...
8200 * sysdeps/unix/sysv/linux/x86_64/x32/libcrypt.abilist: ... here.
8201 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist: Moved ...
8202 * sysdeps/unix/sysv/linux/x86_64/x32/libdl.abilist: ... here.
8203 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist: Moved ...
8204 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: ... here.
8205 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist: Moved ...
8206 * sysdeps/unix/sysv/linux/x86_64/x32/libnsl.abilist: ... here.
8207 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist: Moved ...
8208 * sysdeps/unix/sysv/linux/x86_64/x32/libpthread.abilist: ... here.
8209 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist: Moved ...
8210 * sysdeps/unix/sysv/linux/x86_64/x32/libresolv.abilist: ... here.
8211 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist: Moved ...
8212 * sysdeps/unix/sysv/linux/x86_64/x32/librt.abilist: ... here.
8213 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
8214 Moved ...
8215 * sysdeps/unix/sysv/linux/x86_64/x32/libthread_db.abilist: ... here.
8216 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist: Moved ...
8217 * sysdeps/unix/sysv/linux/x86_64/x32/libutil.abilist: ... here.
8218
039890a6
RM
8219 * nptl/sysdeps/unix/sysv/linux/x86/Makefile: File removed.
8220 * sysdeps/unix/sysv/linux/x86/Makefile [$(subdir) = nptl]
8221 (libpthread-sysdep_routines): Add elision-related stuff here instead.
8222 * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.c: Moved ...
8223 * sysdeps/unix/sysv/linux/x86/elision-conf.c: ... here.
8224 * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.h: Moved ...
8225 * sysdeps/unix/sysv/linux/x86/elision-conf.h: ... here.
8226 * nptl/sysdeps/unix/sysv/linux/x86/elision-lock.c: Moved ...
8227 * sysdeps/unix/sysv/linux/x86/elision-lock.c: ... here.
8228 * nptl/sysdeps/unix/sysv/linux/x86/elision-timed.c: Moved ...
8229 * sysdeps/unix/sysv/linux/x86/elision-timed.c: ... here.
8230 * nptl/sysdeps/unix/sysv/linux/x86/elision-trylock.c: Moved ...
8231 * sysdeps/unix/sysv/linux/x86/elision-trylock.c: ... here.
8232 * nptl/sysdeps/unix/sysv/linux/x86/elision-unlock.c: Moved ...
8233 * sysdeps/unix/sysv/linux/x86/elision-unlock.c: ... here.
8234 * nptl/sysdeps/unix/sysv/linux/x86/force-elision.h: Moved ...
8235 * sysdeps/unix/sysv/linux/x86/force-elision.h: ... here.
8236 * nptl/sysdeps/unix/sysv/linux/x86/hle.h: Moved ...
8237 * sysdeps/unix/sysv/linux/x86/hle.h: ... here.
8238 * nptl/sysdeps/unix/sysv/linux/x86/init-arch.c: Moved ...
8239 * sysdeps/unix/sysv/linux/x86/init-arch.c: ... here.
8240 * nptl/sysdeps/unix/sysv/linux/x86/init-arch.h: Moved ...
8241 * sysdeps/unix/sysv/linux/x86/init-arch.h: ... here.
8242 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: Moved ...
8243 * sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: ... here.
8244 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: Moved ...
8245 * sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: ... here.
8246 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: Moved ...
8247 * sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: ... here.
8248 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: Moved ...
8249 * sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: ... here.
8250
65c89320
RM
8251 * sysdeps/unix/sysv/linux/mips/fork.h: New file.
8252 * sysdeps/unix/sysv/linux/mips/nptl/fork.c: File removed.
8253
348f8e8c
RM
8254 * nptl/sysdeps/unix/sysv/linux/i386/Implies: File removed.
8255 * nptl/sysdeps/unix/sysv/linux/i386/i786/Implies: Moved ...
8256 * sysdeps/unix/sysv/linux/i386/i786/Implies: ... here.
8257 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: Moved ...
8258 * sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: ... here.
8259 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S:
8260 Moved ...
8261 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: ... here.
8262 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S:
8263 Moved ...
8264 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S: ... here.
8265 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S:
8266 Moved ...
8267 * sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S: ... here.
8268 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S:
8269 Moved ...
8270 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: ... here.
8271 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: Moved ...
8272 * sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: ... here.
8273 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S:
8274 Moved ...
8275 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S: ... here.
8276 * nptl/sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: Moved ...
8277 * sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: ... here.
8278 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: Moved ...
8279 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: ... here.
8280 * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: Moved ...
8281 * sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: ... here.
8282 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S:
8283 Moved ...
8284 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S: ... here.
8285 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
8286 Moved ...
8287 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
8288 ... here.
8289 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: Moved ...
8290 * sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: ... here.
8291 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_post.S: Moved ...
8292 * sysdeps/unix/sysv/linux/i386/i586/sem_post.S: ... here.
8293 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
8294 Moved ...
8295 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
8296 ... here.
8297 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S:
8298 Moved ...
8299 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: ... here.
8300 * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: Moved ...
8301 * sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: ... here.
8302 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: Moved ...
8303 * sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: ... here.
8304 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S:
8305 Moved ...
8306 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: ... here.
8307 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S:
8308 Moved ...
8309 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S: ... here.
8310 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S:
8311 Moved ...
8312 * sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S: ... here.
8313 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S:
8314 Moved ...
8315 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: ... here.
8316 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: Moved ...
8317 * sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: ... here.
8318 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S:
8319 Moved ...
8320 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S: ... here.
8321 * nptl/sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: Moved ...
8322 * sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: ... here.
8323 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: Moved ...
8324 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: ... here.
8325 * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: Moved ...
8326 * sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: ... here.
8327 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S:
8328 Moved ...
8329 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S: ... here.
8330 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
8331 Moved ...
8332 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
8333 ... here.
8334 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: Moved ...
8335 * sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: ... here.
8336 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_post.S: Moved ...
8337 * sysdeps/unix/sysv/linux/i386/i486/sem_post.S: ... here.
8338 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
8339 Moved ...
8340 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
8341 ... here.
8342 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S:
8343 Moved ...
8344 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: ... here.
8345 * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Moved ...
8346 * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: ... here.
8347 * nptl/sysdeps/unix/sysv/linux/i386/dl-sysdep.h: Moved ...
8348 * sysdeps/unix/sysv/linux/i386/dl-sysdep.h: ... here.
8349 * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h: Moved ...
8350 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: ... here.
8351 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: Moved ...
8352 * sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: ... here.
8353 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S:
8354 Moved ...
8355 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: ... here.
8356 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S:
8357 Moved ...
8358 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S: ... here.
8359 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S:
8360 Moved ...
8361 * sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S: ... here.
8362 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S:
8363 Moved ...
8364 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: ... here.
8365 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: Moved ...
8366 * sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: ... here.
8367 * nptl/sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: Moved ...
8368 * sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: ... here.
8369 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S:
8370 Moved ...
8371 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S: ... here.
8372 * nptl/sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: Moved ...
8373 * sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: ... here.
8374 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: Moved ...
8375 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: ... here.
8376 * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: Moved ...
8377 * sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: ... here.
8378 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S:
8379 Moved ...
8380 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S: ... here.
8381 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
8382 Moved ...
8383 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
8384 ... here.
8385 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: Moved ...
8386 * sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: ... here.
8387 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_post.S: Moved ...
8388 * sysdeps/unix/sysv/linux/i386/i686/sem_post.S: ... here.
8389 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
8390 Moved ...
8391 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
8392 ... here.
8393 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S:
8394 Moved ...
8395 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: ... here.
8396 * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: Moved ...
8397 * sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: ... here.
8398 * nptl/sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Moved ...
8399 * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: ... here.
8400 * nptl/sysdeps/unix/sysv/linux/i386/smp.h: Moved ...
8401 * sysdeps/unix/sysv/linux/i386/smp.h: ... here.
8402 * nptl/sysdeps/unix/sysv/linux/i386/pthread_once.S: Moved ...
8403 * sysdeps/unix/sysv/linux/i386/pthread_once.S: ... here.
8404 * nptl/sysdeps/unix/sysv/linux/i386/createthread.c: Moved ...
8405 * sysdeps/unix/sysv/linux/i386/createthread.c: ... here.
8406
5085af05
RM
8407 * sysdeps/unix/sysv/linux/powerpc/fork.h: New file.
8408 * nptl/sysdeps/unix/sysv/linux/powerpc/fork.c: File removed.
8409
708f0813
RM
8410 * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_init.c: File removed.
8411 * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_unlock.S: File removed.
8412
c96067bc
RM
8413 * nptl/sysdeps/unix/sysv/linux/x86_64/Implies: File removed.
8414 * nptl/sysdeps/unix/sysv/linux/x86_64/cancellation.S: Moved ...
8415 * sysdeps/unix/sysv/linux/x86_64/cancellation.S: ... here.
8416 * nptl/sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: Moved ...
8417 * sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: ... here.
8418 * nptl/sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: Moved ...
8419 * sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: ... here.
8420 * nptl/sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: Moved ...
8421 * sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: ... here.
8422 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Moved ...
8423 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: ... here.
8424 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Moved ...
8425 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: ... here.
8426 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: Moved ...
8427 * sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: ... here.
8428 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: Moved ...
8429 * sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: ... here.
8430 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S:
8431 Moved ...
8432 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S: ... here.
8433 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: Moved ...
8434 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: ... here.
8435 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:
8436 Moved ...
8437 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S: ... here.
8438 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: Moved ...
8439 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: ... here.
8440 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_once.S: Moved ...
8441 * sysdeps/unix/sysv/linux/x86_64/pthread_once.S: ... here.
8442 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: Moved ...
8443 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: ... here.
8444 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S:
8445 Moved ...
8446 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: ... here.
8447 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S:
8448 Moved ...
8449 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: ... here.
8450 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: Moved ...
8451 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: ... here.
8452 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: Moved ...
8453 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: ... here.
8454 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: Moved ...
8455 * sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: ... here.
8456 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_post.S: Moved ...
8457 * sysdeps/unix/sysv/linux/x86_64/sem_post.S: ... here.
8458 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: Moved ...
8459 * sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: ... here.
8460 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: Moved ...
8461 * sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: ... here.
8462 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_wait.S: Moved ...
8463 * sysdeps/unix/sysv/linux/x86_64/sem_wait.S: ... here.
8464 * nptl/sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Moved ...
8465 * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: ... here.
8466
ec136444
RM
8467 * nptl/sysdeps/unix/sysv/linux/fork.c: Use <> for fork.h #include.
8468 * nptl/sysdeps/unix/sysv/linux/x86_64/fork.c: File removed.
8469 * sysdeps/unix/sysv/linux/x86_64/fork.h: New file.
8470 * nptl/sysdeps/unix/sysv/linux/i386/fork.c: File removed.
8471 * sysdeps/unix/sysv/linux/i386/fork.h: New file.
8472
2fbdf533
RM
8473 * nptl/sysdeps/unix/sysv/linux/i386/not-cancel.h: Moved ...
8474 * sysdeps/unix/sysv/linux/not-cancel.h: ... here.
8475 * nptl/sysdeps/unix/sysv/linux/sparc/not-cancel.h: File removed.
8476 * nptl/sysdeps/unix/sysv/linux/sh/not-cancel.h: File removed.
8477 * nptl/sysdeps/unix/sysv/linux/powerpc/not-cancel.h: File removed.
8478 * nptl/sysdeps/unix/sysv/linux/x86_64/not-cancel.h: File removed.
8479 * nptl/sysdeps/unix/sysv/linux/s390/not-cancel.h: File removed.
8480 * sysdeps/unix/sysv/linux/generic/not-cancel.h: File removed.
8481 * sysdeps/unix/sysv/linux/generic/nptl/not-cancel.h: File removed.
8482 * sysdeps/unix/sysv/linux/m68k/nptl/not-cancel.h: File removed.
8483
4c68138b
RM
8484 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_init.c: File removed.
8485 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_unlock.S: Likewise.
8486
4eaae765
RM
8487 * nptl/sysdeps/unix/sysv/linux/x86_64/compat-timer.h: Moved ...
8488 * sysdeps/unix/sysv/linux/x86_64/compat-timer.h: ... here.
3a51fb60
RM
8489 * nptl/sysdeps/unix/sysv/linux/x86_64/Versions: Remove, merge into ...
8490 * sysdeps/unix/sysv/linux/x86_64/Versions: ... here.
8491 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_create.c: Moved ...
8492 * sysdeps/unix/sysv/linux/x86_64/timer_create.c: here.
8493 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_delete.c: Moved ...
8494 * sysdeps/unix/sysv/linux/x86_64/timer_delete.c: ... here
8495 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: Moved ...
8496 * sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: ... here
8497 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: Moved ...
8498 * sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: ... here
8499 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_settime.c: Moved ...
8500 * sysdeps/unix/sysv/linux/x86_64/timer_settime.c: ... here
8501 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c:
8502 Update #include.
8503 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c:
8504 Likewise.
8505 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
8506 Likewise.
8507 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
8508 Likewise.
8509 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
8510 Likewise.
8511 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c:
8512 Likewise.
8513 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c:
8514 Likewise.
8515 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
8516 Likewise.
8517 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c:
8518 Likewise.
8519 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c:
8520 Likewise.
4ef6befa
RM
8521 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Likewise.
8522 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Likewise.
8523 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Likewise.
8524 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Likewise.
8525 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Likewise.
5aa618fb
RM
8526 * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Likewise.
8527 * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Likewise.
8528 * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Likewise.
8529 * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Likewise.
8530 * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Likewise.
8531 * sysdeps/unix/sysv/linux/ia64/nptl/timer_create.c: Likewise.
8532 * sysdeps/unix/sysv/linux/ia64/nptl/timer_delete.c: Likewise.
8533 * sysdeps/unix/sysv/linux/ia64/nptl/timer_getoverr.c: Likewise.
8534 * sysdeps/unix/sysv/linux/ia64/nptl/timer_gettime.c: Likewise.
8535 * sysdeps/unix/sysv/linux/ia64/nptl/timer_settime.c: Likewise.
3a51fb60 8536
941d7dfd
RM
8537 * sysdeps/unix/sysv/linux/x86_64/clone.S: Deconditionalize the code
8538 that was previously under [RESET_PID].
8539 * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
8540 * nptl/sysdeps/unix/sysv/linux/x86_64/clone.S: File removed.
8541 * nptl/sysdeps/unix/sysv/linux/i386/clone.S: File removed.
8542
1b731c35
RM
8543 * sysdeps/i386/nptl/Implies: New file.
8544 * sysdeps/x86_64/nptl/Implies: New file.
8545 * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h: Moved ...
8546 * sysdeps/x86/nptl/bits/pthreadtypes.h: ... here.
8547 * nptl/sysdeps/unix/sysv/linux/x86/bits/semaphore.h: Moved ...
8548 * sysdeps/x86/nptl/bits/semaphore.h: ... here.
8549
e2787137
RM
8550 * sysdeps/unix/sysv/linux/i386/vfork.S: Include <tcb-offsets.h>.
8551 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
8552 (__libc_vfork): New strong alias.
8553 * nptl/sysdeps/unix/sysv/linux/i386/vfork.S: File removed.
8554 * nptl/sysdeps/unix/sysv/linux/i386/pt-vfork.S: File removed.
8555
8556 * sysdeps/unix/sysv/linux/x86_64/vfork.S: Include <tcb-offsets.h>.
8557 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
8558 (__libc_vfork): New strong alias.
8559 * nptl/sysdeps/unix/sysv/linux/x86_64/vfork.S: File removed.
8560 * nptl/sysdeps/unix/sysv/linux/x86_64/pt-vfork.S: File removed.
8561
5675da1e
RM
8562 * sysdeps/unix/sysv/linux/arm/vfork.S: Include <tcb-offsets.h>.
8563 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
8564 (__libc_vfork): New strong alias.
8565 * sysdeps/unix/sysv/linux/arm/nptl/vfork.S: File removed.
8566 * sysdeps/unix/sysv/linux/arm/nptl/pt-vfork.S: File removed.
8567 * nptl/pt-vfork.c: New file.
8568 * nptl/Versions (libc: GLIBC_PRIVATE): Add __libc_vfork.
8569 (libpthread: GLIBC_2.20): New version set (empty).
8570
4f02e2b8
WN
85712014-05-14 Will Newton <will.newton@linaro.org>
8572
8573 * stdlib/gmp-impl.h: Test USE_STACK_ALLOC #ifdef
8574 rather than #if.
8575
0bf061d3
JM
85762014-05-14 Joseph Myers <joseph@codesourcery.com>
8577
1a84c3d6
JM
8578 [BZ #16564]
8579 * sysdeps/i386/fpu/s_log1pl.S (__log1pl): Do not add 1 to positive
8580 arguments with exponent 65 or above.
8581 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): Do not add 1 to
8582 arguments 0x1p113L or above.
8583 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Do not add 1
8584 to arguments 0x1p107L or above.
8585 * sysdeps/x86_64/fpu/s_log1pl.S (__log1pl): Do not add 1 to
8586 positive arguments with exponent 65 or above.
8587 * math/auto-libm-test-in: Add more tests of log1p.
8588 * math/auto-libm-test-out: Regenerated.
8589
01dbacd2
JM
8590 [BZ #16928]
8591 * math/s_cacos.c (__cacos): Ensure zero real part of result from
8592 non-finite arguments is +0.
8593 * math/s_cacosf.c (__cacosf): Likewise.
8594 * math/s_cacosl.c (__cacosl): Likewise.
8595 * math/libm-test.inc (cacos_test): Use ALL_RM_TEST.
8596 * sysdeps/i386/fpu/libm-test-ulps: Update.
8597 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8598
913d03c8
JM
8599 [BZ #16927]
8600 * sysdeps/i386/fpu/e_acosh.S (__ieee754_acosh): Use fabs on x-1
8601 value.
8602 * sysdeps/i386/fpu/e_acoshf.S (__ieee754_acoshf): Likewise.
8603 * sysdeps/i386/fpu/e_acoshl.S (__ieee754_acoshl): Likewise.
8604 * sysdeps/ieee754/ldbl-96/e_acoshl.c (__ieee754_acoshl): Correct
8605 for explicit high bit of mantissa when testing for argument equal
8606 to 1.
8607 * math/libm-test.inc (acosh_test): Use ALL_RM_TEST.
8608 * sysdeps/i386/fpu/libm-test-ulps: Update.
8609 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8610
0bf061d3
JM
8611 [BZ #16516]
8612 * sysdeps/ieee754/dbl-64/s_erf.c (efx8): Remove variable.
8613 (__erf): Scale by 16 instead of 8 in potentially underflowing
8614 case. Ensure exception if result actually underflows.
8615 * sysdeps/ieee754/flt-32/s_erff.c (efx8): Remove variable.
8616 (__erff): Scale by 16 instead of 8 in potentially underflowing
8617 case. Ensure exception if result actually underflows.
8618 * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <float.h>.
8619 (efx8): Remove variable.
8620 (__erfl): Scale by 16 instead of 8 in potentially underflowing
8621 case. Ensure exception if result actually underflows.
8622 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <float.h>.
8623 (efx8): Remove variable.
8624 (__erfl): Scale by 16 instead of 8 in potentially underflowing
8625 case. Ensure exception if result actually underflows.
8626 * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <float.h>.
8627 (efx8): Remove variable.
8628 (__erfl): Scale by 16 instead of 8 in potentially underflowing
8629 case. Ensure exception if result actually underflows.
8630 * math/auto-libm-test-in: Add more tests of erf.
8631 * math/auto-libm-test-out: Regenerated.
8632
73ba67cb
AS
86332014-05-14 Andreas Schwab <schwab@suse.de>
8634
3d8c8bff
AS
8635 * elf/rtld.c (_dl_start_final, _dl_start, init_tls, dl_main):
8636 Remove code conditionalized on USE___THREAD.
8637
73ba67cb
AS
8638 * config.h.in (HAVE_PT_CHOWN): Define as 0.
8639 * sysdeps/unix/grantpt.c (grantpt): Check HAVE_PT_CHOWN for value,
8640 not definedness.
8641
5c521ecd
JM
86422014-05-14 Joseph Myers <joseph@codesourcery.com>
8643
5e7698c6
JM
8644 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMES):
8645 Define unconditionally.
8646 (__ASSUME_O_CLOEXEC): Likewise.
8647 (__ASSUME_SOCK_CLOEXEC): Likewise.
8648 (__ASSUME_IN_NONBLOCK): Likewise.
8649 (__ASSUME_PIPE2): Likewise.
8650 (__ASSUME_EVENTFD2): Likewise.
8651 (__ASSUME_SIGNALFD4): Likewise.
8652 (__ASSUME_DUP3): Likewise.
8653 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
8654 (__ASSUME_DUP3): Do not define.
8655 (__ASSUME_EVENTFD2): Likewise.
8656 (__ASSUME_IN_NONBLOCK): Likewise.
8657 (__ASSUME_O_CLOEXEC): Likewise.
8658 (__ASSUME_PIPE2): Likewise.
8659 (__ASSUME_SIGNALFD4): Likewise.
8660 (__ASSUME_SOCK_CLOEXEC): Likewise.
8661 (__ASSUME_UTIMES): Undefine.
8662 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
8663 (__ASSUME_UTIMES): Do not define.
8664 (__ASSUME_O_CLOEXEC): Likewise.
8665 (__ASSUME_SOCK_CLOEXEC): Likewise.
8666 (__ASSUME_IN_NONBLOCK): Undefine if [__LINUX_KERNEL_VERSION <
8667 0x020621] instead of defining if [__LINUX_KERNEL_VERSION >=
8668 0x020621].
8669 (__ASSUME_PIPE2): Likewise.
8670 (__ASSUME_EVENTFD2): Likewise.
8671 (__ASSUME_SIGNALFD4): Likewise.
8672 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_DUP3): Undefine.
8673 * sysdeps/unix/sysv/linux/arm/kernel-features.h (__ASSUME_UTIMES):
8674 Do not define.
8675 (__ASSUME_EVENTFD2): Likewise.
8676 (__ASSUME_SIGNALFD4): Likewise.
8677 * sysdeps/unix/sysv/linux/hppa/kernel-features.h
8678 (__ASSUME_32BITUIDS): Likewise.
8679 (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
8680 (__ASSUME_IPC64): Likewise.
8681 (__ASSUME_ST_INO_64_BIT): Likewise.
8682 (__ASSUME_GETDENTS64_SYSCALL): Likewise.
8683 [__LINUX_KERNEL_VERSION < 0x030e00] (__ASSUME_UTIMES): Undefine.
8684 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
8685 (__ASSUME_UTIMES): Do not define.
8686 (__ASSUME_PSELECT): Likewise.
8687 (__ASSUME_PPOLL): Likewise.
8688 (__ASSUME_O_CLOEXEC): Likewise.
8689 (__ASSUME_SOCK_CLOEXEC): Likewise.
8690 (__ASSUME_IN_NONBLOCK): Likewise.
8691 (__ASSUME_PIPE2): Likewise.
8692 (__ASSUME_EVENTFD2): Likewise.
8693 (__ASSUME_SIGNALFD4): Likewise.
8694 (__ASSUME_DUP3): Likewise.
8695 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
8696 (__ASSUME_UTIMES): Likewise.
8697 (__ASSUME_O_CLOEXEC): Likewise.
8698 (__ASSUME_SOCK_CLOEXEC): Likewise.
8699 (__ASSUME_IN_NONBLOCK): Likewise.
8700 (__ASSUME_PIPE2): Likewise.
8701 (__ASSUME_EVENTFD2): Likewise.
8702 (__ASSUME_SIGNALFD4): Likewise.
8703 (__ASSUME_DUP3): Likewise.
8704 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
8705 (__ASSUME_UTIMES): Likewise.
8706 (__ASSUME_O_CLOEXEC): Likewise.
8707 (__ASSUME_SOCK_CLOEXEC): Likewise.
8708 (__ASSUME_IN_NONBLOCK): Likewise.
8709 (__ASSUME_PIPE2): Likewise.
8710 (__ASSUME_EVENTFD2): Likewise.
8711 (__ASSUME_SIGNALFD4): Likewise.
8712 (__ASSUME_DUP3): Likewise.
8713 * sysdeps/unix/sysv/linux/mips/kernel-features.h (__ASSUME_IPC64):
8714 Likewise.
8715 (__ASSUME_UTIMES): Likewise.
8716 (__ASSUME_EVENTFD2): Likewise.
8717 (__ASSUME_SIGNALFD4): Likewise.
8718 * sysdeps/unix/sysv/linux/tile/kernel-features.h
8719 (__ASSUME_O_CLOEXEC): Likewise.
8720 (__ASSUME_SOCK_CLOEXEC): Likewise.
8721 (__ASSUME_IN_NONBLOCK): Likewise.
8722 (__ASSUME_PIPE2): Likewise.
8723 (__ASSUME_EVENTFD2): Likewise.
8724 (__ASSUME_SIGNALFD4): Likewise.
8725 (__ASSUME_DUP3): Likewise.
8726 (__ASSUME_UTIMES): Undefine.
8727
5c521ecd
JM
8728 * sysdeps/arm/fclrexcpt.c (__feclearexcept): Rename to
8729 feclearexcept. Remove symbol versioning code.
8730 * sysdeps/arm/fegetenv.c (__fegetenv): Rename to fegetenv. Remove
8731 symbol versioning code.
8732 * sysdeps/arm/fesetenv.c (__fesetenv): Rename to fesetenv. Remove
8733 symbol versioning code.
8734 * sysdeps/arm/feupdateenv.c (__feupdateenv): Rename to
8735 feupdateenv. Remove symbol versioning code.
8736 * sysdeps/arm/fgetexcptflg.c (__fegetexceptflag): Rename to
8737 fegetexceptflag. Remove symbol versioning code.
8738 * sysdeps/arm/fsetexcptflg.c (__fesetexceptflag): Rename to
8739 fesetexceptflag. Remove symbol versioning code.
8740 * sysdeps/unix/sysv/linux/arm/Versions (libc): Remove GLIBC_2.0,
8741 GLIBC_2.2 and GLIBC_2.3.3 entries. Change GLIBC_2.1 to GLIBC_2.4.
8742 * sysdeps/unix/sysv/linux/arm/posix_fadvise64.c
8743 (__posix_fadvise64_l32): Remove prototype.
8744 [SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3)]: Remove conditional
8745 code.
8746
5da9dfad
RM
87472014-05-13 Roland McGrath <roland@hack.frob.com>
8748
8749 * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h: Moved ...
8750 * sysdeps/arm/nptl/bits/pthreadtypes.h: ... here.
8751 * sysdeps/unix/sysv/linux/arm/nptl/bits/semaphore.h: Moved ...
8752 * sysdeps/arm/nptl/bits/semaphore.h: ... here.
8753
893b4f37
SK
87542014-05-13 Sami Kerola <kerolasa@iki.fi>
8755
8756 * timezone/Makefile ($(objpfx)tzselect): Use zonedir instead
8757 current working directory
8758
e0db6517
RM
87592014-05-13 Roland McGrath <roland@hack.frob.com>
8760
58aa195d
RM
8761 * sysdeps/unix/sysv/linux/arm/nptl/c++-types.data: Moved ...
8762 * sysdeps/unix/sysv/linux/arm/c++-types.data: ... here.
8763 * sysdeps/unix/sysv/linux/arm/nptl/createthread.c: Moved ...
8764 * sysdeps/unix/sysv/linux/arm/createthread.c: ... here.
8765 * sysdeps/unix/sysv/linux/arm/nptl/fork.c: Moved ...
8766 * sysdeps/unix/sysv/linux/arm/fork.c: ... here.
8767 * sysdeps/unix/sysv/linux/arm/nptl/ld.abilist: Moved ...
8768 * sysdeps/unix/sysv/linux/arm/ld.abilist: ... here.
8769 * sysdeps/unix/sysv/linux/arm/nptl/libBrokenLocale.abilist: Moved ...
8770 * sysdeps/unix/sysv/linux/arm/libBrokenLocale.abilist: ... here.
8771 * sysdeps/unix/sysv/linux/arm/nptl/libanl.abilist: Moved ...
8772 * sysdeps/unix/sysv/linux/arm/libanl.abilist: ... here.
8773 * sysdeps/unix/sysv/linux/arm/nptl/libc.abilist: Moved ...
8774 * sysdeps/unix/sysv/linux/arm/libc.abilist: ... here.
8775 * sysdeps/unix/sysv/linux/arm/nptl/libcrypt.abilist: Moved ...
8776 * sysdeps/unix/sysv/linux/arm/libcrypt.abilist: ... here.
8777 * sysdeps/unix/sysv/linux/arm/nptl/libdl.abilist: Moved ...
8778 * sysdeps/unix/sysv/linux/arm/libdl.abilist: ... here.
8779 * sysdeps/unix/sysv/linux/arm/nptl/libm.abilist: Moved ...
8780 * sysdeps/unix/sysv/linux/arm/libm.abilist: ... here.
8781 * sysdeps/unix/sysv/linux/arm/nptl/libnsl.abilist: Moved ...
8782 * sysdeps/unix/sysv/linux/arm/libnsl.abilist: ... here.
8783 * sysdeps/unix/sysv/linux/arm/nptl/libpthread.abilist: Moved ...
8784 * sysdeps/unix/sysv/linux/arm/libpthread.abilist: ... here.
8785 * sysdeps/unix/sysv/linux/arm/nptl/libresolv.abilist: Moved ...
8786 * sysdeps/unix/sysv/linux/arm/libresolv.abilist: ... here.
8787 * sysdeps/unix/sysv/linux/arm/nptl/librt.abilist: Moved ...
8788 * sysdeps/unix/sysv/linux/arm/librt.abilist: ... here.
8789 * sysdeps/unix/sysv/linux/arm/nptl/libthread_db.abilist: Moved ...
8790 * sysdeps/unix/sysv/linux/arm/libthread_db.abilist: ... here.
8791 * sysdeps/unix/sysv/linux/arm/nptl/libutil.abilist: Moved ...
8792 * sysdeps/unix/sysv/linux/arm/libutil.abilist: ... here.
8793 * sysdeps/unix/sysv/linux/arm/nptl/localplt.data: Moved ...
8794 * sysdeps/unix/sysv/linux/arm/localplt.data: ... here.
8795 * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.h: Moved ...
8796 * sysdeps/unix/sysv/linux/arm/lowlevellock.h: ... here.
8797 * sysdeps/unix/sysv/linux/arm/nptl/sysdep-cancel.h: Moved ...
8798 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: ... here.
8799 * sysdeps/unix/sysv/linux/arm/nptl/unwind-forcedunwind.c: Moved ...
8800 * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c: ... here.
8801 * sysdeps/unix/sysv/linux/arm/nptl/unwind-resume.c: Moved ...
8802 * sysdeps/unix/sysv/linux/arm/unwind-resume.c: ... here.
8803
8c6d01f0
RM
8804 * sysdeps/unix/sysv/linux/arm/Versions (libc: GLIBC_PRIVATE): New set.
8805 * sysdeps/unix/sysv/linux/arm/nptl/Versions: File removed.
8806
8807 * sysdeps/unix/sysv/linux/arm/Makefile
8808 [$(subdir) = rt] (librt-sysdep_routines, librt-shared-only-routines):
8809 Add rt-aeabi_unwind_cpp_pr1.
8810 [$(subdir) = nptl] (librt-sysdep_routines, librt-shared-only-routines):
8811 Add nptl-aeabi_unwind_cpp_pr1.
8812 [$(subdir) = nptl] (tests): Filter out tst-cleanupx4.
8813 * sysdeps/unix/sysv/linux/arm/nptl/Makefile: File removed.
8814 * sysdeps/unix/sysv/linux/arm/nptl/rt-aeabi_unwind_cpp_pr1.c: Move ...
8815 * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
8816 * sysdeps/unix/sysv/linux/arm/nptl/nptl-aeabi_unwind_cpp_pr1.c: Move ...
8817 * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
8818
8819 * sysdeps/unix/sysv/linux/arm/configure.ac: Force -fexceptions here.
8820 * sysdeps/unix/sysv/linux/arm/configure: Regenerated.
8821 * sysdeps/unix/sysv/linux/arm/nptl/configure.ac: File removed.
8822 * sysdeps/unix/sysv/linux/arm/nptl/configure: File removed.
8823
bba6da4e
RM
8824 * sysdeps/unix/sysv/linux/arm/clone.S: Include <tcb-offsets.h>.
8825 Deconditionalize the code that was previously under [RESET_PID].
8826 * sysdeps/unix/sysv/linux/arm/nptl/clone.S: File removed.
8827
e0db6517
RM
8828 * sysdeps/generic/exit-thread.h: New file.
8829 * sysdeps/unix/sysv/linux/exit-thread.h: New file.
8830 * include/unistd.h (__exit_thread): Remove declaration.
8831 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Drop exit-thread.
8832 * sysdeps/unix/sysv/linux/exit-thread.S: File removed.
8833 * csu/libc-start.c: Include <exit-thread.h>.
8834 (LIBC_START_MAIN): Pass no argument to __exit_thread.
8835 * nptl/pthread_create.c: Include <exit-thread.h>.
8836 (start_thread): Call __exit_thread in place of __exit_thread_inline.
8837 * nptl/sysdeps/i386/pthreaddef.h (__exit_thread_inline): Macro removed.
8838 * nptl/sysdeps/powerpc/pthreaddef.h: Likewise.
8839 * nptl/sysdeps/s390/pthreaddef.h: Likewise.
8840 * nptl/sysdeps/sh/pthreaddef.h: Likewise.
8841 * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Likewise.
8842 * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Likewise.
8843 * nptl/sysdeps/x86_64/pthreaddef.h: Likewise.
8844 * sysdeps/aarch64/nptl/pthreaddef.h: Likewise.
8845 * sysdeps/alpha/nptl/pthreaddef.h: Likewise.
8846 * sysdeps/arm/nptl/pthreaddef.h: Likewise.
8847 * sysdeps/hppa/nptl/pthreaddef.h: Likewise.
8848 * sysdeps/ia64/nptl/pthreaddef.h: Likewise.
8849 * sysdeps/m68k/nptl/pthreaddef.h: Likewise.
8850 * sysdeps/microblaze/nptl/pthreaddef.h: Likewise.
8851 * sysdeps/mips/nptl/pthreaddef.h: Likewise.
8852 * sysdeps/tile/nptl/pthreaddef.h: Likewise.
8853
01eb16fd
AS
88542014-05-13 Andreas Schwab <schwab@suse.de>
8855
8856 * sysdeps/unix/grantpt.c (grantpt): Fix typo in assertion.
8857
637461d9
JM
88582014-05-12 Joseph Myers <joseph@codesourcery.com>
8859
8860 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__]
8861 (__ASSUME_UTIMES): Do not condition on kernel version.
8862 (__ASSUME_PSELECT): Define unconditionally.
8863 (__ASSUME_PPOLL): Likewise.
8864 (__ASSUME_ATFCTS): Likewise.
8865 (__ASSUME_SET_ROBUST_LIST): Do not condition on kernel version.
8866 (__ASSUME_COMPLETE_READV_WRITEV): Define unconditionally.
8867 (__ASSUME_FUTEX_LOCK_PI): Do not condition on kernel version.
8868 (__ASSUME_UTIMENSAT): Define unconditionally.
8869 (__ASSUME_PRIVATE_FUTEX): Likewise.
8870 (__ASSUME_FALLOCATE): Likewise.
8871 (__ASSUME_O_CLOEXEC): Likewise.
8872 (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Remove.
8873 (__ASSUME_ARG_MAX_STACK_BASED): Likewise.
8874 (__ASSUME_ADJ_OFFSET_SS_READ): Define unconditionally.
8875 (__ASSUME_SOCK_CLOEXEC): Do not condition on kernel version.
8876 (__ASSUME_IN_NONBLOCK): Likewise.
8877 (__ASSUME_PIPE2): Likewise.
8878 (__ASSUME_EVENTFD2): Likewise.
8879 (__ASSUME_SIGNALFD4): Likewise.
8880 (__ASSUME_DUP3): Likewise.
8881 [__x86_64__ || __sparc__] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
8882 (__ASSUME_FUTEX_CLOCK_REALTIME): Define unconditionally.
8883 (__ASSUME_AT_RANDOM): Likewise.
8884 (__ASSUME_PREADV): Likewise.
8885 (__ASSUME_PWRITEV): Likewise.
8886 (__ASSUME_REQUEUE_PI): Do not condition on kernel version.
8887 (__ASSUME_F_GETOWN_EX): Define unconditionally.
8888 (__ASSUME_XFS_RESTRICTED_CHOWN): Likewise.
8889 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
8890 [!__ASSUME_ARG_MAX_STACK_BASED]: Remove conditional code.
8891 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
8892 (__ASSUME_O_CLOEXEC): Define unconditionally.
8893 (__ASSUME_PSELECT): Do not undefine conditionally.
8894 (__ASSUME_PPOLL): Likewise.
8895 (__ASSUME_ATFCTS): Likewise.
8896 (__ASSUME_SET_ROBUST_LIST): Likewise.
8897 (__ASSUME_UTIMENSAT): Likewise.
8898 (__ASSUME_FDATASYNC): Define unconditionally.
8899 * sysdeps/unix/sysv/linux/arm/kernel-features.h
8900 (__ASSUME_SIGFRAME_V2): Likewise.
8901 )__ASSUME_EVENTFD2): Likewise.
8902 (__ASSUME_SIGNALFD4): Likewise.
8903 (__ASSUME_PSELECT): Do not undefine conditionally.
8904 (__ASSUME_PPOLL): Likewise.
8905 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
8906 (__ASSUME_PSELECT): Define unconditionally.
8907 (__ASSUME_PPOLL): Likewise.
8908 (__ASSUME_O_CLOEXEC): Likewise.
8909 (__ASSUME_SOCK_CLOEXEC): Likewise.
8910 (__ASSUME_IN_NONBLOCK): Likewise.
8911 (__ASSUME_PIPE2): Likewise.
8912 (__ASSUME_EVENTFD2): Likewise.
8913 (__ASSUME_SIGNALFD4): Likewise.
8914 (__ASSUME_DUP3): Likewise.
8915 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
8916 (__ASSUME_O_CLOEXEC): Likewise.
8917 (__ASSUME_SOCK_CLOEXEC): Likewise.
8918 (__ASSUME_IN_NONBLOCK): Likewise.
8919 (__ASSUME_PIPE2): Likewise.
8920 (__ASSUME_EVENTFD2): Likewise.
8921 (__ASSUME_SIGNALFD4): Likewise.
8922 (__ASSUME_DUP3): Likewise.
8923 * sysdeps/unix/sysv/linux/mips/kernel-features.h
8924 (__ASSUME_EVENTFD2): Likewise.
8925 (__ASSUME_SIGNALFD4): Likewise.
8926 (__ASSUME_ACCEPT4_SYSCALL): Likewise.
8927
315eb1d8
AS
89282014-05-12 Andreas Schwab <schwab@suse.de>
8929
8930 [BZ #16932]
8931 * nis/nss_nis/nis-hosts.c (internal_gethostbyname2_r)
8932 (_nss_nis_gethostbyname4_r): Return error if item length is larger
8933 than maximum RPC packet size.
8934 * nis/nss_nis/nis-initgroups.c (initgroups_netid): Likewise.
8935 * nis/nss_nis/nis-network.c (_nss_nis_getnetbyname_r): Likewise.
8936 * nis/nss_nis/nis-service.c (_nss_nis_getservbyname_r)
8937 (_nss_nis_getservbyport_r): Likewise.
8938
91df99f7
WN
89392014-05-12 Will Newton <will.newton@linaro.org>
8940
8941 * malloc/Makefile (tests): Add tst-mallopt.
8942 * malloc/tst-mallopt.c: New file.
8943
0a982a29
RM
89442014-05-09 Roland McGrath <roland@hack.frob.com>
8945
8946 * sysdeps/arm/armv7/strcmp.S: Use sfi_breg prefix on loads not from sp.
8947 [NO_THUMB]: Cope without cbz, cnbz, and orn instructions.
8948
0ded08a5
AZ
89492014-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8950
8951 * elf/Makefile (tst-tlsmod5.so): Add $(no-as-needed).
8952 (tst-tlsmod6.so): Likewise.
8953
55d4d550
RM
89542014-05-09 Roland McGrath <roland@hack.frob.com>
8955
8956 * sysdeps/gnu/unwind-resume.c (libgcc_s_resume): Mark as noreturn.
8957
77d08aca
JM
89582014-05-09 Joseph Myers <joseph@codesourcery.com>
8959
8960 [BZ #16064]
8961 * sysdeps/i386/fpu/fegetenv.c: Include <unistd.h>, <ldsodefs.h>
8962 and <dl-procinfo.h>.
8963 (__fegetenv): Save SSE state in envp->__eip if supported.
8964 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Save SSE state in
8965 envp->__eip if supported.
8966 * sysdeps/i386/fpu/fesetenv.c: Include <unistd.h>, <ldsodefs.h>
8967 and <dl-procinfo.h>.
8968 (__fesetenv): Always set __eip, __cs_selector, __opcode,
8969 __data_offset and __data_selector in environment to 0. Set SSE
8970 state if supported.
8971 * sysdeps/x86/fpu/Makefile [$(subdir) = math] (tests): Add
8972 test-fenv-sse.
8973 [$(subdir) = math] (CFLAGS-test-fenv-sse.c): Add -msse2
8974 -mfpmath=sse.
8975 * sysdeps/x86/fpu/test-fenv-sse.c: New file.
8976
28162f4d
WN
89772014-05-09 Will Newton <will.newton@linaro.org>
8978
8979 * sysdeps/arm/preconfigure.ac: Set libc_commonpagesize
8980 and libc_relro_required for ARM.
8981 * sysdeps/arm/preconfigure: Regenerate.
8982
5a414ff7
DV
89832014-05-09 Dominik Vogt <vogt@linux.vnet.ibm.com>
8984 Stefan Liebler <stli@linux.vnet.ibm.com>
8985
8986 * config.make.in (enable-lock-elision): New Makefile variable.
8987 * configure.ac: Likewise.
8988 * configure: Regenerate.
8989 * sysdeps/s390/configure.ac:
8990 Add check for gcc transactions support.
8991 * sysdeps/s390/configure: Regenerate.
8992 * nptl/sysdeps/unix/sysv/linux/s390/Makefile: New file.
8993 Build elision files if enabled.
8994 * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: New file.
8995 Add lock elision support for s390.
8996 * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Likewise.
8997 * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Likewise.
8998 * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Likewise.
8999 * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Likewise.
9000 * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Likewise.
9001 * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Likewise.
9002 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
9003 Likewise.
9004 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c:
9005 Likewise.
9006 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c:
9007 Likewise.
9008 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c:
9009 Likewise.
9010 * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h:
9011 (__lll_timedlock_elision, __lll_lock_elision)
9012 (__lll_unlock_elision, __lll_trylock_elision)
9013 (lll_timedlock_elision, lll_lock_elision)
9014 (lll_unlock_elision, lll_trylock_elision): Add.
9015 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
9016 (pthread_mutex_t): Add lock elision support for s390.
9017
1a2f40e5
W
90182014-05-14 Wilco <wdijkstr@arm.com>
9019
9020 * sysdeps/arm/fclrexcpt.c: Cleanup.
9021 * sysdeps/arm/fedisblxcpt.c: Cleanup.
9022 * sysdeps/arm/feenablxcpt.c: Cleanup.
9023 * sysdeps/arm/fegetenv.c: Cleanup.
9024 * sysdeps/arm/fegetexcept.c: Cleanup.
9025 * sysdeps/arm/fegetround.c: Cleanup.
9026 * sysdeps/arm/feholdexcpt.c: Cleanup.
9027 * sysdeps/arm/fesetenv.c: Cleanup.
9028 * sysdeps/arm/fesetround.c: Cleanup.
9029 * sysdeps/arm/feupdateenv.c: Cleanup.
9030 * sysdeps/arm/fgetexcptflg.c: Cleanup.
9031 * sysdeps/arm/fraiseexcpt.c: Cleanup.
9032 * sysdeps/arm/fsetexcptflg.c: Cleanup.
9033 * sysdeps/arm/ftestexcept.c: Cleanup.
9034 * sysdeps/arm/get-rounding-mode.h: Cleanup.
9035 * sysdeps/arm/setfpucw.c: Cleanup.
9036
f63c86fe
WN
90372014-05-09 Will Newton <will.newton@linaro.org>
9038
9039 * sysdeps/arm/armv7/strcmp.S: New file.
9040 * NEWS: Mention addition of ARMv7 optimized strcmp.
9041
7a1a51b5
RM
90422014-05-08 Roland McGrath <roland@hack.frob.com>
9043
95afbbe5
RM
9044 * Makeconfig ($(common-objpfx)config.status): Fix patsubst uses to
9045 look for %.ac rather than %.in.
9046
9047 * sysdeps/mach/hurd/configure.ac (inhibit_glue): Remove variable.
9048 * sysdeps/unix/sysv/linux/configure.ac: Likewise.
9049 * sysdeps/mach/hurd/configure: Regenerated.
9050 * sysdeps/unix/sysv/linux/configure: Regenerated.
9051
7a1a51b5
RM
9052 * bits/utsname.h (_UTSNAME_DOMAIN_LENGTH): New macro, set to 0.
9053
5057ad3b
SE
90542014-05-07 Steve Ellcey <sellcey@mips.com>
9055
9056 [BZ# 16922]
9057 * sysdeps/mips/sys/asm.h (INT_SUB): Fix definition.
9058 (LONG_SUB): Ditto.
9059 (PTR_SUB): Ditto.
9060
8dc97517
AS
90612014-05-07 Andreas Schwab <schwab@suse.de>
9062
9063 * sysdeps/posix/getaddrinfo.c (gaih_inet): Advance address pointer
9064 when skipping over non-matching result from nscd.
9065
ce0c5b8f
OB
90662014-05-07 Ondřej Bílka <neleai@seznam.cz>
9067
9068 [BZ #16876]
9069 * nptl/sockperf.c (client): Check socket return value.
8dc97517 9070
a1189263
OB
9071 [BZ #16877]
9072 * nscd/selinux.c (nscd_request_avc_has_perm): Check if there is
9073 nscd security class.
ce0c5b8f 9074
0f58d252
RM
90752014-05-06 Roland McGrath <roland@hack.frob.com>
9076
9077 * sysdeps/unix/sysv/linux/arm/nptl/unwind.h: File moved to ...
9078 * sysdeps/arm/unwind.h: ... here.
9079
83df9ad0
AJ
90802014-05-06 Aurelien Jarno <aurelien@aurel32.net>
9081
ce0c5b8f
OB
9082 [BZ# 16916]
9083 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h (EFD_SEMAPHORE):
9084 Define.
83df9ad0 9085
f360f94a
VR
90862014-05-06 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
9087
9088 * sysdeps/powerpc/powerpc64/power7/strncpy.S: New file: Optimization.
9089 * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: New file:
9090 multiarch strncpy for PPC64.
9091 * sysdeps/powerpc/powerpc64/multiarch/strncpy-ppc64.c: New file
9092 * sysdeps/powerpc/powerpc64/multiarch/strncpy-power7.S: New file
9093 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpcpy, stpncpy
9094 multiarch optimizations.
9095 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
9096 (__libc_ifunc_impl_list): Likewise.
9097 * sysdeps/powerpc/powerpc64/power7/stpncpy.S: New file: Optimization.
9098 * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: New file:
9099 multiarch stpncpy for PPC64.
9100 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-ppc64.c: New file
9101 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power7.S: New file
9102
978a41c3
AS
91032014-05-06 Andreas Schwab <schwab@suse.de>
9104
9105 [BZ #16912]
9106 * gmon/mcount.c (_MCOUNT_DECL): Use
9107 atomic_compare_and_exchange_bool_acq instead of
9108 catomic_compare_and_exchange_bool_acq.
9109
eb1ed03d
RM
91102014-05-05 Roland McGrath <roland@hack.frob.com>
9111
fe658845
RM
9112 * elf/Makefile (others, install-bin): Remove pldd.
9113 (pldd-modules): Variable removed.
9114 ($(objpfx)pldd): Target removed.
9115 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = elf]
9116 (others, install-bin): Append pldd here.
9117 ($(objpfx)pldd): New target.
9118
eb1ed03d
RM
9119 * sysdeps/gnu/errlist.awk (BEGIN): Emit an initial #define of ERR_MAX
9120 to 0, so the first #if test emitted later doesn't see it undefined.
9121 (END): Emit "!defined ERRLIST_NO_COMPAT" to match what BEGIN does.
9122 * sysdeps/gnu/errlist.c: Regenerated.
9123
19c4bec0
AZ
91242014-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9125
9126 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
9127 [libc_hidden_builtin_def]: Define to empty value.
9128 * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S:
9129 [libc_hidden_builtin_def]: Likewise.
9130 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S:
9131 [libc_hidden_builtin_def]: Likewise.
9132 * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S:
9133 [libc_hidden_builtin_def]: Likewise.
9134 * sysdeps/powerpc/powerpc64/multiarch/memcpy.c (memcpy): Redefined to
9135 __redirect_memcpy and define ifunc as default hidden symbol.
9136 * sysdeps/powerpc/powerpc64/multiarch/memset.c (memset): Likewise.
9137 * sysdeps/powerpc/powerpc64/multiarch/strlen.c (strlen): Likewise.
9138
7776e669
AC
91392014-05-04 Adam Conrad <adconrad@0c3.net>
9140
9141 * locale/iso-4217.def: Reintroduce XDR currency.
9142
d69aeb12
AM
91432014-05-04 Allan McRae <allan@archlinux.org>
9144
9145 * po/eo.po: Update Esperanto translation from translation project.
9146
8f1df5cf
CD
91472014-05-02 Carlos O'Donell <carlos@redhat.com>
9148
9149 * sysdeps/x86_64/multiarch/init-arch.h: Define FEATURE_INDEX_1 to 0,
9150 and FEATURE_INDEX_MAX to 1.
9151 [!__ASSEMBLER__]: Remove anonymous enum for FEATURE_INDEX_*.
9152
13e402e7
SE
91532014-05-01 Steve Ellcey <sellcey@mips.com>
9154
9155 * iconvdata/ansi_x3.110.c (ONE_DIRECTION): Define.
9156 * iconvdata/armscii-8.c (ONE_DIRECTION): Define.
9157 * iconvdata/big5.c (ONE_DIRECTION): Define.
9158 * iconvdata/big5hkscs.c (ONE_DIRECTION): Define.
9159 * iconvdata/cp1255.c (ONE_DIRECTION): Define.
9160 * iconvdata/cp1258.c (ONE_DIRECTION): Define.
9161 * iconvdata/cp932.c (ONE_DIRECTION): Define.
9162 * iconvdata/euc-cn.c (ONE_DIRECTION): Define.
9163 * iconvdata/euc-jisx0213.c (ONE_DIRECTION): Define.
9164 * iconvdata/euc-jp-ms.c (ONE_DIRECTION): Define.
9165 * iconvdata/euc-jp.c (ONE_DIRECTION): Define.
9166 * iconvdata/euc-kr.c (ONE_DIRECTION): Define.
9167 * iconvdata/euc-tw.c (ONE_DIRECTION): Define.
9168 * iconvdata/gb18030.c (ONE_DIRECTION): Define.
9169 * iconvdata/gbbig5.c (ONE_DIRECTION): Define.
9170 * iconvdata/gbgbk.c (ONE_DIRECTION): Define.
9171 * iconvdata/gbk.c (ONE_DIRECTION): Define.
9172 * iconvdata/ibm1364.c (ONE_DIRECTION): Define.
9173 * iconvdata/ibm930.c (ONE_DIRECTION): Define.
9174 * iconvdata/ibm932.c (ONE_DIRECTION): Define.
9175 * iconvdata/ibm933.c (ONE_DIRECTION): Define.
9176 * iconvdata/ibm935.c (ONE_DIRECTION): Define.
9177 * iconvdata/ibm937.c (ONE_DIRECTION): Define.
9178 * iconvdata/ibm939.c (ONE_DIRECTION): Define.
9179 * iconvdata/ibm943.c (ONE_DIRECTION): Define.
9180 * iconvdata/iso-2022-cn-ext.c (ONE_DIRECTION): Define.
9181 * iconvdata/iso-2022-cn.c (ONE_DIRECTION): Define.
9182 * iconvdata/iso-2022-jp-3.c (ONE_DIRECTION): Define.
9183 * iconvdata/iso-2022-jp.c (ONE_DIRECTION): Define.
9184 * iconvdata/iso-2022-kr.c (ONE_DIRECTION): Define.
9185 * iconvdata/iso646.c (ONE_DIRECTION): Define.
9186 * iconvdata/iso8859-1.c (ONE_DIRECTION): Define.
9187 * iconvdata/iso_11548-1.c (ONE_DIRECTION): Define.
9188 * iconvdata/iso_6937-2.c (ONE_DIRECTION): Define.
9189 * iconvdata/iso_6937.c (ONE_DIRECTION): Define.
9190 * iconvdata/johab.c (ONE_DIRECTION): Define.
9191 * iconvdata/shift_jisx0213.c (ONE_DIRECTION): Define.
9192 * iconvdata/sjis.c (ONE_DIRECTION): Define.
9193 * iconvdata/t.61.c (ONE_DIRECTION): Define.
9194 * iconvdata/tcvn5712-1.c (ONE_DIRECTION): Define.
9195 * iconvdata/tscii.c (ONE_DIRECTION): Define.
9196 * iconvdata/uhc.c (ONE_DIRECTION): Define.
9197 * iconvdata/unicode.c (ONE_DIRECTION): Define.
9198 * iconvdata/utf-16.c (ONE_DIRECTION): Define.
9199 * iconvdata/utf-32.c (ONE_DIRECTION): Define.
9200 * iconvdata/utf-7.c (ONE_DIRECTION): Define.
9201
c727f032
RM
92022014-05-01 Roland McGrath <roland@hack.frob.com>
9203
8f2f08d0
RM
9204 * libio/libioP.h [!_IO_USE_OLD_IO_FILE && !_G_IO_NO_BACKWARD_COMPAT]
9205 (_IO_JUMPS_OFFSET): Define to 0.
9206
c727f032
RM
9207 * nptl/sysdeps/pthread/bits/libc-lock.h
9208 [_LIBC && (!NOT_IN_libc || IS_IN_libpthread)]
9209 (__libc_lock_define_initialized_recursive): Always define using
9210 initializer. Modern compilers treat uninitialized (implicit zero) and
9211 explicit zero initializers the same (i.e. put the datum in bss).
9212
a849e800
AS
92132014-05-01 Andreas Schwab <schwab@linux-m68k.org>
9214
9215 * nscd/nscd-client.h: Include <string.h>.
9216
5331255b
DM
92172014-05-01 David S. Miller <davem@davemloft.net>
9218
9219 [BZ #16885]
9220 * sysdeps/sparc/sparc64/strcmp.S: Fix end comparison handling when
9221 multiple zero bytes exist at the end of a string.
9222 Reported by Aurelien Jarno <aurelien@aurel32.net>
9223
9224 * string/test-strcmp.c (check): Add explicit test for situations where
9225 there are multiple zero bytes after the first.
9226
4fdfe821
AS
92272014-05-01 Andreas Schwab <schwab@linux-m68k.org>
9228
9229 [BZ #16890]
9230 * stdio-common/vfprintf.c (process_arg) [%p]: Mark string as wide
9231 when compiling wprintf.
9232 * stdio-common/tstdiomisc.c (t3): New function.
9233 (main): Call it.
9234
0cdddc25
SE
92352014-05-01 Steve Ellcey <sellcey@mips.com>
9236
9237 * intl/iconv/skeleton.c (ONE_DIRECTION): Remove define.
9238 * iconv/gconv_simple.c (ONE_DIRECTION): Define.
9239 * iconvdata/8bit-gap.c (ONE_DIRECTION): Ditto.
9240 * iconvdata/8bit-generic.c (ONE_DIRECTION): Ditto.
9241
6426d77e
SE
92422014-05-01 Steve Ellcey <sellcey@mips.com>
9243
9244 * stdlib/longlong.h: Updated from GCC.
9245
6d96f5e4
WN
92462014-05-01 Will Newton <will.newton@linaro.org>
9247 Bernard Ogden <bernie.ogden@linaro.org>
9248
7470db0c
WN
9249 * NEWS: Update fixed bug list.
9250
6d96f5e4
WN
9251 [BZ #15119]
9252 * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.c: Remove file.
9253
211d653c
DM
92542014-04-30 David S. Miller <davem@davemloft.net>
9255
4fa262fa
DM
9256 * sysdeps/sparc/fpu/fenv_private.h (HAVE_RM_CTX): Define.
9257 (libc_feholdexcept_setround_sparc_ctx): New function.
9258 (libc_fesetenv_sparc_ctx): Likewise.
9259 (libc_feupdateenv_sparc_ctx): Likewise.
9260 (libc_feholdsetround_sparc_ctx): Likewise.
9261 (libc_feholdexcept_setround_ctx): Define.
9262 (libc_feholdexcept_setroundf_ctx): Likewise.
9263 (libc_feholdexcept_setroundl_ctx): Likewise.
9264 (libc_fesetenv_ctx): Likewise.
9265 (libc_fesetenvf_ctx): Likewise.
9266 (libc_fesetenvl_ctx): Likewise.
9267 (libc_feupdateenv_ctx): Likewise.
9268 (libc_feupdateenvf_ctx): Likewise.
9269 (libc_feupdateenvl_ctx): Likewise.
9270 (libc_feresetround_ctx): Likewise.
9271 (libc_feresetroundf_ctx): Likewise.
9272 (libc_feresetroundl_ctx): Likewise.
9273 (libc_feholdsetround_ctx): Likewise.
9274 (libc_feholdsetroundf_ctx): Likewise.
9275 (libc_feholdsetroundl_ctx): Likewise.
9276
1d3d93ef
DM
9277 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
9278 with __USE_GNU instead of XOPEN cpp guards.
9279
8aa583c3
DM
9280 * sysdeps/sparc/bits/string.h (_STRING_ARCH_unaligned): Define to
9281 0.
9282
211d653c
DM
9283 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
9284 with XOPEN cpp guards.
9285
60c8f1f6
JB
92862014-04-30 Julian Brown <julian@codesourcery.com>
9287
9288 [BZ #16888]
9289 * sysdeps/arm/dl-machine.h (elf_machine_rela): Fix R_ARM_IRELATIVE
9290 handling.
9291
9a461d46
JM
92922014-04-30 Joseph Myers <joseph@codesourcery.com>
9293
d0f5b3f8
JM
9294 [BZ #9894]
9295 * sysdeps/unix/sysv/linux/configure.ac (LIBC_LINUX_VERSION):
9296 Change to 2.6.32.
9297 (arch_minimum_kernel): Change all 2.6.16 settings to 2.6.32.
9298 * sysdeps/unix/sysv/linux/configure: Regenerated.
9299 * sysdeps/unix/sysv/linux/microblaze/configure.ac: Remove file.
9300 * sysdeps/unix/sysv/linux/microblaze/configure: Likewise.
9301 * sysdeps/unix/sysv/linux/tile/configure.ac: Likewise.
9302 * sysdeps/unix/sysv/linux/tile/configure: Likewise.
9303 * README: Update reference to required Linux kernel version.
9304 * manual/install.texi (Linux): Update reference to required Linux
9305 kernel headers version.
9306 * INSTALL: Regenerated.
9307
9a461d46
JM
9308 * conform/data/stdlib.h-data [POSIX] (stddef.h): Do not allow
9309 header inclusion.
9310 [POSIX] (limits.h): Likewise.
9311 [POSIX] (math.h): Likewise.
9312 [POSIX] (sys/wait.h): Likewise.
9313 * conform/data/string.h-data [POSIX || UNIX98] (strtok_r): Require
9314 function.
9315 [POSIX] (stddef.h): Do not allow header inclusion.
9316
1775babf
AZ
93172014-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9318
57f41c40 9319 * sysdeps/generic/symbol-hacks.h (memcpy): Add internal alias.
1775babf 9320
8f630cca
YY
93212014-04-30 Yang Yingliang <yangyingliang@huawei.com>
9322
9323 * nptl/pthread_cond_broadcast.c (__pthread_cond_broadcast):
9324 Return immediately after lll_futex_wake.
9325
1cdeb237
SP
93262014-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
9327
bc8f194c
SP
9328 [BZ #16791]
9329 * nscd/nscd-client.h (datahead_init_common): Initialize entire
9330 structure.
9331 (datahead_init_pos): Call datahead_init_common early.
9332 (datahead_init_neg): Likewise.
9333
1cdeb237
SP
9334 * nscd/nscd-client.h (datahead_init_common, datahead_init_pos,
9335 datahead_init_neg): New functions.
9336 * nscd/aicache.c (addhstaiX): Use them.
9337 * nscd/grpcache.c (cache_addgr): Likewise.
9338 * nscd/hstcache.c (cache_addhst): Likewise.
9339 * nscd/initgrcache.c (addinitgroupsX): Likewise.
9340 * nscd/netgroupcache.c (do_notfound): Likewise.
9341 (addgetnetgrentX): Likewise.
9342 (addinnetgrX): Likewise.
9343 * nscd/pwdcache.c (cache_addpw): Likewise.
9344 * nscd/servicescache.c (cache_addserv): Likewise.
9345
16b293a7
SP
93462014-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
9347 Atsushi Onoe <atsushi@onoe.org>
9348
9349 [BZ #14308]
9350 [BZ #12994]
9351 [BZ #13651]
9352 * resolv/res_query.c (__libc_res_nsearch): Return if at least
9353 one response is valid.
9354 * resolv/res_send.c (send_dg): Check for validity of other
9355 response if the current response is a referral.
9356
a28a9b94
SE
93572014-04-29 Steve Ellcey <sellcey@mips.com>
9358
9359 * iconv/skeleton.c (ONE_DIRECTION): Set default value if not set.
9360
2ca180e9
SL
93612014-04-29 Stefan Liebler <stli@linux.vnet.ibm.com>
9362
9363 [BZ #16823]
9364 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl):
9365 Always divide by positive zero when computing -Inf result.
9366 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
9367 * sysdeps/ieee754/flt-32/s_log1pf.c (__log1pf): Likewise.
9368
18f2945a
AZ
93692014-04-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9370
9371 * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Do not update
9372 FPSCR if value do not change.
9373 * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
9374 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Likewise.
9375 * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Likewise.
9376 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
9377 * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Likewise.
9378 * sysdeps/powerpc/fpu/fenv_libc.h (fenv_reg_to_exceptions): New helper
9379 function.
9380
5abebba4
CD
93812014-05-29 Carlos O'Donell <carlos@systemhalted.org>
9382
9383 * sysdeps/hppa: Move directory from ports/sysdeps/hppa.
9384 * sysdeps/unix/sysv/linux/hppa: Move directory from
9385 ports/systeps/unix/sysv/linux/hppa.
9386 * README: Update listing for hppa-*-linux-gnu.
9387
f7ed60c2
OB
93882014-04-28 Ondřej Bílka <neleai@seznam.cz>
9389
fff763a5
OB
9390 [BZ #16754]
9391 * manual/stdio.texi (Hook functions): Fix types of stream hook
9392 functions.
f7ed60c2
OB
9393 [BZ #16854]
9394 * socket/sys/socket.h: Fix typo in comment.
9395
df639d73
WD
93962014-04-28 Wilco <wdijkstr@arm.com>
9397
f7ed60c2 9398 * sysdeps/arm/fenv_private.h: New file.
df639d73
WD
9399 * sysdeps/arm/math_private.h: New file.
9400 * sysdeps/arm/fpu_control.h: Add _FPU_MASK_NCZV and _FPU_MASK_EXCEPT.
9401
48332d82
L
94022014-04-25 H.J. Lu <hongjiu.lu@intel.com>
9403
9404 * sysdeps/x86/bits/link.h (La_x86_64_regs): Replace __int128
9405 with __int128_t.
9406 (La_x86_64_retval): Likewise.
9407
e5e0d9a4
IB
94082014-04-24 Ian Bolton <ian.bolton@arm.com>
9409
9410 * sysdeps/aarch64/fpu/fclrexcpt.c (feclearexcept): Don't write to
9411 fpsr if value didn't change.
9412 * sysdeps/aarch64/fpu/fedisblxcpt.c (fedisableexcept): Don't write
9413 to fpcr if value didn't change.
9414 * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Likewise.
9415 * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Don't write to
9416 fpsr or fpcr if value didn't change.
9417 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
9418 * sysdeps/aarch64/fpu/fesetround.c (fesetround): Don't write to
9419 fpcr if value didn't change.
9420 * sysdeps/aarch64/fpu/fsetexcptflg.c (fesetexceptflag): Don't write
9421 to fpsr if value didn't change.
9422
bacc75f7
SP
94232014-02-23 Siddhesh Poyarekar <siddhesh@redhat.com>
9424
9425 * nptl/tst-sem3.c: Use test-skeleton.c
9426 (main): Rename to do_test. Use return instead of
9427 exit.
9428 * nptl/tst-sem4.c: Use test-skeleton.c
9429 (main): Rename to do_test.
9430
a059d359
DM
94312014-04-22 David S. Miller <davem@davemloft.net>
9432
9433 * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h
9434 (struct sigaction): New struct member __glibc_reserved0, change
9435 type of sa_flags to int.
9436
ea6c92f3
YZ
94372014-04-22 Yufeng Zhang <yufeng.zhang@arm.com>
9438
9439 * stdlib/longlong.h (count_leading_zeros, count_trailing_zeros)
9440 (COUNT_LEADING_ZEROS_0): Define for AArch64.
9441
766c4a36
SP
94422014-04-22 Siddhesh Poyarekar <siddhesh@redhat.com>
9443
9444 * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Include atomic.h.
9445 * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Likewise.
9446
140cc7ab
VK
94472014-04-22 Will Newton <will.newton@linaro.org>
9448 Venkataramanan Kumar <venkataramanan.kumar@linaro.org>
9449
9450 * sysdeps/aarch64/__longjmp.S: Include stap-probe.h.
9451 (__longjmp): Add longjmp and longjmp_target SystemTap
9452 probes.
9453 * sysdeps/aarch64/setjmp.S: Include stap-probe.h.
9454 (__sigsetjmp): Add setjmp SystemTap probe.
9455
c54e5cf7
CD
94562014-04-17 Carlos O'Donell <carlos@redhat.com>
9457
9458 * manual/intro.texi (Roadmap to the manual): Sort chapter listing to
9459 match manual order.
9460
75ffb047
AZ
94612014-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9462
9463 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_once.c: Remove file.
9464
2cd925f7
AZ
9465 * sysdeps/powerpc/fpu/fenv_private.h
9466 (libc_feholdexcept_setroundl_ctx): Define to
9467 libc_feholdexcept_setround_ppc_ctx.
9468 (libc_fesetenvl_ctx): Define to libc_fesetenv_ppc_ctx.
9469 (libc_feholdsetroundl_ctx): Define to libc_feholdsetround_ppc_ctx.
9470 (libc_feresetroundl_ctx): Define to libc_feresetround_ppc_ctx.
9471 (libc_feupdateenvl_ctx): libc_feupdateenv_ppc_ctx.
9472
39e6cd8d
IB
94732014-04-17 Ian Bolton <ian.bolton@arm.com>
9474
9475 * sysdeps/aarch64/math-tests.h: New file.
9476
f9281df9
SY
94772014-04-17 Sihai Yao <sihai.ysh@alibaba-inc.com>
9478
9479 * sysdeps/x86_64/multiarch/ifunc-defines.sym (COMMON_CPUID_INDEX_7):
9480 New.
9481 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
9482 Check and set bit_AVX2_Usable.
9483 * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX2_Usable): New
9484 macro.
9485 (bit_AVX2): Likewise.
9486 (index_AVX2_Usable): Likewise.
9487 (CPUID_AVX2): Likewise.
9488 (HAS_AVX2): Likewise.
9489
37d35007
WN
94902014-04-17 Will Newton <will.newton@linaro.org>
9491
7c677662
WN
9492 * manual/setjmp.texi (System V contexts): Add note that
9493 calling setcontext on a context created by a call to a
9494 signal handler is undefined. Update text to note that
9495 setcontext from a signal handler is possible but not
9496 recommended.
9497
37d35007 9498 [BZ #16629]
e04a4e9d
WN
9499 * stdlib/tst-setcontext.c: Include signal.h.
9500 (main): Check that the signal stack before and
9501 after swapcontext is the same.
9502
37d35007
WN
9503 * sysdeps/unix/sysv/linux/aarch64/setcontext.S (__setcontext):
9504 Re-implement to restore registers in user code and avoid
9505 rt_sigreturn system call.
9506
423a7160
W
95072014-04-17 Wilco <wdijkstr@arm.com>
9508
9509 * sysdeps/arm/math-tests.h: New file: Set ARM math-test settings.
9510 * sysdeps/generic/math-tests.h: Add macro (EXCEPTION_ENABLE_SUPPORTED).
9511 * math/test-fenv.c: Skip exception trap tests on targets which only
9512 support non-stop mode.
9513
bc93ab29
IB
95142014-04-17 Ian Bolton <ian.bolton@arm.com>
9515 Wilco Dijkstra <wilco.dijkstra@arm.com>
9516
9517 * sysdeps/aarch64/fpu/math_private.h (HAVE_RM_CTX)
9518 (libc_feholdsetround_aarch64_ctx)
9519 (libc_feholdsetround_ctx, libc_feholdsetroundf_ctx)
9520 (libc_feholdsetroundl_ctx, libc_feresetround_aarch64_ctx)
9521 (libc_feresetround_ctx, libc_feresetroundf_ctx)
9522 (libc_feresetroundl_ctx, libc_feresetround_noex_aarch64_ctx)
9523 (libc_feresetround_noex_ctx, libc_feresetround_noexf_ctx)
9524 (libc_feresetround_noexl_ctx): Define.
9525
95fc5fa3
RH
95262014-04-16 Richard Henderson <rth@redhat.com>
9527
ddb04724
RH
9528 * sysdeps/unix/sysv/linux/alpha/nptl/pthread_once.c: Remove.
9529
d77c0899
RH
9530 * sysdeps/alpha/Makefile [debug] (CFLAGS-backtrace.c): Enable
9531 unwind tables.
9532
a3df56fc
RH
9533 * sysdeps/unix/alpha/sysdep.h (__pointer_chk_guard): Remove
9534 const from the non-libc, non-ldso copy.
9535
95fc5fa3
RH
9536 * sysdeps/alpha/libm-test-ulps: Regenerate.
9537
7e0b6763
IB
95382014-04-16 Ian Bolton <ian.bolton@arm.com>
9539 Wilco Dijkstra <wilco.dijkstra@arm.com>
9540
9541 * sysdeps/aarch64/fpu/math_private.h: New file.
9542
a9ea2e0c
MS
95432014-04-16 Marcus Shawcroft <marcus.shawcroft@arm.com>
9544
9545 * sysdeps/aarch64/libm-test-ulps: Regenerate.
9546
ea8ba7cd
IZ
95472014-04-16 Igor Zamyatin <igor.zamyatin@intel.com>
9548
7e54fd04 9549 [BZ #16275]
ea8ba7cd
IZ
9550 * sysdeps/x86_64/bits/link.h (La_x86_64_regs): Add lr_bnd.
9551 (La_x86_64_retval): Add lrv_bnd0 and lrv_bnd1.
9552 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Save
9553 Intel MPX bound registers before _dl_profile_fixup.
9554 * sysdeps/x86_64/dl-trampoline.h: Restore Intel MPX bound
9555 registers after _dl_profile_fixup. Save and restore bound
9556 registers bnd0/bnd1 when calling _dl_call_pltexit.
9557 * sysdeps/x86_64/link-defines.sym (BND_SIZE): New.
9558 (LR_BND_OFFSET): Likewise.
9559 (LRV_BND0_OFFSET): Likewise.
9560 (LRV_BND1_OFFSET): Likewise.
9561
9f2a4fbc
ST
95622014-04-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
9563
9564 * sysdeps/mach/hurd/tls.h (dtv, dtv_t, tcbhead_t): Move declarations
9565 to...
9566 * sysdeps/mach/hurd/i386/tls.h: ... here.
3c799e91
ST
9567 (tcbhead_t): Add multiple_threads, sysinfo, stack_guard,
9568 pointer_guard, gscope_flag, private_futex, __private_tm, __private_ss
9569 fields.
9f2a4fbc 9570
fd15a59b
ST
95712014-04-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
9572
9573 * sysdeps/mach/munmap.c (__munmap): Return EINVAL if `addr' is 0.
9574
f19dfa0a
SL
95752014-04-16 Stefan Liebler <stli@linux.vnet.ibm.com>
9576
9577 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
9578
4fa8bc3b
SL
95792014-04-16 Stefan Liebler <stli@linux.vnet.ibm.com>
9580
9581 [BZ #14770]
9582 * sysdeps/s390/configure.ac: Check for Binutils >= 2.24.
9583 * sysdeps/s390/configure: Regenerate.
9584
8ea587db
SL
9585 [BZ #16824]
9586 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l):
9587 Set round-to-nearest internally to reduce error accumulation.
9588
aa5f0ff1
AM
95892014-04-16 Alan Modra <amodra@gmail.com>
9590
9591 [BZ #16740]
9592 [BZ #16619]
9593 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Rewrite.
9594 * math/libm-test.inc (frexp_test_data): Add tests.
9860b045 9595 * NEWS: Update fixed bug list.
aa5f0ff1 9596
bb9c256f
SP
95972014-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
9598
9599 * benchtests/Makefile: Depend on libraries in build directory.
9600 (bench-math): Separate out math tests.
9601 (bench-pthread): Separate out pthread tests.
9602 (bench): Include math and pthread tests.
9603
f737dfd0
CD
96042014-04-14 Carlos O'Donell <carlos@redhat.com>
9605
9606 [BZ #16831]
9607 * csu/libc-start.c (LIBC_START_MAIN) [!SHARED]: Call
9608 _dl_debug_initialize.
9609
0699f766
CD
9610 * configure.ac: Remove SELinux header check.
9611 * configure: Regenerate.
9612 * nscd/selinux.c (perms): Array of const char* to permission names.
9613 (nscd_request_avc_has_perm): Call security_deny_unknown to find
9614 default policy. Call string_to_security_class and string_to_av_perm to
9615 translate strings. Enforce default policy and call avs_has_perm with
9616 results of translated strings.
9617
809bd45f
DM
96182014-04-13 David S. Miller <davem@davemloft.net>
9619
9620 * sysdeps/sparc/fpu/libm-test-ulps: Update.
9621
89e691f2
AM
96222014-04-12 Allan McRae <allan@archlinux.org>
9623
9624 [BZ #16838]
9625 * manual/string.texi (Collation Functions): Fix qsort argument
9626 order in example.
9627 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
9628
9c9daaeb
CM
96292014-04-11 Chris Metcalf <cmetcalf@tilera.com>
9630
9631 * math/test-fenv-preserve.c [FE_ALL_EXCEPT == 0] (do_test):
9632 Make the test a no-op if there are no exceptions defined.
9633
95561fb9
PP
96342014-04-11 Paul Pluzhnikov <ppluzhnikov@google.com>
9635
fe8d072c 9636 * elf/Makefile (tests): make tst-dlopen-aout conditional on
95561fb9
PP
9637 enable-hardcoded-path-in-tests
9638
970c602a
WN
96392014-04-11 Will Newton <will.newton@linaro.org>
9640
9641 * benchtests/Makefile (extra-objs): Add json-lib.o.
9642 (bench-func): Tidy up JSON output.
9643 * benchtests/bench-skeleton.c: Include json-lib.h.
9644 (main): Use JSON library functions to do output of
9645 benchmark results.
9646 * benchtests/bench-timing-type.c (main): Output the
9647 timing type simply, leaving formatting to the user.
9648 * benchtests/json-lib.c: New file.
9649 * benchtests/json-lib.h: Likewise.
9650
36875b06
TR
96512014-04-11 Torvald Riegel <triegel@redhat.com>
9652
9653 [BZ #15215]
9654 * nptl/sysdeps/unix/sysv/linux/sparc/pthread_once.c: Moved to ...
9655 * nptl/sysdeps/unix/sysv/linux/pthread_once.c: ... here. Add missing
9656 memory barriers. Add comments.
9657 * sysdeps/unix/sysv/linux/aarch64/nptl/pthread_once.c: Remove file.
9658 * sysdeps/unix/sysv/linux/arm/nptl/pthread_once.c: Remove file.
9659 * sysdeps/unix/sysv/linux/ia64/nptl/pthread_once.c: Remove file.
9660 * sysdeps/unix/sysv/linux/m68k/nptl/pthread_once.c: Remove file.
9661 * sysdeps/unix/sysv/linux/mips/nptl/pthread_once.c: Remove file.
9662 * sysdeps/unix/sysv/linux/tile/nptl/pthread_once.c: Remove file.
9663
579db35a
SL
96642014-04-11 Stefan Liebler <stli@linux.vnet.ibm.com>
9665
9666 * sysdeps/s390/s390-32/configure.ac: Unify file with ...
9667 * sysdeps/s390/s390-64/configure.ac: ... this ...
9668 * sysdeps/s390/configure.ac: ... to here.
9669 * sysdeps/s390/s390-32/configure: Delete file.
9670 * sysdeps/s390/s390-64/configure: Delete file.
9671 * sysdeps/s390/configure: Regenerate.
9672
c12e9f37
JAPH
96732014-04-11 Joseph Anthony Pasquale Holsten <joseph@josephholsten.com>
9674
9675 * resolv/res_query.c (__libc_res_nsearch): Fix typo in comment.
9676
439bda32
WN
96772014-04-11 Will Newton <will.newton@linaro.org>
9678
9679 * malloc/malloc.c [!MALLOC_DEBUG]: #define MALLOC_DEBUG
9680 to zero if it is not defined elsewhere. (mtrim): Test
9681 the value of MALLOC_DEBUG with #if rather than #ifdef.
9682
6a5d6ea1
TR
96832014-04-10 Torvald Riegel <triegel@redhat.com>
9684
9685 * benchtests/pthread_once-inputs: New file.
9686 * benchtests/pthread_once-source.c: New file.
9687 * benchtests/README: Update documentation.
9688
a4c75cfd
IZ
96892014-04-09 Igor Zamyatin <igor.zamyatin@intel.com>
9690 H.J. Lu <hongjiu.lu@intel.com>
9691
7e54fd04 9692 [BZ #16275]
a4c75cfd
IZ
9693 * config.h.in (HAVE_MPX_SUPPORT): New #undef.
9694 * sysdeps/x86_64/configure.ac: Set HAVE_MPX_SUPPORT.
9695 * sysdeps/x86_64/configure: Regenerated.
9696 * sysdeps/x86_64/dl-trampoline.S (REGISTER_SAVE_AREA): New
9697 macro.
9698 (REGISTER_SAVE_RAX): Likewise.
9699 (REGISTER_SAVE_RCX): Likewise.
9700 (REGISTER_SAVE_RDX): Likewise.
9701 (REGISTER_SAVE_RSI): Likewise.
9702 (REGISTER_SAVE_RDI): Likewise.
9703 (REGISTER_SAVE_R8): Likewise.
9704 (REGISTER_SAVE_R9): Likewise.
9705 (REGISTER_SAVE_BND0): Likewise.
9706 (REGISTER_SAVE_BND1): Likewise.
9707 (REGISTER_SAVE_BND2): Likewise.
9708 (_dl_runtime_resolve): Use them. Save and restore Intel MPX
9709 bound registers when calling _dl_fixup.
9710
27822ce6
AZ
97112014-04-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9712
9713 * bits/string.h (_STRING_ARCH_unaligned): Define it to 0.
57f41c40
AS
9714 * crypt/sha256.c (_STRING_ARCH_unaligned): Check its value instead
9715 of its definition.
27822ce6
AZ
9716 * iconv/gconv_simple.c (_STRING_ARCH_unaligned): Likewise.
9717 * iconv/loop.c (_STRING_ARCH_unaligned): Likewise.
9718 * iconv/skeleton.c (_STRING_ARCH_unaligned): Likewise.
9719 * nscd/nscd_gethst_r.c (_STRING_ARCH_unaligned): Likewise.
9720 * nscd/nscd_getserv_r.c (_STRING_ARCH_unaligned): Likewise.
9721 * nscd/nscd_helper.c (_STRING_ARCH_unaligned): Likewise.
9722 * resolv/res_send.c (_STRING_ARCH_unaligned): Likewise.
9723
a88ddc90
PTB
97242014-04-09 Peter Brett <peter@peter-b.co.uk>
9725
9726 [BZ #15514]
9727 * sysdeps/posix/pathconf.c (__pathconf): Use statvfs64() for
9728 pathconf(_PC_NAME_MAX).
9729
01f8eac2
AZ
97302014-04-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9731
9732 * nptl/sysdeps/pthread/pthread.h (__PTHREAD_MUTEX_HAVE_ELISION):
9733 Remove macro usage.
9734 (__PTHREAD_SPINS): Move definition to ...
9735 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
9736 (__PTHREAD_SPINS): ... here.
9737 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
9738 (__PTHREAD_SPIN): Likewise.
9739 * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h
9740 (__PTHREAD_SPIN): Likewise.
9741 * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h
9742 (__PTHREAD_SPIN): Likewise.
9743 * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h
9744 (__PTHREAD_SPIN): Likewise.
9745 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
9746 (__PTHREAD_SPIN): Likewise.
9747 * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
9748 (__PTHREAD_SPIN): Likewise.
9749 * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h
9750 (__PTHREAD_SPIN): Likewise.
9751 * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
9752 (__PTHREAD_SPIN): Likewise.
9753 * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
9754 (__PTHREAD_SPIN): Likewise.
9755 * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
9756 (__PTHREAD_SPIN): Likewise.
9757 * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
9758 (__PTHREAD_SPIN): Likewise.
9759 * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h
9760 (__PTHREAD_SPIN): Likewise.
9761
de21c33c
AZ
9762 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: New file.
9763 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: new file.
9764 * sysdeps/powerpc/powerpc64/power6x/multiarch/Implies: New file.
9765 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove multiarch
9766 imply folder.
9767 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Likewise.
9768 * sysdeps/powerpc/powerpc64/power7/fpu/Implies: Likewise.
9769 * sysdeps/powerpc/powerpc64/power8/fpu/Implies: Likewise.
9770 * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: Adjust
9771 correct imply path.
9772 * sysdeps/powerpc/powerpc64/power7/strncat.S (STRLEN): Define correct
9773 strlen symbol for non multi-arch builds.
9774 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (__isnan): Add
9775 missing hidden_def and weak_alias.
9776
862c472e
CD
97772014-04-08 Carlos O'Donell <carlos@redhat.com>
9778
9779 * manual/ipc.texi (sem_close): AC-unsafe because of aculock.
9780
8667f90e
WN
97812014-04-07 Will Newton <will.newton@linaro.org>
9782
9783 * string/basename.c [HAVE_CONFIG_H]: Remove #ifdef and
9784 and contents. [!_LIBC] Remove #ifndef and contents.
9785 (basename): Use ANSI prototype. [_LIBC] Remove #idef.
9786 * string/memccpy.c (__memccpy): Use ANSI prototype.
9787 * string/memfrob.c (memfrob): Likewise.
9788 * string/strcoll.c (STRCOLL): Likewise.
9789 * string/strlen.c (strlen): Likewise.
9790 * string/strtok.c (STRTOK): Likewise.
9791 * string/strcat.c: Remove unused #include of memcopy.h.
9792 (strcat): Use ANSI prototype.
9793 * string/strchr.c: Remove unused #include of memcopy.h.
9794 (strchr): Use ANSI prototype.
9795 * string/strcmp.c: Remove unused #include of memcopy.h.
9796 (strcmp): Use ANSI prototype.
9797 * string/strcpy.c: Remove unused #include of memcopy.h.
9798 (strcpy): Use ANSI prototype.
9799
7ffa9423
AZ
98002014-04-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9801
9802 * Makeconfig (CPPFLAGS): Add config-extra-cppflags to list.
9803 * config.make.in (config-extra-cppflags): Set it from
9804 libc_extra_cppflags.
9805 * configure.ac (libc_extra_cflags): Make it accumulate over
9806 configure fragments.
9807 (libc_extra_cppflags): New flag.
9808 * configure. Regenerate.
9809 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
57f41c40
AS
9810 (libc_cv_ppc64_def_call_elf): Define it to yes if compiler does
9811 not set _CALL_ELF and add -D_CALL_ELF=1 to libc_extra_cppflags.
7ffa9423
AZ
9812 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Regenerate.
9813
8bd70862
AZ
9814 [BZ #16815]
9815 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (__nearbyint): Fix
9816 result for FE_DOWNWARD rounding mode.
9817 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S (__nearbyintf):
9818 Likewise.
9819 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
9820
d42f3448
CM
98212014-04-04 Chris Metcalf <cmetcalf@tilera.com>
9822
9823 * sysdeps/tile/dl-runtime.c (_dl_unmap): Fix cut-and-paste bug
9824 in function argument name.
9825
1c21d115
DS
98262014-04-03 David Svoboda <svoboda@cert.org>
9827
9828 [BZ #5666]
9829 * manual/stdio.texi (Line-Oriented Input): Document buffer allocation
9830 explicitly.
9831
fcccd512
RM
98322014-04-03 Roland McGrath <roland@hack.frob.com>
9833
9834 * elf/dl-unmap-segments.h: New file.
9835 * sysdeps/generic/ldsodefs.h
9836 (DL_UNMAP): Use _dl_unmap_segments in place of __munmap.
9837 * elf/dl-close.c: Include <dl-unmap-segments.h>.
9838 * elf/dl-fptr.c: Likewise.
9839 (_dl_unmap): Use _dl_unmap_segments in place of __munmap.
9840 * sysdeps/aarch64/tlsdesc.c: Likewise.
9841 * sysdeps/arm/tlsdesc.c: Likewise.
9842 * sysdeps/i386/tlsdesc.c: Likewise.
9843 * sysdeps/tile/dl-runtime.c: Likewise.
9844 * sysdeps/x86_64/tlsdesc.c: Likewise.
9845 * elf/dl-load.h: New file.
9846 * elf/dl-load.c: Include it.
9847 (MAP_FILE, MAP_COPY, MAP_BASE_ADDR):
9848 Macros moved to dl-load.h.
9849 (ELF_PREFERRED_ADDRESS_DATA, ELF_PREFERRED_ADDRESS): Likewise.
9850 (_dl_map_object_from_fd): Type 'struct loadcmd' moved to dl-load.h.
9851 Use _dl_unmap_segments in place of __munmap.
9852 Break out segment-mapping loop into ...
9853 * elf/dl-map-segments.h (_dl_map_segments): ... here, in new file.
9854
f6488e2b
WN
98552014-04-03 Will Newton <will.newton@linaro.org>
9856
9857 * elf/dl-lookup.c (do_lookup_x): Remove comment
9858 referring to nested function and move variable
9859 declarations down to before first use.
9860
6f05bafe
JM
98612014-04-02 Joseph Myers <joseph@codesourcery.com>
9862
a84e78c8
JM
9863 [BZ #16799]
9864 [BZ #16800]
9865 * math/s_catan.c (__catan): Avoid passing -0 denominator to atan2
9866 with 0 numerator.
9867 * math/s_catanf.c (__catanf): Likewise.
9868 * math/s_catanh.c (__catanh): Likewise.
9869 * math/s_catanhf.c (__catanhf): Likewise.
9870 * math/s_catanhl.c (__catanhl): Likewise.
9871 * math/s_catanl.c (__catanl): Likewise.
9872 * sysdeps/ieee754/flt-32/e_logf.c (__ieee754_logf): Always divide
9873 by positive zero when computing -Inf result.
9874 * math/libm-test.inc (catan_test): Use ALL_RM_TEST.
9875 (catanh_test): Likewise.
9876 * sysdeps/i386/fpu/libm-test-ulps: Update.
9877 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9878
6f05bafe
JM
9879 [BZ #16789]
9880 * math/s_clog.c (__clog): Use math_force_eval to ensure underflow
9881 instead of using underflowing value in computing result.
9882 * math/s_clog10.c (__clog10): Likewise.
9883 * math/s_clog10f.c (__clog10f): Likewise.
9884 * math/s_clog10l.c (__clog10l): Likewise.
9885 * math/s_clogf.c (__clogf): Likewise.
9886 * math/s_clogl.c (__clogl): Likewise.
9887 * math/libm-test.inc (clog_test): Use ALL_RM_TEST.
9888 (clog10_test): Likewise.
9889 * sysdeps/i386/fpu/libm-test-ulps: Update.
9890 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9891
b0abbc21
AM
98922014-04-02 Alan Modra <amodra@gmail.com>
9893
9894 [BZ #16739]
9895 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Correct
9896 output when value is near a power of two. Use int64_t for lx and
9897 remove casts. Use decimal rather than hex exponent constants.
9898 Don't use long double multiplication when double will suffice.
9899 * math/libm-test.inc (nextafter_test_data): Add tests.
9900 * NEWS: Add 16739 and 16786 to bug list.
9901
af6b1797
AM
9902 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Correct stream hint.
9903
483818d7
AM
9904 * sysdeps/powerpc/powerpc64/start.S: Add @toc to toc symbol reference.
9905
f6c55796
WN
99062014-04-01 Will Newton <will.newton@linaro.org>
9907
9908 * benchtests/Makefile (CFLAGS-bench-ffs.c): Add
9909 -fno-builtin. (CFLAGS-bench-ffsll.c): Likewise.
9910
13f7fe35
FW
99112014-04-01 Florian Weimer <fweimer@redhat.com>
9912
9913 [BZ #13347]
9914 * nptl/nptl-init.c (sighandler_setxid): Check system call result.
9915 * nptl/tst-setuid2.c: New file.
9916 * nptl/Makefile (xtests): Add tst-setuid2.
9917
c859b32e
AM
99182014-04-01 Alan Modra <amodra@gmail.com>
9919
9920 [BZ #16786]
9921 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Don't trash stack.
9922
54fa2475
JM
99232014-03-31 Joseph Myers <joseph@codesourcery.com>
9924
8795b4a4
JM
9925 [BZ #6803]
9926 [BZ #6804]
9927 * math/w_scalb.c (__scalb): For non-SVID mode, check result and
9928 set errno as appropriate.
9929 * math/w_scalbf.c (__scalbf): Likewise.
9930 * math/w_scalbl.c (__scalbl): Likewise.
9931 * math/gen-libm-test.pl (parse_args): Handle ERRNO_PLUS_OFLOW,
9932 ERRNO_MINUS_OFLOW, ERRNO_PLUS_UFLOW and ERRNO_MINUS_UFLOW.
9933 * math/libm-test.inc (scalb_test_data): Add errno expectations.
9934 Add more NaN tests.
9935
54fa2475
JM
9936 [BZ #16349]
9937 * math/w_atan2.c: Include <errno.h>.
9938 (__atan2): Set errno for result underflowing to zero.
9939 * math/w_atan2f.c: Include <errno.h>.
9940 (__atan2f): Set errno for result underflowing to zero.
9941 * math/w_atan2l.c: Include <errno.h>.
9942 (__atan2l): Set errno for result underflowing to zero.
9943 * math/auto-libm-test-in: Don't allow missing errno for some atan2
9944 tests.
9945 * math/auto-libm-test-out: Regenerated.
9946
757d9dd5
AZ
99472014-03-31 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9948
9949 * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S (MFVSRD_R3_V1):
9950 Encode instruction correctly in little endian.
9951 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S (MFVSRD_R3_V1):
9952 Likewise.
9953 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (MFVSRD_R3_V1):
9954 Likewise.
9955 * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S (MFVSRD_R3_V1):
9956 Likewise.
9957 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S (MFVSRD_R3_V1):
9958 Likewise.
9959
d7a68734
JM
99602014-03-31 Joseph Myers <joseph@codesourcery.com>
9961
47c5adeb
JM
9962 [BZ #9894]
9963 * sysdeps/unix/sysv/linux/kernel-features.h
9964 [__sparc__ && !__arch64__ && !__sparc_v9__]
9965 (__ASSUME_SET_ROBUST_LIST): Do not define.
9966 [__sparc__ && !__arch64__ && !__sparc_v9__]
9967 (__ASSUME_FUTEX_LOCK_PI): Likewise.
9968 [__sparc__ && !__arch64__ && !__sparc_v9__] (__ASSUME_REQUEUE_PI):
9969 Likewise.
9970 * sysdeps/unix/sysv/linux/arm/kernel-features.h
9971 (__ASSUME_FUTEX_LOCK_PI): Undefine.
9972 (__ASSUME_REQUEUE_PI): Likewise.
9973 (__ASSUME_SET_ROBUST_LIST): Likewise.
9974 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
9975 [__LINUX_KERNEL_VERSION < 0x030a00] (__ASSUME_FUTEX_LOCK_PI):
9976 Undefine.
9977 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
9978 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_FUTEX_LOCK_PI):
9979 Likewise.
9980 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_REQUEUE_PI):
9981 Likewise.
9982 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_SET_ROBUST_LIST):
9983 Likewise.
9984 * sysdeps/unix/sysv/linux/mips/kernel-features.h
9985 [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_FUTEX_LOCK_PI):
9986 Undefine.
9987 [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_REQUEUE_PI): Likewise.
9988 [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_SET_ROBUST_LIST):
9989 Likewise.
9990
d7a68734
JM
9991 [BZ #16648]
9992 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
9993 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_FUTIMESAT): Define.
9994 * sysdeps/unix/sysv/linux/microblaze/futimesat.c: New file.
9995
c760f5c2
WN
99962014-03-31 Will Newton <will.newton@linaro.org>
9997
9998 * benchtests/Makefile (bench): Add ffs and ffsll to list
9999 of tests.
10000 * benchtests/ffs-inputs: New file.
10001 * benchtests/ffsll-inputs: Likewise.
10002
ea6029b1
JM
100032014-03-29 Joseph Myers <joseph@codesourcery.com>
10004
10005 [BZ #16770]
10006 * math/e_scalb.c (__ieee754_scalb): Check second argument is not
10007 too large before casting to int.
10008 * math/e_scalbf.c (__ieee754_scalbf): Likewise.
10009 * math/e_scalbl.c (__ieee754_scalbl): Likewise.
10010 * math/libm-test.inc (scalb_test_data): Add more tests.
10011
cf806aff
SP
100122014-03-29 Siddhesh Poyarekar <siddhesh@redhat.com>
10013
56737508
SP
10014 * benchtests/Makefile (DETAILED_OPT): New make option.
10015 (bench-func): Run benchmark program with -d if DETAILED_OPT is
10016 set.
10017 * benchtests/bench-skeleton.c: Include stdbool.h.
10018 (main): Store and print timings per input.
10019 * benchtests/scripts/bench.py (STRUCT_TEMPLATE): Add timing
10020 member to each argument value.
10021 (EPILOGUE): Define new macros RESULT and RESULT_ACCUM.
10022 (_print_arg_data): Initialize per-input timing to 0.
10023
cb5e4aad
SP
10024 * benchtests/Makefile (timing-type): New binary.
10025 (bench-clean): Also remove bench-timing-type.
10026 (bench): New target for timing-type.
10027 (bench-func): Print output in JSON format.
10028 * benchtests/bench-skeleton.c (main): Print output in JSON
10029 format.
10030 * benchtests/bench-timing-type.c: New file.
10031 * benchtests/bench-timing.h (TIMING_TYPE): New macro.
10032 (TIMING_PRINT_STATS): Remove.
10033 * benchtests/scripts/bench.py (_print_arg_data): Store variant
10034 name separately.
10035
cf806aff
SP
10036 * benchtests/bench-modf.c: Remove.
10037 * benchtests/modf-inputs: New inputs file.
10038
289e0779
JM
100392014-03-28 Joseph Myers <joseph@codesourcery.com>
10040
10041 [BZ #16362]
10042 * math/s_clog10.c (M_PI_LOG10E): New macro.
10043 (__clog10): Use M_PI_LOG10E instead of M_PI when real and
10044 imaginary parts are 0.
10045 * math/s_clog10f.c (M_PI_LOG10Ef): New macro.
10046 (__clog10f): Use M_PI_LOG10Ef instead of M_PI when real and
10047 imaginary parts are 0.
10048 * math/s_clog10l.c (M_PI_LOG10El): New macro.
10049 (__clog10l): Use M_PI_LOG10El instead of M_PIl when real and
10050 imaginary parts are 0.
10051 * math/libm-test.inc (clog10_test_data): Update expected results
10052 for when real and imaginary parts are 0.
10053
277ae3f1
PP
100542014-03-27 Paul Pluzhnikov <ppluzhnikov@google.com>
10055
10056 * elf/dl-load.c: Finish conversion of __builtin_expect into
10057 __glibc_{un}likely.
10058
03a7091f
JM
100592014-03-27 Joseph Myers <joseph@codesourcery.com>
10060
10061 [BZ #16348]
10062 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]: Use
10063 1+x for argument with exponent below -67.
10064 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]:
10065 Likewise.
10066 * math/auto-libm-test-in: Add more tests of exp.
10067 * math/auto-libm-test-out: Regenerated.
10068
ea7d8b95
SP
100692014-03-27 Siddhesh Poyarekar <siddhesh@redhat.com>
10070
dd3022d7
SP
10071 [BZ #16759]
10072 * inet/getnetgrent_r.c (get_nonempty_val): New function.
10073 (nscd_getnetgrent): Use it.
10074
ea7d8b95
SP
10075 [BZ #16760]
10076 * nscd/netgroupcache.c (addgetnetgrentX): Use memmove instead
10077 of stpcpy.
10078
df5b85da
AK
100792014-03-27 Andi Kleen <ak@linux.intel.com>
10080
57f41c40
AS
10081 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (lll_lock)
10082 (lll_robust_lock, lll_cond_lock, lll_timedlock)
10083 (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
10084 (lll_robust_unlock): Remove out of line section. Use cfi
10085 intrinsics.
df5b85da 10086 (LLL_STUB_UNWIND_INFO*): Remove.
57f41c40
AS
10087 * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h (lll_lock)
10088 (lll_robust_lock, lll_cond_lock, lll_timedlock)
10089 (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
10090 (lll_robust_unlock): Remove out of line section. Use cfi
10091 intrinsics.
df5b85da
AK
10092 (LLL_STUB_UNWIND_INFO*): Remove.
10093
fbd6b5a4
SP
100942014-03-27 Siddhesh Poyarekar <siddhesh@redhat.com>
10095
10096 [BZ #16758]
10097 * nscd/netgroupcache.c (addinnetgrX): Succeed if triplet has
10098 blank values.
10099
1b26b855
PP
101002014-03-26 Paul Pluzhnikov <ppluzhnikov@google.com>
10101
10102 * elf/dl-load.c: Convert __builtin_expect into __glibc_{un}likely.
10103
9be36fb8
JM
101042014-03-26 Joseph Myers <joseph@codesourcery.com>
10105
10106 [BZ #16198]
10107 * sysdeps/x86_64/fpu/fegetenv.c (fegetenv): Use fldenv after
10108 fnstenv.
10109 * math/test-fenv-preserve.c: New file.
10110 * math/Makefile (tests): Add test-fenv-preserve.
10111
60a2f3c1
WN
101122014-03-26 Will Newton <will.newton@linaro.org>
10113
10114 * benchtests/bench-strtod.c (TIMEOUT): Define to 10.
10115
a5e5f1e2
RM
101162014-03-25 Roland McGrath <roland@hack.frob.com>
10117
10118 * scripts/versionlist.awk: Partition the version sets and emit all
10119 GLIBC_* (sorted) before all others (sorted).
10120
00f4012a
JM
101212014-03-25 Joseph Myers <joseph@codesourcery.com>
10122
10123 * elf/Versions (libc) [EXPORT_UNWIND_FIND_FDE]: Add empty
10124 GLIBC_2.2.5 version.
10125
7bc5a741
AZ
101262014-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10127
10128 * scripts/localplt.awk: Check for PLT generated by internal IFUNC
10129 calls.
10130
7578473b
AZ
10131 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Revert
10132 previous change.
10133
f3f1dab3
AZ
10134 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
10135
6da36183
AS
101362014-03-25 Andreas Schwab <schwab@suse.de>
10137
10138 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Add out_fail2
10139 label to be used after in6ailist is initialized.
10140
f3f1dab3 101412014-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
449282f2 10142
7578473b 10143 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
449282f2
AZ
10144 (__PTHREAD_MUTEX_HAVE_ELISION): New define.
10145
046651c1
JM
101462014-03-25 Joseph Myers <joseph@codesourcery.com>
10147
10148 [BZ #16357]
10149 [BZ #16599]
10150 * math/gen-auto-libm-tests.c (fp_format_desc): Add field
10151 min_plus_half.
10152 (fp_formats): Update initializers.
10153 (init_fp_formats): Initialize new field.
10154 (output_for_one_input_case): Allow underflow for results up to
10155 min_plus_half.
10156 * math/libm-test.inc (log1p_test): Use ALL_RM_TEST.
10157 * math/auto-libm-test-in: Don't mark some underflows from asin and
10158 atanh as spurious.
10159 * math/auto-libm-test-out: Regenerated.
10160 * sysdeps/i386/fpu/libm-test-ulps: Update.
10161 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10162
003e49ed
AS
101632014-03-25 Andreas Schwab <schwab@suse.de>
10164
10165 * libio/Makefile (tst-ftell-partial-wide-ENV)
10166 (tst-ftell-active-handler-ENV): Define.
10167
de031874
SL
101682014-03-25 Stefan Liebler <stli@linux.vnet.ibm.com>
10169
10170 * NEWS: Add 16712, 16713, 16714 to fixed bug list.
10171
55a81e3b
PP
101722014-03-24 Paul Pluzhnikov <ppluzhnikov@google.com>
10173
10174 * elf/tst-dlopen-aout.c: Adjust comments. Use test-skeleton.c
10175
f3426898
JM
101762014-03-24 Joseph Myers <joseph@codesourcery.com>
10177
10178 * sysdeps/ieee754/dbl-64/e_exp.c: Include <math.h>.
10179 * sysdeps/x86_64/fpu/multiarch/e_exp.c
10180 [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
10181
a42faf59
PP
101822014-03-24 Paul Pluzhnikov <ppluzhnikov@google.com>
10183
10184 [BZ #16634]
a42faf59 10185 * elf/dl-load.c (open_verify): Add mode parameter.
97d8ca99
CD
10186 Error early when ET_EXEC and mode does not have __RTLD_OPENEXEC.
10187 (open_path): Change from boolean 'secure' to complete flag 'mode'
10188 (_dl_map_object): Adjust.
a42faf59
PP
10189 * elf/Makefile (tests): Add tst-dlopen-aout.
10190 * elf/tst-dlopen-aout.c: New test.
10191
50936127
SL
101922014-03-24 Stefan Liebler <stli@linux.vnet.ibm.com>
10193
10194 [BZ #16714]
10195 * sysdeps/unix/sysv/linux/s390/bits/stat.h
10196 (struct stat): Rename member pad0 to __glibc_reserved0.
10197
26011b5c
SL
10198 [BZ #16712]
10199 * sysdeps/s390/s390-32/bits/wordsize.h
10200 (__WORDSIZE32_SIZE_ULONG): New define.
10201 * sysdeps/s390/s390-64/bits/wordsize.h
10202 (__WORDSIZE32_SIZE_ULONG): Likewise.
10203 * sysdeps/generic/stdint.h (SIZE_MAX):
10204 Define as UL if __WORDSIZE32_SIZE_ULONG.
10205
a2d86bf1
SL
10206 [BZ #16713]
10207 * sysdeps/unix/sysv/linux/s390/bits/sigaction.h
10208 (__glibc_reserved0): New variable.
10209 (sa_flags): Change type to int.
10210
78b6eebc
SL
10211 * posix/Makefile (before-compile): Use += before-compile instead
10212 of a :=.
10213
f1399b5a
SL
10214 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
10215 (__PTHREAD_MUTEX_HAVE_ELISION): New define.
10216
a071766e
AS
102172014-03-20 Andreas Schwab <schwab@suse.de>
10218
10219 [BZ #16743]
10220 * sysdeps/posix/getaddrinfo.c (gaih_inet): Properly skip over
10221 non-matching result from nscd.
10222
27c673b8
SP
102232014-03-24 Siddhesh Poyarekar <siddhesh@redhat.com>
10224
10225 * scripts/bench.py: Moved to ...
10226 * benchtests/scripts/bench.py: ... here.
10227 * benchtests/Makefile ($(objpfx)bench-%.c): Adjust.
10228
44152e4b
AS
102292014-03-24 Andreas Schwab <schwab@suse.de>
10230
10231 [BZ #16002]
10232 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Use
10233 alloca_account and account alloca use for struct in6ailist.
10234
b376a11a
JM
102352014-03-24 Joseph Myers <joseph@codesourcery.com>
10236
10237 [BZ #16284]
10238 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use original
10239 rounding mode to recompute results that overflow to infinity or
10240 underflow to zero.
10241 * math/auto-libm-test-in: Don't mark tests as expected to fail for
10242 bug 16284.
10243 * math/auto-libm-test-out: Regenerated.
10244 * math/libm-test.inc (ccos_test): Use ALL_RM_TEST.
10245 (ccosh_test): Likewise.
10246 (csin_test_data): Use plus_oflow.
10247 (csin_test): Use ALL_RM_TEST.
10248 (csinh_test_data): Use plus_oflow.
10249 (csinh_test): Use ALL_RM_TEST.
10250 * sysdeps/i386/fpu/libm-test-ulps: Update.
10251 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10252
f7be7376
JM
102532014-03-21 Joseph Myers <joseph@codesourcery.com>
10254
1ca2d03e
JM
10255 * sysdeps/mips/bits/wordsize.h: Include <sgidefs.h>.
10256 * sysdeps/unix/sysv/linux/mips/getrlimit64.c: Likewise.
10257 * sysdeps/unix/sysv/linux/mips/setrlimit64.c: Likewise.
10258
f7be7376
JM
10259 [BZ #16731]
10260 * sysdeps/i386/fpu/e_log.S (__ieee754_log): Take absolute value
10261 when x - 1 is zero.
10262 * sysdeps/i386/fpu/e_logf.S (__ieee754_logf): Likewise.
10263 * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Likewise.
10264 * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
10265 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Return +0 when
10266 argument is 1.
10267 * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Likewise.
10268 * sysdeps/x86_64/fpu/e_logl.S: Take absolute value when x - 1 is
10269 zero.
10270 * math/libm-test.inc (log_test): Use ALL_RM_TEST.
10271 * sysdeps/i386/fpu/libm-test-ulps: Update.
10272 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10273
fdf4534d
SP
102742014-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
10275
df26ea53
SP
10276 * scripts/bench.pl: Remove file.
10277 * scripts/bench.py: New benchmark script.
10278 * benchtests/Makefile ($(objpfx)bench-%.c): Use it.
10279 * benchtests/README: Mention python dependency.
10280 * scripts/pylintrc: New file.
10281 * scripts/pylint: New file.
10282
fdf4534d
SP
10283 * bits/mathdef.h: Use #ifdef instead of #if.
10284 * sysdeps/arm/bits/mathdef.h [defined __USE_ISOC99 && defined
10285 _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
10286 * sysdeps/tile/bits/mathdef.h [defined __USE_ISOC99 && defined
10287 _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
10288 * sysdeps/x86/bits/mathdef.h [defined __USE_ISOC99 && defined
10289 _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
10290
6f23d093
AZ
102912014-03-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10292 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
10293
10294 * string/strpbrk.c (strpbrk): Using macro to redefine symbol name.
10295 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpbrk-power7
10296 and strpbrk-ppc64 objects.
10297 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
10298 (__libc_ifunc_impl_list): Add new strpbrk optimized symbols.
10299 * sysdeps/powerpc/powerpc64/multiarch/strpbrk-power7.S: New file:
10300 multiarch strpbrk for POWER7.
10301 * sysdeps/powerpc/powerpc64/multiarch/strpbrk-ppc64.c: New file:
10302 multiarch strpbrk for PPC64.
10303 * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: New file: strpbrk
10304 ifunc selector.
10305 * sysdeps/powerpc/powerpc64/power7/strpbrk.S: New file: optimited
10306 strpbrk for POWER7.
10307
8c92dfff
JM
103082014-03-20 Joseph Myers <joseph@codesourcery.com>
10309
10310 * math/libm-test.inc (asinh_test): Use ALL_RM_TEST.
10311 (atan_test): Likewise.
10312 (atanh_test_data): Use NO_TEST_INLINE for two tests.
10313 (atanh_test): Use ALL_RM_TEST.
10314 (atan2_test_data): Likewise.
10315 (cabs_test): Likewise.
10316 (cacosh_test): Likewise.
10317 (carg_test): Likewise.
10318 (casin_test): Likewise.
10319 (casinh_test): Likewise.
10320 (cbrt_test): Likewise.
10321 (csqrt_test): Likewise.
10322 (erf_test): Likewise.
10323 (erfc_test): Likewise.
10324 (pow10_test): Likewise.
10325 (exp2_test): Likewise.
10326 (hypot_test): Likewise.
10327 (j0_test): Likewise.
10328 (j1_test): Likewise.
10329 (lgamma_test): Likewise.
10330 (gamma_test): Likewise.
10331 (sincos_test): Likewise.
10332 (tanh_test): Likewise.
10333 (y0_test): Likewise.
10334 (y1_test): Likewise.
10335 * sysdeps/i386/fpu/libm-test-ulps: Update.
10336 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10337
6eaf95cb
AZ
103382014-03-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10339
a387428c
SP
10340 * string/strcspn.c (strcspn): Using macro to redefine symbol name.
10341 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcspn-power7
6eaf95cb
AZ
10342 and strcspn-ppc64 objects.
10343 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
10344 (__libc_ifunc_impl_list): Add new strcspn optimized symbols.
10345 * sysdeps/powerpc/powerpc64/multiarch/strcspn-power7.S: New file:
10346 multiarch strcspn for POWER7.
10347 * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c: New file:
10348 multiarch strcspn for PPC64.
10349 * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: New file: strcspn
10350 ifunc selector.
10351 * sysdeps/powerpc/powerpc64/power7/strcspn.S: New file: optimited
10352 strcspn for POWER7.
10353
ae3a5dff
JM
103542014-03-20 Joseph Myers <joseph@codesourcery.com>
10355
10356 * math/gen-libm-test.pl (generate_testfile): Expect only function
10357 name as argument to AUTO_TESTS_* and pass results for all rounding
10358 modes to parse_args.
10359 (parse_auto_input): Separate inputs of automatic tests from
10360 outputs before storing in %auto_tests.
10361 * math/libm-test.inc (acos_test_data): Update call to
10362 AUTO_TESTS_f_f.
10363 (acos_test): Use ALL_RM_TEST.
10364 (acos_tonearest_test_data): Remove.
10365 (acos_test_tonearest): Likewise.
10366 (acos_towardzero_test_data): Likewise.
10367 (acos_test_towardzero): Likewise.
10368 (acos_downward_test_data): Likewise.
10369 (acos_test_downward): Likewise.
10370 (acos_upward_test_data): Likewise.
10371 (acos_test_upward): Likewise.
10372 (acosh_test_data): Update call to AUTO_TESTS_f_f.
10373 (asin_test_data): Likewise.
10374 (asin_test): Use ALL_RM_TEST.
10375 (asin_tonearest_test_data): Remove.
10376 (asin_test_tonearest): Likewise.
10377 (asin_towardzero_test_data): Likewise.
10378 (asin_test_towardzero): Likewise.
10379 (asin_downward_test_data): Likewise.
10380 (asin_test_downward): Likewise.
10381 (asin_upward_test_data): Likewise.
10382 (asin_test_upward): Likewise.
10383 (asinh_test_data): Update call to AUTO_TESTS_f_f.
10384 (atan_test_data): Likewise.
10385 (atanh_test_data): Likewise.
10386 (atan2_test_data): Update call to AUTO_TESTS_ff_f.
10387 (cabs_test_data): Update call to AUTO_TESTS_c_f.
10388 (carg_test_data): Likewise.
10389 (cbrt_test_data): Update call to AUTO_TESTS_f_f.
10390 (ccos_test_data): Update call to AUTO_TESTS_c_c.
10391 (ccosh_test_data): Likewise.
10392 (cexp_test_data): Likewise.
10393 (clog_test_data): Likewise.
10394 (clog10_test_data): Likewise.
10395 (cos_test_data): Update call to AUTO_TESTS_f_f.
10396 (cos_test): Use ALL_RM_TEST.
10397 (cos_tonearest_test_data): Remove.
10398 (cos_test_tonearest): Likewise.
10399 (cos_towardzero_test_data): Likewise.
10400 (cos_test_towardzero): Likewise.
10401 (cos_downward_test_data): Likewise.
10402 (cos_test_downward): Likewise.
10403 (cos_upward_test_data): Likewise.
10404 (cos_test_upward): Likewise.
10405 (cosh_test_data): Update call to AUTO_TESTS_f_f.
10406 (cosh_test): Use ALL_RM_TEST.
10407 (cosh_tonearest_test_data): Remove.
10408 (cosh_test_tonearest): Likewise.
10409 (cosh_towardzero_test_data): Likewise.
10410 (cosh_test_towardzero): Likewise.
10411 (cosh_downward_test_data): Likewise.
10412 (cosh_test_downward): Likewise.
10413 (cosh_upward_test_data): Likewise.
10414 (cosh_test_upward): Likewise.
10415 (cpow_test_data): Update call to AUTO_TESTS_cc_c.
10416 (csqrt_test_data): Update call to AUTO_TESTS_c_c.
10417 (ctan_test_data): Likewise.
10418 (ctan_test): Use ALL_RM_TEST.
10419 (ctan_tonearest_test_data): Remove.
10420 (ctan_test_tonearest): Likewise.
10421 (ctan_towardzero_test_data): Likewise.
10422 (ctan_test_towardzero): Likewise.
10423 (ctan_downward_test_data): Likewise.
10424 (ctan_test_downward): Likewise.
10425 (ctan_upward_test_data): Likewise.
10426 (ctan_test_upward): Likewise.
10427 (ctanh_test_data): Update call to AUTO_TESTS_c_c.
10428 (ctanh_test): Use ALL_RM_TEST.
10429 (ctanh_tonearest_test_data): Remove.
10430 (ctanh_test_tonearest): Likewise.
10431 (ctanh_towardzero_test_data): Likewise.
10432 (ctanh_test_towardzero): Likewise.
10433 (ctanh_downward_test_data): Likewise.
10434 (ctanh_test_downward): Likewise.
10435 (ctanh_upward_test_data): Likewise.
10436 (ctanh_test_upward): Likewise.
10437 (erf_test_data): Update call to AUTO_TESTS_f_f.
10438 (erfc_test_data): Likewise.
10439 (exp_test_data): Likewise.
10440 (exp_test): Use ALL_RM_TEST.
10441 (exp_tonearest_test_data): Remove.
10442 (exp_test_tonearest): Likewise.
10443 (exp_towardzero_test_data): Likewise.
10444 (exp_test_towardzero): Likewise.
10445 (exp_downward_test_data): Likewise.
10446 (exp_test_downward): Likewise.
10447 (exp_upward_test_data): Likewise.
10448 (exp_test_upward): Likewise.
10449 (exp10_test_data): Update call to AUTO_TESTS_f_f.
10450 (exp10_test): Use ALL_RM_TEST.
10451 (exp10_tonearest_test_data): Remove.
10452 (exp10_test_tonearest): Likewise.
10453 (exp10_towardzero_test_data): Likewise.
10454 (exp10_test_towardzero): Likewise.
10455 (exp10_downward_test_data): Likewise.
10456 (exp10_test_downward): Likewise.
10457 (exp10_upward_test_data): Likewise.
10458 (exp10_test_upward): Likewise.
10459 (exp2_test_data): Update call to AUTO_TESTS_f_f.
10460 (expm1_test_data): Likewise.
10461 (expm1_test): Use ALL_RM_TEST.
10462 (expm1_tonearest_test_data): Remove.
10463 (expm1_test_tonearest): Likewise.
10464 (expm1_towardzero_test_data): Likewise.
10465 (expm1_test_towardzero): Likewise.
10466 (expm1_downward_test_data): Likewise.
10467 (expm1_test_downward): Likewise.
10468 (expm1_upward_test_data): Likewise.
10469 (expm1_test_upward): Likewise.
10470 (fma_test_data): Update call to AUTO_TESTS_fff_f.
10471 (fma_test): Use ALL_RM_TEST.
10472 (fma_towardzero_test_data): Remove.
10473 (fma_test_towardzero): Likewise.
10474 (fma_downward_test_data): Likewise.
10475 (fma_test_downward): Likewise.
10476 (fma_upward_test_data): Likewise.
10477 (fma_test_upward): Likewise.
10478 (hypot_test_data): Update call to AUTO_TESTS_ff_f.
10479 (j0_test_data): Update call to AUTO_TESTS_f_f.
10480 (j1_test_data): Likewise.
10481 (jn_test_data): Update call to AUTO_TESTS_if_f.
10482 (lgamma_test_data): Update call to AUTO_TESTS_f_f1.
10483 (log_test_data): Update call to AUTO_TESTS_f_f.
10484 (log10_test_data): Likewise.
10485 (log1p_test_data): Likewise.
10486 (log2_test_data): Likewise.
10487 (pow_test_data): Update call to AUTO_TESTS_ff_f.
10488 (pow_tonearest_test_data): Likewise.
10489 (sin_test_data): Update call to AUTO_TESTS_f_f.
10490 (sin_test): Use ALL_RM_TEST.
10491 (sin_tonearest_test_data): Remove.
10492 (sin_test_tonearest): Likewise.
10493 (sin_towardzero_test_data): Likewise.
10494 (sin_test_towardzero): Likewise.
10495 (sin_downward_test_data): Likewise.
10496 (sin_test_downward): Likewise.
10497 (sin_upward_test_data): Likewise.
10498 (sin_test_upward): Likewise.
10499 (sincos_test_data): Update call to AUTO_TESTS_fFF_11.
10500 (sinh_test_data): Update call to AUTO_TESTS_f_f.
10501 (sinh_test): Use ALL_RM_TEST.
10502 (sinh_tonearest_test_data): Remove.
10503 (sinh_test_tonearest): Likewise.
10504 (sinh_towardzero_test_data): Likewise.
10505 (sinh_test_towardzero): Likewise.
10506 (sinh_downward_test_data): Likewise.
10507 (sinh_test_downward): Likewise.
10508 (sinh_upward_test_data): Likewise.
10509 (sinh_test_upward): Likewise.
10510 (sqrt_test_data): Update call to AUTO_TESTS_f_f.
10511 (sqrt_test): Use ALL_RM_TEST.
10512 (sqrt_tonearest_test_data): Remove.
10513 (sqrt_test_tonearest): Likewise.
10514 (sqrt_towardzero_test_data): Likewise.
10515 (sqrt_test_towardzero): Likewise.
10516 (sqrt_downward_test_data): Likewise.
10517 (sqrt_test_downward): Likewise.
10518 (sqrt_upward_test_data): Likewise.
10519 (sqrt_test_upward): Likewise.
10520 (tan_test_data): Update call to AUTO_TESTS_f_f.
10521 (tan_test): Use ALL_RM_TEST.
10522 (tan_tonearest_test_data): Remove.
10523 (tan_test_tonearest): Likewise.
10524 (tan_towardzero_test_data): Likewise.
10525 (tan_test_towardzero): Likewise.
10526 (tan_downward_test_data): Likewise.
10527 (tan_test_downward): Likewise.
10528 (tan_upward_test_data): Likewise.
10529 (tan_test_upward): Likewise.
10530 (tanh_test_data): Update call to AUTO_TESTS_f_f.
10531 (tgamma_test_data): Likewise.
10532 (y0_test_data): Likewise.
10533 (y1_test_data): Likewise.
10534 (yn_test_data): Update call to AUTO_TESTS_if_f.
10535 (main): Do not call removed functions.
10536
d71aeee8
JM
105372014-03-19 Joseph Myers <joseph@codesourcery.com>
10538
10539 * math/libm-test.inc (fdim_test): Use ALL_RM_TEST.
10540 (ldexp_test_data): Remove.
10541 (ldexp_test): Move to after scalbn_test. Use ALL_RM_TEST with
10542 scalbn_test_data.
10543 (scalb_test): Use ALL_RM_TEST.
10544
baaf1ded
AS
105452014-03-19 Andreas Schwab <schwab@suse.de>
10546
10547 * nscd/nscd.service: Also invalidate netgroup cache on reload.
10548
b1115e91
JM
105492014-03-19 Joseph Myers <joseph@codesourcery.com>
10550
10551 [BZ #16649]
10552 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
10553 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PREADV): Undefine.
10554 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PWRITEV): Likewise.
10555 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
10556 (__ASSUME_PREADV): Undefine.
10557 (__ASSUME_PWRITEV): Likewise.
10558
0283ecca
RM
105592014-03-18 Roland McGrath <roland@hack.frob.com>
10560
7d375303
RM
10561 * bits/mman-linux.h: Add comment about non-Linux use.
10562 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add comment about
10563 bits/mman-linux.h resting place.
10564
0283ecca
RM
10565 * sysdeps/unix/sysv/linux/bits/mman-linux.h: Moved to ...
10566 * bits/mman-linux.h: ... here.
10567
aebe1003
AZ
105682014-03-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10569
10570 * conform/conformtest.pl: Add standard definition when calling C
10571 preprocessor on data files.
10572 (checknamespace): Remove unused variable.
10573
b29b6bb8
JM
105742014-03-18 Joseph Myers <joseph@codesourcery.com>
10575
10576 * math/gen-libm-test.pl (parse_args): Handle plus_oflow,
10577 minus_oflow, plus_uflow and minus_uflow in expected results.
10578 * math/libm-test.inc (scalbn_test_data): Add more tests of
10579 negative arguments. Use plus_oflow, minus_oflow, plus_uflow and
10580 minus_uflow.
10581 (scalbn_test): Use ALL_RM_TEST.
10582 (scalbln_test_data): Add more tests of negative arguments. Use
10583 plus_oflow, minus_oflow, plus_uflow and minus_uflow.
10584 (scalbln_test): Use ALL_RM_TEST.
10585
c8f8fa15
RM
105862014-03-18 Roland McGrath <roland@hack.frob.com>
10587
10588 * scripts/abilist.awk: Ignore symbols marked with .hidden.
10589
fede7a5f
WN
105902014-03-18 Will Newton <will.newton@linaro.org>
10591
10592 * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Remove
10593 inaccurate comment.
10594
80cf0a58
JM
105952014-03-18 Joseph Myers <joseph@codesourcery.com>
10596
10597 * Makerules [!subdir] (check-abi): Exit with error status if a
10598 test failed.
10599
b3620862
JM
106002014-03-17 Joseph Myers <joseph@codesourcery.com>
10601
10602 * math/libm-test.inc (nearbyint_test_data): Include all tests used
10603 for rint. Include results for all rounding modes.
10604 (nearbyint_test): Use ALL_RM_TEST.
10605 (rint_test_data): Include all tests used for nearbyint.
10606
788bba36
WN
106072014-03-17 Will Newton <will.newton@linaro.org>
10608
04ec140a
WN
10609 * nptl/sysdeps/pthread/pthread.h: Revert previous
10610 change.
10611
7579d8d5
WN
10612 * sysdeps/generic/ldsodefs.h: Revert previous
10613 change.
10614
c15cf13a
WN
10615 * libio/genops.c: Revert previous change.
10616 * libio/libioP.h: Likewise.
10617 * stdio-common/vfprintf.c: Likewise.
10618
d0ac1324
WN
10619 * sysdeps/generic/math_private.h: Revert previous
10620 change.
10621
9290130a
WN
10622 * sysdeps/generic/math_private.h: Check whether
10623 HAVE_RM_CTX is defined with #ifdef rather
10624 than #if.
10625
afb466fc
WN
10626 * argp/argp-fmtstream.h: Check whether
10627 __STRICT_ANSI__ is defined with #ifdef rather
10628 than #if.
10629 * argp/argp.h: Likewise.
10630
f7efd7c3
WN
10631 * libio/genops.c: Check whether
10632 _IO_JUMPS_OFFSET is defined with #ifdef rather
10633 than #if.
10634 * libio/libioP.h: Likewise.
10635 * stdio-common/vfprintf.c: Likewise.
10636
53f1bed3
WN
10637 * sysdeps/generic/ldsodefs.h: Check whether
10638 HP_SMALL_TIMING_AVAIL is defined with #ifdef rather
10639 than #if.
10640
788bba36
WN
10641 * nptl/sysdeps/pthread/pthread.h: Check
10642 __PTHREAD_MUTEX_HAVE_ELISION is defined before testing
10643 its value.
10644
fcd89ebe
SP
106452014-03-17 Siddhesh Poyarekar <siddhesh@redhat.com>
10646
ae42bbc5
SP
10647 * libio/iofdopen.c (_IO_new_fdopen): Seek to end only if
10648 setting O_APPEND.
10649 * libio/tst-ftell-active-handler.c (do_append_test): Add a
10650 test case.
10651
ea33158c
SP
10652 [BZ #16680]
10653 * libio/fileops.c (_IO_file_open): Seek to end of file but
10654 don't cache the offset.
10655 (get_file_offset): Remove function.
10656 (do_ftell): Use cached offset when available.
10657 * libio/iofdopen.c (_IO_new_fdopen): Seek to end of file but
10658 don't cache the offset.
10659 * libio/tst-ftell-active-handler.c (do_rewind_test): New test
10660 case.
10661 (do_one_test): Call it.
10662 (do_ftell_test): Fix up expected old offset for a+ mode.
10663 * libio/wfileops.c (do_ftell_wide): Used cached offset when
10664 available.
10665
b1dbb426
SP
10666 * libio/tst-ftell-active-handler.c (do_ftell_test): Don't mix
10667 up test status with function return status.
10668 (do_write_test): Likewise.
10669 (do_append_test): Likewise.
10670
fcd89ebe
SP
10671 * nptl/sysdeps/pthread/bits/libc-lockP.h [defined NOT_IN_libc
10672 && !defined IS_IN_libpthread && __LT_SPINNOCK_INIT != 0]:
10673 Remove.
10674
9962a2d3
JM
106752014-03-17 Joseph Myers <joseph@codesourcery.com>
10676
10677 * math/gen-libm-test.pl (parse_args): Handle results specified for
10678 each rounding mode separately.
10679 * math/libm-test.inc (lrint_test_data): Merge in per-rounding-mode
10680 tests and results from lrint_tonearest_test_data,
10681 lrint_towardzero_test_data, lrint_downward_test_data and
10682 lrint_upward_test_data.
10683 (lrint_test): Use ALL_RM_TEST.
10684 (lrint_tonearest_test_data): Remove.
10685 (lrint_test_tonearest): Likewise.
10686 (lrint_towardzero_test_data): Likewise.
10687 (lrint_test_towardzero): Likewise.
10688 (lrint_downward_test_data): Likewise.
10689 (lrint_test_downward): Likewise.
10690 (lrint_upward_test_data): Likewise.
10691 (lrint_test_upward): Likewise.
10692 (llrint_test_data): Merge in per-rounding-mode tests and results
10693 from llrint_tonearest_test_data, llrint_towardzero_test_data,
10694 llrint_downward_test_data and llrint_upward_test_data.
10695 (llrint_test): Use ALL_RM_TEST.
10696 (llrint_tonearest_test_data): Remove.
10697 (llrint_test_tonearest): Likewise.
10698 (llrint_towardzero_test_data): Likewise.
10699 (llrint_test_towardzero): Likewise.
10700 (llrint_downward_test_data): Likewise.
10701 (llrint_test_downward): Likewise.
10702 (llrint_upward_test_data): Likewise.
10703 (llrint_test_upward): Likewise.
10704 (rint_test_data): Merge in per-rounding-mode tests and results
10705 from rint_tonearest_test_data, rint_towardzero_test_data,
10706 rint_downward_test_data and rint_upward_test_data. Add
10707 per-rounding-mode results for tests not in those arrays.
10708 (rint_test): Use ALL_RM_TEST.
10709 (rint_tonearest_test_data): Remove.
10710 (rint_test_tonearest): Likewise.
10711 (rint_towardzero_test_data): Likewise.
10712 (rint_test_towardzero): Likewise.
10713 (rint_downward_test_data): Likewise.
10714 (rint_test_downward): Likewise.
10715 (rint_upward_test_data): Likewise.
10716 (rint_test_upward): Likewise.
10717 (main): Don't call removed functions.
10718
5006148e
RM
107192014-03-14 Roland McGrath <roland@hack.frob.com>
10720
10721 * csu/Makefile ($(objpfx)version-info.h): Remove linux-specific
10722 "Compiled on ..." crapola. It is anti-useful.
10723
d6fe5e58
JM
107242014-03-14 Joseph Myers <joseph@codesourcery.com>
10725
10726 * scripts/evaluate-test.sh: Handle fourth argument to determine
10727 whether test run should stop on failure.
10728 * Makeconfig (stop-on-test-failure): New variable.
10729 (evaluate-test): Pass fourth argument to evaluate-test.sh based on
10730 $(stop-on-test-failure).
10731 * Makefile (tests): Give a summary of results from testing and
10732 exit with failure status if they include an ERROR or FAIL.
10733 (xtests): Likewise.
10734 * manual/install.texi (Configuring and compiling): Mention
10735 stop-on-test-failure=y.
10736 * INSTALL: Regenerated.
10737
498a2233
RM
107382014-03-14 Roland McGrath <roland@hack.frob.com>
10739
22dbc19d
RM
10740 * scripts/versionlist.awk: New file.
10741 * Makerules [$(build-shared) = yes]
10742 (postclean-generated): Add Versions.def, not Versions.def.v and
10743 Versions.def.v.i.
10744 ($(common-objpfx)Versions.def.v.i): Target removed.
10745 ($(common-objpfx)Versions.def): New target.
10746 ($(common-objpfx)Versions.all): Depend on that rather that
10747 $(common-objpfx)Versions.def.v.
10748 * Versions.def: File removed.
10749
498a2233
RM
10750 * Makeconfig (+gccwarn): Add -Wundef.
10751 * include/errno.h [IS_IN_rtld] [!RTLD_PRIVATE_ERRNO]: #error to catch
10752 a dl-sysdep.h breaking its contract.
10753 [!IS_IN_rtld] (RTLD_PRIVATE_ERRNO): Define it to 0.
10754 * include/stackinfo.h: New file.
10755 * nptl/sysdeps/i386/tls.h (TLS_DTV_AT_TP): New macro.
10756 * nptl/sysdeps/powerpc/tls.h (TLS_TCB_AT_TP): New macro.
10757 * nptl/sysdeps/s390/tls.h (TLS_DTV_AT_TP): New macro.
10758 * nptl/sysdeps/sh/tls.h (TLS_TCB_AT_TP): New macro.
10759 * nptl/sysdeps/sparc/tls.h (TLS_DTV_AT_TP): New macro.
10760 * nptl/sysdeps/x86_64/tls.h (TLS_DTV_AT_TP): New macro.
10761 * sysdeps/aarch64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
10762 * sysdeps/alpha/nptl/tls.h (TLS_TCB_AT_TP): New macro.
10763 * sysdeps/arm/nptl/tls.h (TLS_TCB_AT_TP): New macro.
10764 * sysdeps/ia64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
10765 * sysdeps/m68k/nptl/tls.h (TLS_TCB_AT_TP): New macro.
10766 * sysdeps/mach/hurd/i386/tls.h (TLS_DTV_AT_TP): New macro.
10767 * sysdeps/microblaze/nptl/tls.h (TLS_TCB_AT_TP): New macro.
10768 * sysdeps/mips/nptl/tls.h (TLS_TCB_AT_TP): New macro.
10769 * sysdeps/tile/nptl/tls.h (TLS_TCB_AT_TP): New macro.
10770
c7de5025
AZ
107712014-03-14 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10772
10773 [BZ #16707]
10774 * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Remove wrong
10775 implementation.
10776 * math/libm-test.inc (round_test_data): Add more tests.
10777
98fb27a3
AZ
10778 [BZ #16706]
10779 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Remove wrong
10780 implementation.
10781 * math/libm-test.inc (nearbyint_test_data): Add more tests.
10782
374f7f61
AZ
10783 [BZ #16701]
10784 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Remove wrong
10785 implementation.
10786 * math/libm-test.inc (ceil_test_data): Add more tests.
10787
4655c291
AZ
10788 * math/libm-test.inc (trunc_test_data): Add more tests related to
10789 BZ#16414.
10790
d7329d4b
RM
107912014-03-14 Roland McGrath <roland@hack.frob.com>
10792
10793 * nptl/pthread_create.c (__pthread_create_2_1): Test TLS_TCB_AT_TP
10794 with #if rather than #ifdef.
10795 * nptl/sysdeps/pthread/createthread.c (create_thread): Likewise.
10796
aa4de9ce
L
107972014-03-14 H.J. Lu <hongjiu.lu@intel.com>
10798
10799 * sysdeps/x86_64/configure.ac: Check AVX-512 assembler support
10800 first. Disable AVX-512 GCC support if assembler doesn't support
10801 it.
10802 * sysdeps/x86_64/configure: Regenerated.
10803
2e03fae7
CD
108042014-03-13 Carlos O'Donell <carlos@redhat.com>
10805
10806 * nptl/pthread_attr_setstack.c (__pthread_attr_setstack)
10807 [!_STACK_GROWS_DOWN]: Don't add stacksize to stackaddr.
10808 (__old_pthread_attr_setstack): Likewise.
10809 * nptl/pthread_attr_getstack.c (__pthread_attr_getstack)
10810 [!_STACK_GROWS_DOWN]: Likewise.
10811
43ca83ec
MF
108122014-03-13 Mike Frysinger <vapier@gentoo.org>
10813
10814 * config.make.in (have-bash2): Delete.
10815 * configure.ac (libc_cv_have_bash2): Delete.
10816 * configure: Regenerate.
10817 * elf/Makefile (common-ldd-rewrite): Rename to ...
10818 (ldd-rewrite): ... this. Move bash-ldd-rewrite content to end.
10819 (sh-ldd-rewrite): Delete.
10820 (bash-ldd-rewrite): Delete.
10821 (have-bash2): Delete checks.
57f41c40
AS
10822 [ldd-rewrite-script]: Change $(ldd-shell)-ldd-rewrite to
10823 ldd-rewrite.
c66e48b4
MF
10824
10825 * config.make.in (have-ksh): Delete.
10826 (KSH): Delete.
10827 * configure.ac (libc_cv_have_ksh): Delete.
10828 * configure: Regenerate.
10829
b93834ef
MF
10830 * elf/Makefile: Delete $(have-ksh) check.
10831 ($(objpfx)sotruss): Change KSH to BASH.
10832 * elf/sotruss.ksh: Rename to ...
10833 * elf/sotruss.sh: ... this. Change @KSH@ to @BASH@. Change
10834 function style to match POSIX. Drop ksh vim mode setting.
10835
f3a4632a
MF
10836 * manual/time.texi (Specifying the Time Zone with TZ): Change
10837 Tuesday to Thursday.
10838
5896c8bd
MF
10839 * debug/tst-longjmp_chk2.c: Update header comment.
10840 (stackoverflow_handler): Add comment. Call assert on pass value.
10841
2d63a517
IZ
108422014-03-13 Igor Zamyatin <igor.zamyatin@intel.com>
10843
7e54fd04 10844 [BZ #16194]
2d63a517
IZ
10845 * config.h.in (HAVE_AVX512_SUPPORT): New #undef.
10846 (HAVE_AVX512_ASM_SUPPORT): Likewise.
10847 * sysdeps/x86_64/bits/link.h (La_x86_64_zmm): New.
10848 (La_x86_64_vector): Add zmm.
10849 * sysdeps/x86_64/Makefile (tests): Add tst-audit10.
10850 (modules-names): Add tst-auditmod10a and tst-auditmod10b.
10851 ($(objpfx)tst-audit10): New target.
10852 ($(objpfx)tst-audit10.out): Likewise.
10853 (tst-audit10-ENV): New.
10854 (AVX512-CFLAGS): Likewise.
10855 (CFLAGS-tst-audit10.c): Likewise.
10856 (CFLAGS-tst-auditmod10a.c): Likewise.
10857 (CFLAGS-tst-auditmod10b.c): Likewise.
10858 * sysdeps/x86_64/configure.ac: Set config-cflags-avx512,
10859 HAVE_AVX512_SUPPORT and HAVE_AVX512_ASM_SUPPORT.
10860 * sysdeps/x86_64/configure: Regenerated.
10861 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Add
10862 AVX-512 zmm register support.
10863 (_dl_x86_64_save_sse): Likewise.
10864 (_dl_x86_64_restore_sse): Likewise.
10865 * sysdeps/x86_64/dl-trampoline.h: Updated to support different
10866 size vector registers.
10867 * sysdeps/x86_64/link-defines.sym (YMM_SIZE): New.
10868 (ZMM_SIZE): Likewise.
10869 * sysdeps/x86_64/tst-audit10.c: New file.
10870 * sysdeps/x86_64/tst-auditmod10a.c: Likewise.
10871 * sysdeps/x86_64/tst-auditmod10b.c: Likewise.
10872
44c4e5d5
RM
108732014-03-13 Roland McGrath <roland@hack.frob.com>
10874
10875 * configure.ac (HAVE_EHDR_START): New check.
10876 * configure: Regenerated.
10877 * config.h.in (HAVE_EHDR_START): New #undef.
10878 * elf/rtld.c (dl_main) [HAVE_EHDR_START]: Use __ehdr_start rather than
10879 assuming the lowest-addressed segment maps the start of the file.
10880
acd6e389
JM
108812014-03-13 Joseph Myers <joseph@codesourcery.com>
10882
10883 * INSTALL: Regenerated.
10884
6f918f36
WN
108852014-03-13 Will Newton <will.newton@linaro.org>
10886
10887 * manual/setjmp.texi (System V contexts): Improve
10888 clarity and grammar of documentation.
10889
798212a0
PP
108902014-03-12 Paul Pluzhnikov <ppluzhnikov@google.com>
10891
10892 [BZ #16381]
798212a0 10893 * elf/Makefile (tests): Add tst-pie2.
2e03fae7 10894 (tests-pie): Add tst-pie2.
798212a0
PP
10895 * elf/tst-pie2.c: New file.
10896 * elf/dl-load.c (_dl_map_object_from_fd): Assert correct l_type
10897 for ET_EXEC.
10898 * elf/rtld.c (map_doit): Load executable as lt_executable.
10899 (dl_main): Likewise.
10900
abe6d90c
JM
109012014-03-12 Joseph Myers <joseph@codesourcery.com>
10902
10903 [BZ #16642]
10904 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
10905 (__ASSUME_PSELECT): Undefine.
10906
dd3946c6
AZ
109072014-03-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10908
10909 [BZ #16689]
10910 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S
10911 (__bzero_ppc): Call memset@local instead of __memset_ppc@local for
10912 static build.
10913 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: Build IFUNC
10914 selector for static builds.
10915
c44496df
SP
109162014-03-12 Siddhesh Poyarekar <siddhesh@redhat.com>
10917
10918 [BZ #16695]
10919 * nscd/netgroupcache.c (addgetnetgrentX): Factor in space for
10920 key in the buffer.
10921
27c7220a
AZ
109222014-03-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10923
57f41c40
AS
10924 * sysdeps/powerpc/powerpc64/multiarch/strspn.c (strspn): Build
10925 IFUNC selector for static builds.
27c7220a 10926
600fa361
JM
109272014-03-11 Joseph Myers <joseph@codesourcery.com>
10928
76c96cf7
JM
10929 * sysdeps/mips/math_private.h [__mips_hard_float]
10930 (libc_feresetround_ctx): Define to libc_feupdateenv_mips_ctx not
10931 libc_feresetround_mips_ctx.
10932 [__mips_hard_float] (libc_feresetroundf_ctx): Likewise.
10933 [__mips_hard_float] (libc_feresetroundl_ctx): Likewise.
10934 [__mips_hard_float] (libc_feresetround_mips_ctx): Remove.
10935
600fa361
JM
10936 [BZ #16677]
10937 * math/s_nextafter.c (__nextafter): Do not return value from
10938 overflowing computation.
10939 * sysdeps/i386/fpu/s_nextafterl.c (__nextafterl): Likewise.
10940 * sysdeps/ieee754/flt-32/s_nextafterf.c (__nextafterf): Likewise.
10941 * sysdeps/ieee754/ldbl-128/s_nextafterl.c (__nextafterl):
10942 Likewise.
10943 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl):
10944 Likewise.
10945 * sysdeps/m68k/m680x0/fpu/s_nextafterl.c (__nextafterl): Likewise.
10946 * math/libm-test.inc (nextafter_test): Use ALL_RM_TEST.
10947
d7706c32
RM
109482014-03-11 Roland McGrath <roland@hack.frob.com>
10949
10950 * sysdeps/arm/setjmp.S: Use sfi_breg on stores of mangled registers.
10951 * sysdeps/arm/__longjmp.S: Use sfi_breg on loads of mangled registers.
10952 Move sfi_sp use from the load-multiple (that no longer sets sp) to
10953 the new mov targetting sp.
10954
4facea47
AZ
109552014-03-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10956
10957 [BZ #16683]
10958 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S (__bzero_ppc):
10959 Define it for static builds as well.
10960 (NO_BZERO_IMPL): Likewise.
10961
e65caf1f
VR
109622014-03-11 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
10963
10964 * sysdeps/powerpc/powerpc64/power7/strspn.S: New file: Optimization.
10965 * sysdeps/powerpc/powerpc64/multiarch/strspn.c: New file:
10966 multiarch strspn for PPC64.
10967 * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: New file
10968 * sysdeps/powerpc/powerpc64/multiarch/strspn-power7.S: New file
10969 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
10970 (__libc_ifunc_impl_list): Likewise.
10971 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strspn
10972 multiarch optimizations
10973 * string/strspn.c (strspn): Using macro to redefine symbol name.
10974
ba9cc071
AZ
109752014-03-10 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
10976 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10977
10978 * sysdeps/powerpc/powerpc64/power7/strncat.S: New file: Optimization.
10979 * sysdeps/powerpc/powerpc64/multiarch/strncat.c: New file:
10980 multiarch strncat for PPC64.
10981 * sysdeps/powerpc/powerpc64/multiarch/strncat-ppc64.c: New file
10982 * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.S: New file
10983 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
10984 (__libc_ifunc_impl_list): Likewise.
10985 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncat
10986 multiarch optimizations
10987
8b4ff974
SP
109882014-03-10 Siddhesh Poyarekar <siddhesh@redhat.com>
10989
10990 [BZ #16639]
10991 * nscd/nscd.service: Make service type forking.
10992
54b46a4b
AZ
109932014-03-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10994
10995 * sysdeps/powerpc/power5+/fpu/s_modf.c (__modf): Fix to return correct
10996 sign in non default rounding modes.
10997 * sysdeps/powerpc/power5+/fpu/s_modff.c (__modff): Likewise.
10998
e9996ef7
JM
109992014-03-08 Joseph Myers <joseph@codesourcery.com>
11000
11001 * math/libm-test.inc (ALL_RM_TEST): New macro.
11002 (ceil_test): Use ALL_RM_TEST.
11003 (cimag_test): Likewise.
11004 (conj_test): Likewise.
11005 (copysign_test): Likewise.
11006 (cproj_test): Likewise.
11007 (creal_test): Likewise.
11008 (fabs_test): Likewise.
11009 (floor_test): Likewise.
11010 (fmax_test): Likewise.
11011 (fmin_test): Likewise.
11012 (fmod_test): Likewise.
11013 (fpclassify_test): Likewise.
11014 (frexp_test): Likewise.
11015 (ilogb_test): Likewise.
11016 (isfinite_test): Likewise.
11017 (finite_test): Likewise.
11018 (isgreater_test): Likewise.
11019 (isgreaterequal_test): Likewise.
11020 (isinf_test): Likewise.
11021 (isless_test): Likewise.
11022 (islessequal_test): Likewise.
11023 (islessgreater_test): Likewise.
11024 (isnan_test): Likewise.
11025 (isnormal_test): Likewise.
11026 (issignaling_test): Likewise.
11027 (isunordered_test): Likewise.
11028 (logb_test): Likewise.
11029 (logb_downward_test_data): Remove.
11030 (logb_test_downward): Likewise.
11031 (lround_test): Use ALL_RM_TEST.
11032 (llround_test): Likewise.
11033 (modf_test): Likewise.
11034 (nexttoward_test): Likewise.
11035 (remainder_test): Likewise.
11036 (drem_test): Likewise.
11037 (remainder_tonearest_test_data): Likewise.
11038 (remainder_test_tonearest): Likewise.
11039 (drem_test_tonearest): Likewise.
11040 (remainder_towardzero_test_data): Likewise.
11041 (remainder_test_towardzero): Likewise.
11042 (drem_test_towardzero): Likewise.
11043 (remainder_downward_test_data): Likewise.
11044 (remainder_test_downward): Likewise.
11045 (drem_test_downward): Likewise.
11046 (remainder_upward_test_data): Likewise.
11047 (remainder_test_upward): Likewise.
11048 (drem_test_upward): Likewise.
11049 (remquo_test): Use ALL_RM_TEST. Remove comment about x.
11050 (round_test): Use ALL_RM_TEST.
11051 (signbit_test): Likewise.
11052 (trunc_test): Likewise.
11053 (significand_test): Likewise.
11054 (main): Don't call removed functions.
11055
bc61d27c
JM
110562014-03-07 Joseph Myers <joseph@codesourcery.com>
11057
5c780849
JM
11058 [BZ #16674]
11059 * bits/siginfo.h (ILL_ILLOPC): Condition on [__USE_XOPEN_EXTENDED
11060 || __USE_XOPEN2K8].
11061 (ILL_ILLOPN): Likewise.
11062 (ILL_ILLADR): Likewise.
11063 (ILL_ILLTRP): Likewise.
11064 (ILL_PRVOPC): Likewise.
11065 (ILL_PRVREG): Likewise.
11066 (ILL_COPROC): Likewise.
11067 (ILL_BADSTK): Likewise.
11068 (FPE_INTDIV): Likewise.
11069 (FPE_INTOVF): Likewise.
11070 (FPE_FLTDIV): Likewise.
11071 (FPE_FLTOVF): Likewise.
11072 (FPE_FLTUND): Likewise.
11073 (FPE_FLTRES): Likewise.
11074 (FPE_FLTINV): Likewise.
11075 (FPE_FLTSUB): Likewise.
11076 (SEGV_MAPERR): Likewise.
11077 (SEGV_ACCERR): Likewise.
11078 (BUS_ADRALN): Likewise.
11079 (BUS_ADRERR): Likewise.
11080 (BUS_OBJERR): Likewise.
11081 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
11082 (TRAP_TRACE): Likewise.
11083 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
11084 __USE_XOPEN2K8].
11085 (CLD_KILLED): Likewise.
11086 (CLD_DUMPED): Likewise.
11087 (CLD_TRAPPED): Likewise.
11088 (CLD_STOPPED): Likewise.
11089 (CLD_CONTINUED): Likewise.
11090 (POLL_IN): Likewise.
11091 (POLL_OUT): Likewise.
11092 (POLL_MSG): Likewise.
11093 (POLL_ERR): Likewise.
11094 (POLL_PRI): Likewise.
11095 (POLL_HUP): Likewise.
11096 * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h (ILL_ILLOPC):
11097 Likewise.
11098 (ILL_ILLOPN): Likewise.
11099 (ILL_ILLADR): Likewise.
11100 (ILL_ILLTRP): Likewise.
11101 (ILL_PRVOPC): Likewise.
11102 (ILL_PRVREG): Likewise.
11103 (ILL_COPROC): Likewise.
11104 (ILL_BADSTK): Likewise.
11105 (FPE_INTDIV): Likewise.
11106 (FPE_INTOVF): Likewise.
11107 (FPE_FLTDIV): Likewise.
11108 (FPE_FLTOVF): Likewise.
11109 (FPE_FLTUND): Likewise.
11110 (FPE_FLTRES): Likewise.
11111 (FPE_FLTINV): Likewise.
11112 (FPE_FLTSUB): Likewise.
11113 (SEGV_MAPERR): Likewise.
11114 (SEGV_ACCERR): Likewise.
11115 (BUS_ADRALN): Likewise.
11116 (BUS_ADRERR): Likewise.
11117 (BUS_OBJERR): Likewise.
11118 (BUS_MCEERR_AR): Likewise.
11119 (BUS_MCEERR_AO): Likewise.
11120 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
11121 (TRAP_TRACE): Likewise.
11122 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
11123 __USE_XOPEN2K8].
11124 (CLD_KILLED): Likewise.
11125 (CLD_DUMPED): Likewise.
11126 (CLD_TRAPPED): Likewise.
11127 (CLD_STOPPED): Likewise.
11128 (CLD_CONTINUED): Likewise.
11129 (POLL_IN): Likewise.
11130 (POLL_OUT): Likewise.
11131 (POLL_MSG): Likewise.
11132 (POLL_ERR): Likewise.
11133 (POLL_PRI): Likewise.
11134 (POLL_HUP): Likewise.
11135 * sysdeps/unix/sysv/linux/bits/siginfo.h (ILL_ILLOPC): Likewise.
11136 (ILL_ILLOPN): Likewise.
11137 (ILL_ILLADR): Likewise.
11138 (ILL_ILLTRP): Likewise.
11139 (ILL_PRVOPC): Likewise.
11140 (ILL_PRVREG): Likewise.
11141 (ILL_COPROC): Likewise.
11142 (ILL_BADSTK): Likewise.
11143 (FPE_INTDIV): Likewise.
11144 (FPE_INTOVF): Likewise.
11145 (FPE_FLTDIV): Likewise.
11146 (FPE_FLTOVF): Likewise.
11147 (FPE_FLTUND): Likewise.
11148 (FPE_FLTRES): Likewise.
11149 (FPE_FLTINV): Likewise.
11150 (FPE_FLTSUB): Likewise.
11151 (SEGV_MAPERR): Likewise.
11152 (SEGV_ACCERR): Likewise.
11153 (BUS_ADRALN): Likewise.
11154 (BUS_ADRERR): Likewise.
11155 (BUS_OBJERR): Likewise.
11156 (BUS_MCEERR_AR): Likewise.
11157 (BUS_MCEERR_AO): Likewise.
11158 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
11159 (TRAP_TRACE): Likewise.
11160 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
11161 __USE_XOPEN2K8].
11162 (CLD_KILLED): Likewise.
11163 (CLD_DUMPED): Likewise.
11164 (CLD_TRAPPED): Likewise.
11165 (CLD_STOPPED): Likewise.
11166 (CLD_CONTINUED): Likewise.
11167 (POLL_IN): Likewise.
11168 (POLL_OUT): Likewise.
11169 (POLL_MSG): Likewise.
11170 (POLL_ERR): Likewise.
11171 (POLL_PRI): Likewise.
11172 (POLL_HUP): Likewise.
11173 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h (ILL_ILLOPC):
11174 Likewise.
11175 (ILL_ILLOPN): Likewise.
11176 (ILL_ILLADR): Likewise.
11177 (ILL_ILLTRP): Likewise.
11178 (ILL_PRVOPC): Likewise.
11179 (ILL_PRVREG): Likewise.
11180 (ILL_COPROC): Likewise.
11181 (ILL_BADSTK): Likewise.
11182 (ILL_BADIADDR): Likewise.
11183 (ILL_BREAK): Likewise.
11184 (FPE_INTDIV): Likewise.
11185 (FPE_INTOVF): Likewise.
11186 (FPE_FLTDIV): Likewise.
11187 (FPE_FLTOVF): Likewise.
11188 (FPE_FLTUND): Likewise.
11189 (FPE_FLTRES): Likewise.
11190 (FPE_FLTINV): Likewise.
11191 (FPE_FLTSUB): Likewise.
11192 (FPE_DECOVF): Likewise.
11193 (FPE_DECDIV): Likewise.
11194 (FPE_DECERR): Likewise.
11195 (FPE_INVASC): Likewise.
11196 (FPE_INVDEC): Likewise.
11197 (SEGV_MAPERR): Likewise.
11198 (SEGV_ACCERR): Likewise.
11199 (SEGV_PSTKOVF): Likewise.
11200 (BUS_ADRALN): Likewise.
11201 (BUS_ADRERR): Likewise.
11202 (BUS_OBJERR): Likewise.
11203 (BUS_MCEERR_AR): Likewise.
11204 (BUS_MCEERR_AO): Likewise.
11205 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
11206 (TRAP_TRACE): Likewise.
11207 (TRAP_BRANCH): Likewise.
11208 (TRAP_HWBKPT): Likewise.
11209 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
11210 __USE_XOPEN2K8].
11211 (CLD_KILLED): Likewise.
11212 (CLD_DUMPED): Likewise.
11213 (CLD_TRAPPED): Likewise.
11214 (CLD_STOPPED): Likewise.
11215 (CLD_CONTINUED): Likewise.
11216 (POLL_IN): Likewise.
11217 (POLL_OUT): Likewise.
11218 (POLL_MSG): Likewise.
11219 (POLL_ERR): Likewise.
11220 (POLL_PRI): Likewise.
11221 (POLL_HUP): Likewise.
11222 * sysdeps/unix/sysv/linux/mips/bits/siginfo.h (ILL_ILLOPC): Likewise.
11223 (ILL_ILLOPN): Likewise.
11224 (ILL_ILLADR): Likewise.
11225 (ILL_ILLTRP): Likewise.
11226 (ILL_PRVOPC): Likewise.
11227 (ILL_PRVREG): Likewise.
11228 (ILL_COPROC): Likewise.
11229 (ILL_BADSTK): Likewise.
11230 (FPE_INTDIV): Likewise.
11231 (FPE_INTOVF): Likewise.
11232 (FPE_FLTDIV): Likewise.
11233 (FPE_FLTOVF): Likewise.
11234 (FPE_FLTUND): Likewise.
11235 (FPE_FLTRES): Likewise.
11236 (FPE_FLTINV): Likewise.
11237 (FPE_FLTSUB): Likewise.
11238 (SEGV_MAPERR): Likewise.
11239 (SEGV_ACCERR): Likewise.
11240 (BUS_ADRALN): Likewise.
11241 (BUS_ADRERR): Likewise.
11242 (BUS_OBJERR): Likewise.
11243 (BUS_MCEERR_AR): Likewise.
11244 (BUS_MCEERR_AO): Likewise.
11245 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
11246 (TRAP_TRACE): Likewise.
11247 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
11248 __USE_XOPEN2K8].
11249 (CLD_KILLED): Likewise.
11250 (CLD_DUMPED): Likewise.
11251 (CLD_TRAPPED): Likewise.
11252 (CLD_STOPPED): Likewise.
11253 (CLD_CONTINUED): Likewise.
11254 (POLL_IN): Likewise.
11255 (POLL_OUT): Likewise.
11256 (POLL_MSG): Likewise.
11257 (POLL_ERR): Likewise.
11258 (POLL_PRI): Likewise.
11259 (POLL_HUP): Likewise.
11260 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (ILL_ILLOPC): Likewise.
11261 (ILL_ILLOPN): Likewise.
11262 (ILL_ILLADR): Likewise.
11263 (ILL_ILLTRP): Likewise.
11264 (ILL_PRVOPC): Likewise.
11265 (ILL_PRVREG): Likewise.
11266 (ILL_COPROC): Likewise.
11267 (ILL_BADSTK): Likewise.
11268 (FPE_INTDIV): Likewise.
11269 (FPE_INTOVF): Likewise.
11270 (FPE_FLTDIV): Likewise.
11271 (FPE_FLTOVF): Likewise.
11272 (FPE_FLTUND): Likewise.
11273 (FPE_FLTRES): Likewise.
11274 (FPE_FLTINV): Likewise.
11275 (FPE_FLTSUB): Likewise.
11276 (SEGV_MAPERR): Likewise.
11277 (SEGV_ACCERR): Likewise.
11278 (BUS_ADRALN): Likewise.
11279 (BUS_ADRERR): Likewise.
11280 (BUS_OBJERR): Likewise.
11281 (BUS_MCEERR_AR): Likewise.
11282 (BUS_MCEERR_AO): Likewise.
11283 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
11284 (TRAP_TRACE): Likewise.
11285 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
11286 __USE_XOPEN2K8].
11287 (CLD_KILLED): Likewise.
11288 (CLD_DUMPED): Likewise.
11289 (CLD_TRAPPED): Likewise.
11290 (CLD_STOPPED): Likewise.
11291 (CLD_CONTINUED): Likewise.
11292 (POLL_IN): Likewise.
11293 (POLL_OUT): Likewise.
11294 (POLL_MSG): Likewise.
11295 (POLL_ERR): Likewise.
11296 (POLL_PRI): Likewise.
11297 (POLL_HUP): Likewise.
11298 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (ILL_ILLOPC): Likewise.
11299 (ILL_ILLOPN): Likewise.
11300 (ILL_ILLADR): Likewise.
11301 (ILL_ILLTRP): Likewise.
11302 (ILL_PRVOPC): Likewise.
11303 (ILL_PRVREG): Likewise.
11304 (ILL_COPROC): Likewise.
11305 (ILL_BADSTK): Likewise.
11306 (FPE_INTDIV): Likewise.
11307 (FPE_INTOVF): Likewise.
11308 (FPE_FLTDIV): Likewise.
11309 (FPE_FLTOVF): Likewise.
11310 (FPE_FLTUND): Likewise.
11311 (FPE_FLTRES): Likewise.
11312 (FPE_FLTINV): Likewise.
11313 (FPE_FLTSUB): Likewise.
11314 (SEGV_MAPERR): Likewise.
11315 (SEGV_ACCERR): Likewise.
11316 (BUS_ADRALN): Likewise.
11317 (BUS_ADRERR): Likewise.
11318 (BUS_OBJERR): Likewise.
11319 (BUS_MCEERR_AR): Likewise.
11320 (BUS_MCEERR_AO): Likewise.
11321 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
11322 (TRAP_TRACE): Likewise.
11323 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
11324 __USE_XOPEN2K8].
11325 (CLD_KILLED): Likewise.
11326 (CLD_DUMPED): Likewise.
11327 (CLD_TRAPPED): Likewise.
11328 (CLD_STOPPED): Likewise.
11329 (CLD_CONTINUED): Likewise.
11330 (POLL_IN): Likewise.
11331 (POLL_OUT): Likewise.
11332 (POLL_MSG): Likewise.
11333 (POLL_ERR): Likewise.
11334 (POLL_PRI): Likewise.
11335 (POLL_HUP): Likewise.
11336 * sysdeps/unix/sysv/linux/tile/bits/siginfo.h (ILL_ILLOPC): Likewise.
11337 (ILL_ILLOPN): Likewise.
11338 (ILL_ILLADR): Likewise.
11339 (ILL_ILLTRP): Likewise.
11340 (ILL_PRVOPC): Likewise.
11341 (ILL_PRVREG): Likewise.
11342 (ILL_COPROC): Likewise.
11343 (ILL_BADSTK): Likewise.
11344 (ILL_DBLFLT): Likewise.
11345 (ILL_HARDWALL): Likewise.
11346 (FPE_INTDIV): Likewise.
11347 (FPE_INTOVF): Likewise.
11348 (FPE_FLTDIV): Likewise.
11349 (FPE_FLTOVF): Likewise.
11350 (FPE_FLTUND): Likewise.
11351 (FPE_FLTRES): Likewise.
11352 (FPE_FLTINV): Likewise.
11353 (FPE_FLTSUB): Likewise.
11354 (SEGV_MAPERR): Likewise.
11355 (SEGV_ACCERR): Likewise.
11356 (BUS_ADRALN): Likewise.
11357 (BUS_ADRERR): Likewise.
11358 (BUS_OBJERR): Likewise.
11359 (BUS_MCEERR_AR): Likewise.
11360 (BUS_MCEERR_AO): Likewise.
11361 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
11362 (TRAP_TRACE): Likewise.
11363 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
11364 __USE_XOPEN2K8].
11365 (CLD_KILLED): Likewise.
11366 (CLD_DUMPED): Likewise.
11367 (CLD_TRAPPED): Likewise.
11368 (CLD_STOPPED): Likewise.
11369 (CLD_CONTINUED): Likewise.
11370 (POLL_IN): Likewise.
11371 (POLL_OUT): Likewise.
11372 (POLL_MSG): Likewise.
11373 (POLL_ERR): Likewise.
11374 (POLL_PRI): Likewise.
11375 (POLL_HUP): Likewise.
11376 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (ILL_ILLOPC): Likewise.
11377 (ILL_ILLOPN): Likewise.
11378 (ILL_ILLADR): Likewise.
11379 (ILL_ILLTRP): Likewise.
11380 (ILL_PRVOPC): Likewise.
11381 (ILL_PRVREG): Likewise.
11382 (ILL_COPROC): Likewise.
11383 (ILL_BADSTK): Likewise.
11384 (FPE_INTDIV): Likewise.
11385 (FPE_INTOVF): Likewise.
11386 (FPE_FLTDIV): Likewise.
11387 (FPE_FLTOVF): Likewise.
11388 (FPE_FLTUND): Likewise.
11389 (FPE_FLTRES): Likewise.
11390 (FPE_FLTINV): Likewise.
11391 (FPE_FLTSUB): Likewise.
11392 (SEGV_MAPERR): Likewise.
11393 (SEGV_ACCERR): Likewise.
11394 (BUS_ADRALN): Likewise.
11395 (BUS_ADRERR): Likewise.
11396 (BUS_OBJERR): Likewise.
11397 (BUS_MCEERR_AR): Likewise.
11398 (BUS_MCEERR_AO): Likewise.
11399 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
11400 (TRAP_TRACE): Likewise.
11401 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
11402 __USE_XOPEN2K8].
11403 (CLD_KILLED): Likewise.
11404 (CLD_DUMPED): Likewise.
11405 (CLD_TRAPPED): Likewise.
11406 (CLD_STOPPED): Likewise.
11407 (CLD_CONTINUED): Likewise.
11408 (POLL_IN): Likewise.
11409 (POLL_OUT): Likewise.
11410 (POLL_MSG): Likewise.
11411 (POLL_ERR): Likewise.
11412 (POLL_PRI): Likewise.
11413 (POLL_HUP): Likewise.
11414 * conform/Makefile (test-xfail-POSIX/signal.h/conform): Remove.
11415 (test-xfail-POSIX/sys/wait.h/conform): Likewise.
11416
bc61d27c
JM
11417 [BZ #16670]
11418 * posix/sched.h [!__USE_XOPEN2K] (__need_time_t): Don't define
11419 before #include of <time.h>.
11420 [!__USE_XOPEN2K] (__need_timespec): Likewise.
11421 * conform/Makefile (test-xfail-POSIX/sched.h/conform): Remove.
11422 (test-xfail-UNIX98/sched.h/conform): Likewise.
11423
302949e2
MS
114242014-03-07 Marcus Shawcroft <marcus.shawcroft@arm.com>
11425
11426 * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Detect and
11427 error absence of trapping exception support.
11428 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
11429
a00f522a
JM
114302014-03-07 Joseph Myers <joseph@codesourcery.com>
11431
6f99f280
JM
11432 * catgets/Makefile (tests-special): Add $(objpfx)sample.SJIS.cat.
11433 ($(objpfx)sample.SJIS.cat): Use $(evaluate-test).
11434 * timezone/Makefile (testdata): Move definition above include of
11435 Rules.
11436 (test-zones): New variable.
11437 (tests-special): Add zone files.
11438 (build-testdata): Use $(evaluate-test).
11439
0b20a9e8
JM
11440 * elf/Makefile (tests-special): Rename tests to end with .out.
11441 ($(objpfx)noload-mem): Likewise.
11442 ($(objpfx)tst-leaks1-mem): Likewise.
11443 ($(objpfx)tst-leaks1-static-mem.out): Likewise.
11444 * iconv/Makefile (xtests-special): Change test-iconvconfig to
11445 $(objpfx)test-iconvconfig.out.
11446 (test-iconvconfig): Change to $(objpfx)test-iconvconfig.out. Use
11447 set -e inside subshell and redirect output to file.
11448 * iconvdata/Makefile (generated): Rename tests to end with .out.
11449 Correct type.
11450 (tests-special): Rename tests to end with .out.
11451 ($(objpfx)mtrace-tst-loading): Likewise.
11452 * intl/Makefile (generated): Likewise.
11453 (tests-special): Likewise.
11454 ($(objpfx)mtrace-tst-gettext): Likewise.
11455 * misc/Makefile (generated): Likewise.
11456 (tests-special): Likewise.
11457 ($(objpfx)tst-error1-mem): Likewise.
11458 * nptl/Makefile (tests-special): Likewise.
11459 ($(objpfx)tst-stack3-mem): Likewise.
11460 (generated): Likewise.
11461 * posix/Makefile (generated): Likewise.
11462 (tests-special): Likewise.
11463 (xtests-special): Likewise.
11464 ($(objpfx)tst-fnmatch-mem): Likewise.
11465 ($(objpfx)bug-regex2-mem): Likewise.
11466 ($(objpfx)bug-regex14-mem): Likewise.
11467 ($(objpfx)bug-regex21-mem): Likewise.
11468 ($(objpfx)bug-regex31-mem): Likewise.
11469 ($(objpfx)tst-vfork3-mem): Likewise.
11470 ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
11471 ($(objpfx)tst-pcre-mem): Likewise.
11472 ($(objpfx)tst-boost-mem): Likewise.
11473 ($(objpfx)bug-ga2-mem): Likewise.
11474 ($(objpfx)bug-glob2-mem): Likewise.
11475 * resolv/Makefile (generate): Likewise.
11476 (tests-special): Likewise.
11477 (xtests-special): Likewise.
11478 (generated): Likewise.
11479 ($(objpfx)mtrace-tst-leaks): Likewise.
11480 ($(objpfx)mtrace-tst-leaks2): Likewise.
11481
265d52ab
JM
11482 * scripts/merge-test-results.sh: New file.
11483 * Makefile (tests-special-notdir): New variable.
11484 (tests): Run merge-test-results.sh.
11485 (xtests): Likewise.
11486 * Rules (tests-special-notdir): New variable.
11487 (xtests-special-notdir): Likewise.
11488 (tests): Run merge-test-results.sh
11489 (xtests): Likewise.
11490
54ee292d
JM
11491 * Makeconfig (test-xfail-name): New variable.
11492 (evaluate-test): Use $(test-xfail-name) instead of $(@F:.out=) to
11493 compute variable name for expected failures.
11494 * conform/Makefile (conformtest-headers-data): New variable.
11495 (conformtest-standards): Likewise.
11496 (conformtest-headers-ISO): Likewise.
11497 (conformtest-headers-ISO99): Likewise.
11498 (conformtest-headers-ISO11): Likewise.
11499 (conformtest-headers-POSIX): Likewise.
11500 (conformtest-headers-XPG3): Likewise.
11501 (conformtest-headers-XPG4): Likewise.
11502 (conformtest-headers-UNIX98): Likewise.
11503 (conformtest-headers-XOPEN2K): Likewise.
11504 (conformtest-headers-POSIX2008): Likewise.
11505 (conformtest-headers-XOPEN2K8): Likewise.
11506 (conformtest-header-list-base): Likewise.
11507 (conformtest-header-list-tests): Likewise.
11508 (conformtest-header-base): Likewise.
11509 (conformtest-header-tests): Likewise.
11510 (tests-special): Add $(conformtest-header-list-tests). If
11511 [$(fast-check) && !$(cross-compiling)], add
11512 $(conformtest-header-tests) instead of
11513 $(objpfx)run-conformtest.out.
11514 (generated): Add $(conformtest-header-list-base). If
11515 [$(fast-check) && !$(cross-compiling)], add
11516 $(conformtest-header-base). Remove previous setting.
11517 ($(conformtest-header-list-tests)): New target.
11518 (test-xfail-run-conformtest): Remove variable.
11519 ($(objpfx)run-conformtest.out): Remove target.
11520 (test-xfail-ISO11/complex.h/conform): New variable.
11521 (test-xfail-ISO11/stdalign.h/conform): Likewise.
11522 (test-xfail-ISO11/stdnoreturn.h/conform): Likewise.
11523 (test-xfail-XPG3/varargs.h/conform): Likewise.
11524 (test-xfail-XPG4/varargs.h/conform): Likewise.
11525 (test-xfail-UNIX98/varargs.h/conform): Likewise.
11526 (test-xfail-XPG4/ndbm.h/conform): Likewise.
11527 (test-xfail-UNIX98/ndbm.h/conform): Likewise.
11528 (test-xfail-XOPEN2K/ndbm.h/conform): Likewise.
11529 (test-xfail-XOPEN2K8/ndbm.h/conform): Likewise.
11530 (test-xfail-XPG3/fcntl.h/conform): Likewise.
11531 (test-xfail-XPG3/ftw.h/conform): Likewise.
11532 (test-xfail-XPG3/grp.h/conform): Likewise.
11533 (test-xfail-XPG3/langinfo.h/conform): Likewise.
11534 (test-xfail-XPG3/limits.h/conform): Likewise.
11535 (test-xfail-XPG3/pwd.h/conform): Likewise.
11536 (test-xfail-XPG3/search.h/conform): Likewise.
11537 (test-xfail-XPG3/signal.h/conform): Likewise.
11538 (test-xfail-XPG3/stdio.h/conform): Likewise.
11539 (test-xfail-XPG3/stdlib.h/conform): Likewise.
11540 (test-xfail-XPG3/string.h/conform): Likewise.
11541 (test-xfail-XPG3/sys/ipc.h/conform): Likewise.
11542 (test-xfail-XPG3/sys/msg.h/conform): Likewise.
11543 (test-xfail-XPG3/sys/sem.h/conform): Likewise.
11544 (test-xfail-XPG3/sys/shm.h/conform): Likewise.
11545 (test-xfail-XPG3/sys/stat.h/conform): Likewise.
11546 (test-xfail-XPG3/sys/types.h/conform): Likewise.
11547 (test-xfail-XPG3/sys/wait.h/conform): Likewise.
11548 (test-xfail-XPG3/termios.h/conform): Likewise.
11549 (test-xfail-XPG3/time.h/conform): Likewise.
11550 (test-xfail-XPG3/unistd.h/conform): Likewise.
11551 (test-xfail-XPG4/arpa/inet.h/conform): Likewise.
11552 (test-xfail-XPG4/fcntl.h/conform): Likewise.
11553 (test-xfail-XPG4/langinfo.h/conform): Likewise.
11554 (test-xfail-XPG4/netdb.h/conform): Likewise.
11555 (test-xfail-XPG4/netinet/in.h/conform): Likewise.
11556 (test-xfail-XPG4/signal.h/conform): Likewise.
11557 (test-xfail-XPG4/stdio.h/conform): Likewise.
11558 (test-xfail-XPG4/stdlib.h/conform): Likewise.
11559 (test-xfail-XPG4/stropts.h/conform): Likewise.
11560 (test-xfail-XPG4/sys/ipc.h/conform): Likewise.
11561 (test-xfail-XPG4/sys/msg.h/conform): Likewise.
11562 (test-xfail-XPG4/sys/sem.h/conform): Likewise.
11563 (test-xfail-XPG4/sys/shm.h/conform): Likewise.
11564 (test-xfail-XPG4/sys/socket.h/conform): Likewise.
11565 (test-xfail-XPG4/sys/stat.h/conform): Likewise.
11566 (test-xfail-XPG4/sys/time.h/conform): Likewise.
11567 (test-xfail-XPG4/sys/types.h/conform): Likewise.
11568 (test-xfail-XPG4/sys/wait.h/conform): Likewise.
11569 (test-xfail-XPG4/termios.h/conform): Likewise.
11570 (test-xfail-XPG4/ucontext.h/conform): Likewise.
11571 (test-xfail-XPG4/unistd.h/conform): Likewise.
11572 (test-xfail-XPG4/utmpx.h/conform): Likewise.
11573 (test-xfail-POSIX/sched.h/conform): Likewise.
11574 (test-xfail-POSIX/signal.h/conform): Likewise.
11575 (test-xfail-POSIX/sys/wait.h/conform): Likewise.
11576 (test-xfail-POSIX/tar.h/conform): Likewise.
11577 (test-xfail-UNIX98/arpa/inet.h/conform): Likewise.
11578 (test-xfail-UNIX98/fcntl.h/conform): Likewise.
11579 (test-xfail-UNIX98/langinfo.h/conform): Likewise.
11580 (test-xfail-UNIX98/netdb.h/conform): Likewise.
11581 (test-xfail-UNIX98/netinet/in.h/conform): Likewise.
11582 (test-xfail-UNIX98/sched.h/conform): Likewise.
11583 (test-xfail-UNIX98/signal.h/conform): Likewise.
11584 (test-xfail-UNIX98/stdio.h/conform): Likewise.
11585 (test-xfail-UNIX98/stdlib.h/conform): Likewise.
11586 (test-xfail-UNIX98/stropts.h/conform): Likewise.
11587 (test-xfail-UNIX98/sys/ipc.h/conform): Likewise.
11588 (test-xfail-UNIX98/sys/msg.h/conform): Likewise.
11589 (test-xfail-UNIX98/sys/sem.h/conform): Likewise.
11590 (test-xfail-UNIX98/sys/shm.h/conform): Likewise.
11591 (test-xfail-UNIX98/sys/socket.h/conform): Likewise.
11592 (test-xfail-UNIX98/sys/time.h/conform): Likewise.
11593 (test-xfail-UNIX98/sys/wait.h/conform): Likewise.
11594 (test-xfail-UNIX98/ucontext.h/conform): Likewise.
11595 (test-xfail-UNIX98/unistd.h/conform): Likewise.
11596 (test-xfail-UNIX98/utmpx.h/conform): Likewise.
11597 (test-xfail-XOPEN2K/aio.h/conform): Likewise.
11598 (test-xfail-XOPEN2K/arpa/inet.h/conform): Likewise.
11599 (test-xfail-XOPEN2K/fcntl.h/conform): Likewise.
11600 (test-xfail-XOPEN2K/langinfo.h/conform): Likewise.
11601 (test-xfail-XOPEN2K/math.h/conform): Likewise.
11602 (test-xfail-XOPEN2K/mqueue.h/conform): Likewise.
11603 (test-xfail-XOPEN2K/netdb.h/conform): Likewise.
11604 (test-xfail-XOPEN2K/netinet/in.h/conform): Likewise.
11605 (test-xfail-XOPEN2K/semaphore.h/conform): Likewise.
11606 (test-xfail-XOPEN2K/signal.h/conform): Likewise.
11607 (test-xfail-XOPEN2K/stdarg.h/conform): Likewise.
11608 (test-xfail-XOPEN2K/stdio.h/conform): Likewise.
11609 (test-xfail-XOPEN2K/stropts.h/conform): Likewise.
11610 (test-xfail-XOPEN2K/sys/ipc.h/conform): Likewise.
11611 (test-xfail-XOPEN2K/sys/msg.h/conform): Likewise.
11612 (test-xfail-XOPEN2K/sys/sem.h/conform): Likewise.
11613 (test-xfail-XOPEN2K/sys/shm.h/conform): Likewise.
11614 (test-xfail-XOPEN2K/sys/socket.h/conform): Likewise.
11615 (test-xfail-XOPEN2K/sys/wait.h/conform): Likewise.
11616 (test-xfail-XOPEN2K/termios.h/conform): Likewise.
11617 (test-xfail-XOPEN2K/tgmath.h/conform): Likewise.
11618 (test-xfail-XOPEN2K/ucontext.h/conform): Likewise.
11619 (test-xfail-XOPEN2K/utmpx.h/conform): Likewise.
11620 (test-xfail-POSIX2008/arpa/inet.h/conform): Likewise.
11621 (test-xfail-POSIX2008/fcntl.h/conform): Likewise.
11622 (test-xfail-POSIX2008/netdb.h/conform): Likewise.
11623 (test-xfail-POSIX2008/netinet/in.h/conform): Likewise.
11624 (test-xfail-POSIX2008/signal.h/conform): Likewise.
11625 (test-xfail-POSIX2008/stropts.h/conform): Likewise.
11626 (test-xfail-POSIX2008/sys/socket.h/conform): Likewise.
11627 (test-xfail-POSIX2008/sys/wait.h/conform): Likewise.
11628 (test-xfail-XOPEN2K8/arpa/inet.h/conform): Likewise.
11629 (test-xfail-XOPEN2K8/fcntl.h/conform): Likewise.
11630 (test-xfail-XOPEN2K8/limits.h/conform): Likewise.
11631 (test-xfail-XOPEN2K8/math.h/conform): Likewise.
11632 (test-xfail-XOPEN2K8/netdb.h/conform): Likewise.
11633 (test-xfail-XOPEN2K8/netinet/in.h/conform): Likewise.
11634 (test-xfail-XOPEN2K8/signal.h/conform): Likewise.
11635 (test-xfail-XOPEN2K8/stdio.h/conform): Likewise.
11636 (test-xfail-XOPEN2K8/stropts.h/conform): Likewise.
11637 (test-xfail-XOPEN2K8/sys/ipc.h/conform): Likewise.
11638 (test-xfail-XOPEN2K8/sys/msg.h/conform): Likewise.
11639 (test-xfail-XOPEN2K8/sys/select.h/conform): Likewise.
11640 (test-xfail-XOPEN2K8/sys/sem.h/conform): Likewise.
11641 (test-xfail-XOPEN2K8/sys/shm.h/conform): Likewise.
11642 (test-xfail-XOPEN2K8/sys/socket.h/conform): Likewise.
11643 (test-xfail-XOPEN2K8/sys/time.h/conform): Likewise.
11644 (test-xfail-XOPEN2K8/sys/wait.h/conform): Likewise.
11645 (test-xfail-XOPEN2K8/termios.h/conform): Likewise.
11646 (test-xfail-XOPEN2K8/tgmath.h/conform): Likewise.
11647 (test-xfail-XOPEN2K8/utmpx.h/conform): Likewise.
11648 (conformtest-cc-flags): Likewise.
11649 ($(conformtest-header-tests): New target.
11650 * conform/check-header-lists.sh: New file.
11651 * conform/run-conformtest.sh: Remove.
11652
a00f522a
JM
11653 * conform/conformtest.pl: Allow ' and \ in values given for
11654 constants.
11655 * conform/data/semaphore.h-data [POSIX] (fcntl.h): Allow header
11656 inclusion.
11657 [POSIX] (sys/types.h): Likewise.
11658 [POSIX2008 || XOPEN2K8] (sys/types.h): Don't allow header
11659 inclusion.
11660 [POSIX || UNIX98 || XOPEN2K] (time.h): Don't allow header
11661 inclusion.
11662 * conform/data/signal.h-data (SIGIO): Remove expectation.
11663 [XPG3] (SIGBUS): Do not expect.
11664 [POSIX || XPG3] (SIGPOLL): Likewise.
11665 [POSIX || XPG3] (SIGPROF): Likewise.
11666 [POSIX || XPG3] (SIGSYS): Likewise.
11667 [XPG3] (SIGTRAP): Likewise.
11668 [POSIX || XPG3] (SIGURG): Likewise.
11669 [POSIX || XPG3] (SIGVTALRM): Likewise.
11670 [POSIX || XPG3] (SIGXCPU): Likewise.
11671 [POSIX || XPG3] (SIGXFSZ): Likewise.
11672 [POSIX] (SA_SIGINFO): Expect.
11673 [XPG3] (siginfo_t): Do not expect type or contents.
11674 [POSIX] (si_pid): Do not expect element.
11675 [POSIX] (si_uid): Likewise.
11676 [POSIX] (si_addr): Likewise.
11677 [POSIX] (si_status): Likewise.
11678 [POSIX] (si_band): Likewise.
11679 [XPG4] (si_value): Likewise.
11680 [POSIX || XPG3] (ILL_ILLOPC): Do not expect.
11681 [POSIX || XPG3] (ILL_ILLOPN): Likewise.
11682 [POSIX || XPG3] (ILL_ILLADR): Likewise.
11683 [POSIX || XPG3] (ILL_ILLTRP): Likewise.
11684 [POSIX || XPG3] (ILL_PRVOPC): Likewise.
11685 [POSIX || XPG3] (ILL_PRVREG): Likewise.
11686 [POSIX || XPG3] (ILL_COPROC): Likewise.
11687 [POSIX || XPG3] (ILL_BADSTK): Likewise.
11688 [POSIX || XPG3] (FPE_INTDIV): Likewise.
11689 [POSIX || XPG3] (FPE_INTOVF): Likewise.
11690 [POSIX || XPG3] (FPE_FLTDIV): Likewise.
11691 [POSIX || XPG3] (FPE_FLTOVF): Likewise.
11692 [POSIX || XPG3] (FPE_FLTUND): Likewise.
11693 [POSIX || XPG3] (FPE_FLTRES): Likewise.
11694 [POSIX || XPG3] (FPE_FLTINV): Likewise.
11695 [POSIX || XPG3] (FPE_FLTSUB): Likewise.
11696 [POSIX || XPG3] (SEGV_MAPERR): Likewise.
11697 [POSIX || XPG3] (SEGV_ACCERR): Likewise.
11698 [POSIX || XPG3] (BUS_ADRALN): Likewise.
11699 [POSIX || XPG3] (BUS_ADRERR): Likewise.
11700 [POSIX || XPG3] (BUS_OBJERR): Likewise.
11701 [POSIX || XPG3] (CLD_EXITED): Likewise.
11702 [POSIX || XPG3] (CLD_KILLED): Likewise.
11703 [POSIX || XPG3] (CLD_DUMPED): Likewise.
11704 [POSIX || XPG3] (CLD_TRAPPED): Likewise.
11705 [POSIX || XPG3] (CLD_STOPPED): Likewise.
11706 [POSIX || XPG3] (CLD_CONTINUED): Likewise.
11707 [POSIX || XPG3] (POLL_IN): Likewise.
11708 [POSIX || XPG3] (POLL_OUT): Likewise.
11709 [POSIX || XPG3] (POLL_MSG): Likewise.
11710 [POSIX || XPG3] (POLL_ERR): Likewise.
11711 [POSIX || XPG3] (POLL_PRI): Likewise.
11712 [POSIX || XPG3] (POLL_HUP): Likewise.
11713 [POSIX || XPG3 || POSIX2008] (TRAP_BRKPT): Likewise.
11714 [POSIX || XPG3 || POSIX2008] (TRAP_TRACE): Likewise.
11715 (SIG*): Do not allow.
11716 [XPG3] (si_*): Likewise.
11717 [XPG3] (SI_*): Likewise.
11718 [XPG3 || XPG4] (sigev_*): Likewise.
11719 [XPG3 || XPG4] (SIGEV_*): Likewise.
11720 [XPG3 || XPG4] (sival_*): Likewise.
11721 [POSIX || XPG3 || XPG4] (uc_*): Likewise.
11722 [POSIX || XPG3] (BUS_*): Likewise.
11723 [POSIX || XPG3] (CLD_*): Likewise.
11724 [POSIX || XPG3] (FPE_*): Likewise.
11725 [POSIX || XPG3] (ILL_*): Likewise.
11726 [POSIX || XPG3] (POLL_*): Likewise.
11727 [POSIX || XPG3] (SEGV_*): Likewise.
11728 [POSIX || XPG3 || POSIX2008] (SS_*): Likewise.
11729 [POSIX || XPG3 || POSIX2008] (SV_*): Likewise.
11730 [POSIX || XPG3 || POSIX2008] (TRAP_*): Likewise.
11731 [POSIX || XPG3 || POSIX2008] (ss_*): Likewise.
11732 [POSIX || XPG3 || POSIX2008] (sv_*): Likewise.
11733 * conform/data/tar.h-data (TMAGLEN): Use macro-int-constant.
11734 Specify type and value.
11735 (TVERSLEN): Likewise.
11736 (REGTYPE): Likewise.
11737 (AREGTYPE): Likewise.
11738 (LNKTYPE): Likewise.
11739 (SYMTYPE): Likewise.
11740 (CHRTYPE): Likewise.
11741 (BLKTYPE): Likewise.
11742 (DIRTYPE): Likewise.
11743 (FIFOTYPE): Likewise.
11744 (CONTTYPE): Likewise.
11745 (TSUID): Likewise.
11746 (TSGID): Likewise.
11747 (TSVTX): Likewise.
11748 (TUREAD): Likewise.
11749 (TUWRITE): Likewise.
11750 (TUEXEC): Likewise.
11751 (TGREAD): Likewise.
11752 (TGWRITE): Likewise.
11753 (TGEXEC): Likewise.
11754 (TOREAD): Likewise.
11755 (TOWRITE): Likewise.
11756 (TOEXEC): Likewise.
11757 [POSIX] (TSVTX): Expect constant.
11758
aa97dee1
JM
117592014-03-06 Joseph Myers <joseph@codesourcery.com>
11760
f214606a
JM
11761 * Makefile (tests): Change dependencies to ....
11762 (tests-special): ... additions to this variable.
11763 (tests): Depend on $(tests-special).
11764 * Makerules (check-abi-list): New variable.
11765 (check-abi): Depend on $(check-abi-list).
11766 [$(subdir) = elf] (tests-special): Add
11767 $(objpfx)check-abi-libc.out.
11768 [$(build-shared) = yes && subdir] (tests-special): Add
11769 $(check-abi-list).
11770 [$(build-shared) = yes && subdir] (tests): Do not depend on
11771 check-abi.
11772 * Rules (tests): Depend on $(tests-special).
11773 (xtests): Depend on $(xtests-special).
11774 * catgets/Makefile (tests): Change dependencies to ....
11775 (tests-special): ... additions to this variable.
11776 * conform/Makefile (tests): Change dependencies to ....
11777 (tests-special): ... additions to this variable.
11778 * elf/Makefile (tests): Change dependencies to ....
11779 (tests-special): ... additions to this variable.
11780 * grp/Makefile (tests): Change dependencies to ....
11781 (tests-special): ... additions to this variable.
11782 * iconv/Makefile (xtests): Change dependencies to ....
11783 (xtests-special): ... additions to this variable.
11784 * iconvdata/Makefile (tests): Change dependencies to ....
11785 (tests-special): ... additions to this variable.
11786 * intl/Makefile (tests): Change dependencies to ....
11787 (tests-special): ... additions to this variable. Also add
11788 $(objpfx)tst-gettext.out.
11789 * io/Makefile (tests): Change dependencies to ....
11790 (tests-special): ... additions to this variable.
11791 * libio/Makefile (tests): Change dependencies to ....
11792 (tests-special): ... additions to this variable.
11793 * malloc/Makefile (tests): Change dependencies to ....
11794 (tests-special): ... additions to this variable.
11795 * misc/Makefile (tests): Change dependencies to ....
11796 (tests-special): ... additions to this variable.
11797 * nptl/Makefile (tests): Change dependencies to ....
11798 (tests-special): ... additions to this variable.
11799 * nptl_db/Makefile (tests): Change dependencies to ....
11800 (tests-special): ... additions to this variable.
11801 * posix/Makefile (tests): Change dependencies to ....
11802 (tests-special): ... additions to this variable.
11803 (xtests): Change dependencies to ....
11804 (xtests-special): ... additions to this variable.
11805 * resolv/Makefile (tests): Change dependencies to ....
11806 (tests-special): ... additions to this variable.
11807 (xtests): Change dependencies to ....
11808 (xtests-special): ... additions to this variable.
11809 * stdio-common/Makefile (tests): Change dependencies to ....
11810 (tests-special): ... additions to this variable.
11811 (do-tst-unbputc): Remove target.
11812 (do-tst-printf): Likewise.
11813 * stdlib/Makefile (tests): Change dependencies to ....
11814 (tests-special): ... additions to this variable.
11815 * string/Makefile (tests): Change dependencies to ....
11816 (tests-special): ... additions to this variable.
11817 * sysdeps/x86/Makefile (tests): Change dependencies to ....
11818 (tests-special): ... additions to this variable.
11819
81700b53
JM
11820 * conform/data/netinet/tcp.h-data [POSIX2008 || XOPEN2K8]: Enable
11821 whole file.
11822 * conform/data/sys/timeb.h-data [POSIX2008 || XOPEN2K8]: Disable
11823 whole file.
11824 * conform/data/sys/uio.h-data [POSIX2008]: Likewise.
11825 * conform/data/ucontext.h-data [POSIX2008 || XOPEN2K8]: Likewise.
11826
2ea18461
JM
11827 * conform/data/aio.h-data [XPG3 || XPG4]: Disable whole file.
11828 * conform/data/arpa/inet.h-data [XPG3]: Likewise.
11829 * conform/data/dlfcn.h-data [XPG3 || XPG4]: Likewise.
11830 * conform/data/fmtmsg.h-data [XPG3]: Likewise.
11831 * conform/data/libgen.h-data [XPG3]: Likewise.
11832 * conform/data/mqueue.h-data [XPG3 || XPG4]: Likewise.
11833 * conform/data/ndbm.h-data [XPG3]: Likewise.
11834 * conform/data/net/if.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
11835 * conform/data/netdb.h-data [XPG3]: Likewise.
11836 * conform/data/netinet/in.h-data [XPG3]: Likewise.
11837 * conform/data/poll.h-data [XPG3]: Likewise.
11838 * conform/data/spawn.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
11839 * conform/data/strings.h-data [XPG3]: Likewise.
11840 * conform/data/stropts.h-data [XPG3]: Likewise.
11841 * conform/data/sys/mman.h-data [XPG3]: Likewise.
11842 * conform/data/sys/resource.h-data [XPG3]: Likewise.
11843 * conform/data/sys/select.h-data [XPG3 || XPG4 || UNIX98]:
11844 Likewise.
11845 * conform/data/sys/statvfs.h-data [XPG3]: Likewise.
11846 * conform/data/sys/time.h-data [XPG3]: Likewise.
11847 * conform/data/sys/timeb.h-data [XPG3]: Likewise.
11848 * conform/data/sys/uio.h-data [XPG3]: Likewise.
11849 * conform/data/sys/un.h-data [XPG3]: Likewise.
11850 * conform/data/syslog.h-data [XPG3]: Likewise.
11851 * conform/data/ucontext.h-data [XPG3]: Likewise.
11852 * conform/data/utmpx.h-data [XPG3]: Likewise.
11853 * conform/data/varargs.h-data [UNIX98]: Enable file.
11854
355bc986
JM
11855 * manual/Makefile (INSTALL_INFO): Remove variable setting.
11856
215db402
JM
11857 * math/libm-test.inc (struct test_f_f_data): Move expected results
11858 into structure for each rounding mode.
11859 (struct test_ff_f_data): Likewise.
11860 (struct test_ff_f_data_nexttoward): Likewise.
11861 (struct test_fi_f_data): Likewise.
11862 (struct test_fl_f_data): Likewise.
11863 (struct test_if_f_data): Likewise.
11864 (struct test_fff_f_data): Likewise.
11865 (struct test_c_f_data): Likewise.
11866 (struct test_f_f1_data): Likewise.
11867 (struct test_fF_f1_data): Likewise.
11868 (struct test_ffI_f1_data): Likewise.
11869 (struct test_c_c_data): Likewise.
11870 (struct test_cc_c_data): Likewise.
11871 (struct test_f_i_data): Likewise.
11872 (struct test_ff_i_data): Likewise.
11873 (struct test_f_l_data): Likewise.
11874 (struct test_f_L_data): Likewise.
11875 (struct test_fFF_11_data): Likewise.
11876 (RM_): New macro.
11877 (RM_FE_DOWNWARD): Likewise.
11878 (RM_FE_TONEAREST): Likewise.
11879 (RM_FE_TOWARDZERO): Likewise.
11880 (RM_FE_UPWARD): Likewise.
11881 (RUN_TEST_LOOP_f_f): Update references to expected results.
11882 (RUN_TEST_LOOP_2_f): Likewise.
11883 (RUN_TEST_LOOP_fff_f): Likewise.
11884 (RUN_TEST_LOOP_c_f): Likewise.
11885 (RUN_TEST_LOOP_f_f1): Likewise.
11886 (RUN_TEST_LOOP_fF_f1): Likewise.
11887 (RUN_TEST_LOOP_fI_f1): Likewise.
11888 (RUN_TEST_LOOP_ffI_f1): Likewise.
11889 (RUN_TEST_LOOP_c_c): Likewise.
11890 (RUN_TEST_LOOP_cc_c): Likewise.
11891 (RUN_TEST_LOOP_f_i): Likewise.
11892 (RUN_TEST_LOOP_f_i_tg): Likewise.
11893 (RUN_TEST_LOOP_ff_i_tg): Likewise.
11894 (RUN_TEST_LOOP_f_b): Likewise.
11895 (RUN_TEST_LOOP_f_b_tg): Likewise.
11896 (RUN_TEST_LOOP_f_l): Likewise.
11897 (RUN_TEST_LOOP_f_L): Likewise.
11898 (RUN_TEST_LOOP_fFF_11): Likewise.
11899 * math/gen-libm-test.pl (parse_args): Output four copies of
11900 expected results for each test.
11901
67737b8f
JM
11902 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
11903 (__ASSUME_UTIMES): Remove.
11904 * sysdeps/unix/sysv/linux/tile/kernel-features.h
11905 (__ASSUME_UTIMES): Likewise.
11906
aa97dee1
JM
11907 * math/gen-auto-libm-tests.c: Update comment on output format.
11908 (output_for_one_input_case): Generate before-rounding and
11909 after-rounding information as conditions on output flags not
11910 floating-point format.
11911 * math/auto-libm-test-out: Regenerated.
11912 * math/gen-libm-test.pl (cond_value): New function.
11913 (or_cond_value): Use cond_value.
11914 (generate_testfile): Handle conditional exceptions.
11915
e6b6a857
JM
119162014-03-05 Joseph Myers <joseph@codesourcery.com>
11917
2f0a0f44
JM
11918 * math/libm-test.inc (max_valid_error): New variable.
11919 (init_max_error): Take new argument specifying whether function
11920 results are exactly determined. Set max_valid_error and bound
11921 other variables for errors based on this argument.
11922 (set_max_error): Do not record results above max_valid_error.
11923 (check_float_internal): Only accept errors of up to 0.5ulps if
11924 also at most max_valid_error.
11925 (START): Take new argument EXACT and pass it to init_max_error.
11926 (acos_test): Update call to START.
11927 (acos_test_tonearest): Likewise.
11928 (acos_test_towardzero): Likewise.
11929 (acos_test_downward): Likewise.
11930 (acos_test_upward): Likewise.
11931 (acosh_test): Likewise.
11932 (asin_test): Likewise.
11933 (asin_test_tonearest): Likewise.
11934 (asin_test_towardzero): Likewise.
11935 (asin_test_downward): Likewise.
11936 (asin_test_upward): Likewise.
11937 (asinh_test): Likewise.
11938 (atan_test): Likewise.
11939 (atanh_test): Likewise.
11940 (atan2_test): Likewise.
11941 (cabs_test): Likewise.
11942 (cacos_test): Likewise.
11943 (cacosh_test): Likewise.
11944 (carg_test): Likewise.
11945 (casin_test): Likewise.
11946 (casinh_test): Likewise.
11947 (catan_test): Likewise.
11948 (catanh_test): Likewise.
11949 (cbrt_test): Likewise.
11950 (ccos_test): Likewise.
11951 (ccosh_test): Likewise.
11952 (ceil_test): Likewise.
11953 (cexp_test): Likewise.
11954 (cimag_test): Likewise.
11955 (clog_test): Likewise.
11956 (clog10_test): Likewise.
11957 (conj_test): Likewise.
11958 (copysign_test): Likewise.
11959 (cos_test): Likewise.
11960 (cos_test_tonearest): Likewise.
11961 (cos_test_towardzero): Likewise.
11962 (cos_test_downward): Likewise.
11963 (cos_test_upward): Likewise.
11964 (cosh_test): Likewise.
11965 (cosh_test_tonearest): Likewise.
11966 (cosh_test_towardzero): Likewise.
11967 (cosh_test_downward): Likewise.
11968 (cosh_test_upward): Likewise.
11969 (cpow_test): Likewise.
11970 (cproj_test): Likewise.
11971 (creal_test): Likewise.
11972 (csin_test): Likewise.
11973 (csinh_test): Likewise.
11974 (csqrt_test): Likewise.
11975 (ctan_test): Likewise.
11976 (ctan_test_tonearest): Likewise.
11977 (ctan_test_towardzero): Likewise.
11978 (ctan_test_downward): Likewise.
11979 (ctan_test_upward): Likewise.
11980 (ctanh_test): Likewise.
11981 (ctanh_test_tonearest): Likewise.
11982 (ctanh_test_towardzero): Likewise.
11983 (ctanh_test_downward): Likewise.
11984 (ctanh_test_upward): Likewise.
11985 (erf_test): Likewise.
11986 (erfc_test): Likewise.
11987 (exp_test): Likewise.
11988 (exp_test_tonearest): Likewise.
11989 (exp_test_towardzero): Likewise.
11990 (exp_test_downward): Likewise.
11991 (exp_test_upward): Likewise.
11992 (exp10_test): Likewise.
11993 (exp10_test_tonearest): Likewise.
11994 (exp10_test_towardzero): Likewise.
11995 (exp10_test_downward): Likewise.
11996 (exp10_test_upward): Likewise.
11997 (pow10_test): Likewise.
11998 (exp2_test): Likewise.
11999 (expm1_test): Likewise.
12000 (expm1_test_tonearest): Likewise.
12001 (expm1_test_towardzero): Likewise.
12002 (expm1_test_downward): Likewise.
12003 (expm1_test_upward): Likewise.
12004 (fabs_test): Likewise.
12005 (fdim_test): Likewise.
12006 (floor_test): Likewise.
12007 (fma_test): Likewise.
12008 (fma_test_towardzero): Likewise.
12009 (fma_test_downward): Likewise.
12010 (fma_test_upward): Likewise.
12011 (fmax_test): Likewise.
12012 (fmin_test): Likewise.
12013 (fmod_test): Likewise.
12014 (fpclassify_test): Likewise.
12015 (frexp_test): Likewise.
12016 (hypot_test): Likewise.
12017 (ilogb_test): Likewise.
12018 (isfinite_test): Likewise.
12019 (finite_test): Likewise.
12020 (isgreater_test): Likewise.
12021 (isgreaterequal_test): Likewise.
12022 (isinf_test): Likewise.
12023 (isless_test): Likewise.
12024 (islessequal_test): Likewise.
12025 (islessgreater_test): Likewise.
12026 (isnan_test): Likewise.
12027 (isnormal_test): Likewise.
12028 (issignaling_test): Likewise.
12029 (isunordered_test): Likewise.
12030 (j0_test): Likewise.
12031 (j1_test): Likewise.
12032 (jn_test): Likewise.
12033 (ldexp_test): Likewise.
12034 (lgamma_test): Likewise.
12035 (gamma_test): Likewise.
12036 (lrint_test): Likewise.
12037 (lrint_test_tonearest): Likewise.
12038 (lrint_test_towardzero): Likewise.
12039 (lrint_test_downward): Likewise.
12040 (lrint_test_upward): Likewise.
12041 (llrint_test): Likewise.
12042 (llrint_test_tonearest): Likewise.
12043 (llrint_test_towardzero): Likewise.
12044 (llrint_test_downward): Likewise.
12045 (llrint_test_upward): Likewise.
12046 (log_test): Likewise.
12047 (log10_test): Likewise.
12048 (log1p_test): Likewise.
12049 (log2_test): Likewise.
12050 (logb_test): Likewise.
12051 (logb_test_downward): Likewise.
12052 (lround_test): Likewise.
12053 (llround_test): Likewise.
12054 (modf_test): Likewise.
12055 (nearbyint_test): Likewise.
12056 (nextafter_test): Likewise.
12057 (nexttoward_test): Likewise.
12058 (pow_test): Likewise.
12059 (pow_test_tonearest): Likewise.
12060 (pow_test_towardzero): Likewise.
12061 (pow_test_downward): Likewise.
12062 (pow_test_upward): Likewise.
12063 (remainder_test): Likewise.
12064 (drem_test): Likewise.
12065 (remainder_test_tonearest): Likewise.
12066 (drem_test_tonearest): Likewise.
12067 (remainder_test_towardzero): Likewise.
12068 (drem_test_towardzero): Likewise.
12069 (remainder_test_downward): Likewise.
12070 (drem_test_downward): Likewise.
12071 (remainder_test_upward): Likewise.
12072 (drem_test_upward): Likewise.
12073 (remquo_test): Likewise.
12074 (rint_test): Likewise.
12075 (rint_test_tonearest): Likewise.
12076 (rint_test_towardzero): Likewise.
12077 (rint_test_downward): Likewise.
12078 (rint_test_upward): Likewise.
12079 (round_test): Likewise.
12080 (scalb_test): Likewise.
12081 (scalbn_test): Likewise.
12082 (scalbln_test): Likewise.
12083 (signbit_test): Likewise.
12084 (sin_test): Likewise.
12085 (sin_test_tonearest): Likewise.
12086 (sin_test_towardzero): Likewise.
12087 (sin_test_downward): Likewise.
12088 (sin_test_upward): Likewise.
12089 (sincos_test): Likewise.
12090 (sinh_test): Likewise.
12091 (sinh_test_tonearest): Likewise.
12092 (sinh_test_towardzero): Likewise.
12093 (sinh_test_downward): Likewise.
12094 (sinh_test_upward): Likewise.
12095 (sqrt_test): Likewise.
12096 (sqrt_test_tonearest): Likewise.
12097 (sqrt_test_towardzero): Likewise.
12098 (sqrt_test_downward): Likewise.
12099 (sqrt_test_upward): Likewise.
12100 (tan_test): Likewise.
12101 (tan_test_tonearest): Likewise.
12102 (tan_test_towardzero): Likewise.
12103 (tan_test_downward): Likewise.
12104 (tan_test_upward): Likewise.
12105 (tanh_test): Likewise.
12106 (tgamma_test): Likewise.
12107 (trunc_test): Likewise.
12108 (y0_test): Likewise.
12109 (y1_test): Likewise.
12110 (yn_test): Likewise.
12111 (significand_test): Likewise.
12112
e6b6a857
JM
12113 * math/libm-test.inc (struct ulp_data): Don't refer to ulps for
12114 individual tests in comment.
12115 (libm-test-ulps.h): Don't refer to test_ulps in #include comment.
12116 (prev_max_error): New variable.
12117 (prev_real_max_error): Likewise.
12118 (prev_imag_max_error): Likewise.
12119 (compare_ulp_data): Don't refer to test names in comment.
12120 (find_test_ulps): Remove function.
12121 (find_function_ulps): Likewise.
12122 (find_complex_function_ulps): Likewise.
12123 (init_max_error): Take function name as argument. Look up ulps
12124 for that function.
12125 (print_ulps): Remove function.
12126 (print_max_error): Use prev_max_error instead of calling
12127 find_function_ulps.
12128 (print_complex_max_error): Use prev_real_max_error and
12129 prev_imag_max_error instead of calling find_complex_function_ulps.
12130 (check_float_internal): Take max_ulp parameter instead of calling
12131 find_test_ulps. Don't call print_ulps.
12132 (check_float): Update call to check_float_internal.
12133 (check_complex): Update calls to check_float_internal.
12134 (START): Pass argument to init_max_error.
12135 * math/gen-libm-test.pl (%results): Don't include "kind"
12136 information.
12137 (parse_ulps): Don't handle ulps of individual tests.
12138 (print_ulps_file): Likewise.
12139 (output_ulps): Likewise.
12140 * math/README.libm-test: Update.
12141 * manual/libm-err-tab.pl (parse_ulps): Don't handle ulps of
12142 individual tests.
12143 * sysdeps/aarch64/libm-test-ulps: Remove individual test ulps.
12144 * sysdeps/alpha/fpu/libm-test-ulps: Likewise.
12145 * sysdeps/arm/libm-test-ulps: Likewise.
12146 * sysdeps/i386/fpu/libm-test-ulps: Likewise.
12147 * sysdeps/ia64/fpu/libm-test-ulps: Likewise.
12148 * sysdeps/m68k/coldfire/fpu/libm-test-ulps: Likewise.
12149 * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Likewise.
12150 * sysdeps/microblaze/libm-test-ulps: Likewise.
12151 * sysdeps/mips/mips32/libm-test-ulps: Likewise.
12152 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
12153 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
12154 * sysdeps/powerpc/nofpu/libm-test-ulps: Likewise.
12155 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
12156 * sysdeps/sh/libm-test-ulps: Likewise.
12157 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
12158 * sysdeps/tile/libm-test-ulps: Likewise.
12159 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12160
45adef3c
JM
121612014-03-04 Joseph Myers <joseph@codesourcery.com>
12162
12163 * math/libm-test.inc (print_complex_max_error): Check separately
12164 whether real and imaginary errors are within allowed range and
12165 pass 0 to print_complex_function_ulps instead of value within
12166 allowed range.
12167
000232b9
SP
121682014-03-04 Siddhesh Poyarekar <siddhesh@redhat.com>
12169
d4b17258
SP
12170 * libio/tst-ftell-active-handler.c (get_handles_fdopen): Fix
12171 formatting.
12172 (get_handles_fopen): Likewise.
12173 (do_write_test): Likewise.
12174
091eff71
SP
12175 * libio/wfileops.c (do_ftell_wide): Fix up formatting.
12176
fa3cd248
SP
12177 * libio/fileops.c (do_ftell): Use cached offset when
12178 available.
12179 * libio/iofwide.c (do_ftell_wide): Likewise.
12180 * libio/iofdopen.c (_IO_new_fdopen): Don't use
12181 _IO_file_attach.
12182 * libio/wfileops.c (_IO_fwide): Don't cache offset.
12183
000232b9
SP
12184 [BZ #16532]
12185 * libio/libioP.h (get_file_offset): New function.
12186 * libio/fileops.c (get_file_offset): Likewise.
12187 (do_ftell): Likewise.
12188 (_IO_new_file_seekoff): Split out ftell logic.
12189 * libio/wfileops.c (do_ftell_wide): Likewise.
12190 (_IO_wfile_seekoff): Split out ftell logic.
12191 * libio/tst-ftell-active-handler.c: New test case.
12192 * libio/Makefile (tests): Add it.
12193
116f4d1a
RM
121942014-03-03 Roland McGrath <roland@hack.frob.com>
12195
12196 * nptl/ChangeLog: Renamed to nptl/ChangeLog.old, no longer used.
12197 * nptl_db/ChangeLog: Renamed to nptl_db/ChangeLog.old, no longer used.
12198
532a6035
SP
121992014-03-03 Siddhesh Poyarekar <siddhesh@redhat.com>
12200
12201 [BZ #16639]
12202 * nscd/connections.c (nscd_init): Call do_exit.
12203 (start_threads): Call do_exit and notify_parent.
12204 (begin_drop_privileges): Call do_exit.
12205 (finish_drop_privileges): Likewise.
12206 * nscd/selinux.c (preserve_capabilities): Likewise.
12207 (install_real_capabilities): Likewise.
12208 (nscd_selinux_enabled): Likewise.
12209 (avc_create_thread): Likewise.
12210 (avc_alloc_lock): Likewise.
12211 (nscd_avc_init): Likewise.
12212 * nscd/nscd.c (parent_fd): New static variable.
12213 (main): Create a pipe between parent and child processes.
12214 Skip closing parent_fd.
12215 (monitor_child): New function.
12216 (do_exit): Likewise.
12217 (notify_parent): Likewise.
12218 * nscd/nscd.h (notify_parent): Likewise.
12219 (do_exit): Likewise.
12220
d6285c9f
CD
122212014-03-03 Carlos O'Donell <carlos@redhat.com>
12222
12223 * malloc/malloc.c (__libc_calloc): Revert last change.
12224
2b85d2a0
AZ
122252014-03-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12226
12227 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
12228
c7debbdf
RS
122292014-03-03 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
12230
12231 * sysdeps/powerpc/powerpc64/power7/strrchr.S: New file.
12232 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strrchr multiarch
12233 implementation.
12234 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
12235 (__libc_ifunc_impl_list): Likewise.
12236 * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: New file.
12237 * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c: New file.
12238 * sysdeps/powerpc/powerpc64/multiarch/strrchr-power7.S: New file.
12239 * string/strrchr.c: Define STRRCHR.
12240
235eed86
OB
122412014-02-28 Ondřej Bílka <neleai@seznam.cz>
12242
12243 * benchtest/bench-strtok.c (simple_strtok): Delete.
12244 (strtok_string): Use as benchmark.
12245 * string/strtok (STRTOK): New macro.
12246
8e25d1e7
CD
122472014-02-28 Carlos O'Donell <carlos@redhat.com>
12248
ef563f92
CD
12249 * manual/threads.texi: Add header and standard comments to all
12250 functions.
12251
8e25d1e7
CD
12252 * elf/dl-lookup.c (check_match): New function.
12253 (ELF_MACHINE_SYM_NO_MATCH): Adjust comment.
12254 (do_lookup_x): Remove nested function check_match. Use non-nested
12255 function check_match.
12256
ff71cc37
RM
122572014-02-28 Roland McGrath <roland@hack.frob.com>
12258
f08e9a26
RM
12259 * csu/Makefile (generated, before-compile): Use += rather than =.
12260 * catgets/Makefile (generated, generated-dirs): Likewise.
12261 * debug/Makefile (generated): Likewise.
12262 * dlfcn/Makefile (generated): Likewise.
12263 * elf/Makefile (before-compile, generated, generated-dirs): Likewise.
12264 * iconvdata/Makefile (before-compile, generated): Likewise.
12265 * intl/Makefile (before-compile, generated, generated-dirs): Likewise.
12266 * libio/Makefile (generated): Likewise.
12267 * malloc/Makefile (generated): Likewise.
12268 * manual/Makefile (generated, generated-dirs): Likewise.
12269 * misc/Makefile (generated): Likewise.
12270 * posix/Makefile (generated): Likewise.
12271 * resolv/Makefile (generated): Likewise.
12272 * sunrpc/Makefile (generated, generated-dirs): Likewise.
12273 * timezone/Makefile (generated, generated-dirs): Likewise.
12274
ff71cc37
RM
12275 * stdio-common/Versions (libc: GLIBC_PRIVATE): Add missing }.
12276
fe13a20c
AZ
122772014-02-27 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12278
57f41c40
AS
12279 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
12280 power8 implementation.
12281 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power8.S: New
12282 file: POWER8 llround ifunc implementation.
12283 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c
12284 (__lllround): Add POWER8 implementation.
fe13a20c
AZ
12285 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S: New file:
12286 POWER8 llround implementation.
12287
57f41c40
AS
12288 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint
12289 power8 implementation.
12290 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power8.S: New
12291 file: POWER8 llrint ifunc implementation.
12292 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c (__lllrint):
12293 Add POWER8 implementation.
1ad8950a
AZ
12294 * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S: New file:
12295 POWER8 llrint implementation.
12296
57f41c40
AS
12297 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite
12298 power8 implementation.
12299 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power8.S: New
12300 file: POWER8 finite ifunc implementation.
12301 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c (__finite):
12302 Add POWER8 implementation.
cac626d6
AZ
12303 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c (__finitef):
12304 Likewise.
12305 * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: New file:
12306 POWER8 finite implementation.
12307 * sysdeps/powerpc/powerpc64/power8/fpu/s_finitef.S: New file.
12308
57f41c40
AS
12309 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf
12310 power8 implementation.
12311 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power8.S: New
12312 file: POWER8 isinf ifunc implementation.
4393fc11
AZ
12313 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c (__isinf): Add
12314 POWER8 implementation.
12315 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c (__isinff):
12316 Likewise.
57f41c40
AS
12317 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: New file: POWER8
12318 isinf implementation.
4393fc11
AZ
12319 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinff.S: New file.
12320
57f41c40
AS
12321 * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h
12322 (INIT_ARCH): Add hwcap2 initialization.
12323 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
12324 power8 implementation.
12325 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power8.S: New
12326 file: POWER8 isnan ifunc implementation.
487972ae
AZ
12327 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c (__isnan): Add
12328 POWER8 implementation.
12329 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c (__isnanf):
12330 Likewise.
57f41c40
AS
12331 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: New file: POWER8
12332 isnan implementation.
487972ae
AZ
12333 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnanf.S: New file.
12334
7d92b787
JY
123352014-02-27 Joey Ye <joey.ye@arm.com>
12336
12337 * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
12338 (_FP_NANFRAC_Q): Set to zero.
12339
1cadc858
SP
123402014-02-27 Siddhesh Poyarekar <siddhesh@redhat.com>
12341
12342 [BZ #16623]
12343 * math/auto-libm-test-in: New test inputs.
12344 * math/auto-libm-test-out: Regenerate.
12345 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Preserve sign of A
12346 and DA.
12347 (__cos): Likewise.
12348 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
12349
f8c17e79
JM
123502014-02-27 Joseph Myers <joseph@codesourcery.com>
12351
12352 * scripts/evaluate-test.sh: Take new argument indicating whether
12353 failure is expected.
12354 * Makeconfig (evaluate-test): Pass argument to evaluate-test.sh
12355 indicating whether failure is expected.
12356 * conform/Makefile (test-xfail-run-conformtest): New variable.
12357 ($(objpfx)run-conformtest.out): Don't expect to fail at makefile
12358 level.
12359 * posix/Makefile (test-xfail-annexc): New variable.
12360 ($(objpfx)annexc.out): Don't expect to fail at makefile level.
12361
a5f891ac
JM
123622014-02-26 Joseph Myers <joseph@codesourcery.com>
12363
12364 * argp/Makefile: Include Makeconfig immediately after defining
12365 subdir.
12366 * assert/Makefile: Likewise.
12367 * benchtests/Makefile: Likewise.
12368 * catgets/Makefile: Likewise.
12369 * conform/Makefile: Likewise.
12370 * crypt/Makefile: Likewise.
12371 * csu/Makefile: Likewise.
12372 (all): Remove target.
12373 * ctype/Makefile: Include Makeconfig immediately after defining
12374 subdir.
12375 * debug/Makefile: Likewise.
12376 * dirent/Makefile: Likewise.
12377 * dlfcn/Makefile: Likewise.
12378 * gmon/Makefile: Likewise.
12379 * gnulib/Makefile: Likewise.
12380 * grp/Makefile: Likewise.
12381 * gshadow/Makefile: Likewise.
12382 * hesiod/Makefile: Likewise.
12383 * hurd/Makefile: Likewise.
12384 (all): Remove target.
12385 * iconvdata/Makefile: Include Makeconfig immediately after
12386 defining subdir.
12387 * inet/Makefile: Likewise.
12388 * intl/Makefile: Likewise.
12389 * io/Makefile: Likewise.
12390 * libio/Makefile: Likewise.
12391 (all): Remove target.
12392 * locale/Makefile: Include Makeconfig immediately after defining
12393 subdir.
12394 * login/Makefile: Likewise.
12395 * mach/Makefile: Likewise.
12396 (all): Remove target.
12397 * malloc/Makefile: Include Makeconfig immediately after defining
12398 subdir.
12399 (all): Remove target.
12400 * manual/Makefile: Include Makeconfig immediately after defining
12401 subdir.
12402 * math/Makefile: Likewise.
12403 * misc/Makefile: Likewise.
12404 * nis/Makefile: Likewise.
12405 * nss/Makefile: Likewise.
12406 * po/Makefile: Likewise.
12407 (all): Remove target.
12408 * posix/Makefile: Include Makeconfig immediately after defining
12409 subdir.
12410 * pwd/Makefile: Likewise.
12411 * resolv/Makefile: Likewise.
12412 * resource/Makefile: Likewise.
12413 * rt/Makefile: Likewise.
12414 * setjmp/Makefile: Likewise.
12415 * shadow/Makefile: Likewise.
12416 * signal/Makefile: Likewise.
12417 * socket/Makefile: Likewise.
12418 * soft-fp/Makefile: Likewise.
12419 * stdio-common/Makefile: Likewise.
12420 * stdlib/Makefile: Likewise.
12421 * streams/Makefile: Likewise.
12422 * string/Makefile: Likewise.
12423 * sunrpc/Makefile: Likewise.
12424 (all): Remove target.
12425 * sysvipc/Makefile: Include Makeconfig immediately after defining
12426 subdir.
12427 * termios/Makefile: Likewise.
12428 * time/Makefile: Likewise.
12429 * timezone/Makefile: Likewise.
12430 (all): Remove target.
12431 * wcsmbs/Makefile: Include Makeconfig immediately after defining
12432 subdir.
12433 * wctype/Makefile: Likewise.
12434
5b456e9d
SE
124352014-02-26 Steve Ellcey <sellcey@mips.com>
12436
12437 * sysdeps/mips/math_private.h (_FPU_MASK_ALL) New.
12438 (libc_feholdexcept_mips): Use _FPU_MASK_ALL.
12439 (libc_feholdexcept_setround_mips): Ditto.
12440 (libc_feholdsetround): New.
12441 (libc_feholdsetroundf): New.
12442 (libc_feholdsetroundl): New.
12443 (libc_feupdateenv_test_mips): New.
12444 (libc_feupdateenv_test): New.
12445 (libc_feupdateenv_testf): New.
12446 (libc_feupdateenv_testl): New.
12447 (libc_feresetround): New.
12448 (libc_feresetroundf): New.
12449 (libc_feresetroundl): New.
12450 (libc_fetestexcept_mips): New.
12451 (libc_fetestexcept): New.
12452 (libc_fetestexceptf): New.
12453 (libc_fetestexceptl): New.
12454 (HAVE_RM_CTX): New.
12455 (libc_feholdexcept_setround_mips_ctx): New.
12456 (libc_feholdexcept_setround_ctx): New.
12457 (libc_feholdexcept_setroundf_ctx): New.
12458 (libc_feholdexcept_setroundl_ctx): New.
12459 (libc_fesetenv_mips_ctx): New.
12460 (libc_fesetenv_ctx): New.
12461 (libc_fesetenv_ctxf): New.
12462 (libc_fesetenv_ctxl): New.
12463 (libc_feupdateenv_mips_ctx): New.
12464 (libc_feupdateenv_ctx): New.
12465 (libc_feupdateenvf_ctx): New.
12466 (libc_feupdateenvl_ctx): New.
12467 (libc_feholdsetround_mips_ctx): New.
12468 (libc_feholdsetround_ctx): New.
12469 (libc_feholdsetroundf_ctx): New.
12470 (libc_feholdsetroundl_ctx): New.
12471 (libc_feresetround_mips_ctx): New.
12472 (libc_feresetround_ctx): New.
12473 (libc_feresetroundf_ctx): New.
12474 (libc_feresetroundl_ctx): New.
12475
085d0e35
CD
124762014-02-26 Carlos O'Donell <carlos@redhat.com>
12477
f067bf1f
CD
12478 * manual/ipc.texi (Semaphores): Use @Theglibc{}.
12479
085d0e35
CD
12480 * manual/ipc.texi: New file.
12481 * manual/Makefile (chapters): Add ipc.
12482 * manual/job.texi: Add "Inter-Process Communication" to next.
12483 * manual/process.texi: Add "Inter-Process Communication" to prev.
12484
86e58c08
AZ
124852014-02-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12486
12487 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
12488
4248f0da
OB
124892014-02-26 Ondřej Bílka <neleai@seznam.cz>
12490
12491 * malloc/malloc.c (__libc_calloc): Simplify implementation.
12492
cf822e3c
OB
12493 * manual/arith.texi: Fix spaces after sentences.
12494 * manual/charset.texi: Likewise.
12495 * manual/errno.texi: Likewise.
12496 * manual/install.texi: Likewise.
12497 * manual/llio.texi: Likewise.
12498 * manual/locale.texi: Likewise.
12499 * manual/maint.texi: Likewise.
12500 * manual/math.texi: Likewise.
12501 * manual/memory.texi: Likewise.
12502 * manual/message.texi: Likewise.
12503 * manual/probes.texi: Likewise.
12504 * manual/resource.texi: Likewise.
12505 * manual/signal.texi: Likewise.
12506 * manual/socket.texi: Likewise.
12507 * manual/stdio.texi: Likewise.
12508 * manual/string.texi: Likewise.
12509 * manual/time.texi: Likewise.
12510 * manual/users.texi: Likewise.
12511
ade40b10
CD
125122014-02-25 Carlos O'Donell <carlos@redhat.com>
12513
12514 [BZ #16632]
12515 * include/features.h: Don't warn about _BSD_SOURCE or _SVID_SOURCE if
12516 _DEFAULT_SOURCE is defined.
12517
d0503676
CD
125182014-02-25 Ulrich Drepper <drepper@gmail.com>
12519 Carlos O'Donell <carlos@redhat.com>
12520
12521 [BZ #16613]
12522 * elf/dl-tls.c (_dl_count_modids): New function.
12523 * sysdeps/generic/ldsodefs.h: Declare _dl_count_modids.
12524 * elf/rtld.c (dl_main): Call _dl_count_modids to track TLS usage in
12525 audit library and increment generation counter.
12526 (_dl_allocate_tls_init): Add assertion to check TLS generation count.
12527 * elf/tst-audit9.c: New file.
12528 * elf/tst-auditmod9a.c: New file.
12529 * elf/tst-auditmod9b.c: New file.
12530 * elf/Makefile: Add rules to build and run tst-audit9.
12531
4cbf380c
FW
125322014-02-25 Florian Weimer <fweimer@redhat.com>
12533
12534 [BZ #15347]
12535 * misc/sys/select.h (__FD_MASK): Avoid signed integer overflow.
12536
80a56cc3
WN
125372014-02-25 Will Newton <will.newton@linaro.org>
12538
12539 * sysdeps/arm/__longjmp.S: Include stap-probe.h.
12540 (__longjmp): Restore sp and lr before restoring callee
12541 saved registers. Add longjmp and longjmp_target
12542 SystemTap probe point.
12543 * sysdeps/arm/bits/setjmp.h (__jmp_buf): Update comment.
12544 * sysdeps/arm/include/bits/setjmp.h (__JMP_BUF_SP):
12545 Define to zero to match jmpbuf layout.
12546 * sysdeps/arm/setjmp.S: Include stap-probe.h.
12547 (__sigsetjmp): Save sp and lr before saving callee
12548 saved registers. Add setjmp SystemTap probe point.
12549
3ea0f74e
SL
125502014-02-24 Stefan Liebler <stli@linux.vnet.ibm.com>
12551
12552 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
12553
b04acb26
AS
125542014-02-24 Andreas Schwab <schwab@suse.de>
12555
12556 [BZ #15804]
12557 * elf/pldd.c (wait_for_ptrace_stop): New function.
12558 (main): Call it after attaching.
12559
098ad55c
RM
125602014-02-22 Roland McGrath <roland@hack.frob.com>
12561
d4ec6ae1
RM
12562 * Makerules ($(common-objpfx)Versions.v.i): No longer depend
12563 on $(common-objpfx)abi-versions.h; using <shlib-compat.h> inside
12564 Versions files is now verboten.
12565 * hurd/Versions (libc: GLIBC_2.0):
12566 Remove various [SHLIB_COMPAT (libc, GLIBC_2_0, ...)] sections.
12567 (libc: HURD_CTHREADS_0.3): Remove conditionalization, was under
12568 [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_2)].
12569 * mach/Versions: Likewise.
12570
098ad55c
RM
12571 * csu/Versions: Remove unused %include.
12572 * resolv/Versions: Likewise.
12573
acd7f096
JM
125742014-02-21 Joseph Myers <joseph@codesourcery.com>
12575
f0881698
JM
12576 * Makefile ($(objpfx)c++-types-check.out): Use $(evaluate-test).
12577 ($(objpfx)check-local-headers.out): Likewise.
12578 ($(objpfx)begin-end-check.out): Likewise.
12579 * Makerules (check-abi-%.out): Likewise.
12580 * catgets/Makefile ($(objpfx)test1.cat): Likewise.
12581 ($(objpfx)test2.cat): Likewise.
12582 ($(objpfx)de/libc.cat): Likewise.
12583 ($(objpfx)test-gencat.out): Likewise.
12584 * conform/Makefile ($(objpfx)run-conformtest.out): Likewise.
12585 * elf/Makefile ($(objpfx)order-cmp.out): Likewise.
12586 ($(objpfx)noload-mem): Likewise.
12587 ($(objpfx)tst-pathopt.out): Likewise.
12588 ($(objpfx)tst-rtld-load-self.out): Likewise.
12589 ($(objpfx)tst-array1-cmp.out): Likewise.
12590 ($(objpfx)tst-array1-static-cmp.out): Likewise.
12591 ($(objpfx)tst-array2-cmp.out): Likewise.
12592 ($(objpfx)tst-array3-cmp.out): Likewise.
12593 ($(objpfx)tst-array4-cmp.out): Likewise.
12594 ($(objpfx)tst-array5-cmp.out): Likewise.
12595 ($(objpfx)tst-array5-static-cmp.out): Likewise.
12596 ($(objpfx)check-textrel.out): Likewise.
12597 ($(objpfx)check-execstack.out): Likewise.
12598 ($(objpfx)check-localplt.out): Likewise.
12599 ($(objpfx)order2-cmp.out): Likewise.
12600 ($(objpfx)tst-leaks1-mem): Likewise.
12601 ($(objpfx)tst-leaks1-static-mem): Likewise.
12602 ($(objpfx)tst-initorder-cmp.out): Likewise.
12603 ($(objpfx)tst-initorder2-cmp.out): Likewise.
12604 ($(objpfx)tst-unused-dep.out): Likewise.
12605 ($(objpfx)tst-unused-dep-cmp.out): Likewise.
12606 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Likewise.
12607 * iconv/Makefile (test-iconvconfig): Likewise.
12608 * iconvdata/Makefile ($(objpfx)mtrace-tst-loading): Likewise.
12609 ($(objpfx)iconv-test.out): Likewise.
12610 ($(objpfx)tst-tables.out): Likewise.
12611 * intl/Makefile ($(objpfx)mtrace-tst-gettext): Likewise.
12612 ($(objpfx)tst-gettext.out): Likewise.
12613 ($(objpfx)tst-translit.out): Likewise.
12614 ($(objpfx)tst-gettext2.out): Likewise.
12615 ($(objpfx)tst-gettext4.out): Likewise.
12616 ($(objpfx)tst-gettext6.out): Likewise.
12617 * io/Makefile ($(objpfx)ftwtest.out): Likewise.
12618 * libio/Makefile ($(objpfx)test-freopen.out): Likewise.
12619 ($(objpfx)tst-fopenloc-cmp.out): Likewise.
12620 ($(objpfx)tst-fopenloc-mem.out): Likewise.
12621 * malloc/Makefile ($(objpfx)tst-mtrace.out): Likewise.
12622 * misc/Makefile ($(objpfx)tst-error1-mem): Likewise.
12623 * posix/Makefile ($(objpfx)globtest.out): Likewise.
12624 ($(objpfx)wordexp-tst.out): Likewise.
12625 ($(objpfx)annexc.out): Likewise.
12626 ($(objpfx)tst-fnmatch-mem): Likewise.
12627 ($(objpfx)bug-regex2-mem): Likewise.
12628 ($(objpfx)bug-regex14-mem): Likewise.
12629 ($(objpfx)bug-regex21-mem): Likewise.
12630 ($(objpfx)bug-regex31-mem): Likewise.
12631 ($(objpfx)tst-vfork3-mem): Likewise.
12632 ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
12633 ($(objpfx)tst-pcre-mem): Likewise.
12634 ($(objpfx)tst-boost-mem): Likewise.
12635 ($(objpfx)tst-getconf.out): Likewise.
12636 ($(objpfx)bug-ga2-mem): Likewise.
12637 ($(objpfx)bug-glob2-mem): Likewise.
12638 * resolv/Makefile ($(objpfx)mtrace-tst-leaks): Likewise.
12639 ($(objpfx)mtrace-tst-leaks2): Likewise.
12640 * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Likewise.
12641 ($(objpfx)tst-printf.out): Likewise.
12642 ($(objpfx)tst-setvbuf1.out): Likewise.
12643 ($(objpfx)tst-setvbuf1-cmp.out): Likewise.
12644 * stdlib/Makefile ($(objpfx)isomac.out): Likewise.
12645 ($(objpfx)tst-fmtmsg.out): Likewise.
12646 * string/Makefile ($(objpfx)tst-svc-cmp.out): Likewise.
12647 * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Likewise.
12648
acd7f096
JM
12649 * bits/fcntl.h [__USE_MISC]: Remove redundant conditionals.
12650 * bits/sigaction.h [__USE_MISC]: Likewise.
12651 * bits/waitstatus.h: Update #endif comments.
12652 * ctype/ctype.h: Likewise.
12653 * dirent/dirent.h: Likewise.
12654 [__USE_MISC]: Remove redundant conditionals.
12655 * grp/grp.h: Update #endif comments.
12656 [__USE_GNU]: Remove redundant conditionals.
12657 [__USE_MISC]: Likewise.
12658 * inet/netinet/in.h [__USE_GNU]: Likewise.
12659 * io/sys/stat.h [__USE_MISC]: Likewise.
12660 * libio/bits/stdio-ldbl.h [__USE_MISC]: Likewise.
12661 * libio/bits/stdio.h: Update #endif comments.
12662 [__USE_MISC]: Remove redundant conditionals.
12663 * libio/bits/stdio2.h [__USE_MISC]: Likewise.
12664 * libio/stdio.h: Update #endif comments.
12665 [__USE_MISC]: Remove redundant conditionals.
12666 * math/bits/math-finite.h [__USE_MISC]: Likewise.
12667 * math/bits/mathcalls.h [__USE_MISC]: Likewise.
12668 * math/math.h: Update #else and #endif comments.
12669 [__USE_MISC]: Remove redundant conditionals.
12670 * misc/sys/uio.h: Update #endif comments.
12671 * posix/bits/unistd.h [__USE_MISC]: Remove redundant conditionals.
12672 * posix/glob.h [__USE_MISC]: Likewise.
12673 * posix/sys/types.h: Update #endif comments.
12674 [__USE_MISC]: Remove redundant conditionals.
12675 * posix/sys/wait.h: Update #endif comments.
12676 [__USE_MISC]: Remove redundant conditionals.
12677 * posix/unistd.h: Update #endif comments.
12678 [__USE_MISC]: Remove redundant conditionals.
12679 * pwd/pwd.h [__USE_GNU]: Likewise.
12680 [__USE_MISC]: Likewise.
12681 * resolv/netdb.h [__USE_GNU]: Likewise.
12682 * signal/signal.h: Update #endif comments.
12683 [__USE_MISC]: Remove redundant conditionals.
12684 * stdlib/stdlib.h: Update #else and #endif comments.
12685 [__USE_MISC]: Remove redundant conditionals.
12686 [__USE_GNU]: Likewise.
12687 * string/bits/string2.h [__USE_MISC]: Likewise.
12688 * string/string.h: Update #endif comments.
12689 [__USE_MISC]: Remove redundant conditionals.
12690 * sysdeps/m68k/m680x0/fpu/bits/mathinline.h [__USE_MISC]:
12691 Likewise.
12692 * sysdeps/mach/hurd/bits/fcntl.h [__USE_MISC]: Likewise.
12693 * sysdeps/mach/hurd/bits/stat.h [__USE_MISC]: Likewise.
12694 * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h [__USE_MISC]:
12695 Likewise.
12696 * sysdeps/unix/sysv/linux/alpha/bits/stat.h [__USE_MISC]:
12697 Likewise.
12698 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Update #endif
12699 comments.
12700 [__USE_MISC]: Remove redundant conditionals.
12701 * sysdeps/unix/sysv/linux/bits/in.h [__USE_GNU]: Likewise.
12702 * sysdeps/unix/sysv/linux/bits/sigaction.h [__USE_MISC]: Likewise.
12703 * sysdeps/unix/sysv/linux/bits/socket.h [__USE_GNU]: Likewise.
12704 * sysdeps/unix/sysv/linux/bits/stat.h [__USE_MISC]: Likewise.
12705 * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h [__USE_MISC]:
12706 Likewise.
12707 * sysdeps/unix/sysv/linux/m68k/bits/stat.h [__USE_MISC]: Likewise.
12708 * sysdeps/unix/sysv/linux/mips/bits/sigaction.h [__USE_MISC]:
12709 Likewise.
12710 * sysdeps/unix/sysv/linux/mips/bits/stat.h [__USE_MISC]: Likewise.
12711 * sysdeps/unix/sysv/linux/powerpc/bits/stat.h [__USE_MISC]:
12712 Likewise.
12713 * sysdeps/unix/sysv/linux/s390/bits/sigaction.h [__USE_MISC]:
12714 Likewise.
12715 * sysdeps/unix/sysv/linux/s390/bits/stat.h [__USE_MISC]: Likewise.
12716 * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h [__USE_MISC]:
12717 Likewise.
12718 * sysdeps/unix/sysv/linux/sparc/bits/stat.h [__USE_MISC]:
12719 Likewise.
12720 * sysdeps/unix/sysv/linux/x86/bits/stat.h [__USE_MISC]: Likewise.
12721 * sysdeps/x86/bits/string.h: Update #endif comments.
12722 * sysdeps/x86/fpu/bits/mathinline.h [__USE_MISC]: Remove redundant
12723 conditionals.
12724 * time/sys/time.h: Update #endif comments.
12725 * time/time.h: Likewise.
12726 [__USE_MISC]: Remove redundant conditionals.
12727
a5d82e4e
YG
127282014-02-21 Yury Gribov <y.gribov@samsung.com>
12729
12730 [BZ #16600]
12731 * sysdeps/arm/libm-test-ulps: Update for VFPv4.
12732
9a80491d
AS
127332014-02-21 Andreas Schwab <schwab@linux-m68k.org>
12734
12735 * Versions.def (librt): Add GLIBC_2.17.
12736
105fa381
AC
127372014-02-21 Adam Conrad <adconrad@0c3.net>
12738
12739 * sysdeps/powerpc/bits/hwcap.h: Allow _SYSDEPS_SYSDEP_H guard as a
12740 synonym for _SYS_AUXV_H to allow direct inclusion.
12741 * sysdeps/sparc/bits/hwcap.h: Likewise.
12742 * sysdeps/powerpc/sysdep.h: Define _SYSDEPS_SYSDEP_H instead of
12743 _SYS_AUXV_H so we can include sysdep.h and sys/auxv.h together.
12744 * sysdeps/sparc/sysdep.h: Likewise.
12745
b8cd1c4e
SP
127462014-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
12747
12748 * benchtests/bench-strrchr.c (do_test): Fix minor formatting.
12749
bd939d23
RS
127502014-02-21 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
12751
12752 * benchtests/bench-strrchr.c: Print length instead of position.
12753
5d7b57ca
JM
127542014-02-20 Joseph Myers <joseph@codesourcery.com>
12755
bc688c10
JM
12756 [BZ #16611]
12757 * sysdeps/unix/sysv/linux/kernel-features.h
12758 [__LINUX_KERNEL_VERSION >= 0x030000 && __ASSUME_SOCKETCALL]
12759 (__ASSUME_SENDMMSG_SOCKETCALL): Define.
12760 [__LINUX_KERNEL_VERSION >= 0x030000 && (__i386__ || __x86_64__ ||
12761 __powerpc__ || __sh__ || __sparc__)] (__ASSUME_SENDMMSG_SYSCALL):
12762 Likewise.
12763 [__i386__ || __powerpc__ || __sh__ || __sparc__]
12764 (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
12765 [__ASSUME_SENDMMSG_SOCKETCALL || __ASSUME_SENDMMSG_SYSCALL]
12766 (__ASSUME_SENDMMSG): Define instead of using previous
12767 [__LINUX_KERNEL_VERSION >= 0x020627] condition.
12768 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
12769 (__ASSUME_SENDMMSG_SYSCALL): Define.
12770 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
12771 [__LINUX_KERNEL_VERSION >= 0x030200] (__ASSUME_SENDMMSG_SYSCALL):
12772 Likewise.
12773 * sysdeps/unix/sysv/linux/arm/kernel-features.h
12774 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
12775 Likewise.
12776 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
12777 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
12778 Likewise.
12779 * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SOCKETCALL
12780 && !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
12781 !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
12782 [__ASSUME_SENDMMSG]: Change conditionals to
12783 [__ASSUME_SENDMMSG_SOCKETCALL].
12784 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
12785 [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_SENDMMSG_SYSCALL):
12786 Define.
12787 * sysdeps/unix/sysv/linux/mips/kernel-features.h
12788 [__LINUX_KERNEL_VERSION >= 0x030100] (__ASSUME_SENDMMSG_SYSCALL):
12789 Likewise.
12790 * sysdeps/unix/sysv/linux/sendmmsg.c [__ASSUME_SOCKETCALL &&
12791 !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
12792 !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
12793 [!__ASSUME_SENDMMSG]: Change conditional to
12794 [!__ASSUME_SENDMMSG_SOCKETCALL].
12795 * sysdeps/unix/sysv/linux/tile/kernel-features.h
12796 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
12797 Define.
12798
0e31b18c
JM
12799 [BZ #16610]
12800 * sysdeps/unix/sysv/linux/kernel-features.h
12801 [__LINUX_KERNEL_VERSION >= 0x020621 && __ASSUME_SOCKETCALL]
12802 (__ASSUME_RECVMMSG_SOCKETCALL): Define.
12803 [(__LINUX_KERNEL_VERSION >= 0x020621 && (__i386__ || __x86_64__ ||
12804 __sparc__)) || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__
12805 || __sh__))] (__ASSUME_RECVMMSG_SYSCALL): Likewise.
12806 [__i386__ || __sparc__]
12807 (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
12808 [__ASSUME_RECVMMSG_SOCKETCALL || __ASSUME_RECVMMSG_SYSCALL]
12809 (__ASSUME_RECVMMSG): Define instead of using previous
12810 [__LINUX_KERNEL_VERSION >= 0x020621] condition.
12811 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
12812 (__ASSUME_RECVMMSG_SYSCALL): Define.
12813 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
12814 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
12815 Likewise.
12816 * sysdeps/unix/sysv/linux/arm/kernel-features.h
12817 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
12818 Likewise.
12819 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
12820 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
12821 Likewise.
12822 * sysdeps/unix/sysv/linux/internal_recvmmsg.S [__ASSUME_SOCKETCALL
12823 && !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
12824 !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
12825 [__ASSUME_RECVMMSG]: Change condition to
12826 [__ASSUME_RECVMMSG_SOCKETCALL].
12827 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
12828 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
12829 Define.
12830 (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
12831 * sysdeps/unix/sysv/linux/mips/kernel-features.h
12832 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
12833 Likewise.
12834 * sysdeps/unix/sysv/linux/recvmmsg.c [__ASSUME_SOCKETCALL &&
12835 !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
12836 !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
12837 [!__ASSUME_RECVMMSG]: Change condition to
12838 [!__ASSUME_RECVMMSG_SOCKETCALL].
12839 * sysdeps/unix/sysv/linux/tile/kernel-features.h
12840 (__ASSUME_RECVMMSG_SYSCALL): Define.
12841
dd481ccf
JM
12842 [BZ #16609]
12843 * sysdeps/unix/sysv/linux/kernel-features.h [__i386__ ||
12844 __powerpc__ || __s390__ || __sh__ || __sparc__]
12845 (__ASSUME_SOCKETCALL): Define.
12846 [__LINUX_KERNEL_VERSION && __ASSUME_SOCKETCALL]
12847 (__ASSUME_ACCEPT4_SOCKETCALL): Likewise.
12848 [(__LINUX_KERNEL_VERSION >= 0x02061c && (__x86_64__ || __sparc__))
12849 || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__ ||
12850 __sh__))] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
12851 [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
12852 [__ASSUME_ACCEPT4_SOCKETCALL || __ASSUME_ACCEPT4_SYSCALL]
12853 (__ASSUME_ACCEPT4): Define instead of using previous
12854 [__LINUX_KERNEL_VERSION >= 0x02061c && (__i386__ || __x86_64__ ||
12855 __powerpc__ || __sparc__ || __s390__)] condition.
12856 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
12857 (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
12858 * sysdeps/unix/sysv/linux/accept4.c [__ASSUME_SOCKETCALL &&
12859 !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
12860 !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
12861 [!__ASSUME_ACCEPT4]: Change condition to
12862 [!__ASSUME_ACCEPT4_SOCKETCALL].
12863 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
12864 (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL. Correct
12865 condition to [__LINUX_KERNEL_VERSION >= 0x030200].
12866 * sysdeps/unix/sysv/linux/arm/kernel-features.h
12867 [__LINUX_KERNEL_VERSION >= 0x020624] (__ASSUME_ACCEPT4): Change to
12868 __ASSUME_ACCEPT4_SYSCALL.
12869 * sysdeps/unix/sysv/linux/i386/accept4.S [__ASSUME_ACCEPT4]:
12870 Change conditions to [__ASSUME_ACCEPT4_SOCKETCALL].
12871 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
12872 [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_ACCEPT4): Change to
12873 __ASSUME_ACCEPT4_SYSCALL.
12874 * sysdeps/unix/sysv/linux/internal_accept4.S [__ASSUME_SOCKETCALL
12875 && !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
12876 !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
12877 [__ASSUME_ACCEPT4]: Change condition to
12878 [__ASSUME_ACCEPT4_SOCKETCALL].
12879 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
12880 (__ASSUME_SOCKETCALL): Define.
12881 [__LINUX_KERNEL_VERSION >= 0x02061c] (__ASSUME_ACCEPT4): Remove.
12882 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
12883 (__ASSUME_SOCKETCALL): Define.
12884 (__ASSUME_ACCEPT4): Remove.
12885 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_ACCEPT4_SYSCALL):
12886 Define.
12887 * sysdeps/unix/sysv/linux/mips/kernel-features.h
12888 [__LINUX_KERNEL_VERSION >= 0x02061f] (__ASSUME_ACCEPT4_SYSCALL):
12889 Likewise.
12890 * sysdeps/unix/sysv/linux/tile/kernel-features.h
12891 (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
12892
5d7b57ca
JM
12893 * sysdeps/unix/sysv/linux/arm/bits/hwcap.h (HWCAP_ARM_VFPD32): New
12894 macro.
12895 (HWCAP_ARM_LPAE): Likewise.
12896 (HWCAP_ARM_EVTSTRM): Likewise.
12897 * sysdeps/unix/sysv/linux/arm/dl-procinfo.c (_dl_arm_cap_flags):
12898 Add vpfd32, lpae and evtstrm.
12899 * sysdeps/unix/sysv/linux/arm/dl-procinfo.h (_DL_HWCAP_COUNT):
12900 Increase to 22.
12901
63689d61
JM
129022014-02-19 Joseph Myers <joseph@codesourcery.com>
12903
12904 * math/auto-libm-test-in: Add tests of clog10.
12905 * math/auto-libm-test-out: Regenerated.
12906 * math/libm-test.inc (clog10_test_data): Use AUTO_TESTS_c_c.
12907 * sysdeps/i386/fpu/libm-test-ulps: Update.
12908 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12909
ab09bf61
AS
129102014-02-18 Andreas Schwab <schwab@suse.de>
12911
12912 [BZ #16574]
12913 * resolv/res_send.c (send_vc): Add parameter ansp2_malloced.
12914 Store non-zero if the second buffer was newly allocated.
12915 (send_dg): Likewise.
12916 (__libc_res_nsend): Add parameter ansp2_malloced and pass it down
12917 to send_vc and send_dg.
12918 (res_nsend): Pass NULL for ansp2_malloced.
12919 * resolv/res_query.c (__libc_res_nquery): Add parameter
12920 answerp2_malloced and pass it down to __libc_res_nsend.
12921 (res_nquery): Pass additional NULL to __libc_res_nquery.
12922 (__libc_res_nsearch): Add parameter answerp2_malloced and pass it
12923 down to __libc_res_nquery and __libc_res_nquerydomain. Deallocate
12924 second answer buffer if answerp2_malloced was set.
12925 (res_nsearch): Pass additional NULL to __libc_res_nsearch.
12926 (__libc_res_nquerydomain): Add parameter
12927 answerp2_malloced and pass it down to __libc_res_nquery.
12928 (res_nquerydomain): Pass additional NULL to
12929 __libc_res_nquerydomain.
12930 * resolv/nss_dns/dns-network.c (_nss_dns_getnetbyname_r): Pass
12931 additional NULL to __libc_res_nsend and __libc_res_nquery.
12932 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Pass
12933 additional NULL to __libc_res_nsearch.
12934 (_nss_dns_gethostbyname4_r): Revert last change. Use new
12935 parameter of __libc_res_nsearch to check for separately allocated
12936 second buffer.
12937 (_nss_dns_gethostbyaddr2_r): Pass additional NULL to
12938 __libc_res_nquery.
12939 * resolv/nss_dns/dns-canon.c (_nss_dns_getcanonname_r): Pass
12940 additional NULL to __libc_res_nquery.
12941 * resolv/gethnamaddr.c (gethostbyname2): Pass additional NULL to
12942 __libc_res_nsearch.
12943 (gethostbyaddr): Pass additional NULL to __libc_res_nquery.
12944 * include/resolv.h: Update prototypes of __libc_res_nquery,
12945 __libc_res_nsearch, __libc_res_nsend.
12946
a4fb7861
JM
129472014-02-18 Joseph Myers <joseph@codesourcery.com>
12948
c6af2d89
JM
12949 * math/auto-libm-test-in: Add tests of fma.
12950 * math/auto-libm-test-out: Regenerated.
12951 * math/libm-test.inc (fma_test_data): Use AUTO_TESTS_fff_f.
12952 (fma_towardzero_test_data): Likewise.
12953 (fma_downward_test_data): Likewise.
12954 (fma_upward_test_data): Likewise.
12955 * math/gen-auto-libm-tests.c (rounding_mode_desc): Add field
12956 mpc_mode.
12957 (rounding_modes): Add values for new field.
12958 (func_calc_method): Add value mpfr_fff_f.
12959 (func_calc_desc): Add mpfr_fff_f union field.
12960 (test_function): Add field exact_args.
12961 (FUNC): Add macro argument EXACT_ARGS.
12962 (FUNC_mpfr_f_f): Update call to FUNC.
12963 (FUNC_mpfr_f_f): Likewise.
12964 (FUNC_mpfr_ff_f): Likewise.
12965 (FUNC_mpfr_if_f): Likewise.
12966 (FUNC_mpc_c_f): Likewise.
12967 (FUNC_mpc_c_c): Likewise.
12968 (test_functions): Add fma. Update calls to FUNC.
12969 (handle_input_arg): Add argument exact_args.
12970 (add_test): Update call to handle_input_arg.
12971 (calc_generic_results): Add argument mode. Handle mpfr_fff_f.
12972 (output_for_one_input_case): Update call to calc_generic_results.
12973 Recalculate exact zero results in each rounding mode.
12974
a4fb7861
JM
12975 * math/gen-auto-libm-tests.c (adjust_real): Ensure integers are
12976 non-negative before setting low bit.
12977 * math/auto-libm-test-in: Mark one asin test possibly having
12978 spurious underflow.
12979 * math/auto-libm-test-out: Regenerated.
12980 * sysdeps/i386/fpu/libm-test-ulps: Update.
12981 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12982
ef114eaf
DH
129832014-02-17 David Holsgrove <david.holsgrove@xilinx.com>
12984
2b7f4f2c
SP
12985 * sysdeps/microblaze: Move directory from ports/sysdeps/microblaze.
12986 * sysdeps/unix/sysv/linux/microblaze: Move directory from
12987 ports/sysdeps/unix/sysv/linux/microblaze.
ef114eaf
DH
12988 * README: Add missing listing for microblaze*-*-linux-gnu.
12989
8125aedc
AM
129902014-02-16 Ondřej Bílka <neleai@seznam.cz>
12991
12992 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Remove
12993 duplicate code
12994
c70a4b1d
MF
129952014-02-16 Mike Frysinger <vapier@gentoo.org>
12996
12997 * sysdeps/ia64: Move directory from ports/sysdeps/ia64.
12998 * sysdeps/unix/sysv/linux/ia64: Move directory from
12999 ports/sysdeps/unix/sysv/linux/ia64.
13000 * README: Update listing for ia64-*-linux-gnu.
13001
591aeaf7
TD
130022014-02-14 Tomas Dohnalek <tdohnale@redhat.com>
13003 Joseph Myers <joseph@codesourcery.com>
13004
13005 * Makeconfig (test-name): New variable.
13006 (evaluate-test): Likewise.
13007 * Makerules (do-test-clean): Remove .test-result files.
13008 (common-mostlyclean): Likewise.
13009 * Rules ($(objpfx)%.out): Use $(evaluate-test) in both rules.
13010 * scripts/evaluate-test.sh: New file.
13011
6e89caf1
JM
130122014-02-14 Joseph Myers <joseph@codesourcery.com>
13013
7f98f180
JM
13014 * libio/Makefile ($(objpfx)tst-fopenloc.check): Split into
13015 separate $(objpfx)tst-fopenloc-cmp.out and
13016 $(objpfx)tst-fopenloc-mem.out targets.
13017 (tests): Update dependencies.
13018 * posix/Makefile (tests variable): Add tst-rxspencer-no-utf8.
13019 (generated): Change tst-rxspencer-mem and tst-rxspencer.mtrace to
13020 tst-rxspencer-no-utf8-mem and tst-rxspencer-no-utf8.mtrace.
13021 (tst-rxspencer-no-utf8-ARGS): New variable.
13022 (tst-rxspencer-no-utf8-ENV): Likewise.
13023 (tests target): Depend on $(objpfx)tst-rxspencer-no-utf8-mem
13024 instead of $(objpfx)tst-rxspencer-mem.
13025 ($(objpfx)tst-rxspencer-mem): Change target to
13026 $(objpfx)tst-rxspencer-no-utf8-mem. Depend on
13027 $(objpfx)tst-rxspencer-no-utf8.out instead of running test program.
13028 * posix/tst-rxspencer-no-utf8.c: New file.
13029
6e89caf1
JM
13030 * elf/Makefile ($(objpfx)order.out): Remove rule.
13031 [$(run-built-tests) = yes] (tests): Depend on
13032 $(objpfx)order-cmp.out.
13033 ($(objpfx)order-cmp.out): New rule.
13034 [$(run-built-tests) = yes] (tests): Depend on
13035 $(objpfx)tst-array1-cmp.out, $(objpfx)tst-array1-static-cmp.out,
13036 $(objpfx)tst-array2-cmp.out, $(objpfx)tst-array3-cmp.out,
13037 $(objpfx)tst-array4-cmp.out, $(objpfx)tst-array5-cmp.out and
13038 $(objpfx)tst-array5-static-cmp.out.
13039 ($(objpfx)tst-array1.out): Remove rule.
13040 ($(objpfx)tst-array1-cmp.out): New rule.
13041 ($(objpfx)tst-array1-static.out): Remove rule.
13042 ($(objpfx)tst-array1-static-cmp.out): New rule.
13043 ($(objpfx)tst-array2.out): Remove rule.
13044 ($(objpfx)tst-array2-cmp.out): New rule.
13045 ($(objpfx)tst-array3.out): Remove rule.
13046 ($(objpfx)tst-array3-cmp.out): New rule.
13047 ($(objpfx)tst-array4.out): Remove rule.
13048 ($(objpfx)tst-array4-cmp.out): New rule.
13049 ($(objpfx)tst-array5.out): Remove rule.
13050 ($(objpfx)tst-array5-cmp.out): New rule.
13051 ($(objpfx)tst-array5-static.out): Remove rule.
13052 ($(objpfx)tst-array5-static-cmp.out): New rule.
13053 [$(run-built-tests) = yes] (tests): Depend on
13054 $(objpfx)order2-cmp.out.
13055 ($(objpfx)order2.out): Remove rule.
13056 ($(objpfx)order2-cmp.out): New rule.
13057 ($(objpfx)tst-initorder.out): Remove rule.
13058 [$(run-built-tests) = yes] (tests): Depend on
13059 $(objpfx)tst-initorder-cmp.out.
13060 ($(objpfx)tst-initorder-cmp.out): New rule.
13061 ($(objpfx)tst-initorder2.out): Remove rule.
13062 [$(run-built-tests) = yes] (tests): Depend on
13063 $(objpfx)tst-initorder2-cmp.out.
13064 ($(objpfx)tst-initorder2-cmp.out): New rule.
13065 [$(run-built-tests) = yes] (tests): Depend on
13066 $(objpfx)tst-unused-dep-cmp.out.
13067 ($(objpfx)tst-unused-dep-cmp.out): Do not run cmp.
13068 ($(objpfx)tst-unused-dep-cmp.out): New rule.
13069 * stdio-common/Makefile [$(run-built-tests) = yes] (tests): Depend
13070 on $(objpfx)tst-setvbuf1-cmp.out.
13071 ($(objpfx)tst-setvbuf1.out): Do not run cmp.
13072 ($(objpfx)tst-setvbuf1-cmp.out): New rule.
13073 * string/Makefile [$(run-built-tests) = yes] (tests): Depend
13074 $(objpfx)tst-svc-cmp.out instead of $(objpfx)tst-svc.out.
13075 ($(objpfx)tst-svc.out): Remove rule.
13076 ($(objpfx)tst-svc-cmp.out): New rule.
13077
ed9a38e2
JM
130782014-02-13 Joseph Myers <joseph@codesourcery.com>
13079
13080 * bits/mman.h [__USE_MISC]: Remove redundant conditionals.
13081 * ctype/ctype.h [__USE_MISC]: Likewise.
13082 * dirent/dirent.h [__USE_MISC]: Likewise.
13083 * grp/grp.h [__USE_MISC]: Likewise.
13084 * io/fcntl.h [__USE_MISC]: Likewise.
13085 * io/sys/stat.h [__USE_MISC]: Likewise.
13086 * libio/stdio.h [__USE_MISC]: Likewise.
13087 * posix/unistd.h [__USE_MISC]: Likewise.
13088 * pwd/pwd.h [__USE_MISC]: Likewise.
13089 * stdlib.h [__USE_MISC]: Likewise.
13090 * string/bits/string2.h [__USE_MISC]: Likewise.
13091 * string/string.h [__USE_MISC]: Likewise.
13092 * time/time.h [__USE_MISC]: Likewise.
13093
d6680619
AS
130942014-02-13 Andreas Schwab <schwab@suse.de>
13095
13096 [BZ #16574]
13097 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Free the
13098 second answer buffer if it was separately allocated.
13099
ace614b8
JM
131002014-02-12 Joseph Myers <joseph@codesourcery.com>
13101
743151ae
JM
13102 * sysdeps/mips/math-tests.h: Include <features.h>.
13103 [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
13104 (ROUNDING_TESTS_long_double): Do not define.
13105 [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
13106 (EXCEPTION_TESTS_long_double): Likewise.
13107 * sysdeps/mips/mips64/libm-test-ulps: Update.
13108
498afc54
JM
13109 * include/features.h (__USE_BSD): Remove macro definitions.
13110 (__USE_SVID): Likewise.
13111 (_BSD_SOURCE): Likewise.
13112 (_SVID_SOURCE): Likewise.
13113 [!defined _BSD_SOURCE && !defined _SVID_SOURCE]: Remove condition
13114 from definition of _DEFAULT_SOURCE.
13115 [_BSD_SOURCE || _SVID_SOURCE]: Change condition to
13116 [_DEFAULT_SOURCE].
13117 * bits/fcntl.h [__USE_BSD]: Change condition to [__USE_MISC].
13118 * bits/mman.h [__USE_BSD]: Likewise.
13119 * bits/termios.h [__USE_BSD]: Likewise.
13120 * bits/waitstatus.h [__USE_BSD]: Likewise.
13121 * ctype/ctype.h [__USE_SVID]: Likewise.
13122 * dirent/dirent.h [__USE_BSD]: Likewise.
13123 * grp/grp.h [__USE_SVID]: Likewise.
13124 [__USE_BSD]: Likewise.
13125 * inet/netinet/igmp.h [__USE_BSD]: Likewise.
13126 * io/fcntl.h [__USE_BSD]: Likewise.
13127 * io/ftw.h [__USE_BSD]: Likewise.
13128 * io/sys/stat.h [__USE_BSD]: Likewise.
13129 * libio/bits/stdio-ldbl.h [__USE_BSD]: Likewise.
13130 * libio/bits/stdio2.h [__USE_BSD]: Likewise.
13131 * libio/stdio.h [__USE_SVID]: Likewise.
13132 [__USE_BSD]: Likewise.
13133 * math/math.h [__USE_SVID]: Likewise.
13134 [__USE_BSD]: Likewise.
13135 * misc/bits/syslog-ldbl.h [__USE_BSD]: Likewise.
13136 * misc/bits/syslog.h [__USE_BSD]: Likewise.
13137 * misc/search.h [__USE_SVID]: Likewise.
13138 * misc/sys/mman.h [__USE_BSD]: Likewise.
13139 * misc/sys/syslog.h [__USE_BSD]: Likewise.
13140 * misc/sys/uio.h [__USE_BSD]: Likewise.
13141 * posix/bits/unistd.h [__USE_BSD]: Likewise.
13142 * posix/glob.h [__USE_BSD]: Likewise.
13143 * posix/regex.h [__USE_BSD]: Likewise.
13144 * posix/sys/types.h [__USE_BSD]: Likewise.
13145 [__USE_SVID]: Likewise.
13146 * posix/sys/utsname.h [__USE_SVID]: Likewise.
13147 * posix/sys/wait.h [__USE_BSD]: Likewise.
13148 [__USE_SVID]: Likewise.
13149 * posix/unistd.h [__USE_BSD]: Likewise.
13150 [__USE_SVID]: Likewise.
13151 * pwd/pwd.h [__USE_SVID]: Likewise.
13152 * resolv/netdb.h [__USE_BSD]: Likewise.
13153 * setjmp/setjmp.h [__USE_BSD]: Likewise.
13154 * signal/signal.h [__USE_BSD]: Likewise.
13155 [__USE_SVID]: Likewise.
13156 * socket/sys/socket.h [__USE_BSD]: Likewise.
13157 * stdlib/fmtmsg.h [__USE_SVID]: Likewise.
13158 * stdlib/stdlib.h [__USE_BSD]: Likewise.
13159 [__USE_SVID]: Likewise.
13160 * string/bits/string2.h [__USE_BSD]: Likewise.
13161 [__USE_SVID]: Likewise.
13162 * string/bits/string3.h [__USE_BSD]: Likewise.
13163 * string/endian.h [__USE_BSD]: Likewise.
13164 * string/string.h [__USE_SVID]: Likewise.
13165 [__USE_BSD]: Likewise.
13166 * string/strings.h [__USE_BSD]: Likewise.
13167 * sysdeps/generic/netinet/ip.h [__USE_BSD]: Likewise.
13168 * sysdeps/gnu/netinet/ip_icmp.h [__USE_BSD]: Likewise.
13169 * sysdeps/mach/hurd/bits/fcntl.h [__USE_BSD]: Likewise.
13170 * sysdeps/mach/hurd/bits/stat.h [__USE_BSD]: Likewise.
13171 * sysdeps/unix/sysv/linux/alpha/bits/mman.h [__USE_BSD]: Likewise.
13172 * sysdeps/unix/sysv/linux/alpha/bits/termios.h [__USE_BSD]:
13173 Likewise.
13174 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_BSD]:
13175 Likewise.
13176 * sysdeps/unix/sysv/linux/bits/mman-linux.h [__USE_BSD]: Likewise.
13177 * sysdeps/unix/sysv/linux/bits/sys_errlist.h [__USE_BSD]:
13178 Likewise.
13179 * sysdeps/unix/sysv/linux/bits/termios.h [__USE_BSD]: Likewise.
13180 * sysdeps/unix/sysv/linux/mips/bits/termios.h [__USE_BSD]:
13181 Likewise.
13182 * sysdeps/unix/sysv/linux/netinet/if_ether.h [__USE_BSD]:
13183 Likewise.
13184 * sysdeps/unix/sysv/linux/netinet/if_fddi.h [__USE_BSD]: Likewise.
13185 * sysdeps/unix/sysv/linux/netinet/if_tr.h [__USE_BSD]: Likewise.
13186 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_BSD]:
13187 Likewise.
13188 * sysdeps/unix/sysv/linux/sparc/bits/termios.h [__USE_BSD]:
13189 Likewise.
13190 * sysdeps/x86/bits/string.h [__USE_BSD]: Likewise.
13191 * sysvipc/sys/ipc.h [__USE_SVID]: Likewise.
13192 * termios/termios.h [__USE_BSD]: Likewise.
13193 * time/sys/time.h [__USE_BSD]: Likewise.
13194 * time/time.h [__USE_BSD]: Likewise.
13195 [__USE_SVID]: Likewise.
13196
dd7b064c
JM
13197 * Makefile (subdir_targets): Remove subdir_lint.out.
13198
a2c4c199
JM
13199 * stdio-common/Makefile (do-tst-unbputc): Remove target.
13200 (do-tst-printf): Likewise.
13201 (tests): Depend directly on $(objpfx)tst-unbputc.out and
13202 $(objpfx)tst-printf.out.
13203
8756f740
JM
13204 * io/ftwtest-sh (testout): Change to $tmp/ftwtest-tmp.out.
13205
1b6dd3f1
JM
13206 * Makerules (check-abi-%): Change target to
13207 $(objpfx)check-abi-%.out.
13208 (check-abi target): Update dependencies.
13209 (check-abi-pattern variable): Redirect output of diff to $@.
13210 (check-abi variable): Likewise.
13211 * elf/Makefile (check-abi): Update dependencies.
13212
ace614b8
JM
13213 * soft-fp/op-common.h (_FP_DECL): Mark exponent as possibly
13214 unused.
13215 (_FP_PACK_SEMIRAW): Determine tininess based on rounding shifted
13216 value if _FP_TININESS_AFTER_ROUNDING and unrounded value is in
13217 subnormal range.
13218 (_FP_PACK_CANONICAL): Determine tininess based on rounding to
13219 normal precision if _FP_TININESS_AFTER_ROUNDING and unrounded
13220 value has largest subnormal exponent.
13221 * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS]
13222 (_FP_TININESS_AFTER_ROUNDING): Undefine and redefine to 0.
13223 * sysdeps/aarch64/soft-fp/sfp-machine.h
13224 (_FP_TININESS_AFTER_ROUNDING): New macro.
13225 * sysdeps/alpha/soft-fp/sfp-machine.h
13226 (_FP_TININESS_AFTER_ROUNDING): Likewise.
13227 * sysdeps/arm/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
13228 Likewise.
13229 * sysdeps/mips/mips64/soft-fp/sfp-machine.h
13230 (_FP_TININESS_AFTER_ROUNDING): Likewise.
13231 * sysdeps/mips/soft-fp/sfp-machine.h
13232 (_FP_TININESS_AFTER_ROUNDING): Likewise.
13233 * sysdeps/powerpc/soft-fp/sfp-machine.h
13234 (_FP_TININESS_AFTER_ROUNDING): Likewise.
13235 * sysdeps/sh/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
13236 Likewise.
13237 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
13238 (_FP_TININESS_AFTER_ROUNDING): Likewise.
13239 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
13240 (_FP_TININESS_AFTER_ROUNDING): Likewise.
13241 * sysdeps/tile/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
13242 Likewise.
13243
fbfdf9cb
DAS
132442014-02-12 Dylan Alex Simon <dylan@dylex.net>
13245
13246 [BZ #16545]
13247 * sysdeps/x86_64/fpu/libm-test-ulps: Update on AMD family 21h
13248 model 1.
13249
68b7efaa
RH
132502014-02-12 Richard Henderson <rth@redhat.com>
13251
c70a4b1d 13252 * sysdeps/alpha: Move directory from ports/sysdeps/alpha.
68b7efaa
RH
13253 * sysdeps/unix/alpha: Move directory from ports/sysdeps/unix/alpha.
13254 * sysdeps/unix/sysv/linux/alpha: Move directory from
13255 ports/sysdeps/unix/sysv/linux/alpha.
13256 * README: Update listing for alpha-*-linux-gnu.
13257
cb4a2928
JM
132582014-02-11 Joseph Myers <joseph@codesourcery.com>
13259
c941736c
JM
13260 * include/features.h: Update comment documenting feature test
13261 macros.
13262 [_BSD_SOURCE || _SVID_SOURCE]: Give #warning. Define
13263 _DEFAULT_SOURCE.
13264 * manual/creature.texi (_BSD_SOURCE): Remove documentation.
13265 (_SVID_SOURCE): Likewise.
13266 (_DEFAULT_SOURCE): Update description of default features.
13267 (Feature Test Macros): Don't mention _SVID_SOURCE in conjunction
13268 with _GNU_SOURCE.
13269 * manual/filesys.texi (__ftw_func_t): Do not refer to _BSD_SOURCE.
13270 (S_ISVTX): Likewise.
13271 * manual/math.texi (Mathematical Constants): Likewise.
13272 * manual/signal.texi (Interrupted Primitives): Likewise.
13273 * manual/startup.texi (putenv): Do not refer to _SVID_SOURCE.
13274 * math/test-matherr.c (_SVID_SOURCE): Do not define.
13275 * sysvipc/sys/ipc.h [__USE_SVID && !__USE_XOPEN && __GNUC__ >= 2]:
13276 Don't refer to _SVID_SOURCE in warning text.
13277
e8d8d7ec
JM
13278 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
13279
cb4a2928
JM
13280 * elf/dl-lookup.c (ELF_MACHINE_SYM_NO_MATCH): Define if not
13281 already defined.
13282 (do_lookup_x): Use ELF_MACHINE_SYM_NO_MATCH.
13283 * sysdeps/mips/dl-lookup.c: Remove.
13284 * sysdeps/mips/dl-machine.h (ELF_MACHINE_SYM_NO_MATCH): New macro.
13285
7e6424e3
AK
132862014-02-11 Stefan Liebler <stli@linux.vnet.ibm.com>
13287
13288 [BZ #16447]
13289 * math/auto-libm-test-in: Add testcase for expl.
13290 * math/auto-libm-test-out: Regenerate.
13291 * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Fix
13292 calculation of unsafe.
13293 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for added testcase.
13294
75eff3fe
MS
132952014-02-11 Marcus Shawcroft <marcus.shawcroft@arm.com>
13296
13297 * sysdeps/aarch64: Move directory from ports/sysdeps/aarch64.
13298 * sysdeps/unix/sysv/linux/aarch64: Move directory from
13299 ports/sysdeps/unix/sysv/linux/aarch64.
13300 * README: Update listing for aarch64*-*-linux-gnu.
13301
d35f1e80
WN
133022014-02-11 Will Newton <will.newton@linaro.org>
13303
13304 * manual/probes.texi (Mathematical Function Probes): Use
13305 "triggered" instead of "hit".
13306
7b3436d4
WN
13307 * manual/probes.texi (Internal Probes): Add documentation
13308 of setjmp, longjmp and longjmp_target probes.
13309
b4f12ca3
WN
13310 * include/stap-probe.h: Add comment about probe argument
13311 format.
13312
c13a72b7
WN
13313 * malloc/mtrace.c (attribute_hidden): Remove unused macro
13314 definition. (tr_where, tr_freehook, tr_mallochook,
13315 tr_reallochook, tr_memalignhook): Use ANSI protoype.
13316
195b8165
DM
133172014-02-11 David S. Miller <davem@davemloft.net>
13318
13319 * stdio-common/tst-sscanf.c (main): Use 'long' for 'dummy' when
13320 processing int_tests.
13321
2ad7600b
JM
133222014-02-10 Joseph Myers <joseph@codesourcery.com>
13323
13324 * sysdeps/mips: Move directory from ports/sysdeps/mips.
13325 * sysdeps/unix/mips: Move directory from ports/sysdeps/unix/mips.
13326 * sysdeps/unix/sysv/linux/mips: Move directory from
13327 ports/sysdeps/unix/sysv/linux/mips.
13328 * README: Update listing for mips-*-linux-gnu and
13329 mips64-*-linux-gnu.
13330
73588a72
AS
133312014-02-10 Andreas Schwab <schwab@linux-m68k.org>
13332
13333 * sysdeps/m68k: Move directory from ports/sysdeps/m68k.
13334 * sysdeps/unix/sysv/linux/m68k: Move directory from
13335 ports/sysdeps/unix/sysv/linux/m68k.
13336 * README: Update listing for m68k-*-linux-gnu.
13337
4372980f
CM
133382014-02-10 Chris Metcalf <cmetcalf@tilera.com>
13339
13340 * sysdeps/tile: Move directory from ports/sysdeps/tile.
13341 * sysdeps/unix/sysv/linux/generic: Move directory from
13342 ports/sysdeps/unix/sysv/linux/generic.
13343 * sysdeps/unix/sysv/linux/tile: Move directory from
13344 ports/sysdeps/unix/sysv/linux/tile.
13345 * README: Update listing for tile*-*-linux-gnu.
13346
a1ffb40e
OB
133472014-02-10 Ondřej Bílka <neleai@seznam.cz>
13348
57f41c40
AS
13349 * assert/assert.c (__assert_fail_base): Use glibc_likely instead
13350 __builtin_expect.
a1ffb40e
OB
13351 * benchtests/bench-memmem.c (simple_memmem): Likewise.
13352 * catgets/open_catalog.c (__open_catalog): Likewise.
13353 * csu/libc-start.c (LIBC_START_MAIN): Likewise.
13354 * debug/confstr_chk.c: Likewise.
13355 * debug/fread_chk.c (__fread_chk): Likewise.
13356 * debug/fread_u_chk.c (__fread_unlocked_chk): Likewise.
13357 * debug/getgroups_chk.c: Likewise.
13358 * debug/mbsnrtowcs_chk.c: Likewise.
13359 * debug/mbsrtowcs_chk.c: Likewise.
13360 * debug/mbstowcs_chk.c: Likewise.
13361 * debug/memcpy_chk.c: Likewise.
13362 * debug/memmove_chk.c: Likewise.
13363 * debug/mempcpy_chk.c: Likewise.
13364 * debug/memset_chk.c: Likewise.
13365 * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
13366 * debug/strcat_chk.c (__strcat_chk): Likewise.
13367 * debug/strcpy_chk.c (__strcpy_chk): Likewise.
13368 * debug/strncat_chk.c (__strncat_chk): Likewise.
13369 * debug/vsnprintf_chk.c (___vsnprintf_chk): Likewise.
13370 * debug/vswprintf_chk.c (__vswprintf_chk): Likewise.
13371 * debug/wcpcpy_chk.c (__wcpcpy_chk): Likewise.
13372 * debug/wcpncpy_chk.c: Likewise.
13373 * debug/wcscat_chk.c (__wcscat_chk): Likewise.
13374 * debug/wcscpy_chk.c (__wcscpy_chk): Likewise.
13375 * debug/wcsncat_chk.c (__wcsncat_chk): Likewise.
13376 * debug/wcsncpy_chk.c: Likewise.
13377 * debug/wcsnrtombs_chk.c: Likewise.
13378 * debug/wcsrtombs_chk.c: Likewise.
13379 * debug/wcstombs_chk.c: Likewise.
13380 * debug/wmemcpy_chk.c: Likewise.
13381 * debug/wmemmove_chk.c: Likewise.
13382 * debug/wmempcpy_chk.c: Likewise.
13383 * debug/wmemset_chk.c: Likewise.
13384 * dirent/scandirat.c (SCANDIRAT): Likewise.
13385 * dlfcn/dladdr1.c (dladdr1): Likewise.
13386 * dlfcn/dladdr.c (dladdr): Likewise.
13387 * dlfcn/dlclose.c (dlclose_doit): Likewise.
13388 * dlfcn/dlerror.c (__dlerror): Likewise.
13389 * dlfcn/dlinfo.c (dlinfo_doit): Likewise.
13390 * dlfcn/dlmopen.c (dlmopen_doit): Likewise.
13391 * dlfcn/dlopen.c (dlopen_doit): Likewise.
13392 * dlfcn/dlopenold.c (__dlopen_nocheck): Likewise.
13393 * dlfcn/dlsym.c (dlsym_doit): Likewise.
13394 * dlfcn/dlvsym.c (dlvsym_doit): Likewise.
13395 * elf/dl-cache.c (_dl_load_cache_lookup): Likewise.
13396 * elf/dl-close.c (remove_slotinfo, _dl_close_worker, _dl_close):
13397 Likewise.
13398 * elf/dl-conflict.c: Likewise.
13399 * elf/dl-deps.c (_dl_build_local_scope, _dl_map_object_deps): Likewise.
13400 * elf/dl-dst.h: Likewise.
13401 * elf/dl-fini.c (_dl_sort_fini, _dl_fini): Likewise.
13402 * elf/dl-fptr.c (_dl_make_fptr): Likewise.
13403 * elf/dl-hwcaps.c (_dl_important_hwcaps): Likewise.
13404 * elf/dl-init.c (call_init, _dl_init): Likewise.
13405 * elf/dl-libc.c (__libc_dlopen_mode, __libc_dlsym): Likewise.
57f41c40
AS
13406 * elf/dl-load.c (_dl_dst_substitute, fillin_rpath, _dl_init_paths)
13407 (_dl_map_object_from_fd, open_verify, open_path, _dl_map_object):
13408 Likewise.
a1ffb40e
OB
13409 * elf/dl-lookup.c (do_lookup_x, add_dependency, _dl_lookup_symbol_x):
13410 Likewise.
13411 * elf/dl-minimal.c (__libc_memalign): Likewise.
13412 * elf/dl-open.c (add_to_global, dl_open_worker, _dl_open): Likewise.
13413 * elf/dl-reloc.c (_dl_relocate_object): Likewise.
13414 * elf/dl-runtime.c (_dl_fixup, _dl_profile_fixup): Likewise.
13415 * elf/dl-sym.c (do_sym): Likewise.
57f41c40
AS
13416 * elf/dl-tls.c (tls_get_addr_tail, update_get_addr)
13417 (__tls_get_addr, _dl_tls_get_addr_soft): Likewise.
a1ffb40e
OB
13418 * elf/dl-version.c (match_symbol, _dl_check_map_versions): Likewise.
13419 * elf/dl-writev.h (_dl_writev): Likewise.
13420 * elf/ldconfig.c (search_dir): Likewise.
57f41c40
AS
13421 * elf/rtld.c (_dl_start_final, _dl_start, init_tls, do_preload)
13422 (dl_main): Likewise.
a1ffb40e
OB
13423 * elf/setup-vdso.h (setup_vdso): Likewise.
13424 * grp/compat-initgroups.c (compat_call): Likewise.
13425 * grp/fgetgrent.c (fgetgrent): Likewise.
13426 * grp/initgroups.c (getgrouplist, initgroups): Likewise.
13427 * grp/putgrent.c (putgrent): Likewise.
13428 * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
13429 Likewise.
13430 * hurd/hurdinit.c: Likewise.
13431 * iconvdata/8bit-gap.c (struct): Likewise.
13432 * iconvdata/ansi_x3.110.c : Likewise.
13433 * iconvdata/big5.c : Likewise.
13434 * iconvdata/big5hkscs.c : Likewise.
13435 * iconvdata/cp1255.c: Likewise.
13436 * iconvdata/cp1258.c : Likewise.
13437 * iconvdata/cp932.c : Likewise.
13438 * iconvdata/euc-cn.c: Likewise.
13439 * iconvdata/euc-jisx0213.c : Likewise.
13440 * iconvdata/euc-jp.c: Likewise.
13441 * iconvdata/euc-jp-ms.c : Likewise.
13442 * iconvdata/euc-kr.c (euckr_from_ucs4): Likewise.
13443 * iconvdata/gb18030.c : Likewise.
13444 * iconvdata/gbbig5.c (const): Likewise.
13445 * iconvdata/gbgbk.c: Likewise.
13446 * iconvdata/gbk.c : Likewise.
13447 * iconvdata/ibm1364.c : Likewise.
13448 * iconvdata/ibm930.c : Likewise.
13449 * iconvdata/ibm932.c: Likewise.
13450 * iconvdata/ibm933.c : Likewise.
13451 * iconvdata/ibm935.c : Likewise.
13452 * iconvdata/ibm937.c : Likewise.
13453 * iconvdata/ibm939.c : Likewise.
13454 * iconvdata/ibm943.c: Likewise.
13455 * iconvdata/iso_11548-1.c: Likewise.
13456 * iconvdata/iso-2022-cn.c : Likewise.
13457 * iconvdata/iso-2022-cn-ext.c : Likewise.
13458 * iconvdata/iso-2022-jp-3.c: Likewise.
13459 * iconvdata/iso-2022-jp.c (gconv_end): Likewise.
13460 * iconvdata/iso-2022-kr.c : Likewise.
13461 * iconvdata/iso646.c (gconv_end): Likewise.
13462 * iconvdata/iso_6937-2.c : Likewise.
13463 * iconvdata/iso_6937.c : Likewise.
13464 * iconvdata/iso8859-1.c: Likewise.
13465 * iconvdata/johab.c (johab_sym_hanja_to_ucs): Likewise.
13466 * iconvdata/shift_jisx0213.c : Likewise.
13467 * iconvdata/sjis.c : Likewise.
13468 * iconvdata/t.61.c : Likewise.
13469 * iconvdata/tcvn5712-1.c : Likewise.
13470 * iconvdata/tscii.c: Likewise.
13471 * iconvdata/uhc.c : Likewise.
13472 * iconvdata/unicode.c (gconv_end): Likewise.
13473 * iconvdata/utf-16.c (gconv_end): Likewise.
13474 * iconvdata/utf-32.c (gconv_end): Likewise.
13475 * iconvdata/utf-7.c (base64): Likewise.
13476 * iconv/gconv_cache.c (__gconv_load_cache): Likewise.
13477 * iconv/gconv_close.c (__gconv_close): Likewise.
13478 * iconv/gconv_open.c (__gconv_open): Likewise.
57f41c40
AS
13479 * iconv/gconv_simple.c (internal_ucs4_loop_single)
13480 (ucs4_internal_loop, ucs4_internal_loop_unaligned)
13481 (ucs4_internal_loop_single, internal_ucs4le_loop_single)
13482 (ucs4le_internal_loop, ucs4le_internal_loop_unaligned)
13483 (ucs4le_internal_loop_single): Likewise.
a1ffb40e
OB
13484 * iconv/iconv.c (iconv): Likewise.
13485 * iconv/iconv_close.c: Likewise.
13486 * iconv/loop.c (SINGLE): Likewise.
13487 * iconv/skeleton.c (FUNCTION_NAME): Likewise.
13488 * include/atomic.h: Likewise.
13489 * inet/inet6_option.c (option_alloc): Likewise.
13490 * intl/bindtextdom.c (set_binding_values): Likewise.
13491 * intl/dcigettext.c (DCIGETTEXT, _nl_find_msg): Likewise.
13492 * intl/loadmsgcat.c (_nl_load_domain): Likewise.
13493 * intl/localealias.c (read_alias_file): Likewise.
13494 * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
57f41c40
AS
13495 * libio/fileops.c (_IO_file_open, _IO_file_underflow_mmap)
13496 (_IO_new_file_overflow, _IO_file_xsgetn_mmap): Likewise.
a1ffb40e
OB
13497 * libio/fmemopen.c (fmemopen): Likewise.
13498 * libio/iofgets.c (_IO_fgets): Likewise.
13499 * libio/iofgets_u.c (fgets_unlocked): Likewise.
13500 * libio/iofgetws.c (fgetws): Likewise.
13501 * libio/iofgetws_u.c (fgetws_unlocked): Likewise.
13502 * libio/iogetdelim.c (_IO_getdelim): Likewise.
57f41c40
AS
13503 * libio/wfileops.c (_IO_wfile_underflow, _IO_wfile_underflow_mmap)
13504 (adjust_wide_data, _IO_wfile_seekoff): Likewise.
a1ffb40e
OB
13505 * locale/findlocale.c (_nl_find_locale): Likewise.
13506 * locale/loadarchive.c (_nl_load_locale_from_archive): Likewise.
13507 * locale/loadlocale.c (_nl_intern_locale_data, _nl_load_locale):
13508 Likewise.
13509 * locale/setlocale.c (setlocale): Likewise.
13510 * login/programs/pt_chown.c (main): Likewise.
13511 * malloc/arena.c (ptmalloc_init, shrink_heap, arena_get2): Likewise.
13512 * malloc/malloc.c (_int_malloc, _int_free): Likewise.
57f41c40
AS
13513 * malloc/memusage.c (update_data, malloc, realloc, calloc, free)
13514 (mmap, mmap64, mremap, munmap): Likewise.
a1ffb40e
OB
13515 * math/e_exp2l.c: Likewise.
13516 * math/e_scalb.c (invalid_fn, __ieee754_scalb): Likewise.
13517 * math/e_scalbf.c (invalid_fn, __ieee754_scalbf): Likewise.
13518 * math/e_scalbl.c (invalid_fn, __ieee754_scalbl): Likewise.
13519 * math/s_catan.c (__catan): Likewise.
13520 * math/s_catanf.c (__catanf): Likewise.
13521 * math/s_catanh.c (__catanh): Likewise.
13522 * math/s_catanhf.c (__catanhf): Likewise.
13523 * math/s_catanhl.c (__catanhl): Likewise.
13524 * math/s_catanl.c (__catanl): Likewise.
13525 * math/s_ccosh.c (__ccosh): Likewise.
13526 * math/s_ccoshf.c (__ccoshf): Likewise.
13527 * math/s_ccoshl.c (__ccoshl): Likewise.
13528 * math/s_cexp.c (__cexp): Likewise.
13529 * math/s_cexpf.c (__cexpf): Likewise.
13530 * math/s_cexpl.c (__cexpl): Likewise.
13531 * math/s_clog10.c (__clog10): Likewise.
13532 * math/s_clog10f.c (__clog10f): Likewise.
13533 * math/s_clog10l.c (__clog10l): Likewise.
13534 * math/s_clog.c (__clog): Likewise.
13535 * math/s_clogf.c (__clogf): Likewise.
13536 * math/s_clogl.c (__clogl): Likewise.
13537 * math/s_csin.c (__csin): Likewise.
13538 * math/s_csinf.c (__csinf): Likewise.
13539 * math/s_csinh.c (__csinh): Likewise.
13540 * math/s_csinhf.c (__csinhf): Likewise.
13541 * math/s_csinhl.c (__csinhl): Likewise.
13542 * math/s_csinl.c (__csinl): Likewise.
13543 * math/s_csqrt.c (__csqrt): Likewise.
13544 * math/s_csqrtf.c (__csqrtf): Likewise.
13545 * math/s_csqrtl.c (__csqrtl): Likewise.
13546 * math/s_ctan.c (__ctan): Likewise.
13547 * math/s_ctanf.c (__ctanf): Likewise.
13548 * math/s_ctanh.c (__ctanh): Likewise.
13549 * math/s_ctanhf.c (__ctanhf): Likewise.
13550 * math/s_ctanhl.c (__ctanhl): Likewise.
13551 * math/s_ctanl.c (__ctanl): Likewise.
13552 * math/w_pow.c: Likewise.
13553 * math/w_powf.c: Likewise.
13554 * math/w_powl.c: Likewise.
13555 * math/w_scalb.c (sysv_scalb): Likewise.
13556 * math/w_scalbf.c (sysv_scalbf): Likewise.
13557 * math/w_scalbl.c (sysv_scalbl): Likewise.
13558 * misc/error.c (error_tail): Likewise.
13559 * misc/pselect.c (__pselect): Likewise.
13560 * nis/nis_callback.c (__nis_create_callback): Likewise.
13561 * nis/nis_call.c (__nisfind_server): Likewise.
13562 * nis/nis_creategroup.c (nis_creategroup): Likewise.
13563 * nis/nis_domain_of_r.c (nis_domain_of_r): Likewise.
13564 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Likewise.
13565 * nis/nis_getservlist.c (nis_getservlist): Likewise.
13566 * nis/nis_lookup.c (nis_lookup): Likewise.
13567 * nis/nis_subr.c (nis_leaf_of_r, nis_getnames): Likewise.
57f41c40
AS
13568 * nis/nis_table.c (__create_ib_request, nis_list, nis_add_entry)
13569 (nis_modify_entry, nis_first_entry, nis_next_entry): Likewise.
a1ffb40e 13570 * nis/nis_xdr.c (xdr_endpoint): Likewise.
57f41c40
AS
13571 * nis/nss_compat/compat-grp.c (getgrent_next_file)
13572 (internal_getgrnam_r, internal_getgrgid_r): Likewise.
13573 * nis/nss_compat/compat-initgroups.c (add_group)
13574 (internal_getgrent_r): Likewise.
13575 * nis/nss_compat/compat-pwd.c (getpwent_next_file)
13576 (internal_getpwnam_r, internal_getpwuid_r): Likewise.
13577 * nis/nss_compat/compat-spwd.c (getspent_next_file)
13578 (internal_getspnam_r): Likewise.
13579 * nis/nss_nis/nis-alias.c (internal_nis_getaliasent_r)
13580 (_nss_nis_getaliasbyname_r): Likewise.
13581 * nis/nss_nis/nis-ethers.c (_nss_nis_gethostton_r)
13582 (_nss_nis_getntohost_r): Likewise.
13583 * nis/nss_nis/nis-grp.c (internal_nis_setgrent)
13584 (internal_nis_getgrent_r, _nss_nis_getgrnam_r)
13585 (_nss_nis_getgrgid_r): Likewise.
13586 * nis/nss_nis/nis-hosts.c (_nss_nis_sethostent)
13587 (internal_nis_gethostent_r, internal_gethostbyname2_r)
13588 (_nss_nis_gethostbyname_r, _nss_nis_gethostbyaddr_r)
13589 (_nss_nis_gethostbyname4_r): Likewise.
13590 * nis/nss_nis/nis-initgroups.c (internal_getgrent_r)
13591 (initgroups_netid): Likewise.
a1ffb40e 13592 * nis/nss_nis/nis-netgrp.c (_nss_nis_setnetgrent): Likewise.
57f41c40
AS
13593 * nis/nss_nis/nis-network.c (internal_nis_getnetent_r)
13594 (_nss_nis_getnetbyname_r, _nss_nis_getnetbyaddr_r): Likewise.
13595 * nis/nss_nis/nis-proto.c (_nss_nis_getprotobyname_r)
13596 (_nss_nis_getprotobynumber_r): Likewise.
13597 * nis/nss_nis/nis-publickey.c (_nss_nis_getpublickey)
13598 (_nss_nis_getsecretkey): Likewise.
13599 * nis/nss_nis/nis-pwd.c (_nis_saveit, internal_nis_setpwent)
13600 (internal_nis_getpwent_r, _nss_nis_getpwnam_r)
13601 (_nss_nis_getpwuid_r): Likewise.
13602 * nis/nss_nis/nis-rpc.c (internal_nis_getrpcent_r)
13603 (_nss_nis_getrpcbyname_r, _nss_nis_getrpcbynumber_r): Likewise.
13604 * nis/nss_nis/nis-service.c (dosearch, internal_nis_getservent_r)
13605 (_nss_nis_getservbyname_r, _nss_nis_getservbyport_r): Likewise.
13606 * nis/nss_nis/nis-spwd.c (_nss_nis_setspent)
13607 (internal_nis_getspent_r, _nss_nis_getspnam_r): Likewise.
a1ffb40e
OB
13608 * nis/nss_nisplus/nisplus-alias.c (_nss_nisplus_getaliasbyname_r):
13609 Likewise.
57f41c40
AS
13610 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_gethostton_r)
13611 (_nss_nisplus_getntohost_r): Likewise.
13612 * nis/nss_nisplus/nisplus-grp.c (internal_nisplus_getgrent_r)
13613 (_nss_nisplus_getgrnam_r, _nss_nisplus_getgrgid_r): Likewise.
13614 * nis/nss_nisplus/nisplus-hosts.c (internal_gethostbyname2_r)
13615 (_nss_nisplus_gethostbyaddr_r, _nss_nisplus_gethostbyname4_r):
a1ffb40e 13616 Likewise.
57f41c40
AS
13617 * nis/nss_nisplus/nisplus-initgroups.c
13618 (_nss_nisplus_initgroups_dyn): Likewise.
13619 * nis/nss_nisplus/nisplus-network.c (_nss_nisplus_getnetbyname_r)
13620 (_nss_nisplus_getnetbyaddr_r): Likewise.
13621 * nis/nss_nisplus/nisplus-proto.c (_nss_nisplus_getprotobyname_r)
13622 (_nss_nisplus_getprotobynumber_r): Likewise.
13623 * nis/nss_nisplus/nisplus-pwd.c (internal_nisplus_getpwent_r)
13624 (_nss_nisplus_getpwnam_r, _nss_nisplus_getpwuid_r): Likewise.
a1ffb40e
OB
13625 * nis/nss_nisplus/nisplus-rpc.c (_nss_nisplus_getrpcbyname_r):
13626 Likewise.
57f41c40
AS
13627 * nis/nss_nisplus/nisplus-service.c
13628 (internal_nisplus_getservent_r, _nss_nisplus_getservbyname_r)
13629 (_nss_nisplus_getservbyport_r): Likewise.
13630 * nis/nss_nisplus/nisplus-spwd.c (internal_nisplus_getspent_r)
13631 (_nss_nisplus_getspnam_r): Likewise.
13632 * nis/ypclnt.c (__yp_bind, yp_match, yp_all, yp_maplist):
13633 Likewise.
a1ffb40e
OB
13634 * nscd/aicache.c (addhstaiX): Likewise.
13635 * nscd/cache.c (cache_search, prune_cache): Likewise.
57f41c40
AS
13636 * nscd/connections.c (register_traced_file, send_ro_fd)
13637 (handle_request, nscd_run_prune, nscd_run_worker, fd_ready)
13638 (main_loop_epoll): Likewise.
a1ffb40e
OB
13639 * nscd/grpcache.c (addgrbyX): Likewise.
13640 * nscd/hstcache.c (addhstbyX): Likewise.
13641 * nscd/initgrcache.c (addinitgroupsX): Likewise.
13642 * nscd/mem.c (gc, mempool_alloc): Likewise.
57f41c40
AS
13643 * nscd/netgroupcache.c (do_notfound, addgetnetgrentX)
13644 (addinnetgrX): Likewise.
13645 * nscd/nscd-client.h (__nscd_acquire_maplock)
13646 (__nscd_drop_map_ref): Likewise.
a1ffb40e
OB
13647 * nscd/nscd_getai.c (__nscd_getai): Likewise.
13648 * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
13649 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp, nscd_gethst_r):
13650 Likewise.
13651 * nscd/nscd_getpw_r.c (nscd_getpw_r): Likewise.
13652 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
57f41c40
AS
13653 * nscd/nscd_helper.c (__readvall, open_socket, __nscd_get_mapping)
13654 (__nscd_get_map_ref): Likewise.
a1ffb40e 13655 * nscd/nscd_initgroups.c (__nscd_getgrouplist): Likewise.
57f41c40
AS
13656 * nscd/nscd_netgroup.c (__nscd_setnetgrent, __nscd_innetgr):
13657 Likewise.
a1ffb40e
OB
13658 * nscd/pwdcache.c (addpwbyX): Likewise.
13659 * nscd/selinux.c (preserve_capabilities): Likewise.
13660 * nscd/servicescache.c (addservbyX): Likewise.
13661 * nss/nss_files/files-XXX.c (internal_getent): Likewise.
13662 * posix/fnmatch.c (fnmatch): Likewise.
13663 * posix/getopt.c (_getopt_internal_r): Likewise.
13664 * posix/glob.c (glob, glob_in_dir): Likewise.
13665 * posix/wordexp.c (exec_comm_child): Likewise.
57f41c40
AS
13666 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr2_r)
13667 (getanswer_r, gaih_getanswer_slice): Likewise.
a1ffb40e
OB
13668 * resolv/nss_dns/dns-network.c (getanswer_r): Likewise.
13669 * resolv/res_init.c: Likewise.
13670 * resolv/res_mkquery.c (res_nmkquery): Likewise.
13671 * resolv/res_query.c (__libc_res_nquery): Likewise.
13672 * resolv/res_send.c (__libc_res_nsend, send_vc, reopen, send_dg):
13673 Likewise.
13674 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Likewise.
13675 * stdio-common/perror.c (perror): Likewise.
13676 * stdio-common/printf_fp.c (___printf_fp): Likewise.
13677 * stdio-common/tmpnam.c (tmpnam): Likewise.
13678 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
13679 * stdlib/cxa_finalize.c (__cxa_finalize): Likewise.
57f41c40
AS
13680 * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl):
13681 Likewise.
a1ffb40e
OB
13682 * stdlib/drand48-iter.c (__drand48_iterate): Likewise.
13683 * stdlib/putenv.c (putenv): Likewise.
13684 * stdlib/setenv.c (__add_to_environ): Likewise.
13685 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
13686 * stdlib/strtol_l.c (INTERNAL): Likewise.
13687 * string/memmem.c (memmem): Likewise.
13688 * string/strerror.c (strerror): Likewise.
13689 * string/strnlen.c (__strnlen): Likewise.
13690 * string/test-memmem.c (simple_memmem): Likewise.
13691 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Likewise.
13692 * sunrpc/pm_getport.c (__get_socket): Likewise.
13693 * sysdeps/gnu/unwind-resume.c (init, _Unwind_Resume): Likewise.
13694 * sysdeps/i386/dl-irel.h (elf_irel): Likewise.
57f41c40
AS
13695 * sysdeps/i386/dl-machine.h (elf_machine_runtime_setup)
13696 (elf_machine_rel, elf_machine_lazy_rel, elf_machine_lazy_rela):
a1ffb40e
OB
13697 Likewise.
13698 * sysdeps/ieee754/dbl-64/e_atanh.c (__ieee754_atanh): Likewise.
13699 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
13700 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Likewise.
13701 * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r): Likewise.
13702 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Likewise.
57f41c40
AS
13703 * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1, __ieee754_y1):
13704 Likewise.
13705 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn, __ieee754_yn):
13706 Likewise.
a1ffb40e
OB
13707 * sysdeps/ieee754/dbl-64/e_log10.c (__ieee754_log10): Likewise.
13708 * sysdeps/ieee754/dbl-64/e_log2.c (__ieee754_log2): Likewise.
13709 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
13710 * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
13711 * sysdeps/ieee754/dbl-64/s_asinh.c (__asinh): Likewise.
13712 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Likewise.
13713 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
13714 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Likewise.
13715 * sysdeps/ieee754/dbl-64/s_modf.c (__modf): Likewise.
13716 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): Likewise.
13717 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
13718 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c (__ieee754_acosh):
13719 Likewise.
13720 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c (__ieee754_log10):
13721 Likewise.
13722 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c (__ieee754_log2):
13723 Likewise.
13724 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c (__frexp): Likewise.
13725 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
13726 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo): Likewise.
13727 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c (__round): Likewise.
13728 * sysdeps/ieee754/flt-32/e_atanhf.c (__ieee754_atanhf): Likewise.
13729 * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r): Likewise.
13730 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
13731 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Likewise.
13732 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_nearbyint): Likewise.
13733 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Likewise.
13734 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c (__llroundl): Likewise.
13735 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
13736 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
13737 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c (__lroundl): Likewise.
13738 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
57f41c40
AS
13739 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
13740 Likewise.
a1ffb40e
OB
13741 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l, __ieee754_y0l):
13742 Likewise.
13743 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l, __ieee754_y1l):
13744 Likewise.
13745 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl, __ieee754_ynl):
13746 Likewise.
13747 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
13748 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
13749 * sysdeps/posix/clock_getres.c (hp_timing_getres, realtime_getres):
13750 Likewise.
13751 * sysdeps/posix/fdopendir.c (__fdopendir): Likewise.
13752 * sysdeps/posix/getaddrinfo.c (gaih_inet, getaddrinfo): Likewise.
13753 * sysdeps/posix/opendir.c (__opendirat): Likewise.
13754 * sysdeps/posix/sleep.c: Likewise.
13755 * sysdeps/posix/tempname.c: Likewise.
13756 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_irela): Likewise.
13757 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
13758 Likewise.
57f41c40
AS
13759 * sysdeps/powerpc/powerpc32/dl-machine.h
13760 (elf_machine_runtime_setup, elf_machine_rela): Likewise.
a1ffb40e
OB
13761 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
13762 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
13763 * sysdeps/pthread/aio_notify.c (__aio_notify_only): Likewise.
13764 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait, aio_suspend):
13765 Likewise.
13766 * sysdeps/s390/dl-irel.h (elf_irela): Likewise.
57f41c40
AS
13767 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_runtime_setup)
13768 (elf_machine_rela, elf_machine_lazy_rel): Likewise.
13769 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_runtime_setup)
13770 (elf_machine_rela, elf_machine_lazy_rel): Likewise.
a1ffb40e
OB
13771 * sysdeps/s390/s390-64/utf16-utf32-z9.c (gconv_end): Likewise.
13772 * sysdeps/s390/s390-64/utf8-utf16-z9.c (gconv_end): Likewise.
13773 * sysdeps/s390/s390-64/utf8-utf32-z9.c (gconv_end): Likewise.
13774 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
13775 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Likewise.
57f41c40
AS
13776 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela)
13777 (elf_machine_lazy_rel): Likewise.
a1ffb40e 13778 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
57f41c40
AS
13779 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela)
13780 (elf_machine_lazy_rel): Likewise.
a1ffb40e
OB
13781 * sysdeps/sparc/sparc64/dl-plt.h (sparc64_fixup_plt): Likewise.
13782 * sysdeps/unix/clock_gettime.c (hp_timing_gettime): Likewise.
13783 * sysdeps/unix/clock_settime.c (hp_timing_settime): Likewise.
13784 * sysdeps/unix/grantpt.c (grantpt): Likewise.
13785 * sysdeps/unix/sysv/linux/accept4.c (accept4): Likewise.
13786 * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME): Likewise.
13787 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): Likewise.
13788 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
13789 Likewise.
13790 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Likewise.
13791 * sysdeps/unix/sysv/linux/fchmodat.c (fchmodat): Likewise.
13792 * sysdeps/unix/sysv/linux/fchownat.c (fchownat): Likewise.
13793 * sysdeps/unix/sysv/linux/futimesat.c (futimesat): Likewise.
13794 * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
13795 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
13796 * sysdeps/unix/sysv/linux/i386/fallocate64.c (fallocate64): Likewise.
13797 * sysdeps/unix/sysv/linux/i386/fallocate.c (fallocate): Likewise.
13798 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Likewise.
13799 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
13800 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
13801 Likewise.
13802 * sysdeps/unix/sysv/linux/i386/posix_fallocate64.c
13803 (__posix_fallocate64_l64): Likewise.
13804 * sysdeps/unix/sysv/linux/i386/posix_fallocate.c
13805 (posix_fallocate): Likewise.
57f41c40
AS
13806 * sysdeps/unix/sysv/linux/i386/scandir64.c (__old_scandir64):
13807 Likewise.
a1ffb40e 13808 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
57f41c40
AS
13809 * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_request)
13810 (getifaddrs_internal): Likewise.
a1ffb40e
OB
13811 * sysdeps/unix/sysv/linux/linkat.c (linkat): Likewise.
13812 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Likewise.
13813 * sysdeps/unix/sysv/linux/mq_unlink.c (mq_unlink): Likewise.
13814 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Likewise.
13815 * sysdeps/unix/sysv/linux/posix_fallocate64.c
13816 (__posix_fallocate64_l64): Likewise.
13817 * sysdeps/unix/sysv/linux/posix_fallocate.c (posix_fallocate):
13818 Likewise.
13819 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat): Likewise.
57f41c40
AS
13820 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c
13821 (__get_clockfreq): Likewise.
a1ffb40e
OB
13822 * sysdeps/unix/sysv/linux/readlinkat.c (readlinkat): Likewise.
13823 * sysdeps/unix/sysv/linux/recvmmsg.c (recvmmsg): Likewise.
13824 * sysdeps/unix/sysv/linux/renameat.c (renameat): Likewise.
13825 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
13826 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
13827 * sysdeps/unix/sysv/linux/sched_setaffinity.c: Likewise.
13828 * sysdeps/unix/sysv/linux/sendmmsg.c (__sendmmsg): Likewise.
13829 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs, shm_open):
13830 Likewise.
13831 * sysdeps/unix/sysv/linux/sleep.c (__sleep): Likewise.
13832 * sysdeps/unix/sysv/linux/symlinkat.c (symlinkat): Likewise.
13833 * sysdeps/unix/sysv/linux/tcgetattr.c (__tcgetattr): Likewise.
13834 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Likewise.
13835 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
13836 * sysdeps/unix/sysv/linux/unlinkat.c (unlinkat): Likewise.
13837 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c (__fxstatat):
13838 Likewise.
13839 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
13840 (posix_fallocate): Likewise.
13841 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
13842 * sysdeps/unix/sysv/linux/xmknodat.c (__xmknodat): Likewise.
13843 * sysdeps/x86_64/dl-irel.h (elf_irela): Likewise.
57f41c40
AS
13844 * sysdeps/x86_64/dl-machine.h (elf_machine_runtime_setup)
13845 (elf_machine_rela, elf_machine_rela_relative)
13846 (elf_machine_lazy_rel): Likewise.
a1ffb40e
OB
13847 * time/asctime.c (asctime_internal): Likewise.
13848 * time/tzfile.c (__tzfile_read, __tzfile_compute): Likewise.
13849 * time/tzset.c (__tzset_parse_tz): Likewise.
13850 * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
13851 * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
13852 * wcsmbs/wcsmbsload.c (__wcsmbs_load_conv): Likewise.
13853 * wcsmbs/wcsmbsload.h: Likewise.
13854
f3d338c9
OB
13855 [BZ #15894]
13856 * stdlib/setenv.c (__add_to_environ): Remove duplicate code.
13857
57f41c40
AS
13858 * malloc/arena.c (grow_heap, get_free_list, reused_arena)
13859 (arena_get2): Remove THREAD_STATS conditionals.
13860 * malloc/malloc.c (__malloc_assert, __libc_realloc, _int_free)
13861 (__malloc_stats, int): Likewise.
bdfe308a 13862
d674667c
MF
138632014-02-08 Mike Frysinger <vapier@gentoo.org>
13864
13865 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs): Compare
13866 f.f_type to RAMFS_MAGIC too. Compare mp->mnt_type to shm too.
13867
6349768c
MF
13868 * manual/setjmp.texi: Fix typos/grammar errors.
13869
0b7c7473
MF
13870 * debug/tst-backtrace4.c (handle_signal): Add NUM_FUNCTIONS to output.
13871 Only return early when n is <= 0. Delete unused return statement.
13872
ac8cc9e3
MF
13873 * debug/Makefile (CFLAGS-tst-longjmp_chk3.c): Define.
13874 (CPPFLAGS-tst-longjmp_chk3.c): Likewise.
13875 * debug/tst-longjmp_chk3.c: New file.
13876
c5bb8e23
MF
13877 * benchtests/bench-strcpy_chk.c: Move test-skeleton.c to top.
13878 (test_main): Replace code with set_fortify_handler call.
13879 * debug/test-strcpy_chk.c: Likewise.
13880 * debug/tst-chk1.c: Likewise.
13881 * debug/tst-longjmp_chk.c: Likewise.
13882 * test-skeleton.c: Include fcntl.h & paths.h
13883 (set_fortify_handler): Define.
13884
10444e42
MF
13885 * debug/tst-longjmp_chk.c: Add header comment and include
13886 ../test-skeleton.c.
13887 (do_test): Mark static.
13888 (TEST_FUNCTION): Define.
13889
1e805e8d
MF
13890 * sysdeps/unix/sysv/linux/bits/in.h (IP_NODEFRAG): Define.
13891 (IP_PMTUDISC_INTERFACE): Likewise.
13892 (IP_MULTICAST_IF): Likewise.
13893 (IP_MULTICAST_TTL): Likewise.
13894 (IP_MULTICAST_LOOP): Likewise.
13895 (IP_ADD_MEMBERSHIP): Likewise.
13896 (IP_DROP_MEMBERSHIP): Likewise.
13897 (IP_UNBLOCK_SOURCE): Likewise.
13898 (IP_BLOCK_SOURCE): Likewise.
13899 (IP_ADD_SOURCE_MEMBERSHIP): Likewise.
13900 (IP_DROP_SOURCE_MEMBERSHIP): Likewise.
13901 (IP_MSFILTER): Likewise.
13902 (MCAST_JOIN_GROUP): Likewise.
13903 (MCAST_BLOCK_SOURCE): Likewise.
13904 (MCAST_UNBLOCK_SOURCE): Likewise.
13905 (MCAST_LEAVE_GROUP): Likewise.
13906 (MCAST_JOIN_SOURCE_GROUP): Likewise.
13907 (MCAST_LEAVE_SOURCE_GROUP): Likewise.
13908 (MCAST_MSFILTER): Likewise.
13909 (IP_MULTICAST_ALL): Likewise.
13910 (IP_UNICAST_IF): Likewise.
13911
73f79bb7
MF
13912 * timezone/Makefile: Delete $(have-ksh) check.
13913 ($(objpfx)tzselect): Change $(KSH) to $(BASH).
13914 * timezone/tzselect.ksh: Add +x mode bits.
13915
8da79b60
MF
13916 * sysdeps/unix/sysv/linux/linux_fsinfo.h (AFS_SUPER_MAGIC): Define.
13917 (ANON_INODE_FS_MAGIC): Likewise.
13918 (BDEVFS_MAGIC): Likewise.
13919 (BINFMTFS_MAGIC): Likewise.
13920 (BTRFS_TEST_MAGIC): Likewise.
13921 (CRAMFS_MAGIC_WEND): Likewise.
13922 (DEBUGFS_MAGIC): Likewise.
13923 (ECRYPTFS_SUPER_MAGIC): Likewise.
13924 (EXT3_SUPER_MAGIC): Likewise.
13925 (EXT4_SUPER_MAGIC): Likewise.
13926 (FUTEXFS_SUPER_MAGIC): Likewise.
13927 (HOSTFS_SUPER_MAGIC): Likewise.
13928 (HUGETLBFS_MAGIC): Likewise.
13929 (MINIX3_SUPER_MAGIC): Likewise.
13930 (MTD_INODE_FS_MAGIC): Likewise.
13931 (NILFS_SUPER_MAGIC): Likewise.
13932 (OPENPROM_SUPER_MAGIC): Likewise.
13933 (PIPEFS_MAGIC): Likewise.
13934 (PSTOREFS_MAGIC): Likewise.
13935 (QNX6_SUPER_MAGIC): Likewise.
13936 (RAMFS_MAGIC): Likewise.
13937 (REISERFS_SUPER_MAGIC_STRING): Likewise.
13938 (REISER2FS_SUPER_MAGIC_STRING): Likewise.
13939 (REISER2FS_JR_SUPER_MAGIC_STRING): Likewise.
13940 (SECURITYFS_MAGIC): Likewise.
13941 (SELINUX_MAGIC): Likewise.
13942 (SMACK_MAGIC): Likewise.
13943 (SOCKFS_MAGIC): Likewise.
13944 (SQUASHFS_MAGIC): Likewise.
13945 (STACK_END_MAGIC): Likewise.
13946 (TMPFS_MAGIC): Likewise.
13947 (USBDEVICE_SUPER_MAGIC): Likewise.
13948 (V9FS_MAGIC): Likewise.
13949 (XENFS_SUPER_MAGIC): Likewise.
13950 (CRAMFS_MAGIC): Fix typo in comment.
13951 (EXT2_SUPER_MAGIC): Update comment.
13952 (USBDEVFS_SUPER_MAGIC): Fix sorting order by moving further down.
13953
464263cc
JM
139542014-02-08 Joseph Myers <joseph@codesourcery.com>
13955
c6bfe5c4
JM
13956 * sysdeps/arm: Move directory from ports/sysdeps/arm.
13957 * sysdeps/unix/arm: Move directory from ports/sysdeps/unix/arm.
13958 * sysdeps/unix/sysv/linux/arm: Move directory from
13959 ports/sysdeps/unix/sysv/linux/arm.
13960 * README: Update listing for arm-*-linux-gnueabi.
13961
464263cc
JM
13962 * README: Remove mention of am33.
13963
32749f6c
RM
139642014-02-07 Roland McGrath <roland@hack.frob.com>
13965
13966 * bits/sigset.h (__sigemptyset): Use a statement expression rather
13967 than the comma operator, to avoid "rhs of comma has no effect"
13968 compiler warnings.
13969 (__sigfillset, __sigandset, __sigorset): Likewise.
13970 * include/signal.h (__sigemptyset): Likewise.
13971 * sysdeps/generic/malloc-machine.h (mutex_lock): Likewise.
13972
d5b396c1
AM
139732014-02-07 Allan McRae <allan@archlinux.org>
13974
13975 * version.h (RELEASE): Set to "development".
13976 (VERSION): Set to "2.19.90"
13977 * NEWS: Add 2.20 section.
13978
3bfff2ed
CD
139792014-02-06 Carlos O'Donell <carlos@redhat.com>
13980
13981 [BZ #16529]
13982 * inet/netinet/in.h: Remove comma after IPPROTO_MH.
13983
ee7cc385
SP
139842014-02-06 Siddhesh Poyarekar <siddhesh@redhat.com>
13985
13986 * manual/contrib.texi: Update entry for Carlos O'Donell,
13987 Joseph Myers, Roland McGrath, Alexandre Oliva and Ryan Arnold.
13988
f877c4f2
CD
139892014-02-05 Carlos O'Donell <carlos@rehdat.com>
13990
27e839f6
CD
13991 * sysdeps/unix/sysv/linux/kernel-features.h: Fix comment.
13992
f877c4f2
CD
13993 * sysdeps/unix/sysv/linux/kernel-features.h
13994 [__LINUX_KERNEL_VERSION >= 0x020621]
13995 (__ASSUME_PROC_PID_TASK_COMM): Define.
13996
68159946
SP
139972014-02-05 Siddhesh Poyarekar <siddhesh@redhat.com>
13998
ba17cdbd
SP
13999 [BZ #16398]
14000 * libio/wfileops.c (_IO_wfile_seekoff): Break out form
14001 conversion when destination buffer does not have enough space.
14002 * libio/tst-ftell-partial-wide.c: New test case.
14003 * libio/Makefile (tests): Add tst-ftell-partial-wide.
14004
68159946
SP
14005 * manual/contrib.texi: Update entry for Ondrej Bilka, Will
14006 Newton and Alexandre Oliva. Add entries for Steve Ellcey, Chris
14007 Leonard and Allan McRae.
14008
2b528732
DM
140092014-02-04 David S. Miller <davem@davemloft.net>
14010
14011 * sysdeps/sparc/fpu/libm-test-ulps: Update for some 64-bit differences from
14012 32-bit.
14013
0ff82463
AZ
140142014-02-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14015
57f41c40
AS
14016 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
14017 New file
c01603f7
AZ
14018 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
14019 New file
57f41c40
AS
14020 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
14021 New file.
14022 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
14023 New file.
c01603f7
AZ
14024 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
14025 New file.
57f41c40
AS
14026 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
14027 New file.
14028 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
14029 New file.
c01603f7
AZ
14030 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
14031 New file.
14032 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
14033 New file.
14034 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
14035 New file.
14036 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
14037 New file.
14038 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
14039 New file.
14040 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
14041 New file.
14042
140432014-02-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14044
0ff82463
AZ
14045 * nptl/shlib-versions: Change powerpc*le start to 2.17.
14046 * shlib-versions: Likewise.
14047
1695c773
AZ
140482014-02-04 Roland McGrath <roland@hack.frob.com>
14049 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14050
14051 * sysdeps/powerpc/Makefile [$(config-machine) ends with 'le']
14052 (abilist-pattern): New variable, set to %-le.abilist.
14053
14054 * Makerules (abilist-pattern): New variable.
14055 (vpath): Use $(abilist-pattern) in place of %.abilist.
14056 (check-abi-% pattern rule): Likewise.
14057 (check-abi, update-abi): Likewise.
14058
6c0ce4b4
EW
140592014-02-04 Eric Wong <normalperson@yhbt.net>
14060
14061 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
14062
481e3524
CD
140632014-02-03 Carlos O'Donell <carlos@redhat.com>
14064
14065 * manual/startup.texi: Add next, previous, and top entries for
14066 the `Program Arguments' and `Environment Variables' nodes.
14067
375592d3
AO
140682014-02-03 Alexandre Oliva <aoliva@redhat.com>
14069
14070 * manual/macros.texi: Add comments before MTASC-safety macros.
14071
f54838ba
AO
14072 * manual/users.texi: Document MTASC-safety properties.
14073
57f41c40
AS
14074 * manual/threads.texi (pthread_key_create, pthread_key_delete)
14075 (pthread_getspecific, pthread_setspecific): Format with
909e12ad
AO
14076 @deftypefun, and add @safety note.
14077 * manual/signal.texi: Move comments that analyze the above
14078 functions to their home place.
14079
fd3daba4
AM
140802014-02-03 Allan McRae <allan@archlinux.org>
14081
14082 * po/sl.po: Update Slovenian translation from translation project.
14083
597636d7
AO
140842014-02-02 Alexandre Oliva <aoliva@redhat.com>
14085
14086 * manual/time.texi (timegm): Add missing blank after @c.
14087 Reported by Joseph Myers <joseph@codesourcery.com>.
14088
ee196e3c
AO
140892014-02-01 Alexandre Oliva <aoliva@redhat.com>
14090
14091 * manual/check-safety.sh: New.
14092 * manual/Makefile ($(objpfx)stamp-summary): Run it.
14093
f8d529d5
AO
14094 * manual/terminal.texi: Document MTASC-safety properties.
14095
de55fdf4
AO
14096 * manual/filesys.texi: Document MTASC-safety properties.
14097
c3299c08
AO
14098 * manual/errno.texi: Document MTASC-safety properties.
14099
06e90b14
AO
14100 * manual/intro.texi: Document safety identifiers and
14101 conditionals.
14102
1acd4371
AO
14103 * manual/string.texi (wcstok): Fix prototype.
14104 (wcstok, strtok, strtok_r): Adjust reentrancy remarks.
14105
23e5b8cb
AO
14106 * manual/time.texi: Document MTASC-safety properties.
14107
11087373
AO
14108 * manual/string.texi: Document MTASC-safety properties.
14109
5da2c93d
AO
14110 * manual/threads.texi: Document MTASC-safety properties.
14111
171e9210
AO
14112 * manual/stdio.texi: Document MTASC-safety properties.
14113
d9e02532
AO
14114 * manual/syslog.texi: Document MTASC-safety properties.
14115
6af8bab7
AO
14116 * manual/sysinfo.texi: Document MTASC-safety properties.
14117
663b02d7
AO
14118 * manual/startup.texi: Document MTASC-safety properties.
14119
973f180b
AO
14120 * manual/socket.texi: Document MTASC-safety properties.
14121
8f3c25c8
AO
14122 * manual/signal.texi: Document MTASC-safety properties.
14123
542210fb
AO
141242014-01-31 Alexandre Oliva <aoliva@redhat.com>
14125
14126 * manual/setjmp.texi: Document MTASC-safety properties.
14127
433c45a2
AO
14128 * manual/search.texi: Document MTASC-safety properties.
14129
c8ce789c
AO
14130 * manual/resource.texi: Document MTASC-safety properties.
14131
19f5d29c
AO
14132 * manual/process.texi: Document MTASC-safety properties.
14133
e2dfb7f4
AO
14134 * manual/platform.texi: Document MTASC-safety properties.
14135
8c1413f5
AO
14136 * manual/pipe.texi: Document MTASC-safety properties.
14137
03483ada
AO
14138 * manual/pattern.texi: Document MTASC-safety properties.
14139
29e7e2df
AO
14140 * manual/message.texi: Document MTASC-safety properties.
14141
9f529d7c
AO
14142 [BZ #12751]
14143 * manual/memory.texi: Document MTASC-safety properties.
14144
27aaa791
AO
14145 * manual/math.texi: Document MTASC-safety properties.
14146
f2d58726
AO
14147 * manual/locale.texi: Document MTASC-safety properties.
14148
2cc3615c
AO
14149 * manual/llio.texi: Document MTASC-safety properties.
14150
d9f0ec97
AO
14151 * manual/libdl.texi: New.
14152
e7c4409a
AO
14153 * manual/lang.texi: Document MTASC-safety properties.
14154
27bdc63c
AO
14155 * manual/job.texi: Document MTASC-safety properties.
14156
a7b90ea9
AO
14157 * manual/getopt.texi: Document MTASC-safety properties.
14158
c49130e3
AO
14159 * manual/ctype.texi: Document MTASC-safety properties.
14160
0d23a5c1
MR
141612014-01-31 Maciej W. Rozycki <macro@codesourcery.com>
14162
14163 [BZ #16046]
14164 * csu/libc-tls.c (static_map): Remove variable.
14165 (__libc_setup_tls): Use main executable's link map for TLS data.
14166 * elf/dl-close.c (_dl_close_worker) [!SHARED]: Remove special
14167 casing for LM_ID_BASE and GL(dl_nns).
14168 * elf/dl-iteratephdr.c [!SHARED] (dl_iterate_phdr): Remove
14169 function. Alias dl_iterate_phdr to __dl_iterate_phdr.
14170 * elf/dl-load.c (_dl_map_object) [!SHARED]: Remove special
14171 casing for GL(dl_ns)[LM_ID_BASE]._ns_loaded.
14172 * elf/dl-support.c (_dl_main_map): Also initialize l_flags_1
14173 member.
14174 (_dl_non_dynamic_init): Also initialize _dl_main_map's l_phdr and
14175 l_phnum members.
14176
0037bb60
AO
141772014-01-30 Alexandre Oliva <aoliva@redhat.com>
14178
14179 * manual/debug.texi: Document MTASC-safety properties.
14180
409e00bd
L
141812014-01-29 H.J. Lu <hongjiu.lu@intel.com>
14182
14183 [BZ #16510]
14184 * sysdeps/x86/fpu/bits/mathinline.h: Check __SSE2_MATH__ instead
14185 of __x86_64__ when disabling x87 inline functions.
14186
86e60666
AO
141872014-01-29 Alexandre Oliva <aoliva@redhat.com>
14188
14189 * manual/charset.texi: Document MTASC-safety properties.
14190
76167637
AO
14191 * manual/crypt.texi: Document MTASC-safety properties.
14192
e567f2a0
AO
14193 * manual/conf.texi: Document MTASC-safety properties.
14194
b719dafd
AO
14195 * manual/arith.texi: Document MTASC-safety properties.
14196
4a16c662
AO
14197 * manual/argp.texi: Document MTASC-safety properties.
14198
0a57b83e
AO
14199 * manual/macros.texi: Introduce macros to document multi
14200 thread, asynchronous signal and asynchronous cancellation
14201 safety properties.
14202 * manual/intro.texi: Introduce the properties themselves.
14203
feab2397
KK
142042014-01-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
14205
14206 * sysdeps/sh/sh4/Makefile: New file.
14207
1c0d11bc
AS
142082014-01-27 Andreas Schwab <schwab@linux-m68k.org>
14209
14210 * math/gen-libm-test.pl ($srcdir): New variable.
14211 ($auto_input): Use it.
14212
af37a8a3
SP
142132014-01-27 Siddhesh Poyarekar <siddhesh@redhat.com>
14214
d7b00f98
SP
14215 [BZ #16506]
14216 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Avoid
14217 access beyond array bounds when parsing netgroups file.
14218
af37a8a3
SP
14219 * nscd/netgroupcache.c (addgetnetgrentX): Compute offset from
14220 the old buffer before realloc.
14221
0c00f062
AM
142222014-01-27 Allan McRae <allan@archlinux.org>
14223
14224 * po/fr.po: Update French translation from translation project.
14225
7d69a1b0
KK
142262014-01-26 Kaz Kojima <kkojima@rr.iij4u.or.jp>
14227
14228 * sysdeps/sh/libm-test-ulps: Regenerate.
14229
6e697ff7
DM
142302014-01-24 David S. Miller <davem@davemloft.net>
14231
14232 * sysdeps/sparc/fpu/libm-test-ulps: Regenerate.
14233
9cadb35c
KK
142342014-01-25 Kaz Kojima <kkojima@rr.iij4u.or.jp>
14235
14236 * sysdeps/sh/sh4/fpu/libm-test-ulps: Move to ...
14237 * sysdeps/sh/libm-test-ulps: ... here and regenerated.
14238
5d41dadf
SP
142392013-01-24 Siddhesh Poyarekar <siddhesh@redhat.com>
14240
14241 [BZ #16474]
14242 * nscd/netgroupcache.c (addgetnetgrentX): Adjust triplet
14243 string pointers after reallocation.
14244
0bad441c
KK
142452014-01-24 Kaz Kojima <kkojima@rr.iij4u.or.jp>
14246
14247 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: Use __SH4__ and
14248 __SH4A__ instead of __SH_FPU_ANY__.
14249
7007c661
KK
142502014-01-23 Kaz Kojima <kkojima@rr.iij4u.or.jp>
14251
14252 * sysdeps/sh/fpu_control.h: New file.
14253 * sysdeps/sh/sh4/fpu/fpu_control.h: Remove.
14254 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: New file.
14255 * sysdeps/unix/sysv/linux/sh/sh3/sys/ucontext.h: Remove.
14256 * sysdeps/unix/sysv/linux/sh/sh3/sys: Remove directory.
14257 * sysdeps/unix/sysv/linux/sh/sh4/sys/ucontext.h: Remove.
14258 * sysdeps/unix/sysv/linux/sh/sh4/sys: Remove directory.
14259 * sysdeps/sh/sys/ucontext.h: Remove.
14260 * sysdeps/sh/sys: Remove directory.
14261
0f0c35e4
AK
142622014-01-22 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
14263
14264 * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Merge into
14265 s390/sys/ucontext.h.
14266 * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Likewise.
14267 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: New file.
14268
4959e284
L
142692014-01-20 H.J. Lu <hongjiu.lu@intel.com>
14270
14271 [BZ #15605]
14272 * sysdeps/x86_64/x32/symbol-hacks.h: Include generic symbol-hacks.h.
14273
d98720e0
AZ
142742014-01-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14275
14276 [BZ#16431]
14277 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
14278 Adjust the vDSO correctly for internal calls.
14279 * sysdeps/unix/sysv/linux/powerpc/time.c (time): Likewise.
14280
91cbd0bc
AM
142812014-01-20 Allan McRae <allan@archlinux.org>
14282
14283 * po/ca.po: Update Catalan translation from translation project.
14284
7a02cfad
MF
142852014-01-16 Mike Frysinger <vapier@gentoo.org>
14286
14287 * sysdeps/s390/sotruss-lib.c: New file.
14288
736c304a
AZ
142892014-01-16 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14290
14291 [BZ#16430]
6e077ee5 14292 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c
736c304a
AZ
14293 (__GI___gettimeofday): Alias for a different internal symbol to avoid
14294 local calls issues by not having a PLT stub required for IFUNC calls.
14295 * sysdeps/unix/sysv/linux/powerpc/time.c (__GI_time): Likewise.
14296
94d0cea0
JM
142972014-01-16 Joseph Myers <joseph@codesourcery.com>
14298
14299 * math/test-fpucw-ieee.c: Use <> in #include of test-fpucw.c.
14300 * math/test-fpucw-static.c: Likewise.
14301
980cb518
SP
143022013-01-16 Siddhesh Poyarekar <siddhesh@redhat.com>
14303
14304 [BZ #16453]
14305 * nscd/netgroupcache.c (addgetnetgrentX): Don't use alloca.
14306
2393fc01
AZ
143072014-01-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14308
14309 * sysdeps/powerpc/sotruss-lib.c: New file: sotruss-lib.so
14310 implementation for powerpc.
14311
d359bcc2
OB
143122014-01-15 Ondřej Bílka <neleai@seznam.cz>
14313
14314 [BZ #14782]
14315 * sysdeps/posix/system.c (__libc_system): Do not enable
14316 asynchronous cancellation.
14317
7beb48cb
AK
143182014-01-15 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
14319
14320 [BZ #16427]
14321 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Invoke the non-IEEE
14322 handling only for numbers special also in the IEEE case.
14323
c20d5bf5
AK
143242014-01-15 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
14325
14326 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
14327
e83bd4ee
AM
143282014-01-11 Allan McRae <allan@archlinux.org>
14329
76d0ea69
AM
14330 * po/bg.po: Update Bulgarian translation from translation project.
14331
e83bd4ee
AM
14332 * po/de.po: Update German translation from translation project.
14333
bc2ba20a
RM
143342014-01-10 Roland McGrath <roland@hack.frob.com>
14335
14336 * sysdeps/generic/gcc-compat.h: New file.
14337
649ecea2
SP
143382014-01-10 Siddhesh Poyarekar <siddhesh@redhat.com>
14339
14340 * benchtests/asin-inputs: Correct slow inputs.
14341 * benchtests/acos-inputs: Likewise.
14342
1b19c006
AM
143432014-01-10 Allan McRae <allan@archlinux.org>
14344
a46dab08
AM
14345 * po:sv.po: Update Swedish translation from translation project.
14346
421df74a
AM
14347 * po/vi.po: Update Vietnamese translation from translation project.
14348
d61c51a7
AM
14349 * po/eo.po: Update Esperanto translation from translation project.
14350
0339a319
AM
14351 * po/cs.po: Update Czech translation from translation project.
14352
94ad3e99
AM
14353 * po/nl.po: Update Dutch translation from translation project.
14354
e349ca71
AM
14355 * po/pl.po: Update Polish translation from translation project.
14356
ddf930c1
AM
14357 * po/ru.po: Update Russian translation from translation project.
14358
1b19c006
AM
14359 * po/uk.po: Update Ukrainian translation from translation project.
14360
9f236c49
BM
143612014-01-08 Brooks Moses <bmoses@google.com>
14362
14363 * elf/dl-load.c: Fix comment typo.
14364
cd6701cf
CD
143652014-01-08 Carlos O'Donell <carlos@redhat.com>
14366
14367 * po/header.pot: Rename to...
14368 * po/pot.header: ... this.
14369 * po/Makefile: Use pot.header.
14370
66671c84
YK
143712014-01-08 Yuriy Kaminskiy <yumkam@gmail.com>
14372 Maxim Kuvyrkov <maxim@kugelworks.com>
14373
14374 [BZ #16394]
cd6701cf
CD
14375 * sysdeps/i386/i686/memmove.S (memmove): Compare distance between
14376 SRC and DEST against LEN.
66671c84 14377
38f34581
AZ
143782014-01-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14379
14380 [BZ #16414]
14381 * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Remove wrong
14382 implementation.
14383 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Remove bogus comment.
14384
143852014-01-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3ff6304e
AZ
14386
14387 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
14388
4c327f2a
JM
143892014-01-08 Joseph Myers <joseph@codesourcery.com>
14390
14391 [BZ #16408]
14392 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Use __expl
14393 for large positive arguments.
14394
b821f414
JM
143952014-01-07 Joseph Myers <joseph@codesourcery.com>
14396
1f0f2067
JM
14397 * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
14398
a5a326f6
JM
14399 * math/auto-libm-test-in: Mark various tests with
14400 xfail-rounding:ldbl-128ibm.
14401 * math/auto-libm-test-out: Regenerated.
14402
b821f414
JM
14403 [BZ #16407]
14404 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
14405 Increase overflow threshold.
14406
94c8a4bc
OB
144072014-01-07 Ondřej Bílka <neleai@seznam.cz>
14408
14409 [BZ #14286]
14410 * stdio-common/vfprintf.c: Check for integer overflow.
14411
87ded0c3
AK
144122014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
14413
14414 * sysdeps/s390/dl-tls.h: sysdeps/s390/dl-tls.h: Remove casts for
14415 the first argument and return value of __tls_get_addr_internal.
14416
c5eebdd0
AK
144172014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
14418
14419 * sysdeps/s390/s390-32/dl-machine.h: Gate the definition of refsym
14420 also with !RTLD_BOOTSTRAP to get rid of unused variable warning.
14421
05d138ef
AK
144222014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
14423
14424 * sysdeps/s390/Makefile: Build rtld-global-offsets.sym.
14425 * sysdeps/s390/rtld-global-offsets.sym: New file.
14426 * sysdeps/unix/sysv/linux/s390/Versions: Add getcontext as new
14427 GLIBC_2.19 symbol.
14428 * sysdeps/unix/sysv/linux/s390/getcontext.S: New file.
14429 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Rename to ...
14430 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
14431 ... this.
14432 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Rename to ...
14433 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
14434 ... this.
14435 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
14436 Regenerate.
14437 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
14438 Regenerate.
14439 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Restore upper
14440 halfs of GPRs for high_gprs contexts.
14441 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Save and
14442 restore upper halfs of GPRs for high_gprs contexts. Copy uc_flags
14443 field.
14444 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Copy
14445 uc_flags field.
14446 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: Split into 32 and
14447 64 bit versions:
14448 * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Add field
14449 for high GPRs (uc_high_gprs) and for future extensions
14450 (__reserved).
14451 * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Add field
14452 for future extensions (__reserved).
14453 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Split into 32 and
14454 64 bit versions:
14455 * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym: Add
14456 SC_HIGHGPRS offset definition.
14457 * sysdeps/unix/sysv/linux/s390/s390-64/ucontext_i.sym: New file.
14458 * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: New file.
14459
93a45ff1
AK
14460 * Versions.def: Add GLIBC_2.19 for libpthread.
14461 * nptl/sysdeps/unix/sysv/linux/s390/Versions: Add longjmp and
14462 siglongjmp for libpthread with GLIBC_2.19 symver.
14463 * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: New file.
14464 * sysdeps/s390/Makefile: Build v1-longjmp.c and v1-sigjmp.c.
14465 * sysdeps/s390/Versions: New GLIBC_2.19 and GLIBC_PRIVATE symbols.
14466 * sysdeps/s390/__longjmp.c: New file.
14467 * sysdeps/s390/bits/setjmp.h: Add new fields to __s390_jmp_buf.
14468 * sysdeps/s390/longjmp.c: New file.
14469 * sysdeps/s390/setjmp.S: New file.
14470 * sysdeps/s390/sigjmp.S: New file.
14471 * sysdeps/s390/v1-longjmp.c: New file.
14472 * sysdeps/s390/v1-setjmp.h: New file.
14473 * sysdeps/s390/v1-sigjmp.c: New file.
14474 * sysdeps/unix/sysv/linux/s390/Makefile: Build __longjmp_chk.
14475 * sysdeps/unix/sysv/linux/s390/Versions: Add __longjmp_chk with
14476 GLIBC_2.19 version.
14477 * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: New file.
14478 * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c: Provide
14479 versioned symbols for ____longjmp_chk.
14480 * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
14481 Likewise.
14482 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
14483 Regenerate.
14484 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
14485 Regenerate.
14486 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
14487 Regenerate.
14488 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
14489 Regenerate.
14490 * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: New file.
14491 * sysdeps/s390/s390-32/__longjmp.c: Rename to ...
14492 * sysdeps/s390/s390-32/__longjmp-common.c: ... this.
14493 * sysdeps/s390/s390-32/setjmp.S: Rename and adjust to ...
14494 * sysdeps/s390/s390-32/setjmp-common.S: ... this.
14495 * sysdeps/s390/s390-64/__longjmp.c: Rename to ...
14496 * sysdeps/s390/s390-64/__longjmp-common.c: ... this.
14497 * sysdeps/s390/s390-64/setjmp.S: Rename and adjust to ...
14498 * sysdeps/s390/s390-64/setjmp-common.S: ... this.
14499 * sysdeps/s390/rtld-__longjmp.c: New file.
14500 * sysdeps/s390/rtld-setjmp.S: New file.
14501
eb3fc44b
JM
145022014-01-06 Joseph Myers <joseph@codesourcery.com>
14503
14504 [BZ #16400]
14505 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
14506 Return -__logl (x) for small positive arguments without evaluating
14507 a polynomial.
14508
9341dde4
MF
145092014-01-06 Mike Frysinger <vapier@gentoo.org>
14510
14511 * sysdeps/unix/sysv/linux/sys/ptrace.h (ptrace_peeksiginfo_args):
14512 Rename to ...
14513 (__ptrace_peeksiginfo_args): ... this.
14514 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
14515 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
14516 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
14517
4cff0293
AM
145182014-01-06 Allan McRae <allan@archlinux.org>
14519
14520 * inet/netinet/in.h: Fix typo in comment.
14521
75595dcf
AJ
145222014-01-05 Andreas Jaeger <aj@suse.de>
14523
14524 * sysdeps/i386/fpu/libm-test-ulps: Update.
14525
79c1e109
AM
145262014-01-05 Allan McRae <allan@archlinux.org>
14527
dd804818
AM
14528 * po/libc.pot: Regenerated.
14529
79c1e109
AM
14530 * malloc/memusagestat.c: Fix gettext call formatting.
14531
0c813d1f
SK
145322014-01-04 Sami Kerola <kerolasa@iki.fi>
14533
14534 * nscd/nscd.c: Improve usage() output.
14535
20f4a8d9
MF
145362014-01-04 Mike Frysinger <vapier@gentoo.org>
14537
14538 * config.h.in: Add HAVE_LINUX_FANOTIFY_H template.
14539 * sysdeps/unix/sysv/linux/configure: Regenerated.
14540 * sysdeps/unix/sysv/linux/configure.ac: Call AC_DEFINE.
14541 * sysdeps/unix/sysv/linux/tst-fanotify.c: Include config.h.
14542
22562bb2
JM
145432014-01-03 Joseph Myers <joseph@codesourcery.com>
14544
14545 [BZ #16390]
14546 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
14547 (CFLAGS-e_atan2l.c): Use -fno-builtin-fabsl.
14548
d7ad2d9b
AZ
145492014-01-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14550
14551 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: Remove
14552 extra tokens at end of #undef directive.
14553 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: Likewise.
14554 * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: Likewise.
14555 * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
14556
7dd009d8
JM
145572014-01-03 Joseph Myers <joseph@codesourcery.com>
14558
24db925a
JM
14559 * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
14560
7dd009d8
JM
14561 * math/auto-libm-test-in: Mark various tests with
14562 xfail-rounding:ldbl-128ibm.
14563 * math/auto-libm-test-out: Regenerated.
14564
396e3ecf
JM
145652014-01-02 Joseph Myers <joseph@codesourcery.com>
14566
819e5d50
JM
14567 [BZ #16386]
14568 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Adjust
14569 numbers with subnormal high part when calculating exponent.
14570
90b6a1e5
JM
14571 [BZ #16385]
14572 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Use fabsl not
14573 fabs.
14574
396e3ecf
JM
14575 [BZ #16384]
14576 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (ln2): Initialize with
14577 M_LN2l.
14578 (__ieee754_acoshl): Use __log1pl not __log1p.
14579
6c8dbf00
OB
145802013-01-02 Ondřej Bílka <neleai@seznam.cz>
14581
57f41c40
AS
14582 * malloc/arena.c (malloc_atfork, free_atfork, ptmalloc_lock_all)
14583 (ptmalloc_unlock_all, ptmalloc_unlock_all2, next_env_entry)
14584 (__failing_morecore, ptmalloc_init, dump_heap, new_heap)
14585 (grow_heap, heap_trim, _int_new_arena, get_free_list)
14586 (reused_arena, arena_get2): Convert to GNU style.
14587 * malloc/hooks.c (memalign_hook_ini, __malloc_check_init)
14588 (mem2mem_check, mem2chunk_check, top_check, realloc_check)
14589 (memalign_check, __malloc_set_state): Likewise.
6c8dbf00 14590 * malloc/mallocbug.c (main): Likewise.
57f41c40
AS
14591 * malloc/malloc.c (__malloc_assert, malloc_init_state)
14592 (free_perturb, do_check_malloced_chunk, do_check_malloc_state)
14593 (sysmalloc, systrim, mremap_chunk, __libc_malloc, __libc_free)
14594 (__libc_realloc, _mid_memalign, _int_malloc, malloc_consolidate)
14595 (_int_realloc, _int_memalign, mtrim, musable, __libc_mallopt)
14596 (__posix_memalign, malloc_info): Likewise.
6c8dbf00 14597 * malloc/malloc.h: Likewise.
57f41c40
AS
14598 * malloc/mcheck.c (checkhdr, unlink_blk, link_blk, freehook)
14599 (mallochook, memalignhook, reallochook, mabort): Likewise.
6c8dbf00 14600 * malloc/mcheck.h: Likewise.
57f41c40
AS
14601 * malloc/memusage.c (update_data, me, malloc, realloc, calloc)
14602 (free, mmap, mmap64, mremap, munmap, dest): Likewise.
6c8dbf00
OB
14603 * malloc/memusagestat.c (main, parse_opt, more_help): Likewise.
14604 * malloc/morecore.c (__default_morecore): Likewise.
14605 * malloc/mtrace.c (tr_break, lock_and_info, mtrace): Likewise.
57f41c40
AS
14606 * malloc/obstack.c (_obstack_begin, _obstack_newchunk)
14607 (_obstack_allocated_p, obstack_free, _obstack_memory_used)
14608 (print_and_abort): Likewise.
6c8dbf00
OB
14609 * malloc/obstack.h: Likewise.
14610 * malloc/set-freeres.c (__libc_freeres): Likewise.
14611 * malloc/tst-mallocstate.c (main): Likewise.
14612 * malloc/tst-mtrace.c (main): Likewise.
14613 * malloc/tst-realloc.c (do_test): Likewise.
14614
d4124212
SP
146152013-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
14616
9a3c6a6f
SP
14617 [BZ #16366]
14618 * nscd/netgroupcache.c (do_notfound): New function.
14619 (addgetnetgrentX): Use it.
14620
d4124212
SP
14621 [BZ # 16365]
14622 * nscd/netgroupcache.c (addgetnetgrentX): Break if status is
14623 NSS_STATUS_NOTFOUND.
14624
97b9a009
JM
146252014-01-01 Joseph Myers <joseph@codesourcery.com>
14626
14627 * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
14628 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14629
d4697bc9
AM
146302014-01-01 Allan McRae <allan@archlinux.org>
14631
ddb3687f
AM
14632 * scripts/update-copyrights: Update configure input file suffix.
14633
88726d48
AM
14634 * NEWS: Update copyright year.
14635 * catgets/gencat.c: Likewise.
14636 * csu/version.c: Likewise.
14637 * debug/catchsegv.sh: Likewise.
14638 * debug/pcprofiledump.c: Likewise.
14639 * debug/xtrace.sh: Likewise.
14640 * elf/ldconfig.c: Likewise.
14641 * elf/ldd.bash.in: Likewise.
14642 * elf/pldd.c: Likewise.
14643 * elf/sotruss.ksh: Likewise.
14644 * elf/sprof.c: Likewise.
14645 * iconv/iconv_prog.c: Likewise.
14646 * iconv/iconvconfig.c: Likewise.
14647 * locale/programs/locale.c: Likewise.
14648 * locale/programs/localedef.c: Likewise.
14649 * login/programs/pt_chown.c: Likewise.
14650 * malloc/memusage.sh: Likewise.
14651 * malloc/memusagestat.c: Likewise.
14652 * malloc/mtrace.pl: Likewise.
14653 * manual/libc.texinfo: Likewise.
14654 * nscd/nscd.c: Likewise.
14655 * nss/getent.c: Likewise.
14656 * nss/makedb.c: Likewise.
14657 * posix/getconf.c: Likewise.
14658 * scripts/test-installation.pl: Likewise.
14659
d4697bc9
AM
14660 * All files with FSF copyright notices: Update copyright dates
14661 using scripts/update-copyrights.
14662 * intl/plural.c: Regenerated.
14663 * locale/programs/charmap-kw.h: Likewise.
14664 * locale/programs/locfile-kw.h: Likewise.
14665
c8590f9d
MF
146662013-12-31 Mike Frysinger <vapier@gentoo.org>
14667
14668 * sysdeps/unix/sysv/linux/configure: Regenerated.
14669 * sysdeps/unix/sysv/linux/configure.ac: Call AC_CHECK_HEADER on
14670 the linux/fanotify.h header.
14671 * sysdeps/unix/sysv/linux/tst-fanotify.c: Check if
14672 HAVE_LINUX_FANOTIFY_H is defined.
14673
b19221b9
SP
146742013-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
14675
dd1d85e5
SP
14676 * benchtests/cos-inputs: New inputs.
14677 * benchtests/sin-inputs: Likewise.
14678
1acbb90f
SP
14679 * benchtests/atan-inputs: New inputs. Fix name of multiple
14680 precision fallback inputs.
14681
4c012ed3
SP
14682 * benchtests/atanh-inputs: New inputs.
14683 * benchtests/tanh-inputs: Likewise.
14684
eff98324
SP
14685 * benchtests/acosh-inputs: New inputs.
14686 * benchtests/asinh-inputs: Likewise.
14687
ce641152
SP
14688 * benchtests/cosh-inputs: New inputs.
14689 * benchtests/sinh-inputs: Likewise.
14690
b19221b9
SP
14691 * benchtests/acos-inputs: Add more inputs.
14692 * benchtests/asin-inputs: Likewise.
14693
030a4976 146942013-12-30 Ville Skytta <ville.skytta@iki.fi>
9dcc8f11 14695
030a4976 14696 [BZ #16375]
9dcc8f11
VS
14697 * manual/arith.texi: Fix spelling.
14698 * manual/charset.texi: Likewise.
14699 * manual/errno.texi: Likewise.
14700 * manual/filesys.texi: Likewise.
14701 * manual/lang.texi: Likewise.
14702 * manual/llio.texi: Likewise.
14703 * manual/locale.texi: Likewise.
14704 * manual/message.texi: Likewise.
14705 * manual/resource.texi: Likewise.
14706 * manual/search.texi: Likewise.
14707 * manual/setjmp.texi: Likewise.
14708 * manual/stdio.texi: Likewise.
14709 * manual/string.texi: Likewise.
14710 * manual/sysinfo.texi: Likewise.
14711 * manual/time.texi: Likewise.
14712
11520a57
CD
147132013-12-27 Carlos O'Donell <carlos@redhat.com>
14714
14715 * po/sl.po: New file.
14716
471103ae
MF
147172013-12-27 Mike Frysinger <vapier@gentoo.org>
14718
14719 * .gitignore: Add core/.gdbinit/.gdb_history.
14720
6c9642ed
AM
147212013-12-27 Allan McRae <allan@archlinux.org>
14722
14723 [BZ #16369]
14724 * sysdeps/ieee754/dbl-64/s_sin.c (csloww): Fix variable name.
14725 Reported by Il'ya Malakhov <ilmalakhov@yandex.ru>
14726
3f637079
BM
147272013-12-24 Brooks Moses <bmoses@google.com>
14728
14729 * string/string.h (__CORRECT_ISO_CPP_STRING_H_PROTO): Define for
14730 all compilers that claim C++98 compliance, not just GCC.
14731 * string/strings.h (__CORRECT_ISO_CPP_STRINGS_H_PROTO):
14732 Likewise.
14733
abc26e99
MK
147342013-12-24 Maxim Kuvyrkov <maxim@kugelworks.com>
14735
14736 * NEWS: Restore accidentally deleted bug-fix entries.
14737
362b47fe
MK
147382013-12-24 Maxim Kuvyrkov <maxim@kugelworks.com>
14739 Ondřej Bílka <neleai@seznam.cz>
14740
14741 [BZ #15073]
14742 * malloc/malloc.c (_int_free): Perform sanity check only if we
11520a57 14743 have_lock.
362b47fe 14744
b9bcbbcb
OB
147452013-12-23 Ondřej Bílka <neleai@seznam.cz>
14746
14747 [BZ #12986]
14748 * manual/stdio.texi (String Input Conversions): Clarify that character
14749 classes are not supported.
14750
fb55fcd2
AZ
147512013-12-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14752
14753 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
14754
ef7344f0
JM
147552013-12-22 Joseph Myers <joseph@codesourcery.com>
14756
4f40e4b3
JM
14757 [BZ #16337]
14758 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
14759 Calculate results for small negative arguments directly rather
14760 than using reflection formula with special underflow handling.
14761
ef7344f0
JM
14762 * sysdeps/mach/hurd/Implies: Change unix/bsd/bsd4.4 to unix/bsd.
14763 * sysdeps/unix/bsd/syscalls.list (chflags): Add entry from
14764 sysdeps/unix/bsd/bsd4.4/syscalls.list.
14765 (fchflags): Likewise.
14766 (revoke): Likewise.
14767 (setlogin): Likewise.
14768 (sigaltstack): Likewise.
14769 (wait4): Likewise.
14770 (sigblock): Remove.
14771 (sigsetmask): Likewise.
14772 (wait3): Likewise.
14773 (waitpid): Likewise.
14774 * sysdeps/unix/bsd/bsd4.4/syscalls.list: Remove file.
14775 * sysdeps/unix/sysv/linux/wait3.c: Update directory of included
14776 file.
14777 * sysdeps/unix/bsd/bsd4.4/Makefile: Move to ...
14778 * sysdeps/unix/bsd/Makefile: ... here.
14779 * sysdeps/unix/bsd/bsd4.4/Versions: Move to ...
14780 * sysdeps/unix/bsd/Versions: ... here.
14781 * sysdeps/unix/bsd/bsd4.4/bits/sockaddr.h: Move to ...
14782 * sysdeps/unix/bsd/bits/sockaddr.h: ... here.
14783 * sysdeps/unix/bsd/bsd4.4/cmsg_nxthdr.c: Move to ...
14784 * sysdeps/unix/bsd/cmsg_nxthdr.c: ... here.
14785 * sysdeps/unix/bsd/bsd4.4/sigblock.c: Move to ...
14786 * sysdeps/unix/bsd/sigblock.c: ... here.
14787 * sysdeps/unix/bsd/bsd4.4/sigsetmask.c: Move to ...
14788 * sysdeps/unix/bsd/sigsetmask.c: ... here.
14789 * sysdeps/unix/bsd/bsd4.4/sigvec.c: Move to ...
14790 * sysdeps/unix/bsd/sigvec.c: ... here.
14791 * sysdeps/unix/bsd/bsd4.4/tcdrain.c: Move to ...
14792 * sysdeps/unix/bsd/tcdrain.c: ... here.
14793 * sysdeps/unix/bsd/bsd4.4/tcgetattr.c: Move to ...
14794 * sysdeps/unix/bsd/tcgetattr.c: ... here.
14795 * sysdeps/unix/bsd/bsd4.4/tcsetattr.c: Move to ...
14796 * sysdeps/unix/bsd/tcsetattr.c: ... here.
14797 * sysdeps/unix/bsd/bsd4.4/wait.c: Move to ...
14798 * sysdeps/unix/bsd/wait.c: ... here.
14799 * sysdeps/unix/bsd/bsd4.4/wait3.c: Move to ...
14800 * sysdeps/unix/bsd/wait3.c: ... here.
14801 * sysdeps/unix/bsd/bsd4.4/waitpid.c: Move to ...
14802 * sysdeps/unix/bsd/waitpid.c: ... here.
14803
5b0626b9
JM
148042013-12-21 Joseph Myers <joseph@codesourcery.com>
14805
14806 [BZ #16356]
14807 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Also set
14808 round-to-nearest for [!USE_AS_EXPM1L].
14809 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Likewise.
14810 * math/auto-libm-test-in: Do not expect cosh tests to fail. Add
14811 more tests of exp and exp10. Expect some exp10 tests to miss
14812 exceptions or fail in directed rounding modes.
14813 * math/auto-libm-test-out: Regenerated.
14814 * math/libm-test.inc (exp10_tonearest_test_data): New array.
14815 (exp10_test_tonearest): New function.
14816 (exp10_towardzero_test_data): New array.
14817 (exp10_test_towardzero): New function.
14818 (exp10_downward_test_data): New array.
14819 (exp10_test_downward): New function.
14820 (exp10_upward_test_data): New array.
14821 (exp10_test_upward): New function.
14822 (main): Call the new functions.
14823 * sysdeps/i386/fpu/libm-test-ulps: Update.
14824 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14825
7fda5682
JM
148262013-12-20 Joseph Myers <joseph@codesourcery.com>
14827
31e3a405
JM
14828 * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
14829 asinh, atan, atan2, atanh, cbrt, cos and cosh.
14830 * math/auto-libm-test-out: Regenerated.
14831 * math/libm-test.inc (acosh_test_data): Add more tests.
14832 (atanh_test_data): Likewise.
14833 (ceil_test_data): Likewise.
14834 (copysign_test_data): Likewise.
14835 * sysdeps/i386/fpu/libm-test-ulps: Update.
14836 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14837
85bff96a
JM
14838 * timezone/checktab.awk: Update from tzcode 2013i.
14839 * timezone/private.h: Likewise.
14840 * timezone/scheck.c: Likewise.
14841 * timezone/tzfile.h: Likewise.
14842 * timezone/tzselect.ksh: Likewise.
14843 * timezone/zdump.c: Likewise.
14844 * timezone/zic.c: Likewise.
14845
b7867a3b
JM
14846 * math/auto-libm-test-in: Add tests of cpow.
14847 * math/auto-libm-test-out: Regenerated.
14848 * math/libm-test.inc (cpow_test_data): Use AUTO_TESTS_cc_c.
57f41c40 14849 * math/gen-auto-libm-tests.c (func_calc_method): Add value
b7867a3b
JM
14850 mpc_cc_c.
14851 (func_calc_desc): Add mpc_cc_c union field.
14852 (test_functions): Add cpow.
14853 (special_fill_2pi): New function.
14854 (special_real_inputs): Add 2pi.
14855 (calc_generic_results): Handle mpc_cc_c.
14856 * sysdeps/i386/fpu/libm-test-ulps: Update.
14857 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14858
7fda5682
JM
14859 * math/auto-libm-test-in: Add tests of ccos, ccosh, cexp, clog,
14860 csqrt, ctan and ctanh.
14861 * math/auto-libm-test-out: Regenerated.
14862 * math/libm-test.inc (TEST_COND_x86_64): New macro.
14863 (TEST_COND_x86): Likewise.
14864 (ccos_test_data): Use AUTO_TESTS_c_c.
14865 (ccosh_test_data): Likewise.
14866 (cexp_test_data): Likewise.
14867 (clog_test_data): Likewise.
14868 (csqrt_test_data): Likewise.
14869 (ctan_test_data): Likewise.
14870 (ctan_tonearest_test_data): Likewise.
14871 (ctan_towardzero_test_data): Likewise.
14872 (ctan_downward_test_data): Likewise.
14873 (ctan_upward_test_data): Likewise.
14874 (ctanh_test_data): Likewise.
14875 (ctanh_tonearest_test_data): Likewise.
14876 (ctanh_towardzero_test_data): Likewise.
14877 (ctanh_downward_test_data): Likewise.
14878 (ctanh_upward_test_data): Likewise.
14879 * math/gen-auto-libm-tests.c (func_calc_method): Add value
14880 mpc_c_c.
14881 (func_calc_desc): Add mpc_c_c union field.
14882 (FUNC_mpc_c_c): New macro.
14883 (test_functions): Add cacos, cacosh, casin, casinh, catan, catanh,
14884 ccos, ccosh, cexp, clog, clog10, csin, csinh, csqrt, ctan and
14885 ctanh.
14886 (special_fill_min_subnorm_p120): New function.
14887 (special_real_inputs): Add min_subnorm_p120.
14888 (calc_generic_results): Handle mpc_c_c.
14889 * sysdeps/i386/fpu/libm-test-ulps: Update.
14890 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14891
5ff8d60e
SP
148922013-12-20 Siddhesh Poyarekar <siddhesh@redhat.com>
14893
57f41c40
AS
14894 * sysdeps/ieee754/dbl-64/s_sin.c (do_cos, do_cos_slow, do_sin)
14895 (do_sin_slow): New functions.
14896 (__sin, __cos, slow1, slow2, sloww1, sloww2, bsloww1, bsloww2)
14897 (cslow2, csloww1, csloww2): Use the new functions.
392dd2de 14898
84ba214c
SP
14899 * sysdeps/ieee754/dbl-64/s_sin.c (sloww1): Add new argument M.
14900 Use M to change sign of result instead of X. Assume X is
14901 positive.
14902 (csloww1): Likewise.
14903 (__sin): Adjust.
14904 (__cos): Adjust.
14905
975195e4
SP
14906 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): Remove
14907 arguments A and DA.
14908 (__sin): Adjust.
14909 (__cos): Likewise.
14910
5ff8d60e
SP
14911 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use DA directly.
14912 (__cos): Likewise.
14913 (sloww1): Don't adjust sign of DX.
14914 (csloww1): Likewise.
14915 (sloww2): Use X directly and don't adjust sign of DX.
14916 (csloww2): Likewise.
14917
eb983568
JM
149182013-12-19 Joseph Myers <joseph@codesourcery.com>
14919
64a17f1a
JM
14920 * math/auto-libm-test-in: Add tests of cabs and carg.
14921 * math/auto-libm-test-out: Regenerated.
14922 * math/libm-test.inc (cabs_test_data): Use AUTO_TESTS_c_f.
14923 (carg_test_data): Likewise.
14924 * math/gen-auto-libm-tests.c (func_calc_method): Add value
14925 mpc_c_f.
14926 (func_calc_desc): Add mpc_c_f union field.
14927 (test_functions): Add cabs and carg.
14928 (calc_generic_results): Handle mpc_c_f.
14929
eb983568
JM
14930 * sysdeps/powerpc/powerpc32/libgcc-compat.S
14931 [_SOFT_FLOAT || __NO_FPRS__] (__fixdfdi_v_glibc20): Do not define
14932 as a macro and a compat symbol.
14933 [_SOFT_FLOAT || __NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
14934 [_SOFT_FLOAT || __NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
14935 [_SOFT_FLOAT || __NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
14936 [_SOFT_FLOAT || __NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
14937 [_SOFT_FLOAT || __NO_FPRS__] (__floaddisf_v_glibc20): Likewise.
14938 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixdfdi): Do
14939 not use .hidden.
14940 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixsfdi):
14941 Likewise.
14942 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunsdfdi):
14943 Likewise.
14944 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunssfdi):
14945 Likewise.
14946 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddidf):
14947 Likewise.
14948 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddisf):
14949 Likewise.
14950 * sysdeps/powerpc/nofpu/Versions (libc): Remove __fixdfdi,
14951 __fixsfdi, __fixunsdfdi, __fixunssfdi, __floatdidf and __floatdisf
14952 from GLIBC_2.3.2.
14953
6eeb678a
AZ
149542013-12-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14955
14956 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
14957
6f6fc482
JM
149582013-12-19 Joseph Myers <joseph@codesourcery.com>
14959
21fea2e2
JM
14960 * manual/texinfo.tex: Update to version 2013-11-26.10 with
14961 trailing whitespace removed.
14962 * scripts/config.guess: Update to version 2013-11-29.
14963 * scripts/config.sub: Update to version 2013-10-01.
14964
6f6fc482
JM
14965 * math/auto-libm-test-in: Add tests of sincos.
14966 * math/auto-libm-test-out: Regenerated.
14967 * math/libm-test.inc (sincos_test_data): Use AUTO_TESTS_fFF_11.
14968 * math/gen-auto-libm-tests.c (func_calc_method): Add value
14969 mpfr_f_11.
14970 (func_calc_desc): Add mpfr_f_11 union field.
14971 (test_functions): Add sincos.
14972 (calc_generic_results): Handle mpfr_f_11.
14973 * sysdeps/i386/fpu/libm-test-ulps: Update.
14974 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14975
83f5c32d
AS
149762013-12-19 Andreas Schwab <schwab@suse.de>
14977
14978 * sysdeps/powerpc/powerpc64/power7/memchr.S: Fix argument of
14979 CALL_MCOUNT.
14980 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
14981 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S
14982 [USE_IN_EXTENDED_LOCALE_MODEL]: Likewise.
14983
c688b419
JM
149842013-12-19 Joseph Myers <joseph@codesourcery.com>
14985
335ee092
JM
14986 * math/gen-libm-test.pl (%beautify): Remove M_* constants.
14987 * sysdeps/i386/fpu/libm-test-ulps: Update.
14988 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14989
f88acd39
JM
14990 [BZ #16293]
14991 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Set
14992 round-to-nearest mode when using frndint.
14993 * sysdeps/i386/fpu/s_expm1.S (__expm1): Likewise.
14994 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
14995 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
14996 Likewise.
14997 * math/auto-libm-test-in: Add more tests of expm1. Do not expect
14998 sinh test to fail.
14999 * math/auto-libm-test-out: Regenerated.
15000 * math/libm-test.inc (TEST_COND_x86_64): Remove macro.
15001 (TEST_COND_x86): Likewise.
15002 (expm1_tonearest_test_data): New array.
15003 (expm1_test_tonearest): New function.
15004 (expm1_towardzero_test_data): New array.
15005 (expm1_test_towardzero): New function.
15006 (expm1_downward_test_data): New array.
15007 (expm1_test_downward): New function.
15008 (expm1_upward_test_data): New array.
15009 (expm1_test_upward): New function.
15010 (main): Run the new test functions.
15011 * sysdeps/i386/fpu/libm-test-ulps: Update.
15012 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15013
c688b419
JM
15014 * include/features.h: Update comment documenting feature test
15015 macros. Mention _DEFAULT_SOURCE in comment.
15016 [_GNU_SOURCE] (_DEFAULT_SOURCE): Undefine and redefine.
15017 [_DEFAULT_SOURCE]: Undefine and redefine _DEFAULT_SOURCE,
15018 _BSD_SOURCE and _SVID_SOURCE.
15019 [!__STRICT_ANSI__ && !_ISOC99_SOURCE && !_POSIX_SOURCE &&
15020 !_POSIX_C_SOURCE && !_XOPEN_SOURCE && !_BSD_SOURCE &&
15021 !_SVID_SOURCE]: Likewise.
15022 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
15023 (__USE_POSIX_IMPLICITLY): Define.
15024 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
15025 (_POSIX_SOURCE): Undefine and redefine.
15026 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
15027 (_POSIX_C_SOURCE): Likewise.
15028 * manual/creature.texi (_DEFAULT_SOURCE): Document.
15029 (Feature Test Macros): Update documentation of default features.
15030
9f6e964c
RS
150312013-12-19 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
15032
15033 * benchtests/Makefile: Add bench-strtok.
15034 * benchtests/bench-strtok.c: New file: strtok benchtest.
15035
ee0a148a
AM
150362013-12-19 Allan McRae <allan@archlinux.org>
15037
15038 * manual/install.texi: Suppress menu for plain text output.
15039 * INSTALL: Regenerated.
15040
b9ab448f
BM
150412013-12-18 Brooks Moses <bmoses@google.com>
15042
15043 [BZ #15846]
15044 * misc/getauxval.c: Include errno.h.
15045 (__getauxval): Set errno to ENOENT if the requested type is not
15046 found.
15047 * misc/sys/auxv.h (getauxval): Document that it may set errno;
15048 don't declare with __attribute_const__.
15049 * elf/tst-auxv.c: Add tests for errno and type-not-found case.
15050 * manual/startup.texi: Document that getauxval sets errno.
15051
23776487
JM
150522013-12-18 Joseph Myers <joseph@codesourcery.com>
15053
f889953b
JM
15054 * math/auto-libm-test-in: Add tests of jn and yn.
15055 * math/auto-libm-test-out: Regenerated.
15056 * math/libm-test.inc (jn_test_data): Use AUTO_TESTS_if_f.
15057 (yn_test_data): Likewise.
15058 * math/gen-auto-libm-tests.c (func_calc_method): Add value
15059 mpfr_if_f.
15060 (func_calc_desc): Add mpfr_if_f union field.
15061 (FUNC_mpfr_if_f): New macro.
15062 (test_functions): Add jn and yn.
15063 (calc_generic_results): Assert type of second input for
15064 mpfr_ff_f. Handle mpfr_if_f.
15065 (output_for_one_input_case): Disable all checking for arguments
15066 fitting floating-point types in case of an integer argument.
15067 * sysdeps/i386/fpu/libm-test-ulps: Update.
15068 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15069
23776487
JM
15070 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
15071 Don't expect fegetround reference in libm.so.
15072
cb756c6d
MS
150732013-12-17 Marcus Shawcroft <marcus.shawcroft@linaro.org>
15074
15075 * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_sqrt.c): Add
15076 $(config-cflags-nofma).
15077
2dec468f
JM
150782013-12-18 Joseph Myers <joseph@codesourcery.com>
15079
5953eb3a
JM
15080 * math/auto-libm-test-in: Mark some hypot tests no-test-inline.
15081 * math/auto-libm-test-out: Regenerated.
15082
2dec468f
JM
15083 [BZ #16338]
15084 * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Use __frexpl
15085 to determine exponent and adjust argument to have exponent of -1.
15086 * math/auto-libm-test-in: Add more tests of log, log10, log1p and
15087 log2.
15088 * math/auto-libm-test-out: Regenerated.
15089 * sysdeps/i386/fpu/libm-test-ulps: Update.
15090 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15091
4d84e6ad
OB
150922013-12-18 Ondřej Bílka <neleai@seznam.cz>
15093
15094 * manual/probes.texi: Remove cases when per-thread arenas are
15095 disabled.
15096
1818483b
AS
150972013-12-18 Andreas Schwab <schwab@suse.de>
15098
15099 * sysdeps/i386/i686/multiarch/strstr.c: Remove.
15100 * sysdeps/i386/i686/multiarch/strstr-c.c: Remove.
15101 * sysdeps/i386/i686/multiarch/strcasestr.c: Remove.
15102 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: Remove.
15103 * sysdeps/i386/i686/multiarch/Makefile: Update.
15104 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: Update.
15105
25de95bf
JM
151062013-12-17 Joseph Myers <joseph@codesourcery.com>
15107
15108 * sysdeps/unix/bsd/bsd4.4/bits/errno.h: Remove file.
15109 * sysdeps/unix/bsd/bsd4.4/bits/ioctls.h: Likewise.
15110
674762d9
PE
151112013-12-17 Paul Eggert <eggert@cs.ucla.edu>
15112
ed27ed83 15113 [BZ #15968]
0748546f
PE
15114 Support TZ transition times < 00:00:00.
15115 This is needed for version-3 tz-format files; it supports time
15116 stamps past 2037 for America/Godthab (the only entry in the tz
15117 database for which this change is relevant).
15118 * manual/time.texi (TZ Variable): Document transition times
15119 from -167:59:59 through -00:00:01.
15120 * time/tzset.c (tz_rule): Time of day is now signed.
15121 (__tzset_parse_tz): Parse negative time of day.
15122
4480e934
PE
15123 Document TZ transition times >= 25:00:00.
15124 * manual/time.texi (TZ Variable): Document transition times from
15125 25:00:00 through 167:59:59. These are already supported, and this
15126 support will help with version-3 tz-format files.
15127
69947401
PE
15128 * manual/time.texi (TZ Variable): Modernize North America example
15129 to reflect current (i.e., 2007-and-later) daylight saving rules.
15130
674762d9
PE
15131 * manual/time.texi (TZ Variable): POSIX.1 hour can be 24.
15132
7011c262
JM
151332013-12-17 Joseph Myers <joseph@codesourcery.com>
15134
2fc6557e
JM
15135 * sysdeps/unix/bsd/bits/posix_opt.h: Remove file.
15136 * sysdeps/unix/bsd/bits/stat.h: Likewise.
15137 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/environments.h: Likewise.
15138 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
15139 * sysdeps/unix/bsd/bsd4.4/freebsd/sys/sysmacros.h: Likewise.
15140 * sysdeps/unix/bsd/bsdstat.h: Likewise.
15141 * sysdeps/unix/bsd/clock.c: Likewise.
15142 * sysdeps/unix/bsd/i386/vfork.S: Likewise.
15143 * sysdeps/unix/bsd/i386/wait3.S: Likewise.
15144 * sysdeps/unix/bsd/init-posix.c: Likewise.
15145 * sysdeps/unix/bsd/poll.c: Likewise.
15146 * sysdeps/unix/bsd/ptsname.c: Likewise.
15147 * sysdeps/unix/bsd/seekdir.c: Likewise.
15148 * sysdeps/unix/bsd/setegid.c: Likewise.
15149 * sysdeps/unix/bsd/seteuid.c: Likewise.
15150 * sysdeps/unix/bsd/setgid.c: Likewise.
15151 * sysdeps/unix/bsd/setrgid.c: Likewise.
15152 * sysdeps/unix/bsd/setruid.c: Likewise.
15153 * sysdeps/unix/bsd/setsid.c: Likewise.
15154 * sysdeps/unix/bsd/setuid.c: Likewise.
15155 * sysdeps/unix/bsd/sigaction.c: Likewise.
15156 * sysdeps/unix/bsd/sigprocmask.c: Likewise.
15157 * sysdeps/unix/bsd/sigsuspend.c: Likewise.
15158 * sysdeps/unix/bsd/sys/reboot.h: Likewise.
15159 * sysdeps/unix/bsd/telldir.c: Likewise.
15160 * sysdeps/unix/bsd/times.c: Likewise.
15161 * sysdeps/unix/bsd/usleep.c: Likewise.
15162
029c7b25
JM
15163 * misc/Makefile (install-lib): Remove libbsd-compat.a.
15164 ($(objpfx)libbsd-compat.a): Remove rule.
15165
7011c262
JM
15166 * include/features.h (__FAVOR_BSD): Do not define.
15167 * manual/creature.texi (_BSD_SOURCE): Do not document as enabling
15168 features conflicting with POSIX.
15169 (_GNU_SOURCE): Do not mention interaction with _BSD_SOURCE.
15170 (_BSD_SOURCE): Remove description of not being a subset of other
15171 feature test macros.
15172 * manual/job.texi (getpgrp): Do not document BSD version.
15173 (getpgid): Do not document by reference to BSD getpgrp.
15174 * posix/unistd.h [__FAVOR_BSD]: Remove conditional code.
15175 * setjmp/setjmp.h [__FAVOR_BSD]: Likewise.
15176 * signal/signal.h [__FAVOR_BSD]: Likewise.
15177 * sysdeps/gnu/netinet/tcp.h (struct tcphdr): Use anonymous unions
15178 instead of making contents conditional on [__FAVOR_BSD].
15179 * sysdeps/gnu/netinet/udp.h (struct udphdr): Likewise.
15180
affb6f78
AZ
151812013-12-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15182
15183 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
15184
c88769dd
JM
151852013-12-17 Joseph Myers <joseph@codesourcery.com>
15186
6432a540
JM
15187 [BZ #16314]
15188 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Adjust up
15189 values below 2**-450, not 2**-500.
15190 * math/auto-libm-test-in: Don't allow spurious underflow from
15191 hypot.
15192 * math/auto-libm-test-out: Regenerated.
15193
c88769dd
JM
15194 [BZ #16316]
15195 [BZ #16330]
15196 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Update
15197 values of ha and hb and sort them after adjusting subnormal
15198 arguments.
15199 * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
15200 Likewise.
15201 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Update
15202 values of ea and eb and sort them after adjusting subnormal
15203 arguments.
15204 * math/auto-libm-test-in: Do not expect some hypot tests of
15205 subnormals to fail. Add more hypot tests.
15206 * math/auto-libm-test-out: Regenerated.
15207
29618f6b
KK
152082013-12-16 Kaz Kojima <kkojima@rr.iij4u.or.jp>
15209
15210 [BZ #13304]
15211 * sysdeps/sh/s_fma.c: New file.
15212 * sysdeps/sh/s_fmaf.c: New file.
15213 * sysdeps/sh/soft-fp/sfp-machine.h: New file. Based on arm
15214 version.
15215 * sysdeps/sh/Implies: Add sh/soft-fp.
15216
eacfdfbf
RM
152172013-12-16 Roland McGrath <roland@hack.frob.com>
15218
15219 * elf/dl-error.c (struct catch): Add new member `errcode'. Add a
15220 level of indirection to members `objname', `errstring', `malloced'.
15221 (_dl_signal_error): Store through pointers in *LCATCH rather modifying
15222 *LCATCH itself. Set *LCATCH->errcode to ERRCODE rather than passing
15223 it as the __longjmp argument (just pass 1 instead).
15224 (_dl_catch_error): Initialize C with argument pointers and address of
15225 volatile local ERRCODE rather than copying values out of C at return.
15226
ff362e5b
JM
152272013-12-16 Joseph Myers <joseph@codesourcery.com>
15228
15229 * math/auto-libm-test-in: Add tests of atan2, hypot and pow.
15230 * math/auto-libm-test-out: Regenerated.
15231 * math/libm-test.inc (atan2_test_data): Use AUTO_TESTS_ff_f.
15232 (hypot_test_data): Likewise.
15233 (pow_test_data): Likewise.
15234 (pow_tonearest_test_data): Likewise.
15235 * math/gen-auto-libm-tests.c (func_calc_method): Add value
15236 mpfr_ff_f.
15237 (func_calc_desc): Add mpfr_ff_f union field.
15238 (FUNC_mpfr_ff_f): New macro.
15239 (test_functions): Add atan2, hypot and pow.
15240 (special_fill_min): New function.
15241 (special_fill_minus_min): Likewise.
15242 (special_fill_min_subnorm): Likewise.
15243 (special_fill_minus_min_subnorm): Likewise.
15244 (special_real_inputs): Add min, -min, min_subnorm and
15245 -min_subnorm.
15246 (calc_generic_results): Handle mpfr_ff_f.
15247 * sysdeps/i386/fpu/libm-test-ulps: Update.
15248 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15249
5764c27f
WN
152502013-12-16 Will Newton <will.newton@linaro.org>
15251
15252 * manual/memory.texi (Malloc Examples): Mention aligned_alloc.
15253 (Aligned Memory Blocks): Add documentation for aligned_alloc
15254 and suggest it as an alternative to posix_memalign.
15255 (Hooks for Malloc): Document __memalign_hook is also called
15256 for aligned_alloc. (Summary of Malloc): Add summary for
15257 aligned alloc. Document __memalign_hook is also called
15258 for aligned_alloc.
15259
0a096e44
WN
152602013-12-16 Will Newton <will.newton@linaro.org>
15261
15262 * manual/memory.texi (Malloc Examples): Clarify default
15263 alignment documentation. Suggest posix_memalign rather
15264 than memalign or valloc.
15265 (Aligned Memory Blocks): Remove suggestion to use memalign
15266 or valloc. Remove obsolete comment about BSD.
15267 Document memalign errno values and mark the function obsolete.
15268 Document posix_memalign returned error codes. Mark valloc
15269 as obsolete. (Hooks for Malloc): __memalign_hook is also
15270 called for posix_memalign and valloc.
15271 (Summary of Malloc): Add posix_memalign to function summary.
15272 __memalign_hook is also called for posix_memalign and valloc.
15273
8d561986
SP
152742013-12-16 Siddhesh Poyarekar <siddhesh@redhat.com>
15275
15276 * sysdeps/ieee754/dbl-64/s_sin.c (TAYLOR_SINCOS): Rename to
15277 TAYLOR_SIN.
15278 (__sin): Adjust.
15279 (__cos): Likewise.
15280 (sloww): Use mynumber union. Expand ternary operator into
15281 if-else statements.
15282 (cslow): use mynumber union.
15283
73616a74
AM
152842013-12-16 Allan McRae <allan@archlinux.org>
15285
9e8ac24b
AM
15286 * configure.ac: Set AUTOCONF when maintainer-mode is not used.
15287 * configure: Regenerated.
15288
6f8e37eb
AM
15289 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update file name.
15290
8894bad3
AM
15291 [BZ #14120]
15292 * configure.ac: Added --enable-maintainer-mode. Check for
15293 autoconf when enabled.
15294 * configure: Regenerated.
15295
73616a74
AM
15296 * nscd/nscd.service: New file.
15297 * nscd/nscd.tmpfiles: New file.
15298
584b18eb
OB
152992013-12-14 Ondřej Bílka <neleai@seznam.cz>
15300
15301 [BZ #12100]
15302 * sysdeps/x86_64/multiarch/strstr-sse2-unaligned.S: New file
15303 * sysdeps/x86_64/multiarch/strstr-c.c: Moved to ...
15304 * sysdeps/x86_64/multiarch/strstr.c: ... here.
15305 (strstr): Add __strstr_sse2_unaligned ifunc.
15306 * sysdeps/x86_64/multiarch/strcasestr-c.c: Moved to ...
15307 * sysdeps/x86_64/multiarch/strcasestr.c ... here.
15308 (strcasestr): Remove __strcasestr_sse42 ifunc.
15309 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Remove.
15310 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
15311 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
15312
8a5c7897
KK
153132013-12-14 Kaz Kojima <kkojima@rr.iij4u.or.jp>
15314
15315 * sysdeps/sh/sh4/fpu/bits/fenv.h: Move to ...
15316 * sysdeps/sh/bits/fenv.h: ... here.
15317 * sysdeps/sh/sh4/fpu/bits: Remove directory.
15318
fd712ef3
AZ
153192013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15320
15321 * NEWS: Mention ppc64 STT_GNU_IFUNC support.
15322
42fcb46c
AZ
15323 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add hypot and
15324 hypotf multiarch implementations.
15325 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-power7.c: New file.
15326 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-ppc64.c: New file.
15327 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot.c: New file:
15328 multiarch hypot for PPC64.
15329 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-power7.c: New file.
15330 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-ppc64.c: New file.
15331 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c : New file:
15332 multiarch hypotf for PPC64.
15333
83efded4
AZ
15334 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add modf and
15335 modff multiarch implementations.
15336 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-power5+.c: New file.
15337 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-ppc64.c: New file.
15338 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: New file:
15339 multiarch modf for PPC64.
15340 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-power5+.c: New file.
15341 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-ppc64.c: New file.
15342 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff.c : New file:
15343 multiarch modff for PPC64.
15344
43e246d2
AZ
15345 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add logb, logbf,
15346 and logl multiarch implementations.
15347 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-power7.c: New file.
15348 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-ppc64.c: New file.
15349 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb.c: New file:
15350 multiarch logb for PPC64.
15351 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-power7.c: New file.
15352 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-ppc64.c: New file.
15353 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf.c: New file:
15354 multiarch logb for PPC64.
15355 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-power7.c: New file.
15356 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-ppc64.c: New file.
15357 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl.c: New file:
15358 multiarch logb for PPC64.
15359
8fdad123
AZ
15360 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf and
15361 isinff multiarch implementation.
15362 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power7.S: New
15363 file.
15364 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-ppc64.S: New file.
15365 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: New file:
15366 multiarch isinf for PPC64.
15367 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff-ppc64.c: New
15368 file.
15369 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c: New file:
15370 multiarch isinff for PPC64.
15371
1481d706
AZ
15372 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite and
15373 finitef multiarch implementation.
15374 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power7.S: New
15375 file.
15376 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-ppc64.S: New file.
15377 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: New file:
15378 multiarch finite for PPC64.
15379 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef-ppc64.c: New
15380 file.
15381 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c: New file:
15382 multiarch finitef for PPC64.
15383
5ccd5fc8
AZ
15384 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint and
15385 lrint multiarch implementation.
15386 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power6x.S: New
15387 file.
15388 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-ppc64.S: New file.
15389 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c: New file:
15390 multiarch llrint for PPC64.
15391 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lrint.c: New file:
15392 multiarch lrint for PPC64.
15393
2568f3fa
AZ
15394 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add copysign/
15395 copysignf multiarch implementation.
15396 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-power6.S: New
15397 file.
15398 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-ppc64.S: New
15399 file.
15400 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: New file:
15401 multiarch copysign for PPC64.
15402 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysignf.c: New file:
15403 multiarch copysignf for PPC64.
15404
1cb341fd
AZ
15405 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add trunc/truncf
15406 multiarch implementation.
15407 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-power5+.S: New
15408 file.
15409 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-ppc64.S: New
15410 file.
15411 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-power5+.S: New
15412 file.
15413 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-ppc64.S: New
15414 file.
15415 multiarch llround for PPC64.
15416 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc.c: New file:
15417 multiarch trunc for PPC64.
15418 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf.c: New file:
15419 multiarch truncf for PPC64.
15420
59a3e194
AZ
15421 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add round/roundf
15422 multiarch implementation.
15423 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-power5+.S: New
15424 file.
15425 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-ppc64.S: New
15426 file.
15427 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-power5+.S: New
15428 file.
15429 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-ppc64.S: New
15430 file.
15431 multiarch llround for PPC64.
15432 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round.c: New file:
15433 multiarch round for PPC64.
15434 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf.c: New file:
15435 multiarch roundf for PPC64.
15436
357fd3b4
AZ
15437 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add floor/floorf
15438 multiarch implementation.
15439 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-power5+.S: New
15440 file.
15441 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-ppc64.S: New
15442 file.
15443 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-power5+.S: New
15444 file.
15445 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-ppc64.S: New
15446 file.
15447 multiarch llround for PPC64.
15448 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor.c: New file:
15449 multiarch floor for PPC64.
15450 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf.c: New file:
15451 multiarch floorf for PPC64.
15452
96770f12
AZ
15453 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add ceil/ceilf
15454 multiarch implementation.
15455 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-power5+.S: New
15456 file.
15457 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-ppc64.S: New
15458 file.
15459 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-power5+.S: New
15460 file.
15461 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-ppc64.S: New
15462 file.
15463 multiarch llround for PPC64.
15464 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil.c: New file:
15465 multiarch ceil for PPC64.
15466 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf.c: New file:
15467 multiarch ceilf for PPC64.
15468
c3627f6e
AZ
15469 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
15470 multiarch implementation.
15471 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power5+.S: New
15472 file.
15473 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power6x.S: New
15474 file.
15475 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-ppc64.S: New
15476 file.
15477 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c: New file:
15478 multiarch llround for PPC64.
15479 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lround.c: New file:
15480 multiarch lround for PPC64.
15481
b2284ad7
AZ
15482 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
15483 multiarch implementation.
15484 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power5.S: New file.
15485 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6.S: New file.
15486 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6x.S: New
15487 file.
15488 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power7.S: New file.
15489 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S: New file.
15490 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: New file:
15491 multiarch isnan for PPC64.
15492 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c: New file:
15493 multiarch isnanf for PPC64.
15494
69bbc63d
AZ
15495 * sysdeps/powerpc/powerpc64/power5+/fpu/multiarch/Implies: New file.
15496 * sysdeps/powerpc/powerpc64/power5/fpu/multiarch/Implies: New file.
15497 * sysdeps/powerpc/powerpc64/power6/fpu/multiarch/Implies: New file.
15498 * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: New file.
15499 * sysdeps/powerpc/powerpc64/power7/fpu/multiarch/Implies: New file
15500 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/Implies: Remove.
15501
c24517c9
AZ
15502 * sysdeps/powerpc/fpu/w_sqrt.c: Remove file
15503 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
15504 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
15505 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
15506
a52374e8
AZ
15507 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add stpcpy
15508 multiarch implementations.
15509 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
15510 (__libc_ifunc_impl_list): Likewise.
15511 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.c: New file.
15512 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.c: New file.
15513 * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c : New file:
15514 multiarch stpcpy for PPC64.
15515
7f5ec113
AZ
15516 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcpy
15517 multiarch implementations.
15518 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
15519 (__libc_ifunc_impl_list): Likewise.
15520 * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.c: New file.
15521 * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.c: New file.
15522 * sysdeps/powerpc/powerpc64/multiarch/strcpy.c : New file:
15523 multiarch strcpy for PPC64.
15524
e28bcd42
AZ
15525 * string/wordcopy.c (_wordcopy_fwd_aligned): Add define to
15526 redefine function name.
15527 (_wordcopy_fwd_dest_aligned): Likewise.
15528 (_wordcopy_bwd_aligned): Likewise.
15529 (_wordcopy_bwd_dest_aligned): Likewise.
15530 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wordcopy
15531 multiarch implementations.
15532 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
15533 (__libc_ifunc_impl_list): Likewise.
15534 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power6.c: New file.
15535 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power7.c: New file.
15536 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c: New file.
15537 * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c : New file:
15538 multiarch wcscpy for PPC64.
15539
92cacfce
AZ
15540 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcscpy
15541 multiarch implementations.
15542 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
15543 (__libc_ifunc_impl_list): Likewise.
15544 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power6.c: New file.
15545 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power7.c: New file.
15546 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-ppc64.c: New file.
15547 * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c : New file:
15548 multiarch wcscpy for PPC64.
15549
7b714620
AZ
15550 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcsrchr
15551 multiarch implementations.
15552 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
15553 (__libc_ifunc_impl_list): Likewise.
15554 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power6.c: New file.
15555 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power7.c: New file.
15556 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-ppc64.c: New file.
15557 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c : New file:
15558 multiarch wcsrchr for PPC64.
15559
16fd2ae3
AZ
15560 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcschr
15561 multiarch implementations.
15562 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
15563 (__libc_ifunc_impl_list): Likewise.
15564 * sysdeps/powerpc/powerpc64/multiarch/wcschr-power6.c: New file.
15565 * sysdeps/powerpc/powerpc64/multiarch/wcschr-power7.c: New file.
15566 * sysdeps/powerpc/powerpc64/multiarch/wcschr-ppc64.c: New file.
15567 * sysdeps/powerpc/powerpc64/multiarch/wcschr.c : New file:
15568 multiarch wcschr for PPC64.
15569
9ee2969b
AZ
15570 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchrnul
15571 multiarch implementations.
15572 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
15573 (__libc_ifunc_impl_list): Likewise.
15574 * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power7.S: New file.
15575 * sysdeps/powerpc/powerpc64/multiarch/strchrnul-ppc64.c: New file.
15576 * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: New file:
15577 multiarch strchrnul for PPC64.
15578
372dc060
AZ
15579 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchr multiarch
15580 implementations.
15581 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
15582 (__libc_ifunc_impl_list): Likewise.
15583 * sysdeps/powerpc/powerpc64/multiarch/rtld-strchr.S: New file.
15584 * sysdeps/powerpc/powerpc64/multiarch/strchr-power7.S: New file.
15585 * sysdeps/powerpc/powerpc64/multiarch/strchr-ppc64.S: New file.
15586 * sysdeps/powerpc/powerpc64/multiarch/strchr.c: New file: multiarch
15587 strchr for PPC64.
15588
24c2c3b9
AZ
15589 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncmp multiarch
15590 implementations.
15591 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
15592 (__libc_ifunc_impl_list): Likewise.
15593 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power4.S: New file.
15594 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power7.S: New file.
15595 * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: New file.
15596 * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: New file: multiarch
15597 strncmp for PPC64.
15598
1c92d9a0
AZ
15599 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncasecmp
15600 multiarch implementations.
15601 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
15602 (__libc_ifunc_impl_list): Likewise.
15603 * sysdeps/powerpc/powerpc64/multiarch/strncase-power7.c: New file.
15604 * sysdeps/powerpc/powerpc64/multiarch/strncase.c: New file: multiarch
15605 strncasecmp for PPC64.
15606 * sysdeps/powerpc/powerpc64/multiarch/strncase_l-power7.c: New file.
15607 * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: New file:
15608 multiarch strncasecmp_l for PPC64.
15609
17de3ee3
AZ
15610 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcasecmp
15611 multiarch implementations.
15612 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
15613 (__libc_ifunc_impl_list): Likewise.
15614 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: New file.
15615 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: New file:
15616 multiarch strcasecmp for PPC64.
15617 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: New
15618 file.
15619 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: new file:
15620 multiarch strcasecmp_l for PPC64.
15621
62982bf9
AZ
15622 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strnlen multiarch
15623 implementations.
15624 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
15625 (__libc_ifunc_impl_list): Likewise.
15626 * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: New file.
15627 * sysdeps/powerpc/powerpc64/multiarch/strnlen-ppc64.c: New file.
15628 * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: New file: multiarch
15629 strnlen for PPC64.
15630
a65f4904
AZ
15631 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strlen multiarch
15632 implementations.
15633 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
15634 (__libc_ifunc_impl_list): Likewise.
15635 * sysdeps/powerpc/powerpc64/multiarch/strlen-power7.S: New file.
15636 * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: New file.
15637 * sysdeps/powerpc/powerpc64/multiarch/strlen.c: New file: multiarch
15638 strlen for PPC64.
15639
1fd005ad
AZ
15640 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add rawmemch multiarch
15641 implementations.
15642 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
15643 (__libc_ifunc_impl_list): Likewise.
15644 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-power7.S: New file.
15645 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-ppc64.c: New file.
15646 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: New file: multiarch
15647 rawmemrchr for PPC64.
15648
cd05ba91
AZ
15649 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memrchr multiarch
15650 implementation.
15651 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
15652 (__libc_ifunc_impl_list): Likewise.
15653 * sysdeps/powerpc/powerpc64/multiarch/memrchr-power7.S: New file.
15654 * sysdeps/powerpc/powerpc64/multiarch/memrchr-ppc64.c: New file.
15655 * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: New file: multiarch
15656 memrchr for PPC64.
15657
870f8676
AZ
15658 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memchr multiarch
15659 implementation.
15660 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
15661 (__libc_ifunc_impl_list): Likewise.
15662 * sysdeps/powerpc/powerpc64/multiarch/memchr-power7.S: New file.
15663 * sysdeps/powerpc/powerpc64/multiarch/memchr-ppc64.c: New file.
15664 * sysdeps/powerpc/powerpc64/multiarch/memchr.c: New file: multiarch
15665 memchr for PPC64.
15666
f00be62b
AZ
15667 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add mempcpy multiarch
15668 implementation.
15669 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
15670 (__libc_ifunc_impl_list): Likewise.
15671 * sysdeps/powerpc/powerpc64/multiarch/mempcpy-power7.S: New file.
15672 * sysdeps/powerpc/powerpc64/multiarch/mempcpy-ppc64.c: New file.
15673 * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: New file: multiarch
15674 mempcpy for PPC64.
15675
8a29a3d0
AZ
15676 * sysdeps/powerpc/powerpc64/memset.S (NO_BZERO_IMPL): Add macro to
15677 avoid cretion of __bzero symbol.
15678 * sysdeps/powerpc/powerpc64/power4/memset.S (NO_BZERO_IMPL):
15679 Likewise.
15680 * sysdeps/powerpc/powerpc64/power6/memset.S (NO_BZERO_IMPL):
15681 Likewise.
15682 * sysdeps/powerpc/powerpc64/power7/memset.S (NO_BZERO_IMPL):
15683 Likewise.
15684 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memset/bzero
15685 multiarch implementations.
15686 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
15687 (__libc_ifunc_impl_list): Likewise.
15688 * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: New file.
15689 * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: New file.
15690 * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: New file.
15691 * sysdeps/powerpc/powerpc64/multiarch/bzero.c: New file: multiarch
15692 bzero for PPC32.
15693 * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S: New file.
15694 * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: New file.
15695 * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: New file.
15696 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: New file.
15697 * sysdeps/powerpc/powerpc64/multiarch/memset.c: New file: multiarch
15698 memset for PPC64.
15699 * sysdeps/powerpc/powerpc64/multiarch/rtld-memset.c: New file.
15700
07253fcf
AZ
15701 * string/memcmp.c (memcmp): Using macro to redefine symbol name.
15702 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memcpy multiarch
15703 implementations.
15704 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
15705 (__libc_ifunc_impl_list): Likewise.
15706 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power4.S: New file.
15707 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power7.S: New file.
15708 * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: New file.
15709 * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: New file: multiarch
15710 memcmp for PPC64.
15711
b5beafbc
AZ
15712 * sysdeps/powerpc/powerpc64/multiarch/Makefile: New file to support
15713 multiarch for POWER/PPC64.
15714 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
15715 * sysdeps/powerpc/powerpc64/multiarch/init-arch.h: Likewise.
15716 * sysdeps/powerpc/powerpc64/multiarch/memcpy-a2.S: New file.
15717 * sysdeps/powerpc/powerpc64/multiarch/memcpy-cell.S: New file.
15718 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power4.S: New file.
15719 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power6.S: New file.
15720 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power7.S: New file.
15721 * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: New file.
15722 * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: New file: multiarch
15723 memcpy for PPC64.
15724
5e6a4d4b
AZ
15725 * sysdeps/powerpc/powerpc64/power4/fpu/Implies: New file.
15726 * sysdeps/powerpc/powerpc64/power4/fpu/multiarch/Implies: New File.
15727 * sysdeps/powerpc/powerpc64/power4/multiarch/Implies: New File.
15728 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: New File.
15729 * sysdeps/powerpc/powerpc64/power5+/multiarch/Implies: New File.
15730 * sysdeps/powerpc/powerpc64/power5/Implies: New File.
15731 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: New File.
15732 * sysdeps/powerpc/powerpc64/power5/multiarch/Implies: New File.
15733 * sysdeps/powerpc/powerpc64/power6/fpu/Implies: New File.
15734 * sysdeps/powerpc/powerpc64/power6/multiarch/Implies: New File.
15735 * sysdeps/powerpc/powerpc64/power7/fpu/Implies: New File.
15736 * sysdeps/powerpc/powerpc64/power7/multiarch/Implies: New File.
15737 * sysdeps/powerpc/powerpc64/power8/fpu/Implies: New File.
15738 * sysdeps/powerpc/powerpc64/power8/fpu/multiarch/Implies: New File.
15739 * sysdeps/powerpc/powerpc64/power8/multiarch/Implies: New File.
15740 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: Remove.
15741 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/Implies: Remove.
15742 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: Remove.
15743 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: Remove.
15744 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: Remove.
15745 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: Remove.
15746 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Remove.
15747
ddfab6dc
KK
157482013-12-12 Kaz Kojima <kkojima@rr.iij4u.or.jp>
15749
15750 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Use $$ver.
15751
19b5525e
SP
157522013-12-12 Siddhesh Poyarekar <siddhesh@redhat.com>
15753
15754 * benchtests/Makefile (bench): Add exp2 and log2.
15755 (LDLIBS-bench-exp2): Add -lm.
15756 (LDLIBS-bench-log2): Likewise.
15757 * benchtests/exp2-inputs: New inputs file.
15758 * benchtests/log2-inputs: New inputs file.
15759 * benchtests/log-inputs: Add new inputs.
15760 * benchtests/tan-inputs: Likewise.
15761
196f7f5d
SP
157622013-12-11 Siddhesh Poyarekar <siddhesh@redhat.com>
15763
7a74607f
SP
15764 * sysdeps/ieee754/dbl-64/s_sin.c (t22): Consolidate const
15765 definition...
57f41c40
AS
15766 (slow1, slow2, sloww1, sloww2, bsloww1, bsloww2, cslow2, csloww1)
15767 (csloww2): ... from here.
7a74607f 15768
196f7f5d
SP
15769 * sysdeps/ieee754/dbl-64/usncs.h: Define constants as double
15770 instead of structures.
15771 * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): Adjust.
15772 (POLYNOMIAL): Likewise.
15773 (TAYLOR_SLOW): Likewise.
15774 (__sin): Likewise.
15775 (__cos): Likewise.
15776 (slow1): Likewise.
15777 (slow2): Likewise.
15778 (sloww): Likewise.
15779 (sloww1); Likewise.
15780 (sloww2): Likewise.
15781 (bsloww1): Likewise.
15782 (bsloww2): Likewise.
15783 (cslow2): Likewise.
15784 (csloww): Likewise.
15785 (csloww1): Likewise.
15786 (csloww2): Likewise.
15787
0dfa665c
OB
157882013-12-10 Ondřej Bílka <neleai@seznam.cz>
15789
15790 * malloc/malloc.c (MALLOC_COPY, MALLOC_ZERO): Delete.
57f41c40
AS
15791 (__malloc_assert, __libc_realloc, __libc_calloc, _int_realloc):
15792 Expand MALLOC_COPY and MALLOC_ZERO to memcpy and memset.
0dfa665c
OB
15793 * malloc/hooks.c (realloc_check): Likewise.
15794
5782a80f
OB
15795 * malloc/Makefile (CPPFLAGS-malloc.c): Remove -DPER_THREAD flag.
15796 * malloc/arena.c: Remove PER_THREAD conditional.
15797 [!PER_THREAD]: Remove code.
15798 (ptmalloc_unlock_all2): Likewise.
15799 (ptmalloc_init): Likewise.
15800 (_int_new_arena): Likewise.
15801 (arena_get2): Likewise.
15802 * malloc/hooks.c (__malloc_get_state): Likewise.
15803 (__malloc_set_state): Likewise.
15804 * malloc/malloc.c: Likewise.
15805 (struct malloc_state): Likewise.
15806 (struct malloc_par): Likewise.
15807 (__libc_realloc): Likewise.
15808 (__libc_mallopt): Likewise.
15809
aeb95445
AZ
158102013-12-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15811
15812 * Versions.def (libm): Add GLIBC_2.3 and GLIBC_2.19.
15813
e8349efd
OB
158142013-12-09 Ondřej Bílka <neleai@seznam.cz>
15815
15816 * malloc/malloc.c (alloc_perturb, free_perturb): Convert from
15817 macro to a function. Check for zero perturb_byte.
15818 (_int_malloc, _int_free): Remove zero perturb_byte checks.
15819
f3eeb3fc 15820 * malloc/malloc.c: (force_reg): Remove.
57f41c40
AS
15821 (__malloc_assert, __libc_malloc, __libc_free, __libc_realloc)
15822 (_mid_memalign, __libc_calloc, sysmalloc, systrim): Replace
f3eeb3fc
OB
15823 force_reg by atomic_forced_read.
15824 * malloc/arena.c (ptmalloc_init): Likewise.
15825 * malloc/hooks.c (top_check): Likewise.
15826
be2f9009
AZ
158272013-12-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15828
15829 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
15830
e7b914bd
MT
158312013-12-09 Markus Trippelsdorf <markus@trippelsdorf.de>
15832
15833 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
15834
9f0be4f8
JM
158352013-12-08 Joseph Myers <joseph@codesourcery.com>
15836
15837 * math/auto-libm-test-in: Add tests of lgamma.
15838 * math/auto-libm-test-out: Regenerated.
15839 * math/libm-test.inc (M_LOG_SQRT_PIl): Remove macro.
15840 (M_LOG_2_SQRT_PIl): Likewise.
15841 (lgamma_test_data): Use AUTO_TESTS_f_f1.
15842 * math/gen-auto-libm-tests.c (func_calc_method): Add value
15843 mpfr_f_f1.
15844 (func_calc_desc): Add mpfr_f_f1 union field.
15845 (ARGS1): New macro.
15846 (ARGS2): Likewise.
15847 (ARGS3): Likewise.
15848 (ARGS4): Likewise.
15849 (RET1): Likewise.
15850 (RET2): Likewise.
15851 (CALC): Likewise.
15852 (FUNC): Likewise.
15853 (FUNC_mpfr_f_f): Use new macros FUNC, ARGS1, RET1 and CALC.
15854 (test_functions): Add lgamma.
15855 (calc_generic_results): Handle mpfr_f_f1.
15856 * sysdeps/i386/fpu/libm-test-ulps: Update.
15857 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15858
24eeafdb
AZ
158592013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15860
15861 * sysdeps/powerpc/powerpc64/power7/add_n.S: New file: optimized
15862 __mpn_add_n for PowerPC64/POWER7.
15863 * sysdeps/powerpc/powerpc64/power7/sub_n.S: New file: optimized
15864 __mpn_sub_n for PowerPC64/POWER7.
15865
4a2c0fd4
AZ
15866 * sysdeps/powerpc/powerpc64/addmul_1.S: New file: optimized
15867 __mpn_addmul_1 for PowerPC64.
15868 * sysdeps/powerpc/powerpc64/submul_1.S: New file: optimized
15869 __mpn_submul_1 for PowerPC64.
15870 * sysdeps/powerpc/powerpc64/lshift.S: New file: optimized __mpn_lshift
15871 for PowerPC64.
15872 * sysdeps/powerpc/powerpc64/mul_1.S: New file: optimized __mpn_mul_1
15873 for PowerPC64.
15874
4b5b548c
FS
158752013-12-06 Fernando J. V. da Silva <fernandojvdasilva@gmail.com>
15876
15877 [BZ #15089]
15878 * malloc/malloc.c: Exit systrim() if pad is bigger than heap top size.
15879
0a3ac0aa
AZ
158802013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15881
15882 * NEWS: Mention ppc32/power4+ STT_GNU_IFUNC support.
15883
ccdc8438
AZ
15884 * sysdeps/powerpc/powerpc32/power5+/fpu/multiarch/Implies: New file:
15885 add multiarch folders.
15886 * sysdeps/powerpc/powerpc32/power5+/multiarch/Implies: Likewise.
15887 * sysdeps/powerpc/powerpc32/power5/fpu/multiarch/Implies: Likewise.
15888 * sysdeps/powerpc/powerpc32/power5/multiarch/Implies: Likewise.
15889 * sysdeps/powerpc/powerpc32/power6/fpu/multiarch/Implies: Likewise.
15890 * sysdeps/powerpc/powerpc32/power6/multiarch/Implies: Likewise.
15891 * sysdeps/powerpc/powerpc32/power6x/fpu/multiarch/Implies: Likewise.
15892 * sysdeps/powerpc/powerpc32/power6x/multiarch/Implies: Likewise.
15893 * sysdeps/powerpc/powerpc32/power7/fpu/multiarch/Implies: Likewise.
15894 * sysdeps/powerpc/powerpc32/power7/multiarch/Implies: Likewise.
15895 * sysdeps/powerpc/powerpc32/power8/fpu/multiarch/Implies: Likewise.
15896 * sysdeps/powerpc/powerpc32/power8/multiarch/Implies: Likewise.
15897 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/Implies: Remove.
15898 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: Remove.
15899 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: Remove.
15900 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: Remove.
15901 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: Remove.
15902 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Remove.
15903
2e973d99
AZ
15904 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
15905 __ieee754_hypot and __ieee754_hypotf multiarch implementations.
15906 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-power7.c:
15907 New file.
15908 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-ppc32.c:
15909 New file.
15910 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot.c: New file:
15911 multiarch __ieee754_hypot for PowerPC32.
15912 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-power7.c:
15913 New file.
15914 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-ppc32.c:
15915 New file.
15916 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf.c: New file:
15917 multiarch __ieee754_hypotf for PowerPC32.
15918
2d9470b2
AZ
15919 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Define
15920 long_double_symbol only if __logbl is defined.
15921 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Moved to ...
15922 * sysdeps/powerpc/power7/fpu/s_logb.c: ... here.
15923 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: Move to ...
15924 * sysdeps/powerpc/power7/fpu/s_logbf.c: ... here.
15925 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: Move to ...
15926 * sysdeps/powerpc/power7/fpu/s_logbl.c: ... here.
15927 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: Adjust to use new
15928 path for implementation.
15929 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: Likewise.
15930 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: Likewise.
15931 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add logbf,
15932 logb, and logbl multiarch implementations for PowerPC32.
15933 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-power7.c: New
15934 file.
15935 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-ppc32.c: New
15936 file.
15937 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb.c: New file:
15938 multiarch logb for PowerPC32.
15939 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-power7.c: New
15940 file.
15941 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-ppc32.c: New
15942 file.
15943 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf.c: New file:
15944 multiarch logbf for PowerPC32.
15945 * sysdeps/powerpc/power4/fpu/multiarch/s_logbl-power7.c: New file.
15946 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl-ppc32.c: New
15947 file.
15948 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl.c: New file:
15949 multiarch logbl implementation for PowerPC32.
15950
5212ffce
AZ
15951 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add modf
15952 and modff multiarch implementations.
15953 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-power5+.c:
15954 New file.
15955 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-ppc32.c:
15956 New file.
15957 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c: New file:
15958 multiarch modf for PowerPC32.
15959 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-power5+.c:
15960 New file.
15961 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-ppc32.c:
15962 New file.
15963 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff.c: New file:
15964 multiarch modff for PowerPC32.
15965
79dccf31
AZ
15966 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lrint
15967 and lrintf multiarch implementations.
15968 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-power6x.S:
15969 New file.
15970 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-ppc32.S:
15971 New file.
15972 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint.c: New file:
15973 multiarch lrint for PowerPC32.
15974 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrintf.c: New
15975 file: multiarch lrintf for PowerPC32.
15976
deb66480
AZ
15977 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lround
15978 and lroundf multiarch implementations.
15979 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power5+.S:
15980 New file.
15981 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power6.S:
15982 New file.
15983 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-ppc32.S:
15984 New file.
15985 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround.c: New file:
15986 multiarch lround for PowerPC32.
15987 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lroundf.c: New
15988 file: multiarch lroundf for PowerPC32.
15989
264b036b
AZ
15990 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
15991 copysign and copysignf multiarch implementations.
15992 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-power6.S:
15993 New file.
15994 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-ppc32.S:
15995 New file.
15996 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c: New
15997 file: multiarch copysign for PowerPC32.
15998 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysignf.c: New
15999 file: multiarch copysignf for PowerPC32.
16000
d47db6c9
AZ
16001 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add trunc
16002 and truncf multiarch implementations.
16003 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-power5+.S:
16004 New file.
16005 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-ppc32.S: New
16006 file.
16007 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc.c: New file:
16008 multiarch trunc for PowerPC32.
16009 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-power5+.S:
16010 New file.
16011 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-ppc32.S:
16012 New file.
16013 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf.c: New file:
16014 multiarch truncf for PowerPC32.
16015
ddb60b5a
AZ
16016 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add round
16017 and roundf multiarch implementations.
16018 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-power5+.S:
16019 New file.
16020 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-ppc32.S: New
16021 file.
16022 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round.c: New file:
16023 multiarch round for PowerPC32.
16024 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-power5+.S:
16025 New file.
16026 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-ppc32.S:
16027 New file.
16028 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf.c: New file:
16029 multiarch roundf for PowerPC32.
16030
bedcf49b
AZ
16031 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add floor
16032 and floorf multiarch implementations.
16033 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-power5+.S:
16034 New file.
16035 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-ppc32.S: New
16036 file.
16037 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor.c: New file:
16038 multiarch floor for PowerPC32.
16039 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-power5+.S:
16040 New file.
16041 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-ppc32.S:
16042 New file.
16043 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf.c: New file:
16044 multiarch floorf for PowerPC32.
16045
35ae5b40
AZ
16046 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add ceil
16047 and ceilf multiarch implementations.
16048 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-power5+.S:
16049 New file.
16050 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-ppc32.S: New
16051 file.
16052 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil.c: New file:
16053 multiarch ceil for PowerPC32.
16054 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-power5+.S:
16055 New file.
16056 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-ppc32.S: New
16057 file.
16058 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf.c: New file:
16059 multiarch ceilf for PowerPC32.
16060
ae1a4cd9
AZ
16061 * sysdeps/ieee754/dbl-64/s_finite.c (__finite): Redefine it if FINITE
16062 is defined.
16063 * sysdeps/ieee754/flt-32/s_finitef.c (__finitef): Redefine it if
16064 FINITEF is defined.
16065 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add finite
16066 and finitef multiarch implementations.
16067 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-power7.S:
16068 New file.
16069 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-ppc32.c: New
16070 file.
16071 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c: New file:
16072 multiarch finite for PowerPC32.
16073 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef-ppc32.c:
16074 New file.
16075 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef.c: New
16076 file: multiarch finitef for PowerPC32.
16077
64fffd65
AZ
16078 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isinf
16079 and isinff multiarch implementations.
16080 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-power7.S: New
16081 file.
16082 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-ppc32.c: New
16083 file.
16084 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c: New file:
16085 multiarch isinf for PowerPC32.
16086 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff-ppc32.c:
16087 New file.
16088 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff.c: New file:
16089 multiarch isinff for PowerPC32.
16090
8e4e7ba2
AZ
16091 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S (__isnan): Only implement
16092 alias when __isnan is defined.
16093 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isnan
16094 and isnanf multiarch implementations.
16095 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power5.S: New
16096 file.
16097 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power6.S: New
16098 file.
16099 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power7.S: New
16100 file.
16101 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-ppc32.S: New
16102 file.
16103 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c: New file:
16104 multiarch isnan for PowerPC32.
16105 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power6.S:
16106 New file.
16107 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power7.S:
16108 New file.
16109 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf.c: New file:
16110 multiarch isnanf for PowerPC32.
16111
ddba588e
AZ
16112 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add sqrt
16113 and sqrtf multiarch implementations.
16114 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-power5.S: New
16115 file.
16116 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-ppc32.S: New
16117 file.
16118 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt.c: New file:
16119 multiarch sqrt for PowerPC32.
16120 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-power5.S: New
16121 file.
16122 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-ppc32.S: New
16123 file.
16124 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf.c: New file:
16125 multiarch sqrtf for PowerPC32.
16126
0f96a2f0
AZ
16127 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add llround
16128 and llroundf multiarch implementations.
16129 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power5+.S:
16130 New file.
16131 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power6.S:
16132 New file.
16133 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-ppc32.S:
16134 New file.
16135 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround.c: New
16136 file: multiarch llround for PowerPC32.
16137 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llroundf.c: New
16138 file: multiarch llroundf for PowerPC32.
16139
c9b5d79e
AZ
16140 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: New file:
16141 multiarch PowerPC32 fpu implementations.
16142 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-power6.S:
16143 New file.
16144 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-ppc32.S:
16145 New file.
16146 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint.c: New file:
16147 multiarch llrint for PowerPC32.
16148 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-power6.S:
16149 New file.
16150 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-ppc32.S:
16151 New file.
16152 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf.c: New
16153 file.
16154
9cbb3aab
AZ
16155 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/Implies: Remove.
16156
ea5a72f8
AZ
16157 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power6.c: New
16158 file.
16159 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power7.c: New
16160 file.
16161 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c: New
16162 file.
16163 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: New file:
16164 multiarch wordcopy for PPC32.
16165 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
16166 wordcopy objects.
16167 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
16168 (__libc_ifunc_impl_list): Likewise.
16169 * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Move ...
16170 * sysdeps/powerpc/power4/wordcopy.c: ... to here.
16171 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Move ...
16172 * sysdeps/powerpc/power6/wordcopy.c: ... to here.
16173 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Remove uneeded file.
16174 * sysdeps/powerpc/powerpc64/power4/wordcopy.c: Likewise.
16175
93be09e7
AZ
16176 * wcsmbs/wcscpy.c (wcscpy): Using macro to redefine symbol name
16177 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power6.c: New
16178 file.
16179 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power7.c: New
16180 file.
16181 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: New
16182 file.
16183 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: New file:
16184 multiarch wcscpy for PPC32.
16185 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
16186 multiarch objects.
16187 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
16188 (__libc_ifunc_impl_list): Likewise.
16189 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
16190 * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
16191 * sysdeps/powerpc/powerpc64/power6/wcscpy.c: Adjust to use
16192 sysdeps/powerpc/power6/wcscpy.c.
16193
bb04e529
AZ
16194 * wcsmbs/wcsrchr.c (wcsrchr): Using macro to redefine symbol name
16195 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power6.c: New
16196 file.
16197 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power7.c: New
16198 file.
16199 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: New
16200 file.
16201 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: New file:
16202 multiarch wcsrchr for PPC32.
16203 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
16204 multiarch objects.
16205 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
16206 (__libc_ifunc_impl_list): Likewise.
16207 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
16208 * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
16209 * sysdeps/powerpc/powerpc64/power6/wcsrchr.c: Adjust to use
16210 sysdeps/powerpc/power6/wcsrchr.c.
16211
05b5cd1c
AZ
16212 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power6.c: New
16213 file.
16214 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power7.c: New
16215 file.
16216 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: New file.
16217 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: New file:
16218 multiarch wcschr for PPc32.
16219 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
16220 multiarch objects.
16221 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
16222 (__libc_ifunc_impl_list): Likewise.
16223 * sysdeps/powerpc/powerpc32/power6/wcschr.c: Move ...
16224 * sysdeps/powerpc/power6/wcschr.c: ... to here.
16225 * sysdeps/powerpc/powerpc64/power6/wcschr.c: Adjust to use
16226 sysdeps/powerpc/power6/wcschr.c.
16227
ba964147
AZ
16228 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strchr.S: New file.
16229 * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-power7.S: New
16230 file.
16231 * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-ppc32.S: New file.
16232 * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/strchr.c: New
16233 file: multiarch strchr for PPC32.
16234 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchr
16235 multiarch objects.
16236 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
16237 (__libc_ifunc_impl_list): Likewise.
16238
31c81aaa
AZ
16239 * string/strchrnul.c (__strchrnul): Using macro to redefine symbol
16240 name.
16241 * sysdeps/powerpc/powerpc32/power4//multiarch/strchrnul-power7.S: New
16242 file.
16243 * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul-ppc32.c: New
16244 file.
16245 * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: New file:
16246 multiarch strchrnul for PPC32.
16247 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchrnul
16248 multiarch objects.
16249 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
16250 (__libc_ifunc_impl_list): Likewise.
16251
0d0607d9
AZ
16252 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase-power7.c: New
16253 file.
16254 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: New file:
16255 multiarch strncasecmp for PPC32.
16256 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l-power7.c: New
16257 file.
16258 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: New file:
16259 multiarch strncasecmp_l for PPC32.
16260 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added
16261 strncasecmp multiarch objects.
16262 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
16263 (__libc_ifunc_impl_list): Likewise.
16264
4dfd5c86
AZ
16265 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S: New
16266 file.
16267 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: New file:
16268 multiarch strncasecmp for PPC32.
16269 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
16270 New file.
16271 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: New file:
16272 multiarch strcasecmp_l for PPC32.
16273 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strcasecmp
16274 multiarch objects.
16275 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
16276 (__libc_ifunc_impl_list): Likewise.
16277
a19e01a3
AZ
16278 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-power7.S: New
16279 file.
16280 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: New
16281 file.
16282 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: New file:
16283 multiarch strncmp for PPC32.
16284 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strncmp
16285 multiarch objects.
16286 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
16287 (__libc_ifunc_impl_list): Likewise.
16288
ae9cf7a2
AZ
16289 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strnlen.c: New file.
16290 * sysdeps/powerpc/powerpc32//power4/multiarch/strnlen-power7.S: New
16291 file.
16292 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-ppc32.c: New file.
16293 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: New file.
16294 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strnlen
16295 multiarch objects.
16296 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
16297 (__libc_ifunc_impl_list): Likewise.
16298
3148bb7d
AZ
16299 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-power7.S: New
16300 file.
16301 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: New
16302 file.
16303 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: New file.
16304 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strlen
16305 multiarch objects.
16306 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
16307 (__libc_ifunc_impl_list): Likewise.
16308
7af8b946
AZ
16309 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-power7.S: New
16310 file.
16311 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-ppc32.c: New
16312 file.
16313 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: New file:
16314 multiarch rawmemchr for PPC32.
16315 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added rawmemchr
16316 multiarch objects.
16317 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
16318 (__libc_ifunc_impl_list): Likewise.
16319
03a6aa6a
AZ
16320 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-power7.S: New
16321 file.
16322 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: New
16323 file.
16324 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: New
16325 file: memrchr multiarch for PPC32.
16326 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added memrchr
16327 multiarch objects.
16328 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
16329 (__libc_ifunc_impl_list): Likewise.
16330
1c62e6d9
AZ
16331 * string/memchr.c (__memchr): Using macro to redefine symbol name.
16332 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-power7.S: New
16333 file.
16334 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c: New File.
16335 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: New file:
16336 multiarch memchr for PPC32.
16337 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memchr
16338 multiarch objects.
16339 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
16340 (__libc_ifunc_impl_list): Likewise.
16341
87da8bdb
AZ
16342 * string/mempcpy.c (__mempcpy): Using macro to redefine symbol name.
16343 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-power7.S: New
16344 file.
16345 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-ppc32.c: New
16346 file.
16347 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: New
16348 file: multiarch mempcpy for PPC32.
16349 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add mempcpy
16350 multiarch objects.
16351 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
16352 (__libc_ifunc_impl_list): Likewise.
16353
20ed4714
AZ
16354 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power6.S: New file.
16355 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power7.S: New file.
16356 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S: New file.
16357 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: New file:
16358 multiarch bzero for PPC32.
16359 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power6.S: New
16360 file.
16361 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power7.S: New
16362 file.
16363 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: New file.
16364 * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/memset.c: New
16365 file: multiarch memset for PPC32.
16366 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memset.S: New file.
16367 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add bzero and
16368 memset multiarch objects.
16369 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
16370 (__libc_ifunc_impl_list): Likewise.
16371
ab3e3a46
AZ
16372 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-power7.S: New
16373 file.
16374 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: New file.
16375 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: multiarch
16376 memcmp for PPC32.
16377 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memcmp.S: New file.
16378 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcmp
16379 multiarch objects.
16380 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
16381 (__libc_ifunc_impl_list): Likewise.
16382
930de6f0
AZ
16383 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-a2.S: New file.
16384 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-cell.S: New file.
16385 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power6.S: New
16386 file.
16387 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power7.S: New
16388 file.
16389 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: New
16390 file.
16391 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: New file:
16392 multiarch memcpy for PPC32.
16393 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcpy
16394 multiarch objects.
16395 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
16396 (__libc_ifunc_impl_list): Likewise.
16397
4c628e00
AZ
16398 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: New file to
16399 support multiarch for POWER/PPC32.
16400 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c:
16401 Likewise.
16402 * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
16403 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: Remove
16404 Implies file to make multiarch folder appers before the fpu and
16405 default folder for power4 configuration.
16406
f4479220
SP
164072013-12-06 Siddhesh Poyarekar <siddhesh@redhat.com>
16408
16409 * scripts/bench.pl: Append volatile keyword to type.
16410
8517800f
KK
164112013-12-05 Kaz Kojima <kkojima@rr.iij4u.or.jp>
16412
16413 * sysdeps/sh/sotruss-lib.c: New file.
16414 * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: New file.
16415
180138f1
AZ
164162013-12-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16417
16418 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
16419
bbf37bdc
JM
164202013-12-05 Joseph Myers <joseph@codesourcery.com>
16421
e47cc4e0
JM
16422 [BZ #6810]
16423 * math/w_tgamma.c: Include <errno.h>.
16424 (__tgamma): Use __glibc_unlikely. Set errno on underflow to 0.
16425 * math/w_tgammaf.c: Include <errno.h>.
16426 (__tgammaf): Use __glibc_unlikely. Set errno on underflow to 0.
16427 * math/w_tgammal.c: Include <errno.h>.
16428 (__tgammal): Use __glibc_unlikely. Set errno on underflow to 0.
16429 * math/auto-libm-test-in: Do not allow missing errno on tgamma
16430 underflow. Add more tgamma tests.
16431 * math/auto-libm-test-out: Regenerated.
16432 * sysdeps/i386/fpu/libm-test-ulps: Update.
16433 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16434
bbf37bdc
JM
16435 * math/auto-libm-test-in: Add tests of log, log10, log1p, log2,
16436 sin, sinh, tan, tanh, tgamma, y0 and y1.
16437 * math/auto-libm-test-out: Regenerated.
16438 * math/libm-test.inc (TEST_COND_x86_64): New macro.
16439 (TEST_COND_x86): Likewise.
16440 (M_E2l): Remove macro.
16441 (M_E3l): Likewise.
16442 (M_2_SQRT_PIl): Likewise.
16443 (M_SQRT_PIl): Likewise.
16444 (M_1_DIV_El): Likewise.
16445 (log_test_data): Use AUTO_TESTS_f_f.
16446 (log10_test_data): Likewise.
16447 (log1p_test_data): Likewise.
16448 (log2_test_data): Likewise.
16449 (sin_test_data): Likewise.
16450 (sin_tonearest_test_data): Likewise.
16451 (sin_towardzero_test_data): Likewise.
16452 (sin_downward_test_data): Likewise.
16453 (sin_upward_test_data): Likewise.
16454 (sinh_test_data): Likewise.
16455 (sinh_tonearest_test_data): Likewise.
16456 (sinh_towardzero_test_data): Likewise.
16457 (sinh_downward_test_data): Likewise.
16458 (sinh_upward_test_data): Likewise.
16459 (tan_test_data): Likewise.
16460 (tan_tonearest_test_data): Likewise.
16461 (tan_towardzero_test_data): Likewise.
16462 (tan_downward_test_data): Likewise.
16463 (tan_upward_test_data): Likewise.
16464 (tanh_test_data): Likewise.
16465 (tgamma_test_data): Likewise.
16466 (y0_test_data): Likewise.
16467 (y1_test_data): Likewise.
16468 * math/gen-auto-libm-tests.c (special_fill_pi_4): New function.
16469 (special_real_inputs): Add pi/4.
16470 * sysdeps/i386/fpu/libm-test-ulps: Update.
16471 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16472
eb5ad6b9
AZ
164732013-12-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16474
16475 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Add "longjmp" and
16476 "longjmp_target" static probes.
16477 (__longjmp): Rename to __longjmp_symbol.
16478 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
16479 * sysdeps/powerpc/powerpc32/__longjmp.S: Define __longjmp_symbol based
16480 on which longjmp to generate.
16481 * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
16482 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Add "setjmp" static
16483 probe.
16484 (__sigsetjmp): Rename to __sigsetjmp_symbol.
16485 (__sigjmp_save): Rename to __sigjmp_save_symbol.
16486 * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
16487 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Define __sigsetjmp_symbol
16488 and __sigjmp_save_symbol based on which sigsetjmp to generated.
16489 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise
16490 * sysdeps/unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Define
16491 __longjmp_symbol based on which __longjmp to generate.
16492 * sysdeps/powerpc/powerpc64/setjmp-common.S: Add "setjmp" static
16493 probe.
16494 (setjmp): Rename to setjmp_symbol.
16495 (__sigsetjmp): Rename to __sigsetjmp_symbol.
16496 (_setjmp): Rename to _setjmp_symbol.
16497 (__sigsetjmp): Rename to __sigsetjmp_symbol.
16498 * sysdeps/powerpc/powerpc64/setjmp.S: Define setjmp_symbol,
16499 _setjmp_symbol, __sigsetjmp_symbol, and __sigjmp_save_symbol based on
16500 which setjmp to generate.
16501 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Add "longjmp" and
16502 "longjmp_target" static probes.
16503
d136c6dc
SP
165042013-12-05 Siddhesh Poyarekar <siddhesh@redhat.com>
16505
9298ecba
SP
16506 * benchtests/README: Add note about output arguments.
16507 * benchtests/bench-sincos.c: Remove file.
16508 * benchtests/sincos-inputs: New file.
16509 * scripts/bench.pl: Identify output arguments and define
16510 static variables for them.
16511
232983e9
SP
16512 * debug/stpncpy_chk.c (__stpncpy_chk): Remove unused variables.
16513
d136c6dc
SP
16514 [BZ #15941]
16515 * Makefile (INSTALL): Add install-plain.texi as the primary
16516 dependency.
16517 * manual/install-plain.texi: New file.
16518 * manual/install.texi: Include node directive only for
16519 non-plaintext output.
16520
699ff837
JM
165212013-12-04 Joseph Myers <joseph@codesourcery.com>
16522
ab07cea8
JM
16523 * stdlib/longlong.h: Update from GCC.
16524
699ff837
JM
16525 [BZ #6807]
16526 [BZ #15901]
16527 * math/w_j0.c (y0): Raise FE_DIVBYZERO on zero argument.
16528 * math/w_j0f.c (y0f): Likewise.
16529 * math/w_j0l.c (__y0l): Likewise.
16530 * math/w_j1.c (y1): Likewise.
16531 * math/w_j1f.c (y1f): Likewise.
16532 * math/w_j1l.c (__y1l): Likewise
16533 * math/w_jn.c (yn): Likewise.
16534 * math/w_jnf.c (ynf): Likewise.
16535 * sysdeps/ieee754/k_standard.c (__kernel_standard): Use ERANGE for
16536 Bessel function pole errors in _POSIX_ mode. Use NAN as return
16537 value for Bessel function domain errors outside _SVID_ mode.
16538 Adjust sign of return value for yn (negative integer, 0).
16539 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Use division
16540 by zero in return for negative x and set sign appropriately for
16541 negative n.
16542 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Likewise.
16543 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
16544 * math/libm-test.inc (y0_test_data): Add more tests and adjust
16545 expectations in error cases.
16546 (y1_test_data): Likewise.
16547 (yn_test_data): Likewise.
16548 * sysdeps/i386/fpu/libm-test-ulps: Update.
16549 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16550
5b118558
UW
165512013-11-12 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
16552
16553 * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-variants): Rename
16554 "64" to "64-v1". Add "64-v2".
16555 (abi-64-options): Rename to ...
16556 (abi-64-v1-options): ... this. Redefine _CALL_ELF.
16557 (abi-64-condition): Rename to ...
16558 (abi-64-v1-condition): ... this. Add _CALL_ELF check.,
16559 (abi-64-ld-soname): Rename to ...
16560 (abi-64-v1-ld-soname): ... this.
16561 (abi-64-v2-options): Define.
16562 (abi-64-v2-condition): Likewise.
16563 (abi-64-v2-ld-soname): Likewise.
16564 * sysdeps/unix/sysv/linux/powerpc/ldconfig.h
16565 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add "/lib64/ld64.so.2".
16566 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: Delete file.
16567 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: New file.
16568 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Generate.
16569
61cd8fe4
UW
165702013-11-12 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
16571 Alan Modra <amodra@gmail.com>
16572
16573 * sysdeps/powerpc/bits/link.h (La_ppc64v2_regs, La_ppc64v2_retval):
16574 New versions for use with the ELFv2 ABI.
16575 (la_ppc64v2_gnu_pltenter, la_ppc64v2_gnu_pltexit): Add prototypes.
16576 * sysdeps/powerpc/lsdodefs.h (struct La_ppc64v2_regs): Add forward
16577 declaration.
16578 (struct La_ppc64v2_retval): Likewise.
16579 (ARCH_PLTENTER_MEMBERS): Add ppc64v2_gnu_pltenter.
16580 (ARCH_PLTEXIT_MEMBERS): Add ppc64v2_gnu_pltexit.
16581 * sysdeps/powerpc/powerpc64/dl-machine.h (ARCH_LA_PLTENTER): Define
16582 to ppc64v2_gnu_pltenter if _CALL_ELF == 2.
16583 (ARCH_LA_PLTEXIT): Define to ppc64v2_gnu_pltexit if _CALL_ELF == 2.
16584 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
16585 Do not save or restore CR.
16586 (FRAME_SIZE, VR_RTN): Provide updated values for _CALL_ELF == 2.
16587 (_dl_profile_resolve): Do no save or restore CR. Support extended
16588 return values for ELFv2 ABI. Fix location of FPR return registers.
16589 * sysdeps/powerpc/powerpc64/tst-audit.h (pltenter, pltexit): Provide
16590 updated values for _CALL_ELF == 2.
16591 (La_regs, La_retval, int_retval): Likewise.
16592
8b8a692c
UW
165932013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
16594
16595 * sysdeps/powerpc/powerpc64/sysdep.h (FRAME_MIN_SIZE): Define.
16596 (FRAME_MIN_SIZE_PARM): Likewise.
16597 (FRAME_BACKCHAIN): Likewise.
16598 (FRAME_CR_SAVE): Likewise.
16599 (FRAME_LR_SAVE): Likewise.
16600 (FRAME_TOC_SAVE): Likewise.
16601 (FRAME_PARM_SAVE): Likewise.
16602 (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE,
16603 FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE,
16604 FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
16605 (call_mcount_parm_offset): New macro.
16606 (SAVE_ARG, REST_ARG, CFI_SAVE_ARG): Use it.
16607 (PROF): Use symbolic stack frame offsets.
16608 (TAIL_CALL_SYSCALL_ERROR): Likewise.
16609 * sysdeps/powerpc/powerpc64/dl-trampoline.S (FRAME_SIZE, INT_PARMS):
16610 Redefine in terms of FRAME_MIN_SIZE.
16611 (_dl_runtime_resolve): Use symbolic stack frame offsets.
16612 (_dl_profile_resolve): Likewise. Update comment.
16613 * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Use
16614 symbols stack frame offsets.
16615 (__sigsetjmp): Likewise.
16616 * sysdeps/powerpc/powerpc64/__longjmp-common.S (__longjmp): Likewise.
16617 * sysdeps/powerpc/powerpc64/ppc-mcount.S (_mcount): Likewise.
16618 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Likewise.
16619 * sysdeps/powerpc/powerpc64/crtn.S (_init, _fini): Likewise.
16620
16621 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ucontext_i.sym
16622 (FRAME_BACKCHAIN): Remove.
16623 (FRAME_CR_SAVE): Likewise.
16624 (FRAME_LR_SAVE): Likewise.
16625 (FRAME_COMPILER_DW): Likewise.
16626 (FRAME_LINKER_DW): Likewise.
16627 (FRAME_TOC_SAVE): Likewise.
16628 (FRAME_PARM_SAVE): Likewise.
57f41c40
AS
16629 (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE)
16630 (FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE)
16631 (FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
8b8a692c
UW
16632 * sysdeps/unix/sysv/linux/powerpc/powerpc64/____longjmp_chk.S
16633 (CHECK_SP): Use symbolic stack frame offsets.
16634 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Use "red
16635 zone" instead of caller's parameter save area for temp storage.
16636 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
16637 Likewise. Also, use symbolic stack frame offsets.
16638 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (FRAMESIZE,
16639 stackblock): Redefine for _CALL_ELF == 2 to save parameters into
16640 our own stack frame instead of the caller's.
16641 (__socket): Use symbolic stack frame offsets.
16642
122b66de
UW
166432013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
16644 Alan Modra <amodra@gmail.com>
16645
16646 * elf/elf.h (DT_PPC64_OPT, PPC64_OPT_TLS, PPC64_OPT_MULTI_TOC):
16647 Define.
57f41c40
AS
16648 (STO_PPC64_LOCAL_BIT, STO_PPC64_LOCAL_MASK)
16649 (PPC64_LOCAL_ENTRY_OFFSET): Define.
122b66de
UW
16650 * sysdeps/powerpc/powerpc64/dl-machine.h (ppc64_local_entry_offset):
16651 New function.
16652 (elf_machine_fixup_plt): Call it.
16653 (elf_machine_plt_conflict): Likewise. Add map, sym_map, and
16654 reloc arguments.
16655 (elf_machine_rela): Update call to elf_machine_plt_conflict.
57f41c40
AS
16656 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
16657 (_dl_profile_resolve) [_CALL_ELF == 2]: Restore caller's TOC into
122b66de
UW
16658 r2 before calling target.
16659
696caf1d
UW
166602013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
16661 Alan Modra <amodra@gmail.com>
16662
16663 * sysdeps/powerpc/powerpc64/sysdep.h [_CALL_ELF == 2]
16664 (PPC64_LOAD_FUNCPTR, DOT_LABEL, BODY_LABEL, ENTRY_2, END_2): New
16665 versions of macros to support ELFv2 ABI.
16666 (LOCALENTRY): New macro.
16667 (ENTRY, EALIGN): Use it.
16668 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use LOCALENTRY.
16669 * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Do not
16670 fall through into ENTRY entry point.
16671 * libc/sysdeps/powerpc/powerpc64/dl-machine.h (Elf64_FuncDesc):
16672 Only define if _CALL_ELF != 2.
16673
16674 (elf_machine_matches_host): Verify ABI version matches.
16675 (RTLD_START): Use LOCALENTRY.
16676 (elf_machine_type_class): Use SHN_UNDEF PLT handling for ELFv2 ABI.
16677 (PLT_INITIAL_ENTRY_WORDS): New version for _CALL_ELF != 2.
16678 (PLT_ENTRY_WORDS): New macro.
16679 (GLINK_INITIAL_ENTRY_WORDS, GLINK_ENTRY_WORDS): Likewise.
16680 (elf_machine_runtime_setup): Support ELFv2 ABI.
16681 (elf_machine_fixup_plt): Likewise.
16682 (elf_machine_plt_conflict): Likewise.
16683 (resolve_ifunc): Likewise.
16684 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
16685 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
16686 Likewise.
16687 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ldsodefs.h
16688 (DL_ADDR_SYM_MATCH): Only define if _CALL_ELF != 2.
16689 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
16690 (makecontext): Support ELFv2 ABI.
16691 * elf/elf.h (EF_PPC64_ABI): Define.
16692
d31beafa
UW
166932013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
16694
57f41c40
AS
16695 * sysdeps/powerpc/powerpc64/sysdep.h
16696 (PPC64_LOAD_FUNCPTR) [ASSEMBLER]: New assembler macro.
16697 (ENTRY_1) [ASSEMBLER]: Do not switch to .text section here ...
16698 (ENTRY) [ASSEMBLER]: ... but instead here ...
16699 (EALIGN) [ASSEMBLER]: ... and here.
16700 (PPC64_LOAD_FUNCPTR) [!ASSEMBLER]: New macro.
16701 (ENTRY_1) [!ASSEMBLER]: New macro; set up .opd entry.
16702 (ENTRY_2) [!ASSEMBLER]: Use it.
d31beafa
UW
16703 * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Update for
16704 ENTRY_2 changes. Use PPC64_LOAD_FUNCPTR.
57f41c40
AS
16705 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
16706 (_dl_profile_resolve): Use PPC64_LOAD_FUNCPTR.
d31beafa
UW
16707 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use ENTRY_2.
16708 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (clone):
16709 Use PPC64_LOAD_FUNCPTR.
16710
b525166b
UW
16711 * sysdeps/powerpc/tls.h (tcbhead_t): Add __private_ss field.
16712
7ec07d9a
AM
167132013-12-04 Alan Modra <amodra@gmail.com>
16714
16715 * elf/elf.h (R_PPC64_TLSGD, R_PPC64_TLSLD, R_PPC64_TOCSAVE): Define.
16716 (R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA): Likewise.
16717 (R_PPC64_TPREL16_HIGH, R_PPC64_TPREL16_HIGHA): Likewise.
16718 (R_PPC64_DTPREL16_HIGH, R_PPC64_DTPREL16_HIGHA): Likewise.
16719
16720 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Add
16721 overflow checking for R_PPC64_ADDR16_HI, R_PPC64_ADDR16_HA,
16722 R_PPC64_TPREL16_HI, and R_PPC64_TPREL16_HA.
16723 Support new R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA,
16724 R_PPC64_TPREL16_HIGH, and R_PPC64_TPREL16_HIGHA relocations.
16725 Fix overflow checking for R_PPC64_ADDR30 and R_PPC64_ADDR32.
16726
5162e7dd
UW
167272013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
16728
16729 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
16730 (__makecontext): Fix incorrect CFI when backtracing out of
16731 context created via makecontext.
16732 * sysdeps/unix/sysv/linux/powerpc/powerpc64/secontext.S
16733 (__setcontext): Fix incorrect CFI during switch to new context.
16734 (__novec_setcontext): Likewise.
16735
19e3372b
OB
167362013-12-04 Ondřej Bílka <neleai@seznam.cz>
16737
16738 [BZ #4772]
16739 * time/strptime_l.c (__strptime_internal): Allow modifiers
16740 in strptime.
16741 * time/tst-strptime.c (day_tests): Add testcase.
16742
ecaf142d
SP
167432013-12-04 Siddhesh Poyarekar <siddhesh@redhat.com>
16744
16745 * scripts/bench.pl: Skip over blank lines.
16746
fbf964ae
PE
167472013-12-04 Paul Eggert <eggert@cs.ucla.edu>
16748
16749 [BZ #926]
16750 * manual/time.texi (Calendar Time): Clarify what timezone functions
16751 use.
16752
fa60a674
AZ
167532013-12-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16754
16755 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
16756
d674f0ef
OB
167572013-12-04 Ondřej Bílka <neleai@seznam.cz>
16758
16759 * debug/memcpy_chk.c (__memcpy_chk): Use call instead of custom
16760 implementation.
16761 * debug/memmove_chk.c (MEMMOVE_CHK): Likewise.
16762 * debug/mempcpy_chk.c (__mempcpy_chk): Likewise.
16763 * debug/memset_chk.c (__memset_chk): Likewise.
16764 * debug/stpncpy_chk.c (__stpncpy_chk): Likewise.
16765 * debug/strncpy_chk.c: Likewise.
16766
17dea188
JM
167672013-12-03 Joseph Myers <joseph@codesourcery.com>
16768
749008ff
JM
16769 [BZ #15268]
16770 [BZ #15425]
16771 * sysdeps/ieee754/dbl-64/e_exp.c: Include <float.h>.
16772 (__ieee754_exp): For possibly underflowing results, check size of
16773 result and force underflow exception if required.
16774 * math/auto-libm-test-in: Add more tests of exp.
16775 * math/auto-libm-test-out: Regenerated.
16776 * sysdeps/i386/fpu/libm-test-ulps: Update.
16777 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16778
17dea188
JM
16779 [BZ #16283]
16780 * math/w_exp2.c (__exp2): Handle a zero result as underflow.
16781 * math/w_exp2f.c (__exp2f): Likewise.
16782 * math/w_exp2l.c (__exp2l): Likewise.
16783 * math/auto-libm-test-in: Do not allow missing errno on exp2
16784 underflow.
16785 * math/auto-libm-test-out: Regenerated.
16786
b20de2c3
OB
167872013-12-03 Ondřej Bílka <neleai@seznam.cz>
16788
16789 [BZ #16274]
16790 * sysdeps/unix/sysv/linux/shm_open.c (shm_open): Correctly
16791 handle filename validation.
16792 * rt/tst-shm.c (do_test): Do not skip a test when shm_open fails.
16793 (do_open): Delete.
16794
d8e2dbe3
JM
167952013-12-03 Joseph Myers <joseph@codesourcery.com>
16796
34e16df5
JM
16797 [BZ #6786]
16798 * sysdeps/ieee754/dbl-64/s_erf.c: Include <errno.h> and <float.h>.
16799 (__erfc): Set errno to ERANGE when returning 0 or tiny * tiny.
16800 * sysdeps/ieee754/flt-32/s_erff.c: Include <errno.h> and
16801 <float.h>.
16802 (__erfcf): Set errno to ERANGE when returning 0 or tiny * tiny.
16803 * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <errno.h>.
16804 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
16805 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <errno.h>.
16806 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
16807 * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <errno.h>.
16808 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
16809 * math/auto-libm-test-in: Don't allow missing errno from erfc.
16810 Add more erfc tests.
16811 * math/auto-libm-test-out: Regenerated.
16812 * sysdeps/i386/fpu/libm-test-ulps: Update.
16813 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16814
d8e2dbe3
JM
16815 * math/auto-libm-test-in: Add tests of erf, erfc, exp, exp10,
16816 exp2, expm1, j0 and j1.
16817 * math/auto-libm-test-out: Regenerated.
16818 * math/libm-test.inc (erf_test_data): Use AUTO_TESTS_f_f.
16819 (erfc_test_data): Likewise.
16820 (exp_test_data): Likewise.
16821 (exp_tonearest_test_data): Likewise.
16822 (exp_towardzero_test_data): Likewise.
16823 (exp_downward_test_data): Likewise.
16824 (exp_upward_test_data): Likewise.
16825 (exp10_test_data): Likewise.
16826 (exp2_test_data): Likewise.
16827 (expm1_test_data): Likewise.
16828 (j0_test_data): Likewise.
16829 (j1_test_data): Likewise.
16830 * math/gen-auto-libm-tests.c: Mention "xfail-rounding" in comment.
16831 (input_flag_type): Add flag_xfail_rounding.
16832 (input_flags): Add xfail-rounding.
16833 (adjust_real): Assert mpfr_number_p not mpfr_regular_p.
16834 (output_for_one_input_case): Handle flag_xfail_rounding.
16835 * sysdeps/i386/fpu/libm-test-ulps: Update.
16836 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16837
18d14251
AJ
168382013-12-03 Aurelien Jarno <aurelien@aurel32.net>
16839
3d2e6075 16840 [BZ #16289]
18d14251
AJ
16841 * locale/loadarchive.c (_nl_load_locale_from_archive): Avoid
16842 division by 0.
16843
520d437b
SP
168442013-12-03 Siddhesh Poyarekar <siddhesh@redhat.com>
16845
16846 [BZ #16195]
16847 * include/stap-probe.h [!USE_STAP_PROBE && !__ASSEMBLER__]
16848 (LIBC_PROBE): Change definition to call STAP_PROBE* macros.
16849 (STAP_PROBE0): New macro.
16850 (STAP_PROBE1): Likewise.
16851 (STAP_PROBE2): Likewise.
16852 (STAP_PROBE3): Likewise.
16853 (STAP_PROBE4): Likewise.
16854
416e0145
OB
168552013-12-02 Ondřej Bílka <neleai@seznam.cz>
16856
16857 * manual/llio.texi (Memory-mapped I/O): Add shm_open and shm_close.
16858
9d17796a
SE
168592013-12-02 Steve Ellcey <sellcey@mips.com>
16860
16861 * benchtests/Makefile (bench): Add sqrt.
16862 (LDLIBS-bench-sqrt): New.
16863 * benchtests/sqrt-input: New.
16864
f524d6a8
PS
168652013-12-02 Pavel Simerda <psimerda@redhat.com>
16866
639a0ef8
PS
16867 * sysdeps/posix/getaddrinfo.c (GAIH_OKIFUNSPEC): Remove macro.
16868 (GAIH_EAI): Likewise.
16869 (gaih_inet_serv): Don't use GAIH_OKIFUNSPEC.
16870 (gaih_inet): Likewise.
16871 (getaddrinfo): Don't use GAIH_EAI.
16872
f524d6a8
PS
16873 * sysdeps/posix/getaddrinfo.c (UNIX_PATH_MAX): Remove macro.
16874 (struct gaih): Remove definition.
16875
df3aedaf
SP
168762013-12-02 Siddhesh Poyarekar <siddhesh@redhat.com>
16877
16878 * nss/nss_files/files-hosts.c (_nss_files_gethostbyname4_r):
16879 Use HERRNOP directly.
16880
1ab19dec
AZ
168812013-12-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16882
b42ad38d 16883 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1ab19dec 16884
176b0c79
JM
168852013-11-30 Joseph Myers <joseph@codesourcery.com>
16886
16887 * math/gen-auto-libm-tests.c (test_functions): Add more
16888 single-argument functions.
16889 (special_fill_pi_2): New function.
16890 (special_fill_minus_pi_2): Likewise.
16891 (special_fill_pi_6): Likewise.
16892 (special_fill_minus_pi_6): Likewise.
16893 (special_fill_pi_3): Likewise.
16894 (special_fill_2pi_3): Likewise.
16895 (special_fill_e): Likewise.
16896 (special_fill_1_e): Likewise.
16897 (special_fill_e_minus_1): Likewise.
16898 (special_real_inputs): Add more special inputs.
16899 (output_for_one_input_case): Do not require ERANGE on underflow to
16900 zero if round-to-nearest result does not underflow to zero, unless
16901 exact results required.
16902 * math/auto-libm-test-in: Add tests of acos, acosh, asin, asinh,
16903 atan, atanh, cbrt, cos and cosh.
16904 * math/auto-libm-test-out: Regenerated.
16905 * math/libm-test.inc (acos_test_data): Use AUTO_TESTS_f_f.
16906 (acos_tonearest_test_data): Likewise.
16907 (acos_towardzero_test_data): Likewise.
16908 (acos_downward_test_data): Likewise.
16909 (acos_upward_test_data): Likewise.
16910 (acosh_test_data): Likewise.
16911 (asin_test_data): Likewise.
16912 (asin_tonearest_test_data): Likewise.
16913 (asin_towardzero_test_data): Likewise.
16914 (asin_upward_test_data): Likewise.
16915 (asinh_test_data): Likewise.
16916 (atan_test_data): Likewise.
16917 (atanh_test_data): Likewise.
16918 (cbrt_test_data): Likewise.
16919 (cos_test_data): Likewise.
16920 (cos_tonearest_test_data): Likewise.
16921 (cos_towardzero_test_data): Likewise.
16922 (cos_downward_test_data): Likewise.
16923 (cos_upward_test_data): Likewise.
16924 (cosh_test_data): Likewise.
16925 (cosh_tonearest_test_data): Likewise.
16926 (cosh_towardzero_test_data): Likewise.
16927 (cosh_downward_test_data): Likewise.
16928 (cosh_upward_test_data): Likewise.
16929 * sysdeps/i386/fpu/libm-test-ulps: Update.
16930 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16931
ffb536d0
JM
169322013-11-29 Joseph Myers <joseph@codesourcery.com>
16933
2a77a467
JM
16934 [BZ #6787]
16935 * math/w_exp10.c (__exp10): Handle a zero result as underflow.
16936 * math/w_exp10f.c (__exp10f): Likewise.
16937 * math/w_exp10l.c (__exp10l): Likewise.
16938 * math/libm-test.inc (exp10_test_data): Add more tests and expect
16939 errno settings in existing tests.
16940
ea3bc4e8
JM
16941 [BZ #14032]
16942 * sysdeps/i386/fpu/e_sqrt.S (__ieee754_sqrt): Do fsqrt with
16943 precision control set to double precision.
16944 * sysdeps/i386/fpu/w_sqrt.c: New file.
16945 * math/auto-libm-test-in: Add more tests.
16946 * math/auto-libm-test-out: Update.
16947
0712c9d8
JM
16948 * math/libm-test.inc (sqrt_tonearest_test_data): New variable.
16949 (sqrt_test_tonearest): New function.
16950 (sqrt_towardzero_test_data): New variable.
16951 (sqrt_test_towardzero): New function.
16952 (sqrt_downward_test_data): New variable.
16953 (sqrt_test_downward): New function.
16954 (sqrt_upward_test_data): New variable.
16955 (sqrt_test_upward): New function.
16956 (main): Call the new functions.
16957
ffb536d0
JM
16958 * math/gen-auto-libm-tests.c: New file.
16959 * math/auto-libm-test-in: Likewise.
16960 * math/auto-libm-test-out: New generated file.
16961 * math/gen-libm-test.pl ($auto_input, %auto_tests): New global
16962 variables.
16963 (%beautify): Add generated representations of zero.
16964 (top level): Set $auto_input and call parse_auto_input.
16965 (beautify): Remove trailing "f" from hex float constants.
16966 (parse_args): Handle XFAIL_TEST.
16967 (convert_condition): New function.
16968 (or_value): Likewise.
16969 (or_cond_value): Likewise.
16970 (generate_testfile): Handle AUTO_TESTS_* lines.
16971 (parse_auto_input): New function.
16972 * math/libm-test.inc (XFAIL_TEST): New macro.
16973 (ERRNO_UNCHANGED): Update value.
16974 (ERRNO_EDOM): Likewise.
16975 (ERRNO_ERANGE): Likewise.
16976 (IGNORE_RESULT): Likewise.
16977 (TEST_COND_flt_32): New macro.
16978 (TEST_COND_dbl_64): Likewise.
16979 (TEST_COND_ldbl_96_intel): Likewise.
16980 (TEST_COND_ldbl_96_m68k): Likewise.
16981 (TEST_COND_ldbl_128): Likewise.
16982 (TEST_COND_ldbl_128ibm): Likewise.
16983 (TEST_COND_long32): Likewise.
16984 (TEST_COND_long64): Likewise.
16985 (TEST_COND_before_rounding): Likewise.
16986 (TEST_COND_after_rounding): Likewise.
16987 (enable_test): Handle XFAIL_TEST flag.
16988 (sqrt_test_data): Use AUTO_TESTS_f_f for tests of finite inputs
16989 with finite results.
16990 * math/Makefile ($(objpfx)libm-test.stmp): Depend on
16991 auto-libm-test-out.
16992
acd98a8e
AK
169932013-11-29 Siddhesh Poyarekar <siddhesh@redhat.com>
16994 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
16995
16996 [BZ #16214]
16997 * sysdeps/s390/dl-tls.h (__TLS_GET_ADDR): Invoke
16998 __tls_get_addr_internal instead of __tls_get_offset in order to
16999 avoid GOT pointer dependency. Make rtld export
17000 __tls_get_addr_internal@@GLIBC_PRIVATE while still hiding
17001 __tls_get_addr since we are a __tls_get_offset platform.
17002 * sysdeps/s390/s390-64/tls-macros.h (TLS_IE PIC): Don't rely on
17003 GOT pointer being set up before.
17004 * sysdeps/s390/s390-32/tls-macros.h (TLS_IE PIC): Likewise.
17005
3c1c46a6
JM
170062013-11-28 Joseph Myers <joseph@codesourcery.com>
17007
7475aef5
JM
17008 * manual/math.texi (Errors in Math Functions): Document accuracy
17009 goals.
17010
8bca7cd8
JM
17011 [BZ #15004]
17012 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Remove file.
17013 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: Likewise.
17014 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
17015 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
17016 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
17017 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
17018 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
17019 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
17020 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
17021 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
17022 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
17023 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
17024 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
17025 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
17026 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
17027 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
17028
91a1f3fe
JM
17029 * sysdeps/powerpc/nofpu/atomic-feclearexcept.c: New file.
17030 * sysdeps/powerpc/nofpu/atomic-feholdexcept.c: Likewise.
17031 * sysdeps/powerpc/nofpu/atomic-feupdateenv.c: Likewise.
17032 * sysdeps/powerpc/nofpu/flt-rounds.c: Likewise.
17033 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feclearexcept.c:
17034 Likewise.
17035 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feholdexcept.c:
17036 Likewise.
17037 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feupdateenv.c:
17038 Likewise.
17039 * sysdeps/powerpc/powerpc32/e500/nofpu/flt-rounds.c: Likewise.
17040 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = soft-fp]
17041 (sysdep_routines): Add atomic-feholdexcept, atomic-feclearexcept,
17042 atomic-feupdateenv and flt-rounds.
17043 * sysdeps/powerpc/nofpu/Versions (libc): Add
17044 __atomic_feholdexcept, __atomic_feclearexcept,
17045 __atomic_feupdateenv and __flt_rounds to GLIBC_2.19.
17046 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h
17047 (__feraiseexcept_soft): Declare and use libc_hidden_proto here.
17048 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c
17049 (__feraiseexcept_soft): Don't declare and use libc_hidden_proto
17050 here.
17051 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
17052 Update.
17053
c5df7609
JM
17054 * manual/arith.texi (FP Exceptions): Document that exceptions may
17055 not be raised when matherr is used.
17056 (Math Error Reporting): Document overflow in directed rounding
17057 modes. Document that errno may not be set when finite values are
17058 returned on overflow. Document intent to set errno on underflow
17059 only for underflow to zero.
17060
3c1c46a6
JM
17061 [BZ #16271]
17062 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Set
17063 round-to-nearest then adjust result for other rounding modes.
17064 * include/fenv.h (fegetround): Use libm_hidden_proto.
17065 * math/fegetround.c (fegetround): Use libm_hidden_def.
17066 * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
17067 * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
17068 * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
17069 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
17070 Likewise.
17071 * sysdeps/s390/fpu/fegetround.c (fegetround): Likewise.
17072 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
17073 * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
17074 * sysdeps/x86_64/fpu/fegetround.c (fegetround): Likewise.
17075
5a4c6d53
SP
170762013-11-28 Siddhesh Poyarekar <siddhesh@redhat.com>
17077
17078 [BZ #16077]
17079 * nss/Versions (libnss_files): Add
17080 _nss_files_gethostbyname3_r.
17081 * nss/nss_files/files-hosts.c (_nss_files_gethostbyname3_r):
17082 New function.
17083 (HOST_DB_LOOKUP): Remove macro.
17084 (_nss_files_gethostbyname_r): Implement function without the
17085 HOST_DB_LOOKUP macro.
17086 (_nss_files_gethostbyname2_r): Likewise.
17087
897b98ba
OB
170882013-11-28 Ondřej Bílka <neleai@seznam.cz>
17089
17090 * malloc/malloc.c (__libc_calloc): Make memset a tail call.
17091
6f476861
UB
170922013-11-26 Uros Bizjak <ubizjak@gmail.com>
17093
17094 * soft-fp/op-4.h (_FP_FRAC_ASSEMBLE_4): Check rsize against
17095 _FP_W_TYPE_SIZE to avoid "left shift count >= width of type"
17096 warning.
17097
bd12ab55
AZ
170982013-11-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17099
17100 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Use
17101 __fe_nomask_env_priv instead of __fe_nomask_env to avoid a PLT call.
17102 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
17103 * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Likewise.
17104 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Rename to
17105 __fe_nomask_env_priv and attribute_hidden.
17106 * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetenv_ppc): Likewise.
17107 (libc_feupdateenv_test_ppc): Likewise.
17108 (libc_feresetround_ppc): Likewise.
17109 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
17110 (__fe_nomask_env): Rename to __fe_nomask_env_priv and adjust
17111 compat_symbol macro.
17112 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
17113 (__fe_nomask_env): Likewise.
17114 * sysdeps/powerpc/fpu/fe_nomask.c (__fe_nomask_env): Likewise.
17115
52bb6543
OB
171162013-11-26 Ondřej Bílka <neleai@seznam.cz>
17117
17118 * string/Makefile: Remove ifunc tests.
17119 * string/test-string.h: Define TEST_IFUNC.
17120 * string/test-bcopy-ifunc.c: Remove.
17121 * string/test-bzero-ifunc.c: Likewise.
17122 * string/test-memccpy-ifunc.c: Likewise.
17123 * string/test-memchr-ifunc.c: Likewise.
17124 * string/test-memcmp-ifunc.c: Likewise.
17125 * string/test-memcpy-ifunc.c: Likewise.
17126 * string/test-memmem-ifunc.c: Likewise.
17127 * string/test-memmove-ifunc.c: Likewise.
17128 * string/test-mempcpy-ifunc.c: Likewise.
17129 * string/test-memrchr-ifunc.c: Likewise.
17130 * string/test-memset-ifunc.c: Likewise.
17131 * string/test-rawmemchr-ifunc.c: Likewise.
17132 * string/test-stpcpy-ifunc.c: Likewise.
17133 * string/test-stpncpy-ifunc.c: Likewise.
17134 * string/test-strcasecmp-ifunc.c: Likewise.
17135 * string/test-strcasestr-ifunc.c: Likewise.
17136 * string/test-strcat-ifunc.c: Likewise.
17137 * string/test-strchr-ifunc.c: Likewise.
17138 * string/test-strchrnul-ifunc.c: Likewise.
17139 * string/test-strcmp-ifunc.c: Likewise.
17140 * string/test-strcpy-ifunc.c: Likewise.
17141 * string/test-strcspn-ifunc.c: Likewise.
17142 * string/test-strlen-ifunc.c: Likewise.
17143 * string/test-strncasecmp-ifunc.c: Likewise.
17144 * string/test-strncat-ifunc.c: Likewise.
17145 * string/test-strncmp-ifunc.c: Likewise.
17146 * string/test-strncpy-ifunc.c: Likewise.
17147 * string/test-strnlen-ifunc.c: Likewise.
17148 * string/test-strpbrk-ifunc.c: Likewise.
17149 * string/test-strrchr-ifunc.c: Likewise.
17150 * string/test-strspn-ifunc.c: Likewise.
17151 * string/test-strstr-ifunc.c: Likewise.
17152
ab260039 171532013-11-26 Ondřej Bílka <neleai@seznam.cz>
2787db97
OB
17154
17155 * benchtests/Makefile: Remove ifunc tests.
17156 * benchtests/bench-string.h: Define TEST_IFUNC.
17157 * benchtests/bench-bcopy-ifunc.c: Remove.
17158 * benchtests/bench-bzero-ifunc.c: Likewise.
17159 * benchtests/bench-memccpy-ifunc.c: Likewise.
17160 * benchtests/bench-memchr-ifunc.c: Likewise.
17161 * benchtests/bench-memcmp-ifunc.c: Likewise.
17162 * benchtests/bench-memcpy-ifunc.c: Likewise.
17163 * benchtests/bench-memmem-ifunc.c: Likewise.
17164 * benchtests/bench-memmove-ifunc.c: Likewise.
17165 * benchtests/bench-mempcpy-ifunc.c: Likewise.
17166 * benchtests/bench-memrchr-ifunc.c: Likewise.
17167 * benchtests/bench-memset-ifunc.c: Likewise.
17168 * benchtests/bench-rawmemchr-ifunc.c: Likewise.
17169 * benchtests/bench-stpcpy_chk-ifunc.c: Likewise.
17170 * benchtests/bench-stpcpy-ifunc.c: Likewise.
17171 * benchtests/bench-stpncpy-ifunc.c: Likewise.
17172 * benchtests/bench-strcasecmp-ifunc.c: Likewise.
17173 * benchtests/bench-strcasestr-ifunc.c: Likewise.
17174 * benchtests/bench-strcat-ifunc.c: Likewise.
17175 * benchtests/bench-strchr-ifunc.c: Likewise.
17176 * benchtests/bench-strchrnul-ifunc.c: Likewise.
17177 * benchtests/bench-strcmp-ifunc.c: Likewise.
17178 * benchtests/bench-strcpy_chk-ifunc.c: Likewise.
17179 * benchtests/bench-strcpy-ifunc.c: Likewise.
17180 * benchtests/bench-strcspn-ifunc.c: Likewise.
17181 * benchtests/bench-strlen-ifunc.c: Likewise.
17182 * benchtests/bench-strncasecmp-ifunc.c: Likewise.
17183 * benchtests/bench-strncat-ifunc.c: Likewise.
17184 * benchtests/bench-strncmp-ifunc.c: Likewise.
17185 * benchtests/bench-strncpy-ifunc.c: Likewise.
17186 * benchtests/bench-strnlen-ifunc.c: Likewise.
17187 * benchtests/bench-strpbrk-ifunc.c: Likewise.
17188 * benchtests/bench-strrchr-ifunc.c: Likewise.
a9503496 17189 * benchtests/bench-strsep-ifunc.c: Likewise.
2787db97
OB
17190 * benchtests/bench-strspn-ifunc.c: Likewise.
17191 * benchtests/bench-strstr-ifunc.c: Likewise.
17192
171932013-11-26 Ondřej Bílka <neleai@seznam.cz>
17194
ab260039
OB
17195 * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Fix typo.
17196
d1d9eaf4 171972013-11-26 Ondřej Bílka <neleai@seznam.cz>
2787db97 17198
d1d9eaf4
OB
17199 * resolv/netdb.h: Use __glibc_reserved instead __unused.
17200 * rt/aio.h: Likewise.
17201 * sysdeps/gnu/bits/utmp.h: Likewise.
17202 * sysdeps/gnu/bits/utmpx.h: Likewise.
17203 * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
17204 * sysdeps/unix/sysv/linux/bits/ipc.h: Likewise.
17205 * sysdeps/unix/sysv/linux/bits/msq.h: Likewise.
17206 * sysdeps/unix/sysv/linux/bits/sem.h: Likewise.
17207 * sysdeps/unix/sysv/linux/bits/shm.h: Likewise.
17208 * sysdeps/unix/sysv/linux/bits/stat.h: Likewise.
17209 * sysdeps/unix/sysv/linux/kernel_stat.h: Likewise.
17210 * sysdeps/unix/sysv/linux/ntp_gettimex.c: Likewise.
17211 * sysdeps/unix/sysv/linux/powerpc/bits/ipc.h: Likewise.
17212 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h: Likewise.
17213 * sysdeps/unix/sysv/linux/powerpc/bits/sem.h: Likewise.
17214 * sysdeps/unix/sysv/linux/powerpc/bits/shm.h: Likewise.
17215 * sysdeps/unix/sysv/linux/powerpc/bits/stat.h: Likewise.
17216 * sysdeps/unix/sysv/linux/powerpc/powerpc32/kernel_stat.h: Likewise.
17217 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
17218 * sysdeps/unix/sysv/linux/s390/bits/ipc.h: Likewise.
17219 * sysdeps/unix/sysv/linux/s390/bits/msq.h: Likewise.
17220 * sysdeps/unix/sysv/linux/s390/bits/sem.h: Likewise.
17221 * sysdeps/unix/sysv/linux/s390/bits/shm.h: Likewise.
17222 * sysdeps/unix/sysv/linux/s390/bits/stat.h: Likewise.
17223 * sysdeps/unix/sysv/linux/s390/bits/utmp.h: Likewise.
17224 * sysdeps/unix/sysv/linux/s390/bits/utmpx.h: Likewise.
17225 * sysdeps/unix/sysv/linux/s390/s390-32/utmp32.h: Likewise.
17226 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
17227 * sysdeps/unix/sysv/linux/sh/bits/shm.h: Likewise.
17228 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
17229 * sysdeps/unix/sysv/linux/sparc/bits/ipc.h: Likewise.
17230 * sysdeps/unix/sysv/linux/sparc/bits/msq.h: Likewise.
17231 * sysdeps/unix/sysv/linux/sparc/bits/sem.h: Likewise.
17232 * sysdeps/unix/sysv/linux/sparc/bits/shm.h: Likewise.
17233 * sysdeps/unix/sysv/linux/sparc/bits/stat.h: Likewise.
17234 * sysdeps/unix/sysv/linux/sparc/sparc32/kernel_stat.h: Likewise.
17235 * sysdeps/unix/sysv/linux/sparc/sparc64/kernel_stat.h: Likewise.
17236 * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
17237 * sysdeps/unix/sysv/linux/sparc/sys/procfs.h: Likewise.
17238 * sysdeps/unix/sysv/linux/sys/timex.h: Likewise.
17239 * sysdeps/unix/sysv/linux/x86/bits/msq.h: Likewise.
17240 * sysdeps/unix/sysv/linux/x86/bits/sem.h: Likewise.
17241 * sysdeps/unix/sysv/linux/x86/bits/shm.h: Likewise.
17242 * sysdeps/unix/sysv/linux/x86/bits/stat.h: Likewise.
17243 * sysdeps/unix/sysv/linux/xstatconv.c: Likewise.
17244 * sysdeps/x86/fpu/bits/fenv.h: Likewise.
17245
a7624ed9
CD
172462013-11-25 Carlos O'Donell <carlos@redhat.com>
17247
17248 [BZ #16245]
17249 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes):
17250 Rename PTRAVE_EVENT_SECCOMP to PTRACE_EVENT_SECCOMP.
17251
63cfe52b
JM
172522013-11-25 Joseph Myers <joseph@codesourcery.com>
17253
17254 * sysdeps/powerpc/nofpu/fenv_libc.h (__fegetround): New macro.
17255 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
17256 Likewise.
17257
41e8926a
AZ
172582013-11-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17259
17260 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Use
17261 SET_RESTORE_ROUND instead of feholdexcept/fesetround/fesetenv.
17262 * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove define.
17263 (__fesetround): Remove define.
17264 * sysdeps/powerpc/fpu/fenv_private.h: New file: Inline floating point
17265 rounding and exceptions handling.
17266 * sysdeps/powerpc/fpu/math_private.h: Include fenv_private.h.
17267 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_mask_env): Define as hidden.
17268 (__fe_nomask_env): Likewise.
17269 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Use
17270 __fegetround instead of fegetround.
17271 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
17272 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c (__rintl): Likewise.
17273
6851bd4d
RM
172742013-11-21 Roland McGrath <roland@hack.frob.com>
17275
070906ff
RM
17276 * malloc/malloc.c: Move #include <sys/param.h> to the top; comment why
17277 it's there.
17278
6851bd4d
RM
17279 * sysdeps/generic/sys/swap.h (swapon): Add FLAGS argument to prototype.
17280
84ae135d
MI
172812013-11-21 Meador Inge <meadori@codesourcery.com>
17282
17283 [BZ #11157]
17284 * crypt/crypt.h (encrypt): Use __glibc_block instead of __block.
17285 (encrypt_r): Likewise.
17286 * malloc/obstack.h (obstack_free): Likewise.
17287 * posix/unistd.h (encrypt): Likewise.
17288
daf75146
GM
172892013-11-21 Guy Martin <gmsoft@tuxicoman.be>
17290
17291 * sysdeps/generic/ldsodefs.h: Replace DL_DT_INIT_ADDRESS() and
17292 DL_DT_FINI_ADDRESS() macro with DL_CALL_DT_INIT() and
17293 DL_CALL_DT_FINI() that call the functions directly.
17294 * elf/dl-init.c: Use the new DL_CALL_DT_INIT() macro.
17295 * elf/dl-close.c: Use the new DL_CALL_DT_FINI() macro.
17296 * elf/dl-fini.c: Likewise.
17297
10ad46bc
OB
172982013-11-20 Ondřej Bílka <neleai@seznam.cz>
17299
17300 * malloc/hooks.c (memalign_check): Add alignment rounding.
17301 * malloc/malloc.c (_mid_memalign): New function.
17302 (__libc_valloc, __libc_pvalloc, __libc_memalign, __posix_memalign):
17303 Implement by calling _mid_memalign.
17304 * manual/probes.texi (Memory Allocation Probes): Remove
17305 memory_valloc_retry and memory_pvalloc_retry.
17306
f3fd2628
SP
173072013-11-20 Siddhesh Poyarekar <siddhesh@redhat.com>
17308
4712799f
SP
17309 * locale/programs/locarchive.c (open_archive): Add const
17310 qualifier to ARCHIVEFNAME and copy default fname to
17311 DEFAULT_FNAME.
17312
0417b20f
SP
17313 [BZ #15601]
17314 * libio/tst-widetext.input: Rename Oriya to Odia.
17315 * locale/iso-639.def: Likewise.
17316
f3fd2628
SP
17317 * manual/probes.texi (Mathematical Function Probes): Add
17318 documentation for sin, cos, asin and acos probes.
17319 * sysdeps/ieee754/dbl-64/sincos32.c: Include stap-probe.h.
17320 (__sin32): Add slowasin probe.
17321 (__cos32): Add slowacos probe.
17322 (__mpsin): Add slowsin probe.
17323 (__mpcos): Add slowcos probe.
17324
73c1ce4f
JM
173252013-11-19 Joseph Myers <joseph@codesourcery.com>
17326
17327 [BZ #15483]
17328 * sysdeps/powerpc/nofpu/sim-full.c (__sim_exceptions): Change to
17329 thread-local __sim_exceptions_thread and global
17330 __sim_exceptions_global.
17331 (__sim_disabled_exceptions): Change to thread-local
17332 __sim_disabled_exceptions_thread and global
17333 __sim_disabled_exceptions_global.
17334 (__sim_round_mode): Change to thread-local __sim_round_mode_thread
17335 and global __sim_round_mode_global.
17336 (__simulate_exceptions): Use thread-local floating-point state and
17337 set global state from it as needed.
17338 * sysdeps/powerpc/nofpu/Versions (GLIBC_PRIVATE): Add
17339 __sim_exceptions_thread, __sim_disabled_exceptions_thread and
17340 __sim_round_mode_thread.
17341 * sysdeps/powerpc/nofpu/soft-supp.h: Include <shlib-compat.h>.
17342 (__sim_exceptions): Change to thread-local __sim_exceptions_thread
17343 and global __sim_exceptions_global.
17344 (__sim_disabled_exceptions): Change to thread-local
17345 __sim_disabled_exceptions_thread and global
17346 __sim_disabled_exceptions_global.
17347 (__sim_round_mode): Change to thread-local __sim_round_mode_thread
17348 and global __sim_round_mode_global.
17349 [SIM_GLOBAL_COMPAT] (SIM_COMPAT_SYMBOL): New macro.
17350 (SIM_SET_GLOBAL): Likewise.
17351 * sysdeps/powerpc/soft-fp/sfp-machine.h
17352 [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_ROUNDMODE): Use
17353 __sim_round_mode_thread.
17354 [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_TRAPPING_EXCEPTIONS): Use
17355 __sim_disabled_exceptions_thread.
17356 (__sim_exceptions): Change to __sim_exceptions_thread.
17357 (__sim_disabled_exceptions): Change to
17358 __sim_disabled_exceptions_thread.
17359 (__sim_round_mode): Change to __sim_round_mode_thread.
17360 * sysdeps/powerpc/nofpu/fclrexcpt.c (__feclearexcept): Use
17361 thread-local floating-point state and set global state from it as
17362 needed.
17363 * sysdeps/powerpc/nofpu/fedisblxcpt.c (fedisableexcept): Likewise.
17364 * sysdeps/powerpc/nofpu/feenablxcpt.c: Include "soft-supp.h".
17365 (__sim_disabled_exceptions): Remove extern declaration.
17366 (feenableexcept): Use thread-local floating-point state and set
17367 global state from it as needed.
17368 * sysdeps/powerpc/nofpu/fegetenv.c (__sim_exceptions): Remove
17369 extern declaration.
17370 (__sim_disabled_exceptions): Likewise.
17371 (__sim_round_mode): Likewise.
17372 (__fegetenv): Use thread-local floating-point state.
17373 * sysdeps/powerpc/nofpu/fegetexcept.c (fegetexcept): Likewise.
17374 * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
17375 * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Use thread-local
17376 floating-point state and set global state from it as needed.
17377 * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Likewise.
17378 * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
17379 * sysdeps/powerpc/nofpu/fgetexcptflg.c (__fegetexceptflag):
17380 Likewise.
17381 * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
17382 * sysdeps/powerpc/nofpu/fsetexcptflg.c (__fesetexceptflag):
17383 Likewise.
17384 sysdeps/powerpc/nofpu/ftestexcept.c (fetestexcept): Likewise.
17385 * sysdeps/powerpc/nofpu/get-rounding-mode.h (get_rounding_mode):
17386 Use __sim_round_mode_thread.
17387 * math/test-fenv-tls.c: New file.
17388 * math/Makefile (tests): Add test-fenv-tls.
17389 ($(objpfx)test-fenv-tls): Depend on
17390 $(common-objpfx)nptl/libpthread.so.
17391
b5449b12
AS
173922013-11-19 Andreas Schwab <schwab@suse.de>
17393
17394 * locale/programs/locale.c (show_info): Decode wordarray elements.
17395 * locale/categories.def (LC_MONETARY): Add element for
17396 _NL_MONETARY_CRNCYSTR.
17397 * locale/C-monetary.c (conversion_rate): New variable.
17398 (_nl_C_LC_MONETARY): Use it for _NL_MONETARY_CONVERSION_RATE
17399 element.
17400
e186536b
CM
174012013-11-18 Chris Metcalf <cmetcalf@tilera.com>
17402
17403 * math/test-fpucw-ieee.c [!defined _FPU_IEEE] (FPU_CONTROL):
17404 Omit definition of FPU_CONTROL and use default if no _FPU_IEEE.
17405
5c349950
PP
174062013-11-18 Paul Pluzhnikov <ppluzhnikov@google.com>
17407
17408 * elf/Makefile (tst-auxv): New test.
17409 * elf/tst-auxv.c: New
17410 * elf/rtld.c (dl_main): Adjust AT_EXECFN
17411
699df45b
JM
174122013-11-18 Joseph Myers <joseph@codesourcery.com>
17413
17414 * include/libc-symbols.h (__hidden_proto): Add argument "thread".
17415 (hidden_proto): Caller changed.
17416 (hidden_tls_proto): New macro.
17417 (libc_hidden_tls_proto): Likewise.
17418 (rtld_hidden_tls_proto): Likewise.
17419 (libm_hidden_tls_proto): Likewise.
17420 (libresolv_hidden_tls_proto): Likewise.
17421 (librt_hidden_tls_proto): Likewise.
17422 (libdl_hidden_tls_proto): Likewise.
17423 (libnss_files_hidden_tls_proto): Likewise.
17424 (libnsl_hidden_tls_proto): Likewise.
17425 (libnss_nisplus_hidden_tls_proto): Likewise.
17426 (libutil_hidden_tls_proto): Likewise.
17427
b7589107
OB
174282013-11-18 Ondřej Bílka <neleai@seznam.cz>
17429
17430 [BZ #10253]
17431 * elf/dl-load.c (fillin_rpath): Add linkmap parameter and expand path.
17432 (decompose_rpath): Defer expansion to fillin_rpath.
17433 (_dl_init_paths): Pass linkmap to fillin_rpath.
17434
250c23bd
RS
174352013-11-18 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
17436
17437 * benchtests/Makefile: Add strsep.
17438 * benchtests/bench-strsep.c: New file: strsep benchtest.
17439 * benchtests/bench-strsep-ifunc.c: New file: strsep benchtest.
17440
a7931fcf
AS
174412013-11-18 Andreas Schwab <schwab@suse.de>
17442
17443 * locale/programs/locale.c (show_info) [case byte]: Check for
17444 '\377' instead of '\177'.
17445 * locale/C-monetary.c (not_available): Always use "\377".
17446 * stdlib/strfmon_l.c (__vstrfmon_l): Use -2 as marker for
17447 unspecified p_sign_posn and n_sign_posn. Check for '\377' to
17448 detect unavailable sign_posn locale elements.
17449 * locale/localeconv.c (__localeconv): For grouping and
17450 mon_grouping handle "\177" and "\377" like no grouping.
17451 (INT_ELEM): New macro. Use it to set all numeric members.
17452 * locale/programs/ld-monetary.c (monetary_read)
17453 <tok_mon_grouping>: Normalize single -1 to the empty string.
17454 * locale/programs/ld-numeric.c (numeric_read) <tok_grouping>:
17455 Likewise.
17456
728dab0e
OB
174572013-11-07 Ondřej Bílka <neleai@seznam.cz>
17458
17459 [BZ #16055]
17460 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Limit width
17461 when we match (nil).
17462 * stdio-common/tst-sscanf.c (struct test): Add testcase.
17463
66294491
JM
174642013-11-16 Joseph Myers <joseph@codesourcery.com>
17465
ce665817
JM
17466 * math/libm-test.inc (TEST_NAN_SIGN): New macro.
17467 (NO_TEST_INLINE): Update value.
17468 (ERRNO_UNCHANGED): Likewise.
17469 (ERRNO_EDOM): Likewise.
17470 (ERRNO_ERANGE): Likewise.
17471 (IGNORE_RESULT): Likewise.
17472 (check_float_internal): Check signs of NaN results if
17473 TEST_NAN_SIGN used.
17474 (check_complex): Pass TEST_NAN_SIGN flag through to second
17475 check_float_internal call.
17476 (copysign_test_data): Add tests with quiet NaNs as second
17477 argument. Use TEST_NAN_SIGN.
17478 (fabs_test_data): Add test of negative quiet NaN argument. Use
17479 TEST_NAN_SIGN.
17480 (signbit_test_data): Add tests of quiet NaN argument.
17481 * math/gen-libm-test.pl (parse_args): Handle TEST_NAN_SIGN.
17482
ee1466a9
JM
17483 * math/gen-libm-test.pl (show_exceptions): Take extra argument
17484 $ignore_result.
17485 (parse_args): Handle function results specified as IGNORE.
17486 * math/libm-test.inc (IGNORE_RESULT): New macro.
17487 (check_float_internal): Do not check numerical result if flag
17488 IGNORE_RESULT set.
17489 (check_complex): Pass through IGNORE_RESULT to second
17490 check_float_internal call.
17491 (check_int): Do not check numerical result if flag IGNORE_RESULT
17492 set.
17493 (check_long): Likewise.
17494 (check_bool): Likewise.
17495 (check_longlong): Likewise.
17496 (lrint_test_data): Add tests of infinite and NaN arguments.
17497 (lrint_tonearest_test_data): Likewise.
17498 (lrint_towardzero_test_data): Likewise.
17499 (lrint_downward_test_data): Likewise.
17500 (lrint_upward_test_data): Likewise.
17501 (llrint_test_data): Likewise.
17502 (llrint_tonearest_test_data): Likewise.
17503 (llrint_towardzero_test_data): Likewise.
17504 (llrint_downward_test_data): Likewise.
17505 (llrint_upward_test_data): Likewise.
17506 (lround_test_data): Likewise.
17507 (llround_test_data): Likewise.
17508
14407b7e
JM
17509 * math/libm-test.inc (NO_TEST_INLINE): New macro.
17510 (ERRNO_UNCHANGED): Update value.
17511 (ERRNO_EDOM): Likewise.
17512 (ERRNO_ERANGE): Likewise.
17513 (NO_TEST_INLINE_FLOAT): New macro.
17514 (NO_TEST_INLINE_DOUBLE): Likewise.
17515 (enable_test): New function.
17516 (RUN_TEST_f_f): Check enable_test before running test.
17517 (RUN_TEST_2_f): Likewise.
17518 (RUN_TEST_fff_f): Likewise.
17519 (RUN_TEST_c_f): Likewise.
17520 (RUN_TEST_f_f1): Likewise.
17521 (RUN_TEST_fF_f1): Likewise.
17522 (RUN_TEST_fI_f1): Likewise.
17523 (RUN_TEST_ffI_f1): Likewise.
17524 (RUN_TEST_c_c): Likewise.
17525 (RUN_TEST_cc_c): Likewise.
17526 (RUN_TEST_f_i): Likewise.
17527 (RUN_TEST_f_i_tg): Likewise.
17528 (RUN_TEST_ff_i_tg): Likewise.
17529 (RUN_TEST_f_b): Likewise.
17530 (RUN_TEST_f_b_tg): Likewise.
17531 (RUN_TEST_f_l): Likewise.
17532 (RUN_TEST_f_L): Likewise.
17533 (RUN_TEST_fFF_11): Likewise.
17534 (asinh_test_data): Use NO_TEST_INLINE instead of [!TEST_INLINE]
17535 conditionals.
17536 (cosh_test_data): Likewise.
17537 (exp_test_data): Likewise.
17538 (expm1_test_data): Likewise.
17539 (hypot_test_data): Likewise.
17540 (pow_test_data): Likewise.
17541 (sinh_test_data): Likewise.
17542 (tanh_test_data): Likewise.
17543 * math/gen-libm-test.pl (parse_args): Allow NO_TEST_INLINE as
17544 flags argument.
17545
ca07f197
JM
17546 * libm-test.inc (acos_test_data): Disallow inexact exceptions for
17547 tests with quiet NaN input and output.
17548 (acosh_test_data): Likewise.
17549 (asin_test_data): Likewise.
17550 (asinh_test_data): Likewise.
17551 (atan_test_data): Likewise.
17552 (atanh_test_data): Likewise.
17553 (atan2_test_data): Likewise.
17554 (cbrt_test_data): Likewise.
17555 (cos_test_data): Likewise.
17556 (cosh_test_data): Likewise.
17557 (erf_test_data): Likewise.
17558 (erfc_test_data): Likewise.
17559 (exp_test_data): Likewise.
17560 (exp10_test_data): Likewise.
17561 (exp2_test_data): Likewise.
17562 (expm1_test_data): Likewise.
17563 (hypot_test_data): Likewise.
17564 (j0_test_data): Likewise.
17565 (j1_test_data): Likewise.
17566 (jn_test_data): Likewise.
17567 (lgamma_test_data): Likewise.
17568 (log_test_data): Likewise.
17569 (log10_test_data): Likewise.
17570 (log1p_test_data): Likewise.
17571 (log2_test_data): Likewise.
17572 (pow_test_data): Likewise.
17573 (scalb_test_data): Likewise.
17574 (sin_test_data): Likewise.
17575 (sincos_test_data): Likewise.
17576 (sinh_test_data): Likewise.
17577 (tan_test_data): Likewise.
17578 (tanh_test_data): Likewise.
17579 (tgamma_test_data): Likewise.
17580 (y0_test_data): Likewise.
17581 (y1_test_data): Likewise.
17582 (yn_test_data): Likewise.
17583
66294491
JM
17584 [BZ #16167]
17585 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Check for first
17586 argument being NaN and avoid computations with second argument in
17587 that case.
17588 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
17589 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
17590 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
17591
1820b143
CL
175922013-11-15 Arun Kumar Pyasi <arun@chitwanix.com>
17593
17594 * locale/iso-639.def: Add Chitwani Tharu (the).
17595
714bd261
AS
175962013-11-14 Andreas Schwab <schwab@suse.de>
17597
17598 * locale/C-address.c (_nl_C_LC_ADDRESS): Set country_num to zero
17599 word instead of empty string.
17600
7ab44563
AZ
176012013-11-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17602
17603 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
17604 (__fe_nomask_env): Fir compat symbol to be remove for GLIBC_2.19.
17605 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
17606 (__fe_nomask_env): Likewise.
17607
e8470ea2
SE
176082013-11-13 Steve Ellcey <sellcey@mips.com>
17609
17610 * benchtests/bench-timing.h: Include time.h.
17611
17c1d9f0
L
176122013-11-13 H.J. Lu <hongjiu.lu@intel.com>
17613
17614 [BZ #15997]
17615 * sysdeps/unix/sysv/linux/configure.ac (arch_minimum_kernel): Set
17616 to 3.4.0 for x32.
17617 * sysdeps/unix/sysv/linux/configure: Regenerated.
17618
9310c284
JM
176192013-11-13 Joseph Myers <joseph@codesourcery.com>
17620
17621 [BZ #16151]
17622 * stdlib/strtod_l.c (round_and_return): Do not consider
17623 retval[RETURN_LIBM_SIZE - 1] when determining more_bits for an
17624 exponent one less than half the least subnormal exponent.
17625 * stdlib/test-strtod-round-data: Add more tests.
17626 * stdlib/tst-strtod-round.c (tests): Regenerated.
17627
7a2ad8cf
AZ
176282013-11-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17629
17630 [BZ #14143]
17631 * sysdeps/powerpc/bits/fenv.h (__fe_nomask_env): Remove declaration.
17632 (__fe_mask_env): Likewise.
17633 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Remove
17634 libm_hidden_proto and add function prototype.
17635 (__fe_mask_env): Add function prototype.
17636 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
17637 (__fe_nomask_env): Add compat symbol for GLIBC_2.1.
17638 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
17639 (__fe_mask_env): Remove compiler warnings regarding ununsed variables.
17640 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
17641 (__fe_nomask_env): Add compat symbol for GLIBC_2.3.
17642
50727aa7
MS
176432013-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
17644
b2f386c1 17645 * elf/dl-lookup.c (_dl_lookup_symbol_x): If UNDEF_MAP is false
50727aa7
MS
17646 set reference_name to "" to avoid passing NULL to DSO_FILENAME.
17647
a615be46
MS
176482013-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
17649
17650 * elf/tlsdeschtab.h (_dl_make_tlsdesc_dynamic): Handle failure
17651 of htab_find_slot().
17652
7ddace62
DM
176532013-11-11 David S. Miller <davem@davemloft.net>
17654
17655 [BZ #16150]
17656 * sysdeps/sparc/sparc64/multiarch/add_n.S: Resolve to the correct generic
17657 symbol in the non-vis3 case in static builds.
17658 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: Likewise.
17659 * sysdeps/sparc/sparc64/multiarch/mul_1.S: Likewise.
17660 * sysdeps/sparc/sparc64/multiarch/sub_n.S: Likewise.
17661 * sysdeps/sparc/sparc64/multiarch/submul_1.S: Likewise.
17662
9182aa67
JK
176632013-11-11 Jan Kratochvil <jan.kratochvil@redhat.com>
17664
17665 [BZ #387]
17666 * elf/dl-object.c (_dl_new_object): Initialize L_NAME from NEWNAME if
17667 it is empty.
17668
450a2e2d
AZ
176692013-11-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17670
b2f386c1
SP
17671 * benchtests/Makefile: Add bench-strtod.
17672 * benchtests/bench-strtod.c: New file: strtod benchtest
450a2e2d 17673
8ec3f656
AS
176742013-11-11 Andreas Schwab <schwab@suse.de>
17675
17676 [BZ #16153]
17677 * nscd/nscd_getserv_r.c (__nscd_getservbyport_r): Don't include
17678 terminating NUL in key length.
17679
76a9b998
AZ
176802013-11-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17681
17682 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
17683 Add artificial ODP entry for vDSO symbol for PPC64.
17684 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Adjust includes.
17685 * sysdeps/unix/sysv/linux/powerpc/time.c: Likewise.
17686
e4368156
OB
176872013-11-07 Ondřej Bílka <neleai@seznam.cz>
17688
17689 [BZ #15374]
17690 * nss/getent.c (services_keys): Recognize services starting with digit.
17691
8d6bb57c
DM
176922013-11-06 David S. Miller <davem@davemloft.net>
17693
17694 [BZ #15985]
17695 * sysdeps/sparc/sparc32/fpu/s_fdim.S (__fdim): Do not use fnegd
17696 on pre-v9 cpus, use a fnegs+fmovs sequence instead.
17697
e256c421
WN
176982013-11-06 Will Newton <will.newton@linaro.org>
17699
17700 * manual/memory.texi (Malloc Examples): Remove register
17701 keyword from examples.
17702
f6e12daa 177032013-11-04 Chris Leonard <cjl@sugarlabs.org>
1484e657 17704
f6e12daa 17705 * locale/iso-639.def: Correct Walaita (wal) and add Unami Delaware (unm).
1484e657 17706
9d880655
AS
177072013-11-04 Joseph Myers <joseph@codesourcery.com>
17708
fd2f9486 17709 [BZ #6981]
9d880655
AS
17710 * include/stdc-predef.h [__GCC_IEC_559] (__STDC_IEC_559__): Define
17711 depending on [__GCC_IEC_559 > 0].
17712 [__GCC_IEC_559_COMPLEX] (__STDC_IEC_559_COMPLEX__): Define
17713 depending on [__GCC_IEC_559_COMPLEX > 0].
17714
ae129d3c
CL
177152013-11-03 Chris Leonard <cjl@sugarlabs.org>
17716
17717 * locale/iso-639.def: Add Quechua, Southern (quz) and Silesian (szl)
17718 to iso-639.def.
17719
4a15c2a4 177202013-11-03 Ondřej Bílka <neleai@seznam.cz>
17c8c3dc
OB
17721
17722 * elf/rtld.c: Remove unused NONTLS_INIT_TP.
17723
8b35e35d
OB
177242013-11-01 Ondřej Bílka <neleai@seznam.cz>
17725
17726 [BZ #16112]
17727 * malloc/malloc (malloc_info): Do not handle first bin as
17728 special case.
17729
1d70fd6c
CL
177302013-11-01 Chris Leonard <cjl@sugarlabs.org>
17731
17732 * locale/iso-639.def: Add Central Nahuatl (nhn).
17733
8c5c2600
BH
177342013-11-01 Bruno Haible <bruno@clisp.org>
17735
17736 [BZ #7003]
17737 * manual/math.texi (BSD Random): Specify range upper bound as
17738 in POSIX.
17739
da5579c2
CL
177402013-10-31 Chris Leonard <cjl@sugarlabs.org>
17741
17742 * locale/iso-639.def: Add Meadow Mari (mhr).
17743
5d30d853
OB
177442013-10-31 Ondřej Bílka <neleai@seznam.cz>
17745
17746 [BZ #14752], [BZ #15763]
17747 * sysdeps/unix/sysv/linux/shm_open.c (shm_open, shm_unlink):
17748 Validate name.
17749 * rt/tst_shm.c: Add test for escaping directory.
17750
a4966c61
AS
177512013-10-31 Andreas Schwab <schwab@suse.de>
17752
8a43e768 17753 [BZ #15917]
a4966c61
AS
17754 * stdio-common/vfscanf.c (_IO_vfwscanf): Handle leading '0' not
17755 followed by 'x' as part of digit sequence.
17756 * stdio-common/tst-sscanf.c (double_tests2): New tests.
17757
28d708c4
MAP
177582013-10-31 Marc-Antoine Perennou <Marc-Antoine@Perennou.com>
17759
17760 [BZ #16037]
17761 * configure.ac: allow GNU Make 4.0 and greater.
17762 * configure: Regenerated.
17763
a56ee40b
WN
177642013-10-30 Will Newton <will.newton@linaro.org>
17765
17766 [BZ #16038]
17767 * malloc/hooks.c (memalign_check): Limit alignment to the
17768 maximum representable power of two.
17769 * malloc/malloc.c (__libc_memalign): Likewise.
17770 * malloc/tst-memalign.c (do_test): Add test for very
17771 large alignment values.
17772 * malloc/tst-posix_memalign.c (do_test): Likewise.
17773
c6e4925d
OB
177742013-10-30 Ondřej Bílka <neleai@seznam.cz>
17775
17776 [BZ #11087]
17777 * malloc/malloc.c (sysmalloc): Compute statistics atomically.
17778 (munmap_chunk): Likewise.
17779 (mremap_chunk): Likewise.
17780
177812013-10-30 Ondřej Bílka <neleai@seznam.cz>
bbea82f7 17782
8a43e768 17783 [BZ #15799]
bbea82f7
OB
17784 * stdlib/div.c (div): Remove obsolete code.
17785 * stdlib/ldiv.c (ldiv): Likewise.
17786 * stdlib/lldiv.c (lldiv): Likewise.
17787
977f4b31
SP
177882013-10-30 Siddhesh Poyarekar <siddhesh@redhat.com>
17789
17790 [BZ #16071]
17791 * nss/nss_files/files-XXX.c (get_contents_ret): New
17792 enumerator.
17793 (get_contents): New function.
17794 (internal_getent): Use it. Expand size of LINEBUFLEN.
17795
cb8a6dbd
MF
177962013-10-30 Mike Frysinger <vapier@gentoo.org>
17797
17798 * configure.in: Moved to ...
17799 * configure.ac: ... here. Change reference to configure.in
17800 to configure.ac.
17801 * sysdeps/arm/preconfigure.ac: ... here.
17802 configure.in to configure.ac.
17803 * sysdeps/gnu/configure.in: Moved to ...
17804 * sysdeps/gnu/configure.ac: ... here.
17805 * sysdeps/i386/configure.in: Moved to ...
17806 * sysdeps/i386/configure.ac: ... here.
17807 * sysdeps/ieee754/ldbl-opt/configure.in: Moved to ...
17808 * sysdeps/ieee754/ldbl-opt/configure.ac: ... here.
17809 * sysdeps/mach/configure.in: Moved to ...
17810 * sysdeps/mach/configure.ac: ... here.
17811 * sysdeps/mach/hurd/configure.in: Moved to ...
17812 * sysdeps/mach/hurd/configure.ac: ... here.
17813 * sysdeps/powerpc/configure.in: Moved to ...
17814 * sysdeps/powerpc/configure.ac: ... here.
17815 * sysdeps/powerpc/powerpc32/configure.in: Moved to ...
17816 * sysdeps/powerpc/powerpc32/configure.ac: ... here.
17817 * sysdeps/powerpc/powerpc64/configure.in: Moved to ...
17818 * sysdeps/powerpc/powerpc64/configure.ac: ... here.
17819 * sysdeps/s390/s390-32/configure.in: Moved to ...
17820 * sysdeps/s390/s390-32/configure.ac: ... here.
17821 * sysdeps/s390/s390-64/configure.in: Moved to ...
17822 * sysdeps/s390/s390-64/configure.ac: ... here.
17823 * sysdeps/sh/configure.in: Moved to ...
17824 * sysdeps/sh/configure.ac: ... here.
17825 * sysdeps/sparc/configure.in: Moved to ...
17826 * sysdeps/sparc/configure.ac: ... here.
17827 * sysdeps/unix/sysv/linux/configure.in: Moved to ...
17828 * sysdeps/unix/sysv/linux/configure.ac: ... here.
17829 * sysdeps/unix/sysv/linux/powerpc/configure.in: Moved to ...
17830 * sysdeps/unix/sysv/linux/powerpc/configure.ac: ... here.
17831 * sysdeps/x86_64/configure.in: Moved to ...
17832 * sysdeps/x86_64/configure.ac: ... here.
17833 * sysdeps/x86_64/preconfigure.in: Moved to ...
17834 * sysdeps/x86_64/preconfigure.ac: ... here.
17835 * aclocal.m4: Change reference to configure.in to configure.ac.
17836 * config.h.in: Likewise.
17837 * manual/install.texi: Likewise.
17838 * manual/maint.texi: Likewise.
17839 * Makefile: Likewise.
17840 * malloc/Makefile: Likewise.
17841 * nscd/Makefile: Likewise.
17842 * Makeconfig: Change reference to configure.in and
17843 preconfigure.in to configure.ac and preconfigure.ac
17844 respectively.
17845 * INSTALL: Regenerated.
17846 * configure: Likewise.
17847 * sysdeps/gnu/configure: Likewise.
17848 * sysdeps/i386/configure: Likewise.
17849 * sysdeps/ieee754/ldbl-opt/configure: Likewise.
17850 * sysdeps/mach/configure: Likewise.
17851 * sysdeps/mach/hurd/configure: Likewise.
17852 * sysdeps/powerpc/configure: Likewise.
17853 * sysdeps/powerpc/powerpc32/configure: Likewise.
17854 * sysdeps/powerpc/powerpc64/configure: Likewise.
17855 * sysdeps/s390/s390-32/configure: Likewise.
17856 * sysdeps/s390/s390-64/configure: Likewise.
17857 * sysdeps/sh/configure: Likewise.
17858 * sysdeps/sparc/configure: Likewise.
17859 * sysdeps/unix/sysv/linux/configure: Likewise.
17860 * sysdeps/unix/sysv/linux/powerpc/configure: Likewise.
17861 * sysdeps/x86_64/configure: Likewise.
17862 * sysdeps/x86_64/preconfigure: Likewise.
17863
36a4953a
AS
178642013-10-29 Andreas Schwab <schwab@suse.de>
17865
17866 * stdio-common/Makefile (tst-swscanf-ENV): Define.
17867
c79a1204
SP
178682013-10-28 Siddhesh Poyarekar <siddhesh@redhat.com>
17869
dfa1b402
SP
17870 * benchtests/pow-inputs: Add new inputs.
17871
54f73d9c
SP
17872 * benchtests/exp-inputs: Add new inputs.
17873
c79a1204
SP
17874 * sysdeps/ieee754/dbl-64/sincos32.c (__sin32): Consolidate
17875 conditional check for return value.
17876 (__cos32): Likewise.
17877
67beb545 178782013-10-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
69f13dbf
AZ
17879
17880 * sysdeps/powerpc/powerpc64/strcpy.S (strcpy): Add word load/store
17881 to provide a boost for large inputs with word alignment.
17882 * sysdeps/powerpc/powerpc64/stpcpy.S (__stpcpy): Rewrite
17883 implementation based on optimized PPC64 strcpy.
17884 * sysdeps/powerpc/powerpc64/power7/strcpy.S: New file: optimized
17885 strcpy for PPC64/POWER7 based on both doubleword and word load/store.
17886 * sysdeps/powerpc/powerpc64/power7/stpcpy.S: New file: optimized
17887 stpcpy for PPC64/POWER7 based on PPC64/POWER7 strcpy.
17888
151659f6
OB
178892013-10-25 Ondřej Bílka <neleai@seznam.cz>
17890
482a077e 17891 [BZ #2801]
151659f6
OB
17892 * manual/socket.texi (Host Names): Fix gethostbyname_r example.
17893
10b0f26b
OB
178942013-10-25 Ondřej Bílka <neleai@seznam.cz>
17895
17896 [BZ #14876]
17897 * time/strptime_l.c (__strptime_internal): 14876 Read timezone entry.
17898 * time/tst-strptime.c (day_tests): Add testcase.
17899
ca42d35e
OB
179002013-10-25 Ondřej Bílka <neleai@seznam.cz>
17901
482a077e 17902 [BZ #14029]
ca42d35e
OB
17903 * manual/pattern.texi: Acknowledge that fnmatch can fail.
17904
52e6d801
FB
179052013-10-25 Fabrice Bauzac <fbauzac@debian71.nce.amadeus.net>
17906
17907 [BZ #16074]
17908 * manual/llio.texi (Memory-mapped I/O): Indicate that mmap returns
17909 MAP_FAILED on error.
17910
7cbcdb36
SP
179112013-10-25 Siddhesh Poyarekar <siddhesh@redhat.com>
17912
17913 [BZ #16072]
17914 * sysdeps/posix/getaddrinfo.c (gethosts): Allocate tmpbuf on
17915 heap for large requests.
17916
894f3f10
AM
179172013-10-25 Aurelien Jarno <aurelien@aurel32.net>
17918
17919 [BZ #9954]
17920 * sysdeps/posix/getaddrinfo.c (rfc3484_sort): do not assign native
17921 result if the result has no associated interface.
17922 * sysdeps/posix/getaddrinfo.c (getaddrinfo): correctly detect
17923 interface for all 127.X.Y.Z addresses.
17924
b85545a6
CL
179252013-10-24 Chris Leonard <cjl@sugarlabs.org>
17926
17927 * locale/iso-639.def: Add Ligurian (lij)
17928
d1f23d46
OB
179292013-10-21 Ondřej Bílka <neleai@seznam.cz>
17930
17931 [BZ #15825]
17932 * sunrpc/rpc_main.c: Document rpcgen -5.
17933
4db5b08f
MS
179342013-10-19 Michael Stahl <mstahl@redhat.com>
17935
17936 * elf/rtld.c (do_preload): Print the reason why preloading failed.
17937
a471e96a
OB
179382013-10-19 Ondřej Bílka <neleai@seznam.cz>
17939
d1f23d46 17940 [BZ #10278]
a471e96a
OB
17941 * posix/glob.c: Match only directories when trailing slash is present.
17942 * posix/tst-gnuglob.c (my_opendir): Do not open files.
17943 (main): Add testcase.
17944
45c30c61
OB
179452013-10-19 Ondřej Bílka <neleai@seznam.cz>
17946
17947 [BZ #15670]
17948 * time/tzfile.c (__tzfile_read): Replace alloca with malloc.
17949
484c12fb
CD
179502013-10-18 Carlos O'Donell <carlos@redhat.com>
17951
3d7dc513
CD
17952 * manual/crypt.texi (Cryptographic Functions): Using SunRPC and
17953 AUTH_DES will prevent FIPS 140-2 compliance. Add vindex for
17954 AUTH_DES and cindex for FIPS 140-2.
17955 (DES Encryption): Add cindex FIPS 46-3.
17956
484c12fb
CD
17957 * locale/locarchive.h (struct locarhandle): Add fname.
17958 * locale/programs/localedef.c (main): Pass ARGV[remaining]
17959 if an optional argument was specified to --list-archive,
17960 otherwise NULL.
17961 * locale/programs/locarchive.c (show_archive_content): Take new
17962 argument fname and pass it via ah.fname to open_archive.
17963 * locale/programs/localedef.h: Update decl.
17964 (open_archive): If AH->fname is non-null, open that file
17965 rather than the default file name, and don't ignore ENOENT.
17966 (create_archive): Set AH.fname to NULL.
17967 (delete_locales_from_archive): Likewise.
17968 (add_locales_to_archive): Likewise.
17969 * locale/programs/locfile.c (write_all_categories): Likewise.
17970
3c8325fb
JM
179712013-10-18 Joseph Myers <joseph@codesourcery.com>
17972 Aldy Hernandez <aldyh@redhat.com>
17973
17974 * sysdeps/powerpc/powerpc32/e500/nofpu/Makefile: New file.
17975 * sysdeps/powerpc/powerpc32/e500/nofpu/fclrexcpt.c: Likewise.
17976 * sysdeps/powerpc/powerpc32/e500/nofpu/fe_note_change.c: Likewise.
17977 * sysdeps/powerpc/powerpc32/e500/nofpu/fedisblxcpt.c: Likewise.
17978 * sysdeps/powerpc/powerpc32/e500/nofpu/feenablxcpt.c: Likewise.
17979 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c: Likewise.
17980 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetexcept.c: Likewise.
17981 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c: Likewise.
17982 * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c: Likewise.
17983 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_const.c: Likewise.
17984 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h: Likewise.
17985 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c: Likewise.
17986 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c: Likewise.
17987 * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c: Likewise.
17988 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_prctl.c:
17989 Likewise.
17990 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_spe.c:
17991 Likewise.
17992 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_prctl.c:
17993 Likewise.
17994 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_spe.c:
17995 Likewise.
17996 * sysdeps/powerpc/powerpc32/e500/nofpu/fgetexcptflg.c: Likewise.
17997 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c:
17998 Likewise.
17999 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c: Likewise.
18000 * sysdeps/powerpc/powerpc32/e500/nofpu/fsetexcptflg.c: Likewise.
18001 * sysdeps/powerpc/powerpc32/e500/nofpu/ftestexcept.c: Likewise.
18002 * sysdeps/powerpc/powerpc32/e500/nofpu/get-rounding-mode.h:
18003 Likewise.
18004 * sysdeps/powerpc/powerpc32/e500/nofpu/s_fabsf.S: Likewise.
18005 * sysdeps/powerpc/powerpc32/e500/nofpu/spe-raise.c: Likewise.
18006 * sysdeps/powerpc/preconfigure: Likewise.
18007 * sysdeps/unix/sysv/linux/powerpc/powerpc32/e500/nofpu/Implies:
18008 Likewise.
18009 * sysdeps/powerpc/nofpu/soft-supp.h [__NO_FPRS__ && !_SOFT_FLOAT]:
18010 Replace contents of file by #include of <fenv_libc.h>.
18011 * sysdeps/powerpc/soft-fp/sfp-machine.h
18012 [__NO_FPRS__ && !_SOFT_FLOAT]: Include <fenv_libc.h>, <sysdep.h>
18013 and <sys/prctl.h>.
18014 [__NO_FPRS__ && !_SOFT_FLOAT] (__feraiseexcept_soft): Declare.
18015 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INEXACT): Define macro.
18016 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INVALID): Likewise.
18017 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_DIVZERO): Likewise.
18018 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_UNDERFLOW): Likewise.
18019 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_OVERFLOW): Likewise.
18020 [__NO_FPRS__ && !_SOFT_FLOAT] (_FP_DECL_EX): Likewise.
18021 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_ROUNDMODE): Likewise.
18022 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_EXCEPTIONS): Likewise.
18023 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_HANDLE_EXCEPTIONS): Likewise.
18024 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_ROUNDMODE): Likewise.
18025 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_TRAPPING_EXCEPTIONS): Likewise.
18026 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
18027 Allow copysignl PLT reference to be missing.
18028
5abe0682
RS
180292013-10-18 Richard Sandiford <richard@codesourcery.com>
18030 Joseph Myers <joseph@codesourcery.com
18031
18032 [BZ #15948]
18033 * locale/programs/ld-collate.c (new_element): Handle <U0000> as a
18034 single character.
18035 (add_to_tablewc): Assert sequence of wide characters is nonempty.
18036
c7738d08
SP
180372013-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
18038
18039 * elf/tst-tls-dlinfo.c: Don't include tls.h.
18040 * elf/tst-tls1.c: Likewise.
18041 * elf/tst-tls10.h: Likewise.
18042 * elf/tst-tls14.c: Likewise.
18043 * elf/tst-tls2.c: Likewise.
18044 * elf/tst-tls3.c: Likewise.
18045 * elf/tst-tls4.c: Likewise.
18046 * elf/tst-tls5.c: Likewise.
18047 * elf/tst-tls6.c: Likewise.
18048 * elf/tst-tls7.c: Likewise.
18049 * elf/tst-tls8.c: Likewise.
18050 * elf/tst-tls9.c: Likewise.
18051 * elf/tst-tlsmod1.c: Likewise.
18052 * elf/tst-tlsmod13.c: Likewise.
18053 * elf/tst-tlsmod13a.c: Likewise.
18054 * elf/tst-tlsmod14a.c: Likewise.
18055 * elf/tst-tlsmod16a.c: Likewise.
18056 * elf/tst-tlsmod16b.c: Likewise.
18057 * elf/tst-tlsmod2.c: Likewise.
18058 * elf/tst-tlsmod3.c: Likewise.
18059 * elf/tst-tlsmod4.c: Likewise.
18060 * elf/tst-tlsmod5.c: Likewise.
18061 * elf/tst-tlsmod6.c: Likewise.
18062
0bfcf2c7
OB
180632013-10-18 Ondřej Bílka <neleai@seznam.cz>
18064
18065 [BZ #12486]
18066 * malloc/malloc.c: remove checks for statistics.
18067
264aad1e
OB
180682013-10-17 Ondřej Bílka <neleai@seznam.cz>
18069
18070 [BZ #15277]
18071 * inet/inet_net.c (inet_network): Detect additional invalid strings.
18072 * inet/tst-network.c: Add testcase.
18073
b957ced8
AS
180742013-10-17 Andreas Schwab <schwab@suse.de>
18075
18076 [BZ #15218]
18077 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't use gethostbyaddr
18078 to determine canonical name.
18079
c5d5d574
OB
180802013-10-17 Ondřej Bílka <neleai@seznam.cz>
18081
18082 * sysdeps/ieee754/dbl-64/dbl2mpn.c: Fix formatting.
18083 * sysdeps/ieee754/dbl-64/dla.h: Likewise.
18084 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
18085 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
18086 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
18087 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
18088 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
18089 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
18090 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
18091 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
18092 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
18093 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
18094 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
18095 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
18096 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
18097 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
18098 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
18099 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
18100 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
18101 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
18102 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
18103 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
18104 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
18105 * sysdeps/ieee754/dbl-64/MathLib.h: Likewise.
18106 * sysdeps/ieee754/dbl-64/mpa-arch.h: Likewise.
18107 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
18108 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
18109 * sysdeps/ieee754/dbl-64/mpn2dbl.c: Likewise.
18110 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
18111 * sysdeps/ieee754/dbl-64/mydefs.h: Likewise.
18112 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
18113 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
18114 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
18115 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
18116 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
18117 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
18118 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
18119 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
18120 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
18121 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
18122 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
18123 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
18124 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
18125 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
18126 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
18127 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
18128 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
18129 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
18130 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
18131 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
18132 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
18133 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
18134 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
18135 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
18136 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
18137 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
18138 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
18139 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
18140
e5c2c2d0
JM
181412013-10-17 Joseph Myers <joseph@codesourcery.com>
18142
18143 [BZ #16041]
18144 * soft-fp/op-common.h (FP_EXTEND): When input is a signaling NaN,
18145 make result into a quiet NaN.
18146
51ca9e29
JM
181472013-10-16 Joseph Myers <joseph@codesourcery.com>
18148
18149 * soft-fp/adddf3.c: Fix horizontal whitespace.
18150 * soft-fp/addsf3.c: Likewise.
18151 * soft-fp/addtf3.c: Likewise.
18152 * soft-fp/divdf3.c: Likewise.
18153 * soft-fp/divsf3.c: Likewise.
18154 * soft-fp/divtf3.c: Likewise.
18155 * soft-fp/double.h: Likewise.
18156 * soft-fp/eqdf2.c: Likewise.
18157 * soft-fp/eqsf2.c: Likewise.
18158 * soft-fp/eqtf2.c: Likewise.
18159 * soft-fp/extenddftf2.c: Likewise.
18160 * soft-fp/extended.h: Likewise.
18161 * soft-fp/extendsfdf2.c: Likewise.
18162 * soft-fp/extendsftf2.c: Likewise.
18163 * soft-fp/extendxftf2.c: Likewise.
18164 * soft-fp/fixdfdi.c: Likewise.
18165 * soft-fp/fixdfsi.c: Likewise.
18166 * soft-fp/fixdfti.c: Likewise.
18167 * soft-fp/fixsfdi.c: Likewise.
18168 * soft-fp/fixsfsi.c: Likewise.
18169 * soft-fp/fixsfti.c: Likewise.
18170 * soft-fp/fixtfdi.c: Likewise.
18171 * soft-fp/fixtfsi.c: Likewise.
18172 * soft-fp/fixtfti.c: Likewise.
18173 * soft-fp/fixunsdfdi.c: Likewise.
18174 * soft-fp/fixunsdfsi.c: Likewise.
18175 * soft-fp/fixunsdfti.c: Likewise.
18176 * soft-fp/fixunssfdi.c: Likewise.
18177 * soft-fp/fixunssfsi.c: Likewise.
18178 * soft-fp/fixunssfti.c: Likewise.
18179 * soft-fp/fixunstfdi.c: Likewise.
18180 * soft-fp/fixunstfsi.c: Likewise.
18181 * soft-fp/fixunstfti.c: Likewise.
18182 * soft-fp/floatdidf.c: Likewise.
18183 * soft-fp/floatdisf.c: Likewise.
18184 * soft-fp/floatditf.c: Likewise.
18185 * soft-fp/floatsidf.c: Likewise.
18186 * soft-fp/floatsisf.c: Likewise.
18187 * soft-fp/floatsitf.c: Likewise.
18188 * soft-fp/floattidf.c: Likewise.
18189 * soft-fp/floattisf.c: Likewise.
18190 * soft-fp/floattitf.c: Likewise.
18191 * soft-fp/floatundidf.c: Likewise.
18192 * soft-fp/floatundisf.c: Likewise.
18193 * soft-fp/floatunditf.c: Likewise.
18194 * soft-fp/floatunsidf.c: Likewise.
18195 * soft-fp/floatunsisf.c: Likewise.
18196 * soft-fp/floatunsitf.c: Likewise.
18197 * soft-fp/floatuntidf.c: Likewise.
18198 * soft-fp/floatuntisf.c: Likewise.
18199 * soft-fp/floatuntitf.c: Likewise.
18200 * soft-fp/fmadf4.c: Likewise.
18201 * soft-fp/fmasf4.c: Likewise.
18202 * soft-fp/fmatf4.c: Likewise.
18203 * soft-fp/gedf2.c: Likewise.
18204 * soft-fp/gesf2.c: Likewise.
18205 * soft-fp/getf2.c: Likewise.
18206 * soft-fp/ledf2.c: Likewise.
18207 * soft-fp/lesf2.c: Likewise.
18208 * soft-fp/letf2.c: Likewise.
18209 * soft-fp/muldf3.c: Likewise.
18210 * soft-fp/mulsf3.c: Likewise.
18211 * soft-fp/multf3.c: Likewise.
18212 * soft-fp/negdf2.c: Likewise.
18213 * soft-fp/negsf2.c: Likewise.
18214 * soft-fp/negtf2.c: Likewise.
18215 * soft-fp/op-1.h: Likewise.
18216 * soft-fp/op-2.h: Likewise.
18217 * soft-fp/op-4.h: Likewise.
18218 * soft-fp/op-8.h: Likewise.
18219 * soft-fp/op-common.h: Likewise.
18220 * soft-fp/quad.h: Likewise.
18221 * soft-fp/single.h: Likewise.
18222 * soft-fp/soft-fp.h: Likewise.
18223 * soft-fp/sqrtdf2.c: Likewise.
18224 * soft-fp/sqrtsf2.c: Likewise.
18225 * soft-fp/sqrttf2.c: Likewise.
18226 * soft-fp/subdf3.c: Likewise.
18227 * soft-fp/subsf3.c: Likewise.
18228 * soft-fp/subtf3.c: Likewise.
18229 * soft-fp/truncdfsf2.c: Likewise.
18230 * soft-fp/trunctfdf2.c: Likewise.
18231 * soft-fp/trunctfsf2.c: Likewise.
18232 * soft-fp/trunctfxf2.c: Likewise.
18233 * soft-fp/unorddf2.c: Likewise.
18234 * soft-fp/unordsf2.c: Likewise.
18235 * soft-fp/unordtf2.c: Likewise.
18236
9ebb0332
JM
182372013-10-15 Joseph Myers <joseph@codesourcery.com>
18238
18239 * soft-fp/op-2.h (_FP_DIV_MEAT_2_gmp): Remove macro.
18240 * soft-fp/soft-fp.h (FP_UNSET_EXCEPTION): Likewise.
18241
4b1a6d8b
OB
182422013-10-15 Ondřej Bílka <neleai@seznam.cz>
18243
18244 * elf/dl-libc.c: Clear initfini list after freeing.
18245
1e145589
JM
182462013-10-14 Joseph Myers <joseph@codesourcery.com>
18247
18248 * soft-fp/adddf3.c: Fix vertical whitespace and indentation.
18249 * soft-fp/addsf3.c: Likewise.
18250 * soft-fp/addtf3.c: Likewise.
18251 * soft-fp/divdf3.c: Likewise.
18252 * soft-fp/divsf3.c: Likewise.
18253 * soft-fp/divtf3.c: Likewise.
18254 * soft-fp/double.h: Likewise.
18255 * soft-fp/eqdf2.c: Likewise.
18256 * soft-fp/eqsf2.c: Likewise.
18257 * soft-fp/eqtf2.c: Likewise.
18258 * soft-fp/extenddftf2.c: Likewise.
18259 * soft-fp/extended.h: Likewise.
18260 * soft-fp/extendsfdf2.c: Likewise.
18261 * soft-fp/extendsftf2.c: Likewise.
18262 * soft-fp/extendxftf2.c: Likewise.
18263 * soft-fp/fixdfdi.c: Likewise.
18264 * soft-fp/fixdfsi.c: Likewise.
18265 * soft-fp/fixdfti.c: Likewise.
18266 * soft-fp/fixsfdi.c: Likewise.
18267 * soft-fp/fixsfsi.c: Likewise.
18268 * soft-fp/fixsfti.c: Likewise.
18269 * soft-fp/fixtfdi.c: Likewise.
18270 * soft-fp/fixtfsi.c: Likewise.
18271 * soft-fp/fixtfti.c: Likewise.
18272 * soft-fp/fixunsdfdi.c: Likewise.
18273 * soft-fp/fixunsdfsi.c: Likewise.
18274 * soft-fp/fixunsdfti.c: Likewise.
18275 * soft-fp/fixunssfdi.c: Likewise.
18276 * soft-fp/fixunssfsi.c: Likewise.
18277 * soft-fp/fixunssfti.c: Likewise.
18278 * soft-fp/fixunstfdi.c: Likewise.
18279 * soft-fp/fixunstfsi.c: Likewise.
18280 * soft-fp/fixunstfti.c: Likewise.
18281 * soft-fp/floatdidf.c: Likewise.
18282 * soft-fp/floatdisf.c: Likewise.
18283 * soft-fp/floatditf.c: Likewise.
18284 * soft-fp/floatsidf.c: Likewise.
18285 * soft-fp/floatsisf.c: Likewise.
18286 * soft-fp/floatsitf.c: Likewise.
18287 * soft-fp/floattidf.c: Likewise.
18288 * soft-fp/floattisf.c: Likewise.
18289 * soft-fp/floattitf.c: Likewise.
18290 * soft-fp/floatundidf.c: Likewise.
18291 * soft-fp/floatundisf.c: Likewise.
18292 * soft-fp/floatunsidf.c: Likewise.
18293 * soft-fp/floatunsisf.c: Likewise.
18294 * soft-fp/floatuntidf.c: Likewise.
18295 * soft-fp/floatuntisf.c: Likewise.
18296 * soft-fp/floatuntitf.c: Likewise.
18297 * soft-fp/fmadf4.c: Likewise.
18298 * soft-fp/fmasf4.c: Likewise.
18299 * soft-fp/fmatf4.c: Likewise.
18300 * soft-fp/gedf2.c: Likewise.
18301 * soft-fp/gesf2.c: Likewise.
18302 * soft-fp/getf2.c: Likewise.
18303 * soft-fp/ledf2.c: Likewise.
18304 * soft-fp/lesf2.c: Likewise.
18305 * soft-fp/letf2.c: Likewise.
18306 * soft-fp/muldf3.c: Likewise.
18307 * soft-fp/mulsf3.c: Likewise.
18308 * soft-fp/multf3.c: Likewise.
18309 * soft-fp/negdf2.c: Likewise.
18310 * soft-fp/negsf2.c: Likewise.
18311 * soft-fp/negtf2.c: Likewise.
18312 * soft-fp/op-1.h: Likewise.
18313 * soft-fp/op-2.h: Likewise.
18314 * soft-fp/op-4.h: Likewise.
18315 * soft-fp/op-8.h: Likewise.
18316 * soft-fp/op-common.h: Likewise.
18317 * soft-fp/quad.h: Likewise.
18318 * soft-fp/single.h: Likewise.
18319 * soft-fp/soft-fp.h: Likewise.
18320 * soft-fp/sqrtdf2.c: Likewise.
18321 * soft-fp/sqrtsf2.c: Likewise.
18322 * soft-fp/sqrttf2.c: Likewise.
18323 * soft-fp/subdf3.c: Likewise.
18324 * soft-fp/subsf3.c: Likewise.
18325 * soft-fp/subtf3.c: Likewise.
18326 * soft-fp/truncdfsf2.c: Likewise.
18327 * soft-fp/trunctfdf2.c: Likewise.
18328 * soft-fp/trunctfsf2.c: Likewise.
18329 * soft-fp/trunctfxf2.c: Likewise.
18330 * soft-fp/unorddf2.c: Likewise.
18331 * soft-fp/unordsf2.c: Likewise.
18332 * soft-fp/unordtf2.c: Likewise.
18333
17c48a60
OB
183342013-10-14 Ondřej Bílka <neleai@seznam.cz>
18335
18336 [BZ #15672]
18337 * misc/error.c (error_tail): Fix possible buffer overflow.
18338
cabba934
OB
183392013-10-14 Aurelien Jarno <aurelien@aurel32.net>
18340
18341 [BZ #13028]
18342 * res_send.c(__libc_res_nsend): Correctly copy the nameserver
18343 address.
18344
94bf958a
PM
183452013-10-14 P. J. McDermott <pj@pehjota.net>
18346
18347 [BZ #832]
18348 * elf/ldd.bash.in (try_trace): New function. Delete previous code
18349 testing pipefail option.
18350
71b4dea7
JM
183512013-10-12 Joseph Myers <joseph@codesourcery.com>
18352
18353 * soft-fp/double.h: Indent preprocessor directives inside #if.
18354 * soft-fp/extended.h: Likewise.
18355 * soft-fp/op-2.h: Likewise.
18356 * soft-fp/op-4.h: Likewise.
18357 * soft-fp/op-common.h: Likewise.
18358 * soft-fp/quad.h: Likewise.
18359 * soft-fp/single.h: Likewise.
18360 * soft-fp/soft-fp.h: Likewise.
18361
55602758
YC
183622013-10-12 Yuri Chornoivan <yurchor@ukr.net>
18363
18364 * iconv/iconv_prog.c: Fix typos.
18365 * stdio-common/psiginfo-data.h: Likewise.
18366
9cd83302
RT
183672013-10-12 Reuben Thomas <rrt@sc3d.org>
18368
18369 [BZ #15764]
18370 * locale/setlocale.c: Fix typo.
18371
99fd9f47
JM
183722013-10-12 Joseph Myers <joseph@codesourcery.com>
18373
b7ea74f0
JM
18374 [BZ #16036]
18375 * soft-fp/unorddf2.c (__unorddf2): Raise "invalid" exception for
18376 signaling NaN arguments.
18377 * soft-fp/unordsf2.c (__unordsf2): Likewise.
18378 * soft-fp/unordtf2.c (__unordtf2): Likewise.
18379
8a509447
JM
18380 [BZ #14910]
18381 * soft-fp/gedf2.c (__gedf2): Raise "invalid" exception for all
18382 unordered operands.
18383 * soft-fp/gesf2.c (__gesf2): Likewise.
18384 * soft-fp/getf2.c (__getf2): Likewise.
18385 * soft-fp/ledf2.c (__ledf2): Likewise.
18386 * soft-fp/lesf2.c (__lesf2): Likewise.
18387 * soft-fp/letf2.c (__letf2): Likewise.
18388
98998e9f
JM
18389 * soft-fp/eqdf2.c (__eqdf2): Use FP_INIT_EXCEPTIONS.
18390 * soft-fp/eqsf2.c (__eqsf2): Likewise.
18391 * soft-fp/eqtf2.c (__eqtf2): Likewise.
18392 * soft-fp/fixdfdi.c (__fixdfdi): Likewise.
18393 * soft-fp/fixdfsi.c (__fixdfsi): Likewise.
18394 * soft-fp/fixdfti.c (__fixdfti): Likewise.
18395 * soft-fp/fixsfdi.c (__fixsfdi): Likewise.
18396 * soft-fp/fixsfsi.c (__fixsfsi): Likewise.
18397 * soft-fp/fixsfti.c (__fixsfti): Likewise.
18398 * soft-fp/fixtfdi.c (__fixtfdi): Likewise.
18399 * soft-fp/fixtfsi.c (__fixtfsi): Likewise.
18400 * soft-fp/fixtfti.c (__fixtfti): Likewise.
18401 * soft-fp/fixunsdfdi.c (__fixunsdfdi): Likewise.
18402 * soft-fp/fixunsdfsi.c (__fixunsdfsi): Likewise.
18403 * soft-fp/fixunsdfti.c (__fixunsdfti): Likewise.
18404 * soft-fp/fixunssfdi.c (__fixunssfdi): Likewise.
18405 * soft-fp/fixunssfsi.c (__fixunssfsi): Likewise.
18406 * soft-fp/fixunssfti.c (__fixunssfti): Likewise.
18407 * soft-fp/fixunstfdi.c (__fixunstfdi): Likewise.
18408 * soft-fp/fixunstfsi.c (__fixunstfsi): Likewise.
18409 * soft-fp/fixunstfti.c (__fixunstfti): Likewise.
18410 * soft-fp/floatdidf.c (__floatdidf): Use FP_INIT_ROUNDMODE.
18411 * soft-fp/floatdisf.c (__floatdisf): Likewise.
18412 * soft-fp/floatsisf.c (__floatsisf): Likewise.
18413 * soft-fp/floattidf.c (__floattidf): Likewise.
18414 * soft-fp/floattisf.c (__floattisf): Likewise.
18415 * soft-fp/floattitf.c (__floattitf): Likewise.
18416 * soft-fp/floatundidf.c (__floatundidf): Likewise.
18417 * soft-fp/floatundisf.c (__floatundisf): Likewise.
18418 * soft-fp/floatunsisf.c (__floatunsisf): Likewise.
18419 * soft-fp/floatuntidf.c (__floatuntidf): Likewise.
18420 * soft-fp/floatuntisf.c (__floatuntisf): Likewise.
18421 * soft-fp/floatuntitf.c (__floatuntitf): Likewise.
18422 * soft-fp/gedf2.c (__gedf2): Use FP_INIT_EXCEPTIONS.
18423 * soft-fp/gesf2.c (__gesf2): Likewise.
18424 * soft-fp/getf2.c (__getf2): Likewise.
18425 * soft-fp/ledf2.c (__ledf2): Likewise.
18426 * soft-fp/lesf2.c (__lesf2): Likewise.
18427 * soft-fp/letf2.c (__letf2): Likewise.
18428
8edc4a11
JM
18429 * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS] (FP_SET_EXCEPTION):
18430 Undefine and redefine.
18431 [FP_NO_EXCEPTIONS] (FP_CUR_EXCEPTIONS): Likewise.
18432 [FP_NO_EXCEPTIONS] (FP_TRAPPING_EXCEPTIONS): Likewise.
18433 [FP_NO_EXCEPTIONS] (FP_ROUNDMODE): Likewise.
18434 * soft-fp/floatditf.c (FP_NO_EXCEPTIONS): Define macro.
18435 (__floatditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
18436 * soft-fp/floatsidf.c (FP_NO_EXCEPTIONS): Define macro.
18437 (__floatsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
18438 * soft-fp/floatsitf.c (FP_NO_EXCEPTIONS): Define macro.
18439 (__floatsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
18440 * soft-fp/floatunditf.c (FP_NO_EXCEPTIONS): Define macro.
18441 (__floatunditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
18442 * soft-fp/floatunsidf.c (FP_NO_EXCEPTIONS): Define macro.
18443 (__floatunsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
18444 * soft-fp/floatunsitf.c (FP_NO_EXCEPTIONS): Define macro.
18445 (__floatunsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
18446
8399acaf
JM
18447 [BZ #16032]
18448 * soft-fp/op-2.h (_FP_DIV_MEAT_2_udiv): Shift numerator right
18449 without decrementing exponent if mantissa >= that for the
18450 denominator, not >.
18451 (_FP_DIV_MEAT_2_gmp): Test numerator mantissa >= that for the
18452 denominator, not >. Decrement exponent in < case instead of
18453 incrementing in >= case.
18454 * soft-fp/op-4.h (_FP_DIV_MEAT_4_udiv): Shift numerator right
18455 without decrementing exponent if mantissa >= that for the
18456 denominator, not >.
18457
99fd9f47
JM
18458 * soft-fp/op-common.h (_FP_TO_INT): Reverse test of sign for
18459 computing saturated result for unsigned overflow.
18460
10e1cf6b
SP
184612013-10-11 Siddhesh Poyarekar <siddhesh@redhat.com>
18462 Jeff Law <law@redhat.com>
18463
18464 * sysdeps/ieee754/dbl-64/e_atan2.c: Include stap-probe.h.
18465 (atan2Mp): Add systemtap probe marker.
18466 * sysdeps/ieee754/dbl-64/e_log.c: include stap-probe.h.
18467 (__ieee754_log): Add systemtap probe marker.
18468 * sysdeps/ieee754/dbl-64/s_atan.c: Include stap-probe.h.
18469 (atanMp): Add systemtap probe marker.
18470 * sysdeps/ieee754/dbl-64/s_tan.c: Include stap-probe.h.
18471 (tanMp): Add systemtap probe marker.
18472 * sysdeps/ieee754/dbl-64/slowexp.c: Include stap-probe.h.
18473 (__slowexp): Add systemtap probe marker.
18474 * sysdeps/ieee754/dbl-64/slowpow.c: Include stap-probe.h.
18475 (__slowpow): Add systemtap probe marker.
18476 * manual/probes.texi: Document probes.
18477
3d110c7c
EB
184782013-10-11 Eric Biggers <ebiggers3@gmail.com>
18479
18480 [BZ #15362]
18481 * libio/fileops.c (_IO_new_file_write): Return count of bytes
18482 written.
18483 (_IO_new_file_xsputn): Don't return EOF if nothing has been
18484 written.
18485 * libio/iofwrite.c (_IO_fwrite): Return count if bytes were
18486 written to buffer but not flushed.
18487 * libio/iofwrite_u.c: Likewise.
18488 * libio/iopadn.c: Return bytes returned even if EOF was
18489 encountered.
18490 * libio/iowpadn.c: Likewise.
18491 * stdio-common/vfprintf.c [COMPILE_WPRINTF] (PAD): Return error
18492 if _IO_padn does not write the whole buffer.
18493 [!COMPILE_WPRINTF] (PAD): Likewise.
18494
75b4202a
DM
184952013-10-10 David S. Miller <davem@davemloft.net>
18496
18497 * sysdeps/posix/dirstream.h (struct __dirstream): Fix alignment of
18498 directory block.
18499
6c6352e6
JM
185002013-10-10 Joseph Myers <joseph@codesourcery.com>
18501
33b853c3
JM
18502 * soft-fp/extendxftf2.c: Use copyright year range. Use URL
18503 instead of FSF address.
18504 * soft-fp/fixdfti.c: Likewise.
18505 * soft-fp/fixsfti.c: Likewise.
18506 * soft-fp/fixtfti.c: Likewise.
18507 * soft-fp/fixunsdfti.c: Likewise.
18508 * soft-fp/fixunssfti.c: Likewise.
18509 * soft-fp/fixunstfti.c: Likewise.
18510 * soft-fp/floattidf.c: Likewise.
18511 * soft-fp/floattisf.c: Likewise.
18512 * soft-fp/floattitf.c: Likewise.
18513 * soft-fp/floatuntidf.c: Likewise.
18514 * soft-fp/floatuntisf.c: Likewise.
18515 * soft-fp/floatuntitf.c: Likewise.
18516 * soft-fp/trunctfxf2.c: Likewise.
18517
6c6352e6
JM
18518 * soft-fp/extendxftf2.c: New file. Copied from libgcc.
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
3bf78b71
DM
185332013-10-10 David S. Miller <davem@davemloft.net>
18534
18535 * sysdeps/sparc/fpu/libm-test-ulps: Update.
18536
6f10289e
JM
185372013-10-10 Joseph Myers <joseph@codsourcery.com>
18538
bd878fc0
JM
18539 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
18540 (CFLAGS-e_hypotl.c): Add -fno-builtin-fabsl.
18541 [$(subdir) = math] (CFLAGS-w_acosl.c): Likewise.
18542 [$(subdir) = math] (CFLAGS-w_asinl.c): Likewise.
18543 [$(subdir) = math] (CFLAGS-w_atanhl.c): Likewise.
18544 [$(subdir) = math] (CFLAGS-w_j0l.c): Likewise.
18545 [$(subdir) = math] (CFLAGS-w_j1l.c): Likewise.
18546
6f10289e
JM
18547 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Check
18548 for NaNs before doing comparisons on argument.
18549 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl):
18550 Likewise.
18551
321e2684
WN
185522013-10-10 Will Newton <will.newton@linaro.org>
18553
18554 * malloc/hooks.c (memalign_check): Ensure the value of bytes
18555 passed to _int_memalign does not overflow.
18556
40fefba1
TR
185572013-10-10 Torvald Riegel <triegel@redhat.com>
18558
18559 * scripts/bench.pl: Add include-sources directive.
18560 * benchtests/README: Update documentation.
18561
2ae21ed2
JM
185622013-10-10 Joseph Myers <joseph@codesourcery.com>
18563
dcc2dd3f
JM
18564 * soft-fp/soft-fp.h (FP_INIT_EXCEPTIONS): New macro.
18565 * soft-fp/extenddftf2.c (__extenddftf2): Use FP_INIT_EXCEPTIONS
18566 instead of FP_INIT_ROUNDMODE.
18567 * soft-fp/extendsfdf2.c (__extendsfdf2): Likewise.
18568 * soft-fp/extendsftf2.c (__extendsftf2): Likewise.
18569
2ae21ed2
JM
18570 [BZ #16034]
18571 * soft-fp/op-common.h (_FP_NEG): Document input as raw. Do not
18572 copy class of input value.
18573 * soft-fp/negdf2.c (__negdf2): Use raw unpacking and packing. Do
18574 not handle exceptions.
18575 * soft-fp/negsf2.c (__negsf2): Likewise.
18576 * soft-fp/negtf2.c (__negtf2): Likewise.
18577 * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Likewise.
18578
cb8f9562
JM
185792013-10-09 Joseph Myers <joseph@codesourcery.com>
18580
18581 * soft-fp/op-4.h (_FP_FRAC_DISASSEMBLE_4): Remove trailing
18582 semicolon. From Linux kernel.
18583
5b60c59d
AB
185842013-10-09 Adam Buchbinder <adam.buchbinder@gmail.com>
18585
18586 * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Fix typo in comment.
18587
b86835ca
YC
185882013-10-08 Yogesh Chaudhari <mr.yogesh@gmail.com>
18589
18590 [BZ #156]
18591 * manual/socket.texi: Added statement about buffer
18592 for gethostbyname2_r.
18593
e7044ea7
OB
185942013-10-08 Ondřej Bílka <neleai@seznam.cz>
18595
18596 * sysdeps/x86_64/memset.S (ALIGN): Macro removed.
18597 Use .p2align directive instead, throughout.
18598 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
18599 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
18600 * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Likewise.
18601 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
18602 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
18603 * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: Likewise.
18604 * sysdeps/x86_64/strchr.S: Likewise.
18605 * sysdeps/x86_64/strrchr.S: Likewise.
18606
09544cbc
SP
186072013-10-08 Siddhesh Poyarekar <siddhesh@redhat.com>
18608
88576635
SP
18609 * sysdeps/ieee754/dbl-64/e_pow.c: Fix code formatting.
18610
e7b2d1dd
SP
18611 * sysdeps/ieee754/dbl-64/e_exp.c: Fix code formatting.
18612
09544cbc
SP
18613 * sysdeps/generic/math_private.h (__mpsin1): Remove
18614 declaration.
18615 (__mpcos1): Likewise.
18616 (__mpsin): New argument __range_reduce.
18617 (__mpcos): Likewise.
18618 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
18619 (slow): Use __mpsin and __mpcos.
18620 (slow1): Likewise.
18621 (slow2): Likewise.
18622 (sloww): Likewise.
18623 (sloww1): Likewise.
18624 (sloww2): Likewise.
18625 (bsloww): Likewise.
18626 (bsloww1): Likewise.
18627 (bsloww2): Likewise.
18628 (cslow2): Likewise.
18629 (csloww): Likewise.
18630 (csloww1): Likewise.
18631 (csloww2): Likewise.
18632 * sysdeps/ieee754/dbl-64/sincos32.c (__mpsin): Add argument
18633 range_reduce. Merge in __mpsin1.
18634 (__mpcos): Likewise.
18635 (__mpsin1): Remove.
18636 (__mpcos1): Likewise.
18637
7602d070
JM
186382013-10-07 Joseph Myers <joseph@codesourcery.com>
18639
18640 * locale/loadlocale.c (_nl_intern_locale_data): Use
18641 LOCFILE_ALIGNED_P.
18642 * locale/programs/3level.h (CONCAT(add_locale_,TABLE)): Use
18643 LOCFILE_ALIGN_UP and LOCFILE_ALIGN.
18644 * locale/programs/ld-collate.c (obstack_int32_grow): Assert that
18645 obstack data is appropriately aligned.
18646 (obstack_int32_grow_fast): Likewise.
18647 * locale/programs/ld-ctype.c (ctype_output): Use LOCFILE_ALIGN.
18648 * locale/programs/locfile.c (add_locale_uint32): Likewise.
18649 (add_locale_uint32_array): Likewise.
18650
a357259b
SP
186512013-10-07 Siddhesh Poyarekar <siddhesh@redhat.com>
18652
18653 * benchtests/Makefile: Remove ARGLIST and RET variables.
18654 ($(objpfx)bench-%.c): Pass only function name to the script.
18655 * benchtests/README: Update documentation.
18656 * benchtests/acos-inputs: Add new directives.
18657 * benchtests/acosh-inputs: Likewise.
18658 * benchtests/asin-inputs: Likewise.
18659 * benchtests/asinh-inputs: Likewise.
18660 * benchtests/atan-inputs: Likewise.
18661 * benchtests/atanh-inputs: Likewise.
18662 * benchtests/cos-inputs: Likewise.
18663 * benchtests/cosh-inputs: Likewise.
18664 * benchtests/exp-inputs: Likewise.
18665 * benchtests/log-inputs: Likewise.
18666 * benchtests/pow-inputs: Likewise.
18667 * benchtests/rint-inputs: Likewise.
18668 * benchtests/sin-inputs: Likewise.
18669 * benchtests/sinh-inputs: Likewise.
18670 * benchtests/tan-inputs: Likewise.
18671 * benchtests/tanh-inputs: Likewise.
18672 * scripts/bench.pl: Add support for new directives.
18673
9ec1b13d
AM
186742013-10-07 Alan Modra <amodra@gmail.com>
18675
18676 * README: Fix careless merge.
18677
8b7d57cd
AM
186782013-10-05 Alan Modra <amodra@gmail.com>
18679
18680 * NEWS: Mention powerpc64le support and bugs fixed.
18681 * README: Both big-endian and little-endian powerpc64 supported.
18682
7b7bab13
ST
186832013-10-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
18684
57f41c40
AS
18685 * sysdeps/mach/hurd/fork.c (_hurd_atfork_prepare_hook)
18686 (_hurd_atfork_child_hook, _hurd_atfork_parent_hook): New hooks.
7b7bab13
ST
18687 (__fork): Call _hurd_atfork_prepare_hook hooks before all locking, call
18688 _hurd_atfork_parent_hook or _hurd_atfork_child_hook after all unlocking.
18689
d39baad1
RA
186902013-10-04 Ryan S. Arnold <ryan.arnold@linaro.org>
18691
18692 * misc/swapon.c (swapon): Update definition, adding FLAGS parameter to
18693 match prototype.
18694
cd78f7e7
JM
186952013-10-04 Joseph Myers <joseph@codesourcery.com>
18696
29d73d86
JM
18697 * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = yes] (+cflags):
18698 Move -mhard-float appending from
18699 ports/sysdeps/powerpc/powerpc32/Makefile.
18700 [$(with-fp) = yes] (ASFLAGS): Likewise.
18701 [$(with-fp) = yes] (sysdep-LDFLAGS): Likewise.
18702 * sysdeps/powerpc/nofpu: Move directory from
18703 ports/sysdeps/powerpc/nofpu.
18704 * sysdeps/powerpc/soft-fp: Move directory from
18705 ports/sysdeps/powerpc/soft-fp.
18706 * sysdeps/powerpc/powerpc32/405: Move directory from
18707 ports/sysdeps/powerpc/powerpc32/405.
18708 * sysdeps/powerpc/powerpc32/440: Move directory from
18709 ports/sysdeps/powerpc/powerpc32/440.
18710 * sysdeps/powerpc/powerpc32/464: Move directory from
18711 ports/sysdeps/powerpc/powerpc32/464.
18712 * sysdeps/powerpc/powerpc32/476: Move directory from
18713 ports/sysdeps/powerpc/powerpc32/476.
18714 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu: Move directory
18715 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu.
18716 * sysdeps/unix/sysv/linux/powerpc/powerpc32/405: Move directory
18717 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/405.
18718 * sysdeps/unix/sysv/linux/powerpc/powerpc32/440: Move directory
18719 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/440.
18720 * sysdeps/unix/sysv/linux/powerpc/powerpc32/464: Move directory
18721 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/464.
18722 * sysdeps/unix/sysv/linux/powerpc/powerpc32/476: Move directory
18723 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/476.
18724 * README: Update for powerpc-*-linux-gnu software floating point
18725 support in libc.
18726
e246b347
JM
18727 * sysdeps/unix/sysv/linux/configure.in (powerpc/powerpc32): Change
18728 case to powerpc/powerpc32*.
18729 * sysdeps/unix/sysv/linux/configure: Regenerated.
18730
89c2003e
JM
18731 * sysdeps/powerpc/fpu_control.h [__NO_FPRS__ && !_SOFT_FLOAT]
18732 (_FPU_MASK_OM): Define as 0x04.
18733 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Define as 0x08.
18734 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Define as
18735 0x00c10080.
18736 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Define as
18737 0x0000003c.
18738 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Define as _FPU_DEFAULT.
18739
cd78f7e7
JM
18740 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S
18741 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
18742 getcontext_e500.
18743 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S
18744 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
18745 setcontext_e500.
18746 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S
18747 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use getcontext_e500
18748 and setcontext_e500.
18749
c755294d
CL
187502013-10-04 Chris Leonard <cjl@sugarlabs,.org>
18751
18752 * locale/iso-3166.def: Update iso-1366.def and related occurrences
18753
e16d221c
SP
187542013-10-04 Siddhesh Poyarekar <siddhesh@redhat.com>
18755
18756 * manual/threads.texi (Default Thread Attributes): Fix typo.
18757
215c7d43
WN
187582013-10-04 Will Newton <will.newton@linaro.org>
18759
18760 * malloc/Makefile: Add tst-memalign.
18761 * malloc/tst-memalign.c: New file.
18762
27d0461b
WN
18763 * malloc/tst-posix_memalign.c: Add comments.
18764 (do_test): Add comments and call free on all potentially
18765 allocated pointers. Add space after cast.
18766
1bc92709
WN
18767 * malloc/tst-pvalloc.c: Add comments.
18768 (do_test): Add comments and call free on all potentially
18769 allocated pointers. Remove duplicate check for NULL pointer.
18770 Add space after cast.
18771
66a9be9d
WN
18772 * malloc/tst-valloc.c: Add comments.
18773 (do_test): Add comments and call free on all potentially
18774 allocated pointers. Remove duplicate check for NULL pointer.
18775 Add space after cast.
18776
4cb81307
AM
187772013-10-04 Alan Modra <amodra@gmail.com>
18778
18779 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
18780 Use stdint types in rather than __attribute__((mode())).
18781 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
18782
f8e3e9f3
AM
187832013-10-04 Alan Modra <amodra@gmail.com>
18784
18785 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
18786 Correct handling of unaligned relocs for little-endian.
18787 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
18788
8f9ebb08
AM
187892013-10-04 Alan Modra <amodra@gmail.com>
18790
18791 * configure.in: Map powerpc64le and powerpcle to base_machine/machine.
18792 * configure: Regenerate.
18793 * nptl/shlib-versions: Powerpc*le starts at 2.18.
18794 * shlib-versions: Likewise.
18795
0edf96c2
AM
187962013-10-04 Alan Modra <amodra@gmail.com>
18797
18798 * string/tester.c (test_memrchr): Increment reported test cycle.
18799
e0f7a380
AM
188002013-10-04 Alan Modra <amodra@gmail.com>
18801
18802 * string/test-memcpy.c (do_one_test): When reporting errors, print
18803 string address and don't overrun end of string.
18804
466b0393
AM
188052013-10-04 Alan Modra <amodra@gmail.com>
18806
18807 * sysdeps/powerpc/powerpc64/power7/memchr.S: Replace rlwimi with
18808 insrdi. Make better use of reg selection to speed exit slightly.
18809 Schedule entry path a little better. Remove useless "are we done"
18810 checks on entry to main loop. Handle wrapping around zero address.
18811 Correct main loop count. Handle single left-over word from main
18812 loop inline rather than by using loop_small. Remove extra word
18813 case in loop_small caused by wrong loop count. Add little-endian
18814 support.
18815 * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
18816 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise. Use proper
18817 cache hint.
18818 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
18819 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Add little-endian
18820 support. Avoid rlwimi.
18821 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Likewise.
18822
3be87c77
AM
188232013-10-04 Alan Modra <amodra@gmail.com>
18824
18825 * sysdeps/powerpc/powerpc64/memset.S: Replace rlwimi with
e3764517 18826 insrdi. Formatting.
3be87c77
AM
18827 * sysdeps/powerpc/powerpc64/power4/memset.S: Likewise.
18828 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
18829 * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
18830 * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
18831 * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
18832 * sysdeps/powerpc/powerpc32/power7/memset.S: Likewise.
18833
759cfef3
AM
188342013-10-04 Alan Modra <amodra@gmail.com>
18835
18836 * sysdeps/powerpc/powerpc32/power4/memcpy.S: Add little endian support.
18837 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
18838 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
18839 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Likewise.
18840 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
18841 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
18842 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
18843 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
18844 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Likewise. Make better
18845 use of regs. Use power7 mtocrf. Tidy function tails.
18846
fe6e95d7
AM
188472013-10-04 Alan Modra <amodra@gmail.com>
18848
18849 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Add little-endian support.
18850 Formatting. Consistently use rXXX register defines or rN defines.
18851 Use early exit labels that avoid restoring unused non-volatile regs.
18852 Make cr field use more consistent with rWORDn compares. Rename
18853 regs used as shift registers for unaligned loop, using rN defines
18854 for short lifetime/multiple use regs.
18855 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
18856 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise. Exit with
18857 addi 1,1,64 to pop stack frame. Simplify return value code.
18858 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
18859
664318c3
AM
188602013-10-04 Alan Modra <amodra@gmail.com>
18861
18862 * sysdeps/powerpc/powerpc64/power7/strchr.S (strchr): Add little-endian
18863 support. Correct typos, formatting. Optimize tail. Use insrdi
18864 rather than rlwimi.
18865 * sysdeps/powerpc/powerpc32/power7/strchr.S: Likewise.
18866 * sysdeps/powerpc/powerpc64/power7/strchrnul.S (__strchrnul): Add
18867 little-endian support. Correct typos.
18868 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Likewise. Use insrdi
18869 rather than rlwimi.
18870 * sysdeps/powerpc/powerpc64/strchr.S (rTMP4, rTMP5): Define. Use
18871 in loop and entry code to keep "and." results.
18872 (strchr): Add little-endian support. Comment. Move cntlzd
18873 earlier in tail.
18874 * sysdeps/powerpc/powerpc32/strchr.S: Likewise.
18875
43b84013
AM
188762013-10-04 Alan Modra <amodra@gmail.com>
18877
18878 * sysdeps/powerpc/powerpc64/strcpy.S: Add little-endian support:
18879 * sysdeps/powerpc/powerpc32/strcpy.S: Likewise.
18880 * sysdeps/powerpc/powerpc64/stpcpy.S: Likewise.
18881 * sysdeps/powerpc/powerpc32/stpcpy.S: Likewise.
18882
8a7413f9
AM
188832013-10-04 Alan Modra <amodra@gmail.com>
18884
18885 * sysdeps/powerpc/powerpc64/strcmp.S (rTMP2): Define as r0.
18886 (rTMP): Define as r11.
18887 (strcmp): Add little-endian support. Optimise tail.
18888 * sysdeps/powerpc/powerpc32/strcmp.S: Similarly.
18889 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
18890 * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
18891 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
18892 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
18893 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
18894 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
18895
33ee81de
AM
188962013-10-04 Alan Modra <amodra@gmail.com>
18897
18898 * sysdeps/powerpc/powerpc64/power7/strnlen.S (strnlen): Add
18899 little-endian support. Remove unnecessary "are we done" tests.
18900 Handle "s" wrapping around zero and extremely large "size".
18901 Correct main loop count. Handle single left-over word from main
18902 loop inline rather than by using small_loop. Correct comments.
18903 Delete "zero" tail, use "end_max" instead.
18904 * sysdeps/powerpc/powerpc32/power7/strnlen.S: Likewise.
18905
db9b4570
AM
189062013-10-04 Alan Modra <amodra@gmail.com>
18907
18908 * sysdeps/powerpc/powerpc64/power7/strlen.S (strlen): Add little-endian
18909 support. Don't branch over align.
18910 * sysdeps/powerpc/powerpc32/power7/strlen.S: Likewise.
18911 * sysdeps/powerpc/powerpc64/strlen.S (strlen): Add little-endian
18912 support. Rearrange tmp reg use to suit. Comment.
18913 * sysdeps/powerpc/powerpc32/strlen.S: Likewise.
18914
f7c399cf
AM
189152013-10-04 Alan Modra <amodra@gmail.com>
18916
18917 * sysdeps/unix/sysv/linux/powerpc/bits/sigstack.h: New file.
18918
0b2c2ace
AM
189192013-10-04 Alan Modra <amodra@gmail.com>
18920
18921 * sysdeps/unix/sysv/linux/powerpc/powerpc32/makecontext.S: Use
18922 conditional form of branch and link when obtaining pc.
18923 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
18924
02f04a6c
AM
189252013-10-04 Alan Modra <amodra@gmail.com>
18926
18927 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Use
18928 HIWORD/LOWORD.
18929 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Ditto.
18930 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Ditto.
18931
9b874b2f
AM
189322013-10-04 Alan Modra <amodra@gmail.com>
18933
18934 * sysdeps/powerpc/longjmp.c: Use proper symbol versioning macros.
18935 * sysdeps/powerpc/novmx-longjmp.c: Likewise.
18936 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
18937 * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Likewise.
18938 * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
18939 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
18940 * sysdeps/powerpc/powerpc32/mcount.c: Likewise.
18941 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
18942 * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
18943 * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Likewise.
18944
be1e5d31
AB
189452013-10-04 Anton Blanchard <anton@au1.ibm.com>
18946 Alistair Popple <alistair@ozlabs.au.ibm.com>
18947 Alan Modra <amodra@gmail.com>
18948
18949 [BZ #15723]
18950 * sysdeps/powerpc/jmpbuf-offsets.h: Comment fix.
18951 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Correct
18952 _dl_hwcap access for little-endian.
18953 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise. Don't
18954 destroy vmx regs when saving unaligned.
18955 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Correct CR load.
18956 * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise CR save. Don't
18957 destroy vmx regs when saving unaligned.
18958
fef13a78
AM
189592013-10-04 Alan Modra <amodra@gmail.com>
18960
18961 * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_NOW):
18962 Don't use a union to pack hi/low value.
18963
76a66d51
AB
189642013-10-04 Anton Blanchard <anton@au1.ibm.com>
18965
18966 * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S: Correct float constants
18967 for little-endian.
18968 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
18969 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: Likewise.
18970 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
18971 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
18972 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
18973
6a31fe7f
AM
189742013-10-04 Alan Modra <amodra@gmail.com>
18975
18976 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Increase alignment of
18977 constants to usual value for .cst8 section, and remove redundant
18978 high address load.
18979 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Use float
18980 constant for 0x1p52. Load little-endian words of double from
18981 correct stack offsets.
18982
7b88401f
AM
189832013-10-04 Alan Modra <amodra@gmail.com>
18984
18985 * sysdeps/powerpc/sysdep.h (LOWORD, HIWORD, HISHORT): Define.
18986 * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Load little-endian
18987 words of double from correct stack offsets.
18988 * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
18989 * sysdeps/powerpc/powerpc32/fpu/s_lrint.S: Likewise.
18990 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
18991 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
18992 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
18993 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
18994 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
18995 * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
18996 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
18997 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
18998 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
18999 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
19000 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
19001 * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
19002 * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
19003 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Use HISHORT.
19004 * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
19005
9c008155
AM
190062013-10-04 Alan Modra <amodra@gmail.com>
19007
19008 * sysdeps/powerpc/fpu_control.h (_FPU_GETCW): Rewrite using
19009 64-bit int/double union.
19010 (_FPU_SETCW): Likewise.
19011 * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c (_GET_DI_FPSCR): Likewise.
19012 (_SET_DI_FPSCR, _GET_SI_FPSCR, _SET_SI_FPSCR): Likewise.
19013
da13146d
AM
190142013-10-04 Alan Modra <amodra@gmail.com>
19015
19016 * sysdeps/powerpc/fpu/s_llround.c (__llround): Rewrite.
19017 * sysdeps/powerpc/fpu/s_llroundf.c (__llroundf): Rewrite.
19018
603e8410
AM
190192013-10-04 Alan Modra <amodra@gmail.com>
19020
19021 * sysdeps/powerpc/fpu/s_float_bitwise.h (__float_and_test28): Don't
19022 use vector int constants.
19023 (__float_and_test24, __float_and8, __float_get_exp): Likewise.
19024
4a28b3ca
AB
190252013-10-04 Anton Blanchard <anton@au1.ibm.com>
19026
19027 * sysdeps/powerpc/fpu/fenv_libc.h (fenv_union_t): Replace int
19028 array with long long.
19029 * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Adjust.
19030 * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Adjust.
19031 * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Adjust.
19032 * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Adjust.
19033 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Adjust.
19034 * sysdeps/powerpc/fpu/fegetexcept.c (__fegetexcept): Adjust.
19035 * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Adjust.
19036 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Adjust.
19037 * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Adjust.
19038 * sysdeps/powerpc/fpu/fgetexcptflg.c (__fegetexceptflag): Adjust.
19039 * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Adjust.
19040 * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Adjust.
19041 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Adjust.
19042
2ca85d2b
AB
190432013-10-04 Anton Blanchard <anton@au1.ibm.com>
19044
19045 * sysdeps/powerpc/bits/mathinline.h (__signbitf): Use builtin.
19046 (__signbit): Likewise. Correct for little-endian.
19047 (__signbitl): Call __signbit.
19048 (lrint): Correct for little-endian.
19049 (lrintf): Call lrint.
19050
62a728ae
AM
190512013-10-04 Alan Modra <amodra@gmail.com>
19052
19053 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (mynumber): Replace
19054 union 32-bit int array member with 64-bit int array.
19055 (t515, tm256): Double rather than long double.
19056 (__ieee754_sqrtl): Rewrite using 64-bit arithmetic.
19057
32c301df
AM
190582013-10-04 Alan Modra <amodra@gmail.com>
19059
19060 * sysdeps/ieee754/ldbl-128ibm/ieee754.h (union ieee854_long_double):
19061 Delete.
19062 (IEEE854_LONG_DOUBLE_BIAS): Delete.
19063 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Don't include ieee854
19064 version of math_ldbl.h.
19065
650ef4bd
AM
190662013-10-04 Alan Modra <amodra@gmail.com>
19067
19068 [BZ #15734], [BZ #15735]
19069 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Rewrite
19070 all uses of ieee875 long double macros and unions. Simplify test
19071 for 0.0L. Correct |x|<|y| and |x|=|y| test. Use
19072 ldbl_extract_mantissa value for ix,iy exponents. Properly
19073 normalize after ldbl_extract_mantissa, and don't add hidden bit
19074 already handled. Don't treat low word of ieee854 mantissa like
19075 low word of IBM long double and mask off bit when testing for
19076 zero.
19077 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Rewrite
19078 all uses of ieee875 long double macros and unions. Simplify tests
19079 for 0.0L and inf. Correct double adjustment of k. Delete dead code
19080 adjusting ha,hb. Simplify code setting kld. Delete two600 and
19081 two1022, instead use their values. Recognise that tests for large
19082 "a" and small "b" are mutually exclusive. Rename vars. Comment.
19083 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c (__ieee754_remainderl):
19084 Rewrite all uses of ieee875 long double macros and unions. Simplify
19085 test for 0.0L and nan. Correct negation.
19086 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfl): Rewrite all uses of
19087 ieee875 long double macros and unions. Correct output for large
19088 magnitude x. Correct absolute value calculation.
19089 (__erfcl): Likewise.
19090 * math/libm-test.inc: Add tests for errors discovered in IBM long
19091 double versions of fmodl, remainderl, erfl and erfcl.
19092
765714ca
AM
190932013-10-04 Alan Modra <amodra@gmail.com>
19094
19095 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Rewrite
19096 all uses of ieee854 long double macros and unions. Simplify tests
19097 for long doubles that are fully specified by the high double.
19098 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
19099 Likewise.
19100 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl): Likewise.
19101 Remove dead code too.
19102 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
19103 (__ieee754_ynl): Likewise.
19104 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l): Likewise.
19105 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Likewise.
19106 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
19107 Remove dead code too.
19108 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c (__kernel_tanl): Likewise.
19109 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Likewise.
19110 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Likewise.
19111 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c (__isinf_nsl): Likewise.
19112 Simplify.
19113 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c (___isinfl): Likewise.
19114 Simplify.
19115 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Likewise.
19116 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c (__modfl): Likewise.
19117 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Likewise.
19118 Comment on variable precision.
19119 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward): Likewise.
19120 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
19121 Likewise.
19122 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
19123 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
19124 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
19125 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Likewise.
19126 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust tan_towardzero ulps.
19127
4ebd120c
AM
191282013-10-04 Alan Modra <amodra@gmail.com>
19129
19130 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_high): Define.
19131 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Rewrite
19132 all uses of ieee854 long double macros and unions.
19133 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Likewise.
19134 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
19135 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Likewise.
19136 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl): Likewise.
19137 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l): Likewise.
19138 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
19139 Likewise.
19140 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Likewise.
19141 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
19142 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl): Likewise.
19143 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
19144 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Likewise.
19145 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Likewise.
19146 Simplify sign and nan test too.
19147 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c (__cosl): Likewise.
19148 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c (__fabsl): Likewise.
19149 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c (___finitel): Likewise.
19150 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c (___fpclassifyl):
19151 Likewise.
19152 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
19153 * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c (__issignalingl):
19154 Likewise.
19155 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
19156 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c (___signbitl): Likewise.
19157 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c (__sincosl): Likewise.
19158 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c (__sinl): Likewise.
19159 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c (__tanl): Likewise.
19160 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (__logbl): Likewise.
19161
1b6adf88
AM
191622013-10-04 Alan Modra <amodra@gmail.com>
19163
19164 * stdio-common/printf_size.c (__printf_size): Don't use
19165 union ieee854_long_double in fpnum union.
19166 * stdio-common/printf_fphex.c (__printf_fphex): Likewise. Use
19167 signbit macro to retrieve sign from long double.
19168 * stdio-common/printf_fp.c (___printf_fp): Use signbit macro to
19169 retrieve sign from long double.
19170 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Adjust for fpnum change.
19171 * sysdeps/ieee754/ldbl-128/printf_fphex.c: Likewise.
19172 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Likewise.
19173 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
19174 * math/test-misc.c (main): Don't use union ieee854_long_double.
19175
4cf69995
AM
191762013-10-04 Alan Modra <amodra@gmail.com>
19177
19178 [BZ #15680]
19179 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Comment fix.
19180 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c
19181 (PRINT_FPHEX_LONG_DOUBLE): Tidy code by moving -53 into ediff
19182 calculation. Remove unnecessary test for denormal exponent.
19183 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c (__mpn_extract_long_double):
19184 Correct handling of denormals. Avoid undefined shift behaviour.
19185 Correct normalisation of low mantissa when low double is denormal.
19186 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h
19187 (ldbl_extract_mantissa): Likewise. Comment. Use uint64_t* for hi64.
19188 (ldbl_insert_mantissa): Make both hi64 and lo64 parms uint64_t.
19189 Correct normalisation of low mantissa. Test for overflow of high
19190 mantissa and normalise.
19191 (ldbl_nearbyint): Use more readable constant for two52.
19192 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c
19193 (__mpn_construct_long_double): Fix test for overflow of high
19194 mantissa and correct normalisation. Avoid undefined shift.
19195
9605ca6c
AM
191962013-10-04 Alan Modra <amodra@gmail.com>
19197
19198 * sysdeps/ieee754/ldbl-128ibm/ieee754.h
19199 (union ibm_extended_long_double): Define as an array of ieee754_double.
19200 (IBM_EXTENDED_LONG_DOUBLE_BIAS): Delete.
19201 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Update all references
19202 to ibm_extended_long_double and IBM_EXTENDED_LONG_DOUBLE_BIAS.
19203 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
19204 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
19205 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c: Likewise.
19206 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
19207 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
19208 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
19209 * sysdeps/ieee754/ldbl-128ibm/strtold_l.c: Likewise.
19210 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
19211
975569d0
JM
192122013-10-03 Joseph Myers <joseph@codesourcery.com>
19213
d3d23756
JM
19214 * locale/programs/locarchive.c (add_locale): Use constant 4096 for
19215 page size instead of calling getpagesize.
19216
975569d0
JM
19217 * locale/localeinfo.h (LOCFILE_ALIGN): New macro.
19218 (LOCFILE_ALIGN_MASK): Likewise.
19219 (LOCFILE_ALIGN_UP): Likewise.
19220 (LOCFILE_ALIGNED_P): Likewise.
19221 * locale/programs/ld-collate.c (collate_output): Use the new
19222 macros instead of __alignof__ (int32_t).
19223 * locale/weight.h (findidx): Likewise.
19224
b1fe1f2b
OB
192252013-10-03 Ondřej Bílka <neleai@seznam.cz>
19226
19227 [BZ #431]
19228 * manual/string.texi: Fix strncat and wcsncat.
19229
5f855e35
BM
192302013-10-03 Brooks Moses <bmoses@google.com>
19231
19232 [BZ #15915]
19233 * Makefile (linkobj/libc_pic.a, linkobj/libc.so): Move rules to...
19234 * Makerules: ...here, and adjust associated comments.
19235
3cef6009
WN
192362013-10-02 Will Newton <will.newton@linaro.org>
19237
19238 * malloc/Makefile: Add tst-pvalloc.
19239 * malloc/tst-pvalloc.c: New file.
19240
7815420b
WN
192412013-10-02 Will Newton <will.newton@linaro.org>
19242
19243 * malloc/tst-valloc.c: Rewrite to use test-skeleton.c and
19244 improve test coverage.
19245
4868b204
WN
192462013-10-02 Will Newton <will.newton@linaro.org>
19247
19248 * malloc/Makefile: Add tst-posix_memalign.
19249 * malloc/tst-posix_memalign.c: New file.
19250
29c793b3
EB
192512013-10-01 Eric Blake <eblake@redhat.com>
19252
19253 * posix/glob.c (next_brace_sub, prefix_array, collated_compare):
19254 Use __THROWNL rather than __THROW on static functions.
19255
fd967522
PM
192562013-09-30 Petr Machata <pmachata@redhat.com>
19257
19258 * elf/elf.h (R_AARCH64_ABS16): New macro.
19259 (R_AARCH64_PREL64, R_AARCH64_PREL32): Likewise.
19260 (R_AARCH64_PREL16, R_AARCH64_MOVW_UABS_G0): Likewise.
19261 (R_AARCH64_MOVW_UABS_G0_NC, R_AARCH64_MOVW_UABS_G1): Likewise.
19262 (R_AARCH64_MOVW_UABS_G1_NC, R_AARCH64_MOVW_UABS_G2): Likewise.
19263 (R_AARCH64_MOVW_UABS_G2_NC, R_AARCH64_MOVW_UABS_G3): Likewise.
19264 (R_AARCH64_MOVW_SABS_G0, R_AARCH64_MOVW_SABS_G1): Likewise.
19265 (R_AARCH64_MOVW_SABS_G2, R_AARCH64_LD_PREL_LO19): Likewise.
19266 (R_AARCH64_ADR_PREL_LO21, R_AARCH64_ADR_PREL_PG_HI21): Likewise.
19267 (R_AARCH64_ADR_PREL_PG_HI21_NC, R_AARCH64_ADD_ABS_LO12_NC): Likewise.
19268 (R_AARCH64_LDST8_ABS_LO12_NC, R_AARCH64_LDST16_ABS_LO12_NC): Likewise.
19269 (R_AARCH64_LDST32_ABS_LO12_NC, R_AARCH64_LDST64_ABS_LO12_NC): Likewise.
19270 (R_AARCH64_LDST128_ABS_LO12_NC, R_AARCH64_TSTBR14): Likewise.
19271 (R_AARCH64_CONDBR19, R_AARCH64_JUMP26, R_AARCH64_CALL26): Likewise.
19272 (R_AARCH64_MOVW_PREL_G0, R_AARCH64_MOVW_PREL_G0_NC): Likewise.
19273 (R_AARCH64_MOVW_PREL_G1, R_AARCH64_MOVW_PREL_G1_NC): Likewise.
19274 (R_AARCH64_MOVW_PREL_G2, R_AARCH64_MOVW_PREL_G2_NC): Likewise.
19275 (R_AARCH64_MOVW_PREL_G3, R_AARCH64_MOVW_GOTOFF_G0): Likewise.
19276 (R_AARCH64_MOVW_GOTOFF_G0_NC, R_AARCH64_MOVW_GOTOFF_G1): Likewise.
19277 (R_AARCH64_MOVW_GOTOFF_G1_NC, R_AARCH64_MOVW_GOTOFF_G2): Likewise.
19278 (R_AARCH64_MOVW_GOTOFF_G2_NC, R_AARCH64_MOVW_GOTOFF_G3): Likewise.
19279 (R_AARCH64_GOTREL64, R_AARCH64_GOTREL32): Likewise.
19280 (R_AARCH64_GOT_LD_PREL19, R_AARCH64_LD64_GOTOFF_LO15): Likewise.
19281 (R_AARCH64_ADR_GOT_PAGE, R_AARCH64_LD64_GOT_LO12_NC): Likewise.
19282 (R_AARCH64_LD64_GOTPAGE_LO15, R_AARCH64_TLSGD_ADR_PREL21): Likewise.
19283 (R_AARCH64_TLSGD_ADR_PAGE21, R_AARCH64_TLSGD_ADD_LO12_NC): Likewise.
19284 (R_AARCH64_TLSGD_MOVW_G1, R_AARCH64_TLSGD_MOVW_G0_NC): Likewise.
19285 (R_AARCH64_TLSLD_ADR_PREL21, R_AARCH64_TLSLD_ADR_PAGE21): Likewise.
19286 (R_AARCH64_TLSLD_ADD_LO12_NC, R_AARCH64_TLSLD_MOVW_G1): Likewise.
19287 (R_AARCH64_TLSLD_MOVW_G0_NC, R_AARCH64_TLSLD_LD_PREL19): Likewise.
19288 (R_AARCH64_TLSLD_MOVW_DTPREL_G2): Likewise.
19289 (R_AARCH64_TLSLD_MOVW_DTPREL_G1): Likewise.
19290 (R_AARCH64_TLSLD_MOVW_DTPREL_G1_NC): Likewise.
19291 (R_AARCH64_TLSLD_MOVW_DTPREL_G0): Likewise.
19292 (R_AARCH64_TLSLD_MOVW_DTPREL_G0_NC): Likewise.
19293 (R_AARCH64_TLSLD_ADD_DTPREL_HI12): Likewise.
19294 (R_AARCH64_TLSLD_ADD_DTPREL_LO12): Likewise.
19295 (R_AARCH64_TLSLD_ADD_DTPREL_LO12_NC): Likewise.
19296 (R_AARCH64_TLSLD_LDST8_DTPREL_LO12): Likewise.
19297 (R_AARCH64_TLSLD_LDST8_DTPREL_LO12_NC): Likewise.
19298 (R_AARCH64_TLSLD_LDST16_DTPREL_LO12): Likewise.
19299 (R_AARCH64_TLSLD_LDST16_DTPREL_LO12_NC): Likewise.
19300 (R_AARCH64_TLSLD_LDST32_DTPREL_LO12): Likewise.
19301 (R_AARCH64_TLSLD_LDST32_DTPREL_LO12_NC): Likewise.
19302 (R_AARCH64_TLSLD_LDST64_DTPREL_LO12): Likewise.
19303 (R_AARCH64_TLSLD_LDST64_DTPREL_LO12_NC): Likewise.
19304 (R_AARCH64_TLSLD_LDST128_DTPREL_LO12): Likewise.
19305 (R_AARCH64_TLSLD_LDST128_DTPREL_LO12_NC): Likewise.
19306 (R_AARCH64_TLSIE_MOVW_GOTTPREL_G1): Likewise.
19307 (R_AARCH64_TLSIE_MOVW_GOTTPREL_G0_NC): Likewise.
19308 (R_AARCH64_TLSIE_ADR_GOTTPREL_PAGE21): Likewise.
19309 (R_AARCH64_TLSIE_LD64_GOTTPREL_LO12_NC): Likewise.
19310 (R_AARCH64_TLSIE_LD_GOTTPREL_PREL19): Likewise.
19311 (R_AARCH64_TLSLE_MOVW_TPREL_G2): Likewise.
19312 (R_AARCH64_TLSLE_MOVW_TPREL_G1): Likewise.
19313 (R_AARCH64_TLSLE_MOVW_TPREL_G1_NC): Likewise.
19314 (R_AARCH64_TLSLE_MOVW_TPREL_G0): Likewise.
19315 (R_AARCH64_TLSLE_MOVW_TPREL_G0_NC): Likewise.
19316 (R_AARCH64_TLSLE_ADD_TPREL_HI12): Likewise.
19317 (R_AARCH64_TLSLE_ADD_TPREL_LO12): Likewise.
19318 (R_AARCH64_TLSLE_ADD_TPREL_LO12_NC): Likewise.
19319 (R_AARCH64_TLSLE_LDST8_TPREL_LO12): Likewise.
19320 (R_AARCH64_TLSLE_LDST8_TPREL_LO12_NC): Likewise.
19321 (R_AARCH64_TLSLE_LDST16_TPREL_LO12): Likewise.
19322 (R_AARCH64_TLSLE_LDST16_TPREL_LO12_NC): Likewise.
19323 (R_AARCH64_TLSLE_LDST32_TPREL_LO12): Likewise.
19324 (R_AARCH64_TLSLE_LDST32_TPREL_LO12_NC): Likewise.
19325 (R_AARCH64_TLSLE_LDST64_TPREL_LO12): Likewise.
19326 (R_AARCH64_TLSLE_LDST64_TPREL_LO12_NC): Likewise.
19327 (R_AARCH64_TLSLE_LDST128_TPREL_LO12): Likewise.
19328 (R_AARCH64_TLSLE_LDST128_TPREL_LO12_NC): Likewise.
19329 (R_AARCH64_TLSDESC_LD_PREL19): Likewise.
19330 (R_AARCH64_TLSDESC_ADR_PREL21): Likewise.
19331 (R_AARCH64_TLSDESC_ADR_PAGE21): Likewise.
19332 (R_AARCH64_TLSDESC_LD64_LO12): Likewise.
19333 (R_AARCH64_TLSDESC_ADD_LO12): Likewise.
19334 (R_AARCH64_TLSDESC_OFF_G1): Likewise.
19335 (R_AARCH64_TLSDESC_OFF_G0_NC): Likewise.
19336 (R_AARCH64_TLSDESC_LDR): Likewise.
19337 (R_AARCH64_TLSDESC_ADD): Likewise.
19338 (R_AARCH64_TLSDESC_CALL): Likewise.
19339
b2179107
AS
193402013-09-30 Andreas Schwab <schwab@suse.de>
19341
19342 [BZ #15048]
19343 * nscd/aicache.c (addhstaiX): Properly use the cache variable for
19344 the nss database lookup.
19345 * nscd/initgrcache.c (addinitgroupsX): Likewise.
19346 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
19347
47f28d0a
MF
193482013-09-28 Mike Frysinger <vapier@gentoo.org>
19349
19350 * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Fix style.
19351
193522013-09-28 P. J. McDermott <pj@pehjota.net>
0a834dde
PM
19353
19354 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't use
19355 ${Bash-specific parameter/pattern/string} parameter expansion.
19356 * sysdeps/unix/make-syscalls.sh: Likewise.
19357
f4518a17
KK
193582013-09-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
19359
19360 * sysdeps/sh/stackguard-macros.h: New file.
19361
dc1a95c7
OB
193622013-09-26 Ondřej Bílka <neleai@seznam.cz>
19363
19364 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
19365 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove strrchr ifunc.
19366 * sysdeps/x86_64/multiarch/strend-sse4.S Remove.
19367 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S Likewise.
19368 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
19369 * sysdeps/x86_64/strrchr.S (strrchr): Use optimized implementation.
19370
5ebbff8f
AZ
193712013-09-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19372
19373 * sysdeps/powerpc/powerpc64/stackguard-macros.h (POINTER_CHK_GUARD:
19374 Fix thread ID register.
19375
4fd2cf9f
JM
193762013-09-25 Joseph Myers <joseph@codesourcery.com>
19377
19378 * conform/data/sched.h-data [XPG3 || XPG4]: Disable whole file.
19379 [POSIX || UNIX98]: Require rather than permitting all symbols from
19380 <time.h>.
19381 [POSIX || UNIX98] (sched_ss_low_priority): Do not specify optional
19382 element of struct sched_param.
19383 [POSIX || UNIX98] (sched_ss_repl_period): Likewise.
19384 [POSIX || UNIX98] (sched_ss_init_budget): Likewise.
19385 [POSIX || UNIX98] (sched_ss_max_repl): Likewise.
19386 [POSIX || UNIX98] (SCHED_SPORADIC): Do not specify optional
19387 constant.
19388
12c22bc4
OL
193892013-09-24 Olivier Langlois <olivier@olivierlanglois.net>
19390
19391 * stdio-common/tst-long-dbl-fphex.c (do_test): Fix swprintf length
19392 argument calculation.
19393
a03d8ea7
JM
193942013-09-24 Joseph Myers <joseph@codesourcery.com>
19395
19396 * conform/data/pthread.h-data [POSIX] (PTHREAD_MUTEX_INITIALIZER):
19397 Expect macro.
19398 [POSIX] (pthread_attr_t): Do not require type.
19399 [POSIX] (pthread_cond_t): Likewise.
19400 [POSIX] (pthread_condattr_t): Likewise.
19401 [POSIX] (pthread_key_t): Likewise.
19402 [POSIX] (pthread_mutex_t): Likewise.
19403 [POSIX] (pthread_mutexattr_t): Likewise.
19404 [POSIX] (pthread_once_t): Likewise.
19405 [POSIX] (pthread_t): Likewise.
19406 [POSIX-based standards] (pthread_atfork): Expect function.
19407
6055173a
JM
194082013-09-24 Joseph Myers <joseph@codesourcery.com>
19409 Richard Sandiford <richard@codesourcery.com>
19410
19411 * locale/programs/locfile.h: Include <byteswap.h> and <stdbool.h>.
19412 (swap_endianness_p): New extern variable.
19413 (set_big_endian): New inline function.
19414 (maybe_swap_uint32): Likewise.
19415 (maybe_swap_uint32_array): Likewise.
19416 (maybe_swap_uint32_obstack): Likewise.
19417 * locale/programs/locfile.c: Include <stdbool.h>.
19418 (swap_endianness_p): New variable.
19419 (add_locale_uint32): Call maybe_swap_uint32.
19420 (add_locale_uint32_array): Call maybe_swap_uint32_obstack.
19421 (write_locale_data): Call maybe_swap_uint32_array.
19422 * locale/programs/ld-collate.c (obstack_int32_grow): Call
19423 maybe_swap_uint32.
19424 (obstack_int32_grow_fast): Likewise.
19425 (output_weightwc): Call maybe_swap_uint32_obstack.
19426 (collate_output): Likewise.
19427 * locale/programs/localedef.c (OPT_LITTLE_ENDIAN): New macro.
19428 (OPT_LITTLE_ENDIAN): Likewise.
19429 (options): Add --little-endian and --big-endian options.
19430 (parse_opt): Handle OPT_LITTLE_ENDIAN and OPT_BIG_ENDIAN.
19431 * locale/programs/locarchive.c: Include "locfile.h".
19432 (GET): New macro.
19433 (SET): Likewise.
19434 (INC): Likewise.
19435 (create_archive): Use the new macros to access fields of
19436 structures directly mapped from or written to locale archives.
19437 (oldlocrecentcmp): Likewise.
19438 (enlarge_archive): Likewise.
19439 (insert_name): Likewise.
19440 (add_alias): Likewise.
19441 (add_locale): Likewise.
19442 (delete_locales_from_archive): Likewise.
19443 (show_archive_content): Likewise.
19444 (add_locale_to_archive): Likewise. Use maybe_swap_uint32 on
19445 locale data.
19446
39bf0bb4
RM
194472013-09-24 Roland McGrath <roland@hack.frob.com>
19448
19449 * manual/freemanuals.texi: Updated from (newly) canonical copy at
19450 http://www.gnu.org/doc/freemanuals.texi.
19451 * manual/libc.texinfo (Free Manuals): Put the @appendix line here.
19452
f02eed10
WN
194532013-09-24 Will Newton <will.newton@linaro.org>
19454
19455 * sysdeps/mach/hurd/i386/tls.h (TLS_INIT_TP_EXPENSIVE): Remove
19456 macro.
19457
a3a6c312
JM
194582013-09-23 Joseph Myers <joseph@codesourcery.com>
19459
19460 * locale/hashval.h (compute_hashval): Interpret bytes of key as
19461 unsigned char.
19462
107375ac
MR
194632013-09-23 Maciej W. Rozycki <macro@codesourcery.com>
19464
19465 * manual/threads.texi (POSIX Threads): Fix a typo.
19466
141f3a77
SP
194672013-09-23 Siddhesh Poyarekar <siddhesh@redhat.com>
19468
303e567a
SP
19469 [BZ #14547]
19470 * string/tst-strcoll-overflow.c: New test case.
19471 * string/Makefile (xtests): Add tst-strcoll-overflow.
19472 * string/strcoll_l.c (STRCOLL): Skip allocating memory for
19473 cache if string sizes may cause integer overflow.
19474
141f3a77
SP
19475 [BZ #14547]
19476 * string/strcoll_l.c (coll_seq): New members rule, idx,
19477 save_idx and back_us.
19478 (get_next_seq_nocache): New function.
19479 (do_compare_nocache): New function.
19480 (STRCOLL): Use get_next_seq_nocache and do_compare_nocache
19481 when malloc fails.
19482
c61b4d41
CD
194832013-09-23 Carlos O'Donell <carlos@redhat.com>
19484
0b1f8e35
CD
19485 [BZ #15754]
19486 * sysdeps/generic/stackguard-macros.h: If PTRGUARD_LOCAL use
19487 __pointer_chk_guard_local, otherwise __pointer_chk_guard.
19488 * elf/Makefile: Define CFLAGS-tst-ptrguard1-static.c.
19489
c61b4d41
CD
19490 [BZ #15754]
19491 * elf/Makefile (tests): Add tst-ptrguard1.
19492 (tests-static): Add tst-ptrguard1-static.
19493 (tst-ptrguard1-ARGS): Define.
19494 (tst-ptrguard1-static-ARGS): Define.
19495 * elf/tst-ptrguard1.c: New file.
19496 * elf/tst-ptrguard1-static.c: New file.
19497 * sysdeps/x86_64/stackguard-macros.h: Define POINTER_CHK_GUARD.
19498 * sysdeps/i386/stackguard-macros.h: Likewise.
19499 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
19500 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
19501 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
19502 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
19503 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
19504 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
19505
195062013-09-23 Hector Marco <hecmargi@upv.es>
19507 Ismael Ripoll <iripoll@disca.upv.es>
19508 Carlos O'Donell <carlos@redhat.com>
19509
19510 [BZ #15754]
19511 * sysdeps/generic/stackguard-macros.h: Define
19512 __pointer_chk_guard_local and POINTER_CHK_GUARD.
19513 * csu/libc-start.c [!SHARED && !THREAD_SET_POINTER_GUARD]:
19514 Define __pointer_chk_guard_local.
19515 (LIBC_START_MAIN) [!SHARED]: Call _dl_setup_pointer_guard.
19516 Use THREAD_SET_POINTER_GUARD or set __pointer_chk_guard_local.
19517
f5f4e7b4
VV
195182013-09-15 Vinitha Vijayan <vinitha.vijayann@gmail.com>
19519
19520 [BZ #15859]
19521 * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate declaration.
19522
5bb43a43
AS
195232013-09-20 Andreas Schwab <schwab@linux-m68k.org>
19524
19525 * include/string.h (__ffs): Declare as hidden.
19526 * string/ffs.c (__ffs): Define as hidden.
19527 * sysdeps/i386/ffs.c (__ffs): Likewise.
19528 * sysdeps/i386/i686/ffs.c (__ffs): Likewise.
19529 * sysdeps/powerpc/ffs.c (__ffs): Likewise.
19530 * sysdeps/s390/ffs.c (__ffs): Likewise.
19531 * sysdeps/x86_64/ffs.c (__ffs): Likewise.
19532
3ea5be54
AO
195332013-09-20 Alexandre Oliva <aoliva@redhat.com>
19534
ffb89e53
AO
19535 * NEWS: Mention malloc probes.
19536
322dea08
AO
19537 * malloc/arena.c (new_heap): New memory_heap_new probe.
19538 (grow_heap): New memory_heap_more probe.
19539 (shrink_heap): New memory_heap_less probe.
19540 (heap_trim): New memory_heap_free probe.
19541 * malloc/malloc.c (sysmalloc): New memory_sbrk_more probe.
19542 (systrim): New memory_sbrk_less probe.
19543 * manual/probes.texi: Document them.
19544
655673f3
AO
19545 * malloc/arena.c (arena_get_retry): Add memory_arena_retry probe.
19546 * manual/probes.texi: Document it.
19547
35fed6f1
AO
19548 * malloc/malloc.c (__libc_malloc): Add memory_malloc_retry probe.
19549 (__libc_realloc): Add memory_realloc_retry probe.
19550 (__libc_memalign): Add memory_memalign_retry probe.
19551 (__libc_valloc): Add memory_valloc_retry probe.
19552 (__libc_pvalloc): Add memory_pvalloc_retry probe.
19553 (__libc_calloc): Add memory_calloc_retry probe.
19554 * manual/probes.texi: Document them.
19555
6999d38c
AO
19556 * malloc/arena.c (get_free_list): Add probe
19557 memory_arena_reuse_free_list.
19558 (reused_arena) [PER_THREAD]: Add probes memory_arena_reuse_wait
19559 and memory_arena_reuse.
19560 (arena_get2) [!PER_THREAD]: Likewise.
19561 * malloc/malloc.c (__libc_realloc) [!PER_THREAD]: Add probe
19562 memory_arena_reuse_realloc.
19563 * manual/probes.texi: Document them.
19564
0653427f
AO
19565 * malloc/malloc.c (__libc_free): Add
19566 memory_mallopt_free_dyn_thresholds probe.
19567 (__libc_mallopt): Add multiple memory_mallopt probes.
19568 * manual/probes.texi: Document them.
19569
3ea5be54
AO
19570 * malloc/malloc.c: Include stap-probe.h.
19571 (__libc_mallopt): Add memory_mallopt probe.
19572 * malloc/arena.c (_int_new_arena): Add memory_arena_new probe.
19573 * manual/probes.texi: New.
19574 * manual/Makefile (chapters): Add probes.
19575 * manual/threads.texi: Set next node.
19576
e35696c3 195772013-09-19 Wei-Lun Chao <bluebat@member.fsf.org>
3e181dda 19578
e35696c3
CL
19579 [BZ #15963, #13985]
19580 * locale/iso-639.def: Add Chiga (cgg) and Chinese (gan, hak,
19581 czh, cjy, lzh, cmn, mnp, cdo, czo, cpx, wuu, hsn, yue).
19582 Add `Chinese' to `nan' entry name.
19583
4aafb73c
SP
195842013-09-19 Siddhesh Poyarekar <siddhesh@redhat.com>
19585
19586 * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): New macro.
19587 (POLYNOMIAL): Likewise.
19588 (TAYLOR_SINCOS): Likewise.
19589 (TAYLOR_SLOW): Likewise.
19590 (__sin): Use TAYLOR_SINCOS.
19591 (__cos): Likewise.
19592 (slow): Use TAYLOR_SLOW.
19593 (sloww): Likewise.
19594 (bsloww): Likewise.
19595 (csloww): Likewise.
19596
d84f25c7
LD
195972013-09-19 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
19598
19599 * stdlib/strtod_l.c: Fix buffer overrun.
19600
5eea0404
SP
196012013-09-19 Siddhesh Poyarekar <siddhesh@redhat.com>
19602
7849ff93
SP
19603 * benchtests/Makefile (bench): Add sincos.
19604 * benchtests/bench-sincos.c: New file.
19605
cfa3c886
SP
19606 * math/libm-test.inc (cos_test_data): New test inputs.
19607 (sin_test_data): Likewise.
19608
b348e1e3
SP
19609 * sysdeps/ieee754/dbl-64/s_sin.c (SINCOS_TABLE_LOOKUP): New
19610 macro.
19611 (__sin): Use it.
19612 (__cos): Likewise.
19613 (slow1): Likewise.
19614 (slow2): Likewise.
19615 (sloww1): Likewise.
19616 (sloww2): Likewise.
19617 (bsloww1): Likewise.
19618 (bsloww2): Likewise.
19619 (cslow2): Likewise.
19620 (csloww1): Likewise.
19621 (csloww2): Likewise.
19622
6cce25f8
SP
19623 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): New
19624 function.
19625 (__sin): Use it.
19626 (__cos): Likewise.
19627
5eea0404
SP
19628 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Remove redundant
19629 gotos.
19630 (__cos): Likewise.
19631
9c21573c
MR
196322013-09-18 Maciej W. Rozycki <macro@codesourcery.com>
19633
19634 * config.h.in (HAVE_MIPS_NAN2008): New macro.
19635 * elf/elf.h (EF_MIPS_NAN2008): Likewise.
19636 * sysdeps/generic/ldconfig.h (FLAG_MIPS_LIB32_NAN2008): Likewise.
19637 (FLAG_MIPS64_LIBN32_NAN2008): Likewise.
19638 (FLAG_MIPS64_LIBN64_NAN2008): Likewise.
19639 * elf/cache.c (print_entry): Handle the new cache flags.
19640
24d22e65
JM
196412013-09-18 Joseph Myers <joseph@codesourcery.com>
19642 Aldy Hernandez <aldyh@redhat.com>
19643
19644 * sysdeps/powerpc/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]:
19645 Change condition to [_SOFT_FLOAT].
19646 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_NEAREST): New macro.
19647 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_DOWN): Likewise.
19648 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_UP): Likewise.
19649 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_ZERO): Likewise.
19650 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_ZM): Likewise.
19651 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_OM): Likewise.
19652 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Likewise.
19653 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_XM): Likewise.
19654 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_IM): Likewise.
19655 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Likewise.
19656 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Likewise.
19657 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Likewise.
19658 [__NO_FPRS__ && !_SOFT_FLOAT] (fpu_control_t): New typedef.
19659 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_GETCW): New macro.
19660 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_SETCW): Likewise.
19661 [__NO_FPRS__ && !_SOFT_FLOAT] (__fpu_control): New variable
19662 declaration.
19663
d13ef066
JM
196642013-09-18 Joseph Myers <joseph@codesourcery.com>
19665
2e071de0
JM
19666 * sysdeps/powerpc/powerpc32/__longjmp-common.S (LOAD_GP): Define
19667 macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
19668 (__longjmp): Use LOAD_GP to load saved GPRs.
19669 * sysdeps/powerpc/powerpc32/setjmp-common.S (SAVE_GP): Define
19670 macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
19671 (__sigsetjmp): Use SAVE_GP to save GPRs.
19672
d13ef066
JM
19673 * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = no] (+cflags):
19674 Do not append -msoft-float.
19675 [$(with-fp) = no] (sysdep-LDFLAGS): Likewise.
19676
97a0650b
SP
196772013-09-18 Siddhesh Poyarekar <siddhesh@redhat.com>
19678
19679 * sysdeps/ieee754/dbl-64/sincos32.c: Fix code formatting.
19680
11ca09e9
JM
196812013-09-17 Joseph Myers <joseph@codesourcery.com>
19682
19683 [BZ #15966]
19684 * sysdeps/powerpc/fpu_control.h [!_SOFT_FLOAT && !__NO_FPRS__]
19685 (_FPU_GETCW): Use initial "__" on variable and field names but not
19686 on macro parameter name.
19687 [!_SOFT_FLOAT && !__NO_FPRS__] (_FPU_SETCW): Likewise. Use
19688 parentheses around reference to macro parameter.
19689
08ffcf34
RS
196902013-09-13 Richard Sandiford <richard@codesourcery.com>
19691
19692 * locale/programs/ld-ctype.c (find_idx): Use uint32_t in
19693 prototype.
19694 (ctype_startup): Use uint32_t in cast and sizeof for
19695 ctype->charnames.
19696
ae7080d3
JL
196972013-09-11 Jia Liu <proljc@gmail.com>
19698
19699 * sunrpc/rpc/types.h [__APPLE_CC__]: Define __u_char_defined and
19700 __daddr_t_defined.
19701 [__FreeBSD__]: Likewise.
19702
5905e7b3
OB
197032013-09-11 Ondřej Bílka <neleai@seznam.cz>
19704
19705 * sysdeps/x86_64/multiarch/ifunc-impl-list.c
19706 (__libc_ifunc_impl_list): Remove: __strchr_sse42.
19707 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Remove.
19708 (strchr): Remove __strchr_sse42 ifunc selection.
19709 * sysdeps/x86_64/strchr.S (strchr): Use optimized implementation.
19710 * sysdeps/x86_64/strchrnul.S: Include sysdeps/x86_64/strchr.S.
19711
b987c776
WN
197122013-09-11 Will Newton <will.newton@linaro.org>
19713
19714 * benchtests/bench-timing.h (TIMING_INIT): Rename ITERS
19715 parameter to RES. Remove hardcoded 1000 value.
19716 * benchtests/bench-skeleton.c (main): Pass RES parameter
19717 to TIMING_INIT and multiply result by 1000.
19718
ddf985af
AZ
197192013-09-10 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19720
19721 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
19722
ffdd3181
AS
197232013-09-11 Andreas Schwab <schwab@suse.de>
19724
19725 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
19726 if not defined.
19727 (O_TMPFILE) [__USE_GNU]: Define.
19728 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_TMPFILE):
19729 Define.
19730
b73ed247
WN
197312013-09-11 Will Newton <will.newton@linaro.org>
19732
19733 [BZ #15857]
19734 * malloc/malloc.c (__libc_memalign): Check the value of bytes
19735 does not overflow.
19736
55e17aad
WN
197372013-09-11 Will Newton <will.newton@linaro.org>
19738
19739 [BZ #15856]
19740 * malloc/malloc.c (__libc_valloc): Check the value of bytes
19741 does not overflow.
19742
1159a193
WN
197432013-09-11 Will Newton <will.newton@linaro.org>
19744
19745 [BZ #15855]
19746 * malloc/malloc.c (__libc_pvalloc): Check the value of bytes
19747 does not overflow.
19748
5905e7b3 197492013-09-10 Ondřej Bílka <neleai@seznam.cz>
c7cabd13
OB
19750
19751 * sysdeps/ieee754/dbl-64/e_j0.c: Remove DO_NOT_USE_THIS conditionals.
19752 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
19753 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
19754 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
19755 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
19756
cdfc721b
AM
197572013-09-10 Allan McRae <allan@archlinux.org>
19758
aa04af00
AM
19759 [BZ #15748]
19760 * manual/arith.texi (Parsing of Floats): Clarify
19761 cross-reference.
19762
cdfc721b
AM
19763 [BZ #15849]
19764 * manual/install.texi (Running make install): Mention
19765 --enable-pt-chown.
19766 * INSTALL: Regenerated.
19767
95e7cf29
MR
197682013-09-09 Maciej W. Rozycki <macro@codesourcery.com>
19769
19770 * csu/init-first.c (_init): Remove the !SHARED condition around
19771 FPU control word initialization.
19772 * elf/dl-support.c (_dl_fpu_control): New variable.
19773 (_dl_aux_init) <AT_FPUCW>: Initialize it.
19774 * math/test-fpucw.c [!FPU_CONTROL] (FPU_CONTROL): New macro.
19775 (main): Replace _FPU_DEFAULT with FPU_CONTROL throughout.
19776 * math/test-fpucw-static.c: New file.
19777 * math/test-fpucw-ieee.c: New file.
19778 * math/test-fpucw-ieee-static.c: New file.
19779 * math/Makefile (tests): Add `test-fpucw-ieee' and
19780 `$(tests-static)'.
19781 (tests-static): New variable.
19782 [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests))): Move
19783 dependency to...
19784 [($(build-shared),yes)]
19785 ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
19786 ... this.
19787 [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests-static))):
19788 New dependency.
19789
83e43bf0
AM
197902013-09-09 Allan McRae <allan@archlinux.org>
19791
a9f5ce09
AM
19792 [BZ #15939]
19793 * manual/string.texi (Collation Functions): Fix typo in
19794 strcoll example.
19795 Reported by Suren Karapetyan <me@suren.karapetyan.name>.
19796
34829bc2
AM
19797 [BZ #15893]
19798 * stdlib/isomac.c (get_null_defines): Fix memory leak.
19799
3932737d
AM
19800 [BZ #15892]
19801 * libio/memstream.c (open_memstream): Fix memory leak.
19802 * libio/wmemstream.c (open_wmemstream): Likewise.
19803
83e43bf0
AM
19804 [BZ #15895]
19805 * nscd/netgroupcache.c: Fix nesting of ifdefs.
19806
0c66b8e9
WN
198072013-09-09 Will Newton <will.newton@linaro.org>
19808
19809 * malloc/Makefile: Add tst-realloc to tests.
19810 * malloc/tst-realloc.c: New file.
19811
f6b00fd1
AM
198122013-09-09 Allan McRae <allan@archlinux.org>
19813
19814 [BZ #15844]
19815 * COPYING: Update from GNU website to fix FSF address.
19816 * COPYING.LIB: Likewise.
19817
eec55e16
DM
198182013-09-06 David S. Miller <davem@davemloft.net>
19819
19820 * po/zh_TW.po: Update Chinese (traditional) translation from
19821 translation project.
19822
1ecbb381
RS
198232013-09-06 Richard Sandiford <richard@codesourcery.com>
19824 Joseph Myers <joseph@codesourcery.com>
19825
19826 * locale/programs/locfile.c: Include <assert.h>, <wchar.h> and
19827 "localeinfo.h".
19828 (obstack_chunk_alloc): New macro.
19829 (obstack_chunk_free): Likewise.
19830 (record_offset): New function.
19831 (init_locale_data): Likewise.
19832 (align_locale_data): Likewise.
19833 (add_locale_empty): Likewise.
19834 (add_locale_raw_data): Likewise.
19835 (add_locale_raw_obstack): Likewise.
19836 (add_locale_string): Likewise.
19837 (add_locale_wstring): Likewise.
19838 (add_locale_uint32): Likewise.
19839 (add_locale_uint32_array): Likewise.
19840 (add_locale_char): Likewise.
19841 (start_locale_structure): Likewise.
19842 (end_locale_structure): Likewise.
19843 (start_locale_prelude): Likewise.
19844 (end_locale_prelude): Likewise.
19845 (write_locale_data): Take locale_file structure rather than an
19846 iovec.
19847 * locale/programs/locfile.h: Include "obstack.h".
19848 (struct locale_file): Change to store locale file contents instead
19849 of header.
19850 (init_locale_data): New prototype.
19851 (align_locale_data): Likewise.
19852 (add_locale_empty): Likewise.
19853 (add_locale_raw_data): Likewise.
19854 (add_locale_raw_obstack): Likewise.
19855 (add_locale_string): Likewise.
19856 (add_locale_wstring): Likewise.
19857 (add_locale_uint32): Likewise.
19858 (add_locale_uint32_array): Likewise.
19859 (add_locale_char): Likewise.
19860 (start_locale_structure): Likewise.
19861 (end_locale_structure): Likewise.
19862 (start_locale_prelude): Likewise.
19863 (end_locale_prelude): Likewise.
19864 (write_locale_data): Update prototype.
19865 * locale/programs/3level.h (struct TABLE): Remove result field.
19866 (CONCAT(TABLE,_finalize)): Change to CONCAT(add_locale_,TABLE).
19867 Use new locale_file interface.
19868 [!NO_FINALIZE]: Change condition to [!NO_ADD_LOCALE].
19869 (NO_FINALIZE): Change #undef to #undef of NO_ADD_LOCALE.
19870 * locale/programs/ld-address.c (address_output): Use new
19871 locale_file interface.
19872 * locale/programs/ld-collate.c (NO_FINALIZE): Change to
19873 NO_ADD_LOCALE.
19874 (collate_finish): Don't call collseq_table_finalize.
19875 (collate_output): Use new locale_file interface.
19876 * locale/programs/ld-ctype.c: Move includes of "3level.h" earlier
19877 in file.
19878 (NO_FINALIZE): Change to NO_ADD_LOCALE.
19879 (TABLE): Move defines earlier in file.
19880 (ELEMENT): Likewise.
19881 (DEFAULT): Likewise.
19882 (wctrans_table_add): Move macro and inline function earlier in
19883 file.
19884 (struct wctype_table): Move type earlier in file.
19885 (add_locale_wctype_table): New static prototype.
19886 (struct locale_ctype_t): Use logical types instead of struct iovec
19887 pointers for members.
19888 (ctype_output): Use new locale_file interface.
19889 (wctype_table_finalize): Change to add_locale_wctype_table. Use
19890 new locale_file interface.
19891 (allocate_arrays): Update for use of new locale_file interface.
19892 * locale/programs/ld-identification.c (identification_output): Use
19893 new locale_file interface.
19894 * locale/programs/ld-measurement.c (measurement_output): Likewise.
19895 * locale/programs/ld-messages.c (messages_output): Likewise.
19896 * locale/programs/ld-monetary.c (monetary_output): Likewise.
19897 * locale/programs/ld-name.c (name_output): Likewise.
19898 * locale/programs/ld-numeric.c (numeric_output): Likewise.
19899 * locale/programs/ld-paper.c (paper_output): Likewise.
19900 * locale/programs/ld-telephone.c (telephone_output): Likewise.
19901 * locale/programs/ld-time.c (time_output): Likewise.
19902
e029e2e5
AZ
199032013-09-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19904
19905 * benchtests/Makefile: Add memrchr benchmark.
19906 * benchtests/bench-memchr.c (USE_AS_MEMRCHR): Add define to use
19907 benchmark as memrchr.
19908 * benchtests/bench-memrchr-ifunc.c: New file.
19909 * benchtests/bench-memrchr.c: New file.
19910
bbf6e8e4
WN
199112013-09-06 Will Newton <will.newton@linaro.org>
19912
19913 * benchtests/Makefile (string-bench): Add memcpy.
19914
6c82a2f8
CD
199152013-09-05 Carlos O'Donell <carlos@redhat.com>
19916 Cong Wang <amwang@redhat.com>
19917
e732c5f0 19918 [BZ #15850]
6c82a2f8
CD
19919 * sysdeps/unix/sysv/linux/bits/in.h
19920 [_UAPI_LINUX_IN6_H]: Define __USE_KERNEL_IPV6_DEFS.
19921 * inet/netinet/in.h: Move in_addr definition and bits/in.h inclusion
19922 before __USE_KERNEL_IPV6_DEFS uses.
19923 * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Define IPPROTO_MH, and
19924 IPPROTO_BEETPH.
19925 [__USE_KERNEL_IPV6_DEFS]: Don't define any of IPPROTO_*, in6_addr,
19926 sockaddr_in6, or ipv6_mreq.
19927
5430fc65
AZ
199282013-09-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19929
19930 * sysdeps/powerpc/powerpc32/power7/memrchr.S (__memrchr): Fix invalid
19931 memory access for final bytes in some large inputs.
19932 * sysdeps/powerpc/powerpc64/power7/memrchr.S (__memrchr): Likewise.
19933
4660856c
AZ
199342013-09-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19935
19936 * string/test-memrchr.c: New file.
19937 * string/test-memrchr-ifunc.c: New file.
19938 * string/Makefile: Add new memrchr testcase.
19939
bb8ea713
MF
199402013-09-05 Mike Frysinger <vapier@gentoo.org>
19941
19942 * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Skip test when
19943 fanotify_init returns EPERM.
19944
b92a20b5
JM
199452013-09-04 Joseph Myers <joseph@codesourcery.com>
19946
19947 * conform/conformtest.pl (newtoken): Treat tokens not allowed as
19948 errors.
19949 (top level): Treat second token from macro or constant entries for
19950 allowed headers as allowed.
19951 * include/complex.h: Condition internal declarations on
19952 [!_ISOMAC].
19953 * include/fenv.h: Condition include of <stdbool.h> and internal
19954 declarations on [!_ISOMAC].
7447ccd9
CL
19955
199562013-09-04 Chris Leonard <cjl@sugarlabs,.org>
19957
3e181dda 19958 [BZ #15923]
7447ccd9
CL
19959 * locale/iso-4217.def: Update iso-1427.def and related occurrences.
19960
3f2e46a4
JM
199612013-09-04 Joseph Myers <joseph@codesourcery.com>
19962
19963 * configure.in (--enable-versioning): Remove configure option.
19964 (libc_cv_asm_symver_directive): Remove configure test.
19965 (libc_cv_ld_version_script_option): Likewise.
19966 (VERSIONING): Remove variable and AC_SUBST.
19967 (DO_VERSIONING): Remove AC_DEFINE.
19968 * configure: Regenerated.
19969 * config.h.in (DO_VERSIONING): Remove macro.
19970 * Makerules [$(versioning) = yes]: Change conditionals to
19971 [$(build-shared) = yes].
19972 * config.make.in (versioning): Remove variable.
19973 * dlfcn/Makefile [$(versioning) = yes]: Change conditionals to
19974 [$(build-shared) = yes].
19975 * dlfcn/modstatic2.c (test) [DO_VERSIONING]: Remove conditional.
19976 * dlfcn/tststatic2.c (main) [DO_VERSIONING]: Likewise.
19977 * elf/Makefile [$(versioning) = yes]: Change conditionals to
19978 [$(build-shared) = yes].
19979 * extra-lib.mk [$(versioning) = yes]: Likewise.
19980 * hurd/Makefile [$(versioning) = yes]: Likewise.
19981 * hurd/geteuids.c [SHARED && DO_VERSIONING]: Change conditional to
19982 [SHARED].
19983 * include/libc-symbols.h [DO_VERSIONING]: Change conditional to
19984 [SHARED].
19985 [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
19986 [SHARED && !NO_HIDDEN].
19987 * include/shlib-compat.h [DO_VERSIONING]: Change conditional to
19988 [SHARED].
19989 [SHARED && DO_VERSIONING]: Likewise..
19990 * libio/Makefile [$(versioning) = yes]: Change conditionals to
19991 [$(build-shared) = yes].
19992 * manual/install.texi (--disable-versioning): Remove
19993 documentation.
19994 * INSTALL: Regenerated.
19995 * resolv/res_libc.c [SHARED && DO_VERSIONING]: Change conditional
19996 to [SHARED].
19997 * sunrpc/Makefile [$(versioning) = yes]: Change conditional to
19998 [$(build-shared) = yes].
19999 * sysdeps/gnu/Makefile [$(versioning) = yes]: Likewise.
20000 * sysdeps/i386/i686/multiarch/strstr-c.c
20001 [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
20002 [SHARED && !NO_HIDDEN].
20003 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h
20004 [SHARED && DO_VERSIONING]: Change conditional to [SHARED].
20005 * sysdeps/powerpc/powerpc32/dl-machine.c
20006 [SHARED && !(DO_VERSIONING - 0)]: Remove conditional error.
20007 * sysdeps/powerpc/powerpc32/sysdep.h
20008 [SHARED && DO_VERSIONING && PIC && !NO_HIDDEN]: Change conditional
20009 to [SHARED && PIC && !NO_HIDDEN].
20010 * sysdeps/wordsize-32/divdi3.c [SHARED && DO_VERSIONING]: Change
20011 conditional to [SHARED].
20012
44558701
WN
200132013-09-04 Will Newton <will.newton@linaro.org>
20014
20015 * benchtests/bench-timing.h (TIMING_PRINT_MEAN): New macro.
20016 * benchtests/bench-string.h: Include bench-timing.h instead
20017 of including hp-timing.h directly. (INNER_LOOP_ITERS): New
20018 define. (HP_TIMING_BEST): Delete macro. (test_init): Remove
20019 call to HP_TIMING_DIFF_INIT.
20020 * benchtests/bench-memccpy.c: Use bench-timing.h macros
20021 instead of hp-timing.h macros.
20022 * benchtests/bench-memchr.c: Likewise.
20023 * benchtests/bench-memcmp.c: Likewise.
20024 * benchtests/bench-memcpy.c: Likewise.
20025 * benchtests/bench-memmem.c: Likewise.
20026 * benchtests/bench-memmove.c: Likewise.
20027 * benchtests/bench-memset.c: Likewise.
20028 * benchtests/bench-rawmemchr.c: Likewise.
20029 * benchtests/bench-strcasecmp.c: Likewise.
20030 * benchtests/bench-strcasestr.c: Likewise.
20031 * benchtests/bench-strcat.c: Likewise.
20032 * benchtests/bench-strchr.c: Likewise.
20033 * benchtests/bench-strcmp.c: Likewise.
20034 * benchtests/bench-strcpy.c: Likewise.
20035 * benchtests/bench-strcpy_chk.c: Likewise.
20036 * benchtests/bench-strlen.c: Likewise.
20037 * benchtests/bench-strncasecmp.c: Likewise.
20038 * benchtests/bench-strncat.c: Likewise.
20039 * benchtests/bench-strncmp.c: Likewise.
20040 * benchtests/bench-strncpy.c: Likewise.
20041 * benchtests/bench-strnlen.c: Likewise.
20042 * benchtests/bench-strpbrk.c: Likewise.
20043 * benchtests/bench-strrchr.c: Likewise.
20044 * benchtests/bench-strspn.c: Likewise.
20045 * benchtests/bench-strstr.c: Likewise.
20046
cae16d66
WN
200472013-09-04 Will Newton <will.newton@linaro.org>
20048
20049 * benchtests/Makefile: Use LDLIBS instead of LDFLAGS.
20050
ffa3cd7f
JM
200512013-09-03 Joseph Myers <joseph@codesourcery.com>
20052
20053 [BZ #15427]
20054 * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
20055 2**-30 instead of 2**-70 as threshold for returning -log(|x|).
20056 * math/libm-test.inc (lgamma_test_data): Add more tests.
20057 * sysdeps/i386/fpu/libm-test-ulps: Update.
20058 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20059
8f02859f
OB
200602013-09-03 Ondřej Bílka <neleai@seznam.cz>
20061
20062 * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: New file.
20063 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
20064 Add ifunc.
20065 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
20066 Add strcmp-sse2-unaligned
20067 * sysdeps/x86_64/multiarch/strcmp.S (strcmp): Add ifunc.
20068
18d43716
MF
200692013-09-02 Mike Frysinger <vapier@gentoo.org>
20070
20071 * Versions.def (libc): Add GLIBC_2.19.
20072
ac444012
MF
200732013-09-02 Mike Frysinger <vapier@gentoo.org>
20074
20075 * sysdeps/unix/sysv/linux/tst-fanotify.c: New test.
20076 * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-fanotify.
20077
b7835e32
JM
200782013-09-02 Joseph Myers <joseph@codesourcery.com>
20079
20080 [BZ #14155]
20081 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Use double for
20082 intermediate calculations in recurrence.
20083 (__ieee754_ynf): Likewise.
20084 * math/libm-test.inc (jn_test_data): Do not allow spurious
20085 underflow exception. Add more tests.
20086 (yn_test_data): Add more tests.
20087 * sysdeps/i386/fpu/libm-test-ulps: Update.
20088 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20089
8220f4f0
OB
200902013-09-02 Ondřej Bílka <neleai@seznam.cz>
20091
20092 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Fix typo.
20093
f24a6d08
OB
200942013-08-30 Ondřej Bílka <neleai@seznam.cz>
20095
20096 * csu/init-first.c: Fix then/than typos.
20097 * locale/programs/ld-collate.c: Likewise.
20098 * locale/programs/linereader.h: Likewise.
20099 * manual/charset.texi: Likewise.
20100 * manual/filesys.texi: Likewise.
20101 * manual/stdio.texi: Likewise.
20102 * manual/string.texi: Likewise.
20103 * stdlib/fmtmsg.c: Likewise.
20104 * sysdeps/i386/stpncpy.S: Likewise.
20105 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
20106 * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
20107 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
20108 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
20109
382466e0
OB
201102013-08-30 Ondřej Bílka <neleai@seznam.cz>
20111
20112 * elf/dl-open.c: Fix typos.
20113 * iconvdata/gbbig5.c: Likewise.
20114 * iconvdata/iso-2022-jp.c: Likewise.
20115 * iconv/gconv_int.h: Likewise.
20116 * iconv/loop.c: Likewise.
20117 * nis/rpcsvc/nis.h: Likewise.
20118 * resolv/ns_name.c: Likewise.
20119 * stdio-common/vfscanf.c: Likewise.
20120 * streams/stropts.h: Likewise.
20121 * sunrpc/rpc_thread.c: Likewise.
20122 * sysdeps/i386/strpbrk.S: Likewise.
20123 * sysdeps/ieee754/k_standard.c: Likewise.
20124 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
20125 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
20126 * sysdeps/mach/hurd/dl-sysdep.c: Likewise.
20127 * sysdeps/mach/hurd/profil.c: Likewise.
20128 * sysdeps/s390/dl-procinfo.h: Likewise.
20129 * sysdeps/unix/sysv/linux/i386/chown.c: Likewise.
20130 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
20131 * sysdeps/unix/sysv/linux/sparc/sparc32/makecontext.c: Likewise.
20132 * sysdeps/x86_64/dl-trampoline.S: Likewise.
20133 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
20134
0186c6e9
OB
201352013-08-30 Ondřej Bílka <neleai@seznam.cz>
20136
20137 * sysdeps/x86_64/multiarch/rawmemchr.S: Delete.
20138 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove rawmemchr ifunc.
20139
d4e16af1
OB
201402013-08-29 Ondřej Bílka <neleai@seznam.cz>
20141
20142 * sysdeps/unix/sysv/linux/powerpc/aix/aix-dirent.h: Remove
20143 aix specific files.
20144 * sysdeps/unix/sysv/linux/powerpc/aix/aix-errno.h: Likewise.
20145 * sysdeps/unix/sysv/linux/powerpc/aix/aix-stat.h: Likewise.
20146 * sysdeps/unix/sysv/linux/powerpc/aix/aix-termios.h: Likewise.
20147 * sysdeps/unix/sysv/linux/powerpc/aix/direntconv.c: Likewise.
20148 * sysdeps/unix/sysv/linux/powerpc/aix/errnoconv.c: Likewise.
20149 * sysdeps/unix/sysv/linux/powerpc/aix/statconv.c: Likewise.
20150 * sysdeps/unix/sysv/linux/powerpc/aix/tcgetattr.c: Likewise.
20151 * sysdeps/unix/sysv/linux/powerpc/aix/tcsetattr.c: Likewise.
20152
88335980
TS
201532013-08-29 Thomas Schwinge <thomas@codesourcery.com>
20154 Roland McGrath <roland@hack.frob.com>
20155
20156 * sysdeps/mach/hurd/errnos.awk (BEGIN): Emit ESUCCESS.
20157 * sysdeps/mach/hurd/bits/errno.h: Regenerate.
20158
ed479b02
ST
201592013-08-29 Samuel Thibault <samuel.thibault@ens-lyon.org>
20160
20161 * sysdeps/mach/hurd/i386/init-first.c (init1): Use
20162 __executable_start symbol instead of _start.
20163
f1cc4c86
TS
201642013-08-29 Thomas Schwinge <thomas@codesourcery.com>
20165
d821f07c
TS
20166 * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_HEADER)
20167 (VALID_ELF_OSABI, VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA):
20168 Move macros to...
20169 * sysdeps/gnu/ldsodefs.h: ... this new file.
20170
c54290cf
TS
20171 * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_OSABI)
20172 (VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA): Use ELFOSABI_GNU
20173 instead of ELFOSABI_LINUX.
20174
0007fc9b 20175 [BZ #15522] strtod ("nan(N)") returning a sNaN in some cases
0007fc9b
TS
20176 * stdlib/strtof_l.c (SET_MANTISSA): Rewrite.
20177 * stdlib/strtod_l.c (SET_MANTISSA): Likewise.
20178 * sysdeps/ieee754/ldbl-64-128/strtold_l.c (SET_MANTISSA):
20179 Likewise.
20180 * sysdeps/ieee754/ldbl-96/strtold_l.c (SET_MANTISSA): Likewise.
20181 * sysdeps/ieee754/ldbl-128/strtold_l.c (SET_MANTISSA): Likewise.
20182 * sysdeps/ieee754/ldbl-128ibm/strtold_l.c (SET_MANTISSA):
20183 Likewise.
20184 * sysdeps/ieee754/ldbl-128ibm/ieee754.h
20185 (ibm_extended_long_double): Add ieee_nan member.
20186 * stdlib/tst-strtod6.c (test): New function, renamed from do_test.
20187 (do_test): New function.
20188
f1cc4c86
TS
20189 * math/basic-test.c (TEST_CONVERT): New macro, renamed from
20190 TEST_TRUNC.
20191 (convert_dfsf_test, convert_tfsf_test, convert_tfdf_test): New
20192 functions, renamed from truncdfsf_test, trunctfsf_test,
20193 trunctfdf_test.
20194 (convert_sfdf_test, convert_sftf_test, convert_dftf_test): New
20195 functions.
20196 (do_test): Run all these.
20197
6f65e668
OB
201982013-08-29 Ondřej Bílka <neleai@seznam.cz>
20199
20200 * argp/argp-help.c: Fix typos.
20201 * argp/argp-parse.c: Likewise.
20202 * debug/backtracesyms.c: Likewise.
20203 * elf/elf.h: Likewise.
20204 * malloc/malloc.c: Likewise.
20205 * nis/nis_print.c: Likewise.
20206 * resolv/res_comp.c: Likewise.
20207 * stdlib/stdlib.h: Likewise.
20208 * sunrpc/clnt_tcp.c: Likewise.
20209 * sunrpc/clnt_udp.c: Likewise.
20210 * sunrpc/clnt_unix.c: Likewise.
20211 * sysdeps/unix/bsd/ptsname.c: Likewise.
20212 * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
20213 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Likewise.
99541e80
RM
20214 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S:
20215 Likewise.
20216 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S:
20217 Likewise.
20218 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
20219 Likewise.
6f65e668
OB
20220 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
20221
3a309239
SP
202222013-08-28 Siddhesh Poyarekar <siddhesh@redhat.com>
20223
20224 * nscd/aicache.c (addhstaiX): Use __glibc_unlikely.
20225 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
20226
3b813b29
MF
202272013-08-27 Mike Frysinger <vapier@gentoo.org>
20228
20229 [BZ #15897]
20230 * dlfcn/Makefile (tests): Add bug-dl-leaf.
20231 (modules-names): Add bug-dl-leaf-lib and bug-dl-leaf-lib-cb.
20232 ($(objpfx)bug-dl-leaf): New rule.
20233 ($(objpfx)bug-dl-leaf.so): Likewise.
20234 ($(objpfx)bug-dl-leaf.out): Likewise.
20235 ($(objpfx)bug-dl-leaf-lib.so): Likewise.
20236 ($(objpfx)bug-dl-leaf-lib-cb.so): Likewise.
20237 * dlfcn/bug-dl-leaf.c: New test.
20238 * dlfcn/bug-dl-leaf-lib.c: Likewise.
20239 * dlfcn/bug-dl-leaf-lib-cb.c: Likewise.
20240 * dlfcn/dlfcn.h (dlopen): Change __THROW to __THROWNL.
20241 (dlclose): Likewise.
20242 (dlmopen): Likewise.
20243
8cc3269f
RM
202442013-08-27 Roland McGrath <roland@hack.frob.com>
20245
7f9d0034
RM
20246 * include/netdb.h [!_ISOMAC]:
20247 Don't include <tls.h>.
20248 (h_errno, __libc_h_errno): Move declaration and macros out of
20249 [_LIBC_REENTRANT].
20250
fb431262
RM
20251 * include/resolv.h [_RESOLV_H_]:
20252 Don't include <tls.h>.
20253 (__resp, _res): Move declaration and macro out of [_LIBC_REENTRANT].
20254 * resolv/res_libc.c: Don't include <tls.h>.
20255 (_res): Use __attribute__ ((nocommon)) in place of
20256 __attribute__ ((section (".bss"))).
20257
bd81123a
RM
20258 * Makefile ($(common-objpfx)linkobj/libc_pic.a):
20259 If [sunrpc not in $(subdirs)], define to use libc_pic.a directly.
20260
c4e42566
RM
20261 * resolv/res_send.c (send_dg): Don't try to use ioctl unless [FIONREAD].
20262
f890a59b
RM
20263 * resolv/res_hconf.c [!NOT_IN_libc] (ifaddrs): Declare
20264 only under [SIOCGIFCONF && SIOCGIFNETMASK].
20265
20266 * resolv/res_mkquery.c: Include <sys/time.h>.
20267
5d1f0a09
RM
20268 * inet/ifreq.c: Moved to ...
20269 * sysdeps/unix/ifreq.c: ... here.
20270 * inet/ifreq.c: New file, true stub version.
20271
6fcf28b3
RM
20272 * socket/sa_len.c: New file.
20273 * socket/Makefile (aux): Add it.
20274 * sysdeps/unix/sysv/linux/Makefile
20275 [$(subdir) = socket] (sysdep_routines): Don't add sa_len here.
20276 * sysdeps/unix/sysv/linux/sa_len.c: Just #define HAVE_NET*_H
20277 and #include <socket/sa_len.c>.
20278 * sysdeps/unix/sysv/linux/s390/sa_len.c: Just #define
20279 HAVE_NETIUCV_IUCV_H and #include <sysdeps/unix/sysv/linux/sa_len.c>.
20280
e041fb8b
RM
20281 * sysdeps/unix/bsd/bsd4.4/bits/socket.h: Moved to ...
20282 * bits/socket.h: ... here.
20283
8cc3269f
RM
20284 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (enum __socket_type):
20285 Add SOCK_CLOEXEC, SOCK_NONBLOCK with values from FreeBSD.
20286 (SOCK_MAX, SOCK_TYPE_MASK): New macros.
20287
5d228a43
AS
202882013-08-27 Andreas Schwab <schwab@suse.de>
20289
45b8accc
AS
20290 [BZ #15736]
20291 * locale/categories.def (LC_CTYPE): Add "nonascii-case" element.
20292 * string/Makefile (test-strcasecmp-ENV, test-strncasecmp-ENV)
20293 (test-strcasecmp-ifunc-ENV, test-strncasecmp-ifunc-ENV): Define.
20294 * string/test-strcasecmp.c (test_main): Run tests in several
20295 locales.
20296 * string/test-strncasecmp.c (test_main): Likewise.
20297
5d228a43
AS
20298 * sysdeps/i386/i686/multiarch/strcmp-sse4.S (__strcasecmp_sse4_2)
20299 (__strncasecmp_sse4_2) [PIC]: Restore %ebx before falling through
20300 to __strcasecmp_nonascii and __strncasecmp_nonascii.
20301 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (__strcasecmp_ssse3)
20302 (__strncasecmp_ssse3) [PIC]: Likewise.
20303
59d112a4
RM
203042013-08-26 Roland McGrath <roland@hack.frob.com>
20305
53234cc3
RM
20306 * io/lxstat64.c: Just call __xstat64, for parity with stub __lxstat.
20307
59d112a4
RM
20308 * nss/nss_files/files-key.c: Include <rpc/des_crypt.h>
20309 instead of explicitly declaring xdecrypt.
20310 * nis/nss_nis/nis-publickey.c: Likewise.
20311
595aba70
SP
203122013-08-26 Siddhesh Poyarekar <siddhesh@redhat.com>
20313
20314 [BZ #15890]
20315 * nscd/aicache.c: Include res_hconf.h.
20316 (addhstaiX): Initialize res_hconf.
20317
ffabd393
AS
203182013-08-26 Andreas Schwab <schwab@suse.de>
20319
20320 * stdlib/Makefile (LDFLAGS-tst-tls-atexit): Remove.
20321 ($(objpfx)tst-tls-atexit): Add dependencies here instead.
20322
e0a69f5c
SP
203232013-08-26 Siddhesh Poyarekar <siddhesh@redhat.com>
20324
20325 * nscd/aicache.c (addhstaiX): Fix indentation.
20326
8c12f01d
MF
203272013-08-25 Mike Frysinger <vapier@gentoo.org>
20328
20329 * configure.ac: Quote $build_pt_chown test.
20330 * configure: Regenerated.
20331
8fe89494
JM
203322013-08-23 Joseph Myers <joseph@codesourcery.com>
20333
20334 [BZ #15532]
20335 * math/s_cexp.c (__cexp): Return NaN + i0 for NaN + i0 argument.
20336 * math/s_cexpf.c (__cexpf): Likewise.
20337 * math/s_cexpl.c (__cexpl): Likewise.
20338 * math/libm-test.inc (cexp_test_data): Correct expected return
20339 value for NaN + i0. Add another test.
20340
75b181d6
DM
203412013-08-22 David S. Miller <davem@davemloft.net>
20342
20343 * po/ca.po: Update Catalan translation from translation project.
936241e4 20344 * po/uk.po: Add Ukrainian translations from translation project.
75b181d6 20345
acd06bb1
JM
203462013-08-21 Joseph Myers <joseph@codesourcery.com>
20347
20348 [BZ #15797]
20349 * math/s_fdim.c (__fdim): Check for infinite arguments if result
20350 is infinite, not alongside NaN test.
20351 * math/s_fdimf.c (__fdimf): Likewise.
20352 * math/s_fdiml.c (__fdiml): Likewise.
20353 * math/libm-test.inc (fdim_test_data): Add more tests. Test that
20354 errno is unchanged.
20355
c0c3f78a
OB
203562013-08-21 Ondřej Bílka <neleai@seznam.cz>
20357
20358 * argp/argp-help.c: Fix typos.
20359 * crypt/speeds.c: Likewise.
20360 * csu/check_fds.c: Likewise.
20361 * elf/dl-load.c: Likewise.
20362 * elf/dl-open.c: Likewise.
20363 * elf/reldep3.c: Likewise.
20364 * elf/reldep.c: Likewise.
20365 * elf/sprof.c: Likewise.
20366 * iconv/iconv_charmap.c: Likewise.
20367 * iconv/skeleton.c: Likewise.
20368 * iconv/strtab.c: Likewise.
20369 * io/lockf64.c: Likewise.
20370 * libio/libioP.h: Likewise.
20371 * resolv/gai_notify.c: Likewise.
20372 * resolv/ns_name.c: Likewise.
20373 * resolv/ns_samedomain.c: Likewise.
20374 * resolv/res_send.c: Likewise.
20375 * stdlib/random.c: Likewise.
20376 * sunrpc/rpc/xdr.h: Likewise.
20377 * sysdeps/i386/fpu/fraiseexcpt.c: Likewise.
20378 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
20379 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
20380 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
20381 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
20382 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
20383 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
20384 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
20385 * sysdeps/mach/hurd/check_fds.c: Likewise.
20386 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
20387 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
20388 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
20389 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
20390 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
20391 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
20392 * sysdeps/pthread/aio_notify.c: Likewise.
20393 * sysdeps/sparc/fpu/fraiseexcpt.c: Likewise.
20394 * sysdeps/unix/sysv/linux/socketcall.h: Likewise.
20395 * sysdeps/x86_64/fpu/fraiseexcpt.c: Likewise.
20396 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
20397 * sysdeps/x86/fpu/bits/fenv.h: Likewise.
20398
46ed1038
LD
203992013-08-21 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
20400
20401 * sysdeps/i386/i686/multiarch/strcmp.S: Skip SSE4_2
20402 version if bit_Slow_SSE4_2 is set.
20403 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
20404 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
20405
d400dcac
AZ
204062013-07-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20407
20408 [BZ #15867]
20409 * sysdeps/powerpc/powerpc32/backtrace.c (__backtrace): Handle signal
20410 trampoline stack frame information.
20411 * sysdeps/powerpc/powerpc64/backtrace.c (__backtrace): Likewise.
20412 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h
20413 (__vdso_sigtramp_rt64): New variable: PPC64 signal trampoline.
20414 (__vdso_sigtramp32): New variable: PPC32 signal trampoline.
20415 (__vdso_sigtramp_rt32): New variable: PPC32 signal trampoline.
20416 * sysdeps/unix/sysv/linux/powerpc/init-first.c
20417 (_libc_vdso_platform_setup): Initialize the signal trampolines.
20418 * debug/tst-backtrace5.c (fn): Add an option set modify sigaction
20419 sa_flags value.
20420 * debug/tst-backtrace6.c: New file: check backtrace for signal frames,
20421 interrupting a syscall and set with option SA_SIGINFO.
20422
42c8fdd8
JM
204232013-08-20 Joseph Myers <joseph@codesourcery.com>
20424
c980f2f4
JM
20425 [BZ #15531]
20426 * math/s_cproj.c (__cproj): Only return an infinity if one part of
20427 argument is infinite.
20428 * math/s_cprojf.c (__cprojf): Likewise.
20429 * math/s_cprojl.c (__cprojl): Likewise.
20430 * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c (__cprojl): Likewise.
20431 * math/libm-test.inc (cproj_test_data): Add more tests.
20432
0716c4fc
JM
20433 * sysdeps/unix/sysv/linux/mmap64.c: Include <string.h>.
20434
42c8fdd8
JM
20435 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64)
20436 [MMAP2_PAGE_SHIFT == -1]: Use __getpagesize to determine page
20437 size. Use __ffs to determine corresponding shift.
20438
b31469d0
JM
204392013-08-20 Joseph Myers <joseph@codesourcery.com>
20440 Roland McGrath <roland@hack.frob.com>
20441
20442 * Makefile (INSTALL): Remove trailing blank lines from output of
20443 makeinfo.
20444
4e39af6e
AK
204452013-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
20446
20447 * sysdeps/unix/sysv/linux/s390/sys/procfs.h (struct elf_prstatus):
20448 Align 32 bit compat elf_greg to 8 bytes.
20449
f315524e
AA
204502013-08-20 Andreas Arnez <arnez@linux.vnet.ibm.com>
20451
20452 * elf/setup-vdso.h (setup_vdso): Fix missing string termination.
20453
1326ba1a
SP
204542013-08-20 Siddhesh Poyarekar <siddhesh@redhat.com>
20455
20456 * string/strcoll_l.c (coll_seq): New structure.
20457 (get_next_seq_cached): New function.
20458 (get_next_seq): New function.
20459 (do_compare): New function.
20460 (STRCOLL): Use GNU style definition. Simplify implementation
20461 by using get_next_seq, get_next_seq_cached and do_compare.
20462
91ce4085
FW
204632013-08-16 Florian Weimer <fweimer@redhat.com>
20464
20465 [BZ #14699]
20466 CVE-2013-4237
20467 * sysdeps/posix/dirstream.h (struct __dirstream): Add errcode
20468 member.
20469 * sysdeps/posix/opendir.c (__alloc_dir): Initialize errcode
20470 member.
20471 * sysdeps/posix/rewinddir.c (rewinddir): Reset errcode member.
20472 * sysdeps/posix/readdir_r.c (__READDIR_R): Enforce NAME_MAX limit.
20473 Return delayed error code. Remove GETDENTS_64BIT_ALIGNED
20474 conditional.
20475 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Do not define
20476 GETDENTS_64BIT_ALIGNED.
20477 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
20478 * manual/filesys.texi (Reading/Closing Directory): Document
20479 ENAMETOOLONG return value of readdir_r. Recommend readdir more
20480 strongly.
20481 * manual/conf.texi (Limits for Files): Add portability note to
20482 NAME_MAX, PATH_MAX.
20483 (Pathconf): Add portability note for _PC_NAME_MAX, _PC_PATH_MAX.
20484
ca0a6bc4
AS
204852013-08-13 Andreas Schwab <schwab@suse.de>
20486
20487 [BZ #15749]
20488 * sysdeps/ieee754/ldbl-96/s_cbrtl.c (__cbrtl): Use fabsl instead
20489 of fabs.
20490 * math/libm-test.inc (cbrt_test_data) [TEST_LDOUBLE &&
20491 LDBL_MAX_EXP >= 16384]: Add tests for it.
20492
6c1fd795
DM
204932013-08-12 David S. Miller <davem@davemloft.net>
20494
20495 * version.h (RELEASE): Set to "development".
20496 (VERSION): Set to "2.18.90".
20497 * NEWS: Add 2.19 section.
20498
31ad488d
DM
204992013-08-03 David S. Miller <davem@davemloft.net>
20500
20501 * po/ko.po: Update Korean translation from translation project.
20502
db24e684
DM
205032013-08-01 David S. Miller <davem@davemloft.net>
20504
20505 * manual/contrib.texi: Update entry for Siddhesh Poyarekar. Add
20506 entries for Will Newton, Andi Kleen, David Holsgrove, and Ondrej
20507 Bilka.
20508
f723285b
DM
205092013-07-30 David S. Miller <davem@davemloft.net>
20510
20511 * po/fr.po: Update French translation from translation project.
20512
3cbc52db
DM
205132013-07-28 David S. Miller <davem@davemloft.net>
20514
30bbc0cc
DM
20515 * po/cs.po: Update Czech translation from translation project.
20516
3cbc52db
DM
20517 * po/sv.po: Update Swedish translation from translation project.
20518
d492e6d0
DM
205192013-07-27 David S. Miller <davem@davemloft.net>
20520
f1a7f492
DM
20521 * po/eo.po: Update Esperanto translation from translation project.
20522
90e62a4a
DM
20523 * po/vi.po: Update Vietnamese translation from translation project.
20524
d492e6d0
DM
20525 * po/de.po: Update German translation from translation project.
20526
d4baa62d
DM
205272013-07-26 David S. Miller <davem@davemloft.net>
20528
641aa7b4
DM
20529 * po/bg.po: Update Bulgarian translation from translation project.
20530
d4baa62d
DM
20531 * po/nl.po: Update Dutch translation from translation project.
20532 * po/pl.po: Update Polish translation from translation project.
20533 * po/ru.po: Update Russian translation from translation project.
20534
61a9dcb9
DM
205352013-07-24 David S. Miller <davem@davemloft.net>
20536
20537 * po/libc.pot: Update.
20538
7b1f8b58
AZ
205392013-07-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20540
20541 * sysdeps/unix/sysv/linux/powerpc/dl-static.c: New file to support
20542 variable page size.
20543 * sysdeps/unix/sysv/linux/powerpc/ldsodefs.h: Likewise.
20544 * sysdeps/unix/sysv/linux/powerpc/Makefile: Build dl-static in elf.
20545 * sysdeps/unix/sysv/linux/powerpc/Versions: Add _dl_var_init.
20546
a8fc7a03
AK
205472013-07-22 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
20548
20549 * sysdeps/s390/fpu/libm-test-ulps: Refresh.
20550
e4608715
CD
205512013-07-21 Siddhesh Poyarekar <siddhesh@redhat.com>
20552 Andreas Schwab <schwab@suse.de>
20553 Roland McGrath <roland@hack.frob.com>
20554 Joseph Myers <joseph@codesourcery.com>
20555 Carlos O'Donell <carlos@redhat.com>
20556
20557 [BZ #15755]
20558 * config.h.in: Define HAVE_PT_CHOWN.
20559 * config.make.in (build-pt-chown): New variable.
20560 * configure.in (--enable-pt_chown): New configure option.
20561 * configure: Regenerate.
20562 * login/Makefile: Include Makeconfig. Build pt_chown only if
20563 build-pt-chown is enabled.
20564 * sysdeps/unix/grantpt.c (grantpt) [HAVE_PT_CHOWN]: Spawn
20565 pt_chown to fix pty ownership.
20566 * sysdeps/unix/sysv/linux/grantpt.c [HAVE_PT_CHOWN]: Define
20567 CLOSE_ALL_FDS.
20568 * manual/install.texi (Configuring and compiling): Mention
20569 --enable-pt_chown. Add @findex for grantpt.
20570 * INSTALL: Regenerate.
20571
da2d62df
DM
205722013-07-20 David S. Miller <davem@davemloft.net>
20573
20574 * sysdeps/sparc/fpu/libm-test-ulps: Update ULPs to handle minor
20575 difference between 32-bit and 64-bit.
20576
d7e06450
CD
205772013-07-15 Carlos O'Donell <carlos@redhat.com>
20578
20579 [BZ #15711]
20580 * sysdeps/unix/sysv/linux/Makefile ($(objpfx)bits/syscall%h):
20581 Avoid system header dependency with -ffreestanding.
20582 ($(objpfx)bits/syscall%d): Likewise.
20583
f959cfd7
DM
205842013-07-13 David S. Miller <davem@davemloft.net>
20585
20586 * math/libm-test.inc (casin_test_data): Annotate more cases of missing
20587 underflows from atanl/atan2l due to bug 15319.
20588 (casinh_test_data): Likewise.
20589
c61f8513
DM
205902013-07-07 David S. Miller <davem@davemloft.net>
20591
20592 * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
20593
72c90ed0
JA
205942013-07-05 Jeroen Albers <_jeroen_@yahoo.com>
20595
20596 * sysdeps/i386/fpu/libm-test-ulps: Update.
20597 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20598
52dfbe13
SP
205992013-07-04 Siddhesh Poyarekar <siddhesh@redhat.com>
20600
20601 * configure.in (--enable-lock-elision): Fix message text.
20602 * INSTALL: Regenerate.
20603 * configure: Regenerate.
20604
3f169543
AZ
206052013-07-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20606
20607 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
20608
521c6785
AJ
206092013-07-03 Andreas Jaeger <aj@suse.de>
20610
20611 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_LISTEN): Add
20612 define.
20613 (PTRACE_PEEKSIGINFO): Add new value from Linux 3.10.
20614 (ptrace_peeksiginfo_args): Add.
20615 (__ptrace_peeksiginfo_flags): Add.
20616 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
20617 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
20618 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
20619
d2cc15cb
AM
206202013-07-03 Allan McRae <allan@archlinux.org>
20621
20622 * sysdeps/i386/fpu/libm-test-ulps: Update.
20623
3aaeeca7
DM
206242013-07-02 David S. Miller <davem@davemloft.net>
20625
20626 * sysdeps/sparc/fpu/libm-test-ulps: Update.
20627
5314ed1a
MT
206282013-07-02 Markus Trippelsdorf <markus@trippelsdorf.de>
20629
20630 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
20631
67338156
JM
206322013-07-02 Joseph Myers <joseph@codesourcery.com>
20633
20634 * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
20635 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20636
1717da59
AK
206372013-07-02 Andi Kleen <ak@linux.intel.com>
20638
20639 * config.h.in (ENABLE_LOCK_ELISION): Add.
20640 * configure.in (--enable-lock-elision): Add option.
20641 * manual/install.texi: Document --enable lock elision.
20642 * configure: Regenerate
20643 * INSTALL: Regenerate.
20644
1c81621c
L
206452013-07-02 H.J. Lu <hongjiu.lu@intel.com>
20646
20647 * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Enable
20648 SSE4.2 strcasecmp for libc.a.
20649 * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
20650
77f01ab5
JM
206512013-07-02 Joseph Myers <joseph@codesourcery.com>
20652
20653 [BZ #13304]
20654 * soft-fp/op-common.h (_FP_FMA): New macro.
20655 * soft-fp/op-1.h (_FP_FRAC_HIGHBIT_DW_1): New macro.
20656 (_FP_MUL_MEAT_DW_1_imm): Likewise. Split out of ...
20657 (_FP_MUL_MEAT_1_imm): ... here.
20658 (_FP_MUL_MEAT_DW_1_wide): New macro. Split out of ...
20659 (_FP_MUL_MEAT_1_wide): ... here.
20660 (_FP_MUL_MEAT_DW_1_hard): Likewise. Split out of ...
20661 (_FP_MUL_MEAT_1_hard): ... here.
20662 * soft-fp/op-2.h (_FP_FRAC_HIGHBIT_DW_2): New macro.
20663 (_FP_MUL_MEAT_DW_2_wide): Likewise. Split out of ...
20664 (_FP_MUL_MEAT_2_wide): ... here.
20665 (_FP_MUL_MEAT_DW_2_wide_3mul): New macro. Split out of ...
20666 (_FP_MUL_MEAT_2_wide_3mul): ... here.
20667 (_FP_MUL_MEAT_DW_2_gmp): New macro. Split out of ...
20668 (_FP_MUL_MEAT_2_gmp): ... here.
20669 * soft-fp/op-4.h (_FP_FRAC_HIGHBIT_DW_4): New macro.
20670 (_FP_MUL_MEAT_DW_4_wide): Likewise. Split out of ...
20671 (_FP_MUL_MEAT_4_wide): ... here.
20672 (_FP_MUL_MEAT_DW_4_gmp): New macro. Split out of ...
20673 (_FP_MUL_MEAT_4_gmp): ... here.
20674 * soft-fp/single.h (_FP_FRACTBITS_DW_S): New macro.
20675 (_FP_WFRACBITS_DW_S): Likewise.
20676 (_FP_WFRACXBITS_DW_S): Likewise.
20677 (_FP_HIGHBIT_DW_S): Likewise.
20678 (FP_FMA_S): Likewise.
20679 (_FP_FRAC_HIGH_DW_S): Likewise.
20680 * soft-fp/double.h (_FP_FRACTBITS_DW_D): New macro.
20681 (_FP_WFRACBITS_DW_D): Likewise.
20682 (_FP_WFRACXBITS_DW_D): Likewise.
20683 (_FP_HIGHBIT_DW_D): Likewise.
20684 (FP_FMA_D): Likewise.
20685 (_FP_FRAC_HIGH_DW_D): Likewise.
20686 * soft-fp/extended.h (_FP_FRACTBITS_DW_E): New macro.
20687 (_FP_WFRACBITS_DW_E): Likewise.
20688 (_FP_WFRACXBITS_DW_E): Likewise.
20689 (_FP_HIGHBIT_DW_E): Likewise.
20690 (FP_FMA_E): Likewise.
20691 (_FP_FRAC_HIGH_DW_E): Likewise.
20692 * soft-fp/quad.h (_FP_FRACTBITS_DW_Q): New macro.
20693 (_FP_WFRACBITS_DW_Q): Likewise.
20694 (_FP_WFRACXBITS_DW_Q): Likewise.
20695 (_FP_HIGHBIT_DW_Q): Likewise.
20696 (FP_FMA_Q): Likewise.
20697 (_FP_FRAC_HIGH_DW_Q): Likewise.
20698 * soft-fp/fmasf4.c: New file.
20699 * soft-fp/fmadf4.c: Likewise.
20700 * soft-fp/fmatf4.c: Likewise.
20701
6308fd9a
LD
207022013-06-28 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
20703
20704 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
20705 bit_Slow_SSE4_2 and bit_Prefer_PMINUB_for_stringop for Intel
20706 Silvermont.
20707 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_SSE4_2): New
20708 macro.
20709 (index_Slow_SSE4_2): Likewise.
20710 (index_Prefer_PMINUB_for_stringop): Likewise.
20711 * sysdeps/x86_64/multiarch/strchr.S: Skip SSE4.2 version if
20712 bit_Slow_SSE4_2 is set.
20713 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
20714 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
20715
89cd9569
RA
207162013-06-28 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
20717
20718 * sysdeps/powerpc/Makefile: Add comment about generating an offset to
20719 rtld_global._dl_hwcap2.
20720 * sysdeps/powerpc/bits/hwcap.h: Added PPC_FEATURE2_* definitions for
20721 POWER8.
20722 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Extend for
20723 POWER8 feature descriptions defined in _dl_hwcap2.
20724 * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Implement AT_HWCAP2
20725 string handling for POWER8 feature bits.
20726 (_DL_HWCAP_COUNT): Increment to 64 to cover AT_HWCAP2 bits.
20727 (_DL_HWCAP_LAST): New definition for position of last AT_HWCAP bit in
20728 _dl_powerpc_cap_flags.
20729 (_DL_HWCAP2_LAST): New definition for last usable bit of AT_HWCAP2.
20730 * sysdeps/powerpc/rtld-global-offsets.sym
20731 (RTLD_GLOBAL_RO_DL_HWCAP2_OFFSET): New offset macro to locate
20732 _dl_hwcap2 in the rtld_global_ro structure.
20733
1ae8bfe0
RA
207342013-06-28 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
20735
20736 * elf/dl-support.c (_dl_hwcap2): Add a new hwcap field for more
20737 hardware capabilities in support of AT_HWCAP2.
20738 (_dl_aux_init): Read AT_HWCAP2 into GLRO(dl_hwcap2).
20739 * elf/dl-sysdep.c (_dl_sysdep_start): Read AT_HWCAP2 into
20740 GLRO(dl_hwcap2).
20741 (_dl_show_auxv): Add support for calling _dl_procinfo to display
20742 AT_HWCAP2. If a platform doesn't chose to handle displaying AT_HWCAP2
20743 explicitly the unknown a_type display mechanism is used.
20744 * misc/getauxval.c (__getauxval): Return GLRO(dl_hwcap2) on AT_HWCAP2.
20745 * sysdeps/generic/ldsodefs.h (rtld_global_ro): Add _dl_hwcap2 as a new
20746 struct member.
20747 * sysdeps/generic/dl-procinfo.h (_dl_procinfo): Add TYPE parameter
20748 to macro prototype for AT_HWCAP2 support.
20749 * sysdeps/i386/dl-procinfo.h: Likewise.
20750 * sysdeps/s390/dl-procinfo.h: Likewise.
20751 * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Add TYPE parameter to
20752 macro prototype for AT_HWCAP2 support. Make WORD unsigned long int
20753 rather than signed int. Stub in handler for TYPE == AT_HWCAP2 to
20754 return -1 for unknown a_type display fallback.
20755 * sysdeps/sparc/dl-procinfo.h: Likewise.
20756 * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Likewise.
20757 * sysdeps/unix/sysv/linux/s390/dl-procinfo.h: Likewise.
20758
8fbec010
JM
207592013-06-28 Joseph Myers <joseph@codesourcery.com>
20760
20761 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Shift by page_shift
20762 instead of MMAP2_PAGE_SHIFT in call to INLINE_SYSCALL.
20763
0432680e
PY
207642013-06-28 Pierre Ynard <linkfanel@yahoo.fr>
20765
20766 [BZ #12492]
20767 * elf/dl-load.c (_dl_map_object_from_fd): Test for failure of
20768 mprotect making __stack_prot writable.
20769
ce61a2ad
NF
207702013-06-28 Nathan Froyd <froydnj@codesourcery.com>
20771 Joseph Myers <joseph@codesourcery.com>
20772
20773 * elf/dl-profile.c (struct here_cg_arc_record): Declare 'count'
20774 as being properly aligned.
20775
f91f1c0f
MR
207762013-06-28 Maciej W. Rozycki <macro@codesourcery.com>
20777
3d0f5d0c
MR
20778 * dlfcn/modstatic5.c: New file.
20779 * dlfcn/tststatic5.c: New file.
20780 * dlfcn/Makefile (tests): Add tststatic5.
20781 (tests-static): Likewise.
20782 (modules-names): Add modstatic5.
20783 (tststatic5-ENV): New variable.
20784 ($(objpfx)tststatic5, $(objpfx)tststatic5.out): New dependencies.
20785
f91f1c0f
MR
20786 [BZ #15022]
20787 * elf/dl-support.c (_dl_main_map): New variable.
20788 (_dl_ns): Use it to initialize [LM_ID_BASE] element.
20789 (_dl_nns, _dl_load_adds): Set to 1.
20790 (_dl_initial_searchlist): Refer to _dl_main_map.
20791 (_dl_non_dynamic_init): Initialize _dl_main_map.l_origin.
20792 * elf/dl-load.c (_dl_dst_substitute) [!SHARED]: Remove fallback
20793 call to _dl_get_origin.
20794 * elf/dl-open.c (dl_open_worker): Remove !SHARED special casing
20795 around call_map.
20796 (_dl_open) [!SHARED]: Remove code to initialize GL(dl_nns).
20797 * dlfcn/modstatic3.c: New file.
20798 * dlfcn/tststatic3.c: New file.
20799 * dlfcn/tststatic4.c: New file.
20800 * dlfcn/Makefile (tests): Add tststatic3 and tststatic4.
20801 (tests-static): Likewise.
20802 (modules-names): Add modstatic3.
20803 (tststatic3-ENV, tststatic4-ENV): New variables.
20804 ($(objpfx)tststatic3, $(objpfx)tststatic3.out): New dependencies.
20805 ($(objpfx)tststatic4, $(objpfx)tststatic4.out): Likewise.
20806
cbe7d24b
JM
208072013-06-26 Joseph Myers <joseph@codesourcery.com>
20808
20809 * configure.in (CC): Require GCC version 4.4 or later.
20810 * configure: Regenerated.
20811 * manual/install.texi (Tools for Compilation): Update GCC version
20812 requirement.
20813 * INSTALL: Regenerated.
20814
11b8a0e1
LD
208152013-06-26 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
20816
20817 [BZ #15674]
bb5bb87c
L
20818 * string/test-memcmp.c (check2): New.
20819 (main): Call check2.
20820
11b8a0e1
LD
20821 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Fix buffers overrun.
20822
b0037103
MR
208232013-06-26 Maciej W. Rozycki <macro@codesourcery.com>
20824
20825 [BZ #15022]
20826 * elf/dl-open.c (_dl_open) [!SHARED]: Move call to DL_STATIC_INIT
20827 over to...
20828 (dl_open_worker) [!SHARED]: ... here.
20829
c18c701d
RA
208302013-06-26 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
20831
20832 * elf/elf.h (AT_HWCAP2): Add a new a_type entry.
20833
1d17fa5f
RH
208342013-06-25 Richard Henderson <rth@redhat.com>
20835
20836 * locale/programs/locarchive.c: Include <libc-internal.h>
20837
8fcb833a
JM
208382013-06-25 Joseph Myers <joseph@codesourcery.com>
20839
20840 * manual/texinfo.tex: Update to version 2013-06-21.17, with
20841 trailing whitespace removed.
20842
17db6e8d
MF
208432013-06-24 Mike Frysinger <vapier@gentoo.org>
20844
20845 [BZ #10283]
17db6e8d
MF
20846 * locale/locarchive.h (struct locarhandle): Add mmap_base and mmap_len.
20847 * locale/programs/locarchive.c: Include libc-mmap.h.
20848 (prepare_address_space): Take two new outputs (the mmap base and len).
20849 Align p to MAP_FIXED_ALIGNMENT. Set mmap base and len to the right
20850 values.
20851 (create_archive): Declare new mmap base and len values for
20852 prepare_address_space, and store the result in ah.
20853 (file_data_available_p): Replace pagesz with MAP_FIXED_ALIGNMENT.
20854 (enlarge_archive): If ah->mmap_base is not NULL, use that and
20855 ah->mmap_len to unmap rather than ah->addr and ah->reserved.
20856 Declare new mmap base and len values for
20857 prepare_address_space, and store the result in new_ah.
20858 (open_archive): Declare new mmap base and len values for
20859 prepare_address_space, and store the result in ah.
20860 (close_archive): If ah->mmap_base is not NULL, use that and
20861 ah->mmap_len to unmap rather than ah->addr and ah->reserved.
20862 * sysdeps/generic/libc-mmap.h: New file.
20863
d605071e
MF
208642013-06-24 Mike Frysinger <vapier@gentoo.org>
20865
20866 * include/libc-internal.h (ALIGN_DOWN): New helper macro.
20867 (ALIGN_UP): Likewise.
20868 (PTR_ALIGN_DOWN): Likewise.
20869 (PTR_ALIGN_UP): Likewise.
20870
2f063a6e
RA
208712013-06-24 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
20872
20873 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add "power8"
20874 entry mapped to PPC_PLATFORM_POWER8.
20875 * sysdeps/powerpc/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increment for
20876 POWER8.
20877 (PPC_PLATFORM_POWER8): Add new platform bit for POWER8 processor.
20878 (_dl_string_platform): Add case for exporting platform position for
20879 POWER8.
20880 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Chain
20881 search path to sysdeps/powerpc/powerpc32/power8 directory.
20882 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Chain
20883 search path to sysdeps/powerpc/powerpc64/power8 directory.
20884 * sysdeps/powerpc/powerpc32/power8/Implies: Chain search path to
20885 power7 directories.
20886 * sysdeps/powerpc/powerpc64/power8/Implies: Chain search path to
20887 power7 directories.
20888
a31ee4b3
SP
208892013-06-24 Siddhesh Poyarekar <siddhesh@redhat.com>
20890
a74ca98f
SP
20891 * INSTALL: Regenerate.
20892
a31ee4b3
SP
20893 * nscd/connections.c (nscd_init): Fix comment.
20894
695c378f
JM
208952013-06-22 Joseph Myers <joseph@codesourcery.com>
20896
d8412221
JM
20897 * sysdeps/unix/sysv/linux/libc_fatal.c: Include <string.h>.
20898
695c378f
JM
20899 [BZ #15667]
20900 * soft-fp/op-4.h (__FP_FRAC_ADD_3): Rename variables _c1 and _c2
20901 to __FP_FRAC_ADD_3_c1 and __FP_FRAC_ADD_3_c2.
20902
d1d54715
MR
209032013-06-21 Maciej W. Rozycki <macro@codesourcery.com>
20904
20905 * elf/dl-dst.h (DL_DST_REQUIRED): Remove call to
20906 DL_DST_REQ_STATIC.
20907 (DL_DST_REQ_STATIC): Remove macro.
20908
8fdda7af
JM
209092013-06-21 Joseph Myers <joseph@codesourcery.com>
20910
20911 [BZ #7006]
20912 * soft-fp/op-common.h (_FP_FROM_INT): Do not call _FP_FRAC_SLL
20913 with a shift of 0 bits.
20914
f3bc5e5a
MR
209152013-06-21 Maciej W. Rozycki <macro@codesourcery.com>
20916
20917 * dlfcn/Makefile (tststatic2-ENV): Redefine in terms of
20918 $(tststatic-ENV).
20919
be09e8c9
KK
209202013-06-21 Kaz Kojima <kkojima@rr.iij4u.or.jp>
20921
20922 [BZ #15655]
20923 * sysdeps/sh/sh4/fpu/fgetexcptflg.c: New file.
20924
85c2e611
AZ
209252013-06-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20926
20927 * config.h.in (HAVE_CC_INHIBIT_LOOP_TO_LIBCALL): New define.
20928 * configure.in (libc_cv_cc_loop_to_function): Check if compiler
20929 accepts -fno-tree-loop-distribute-patterns.
20930 * include/libc-symbols.h (inhibit_loop_to_libcall): New macro.
20931 * string/memmove.c (MEMMOVE): Disable loop transformation to avoid
20932 recursive call.
20933 * string/memset.c (memset): Likewise.
20934 * string/test-memmove.c (simple_memmove): Disable loop transformation
20935 to library calls.
20936 * string/test-memset.c (simple_memset): Likewise.
20937 * benchtests/bench-memmove.c (simple_memmove): Likewise.
20938 * benchtests/bench-memset.c (simple_memset): Likewise.
20939 * configure: Regenerated.
20940
c91e0825
JM
209412013-06-20 Joseph Myers <joseph@codesourcery.com>
20942
b8c792af
JM
20943 * math/test-misc.c (main): Ignore fesetround failure when failures
20944 of subsequent rounding tests would be ignored.
20945
c91e0825
JM
20946 [BZ #15654]
20947 * math/fedisblxcpt.c (fedisableexcept): Return 0.
20948 * math/feenablxcpt.c (feenableexcept): Return 0 for argument 0.
20949 * math/fegetenv.c (__fegetenv): Return 0.
20950 * math/fegetexcept.c (fegetexcept): Return 0.
20951 * math/fegetround.c (fegetround) [FE_TONEAREST]: Return
20952 FE_TONEAREST.
20953 * math/feholdexcpt.c (feholdexcept): Return 0.
20954 * math/fesetenv.c (__fesetenv): Return 0.
20955 * math/fesetround.c (fesetround) [FE_TONEAREST]: Return 0 for
20956 argument FE_TONEAREST.
20957 * math/feupdateenv.c (__feupdateenv): Return 0.
20958 * math/fgetexcptflg.c (__fegetexceptflag): Return 0.
20959
bfcacbde
RM
209602013-06-18 Roland McGrath <roland@hack.frob.com>
20961
20962 * elf/rtld-Rules (rtld-compile-command.S): New variable.
20963 (rtld-compile-command.s, rtld-compile-command.c): New variables.
20964 ($(objpfx)rtld-%.os rules): Use them.
20965
e55a9b25
AZ
209662013-06-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20967
20968 * nptl/sysdeps/powerpc/tls.h (tcbhead_t): Add Event-Based Branch
20969 fields.
20970
346d65b3
RM
209712013-06-17 Roland McGrath <roland@hack.frob.com>
20972
12086fb4
RM
20973 * scripts/sysd-rules.awk: Sort sysd_rules_patterns by descending
20974 length of target pattern, then descending length of dependency pattern.
20975 * configure.in (AWK): Require gawk 3.1.2 or newer.
20976 * manual/install.texi (Tools for Compilation): Say that we do.
20977 * configure: Regenerated.
20978
346d65b3
RM
20979 * Makerules [inhibit-sysdep-asm] (check-inhibit-asm): Variable removed.
20980 ($(common-objpfx)sysd-rules): Replace shell logic with running ...
20981 * scripts/sysd-rules.awk: ... this new script.
20982 * sysdeps/mach/hurd/Makefile (inhibit-sysdep-asm): Use a regexp rather
20983 than a glob-style pattern.
20984
1a846317
JM
209852013-06-17 Joseph Myers <joseph@codesourcery.com>
20986
20987 * math/test-misc.c (main): Do not treat incorrectly rounded
20988 conversions as failure unless ROUNDING_TESTS passes.
20989
8fc75e6f
JM
209902013-06-15 Joseph Myers <joseph@codesourcery.com>
20991
3711a167
JM
20992 [BZ #15631]
20993 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Save and
20994 restore exception state around main square root computation, then
20995 check for inexactness explicitly.
20996
8fc75e6f
JM
20997 * math/libm-test.inc (fma_test_data): Add another test.
20998
61dd6208
SP
209992013-06-15 Siddhesh Poyarekar <siddhesh@redhat.com>
21000
adf23d2c
SP
21001 * manual/threads.texi (Non-POSIX Extensions): New document
21002 node. Document pthread_getattr_default_np and
21003 pthread_setattr_default_np.
21004
61dd6208
SP
21005 * Versions.def (libpthread): Add GLIBC_2.18.
21006 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Update.
21007 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
21008 Likewise.
21009 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
21010 Likewise.
21011 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
21012 Likewise.
21013 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
21014 Likewise.
21015 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist:
21016 Likewise.
21017 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
21018 Likewise.
21019 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
21020 Likewise.
21021 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
21022 Likewise.
21023 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
21024 Likewise.
21025
d086fc7b
LD
210262013-06-14 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
21027
21028 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
21029 Set bit_Fast_Unaligned_Load for Intel Silvermont architecture.
21030
747ef469
SP
210312013-06-14 Siddhesh Poyarekar <siddhesh@redhat.com>
21032 H.J. Lu <hjl.tools@gmail.com>
21033
21034 [BZ #15627]
21035 * sysdeps/x86_64/rtld-memset.c: Remove file.
21036 * sysdeps/x86_64/rtld-memset.S: New file.
21037
1b2feed2
JM
210382013-06-14 Joseph Myers <joseph@codesourcery.com>
21039
21040 * stdlib/tst-strtod-round.c: Include <math-tests.h>.
21041 (test_in_one_mode): Take arguments for whether the rounding mode
21042 is supported for each floating-point type.
21043 (do_test): Pass new arguments to test_in_one_mode using
21044 ROUNDING_TESTS.
21045
a58ad3f8
RM
210462013-06-13 Roland McGrath <roland@hack.frob.com>
21047
21048 * posix/tst-waitid.c (do_test): Distinguish different instances of
21049 stopped/continued in CHECK_SIGCHLD uses. Insert a delay between
21050 sending SIGSTOP and calling waitpid to ensure SIGCHLD gets delivered
21051 before entering the kernel for waitpid.
21052
c204ab28
SP
210532013-06-13 Siddhesh Poyarekar <siddhesh@redhat.com>
21054
21055 * NEWS: Fix note on clock function precision. Text by Roland
21056 McGrath.
21057
f4a29fba
RM
210582013-06-13 Roland McGrath <roland@hack.frob.com>
21059
21060 * elf/Makefile ($(objpfx)ld.so): Link into a temporary file and move
21061 it into place only when and if the sanity check passes.
21062
1f24b9ad
JM
210632013-06-13 Joseph Myers <joseph@codesourcery.com>
21064
21065 * stdlib/gen-tst-strtod-round.c (round_str): Always generate
21066 output for whether conversion result is exact. Take argument
21067 indicating whether type is IBM long double.
21068 (round_for_all): Change need_exact field to ibm_ld.
21069 * stdlib/tst-strtod-round.c (struct exactness): New type.
21070 (struct test): Change bool ld_ok field to struct exactness exact.
21071 (TEST): Update all definitions for change to field.
21072 (tests): Regenerate array contents.
21073 (test_in_one_mode): Take pointer to new field instead of old ld_ok
21074 field value. Check for IBM long double here.
21075 (do_test): Update calls to test_in_one_mode.
21076
58206c68
SP
210772013-06-13 Siddhesh Poyarekar <siddhesh@redhat.com>
21078
21079 [BZ #12515]
21080 * sysdeps/unix/sysv/linux/clock.c (clock): Use result from
21081 CLOCK_PROCESS_CPUTIME_ID clock instead of __times.
21082
2d6f4c5b 210832013-06-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6a97b62a
AZ
21084
21085 [BZ #15605]
21086 * sysdeps/generic/symbol-hacks.h: Add workaround for memset/memmove calls
21087 generated by the compiler on loop optimizations.
21088 * sysdeps/wordsize-32/symbol-hacks.h: Include next symbol-hacks.h for
21089 general definitions.
21090
94f2c076
JM
210912013-06-12 Joseph Myers <joseph@codesourcery.com>
21092
21093 * math/bug-nextafter.c: Include <math-tests.h>.
21094 (main): Only test for exceptions if EXCEPTION_TESTS is true for
21095 the relevant type.
21096 * math/bug-nexttoward.c: Include <math-tests.h>.
21097 (main): Only test for exceptions if EXCEPTION_TESTS is true for
21098 the relevant type.
21099 * math/test-misc.c: Include <math-tests.h>.
21100 (main): Only test for exceptions if EXCEPTION_TESTS is true for
21101 the relevant type.
21102
e0e50a0a
AJ
211032013-06-12 Andreas Jaeger <aj@suse.de>
21104
21105 * po/ia.po: Update Interlingua translation from translation
21106 project.
21107
25061094
SP
211082013-06-12 Siddhesh Poyarekar <siddhesh@redhat.com>
21109
21110 * include/fenv.h: Include stdbool.h.
21111 (struct rm_ctx): New structure.
21112 * sysdeps/generic/math_private.h (SET_RESTORE_ROUND_GENERIC):
21113 Define macro.
21114 (SET_RESTORE_ROUND): Define using SET_RESTORE_ROUND_GENERIC.
21115 (SET_RESTORE_ROUNDF): Likewise.
21116 (SET_RESTORE_ROUNDL): Likewise.
21117 (SET_RESTORE_ROUND_NOEX): Likewise.
21118 (SET_RESTORE_ROUND_NOEXF): Likewise.
21119 (SET_RESTORE_ROUND_NOEXL): Likewise.
21120 (SET_RESTORE_ROUND_53BIT): Likewise.
21121 [HAVE_RM_CTX] (libc_feresetround_noex_ctx): Define macro.
21122 (libc_feresetround_noexf_ctx): Likewise.
21123 (libc_feresetround_noexl_ctx): Likewise.
21124 (libc_feholdsetround_53bit_ctx): Likewise.
21125 (libc_feresetround_53bit_ctx): Likewise.
21126 * sysdeps/i386/fpu/fenv_private.h (HAVE_RM_CTX): Define macro.
21127 (libc_feholdexcept_setround_sse_ctx): New function.
21128 (libc_fesetenv_sse_ctx): Likewise.
21129 (libc_feupdateenv_sse_ctx): Likewise.
21130 (libc_feholdexcept_setround_387_prec_ctx): Likewise.
21131 (libc_feholdexcept_setround_387_ctx): Likewise.
21132 (libc_feholdexcept_setround_387_53bit_ctx): Likewise.
21133 (libc_feholdsetround_387_prec_ctx): Likewise.
21134 (libc_feholdsetround_387_ctx): Likewise.
21135 (libc_feholdsetround_387_53bit_ctx): Likewise.
21136 (libc_feholdsetround_sse_ctx): Likewise.
21137 (libc_feresetround_sse_ctx): Likewise.
21138 (libc_feresetround_387_ctx): Likewise.
21139 (libc_feupdateenv_387_ctx): Likewise.
21140 (libc_feholdexcept_setroundf_ctx): Define macro.
21141 (libc_fesetenvf_ctx): Likewise.
21142 (libc_feupdateenvf_ctx): Likewise.
21143 (libc_feholdsetroundf_ctx): Likewise.
21144 (libc_feresetroundf_ctx): Likewise.
21145 (libc_feholdexcept_setround_ctx): Likewise.
21146 (libc_fesetenv_ctx): Likewise.
21147 (libc_feupdateenv_ctx): Likewise.
21148 (libc_feholdsetround_ctx): Likewise.
21149 (libc_feresetround_ctx): Likewise.
21150 (libc_feholdexcept_setroundl_ctx): Likewise.
21151 (libc_feupdateenvl_ctx): Likewise.
21152 (libc_feholdsetroundl_ctx): Likewise.
21153 (libc_feresetroundl_ctx): Likewise.
21154 [!__SSE2_MATH__] (libc_feholdsetround_53bit_ctx): Likewise.
21155 (libc_feresetround_53bit_ctx): Likewise.
21156
59b30555
SP
211572013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
21158
21159 * locale/iso-639.def: Convert to UTF-8.
21160
f1d73d30
JM
211612013-06-11 Joseph Myers <joseph@codesourcery.com>
21162
21163 * sysdeps/generic/math-tests.h (EXCEPTION_TESTS_float): New macro.
21164 (EXCEPTION_TESTS_double): Likewise.
21165 (EXCEPTION_TESTS_long_double): Likewise.
21166 (EXCEPTION_TESTS): Likewise.
21167 * math/libm-test.inc (test_exceptions): Only test exceptions if
21168 EXCEPTION_TESTS (FLOAT).
21169
94aca5e7
SP
211702013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
21171
21172 * benchtests/Makefile (string-bench): Add strcpy_chk and
21173 stpcpy_chk.
21174 * benchtests/bench-stpcpy_chk-ifunc.c: New file.
21175 * benchtests/bench-stpcpy_chk.c: New file.
21176 * benchtests/bench-strcpy_chk-ifunc.c: New file.
21177 * benchtests/bench-strcpy_chk.c: New file.
21178 * debug/test-strcpy_chk.c (do_one_test): Remove HP_TIMING
21179 code.
21180 (do_test): Likewise.
21181
fac0c5f2
RA
211822013-06-11 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
21183
21184 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add ppc405,
21185 ppc440, ppc464, and ppc476, merging from ports/ dl-procinfo.c.
21186 * sysdeps/powerpc/dl-procinfo.h: Fix whitespace by correcting spaces
21187 with tabs where appropriate.
21188 [PPC_PLATFORM_PPC405]: Define new platform merging from ports/
21189 dl-procinfo.h.
21190 [PPC_PLATFORM_PPC440]: Likewise.
21191 [PPC_PLATFORM_PPC464]: Likewise.
21192 [PPC_PLATFORM_PPC476]: Likewise.
21193 (_dl_string_platform): Add support for detecting ppc405, ppc440,
21194 ppc464, and ppc476 platform strings merging from ports/
21195 dl-procinfo.h.
21196
f22bc486
AS
211972013-06-11 Andreas Schwab <schwab@suse.de>
21198
21199 [BZ #14991]
21200 * iconvdata/big5hkscs.c (big5hkscs_to_ucs, from_ucs4)
21201 (from_ucs4_idx): Regenerate.
21202 (MIN_NEEDED_FROM, MAX_NEEDED_FROM, MIN_NEEDED_TO): Remove macros.
21203 (FROM_LOOP_MIN_NEEDED_FROM, FROM_LOOP_MAX_NEEDED_FROM)
21204 (FROM_LOOP_MIN_NEEDED_TO, FROM_LOOP_MAX_NEEDED_TO)
21205 (TO_LOOP_MIN_NEEDED_FROM, TO_LOOP_MAX_NEEDED_FROM)
21206 (TO_LOOP_MIN_NEEDED_TO, TO_LOOP_MAX_NEEDED_TO, PREPARE_LOOP)
21207 (EXTRA_LOOP_ARGS, SAVE_RESET_STATE, EMIT_SHIFT_TO_INIT)
21208 (EXTRA_LOOP_DECLS, MAX_NEEDED_OUTPUT): New macros.
21209 (MIN_NEEDED_INPUT, MAX_NEEDED_INPUT, MIN_NEEDED_OUTPUT): Define
21210 from FROM_LOOP and TO_LOOP specific macros.
21211 (BODY): Handle combining characters.
21212 * iconvdata/BIG5HKSCS.irreversible: Update.
21213 * iconvdata/BIG5HKSCS.precomposed: New file.
21214 * iconvdata/testdata/BIG5HKSCS: Regenerate to cover all assigned
21215 characters.
21216 * iconvdata/testdata/BIG5HKSCS..UTF8: Update.
21217
c1f75dc3
SP
212182013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
21219
4eacded2
SP
21220 * include/sys/time.h: Fix indentation and add copyright header.
21221
fec799f8
SP
21222 * string/test-memccpy.c (do_one_test): Remove HP_TIMING code.
21223 (do_test): Likewise.
21224 * string/test-memchr.c (do_one_test): Likewise.
21225 (do_test): Likewise.
21226 * string/test-memcmp.c (do_one_test): Likewise.
21227 (do_test): Likewise.
21228 * string/test-memcpy.c (do_one_test): Likewise.
21229 (do_test): Likewise.
21230 * string/test-memmem.c (do_one_test): Likewise.
21231 (do_test): Likewise.
21232 (do_random_tests): Likewise.
21233 * string/test-memmove.c (do_one_test): Likewise.
21234 (do_test): Likewise.
21235 * string/test-memset.c (do_one_test): Likewise.
21236 (do_test): Likewise.
21237 * string/test-rawmemchr.c (do_one_test): Likewise.
21238 (do_test): Likewise.
21239 * string/test-strcasecmp.c (do_one_test): Likewise.
21240 (do_test): Likewise.
21241 * string/test-strcasestr.c (do_one_test): Likewise.
21242 (do_test): Likewise.
21243 * string/test-strcat.c (do_one_test): Likewise.
21244 (do_test): Likewise.
21245 * string/test-strchr.c (do_one_test): Likewise.
21246 (do_test): Likewise.
21247 * string/test-strcmp.c (do_one_test): Likewise.
21248 (do_test): Likewise.
21249 * string/test-strcpy.c (do_one_test): Likewise.
21250 (do_test): Likewise.
21251 * string/test-string.h: Likewise.
21252 (test_init): Likewise.
21253 * string/test-strlen.c (do_one_test): Likewise.
21254 (do_test): Likewise.
21255 * string/test-strncasecmp.c (do_one_test): Likewise.
21256 (do_test): Likewise.
21257 * string/test-strncat.c (do_one_test): Likewise.
21258 (do_test): Likewise.
21259 * string/test-strncmp.c (do_one_test): Likewise.
21260 (do_test_limit): Likewise.
21261 (do_test): Likewise.
21262 * string/test-strncpy.c (do_one_test): Likewise.
21263 (do_test): Likewise.
21264 * string/test-strnlen.c (do_one_test): Likewise.
21265 (do_test): Likewise.
21266 * string/test-strpbrk.c (do_one_test): Likewise.
21267 (do_test): Likewise.
21268 * string/test-strrchr.c (do_one_test): Likewise.
21269 (do_test): Likewise.
21270 * string/test-strspn.c (do_one_test): Likewise.
21271 (do_test): Likewise.
21272 * string/test-strstr.c (do_one_test): Likewise.
21273 (do_test): Likewise.
21274
97020474
SP
21275 * benchtests/Makefile (string-bench): Add string benchmarks.
21276 * benchtests/bench-bcopy-ifunc.c: New file.
21277 * benchtests/bench-bcopy.c: New file.
21278 * benchtests/bench-bzero-ifunc.c: New file.
21279 * benchtests/bench-bzero.c: New file.
21280 * benchtests/bench-memccpy-ifunc.c: New file.
21281 * benchtests/bench-memccpy.c: New file.
21282 * benchtests/bench-memchr-ifunc.c: New file.
21283 * benchtests/bench-memchr.c: New file.
21284 * benchtests/bench-memcmp-ifunc.c: New file.
21285 * benchtests/bench-memcmp.c: New file.
21286 * benchtests/bench-memmem-ifunc.c: New file.
21287 * benchtests/bench-memmem.c: New file.
21288 * benchtests/bench-memmove-ifunc.c: New file.
21289 * benchtests/bench-memmove.c: New file.
21290 * benchtests/bench-mempcpy-ifunc.c: New file.
21291 * benchtests/bench-mempcpy.c: New file.
21292 * benchtests/bench-memset-ifunc.c: New file.
21293 * benchtests/bench-memset.c: New file.
21294 * benchtests/bench-rawmemchr-ifunc.c: New file.
21295 * benchtests/bench-rawmemchr.c: New file.
21296 * benchtests/bench-stpcpy-ifunc.c: New file.
21297 * benchtests/bench-stpcpy.c: New file.
21298 * benchtests/bench-stpncpy-ifunc.c: New file.
21299 * benchtests/bench-stpncpy.c: New file.
21300 * benchtests/bench-strcasecmp-ifunc.c: New file.
21301 * benchtests/bench-strcasecmp.c: New file.
21302 * benchtests/bench-strcasestr-ifunc.c: New file.
21303 * benchtests/bench-strcasestr.c: New file.
21304 * benchtests/bench-strcat-ifunc.c: New file.
21305 * benchtests/bench-strcat.c: New file.
21306 * benchtests/bench-strchr-ifunc.c: New file.
21307 * benchtests/bench-strchr.c: New file.
21308 * benchtests/bench-strchrnul-ifunc.c: New file.
21309 * benchtests/bench-strchrnul.c: New file.
21310 * benchtests/bench-strcmp-ifunc.c: New file.
21311 * benchtests/bench-strcmp.c: New file.
21312 * benchtests/bench-strcpy-ifunc.c: New file.
21313 * benchtests/bench-strcpy.c: New file.
21314 * benchtests/bench-strcspn-ifunc.c: New file.
21315 * benchtests/bench-strcspn.c: New file.
21316 * benchtests/bench-strlen-ifunc.c: New file.
21317 * benchtests/bench-strlen.c: New file.
21318 * benchtests/bench-strncasecmp-ifunc.c: New file.
21319 * benchtests/bench-strncasecmp.c: New file.
21320 * benchtests/bench-strncat-ifunc.c: New file.
21321 * benchtests/bench-strncat.c: New file.
21322 * benchtests/bench-strncmp-ifunc.c: New file.
21323 * benchtests/bench-strncmp.c: New file.
21324 * benchtests/bench-strncpy-ifunc.c: New file.
21325 * benchtests/bench-strncpy.c: New file.
21326 * benchtests/bench-strnlen-ifunc.c: New file.
21327 * benchtests/bench-strnlen.c: New file.
21328 * benchtests/bench-strpbrk-ifunc.c: New file.
21329 * benchtests/bench-strpbrk.c: New file.
21330 * benchtests/bench-strrchr-ifunc.c: New file.
21331 * benchtests/bench-strrchr.c: New file.
21332 * benchtests/bench-strspn-ifunc.c: New file.
21333 * benchtests/bench-strspn.c: New file.
21334 * benchtests/bench-strstr-ifunc.c: New file.
21335 * benchtests/bench-strstr.c: New file.
21336
c1f75dc3
SP
21337 * benchtests/Makefile: Disable parallel execution of targets.
21338 (string-bench): Add memcpy.
21339 (benchset): New variable to store a list of benchmark sets.
21340 (bench-func): Renamed from bench.
21341 (bench-set): New target.
21342 (bench): Depend on bench-func and bench-set.
21343 * benchtests/README: Add section on benchmark sets.
21344 * benchtests/bench-memcpy-ifunc.c: New file.
21345 * benchtests/bench-memcpy.c: New file.
21346 * benchtests/bench-string.h: New file.
21347
50fd745b
AS
213482013-06-11 Andreas Schwab <schwab@suse.de>
21349
21350 [BZ #15577]
21351 * nscd/connections.c (nscd_run_worker): Always zero-terminate key.
21352 * nscd/netgroupcache.c (addgetnetgrentX): Properly handle absent
21353 values in the triple.
21354 * nscd/nscd_netgroup.c (__nscd_setnetgrent): Include zero
21355 terminator in the group key.
21356
3ee7e9fe
AJ
213572013-06-11 Andreas Jaeger <aj@suse.de>
21358
21359 * po/zh_TW.po: Update Chinese (traditional) translation from
21360 translation project.
21361
89fb6835
SP
213622013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
21363
21364 * include/time.h (__clock_gettime): Add libc_hidden_proto.
21365 * rt/clock_getcpuclockid.c (clock_getcpuclockid): Rename to
21366 __clock_getcpuclockid. Add weak_alias and libc_hidden_def.
21367 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
21368 (clock_getcpuclockid): Likewise.
21369 * rt/clock_getres.c (clock_getres): Rename to __clock_getres.
21370 Add weak_alias and libc_hidden_def.
21371 * sysdeps/posix/clock_getres.c (clock_getres): Likewise.
21372 * rt/clock_gettime.c (clock_gettime): Rename to
21373 __clock_gettime. Add weak_alias and libc_hidden_def.
21374 * sysdeps/unix/clock_gettime.c (clock_gettime): Likewise.
21375 * rt/clock_nanosleep.c (clock_nanosleep): Rename to
21376 __clock_nanosleep. Add weak_alias and libc_hidden_def.
21377 * sysdeps/unix/clock_nanosleep.c (clock_nanosleep): Likewise.
21378 * sysdeps/unix/sysv/linux/clock_nanosleep.c (clock_nanosleep):
21379 Likewise.
21380 * rt/clock_settime.c (clock_settime): Rename to
21381 __clock_settime. Add weak_alias and libc_hidden_def.
21382 * sysdeps/unix/clock_settime.c (clock_settime): Likewise.
21383
0efa6f8b
JM
213842013-06-10 Joseph Myers <joseph@codesourcery.com>
21385
b8c61b4b
JM
21386 * mach/err_boot.sub: Remove trailing whitespace.
21387 * mach/err_ipc.sub: Likewise.
21388 * mach/err_mach.sub: Likewise.
21389
0efa6f8b
JM
21390 * sysdeps/generic/math-tests.h (ROUNDING_TESTS_float): New macro.
21391 (ROUNDING_TESTS_double): Likewise.
21392 (ROUNDING_TESTS_long_double): Likewise.
21393 (ROUNDING_TESTS): Likewise.
21394 * math/libm-test.inc: Include <math-tests.h>.
21395 (IF_ROUND_INIT_FE_DOWNWARD): Use ROUNDING_TESTS.
21396 (IF_ROUND_INIT_FE_TONEAREST): Likewise.
21397 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
21398 (IF_ROUND_INIT_FE_UPWARD): Likewise.
21399
50b818bf
SP
214002013-06-10 Siddhesh Poyarekar <siddhesh@redhat.com>
21401
21402 * benchtests/Makefile (CPPFLAGS-nonlib): Append values instead
21403 of assigning.
21404
60d2f8f3
JM
214052013-06-08 Joseph Myers <joseph@codesourcery.com>
21406
4902d2c3
JM
21407 * sysdeps/gnu/errlist.awk: Do not generate space at end of
21408 otherwise empty TRANS lines.
21409 * sysdeps/gnu/errlist.c: Regenerated.
21410
60d2f8f3
JM
21411 * catgets/gencat.c (error_print): Use (void) in function
21412 definition.
21413 * crypt/crypt_util.c (__init_des): Likewise.
21414 * crypt/speeds.c (Stop): Likewise.
21415 (main): Likewise.
21416 * hurd/hurdmalloc.c (print_malloc_free_list): Likewise.
21417 * inet/ruserpass.c (token): Likewise.
21418 * intl/finddomain.c (_nl_finddomain_subfreeres): Likewise.
21419 * intl/localealias.c (extend_alias_table): Likewise.
21420 * intl/plural-exp.c (init_germanic_plural): Likewise.
21421 * libio/fcloseall.c (__fcloseall): Likewise.
21422 * libio/genops.c (_IO_flush_all): Likewise.
21423 (_IO_flush_all_linebuffered): Likewise.
21424 (_IO_cleanup): Likewise.
21425 (_IO_iter_begin): Likewise.
21426 (_IO_iter_end): Likewise.
21427 (_IO_list_lock): Likewise.
21428 (_IO_list_unlock): Likewise.
21429 (_IO_list_resetlock): Likewise.
21430 * libio/getchar.c (getchar): Likewise.
21431 * libio/getchar_u.c (getchar_unlocked): Likewise.
21432 * libio/getwchar.c (getwchar): Likewise.
21433 * libio/getwchar_u.c (getwchar_unlocked): Likewise.
21434 * libio/oldstdfiles.c (_IO_check_libio): Likewise.
21435 * login/getpt.c (__getpt): Likewise.
21436 * login/tst-utmp.c (main): Likewise.
21437 * malloc/hooks.c (__malloc_check_init): Likewise.
21438 * malloc/malloc.c (__malloc_stats): Likewise.
21439 * malloc/mtrace.c (tr_break): Likewise.
21440 (mtrace): Likewise.
21441 (muntrace): Likewise.
21442 * misc/fstab.c (endfsent): Likewise.
21443 * misc/getclktck.c (__getclktck): Likewise.
21444 * misc/getdtsz.c (__getdtablesize): Likewise.
21445 * misc/gethostid.c (gethostid): Likewise.
21446 * misc/getpagesize.c (__getpagesize): Likewise.
21447 * misc/getsysstats.c (__get_nprocs_conf): Likewise.
21448 (__get_nprocs): Likewise.
21449 (__get_phys_pages): Likewise.
21450 (__get_avphys_pages): Likewise.
21451 * misc/getttyent.c (getttyent): Likewise.
21452 (setttyent): Likewise.
21453 (endttyent): Likewise.
21454 * misc/getusershell.c (getusershell): Likewise.
21455 (endusershell): Likewise.
21456 (setusershell): Likewise.
21457 (initshells): Likewise.
21458 * misc/hsearch.c (__hdestroy): Likewise.
21459 * misc/sync.c (sync): Likewise.
21460 * misc/syslog.c (closelog_internal): Likewise.
21461 (closelog): Likewise.
21462 * misc/ttyslot.c (ttyslot): Likewise.
21463 * misc/vhangup.c (vhangup): Likewise.
21464 * posix/fork.c (__fork): Likewise.
21465 * posix/getegid.c (__getegid): Likewise.
21466 * posix/geteuid.c (__geteuid): Likewise.
21467 * posix/getgid.c (__getgid): Likewise.
21468 * posix/getpid.c (__getpid): Likewise.
21469 * posix/getppid.c (__getppid): Likewise.
21470 * posix/getuid.c (__getuid): Likewise.
21471 * posix/pause.c (pause): Likewise.
21472 * posix/setpgrp.c (setpgrp): Likewise.
21473 * posix/setsid.c (__setsid): Likewise.
21474 * posix/test-vfork.c (noop): Likewise.
21475 * resolv/gethnamaddr.c (_endhtent): Likewise.
21476 (_gethtent): Likewise.
21477 (ht_endhostent): Likewise.
21478 (gethostent): Likewise.
21479 (dns_service): Likewise.
21480 * stdlib/drand48.c (drand48): Likewise.
21481 * stdlib/lrand48.c (lrand48): Likewise.
21482 * stdlib/mrand48.c (mrand48): Likewise.
21483 * stdlib/rand.c (rand): Likewise.
21484 * stdlib/random.c (__random): Likewise.
21485 * stdlib/setenv.c (clearenv): Likewise.
21486 * sunrpc/clnt_tcp.c (clnttcp_abort): Likewise.
21487 * sunrpc/clnt_unix.c (clntunix_abort): Likewise.
21488 * sysdeps/mach/getpagesize.c (__getpagesize): Likewise.
21489 * sysdeps/mach/getsysstats.c (__get_nprocs_conf): Likewise.
21490 (__get_nprocs): Likewise.
21491 (__get_phys_pages): Likewise.
21492 (__get_avphys_pages): Likewise.
21493 * sysdeps/mach/hurd/dl-sysdep.c (__getpid): Likewise.
21494 * sysdeps/mach/hurd/getclktck.c (__getclktck): Likewise.
21495 * sysdeps/mach/hurd/getdtsz.c (__getdtablesize): Likewise.
21496 * sysdeps/mach/hurd/getegid.c (__getegid): Likewise.
21497 * sysdeps/mach/hurd/geteuid.c (__geteuid): Likewise.
21498 * sysdeps/mach/hurd/getgid.c (__getgid): Likewise.
21499 * sysdeps/mach/hurd/gethostid.c (gethostid): Likewise.
21500 * sysdeps/mach/hurd/getlogin.c (getlogin): Likewise.
21501 * sysdeps/mach/hurd/getpid.c (__getpid): Likewise.
21502 * sysdeps/mach/hurd/getppid.c (__getppid): Likewise.
21503 * sysdeps/mach/hurd/getuid.c (__getuid): Likewise.
21504 * sysdeps/mach/hurd/sync.c (sync): Likewise.
21505 * sysdeps/posix/clock.c (clock): Likewise.
21506 * sysdeps/unix/bsd/setsid.c (__setsid): Likewise.
21507 * sysdeps/unix/getpagesize.c (__getpagesize): Likewise.
21508 * sysdeps/unix/sysv/linux/getclktck.c (__getclktck): Likewise.
21509 * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Likewise.
21510 * sysdeps/unix/sysv/linux/getpagesize.c (__getpagesize): Likewise.
21511 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
21512 (__get_nprocs_conf): Likewise.
21513 (__get_phys_pages): Likewise.
21514 (__get_avphys_pages): Likewise.
21515 * time/clock.c (clock): Likewise.
21516 * time/tzset.c (__tzname_max): Likewise.
21517
2e09a79a
JM
215182013-06-07 Joseph Myers <joseph@codesourcery.com>
21519
21520 * bits/byteswap.h [__GNUC__ && !__GNUC_PREREQ (4, 3)]
21521 (__bswap_32): Do not use "register".
21522 * crypt/crypt.c (_ufc_doit_r): Likewise.
21523 * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
21524 * debug/wcscat_chk.c (__wcscat_chk): Likewise.
21525 * gmon/gmon.c (__monstartup): Likewise.
21526 * gmon/mcount.c (_MCOUNT_DECL(frompc, selfpc)): Likewise.
21527 * hurd/hurdmalloc.c (more_memory): Likewise.
21528 (malloc): Likewise.
21529 (free): Likewise.
21530 (realloc): Likewise.
21531 (malloc_fork_prepare): Likewise.
21532 (malloc_fork_parent): Likewise.
21533 (malloc_fork_child): Likewise.
21534 * include/rpc/auth_des.h (xdr_authdes_verf): Likewise.
21535 (_svcauth_des): Likewise.
21536 * inet/inet_lnaof.c (inet_lnaof): Likewise.
21537 * inet/inet_net.c (inet_network): Likewise.
21538 * inet/inet_netof.c (inet_netof): Likewise.
21539 * inet/rcmd.c (__validuser2_sa): Likewise.
21540 * io/fts.c (fts_open): Likewise.
21541 (fts_load): Likewise.
21542 (fts_close): Likewise.
21543 (fts_read): Likewise.
21544 (fts_children): Likewise.
21545 (fts_build): Likewise.
21546 (fts_stat): Likewise.
21547 (fts_sort): Likewise.
21548 (fts_alloc): Likewise.
21549 (fts_lfree): Likewise.
21550 * libio/fileops.c (_IO_new_file_xsputn): Likewise.
21551 (_IO_file_xsgetn): Likewise.
21552 (_IO_file_xsgetn_mmap): Likewise.
21553 * libio/iofopncook.c (_IO_cookie_read): Likewise.
21554 (_IO_cookie_write): Likewise.
21555 * libio/oldfileops.c (_IO_old_file_xsputn): Likewise.
21556 * libio/wfileops.c (_IO_wfile_xsputn): Likewise.
21557 * mach/msgserver.c (__mach_msg_server_timeout): Likewise.
21558 * malloc/obstack.c (_obstack_begin): Likewise.
21559 (_obstack_begin_1): Likewise.
21560 (_obstack_newchunk): Likewise.
21561 (_obstack_allocated_p): Likewise.
21562 (obstack_free): Likewise.
21563 (_obstack_memory_used): Likewise.
21564 * misc/getttyent.c (getttynam): Likewise.
21565 (getttyent): Likewise.
21566 (skip): Likewise.
21567 (value): Likewise.
21568 * misc/getusershell.c (initshells): Likewise.
21569 * misc/syslog.c (__vsyslog_chk): Likewise.
21570 * misc/ttyslot.c (ttyslot): Likewise.
21571 * nis/nis_hash.c (__nis_hash): Likewise.
21572 * posix/fnmatch_loop.c (FCT): Likewise.
21573 * posix/getconf.c (print_all): Likewise.
21574 (main): Likewise.
21575 * posix/getopt.c (exchange): Likewise.
21576 * posix/glob.c (globfree): Likewise.
21577 (prefix_array): Likewise.
21578 (__glob_pattern_type): Likewise.
21579 * resolv/arpa/nameser.h (NS_GET16): Likewise.
21580 (NS_GET32): Likewise.
21581 (NS_PUT16): Likewise.
21582 (NS_PUT32): Likewise.
21583 * resolv/gethnamaddr.c (getanswer): Likewise.
21584 (gethostbyname2): Likewise.
21585 (gethostbyaddr): Likewise.
21586 (_gethtent): Likewise.
21587 (_gethtbyname2): Likewise.
21588 (_gethtbyaddr): Likewise.
21589 * resolv/ns_print.c (dst_s_get_int16): Likewise.
21590 * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
21591 * resolv/res_init.c (__res_vinit): Likewise.
21592 (net_mask): Likewise.
21593 * resolv/res_mkquery.c (outchar): Likewise.
21594 (PRINT): Likewise.
21595 * stdio-common/printf_fp.c (outchar): Likewise.
21596 (PRINT): Likewise.
21597 * stdio-common/printf_fphex.c (outchar): Likewise.
21598 (PRINT): Likewise.
21599 * stdio-common/printf_size.c (outchar): Likewise.
21600 (PRINT): Likewise.
21601 * stdio-common/test_rdwr.c (main): Likewise.
21602 * stdio-common/tfformat.c (matches): Likewise.
21603 * stdio-common/vfprintf.c (outchar): Likewise.
21604 (printf_unknown): Likewise.
21605 (buffered_vfprintf): Likewise.
21606 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
21607 * stdio-common/xbug.c (AppendToBuffer): Likewise.
21608 (ReadFile): Likewise.
21609 * stdlib/qsort.c (SWAP): Likewise.
21610 (_quicksort): Likewise.
21611 * stdlib/setenv.c (__add_to_environ): Likewise.
21612 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
21613 * stdlib/strtol_l.c (__strtol_l): Likewise.
21614 * stdlib/tst-strtod.c (main): Likewise.
21615 * stdlib/tst-strtol.c (main): Likewise.
21616 * stdlib/tst-strtoll.c (main): Likewise.
21617 * string/bits/string2.h (__strcmp_cc): Likewise.
21618 (__strcmp_cg): Likewise.
21619 (__strcspn_c1): Likewise.
21620 (__strcspn_c2): Likewise.
21621 (__strcspn_c3): Likewise.
21622 (__strspn_c1): Likewise.
21623 (__strspn_c2): Likewise.
21624 (__strspn_c3): Likewise.
21625 (__strsep_1c): Likewise.
21626 (__strsep_2c): Likewise.
21627 (__strsep_3c): Likewise.
21628 * string/memccpy.c (__memccpy): Likewise.
21629 * string/stpcpy.c (__stpcpy): Likewise.
21630 * string/strcmp.c (strcmp): Likewise.
21631 * string/strrchr.c (strrchr): Likewise.
21632 * sysdeps/generic/sigset-cvt-mask.h (sigset_get_old_mask):
21633 Likewise.
21634 * sysdeps/mach/hurd/getcwd.c
21635 (_hurd_canonicalize_directory_name_internal): Likewise.
21636 * sysdeps/mach/i386/sysdep.h (SNARF_ARGS): Likewise.
21637 * sysdeps/powerpc/powerpc32/power6/wcschr.c (wcschr): Likewise.
21638 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c (wcsrchr): Likewise.
21639 * sysdeps/x86/bits/byteswap-16.h [__GNUC__] (__bswap_16):
21640 Likewise, in both definitions.
21641 * sysdeps/x86/bits/byteswap.h (__bswap_32): Likewise, in multiple
21642 definitions.
21643 [__GNUC_PREREQ (2, 0) && !__GNUC_PREREQ (4, 3) && __WORDSIZE ==
21644 64] (__bswap_64): Likewise.
21645 * time/test_time.c (main): Likewise.
21646 * time/tzfile.c (__tzfile_read): Likewise.
21647 (__tzfile_compute): Likewise.
21648 * time/tzset.c (__tzset_parse_tz): Likewise.
21649 (tzset_internal): Likewise.
21650 (compute_change): Likewise.
21651 * wcsmbs/wcscat.c (__wcscat): Likewise.
21652 * wcsmbs/wcschr.c (wcschr): Likewise.
21653 * wcsmbs/wcschrnul.c (__wcschrnul): Likewise.
21654 * wcsmbs/wcscspn.c (wcscspn): Likewise.
21655 * wcsmbs/wcspbrk.c (wcspbrk): Likewise.
21656 * wcsmbs/wcsrchr.c (wcsrchr): Likewise.
21657 * wcsmbs/wcsspn.c (wcsspn): Likewise.
21658 * wcsmbs/wcsstr.c (wcsstr): Likewise.
21659 * wcsmbs/wmemchr.c (wmemchr): Likewise.
21660 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
21661 * wcsmbs/wmemset.c (wmemset): Likewise.
21662
9e54314b
JM
216632013-06-06 Joseph Myers <joseph@codesourcery.com>
21664
21665 * scripts/config.guess: Update to version 2013-05-16.
21666 * scripts/config.sub: Update to version 2013-04-24.
21667 * scripts/install-sh: Update to version 2011-11-20.07.
21668 * scripts/mkinstalldirs: Update to version 2009-04-28.21.
21669 * scripts/move-if-change: Update to version 2012-01-06 07:23.
21670
350635a5
OB
216712013-06-06 Ondřej Bílka <neleai@seznam.cz>
21672
21673 * debug/fgetws_u_chk.c: Fix leading whitespaces.
21674 * elf/sln.c: Likewise.
21675 * hurd/hurd/ioctl.h: Likewise.
21676 * hurd/hurdmalloc.c: Likewise.
21677 * hurd/xattr.c: Likewise.
21678 * include/shlib-compat.h: Likewise.
21679 * inet/ruserpass.c: Likewise.
21680 * libio/iofgets_u.c: Likewise.
21681 * libio/iofgetws_u.c: Likewise.
21682 * locale/programs/ld-identification.c: Likewise.
21683 * locale/programs/ld-time.c: Likewise.
21684 * mach/msg-destroy.c: Likewise.
21685 * nss/nss_files/files-netgrp.c: Likewise.
21686 * resolv/res_data.c: Likewise.
21687 * soft-fp/op-1.h: Likewise.
21688 * soft-fp/op-2.h: Likewise.
21689 * soft-fp/op-4.h: Likewise.
21690 * soft-fp/op-common.h: Likewise.
21691 * stdio-common/printf_fphex.c: Likewise.
21692 * stdlib/strtod_l.c: Likewise.
21693 * sunrpc/rpc/clnt.h: Likewise.
21694 * sysdeps/generic/framestate.c: Likewise.
21695 * sysdeps/i386/bsd-_setjmp.S: Likewise.
21696 * sysdeps/i386/bsd-setjmp.S: Likewise.
21697 * sysdeps/i386/__longjmp.S: Likewise.
21698 * sysdeps/i386/setjmp.S: Likewise.
21699 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
21700 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
21701 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
21702 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
21703 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
21704 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
21705 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
21706 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
21707 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
21708 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
21709 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
21710 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
21711 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
21712 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
21713 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
21714 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
21715 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
21716 * sysdeps/ieee754/ldbl-96/ldbl2mpn.c: Likewise.
21717 * sysdeps/ieee754/support.c: Likewise.
21718 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
21719 * sysdeps/powerpc/powerpc32/lshift.S: Likewise.
21720 * sysdeps/sparc/sparc32/__longjmp.S: Likewise.
21721 * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c: Likewise.
21722 * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c: Likewise.
21723 * sysdeps/sparc/sparc64/soft-fp/qp_feq.c: Likewise.
21724 * sysdeps/sparc/sparc64/soft-fp/qp_fge.c: Likewise.
21725 * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c: Likewise.
21726 * sysdeps/sparc/sparc64/soft-fp/qp_fle.c: Likewise.
21727 * sysdeps/sparc/sparc64/soft-fp/qp_flt.c: Likewise.
21728 * sysdeps/sparc/sparc64/soft-fp/qp_fne.c: Likewise.
21729 * sysdeps/sparc/sparc64/soft-fp/qp_mul.c: Likewise.
21730 * sysdeps/sparc/sparc64/soft-fp/qp_qtoi.c: Likewise.
21731 * sysdeps/sparc/sparc64/soft-fp/qp_qtoui.c: Likewise.
21732 * sysdeps/sparc/sparc64/soft-fp/qp_qtoux.c: Likewise.
21733 * sysdeps/sparc/sparc64/soft-fp/qp_qtox.c: Likewise.
21734 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
21735 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
21736
44a988af
OB
217372013-06-05 Ondřej Bílka <neleai@seznam.cz>
21738
25506f09 21739 * posix/transbug.c: Remove executable mode.
44a988af 21740
9c84384c
JM
217412013-06-05 Joseph Myers <joseph@codesourcery.com>
21742
21743 * crypt/speeds.c: Remove trailing whitespace.
21744 * dlfcn/default.c: Likewise.
21745 * elf/ifuncdep2.c: Likewise.
21746 * elf/ifuncmain1.c: Likewise.
21747 * elf/ifuncmain1vis.c: Likewise.
21748 * elf/testobj.h: Likewise.
21749 * elf/tst-stackguard1.c: Likewise.
21750 * gmon/sys/gmon.h: Likewise.
21751 * hurd/hurdmsg.c: Likewise.
21752 * hurd/new-fd.c: Likewise.
21753 * hurd/ports-get.c: Likewise.
21754 * iconvdata/ibm1008_420.c: Likewise.
21755 * inet/tst-getni1.c: Likewise.
21756 * inet/tst-getni2.c: Likewise.
21757 * libio/ioungetc.c: Likewise.
21758 * libio/wfiledoalloc.c: Likewise.
21759 * manual/libm-err-tab.pl: Likewise.
21760 * math/w_dremf.c: Likewise.
21761 * misc/ftruncate.c: Likewise.
21762 * posix/bug-glob2.c: Likewise.
21763 * posix/tst-pcre.c: Likewise.
21764 * posix/wait4.c: Likewise.
21765 * resolv/README: Likewise.
21766 * resolv/res_debug.h: Likewise.
21767 * resolv/tst-inet_ntop.c: Likewise.
21768 * setjmp/bug269-setjmp.c: Likewise.
21769 * soft-fp/extended.h: Likewise.
21770 * soft-fp/op-1.h: Likewise.
21771 * soft-fp/op-2.h: Likewise.
21772 * soft-fp/op-4.h: Likewise.
21773 * soft-fp/op-8.h: Likewise.
21774 * soft-fp/testit.c: Likewise.
21775 * stdio-common/bug16.c: Likewise.
21776 * stdlib/random.c: Likewise.
21777 * sunrpc/rpcsvc/rquota.x: Likewise.
21778 * sysdeps/ieee754/dbl-64/powtwo.tbl: Likewise.
21779 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
21780 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
21781 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
21782 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
21783 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
21784 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
21785 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
21786 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
21787 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
21788 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
21789 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
21790 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
21791 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
21792 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
21793 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
21794 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
21795 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
21796 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
21797 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
21798 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
21799 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
21800 * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
21801 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
21802 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
21803 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
21804 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
21805 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
21806 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
21807 * sysdeps/ieee754/s_lib_version.c: Likewise.
21808 * sysdeps/mach/hurd/check_fds.c: Likewise.
21809 * sysdeps/mach/hurd/getsockname.c: Likewise.
21810 * sysdeps/mach/hurd/net/if_ppp.h: Likewise.
21811 * sysdeps/mach/hurd/recvfrom.c: Likewise.
21812 * sysdeps/powerpc/bits/link.h: Likewise.
21813 * sysdeps/powerpc/dl-procinfo.c: Likewise.
21814 * sysdeps/powerpc/fpu/feholdexcpt.c: Likewise.
21815 * sysdeps/powerpc/fpu/fenv_const.c: Likewise.
21816 * sysdeps/powerpc/fpu/fesetenv.c: Likewise.
21817 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
21818 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
21819 * sysdeps/powerpc/fpu/t_sqrt.c: Likewise.
21820 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
21821 * sysdeps/powerpc/powerpc32/fpu/s_floor.S: Likewise.
21822 * sysdeps/powerpc/powerpc32/fpu/s_floorf.S: Likewise.
21823 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
21824 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
21825 * sysdeps/powerpc/powerpc32/fpu/s_round.S: Likewise.
21826 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Likewise.
21827 * sysdeps/powerpc/powerpc32/fpu/s_trunc.S: Likewise.
21828 * sysdeps/powerpc/powerpc32/fpu/s_truncf.S: Likewise.
21829 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
21830 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
21831 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
21832 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
21833 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
21834 * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Likewise.
21835 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
21836 * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
21837 * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Likewise.
21838 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
21839 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
21840 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
21841 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
21842 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
21843 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
21844 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
21845 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
21846 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
21847 * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Likewise.
21848 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
21849 * sysdeps/powerpc/powerpc64/fpu/s_floor.S: Likewise.
21850 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
21851 * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
21852 * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Likewise.
21853 * sysdeps/powerpc/powerpc64/fpu/s_llrintf.S: Likewise.
21854 * sysdeps/powerpc/powerpc64/fpu/s_llround.S: Likewise.
21855 * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S: Likewise.
21856 * sysdeps/powerpc/powerpc64/fpu/s_round.S: Likewise.
21857 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
21858 * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Likewise.
21859 * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: Likewise.
21860 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
21861 * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Likewise.
21862 * sysdeps/powerpc/powerpc64/hp-timing.c: Likewise.
21863 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
21864 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
21865 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
21866 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
21867 * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Likewise.
21868 * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
21869 * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
21870 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
21871 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Likewise.
21872 * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
21873 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Likewise.
21874 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Likewise.
21875 * sysdeps/powerpc/powerpc64/strlen.S: Likewise.
21876 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
21877 * sysdeps/powerpc/sysdep.h: Likewise.
21878 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
21879 * sysdeps/s390/s390-64/sub_n.S: Likewise.
21880 * sysdeps/sh/dl-trampoline.S: Likewise.
21881 * sysdeps/sh/memset.S: Likewise.
21882 * sysdeps/sh/sh4/fpu/fclrexcpt.c: Likewise.
21883 * sysdeps/sh/strlen.S: Likewise.
21884 * sysdeps/sparc/sparc32/dl-trampoline.S: Likewise.
21885 * sysdeps/sparc/sparc32/dotmul.S: Likewise.
21886 * sysdeps/sparc/sparc32/memcpy.S: Likewise.
21887 * sysdeps/sparc/sparc32/rem.S: Likewise.
21888 * sysdeps/sparc/sparc32/sdiv.S: Likewise.
21889 * sysdeps/sparc/sparc32/soft-fp/q_neg.c: Likewise.
21890 * sysdeps/sparc/sparc32/strchr.S: Likewise.
21891 * sysdeps/sparc/sparc32/udiv.S: Likewise.
21892 * sysdeps/sparc/sparc32/urem.S: Likewise.
21893 * sysdeps/sparc/sparc64/add_n.S: Likewise.
21894 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
21895 * sysdeps/sparc/sparc64/rawmemchr.S: Likewise.
21896 * sysdeps/sparc/sparc64/soft-fp/s_frexpl.c: Likewise.
21897 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h: Likewise.
21898 * sysdeps/sparc/sparc64/stpncpy.S: Likewise.
21899 * sysdeps/sparc/sparc64/strncmp.S: Likewise.
21900 * sysdeps/sparc/sparc64/strncpy.S: Likewise.
21901 * sysdeps/unix/bsd/times.c: Likewise.
21902 * sysdeps/unix/sysv/linux/a.out.h: Likewise.
21903 * sysdeps/unix/sysv/linux/net/if_ppp.h: Likewise.
21904 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
21905 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
21906 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
21907 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: Likewise.
21908 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
21909 * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Likewise.
21910 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Likewise.
21911 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Likewise.
21912 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Likewise.
21913 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
21914 * sysdeps/unix/sysv/linux/s390/s390-64/mmap.S: Likewise.
21915 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
21916 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
21917 * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
21918 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
21919 * sysdeps/unix/sysv/linux/s390/s390-64/syscall.S: Likewise.
21920 * sysdeps/unix/sysv/linux/scsi/scsi_ioctl.h: Likewise.
21921 * sysdeps/unix/sysv/linux/sh/brk.c: Likewise.
21922 * sysdeps/unix/sysv/linux/sh/clone.S: Likewise.
21923 * sysdeps/unix/sysv/linux/sh/sh3/getcontext.S: Likewise.
21924 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
21925 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S: Likewise.
21926 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S: Likewise.
21927 * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
21928 * sysdeps/unix/sysv/linux/sparc/a.out.h: Likewise.
21929 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
21930 * sysdeps/unix/sysv/linux/sys/personality.h: Likewise.
21931 * sysdeps/x86_64/fpu/s_ceill.S: Likewise.
21932 * sysdeps/x86_64/fpu/s_llrintl.S: Likewise.
21933 * sysdeps/x86_64/strcspn.S: Likewise.
21934
869378a5
RA
219352013-06-05 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
21936
21937 * locale/C-translit.h: Revert #include <stdint.h> because this is a
21938 generated file. Regenerate properly from gen-translit.pl.
21939 * locale/gen-translit.pl: Add #include <stdint.h>. This generates
21940 locale/C-translit.h.
21941
840e2943
AS
219422013-06-05 Andreas Schwab <schwab@suse.de>
21943
21944 [BZ #15100]
21945 * time/strptime_l.c (__strptime_internal): Count Sunday in a %W
21946 week as 6 instead of -1.
21947 * time/tst-strptime.c (day_tests): Add test case.
21948
4c60cb0c
SP
219492013-06-05 Siddhesh Poyarekar <siddhesh@redhat.com>
21950
21951 * sysdeps/generic/math_private.h
21952 (libc_feholdexcept_setround_53bit): Replace with
21953 libc_feholdsetround_53bit.
21954 (libc_feupdateenv_53bit): Replace with
21955 libc_feresetround_53bit.
21956 (SET_RESTORE_ROUND_53BIT): Adjust.
21957
d180203e
SP
219582013-06-03 Siddhesh Poyarekar <siddhesh@redhat.com>
21959
96df079a
SP
21960 * string/test-strchrnul.c: Add copyright header.
21961
d180203e
SP
21962 * posix/tst-getaddrinfo4.c: Increase test timeout.
21963
8b0ccb2d
CD
219642013-06-03 Carlos O'Donell <carlos@redhat.com>
21965
21966 [BZ #15536]
21967 * math/libm-test.inc (MAX_EXP): Remove
21968 (MIN_EXP): Define.
21969 (ulp): Use MIN_EXP - MANT_DIG.
21970 (check_ulp): Verify subnormal ulps. Only allow a range of +/- 1 ulp.
21971
3b3c4d40
CD
219722013-05-31 Carlos O'Donell <carlos@redhat.com>
21973
21974 * po/be.po: Revert last change.
21975 * po/zh_CN.po: Likewise.
21976 * po/header.pot: Likewise.
21977
fab7ce3f
JM
219782013-05-31 Joseph Myers <joseph@codesourcery.com>
21979
21980 * Makefile ($(common-objpfx)linkobj/libc.so): Define
21981 link-libc-deps to empty as target-specific variable.
21982 * Makerules (link-libc-args): New variable.
21983 (libc-for-link): Likewise.
21984 (link-libc-deps): Likewise.
21985 (lib%.so): Depend on $(link-libc-deps). Link with
21986 $(link-libc-args).
21987 (build-module): Link with $(link-libc-args).
21988 (build-module-asneeded): Likewise.
21989 (build-module-helper-objlist): Filter out $(link-libc-deps) from
21990 list of objects.
21991 ($(common-objpfx)libc.so): Define link-libc-deps to empty as
21992 target-specific variable.
21993 ($(extra-modules-build:%=$(objpfx)%.so)): Depend on
21994 $(link-libc-deps) instead of libc.so and libc_nonshared.a.
21995 * crypt/Makefile ($(objpfx)libcrypt.so): Remove dependencies on
21996 libc.
21997 * debug/Makefile ($(objpfx)libSegFault.so): Remove dependencies on
21998 libc and ld.so.
21999 ($(objpfx)libpcprofile.so): Likewise.
22000 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Remove ld.so and
22001 libc_nonshared.a.
22002 ($(objpfx)libdl.so): Remove dependencies on libc and ld.so.
22003 * hesiod/Makefile ($(objpfx)libnss_hesiod.so): Likewise.
22004 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Depend on
22005 $(link-libc-deps).
22006 ($(objpfx)$(mod).so): Remove dependencies on libc and ld.so.
22007 * locale/Makefile ($(objpfx)libBrokenLocale.so): Likewise.
22008 * login/Makefile ($(objpfx)libutil.so): Likewise.
22009 * malloc/Makefile ($(objpfx)libmemusage.so): Likewise.
22010 * math/Makefile ($(objpfx)libm.so): Likewise.
22011 * nis/Makefile ($(services:%=$(objpfx)libnss_%.so)
22012 $(objpfx)libnsl.so): Define libc-for-link as target-specific
22013 variable instead of depending directly on libc.
22014 * nss/Makefile ($(services:%=$(objpfx)libnss_%.so)): Likewise.
22015 ($(objpfx)/libnss_test1.so): Change dependencies on libc to
22016 $(link-libc-deps).
22017 * resolv/Makefile ($(objpfx)libresolv.so): Remove dependencies on
22018 libc.
22019 [$(have-ssp) = yes] (LDLIBS-resolv.so): Remove variable.
22020 ($(objpfx)libnss_dns.so): Remove dependencies on libc.
22021 ($(objpfx)libanl.so): Likewise.
22022 * rt/Makefile ($(objpfx)librt.so): Remove dependencies on libc and
22023 ld.so.
22024 * stdlib/Makefile ($(objpfx)tst-putenvmod.so): Depend on
22025 $(link-libc-deps).
22026 * sysdeps/i386/fpu/Makefile: Remove file.
22027 * sysdeps/powerpc/fpu/Makefile [$(subdir) = math]
22028 ($(objpfx)libm.so): Remove dependency on ld.so.
22029
eca5920c
PF
220302013-05-30 Patsy Franklin <pfrankli@redhat.com>
22031
22032 [BZ # 15553]
22033 * nis/yp_xdr.c (XDRMAXNAME): Define.
22034 (XDRMAXRECORD): Define.
22035 (xdr_domainname): Use XDRMAXNAME.
22036 (xdr_mapname): Likewise.
22037 (xdr_peername): Likewise.
22038 (xdr_keydat): Use XDRMAXRECORD.
22039 (xdr_valdat): Likewise.
22040
220412013-05-30 Jeff Law <law@redhat.com>
96945714
JL
22042
22043 [BZ #14256]
22044 * manual/errno.texi (ESTALE): Update to account for more than
22045 just NFS file systems.
22046 * sysdeps/gnu/errlist.c: Regenerated.
22047
b9375348
SP
220482013-05-29 Siddhesh Poyarekar <siddhesh@redhat.com>
22049
22050 [BZ #15465]
22051 * elf/Makefile (tests): Add tst-null-argv.
22052 (modules-names): Add tst-null-argv-lib.
22053 ($(objpfx)tst-null-argv): Depend on tst-null-argv-lib.so.
22054 (tst-null-argv-ENV): Set environment for tst-null-argv.
22055 * sysdeps/generic/ldsodefs.h (DSO_FILENAME): New macro.
22056 (RTLD_PROGNAME): New macro.
22057 * elf/tst-null-argv.c: New test case.
22058 * elf/tst-null-argv-lib.c: Library for test case.
22059 * elf/dl-conflict.c (_dl_resolve_conflicts): Use DSO_FILENAME.
22060 * elf/dl-deps.c (_dl_map_object_deps): Likewise.
22061 * elf/dl-error.c (_dl_signal_error): Use RTLD_PROGNAME.
22062 * elf/dl-fini.c (_dl_fini): Use DSO_FILENAME.
22063 * elf/dl-init.c (call_init): Likewise.
22064 (_dl_init): Likewise.
22065 * elf/dl-load.c (print_search_path): Likewise.
22066 (_dl_map_object): Likewise.
22067 * elf/dl-lookup.c (do_lookup_x): Likewise.
22068 (add_dependency): Likewise.
22069 (_dl_lookup_symbol_x): Likewise.
22070 (_dl_debug_bindings): Likewise.
22071 * elf/dl-open.c (_dl_show_scope): Likewise.
22072 * elf/dl-reloc.c (_dl_relocate_object): Likewise.
22073 * elf/dl-version.c (match_symbol): Likewise.
22074 (_dl_check_map_versions): Likewise.
22075 * elf/rtld.c (dl_main): Likewise.
22076 (print_unresolved): Use RTLD_PROGNAME.
22077 (print_missing_version): Likewise.
22078 * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
22079 (elf_machine_rela): Likewise.
22080 * sysdeps/powerpc/powerpc32/dl-machine.c
22081 (__process_machine_rela): Likewise.
22082 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
22083 Likewise.
22084 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
22085 Likewise.
22086 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
22087 Likewise.
22088 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
22089 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela):
22090 Likewise.
22091 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela):
22092 Likewise.
22093 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
22094
8a9f20c8
CD
220952013-05-28 Carlos O'Donell <carlos@redhat.com>
22096
22097 * po/be.po: Add descriptive title.
22098 * po/zh_CN.po: Likewise.
22099 * po/header.pot: Likewise.
22100
0e60d68e
MF
221012013-05-28 Mike Frysinger <vapier@gentoo.org>
22102
22103 * locale/programs/locarchive.c (create_archive): Inlucde fname in
22104 error message.
22105 (enlarge_archive): Likewise.
22106
56b672e9
BN
221072013-05-28 Ben North <ben@redfrontdoor.org>
22108
22109 * manual/arith.texi (frexp): It is the magnitude of the return
22110 value which lies in [0.5, 1), not the return value itself.
22111
5e056687
AZ
221122013-05-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22113
22114 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
22115
2b66ef5d
TS
221162013-05-26 Thomas Schwinge <thomas@codesourcery.com>
22117
528c2405
TS
22118 * stdio-common/bug26.c (main): Correct fscanf template.
22119
07b4c13d
TS
22120 * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start:go): Don't
22121 declare _dl_skip_args.
22122
ec9dd97c
TS
22123 * sysdeps/mach/hurd/i386/init-first.c (_dl_non_dynamic_init):
22124 Don't declare.
22125
2b66ef5d
TS
22126 * manual/platform.texi: Add missing @end deftypefun.
22127
4f8dfe27
JM
221282013-05-24 Joseph Myers <joseph@codesourcery.com>
22129
0323d086
JM
22130 [BZ #15529]
22131 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Set high
22132 bit of mantissa of 2^16382.
22133 * math/libm-test.inc (hypot_test_data): Add more tests.
22134
dd4259b9
JM
22135 * math/libm-test.inc: Add drem and pow10 to list of tested
22136 functions.
22137 (pow10_test): New function.
22138 (drem_test): Likewise.
22139 (drem_test_tonearest): Likewise.
22140 (drem_test_towardzero): Likewise.
22141 (drem_test_downward): Likewise.
22142 (drem_test_upward): Likewise.
22143 (main): Call the new functions.
22144
4f8dfe27
JM
22145 * math/libm-test.inc (finite_test_data): Remove.
22146 (finite_test): Run tests from isfinite_test_data.
22147 (gamma_test_data): Remove.
22148 (gamma_test): Run tests from lgamma_test_data.
22149 * sysdeps/i386/fpu/libm-test-ulps: Update.
22150 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22151
d116b7c4
AZ
221522013-05-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22153
22154 * manual/platform.texi: Add PowerPC PPR function set documentation.
22155 * sysdeps/powerpc/sys/platform/ppc.h: Add PowerPC PPR set function
22156 implementation.
22157
e96e3767
CD
221582013-05-24 Carlos O'Donell <carlos@redhat.com>
22159
22160 * math/libm-test.inc (MAX_EXP): Define.
22161 (ULPDIFF): Define.
22162 (ulp): New function.
22163 (check_float_internal): Use ULPDIFF.
22164 (cpow_test): Disable failing test.
22165 (check_ulp): Test ulp() implemetnation.
22166 (main): Call check_ulp before starting tests.
22167
b679a606
JM
221682013-05-24 Joseph Myers <joseph@codesourcery.com>
22169
e8bdba36
JM
22170 * math/gen-libm-test.pl (generate_testfile): Do not handle
22171 START_DATA and END_DATA.
22172 * math/libm-test.inc (acos_test_data): Do not use START_DATA and
22173 END_DATA.
22174 (acos_tonearest_test_data): Likewise.
22175 (acos_towardzero_test_data): Likewise.
22176 (acos_downward_test_data): Likewise.
22177 (acos_upward_test_data): Likewise.
22178 (acosh_test_data): Likewise.
22179 (asin_test_data): Likewise.
22180 (asin_tonearest_test_data): Likewise.
22181 (asin_towardzero_test_data): Likewise.
22182 (asin_downward_test_data): Likewise.
22183 (asin_upward_test_data): Likewise.
22184 (asinh_test_data): Likewise.
22185 (atan_test_data): Likewise.
22186 (atanh_test_data): Likewise.
22187 (atan2_test_data): Likewise.
22188 (cabs_test_data): Likewise.
22189 (cacos_test_data): Likewise.
22190 (cacosh_test_data): Likewise.
22191 (carg_test_data): Likewise.
22192 (casin_test_data): Likewise.
22193 (casinh_test_data): Likewise.
22194 (catan_test_data): Likewise.
22195 (catanh_test_data): Likewise.
22196 (cbrt_test_data): Likewise.
22197 (ccos_test_data): Likewise.
22198 (ccosh_test_data): Likewise.
22199 (ceil_test_data): Likewise.
22200 (cexp_test_data): Likewise.
22201 (cimag_test_data): Likewise.
22202 (clog_test_data): Likewise.
22203 (clog10_test_data): Likewise.
22204 (conj_test_data): Likewise.
22205 (copysign_test_data): Likewise.
22206 (cos_test_data): Likewise.
22207 (cos_tonearest_test_data): Likewise.
22208 (cos_towardzero_test_data): Likewise.
22209 (cos_downward_test_data): Likewise.
22210 (cos_upward_test_data): Likewise.
22211 (cosh_test_data): Likewise.
22212 (cosh_tonearest_test_data): Likewise.
22213 (cosh_towardzero_test_data): Likewise.
22214 (cosh_downward_test_data): Likewise.
22215 (cosh_upward_test_data): Likewise.
22216 (cpow_test_data): Likewise.
22217 (cproj_test_data): Likewise.
22218 (creal_test_data): Likewise.
22219 (csin_test_data): Likewise.
22220 (csinh_test_data): Likewise.
22221 (csqrt_test_data): Likewise.
22222 (ctan_test_data): Likewise.
22223 (ctan_tonearest_test_data): Likewise.
22224 (ctan_towardzero_test_data): Likewise.
22225 (ctan_downward_test_data): Likewise.
22226 (ctan_upward_test_data): Likewise.
22227 (ctanh_test_data): Likewise.
22228 (ctanh_tonearest_test_data): Likewise.
22229 (ctanh_towardzero_test_data): Likewise.
22230 (ctanh_downward_test_data): Likewise.
22231 (ctanh_upward_test_data): Likewise.
22232 (erf_test_data): Likewise.
22233 (erfc_test_data): Likewise.
22234 (exp_test_data): Likewise.
22235 (exp_tonearest_test_data): Likewise.
22236 (exp_towardzero_test_data): Likewise.
22237 (exp_downward_test_data): Likewise.
22238 (exp_upward_test_data): Likewise.
22239 (exp10_test_data): Likewise.
22240 (exp2_test_data): Likewise.
22241 (expm1_test_data): Likewise.
22242 (fabs_test_data): Likewise.
22243 (fdim_test_data): Likewise.
22244 (finite_test_data): Likewise.
22245 (floor_test_data): Likewise.
22246 (fma_test_data): Likewise.
22247 (fma_towardzero_test_data): Likewise.
22248 (fma_downward_test_data): Likewise.
22249 (fma_upward_test_data): Likewise.
22250 (fmax_test_data): Likewise.
22251 (fmin_test_data): Likewise.
22252 (fmod_test_data): Likewise.
22253 (fpclassify_test_data): Likewise.
22254 (frexp_test_data): Likewise.
22255 (gamma_test_data): Likewise.
22256 (hypot_test_data): Likewise.
22257 (ilogb_test_data): Likewise.
22258 (isfinite_test_data): Likewise.
22259 (isgreater_test_data): Likewise.
22260 (isgreaterequal_test_data): Likewise.
22261 (isinf_test_data): Likewise.
22262 (isless_test_data): Likewise.
22263 (islessequal_test_data): Likewise.
22264 (islessgreater_test_data): Likewise.
22265 (isnan_test_data): Likewise.
22266 (isnormal_test_data): Likewise.
22267 (issignaling_test_data): Likewise.
22268 (isunordered_test_data): Likewise.
22269 (j0_test_data): Likewise.
22270 (j1_test_data): Likewise.
22271 (jn_test_data): Likewise.
22272 (ldexp_test_data): Likewise.
22273 (lgamma_test_data): Likewise.
22274 (lrint_test_data): Likewise.
22275 (lrint_tonearest_test_data): Likewise.
22276 (lrint_towardzero_test_data): Likewise.
22277 (lrint_downward_test_data): Likewise.
22278 (lrint_upward_test_data): Likewise.
22279 (llrint_test_data): Likewise.
22280 (llrint_tonearest_test_data): Likewise.
22281 (llrint_towardzero_test_data): Likewise.
22282 (llrint_downward_test_data): Likewise.
22283 (llrint_upward_test_data): Likewise.
22284 (log_test_data): Likewise.
22285 (log10_test_data): Likewise.
22286 (log1p_test_data): Likewise.
22287 (log2_test_data): Likewise.
22288 (logb_test_data): Likewise.
22289 (logb_downward_test_data): Likewise.
22290 (lround_test_data): Likewise.
22291 (llround_test_data): Likewise.
22292 (modf_test_data): Likewise.
22293 (nearbyint_test_data): Likewise.
22294 (nextafter_test_data): Likewise.
22295 (nexttoward_test_data): Likewise.
22296 (pow_test_data): Likewise.
22297 (pow_tonearest_test_data): Likewise.
22298 (pow_towardzero_test_data): Likewise.
22299 (pow_downward_test_data): Likewise.
22300 (pow_upward_test_data): Likewise.
22301 (remainder_test_data): Likewise.
22302 (remainder_tonearest_test_data): Likewise.
22303 (remainder_towardzero_test_data): Likewise.
22304 (remainder_downward_test_data): Likewise.
22305 (remainder_upward_test_data): Likewise.
22306 (remquo_test_data): Likewise.
22307 (rint_test_data): Likewise.
22308 (rint_tonearest_test_data): Likewise.
22309 (rint_towardzero_test_data): Likewise.
22310 (rint_downward_test_data): Likewise.
22311 (rint_upward_test_data): Likewise.
22312 (round_test_data): Likewise.
22313 (scalb_test_data): Likewise.
22314 (scalbn_test_data): Likewise.
22315 (scalbln_test_data): Likewise.
22316 (signbit_test_data): Likewise.
22317 (sin_test_data): Likewise.
22318 (sin_tonearest_test_data): Likewise.
22319 (sin_towardzero_test_data): Likewise.
22320 (sin_downward_test_data): Likewise.
22321 (sin_upward_test_data): Likewise.
22322 (sincos_test_data): Likewise.
22323 (sinh_test_data): Likewise.
22324 (sinh_tonearest_test_data): Likewise.
22325 (sinh_towardzero_test_data): Likewise.
22326 (sinh_downward_test_data): Likewise.
22327 (sinh_upward_test_data): Likewise.
22328 (sqrt_test_data): Likewise.
22329 (tan_test_data): Likewise.
22330 (tan_tonearest_test_data): Likewise.
22331 (tan_towardzero_test_data): Likewise.
22332 (tan_downward_test_data): Likewise.
22333 (tan_upward_test_data): Likewise.
22334 (tanh_test_data): Likewise.
22335 (tgamma_test_data): Likewise.
22336 (trunc_test_data): Likewise.
22337 (y0_test_data): Likewise.
22338 (y1_test_data): Likewise.
22339 (yn_test_data): Likewise.
22340 (significand_test_data): Likewise.
22341
b679a606
JM
22342 * math/gen-libm-test.pl (@functions): Remove variable.
22343 (generate_testfile): Don't handle START and END lines.
22344 * math/libm-test.inc (START): New macro.
22345 (END): Likewise.
22346 (END_COMPLEX): Likewise.
22347 (acos_test): Use END macro without arguments.
22348 (acos_test_tonearest): Likewise.
22349 (acos_test_towardzero): Likewise.
22350 (acos_test_downward): Likewise.
22351 (acos_test_upward): Likewise.
22352 (acosh_test): Likewise.
22353 (asin_test): Likewise.
22354 (asin_test_tonearest): Likewise.
22355 (asin_test_towardzero): Likewise.
22356 (asin_test_downward): Likewise.
22357 (asin_test_upward): Likewise.
22358 (asinh_test): Likewise.
22359 (atan_test): Likewise.
22360 (atanh_test): Likewise.
22361 (atan2_test): Likewise.
22362 (cabs_test): Likewise.
22363 (cacos_test): Use END_COMPLEX macro without arguments.
22364 (cacosh_test): Likewise.
22365 (carg_test): Use END macro without arguments.
22366 (casin_test): Use END_COMPLEX macro without arguments.
22367 (casinh_test): Likewise.
22368 (catan_test): Likewise.
22369 (catanh_test): Likewise.
22370 (cbrt_test): Use END macro without arguments.
22371 (ccos_test): Use END_COMPLEX macro without arguments.
22372 (ccosh_test): Likewise.
22373 (ceil_test): Use END macro without arguments.
22374 (cexp_test): Use END_COMPLEX macro without arguments.
22375 (cimag_test): Use END macro without arguments.
22376 (clog_test): Use END_COMPLEX macro without arguments.
22377 (clog10_test): Likewise.
22378 (conj_test): Likewise.
22379 (copysign_test): Use END macro without arguments.
22380 (cos_test): Likewise.
22381 (cos_test_tonearest): Likewise.
22382 (cos_test_towardzero): Likewise.
22383 (cos_test_downward): Likewise.
22384 (cos_test_upward): Likewise.
22385 (cosh_test): Likewise.
22386 (cosh_test_tonearest): Likewise.
22387 (cosh_test_towardzero): Likewise.
22388 (cosh_test_downward): Likewise.
22389 (cosh_test_upward): Likewise.
22390 (cpow_test): Use END_COMPLEX macro without arguments.
22391 (cproj_test): Likewise.
22392 (creal_test): Use END macro without arguments.
22393 (csin_test): Use END_COMPLEX macro without arguments.
22394 (csinh_test): Likewise.
22395 (csqrt_test): Likewise.
22396 (ctan_test): Likewise.
22397 (ctan_test_tonearest): Likewise.
22398 (ctan_test_towardzero): Likewise.
22399 (ctan_test_downward): Likewise.
22400 (ctan_test_upward): Likewise.
22401 (ctanh_test): Likewise.
22402 (ctanh_test_tonearest): Likewise.
22403 (ctanh_test_towardzero): Likewise.
22404 (ctanh_test_downward): Likewise.
22405 (ctanh_test_upward): Likewise.
22406 (erf_test): Use END macro without arguments.
22407 (erfc_test): Likewise.
22408 (exp_test): Likewise.
22409 (exp_test_tonearest): Likewise.
22410 (exp_test_towardzero): Likewise.
22411 (exp_test_downward): Likewise.
22412 (exp_test_upward): Likewise.
22413 (exp10_test): Likewise.
22414 (exp2_test): Likewise.
22415 (expm1_test): Likewise.
22416 (fabs_test): Likewise.
22417 (fdim_test): Likewise.
22418 (finite_test): Likewise.
22419 (floor_test): Likewise.
22420 (fma_test): Likewise.
22421 (fma_test_towardzero): Likewise.
22422 (fma_test_downward): Likewise.
22423 (fma_test_upward): Likewise.
22424 (fmax_test): Likewise.
22425 (fmin_test): Likewise.
22426 (fmod_test): Likewise.
22427 (fpclassify_test): Likewise.
22428 (frexp_test): Likewise.
22429 (gamma_test): Likewise.
22430 (hypot_test): Likewise.
22431 (ilogb_test): Likewise.
22432 (isfinite_test): Likewise.
22433 (isgreater_test): Likewise.
22434 (isgreaterequal_test): Likewise.
22435 (isinf_test): Likewise.
22436 (isless_test): Likewise.
22437 (islessequal_test): Likewise.
22438 (islessgreater_test): Likewise.
22439 (isnan_test): Likewise.
22440 (isnormal_test): Likewise.
22441 (issignaling_test): Likewise.
22442 (isunordered_test): Likewise.
22443 (j0_test): Likewise.
22444 (j1_test): Likewise.
22445 (jn_test): Likewise.
22446 (ldexp_test): Likewise.
22447 (lgamma_test): Likewise.
22448 (lrint_test): Likewise.
22449 (lrint_test_tonearest): Likewise.
22450 (lrint_test_towardzero): Likewise.
22451 (lrint_test_downward): Likewise.
22452 (lrint_test_upward): Likewise.
22453 (llrint_test): Likewise.
22454 (llrint_test_tonearest): Likewise.
22455 (llrint_test_towardzero): Likewise.
22456 (llrint_test_downward): Likewise.
22457 (llrint_test_upward): Likewise.
22458 (log_test): Likewise.
22459 (log10_test): Likewise.
22460 (log1p_test): Likewise.
22461 (log2_test): Likewise.
22462 (logb_test): Likewise.
22463 (logb_test_downward): Likewise.
22464 (lround_test): Likewise.
22465 (llround_test): Likewise.
22466 (modf_test): Likewise.
22467 (nearbyint_test): Likewise.
22468 (nextafter_test): Likewise.
22469 (nexttoward_test): Likewise.
22470 (pow_test): Likewise.
22471 (pow_test_tonearest): Likewise.
22472 (pow_test_towardzero): Likewise.
22473 (pow_test_downward): Likewise.
22474 (pow_test_upward): Likewise.
22475 (remainder_test): Likewise.
22476 (remainder_test_tonearest): Likewise.
22477 (remainder_test_towardzero): Likewise.
22478 (remainder_test_downward): Likewise.
22479 (remainder_test_upward): Likewise.
22480 (remquo_test): Likewise.
22481 (rint_test): Likewise.
22482 (rint_test_tonearest): Likewise.
22483 (rint_test_towardzero): Likewise.
22484 (rint_test_downward): Likewise.
22485 (rint_test_upward): Likewise.
22486 (round_test): Likewise.
22487 (scalb_test): Likewise.
22488 (scalbn_test): Likewise.
22489 (scalbln_test): Likewise.
22490 (signbit_test): Likewise.
22491 (sin_test): Likewise.
22492 (sin_test_tonearest): Likewise.
22493 (sin_test_towardzero): Likewise.
22494 (sin_test_downward): Likewise.
22495 (sin_test_upward): Likewise.
22496 (sincos_test): Likewise.
22497 (sinh_test): Likewise.
22498 (sinh_test_tonearest): Likewise.
22499 (sinh_test_towardzero): Likewise.
22500 (sinh_test_downward): Likewise.
22501 (sinh_test_upward): Likewise.
22502 (sqrt_test): Likewise.
22503 (tan_test): Likewise.
22504 (tan_test_tonearest): Likewise.
22505 (tan_test_towardzero): Likewise.
22506 (tan_test_downward): Likewise.
22507 (tan_test_upward): Likewise.
22508 (tanh_test): Likewise.
22509 (tgamma_test): Likewise.
22510 (trunc_test): Likewise.
22511 (y0_test): Likewise.
22512 (y1_test): Likewise.
22513 (yn_test): Likewise.
22514 (significand_test): Likewise.
22515
bae143d2
OB
225162013-05-24 Ondřej Bílka <neleai@seznam.cz>
22517
22518 [BZ #15381]
22519 * libio/genops.c (_IO_no_init): Initialize wide struct info.
22520
9323d39b
EM
225212013-05-23 Edjunior Machado <emachado@linux.vnet.ibm.com>
22522
d4ea44a0 22523 [BZ #14894]
9323d39b
EM
22524 * sysdeps/powerpc/sys/platform/ppc.h: Add __ppc_yield,
22525 __ppc_mdoio and __ppc_mdoom.
22526 * manual/platform.texi: Document new functions __ppc_yield,
22527 __ppc_mdoio and __ppc_mdoom.
22528
13e23af7
CD
225292013-05-22 Carlos O'Donell <carlos@redhat.com>
22530
22531 * elf/ldconfig.c (is_hwcap_platform): Make comments full setences.
22532 (main): Mention "tls" pseudo-hwcap is legacy.
22533 * elf/dl-hwcaps.c (_dl_important_hwcaps): Correct rounding comment.
22534
351fe550
JM
225352013-05-22 Joseph Myers <joseph@codesourcery.com>
22536
22537 * math/gen-libm-test.pl (parse_args): Output only string of
22538 arguments as text for test name, not full call or descriptions of
22539 tests for extra outputs.
22540 (generate_testfile): Do not pass function name to parse_args.
22541 Generate this_func variable from START.
22542 * math/libm-test.inc (struct test_f_f_data): Rename test_name
22543 field to arg_str.
22544 (struct test_ff_f_data): Likewise.
22545 (test_ff_f_data_nexttoward): Likewise.
22546 (struct test_fi_f_data): Likewise.
22547 (struct test_fl_f_data): Likewise.
22548 (struct test_if_f_data): Likewise.
22549 (struct test_fff_f_data): Likewise.
22550 (struct test_c_f_data): Likewise.
22551 (struct test_f_f1_data): Likewise. Remove field extra_name.
22552 (struct test_fF_f1_data): Likewise.
22553 (struct test_ffI_f1_data): Likewise.
22554 (struct test_c_c_data): Rename test_name field to arg_str.
22555 (struct test_cc_c_data): Likewise.
22556 (struct test_f_i_data): Likewise.
22557 (struct test_ff_i_data): Likewise.
22558 (struct test_f_l_data): Likewise.
22559 (struct test_f_L_data): Likewise.
22560 (struct test_fFF_11_data): Likewise. Remove fields extra1_name
22561 and extra2_name.
22562 (COMMON_TEST_SETUP): New macro.
22563 (EXTRA_OUTPUT_TEST_SETUP): Likewise.
22564 (COMMON_TEST_CLEANUP): Likewise.
22565 (EXTRA_OUTPUT_TEST_CLEANUP): Likewise.
22566 (RUN_TEST_f_f): Take argument string. Call new setup and cleanup
22567 macros.
22568 (RUN_TEST_LOOP_f_f): Update call to RUN_TEST_f_f.
22569 (RUN_TEST_2_f): Take argument string. Call new setup and cleanup
22570 macros.
22571 (RUN_TEST_LOOP_2_f): Update call to RUN_TEST_2_f.
22572 (RUN_TEST_fff_f): Take argument string. Call new setup and
22573 cleanup macros.
22574 (RUN_TEST_LOOP_fff_f): Update call to RUN_TEST_fff_f.
22575 (RUN_TEST_c_f): Take argument string. Call new setup and cleanup
22576 macros.
22577 (RUN_TEST_LOOP_c_f): Update call to RUN_TEST_c_f.
22578 (RUN_TEST_f_f1): Take argument string. Call new setup and cleanup
22579 macros.
22580 (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
22581 (RUN_TEST_fF_f1): Take argument string. Call new setup and
22582 cleanup macros.
22583 (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
22584 (RUN_TEST_fI_f1): Take argument string. Call new setup and
22585 cleanup macros.
22586 (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
22587 (RUN_TEST_ffI_f1): Take argument string. Call new setup and
22588 cleanup macros.
22589 (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
22590 (RUN_TEST_c_c): Take argument string. Call new setup and cleanup
22591 macros.
22592 (RUN_TEST_LOOP_c_c): Update call to RUN_TEST_c_c.
22593 (RUN_TEST_cc_c): Take argument string. Call new setup and cleanup
22594 macros.
22595 (RUN_TEST_LOOP_cc_c): Update call to RUN_TEST_cc_c.
22596 (RUN_TEST_f_i): Take argument string. Call new setup and cleanup
22597 macros.
22598 (RUN_TEST_LOOP_f_i): Update call to RUN_TEST_f_i.
22599 (RUN_TEST_f_i_tg): Take argument string. Call new setup and
22600 cleanup macros.
22601 (RUN_TEST_LOOP_f_i_tg): Update call to RUN_TEST_f_i_tg.
22602 (RUN_TEST_ff_i_tg): Take argument string. Call new setup and
22603 cleanup macros.
22604 (RUN_TEST_LOOP_ff_i_tg): Update call to RUN_TEST_ff_i_tg.
22605 (RUN_TEST_f_b): Take argument string. Call new setup and cleanup
22606 macros.
22607 (RUN_TEST_LOOP_f_b): Update call to RUN_TEST_f_b.
22608 (RUN_TEST_f_b_tg): Take argument string. Call new setup and
22609 cleanup macros.
22610 (RUN_TEST_LOOP_f_b_tg): Update call to RUN_TEST_f_b_tg.
22611 (RUN_TEST_f_l): Take argument string. Call new setup and cleanup
22612 macros.
22613 (RUN_TEST_LOOP_f_l): Update call to RUN_TEST_f_l.
22614 (RUN_TEST_f_L): Take argument string. Call new setup and cleanup
22615 macros.
22616 (RUN_TEST_LOOP_f_L): Update call to RUN_TEST_f_L.
22617 (RUN_TEST_fFF_11): Take argument string. Call new setup and
22618 cleanup macros.
22619 (RUN_TEST_LOOP_fFF_11): Update call to RUN_TEST_fFF_11.
22620
85118d4d
EBM
226212013-05-22 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
22622
22623 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add si_addr_lsb
22624 to _sifields.sigfault.
22625 (si_addr_lsb): Define new macro.
22626 (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
22627 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
22628 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: Likewise.
22629
7a44c18f
CD
226302013-05-03 Carlos O'Donell <carlos at redhat.com>
22631
22632 [BZ #15441]
22633 * intl/dcigettext.c (DCIGETTEXT): Skip translating if _nl_find_msg
22634 returns -1.
22635 (_nl_find_msg): Return -1 if recursive call returned -1. If newmem is
22636 null return -1.
22637 * intl/loadmsgcat.c (_nl_load_domain): If _nl_find_msg returns -1 abort
22638 loading the domain.
22639
b50a7181
JM
226402013-05-22 Joseph Myers <joseph@codesourcery.com>
22641
22642 * math/gen-libm-test.pl (parse_args): Do not include expected
22643 result in test name.
22644 * sysdeps/i386/fpu/libm-test-ulps: Update test names.
22645 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
22646 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
22647 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
22648 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
22649 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22650
051063c8
SP
226512013-05-22 Siddhesh Poyarekar <siddhesh@redhat.com>
22652
3ce9e010
SP
22653 * benchtests/Makefile: Sort function entries.
22654
051063c8
SP
22655 * benchtests/Makefile (bench): Add asin, acos, sinh, cosh,
22656 tanh, asinh, acosh, atanh.
22657 * benchtests/acos-inputs: New file.
22658 * benchtests/acosh-inputs: New file.
22659 * benchtests/asin-inputs: New file.
22660 * benchtests/asinh-inputs: New file.
22661 * benchtests/atanh-inputs: New file.
22662 * benchtests/cosh-inputs: New file.
22663 * benchtests/log-inputs: New file.
22664 * benchtests/sinh-inputs: New file.
22665 * benchtests/tanh-inputs: New file.
22666
47c22455
DL
226672013-05-21 Dmitry V. Levin <ldv@altlinux.org>
22668
22669 [BZ #15339]
22670 * posix/tst-getaddrinfo4.c: New test.
22671 * posix/Makefile (tests): Add it.
22672
3d04f5db
SP
226732013-05-21 Siddhesh Poyarekar <siddhesh@redhat.com>
22674
22675 [BZ #15339]
22676 * nss/getXXbyYY_r.c (REENTRANT_NAME): Set NETDB_INTERNAL only
22677 when no services were used.
22678 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set h_errno.
22679 Return EAI_SYSTEM if h_errno is NETDB_INTERNAL.
22680
d5dd6189
AS
226812013-05-21 Andreas Schwab <schwab@suse.de>
22682
22683 [BZ #15014]
22684 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME))
22685 [HANDLE_DIGITS_DOTS]: Set any_service when digits-dots parsing was
22686 successful.
22687 * nss/digits_dots.c (__nss_hostname_digits_dots): Remove
22688 redundant variable declarations and reallocation of buffer when
22689 parsing as IPv6 address. Always set NSS status when called from
22690 reentrant functions. Use NETDB_INTERNAL instead of TRY_AGAIN when
22691 buffer too small. Correct computation of needed size.
22692 * nss/Makefile (tests): Add test-digits-dots.
22693 * nss/test-digits-dots.c: New test.
22694
fef94eab
SP
226952013-05-21 Siddhesh Poyarekar <siddhesh@redhat.com>
22696
22697 * benchtests/Makefile: Remove instructions for adding
22698 benchmark tests.
22699 * benchtests/README: New file to explain how to execute and
22700 enhance the benchmark tests.
22701
e39adf43
AS
227022013-05-21 Andreas Schwab <schwab@suse.de>
22703
22704 [BZ #15493]
22705 * setjmp/Makefile (tests): Add tst-sigsetjmp.
22706 * setjmp/tst-sigsetjmp.c: New test.
22707
b2b671b6
OB
227082013-05-20 Ondřej Bílka <neleai@seznam.cz>
22709
22710 * sysdeps/x86_64/memset.S (memset): New implementation.
22711 (__bzero): Likewise.
22712 (__memset_tail): New function.
22713
2d48b41c
OB
227142013-05-20 Ondřej Bílka <neleai@seznam.cz>
22715
22716 * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: New file.
22717 * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Add
22718 __memcpy_sse2_unaligned ifunc selection.
22719 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
22720 Add memcpy-sse2-unaligned.S.
22721 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
22722 Add: __memcpy_sse2_unaligned.
22723
f16cc3eb
JM
227242013-05-19 Joseph Myers <joseph@codesourcery.com>
22725
3e694268
JM
22726 [BZ #15490]
22727 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
22728 math_force_eval before restoring floating-point envrionment.
22729 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Likewise.
22730 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
22731 Likewise.
22732 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Include
22733 <math_private.h>.
22734 (__nearbyintl): Use math_force_eval before restoring
22735 floating-point environment.
22736 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c (__nearbyintl): Likewise.
22737
db62a907
JM
22738 * math/gen-libm-test.pl (special_functions): Remove.
22739 (parse_args): Don't handle TEST_extra. Handle functions with no
22740 return value.
22741 * math/libm-test.inc (struct test_sincos_data): Replace with
22742 struct test_fFF_11_data.
22743 (RUN_TEST_sincos): Replace with RUN_TEST_fFF_11.
22744 (RUN_TEST_LOOP_sincos): Replace with RUN_TEST_LOOP_fFF_11.
22745 (sincos_test_data): Change element type to struct
22746 test_fFF_11_data. Use TEST_fFF_11 instead of TEST_extra.
22747 (sincos_test): Use RUN_TEST_LOOP_fFF_11 instead of
22748 RUN_TEST_LOOP_sincos.
22749 * math/README.libm-test: Don't mention special handling of
22750 individual functions.
22751 * sysdeps/i386/fpu/libm-test-ulps: Update names of sincos tests.
22752 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
22753 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
22754 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
22755 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
22756 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22757
f16cc3eb
JM
22758 * math/gen-libm-test.pl (get_variable): Remove function.
22759 (parse_args): Don't show pointer parameters to call in test
22760 names. Use "extra output N" in test names for extra outputs
22761 rather than naming variables.
22762
3779b5b6
JM
227632013-05-18 Joseph Myers <joseph@codesourcery.com>
22764
2ee094ff
JM
22765 [BZ #15488]
22766 * math/complex.h [__USE_ISOC11 && __GNUC_PREREQ (4, 7) &&
22767 __NO_LONG_DOUBLE_MATH] (CMPLXL): Define macro.
22768 * math/tst-CMPLX.c (do_test) [NO_LONG_DOUBLE]: Do not disable long
22769 double tests.
22770 * make/tst-CMPLX2.c [NO_LONG_DOUBLE] (check_long_double): Do not
22771 disable.
22772 (do_test) [NO_LONG_DOUBLE]: Do not disable call to
22773 check_long_double.
22774
3779b5b6
JM
22775 * math/gen-libm-test.pl (@tests): Remove variable.
22776 ($count): Likewise.
22777 (new_test): Remove function.
22778 (show_exceptions): New function.
22779 (special_functions): Use show_exceptions instead of new_test.
22780 (parse_args): Likewise.
22781 (generate_testfile): Pass only function name in generated call to
22782 print_max_error or print_complex_max_error.
22783 (get_ulps): Do not handle complex tests specially.
22784 (output_test): Rename to ...
22785 (get_all_ulps_for_test): ... this. Return a string rather than
22786 printing to a file. Require ulps to be present.
22787 (output_ulps): Generate arrays rather than #defines.
22788 * math/libm-test.inc: Move down #include of "libm-test-ulps.h".
22789 (struct ulp_data): New type.
22790 (BUILD_COMPLEX_ULP): Remove macro.
22791 (compare_ulp_data): New function.
22792 (find_ulps): Likewise.
22793 (find_test_ulps): Likewise.
22794 (find_function_ulps): Likewise.
22795 (find_complex_function_ulps): Likewise.
22796 (print_max_error): Determine allowed ulps using
22797 find_function_ulps.
22798 (print_complex_max_error): Determine allowed ulps using
22799 find_complex_function_ulps.
22800 (check_float_internal): Determine max ulps using find_test_ulps.
22801 (check_float): Do not take max_ulp parameter. Update call to
22802 check_float_internal.
22803 (check_complex): Likewise.
22804 (check_int): Do not take max_ulp parameter.
22805 (check_long): Likewise.
22806 (check_bool): Likewise.
22807 (check_longlong): Likewise.
22808 (struct test_f_f_data): Remove max_ulp field.
22809 (struct test_ff_f_data): Likewise.
22810 (struct test_ff_f_data_nexttoward): Likewise.
22811 (struct test_fi_f_data): Likewise.
22812 (struct test_fl_f_data): Likewise.
22813 (struct test_if_f_data): Likewise.
22814 (struct test_fff_f_data): Likewise.
22815 (struct test_c_f_data): Likewise.
22816 (struct test_f_f1_data): Remove max_ulp and extra_ulp fields.
22817 (struct test_fF_f1_data): Likewise.
22818 (struct test_ffI_f1_data): Likewise.
22819 (struct test_c_c_data): Remove max_ulp field.
22820 (struct test_cc_c_data): Likewise.
22821 (struct test_f_i_data): Likewise.
22822 (struct test_ff_i_data): Likewise.
22823 (struct test_f_l_data): Likewise.
22824 (struct test_f_L_data): Likewise.
22825 (struct test_sincos_data): Likewise.
22826 (RUN_TEST_f_f): Do not handle ulps.
22827 (RUN_TEST_LOOP_f_f): Likewise.
22828 (RUN_TEST_2_f): Likewise.
22829 (RUN_TEST_LOOP_2_f): Likewise.
22830 (RUN_TEST_fff_f): Likewise.
22831 (RUN_TEST_LOOP_fff_f): Likewise.
22832 (RUN_TEST_c_f): Likewise.
22833 (RUN_TEST_LOOP_c_f): Likewise.
22834 (RUN_TEST_f_f1): Likewise.
22835 (RUN_TEST_LOOP_f_f1): Likewise.
22836 (RUN_TEST_fF_f1): Likewise.
22837 (RUN_TEST_LOOP_fF_f1): Likewise.
22838 (RUN_TEST_fI_f1): Likewise.
22839 (RUN_TEST_LOOP_fI_f1): Likewise.
22840 (RUN_TEST_ffI_f1): Likewise.
22841 (RUN_TEST_LOOP_ffI_f1): Likewise.
22842 (RUN_TEST_c_c): Likewise.
22843 (RUN_TEST_LOOP_c_c): Likewise.
22844 (RUN_TEST_cc_c): Likewise.
22845 (RUN_TEST_LOOP_cc_c): Likewise.
22846 (RUN_TEST_f_i): Likewise.
22847 (RUN_TEST_LOOP_f_i): Likewise.
22848 (RUN_TEST_f_i_tg): Likewise.
22849 (RUN_TEST_LOOP_f_i_tg): Likewise.
22850 (RUN_TEST_ff_i_tg): Likewise.
22851 (RUN_TEST_LOOP_ff_i_tg): Likewise.
22852 (RUN_TEST_f_b): Likewise.
22853 (RUN_TEST_LOOP_f_b): Likewise.
22854 (RUN_TEST_f_b_tg): Likewise.
22855 (RUN_TEST_LOOP_f_b_tg): Likewise.
22856 (RUN_TEST_f_l): Likewise.
22857 (RUN_TEST_LOOP_f_l): Likewise.
22858 (RUN_TEST_f_L): Likewise.
22859 (RUN_TEST_LOOP_f_L): Likewise.
22860 (RUN_TEST_sincos): Likewise.
22861 (RUN_TEST_LOOP_sincos): Likewise.
22862
8269107f
JM
228632013-05-17 Joseph Myers <joseph@codesourcery.com>
22864
bb38759d
JM
22865 [BZ #15480]
22866 [BZ #15485]
22867 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): For
22868 main case of finite arguments, set rounding mode to FE_TONEAREST
22869 and discard exceptions.
22870 * math/libm-test.inc (remainder_test_data): Disallow "inexact"
22871 exceptions.
22872 (remainder_tonearest_test_data): New variable.
22873 (remainder_test_tonearest): New function.
22874 (remainder_towardzero_test_data): New variable.
22875 (remainder_test_towardzero): New function.
22876 (remainder_downward_test_data): New variable.
22877 (remainder_test_downward): New function.
22878 (remainder_upward_test_data): New variable.
22879 (remainder_test_upward): New function.
22880 (main): Call the new test functions.
22881
a00bdcf0
JM
22882 * math/libm-test.inc (struct test_f_f1_data): Remove field
22883 extra_init.
22884 (struct test_fF_f1_data): Likewise.
22885 (struct test_ffI_f1_data): Likewise.
22886 (RUN_TEST_f_f1): Remove argument EXTRA_INIT. Initialize EXTRA_VAR
22887 based on value of EXTRA_EXPECTED.
22888 (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
22889 (RUN_TEST_fF_f1): Remove argument EXTRA_INIT. Initialize
22890 EXTRA_VAR based on value of EXTRA_EXPECTED.
22891 (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
22892 (RUN_TEST_fI_f1): Remove argument EXTRA_INIT. Initialize
22893 EXTRA_VAR based on value of EXTRA_EXPECTED.
22894 (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
22895 (RUN_TEST_ffI_f1): Remove argument EXTRA_INIT. Initialize
22896 EXTRA_VAR based on value of EXTRA_EXPECTED.
22897 (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
22898 * math/gen-libm-test.pl (parse_args): Don't output initializers
22899 for extra output values.
22900
de407f79
JM
22901 * math/libm-test.inc (check_int): Expect result to be exactly
22902 equal to expected value and do not handle ulps.
22903 (check_long): Likewise.
22904 (check_longlong): Likewise.
22905
8269107f
JM
22906 * math/libm-test.inc (ceil_test_data): Test for "inexact"
22907 exceptions.
22908 (cimag_test_data): Likewise.
22909 (conj_test_data): Likewise.
22910 (copysign_test_data): Likewise.
22911 (cproj_test_data): Likewise.
22912 (creal_test_data): Likewise.
22913 (fabs_test_data): Likewise.
22914 (fdim_test_data): Likewise.
22915 (finite_test_data): Likewise.
22916 (floor_test_data): Likewise.
22917 (fmax_test_data): Likewise.
22918 (fmin_test_data): Likewise.
22919 (fmod_test_data): Likewise.
22920 (fpclassify_test_data): Likewise.
22921 (frexp_test_data): Likewise.
22922 (ilogb_test_data): Likewise.
22923 (isfinite_test_data): Likewise.
22924 (isgreater_test_data): Likewise.
22925 (isgreaterequal_test_data): Likewise.
22926 (isinf_test_data): Likewise.
22927 (isless_test_data): Likewise.
22928 (islessequal_test_data): Likewise.
22929 (islessgreater_test_data): Likewise.
22930 (isnan_test_data): Likewise.
22931 (isnormal_test_data): Likewise.
22932 (issignaling_test_data): Likewise.
22933 (isunordered_test_data): Likewise.
22934 (ldexp_test_data): Likewise.
22935 (lrint_test_data): Likewise.
22936 (lrint_test_data) [TEST_FLOAT]: Disable one test.
22937 (lrint_test_data) [!TEST_LDOUBLE]: Likewise.
22938 (lrint_tonearest_test_data): Test for "inexact" exceptions.
22939 (lrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
22940 (lrint_tonearest_test_data) [!TEST_LDOUBLE]: Likewise.
22941 (lrint_tonearest_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
22942 test input.
22943 (lrint_towardzero_test_data): Test for "inexact" exceptions.
22944 (lrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
22945 (lrint_towardzero_test_data) [!TEST_LDOUBLE]: Likewise.
22946 (lrint_towardzero_test_data) [TEST_LDOUBLE]: Use "L" suffix on
22947 that test input.
22948 (lrint_downward_test_data): Test for "inexact" exceptions.
22949 (lrint_downward_test_data) [TEST_FLOAT]: Disable one test.
22950 (lrint_downward_test_data) [!TEST_LDOUBLE]: Likewise.
22951 (lrint_downward_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
22952 test input.
22953 (lrint_upward_test_data): Test for "inexact" exceptions.
22954 (lrint_upward_test_data) [TEST_LDOUBLE]: Use "L" suffix on one
22955 test input.
22956 (llrint_test_data): Test for "inexact" exceptions.
22957 (llrint_test_data) [TEST_FLOAT]: Disable one test.
22958 (llrint_tonearest_test_data): Test for "inexact" exceptions.
22959 (llrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
22960 (llrint_towardzero_test_data): Test for "inexact" exceptions.
22961 (llrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
22962 (llrint_downward_test_data): Test for "inexact" exceptions.
22963 (llrint_downward_test_data) [TEST_FLOAT]: Disable one test.
22964 (llrint_upward_test_data): Test for "inexact" exceptions.
22965 (logb_test_data): Likewise.
22966 (logb_downward_test_data): Likewise.
22967 (nextafter_test_data): Likewise.
22968 (nexttoward_test_data): Likewise.
22969 (remainder_test_data): Likewise.
22970 (remquo_test_data): Likewise.
22971 (scalbn_test_data): Likewise.
22972 (scalbln_test_data): Likewise.
22973 (signbit_test_data): Likewise.
22974 (sqrt_test_data): Likewise.
22975 (significand_test_data): Likewise.
22976
48a18de1
SP
229772013-05-17 Siddhesh Poyarekar <siddhesh@redhat.com>
22978
22979 [BZ #15424]
22980 * benchtests/bench-modf.c (struct args): Mark arg0 as
22981 volatile.
22982 * scripts/bench.pl: Mark members of struct args as volatile.
22983
13d3b41a
AZ
229842013-05-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22985
68191c1d 22986 [BZ # 15497]
13d3b41a
AZ
22987 * sysdeps/powerpc/fpu/e_hypot.c (GET_TWO_FLOAT_WORD): Fix test for
22988 negative infinity on POWER6 or lower.
22989 * sysdeps/powerpc/fpu/e_hypotf.c (GET_TWO_FLOAT_WORD): Likewise.
22990
2848b105
MR
229912013-05-16 Maciej W. Rozycki <macro@codesourcery.com>
22992
22993 [BZ #15442]
22994 * soft-fp/op-common.h (_FP_FRAC_SNANP): New macro.
22995 (_FP_FRAC_SNANP_SEMIRAW): Likewise.
22996 (_FP_UNPACK_CANONICAL): Use _FP_FRAC_SNANP.
22997 (_FP_CHECK_SIGNAN_SEMIRAW): Use _FP_FRAC_SNANP_SEMIRAW.
22998 (_FP_SETQNAN): New macro.
22999 (_FP_SETQNAN_SEMIRAW): Likewise.
23000 (_FP_PACK_SEMIRAW): Use _FP_SETQNAN.
23001 (_FP_PACK_CANONICAL): Use _FP_SETQNAN.
23002 (_FP_ISSIGNAN): Use _FP_FRAC_SNANP.
23003 (FP_EXTEND): Use _FP_FRAC_SNANP.
23004 (FP_TRUNC): Use _FP_SETQNAN_SEMIRAW.
23005 * soft-fp/testit.c (gen_special_double): Take _FP_QNANNEGATEDP
23006 into account.
23007 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
23008 New macro.
23009 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
23010 Likewise.
23011
323e5cb7
JM
230122013-05-16 Joseph Myers <joseph@codesourcery.com>
23013
c58b274f
JM
23014 * math/libm-test.inc (atanh_test_data): Use ERRNO_ERANGE together
23015 with DIVIDE_BY_ZERO_EXCEPTION.
23016 (gamma_test_data): Likewise.
23017 (lgamma_test_data): Likewise.
23018 (log_test_data): Likewise.
23019 (log10_test_data): Likewise.
23020 (log2_test_data): Likewise.
23021 (tgamma_test_data): Likewise.
23022
0ab34904
JM
23023 * math/libm-test.inc (acos_test): Don't test for ENOSYS error.
23024 (acos_test_tonearest): Likewise.
23025 (acos_test_towardzero): Likewise.
23026 (acos_test_downward): Likewise.
23027 (acos_test_upward): Likewise.
23028 (acosh_test): Likewise.
23029 (asin_test): Likewise.
23030 (asin_test_tonearest): Likewise.
23031 (asin_test_towardzero): Likewise.
23032 (asin_test_downward): Likewise.
23033 (asin_test_upward): Likewise.
23034 (asinh_test): Likewise.
23035 (atan_test): Likewise.
23036 (atanh_test): Likewise.
23037 (atan2_test): Likewise.
23038 (cabs_test): Likewise.
23039 (cacos_test): Likewise.
23040 (cacosh_test): Likewise.
23041 (casin_test): Likewise.
23042 (casinh_test): Likewise.
23043 (catan_test): Likewise.
23044 (catanh_test): Likewise.
23045 (cbrt_test): Likewise.
23046 (ccos_test): Likewise.
23047 (ccosh_test): Likewise.
23048 (cexp_test): Likewise.
23049 (clog_test): Likewise.
23050 (clog10_test): Likewise.
23051 (cos_test): Likewise.
23052 (cos_test_tonearest): Likewise.
23053 (cos_test_towardzero): Likewise.
23054 (cos_test_downward): Likewise.
23055 (cos_test_upward): Likewise.
23056 (cosh_test): Likewise.
23057 (cosh_test_tonearest): Likewise.
23058 (cosh_test_towardzero): Likewise.
23059 (cosh_test_downward): Likewise.
23060 (cosh_test_upward): Likewise.
23061 (cpow_test): Likewise.
23062 (csin_test): Likewise.
23063 (csinh_test): Likewise.
23064 (csqrt_test): Likewise.
23065 (ctan_test): Likewise.
23066 (ctan_test_tonearest): Likewise.
23067 (ctan_test_towardzero): Likewise.
23068 (ctan_test_downward): Likewise.
23069 (ctan_test_upward): Likewise.
23070 (ctanh_test): Likewise.
23071 (ctanh_test_tonearest): Likewise.
23072 (ctanh_test_towardzero): Likewise.
23073 (ctanh_test_downward): Likewise.
23074 (ctanh_test_upward): Likewise.
23075 (erf_test): Likewise.
23076 (erfc_test): Likewise.
23077 (exp_test): Likewise.
23078 (exp_test_tonearest): Likewise.
23079 (exp_test_towardzero): Likewise.
23080 (exp_test_downward): Likewise.
23081 (exp_test_upward): Likewise.
23082 (exp10_test): Likewise.
23083 (exp2_test): Likewise.
23084 (expm1_test): Likewise.
23085 (fmod_test): Likewise.
23086 (gamma_test): Likewise.
23087 (hypot_test): Likewise.
23088 (j0_test): Likewise.
23089 (j1_test): Likewise.
23090 (jn_test): Likewise.
23091 (lgamma_test): Likewise.
23092 (log_test): Likewise.
23093 (log10_test): Likewise.
23094 (log1p_test): Likewise.
23095 (log2_test): Likewise.
23096 (logb_test_downward): Likewise.
23097 (pow_test): Likewise.
23098 (pow_test_tonearest): Likewise.
23099 (pow_test_towardzero): Likewise.
23100 (pow_test_downward): Likewise.
23101 (pow_test_upward): Likewise.
23102 (remainder_test): Likewise.
23103 (remquo_test): Likewise.
23104 (sin_test): Likewise.
23105 (sin_test_tonearest): Likewise.
23106 (sin_test_towardzero): Likewise.
23107 (sin_test_downward): Likewise.
23108 (sin_test_upward): Likewise.
23109 (sincos_test): Likewise.
23110 (sinh_test): Likewise.
23111 (sinh_test_tonearest): Likewise.
23112 (sinh_test_towardzero): Likewise.
23113 (sinh_test_downward): Likewise.
23114 (sinh_test_upward): Likewise.
23115 (sqrt_test): Likewise.
23116 (tan_test): Likewise.
23117 (tan_test_tonearest): Likewise.
23118 (tan_test_towardzero): Likewise.
23119 (tan_test_downward): Likewise.
23120 (tan_test_upward): Likewise.
23121 (tanh_test): Likewise.
23122 (tgamma_test): Likewise.
23123 (y0_test): Likewise.
23124 (y1_test): Likewise.
23125 (yn_test): Likewise.
23126
323e5cb7
JM
23127 * math/gen-libm-test.pl (adjust_arg): Remove function.
23128 (special_function): Remove argument $in_func. Only handle
23129 generating output for tables of tests, not inside functions.
23130 (parse_args): Likewise.
23131 (generate_testfile): Remove variable $in_func. Update call to
23132 parse_args.
23133 * math/libm-test.inc (PLUS_ZERO_INIT): Rename macro to plus_zero.
23134 (MINUS_ZERO_INIT): Rename macro to minus_zero.
23135 (PLUS_INFTY_INIT): Rename macro to plus_infty.
23136 (MINUS_INFTY_INIT): Rename macro to minus_infty.
23137 (QNAN_VALUE_INIT): Rename macro to qnan_value.
23138 (MAX_VALUE_INIT): Rename macro to max_value.
23139 (MIN_VALUE_INIT): Rename macro to min_value.
23140 (MIN_SUBNORM_VALUE_INIT): Rename macro to min_subnorm_value.
23141 (plus_zero): Remove variable.
23142 (minus_zero): Likewise.
23143 (plus_infty): Likewise.
23144 (minus_infty): Likewise.
23145 (qnan_value): Likewise.
23146 (max_value): Likewise.
23147 (min_value): Likewise.
23148 (min_subnorm_value): Likewise.
23149
e054f494
RA
231502013-05-16 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
23151
23152 * crypt/sha512-block.c: Add missing #include <stdint.h> due to
23153 uint64_t or uint32_t usage.
23154 * crypt/sha256-block.c: Likewise.
23155 * crypt/sha256-crypt.c: Likewise.
23156 * crypt/sha256.c: Likewise.
23157 * crypt/sha512-block.c: Likewise.
23158 * crypt/sha512-crypt.c: Likewise.
23159 * crypt/sha512.c: Likewise.
23160 * debug/backtrace-tst.c: Likewise.
23161 * debug/pcprofiledump.c: Likewise.
23162 * elf/cache.c: Likewise.
23163 * elf/dl-cache.c: Likewise.
23164 * elf/dl-misc.c: Likewise.
23165 * elf/dl-profile.c: Likewise.
23166 * elf/dl-support.c: Likewise.
23167 * elf/ldconfig.c: Likewise.
23168 * elf/sprof.c: Likewise.
23169 * iconv/dummy-repertoire.c: Likewise.
23170 * iconv/iconv_charmap.c: Likewise.
23171 * iconv/skeleton.c: Likewise.
23172 * iconvdata/8bit-generic.c: Likewise.
23173 * iconvdata/cp737.h: Likewise.
23174 * iconvdata/cp775.h: Likewise.
23175 * iconvdata/ibm1008.h: Likewise.
23176 * iconvdata/ibm1025.h: Likewise.
23177 * iconvdata/ibm1046.h: Likewise.
23178 * iconvdata/ibm1097.h: Likewise.
23179 * iconvdata/ibm1112.h: Likewise.
23180 * iconvdata/ibm1122.h: Likewise.
23181 * iconvdata/ibm1123.h: Likewise.
23182 * iconvdata/ibm1124.h: Likewise.
23183 * iconvdata/ibm1129.h: Likewise.
23184 * iconvdata/ibm1130.h: Likewise.
23185 * iconvdata/ibm1132.h: Likewise.
23186 * iconvdata/ibm1133.h: Likewise.
23187 * iconvdata/ibm1137.h: Likewise.
23188 * iconvdata/ibm1140.h: Likewise.
23189 * iconvdata/ibm1141.h: Likewise.
23190 * iconvdata/ibm1142.h: Likewise.
23191 * iconvdata/ibm1143.h: Likewise.
23192 * iconvdata/ibm1144.h: Likewise.
23193 * iconvdata/ibm1145.h: Likewise.
23194 * iconvdata/ibm1146.h: Likewise.
23195 * iconvdata/ibm1147.h: Likewise.
23196 * iconvdata/ibm1148.h: Likewise.
23197 * iconvdata/ibm1149.h: Likewise.
23198 * iconvdata/ibm1153.h: Likewise.
23199 * iconvdata/ibm1154.h: Likewise.
23200 * iconvdata/ibm1155.h: Likewise.
23201 * iconvdata/ibm1156.h: Likewise.
23202 * iconvdata/ibm1157.h: Likewise.
23203 * iconvdata/ibm1158.h: Likewise.
23204 * iconvdata/ibm1160.h: Likewise.
23205 * iconvdata/ibm1161.h: Likewise.
23206 * iconvdata/ibm1162.h: Likewise.
23207 * iconvdata/ibm1163.h: Likewise.
23208 * iconvdata/ibm1164.h: Likewise.
23209 * iconvdata/ibm1166.h: Likewise.
23210 * iconvdata/ibm1167.h: Likewise.
23211 * iconvdata/ibm12712.h: Likewise.
23212 * iconvdata/ibm1390.h: Likewise.
23213 * iconvdata/ibm1399.h: Likewise.
23214 * iconvdata/ibm16804.h: Likewise.
23215 * iconvdata/ibm4517.h: Likewise.
23216 * iconvdata/ibm4899.h: Likewise.
23217 * iconvdata/ibm4909.h: Likewise.
23218 * iconvdata/ibm4971.h: Likewise.
23219 * iconvdata/ibm5347.h: Likewise.
23220 * iconvdata/ibm803.h: Likewise.
23221 * iconvdata/ibm856.h: Likewise.
23222 * iconvdata/ibm901.h: Likewise.
23223 * iconvdata/ibm902.h: Likewise.
23224 * iconvdata/ibm9030.h: Likewise.
23225 * iconvdata/ibm9066.h: Likewise.
23226 * iconvdata/ibm921.h: Likewise.
23227 * iconvdata/ibm922.h: Likewise.
23228 * iconvdata/ibm9448.h: Likewise.
23229 * iconvdata/isiri-3342.h: Likewise.
23230 * iconvdata/jis0201.h: Likewise.
23231 * include/link.h: Likewise.
23232 * include/netdb.h: Likewise.
23233 * inet/check_native.c: Likewise.
23234 * inet/check_pf.c: Likewise.
23235 * inet/getipv4sourcefilter.c: Likewise.
23236 * inet/getnameinfo.c: Likewise.
23237 * inet/getsourcefilter.c: Likewise.
23238 * inet/htonl.c: Likewise.
23239 * inet/setipv4sourcefilter.c: Likewise.
23240 * inet/setsourcefilter.c: Likewise.
23241 * inet/test-inet6_opt.c: Likewise.
23242 * inet/tst-network.c: Likewise.
23243 * locale/C-collate.c: Likewise.
23244 * locale/C-ctype.c: Likewise.
23245 * locale/C-time.c: Likewise.
23246 * locale/C-translit.h: Likewise.
23247 * locale/loadarchive.c: Likewise.
23248 * locale/programs/3level.h: Likewise.
23249 * locale/programs/charmap.c: Likewise.
23250 * locale/programs/charmap.h: Likewise.
23251 * locale/programs/ld-address.c: Likewise.
23252 * locale/programs/ld-collate.c: Likewise.
23253 * locale/programs/ld-ctype.c: Likewise.
23254 * locale/programs/ld-identification.c: Likewise.
23255 * locale/programs/ld-measurement.c: Likewise.
23256 * locale/programs/ld-messages.c: Likewise.
23257 * locale/programs/ld-monetary.c: Likewise.
23258 * locale/programs/ld-name.c: Likewise.
23259 * locale/programs/ld-numeric.c: Likewise.
23260 * locale/programs/ld-paper.c: Likewise.
23261 * locale/programs/ld-telephone.c: Likewise.
23262 * locale/programs/ld-time.c: Likewise.
23263 * locale/programs/linereader.c: Likewise.
23264 * locale/programs/locale.c: Likewise.
23265 * locale/programs/locarchive.c: Likewise.
23266 * locale/programs/locfile.h: Likewise.
23267 * locale/programs/repertoire.c: Likewise.
23268 * locale/programs/simple-hash.c: Likewise.
23269 * locale/programs/simple-hash.h: Likewise.
23270 * malloc/memusage.c: Likewise.
23271 * malloc/memusagestat.c: Likewise.
23272 * nis/nis_defaults.c: Likewise.
23273 * nis/nis_hash.c: Likewise.
23274 * nis/nis_print.c: Likewise.
23275 * nis/nis_xdr.c: Likewise.
23276 * nscd/connections.c: Likewise.
23277 * nscd/hstcache.c: Likewise.
23278 * nscd/nscd_gethst_r.c: Likewise.
23279 * nscd/nscd_getserv_r.c: Likewise.
23280 * nscd/nscd_helper.c: Likewise.
23281 * nscd/servicescache.c: Likewise.
23282 * nss/makedb.c: Likewise.
23283 * nss/nss_db/db-XXX.c: Likewise.
23284 * nss/nss_db/db-initgroups.c: Likewise.
23285 * nss/nss_db/db-netgrp.c: Likewise.
23286 * nss/nss_files/files-network.c: Likewise.
23287 * nss/nss_files/files-parse.c: Likewise.
23288 * posix/bug-regex5.c: Likewise.
23289 * posix/fnmatch_loop.c: Likewise.
23290 * posix/regcomp.c: Likewise.
23291 * posix/regexec.c: Likewise.
23292 * posix/tst-rfc3484-2.c: Likewise.
23293 * posix/tst-rfc3484-3.c: Likewise.
23294 * posix/tst-rfc3484.c: Likewise.
23295 * resolv/nss_dns/dns-canon.c: Likewise.
23296 * resolv/nss_dns/dns-network.c: Likewise.
23297 * resolv/res_init.c: Likewise.
23298 * resolv/res_mkquery.c: Likewise.
23299 * resolv/tst-aton.c: Likewise.
23300 * stdlib/cxa_atexit.c: Likewise.
23301 * stdlib/cxa_finalize.c: Likewise.
23302 * stdlib/gen-fpioconst.c: Likewise.
23303 * stdlib/strtol_l.c: Likewise.
23304 * string/tst-endian.c: Likewise.
23305 * sunrpc/auth_des.c: Likewise.
23306 * sunrpc/clnt_udp.c: Likewise.
23307 * sunrpc/rtime.c: Likewise.
23308 * sunrpc/svcauth_des.c: Likewise.
23309 * sunrpc/xdr.c: Likewise.
23310 * sunrpc/xdr_intXX_t.c: Likewise.
23311 * sunrpc/xdr_rec.c: Likewise.
23312 * sysdeps/generic/ldconfig.h: Likewise.
23313 * sysdeps/generic/ldsodefs.h: Likewise.
23314 * sysdeps/generic/memusage.h: Likewise.
23315 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
23316 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: Likewise.
23317 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Likewise.
23318 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
23319 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
23320 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
23321 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
23322 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
23323 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
23324 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
23325 * sysdeps/posix/getaddrinfo.c: Likewise.
23326 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
23327 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
23328 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
23329 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
23330 * sysdeps/powerpc/test-gettimebase.c: Likewise.
23331 * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
23332 * sysdeps/unix/sysv/linux/getipv4sourcefilter.c: Likewise.
23333 * sysdeps/unix/sysv/linux/getsourcefilter.c: Likewise.
23334 * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
23335 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: Likewise.
23336 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
23337 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
23338 * sysdeps/unix/sysv/linux/setipv4sourcefilter.c: Likewise.
23339 * sysdeps/unix/sysv/linux/setsourcefilter.c: Likewise.
23340 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: Likewise.
23341 * sysdeps/x86_64/dl-tls.h: Likewise.
23342 * sysdeps/x86_64/dl-tlsdesc.h: Likewise.
23343 * time/alt_digit.c: Likewise.
23344 * time/era.c: Likewise.
23345 * wcsmbs/tst-c16c32-1.c: Likewise.
23346
8c75f674
JM
233472013-05-16 Joseph Myers <joseph@codesourcery.com>
23348
23349 * math/libm-test.inc (struct test_sincos_data): New type.
23350 (RUN_TEST_LOOP_sincos): New macro.
23351 (sincos_test_data): New variable.
23352 (sincos_test): Run tests with RUN_TEST_LOOP_sincos.
23353
e6e49e59
RH
233542013-05-16 Richard Henderson <rth@redhat.com>
23355
23356 * math/atest-exp2.c (LIMB64): New macro.
23357 (CONSTSZ): New macro.
23358 (mp_exp1, mp_exp_m1, mp_log2): New variables.
23359 (hexdig): Move ...
23360 (print_mpn_fp): ... to function scope.
23361 (read_mpn_hex): Remove.
23362 (get_log2): Remove.
23363 (exp2_mpn): Use mp_log2.
23364 (main): Use mp_exp1.
23365
15c7c18d
JM
233662013-05-16 Joseph Myers <joseph@codesourcery.com>
23367
105a07df
JM
23368 * math/libm-test.inc: Remove comment about not testing "inexact"
23369 exceptions.
23370 (INEXACT_EXCEPTION): New macro.
23371 (NO_INEXACT_EXCEPTION): Likewise.
23372 (INVALID_EXCEPTION_OK): Update value.
23373 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
23374 (OVERFLOW_EXCEPTION_OK): Likewise.
23375 (UNDERFLOW_EXCEPTION_OK): Likewise.
23376 (IGNORE_ZERO_INF_SIGN): Likewise.
23377 (ERRNO_UNCHANGED): Likewise.
23378 (ERRNO_EDOM): Likewise.
23379 (ERRNO_ERANGE): Likewise.
23380 (test_exceptions): Handle testing "inexact" exceptions.
23381 (nearbyint_test_data): Use NO_INEXACT_EXCEPTION on all tests.
23382 (rint_test_data): Use NO_INEXACT_EXCEPTION and INEXACT_EXCEPTION.
23383 (rint_test_data) [LDBL_MANT_DIG <= 100]: Disable some tests.
23384 (rint_tonearest_test_data): Use NO_INEXACT_EXCEPTION and
23385 INEXACT_EXCEPTION.
23386 (rint_towardzero_test_data): Likewise.
23387 (rint_downward_test_data): Likewise.
23388 (rint_upward_test_data): Likewise.
23389
e9eee333
JM
23390 * math/libm-test.inc (exp_test_data): Use ERRNO_ERANGE together
23391 with OVERFLOW_EXCEPTION.
23392 (exp10_test_data): Likewise.
23393 (exp2_test_data): Likewise.
23394 (expm1_test_data): Likewise.
23395 (lgamma_test_data): Likewise.
23396 (pow_test_data): Likewise.
23397 (tgamma_test_data): Likewise.
23398 (yn_test_data): Remove duplicate test of overflow.
23399
1c38ff73
JM
23400 * math/libm-test.inc (struct test_cc_c_data): New type.
23401 (RUN_TEST_LOOP_cc_c): New macro.
23402 (cpow_test_data): New variable.
23403 (cpow_test): Run tests with RUN_TEST_LOOP_cc_c.
23404
15c7c18d
JM
23405 * math/libm-test.inc (struct test_f_L_data): New type.
23406 (RUN_TEST_LOOP_f_L): New macro.
23407 (llrint_test_data): New variable.
23408 (llrint_test): Run tests with RUN_TEST_LOOP_f_L.
23409 (llrint_tonearest_test_data): New variable.
23410 (llrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_L.
23411 (llrint_towardzero_test_data): New variable.
23412 (llrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_L.
23413 (llrint_downward_test_data): New variable.
23414 (llrint_test_downward): Run tests with RUN_TEST_LOOP_f_L.
23415 (llrint_upward_test_data): New variable.
23416 (llrint_test_upward): Run tests with RUN_TEST_LOOP_f_L.
23417 (llround_test_data): New variable.
23418 (llround_test): Run tests with RUN_TEST_LOOP_f_L.
23419
f137ff13
PC
234202013-05-13 Peter Collingbourne <pcc@google.com>
23421
23422 * math/atest-exp2.c (get_log2): Remove const attribute.
23423
3608cb24
JM
234242013-05-15 Joseph Myers <joseph@codesourcery.com>
23425
23426 * math/libm-test.inc (struct test_f_l_data): New type.
23427 (RUN_TEST_LOOP_f_l): New macro.
23428 (lrint_test_data): New variable.
23429 (lrint_test): Run tests with RUN_TEST_LOOP_f_l.
23430 (lrint_tonearest_test_data): New variable.
23431 (lrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_l.
23432 (lrint_towardzero_test_data): New variable.
23433 (lrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_l.
23434 (lrint_downward_test_data): New variable.
23435 (lrint_test_downward): Run tests with RUN_TEST_LOOP_f_l.
23436 (lrint_upward_test_data): New variable.
23437 (lrint_test_upward): Run tests with RUN_TEST_LOOP_f_l.
23438 (lround_test_data): New variable.
23439 (lround_test): Run tests with RUN_TEST_LOOP_f_l.
23440
39b1f617
PC
234412013-05-15 Peter Collingbourne <pcc@google.com>
23442
1deff3dc
PC
23443 * sysdeps/x86_64/fpu/math_private.h (MOVQ): New macro.
23444 (EXTRACT_WORDS64) Use where appropriate.
23445 (INSERT_WORDS64) Likewise.
23446
791f3ba0
PC
23447 * sysdeps/x86_64/fpu/multiarch/s_fma.c (__fma_fma4): Replace xm
23448 constraints with x constraints.
23449 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c (__fmaf_fma4): Likewise.
23450
39b1f617
PC
23451 * malloc/obstack.c (_obstack_compat): Add initializer.
23452
12fba011
EM
234532013-05-15 Edjunior Machado <emachado@linux.vnet.ibm.com>
23454
23455 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Remove
23456 si_trapno and add si_addr_lsb to _sifields.sigfault.
23457 (si_trapno): Remove macro.
23458 (si_addr_lsb): Define new macro.
23459 (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
23460
d369f531
JM
234612013-05-15 Joseph Myers <joseph@codesourcery.com>
23462
b861c6c4
JM
23463 * math/libm-test.inc (llrint_test): Consistently use TEST_f_L
23464 instead of TEST_f_l.
23465 (llrint_test_tonearest): Likewise.
23466 (llrint_test_towardzero): Likewise.
23467 (llrint_test_downward): Likewise.
23468 (llrint_test_upward): Likewise.
23469 (llround_test): Likewise.
23470
7abeee12
JM
23471 * math/libm-test.inc (struct test_f_i_data): Add comment.
23472 (RUN_TEST_LOOP_f_b): New macro.
23473 (RUN_TEST_LOOP_f_b_tg): Likewise.
23474 (finite_test_data): New variable.
23475 (finite_test): Run tests with RUN_TEST_LOOP_f_b.
23476 (isfinite_test_data): New variable.
23477 (isfinite_test): Run tests with RUN_TEST_LOOP_f_b_tg.
23478 (isinf_test_data): New variable.
23479 (isinf_test): Run tests with RUN_TEST_LOOP_f_b_tg.
23480 (isnan_test_data): New variable.
23481 (isnan_test): Run tests with RUN_TEST_LOOP_f_b_tg.
23482 (isnormal_test_data): New variable.
23483 (isnormal_test): Run tests with RUN_TEST_LOOP_f_b_tg.
23484 (issignaling_test_data): New variable.
23485 (issignaling_test): Run tests with RUN_TEST_LOOP_f_b_tg.
23486 (signbit_test_data): New variable.
23487 (signbit_test): Run tests with RUN_TEST_LOOP_f_b_tg.
23488
cbe8c4d3
JM
23489 * math/libm-test.inc (acos_test_data): Use ERRNO_EDOM together
23490 with INVALID_EXCEPTION.
23491 (acosh_test_data): Likewise.
23492 (asin_test_data): Likewise.
23493 (atanh_test_data): Likewise.
23494 (fmod_test_data): Likewise.
23495 (log_test_data): Likewise.
23496 (log10_test_data): Likewise.
23497 (log2_test_data): Likewise.
23498 (pow_test_data): Likewise.
23499 (sqrt_test_data): Likewise.
23500 (y0_test_data): Likewise.
23501 (y1_test_data): Likewise.
23502 (yn_test_data): Likewise.
23503
5575c0e5
JM
23504 * math/libm-test.inc (test_single_errno) [TEST_INLINE]: Disable
23505 function contents.
23506
d369f531
JM
23507 * math/libm-test.inc (struct test_ff_i_data): New type.
23508 (RUN_TEST_LOOP_ff_i_tg): New macro.
23509 (isgreater_test_data): New variable.
23510 (isgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
23511 (isgreaterequal_test_data): New variable.
23512 (isgreaterequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
23513 (isless_test_data): New variable.
23514 (isless_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
23515 (islessequal_test_data): New variable.
23516 (islessequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
23517 (islessgreater_test_data): New variable.
23518 (islessgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
23519 (isunordered_test_data): New variable.
23520 (isunordered_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
23521
781fd748
DM
235222013-05-14 David S. Miller <davem@davemloft.net>
23523
23524 * sysdeps/sparc/fpu/libm-test-ulps: Update.
23525
87aa21df
JM
235262013-05-14 Joseph Myers <joseph@codesourcery.com>
23527
5e908270
JM
23528 * math/libm-test.inc (RUN_TEST_LOOP_2_f): Fix whitespace.
23529
f71172e5
JM
23530 * math/libm-test.inc (struct test_fF_f1_data): Change type of
23531 extra_test to int.
23532 (struct test_f_i_data): Change type of max_ulp to int.
23533
8cfa635a
JM
23534 * math/libm-test.inc (test_ffI_f1_data): New type.
23535 (RUN_TEST_LOOP_ffI_f1): New macro.
23536 (remquo_test_data): New variable.
23537 (remquo_test): Run tests with RUN_TEST_LOOP_ffI_f1.
23538
2bcb36b2
JM
23539 * setjmp/tst-setjmp-fp.c: New file.
23540 * setjmp/Makefile (tests): Add tst-setjmp-fp.
23541 (link-libm): New variable.
23542 ($(objpfx)tst-setjmp-fp): Depend on $(link-libm).
23543
acbd839a
JM
23544 * math/libm-test.inc (struct test_f_i_data): New type.
23545 (RUN_TEST_LOOP_f_i): New macro.
23546 (RUN_TEST_LOOP_f_i_tg): Likewise.
23547 (fpclassify_test_data): New variable.
23548 (fpclassify_test): Run tests with RUN_TEST_LOOP_f_i_tg.
23549 (ilogb_test_data): New variable.
23550 (ilogb_test): Run tests with RUN_TEST_LOOP_f_i.
23551
e414d745
JM
23552 * math/libm-test.inc (scalbln_test): Correct function name in END
23553 call.
23554
d9c2a0fd
JM
23555 * math/libm-test.inc (struct test_f_f1_data): Add comment.
23556 (RUN_TEST_LOOP_fI_f1): New macro.
23557 (frexp_test_data): New variable.
23558 (frexp_test): Run tests with RUN_TEST_LOOP_fI_f1.
23559
9dc9095d
JM
23560 * math/libm-test.inc (struct test_fF_f1_data): New type.
23561 (RUN_TEST_LOOP_fF_f1): New macro.
23562 (modf_test_data): New variable.
23563 (modf_test): Run tests with RUN_TEST_LOOP_fF_f1.
23564
87aa21df
JM
23565 * math/libm-test.inc (struct test_f_f1_data): New type.
23566 (RUN_TEST_LOOP_f_f1): New macro.
23567 (gamma_test_data): New variable.
23568 (gamma_test): Run tests with RUN_TEST_LOOP_f_f1.
23569 (lgamma_test_data): New variable.
23570 (lgamma_test): Run tests with RUN_TEST_LOOP_f_f1.
23571
141af660
CD
235722013-05-13 Carlos O'Donell <carlos@redhat.com>
23573
23574 * elf/dl-hwcaps.c (_dl_important_hwcaps): Comment vDSO hwcap loading.
23575 * elf/ldconfig.c (is_hwcap_platform): Comment each hwcap check.
23576 (main): Comment "tls" pseudo-hwcap.
23577
6d33265c
JM
235782013-05-13 Joseph Myers <joseph@codesourcery.com>
23579
68fc074c
JM
23580 * math/libm-test.inc (struct test_fl_f_data): New type.
23581 (RUN_TEST_LOOP_fl_f): New variable.
23582 (scalbln_test_data): New variable.
23583 (scalbln_test): Run tests with RUN_TEST_LOOP_fl_f.
23584
243216e1
JM
23585 * math/libm-test.inc (struct test_fi_f_data): New type.
23586 (RUN_TEST_LOOP_fi_f): New macro.
23587 (ldexp_test_data): New variable.
23588 (ldexp_test): Run tests with RUN_TEST_LOOP_fi_f.
23589 (scalbn_test_data): New variable.
23590 (scalbn_test): Run tests with RUN_TEST_LOOP_fi_f.
23591
6a1992e2
JM
23592 * math/libm-test.inc (struct test_c_f_data): New type.
23593 (RUN_TEST_LOOP_c_f): New macro.
23594 (cabs_test_data): New variable.
23595 (cabs_test): Run tests with RUN_TEST_LOOP_c_f.
23596 (carg_test_data): New variable.
23597 (carg_test): Run tests with RUN_TEST_LOOP_c_f.
23598 (cimag_test_data): New variable.
23599 (cimag_test): Run tests with RUN_TEST_LOOP_c_f.
23600 (creal_test_data): New variable.
23601 (creal_test): Run tests with RUN_TEST_LOOP_c_f.
23602
0e400df5
JM
23603 * math/libm-test.inc (struct test_if_f_data): New type.
23604 (RUN_TEST_LOOP_if_f): New macro.
23605 (jn_test_data): New variable.
23606 (jn_test): Run tests with RUN_TEST_LOOP_if_f.
23607 (yn_test_data): New variable.
23608 (yn_test): Run tests with RUN_TEST_LOOP_if_f.
23609
6d33265c
JM
23610 * math/libm-test.inc (scalbln_test): Consistently use TEST_fl_f.
23611
f98ece5f
AZ
236122013-05-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23613
23614 * math/libm-test.inc (M_1_DIV_El): Define using decimal constant.
23615 (log_test_data): Use M_1_DIV_El instead of 1.0 / M_El.
23616
0f7d347b
SP
236172013-05-13 Siddhesh Poyarekar <siddhesh@redhat.com>
23618
43fe811b
SP
23619 * benchtests/Makefile (CPPFLAGS-nonlib): Add
23620 -DUSE_CLOCK_GETTIME if USE_CLOCK_GETTIME is defined.
23621 (bench-deps): Add bench-timing.h.
23622 * benchtests-bench-skeleton.c: Include bench-timing.h.
23623 (main): Use TIMING_* macros instead of clock_gettime.
23624 * benchtests/bench-timing.h: New file.
23625
0f7d347b
SP
23626 [BZ #14582]
23627 * sysdeps/ieee754/s_lib_version.c (_LIB_VERSION_INTERNAL):
23628 Renamed from _LIB_VERSION.
23629 (_LIB_VERSION): Set as weak alias of _LIB_VERSION_INTERNAL.
23630
601a3a5f
JM
236312013-05-12 Joseph Myers <joseph@codesourcery.com>
23632
4f184d30
JM
23633 * math/libm-test.inc (struct test_fff_f_data): New type.
23634 (RUN_TEST_LOOP_fff_f): New macro.
23635 (fma_test_data): New variable.
23636 (fma_test): Run tests with RUN_TEST_LOOP_fff_f.
23637 (fma_towardzero_test_data): New variable.
23638 (fma_test_towardzero): Run tests with RUN_TEST_LOOP_fff_f.
23639 (fma_downward_test_data): New variable.
23640 (fma_test_downward): Run tests with RUN_TEST_LOOP_fff_f.
23641 (fma_upward_test_data): New variable.
23642 (fma_test_upward): Run tests with RUN_TEST_LOOP_fff_f.
23643
08198877
JM
23644 * math/libm-test.inc (BUILD_COMPLEX_ULP): New macro.
23645 (struct test_c_c_data): New type.
23646 (RUN_TEST_LOOP_c_c): New macro.
23647 (cacos_test_data): New variable.
23648 (cacos_test): Run tests with RUN_TEST_LOOP_c_c.
23649 (cacosh_test_data): New variable.
23650 (cacosh_test): Run tests with RUN_TEST_LOOP_c_c.
23651 (casin_test_data): New variable.
23652 (casin_test): Run tests with RUN_TEST_LOOP_c_c.
23653 (casinh_test_data): New variable.
23654 (casinh_test): Run tests with RUN_TEST_LOOP_c_c.
23655 (catan_test_data): New variable.
23656 (catan_test): Run tests with RUN_TEST_LOOP_c_c.
23657 (catanh_test_data): New variable.
23658 (catanh_test): Run tests with RUN_TEST_LOOP_c_c.
23659 (ccos_test_data): New variable.
23660 (ccos_test): Run tests with RUN_TEST_LOOP_c_c.
23661 (ccosh_test_data): New variable.
23662 (ccosh_test): Run tests with RUN_TEST_LOOP_c_c.
23663 (cexp_test_data): New variable.
23664 (cexp_test): Run tests with RUN_TEST_LOOP_c_c.
23665 (clog_test_data): New variable.
23666 (clog_test): Run tests with RUN_TEST_LOOP_c_c.
23667 (clog10_test_data): New variable.
23668 (clog10_test): Run tests with RUN_TEST_LOOP_c_c.
23669 (conj_test_data): New variable.
23670 (conj_test): Run tests with RUN_TEST_LOOP_c_c.
23671 (cproj_test_data): New variable.
23672 (cproj_test): Run tests with RUN_TEST_LOOP_c_c.
23673 (csin_test_data): New variable.
23674 (csin_test): Run tests with RUN_TEST_LOOP_c_c.
23675 (csinh_test_data): New variable.
23676 (csinh_test): Run tests with RUN_TEST_LOOP_c_c.
23677 (csqrt_test_data): New variable.
23678 (csqrt_test): Run tests with RUN_TEST_LOOP_c_c.
23679 (ctan_test_data): New variable.
23680 (ctan_test): Run tests with RUN_TEST_LOOP_c_c.
23681 (ctan_tonearest_test_data): New variable.
23682 (ctan_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
23683 (ctan_towardzero_test_data): New variable.
23684 (ctan_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
23685 (ctan_downward_test_data): New variable.
23686 (ctan_test_downward): Run tests with RUN_TEST_LOOP_c_c.
23687 (ctan_upward_test_data): New variable.
23688 (ctan_test_upward): Run tests with RUN_TEST_LOOP_c_c.
23689 (ctanh_test_data): New variable.
23690 (ctanh_test): Run tests with RUN_TEST_LOOP_c_c.
23691 (ctanh_tonearest_test_data): New variable.
23692 (ctanh_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
23693 (ctanh_towardzero_test_data): New variable.
23694 (ctanh_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
23695 (ctanh_downward_test_data): New variable.
23696 (ctanh_test_downward): Run tests with RUN_TEST_LOOP_c_c.
23697 (ctanh_upward_test_data): New variable.
23698 (ctanh_test_upward): Run tests with RUN_TEST_LOOP_c_c.
23699 * math/gen-libm-test.pl (get_ulps): Use BUILD_COMPLEX_ULP instead
23700 of BUILD_COMPLEX.
23701
601a3a5f
JM
23702 * math/libm-test.inc (struct test_ff_f_data): New type.
23703 (struct test_ff_f_data_nexttoward): Likewise.
23704 (RUN_TEST_LOOP_2_f): New macro.
23705 (RUN_TEST_LOOP_ff_f): Likewise.
23706 (atan2_test_data): New variable.
23707 (atan2_test): Run tests with RUN_TEST_LOOP_ff_f.
23708 (copysign_test_data): New variable.
23709 (copysign_test): Run tests with RUN_TEST_LOOP_ff_f.
23710 (fdim_test_data): New variable.
23711 (fdim_test): Run tests with RUN_TEST_LOOP_ff_f.
23712 (fmax_test_data): New variable.
23713 (fmax_test): Run tests with RUN_TEST_LOOP_ff_f.
23714 (fmin_test_data): New variable.
23715 (fmin_test): Run tests with RUN_TEST_LOOP_ff_f.
23716 (fmod_test_data): New variable.
23717 (fmod_test): Run tests with RUN_TEST_LOOP_ff_f.
23718 (hypot_test_data): New variable.
23719 (hypot_test): Run tests with RUN_TEST_LOOP_ff_f.
23720 (nextafter_test_data): New variable.
23721 (nextafter_test): Run tests with RUN_TEST_LOOP_ff_f.
23722 (nexttoward_test_data): New variable.
23723 (nexttoward_test): Run tests with RUN_TEST_LOOP_ff_f.
23724 (pow_test_data): New variable.
23725 (pow_test): Run tests with RUN_TEST_LOOP_ff_f.
23726 (pow_tonearest_test_data): New variable.
23727 (pow_test_tonearest): Run tests with RUN_TEST_LOOP_ff_f.
23728 (pow_towardzero_test_data): New variable.
23729 (pow_test_towardzero): Run tests with RUN_TEST_LOOP_ff_f.
23730 (pow_downward_test_data): New variable.
23731 (pow_test_downward): Run tests with RUN_TEST_LOOP_ff_f.
23732 (pow_upward_test_data): New variable.
23733 (pow_test_upward): Run tests with RUN_TEST_LOOP_ff_f.
23734 (remainder_test_data): New variable.
23735 (remainder_test): Run tests with RUN_TEST_LOOP_ff_f.
23736 (scalb_test_data): New variable.
23737 (scalb_test): Run tests with RUN_TEST_LOOP_ff_f.
23738 * sysdeps/i386/fpu/libm-test-ulps: Update.
23739
74c57478
JM
237402013-05-11 Joseph Myers <joseph@codesourcery.com>
23741
8329e4da
JM
23742 * math/libm-test.inc (fma_test): Use max_value instead of local
23743 variable fltmax.
23744 (nextafter_test): Likewise.
23745
74c57478
JM
23746 * math/libm-test.inc (acos_towardzero_test_data): New variable.
23747 (acos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
23748 (acos_downward_test_data): New variable.
23749 (acos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
23750 (acos_upward_test_data): New variable.
23751 (acos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
23752 (acosh_test_data): New variable.
23753 (acosh_test): Run tests with RUN_TEST_LOOP_f_f.
23754 (asin_test_data): New variable.
23755 (asin_test): Run tests with RUN_TEST_LOOP_f_f.
23756 (asin_tonearest_test_data): New variable.
23757 (asin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
23758 (asin_towardzero_test_data): New variable.
23759 (asin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
23760 (asin_downward_test_data): New variable.
23761 (asin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
23762 (asin_upward_test_data): New variable.
23763 (asin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
23764 (asinh_test_data): New variable.
23765 (asinh_test): Run tests with RUN_TEST_LOOP_f_f.
23766 (atan_test_data): New variable.
23767 (atan_test): Run tests with RUN_TEST_LOOP_f_f.
23768 (atanh_test_data): New variable.
23769 (atanh_test): Run tests with RUN_TEST_LOOP_f_f.
23770 (cbrt_test_data): New variable.
23771 (cbrt_test): Run tests with RUN_TEST_LOOP_f_f.
23772 (ceil_test_data): New variable.
23773 (ceil_test): Run tests with RUN_TEST_LOOP_f_f.
23774 (cos_test_data): New variable.
23775 (cos_test): Run tests with RUN_TEST_LOOP_f_f.
23776 (cos_tonearest_test_data): New variable.
23777 (cos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
23778 (cos_towardzero_test_data): New variable.
23779 (cos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
23780 (cos_downward_test_data): New variable.
23781 (cos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
23782 (cos_upward_test_data): New variable.
23783 (cos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
23784 (cosh_test_data): New variable.
23785 (cosh_test): Run tests with RUN_TEST_LOOP_f_f.
23786 (cosh_tonearest_test_data): New variable.
23787 (cosh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
23788 (cosh_towardzero_test_data): New variable.
23789 (cosh_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
23790 (cosh_downward_test_data): New variable.
23791 (cosh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
23792 (cosh_upward_test_data): New variable.
23793 (cosh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
23794 (erf_test_data): New variable.
23795 (erf_test): Run tests with RUN_TEST_LOOP_f_f.
23796 (erfc_test_data): New variable.
23797 (erfc_test): Run tests with RUN_TEST_LOOP_f_f.
23798 (exp_test_data): New variable.
23799 (exp_test): Run tests with RUN_TEST_LOOP_f_f.
23800 (exp_tonearest_test_data): New variable.
23801 (exp_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
23802 (exp_towardzero_test_data): New variable.
23803 (exp_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
23804 (exp_downward_test_data): New variable.
23805 (exp_test_downward): Run tests with RUN_TEST_LOOP_f_f.
23806 (exp_upward_test_data): New variable.
23807 (exp_test_upward): Run tests with RUN_TEST_LOOP_f_f.
23808 (exp10_test_data): New variable.
23809 (exp10_test): Run tests with RUN_TEST_LOOP_f_f.
23810 (exp2_test_data): New variable.
23811 (exp2_test): Run tests with RUN_TEST_LOOP_f_f.
23812 (expm1_test_data): New variable.
23813 (expm1_test): Run tests with RUN_TEST_LOOP_f_f.
23814 (fabs_test_data): New variable.
23815 (fabs_test): Run tests with RUN_TEST_LOOP_f_f.
23816 (floor_test_data): New variable.
23817 (floor_test): Run tests with RUN_TEST_LOOP_f_f.
23818 (j0_test_data): New variable.
23819 (j0_test): Run tests with RUN_TEST_LOOP_f_f.
23820 (j1_test_data): New variable.
23821 (j1_test): Run tests with RUN_TEST_LOOP_f_f.
23822 (log_test_data): New variable.
23823 (log_test): Run tests with RUN_TEST_LOOP_f_f.
23824 (log10_test_data): New variable.
23825 (log10_test): Run tests with RUN_TEST_LOOP_f_f.
23826 (log1p_test_data): New variable.
23827 (log1p_test): Run tests with RUN_TEST_LOOP_f_f.
23828 (log2_test_data): New variable.
23829 (log2_test): Run tests with RUN_TEST_LOOP_f_f.
23830 (logb_test_data): New variable.
23831 (logb_test): Run tests with RUN_TEST_LOOP_f_f.
23832 (logb_downward_test_data): New variable.
23833 (logb_test_downward): Run tests with RUN_TEST_LOOP_f_f.
23834 (nearbyint_test_data): New variable.
23835 (nearbyint_test): Run tests with RUN_TEST_LOOP_f_f.
23836 (rint_test_data): New variable.
23837 (rint_test): Run tests with RUN_TEST_LOOP_f_f.
23838 (rint_tonearest_test_data): New variable.
23839 (rint_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
23840 (rint_towardzero_test_data): New variable.
23841 (rint_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
23842 (rint_downward_test_data): New variable.
23843 (rint_test_downward): Run tests with RUN_TEST_LOOP_f_f.
23844 (rint_upward_test_data): New variable.
23845 (rint_test_upward): Run tests with RUN_TEST_LOOP_f_f.
23846 (round_test_data): New variable.
23847 (round_test): Run tests with RUN_TEST_LOOP_f_f.
23848 (sin_test_data): New variable.
23849 (sin_test): Run tests with RUN_TEST_LOOP_f_f.
23850 (sin_tonearest_test_data): New variable.
23851 (sin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
23852 (sin_towardzero_test_data): New variable.
23853 (sin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
23854 (sin_downward_test_data): New variable.
23855 (sin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
23856 (sin_upward_test_data): New variable.
23857 (sin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
23858 (sinh_test_data): New variable.
23859 (sinh_test): Run tests with RUN_TEST_LOOP_f_f.
23860 (sinh_tonearest_test_data): New variable.
23861 (sinh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
23862 (sinh_towardzero_test_data): New variable.
23863 (sinh_towardzero): Run tests with RUN_TEST_LOOP_f_f.
23864 (sinh_downward_test_data): New variable.
23865 (sinh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
23866 (sinh_upward_test_data): New variable.
23867 (sinh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
23868 (sqrt_test_data): New variable.
23869 (sqrt_test): Run tests with RUN_TEST_LOOP_f_f.
23870 (tan_test_data): New variable.
23871 (tan_test): Run tests with RUN_TEST_LOOP_f_f.
23872 (tan_tonearest_test_data): New variable.
23873 (tan_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
23874 (tan_towardzero_test_data): New variable.
23875 (tan_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
23876 (tan_downward_test_data): New variable.
23877 (tan_test_downward): Run tests with RUN_TEST_LOOP_f_f.
23878 (tan_upward_test_data): New variable.
23879 (tan_test_upward): Run tests with RUN_TEST_LOOP_f_f.
23880 (tanh_test_data): New variable.
23881 (tanh_test): Run tests with RUN_TEST_LOOP_f_f.
23882 (tgamma_test_data): New variable.
23883 (tgamma_test): Run tests with RUN_TEST_LOOP_f_f.
23884 (trunc_test_data): New variable.
23885 (trunc_test): Run tests with RUN_TEST_LOOP_f_f.
23886 (y0_test_data): New variable.
23887 (y0_test): Run tests with RUN_TEST_LOOP_f_f.
23888 (y1_test_data): New variable.
23889 (y1_test): Run tests with RUN_TEST_LOOP_f_f.
23890 (significand_test_data): New variable.
23891 (significand_test): Run tests with RUN_TEST_LOOP_f_f.
23892
7187d844
CG
238932013-05-10 Christian Grönke <cgr_bugs@sysgo.com>
23894
23895 [BZ #12387]
23896 * sysdeps/unix/sysv/linux/sh/getgid.c: New file.
23897
f63fae73
PT
238982013-05-10 Pino Toscano <toscano.pino@tiscali.it>
23899
23900 * sysdeps/mach/hurd/bits/statvfs.h: Add ST_NOATIME.
23901
8a67a4b3
AJ
239022013-05-10 Andreas Jaeger <aj@suse.de>
23903
23904 [BZ #15448]
23905 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_SET_S)
23906 (__CPU_CLR_S, __CPU_ISSET_S): Avoid integer overflow.
23907
51df539d
JM
239082013-05-10 Joseph Myers <joseph@codesourcery.com>
23909
23910 * math/gen-libm-test.pl (adjust_arg): New function.
23911 (special_functions): Handle generating output in both functions
23912 and arrays.
23913 (parse_args): Likewise.
23914 (generate_testfile): Handle START_DATA and END_DATA. Pass extra
23915 $in_func argument to parse_args.
23916 * math/libm-test.inc (struct test_f_f_data): New type.
23917 (IF_ROUND_INIT_): New macro.
23918 (IF_ROUND_INIT_FE_DOWNWARD): Likewise.
23919 (IF_ROUND_INIT_FE_TONEAREST): Likewise.
23920 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
23921 (IF_ROUND_INIT_FE_UPWARD): Likewise.
23922 (ROUND_RESTORE_): Likewise.
23923 (ROUND_RESTORE_FE_DOWNWARD): Likewise.
23924 (ROUND_RESTORE_FE_TONEAREST): Likewise.
23925 (ROUND_RESTORE_FE_TOWARDZERO): Likewise.
23926 (ROUND_RESTORE_FE_UPWARD): Likewise.
23927 (RUN_TEST_LOOP_f_f): New macro.
23928 (acos_test_data): New variable.
23929 (acos_test): Run tests with RUN_TEST_LOOP_f_f.
23930 (acos_tonearest_test_data): New variable.
23931 (acos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
23932
5c637fe5
SP
239332013-05-10 Siddhesh Poyarekar <siddhesh@redhat.com>
23934
23935 * benchtests/bench-skeleton.c (startup): Fix coding style.
23936
ab2b9461
JM
239372013-05-10 Joseph Myers <joseph@codesourcery.com>
23938
23939 [BZ #6809]
23940 * math/w_tgamma.c (__tgamma): Also call __kernel_standard for
23941 negative infinity argument.
23942 * math/w_tgammaf.c (__tgammaf): Also call __kernel_standard_f for
23943 negative infinity argument.
23944 * math/w_tgammal.c (__tgammal): Also call __kernel_standard_l for
23945 negative infinity argument.
23946 * math/libm-test.inc (tgamma_test): Expect errno to be set for
23947 domain errors.
23948
4c0fe6fe
FW
239492013-05-10 Florian Weimer <fweimer@redhat.com>
23950
23951 * elf/sprof.c (load_profdata): Use fstat64 instead of fstat.
23952 * iconv/iconv_charmap.c (charmap_conversion): Likewise.
23953 * iconv/iconv_prog.c (main): Likewise.
23954 * locale/programs/charmap-dir.c (charmap_readdir)
23955 (fopen_uncompressed): Likewise.
23956 * locale/programs/locfile.c (siblings_uncached)
23957 (write_locale_data): Use lstat64 instead of lstat.
23958 * sunrpc/rpc_main.c (find_cpp, checkfiles): Use stat64 instead of
23959 stat.
23960
a3375d29
AJ
239612013-05-10 Andreas Jaeger <aj@suse.de>
23962
23963 [BZ #15395]
23964 * sunrpc/rpc_main.c (main): Invoke setlocale and textdomain for
23965 localization.
23966 Include <locale.h>.
23967
36129722
CD
239682013-05-09 Carlos O'Donell <carlos@redhat.com>
23969
23970 * elf/dl-close.c (_dl_close_worker): Add comments.
23971
faa7f811
JM
239722013-05-09 Joseph Myers <joseph@codesourcery.com>
23973
ed41ffef
JM
23974 [BZ #15359]
23975 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (c): Use 106 bits for
23976 high part of pi/2.
23977 (__ieee754_rem_pio2l): Update comments.
23978
d0213cd0
JM
23979 [BZ #15429]
23980 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c (c): Use 113 bits for
23981 high part of pi/2.
23982 (__ieee754_rem_pio2l): Update comments.
23983
0d3e777a
JM
23984 * math/libm-test.inc (M_SQRT_2_2): Remove macro.
23985 (csqrt_test): Use M_SQRT1_2l instead of M_SQRT_2_2.
23986
24f56066
JM
23987 * math/libm-test.inc (carg_test): Use M_PI_34l instead of 3 *
23988 M_PI_4l.
23989
faa7f811
JM
23990 * math/libm-test.inc (M_PI_34l): Define using decimal constant.
23991 (M_PI_34_LOG10El): Likewise.
23992 (M_PI2_LOG10El): Likewise.
23993 (M_PI4_LOG10El): Likewise.
23994 (M_PI_LOG10El): Likewise.
23995
e9a5e0fd
AZ
239962013-05-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23997
23998 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
23999
d8cd06db
JM
240002013-05-08 Joseph Myers <joseph@codesourcery.com>
24001
a0d9f9d7
JM
24002 * math/libm-test.inc (PLUS_ZERO_INIT): New macro.
24003 (MINUS_ZERO_INIT): Likewise.
24004 (PLUS_INFTY_INIT): Likewise.
24005 (MINUS_INFTY_INIT): Likewise.
24006 (QNAN_VALUE_INIT): Likewise.
24007 (MAX_VALUE_INIT): Likewise.
24008 (MIN_VALUE_INIT): Likewise.
24009 (MIN_SUBNORM_VALUE_INIT): Likewise.
24010 (plus_zero): Initialize with PLUS_ZERO_INIT.
24011 (minus_zero): Initialize with MINUS_ZERO_INIT.
24012 (plus_infty): Initialize with PLUS_INFTY_INIT.
24013 (minus_infty): Initialize with MINUS_INFTY_INIT.
24014 (qnan_value): Initialize with QNAN_VALUE_INIT.
24015 (max_value): Initialize with MAX_VALUE_INIT.
24016 (min_value): Initialize with MIN_VALUE_INIT.
24017 (min_subnorm_value): Initialize with MIN_SUBNORM_VALUE_INIT.
24018
ae08db3b
JM
24019 * math/libm-test.inc (RUN_TEST_if_f): New macro.
24020 (jn_test): Use TEST_if_f instead of TEST_ff_f.
24021 (ldexp_text): Use TEST_fi_i instead of TEST_ff_f.
24022 (yn_test): Use TEST_if_f instead of TEST_ff_f.
24023
f44bf14a
JM
24024 * math/libm-test.inc (RUN_TEST_f_f): New macro.
24025 (RUN_TEST_2_f): Likewise.
24026 (RUN_TEST_ff_f): Likewise.
24027 (RUN_TEST_fi_f): Likewise.
24028 (RUN_TEST_fl_f): Likewise.
24029 (RUN_TEST_fff_f): Likewise.
24030 (RUN_TEST_c_f): Likewise.
24031 (RUN_TEST_f_f1): Likewise.
24032 (RUN_TEST_fF_f1): Likewise.
24033 (RUN_TEST_fI_f1): Likewise.
24034 (RUN_TEST_ffI_f1): Likewise.
24035 (RUN_TEST_c_c): Likewise.
24036 (RUN_TEST_cc_c): Likewise.
24037 (RUN_TEST_f_i): Likewise.
24038 (RUN_TEST_f_i_tg): Likewise.
24039 (RUN_TEST_ff_i_tg): Likewise.
24040 (RUN_TEST_f_b): Likewise.
24041 (RUN_TEST_f_b_tg): Likewise.
24042 (RUN_TEST_f_l): Likewise.
24043 (RUN_TEST_f_L): Likewise.
24044 (RUN_TEST_sincos): Likewise.
24045 * math/gen-libm-test.pl (new_test): Take new argument to indicate
24046 whether to show exceptions. Do not include ");\n" in return
24047 value.
24048 (special_functions): Output call to RUN_TEST_sincos instead of
24049 check_float calls. Update calls to new_test.
24050 (parse_args): Output call to single RUN_TEST_* macro instead of
24051 check_* calls and other assignments. Update calls to new_test.
24052
d8cd06db
JM
24053 [BZ #2546]
24054 [BZ #2560]
24055 [BZ #5159]
24056 [BZ #15426]
24057 * sysdeps/ieee754/k_standard.c (__kernel_standard): Copy sign of
24058 input to result for tgamma overflow.
24059 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Include <float.h>.
24060 (gamma_coeff): New variable.
24061 (NCOEFF): New macro.
24062 (gamma_positive): New function.
24063 (__ieee754_gamma_r): Handle positive infinity, NaN, overflow and
24064 underflow here. Use gamma_positive instead of exp (lgamma) for
24065 other arguments.
24066 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Include <float.h>.
24067 (gamma_coeff): New variable.
24068 (NCOEFF): New macro.
24069 (gammaf_positive): New function.
24070 (__ieee754_gammaf_r): Handle positive infinity, NaN, overflow and
24071 underflow here. Use gamma_positive instead of exp (lgamma) for
24072 other arguments.
24073 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Include <float.h>.
24074 (gamma_coeff): New variable.
24075 (NCOEFF): New macro.
24076 (gammal_positive): New function.
24077 (__ieee754_gammal_r): Handle positive infinity, NaN, overflow and
24078 underflow here. Use gamma_positive instead of exp (lgamma) for
24079 other arguments.
24080 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Include <float.h>.
24081 (gamma_coeff): New variable.
24082 (NCOEFF): New macro.
24083 (gammal_positive): New function.
24084 (__ieee754_gammal_r): Handle positive infinity, overflow and
24085 underflow here. Handle NaN the same as positive infinity. Remove
24086 check x < 0xffffffff for negative integers. Use gamma_positive
24087 instead of exp (lgamma) for other arguments.
24088 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Include <float.h>.
24089 (gamma_coeff): New variable.
24090 (NCOEFF): New macro.
24091 (gammal_positive): New function.
24092 * sysdeps/ieee754/dbl-64/gamma_product.c: New file.
24093 * sysdeps/ieee754/dbl-64/gamma_productf.c: Likewise.
24094 * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
24095 * sysdeps/ieee754/ldbl-128ibm/gamma_productl.c: Likewise.
24096 * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
24097 * sysdeps/ieee754/ldbl-96/gamma_productl.c: Likewise.
24098 * sysdeps/generic/math_private.h (__gamma_productf): New
24099 prototype.
24100 (__gamma_product): Likewise.
24101 (__gamma_productl): Likewise.
24102 * math/Makefile (libm-calls): Add gamma_product.
24103 * math/libm-test.inc (tgamma_test): Add more tests.
24104 * sysdeps/i386/fpu/libm-test-ulps: Update.
24105 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24106
bb7cf681
OB
241072013-05-08 Ondřej Bílka <neleai@seznam.cz>
24108
24109 * benchtests/bench-skeleton.c (main): Preheat CPU.
24110
ba853947
AJ
241112013-05-07 Aurelien Jarno <aurelien@aurel32.net>
24112
24113 * misc/sys/param.h (DEV_BSIZE): Define only if not already defined.
24114
8347c74c
RM
241152013-05-07 Roland McGrath <roland@hack.frob.com>
24116
24117 * sysdeps/generic/ldsodefs.h [IS_IN_rtld]: Declare _dl_skip_args
24118 and _dl_skip_args_internal.
24119
e8dd4791
CD
241202013-05-07 Carlos O'Donell <carlos@redhat.com>
24121
24122 * manual/message.texi (Message Translation): Talk about users.
24123 Message to key mapping impacts design.
24124
c7405830
RM
241252013-05-06 Roland McGrath <roland@hack.frob.com>
24126
a9173057
RM
24127 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: New file.
24128
976e2f03
RM
24129 * elf/dl-open.c: Remove declaration of _dl_sysdep_start.
24130
9723ffc5
RM
24131 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: Moved to ...
24132 * sysdeps/wordsize-64/glob64.c: ... here.
24133
962e6658
RM
24134 * sysdeps/generic/not-cancel.h (NO_CANCELLATION): New macro.
24135 (pause_not_cancel, nanosleep_not_cancel, sigsuspend_not_cancel):
24136 New macros.
24137
ee586a6d
RM
24138 * debug/getlogin_r_chk.c: Moved to ...
24139 * login/getlogin_r_chk.c: ... here.
24140 * debug/Makefile (routines): Move getlogin_r_chk to ...
24141 * login/Makefile (routines): ... here.
24142 * debug/Versions (libc: GLIBC_2.4): Move getlogin_r_chk to ...
24143 * login/Versions (libc: GLIBC_2.4): ... here.
24144
355f9165
RM
24145 * io/poll.c (__poll): Renamed from poll.
24146 Add libc_hidden_def.
24147 (poll): Define as weak alias.
24148
bd9ffde6
RM
24149 * debug/ptsname_r_chk.c: Moved to ...
24150 * login/ptsname_r_chk.c: ... here.
24151 * debug/Makefile (routines): Move ptsname_r_chk to ...
24152 * login/Makefile (routines): ... here.
24153 * debug/Versions (libc: GLIBC_2.4): Move __ptsname_r_chk to ...
24154 * login/Versions (libc: GLIBC_2.4): ... here.
24155
8fb16a04
RM
24156 * posix/getlogin.c: Moved to ...
24157 * login/getlogin.c: ... here.
24158 * posix/getlogin_r.c: Moved to ...
24159 * login/getlogin_r.c: ... here.
24160 * posix/getlogin_r.c: Moved to ...
24161 * login/getlogin_r.c: ... here.
24162 * posix/Makefile (routines): Move getlogin, getlogin_r, setlogin to ...
24163 * login/Makefile (routines): ... here.
24164 * posix/Versions (libc: GLIBC_2.0): Move setlogin to ...
24165 * login/Versions (libc: GLIBC_2.0): ... here.
24166
b99b892f
RM
24167 * resource/setrlimit.c (__setrlimit): Renamed from setrlimit.
24168 (setrlimit): Define as weak alias.
24169
c7405830
RM
24170 * sysdeps/posix/truncate.c (__truncate): Renamed from truncate.
24171 Call __ names for open, ftruncate, and close.
24172 For LENGTH==0 case, just use O_TRUNC rather than calling ftruncate.
24173 (truncate): Define as weak alias.
24174
5bf96de5
JM
241752013-05-06 Joseph Myers <joseph@codesourcery.com>
24176
9ea3513c
JM
24177 * math/gen-libm-test.pl (parse_args): Initialize x before each
24178 test of frexp, modf and remquo.
24179
5bf96de5
JM
24180 * math/libm-test.inc (gamma_test): Consistently use TEST_f_f1 to
24181 test signgam value.
24182
16e616a7
AZ
241832013-05-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
24184
24185 [BZ #15418]
24186 [BZ #15419]
24187 * sysdeps/powerpc/fpu/e_hypot.c: Fix spurious FP exception generated by
24188 internal tests.
24189 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
24190
d5e82754
RM
241912013-05-06 Roland McGrath <roland@hack.frob.com>
24192
24193 * elf/dl-writev.h: New file.
24194 * elf/dl-misc.c: Include it.
24195 (_dl_debug_vdprintf): Call _dl_writev instead of __writev et al.
24196 * sysdeps/unix/sysv/linux/dl-writev.h: New file.
24197
a7548d41
JM
241982013-05-04 Joseph Myers <joseph@codesourcery.com>
24199
b7dab1e4
JM
24200 * math/libm-test.inc (noXFails): Remove variable.
24201 (noXPasses): Likewise.
24202 (BUILD_COMPLEX_INT): Remove macro.
24203 (print_screen): Remove xfail argument.
24204 (print_screen_max_error): Likewise.
24205 (update_stats): Likewise.
24206 (print_max_error): Likewise. Update calls to other affected
24207 functions.
24208 (print_complex_max_error): Likewise.
24209 (test_single_exception): Update calls to print_screen.
24210 (test_single_errno): Likewise.
24211 (check_float_internal): Remove xfail argument. Update calls to
24212 other affected functions.
24213 (check_float): Likewise.
24214 (check_complex): Likewise.
24215 (check_int): Likewise.
24216 (check_long): Likewise.
24217 (check_bool): Likewise.
24218 (check_longlong): Likewise.
24219 (main): Don't print noXFails and noXPasses.
24220 * math/gen-libm-test.pl (top level): Don't mention expected
24221 failure handling in comment.
24222 (new_test): Don't handle expected failures.
24223 (parse_args): Don't mention expected failure handling in comment.
24224 (generate_testfile): Don't handle expected failures.
24225 (parse_ulps): Likewise.
24226 (print_ulps_file): Likewise.
24227 (get_failure): Remove function.
24228 (output_test): Don't handle expected failures.
24229 * make/README.libm-test: Don't mention expected failure handling.
24230
a7548d41
JM
24231 * math/libm-test.inc (plus_zero): Make const. Add initializer.
24232 (minus_zero): Likewise.
24233 (plus_infty): Likewise.
24234 (minus_infty): Likewise.
24235 (qnan_value): Likewise.
24236 (max_value): Likewise.
24237 (min_value): Likewise.
24238 (min_subnorm_value): Likewise.
24239 (initialize): Do not initialize those variables dynamically.
24240
60bfd54c
RM
242412013-05-03 Roland McGrath <roland@hack.frob.com>
24242
cc0e6ed8
RM
24243 * io/open.c (__open_2): Moved to ...
24244 * io/open_2.c: ... this new file.
24245 * io/open64.c (__open64_2): Moved to ...
24246 * io/open64_2.c: ... this new file.
24247 * io/openat.c (__openat_2): Moved to ...
24248 * io/openat_2.c: ... this new file.
24249 * io/openat64.c (__openat64_2): Moved to ...
24250 * io/openat64_2.c: ... this new file.
24251 * io/Makefile (routines): Add them.
24252 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove them.
24253 * sysdeps/unix/sysv/linux/open_2.c: File removed.
24254 * sysdeps/unix/sysv/linux/open64_2.c: File removed.
24255 * sysdeps/unix/sysv/linux/openat.c (__OPENAT_2): Removed.
24256 * sysdeps/unix/sysv/linux/openat64.c (__OPENAT_2): Removed.
24257 * sysdeps/unix/sysv/linux/wordsize-64/openat.c (__openat_2): Removed.
24258 (__openat64): Add hidden_ver.
24259 * sysdeps/mach/hurd/open.c (__open_2, __open64_2): Removed.
24260 * sysdeps/mach/hurd/openat.c (__openat_2): Removed.
24261
60bfd54c
RM
24262 * elf/dl-sysdep.c (_dl_sysdep_start) [NEED_DL_SYSINFO]:
24263 Separately conditionalize setting of GLRO(dl_sysinfo) so
24264 that the GLRO(dl_sysinfo_dso) test is under [NEED_DL_SYSINFO_DSO]
24265 as well, but the actual setting is only under [NEED_DL_SYSINFO].
24266
83e7640f
AZ
242672013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
24268
24269 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_time symbol.
24270 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Add __vdso_time
24271 definition.
24272 (VDSO_IFUNC_RET): Cast to void * to silence compiler warning.
24273 * sysdeps/unix/sysv/linux/powerpc/init-first.c
24274 (_libc_vdso_platform_setup): Add __vdso_time initialization.
24275 * sysdeps/unix/sysv/linux/powerpc/time.c: New file: time implementation
24276 for PowerPC using vDSO where is avaliable or gettimeofday as a fallback.
24277
d5dc2af3
JM
242782013-05-03 Joseph Myers <joseph@codesourcery.com>
24279
c31a5b1e
JM
24280 * math/libm-test.inc (lgamma_test): Consistently use TEST_f_f1 to
24281 test signgam value.
24282
d5dc2af3
JM
24283 * math/libm-test.inc (hypot_test): Do not use
24284 IGNORE_ZERO_INF_SIGN.
24285
164fd39d
AJ
242862013-05-03 Andreas Jaeger <aj@suse.de>
24287
24288 * sysdeps/gnu/netinet/tcp.h (TCP_TIMESTAMP): New value, from
24289 Linux 3.9.
24290 * sysdeps/unix/sysv/linux/bits/socket.h (PF_VSOCK, AF_VSOCK): Add.
24291 (PF_MAX): Adjust for VSOCK change.
24292
8237f48c
AZ
242932013-05-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
24294
24295 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
24296
9df02941
CD
242972013-05-02 Carlos O'Donell <carlos@redhat.com>
24298
24299 [BZ #15264]
24300 * localedata/locales/en_CA (LC_MESSAGES): Define yesstr and nostr.
24301 * localedata/locales/es_AR (LC_MESSAGES): Copy es_ES.
24302 * localedata/locales/es_ES (LC_MESSAGES): Define yesstr and nostr.
24303
d422395e
DM
243042013-05-02 David S. Miller <davem@davemloft.net>
24305
24306 * sysdeps/sparc/fpu/libm-test-ulps: Update.
24307
a07c5731
OB
243082013-05-01 Ondřej Bílka <neleai@seznam.cz>
24309
24310 * string/bits/string2.h (__strcmp_cg): Call __strcmp_gc.
24311
1324e37f
RM
243122013-05-01 Roland McGrath <roland@hack.frob.com>
24313
24314 * sysdeps/posix/opendir.c: Include <sys/param.h> to get MIN/MAX macros.
24315
0695940b
RS
243162013-05-01 Richard Smith <richard@metafoo.co.uk>
24317
bb5f27ad 24318 [BZ #14952]
0695940b
RS
24319 * misc/sys/cdefs.h (__extern_inline, __extern_always_inline)
24320 [__GNUC__ && (__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
24321 Use __attribute__ ((__gnu_inline__)).
24322 [__GNUC__ && !(__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
24323 Don't use __attribute__ ((__gnu_inline__)).
24324
10de07f5
JM
243252013-05-01 Joseph Myers <joseph@codesourcery.com>
24326
24327 [BZ #15423]
24328 * math/s_catan.c (__catan): Handle small real or imaginary part of
24329 input specially to avoid spurious underflow.
24330 * math/s_catanf.c (__catanf): Likewise.
24331 * math/s_catanh.c (__catanh): Likewise.
24332 * math/s_catanhf.c (__catanhf): Likewise.
24333 * math/s_catanhl.c (__catanhl): Likewise.
24334 * math/s_catanl.c (__catanl): Likewise.
24335 * math/libm-test.inc (catan_test): Add more tests.
24336 (catanh_test): Likewise.
24337 * sysdeps/i386/fpu/libm-test-ulps: Update.
24338 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24339
cb4d5414
AZ
243402013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
24341
24342 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
24343
caf84319
JM
243442013-04-30 Joseph Myers <joseph@codesourcery.com>
24345
24346 [BZ #15416]
24347 * math/s_catan.c (__catan): Compute expressions 1 - x^2 - y^2 more
24348 accurately for denominator in atan2.
24349 * math/s_catanf.c (__catanf): Likewise.
24350 * math/s_catanh.c (__catanh): Likewise.
24351 * math/s_catanhf.c (__catanhf): Likewise.
24352 * math/s_catanhl.c (__catanhl): Likewise.
24353 * math/s_catanl.c (__catanl): Likewise.
24354 * math/libm-test.inc (catan_test): Add more tests.
24355 (catanh_test): Likewise.
24356 * sysdeps/i386/fpu/libm-test-ulps: Update.
24357 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24358
d569c6ee
SP
243592013-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
24360
6dbe713d
SP
24361 * sysdeps/ieee754/dbl-64/s_sin.c: Format code.
24362
f0ee064b
SP
24363 * benchtests/Makefile (bench): Remove slow benchmarks.
24364 * benchtests/atan-inputs: Add slow benchmark inputs.
24365 * benchtests/bench-modf.c (NUM_VARIANTS): Define.
24366 (BENCH_FUNC): Accept variant offset.
24367 (VARIANT): Define.
24368 * benchtests/bench-skeleton.c (main): Run benchmark for each
24369 variant.
24370 * benchtests/cos-inputs: Add slow benchmark inputs.
24371 * benchtests/exp-inputs: Likewise.
24372 * benchtests/pow-inputs: Likewise.
24373 * benchtests/sin-inputs: Likewise.
24374 * benchtests/slowatan-inputs: Remove.
24375 * benchtests/slowatan.c: Remove.
24376 * benchtests/slowcos-inputs: Remove.
24377 * benchtests/slowcos.c: Remove.
24378 * benchtests/slowexp-inputs: Remove.
24379 * benchtests/slowexp.c: Remove.
24380 * benchtests/slowpow-inputs: Remove.
24381 * benchtests/slowpow.c: Remove.
24382 * benchtests/slowsin-inputs: Remove.
24383 * benchtests/slowsin.c: Remove.
24384 * benchtests/slowtan-inputs: Remove.
24385 * benchtests/slowtan.c: Remove.
24386 * benchtests/tan-inputs: Add slow benchmark inputs.
24387 * scripts/bench.pl: Parse comments and directives.
24388
d569c6ee
SP
24389 * benchtests/Makefile: Remove *-ITER. Define BENCH_DURATION
24390 in CPPFLAGS.
24391 ($(objpfx)bench-%.c): Remove *-ITER.
24392 * benchtests/bench-modf.c: Remove definition of ITER.
24393 * benchtests/bench-skeleton.c (TIMESPEC_AFTER): New macro.
24394 (main): Loop for DURATION seconds instead of fixed number of
24395 iterations.
24396 * scripts/bench.pl: Don't expect iterations in parameters.
24397
a6a242fe
RM
243982013-04-29 Roland McGrath <roland@hack.frob.com>
24399
24400 * io/fchdir.c (__fchdir): Renamed from fchdir.
24401 (fchdir): Define as weak alias.
24402
f2da7793
JM
244032013-04-29 Joseph Myers <joseph@codesourcery.com>
24404
24405 * math/libm-test.inc (ERRNO_UNCHANGED): New macro.
24406 (ERRNO_EDOM): Likewise.
24407 (ERRNO_ERANGE): Likewise.
24408 (noErrnoTests): New variable.
24409 (init_max_error): Set errno to 0.
24410 (test_single_errno): New function.
24411 (test_errno): Likewise.
24412 (check_float_internal): Call test_errno. Set errno to 0.
24413 (check_complex): Refer to errno tests in comment.
24414 (check_int): Call test_errno. Set errno to 0.
24415 (check_long): Likewise.
24416 (check_bool): Likewise.
24417 (check_longlong): Likewise.
24418 (cos_test): Use ERRNO_* flags for errno tests instead of
24419 check_int.
24420 (expm1_test): Likewise.
24421 (fmod_test): Likewise.
24422 (ilogb_test): Likewise.
24423 (lgamma_test): Likewise.
24424 (pow_test): Likewise.
24425 (remainder_test): Likewise.
24426 (sin_test): Likewise.
24427 (tan_test): Likewise.
24428 (yn_test): Likewise.
24429 (initialize): Set errno to 0.
24430 (main): Print number of errno tests.
24431 * math/gen-libm-test.pl (parse_args): Allow ERRNO flags on tests.
24432
b1a36ceb
AJ
244332013-04-29 Andreas Jaeger <aj@suse.de>
24434
c3ed8088
AJ
24435 [BZ #15084]
24436 * resolv/res_debug.c (p_option): Fix strings for RES_USEBSTRING
24437 and RES_USEVC.
24438
f1a24198
AJ
24439 [BZ #15085]
24440 * resolv/resolv.h (RES_NOCHECKNAME): Mark as unimplemented.
24441 * resolv/res_debug.c (p_option): Mark RES_NOCHECKNAME as
24442 unimplemented.
24443
9ce3b2cb
AJ
24444 [BZ #15380]
24445 * stdlib/random.c (__initstate): Return NULL if
24446 __initstate fails.
24447
f1a24198 24448 [BZ #15086]
b1a36ceb
AJ
24449 * resolv/res_debug.c (p_option): Handle RES_NOALIASES,
24450 RES_KEEPTSIG, RES_BLAST, RES_NOIP6DOTINT, RES_SNGLKUP,
24451 RES_SNGLKUPREOP.
24452
7e7b6f36
AZ
244532013-04-29 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
24454
24455 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
24456
4d14f449
JM
244572013-04-29 Joseph Myers <joseph@codesourcery.com>
24458
24459 * math/libm-test.inc (cacos_test): Add missing semicolons at ends
24460 of individual tests.
24461 (casin_test): Likewise.
24462 (casinh_test): Likewise.
24463
5b4217d7
JM
244642013-04-27 Joseph Myers <joseph@codesourcery.com>
24465
24466 [BZ #15409]
24467 * math/s_catan.c (__catan): Handle arguments with large real or
24468 imaginary part separately without squaring.
24469 * math/s_catanf.c (__catanf): Likewise.
24470 * math/s_catanh.c (__catanh): Likewise.
24471 * math/s_catanhf.c (__catanhf): Likewise.
24472 * math/s_catanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
24473 and redefine.
24474 (__catanhl): Handle arguments with large real or imaginary part
24475 separately without squaring.
24476 * math/s_catanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
24477 and redefine.
24478 (__catanl): Handle arguments with large real or imaginary part
24479 separately without squaring.
24480 * math/libm-test.inc (catan_test): Add more tests.
24481 (catanh_test): Likewise.
24482 * sysdeps/i386/fpu/libm-test-ulps: Update.
24483 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24484
4220c3ef
AJ
244852013-04-27 Andreas Jaeger <aj@suse.de>
24486
24487 [BZ #15007]
24488 * stdlib/stdlib.h: Update guards for qecvt.
24489 * stdlib/bits/stdlib-ldbl.h: Sync guards for qecvt etc with
24490 <stdlib.h>.
24491
4721b2d1
AM
244922013-04-27 Allan McRae <allan@archlinux.org>
24493
24494 * sysdeps/i386/fpu/libm-test-ulps: Update.
24495
f0302940
JM
244962013-04-26 Joseph Myers <joseph@codesourcery.com>
24497
9457fd95
JM
24498 [BZ #15406]
24499 * math/s_catan.c: Include <float.h>.
24500 (__catan): Ensure underflow exception occurs for underflowed
24501 result.
24502 * math/s_catanf.c: Include <float.h>.
24503 (__catanf): Ensure underflow exception occurs for underflowed
24504 result.
24505 * math/s_catanh.c: Include <float.h>.
24506 (__catanh): Ensure underflow exception occurs for underflowed
24507 result.
24508 * math/s_catanhf.c: Include <float.h>.
24509 (__catanhf): Ensure underflow exception occurs for underflowed
24510 result.
24511 * math/s_catanhl.c: Include <float.h>.
24512 (__catanhl): Ensure underflow exception occurs for underflowed
24513 result.
24514 * math/s_catanl.c: Include <float.h>.
24515 (__catanl): Ensure underflow exception occurs for underflowed
24516 result.
24517 * math/libm-test.inc (catan_test): Add more tests.
24518 (catanh_test): Likewise.
24519
f0302940
JM
24520 [BZ #15405]
24521 * math/s_ccosh.c (__ccosh): Ensure underflow exception occurs for
24522 underflowed result.
24523 * math/s_ccoshf.c (__ccoshf): Likewise.
24524 * math/s_ccoshl.c (__ccoshl): Likewise.
24525 * math/s_csin.c (__csin): Likewise.
24526 * math/s_csinf.c (__csinf): Likewise.
24527 * math/s_csinh.c (__csinh): Likewise.
24528 * math/s_csinhf.c (__csinhf): Likewise.
24529 * math/s_csinhl.c (__csinhl): Likewise.
24530 * math/s_csinl.c (__csinl): Likewise.
24531 * math/libm-test.inc (ccos_test): Add more tests.
24532 (ccosh_test): Likewise.
24533 (csin_test): Likewise.
24534 (csinh_test): Likewise.
24535
aa630f59
AZ
245362013-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
24537
24538 * sysdeps/powerpc/power5/fpu/s_modf.c: Moved to ...
24539 * sysdeps/powerpc/power5+/fpu/s_modf.c: ... this.
24540 * sysdeps/powerpc/power5/fpu/s_modff.c: Moved to ...
24541 * sysdeps/powerpc/power5+/fpu/s_modff.c: ... this.
24542 * sysdeps/powerpc/powerpc32/power5+/Implies: Add powerpc/power5+ and
24543 powerpc/power5+/fpu folders.
24544 * sysdeps/powerpc/powerpc64/power5+/Implies: Likewise.
24545
24546
1b835983
MT
245472013-04-26 Markus Trippelsdorf <markus@trippelsdorf.de>
24548
24549 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
24550
73709b26
JM
245512013-04-25 Joseph Myers <joseph@codesourcery.com>
24552
24553 * elf/Makefile [$(config-machine) = x86_64] (tests): Remove
24554 additions to variable.
24555 [$(config-machine) = x86_64] (modules-names): Likewise.
24556 ($(objpfx)tst-audit3): Remove dependency.
24557 ($(objpfx)tst-audit3.out): Likewise.
24558 ($(objpfx)tst-audit4): Likewise.
24559 ($(objpfx)tst-audit4.out): Likewise.
24560 ($(objpfx)tst-audit5): Likewise.
24561 ($(objpfx)tst-audit5.out): Likewise.
24562 ($(objpfx)tst-audit6): Likewise.
24563 ($(objpfx)tst-audit6.out): Likewise.
24564 ($(objpfx)tst-audit7): Likewise.
24565 ($(objpfx)tst-audit7.out): Likewise.
24566 (tst-audit3-ENV): Remove variable.
24567 (tst-audit4-ENV): Likewise.
24568 (tst-audit5-ENV): Likewise.
24569 (tst-audit6-ENV): Likewise.
24570 (tst-audit7-ENV): Likewise.
24571 [$(config-cflags-avx) = yes] (AVX-CFLAGS): Likewise.
24572 [$(config-cflags-avx) = yes] (CFLAGS-tst-audit4.c): Remove
24573 addition to variable.
24574 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4a.c): Likewise.
24575 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4b.c): Likewise.
24576 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6b.c): Likewise.
24577 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6c.c): Likewise.
24578 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod7b.c): Likewise.
24579 * sysdeps/x86_64/Makefile [$(subdir) = elf] (tests): Add
24580 tst-audit3, tst-audit4 and tst-audit5.
24581 [$(subdir) = elf && $(config-cflags-avx) = yes] (tests): Add
24582 tst-audit6 and tst-audit7.
24583 [$(subdir) = elf] (modules-names): Add audit modules for those
24584 tests.
24585 [$(subdir) = elf] ($(objpfx)tst-audit3): New dependency.
24586 [$(subdir) = elf] ($(objpfx)tst-audit3.out): Likewise.
24587 [$(subdir) = elf] ($(objpfx)tst-audit4): Likewise.
24588 [$(subdir) = elf] ($(objpfx)tst-audit4.out): Likewise.
24589 [$(subdir) = elf] ($(objpfx)tst-audit5): Likewise.
24590 [$(subdir) = elf] ($(objpfx)tst-audit5.out): Likewise.
24591 [$(subdir) = elf] ($(objpfx)tst-audit6): Likewise.
24592 [$(subdir) = elf] ($(objpfx)tst-audit6.out): Likewise.
24593 [$(subdir) = elf] ($(objpfx)tst-audit7): Likewise.
24594 [$(subdir) = elf] ($(objpfx)tst-audit7.out): Likewise.
24595 [$(subdir) = elf] (tst-audit3-ENV): New variable.
24596 [$(subdir) = elf] (tst-audit4-ENV): Likewise.
24597 [$(subdir) = elf] (tst-audit5-ENV): Likewise.
24598 [$(subdir) = elf] (tst-audit6-ENV): Likewise.
24599 [$(subdir) = elf] (tst-audit7-ENV): Likewise.
24600 [$(subdir) = elf && $(config-cflags-avx) = yes] (AVX-CFLAGS):
24601 Likewise.
24602 [$(subdir) = elf && $(config-cflags-avx) = yes]
24603 (CFLAGS-tst-audit4.c): Append $(AVX-CFLAGS).
24604 [$(subdir) = elf && $(config-cflags-avx) = yes]
24605 (CFLAGS-tst-auditmod4a.c): Likewise.
24606 [$(subdir) = elf && $(config-cflags-avx) = yes]
24607 (CFLAGS-tst-auditmod4b.c): Likewise.
24608 [$(subdir) = elf && $(config-cflags-avx) = yes]
24609 (CFLAGS-tst-auditmod6b.c): Likewise.
24610 [$(subdir) = elf && $(config-cflags-avx) = yes]
24611 (CFLAGS-tst-auditmod6c.c): Likewise.
24612 [$(subdir) = elf && $(config-cflags-avx) = yes]
24613 (CFLAGS-tst-auditmod7b.c): Likewise.
24614 * elf/tst-audit3.c: Move to ...
24615 * sysdeps/x86_64/tst-audit3.c: ... here.
24616 * elf/tst-audit4.c: Move to ...
24617 * sysdeps/x86_64/tst-audit4.c: ... here.
24618 * elf/tst-audit5.c: Move to ...
24619 * sysdeps/x86_64/tst-audit5.c: ... here.
24620 * elf/tst-audit6.c: Move to ...
24621 * sysdeps/x86_64/tst-audit6.c: ... here.
24622 * elf/tst-audit7.c: Move to ...
24623 * sysdeps/x86_64/tst-audit7.c: ... here.
24624 * elf/tst-auditmod3a.c: Move to ...
24625 * sysdeps/x86_64/tst-auditmod3a.c: ... here.
24626 * elf/tst-auditmod3b.c: Move to ...
24627 * sysdeps/x86_64/tst-auditmod3b.c: ... here.
24628 * elf/tst-auditmod4a.c: Move to ...
24629 * sysdeps/x86_64/tst-auditmod4a.c: ... here.
24630 * elf/tst-auditmod4b.c: Move to ...
24631 * sysdeps/x86_64/tst-auditmod4b.c: ... here.
24632 * elf/tst-auditmod5a.c: Move to ...
24633 * sysdeps/x86_64/tst-auditmod5a.c: ... here.
24634 * elf/tst-auditmod5b.c: Move to ...
24635 * sysdeps/x86_64/tst-auditmod5b.c: ... here.
24636 * elf/tst-auditmod6a.c: Move to ...
24637 * sysdeps/x86_64/tst-auditmod6a.c: ... here.
24638 * elf/tst-auditmod6b.c: Move to ...
24639 * sysdeps/x86_64/tst-auditmod6b.c: ... here.
24640 * elf/tst-auditmod6c.c: Move to ...
24641 * sysdeps/x86_64/tst-auditmod6c.c: ... here.
24642 * elf/tst-auditmod7a.c: Move to ...
24643 * sysdeps/x86_64/tst-auditmod7a.c: ... here.
24644 * elf/tst-auditmod7b.c: Move to ...
24645 * sysdeps/x86_64/tst-auditmod7b.c: ... here.
24646
1ef74943
PP
246472013-04-25 Paul Pluzhnikov <ppluzhnikov@google.com>
24648
24649 [BZ #15366]
24650 * sysdeps/generic/inttypes.h (PRId8, PRId16, etc.):
24651 define unconditionally.
24652 * sysdeps/generic/stdint.h (INT8_MIN, INT16_MIN, etc.):
24653 define unconditionally.
24654 (INT8_C, INT16_C, etc.): Likewise.
24655
93fd48c5
MR
246562013-04-25 Maciej W. Rozycki <macro@codesourcery.com>
24657
ae9552cf
MR
24658 * csu/libc-start.c (__libc_start_main) [!SHARED]: Declare
24659 __ehdr_start with hidden visibility.
24660
93fd48c5
MR
24661 * soft-fp/op-common.h (_FP_SQRT): s/sNAN/NAN/ in a comment.
24662
418601aa
CD
246632013-04-24 Carlos O'Donell <carlos@redhat.com>
24664
24665 * math/libm-test.inc (cos_test): Use accurate hex constants.
24666 (sincost_test): Likewise.
24667
2f38fbfe
JM
246682013-04-24 Joseph Myers <joseph@codesourcery.com>
24669
5e221800
JM
24670 * math/libm-test.inc (catan_test): Add more tests.
24671 (catanh_test): Likewise.
24672
77f143fd
JM
24673 * math/s_catanf.c (__catanf): Use suffixed floating-point
24674 constants.
24675 * math/s_catanhf.c (__catanhf): Likewise.
24676 * math/s_catanhl.c (__catanhl): Likewise.
24677 * math/s_catanl.c (__catanl): Likewise.
24678
2f38fbfe
JM
24679 [BZ #15394]
24680 * math/s_catan.c (__catan): Calculate imaginary part of result
24681 with log1p not log unless computing log of number close to 0.
24682 * math/s_catanf.c (__catanf): Likewise.
24683 * math/s_catanl.c (__catanl): Likewise.
24684 * math/s_catanh.c (__catanh): Calculate real part of result with
24685 log1p not log unless computing log of number close to 0.
24686 * math/s_catanhf.c (__catanhf): Likewise.
24687 * math/s_catanhl.c (__catanhl): Likewise.
24688 * math/libm-test.inc (catan_test): Add more tests.
24689 (catanh_test): Likewise.
24690 * sysdeps/i386/fpu/libm-test-ulps: Update.
24691 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24692
45d69176
SP
246932013-04-24 Siddhesh Poyarekar <siddhesh@redhat.com>
24694
24695 * benchtests/Makefile: Mention files in which fast and slow
24696 paths of math functions are implemented.
24697
87f51853
RM
246982013-04-23 Roland McGrath <roland@hack.frob.com>
24699
24700 * sysdeps/posix/timespec_get.c: New file.
24701
3c026539
AZ
247022013-04-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
24703
24704 * sysdeps/powerpc/power5/fpu/s_modf.c: New file: modf optimization for
24705 POWER.
24706 * sysdeps/powerpc/power5/fpu/s_modff.c: New file: modff optimization
24707 for POWER.
24708 * sysdeps/powerpc/powerpc64/power5/Implies: Add powerpc/power5 and
24709 powerpc/power5/fpu folders.
24710 * sysdeps/powerpc/powerpc32/power5/Implies: Likewise.
24711 * benchtests/Makefile: Add modf testcase.
24712 * benchtests/bench-modf.c: New file: Benchmark test for mo
24713
ff491d14
SP
247142013-04-23 Siddhesh Poyarekar <siddhesh@redhat.com>
24715
24716 [BZ #14888]
24717 * time/Makefile (tests): Add tst-strptime-whitespace.
24718 * time/strptime_l.c (get_number): Use ISSPACE.
24719 (__strptime_internal): Likewise.
24720 * time/tst-strptime-whitespace.c: New test case.
24721
7ed3f4e8
AS
247222013-04-23 Andreas Schwab <schwab@linux-m68k.org>
24723
24724 * nss/nss_files/files-init.c (TF): Don't initialize flexible array
24725 member.
24726 (_nss_files_init): Set it here.
24727
5c95f7b6
HC
247282013-04-23 Heiko Carstens <heiko.carstens@de.ibm.com>
24729
24730 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Change types of
24731 f_type, f_bsize, f_namelen, f_frsize, f_flags,and f_spare to
24732 unsigned.
24733
d34c9158
JBG
247342013-04-22 Jan-Benedict Glaw <jbglaw@getslash.de>
24735
24736 * nss/getent.c (shadow_keys): Call endspent, not endpwent.
24737
2169712d
SP
247382013-04-22 Siddhesh Poyarekar <siddhesh@redhat.com>
24739
24740 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Compute results
24741 size just once.
24742
29c5de99
DM
247432013-04-21 David S. Miller <davem@davemloft.net>
24744
24745 * po/ru.po: Update Russion translation from translation project.
24746
ccdad15d
AC
247472013-04-17 Adam Conrad <adconrad@0c3.net>
24748
24749 * sysdeps/unix/sysv/linux/sys/fsuid.h: Remove __wur from setfsuid
24750 and setfsgid.
24751
0f122b8d
CD
247522013-04-17 Carlos O'Donell <carlos@redhat.com>
24753
5c5b07da 24754 * configure.in: Remove i386 configure warning. Remove i386 case.
0f122b8d 24755 * configure: Regenerate.
5c5b07da 24756 * sysdeps/i386/configure.in: Raise error if config_machine is i386.
0f122b8d
CD
24757 Add example to error message.
24758 * sysdeps/i386/configure: Regenerate.
24759
037714dd
SP
247602013-04-17 Siddhesh Poyarekar <siddhesh@redhat.com>
24761
24762 * benchtests/Makefile (bench): Add cos, tan, slowcos and
24763 slowtan.
24764 * benchtests/cos-inputs: New file.
24765 * benchtests/slowcos-inputs: New file.
24766 * benchtests/slowcos.c: New file.
24767 * benchtests/slowtan-inputs: New file.
24768 * benchtests/slowtan.c: New file.
24769 * benchtests/tan-inputs: New file.
24770
e913141d
RM
247712013-04-16 Roland McGrath <roland@hack.frob.com>
24772
24773 * rt/tst-aio7.c (do_test): Don't test O_RDONLY fd case, which is now
24774 considered kosher.
24775
a2964074
SP
247762013-04-16 Siddhesh Poyarekar <siddhesh@redhat.com>
24777
4856bcd2
SP
24778 * benchtests/Makefile: Include cppflags-iterator.mk to add
24779 -DNOT_IN_libc=1 to CPPFLAGS of all benchmark programs.
24780
a2964074
SP
24781 * Makefile.in (bench-clean): New target.
24782 * benchtests/Makefile (bench-clean): Likewise.
24783
9fbf9aca
DH
247842013-04-16 David Holsgrove <david.holsgrove@xilinx.com>
24785
24786 * elf/elf.h: Add EM_MICROBLAZE and MicroBlaze relocations.
24787
207d1e2a
TS
247882013-04-15 Thomas Schwinge <thomas@codesourcery.com>
24789
24790 * stdio-common/tstdiomisc.c: Fix coding-style violation.
24791
306dfba9
AS
247922013-04-15 Andreas Schwab <schwab@suse.de>
24793
24794 * nscd/grpcache.c (cache_addgr): Properly check for short write.
24795 * nscd/initgrcache.c (addinitgroupsX): Likewise.
24796 * nscd/pwdcache.c (cache_addpw): Likewise.
24797 * nscd/servicescache.c (cache_addserv): Likewise. Don't write
24798 more than recsize.
24799
206a6699
SP
248002013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
24801
24802 * benchtests/Makefile (bench): Write all output to
24803 bench-out.tmp together.
24804
0582f6b3
AS
248052013-04-15 Andreas Schwab <schwab@suse.de>
24806
24807 * nscd/nscd.c (main): Don't fork again after closing files.
24808
acb4325f
SP
248092013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
24810
5cb26d0a
SP
24811 * libio/tst-fwrite-error.c (do_test): Fix BUF array definition.
24812
acb4325f
SP
24813 * benchtests/Rules (bench-deps): Collect dependencies into a
24814 single variable. Add Makefile to dependencies.
24815 ($(objpfx)bench-%.c): Depend on bench-deps.
24816
47792506
RM
248172013-04-12 Roland McGrath <roland@hack.frob.com>
24818 Xavier Roche <roche+kml2@exalead.com>
24819
24820 [BZ #15361]
24821 * sysdeps/pthread/aio_fsync.c (aio_fsync): Don't check open modes,
24822 just that it's a file descriptor.
24823 * manual/llio.texi (Synchronizing AIO Operations): Update description
24824 for EBADF error from aio_fsync.
24825
8fc1bee5
SP
248262013-04-12 Siddhesh Poyarekar <siddhesh@redhat.com>
24827
24828 * Rules (bench): Move target definition...
24829 * benchtests/Makefile: ... here.
24830
aba5e333
CD
248312013-04-11 Carlos O'Donell <carlos@redhat.com>
24832
24833 * math/libm-test.inc (cos_test): Fix PI/2 test.
24834 (sincos_test): Likewise.
24835 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
24836 * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
24837
273cdee8
AS
248382013-04-11 Andreas Schwab <schwab@suse.de>
24839
6ecec3b6
AS
24840 [BZ #13988]
24841 * stdio-common/vfscanf.c (_IO_vfwscanf): When parsing a float
24842 accept exponent character only when digits were seen.
24843 * stdio-common/Makefile (tests): Add bug26.
24844 * stdio-common/bug26.c: New file.
24845
273cdee8
AS
24846 [BZ #14293]
24847 * elf/dl-load.c (_dl_init_paths): Mark decomposed RUNPATH as
24848 non-freeable.
24849
8da491f5
SP
248502013-04-11 Siddhesh Poyarekar <siddhesh@redhat.com>
24851
01dc6df9
SP
24852 * Makeconfig (rtld-prefix): Define built linker prefix.
24853 * Rules (run-bench): Use it.
24854 * math/Makefile (run-regen-ulps): Likewise.
24855
8da491f5
SP
24856 * Rules (bench): Remove eval.
24857
abe7f530
SP
248582013-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
24859 Roland McGrath <roland@hack.frob.com>
24860 Ondrej Bilka <neleai@seznam.cz>
24861
24862 [BZ #15346]
24863 * time/getdate.c: Include ctype.h and alloca.h.
24864 (__getdate_r): Trim leading and trailing spaces of input.
24865 * time/tst-getdate.c (tests): Add tests with leading and
24866 trailing spaces.
24867
61c23e62
RM
248682013-04-08 Roland McGrath <roland@hack.frob.com>
24869
24870 [BZ #14280]
24871 * sysdeps/mach/hurd/bits/ioctls.h (_IOTS): Cast to enum __ioctl_datum
24872 when computing value.
24873
7208a313
CD
248742013-04-06 Carlos O'Donell <carlos@redhat.com>
24875
085b2d41
CD
24876 * math/README.libm-test (How can I generate "libm-test-ulps"?):
24877 Use testrun.sh to run libm tests.
24878
7208a313
CD
24879 [BZ #15309]
24880 * elf/dl-open.c (dl_open_worker): memset all of seen array.
24881
872c0acd
MM
248822013-04-06 Marko Myllynen <myllynen@redhat.com>
24883
24884 [BZ #15264]
24885 * locales/fi_FI (LC_MESSAGES): Define yesstr and nostr.
24886
26510bdd
CD
248872013-04-06 Carlos O'Donell <carlos@redhat.com>
24888
24889 * Makefile.in (regen-ulps): New target.
24890 * math/Makefile [ifneq (no,$(PERL)]: Declare regen-ulps with .PHONY.
24891 [ifneq (no,$(PERL)] (run-regen-ulps): New variable.
24892 [ifneq (no,$(PERL)] (regen-ulps): New target.
24893 [ifeq (no,$(PERL)] (regen-ulps): New target.
24894 * math/libm-test.inc (ulps_file_name): Define.
24895 (output_dir): New variable.
24896 (options): Add "output-dir" option.
24897 (parse_opt): Handle 'o' case.
24898 (main): If output_dir is non-NULL use it as a prefix
24899 otherwise use "".
24900 * math/README.libm-test: Update `How can I generate "libm-test-ulps"?'
24901
a01f19c8
CD
249022013-04-06 Carlos O'Donell <carlos@redhat.com>
24903
24904 [BZ #10060, #10062]
24905 * aclocal.m4 (LIBC_COMPILER_BUILTIN_INLINED): New macro.
24906 * sysdeps/i386/configure.in: Use LIBC_COMPILER_BUILTIN_INLINED and
24907 fail configure if __sync_val_compare_and_swap is not inlined.
24908 * sysdeps/i386/configure: Regenerate.
24909 * configure.in: Build for i686 when configured for i386.
24910 * configure: Regenerate.
24911 * README: Remove i386 reference.
24912
b7a329a5
CD
249132013-04-06 Carlos O'Donell <carlos@redhat.com>
24914
24915 * sysdeps/s390/s390-32/sysdep.h: Undefine PSEUDO before redefinition.
24916 * sysdeps/s390/s390-64/sysdep.h: Likewise.
24917
bf0f50df
TS
249182013-04-05 Thomas Schwinge <thomas@codesourcery.com>
24919
ee091edf
TS
24920 * stdio-common/tstdiomisc.c (snanval, msnanval, lsnanval)
24921 (lmsnanval): New variables.
24922 (F): Add conversion tests.
24923 * stdlib/tst-strtod6.c (do_test): Add issignaling tests.
24924 * stdlib/Makefile ($(objpfx)tst-strtod6): Depend on $(link-libm).
24925
a8b792d6
TS
24926 * stdio-common/tstdiomisc.c (F): Properly collect individual
24927 tests' results.
24928
a1cbf437
TS
24929 [BZ #14686, #15336]
24930 * sysdeps/ieee754/dbl-64/urem.h (nNAN, NAN): Remove definitions.
24931 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
24932 Instead, use input NaN values or generate a qNaN by arithmetic
24933 operation. Also fix bugs to comply with the standard.
24934 * math/libm-test.inc (remainder_test): Add more tests.
24935
8b43a0c9
TS
24936 [BZ #15335, #15342]
24937 * sysdeps/ieee754/dbl-64/upow.h (NaNQ): Remove definitions.
24938 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Instead, use
24939 input NaN values or generate a qNaN by arithmetic operation.
24940
d91da4ce
TS
24941 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Remove
24942 unreachable code.
24943
bf0f50df
TS
24944 * sysdeps/ieee754/dbl-64/usncs.h (NAN): Removed unused
24945 definitions.
24946
05e166c8
JM
249472013-04-03 Joseph Myers <joseph@codesourcery.com>
24948
24949 [BZ #14478]
24950 * math/s_cexp.c (__cexp): Ensure underflow exception occurs for
24951 underflowed result.
24952 * math/s_cexpf.c (__cexpf): Likewise.
24953 * math/s_cexpl.c (__cexpl): Likewise.
24954 * math/libm-test.inc (cexp_test): Add more tests.
24955
1cef1b19
AS
249562013-04-03 Andreas Schwab <schwab@suse.de>
24957
24958 [BZ #15330]
24959 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Allocate results and
24960 order arrays from heap if bigger than alloca cutoff.
24961
74d87055
TS
249622013-04-03 Thomas Schwinge <thomas@codesourcery.com>
24963
24964 * sysdeps/i386/fpu/math-tests.h (SNAN_TESTS_float)
24965 (SNAN_TESTS_double): Refer to GCC PR56831.
24966 * sysdeps/powerpc/math-tests.h (SNAN_TESTS_TYPE_CAST): Refer to
24967 GCC PR56828.
24968
d755bba4
SP
249692013-04-03 Siddhesh Poyarekar <siddhesh@redhat.com>
24970
90d5d5bb
SP
24971 * Rules (bench): Move bench.out after the run is complete.
24972
73e0cd5d
SP
24973 * Rules (bench): Echo currently running benchmark.
24974
64aabd4b
SP
24975 * benchtests/Makefile (bench): Add atan and slowatan.
24976 * benchtests/atan-inputs: New file.
24977 * benchtests/slowatan-inputs: New file.
24978 * benchtests/slowatan.c: New file.
24979
c871eccd
SP
24980 * sysdeps/ieee754/dbl-64/mpa.h (TWO): Remove definition.
24981 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Replace TWO with
24982 its value.
24983
d755bba4
SP
24984 [BZ #15305]
24985 * sysdeps/unix/sysv/linux/kernel-features.h
24986 [__LINUX_KERNEL_VERSION >= 0x02061d]: Define
24987 __ASSUME_XFS_RESTRICTED_CHOWN.
24988 * sysdeps/unix/sysv/linux/pathconf.c
24989 (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
24990 Save and restore errno.
24991
52ce4860
JM
249922013-04-02 Joseph Myers <joseph@codesourcery.com>
24993
24994 [BZ #15327]
24995 * math/s_cacosh.c (__cacosh): Implement for finite nonzero
24996 arguments using __kernel_casinh.
24997 * math/s_cacoshf.c (__cacoshf): Implement for finite nonzero
24998 arguments using __kernel_casinhf.
24999 * math/s_cacoshl.c (__cacoshl): Implement for finite nonzero
25000 arguments using __kernel_casinhl.
25001 * math/libm-test.inc (cacosh_test): Add more tests.
25002 * sysdeps/i386/fpu/libm-test-ulps: Update.
25003 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25004
81f311c2
SP
250052013-04-02 Siddhesh Poyarekar <siddhesh@redhat.com>
25006
e7906a47
SP
25007 * sysdeps/ieee754/dbl-64/mpa.h (HALFRAD): Define as TWO23.
25008 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Use mantissa_t.
25009
92e3664b
SP
25010 * bench/Makefile (bench): Add sin and slowsin.
25011 * benchtests/sin-inputs: New file.
25012 * benchtests/slowsin-inputs: New file.
25013 * benchtests/slowsin.c: New file.
25014
81f311c2
SP
25015 * benchtests/Makefile: Add benchmarks for slowpow and slowexp.
25016 (bench): Add slowexp and slowpow.
25017 (exp-ITER): Increase iterations.
25018 (pow-ITER): Likewise.
25019 * benchtests/exp-inputs: Change input.
25020 * benchtests/pow-inputs: Likewise.
25021 * benchtests/slowexp-inputs: New file.
25022 * benchtests/slowexp.c: New file.
25023 * benchtests/slowpow-inputs: New file.
25024 * benchtests/slowpow.c: New file.
25025
ab0f1aa9
AZ
250262013-04-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
25027
25028 * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Remove branch prediction
25029 instructions.
25030 * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Likewise.
25031 * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Likewise.
25032 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
25033 * benchtests/Makefile: Add rint benchtest.
25034 * benchtests/rint-inputs: Input for rint benchtest.
25035
57267616
TS
250362013-04-02 Thomas Schwinge <thomas@codesourcery.com>
25037
25038 * Versions.def (libm): Add GLIBC_2.18.
25039 * include/math.h [!_ISOMAC] (__issignaling, __issignalingf): Add
25040 hidden libm prototypes.
25041 [!_ISOMAC && !__NO_LONG_DOUBLE_MATH] (__issignalingl): Likewise.
25042 * math/Makefile (libm-calls): Add s_issignaling.
25043 * math/Versions (libm: GLIBC_2.18): Add __issignaling,
25044 __issignalingf, __issignalingl. Adjust all libm.abilist files.
25045 * math/bits/mathcalls.h [__USE_GNU] (__issignaling): New prototype
25046 declaration.
25047 * math/math.h [__USE_GNU] (issignaling): New macro.
25048 * sysdeps/ieee754/flt-32/s_issignalingf.c: New file.
25049 * sysdeps/ieee754/dbl-64/s_issignaling.c: Likewise.
25050 * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c: Likewise.
25051 * sysdeps/ieee754/ldbl-96/s_issignalingl.c: Likewise.
25052 * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Likewise.
25053 * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c: Likewise.
25054 * manual/arith.texi (issignaling): New section.
25055 * manual/libm-err-tab.pl (@all_functions): Update comment.
25056 * math/gen-libm-test.pl (parse_args): Apply special handling for
25057 issignaling.
25058 * math/libm-test.inc (print_float, issignaling_test): New
25059 functions.
25060 (check_float_internal): Add issignaling checks.
25061 * sysdeps/generic/math-tests.h (SNAN_TESTS_TYPE_CAST): Provide
25062 default definition.
25063 * sysdeps/powerpc/math-tests.h: New file.
25064 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Add issignaling
25065 tests.
25066 * math/test-snan.c (TEST_FUNC): Likewise.
25067
6142896d
DM
250682013-03-30 David S. Miller <davem@davemloft.net>
25069
25070 * po/de.po: Update from translation team.
25071
ccc8cadf
JM
250722013-03-30 Joseph Myers <joseph@codesourcery.com>
25073
25074 [BZ #10357]
25075 * math/k_casinh.c (__kernel_casinh): Handle arguments with
25076 imaginary part less than 1.0 and real part less than 0.5
25077 specially.
25078 * math/k_casinhf.c (__kernel_casinhf): Likewise.
25079 * math/k_casinhl.c (__kernel_casinhl): Likewise.
25080 * math/libm-test.inc (UNDERFLOW_EXCEPTION_OK_DOUBLE): New macro.
25081 (cacos_test): Add more tests.
25082 (casin_test): Likewise.
25083 (casinh_test): Likewise.
25084 * sysdeps/i386/fpu/libm-test-ulps: Update.
25085 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25086
0f6a8d4b
SP
250872013-03-29 Siddhesh Poyarekar <siddhesh@redhat.com>
25088
0d1029de
SP
25089 * sysdeps/powerpc/power4/fpu/mpa-arch.h (INTEGER_OF): Replace
25090 ONE with its value.
25091
c2d94018
SP
25092 * sysdeps/ieee754/dbl-64/mpa.h (ONE, MONE): Remove defines.
25093 (__pow_mp): Replace ONE and MONE with their values.
25094 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
25095 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Likewise.
25096 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
25097 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Likewise.
25098 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
25099 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
25100
27ec37f1
SP
25101 * sysdeps/ieee754/dbl-64/s_tan.c: Fix formatting.
25102
a64d7e0e
SP
25103 * sysdeps/ieee754/dbl-64/mpa.h (ZERO, MZERO): Remove defines.
25104 (__pow_mp): Replace ZERO and MZERO with their values.
25105 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
25106 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
25107 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
25108 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
25109 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
25110 * sysdeps/powerpc/power4/fpu/mpa.c (__mul): Likewise.
25111 (__sqr): Likewise.
25112
d26dd3eb
SP
25113 * sysdeps/ieee754/dbl-64/s_atan.c: Fix formatting.
25114
0f6a8d4b
SP
25115 * sysdeps/ieee754/dbl-64/e_log.c: Fix formatting.
25116
e57b0c61
RM
251172013-03-28 Roland McGrath <roland@hack.frob.com>
25118
25119 * include/stdlib.h [!SHARED] (__call_tls_dtors):
25120 Declare with __attribute__ ((weak)).
25121 * stdlib/exit.c (__libc_atexit) [!SHARED]:
25122 Call __call_tls_dtors only if it's not NULL.
25123
356b3480
RM
251242013-03-28 Roland McGrath <roland@hack.frob.com>
25125
288f7d79
RM
25126 * csu/libc-start.c (__libc_start_main) [!SHARED]: If _dl_aux_init
25127 didn't do it already, then set _dl_phdr and _dl_phnum based on the
25128 magic __ehdr_start linker symbol if it's defined.
25129 * sysdeps/mach/hurd/i386/init-first.c (init1) [!SHARED]: Don't set
25130 them up here if it was already done.
25131
dc0a0263
RM
25132 * elf/dl-support.c (_dl_phdr): Make pointer to const.
25133 (_dl_aux_init): Use const in cast when setting it.
25134 * sysdeps/mach/hurd/i386/init-first.c (init1): Remove superfluous cast.
25135 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr): Update decl.
25136 * csu/libc-tls.c (__libc_setup_tls): Make PHDR pointer to const.
25137
3d3436ae
RM
25138 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr, _dl_phnum):
25139 Declare them here.
25140 * elf/dl-iteratephdr.c [!SHARED] (_dl_phdr, _dl_phnum): Not here.
25141 * csu/libc-tls.c: Nor here.
25142 * sysdeps/mach/hurd/i386/init-first.c (init1): Nor here.
25143
356b3480
RM
25144 * sysdeps/posix/libc_fatal.c: Don't include <sys/syslog.h>.
25145 (__libc_message): Never call vsyslog.
25146
b0f1246a
AM
251472013-03-28 Alan Modra <amodra@gmail.com>
25148
25149 * sysdeps/powerpc/powerpc32/start.S (cfi_startproc, cfi_endproc):
25150 Define as empty.
25151 * sysdeps/powerpc/powerpc64/start.S (cfi_startproc, cfi_endproc):
25152 Likewise.
25153
fbbe2b9a
AZ
251542013-03-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
25155
25156 [BZ #15214]
25157 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Fix spurious
25158 underflow.
25159 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
25160
1728ab37
SP
251612013-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
25162
7a86be6e
SP
25163 [BZ #15304]
25164 * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
25165 Don't add gid passed as argument.
25166
1728ab37
SP
25167 * sysdeps/ieee-754/dbl-64/e_atan2.c: Reformat.
25168
3a7182a1
JM
251692013-03-27 Joseph Myers <joseph@codesourcery.com>
25170
25171 [BZ #15307]
25172 * math/k_casinh.c (__kernel_casinh): Handle arguments with
25173 imaginary part between 1.0 and 1.5 and real part less than 0.5
25174 specially.
25175 * math/k_casinhf.c (__kernel_casinhf): Likewise.
25176 * math/k_casinhl.c (__kernel_casinhl): Likewise.
25177 * math/libm-test.inc (cacos_test): Add more tests.
25178 (casin_test): Likewise.
25179 (casinh_test): Likewise.
25180 * sysdeps/i386/fpu/libm-test-ulps: Update.
25181 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25182
6f2e90e7
SP
251832013-03-26 Siddhesh Poyarekar <siddhesh@redhat.com>
25184
5739f705
SP
25185 * sysdeps/ieee754/dbl-64/mpa.c (__acr): Use integral
25186 constants.
25187 (norm): Likewise.
25188 (denorm): Likewise.
25189 (__dbl_mp): Likewise.
25190 (add_magnitudes): Likewise.
25191 (sub_magnitudes): Likewise.
25192 (__add): Likewise.
25193 (__sub): Likewise.
25194 (__mul): Likewise.
25195 (__sqr): Likewise.
25196 (__inv): Likewise.
25197 (__dvd): Likewise.
25198
e375e83d
SP
25199 * sysdeps/ieee754/dbl-64/branred.c (__branred): Remove
25200 commented code.
25201 * sysdeps/ieee754/dbl-64/dosincos.c (__dubsin): Likewise.
25202 (__dubcos): Likewise.
25203 * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Likewise.
25204 (__ieee754_acos): Likewise.
25205 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
25206 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Likewise.
25207 (__exp1): Likewise.
25208 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
25209 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
25210 (log1): Likewise.
25211 (my_log2): Likewise.
25212 (checkint): Likewise.
25213 * sysdeps/ieee754/dbl-64/e_remainder.c
25214 (__ieee754_remainder): Likewise.
25215 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
25216 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
25217 (bsloww): Likewise.
25218 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
25219
6f2e90e7
SP
25220 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
25221 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T and
25222 MANTISSA_STORE_T to store computations on mantissa. Use
25223 macros for rounding and division.
25224 (denorm): Likewise.
25225 (__dbl_mp): Likewise.
25226 (add_magnitudes): Likewise.
25227 (sub_magnitudes): Likewise.
25228 (__mul): Likewise.
25229 (__sqr): Likewise.
25230 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
25231 powers of two in terms of TWOPOW macro.
25232 (mp_no): Make type of mantissa as MANTISSA_T.
25233 [!RADIXI]: Define RADIXI.
25234 [!TWO52]: Define TWO52.
25235 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
25236
fce14d4e
AZ
252372013-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
25238
25239 * sysdeps/powerpc/fpu/s_llround.c: Fix libm ABI issue with missing
25240 llroundl symbol when building for PPC32.
25241
9ad027fb
MW
252422013-03-24 Mark H Weaver <mhw@netris.org>
25243
25244 * manual/arith.texi (Normalization Functions): Fix prototypes for
25245 scalbn, scalbnf, scalbnl, scalbln, scalblnf, and scalblnl.
25246
e42a38dd
AZ
252472013-03-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
25248
25249 [BZ #13889]
25250 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Increase the
25251 high value to check if expl overflow.
25252 * sysdeps/ieee754/ldbl-128ibm/w_expl.c (__expl): Fix threshold constants
25253 to check for underflow and overflow.
25254 * math/libm-test.inc: Add exp test.
25255
2e0fb521
DL
252562013-03-21 Dmitry V. Levin <ldv@altlinux.org>
25257
25258 [BZ #11120]
25259 * sysdeps/x86_64/strcmp.S: Replace all occurrences of NOT_IN_lib
25260 with NOT_IN_libc.
25261
b5784d95
AZ
252622013-03-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
25263
25264 * sysdeps/powerpc/fpu/w_sqrt.c (compat_symbol): Add sqrtl compat
25265 symbol.
25266
5aa4a1a1
TS
252672013-03-21 Thomas Schwinge <thomas@codesourcery.com>
25268
bdef0be7
TS
25269 * math/gen-libm-test.pl (parse_args, special_functions): Properly
25270 wrap blocks consisting of several statements.
25271
5aa4a1a1
TS
25272 * sysdeps/generic/math-tests.h: New file.
25273 * sysdeps/i386/fpu/math-tests.h: Likewise.
25274 * math/test-snan.c: Include it.
25275 (TEST_FUNC): Use SNAN_TESTS to short-circuit certain tests.
25276
98c48fe5
JM
252772013-03-21 Joseph Myers <joseph@codesourcery.com>
25278
25279 [BZ #15285]
25280 * sysdeps/ieee754/ldbl-128/e_j0l.c: Include <float.h>.
25281 (__ieee754_j0l): Do not improve calculations using cos of twice
25282 input for inputs above LDBL_MAX / 2.0L.
25283 (__ieee754_y0l): Likewise.
25284 * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <float.h>.
25285 (__ieee754_j1l): Do not improve calculations using cos of twice
25286 input for inputs above LDBL_MAX / 2.0L.
25287 (__ieee754_y1l): Likewise.
25288 * math/libm-test.inc (j0_test): Add another test.
25289 (j1_test): Likewise.
25290 (y0_test): Likewise.
25291 (y1_test): Likewise.
25292 * sysdeps/i386/fpu/libm-test-ulps: Update.
25293
3775a8bc
SP
252942013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
25295
25296 * Rules ($(objpfx)bench-%.c): Include code from a C source
25297 file.
25298
0a1b2ae6
JM
252992013-03-21 Joseph Myers <joseph@codesourcery.com>
25300
25301 [BZ #15287]
25302 * math/k_casinh.c (__kernel_casinh): Handle arguments with
25303 imaginary part 1.0 and real part less than 0.5 specially.
25304 * math/k_casinhf.c (__kernel_casinhf): Likewise.
25305 * math/k_casinhl.c (__kernel_casinhl): Likewise.
25306 * math/libm-test.inc (cacos_test): Add more tests.
25307 (casin_test): Likewise.
25308 (casinh_test): Likewise.
25309 * sysdeps/i386/fpu/libm-test-ulps: Update.
25310 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25311
b33d4ce4
SP
253122013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
25313
25314 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Use HALFRAD.
25315 * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Likewise.
25316
bef0b507
JM
253172013-03-20 Joseph Myers <joseph@codesourcery.com>
25318
25319 * aclocal.m4 (LIBC_CONFIG_VAR): New autoconf macro.
25320 * config.make.in (config-cflags-sse4): Remove variable.
25321 (config-cflags-avx): Likewise.
25322 (config-cflags-sse2avx): Likewise.
25323 (config-cflags-novzeroupper): Likewise.
25324 (config-asflags-i686): Likewise.
25325 (have-mfma4): Likewise.
25326 (have-as-vis3): Likewise.
25327 (MIG): Likewise.
25328 * configure.in (MIG): Do not AC_SUBST.
25329 (libc_cv_cc_nofma): Move AC_SUBST next to configure test.
25330 (libc_cv_cc_sse4): Do not AC_SUBST.
25331 (libc_cv_cc_avx): Likewise.
25332 (libc_cv_cc_sse2avx): Likewise.
25333 (libc_cv_cc_novzeroupper): Likewise.
25334 (libc_cv_cc_fma4): Likewise.
25335 (libc_cv_as_i686): Likewise.
25336 (libc_cv_sparc_as_vis3): Likewise.
25337 * sysdeps/i386/configure.in (config-cflags-sse4): Set using
25338 LIBC_CONFIG_VAR.
25339 (config-asflags-i686): Likewise.
25340 (config-cflags-avx): Likewise.
25341 (config-cflags-sse2avx): Likewise.
25342 (have-mfma4): Likewise.
25343 (config-cflags-novzeroupper): Likewise.
25344 * sysdeps/mach/configure.in (MIG): Likewise.
25345 * sysdeps/sparc/configure.in (have-as-vis3): Likewise.
25346 * sysdeps/x86_64/configure.in (config-cflags-sse4): Set using
25347 LIBC_CONFIG_VAR.
25348 (config-cflags-avx): Likewise.
25349 (config-cflags-sse2avx): Likewise.
25350 (have-mfma4): Likewise.
25351 (config-cflags-novzeroupper): Likewise.
25352 * configure: Regenerated.
25353 * sysdeps/i386/configure: Likewise.
25354 * sysdeps/mach/configure: Likewise.
25355 * sysdeps/sparc/configure: Likewise.
25356 * sysdeps/x86_64/configure: Likewise.
25357
912cc4b3
RM
253582013-03-20 Roland McGrath <roland@hack.frob.com>
25359
25360 [BZ #14812]
25361 * locale/programs/localedef.c (options): Put N_ translation marker
25362 on argument names, not just descriptions.
25363
04eed2b0
MS
253642013-03-20 Marcus Shawcroft <marcus.shawcroft@linaro.org>
25365
25366 * Makerules ($(inst_libdir)/libc.so): Use $(rtlddir).
25367
a065ceff
OB
253682013-03-20 Ondřej Bílka <neleai@seznam.cz>
25369
9bb2a810 25370 [BZ #14176]
a065ceff
OB
25371 * stdlib/stdlib.h (mblen, mbtowc, wctomb): Remove __wur.
25372
a600e5ce
RM
253732013-03-19 Roland McGrath <roland@hack.frob.com>
25374
25375 * sysdeps/posix/libc_fatal.c: Include <sys/mman.h>.
25376 [!WRITEV_FOR_FATAL] (writev_for_fatal): New function.
25377 [!WRITEV_FOR_FATAL] (WRITEV_FOR_FATAL): New macro; call that.
25378 [!BEFORE_ABORT] (before_abort): New function.
25379 [!BEFORE_ABORT] (BEFORE_ABORT): New macro; call that.
25380 * sysdeps/unix/sysv/linux/libc_fatal.c: Trim includes.
25381 (writev_for_fatal): New function.
25382 (WRITEV_FOR_FATAL): New macro; call that.
25383 (backtrace_and_maps): New function.
25384 (BEFORE_ABORT): New macro; call that.
25385 (struct str_list): Type removed.
25386 (__libc_message, __libc_fatal): Functions removed.
25387 Include <sysdeps/posix/libc_fatal.c> instead.
25388
6b18bea6
JM
253892013-03-19 Joseph Myers <joseph@codesourcery.com>
25390
25391 * math/k_casinhf.c (__kernel_casinhf): Consistently use float
25392 constants.
25393 * math/k_casinhl.c (__kernel_casinhl): Consistently use long
25394 double constants.
25395
aaa8cb4b
AS
253962013-03-19 Andreas Schwab <schwab@suse.de>
25397
44673770
AS
25398 * sysdeps/gnu/configure.in: Set libc_cv_rtldir for s390x.
25399 * sysdeps/gnu/configure: Regenerate.
25400
aaa8cb4b
AS
25401 * configure.in: Substitute libc_cv_rtlddir.
25402 * configure: Regenerate.
25403 * config.make.in (rtlddir): Set from libc_cv_rtlddir.
25404 * Makeconfig (rtlddir, inst_rtlddir): New variables.
25405 (rtld-LDFLAGS): Use them with $(rtld-installed-name).
25406 * elf/Makefile (install-others, CFLAGS-interp.c)
25407 (ldso_install, common-ldd-rewrite): Likewise.
25408 ($(inst_rtlddir)/$(rtld-installed-name)): Renamed from
25409 $(inst_slibdir)/$(rtld-installed-name).
25410 * scripts/rellns-sh: Add -p option.
25411 * Makerules (make-shlib-link): Use rellns-sh to get relative name
25412 for source.
25413
d3cfc668
SP
254142013-03-19 Siddhesh Poyarekar <siddhesh@redhat.com>
25415
25416 * manual/nptl.texi: Renamed to ...
25417 * manual/threads.texi: ... this.
25418 * manual/Makefile (chapters): Update.
25419
0e2b9cdd
RM
254202013-03-18 Roland McGrath <roland@hack.frob.com>
25421
25422 [BZ #14812]
25423 * argp/argp-parse.c (argp_default_options): Put N_ translation marker
25424 on argument names, not just descriptions.
0e2b9cdd
RM
25425 * malloc/memusagestat.c (options): Likewise.
25426 * nss/getent.c (options): Likewise.
63270c24
RM
25427
254282013-03-18 Benno Schulenberg <bensberg@justemail.net>
25429
25430 [BZ #14812]
25431 * iconv/iconv_prog.c (options): Put N_ translation marker
25432 on argument names, not just descriptions.
25433 * iconv/iconvconfig.c (options): Likewise.
0e2b9cdd 25434
b2e1393c
OB
254352013-03-18 Ondrej Bilka <neleai@seznam.cz>
25436
25437 * sysdeps/x86_64/strlen.S: Replace with new SSE2 based
25438 implementation which is faster on all x86_64 architectures.
25439 Tested on AMD, Intel Nehalem, SNB, IVB.
25440 * sysdeps/x86_64/strnlen.S: Likewise.
25441
25442 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
25443 Remove all multiarch strlen and strnlen versions.
25444 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
25445 Remove strlen and strnlen related parts.
25446
25447 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Update.
25448 Inline strlen part.
25449 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
25450
25451 * sysdeps/x86_64/multiarch/strlen.S: Remove.
25452 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S: Likewise.
25453 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: Likewise.
25454 * sysdeps/x86_64/multiarch/strlen-sse4.S: Likewise.
25455 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
25456 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: Likewise.
25457
ec4ff04d
CD
254582013-03-17 Carlos O'Donell <carlos@redhat.com>
25459
25460 * manual/memory.texi (Malloc Tunable Parameters):
25461 Sort parameters alphabetically. Add comments for missing entries.
25462
cd18e90a
DM
254632013-03-17 David S. Miller <davem@davemloft.net>
25464
25465 * sysdeps/sparc/fpu/libm-test-ulps: Update.
25466
2a185d32
JM
254672013-03-16 Joseph Myers <joseph@codesourcery.com>
25468
d2f9799e
JM
25469 [BZ #15283]
25470 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_y1l): Correct test
25471 for arguments at most half maximum finite value.
25472 * math/libm-test.inc (j0_test): Add more tests.
25473 (j1_test): Likewise.
25474 (y0_test): Likewise.
25475 (y1_test): Likewise.
25476 * sysdeps/i386/fpu/libm-test-ulps: Update.
25477 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25478
2a185d32
JM
25479 [BZ #14155]
25480 * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Do not compute
25481 1 / x and functions P and Q for arguments above 0x1p256L.
25482 (__ieee754_y0l): Likewise.
25483 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
25484 (__ieee754_y1l): Likewise.
25485 * math/libm-test.inc (j0_test): Do not allow spurious underflows.
25486 (j1_test): Likewise.
25487 (y0_test): Likewise.
25488 (y1_test): Likewise.
25489
6cbec759
TS
254902013-03-16 Thomas Schwinge <thomas@codesourcery.com>
25491
25492 * math/test-snan.c (TEST_FUNC): Add and use minus_sNaN_var
25493 variable.
25494
bc16e260
RM
254952013-03-15 Roland McGrath <roland@hack.frob.com>
25496
aefc9b8c
RM
25497 * elf/dl-support.c (_dl_aux_init): Ignore zero value for AT_PAGESZ.
25498 (_dl_non_dynamic_init): Don't set _dl_pagesize; it will never be
25499 zero since it's initialized to EXEC_PAGESIZE.
25500
bc16e260
RM
25501 * sysdeps/unix/sysv/linux/ldsodefs.h
25502 (_dl_non_dynamic_init, _dl_aux_init): Move declarations to ...
25503 * sysdeps/generic/ldsodefs.h: ... here.
25504
a57da955
TS
255052013-03-15 Thomas Schwinge <thomas@codesourcery.com>
25506
af00a34d
TS
25507 * math/libm-test.inc (ldexp_test): Add missing START/END markers.
25508
495ded2c
TS
25509 * sysdeps/powerpc/fpu/test-powerpc-snan.c: Rename to
25510 math/test-snan.c.
25511 * math/test-snan.c: Renamed from
25512 sysdeps/powerpc/fpu/test-powerpc-snan.c.
25513 * math/Makefile (tests): Add test-snan.
25514 * sysdeps/powerpc/fpu/Makefile (libm-tests): Don't add
25515 test-powerpc-snan.
25516
777b0332
TS
25517 * math/basic-test.c (TEST_FUNC): Replace NANFUNC argument with
25518 SUFFIX. Initialize qNaN_var with __builtin_nan family of
25519 functions.
25520 (TEST_TRUNC): Add SUFFIX argument. Initialize qNaN_var with
25521 __builtin_nan family of functions.
25522 * math/libm-test.inc (initialize): Initialize qnan_value with
25523 __builtin_nan family of functions.
25524 * sysdeps/powerpc/fpu/test-powerpc-snan.c (SNANf, SNAN, SNANl):
25525 Remove variables.
25526 (init_signaling_nan, snan_float, snan_double, snan_ldouble):
25527 Remove functions.
25528 (TEST_FUNC): Add SUFFIX argument. Move sNaN_var into static
25529 storage class. Initialize qNaN_var and sNaN_var with
25530 __builtin_nan and __builtin_nans families of functions,
25531 respectively.
25532
64d063b8
TS
25533 * math/libm-test.inc (acosh_test): Also test with qNaN input.
25534 (sqrt_test): Remove duplicate test with qNaN input.
25535 (lrint_test, llrint_test, lround_test, llround_test, rint_test)
25536 (round_test, signbit_test, significand_test): Note missing +/-Inf
25537 as well as qNaN tests.
25538
67e971f1
TS
25539 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Rename NaN_var to
25540 qNaN_var. Fix a few strings, too.
25541 * math/libm-test.inc (nan_value): Rename to qnan_value.
25542 * math/gen-libm-test.pl (%beautify): Adjust to that.
25543 * math/bits/mathcalls.h (nan): Refer to qNaN instead of NaN.
25544 * math/test-misc.c (main): Likewise.
25545 * sysdeps/ieee754/bits/nan.h (__nan_bytes, __nan_union): Rename
25546 to __qnan_bytes, and __qnan_union, respectively.
25547 * ports/sysdeps/mips/bits/nan.h (__nan_bytes, __nan_union):
25548 Likewise.
25549 * stdio-common/tstdiomisc.c (nanval, lnanval): Rename to qnanval,
25550 and lqnanval, respectively.
25551 * sysdeps/powerpc/bits/fenv.h: Fix usage of NaN/qNaN/sNaN.
25552 * sysdeps/powerpc/fpu/fenv_libc.h: Likewise.
25553 * sysdeps/powerpc/fpu/test-powerpc-snan.c (TEST_FUNC): Likewise,
25554 and rename NaN_var to qNaN_var, and SNaN_var to sNaN_var.
25555
64487e12
TS
25556 * math/libm-test.inc (fpstack_test) [__x86_64__]: Enable test.
25557 * math/test-misc.c (main) [__x86_64__]: Enable test for long
25558 doubles.
25559
e015e27b
TS
25560 * math/test-misc.c (main): Fix copy'n'pastos.
25561 * misc/tst-efgcvt.c (special): Likewise.
25562
a57da955
TS
25563 * stdio-common/printf_fp.c (__isinfl_internal, __isnanl_internal):
25564 Remove declarations.
25565
1e380345
SP
255662013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
25567
25568 * sysdeps/ieee754/dbl-64/mpa-arch.h: Remove.
25569 * sysdeps/ieee754/dbl-64/mpa.c: Revert last change.
25570 * sysdeps/ieee754/dbl-64/mpa.h: Revert last change.
25571 * sysdeps/powerpc/power4/fpu/mpa-arch.h: Remove.
25572
ef26eece
AZ
255732013-03-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
25574
25575 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET): Add
25576 macro to return vdso values correctly in IFUNC implementations.
25577 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
25578 Optimization by using IFUNC.
25579
8cfdb7e0
SP
255802013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
25581 Richard Henderson <rth@redhat.com>
25582 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
25583
25584 * Makefile.in (bench): New target.
25585 * NEWS: Mention the benchmark framework.
25586 * Rules (bench): Likewise.
25587 (binaries-bench): Generate binaries for functions to
25588 benchmark.
25589 * benchtests/Makefile: New makefile for benchmark tests.
25590 * benchtests/bench-skeleton.c: New skeleton file for benchmark
25591 programs.
25592 * benchtests/exp-inputs: New input file for EXP function.
25593 * benchtests/pow-inputs: New input file for POW function.
25594 * scripts/bench.pl: New script to generate source files for
25595 benchmark programs.
25596
bcda9880
SP
255972013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
25598
d22ca8cd
SP
25599 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
25600 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T to store
25601 computations on mantissa. Use macros for rounding and
25602 division.
25603 (denorm): Likewise.
25604 (__dbl_mp): Likewise.
25605 (add_magnitudes): Likewise.
25606 (sub_magnitudes): Likewise.
25607 (__mul): Likewise.
25608 (__sqr): Likewise.
25609 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
25610 powers of two in terms of TWOPOW macro.
25611 (mp_no): Make type of mantissa as MANTISSA_T.
25612 [!RADIXI]: Define RADIXI.
25613 [!TWO52]: Define TWO52.
25614 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
25615
bcda9880
SP
25616 * manual/nptl.texi (cindex): Modify threads to pthreads.
25617
06d5adfb
JM
256182013-03-15 Joseph Myers <joseph@codesourcery.com>
25619
25620 * sysdeps/x86_64/preconfigure: Regenerated.
25621
41c7328e
JM
256222013-03-14 Joseph Myers <joseph@codesourcery.com>
25623
25624 [BZ #14155]
25625 * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Return 1.0 for arguments
25626 0x1p28 and above.
25627 (qzero): Return -0.125 / x for arguments 0x1p28 and above.
25628 * sysdeps/ieee754/dbl-64/e_j1.c (pzero): Return 1.0 for arguments
25629 0x1p28 and above.
25630 (qzero): Return 0.375 / x for arguments 0x1p28 and above.
25631 * math/libm-test.inc (j0_test): Do not allow one spurious
25632 underflow exception.
25633 (y1_test): Likewise.
25634
e25cfa60
SP
256352013-03-14 Siddhesh Poyarekar <siddhesh@redhat.com>
25636
0409959c
SP
25637 * manual/Makefile (chapters): Add nptl.
25638 * manual/debug.texi (Debugging Support): Add link to Threads
25639 chapter.
25640 * manual/nptl.texi: New file.
25641
e25cfa60
SP
25642 * sysdeps/unix/sysv/linux/times.c (__times): Fix formatting.
25643
58a1335e
PB
256442013-03-14 Petr Baudis <pasky@ucw.cz>
25645
25646 * sysdeps/unix/sysv/linux/times.c (__times): On EFAULT, test
25647 for non-NULL pointer before the memory validity test. Pointed
25648 out by Holger Brunck <holger.brunck@keymile.com>.
25649
9dc7c64f
AS
256502013-03-13 Andreas Schwab <schwab@suse.de>
25651
25652 * extra-lib.mk (extra-objs): Add static-only-routines as .oS
25653 instead of .os.
25654
54206aa6
JM
256552013-03-13 Joseph Myers <joseph@codesourcery.com>
25656
25657 * timezone/zic.c: Update from tzcode 2013b.
25658
e98cdb38
CD
256592013-03-12 Carlos O'Donell <carlos@redhat.com>
25660
25661 * manual/install.texi (Configuring and compiling):
25662 Mention i686 and i586.
25663 * INSTALL: Regenerate.
25664
9967e003
RM
256652013-03-12 Roland McGrath <roland@hack.frob.com>
25666
25667 * sysdeps/init_array/elf-init.c: New file.
25668 * csu/elf-init.c
25669 (__libc_csu_init) [!NO_INITFINI]: Conditionalize _init call on this.
25670 (__libc_csu_fini) [!NO_INITFINI]: Conditionalize _fini call on this.
25671
25672 * csu/gmon-start.c [GMON_START_ARRAY_SECTION]: Don't define
25673 __gmon_start__ as global, but as static with a .preinit_array pointer.
25674 * sysdeps/init_array/gmon-start.c: New file. Use that.
25675 * sysdeps/init_array/crti.S: New file, empty except for comments.
25676 * sysdeps/init_array/crtn.S: Likewise.
25677
e6b5a293 256782013-03-11 Ondřej Bílka <neleai@seznam.cz>
80f844c9
OB
25679
25680 * sysdeps/x86_64/memset.S: Remove USE_MULTIARCH conditional for
25681 definining bcopy.
80f844c9
OB
25682 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
25683 Remove Prefer_SSE_for_memop.
25684 * sysdeps/x86_64/multiarch/init-arch.h: Remove
25685 bit_Prefer_SSE_for_memop, index_Prefer_SSE_for_memop,
25686 HAS_PREFER_SSE_FOR_MEMOP.
80f844c9
OB
25687 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
25688 memset-x86-64.
80f844c9 25689 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
e6b5a293 25690 Remove bzero, memset ifunc support.
80f844c9
OB
25691 * sysdeps/x86_64/multiarch/bzero.S: Remove file.
25692 * sysdeps/x86_64/multiarch/memset-x86-64.S: Likewise.
25693 * sysdeps/x86_64/multiarch/memset.S: Likewise.
25694 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
25695
fb6b0fcb
AS
256962013-03-11 Andreas Schwab <schwab@suse.de>
25697
25698 [BZ #15234]
25699 * Versions.def (libpthread): Add GLIBC_2.3, so that it can be used
25700 by SHLIB_COMPAT.
25701 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist
25702 (GLIBC_2.16): Remove pthread_atfork.
25703
3e6bd4b1
PP
257042013-03-08 Paul Pluzhnikov <ppluzhnikov@google.com>
25705
25706 * posix/Makefile (testcases.h): Set LC_ALL=C before sed.
25707 (ptestcases.h): Likewise.
25708
222d7f00
RM
257092013-03-08 Roland McGrath <roland@hack.frob.com>
25710
25711 * Makeconfig ($(common-objpfx)config.status): Depend on
25712 sysdeps/*/preconfigure{,.in} too.
25713
1ba4f030
JM
257142013-03-08 Joseph Myers <joseph@codesourcery.com>
25715
a222d91a
JM
25716 * malloc/malloc.h (__malloc_ptr_t): Remove macro.
25717 (__free_hook): Use void * instead of __malloc_ptr_t.
25718 (__malloc_hook): Likewise.
25719 (__realloc_hook): Likewise.
25720 (__memalign_hook): Likewise.
25721 (__after_morecore_hook): Likewise.
25722 * malloc/arena.c (save_malloc_hook): Likewise.
25723 (save_free_hook): Likewise.
25724 * malloc/hooks.c (malloc_hook_ini): Likewise.
25725 (realloc_hook_ini): Likewise.
25726 (memalign_hook_ini): Likewise.
25727 * malloc/malloc.c (malloc_hook_ini): Likewise.
25728 (realloc_hook_ini): Likewise.
25729 (memalign_hook_ini): Likewise.
25730 (__free_hook): Likewise.
25731 (__malloc_hook): Likewise.
25732 (__realloc_hook): Likewise.
25733 (__memalign_hook): Likewise.
25734 (__libc_malloc): Likewise.
25735 (__libc_free): Likewise.
25736 (__libc_realloc): Likewise.
25737 (__libc_memalign): Likewise.
25738 (__libc_valloc): Likewise.
25739 (__libc_pvalloc): Likewise.
25740 (__libc_calloc): Likewise.
25741 (__posix_memalign): Likewise.
25742 * malloc/morecore.c (__sbrk): Likewise.
25743 (__default_morecore): Likewise.
25744
5cc45e10
JM
25745 * malloc/morecore.c (__default_morecore): Use ISO C prototype.
25746
dd54b864
JM
25747 * malloc/malloc.h (__malloc_ptrdiff_t): Remove macro.
25748 * malloc/morecore.c (__default_morecore): Use ptrdiff_t instead of
25749 __malloc_ptrdiff_t.
25750
1ba4f030
JM
25751 * malloc/malloc.h (__malloc_size_t): Remove macro.
25752 * malloc/mcheck.c (old_malloc_hook): Use size_t instead of
25753 __malloc_size_t.
25754 (old_memalign_hook): Likewise.
25755 (old_realloc_hook): Likewise.
25756 (struct hdr): Likewise.
25757 (flood): Likewise.
25758 (mallochook): Likewise.
25759 (memalignhook): Likewise.
25760 (reallochook): Likewise.
25761 * malloc/mtrace.c (tr_old_malloc_hook): Likewise.
25762 (tr_old_realloc_hook): Likewise.
25763 (tr_old_memalign_hook): Likewise.
25764 (tr_mallochook): Likewise.
25765 (tr_reallochook): Likewise.
25766 (tr_memalignhook): Likewise.
25767
edf66e57
AZ
257682013-03-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
25769
25770 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_pack): Rename to
25771 default_ldbl_pack and using as default implementation.
25772 (ldbl_unpack): Rename to default_ldbl_unpack and using as default
25773 implementation.
25774 * sysdeps/powerpc/fpu/math_ldbl.h (ldbl_extract_mantissa): Remove
25775 redundant definition.
25776 (ldbl_insert_mantissa): Likewise.
25777 (ldbl_canonicalize): Likewise.
25778 (ldbl_nearbyint): Likewise.
25779 (ldbl_pack): Rename to ldbl_pack_ppc.
25780 (ldbl_unpack): Rename to ldbl_unpack_ppc.
25781 * sysdeps/unix/sysv/linux/powerpc/Implies: Remove file.
25782 * sysdeps/powerpc/Implies: Add ieee754/ldbl-opt after ieee754/ldbl-128ibm.
25783
6d9145d8
SP
257842013-03-08 Siddhesh Poyarekar <siddhesh@redhat.com>
25785
25786 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Move file...
25787 * sysdeps/powerpc/power4/fpu/mpa.c: ... here.
25788 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile: Move file...
25789 * sysdeps/powerpc/power4/fpu/Makefile: ... here.
25790 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Remove file.
25791 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile: Remove file.
25792 * sysdeps/powerpc/powerpc32/power4/Implies: New file.
25793 * sysdeps/powerpc/powerpc64/power4/Implies: New file.
25794
4dd4e157
AJ
257952013-03-07 Andreas Jaeger <aj@suse.de>
25796
25797 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
25798 bits/mman-linux.h.
25799
adbb8027
SP
258002013-03-07 Siddhesh Poyarekar <siddhesh@redhat.com>
25801
ce544b5b
SP
25802 * sysdeps/ieee754/dbl-64/slowexp.c [!USE_LONG_DOUBLE_FOR_MP]:
25803 Include mpa.h and declare __MPEXP.
25804 [USE_LONG_DOUBLE_FOR_MP] (__slowexp): Call __IEEE754_EXPL.
25805 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
25806 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
25807 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Remove.
25808 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
25809 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
25810 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Remove.
25811
4cc149fd
SP
25812 * sysdeps/ieee754/dbl-64/slowpow.c [USE_LONG_DOUBLE_FOR_MP]
25813 (__slowpow): Use long double EXPL and LOGL functions to
25814 compute POW.
25815 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
25816 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
25817 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Remove.
25818 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
25819 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
25820 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Remove.
25821
e6ebd4a7
SP
25822 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Use
25823 intermediate variable to calculate exponent.
25824 (__sqr): Likewise.
25825 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
25826 Likewise.
25827 (__sqr): Likewise.
25828
82a9811d
SP
25829 * sysdeps/ieee754/dbl-64/mpa.c [!NO__MUL]: Define __mul.
25830 [!NO__SQR]: Define __sqr.
25831 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: define NO__MUL
25832 and NO__SQR. Remove all code except __mul and __sqr. Include
25833 sysdeps/ieee754/dbl-64/mpa.c.
25834 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
25835
adbb8027
SP
25836 [BZ #12723]
25837 * posix/Makefile (tests): Add tst-pathconf.
25838 * posix/tst-pathconf.c: New test case.
25839 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Remove
25840 _PC_PIPE_BUF.
25841 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Likewise.
25842
39120df9
PF
258432013-03-06 Patsy Franklin <pfrankli@redhat.com>
25844
25845 * io/fcntl.h: Added a comment about AT_EACCESS and AT_REMOVEDIR.
25846
67525cb8
AJ
258472013-03-06 Andreas Jaeger <aj@suse.de>
25848
664a9ce4
AJ
25849 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_ANONYMOUS): Allow
25850 definition via __MAP_ANONYMOUS.
25851
8e39047d
AJ
25852 * sysdeps/unix/sysv/linux/s390/bits/mman.h (MAP_GROWSUP): Remove,
25853 it's not part of Linux headers.
25854
67525cb8
AJ
25855 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_HUGE_SHIFT): Define.
25856 (MAP_HUGE_MASK): Define.
25857
25858 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h (PTRACE_O_EXIT_KILL):
25859 Define.
25860 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
25861 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_O_EXIT_KILL):
25862 Define.
25863 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
25864 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_EXIT_KILL):
25865 Define.
25866 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
25867 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_O_EXITKILL):
25868 Define.
25869 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
25870
25871 * sysdeps/unix/sysv/linux/x86/bits/msq.h (MSG_COPY): Likewise.
25872 * sysdeps/unix/sysv/linux/generic/bits/msq.h (MSG_COPY): Define.
25873 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h (MSG_COPY): Likewise.
25874 * sysdeps/unix/sysv/linux/bits/msq.h (MSG_COPY): Likewise.
25875 * sysdeps/unix/sysv/linux/s390/bits/msq.h (MSG_COPY): Likewise.
25876 * sysdeps/unix/sysv/linux/sparc/bits/msq.h (MSG_COPY): Define.
25877
25878 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
25879 Handle f2fs.
25880
25881 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
25882 Handle f2fs and efivarfs.
25883
25884 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Handle
25885 f2fs.
25886
25887 * sysdeps/unix/sysv/linux/linux_fsinfo.h (F2FS_SUPER_MAGIC): Add.
25888 (EFIVARFS_MAGIC): Add.
25889 (F2FS_LINK_MAX): Add.
25890
e1b42695
PP
258912013-03-06 Paul Pluzhnikov <ppluzhnikov@google.com>
25892
25893 * stdio-common/vfprintf.c: Replace __builtin_expect with
25894 __glibc_unlikely.
25895
2d67d91a
JM
258962013-03-06 Joseph Myers <joseph@codesourcery.com>
25897
25898 [BZ #13550]
25899 * sysdeps/generic/bp-sym.h: Remove file.
25900 * sysdeps/powerpc/powerpc64/bp-asm.h: Likewise.
25901 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Don't include
25902 <bp-sym.h> and <bp-asm.h>.
25903 (__longjmp): Don't use BP_SYM.
25904 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Don't include <bp-sym.h>
25905 and <bp-asm.h>.
25906 (memcpy): Don't use BP_SYM.
25907 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Don't include
25908 <bp-sym.h> and <bp-asm.h>.
25909 (memcpy): Don't use BP_SYM.
25910 * sysdeps/powerpc/powerpc64/memcpy.S: Don't include <bp-sym.h> and
25911 <bp-asm.h>.
25912 (memcpy): Don't use BP_SYM.
25913 * sysdeps/powerpc/powerpc64/memset.S: Don't include <bp-sym.h> and
25914 <bp-asm.h>.
25915 (memset): Don't use BP_SYM.
25916 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
25917 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
25918 (__bzero): Don't use BP_SYM.
25919 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
25920 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
25921 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Don't include
25922 <bp-sym.h> and <bp-asm.h>.
25923 (memcmp): Don't use BP_SYM. Remove comment about bounded
25924 pointers.
25925 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Don't include
25926 <bp-sym.h> and <bp-asm.h>.
25927 (memcpy): Don't use BP_SYM.
25928 * sysdeps/powerpc/powerpc64/power4/memset.S: Don't include
25929 <bp-sym.h> and <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/strncmp.S: Don't include
25937 <bp-sym.h> and <bp-asm.h>.
25938 (strncmp): Don't use BP_SYM. Remove comment about bounded
25939 pointers.
25940 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Don't include
25941 <bp-sym.h> and <bp-asm.h>.
25942 (memcpy): Don't use BP_SYM.
25943 * sysdeps/powerpc/powerpc64/power6/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/power7/memchr.S: Don't include
25952 <bp-sym.h> and <bp-asm.h>.
25953 (__memchr): Don't use BP_SYM.
25954 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Don't include
25955 <bp-sym.h> and <bp-asm.h>.
25956 (memcmp): Don't use BP_SYM. Remove comment about bounded
25957 pointers.
25958 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Don't include
25959 <bp-sym.h> and <bp-asm.h>.
25960 (memcpy): Don't use BP_SYM.
25961 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Don't include
25962 <bp-sym.h> and <bp-asm.h>.
25963 (__mempcpy): Don't use BP_SYM.
25964 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Don't include
25965 <bp-sym.h> and <bp-asm.h>.
25966 (__memrchr): Don't use BP_SYM.
25967 * sysdeps/powerpc/powerpc64/power7/memset.S: Don't include
25968 <bp-sym.h> and <bp-asm.h>.
25969 (memset): Don't use BP_SYM.
25970 (__bzero): Likewise.
25971 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Don't include
25972 <bp-sym.h> and <bp-asm.h>.
25973 (__rawmemchr): Don't use BP_SYM.
25974 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Don't include
25975 <bp-sym.h> and <bp-asm.h>.
25976 (__STRCMP): Don't use BP_SYM.
25977 * sysdeps/powerpc/powerpc64/power7/strchr.S: Don't include
25978 <bp-sym.h> and <bp-asm.h>.
25979 (strchr): Don't use BP_SYM.
25980 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: Don't include
25981 <bp-sym.h> and <bp-asm.h>.
25982 (__strchrnul): Don't use BP_SYM.
25983 * sysdeps/powerpc/powerpc64/power7/strlen.S: Don't include
25984 <bp-sym.h> and <bp-asm.h>.
25985 (strlen): Don't use BP_SYM.
25986 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Don't include
25987 <bp-sym.h> and <bp-asm.h>.
25988 (strncmp): Don't use BP_SYM. Remove comment about bounded
25989 pointers.
25990 * sysdeps/powerpc/powerpc64/power7/strnlen.S: Don't include
25991 <bp-sym.h> and <bp-asm.h>.
25992 (__strnlen): Don't use BP_SYM.
25993 * sysdeps/powerpc/powerpc64/setjmp-common.S: Don't include
25994 <bp-sym.h> and <bp-asm.h>.
25995 (__GI__setjmp): Don't use BP_SYM.
25996 (_setjmp): Likewise.
25997 (__sigsetjmp): Likewise.
25998 * sysdeps/powerpc/powerpc64/start.S: Don't include "bp-sym.h".
25999 (L(start_addresses)): Don't use BP_SYM.
26000 (_start): Likewise.
26001 * sysdeps/powerpc/powerpc64/stpcpy.S: Don't include <bp-sym.h> and
26002 <bp-asm.h>.
26003 (__stpcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW,
26004 STORE_RETURN_BOUNDS, CHECK_BOUNDS_HIGH and STORE_RETURN_VALUE.
26005 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
26006 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
26007 * sysdeps/powerpc/powerpc64/strchr.S: Don't include <bp-sym.h> and
26008 <bp-asm.h>.
26009 (strchr): Don't use BP_SYM, CHECK_BOUNDS_LOW, STORE_RETURN_BOUNDS,
26010 CHECK_BOUNDS_HIGH_RTN and STORE_RETURN_VALUE. Remove comment
26011 about bounded pointers.
26012 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
26013 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
26014 * sysdeps/powerpc/powerpc64/strcmp.S: Don't include <bp-sym.h> and
26015 <bp-asm.h>.
26016 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
26017 about bounded pointers. Remove GKM FIXME comments.
26018 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
26019 * sysdeps/powerpc/powerpc64/strcpy.S: Don't include <bp-sym.h> and
26020 <bp-asm.h>.
26021 (strcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW and
26022 STORE_RETURN_BOUNDS. Remove comment about bounded pointers.
26023 Remove GKM FIXME comments.
26024 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
26025 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
26026 * sysdeps/powerpc/powerpc64/strlen.S: Don't include <bp-sym.h> and
26027 <bp-asm.h>.
26028 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
26029 about bounded pointers. Remove GKM FIXME comment.
26030 * sysdeps/powerpc/powerpc64/strncmp.S: Don't include <bp-sym.h>
26031 and <bp-asm.h>.
26032 (strncmp): Don't use BP_SYM. Remove comment about bounded
26033 pointers.
26034 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S: Don't include
26035 <bp-sym.h> and <bp-asm.h>.
26036 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
26037 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Don't include
26038 <bp-sym.h> and <bp-asm.h>.
26039 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
26040 comment.
26041
cdcf361f
PP
260422013-03-05 Paul Pluzhnikov <ppluzhnikov@google.com>
26043
26044 * stdio-common/vfprintf.c (vfprintf): Check malloc return; don't
26045 call free(NULL).
26046
3c4a2b15
DM
260472013-03-05 David S. Miller <davem@davemloft.net>
26048
26049 * po/es.po: Update from translation team.
26050
cdcf361f 260512013-03-05 Andreas Jaeger <aj@suse.de>
890b58d3
AJ
26052
26053 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Include
26054 <bits/mman-linux.h>.
26055 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
26056 is fine.
26057 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Move include of
26058 <bits/mman-linux.h> to end of file.
26059 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
26060 is fine.
26061 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Move include of
26062 <bits/mman-linux.h> to end of file.
26063 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
26064 is fine.
26065 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Move include of
26066 <bits/mman-linux.h> to end of file.
26067
26068 * sysdeps/unix/sysv/linux/bits/mman-linux.h [!MCL_CURRENT]
26069 (MCL_CURRENT, MCL_FUTURE): Define here.
26070
5f67c04f
AK
260712013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
26072
8a4473cc 26073 [BZ #15232]
5f67c04f
AK
26074 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Use
26075 attribute_hidden.
26076 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
26077
c3e94a95
AK
260782013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
26079
26080 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Set the
26081 fourth parameter needed for rt_sigprocmask syscall.
26082 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
26083 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
26084 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
26085 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
26086 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
26087 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Define _NSIG8.
26088
cfb6382a
JM
260892013-03-04 Joseph Myers <joseph@codesourcery.com>
26090
26091 [BZ #13550]
26092 * sysdeps/powerpc/powerpc32/power4/strncmp.S (strncmp): Remove
26093 comment about bounded pointers.
26094 * sysdeps/powerpc/powerpc32/power7/strncmp.S (strncmp): Likewise.
26095 * sysdeps/powerpc/powerpc32/strncmp.S (strncmp): Likewise.
26096
539d8e01
AJ
260972013-03-04 Andreas Jaeger <aj@suse.de>
26098
26099 * sysdeps/unix/sysv/linux/bits/mman-linux.h: New file, with Linux
26100 common definitions.
26101
26102 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Remove all defines
26103 provided by bits/mman-linux.h and include <bits/mman-linux.h>.
26104 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Likewise.
26105 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
26106 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
539d8e01
AJ
26107 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
26108
2e167a70 261092013-03-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
e0b780ad
AZ
26110
26111 [BZ #15055]
26112 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
26113 __ieee754_sqrl instead of __sqrl.
26114
68508633
JM
261152013-03-01 Joseph Myers <joseph@codesourcery.com>
26116
26117 * sysdeps/powerpc/fpu/fpu_control.h: Move to ...
26118 * sysdeps/powerpc/fpu_control.h: ... here.
26119 * sysdeps/powerpc/fpu/bits/fenvinline.h: Move to ...
26120 * sysdeps/powerpc/bits/fenvinline.h: ... here.
26121 * sysdeps/powerpc/fpu/bits/mathinline.h: Move to ...
26122 * sysdeps/powerpc/bits/mathinline.h: ... here.
26123
7775448e
RM
261242013-03-01 Roland McGrath <roland@hack.frob.com>
26125
26126 * elf/dl-hwcaps.c (_dl_important_hwcaps):
26127 Change [NEED_DL_SYSINFO || NEED_DL_SYSINFO_DSO] conditionals
26128 to just [NEED_DL_SYSINFO_DSO].
26129 * elf/dl-support.c: Likewise.
26130 * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
26131 * elf/rtld.c (dl_main): Likewise.
26132 * elf/setup-vdso.h (setup_vdso): Likewise.
26133 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Likewise.
26134 * sysdeps/unix/sysv/linux/dl-sysdep.c
26135 (_dl_discover_osversion): Likewise.
26136
4e9b5995
CD
261372013-03-01 Carlos O'Donell <carlos@redhat.com>
26138
26139 * csu/libc-start.c (__pthread_initialize_minimal): Revert last change.
26140 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
26141
e23872c8
SP
261422013-03-01 Siddhesh Poyarekar <siddhesh@redhat.com>
26143
e5c74c63
SP
26144 * NEWS: Mention libm performance improvements and non-x86 PI
26145 futex support.
26146
e23872c8
SP
26147 * csu/libc-start.c (__pthread_initialize_minimal): Change
26148 function arguments.
26149 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
26150
b5510883
JM
261512013-02-28 Joseph Myers <joseph@codesourcery.com>
26152
26153 [BZ #13550]
26154 * sysdeps/powerpc/powerpc32/bp-asm.h: Remove file.
26155 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Don't include
26156 <bp-sym.h> and <bp-asm.h>.
26157 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
26158 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Don't include <bp-sym.h>
26159 and <bp-asm.h>.
26160 (memcpy): Don't use BP_SYM.
26161 * sysdeps/powerpc/powerpc32/add_n.S: Don't include <bp-sym.h> and
26162 <bp-asm.h>.
26163 (__mpn_add_n): Don't use BP_SYM.
26164 (__mpn_add_n) [__BOUNDED_POINTERS_]: Remove conditional code.
26165 * sysdeps/powerpc/powerpc32/addmul_1.S: Don't include <bp-sym.h>
26166 and <bp-asm.h>.
26167 (__mpn_addmul_1): Don't use BP_SYM.
26168 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
26169 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Don't include
26170 <bp-sym.h>.
26171 (_setjmp): Don't use BP_SYM.
26172 (__novmx_setjmp): Likewise.
26173 (__GI__setjmp): Likewise.
26174 (__vmx_setjmp): Likewise.
26175 * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Don't include
26176 <bp-sym.h>.
26177 * sysdeps/powerpc/powerpc32/bzero.S: Don't include <bp-sym.h>.
26178 (__bzero): Don't use BP_SYM.
26179 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
26180 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
26181 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Don't include
26182 <bp-sym.h> and <bp-asm.h>.
26183 (memcpy): Don't use BP_SYM.
26184 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Don't include
26185 <bp-sym.h> and <bp-asm.h>.
26186 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
26187 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Don't include
26188 <bp-sym.h> and <bp-asm.h>.
26189 (__sigsetjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
26190 * sysdeps/powerpc/powerpc32/lshift.S: Don't include <bp-sym.h> and
26191 <bp-asm.h>.
26192 (__mpn_lshift): Don't use BP_SYM.
26193 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
26194 * sysdeps/powerpc/powerpc32/memset.S: Don't include <bp-sym.h> and
26195 <bp-asm.h>.
26196 (memset): Don't use BP_SYM.
26197 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
26198 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
26199 * sysdeps/powerpc/powerpc32/mul_1.S: Don't include <bp-sym.h> and
26200 <bp-asm.h>.
26201 (__mpn_mul_1): Don't use BP_SYM.
26202 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
26203 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Don't include
26204 <bp-sym.h> and <bp-asm.h>.
26205 (memcmp): Don't use BP_SYM.
26206 * sysdeps/powerpc/powerpc32/power4/memcpy.S: Don't include
26207 <bp-sym.h> and <bp-asm.h>.
26208 (memcpy): Don't use BP_SYM.
26209 * sysdeps/powerpc/powerpc32/power4/memset.S: Don't include
26210 <bp-sym.h> and <bp-asm.h>.
26211 (memset): Don't use BP_SYM.
26212 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't include
26213 <bp-sym.h> and <bp-asm.h>.
26214 (strncmp): Don't use BP_SYM.
26215 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Don't include
26216 <bp-sym.h> and <bp-asm.h>.
26217 (memcpy): Don't use BP_SYM.
26218 * sysdeps/powerpc/powerpc32/power6/memset.S: Don't include
26219 <bp-sym.h> and <bp-asm.h>.
26220 (memset): Don't use BP_SYM.
26221 * sysdeps/powerpc/powerpc32/power7/memchr.S: Don't include
26222 <bp-sym.h> and <bp-asm.h>.
26223 (__memchr): Don't use BP_SYM.
26224 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Don't include
26225 <bp-sym.h> and <bp-asm.h>.
26226 (memcmp): Don't use BP_SYM.
26227 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Don't include
26228 <bp-sym.h> and <bp-asm.h>.
26229 (memcpy): Don't use BP_SYM.
26230 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Don't include
26231 <bp-sym.h> and <bp-asm.h>.
26232 (__mempcpy): Don't use BP_SYM.
26233 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Don't include
26234 <bp-sym.h> and <bp-asm.h>.
26235 (__memrchr): Don't use BP_SYM.
26236 * sysdeps/powerpc/powerpc32/power7/memset.S: Don't include
26237 <bp-sym.h> and <bp-asm.h>.
26238 (memset): Don't use BP_SYM.
26239 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Don't include
26240 <bp-sym.h> and <bp-asm.h>.
26241 (__rawmemchr): Don't use BP_SYM.
26242 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Don't include
26243 <bp-sym.h> and <bp-asm.h>.
26244 (__STRCMP): Don't use BP_SYM.
26245 * sysdeps/powerpc/powerpc32/power7/strchr.S: Don't include
26246 <bp-sym.h> and <bp-asm.h>.
26247 (strchr): Don't use BP_SYM.
26248 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Don't include
26249 <bp-sym.h> and <bp-asm.h>.
26250 (__strchrnul): Don't use BP_SYM.
26251 * sysdeps/powerpc/powerpc32/power7/strlen.S: Don't include
26252 <bp-sym.h> and <bp-asm.h>.
26253 (strlen): Don't use BP_SYM.
26254 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Don't include
26255 <bp-sym.h> and <bp-asm.h>.
26256 (strncmp): Don't use BP_SYM.
26257 * sysdeps/powerpc/powerpc32/power7/strnlen.S: Don't include
26258 <bp-sym.h> and <bp-asm.h>.
26259 (__strnlen): Don't use BP_SYM.
26260 * sysdeps/powerpc/powerpc32/rshift.S: Don't include <bp-sym.h> and
26261 <bp-asm.h>.
26262 (__mpn_rshift): Don't use BP_SYM.
26263 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
26264 * sysdeps/powerpc/powerpc32/setjmp-common.S: Don't include
26265 <bp-sym.h> and <bp-asm.h>.
26266 (__sigsetjmp): Don't use BP_SYM.
26267 * sysdeps/powerpc/powerpc32/start.S: Don't include "bp-sym.h".
26268 (L(start_addresses)): Don't use BP_SYM.
26269 (_start): Likewise.
26270 * sysdeps/powerpc/powerpc32/stpcpy.S: Don't include <bp-sym.h> and
26271 <bp-asm.h>.
26272 (__stpcpy): Don't use BP_SYM and macros from bp-asm.h.
26273 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
26274 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
26275 * sysdeps/powerpc/powerpc32/strchr.S: Don't include <bp-sym.h> and
26276 <bp-asm.h>.
26277 (strchr): Don't use BP_SYM.h and macros from bp-asm.h.
26278 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
26279 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
26280 * sysdeps/powerpc/powerpc32/strcmp.S: Don't include <bp-sym.h> and
26281 <bp-asm.h>.
26282 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
26283 comments.
26284 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
26285 * sysdeps/powerpc/powerpc32/strcpy.S: Don't include <bp-sym.h> and
26286 <bp-asm.h>.
26287 (strcpy): Don't use BP_SYM and macros from bp-asm.h. Remove GKM
26288 FIXME comments.
26289 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
26290 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
26291 * sysdeps/powerpc/powerpc32/strlen.S: Don't include <bp-sym.h> and
26292 <bp-asm.h>.
26293 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
26294 comment.
26295 * sysdeps/powerpc/powerpc32/strncmp.S: Don't include <bp-sym.h>
26296 and <bp-asm.h>.
26297 (strncmp): Don't use BP_SYM,
26298 * sysdeps/powerpc/powerpc32/sub_n.S: Don't include <bp-sym.h> and
26299 <bp-asm.h>.
26300 (__mpn_sub_n): Don't use BP_SYM.
26301 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
26302 * sysdeps/powerpc/powerpc32/submul_1.S: Don't include <bp-sym.h>
26303 and <bp-asm.h>.
26304 (__mpn_submul_1): Don't use BP_SYM.
26305 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
26306 * sysdeps/unix/sysv/linux/powerpc/powerpc32/brk.S: Don't include
26307 <bp-sym.h> and <bp-asm.h>.
26308 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
26309 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Don't include
26310 <bp-sym.h> and <bp-asm.h>.
26311 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
26312 comment.
26313
8d19fe64
SP
263142013-02-28 Siddhesh Poyarekar <siddhesh@redhat.com>
26315
26316 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (add_magnitudes):
26317 Use ZK to minimize writes to Z.
26318 (sub_magnitudes): Simplify code a bit.
26319 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (add_magnitudes):
26320 Use ZK to minimize writes to Z.
26321 (sub_magnitudes): Simplify code a bit.
26322
85bd816a
RM
263232013-02-27 Roland McGrath <roland@hack.frob.com>
26324
26325 * csu/gmon-start.c: Add special exception to license text.
26326
b5977bf2
RH
263272013-02-27 Richard Henderson <rth@redhat.com>
26328
26329 * scripts/config.guess: Update from config.git.
26330 * scripts/config.sub: Likewise.
26331
11d6e2f2
SP
263322013-02-27 Siddhesh Poyarekar <siddhesh@redhat.com>
26333
09c14ed2
SP
26334 * sysdeps/ieee754/dbl-64/mpsqrt.c: Reformat.
26335
a688864e
SP
26336 * sysdeps/ieee754/dbl-64/mpatan2.c: Reformat.
26337
6295157a
SP
26338 * sysdeps/ieee754/dbl-64/mpatan.c: Reformat.
26339
b8de2202
SP
26340 * sysdeps/ieee754/dbl-64/mptan.c: Reformat.
26341
11d6e2f2
SP
26342 * sysdeps/ieee754/dbl-64/mplog.c: Reformat.
26343
7e80ddb8
RM
263442013-02-26 Roland McGrath <roland@hack.frob.com>
26345
26346 * Makeconfig (%.v.i, %.v): Move these pattern rules outside of
26347 [$(build-shared = yes].
7e80ddb8 26348
7da6d9ed
SP
263492013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
26350
45f05884
SP
26351 * sysdeps/ieee754/dbl-64/mpa.c: Include alloca.h.
26352 (__mul): Reduce iterations for calculating mantissa.
26353
2236d359
SP
26354 * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use MPONE and
26355 MPTWO.
26356 (__mpranred): Likewise.
26357
7da6d9ed
SP
26358 [BZ #15160]
26359 * malloc/memusagestat.c (main): Draw graphs for heap and stack
26360 only if MAXSIZE_HEAP and MAXSIZE_STACK are non-zero.
26361
b7688c42
PE
263622013-02-26 Paul Eggert <eggert@cs.ucla.edu>
26363
26364 * posix/regex_internal.h [__GNUC__ < 3 + (__GNUC_MINOR__ < 1]:
26365 Define __attribute__.
26366
53a5c423
SP
263672013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
26368
26369 * locale/elem-hash.h (elem_hash): Mark as pure and possibly
26370 unused.
26371 * posix/regex_internal.h (__attribute): Remove.
26372 [!_LIBC && __i386__]: Use __attribute__ instead of __attribute.
26373 (re_string_context_at): Likewise.
26374 (bitset_not): Use __attribute__ and mark function as possibly
26375 unused.
26376 (bitset_merge): Likewise.
26377 (bitset_mask): Likewise.
26378 (re_string_char_size_at): Likewise.
26379 (re_string_wchar_at): Likewise.
26380 (re_string_elem_size_at): Likewise.
26381
60f5a8b5
SP
263822013-02-25 Siddhesh Poyarekar <siddhesh@redhat.com>
26383
2a983a2e
SP
26384 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Remove commented
26385 code.
26386 (cc32): Likewise.
26387
e69804d1
SP
26388 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Use long instead of int.
26389 (__acr): Likewise.
26390 (__cpy): Likewise.
26391 (norm): Likewise.
26392 (denorm): Likewise.
26393 (__dbl_mp): Likewise.
26394 (add_magnitudes): Likewise.
26395 (sub_magnitudes): Likewise.
26396 (__mul): Likewise.
26397 (__inv): Likewise.
26398
2f22a1e8
SP
26399 * sysdeps/ieee754/dbl-64/slowexp.c: Reformat in GNU coding
26400 style.
26401
8930ddc7
SP
26402 * sysdeps/ieee754/dbl-64/slowpow.c: Reformat in GNU coding
26403 style.
26404
dc60cb11
SP
26405 * sysdeps/ieee754/dbl-64/slowexp.c (__slowexp): Remove commented
26406 code.
26407
60f5a8b5
SP
26408 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mp_dbl): Sync
26409 up changes with default code.
26410 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mp_dbl):
26411 Likewise.
26412
b4d1fd33
AM
264132013-02-24 Allan McRae <allan@archlinux.org>
26414
faf6f8bc
AM
26415 * manual/socket.texi (The Internet Namespace): Order menu items
26416 to match that in the file.
26417
b4d1fd33
AM
26418 * manual/libc-texinfo.sh: Use @detailmenu around the detailed
26419 node listing of the info page menu.
26420
2366713d
JM
264212013-02-21 Joseph Myers <joseph@codesourcery.com>
26422
26423 [BZ #13550]
26424 * sysdeps/i386/bp-asm.h: Remove file.
26425 * sysdeps/i386/add_n.S: Do not include "bp-sym.h" and "bp-asm.h".
26426 (PARMS): Do not use macros from bp-asm.h.
26427 (S1): Likewise.
26428 (S2): Likewise.
26429 (SIZE): Likewise.
26430 (__mpn_add_n): Do not use BP_SYM
26431 * sysdeps/i386/addmul_1.S: Do not include "bp-sym.h" and
26432 "bp-asm.h".
26433 (PARMS): Do not use macros from bp-asm.h.
26434 (S1): Likewise.
26435 (SIZE): Likewise.
26436 (__mpn_addmul_1): Do not use BP_SYM
26437 * sysdeps/i386/bsd-_setjmp.S: Do not include "bp-sym.h" and
26438 "bp-asm.h".
26439 (PARMS): Do not use macros from bp-asm.h.
26440 (SIGMSK): Likewise.
26441 (_setjmp): Likewise. Do not use BP_SYM.
26442 * sysdeps/i386/bsd-setjmp.S: Do not include "bp-sym.h" and
26443 "bp-asm.h".
26444 (PARMS): Do not use macros from bp-asm.h.
26445 (SIGMSK): Likewise.
26446 (setjmp): Likewise. Do not use BP_SYM.
26447 * sysdeps/i386/fpu/s_frexp.S: Do not include "bp-sym.h" and
26448 "bp-asm.h".
26449 (PARMS): Do not use macros from bp-asm.h.
26450 (__frexp): Do not use BP_SYM.
26451 (frexp): Likewise.
26452 * sysdeps/i386/fpu/s_frexpf.S: Do not include "bp-sym.h" and
26453 "bp-asm.h".
26454 (PARMS): Do not use macros from bp-asm.h.
26455 (__frexpf): Do not use BP_SYM.
26456 (frexpf): Likewise.
26457 * sysdeps/i386/fpu/s_frexpl.S: Do not include "bp-sym.h" and
26458 "bp-asm.h".
26459 (PARMS): Do not use macros from bp-asm.h.
26460 (__frexpl): Do not use BP_SYM.
26461 (frexpl): Likewise.
26462 * sysdeps/i386/fpu/s_remquo.S: Do not include "bp-sym.h" and
26463 "bp-asm.h".
26464 (PARMS): Do not use macros from bp-asm.h.
26465 (__remquo): Do not use BP_SYM.
26466 (remquo): Likewise.
26467 * sysdeps/i386/fpu/s_remquof.S: Do not include "bp-sym.h" and
26468 "bp-asm.h".
26469 (PARMS): Do not use macros from bp-asm.h.
26470 (__remquof): Do not use BP_SYM.
26471 (remquof): Likewise.
26472 * sysdeps/i386/fpu/s_remquol.S: Do not include "bp-sym.h" and
26473 "bp-asm.h".
26474 (PARMS): Do not use macros from bp-asm.h.
26475 (__remquol): Do not use BP_SYM.
26476 (remquol): Likewise.
26477 * sysdeps/i386/i486/strcat.S: Do not include "bp-sym.h" and
26478 "bp-asm.h".
26479 (PARMS): Do not use macros from bp-asm.h.
26480 (DEST): Likewise.
26481 (SRC): Likewise.
26482 (strcat): Remove GKM FIXME comment. Do not use BP_SYM.
26483 * sysdeps/i386/i486/strlen.S: Do not include "bp-sym.h" and
26484 "bp-asm.h".
26485 (PARMS): Do not use macros from bp-asm.h.
26486 (strlen): Do not use BP_SYM.
26487 * sysdeps/i386/i586/add_n.S: Do not include "bp-sym.h" and
26488 "bp-asm.h".
26489 (PARMS): Do not use macros from bp-asm.h.
26490 (S1): Likewise.
26491 (S2): Likewise.
26492 (SIZE): Likewise.
26493 (__mpn_add_n): Do not use BP_SYM.
26494 * sysdeps/i386/i586/addmul_1.S: Do not include "bp-sym.h" and
26495 "bp-asm.h".
26496 (PARMS): Do not use macros from bp-asm.h.
26497 (S1): Likewise.
26498 (SIZE): Likewise.
26499 (__mpn_addmul_1): Do not use BP_SYM.
26500 * sysdeps/i386/i586/bzero.S (__bzero): Do not use BP_SYM in
26501 weak_alias.
26502 (bzero): Likewise.
26503 * sysdeps/i386/i586/lshift.S: Do not include "bp-sym.h" and
26504 "bp-asm.h".
26505 (PARMS): Do not use macros from bp-asm.h.
26506 (S): Likewise.
26507 (SIZE): Likewise.
26508 (__mpn_lshift): Do not use BP_SYM.
26509 * sysdeps/i386/i586/memcpy.S: Do not include "bp-sym.h" and
26510 "bp-asm.h".
26511 (PARMS): Do not use macros from bp-asm.h.
26512 (DEST): Likewise.
26513 (SRC): Likewise.
26514 (LEN): Likewise.
26515 (memcpy): Likewise. Do not use BP_SYM.
26516 * sysdeps/i386/i586/mempcpy.S (__mempcpy): Do not use BP_SYM in
26517 libc_hidden_def and weak_alias.
26518 (mempcpy): Do not use BP_SYM in weak_alias.
26519 * sysdeps/i386/i586/memset.S: Do not include "bp-sym.h" and
26520 "bp-asm.h".
26521 (PARMS): Do not use macros from bp-asm.h.
26522 (DEST): Likewise.
26523 (LEN): Likewise.
26524 [!BZERO_P] (CHR): Likewise.
26525 (memset): Likewise. Do not use BP_SYM.
26526 * sysdeps/i386/i586/mul_1.S: Do not include "bp-sym.h" and
26527 "bp-asm.h".
26528 (PARMS): Do not use macros from bp-asm.h.
26529 (S1): Likewise.
26530 (SIZE): Likewise.
26531 (__mpn_mul_1): Do not use BP_SYM.
26532 * sysdeps/i386/i586/rshift.S: Do not include "bp-sym.h" and
26533 "bp-asm.h".
26534 (PARMS): Do not use macros from bp-asm.h.
26535 (S): Likewise.
26536 (SIZE): Likewise.
26537 (__mpn_rshift): Do not use BP_SYM.
26538 * sysdeps/i386/i586/strchr.S: Do not include "bp-sym.h" and
26539 "bp-asm.h".
26540 (PARMS): Do not use macros from bp-asm.h.
26541 (STR): Likewise.
26542 (CHR): Likewise.
26543 (strchr): Likewise. Do not use BP_SYM.
26544 (index): Do not use BP_SYM in weak_alias.
26545 * sysdeps/i386/i586/strcpy.S: Do not include "bp-sym.h" and
26546 "bp-asm.h".
26547 (PARMS): Do not use macros from bp-asm.h.
26548 (DEST): Likewise.
26549 (SRC): Likewise.
26550 (STRCPY): Likewise. Remove GKM FIXME comment. Do not use BP_SYM.
26551 * sysdeps/i386/i586/strlen.S: Do not include "bp-sym.h" and
26552 "bp-asm.h".
26553 (PARMS): Do not use macros from bp-asm.h.
26554 (strlen): Do not use BP_SYM.
26555 * sysdeps/i386/i586/sub_n.S: Do not include "bp-sym.h" and
26556 "bp-asm.h".
26557 (PARMS): Do not use macros from bp-asm.h.
26558 (S1): Likewise.
26559 (S2): Likewise.
26560 (SIZE): Likewise.
26561 (__mpn_sub_n): Do not use BP_SYM.
26562 * sysdeps/i386/i586/submul_1.S: Do not include "bp-sym.h" and
26563 "bp-asm.h".
26564 (PARMS): Do not use macros from bp-asm.h.
26565 (S1): Likewise.
26566 (SIZE): Likewise.
26567 (__mpn_submul_1): Do not use BP_SYM.
26568 * sysdeps/i386/i686/add_n.S: Do not include "bp-sym.h" and
26569 "bp-asm.h".
26570 (PARMS): Do not use macros from bp-asm.h.
26571 (S1): Likewise.
26572 (S2): Likewise.
26573 (SIZE): Likewise.
26574 (__mpn_add_n): Do not use BP_SYM.
26575 * sysdeps/i386/i686/bzero.S (__bzero): Do not use BP_SYM in
26576 weak_alias.
26577 (bzero): Likewise.
26578 * sysdeps/i386/i686/memcmp.S: Do not include "bp-sym.h" and
26579 "bp-asm.h".
26580 (PARMS): Do not use macros from bp-asm.h.
26581 (BLK2): Likewise.
26582 (LEN): Likewise.
26583 (memcmp): Do not use BP_SYM.
26584 (bcmp): Do not use BP_SYM in weak_alias.
26585 * sysdeps/i386/i686/memcpy.S: Do not include "bp-sym.h" and
26586 "bp-asm.h".
26587 (PARMS): Do not use macros from bp-asm.h.
26588 (DEST): Likewise.
26589 (SRC): Likewise.
26590 (LEN): Likewise.
26591 (memcpy): Likewise. Do not use BP_SYM.
26592 * sysdeps/i386/i686/memmove.S: Do not include "bp-sym.h" and
26593 "bp-asm.h".
26594 (PARMS): Do not use macros from bp-asm.h.
26595 (DEST): Likewise.
26596 (SRC): Likewise.
26597 (LEN): Likewise.
26598 (memmove): Likewise. Do not use BP_SYM.
26599 * sysdeps/i386/i686/mempcpy.S: Do not include "bp-sym.h" and
26600 "bp-asm.h".
26601 (PARMS): Do not use macros from bp-asm.h.
26602 (DEST): Likewise.
26603 (SRC): Likewise.
26604 (LEN): Likewise.
26605 (__mempcpy): Likewise. Do not use BP_SYM.
26606 (mempcpy): Do not use BP_SYM in weak_alias.
26607 * sysdeps/i386/i686/memset.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 (LEN): Likewise.
26612 [!BZERO_P] (CHR): Likewise.
26613 (memset): Likewise. Do not use BP_SYM.
26614 * sysdeps/i386/i686/strcmp.S: Do not include "bp-sym.h" and
26615 "bp-asm.h".
26616 (PARMS): Do not use macros from bp-asm.h.
26617 (STR2): Likewise.
26618 (strcmp): Do not use BP_SYM.
26619 * sysdeps/i386/i686/strtok.S: Do not include "bp-sym.h" and
26620 "bp-asm.h".
26621 (PARMS): Do not use macros from bp-asm.h.
26622 (STR): Likewise.
26623 (DELIM): Likewise.
26624 [USE_AS_STRTOK_R] (SAVE): Likewise.
26625 (FUNCTION): Likewise. Do not use BP_SYM.
26626 * sysdeps/i386/i686/strtok_r.S (__strtok_r): Do not use BP_SYM in
26627 aliases.
26628 (strtok_r): Likewise.
26629 (__GI___strtok_r): Likewise.
26630 * sysdeps/i386/lshift.S: Do not include "bp-sym.h" and "bp-asm.h".
26631 (PARMS): Do not use macros from bp-asm.h.
26632 (S): Likewise.
26633 (SIZE): Likewise.
26634 (__mpn_lshift): Do not use BP_SYM.
26635 * sysdeps/i386/memchr.S: Do not include "bp-sym.h" and "bp-asm.h".
26636 (PARMS): Do not use macros from bp-asm.h.
26637 (STR): Likewise.
26638 (CHR): Likewise.
26639 (__memchr): Do not use BP_SYM.
26640 (memchr): Do not use BP_SYM in weak_alias.
26641 * sysdeps/i386/memcmp.S: Do not include "bp-sym.h" and "bp-asm.h".
26642 (PARMS): Do not use macros from bp-asm.h.
26643 (BLK2): Likewise.
26644 (LEN): Likewise.
26645 (memcmp): Do not use BP_SYM.
26646 (bcmp): Do not use BP_SYM in weak_alias.
26647 * sysdeps/i386/mul_1.S: Do not include "bp-sym.h" and "bp-asm.h".
26648 (PARMS): Do not use macros from bp-asm.h.
26649 (S1): Likewise.
26650 (SIZE): Likewise.
26651 (__mpn_mul_1): Do not use BP_SYM.
26652 * sysdeps/i386/rawmemchr.S: Do not include "bp-sym.h" and
26653 "bp-asm.h".
26654 (PARMS): Do not use macros from bp-asm.h.
26655 (STR): Likewise.
26656 (CHR): Likewise.
26657 (__rawmemchr): Do not use BP_SYM.
26658 (rawmemchr): Do not use BP_SYM in weak_alias.
26659 * sysdeps/i386/rshift.S: Do not include "bp-sym.h" and "bp-asm.h".
26660 (PARMS): Do not use macros from bp-asm.h.
26661 (S): Likewise.
26662 (SIZE): Likewise.
26663 (__mpn_rshift): Do not use BP_SYM.
26664 * sysdeps/i386/setjmp.S: Do not include "bp-sym.h" and "bp-asm.h".
26665 (PARMS): Do not use macros from bp-asm.h.
26666 (SIGMSK): Likewise.
26667 (__sigsetjmp): Likewise. Do not use BP_SYM.
26668 * sysdeps/i386/start.S: Do not include "bp-sym.h".
26669 (_start): Do not use BP_SYM.
26670 * sysdeps/i386/stpcpy.S: Do not include "bp-sym.h" and "bp-asm.h".
26671 (PARMS): Do not use macros from bp-asm.h.
26672 (DEST): Likewise.
26673 (SRC): Likewise.
26674 (__stpcpy): Likewise. Do not use BP_SYM.
26675 (stpcpy): Do not use BP_SYM in weak_alias.
26676 * sysdeps/i386/stpncpy.S: Do not include "bp-sym.h" and
26677 "bp-asm.h".
26678 (PARMS): Do not use macros from bp-asm.h.
26679 (DEST): Likewise.
26680 (SRC): Likewise.
26681 (LEN): Likewise.
26682 (__stpncpy): Likewise. Do not use BP_SYM.
26683 (stpncpy): Do not use BP_SYM in weak_alias.
26684 * sysdeps/i386/strchr.S: Do not include "bp-sym.h" and "bp-asm.h".
26685 (PARMS): Do not use macros from bp-asm.h.
26686 (STR): Likewise.
26687 (CHR): Likewise.
26688 (strchr): Likewise. Do not use BP_SYM.
26689 * sysdeps/i386/strchrnul.S: Do not include "bp-sym.h" and
26690 "bp-asm.h".
26691 (PARMS): Do not use macros from bp-asm.h.
26692 (STR): Likewise.
26693 (CHR): Likewise.
26694 (__strchrnul): Likewise. Do not use BP_SYM.
26695 (strchrnul): Do not use BP_SYM in weak_alias.
26696 * sysdeps/i386/strcspn.S: Do not include "bp-sym.h" and
26697 "bp-asm.h".
26698 (PARMS): Do not use macros from bp-asm.h.
26699 (STOP): Likewise.
26700 (strcspn): Do not use BP_SYM.
26701 * sysdeps/i386/strpbrk.S: Do not include "bp-sym.h" and
26702 "bp-asm.h".
26703 (PARMS): Do not use macros from bp-asm.h.
26704 (STR): Likewise.
26705 (STOP): Likewise.
26706 (strpbrk): Likewise. Do not use BP_SYM.
26707 * sysdeps/i386/strrchr.S: Do not include "bp-sym.h" and
26708 "bp-asm.h".
26709 (PARMS): Do not use macros from bp-asm.h.
26710 (STR): Likewise.
26711 (CHR): Likewise.
26712 (strrchr): Likewise. Do not use BP_SYM.
26713 * sysdeps/i386/strspn.S: Do not include "bp-sym.h" and "bp-asm.h".
26714 (PARMS): Do not use macros from bp-asm.h.
26715 (SKIP): Likewise.
26716 (strspn): Do not use BP_SYM.
26717 * sysdeps/i386/strtok.S: Do not include "bp-sym.h" and "bp-asm.h".
26718 (PARMS): Do not use macros from bp-asm.h.
26719 (STR): Likewise.
26720 (DELIM): Likewise.
26721 (SAVE): Likewise.
26722 (FUNCTION): Likewise. Do not use BP_SYM.
26723 * sysdeps/i386/strtok_r.S (__strtok_r): Do not use BP_SYM in
26724 aliases.
26725 (strtok_r): Likewise.
26726 (__GI___strtok_r): Likewise.
26727 * sysdeps/i386/sub_n.S: Do not include "bp-sym.h" and "bp-asm.h".
26728 (PARMS): Do not use macros from bp-asm.h.
26729 (S1): Likewise.
26730 (S2): Likewise.
26731 (SIZE): Likewise.
26732 (__mpn_sub_n): Do not use BP_SYM.
26733 * sysdeps/i386/submul_1.S: Do not include "bp-sym.h" and
26734 "bp-asm.h".
26735 (PARMS): Do not use macros from bp-asm.h.
26736 (S1): Likewise.
26737 (SIZE): Likewise.
26738 (__mpn_submul_1): Do not use BP_SYM.
26739 * sysdeps/unix/i386/sysdep.S: Do not include <bp-asm.h> and
26740 <bp-sym.h>.
26741 * sysdeps/unix/sysv/linux/i386/clone.S: Do not include <bp-sym.h>
26742 and <bp-asm.h>.
26743 (PARMS): Do not use macros from bp-asm.h.
26744 (FLAGS): Likewise.
26745 (PTID): Likewise.
26746 (TLS): Likewise.
26747 (CTID): Likewise.
26748 (__clone): Do not use BP_SYM.
26749 (clone): Do not use BP_SYM in weak_alias.
26750 * sysdeps/unix/sysv/linux/i386/mmap64.S: Do not include <bp-sym.h>
26751 and <bp-asm.h>.
26752 (PARMS): Do not use macros from bp-asm.h.
26753 (LEN): Likewise.
26754 (__mmap64): Do not use BP_SYM.
26755 (mmap64): Do not use BP_SYM in weak_alias.
26756 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
26757 <bp-sym.h> and <bp-asm.h>.
26758 (PARMS): Do not use macros from bp-asm.h.
26759 (__posix_fadvise64_l64): Do not use BP_SYM.
26760 * sysdeps/unix/sysv/linux/i386/semtimedop.S
26761 (PARMS): Do not use macros from bp-asm.h.
26762 (NSOPS): Likewise.
26763 (semtimedop): Do not use BP_SYM.
26764 * sysdeps/unix/sysv/linux/i386/sysdep.h: Do not include <bp-sym.h>
26765 and <bp-asm.h>.
26766
582a3cff
AM
267672013-02-21 Allan McRae <allan@archlinux.org>
26768
26769 * manual/message.texi (Charset conversion in gettext):
26770 Move @end statement to beginning of line.
26771
bab8a695
SP
267722013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
26773
80945231
SP
26774 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Mark as
26775 static.
26776 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
26777 Likewise.
26778
bab8a695
SP
26779 * sysdeps/ieee754/dbl-64/mpa.c (norm): Fix whitespace.
26780 (denorm): Likewise.
26781 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (norm): Likewise.
26782 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (norm): Likewise.
26783
e21d7aa7
AK
267842013-02-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
26785
26786 * sysdeps/s390/s390-32/dl-trampoline.S (_dl_runtime_profile): Do a
26787 tail-call to the resolved function if pltexit isn't needed.
26788
4c7a4263
SP
267892013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
26790
26791 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Mark X
26792 or Y being zero as being unlikely.
26793 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
26794 Likewise.
26795
41f49342
CD
267962013-02-20 Carlos O'Donell <carlos@redhat.com>
26797
26798 * manual/nss.texi (System Databases and Name Service Switch):
26799 Remove frobnicate @pxref.
26800
50022a93
TS
268012013-02-20 Thomas Schwinge <thomas@codesourcery.com>
26802
26803 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
26804 __attribute__ ((unused)) to __attribute__ ((__unused__)).
26805
08cbd996
PM
268062013-02-20 Petr Machata <pmachata@redhat.com>
26807
26808 * elf/elf.h (R_ARM_TARGET1): New macro.
26809 (R_ARM_SBREL31, R_ARM_V4BX, R_ARM_TARGET2): Likewise.
26810 (R_ARM_PREL31, R_ARM_MOVW_ABS_NC, R_ARM_MOVT_ABS): Likewise.
26811 (R_ARM_MOVW_PREL_NC, R_ARM_MOVT_PREL): Likewise.
26812 (R_ARM_THM_MOVW_ABS_NC, R_ARM_THM_MOVT_ABS): Likewise.
26813 (R_ARM_THM_MOVW_PREL_NC, R_ARM_THM_MOVT_PREL): Likewise.
26814 (R_ARM_THM_JUMP19, R_ARM_THM_JUMP6): Likewise.
26815 (R_ARM_THM_ALU_PREL_11_0, R_ARM_THM_PC12): Likewise.
26816 (R_ARM_ABS32_NOI, R_ARM_REL32_NOI): Likewise.
26817 (R_ARM_ALU_PC_G0_NC, R_ARM_ALU_PC_G0): Likewise.
26818 (R_ARM_ALU_PC_G1_NC, R_ARM_ALU_PC_G1): Likewise.
26819 (R_ARM_ALU_PC_G2, R_ARM_LDR_PC_G1, R_ARM_LDR_PC_G2): Likewise.
26820 (R_ARM_LDRS_PC_G0, R_ARM_LDRS_PC_G1): Likewise.
26821 (R_ARM_LDRS_PC_G2, R_ARM_LDC_PC_G0): Likewise.
26822 (R_ARM_LDC_PC_G1, R_ARM_LDC_PC_G2): Likewise.
26823 (R_ARM_ALU_SB_G0_NC, R_ARM_ALU_SB_G0): Likewise.
26824 (R_ARM_ALU_SB_G1_NC, R_ARM_ALU_SB_G1): Likewise.
26825 (R_ARM_ALU_SB_G2, R_ARM_LDR_SB_G0, R_ARM_LDR_SB_G1): Likewise.
26826 (R_ARM_LDR_SB_G2, R_ARM_LDRS_SB_G0): Likewise.
26827 (R_ARM_LDRS_SB_G1, R_ARM_LDRS_SB_G2): Likewise.
26828 (R_ARM_LDC_SB_G0, R_ARM_LDC_SB_G1, R_ARM_LDC_SB_G2): Likewise.
26829 (R_ARM_MOVW_BREL_NC, R_ARM_MOVT_BREL): Likewise.
26830 (R_ARM_MOVW_BREL, R_ARM_THM_MOVW_BREL_NC): Likewise.
26831 (R_ARM_THM_MOVT_BREL, R_ARM_THM_MOVW_BREL): Likewise.
26832 (R_ARM_PLT32_ABS, R_ARM_GOT_ABS, R_ARM_GOT_PREL): Likewise.
26833 (R_ARM_GOT_BREL12, R_ARM_GOTOFF12, R_ARM_GOTRELAX): Likewise.
26834 (R_ARM_TLS_LDO12, R_ARM_TLS_LE12, R_ARM_TLS_IE12GP): Likewise.
26835 (R_ARM_PRIVATE_0, R_ARM_PRIVATE_1, R_ARM_PRIVATE_2): Likewise.
26836 (R_ARM_PRIVATE_3, R_ARM_PRIVATE_4, R_ARM_PRIVATE_5): Likewise.
26837 (R_ARM_PRIVATE_6, R_ARM_PRIVATE_7, R_ARM_PRIVATE_8): Likewise.
26838 (R_ARM_PRIVATE_9, R_ARM_PRIVATE_10): Likewise.
26839 (R_ARM_PRIVATE_11, R_ARM_PRIVATE_12): Likewise.
26840 (R_ARM_PRIVATE_13, R_ARM_PRIVATE_14): Likewise.
26841 (R_ARM_PRIVATE_15, R_ARM_ME_TOO): Likewise.
26842 (R_ARM_THM_TLS_DESCSEQ16, R_ARM_THM_TLS_DESCSEQ32): Likewise.
26843 (R_ARM_THM_GOT_BREL12): Likewise.
26844 (R_ARM_PC24, R_ARM_PLT32): Updated a comment at this macro.
26845 (R_ARM_THM_PC11, R_ARM_THM_PC9): Likewise.
26846 (R_ARM_THM_ABS5, R_ARM_THM_PC22): Added a comment to this macro.
26847 (R_ARM_THM_PC8, R_ARM_THM_SWI8, R_ARM_XPC25): Likewise.
26848 (R_ARM_THM_XPC22, R_ARM_ALU_PCREL_7_0): Likewise.
26849 (R_ARM_ALU_PCREL_15_8, R_ARM_ALU_PCREL_23_15): Likewise.
26850 (R_ARM_LDR_SBREL_11_0, R_ARM_ALU_SBREL_19_12): Likewise.
26851 (R_ARM_ALU_SBREL_27_20, R_ARM_TLS_DESCSEQ): Likewise.
26852 (R_ARM_THM_TLS_DESCSEQ): Fixed whitespace.
26853
c7b275d6
TS
268542013-02-20 Thomas Schwinge <thomas@codesourcery.com>
26855
26856 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
26857 __attribute_used__ to __attribute__ ((unused)).
26858
20cd7fb3
SP
268592013-02-20 Siddhesh Poyarekar <siddhesh@redhat.com>
26860
26861 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Copy over comment from
26862 powerpc mpa.c.
26863 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Fix
26864 comment formatting.
26865 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul): Likewise.
26866
92945b52
JM
268672013-02-19 Joseph Myers <joseph@codesourcery.com>
26868
26869 [BZ #13550]
26870 * sysdeps/i386/bp-asm.h [__BOUNDED_POINTERS__] (BOUNDS_VIOLATED):
26871 Remove macro.
26872 (ENTER): Remove both macro definitions.
26873 (LEAVE): Likewise.
26874 (CHECK_BOUNDS_LOW): Likewise.
26875 (CHECK_BOUNDS_HIGH): Likewise.
26876 (CHECK_BOUNDS_BOTH): Likewise.
26877 (CHECK_BOUNDS_BOTH_WIDE): Likewise.
26878 (RETURN_BOUNDED_POINTER): Likewise.
26879 (RETURN_NULL_BOUNDED_POINTER): Likewise.
26880 (PUSH_ERRNO_LOCATION_RETURN): Likewise.
26881 (POP_ERRNO_LOCATION_RETURN): Likewise.
26882 * sysdeps/i386/add_n.S (__mpn_add_n): Do not use removed macros.
26883 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
26884 * sysdeps/i386/addmul_1.S (__mpn_addmul_1): Do not use removed
26885 macros.
26886 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
26887 * sysdeps/i386/bsd-_setjmp.S (_setjmp): Do not use removed macros.
26888 * sysdeps/i386/bsd-setjmp.S (setjmp): Likewise.
26889 * sysdeps/i386/fpu/s_frexp.S (__frexp): Likewise.
26890 * sysdeps/i386/fpu/s_frexpf.S (__frexpf): Likewise.
26891 * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Likewise.
26892 * sysdeps/i386/fpu/s_remquo.S (__remquo): Likewise.
26893 * sysdeps/i386/fpu/s_remquof.S (__remquof): Likewise.
26894 * sysdeps/i386/fpu/s_remquol.S (__remquol): Likewise.
26895 * sysdeps/i386/i486/strcat.S (strcat): Likewise.
26896 * sysdeps/i386/i486/strlen.S (strlen): Likewise.
26897 * sysdeps/i386/i586/add_n.S (__mpn_add_n): Likewise.
26898 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
26899 * sysdeps/i386/i586/addmul_1.S (__mpn_addmul_1): Do not use
26900 removed macros.
26901 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
26902 * sysdeps/i386/i586/lshift.S (__mpn_lshift): Do not use removed
26903 macros.
26904 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
26905 * sysdeps/i386/i586/memcpy.S (memcpy): Do not use removed macros.
26906 * sysdeps/i386/i586/memset.S (memset): Likewise.
26907 * sysdeps/i386/i586/mul_1.S (__mpn_mul_1): Likewise.
26908 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
26909 * sysdeps/i386/i586/rshift.S (__mpn_rshift): Do not use removed
26910 macros.
26911 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
26912 * sysdeps/i386/i586/strchr.S (strchr): Do not use removed macros.
26913 Change uses of L(2) to L(out).
26914 * sysdeps/i386/i586/strcpy.S (STRCPY): Do not use removed macros.
26915 * sysdeps/i386/i586/strlen.S (strlen): Likewise.
26916 * sysdeps/i386/i586/sub_n.S (__mpn_sub_n): Likewise.
26917 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
26918 * sysdeps/i386/i586/submul_1.S (__mpn_submul_1): Do not use
26919 removed macros.
26920 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
26921 * sysdeps/i386/i686/add_n.S (__mpn_add_n): Do not use removed
26922 macros.
26923 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
26924 * sysdeps/i386/i686/memcmp.S (ENTRANCE): Do not use macro ENTER.
26925 (RETURN): Do not use macro LEAVE.
26926 * sysdeps/i386/i686/memcpy.S (memcpy): Do not use removed macros.
26927 * sysdeps/i386/i686/memmove.S (memmove): Likewise.
26928 * sysdeps/i386/i686/mempcpy.S (mempcpy): Likewise.
26929 * sysdeps/i386/i686/memset.S (memset): Likewise.
26930 * sysdeps/i386/i686/strcmp.S (strcmp): Likewise.
26931 (strcmp) [!__BOUNDED_POINTERS__]: Make code unconditional.
26932 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
26933 * sysdeps/i386/i686/strtok.S (save_ptr) [__BOUNDED_POINTERS__]:
26934 Likewise.
26935 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
26936 (FUNCTION): Do not use removed macros. Combine labels L(1_1),
26937 L(1_2) and L(1_3) into L(1).
26938 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
26939 * sysdeps/i386/lshift.S (__mpn_lshift): Do not use removed macros.
26940 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
26941 * sysdeps/i386/memchr.S (__memchr): Do not use removed macros.
26942 (__memchr) [__BOUNDED_POINTERS__]: Remove conditional code.
26943 * sysdeps/i386/memcmp.S (memcmp): Do not use removed macros.
26944 * sysdeps/i386/mul_1.S (__mpn_mul_1): Likewise.
26945 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
26946 * sysdeps/i386/rawmemchr.S (__rawmemchr): Do not use removed
26947 macros.
26948 * sysdeps/i386/rshift.S (__mpn_rshift): Likewise.
26949 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
26950 * sysdeps/i386/setjmp.S (__sigsetjmp): Do not use removed macros.
26951 * sysdeps/i386/stpcpy.S (__stpcpy): Likewise.
26952 * sysdeps/i386/stpncpy.S (__stpncpy): Likewise.
26953 (__stpncpy) [__BOUNDED_POINTERS__]: Remove conditional code.
26954 * sysdeps/i386/strchr.S (strchr): Do not use removed macros.
26955 * sysdeps/i386/strchrnul.S (__strchrnul): Likewise.
26956 * sysdeps/i386/strcspn.S (strcspn): Likewise.
26957 * sysdeps/i386/strpbrk.S (strpbrk): Likewise.
26958 * sysdeps/i386/strrchr.S (strrchr): Likewise.
26959 * sysdeps/i386/strspn.S (strspn): Likewise.
26960 * sysdeps/i386/strtok.S (save_ptr) [__BOUNDED_POINTERS__]: Remove
26961 conditional code.
26962 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
26963 (FUNCTION) [!__BOUNDED_POINTERS__]: Likewise.
26964 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
26965 (FUNCTION): Do not use removed macros. Combine labels L(1_2) and
26966 L(1_3) into L(1_1).
26967 * sysdeps/i386/sub_n.S (__mpn_sub_n): Do not use removed macros.
26968 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
26969 * sysdeps/i386/submul_1.S (__mpn_submul_1): Do not use removed
26970 macros.
26971 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
26972
2389741a
JJ
269732013-02-19 Jakub Jelinek <jakub@redhat.com>
26974
26975 * stdlib/strtod_l.c (__mpn_lshift_1): Rewritten as function-like
26976 macro.
26977
2016b3cd
SP
269782013-02-19 Siddhesh Poyarekar <siddhesh@redhat.com>
26979
e4f22324
SP
26980 * math/atest-exp.c (exp_mpn): Remove ROUND.
26981 * math/atest-exp2.c (exp_mpn): Likewise.
26982 * math/atest-sincos.c (sincosx_mpn): Remove ROUND and CHK.
26983
2016b3cd
SP
26984 * stdlib/cxa_thread_atexit_impl.c: Fix Copyright year.
26985 * stdlib/tst-tls-atexit-lib.c: Likewise.
26986 * stdlib/tst-tls-atexit.c: Likewise.
26987
4be9b544
MF
269882013-02-18 Mike Frysinger <vapier@gentoo.org>
26989
26990 * stdlib/stdlib.h (aligned_alloc): Use __attribute_malloc__
26991 and __attribute_alloc_size__.
26992
2f62b9ee
MF
269932013-02-18 Mike Frysinger <vapier@gentoo.org>
26994
26995 * include/programs/xmalloc.h: Change __attribute_alloc_size to
26996 __attribute_alloc_size__.
26997 * include/sys/cdefs.h (__attribute_alloc_size): Macro removed.
26998 * misc/sys/cdefs.h (__attribute_alloc_size__): New macro.
26999
6ff444c4
MF
270002013-02-18 Mike Frysinger <vapier@gentoo.org>
27001
27002 * include/programs/xmalloc.h: New file.
27003 * catgets/gencat.c: Include it.
27004 (xmalloc, xcalloc, xrealloc, xstrdup): Don't declare them.
27005 * elf/pldd.c: Likewise.
27006 * iconv/iconv_charmap.c: Likewise.
27007 * iconv/iconvconfig.c: Likewise.
27008 * iconv/strtab.c: Likewise.
27009 * locale/programs/locale.c: Likewise.
27010 * locale/programs/localedef.h: Likewise.
27011 * locale/programs/simple-hash.c: Likewise.
27012 * nscd/nscd.h: Likewise.
27013 * nss/makedb.c: Likewise.
27014 * sysdeps/generic/ldconfig.h: Likewise.
27015
be179c8a
SP
270162013-02-18 Siddhesh Poyarekar <siddhesh@redhat.com>
27017
ba384f6e
SP
27018 * Versions.def: Add GLIBC_2.18.
27019 * include/link.h (struct link_map): New member l_tls_dtor_count.
27020 * include/stdlib.h (__cxa_thread_atexit_impl): Declare.
27021 (__call_tls_dtors): Likewise.
27022 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add
27023 __cxa_thread_atexit_impl.
27024 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
27025 Likewise.
27026 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
27027 Likewise.
27028 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
27029 Likewise.
27030 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
27031 Likewise.
27032 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
27033 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist:
27034 Likewise.
27035 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist:
27036 Likewise.
27037 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
27038 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
27039 Likewise.
27040 * stdlib/Makefile (routines): Add __cxa_thread_atexit_impl.
27041 (tests): Add test case tst-tls-atexit.
27042 (modules-names): Add shared library for tst-tls-atexit.
85891aca 27043 * stdlib/Versions (GLIBC_2.18): Add __cxa_thread_atexit_impl.
ba384f6e
SP
27044 (GLIBC_PRIVATE): Add __call_tls_dtors.
27045 * stdlib/cxa_thread_atexit_impl.c: New file with helper function
27046 for libstdc++.
27047 * stdlib/exit.c (__run_exit_handlers): Call __call_tls_dtors.
27048 * stdlib/tst-tls-atexit.c: New test case.
27049 * stdlib/tst-tls-atexit-lib.c: New test case.
27050
ffaa74cf 27051 * misc/tst-pselect.c: Include stdlib.h for declaration of exit.
ffaa74cf 27052
be179c8a
SP
27053 * elf/Versions (ld): Add _dl_find_dso_for_object.
27054 * elf/dl-addr.c (_dl_addr): Use _dl_find_dso_for_object.
27055 * elf/dl-open.c (_dl_find_dso_for_object): New function.
27056 (dl_open_worker): Use _dl_find_dso_for_object.
27057 * elf/dl-sym.c (do_sym): Likewise.
27058 * sysdeps/generic/ldsodefs.h: Declare _dl_find_dso_for_object.
27059
f78b5caa
AK
270602013-02-18 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
27061
27062 * sysdeps/s390/s390-64/dl-trampoline.S (_dl_runtime_resolve):
27063 Syntactic changes only.
27064 (_dl_runtime_profile): Do a tail-call to the resolved function.
27065
29691210
JM
270662013-02-17 Joseph Myers <joseph@codesourcery.com>
27067
27068 [BZ #13550]
27069 * sysdeps/x86_64/bp-asm.h: Remove file.
27070 * sysdeps/unix/sysv/linux/x86_64/clone.S: Do not include
27071 <bp-sym.h> and <bp-asm.h>.
27072 (__clone): Do not use BP_SYM.
27073 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Do not include
27074 <bp-sym.h> and <bp-asm.h>.
27075 * sysdeps/unix/x86_64/sysdep.S: Likewise.
27076 * sysdeps/x86_64/bsd-_setjmp.S: Do not include "bp-sym.h" and
27077 "bp-asm.h".
27078 (_setjmp): Do not use BP_SYM.
27079 * sysdeps/x86_64/bsd-setjmp.S: Do not include "bp-sym.h" and
27080 "bp-asm.h".
27081 (setjmp): Do not use BP_SYM.
27082 * sysdeps/x86_64/mempcpy.S (__mempcpy): Do not use BP_SYM in
27083 libc_hidden_def.
27084 (mempcpy): Do not use BP_SYM in weak_alias.
27085 * sysdeps/x86_64/rtld-strchr.S: Do not include "bp-sym.h" and
27086 "bp-asm.h".
27087 (strchr): Do not use BP_SYM.
27088 * sysdeps/x86_64/rtld-strlen.S: Do not include "bp-sym.h" and
27089 "bp-asm.h".
27090 * sysdeps/x86_64/setjmp.S (__sigsetjmp): Do not use BP_SYM.
27091 * sysdeps/x86_64/start.S: Do not include "bp-sym.h".
27092 (_start): Do not use BP_SYM.
27093 * sysdeps/x86_64/strcat.S: Do not include "bp-sym.h" and
27094 "bp-asm.h".
27095 (strcat): Do not use BP_SYM.
27096 * sysdeps/x86_64/strcmp.S: Do not include "bp-sym.h" and
27097 "bp-asm.h".
27098 (STRCMP): Do not use BP_SYM.
27099 * sysdeps/x86_64/strcpy.S: Do not include "bp-sym.h" and
27100 "bp-asm.h".
27101 (STRCPY): Do not use BP_SYM.
27102 * sysdeps/x86_64/strcpy_chk.S: Do not include "bp-sym.h" and
27103 "bp-asm.h".
27104 * sysdeps/x86_64/strtok.S: Do not include "bp-sym.h" and
27105 "bp-asm.h".
27106 (FUNCTION): Do not use BP_SYM.
27107 * sysdeps/x86_64/strtok_r.S (strtok_r): Do not use BP_SYM in
27108 weak_alias.
27109 (__GI___strtok_r): Do not use BP_SYM in strong_alias.
27110
f238fd19
AJ
271112013-02-17 Andreas Jaeger <aj@suse.de>
27112
27113 * time/Versions: Sort entries.
27114 * string/Versions: Likewise.
27115 * resolv/Versions: Likewise.
27116 * posix/Versions: Likewise.
27117 * iconv/Versions: Likewise.
27118 * elf/Versions: Likewise.
27119 * wcsmbs/Versions: Likewise.
27120
bd07f23c 271212013-02-15 Siddhesh Poyarekar <siddhesh@redhat.com>
4709fe76 27122
22af19f9
SP
27123 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Avoid using LIM in
27124 loop termination condition.
27125
4709fe76
SP
27126 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Use intermediate
27127 variable to calculate EZ.
27128 (__sqr): Likewise.
2d0e0f29
SP
27129
27130 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Fix determination of
27131 the lower precision input.
27132
daaa7713
JM
271332013-02-15 Joseph Myers <joseph@codesourcery.com>
27134
27135 [BZ #13550]
27136 * Makeconfig [!+link-bounded] (+link-bounded): Remove variable.
27137 [!link-extra-libs] (link-extra-libs-bounded): Likewise.
27138 (run-via-rtld-prefix): Do not handle %-bp tests.
27139 (test-via-rtld-prefix): Do not mention %-bp tests in comment.
27140 (all-object-suffixes): Remove .ob.
27141 (bppfx): Remove variable.
27142 [$(build-bounded) = yes] (object-suffixes): Do not add .ob.
27143 [$(build-bounded) = yes] (CPPFLAGS-.ob): Remove variable.
27144 [$(build-bounded) = yes] (CFLAGS-.ob): Likewise.
27145 [$(build-bounded) = yes] (libtype.ob): Likewise.
27146 * Makerules (elide-routines.ob): Remove variable.
27147 (do-tests-clean): Do not handle *-bp.out.
27148 (common-mostlyclean): Do not handle *-bp and *-bp.out.
27149 * Rules [$(build-bounded) = yes] (tests-bp.out): Remove variable.
27150 [$(build-bounded) = yes] (xtests-bp.out): Likewise.
27151 (tests): Do not include $(tests-bp.out).
27152 (xtests): Do not include $(xtests-bp.out).
27153 [$(build-bounded) = yes] (binaries-bounded): Remove variable.
27154 [$(build-bounded) = yes] ($(addprefix
27155 $(objpfx),$(binaries-bounded))): Remove rule.
27156 ($(objpfx)%-bp.out): Remove rule.
27157 * config.make.in (build-bounded): Remove variable.
27158 * crypt/Makefile [$(build-bounded) = yes]
27159 ($(tests:%=$(objpfx)%-bp)): Remove dependency.
27160 * csu/Makefile [$(build-bounded) = yes] (extra-objs): Do not
27161 append to variable.
27162 [$(build-bounded) = yes] (install-lib): Likewise.
27163 [$(build-bounded) = yes] (generated): Likewise.
27164 [!start-installed-name-rule] ($(objpfx)b$(start-installed-name)):
27165 Remove rule.
27166 * intl/Makefile [$(build-bounded) = yes]
27167 ($(multithread-test-srcs:%=$(objpfx)%-bp)): Remove dependency.
27168 * math/Makefile [$(build-bounded) = yes]
27169 ($(tests:%=$(objpfx)%-bp): Likewise.
27170 * misc/Makefile [$(build-bounded) = yes]
27171 ($(objpfx)tst-tsearch-bp): Likewise.
27172 * nptl/Makeconfig (bounded-thread-library): Remove variable.
27173 * rt/Makefile [$(build-bounded) = yes] ($(tests:%=$(objpfx)%-bp)):
27174 Remove dependency.
27175 * string/Makefile (o-objects.ob): Remove variable.
27176 * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]
27177 (CFLAGS-.ob): Remove variable.
27178 [$(config-asflags-i686) = yes] (ASFLAGS-.ob): Likewise.
27179 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.ob): Remove
27180 both definitions of variable.
27181 * sysdeps/sparc/sparc64/Makefile [$(have-as-vis3) = yes]
27182 (ASFLAGS-.ob): Remove variable.
27183
e97ed6dd
JM
271842013-02-14 Joseph Myers <joseph@codesourcery.com>
27185
2bdd4ca6
JM
27186 [BZ #13550]
27187 * config.h.in [USE_REGPARMS && !PROF && !__BOUNDED_POINTERS__]:
27188 Remove __BOUNDED_POINTERS__ from condition.
27189 * elf/dl-runtime.c [!PROF && !__BOUNDED_POINTERS__]: Likewise.
27190 * string/bits/string2.h [!__NO_STRING_INLINES &&
27191 !__BOUNDED_POINTERS__]: Likewise.
27192 * sysdeps/i386/dl-machine.h [!PROF && !__BOUNDED_POINTERS__]:
27193 Likewise.
27194 * sysdeps/unix/sysv/linux/shmat.c (shmat) [__BOUNDED_POINTERS__]:
27195 Remove conditional code.
27196 * sysdeps/x86/bits/string.h [!__NO_STRING_INLINES &&
27197 __USE_STRING_INLINES && __GNUC__ && __GNUC__ >= 2 &&
27198 !__BOUNDED_POINTERS__]: Remove __BOUNDED_POINTERS__ from
27199 condition.
27200
e97ed6dd
JM
27201 [BZ #13550]
27202 * csu/libc-start.c: Do not include <bp-sym.h>.
27203 [!LIBC_START_MAIN] (LIBC_START_MAIN): Do not use BP_SYM.
27204 * elf/dl-open.c: Do not include <bp-sym.h>.
27205 (_dl_sysdep_start): Do not use BP_SYM in weak_extern.
27206 * math/fegetenv.c: Do not include <bp-sym.h>.
27207 (fegetenv): Do not use BP_SYM in versioned symbols.
27208 * nptl/sysdeps/pthread/bits/libc-lockP.h
27209 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]: Do not include
27210 <bp-sym.h>.
27211 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
27212 (__pthread_mutex_init): Do not use BP_SYM in weak_extern.
27213 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
27214 (__pthread_mutex_destroy): Likewise.
27215 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
27216 (__pthread_mutex_lock): Likewise.
27217 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
27218 (__pthread_mutex_trylock): Likewise.
27219 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
27220 (__pthread_mutex_unlock): Likewise.
27221 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
27222 (__pthread_mutexattr_init): Likewise.
27223 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
27224 (__pthread_mutexattr_destroy): Likewise.
27225 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
27226 (__pthread_mutexattr_settype): Likewise.
27227 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
27228 (__pthread_rwlock_init): Likewise.
27229 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
27230 (__pthread_rwlock_destroy): Likewise.
27231 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
27232 (__pthread_rwlock_rdlock): Likewise.
27233 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
27234 (__pthread_rwlock_tryrdlock): Likewise.
27235 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
27236 (__pthread_rwlock_wrlock): Likewise.
27237 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
27238 (__pthread_rwlock_trywrlock): Likewise.
27239 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
27240 (__pthread_rwlock_unlock): Likewise.
27241 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
27242 (__pthread_key_create): Likewise.
27243 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
27244 (__pthread_setspecific): Likewise.
27245 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
27246 (__pthread_getspecific): Likewise.
27247 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern] (__pthread_once):
27248 Likewise.
27249 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
27250 (_pthread_cleanup_push_defer): Likewise.
27251 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
27252 (_pthread_cleanup_pop_restore): Likewise.
27253 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
27254 (pthread_setcancelstate): Likewise.
27255 * string/memchr.c [HAVE_BP_SYM_H || _LIBC]: Do not include
27256 <bp-sym.h>.
27257 [!(HAVE_BP_SYM_H || _LIBC)] (BP_SYM): Remove macro definition.
27258 (memchr): Do not use BP_SYM in weak_alias.
27259 * sysdeps/i386/fpu/fegetenv.c: Do not include <bp-sym.h>.
27260 (fegetenv): Do not use BP_SYM in versioned symbols.
27261 * sysdeps/i386/fpu/fesetenv.c: Do not include <bp-sym.h>.
27262 (fesetenv): Do not use BP_SYM in versioned symbols.
27263 * sysdeps/i386/fpu/feupdateenv.c: Do not include <bp-sym.h>.
27264 (feupdateenv): Do not use BP_SYM in versioned symbols.
27265 * sysdeps/i386/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
27266 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
27267 * sysdeps/posix/open64.c: Do not include <bp-sym.h>.
27268 (__open64): Do not use BP_SYM in weak_alias and libc_hidden_weak.
27269 (open64): Do not use BP_SYM in weak_alias.
27270 * sysdeps/powerpc/fpu/fegetenv.c: Do not include <bp-sym.h>.
27271 (fegetenv): Do not use BP_SYM in versioned symbols.
27272 * sysdeps/powerpc/fpu/fesetenv.c: Do not include <bp-sym.h>.
27273 (fesetenv): Do not use BP_SYM in versioned symbols.
27274 * sysdeps/powerpc/fpu/feupdateenv.c: Do not include <bp-sym.h>.
27275 (feupdateenv): Do not use BP_SYM in versioned symbols.
27276 * sysdeps/powerpc/fpu/fgetexcptflg.c: Do not include <bp-sym.h>.
27277 (fegetexceptflag): Do not use BP_SYM in versioned symbols.
27278 * sysdeps/powerpc/fpu/fraiseexcpt.c: Do not include <bp-sym.h>.
27279 (feraiseexcept): Do not use BP_SYM in versioned symbols.
27280 * sysdeps/powerpc/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
27281 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
27282 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Do not include
27283 <bp-sym.h>.
27284 (__libc_start_main): Do not use BP_SYM.
27285
d6752ccd
SP
272862013-02-14 Siddhesh Poyarekar <siddhesh@redhat.com>
27287
cb57ce60
SP
27288 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cpy): Remove
27289 redundant return line.
27290 (norm): Likewise.
27291 (denorm): Likewise.
27292 (dbl_mp): Likewise.
27293 (sub_magnitudes): Likewise.
27294 (__add): Likewise.
27295 (__sub): Likewise.
27296 (__mul): Likewise.
27297 (__inv): Likewise.
27298 (__dvd): Likewise.
27299 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cpy): Likewise.
27300 (norm): Likewise.
27301 (denorm): Likewise.
27302 (dbl_mp): Likewise.
27303 (sub_magnitudes): Likewise.
27304 (__add): Likewise.
27305 (__sub): Likewise.
27306 (__mul): Likewise.
27307 (__inv): Likewise.
27308 (__dvd): Likewise.
27309
f414520d
SP
27310 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __sqr
27311 instead of __mul.
27312 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
27313 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Likewise.
27314 (cc32): Likewise.
27315
d6752ccd
SP
27316 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): New function.
27317 * sysdeps/ieee754/dbl-64/mpa.h (__sqr): Declare.
27318 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): use __sqr instead
27319 of __mul for squares.
27320 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__sqr): New
27321 function
27322 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__sqr):
27323 Likewise.
27324 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define __sqr.
27325 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
27326
70d9946a
JM
273272013-02-13 Joseph Myers <joseph@codesourcery.com>
27328
27329 [BZ #13550]
27330 * misc/sys/cdefs.h [!__BOUNDED_POINTERS__]: Remove conditional
27331 code.
27332 * csu/libc-start.c (LIBC_START_MAIN): Do not use __unbounded in
27333 prototype or function definition. Rename ubp_* variables and
27334 parameters. Remove argv definitions conditional on
27335 [__BOUNDED_POINTERS__].
27336 * debug/backtrace.c (__backtrace): Do not use __unbounded.
27337 * elf/dl-runtime.c (_dl_fixup): Likewise.
27338 * include/set-hooks.h (RUN_HOOK): Likewise.
27339 * stdio-common/vfprintf.c (JUMP): Do not use __unbounded in either
27340 definition.
27341 * string/strcpy.c (strcpy): Do not use __unbounded.
27342 * sysdeps/generic/frame.h (struct layout): Likewise.
27343 * sysdeps/gnu/bits/msq.h (struct msqid_ds): Likewise.
27344 * sysdeps/i386/dl-machine.h (_dl_fixup): Likewise.
27345 * sysdeps/powerpc/powerpc32/backtrace.c (struct layout): Likewise.
27346 * sysdeps/powerpc/powerpc64/backtrace.c (struct layout): Likewise.
27347 * sysdeps/sparc/backtrace.c (struct layout): Likewise.
27348 (__backtrace): Likewise.
27349 * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Do not
27350 use __ptrvalue.
27351 * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
27352 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
27353 * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
27354 Likewise.
27355 * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Likewise.
27356 * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Likewise.
27357 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
27358 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
27359 * sysdeps/unix/sysv/linux/i386/msgctl.c (struct __old_msqid_ds):
27360 Do not use __unbounded.
27361 * sysdeps/unix/sysv/linux/i386/setrlimit.c (__new_setrlimit):
27362 Rename __unboundedrlimits parameter to rlimits in prototype.
27363 * sysdeps/unix/sysv/linux/i386/shmctl.c (struct __old_shmid_ds):
27364 Do not use __unbounded.
27365 * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction): Do
27366 not use __ptrvalue.
27367 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
27368 * sysdeps/unix/sysv/linux/llseek.c (__llseek): Likewise.
27369 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
27370 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Do not use
27371 __ptrvalue or __unbounded.
27372 (__mmap64) [__BOUNDED_POINTERS__]: Remove conditional code.
27373 * sysdeps/unix/sysv/linux/msgctl.c (struct __old_msqid_ds): Do not
27374 use __unbounded.
27375 (__new_msgctl): Do not use __ptrvalue.
27376 * sysdeps/unix/sysv/linux/msgrcv.c (struct ipc_kludge): Do not use
27377 __unbounded.
27378 (__libc_msgrcv): Do not use __ptrvalue.
27379 * sysdeps/unix/sysv/linux/powerpc/libc-start.c (struct
27380 startup_info): Do not use __unbounded.
27381 (__libc_start_main): Likewise. Rename ubp_* variables and
27382 parameters. Remove argv definitions conditional on
27383 [__BOUNDED_POINTERS__].
27384 * sysdeps/unix/sysv/linux/ptrace.c (ptrace): Do not use
27385 __ptrvalue.
27386 * sysdeps/unix/sysv/linux/semctl.c (struct __old_semid_ds): Do not
27387 use __unbounded.
27388 * sysdeps/unix/sysv/linux/shmat.c (shmat): Do not use __unbounded
27389 or __ptrvalue.
27390 * sysdeps/unix/sysv/linux/shmctl.c (struct __old_shmid_ds): Do not
27391 use __unbounded.
27392 (__new_shmctl): Do not use __ptrvalue.
27393 * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
27394 * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
27395 Likewise.
27396 * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
27397 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c
27398 (__libc_sigaction): Likewise.
27399 * sysdeps/unix/sysv/linux/sysctl.c (__sysctl): Likewise.
27400 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (__libc_sigaction):
27401 Likewise.
27402 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
27403
cc7834d6
OB
274042013-02-13 Ondřej Bílka <neleai@seznam.cz>
27405
ffb1ec7b 27406 * stdlib/Makefile (headers): Add bits/stdlib-bsearch.h.
170704c9
OB
27407
27408 * string/mempcpy.c: Implement by calling memcpy.
27409
bdf02814
SP
274102013-02-13 Siddhesh Poyarekar <siddhesh@redhat.com>
27411
c2af38aa
SP
27412 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove NFA.
27413
4e92d59e
SP
27414 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Faster polynomial
27415 evaluation.
27416
909279a5
SP
27417 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Don't bother with zero
27418 values in the mantissa.
27419
bdf02814
SP
27420 * sysdeps/ieee754/dbl-64/mpa.c (add_magnitudes): Use ZK to
27421 minimize writes to Z.
27422 (sub_magnitudes): Simplify code a bit.
27423
cd525923
RM
274242013-02-12 Roland McGrath <roland@hack.frob.com>
27425
27426 * include/libc-symbols.h (stub_warning): Remove "warning: " prefix
27427 from the message. The linker prefixes all warnings with that already.
27428
7e2f0d2d
AS
274292013-02-12 Andreas Schwab <schwab@suse.de>
27430
a445af0b
AS
27431 [BZ #15078]
27432 * posix/regexec.c (extend_buffers): Add parameter min_len.
27433 (check_matching): Pass minimum needed length.
27434 (clean_state_log_if_needed): Likewise.
27435 (get_subexp): Likewise.
27436 * posix/Makefile (tests): Add bug-regex34.
27437 (bug-regex34-ENV): Define.
27438 * posix/bug-regex34.c: New file.
27439
7e2f0d2d
AS
27440 [BZ #11561]
27441 * posix/regcomp.c (parse_bracket_exp): When looking up collating
27442 elements compare against the byte sequence of it, not its name.
27443 * posix/Makefile (tests): Add bug-regex35.
27444 (bug-regex35-ENV): Define.
27445 * posix/bug-regex35.c: New file.
27446
a175b684
TV
274472013-02-11 Tom de Vries <tom@codesourcery.com>
27448
27449 * string/str-two-way.h: Fix typo RESULT_TYPE -> RETURN_TYPE in
27450 comment.
27451 Add RET0_IF_0 and CHECK_EOL to macro list in comment.
27452 (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J): Remove superfluous undef.
27453 (CHECK_EOL): Add undef.
27454
310998fe 274552013-02-11 Ondřej Bílka <neleai@seznam.cz>
41eda41d
OB
27456
27457 * bits/stdlib-bsearch.h: New file.
27458 * stdlib/bsearch.c: Include bits/stdlib-bsearch.h.
310998fe 27459 * stdlib/stdlib.h: Likewise.
41eda41d 27460
8ded91fb
RM
274612013-02-11 Roland McGrath <roland@hack.frob.com>
27462
27463 * manual/conf.texi (General Limits): Fix SSIZE_MAX type to ssize_t.
27464 * manual/errno.texi (Error Messages): Fix typo in error_print_progname
27465 declaration.
27466 * manual/search.texi (Array Search Function): Add missing const in
27467 lfind prototype.
27468 * manual/resource.texi (Limits on Resources): Fix RLIM_INFINITY
27469 declaration to use rlim_t.
27470 (Basic Scheduling Functions): Remove erroneous const from
27471 sched_getparam prototype. Remove erroneous * from
27472 sched_get_priority_max and sched_get_priority_min prototypes.
27473 (Resource Usage): Fix summary @comment on vtimes to refer to
27474 sys/vtimes.h rather than vtimes.h.
27475 Add missing *s in vtimes prototype.
27476 (Limits on Resources): Fix ulimit prototype to return long int.
27477 * manual/math.texi (SVID Random): Fix lrand48_r and mrand48_r
27478 prototypes to use long int rather than double.
27479 (BSD Random): Fix initstate and setstate to use char *, not void *.
27480 * manual/llio.texi (Asynchronous Reads/Writes): Fix lio_listio64
27481 prototype to make second argument 'struct aiocb64 *const[]'.
27482 Fix aio_read64 and aio_write64 prototypes to use struct aiocb64.
27483 (Status of AIO Operations): Remove erroneous const in aio_return and
27484 aio_return64 prototypes.
27485 (Synchronizing I/O): Fix sync prototype to return void.
27486 * manual/startup.texi (Suboptions): Remove an erroneous const in
27487 getsubopt prototype.
27488 * manual/getopt.texi (Using Getopt): Add a const in getopt prototype.
27489 * manual/users.texi (Lookup Netgroup): Fix getnetgrent_r prototype to
27490 use size_t rather than int.
27491 (Scanning All Users): Likewise for getpwent_r.
27492 (Setting Groups): Add missing const to setgroups prototype.
27493 * manual/sysinfo.texi (mtab): Fix typo in getmntent_r prototype.
27494 * manual/socket.texi (Host Names): Fix gethostbyaddr and
27495 gethostbyaddr_r prototypes to use socklen_t rather than size_t and
27496 'const void *' rather than 'const char *'.
27497 (Host Address Functions): Likewise for inet_ntop.
27498 (Networks Database): Fix getnetbyaddr prototype to use uint32_t.
27499 (Receiving Data): Fix recv, recvfrom, recvmsg prototypes to use
27500 ssize_t for return value.
27501 (Sending Data): Likewise for send, sendto, sendmsg.
27502 (Socket Option Functions): Add a missing const in setsockopt prototype.
27503 * manual/stdio.texi (Simple Output): Fix fputwc_unlocked prototype to
27504 use wchar_t for the argument.
27505 (Formatted Input Functions): Fix swscanf prototype to use wchar_t *.
27506 * manual/arith.texi (Control Functions): Fix fegetexcept prototype to
27507 take no arguments.
27508 (Normalization Functions): Fix scalb, scalbf, scalbl prototypes to use
27509 double/float/long double for second argument.
27510 Fix return types of significand, significandf, significandl.
27511 * manual/filesys.texi (Setting Permissions): Use mode_t for second
27512 argument in fchmod prototype.
27513 (File Owner): Use uid_t and gid_t in fchown prototype.
27514 (File Times): Add const to utimes, futimes, and lutimes prototypes.
27515 (Making Special Files): Use mode_t and dev_t in mknod prototype.
27516 (Scanning Directory Content): Fix scandir and scandir64 prototypes to
27517 use 'const struct dirent **' as argument types to CMP function pointer
27518 argument.
27519 (Symbolic Links): Fix readlink prototype with ssize_t as return value.
27520 (File Times): Fix summary magic @comment for struct utimbuf and utime
27521 to refer to utime.h, not time.h.
27522 * manual/string.texi (Argz Functions): Add missing const in
27523 argz_extract and argz_next prototypes.
27524 (Finding Tokens in a String): Likewise for basename.
27525 (String/Array Comparison): Fix typo in wcscasecmp prototype.
27526 (Copying and Concatenation): Fix typo in wmemmove prototype.
27527 * manual/signal.texi (Using Pause): Use (void) in pause prototype.
27528 (Signal Stack): Remove erroneous const in sigstack prototype.
27529 * manual/time.texi (Setting an Alarm): Add missing const in setitimer
27530 prototype.
27531 (Simple Calendar Time): Likewise for stime.
27532 * manual/terminal.texi (BSD Terminal Modes): Add missing const in stty
27533 prototype.
27534 * manual/sysinfo.texi (System Parameters): Fix mentions of sysctl.h to
27535 say sys/sysctl.h instead.
27536 * manual/syslog.texi (syslog; vsyslog): Add missing const in syslog
27537 and vsyslog prototypes.
27538
fe77fe6d
TV
275392013-02-11 Tom de Vries <tom@codesourcery.com>
27540
27541 * string/Makefile (CFLAGS-bug-strstr1.c, CFLAGS-bug-strcasestr1.c):
27542 Remove.
27543
3a09b620
RM
275442013-02-11 Roland McGrath <roland@hack.frob.com>
27545
27546 * misc/sys/mman.h: Fix typo in mremap comment.
27547
550a0b89
RM
275482013-02-08 Roland McGrath <roland@hack.frob.com>
27549
27550 * manual/examples/mkfsock.c (make_named_socket): Don't add one for
27551 the '\0' terminator.
27552
a2da1673
JM
275532013-02-08 Joseph Myers <joseph@codesourcery.com>
27554
27555 [BZ #13550]
27556 * debug/segfault.c: Don't include <bp-checks.h>.
27557 * sysdeps/generic/bp-checks.h: Remove file.
27558 * sysdeps/unix/sysv/linux/getdents.c: Don't include <bp-checks.h>.
27559 (__GETDENTS): Don't use CHECK_N.
27560 * sysdeps/unix/sysv/linux/i386/brk.c: Don't include <bp-checks.h>.
27561 * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
27562 (__getgroups): Don't use CHECK_N.
27563 * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
27564 (setgroups): Don't use CHECK_N.
27565 * sysdeps/unix/sysv/linux/mmap64.c: Don't include <bp-checks.h>.
27566 * sysdeps/unix/sysv/linux/msgrcv.c: Likewise.
27567 (__libc_msgrcv): Don't use CHECK_N.
27568 * sysdeps/unix/sysv/linux/msgsnd.c: Don't include <bp-checks.h>.
27569 (__libc_msgsnd): Don't use CHECK_N.
27570 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Don't include
27571 <bp-checks.h>.
27572 (__libc_pread): Don't use CHECK_N.
27573 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Don't
27574 include <bp-checks.h>.
27575 (__libc_pread64): Don't use CHECK_N.
27576 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Don't
27577 include <bp-checks.h>.
27578 (__libc_pwrite): Don't use CHECK_N.
27579 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Don't
27580 include <bp-checks.h>.
27581 (__libc_pwrite64): Don't use CHECK_N.
27582 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Don't include
27583 <bp-checks.h>.
27584 (__libc_pread): Don't use CHECK_N.
27585 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Don't
27586 include <bp-checks.h>.
27587 (__libc_pread64): Don't use CHECK_N.
27588 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Don't
27589 include <bp-checks.h>.
27590 (__libc_pwrite): Don't use CHECK_N.
27591 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Don't
27592 include <bp-checks.h>.
27593 (__libc_pwrite64): Don't use CHECK_N.
27594 * sysdeps/unix/sysv/linux/pread.c: Don't include <bp-checks.h>.
27595 (do_pread): Don't use CHECK_N.
27596 * sysdeps/unix/sysv/linux/pread64.c: Don't include <bp-checks.h>.
27597 (do_pread64): Don't use CHECK_N.
27598 * sysdeps/unix/sysv/linux/pwrite.c: Don't include <bp-checks.h>.
27599 (do_pwrite): Don't use CHECK_N.
27600 * sysdeps/unix/sysv/linux/pwrite64.c: Don't include <bp-checks.h>.
27601 (do_pwrite64): Don't use CHECK_N.
27602 * sysdeps/unix/sysv/linux/readv.c: Don't include <bp-checks.h>.
27603 (__libc_readv): Don't use CHECK_N.
27604 * sysdeps/unix/sysv/linux/semop.c: Don't include <bp-checks.h>.
27605 (semop): Don't use CHECK_N.
27606 * sysdeps/unix/sysv/linux/semtimedop.c: Don't include
27607 <bp-checks.h>.
27608 (semtimedop): Don't use CHECK_N.
27609 * sysdeps/unix/sysv/linux/sh/pread.c: Don't include <bp-checks.h>.
27610 (__libc_pread): Don't use CHECK_N.
27611 * sysdeps/unix/sysv/linux/sh/pread64.c: Don't include
27612 <bp-checks.h>.
27613 (__libc_pread64): Don't use CHECK_N.
27614 * sysdeps/unix/sysv/linux/sh/pwrite.c: Don't include
27615 <bp-checks.h>.
27616 (__libc_pwrite): Don't use CHECK_N.
27617 * sysdeps/unix/sysv/linux/sh/pwrite64.c: Don't include
27618 <bp-checks.h>.
27619 (__libc_pwrite64): Don't use CHECK_N.
27620 * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c: Don't include
27621 <bp-checks.h>.
27622 (__libc_msgrcv): Don't use CHECK_N.
27623 * sysdeps/unix/sysv/linux/sysctl.c: Don't include <bp-checks.h>.
27624 (__sysctl): Don't use CHECK_N. Remove GKM FIXME comment.
27625 * sysdeps/unix/sysv/linux/writev.c: Don't include <bp-checks.h>.
27626 (__libc_writev): Don't use CHECK_N.
27627
b84660a8
RM
276282013-02-08 Roland McGrath <roland@hack.frob.com>
27629
7f3e75f8
RM
27630 * string/strcpy.c: Removed unused variable.
27631
b84660a8
RM
27632 * Makeconfig (+sysdep-includes): Define with := rather than =.
27633 Use an existing include/ subdir of each sysdeps dir before it.
27634
471514d3
CD
276352013-02-08 Carlos O'Donell <carlos@redhat.com>
27636
27637 * nscd/connection.c (register_traced_file): Comment function.
27638 [HAVE_INOTIFY] (union __inev): Define.
27639 [HAVE_INOTIFY] (inotify_check_files): New function.
27640 [HAVE_INOTIFY] (clear_db_cache): Likewise.
27641 [HAVE_INOTIFY] (main_loop_poll): Call inotify_check_files and
27642 clear_db_cache.
27643 [HAVE_INOTIFY] (main_loop_epoll): Likewise.
27644
b2d3c3be
CD
276452013-02-08 Carlos O'Donell <carlos@redhat.com>
27646
27647 * elf/dl-cache.c (_dl_load_cache_lookup): Comment that cache is
27648 loaded if not already and that a failure is permanent.
27649
b39949d2
CD
276502013-02-08 Carlos O'Donell <carlos@redhat.com>
27651
ddacd1db 27652 [BZ #15006]
b39949d2
CD
27653 * sysdeps/generic/ldconfig.h: Define FLAG_ARM_LIBSF.
27654 * elf/cache.c (print_entry): Add FLAG_ARM_LIBSF support.
27655
b2c9eff4
JM
276562013-02-08 Joseph Myers <joseph@codesourcery.com>
27657
f3aae3f3
JM
27658 [BZ #13550]
27659 * sysdeps/generic/bp-checks.h (CHECK_1): Remove all definitions.
27660 (CHECK_1_NULL_OK): Likewise.
27661 * sysdeps/unix/sysv/linux/fxstat.c: Do not include <bp-checks.h>.
27662 (__fxstat): Do not use CHECK_1.
27663 * sysdeps/unix/sysv/linux/fxstat64.c: Do not include
27664 <bp-checks.h>.
27665 (___fxstat64): Do not use CHECK_1.
27666 * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
27667 <bp-checks.h>.
27668 (__fxstatat): Do not use CHECK_1.
27669 * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
27670 <bp-checks.h>.
27671 (__fxstatat64): Do not use CHECK_1.
27672 * sysdeps/unix/sysv/linux/i386/fxstat.c: Do not include
27673 <bp-checks.h>.
27674 (__fxstat): Do not use CHECK_1.
27675 * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
27676 <bp-checks.h>.
27677 (__fxstatat): Do not use CHECK_1.
27678 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
27679 <bp-checks.h>.
27680 (__getresgid): Do not use CHECK_1.
27681 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
27682 <bp-checks.h>.
27683 (__getresuid): Do not use CHECK_1.
27684 * sysdeps/unix/sysv/linux/i386/lxstat.c: Do not include
27685 <bp-checks.h>.
27686 (__lxstat): Do not use CHECK_1.
27687 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
27688 <bp-checks.h>.
27689 (__old_msgctl): Do not use CHECK_1.
27690 (__new_msgctl): Likewise.
27691 * sysdeps/unix/sysv/linux/i386/setrlimit.c: Do not include
27692 <bp-checks.h>.
27693 (__new_setrlimit): Do not use CHECK_1.
27694 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
27695 <bp-checks.h>.
27696 (__old_shmctl): Do not use CHECK_1.
27697 (__new_shmctl): Likewise.
27698 * sysdeps/unix/sysv/linux/i386/xstat.c: Do not include
27699 <bp-checks.h>.
27700 (__xstat): Do not use CHECK_1.
27701 * sysdeps/unix/sysv/linux/lxstat.c: Do not include <bp-checks.h>.
27702 (__lxstat): Do not use CHECK_1.
27703 * sysdeps/unix/sysv/linux/lxstat64.c: Do not include
27704 <bp-checks.h>.
27705 (___lxstat64): Do not use CHECK_1.
27706 * sysdeps/unix/sysv/linux/msgctl.c: Do not include <bp-checks.h>.
27707 (__old_msgctl): Do not use CHECK_1.
27708 (__new_msgctl): Likewise.
27709 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Do not include
27710 <bp-checks.h>.
27711 (__gettimeofday): Do not use CHECK_1.
27712 * sysdeps/unix/sysv/linux/ptrace.c: Do not include <bp-checks.h>.
27713 (ptrace) [__BOUNDED_POINTERS__]: Remove conditional code.
27714 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Do not include
27715 <bp-checks.h>.
27716 (__gettimeofday): Do not use CHECK_1.
27717 * sysdeps/unix/sysv/linux/shmctl.c: Do not include <bp-checks.h>.
27718 (__old_shmctl): Do not use CHECK_1_NULL_OK.
27719 (__new_shmctl): Do not use CHECK_1.
27720 * sysdeps/unix/sysv/linux/sigtimedwait.c: Do not include
27721 <bp-checks.h>.
27722 (do_sigtimedwait): Do not use CHECK_1.
27723 * sysdeps/unix/sysv/linux/sigwaitinfo.c: Do not include
27724 <bp-checks.h>.
27725 (do_sigwaitinfo): Do not use CHECK_1.
27726 * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Do not include
27727 <bp-checks.h>.
27728 (msgctl): Do not use CHECK_1.
27729 * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Do not include
27730 <bp-checks.h>.
27731 (shmctl): Do not use CHECK_1.
27732 * sysdeps/unix/sysv/linux/ustat.c: Do not include <bp-checks.h>.
27733 (ustat): Do not use CHECK_1.
27734 * sysdeps/unix/sysv/linux/wordsize-64/fxstat.c: Do not include
27735 <bp-checks.h>.
27736 (__fxstat): Do not use CHECK_1.
27737 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
27738 <bp-checks.h>.
27739 (__fxstatat): Do not use CHECK_1.
27740 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c: Do not include
27741 <bp-checks.h>.
27742 (__lxstat): Do not use CHECK_1.
27743 * sysdeps/unix/sysv/linux/wordsize-64/xstat.c: Do not include
27744 <bp-checks.h>.
27745 (__xstat): Do not use CHECK_1.
27746 * sysdeps/unix/sysv/linux/xstat.c: Do not include <bp-checks.h>.
27747 (__xstat): Do not use CHECK_1.
27748 * sysdeps/unix/sysv/linux/xstat64.c: Do not include <bp-checks.h>.
27749 (___xstat64): Do not use CHECK_1.
27750
b2c9eff4
JM
27751 [BZ #13550]
27752 * sysdeps/generic/bp-checks.h (CHECK_BOUNDS_LOW): Remove all
27753 definitions.
27754 (CHECK_BOUNDS_HIGH): Likewise.
27755 * string/strcpy.c: Do not include <bp-checks.h>.
27756 (strcpy): Do not use CHECK_BOUNDS_LOW and CHECK_BOUNDS_HIGH.
27757
f1d70dad
RM
277582013-02-07 Roland McGrath <roland@hack.frob.com>
27759
27760 * nscd/nscd-client.h (__nscd_drop_map_ref):
27761 Add __attribute__ ((unused)).
27762 * nis/nss-nisplus.h (niserr2nss): Likewise.
27763
27764 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Define it only
27765 under [!(USE_AS_STRCASESTR && STRCASESTR_NONASCII)].
27766
27767 * csu/libc-tls.c (init_static_tls, init_slotinfo):
27768 Remove inline keyword.
27769 * include/rounding-mode.h (round_away): Likewise.
27770 * libio/wfileops.c (adjust_wide_data): Likewise.
27771 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Likewise.
27772 (__m128i_strloadu_tolower): Likewise.
27773 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c
27774 (__m128i_strloadu_tolower): Likewise.
27775 * time/mktime.c (ydhms_diff): Likewise.
27776 * locale/elem-hash.h (elem_hash): Likewise.
27777 * locale/setlocale.c (setdata): Likewise.
27778 * posix/regex_internal.h (re_string_char_size_at): Likewise.
27779 (re_string_wchar_at): Likewise.
27780 (bitset_not, bitset_merge, bitset_mask): Likewise.
27781 [!(__GNUC__ > 3)] (inline): Remove macro.
27782 * nscd/nscd-client.h (__nscd_drop_map_ref): Remove inline keyword.
27783 * elf/dl-deps.c (_dl_map_object_deps: preload): Likewise.
27784 * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
27785 (_dl_tlsdesc_wake_up_held_fixups): Likewise.
27786 * string/memcmp.c (memcmp_bytes): Likewise.
27787 * locale/programs/locarchive.c (compute_hashval): Likewise.
27788 * sysdeps/ieee754/dbl-64/x2y2m1.c (mul_split): Likewise.
27789 * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
27790 * resolv/res_send.c (evNowTime, evCmpTime): Likewise.
27791 * nss/getent.c (print_rpc, print_protocols): Likewise.
27792 (print_passwd, print_group, print_aliases): Likewise.
27793 * nis/nss-nisplus.h (niserr2nss): Likewise.
27794 * nscd/connections.c (restart_p): Likewise.
27795 Change return type to bool.
27796
eab55bfb
RM
277972013-02-05 Roland McGrath <roland@hack.frob.com>
27798
7bd642f5
RM
27799 * Makeconfig (all-Depend-files): Add existing
27800 $(sorted-subdirs:=/Depend) files.
27801 (all-subdirs): Remove nss.
27802 * sysdeps/unix/inet/Subdirs: Add it here instead.
27803 * hesiod/Depend: New file.
27804
573c29b2
RM
27805 * elf/dl-hwcaps.c (_dl_important_hwcaps): Use a variable-length array
27806 instead of calling alloca.
27807
b2e25af0
RM
27808 * io/lseek.c (__lseek): Rename to __libc_lseek.
27809 Define __lseek as an alias.
27810
eab55bfb
RM
27811 * sysdeps/generic/malloc-sysdep.h: Include <stdbool.h> and <unistd.h>.
27812
9a0d1941
CD
278132013-02-04 Carlos O'Donell <carlos@redhat.com>
27814
27815 * stdlib/getenv.c (getenv): Assume __BIG_ENDIAN in the
27816 else clause and remove check for non-standard endianness.
27817
b83bbec4
DM
278182013-02-04 David S. Miller <davem@davemloft.net>
27819
27820 * sysdeps/sparc/fpu/libm-test-ulps: Update.
27821
6277fdab
JM
278222013-02-04 Joseph Myers <joseph@codesourcery.com>
27823
27824 [BZ #13550]
27825 * sysdeps/generic/bp-checks.h [__BOUNDED_POINTERS__]
27826 (__ubp_memchr): Remove prototype.
27827 [__BOUNDED_POINTERS__] (_CHECK_STRING): Remove macro.
27828 [__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
27829 [__BOUNDED_POINTERS__] (CHECK_STRING_NULL_OK): Likewise.
27830 [!__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
27831 * sysdeps/i386/memchr.S [!__BOUNDED_POINTERS__] (__ubp_memchr):
27832 Remove alias.
27833 * sysdeps/sparc/sparc32/memchr.S [!__BOUNDED_POINTERS__]
27834 (__ubp_memchr): Likewise.
27835 * sysdeps/sparc/sparc64/memchr.S [!__BOUNDED_POINTERS__]
27836 (__ubp_memchr): Likewise.
27837 * sysdeps/unix/sysv/linux/execve.c: Do not include <bp-checks.h>.
27838 (__execve) [__BOUNDED_POINTERS__]: Remove conditional code.
27839 (__execve) [!__BOUNDED_POINTERS__]: Make code unconditional.
27840 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Do not use
27841 CHECK_STRING.
27842 * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
27843 * sysdeps/unix/sysv/linux/getcwd.c: Do not include <bp-checks.h>.
27844 (__getcwd): Do not use CHECK_STRING.
27845 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
27846 <bp-checks.h>.
27847 (__real_chown): Do not use CHECK_STRING.
27848 * sysdeps/unix/sysv/linux/i386/fchownat.c: Do not include
27849 <bp-checks.h>.
27850 (fchownat): Do not use CHECK_STRING.
27851 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Do not use
27852 CHECK_STRING.
27853 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
27854 <bp-checks.h>.
27855 (__lchown): Do not use CHECK_STRING.
27856 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
27857 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
27858 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
27859 * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
27860 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
27861 include <bp-checks.h>.
27862 (truncate64): Do not use CHECK_STRING.
27863 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
27864 <bp-checks.h>.
27865 (__real_chown): Do not use CHECK_STRING.
27866 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
27867 <bp-checks.h>.
27868 (__lchown): Do not use CHECK_STRING.
27869 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
27870 <bp-checks.h>.
27871 (__chown): Do not use CHECK_STRING.
27872 * sysdeps/unix/sysv/linux/truncate64.c: Do not include
27873 <bp-checks.h>.
27874 (truncate64): Do not use CHECK_STRING.
27875 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c (__lxstat):
27876 Likewise.
27877 * sysdeps/unix/sysv/linux/xmknod.c: Do not include <bp-checks.h>.
27878 (__xmknod): Do not use CHECK_STRING.
27879 * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
27880 <bp-checks.h>.
27881 (__xmknodat): Do not use CHECK_STRING.
27882 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
27883 * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
27884
903ae060
AS
278852013-02-04 Andreas Schwab <schwab@suse.de>
27886
27887 [BZ #14142]
27888 * include/errno.h: Redefine errno only if !NOT_IN_libc || IN_LIB.
27889 * include/netdb.h: Likewise for h_errno.
27890 * elf/tst-stackguard1.c: Include <tls.h>.
27891
542f9466
JK
278922013-02-02 Jan Kratochvil <jan.kratochvil@redhat.com>
27893
27894 * elf/link.h (struct link_map): Extend the l_addr comment.
27895 * include/link.h (struct link_map): Likewise.
27896
e782a927
JM
278972013-02-01 Joseph Myers <joseph@codesourcery.com>
27898
27899 [BZ #13550]
27900 * sysdeps/generic/bp-checks.h (BOUNDED_N): Remove all definitions.
27901 (BOUNDED_1): Remove macro.
27902 * debug/backtrace.c: Don't include <bp-checks.h>.
27903 (ADVANCE_STACK_FRAME): Don't use BOUNDED_1.
27904 (__backtrace): Likewise.
27905 * sysdeps/powerpc/powerpc32/backtrace.c: Don't include
27906 <bp-checks.h>.
27907 (__backtrace): Don't use BOUNDED_1.
27908 * sysdeps/powerpc/powerpc64/backtrace.c: Don't include
27909 <bp-checks.h>.
27910 (__backtrace): Don't use BOUNDED_1.
27911 * sysdeps/sparc/backtrace.c: Don't include <bp-checks.h>.
27912 (__backtrace): Don't use BOUNDED_1.
27913 * sysdeps/unix/sysv/linux/shmat.c: Don't include <bp-checks.h>.
27914 (shmat): Don't use BOUNDED_N.
27915
8cf28c5e
JM
279162013-01-31 Joseph Myers <joseph@codesourcery.com>
27917
3a7ac8a0
JM
27918 [BZ #13550]
27919 * sysdeps/generic/bp-start.h: Remove file.
27920 * csu/libc-start.c: Don't include <bp-start.h>.
27921 (LIBC_START_MAIN): Set up __environ directly instead of using
27922 INIT_ARGV_and_ENVIRON.
27923 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Don't include
27924 <bp-start.h>.
27925
f3499f95
JM
27926 [BZ #13550]
27927 * sysdeps/generic/bp-checks.h (CHECK_IOCTL): Remove both
27928 definitions.
27929 (CHECK_FCNTL): Likewise.
27930 (CHECK_N_PAGES): Likewise.
27931
32a45bea
JM
27932 [BZ #13550]
27933 * sysdeps/generic/bp-checks.h (CHECK_SIGSET): Remove both
27934 definitions.
27935 (CHECK_SIGSET_NULL_OK): Likewise.
27936 * sysdeps/unix/sysv/linux/sigpending.c: Don't include
27937 <bp-checks.h>.
27938 (sigpending): Don't use CHECK_SIGSET.
27939 * sysdeps/unix/sysv/linux/sigprocmask.c: Don't include
27940 <bp-checks.h>.
27941 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
27942 * sysdeps/unix/sysv/linux/sigsuspend.c: Don't include
27943 <bp-checks.h>.
27944 (do_sigsuspend): Don't use CHECK_SIGSET.
27945 * sysdeps/unix/sysv/linux/sigtimedwait.c (do_sigtimedwait): Don't
27946 use CHECK_SIGSET.
27947 * sysdeps/unix/sysv/linux/sigwait.c: Don't include <bp-checks.h>.
27948 (do_sigwait): Don't use CHECK_SIGSET.
27949 * sysdeps/unix/sysv/linux/sigwaitinfo.c (do_sigwaitinfo): Don't
27950 use CHECK_SIGSET.
27951 * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Don't
27952 include <bp-checks.h>.
27953 (sigpending): Don't use CHECK_SIGSET.
27954 * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: Don't
27955 include <bp-checks.h>.
27956 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
27957 * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Don't include
27958 <bp-checks.h>.
27959 (sigpending): Don't use CHECK_SIGSET.
27960 * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c: Don't include
27961 <bp-checks.h>.
27962 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
27963
2e8a5c8c
JM
27964 [BZ #13550]
27965 * sysdeps/generic/bp-semctl.h: Remove file.
27966 * sysdeps/unix/sysv/linux/i386/semctl.c: Don't include
27967 <bp-checks.h> and <bp-semctl.h>.
27968 (__old_semctl): Don't use CHECK_SEMCTL.
27969 (__new_semctl): Likewise.
27970 * sysdeps/unix/sysv/linux/semctl.c: Don't include <bp-checks.h>
27971 and <bp-semctl.h>.
27972 (__old_semctl): Don't use CHECK_SEMCTL.
27973 (__new_semctl): Likewise.
27974 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Don't include
27975 <bp-checks.h> and <bp-semctl.h>.
27976 (__old_semctl): Don't use CHECK_SEMCTL.
27977 (__new_semctl): Likewise.
27978 * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Don't include
27979 <bp-checks.h> and <bp-semctl.h>.
27980 (semctl): Don't use CHECK_SEMCTL.
27981
c2d54929
JM
27982 [BZ #13550]
27983 * Makerules (elide-bp-thunks): Remove variable.
27984 (elide-routines.oS): Don't use $(elide-bp-thunks).
27985 (elide-routines.os): Likewise.
27986 (elide-routines.o): Likewise.
27987 (elide-routines.op): Likewise.
27988 (elide-routines.og): Likewise.
27989 (objects): Don't use $(bp-thunks).
27990 * sysdeps/unix/Makefile ($(common-objpfx)s-proto-bp.d): Do not
27991 include.
27992 (common-generated): Do not add s-proto-bp.d.
27993 * sysdeps/unix/make-syscalls.sh (ptr): Remove variable.
27994 (int): Likewise.
27995 (typ): Likewise.
27996 Do not generate makefile rules for bounded-pointer thunks.
27997 * sysdeps/generic/bp-thunks.h: Remove file.
27998 * sysdeps/unix/sysv/linux/i386/bp-thunks.h: Likewise.
27999 * sysdeps/unix/s-proto-bp.S: Likewise.
28000
8cf28c5e
JM
28001 [BZ #15062]
28002 * math/k_casinh.c (__kernel_casinh): Compute real and imaginary
28003 parts of result separately when argument is not close to line from
28004 -i to i and one part of argument is small.
28005 * math/k_casinhf.c (__kernel_casinhf): Likewise.
28006 * math/k_casinhl.c (__kernel_casinhl): Likewise.
28007 * math/libm-test.inc (cacos_test): Add more tests.
28008 (casin_test): Likewise.
28009 (casinh_test): Likewise.
28010 * sysdeps/i386/fpu/libm-test-ulps: Update.
28011 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28012
c4e33b8d
DM
280132013-01-31 David S. Miller <davem@davemloft.net>
28014
28015 * po/de.po: Update from translation team.
28016
3b60b421
MK
280172013-01-25 Maxim Kuvyrkov <maxim.kuvyrkov@gmail.com>
28018
28019 * time/tzfile.c: Include stdint.h for SIZE_MAX.
28020
bb931195
TS
280212013-01-25 Thomas Schwinge <thomas@codesourcery.com>
28022
b5a5da23
TS
28023 * configure.in (_AC_PROG_CC_C89): New definition.
28024 * configure: Regenerate.
28025
bb931195
TS
28026 * configure.in (AC_PROG_CPP): New definition.
28027 * configure: Regenerate.
28028
8c53a12c
JM
280292013-01-23 Joseph Myers <joseph@codesourcery.com>
28030
28031 * debug/tst-backtrace.h: New file.
28032 * debug/tst-backtrace2.c: Include tst-backtrace.h.
28033 (ret): Remove variable.
28034 (x): Likewise.
28035 (FAIL): Remove macro.
28036 (NO_INLINE): Likewise.
28037 (fn1): Use match function instead of strstr.
28038 * debug/tst-backtrace3.c: Include tst-backtrace.h.
28039 (ret): Remove variable.
28040 (x): Likewise.
28041 (FAIL): Remove macro.
28042 (NO_INLINE): Likewise.
28043 (fn): Use match function instead of strstr.
28044 * debug/tst-backtrace4.c: Include tst-backtrace.h.
28045 (ret): Remove variable.
28046 (x): Likewise.
28047 (FAIL): Remove macro.
28048 (NO_INLINE): Likewise.
28049 (handle_signal): Use match function instead of strstr.
28050 * debug/tst-backtrace5.c: Include tst-backtrace.h.
28051 (ret): Remove variable.
28052 (x): Likewise.
28053 (FAIL): Remove macro.
28054 (NO_INLINE): Likewise.
28055 (handle_signal): Use match function instead of strstr.
28056
4858fa2a
RM
280572013-01-23 Roland McGrath <roland@hack.frob.com>
28058
28059 * misc/sys/cdefs.h (__glibc_unlikely, __glibc_likely): Fix whitespace.
28060
bae8e7f5
DM
280612013-01-23 David S. Miller <davem@davemloft.net>
28062
28063 * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h
28064 (__arch_compare_and_exchange_val_32_acq): Use %g0 as second
28065 argument of CAS if possible.
28066 * sysdeps/sparc/sparc64/bits/atomic.h
28067 (__arch_compare_and_exchange_val_32_acq): Likewise.
28068 (__arch_compare_and_exchange_val_64_acq): Likewise.
28069
9cbbc4ae
PT
280702013-01-23 Pino Toscano <toscano.pino@tiscali.it>
28071
28072 * sysdeps/unix/sysv/linux/ulimit.c: Moved to ...
28073 * sysdeps/posix/ulimit.c: ... this.
92a601b8 28074 Include <limits.h>.
67b3f58c 28075 * sysdeps/unix/bsd/ulimit.c: Remove file.
9cbbc4ae 28076
5655a0b5
AC
280772013-01-23 Adam Conrad <adconrad@0c3.net>
28078
28079 * elf/Makefile (LDFLAGS-tst-array2): Add $(no-as-needed).
28080 (LDFLAGS-tst-array5): Likewise.
28081
052aff95
JM
280822013-01-23 Joseph Myers <joseph@codesourcery.com>
28083
28084 [BZ #15036]
28085 * bits/wchar.h (__WCHAR_MAX): Define based on __WCHAR_MAX__, or
28086 based on [L'\0' - 1 > 0] if [!__WCHAR_MAX__].
28087 (__WCHAR_MIN): Likewise, using __WCHAR_MIN__.
28088 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: Remove.
28089
7c1e01aa
DM
280902013-01-21 David S. Miller <davem@davemloft.net>
28091
28092 * sysdeps/sparc/backtrace.c: New file.
28093 * sysdeps/sparc/sparc32/backtrace.h: New file.
28094 * sysdeps/sparc/sparc32/sparcv9/backtrace.h: New file.
28095 * sysdeps/sparc/sparc64/backtrace.h: New file.
28096 * sysdeps/sparc/sparc64/backtrace.c: Delete.
28097 * sysdeps/sparc/Makefile (CFLAGS-backtrace.c): Add
28098 -funwind-tables.
28099
ab087e0a
AS
281002013-01-21 Andreas Schwab <schwab@suse.de>
28101
28102 [BZ #15020]
28103 * posix/wordexp.c (exec_comm): Avoid busy loop when command has
28104 closed its stdout.
28105
ed689c2f
AS
281062013-01-20 Andreas Schwab <schwab@linux-m68k.org>
28107
28108 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Don't include
28109 "mpa2.h".
28110 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
28111
31d470ac
JM
281122013-01-18 Joseph Myers <joseph@codesourcery.com>
28113 Mark Mitchell <mark@codesourcery.com>
28114 Tom de Vries <tom@codesourcery.com>
28115 Paul Pluzhnikov <ppluzhnikov@google.com>
28116
28117 * debug/tst-backtrace2.c: New file.
28118 * debug/tst-backtrace3.c: Likewise.
28119 * debug/tst-backtrace4.c: Likewise.
28120 * debug/tst-backtrace5.c: Likewise.
28121 * debug/Makefile (CFLAGS-tst-backtrace2.c): New variable.
28122 (CFLAGS-tst-backtrace3.c): Likewise.
28123 (CFLAGS-tst-backtrace4.c): Likewise.
28124 (CFLAGS-tst-backtrace5.c): Likewise.
28125 (LDFLAGS-tst-backtrace2): Likewise.
28126 (LDFLAGS-tst-backtrace3): Likewise.
28127 (LDFLAGS-tst-backtrace4): Likewise.
28128 (LDFLAGS-tst-backtrace5): Likewise.
28129 (tests): Add new tests tst-backtrace2, tst-backtrace3,
28130 tst-backtrace4 and tst-backtrace5.
28131
90567f30 281322013-01-18 Anton Blanchard <anton@samba.org>
471a1672
AB
28133 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
28134
28135 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Rename
28136 __kernel_vdso_get_tbfreq to __kernel_get_tbfreq.
28137 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Add parameter to
28138 INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK to specify return type.
28139 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
28140 (INTERNAL_VSYSCALL_NCS): Change "=&r" in inline asm output regs list to
28141 "+r" and remove output regs list as redundant. Add explicit inline
28142 asm to specify register of return val to work around compiler codegen
28143 bug. Remove (int) cast on return value. Add return type parameter to
28144 use in macro so that this macro does not truncate return value for
28145 64-bit values.
28146 (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Add return type parameter and
28147 pass to INTERNAL_VSYSCALL_NCS.
28148 (INLINE_VSYSCALL): Add 'long int' as return type to
28149 INTERNAL_VSYSCALL_NCS macro invocation.
28150 (INTERNAL_VSYSCALL): Add 'long int' as return type to
28151 INTERNAL_VSYSCALL_NCS macro invocation.
28152 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
28153
d3b9ea61
SP
281542013-01-18 Siddhesh Poyarekar <siddhesh@redhat.com>
28155
0b57daeb
SP
28156 [BZ #14496]
28157 * sysdeps/i386/fpu/fenv_private.h (libc_feupdateenv_test_sse):
28158 Fix application of SIMD FP exception mask.
28159
caa99d06
SP
28160 * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): New function to get an
28161 mp_no from a power of two.
28162 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove
28163 __mpexp_twomm1. Use __pow_mp.
28164
d3b9ea61
SP
28165 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove unnecessary
28166 multiplication.
28167
1dbaee3c
DM
281682013-01-17 David S. Miller <davem@davemloft.net>
28169
28170 * sysdeps/sparc/fpu/libm-test-ulps: Update.
28171
728d7b43
JM
281722013-01-17 Joseph Myers <joseph@codesourcery.com>
28173
28174 [BZ #15023]
28175 * include/complex.h: Condition contents on [!_COMPLEX_H].
28176 (__kernel_casinhf): New prototype.
28177 (__kernel_casinh): Likewise.
28178 (__kernel_casinhl): Likewise.
28179 * math/Makefile (libm_calls): Add k_casinh.
28180 * math/k_casinh.c: New file.
28181 * math/k_casinhf.c: Likewise.
28182 * math/k_casinhl.c: Likewise.
28183 * math/s_cacos.c (__cacos): Implement using __kernel_casinh for
28184 finite nonzero arguments.
28185 * math/s_cacosf.c (__cacosf): Implement using __kernel_casinhf for
28186 finite nonzero arguments.
28187 * math/s_cacosl.c (__cacosl): Implement using __kernel_casinhl for
28188 finite nonzero arguments.
28189 * math/s_casinh.c: Do not include <float.h>.
28190 (__casinh): Move code for finite nonzero arguments to k_casinh.c.
28191 * math/s_casinhf.c: Do not include <float.h>.
28192 (__casinhf): Move code for finite nonzero arguments to
28193 k_casinhf.c.
28194 * math/s_casinhl.c: Do not include <float.h>.
28195 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Do not undefine and
28196 redefine.
28197 (__casinhl): Move code for finite nonzero arguments to
28198 k_casinhl.c.
28199 * math/libm-test.inc (cacos_test): Add more tests.
28200 * sysdeps/i386/fpu/libm-test-ulps: Update.
28201 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28202
2a26ef3a
PT
282032013-01-17 Pino Toscano <toscano.pino@tiscali.it>
28204
28205 * sysdeps/unix/sysv/linux/malloc-sysdep.h (HAVE_MREMAP): New define.
28206 * malloc/malloc.c: Include <unistd.h> and <malloc-sysdep.h>.
28207 [!HAVE_MREMAP]: Remove [defined linux] case.
28208 * malloc/arena.c: Do not include <malloc-sysdep.h>.
28209
a897655d
SP
282102013-01-17 Siddhesh Poyarekar <siddhesh@redhat.com>
28211
28212 * sysdeps/ieee754/dbl-64/mpa.c: Fix header comment.
28213
881ebe89 282142013-01-17 H.J. Lu <hongjiu.lu@intel.com>
22676eaf
L
28215
28216 * elf/elf.h (R_386_SIZE32): New relocation.
28217 * sysdeps/i386/dl-machine.h (elf_machine_rel): Handle
28218 R_386_SIZE32.
28219 (elf_machine_rela): Likewise.
28220 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
28221 R_X86_64_SIZE64 and R_X86_64_SIZE32.
28222
59981e9b
JM
282232013-01-17 Joseph Myers <joseph@codesourcery.com>
28224
28225 * sysdeps/powerpc/bits/mathdef.h [_SOFT_FLOAT || __NO_FPRS__]
28226 (FP_FAST_FMA): Do not define.
28227 [_SOFT_FLOAT || __NO_FPRS__] (FP_FAST_FMAF): Likewise.
28228 * sysdeps/powerpc/fpu/bits/fenvinline.h [__GNUC__ && !_SOFT_FLOAT
28229 && !__NO_MATH_INLINES]: Add [!__NO_FPRS__] condition.
28230 * sysdeps/powerpc/fpu/bits/mathinline.h [__GNUC__ &&
28231 !_SOFT_FLOAT]: Likewise.
28232 * sysdeps/powerpc/fpu/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]
28233 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_RESERVED): Define with generic
28234 value.
28235 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_DEFAULT): Likewise.
28236 [_SOFT_FLOAT || __NO_FPRS__] (fpu_control_t): Likewise.
28237 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_GETCW): Likewise.
28238 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_SETCW): Likewise.
28239 [_SOFT_FLOAT || __NO_FPRS__] (__fpu_control): Likewise.
28240 [!_SOFT_FLOAT && !__NO_FPRS__]: Condition previous contents of
28241 file.
28242
cfa8054f
AS
282432013-01-16 Andreas Schwab <schwab@suse.de>
28244
28245 [BZ #14327]
28246 * include/stdlib.h (__mktemp): Add declaration.
28247 * misc/mktemp.c (__mktemp): Renamed from mktemp, add weak alias.
28248 * misc/Versions (GLIBC_PRIVATE): Add __mktemp.
28249
dd930cc5
SP
282502013-01-16 Siddhesh Poyarekar <siddhesh@redhat.com>
28251
881ebe89
SP
28252 * sysdeps/ieee754/dbl-64/atnat.h: Remove constant value
28253 definitions.
28254 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
28255 * sysdeps/ieee754/dbl-64/mpa.c: Do not include mpa2.h.
28256 * sysdeps/ieee754/dbl-64/mpa.h: Move all constant value
28257 definitions here.
28258 * sysdeps/ieee754/dbl-64/mpa2.h: Remove.
28259 * sysdeps/ieee754/dbl-64/mpatan.h: Remove constant value
28260 definitions.
28261 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Remove ZERO
28262 and ONE.
28263 * sysdeps/ieee754/dbl-64/mpexp.c: Do not include mpexp.h.
28264 * sysdeps/ieee754/dbl-64/mpexp.h: Remove.
28265 * sysdeps/ieee754/dbl-64/mpsqrt.h: Remove constant value
28266 definitions.
28267 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Remove MONE.
28268 * sysdeps/ieee754/dbl-64/ulog.h: Remove constant value
28269 definitions.
28270 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
f93a8d15 28271
dd930cc5
SP
28272 * sysdeps/ieee754/dbl-64/mpa2.h: Fix the value of TWO.
28273
c19a9f89
DM
282742013-01-15 David S. Miller <davem@davemloft.net>
28275
1aa61767
DM
28276 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
28277 trunc{,f} to libm-sysdep_routes.
28278 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
28279 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: New
28280 file.
28281 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: New file.
28282 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: New
28283 file.
28284 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: New
28285 file.
28286 * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: New file.
28287 * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: New file.
28288 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: New file.
28289 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: New file.
28290 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: New file.
28291 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: New file.
28292 * sysdeps/sparc/sparc64/fpu/s_trunc.S: New file.
28293 * sysdeps/sparc/sparc64/fpu/s_truncf.S: New file.
28294
c42d5e98
DM
28295 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
28296 nearbyint{,f} to libm-sysdep_routes.
28297 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
28298 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S:
28299 New file.
28300 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: New
28301 file.
28302 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S:
28303 New file.
28304 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S: New
28305 file.
28306 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: New file.
28307 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: New file.
28308 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S: New
28309 file.
28310 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: New file.
28311 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S: New
28312 file.
28313 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: New file.
28314 * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: New file.
28315 * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: New file.
28316
c19a9f89
DM
28317 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
28318 libc_feholdexcept and libc_fesetenv.
28319
357679d2
MF
283202013-01-15 Mike Frysinger <vapier@gentoo.org>
28321
28322 * sysdeps/unix/sysv/linux/scsi/sg.h: Include stddef.h.
28323
65a82e3d
DM
283242013-01-14 David S. Miller <davem@davemloft.net>
28325
8b954ab9
DM
28326 * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC2): New macro.
28327 (SPARC_ASM_VIS2_IFUNC): Likewise.
28328 (SPARC_ASM_VIS3_VIS2_IFUNC): Likewise.
28329 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Make
28330 use of 'siam' instruction.
28331 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S:
28332 Likewise.
28333 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S:
28334 Likewise.
28335 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S:
28336 Likewise.
28337 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
28338 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
28339 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
28340 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
28341 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: New
28342 file.
28343 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: New
28344 file.
28345 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: New
28346 file.
28347 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: New
28348 file.
28349 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: New file.
28350 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: New file.
28351 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: New file.
28352 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: New file.
28353 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Hook in
28354 new VIS2 routines.
28355 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
28356 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
28357 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
28358 Likewise.
28359 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
28360 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
28361 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
28362 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
28363 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new VIS2
28364 routines to libm-sysdep_routines.
28365 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
28366
65a82e3d
DM
28367 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
28368 fdim/fdimf to libm-sysdep_routines.
28369 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: New
28370 file.
28371 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: New file.
28372 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: New
28373 file.
28374 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: New file.
28375 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: New file.
28376 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: New file.
28377 * sysdeps/sparc/sparc32/fpu/s_fdim.S: New file.
28378 * sysdeps/sparc/sparc32/fpu/s_fdimf.S: New file.
28379 * sysdeps/sparc/sparc64/fpu/s_fdim.S: New file.
28380 * sysdeps/sparc/sparc64/fpu/s_fdimf.S: New file.
28381
e34ab705
SP
283822013-01-14 Siddhesh Poyarekar <siddhesh@redhat.com>
28383
2a91b573
SP
28384 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Add a local variable
28385 to optimize copies.
28386
1066a534
SP
28387 * sysdeps/ieee754/dbl-64/mpa.c: Fix formatting.
28388 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
28389 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
28390
e34ab705
SP
28391 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Remove
28392 local variable MPTWO.
28393 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
28394 Likewise.
28395
aba5e596
MF
283962013-01-13 Mike Frysinger <vapier@gentoo.org>
28397
28398 * manual/pattern.texi (Flags for Globbing): Move GLOB_NOSORT after
28399 GLOB_NOESCAPE.
28400
e557e9e5
MF
284012013-01-13 Mike Frysinger <vapier@gentoo.org>
28402
28403 * manual/pattern.texi (Flags for Globbing): Highlight GNU extensions.
28404
0428cec9
MF
284052013-01-13 Mike Frysinger <vapier@gentoo.org>
28406
28407 * manual/pattern.texi (glob_t): Document gl_flags.
28408 (glob64_t): Likewise.
28409
8794a964
DM
284102013-01-11 David S. Miller <davem@davemloft.net>
28411
66438c3f
RM
28412 * math/Makefile (gmp-objs): Use $(gmp-sysdep_routines).
28413 * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = math]
28414 (gmp-sysdep_routines): New variable. Add VIS3 optimized GMP routines.
32fcb36d
DM
28415 * sysdeps/sparc/sparc64/multiarch/add_n-vis3.S: New file.
28416 * sysdeps/sparc/sparc64/multiarch/add_n.S: New file.
28417 * sysdeps/sparc/sparc64/multiarch/addmul_1-vis3.S: New file.
28418 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: New file.
28419 * sysdeps/sparc/sparc64/multiarch/mul_1-vis3.S: New file.
28420 * sysdeps/sparc/sparc64/multiarch/mul_1.S: New file.
28421 * sysdeps/sparc/sparc64/multiarch/sub_n-vis3.S: New file.
28422 * sysdeps/sparc/sparc64/multiarch/sub_n.S: New file.
28423 * sysdeps/sparc/sparc64/multiarch/submul_1-vis3.S: New file.
28424 * sysdeps/sparc/sparc64/multiarch/submul_1.S: New file.
28425
4ae4244d
DM
28426 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
28427 sparc V9 rather than using V8 code.
28428 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
28429 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
28430
8794a964
DM
28431 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
28432 Move to...
28433 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/multiarch/Implies:
28434 Here.
28435
6270516e
RM
284362013-01-11 Roland McGrath <roland@hack.frob.com>
28437
28438 * configure.in (sysnames): Use $multi_arch_d in setting up $mach list,
28439 not in the main loop.
28440 * configure: Regenerated.
28441
6a57d931
JM
284422013-01-11 Joseph Myers <joseph@codesourcery.com>
28443
28444 * include/features.h (__GLIBC_HAVE_LONG_LONG): Remove.
28445 * bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change #elif condition
28446 to just #else.
28447 * bits/types.h [__GLIBC_HAVE_LONG_LONG]: Likewise. Remove
28448 [!__GLIBC_HAVE_LONG_LONG] case.
28449 * posix/sys/types.h [__GLIBC_HAVE_LONG_LONG]: Change #elif
28450 condition to just #else.
28451 * stdlib/stdlib.h [__USE_ISOC99 || (__GLIBC_HAVE_LONG_LONG &&
28452 __USE_MISC)]: Change all uses to [__USE_ISOC99 || __USE_MISC].
28453 [__GLIBC_HAVE_LONG_LONG && __USE_BSD]: Change to [__USE_BSD].
28454 * string/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Make code
28455 unconditional.
28456 * string/endian.h [__GLIBC_HAVE_LONG_LONG]: Likewise.
28457 * sysdeps/s390/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
28458 #elif condition to just #else.
28459 * sysdeps/unix/sysv/linux/sys/sysmacros.h
28460 [__GLIBC_HAVE_LONG_LONG]: Make code unconditional.
28461 * sysdeps/x86/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
28462 #elif condition to just #else.
28463
0e8529e9
SE
284642013-01-11 Steve Ellcey <sellcey@mips.com>
28465
28466 * elf/elf.h (EF_MIPS_ARCH_32): Fix value.
28467 (EF_MIPS_ARCH_64): Fix value.
28468 (EF_MIPS_ARCH_32R2): New.
28469 (EF_MIPS_ARCH_64R2): New.
28470
740b3dbe
L
284712013-01-11 H.J. Lu <hongjiu.lu@intel.com>
28472
28473 * Makeconfig (+link-pie-before-libc): New.
28474 (+link-pie-after-libc): Likewise.
28475 (+link-pie-tests): Likewise.
28476 (+link-pie): Rewritten.
28477 (link-before-libc): Remove $(config-LDFLAGS).
28478 (+link): Add $(rtld-LDFLAGS) after $(+link-before-libc).
28479 (+link-tests): Add $(rtld-tests-LDFLAGS) after $(+link-before-libc).
28480 (config-LDFLAGS): Renamed to ...
28481 (rtld-LDFLAGS): This.
28482 (rtld-tests-LDFLAGS): New macro.
28483 (link-libc-rpath-link): Likewise.
28484 (link-libc-tests-rpath-link): Likewise.
28485 (link-libc-before-gnulib): Remove -Wl,-rpath-link=$(rpath-link).
28486 (link-libc): Prepand $(link-libc-rpath-link).
28487 (link-libc-tests): Prepand $(link-libc-tests-rpath-link).
28488 (test-program-prefix): New macro.
28489 (test-via-rtld-prefix): Likewise.
28490 (test-program-cmd): Likewise.
28491 (host-test-program-cmd): Likewise.
28492 * Makefile ($(common-objpfx)testrun.sh): Replace
28493 $(run-program-prefix) with $(test-program-prefix).
28494 * Makerules ($(LINK.o)): Replace $(config-LDFLAGS) with
28495 $(rtld-LDFLAGS).
28496 ($(common-objpfx)shlib.lds): Likewise.
28497 (build-module-helper): Likewise.
28498 ($(common-objpfx)format.lds): Likewise.
28499 * Rules (binaries-pie-tests): New.
28500 (binaries-pie-notests): Likewise.
28501 (binaries-pie): Rewritten.
28502 ($(addprefix $(objpfx),$(binaries-pie))): Renamed to ...
28503 ($(addprefix $(objpfx),$(binaries-pie-notests))): This.
28504 ($(addprefix $(objpfx),$(binaries-pie-tests))): New.
28505 (make-test-out): Replace $(host-built-program-cmd) with
28506 $(host-test-program-cmd).
28507 * config.make.in (build-hardcoded-path-in-tests): New variable.
28508 * configure.in (--enable-hardcoded-path-in-tests): New configure
28509 option.
28510 (hardcoded_path_in_tests): New AC_SUBST.
28511 * configure: Regenerated.
28512 * catgets/Makefile ($(objpfx)test-gencat.out): Replace
28513 $(built-program-cmd) with $(test-program-cmd).
28514 * catgets/test-gencat.sh (run_program_cmd): Renamed to ...
28515 (test_program_cmd): This.
28516 * elf/Makefile ($(objpfx)order.out): Run test with
28517 $(test-program-prefix).
28518 ($(objpfx)order2.out): Likewise.
28519 ($(objpfx)tst-initorder.out): Likewise.
28520 ($(objpfx)tst-initorder2.out): Likewise.
28521 ($(objpfx)tst-array1.out): Replace $(built-program-cmd) with
28522 $(test-program-cmd).
28523 ($(objpfx)tst-array1-static.out): Likewise.
28524 ($(objpfx)tst-array2.out): Likewise.
28525 ($(objpfx)tst-array3.out): Likewise.
28526 ($(objpfx)tst-array4.out): Likewise.
28527 ($(objpfx)tst-array5.out): Likewise.
28528 ($(objpfx)tst-array5-static.out): Likewise.
28529 (tst-stackguard1-ARGS): Replace $(built-program-cmd) with
28530 $(test-program-cmd).
28531 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Replace
28532 $(run-program-prefix) with $(test-program-prefix).
28533 * grp/tst_fgetgrent.sh (run_program_prefix): Renamed to ...
28534 (test_program_prefix): This.
28535 * iconvdata/Makefile ($(objpfx)tst-tables.out): Replace
28536 $(run-program-prefix) with $(test-program-prefix).
28537 * iconvdata/tst-table.sh (run_program_prefix): Renamed to ...
28538 (test_program_prefix): This.
28539 * iconvdata/tst-tables.sh: Likewise.
28540 * intl/Makefile ($(objpfx)tst-gettext.out): Replace
28541 $(run-program-prefix) with $(test-program-prefix).
28542 ($(objpfx)tst-translit.out): Likewise.
28543 ($(objpfx)tst-gettext2.out): Likewise.
28544 ($(objpfx)tst-gettext4.out): Likewise.
28545 ($(objpfx)tst-gettext6.out): Likewise.
28546 * intl/tst-gettext.sh (run_program_prefix): Renamed to ...
28547 (test_program_prefix): This.
28548 * intl/tst-gettext2.sh: Likewise.
28549 * intl/tst-gettext4.sh Likewise.
28550 * intl/tst-gettext6.sh: Likewise.
28551 * intl/tst-translit.sh: Likewise.
28552 * io/Makefile ($(objpfx)ftwtest.out): Replace $(run-program-cmd)
28553 with $(test-program-cmd).
28554 * libio/Makefile ($(objpfx)test-freopen.out): Replace
28555 $(run-program-prefix) with $(test-program-prefix).
28556 * libio/test-freopen.sh (run_program_prefix): Renamed to ...
28557 (test_program_prefix): This.
28558 * malloc/Makefile ($(objpfx)tst-mtrace.out): Replace
28559 $(run-program-prefix) with $(test-program-prefix).
28560 * malloc/tst-mtrace.sh (run_program_prefix): Renamed to ...
28561 (test_program_prefix): This.
28562 * manual/install.texi: Document --enable-hardcoded-path-in-tests.
28563 * posix/Makefile ($(objpfx)globtest.out): Replace
28564 $(run-via-rtld-prefix) and $(test-wrapper) with
28565 $(test-program-prefix) and $(test-via-rtld-prefix).
28566 ($(objpfx)wordexp-tst.out): Replace $(run-program-prefix) with
28567 $(test-program-prefix).
28568 (tst-exec-ARGS): Replace $(host-built-program-cmd) with
28569 $(host-test-program-cmd).
28570 (tst-spawn-ARGS): Likewise.
28571 ($(objpfx)tst-rxspencer-mem): Replace $(run-program-prefix) with
28572 $(test-program-prefix).
28573 * posix/globtest.sh (un_via_rtld_prefix): Renamed to ...
28574 (test_via_rtld_prefix): This.
28575 (test_wrapper): Renamed to ...
28576 (test_program_prefix): This.
28577 (run_program_prefix): Replaced by test_program_prefix.
28578 * posix/wordexp-tst.sh (run_program_prefix): Renamed to ...
28579 (test_program_prefix): This.
28580 * rt/Makefile (tst-mqueue7-ARGS): Replace $(host-built-program-cmd)
28581 with $(host-test-program-cmd).
28582 * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Replace
28583 $(run-program-prefix) with $(test-program-prefix).
28584 ($(objpfx)tst-printf.out): Likewise.
28585 ($(objpfx)tst-setvbuf1.out): Replace $(built-program-cmd) with
28586 $(test-program-cmd).
28587 * stdio-common/tst-printf.sh (run_program_prefix): Renamed to ...
28588 (test_program_prefix): This.
28589 * stdio-common/tst-unbputc.sh: Likewise.
28590 * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Replace
28591 $(run-program-prefix) with $(test-program-prefix).
28592 * stdlib/tst-fmtmsg.sh (run_program_prefix): Renamed to ...
28593 (test_program_prefix): This.
28594 * string/Makefile ($(objpfx)tst-svc.out): Replace
28595 $(built-program-cmd) with $(test-program-cmd).
28596
c6fe55cf
AJ
285972013-01-11 Andreas Jaeger <aj@suse.de>
28598
28599 [BZ #15003]
28600 * sysdeps/unix/sysv/linux/bits/socket.h (MSG_FASTOPEN): New
28601 value. Sync with Linux 3.7.
28602
9e6919c8
DM
286032013-01-10 David S. Miller <davem@davemloft.net>
28604
28605 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Revert previous changes.
28606 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
28607 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
28608
1c9f1a02
RM
286092013-01-10 Roland McGrath <roland@hack.frob.com>
28610
28611 * configure.in (sysnames): Drop use of $m0sub and $msub, which are
28612 never set.
28613 * configure: Regenerated.
28614
b9de2dde
DM
286152013-01-10 David S. Miller <davem@davemloft.net>
28616
28617 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
28618 sparc V9 rather than using V8 code.
28619 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
28620 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
28621
e7f68ef4
RM
286222013-01-10 Roland McGrath <roland@hack.frob.com>
28623
28624 * elf/elf.h (DT_SPARC_REGISTER, DT_SPARC_NUM): Fix whitespace.
28625 (EF_MIPS_NOREORDER, EF_MIPS_PIC, EF_MIPS_CPIC, EF_MIPS_XGOT): Likewise.
28626 (EF_MIPS_64BIT_WHIRL, EF_MIPS_ABI2, EF_MIPS_ABI_ON32): Likewise.
28627 (EF_MIPS_ARCH, EF_MIPS_ARCH_1, EF_MIPS_ARCH_2): Likewise.
28628 (EF_MIPS_ARCH_3, EF_MIPS_ARCH_4, EF_MIPS_ARCH_5): Likewise.
28629 (EF_MIPS_ARCH_32, EF_MIPS_ARCH_64): Likewise.
28630 (E_MIPS_ARCH_1): Define in terms of EF_MIPS_ARCH_* counterpart.
28631 (E_MIPS_ARCH_2, E_MIPS_ARCH_3, E_MIPS_ARCH_4, E_MIPS_ARCH_5): Likewise.
28632 (E_MIPS_ARCH_32, E_MIPS_ARCH_64): Likewise.
28633 (SHN_MIPS_ACOMMON, SHN_MIPS_TEXT, SHN_MIPS_DATA): Fix whitespace.
28634 (SHN_MIPS_SCOMMON, SHN_MIPS_SUNDEFINED): Likewise.
28635 (SHT_MIPS_LIBLIST, SHT_MIPS_MSYM, SHT_MIPS_CONFLICT): Likewise.
28636 (SHT_MIPS_GPTAB, SHT_MIPS_UCODE, SHT_MIPS_DEBUG): Likewise.
28637 (SHT_MIPS_REGINFO, SHT_MIPS_PACKAGE, SHT_MIPS_PACKSYM): Likewise.
28638 (SHT_MIPS_RELD, SHT_MIPS_IFACE, SHT_MIPS_CONTENT): Likewise.
28639 (SHT_MIPS_OPTIONS, SHT_MIPS_SHDR, SHT_MIPS_FDESC): Likewise.
28640 (SHT_MIPS_EXTSYM, SHT_MIPS_DENSE, SHT_MIPS_PDESC): Likewise.
28641 (SHT_MIPS_LOCSYM, SHT_MIPS_AUXSYM, SHT_MIPS_OPTSYM): Likewise.
28642 (SHT_MIPS_LOCSTR, SHT_MIPS_LINE, SHT_MIPS_RFDESC): Likewise.
28643 (SHT_MIPS_DELTASYM, SHT_MIPS_DELTAINST, SHT_MIPS_DELTACLASS): Likewise.
28644 (SHT_MIPS_DELTADECL, SHT_MIPS_SYMBOL_LIB, SHT_MIPS_EVENTS): Likewise.
28645 (SHT_MIPS_TRANSLATE, SHT_MIPS_PIXIE, SHT_MIPS_XLATE): Likewise.
28646 (SHT_MIPS_XLATE_DEBUG, SHT_MIPS_WHIRL, SHT_MIPS_EH_REGION): Likewise.
28647 (SHT_MIPS_XLATE_OLD, SHT_MIPS_PDR_EXCEPTION): Likewise.
28648 (SHF_MIPS_GPREL, SHF_MIPS_MERGE, SHF_MIPS_ADDR): Likewise.
28649 (SHF_MIPS_STRINGS, SHF_MIPS_NOSTRIP, SHF_MIPS_LOCAL): Likewise.
28650 (SHF_MIPS_NAMES, SHF_MIPS_NODUPE): Likewise.
28651
5a47cc9c
DM
286522013-01-10 David S. Miller <davem@davemloft.net>
28653
28654 * sysdeps/sparc/fpu/libm-test-ulps: Update.
28655
4cf8f209
L
286562013-01-10 H.J. Lu <hongjiu.lu@intel.com>
28657
28658 * posix/Makefile (tests-static): New variable.
28659 (tests): Add $(tests-static).
28660 (tst-exec-static-ARGS): New variable.
28661 (tst-spawn-static-ARGS): Likewise.
28662 * posix/tst-exec-static.c: New file.
28663 * posix/tst-spawn-static.c: Likewise.
28664 * posix/tst-exec.c: Support run directly.
28665 * posix/tst-spawn.c: Likewise.
28666
fed0faa1
JM
286672013-01-10 Joseph Myers <joseph@codesourcery.com>
28668
828beb13
JM
28669 * elf/link.h (struct dl_phdr_info): Use __extension__ with long
28670 long.
28671 * math/bits/mathcalls.h (llrint): Likewise.
28672 (llround): Likewise.
28673 * stdlib/stdlib.h (struct drand48_data): Likewise.
28674 * sysdeps/generic/inttypes.h (imaxdiv_t): Likewise.
28675 * sysdeps/s390/bits/byteswap.h (__bswap_64): Likewise.
28676 * sysdeps/unix/sysv/linux/sparc/bits/ipc.h (struct ipc_perm):
28677 Likewise.
28678 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu):
28679 Likewise.
28680 * sysdeps/unix/sysv/linux/x86/sys/procfs.h [__x86_64__]
28681 (elf_greg_t): Likewise.
28682 * sysdeps/x86/bits/setjmp.h [__x86_64__ && __WORDSIZE != 64]
28683 (__jmp_buf): Likewise.
28684 * sysdeps/x86/fpu/bits/mathinline.h (llrintf): Likewise, for all
28685 definitions.
28686 (llrint): Likewise, for all definitions.
28687 (llrintl): Likewise.
28688
fed0faa1
JM
28689 * string/string.h [__USE_BSD && __USE_GNU && __GNUC__] (ffsll):
28690 Remove [__GNUC__] condition.
28691 * wcsmbs/wchar.h [__USE_ISOC99 || (__GNUC__ && __USE_GNU)]: Change
28692 condition to just [__USE_ISOC99].
28693 [__GNUC__ && __USE_GNU]: Change condition to just [__USE_GNU].
28694
1a20cb20
L
286952013-01-10 H.J. Lu <hongjiu.lu@intel.com>
28696
28697 [BZ #14200]
28698 * sysdeps/unix/sysv/linux/x86/bits/environments.h
28699 (_POSIX_V7_ILP32_OFF32): Defined as 1 only if __x86_64__ isn't
28700 defined.
28701 (_POSIX_V6_ILP32_OFF32): Likewise.
28702 (_XBS5_ILP32_OFF32): Likewise.
28703 (__ILP32_OFFBIG_CFLAGS): Defined as "-mx32" for x32.
28704 (__ILP32_OFFBIG_LDFLAGS): Likewise.
28705
751b85f7
SP
287062013-01-10 Siddhesh Poyarekar <siddhesh@redhat.com>
28707
7490eb81
SP
28708 * sysdeps/ieee754/dbl-64/mpexp.c: Fix formatting.
28709
751b85f7
SP
28710 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): New array of
28711 doubles __mpexp_twomm1. Adjust usage.
28712 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1):
28713 Remove.
28714
988197f0
AS
287152013-01-10 Andreas Schwab <schwab@suse.de>
28716
28717 [BZ #14964]
28718 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (FALLOC_FL_KEEP_SIZE)
28719 (FALLOC_FL_PUNCH_HOLE) [__USE_GNU]: New macros.
28720
e83d7298
DM
287212013-01-09 David S. Miller <davem@davemloft.net>
28722
034ed64b 28723 [BZ #15003]
57f41c40
AS
28724 * sysdeps/gnu/netinet/tcp.h (TCP_COOKIE_TRANSACTIONS)
28725 (TCP_THIN_LINEAR_TIMEOUTS, TCP_THIN_DUPACK, TCP_USER_TIMEOUT)
28726 (TCP_REPAIR, TCP_REPAIR_QUEUE, TCP_QUEUE_SEQ, TCP_REPAIR_OPTIONS)
28727 (TCP_FASTOPEN): Define.
e83d7298
DM
28728 (tcp_repair_opt): New structure.
28729 (TCP_NO_QUEUE, TCP_RECV_QUEUE, TCP_SEND_QUEUE, TCP_QUEUES_NR): New
28730 enum values.
57f41c40
AS
28731 (TCP_COOKIE_MIN, TCP_COOKIE_MAX, TCP_COOKIE_PAIR_SIZE)
28732 (TCP_COOKIE_IN_ALWAYS, TCP_COOKIE_OUT_NEVER, TCP_S_DATA_IN)
28733 (TCP_S_DATA_OUT, TCP_MSS_DEFAULT, TCP_MSS_DESIRED): Define.
e83d7298
DM
28734 (tcp_cookie_transactions): New structure.
28735
d5e0b9bd
AB
287362013-01-09 Anton Blanchard <anton@samba.org>
28737
28738 * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: New file.
28739 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_getcpu.
28740 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Likewise.
28741 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
28742
0c07e3ea
JM
287432013-01-09 Joseph Myers <joseph@codesourcery.com>
28744
28745 * include/features.h (__USE_ANSI): Remove.
28746
232f7002
RM
287472013-01-09 Roland McGrath <roland@hack.frob.com>
28748
ad98e30c
RM
28749 * posix/Makefile (others): Depend on $(objpfx)getconf.speclist.
28750
232f7002
RM
28751 * misc/error.c (error_tail: ALLOCA_LIMIT): Remove unused macro.
28752
950c99ca
SP
287532013-01-09 Siddhesh Poyarekar <siddhesh@redhat.com>
28754
b5792741
SP
28755 * sysdeps/s390/fpu/libm-test-ulps: Update.
28756
47cf2278
SP
28757 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
28758
950c99ca
SP
28759 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Reword comment.
28760 (__acr): Likewise.
28761 (__cpy): Likewise.
28762 (norm): Likewise.
28763 (denorm): Likewise.
28764 (__mp_dbl): Likewise.
28765 (__dbl_mp): Likewise.
28766 (add_magnitudes): Likewise.
28767 (sub_magnitudes): Likewise.
28768 (__add): Likewise.
28769 (__sub): Likewise.
28770 (__mul): Likewise.
28771 (__inv): Likewise.
28772 (__dvd): Likewise.
28773 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mcr): Likewise.
28774 (__acr): Likewise.
28775 (__cpy): Likewise.
28776 (norm): Likewise.
28777 (denorm): Likewise.
28778 (__mp_dbl): Likewise.
28779 (__dbl_mp): Likewise.
28780 (add_magnitudes): Likewise.
28781 (sub_magnitudes): Likewise.
28782 (__add): Likewise.
28783 (__sub): Likewise.
28784 (__mul): Likewise.
28785 (__inv): Likewise.
28786 (__dvd): Likewise.
28787 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mcr): Likewise.
28788 (__acr): Likewise.
28789 (__cpy): Likewise.
28790 (norm): Likewise.
28791 (denorm): Likewise.
28792 (__mp_dbl): Likewise.
28793 (__dbl_mp): Likewise.
28794 (add_magnitudes): Likewise.
28795 (sub_magnitudes): Likewise.
28796 (__add): Likewise.
28797 (__sub): Likewise.
28798 (__mul): Likewise.
28799 (__inv): Likewise.
28800 (__dvd): Likewise.
28801
eede9df9
JM
288022013-01-08 Joseph Myers <joseph@codesourcery.com>
28803
28804 * io/sys/stat.h [__GNUC__ && __GNUC__ >= 2 &&
28805 __USE_EXTERN_INLINES]: Change condition to [__USE_EXTERN_INLINES].
28806 * sysdeps/unix/sysv/linux/sys/sysmacros.h [__GNUC__ && __GNUC__ >=
28807 2 && __USE_EXTERN_INLINES]: Likewise.
28808
c40ea3d9
AJ
288092013-01-08 Andreas Jaeger <aj@suse.de>
28810
28811 [BZ# 14985]
28812 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h (EPOLL_NONBLOCK):
28813 Remove.
28814 * sysdeps/unix/sysv/linux/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
28815 * sysdeps/unix/sysv/linux/x86/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
28816
2ccdea26
AB
288172013-01-07 Anton Blanchard <anton@samba.org>
28818
28819 * sysdeps/powerpc/fpu/feholdexcpt.c: Fixed spelling errors.
28820 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
28821 * sysdeps/powerpc/fpu/math_ldbl.h: Likewise.
28822 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
28823 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
28824 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
28825 * sysdeps/powerpc/powerpc32/dl-start.S: Likewise.
28826 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
28827 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
28828 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
28829 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
28830 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
28831 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
28832 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
28833 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
28834 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
28835 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
28836 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
28837 * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
28838 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
28839 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
28840 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Likewise.
28841 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
28842 * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
28843 * sysdeps/powerpc/powerpc64/bits/atomic.h: Likewise.
28844 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
28845 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
28846 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
28847 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Likewise.
28848 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
28849 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
28850 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
28851 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
28852 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
28853 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
28854 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
28855 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
28856 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
28857 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Likewise.
28858 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
28859 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Likewise.
28860 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
28861 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
28862
a9708fed
JM
288632013-01-07 Joseph Myers <joseph@codesourcery.com>
28864
375607b9
JM
28865 * malloc/malloc.h (__MALLOC_P): Remove all definitions.
28866 (__MALLOC_PMT): Likewise.
28867 [__GNUC__] (__MALLOC_HOOK_VOLATILE): Make not conditional on
28868 [__GNUC__], only on [_LIBC].
28869 [__GNUC__] (__MALLOC_DEPRECATED): Likewise.
28870 [!__GNUC__] (__MALLOC_HOOK_VOLATILE): Remove definition.
28871 [!__GNUC__] (__MALLOC_DEPRECATED): Likewise.
28872 * malloc/malloc.c (malloc_hook_ini): Do not use __MALLOC_P in
28873 forward declaration.
28874 (realloc_hook_ini): Likewise.
28875 (memalign_hook_ini): Likewise.
28876 (__libc_memalign): Do not use __MALLOC_PMT in variable
28877 declaration.
28878 (__libc_valloc): Likewise.
28879 (__libc_pvalloc): Likewise.
28880 (__libc_calloc): Likewise.
28881 (__posix_memalign): Likewise.
28882
a9708fed
JM
28883 [BZ #14996]
28884 * math/s_casinh.c: Include <float.h>.
28885 (__casinh): Do not do computation with squaring and square root
28886 for large arguments.
28887 * math/s_casinhf.c: Include <float.h>.
28888 (__casinhf): Do not do computation with squaring and square root
28889 for large arguments.
28890 * math/s_casinhl.c: Include <float.h>.
28891 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine and redefine.
28892 (__casinhl): Do not do computation with squaring and square root
28893 for large arguments.
28894 * math/libm-test.inc (casin_test): Add more tests.
28895 (casinh_test): Likewise.
28896 * sysdeps/i386/fpu/libm-test-ulps: Update.
28897 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28898
afec409a
L
288992013-01-04 H.J. Lu <hongjiu.lu@intel.com>
28900
28901 * sysdeps/i386/i686/cacheinfo.c (__x86_64_data_cache_size): Removed.
28902 (__x86_64_raw_data_cache_size): Likewise.
28903 (__x86_64_data_cache_size_half): Likewise.
28904 (__x86_64_raw_data_cache_size_half): Likewise.
28905 (__x86_64_shared_cache_size): Likewise.
28906 (__x86_64_raw_shared_cache_size): Likewise.
28907 (__x86_64_shared_cache_size_half): Likewise.
28908 (__x86_64_raw_shared_cache_size_half): Likewise.
28909 * sysdeps/x86_64/cacheinfo.c (__x86_64_data_cache_size): Renamed
28910 to ...
28911 (__x86_data_cache_size): This.
28912 (__x86_64_raw_data_cache_size): Renamed to ...
28913 (__x86_raw_data_cache_size): This.
28914 (__x86_64_data_cache_size_half): Renamed to ...
28915 (__x86_data_cache_size_half): This.
28916 (__x86_64_raw_data_cache_size_half): Renamed to ...
28917 (__x86_raw_data_cache_size_half): This.
28918 (__x86_64_shared_cache_size): Renamed to ...
28919 (__x86_shared_cache_size): This.
28920 (__x86_64_raw_shared_cache_size): Renamed to ...
28921 (__x86_raw_shared_cache_size): This.
28922 (__x86_64_shared_cache_size_half): Renamed to ...
28923 (__x86_shared_cache_size_half): This.
28924 (__x86_64_raw_shared_cache_size_half): Renamed to ...
28925 (__x86_raw_shared_cache_size_half): This.
28926 * sysdeps/x86_64/memcpy.S: Updated.
28927 * sysdeps/x86_64/memset.S: Likewise.
28928 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
28929 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
28930 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
28931
0b3986d0
DM
289322013-01-04 David S. Miller <davem@davemloft.net>
28933
28934 * sysdeps/sparc/fpu/libm-test-ulps: Update.
28935
e47686e9
AS
289362013-01-04 Andreas Schwab <schwab@linux-m68k.org>
28937
d643bac1
AS
28938 * sysdeps/powerpc/fpu/test-powerpc-snan.c (_GNU_SOURCE): Define as
28939 1 to avoid redefinition warning.
28940 (__USE_GNU): Don't define.
28941 (init_signaling_nan): Protoize.
28942
e47686e9
AS
28943 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
28944
b18decba
SP
289452013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
28946
fffb407f
SP
28947 * sysdeps/ieee754/dbl-64/mpa.c: Remove commented code.
28948 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cr): Remove.
28949 (__cpymn): Likewise.
28950 (norm): Remove commented code.
28951 (denorm): Likewise.
28952 (__mp_dbl): Likewise.
28953 (__inv): Likewise.
28954 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cr): Remove.
28955 (__cpymn): Likewise.
28956 (norm): Remove commented code.
28957 (denorm): Likewise.
28958 (__mp_dbl): Likewise.
28959 (__inv): Likewise.
28960
b18decba
SP
28961 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mpone): Define
28962 mp_no value for 1.0 and 2.0.
28963 (norm): Use RADIXI instead of radixi.d.
28964 (denorm): Likewise.
28965 (__mul): Use 0.0 instead of zero.d.
28966 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mpone): Define
28967 mp_no value for 1.0 and 2.0.
28968 (norm): Use RADIXI instead of radixi.d.
28969 (denorm): Likewise.
28970 (__mul): Use 0.0 instead of zero.d.
28971
cdc1c96f
JM
289722013-01-04 Joseph Myers <joseph@codesourcery.com>
28973
28974 [BZ #14994]
28975 * math/s_casinh.c (__casinh): Reduce finite argument to first
28976 quadrant then set signs of results at the end.
28977 * math/s_casinhf.c (__casinhf): Likewise.
28978 * math/s_casinhl.c (__casinhl): Likewise.
28979 * math/libm-test.inc (casin_test): Add more tests.
28980 (casinh_test): Likewise.
28981 * sysdeps/i386/fpu/libm-test-ulps: Update.
28982 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28983
302913e1
SP
289842013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
28985
6420d207
SP
28986 * sysdeps/ieee754/dbl-64/mpa.h: Fix code formatting.
28987
a9e48ab4
SP
28988 * sysdeps/ieee754/dbl-64/mpa.h: Clean up comment for MP_NO.
28989
b7837264
SP
28990 * sysdeps/ieee754/dbl-64/mpa.c(norm): Remove commented
28991 declarations.
28992 (denorm): Likewise.
28993 (__mp_dbl): Likewise.
28994 (__inv): Likewise.
28995
f8af25d2
SP
28996 * sysdeps/ieee754/dbl-64/mpa.h: Remove commented declarations
28997 and adjust the header comment.
28998
302913e1
SP
28999 * sysdeps/ieee754/dbl-64/mpa.h (__mpexp): Remove unnecessary
29000 variable name from declaration.
29001
5d7dd1ca
L
290022013-01-03 H.J. Lu <hongjiu.lu@intel.com>
29003
29004 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
29005 Initialize COMMON_CPUID_INDEX_7 element.
29006 * sysdeps/x86_64/multiarch/init-arch.h (bit_RTM): New macro.
29007 (CPUID_RTM): Likewise.
29008 (HAS_RTM): Likewise.
29009 (COMMON_CPUID_INDEX_7): New enum.
29010
2f5f40f4
AS
290112013-01-03 Andreas Schwab <schwab@linux-m68k.org>
29012
29013 [BZ #14981]
29014 * malloc/mtrace.c (tr_reallochook): If realloc returns NULL when
29015 size is zero, record memory as freed.
29016
4056f4a0
AJ
290172013-01-03 Andreas Jaeger <aj@suse.de>
29018
29019 * po/ia.po: Add new Interlingua translation.
29020
ab15736f 290212012-01-03 Allan McRae <allan@archlinux.org>
fd80f0b7
AM
29022
29023 * locale/programs/localedef.c: Fix description of '--posix' flag.
29024
568035b7
JM
290252013-01-02 Joseph Myers <joseph@codesourcery.com>
29026
e6898b8d
JM
29027 * NEWS: Update dates in second copyright notice.
29028 * README: Update copyright dates in example.
29029 * manual/libc.texinfo: Update copyright dates.
29030 * scripts/test-installation.pl: Update copyright date in --version
29031 output.
29032
0e2f9562
JM
29033 * hurd/ctty-input.c: Fix copyright notice formatting.
29034 * hurd/ctty-output.c: Likewise.
29035 * hurd/dtable.c: Likewise.
29036 * hurd/hurd-raise.c: Likewise.
29037 * hurd/hurdprio.c: Likewise.
29038 * hurd/msgportdemux.c: Likewise.
29039 * misc/sys/file.h: Likewise.
29040 * misc/sys/ioctl.h: Likewise.
29041 * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
29042 * sysdeps/mach/hurd/chdir.c: Likewise.
29043 * sysdeps/mach/hurd/fchdir.c: Likewise.
29044 * sysdeps/mach/hurd/rename.c: Likewise.
29045 * sysdeps/mach/hurd/rmdir.c: Likewise.
29046 * sysdeps/mach/hurd/seekdir.c: Likewise.
29047 * sysdeps/mach/hurd/setsid.c: Likewise.
29048 * sysdeps/posix/wait3.c: Likewise.
29049
568035b7
JM
29050 * All files with FSF copyright notices: Update copyright dates
29051 using scripts/update-copyrights.
29052 * intl/plural.c: Regenerated.
29053 * locale/programs/charmap-kw.h: Likewise.
29054 * locale/programs/locfile-kw.h: Likewise.
29055
da08f647
SP
290562013-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
29057
0f5477af
SP
29058 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1): Fix first
29059 four values.
29060
44e0d4c2
SP
29061 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Split mantissa
29062 calculation loop and add branch prediction.
29063
4d55b4e5
SP
29064 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Add assert to
29065 check access beyond bounds of m1np.
29066
da08f647
SP
29067 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
29068 MPTWO.
29069 (__inv): Remove local variable MPTWO to use the global
29070 constant.
29071 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPTWO.
29072 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
29073 variable MPTWO.
29074 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Make MPHALF and
29075 MP3HALFS static const.
29076
8e051029
DM
290772013-01-01 David S. Miller <davem@davemloft.net>
29078
29079 * po/ca.po: Update from translation team.
29080
f4cf5f2d
JM
290812013-01-01 Joseph Myers <joseph@codesourcery.com>
29082
29083 * scripts/update-copyrights: New file.
29084 * Makeconfig: Reformat copyright notice.
29085 * ctype/ctype.h: Likewise.
29086 * debug/swprintf_chk.c: Likewise.
29087 * elf/dl-cache.c: Likewise.
29088 * elf/dl-debug.c: Likewise.
29089 * elf/dl-object.c: Likewise.
29090 * grp/initgroups.c: Likewise.
29091 * hurd/Makefile: Likewise.
29092 * hurd/hurd/signal.h: Likewise.
29093 * hurd/hurdfault.c: Likewise.
29094 * hurd/hurdioctl.c: Likewise.
29095 * hurd/hurdlookup.c: Likewise.
29096 * hurd/intr-msg.c: Likewise.
29097 * iconv/gconv_open.c: Likewise.
29098 * libio/swprintf.c: Likewise.
29099 * locale/lc-ctype.c: Likewise.
29100 * locale/nl_langinfo.c: Likewise.
29101 * mach/Machrules: Likewise.
29102 * mach/Makefile: Likewise.
29103 * malloc/obstack.h: Likewise.
29104 * manual/Makefile: Likewise.
29105 * manual/tsort.awk: Likewise.
29106 * misc/bits/stab.def: Likewise.
29107 * nis/nis_print_group_entry.c: Likewise.
29108 * nis/nis_table.c: Likewise.
29109 * nis/nss_compat/compat-pwd.c: Likewise.
29110 * nis/nss_compat/compat-spwd.c: Likewise.
29111 * po/Makefile: Likewise.
29112 * posix/fnmatch.c: Likewise.
29113 * posix/regex.h: Likewise.
29114 * resolv/Makefile: Likewise.
29115 * resolv/nss_dns/dns-network.c: Likewise.
29116 * resolv/res_hconf.c: Likewise.
29117 * scripts/gen-sorted.awk: Likewise.
29118 * soft-fp/soft-fp.h: Likewise.
29119 * stdio-common/printf.h: Likewise.
29120 * stdlib/monetary.h: Likewise.
29121 * stdlib/random.c: Likewise.
29122 * stdlib/random_r.c: Likewise.
29123 * sysdeps/generic/Makefile: Likewise.
29124 * sysdeps/gnu/Makefile: Likewise.
29125 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
29126 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
29127 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
29128 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
29129 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
29130 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
29131 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
29132 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
29133 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
29134 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
29135 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
29136 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
29137 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
29138 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
29139 * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
29140 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
29141 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
29142 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
29143 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
29144 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
29145 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
29146 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
29147 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
29148 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
29149 * sysdeps/ieee754/ldbl-128/mpn2ldbl.c: Likewise.
29150 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
29151 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
29152 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Likewise.
29153 * sysdeps/mach/hurd/errnos.awk: Likewise.
29154 * sysdeps/mach/hurd/fork.c: Likewise.
29155 * sysdeps/mach/hurd/getcwd.c: Likewise.
29156 * sysdeps/mach/hurd/i386/trampoline.c: Likewise.
29157 * sysdeps/mach/hurd/mmap.c: Likewise.
29158 * sysdeps/mach/hurd/utimes.c: Likewise.
29159 * sysdeps/mach/hurd/xmknod.c: Likewise.
29160 * sysdeps/posix/profil.c: Likewise.
29161 * sysdeps/posix/readdir_r.c: Likewise.
29162 * sysdeps/powerpc/bits/mathdef.h: Likewise.
29163 * sysdeps/powerpc/bits/setjmp.h: Likewise.
29164 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Likewise.
29165 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
29166 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
29167 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
29168 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
29169 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
29170 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
29171 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
29172 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
29173 * sysdeps/pthread/lio_listio.c: Likewise.
29174 * sysdeps/sparc/dl-procinfo.h: Likewise.
29175 * sysdeps/unix/i386/sysdep.S: Likewise.
29176 * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
29177 * sysdeps/unix/sysv/linux/fstatvfs64.c: Likewise.
29178 * sysdeps/unix/sysv/linux/getdents.c: Likewise.
29179 * sysdeps/unix/sysv/linux/msgctl.c: Likewise.
29180 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
29181 * sysdeps/unix/sysv/linux/semctl.c: Likewise.
29182 * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
29183 * sysdeps/unix/sysv/linux/speed.c: Likewise.
29184 * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
29185 * sysdeps/wordsize-32/divdi3.c: Likewise.
29186 * time/sys/time.h: Likewise.
29187 * wcsmbs/Makefile: Likewise.
29188
0549fbba
DM
291892013-01-01 David S. Miller <davem@davemloft.net>
29190
a141f1a7
DM
29191 * po/fr.po: Update from translation team.
29192
0549fbba
DM
29193 * catgets/gencat.c: Update copyright year.
29194 * csu/version.c: Likewise.
29195 * debug/catchsegv.sh: Likewise.
29196 * debug/pcprofiledump.c: Likewise.
29197 * debug/xtrace.sh: Likewise.
29198 * elf/ldconfig.c: Likewise.
29199 * elf/ldd.bash.in: Likewise.
29200 * elf/pldd.c: Likewise.
29201 * elf/sotruss.ksh: Likewise.
29202 * elf/sprof.c: Likewise.
29203 * iconv/iconv_prog.c: Likewise.
29204 * iconv/iconvconfig.c: Likewise.
29205 * locale/programs/locale.c: Likewise.
29206 * locale/programs/localedef.c: Likewise.
29207 * login/programs/pt_chown.c: Likewise.
29208 * malloc/memusage.sh: Likewise.
29209 * malloc/memusagestat.c: Likewise.
29210 * malloc/mtrace.pl: Likewise.
29211 * nscd/nscd.c: Likewise.
29212 * nss/getent.c: Likewise.
29213 * nss/makedb.c: Likewise.
29214 * posix/getconf.c: Likewise.
29215
18ea052c
SP
292162012-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
29217
29218 * sysdeps/ieee754/dbl-64/mpa.c (__mp_dbl): Favour normal
29219 numbers.
29220
9c89fca6
MF
292212012-12-30 Mike Frysinger <vapier@gentoo.org>
29222
29223 * math/bits/mathcalls.h (modf): Use __nonnull.
29224
085ec079
SP
292252012-12-29 Siddhesh Poyarekar <siddhesh@redhat.com>
29226
29227 * sysdeps/ieee754/dbl-64/branred.h: Include dla.h.
29228 (split): Use macro CN instead of the bare value.
29229 * sysdeps/ieee754/dbl-64/dla.h: Add comment to explain why CN
29230 could be used.
29231 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use CN
29232 instead of the bare value.
29233 (power1): Likewise.
29234
6d9f97e1
SP
292352012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
29236
d63f73be
SP
29237 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove
29238 __ATAN_TWOM.
29239 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
29240
6d9f97e1
SP
29241 * sysdeps/ieee754/dbl-64/atnat.h: Replaced constants with
29242 their values.
29243 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
29244 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
29245 * sysdeps/ieee754/dbl-64/ulog.h: Likewise.
29246 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
29247
4c4febf5
AJ
292482012-12-28 Andreas Jaeger <aj@suse.de>
29249
af5843ef
AJ
29250 * elf/elf.h (NT_S390_TDB, NT_FILE, NT_SIGINFO): Define. New
29251 values are from Linux 3.7.
29252
4c4febf5
AJ
29253 * sysdeps/gnu/netinet/tcp.h (TCPI_OPT_SYN_DATA)
29254 (TCPI_OPT_ECN_SEEN): Define. Sync with Linux 3.7.
29255
99136f82
SP
292562012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
29257
2f216c3c 29258 * misc/sys/cdefs.h (__glibc_likely): Wrap __builtin_expect for
91998e44
SP
29259 TRUE case.
29260
99136f82
SP
29261 * sysdeps/ieee754/dbl-64/mpa.c (norm): Define R as RADIXI.
29262 (norm): Likewise.
29263 * sysdeps/ieee754/dbl-64/mpa2.h: Remove all static const
29264 variables with preprocessor constants.
29265 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
29266 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
29267 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
29268
7fffbdff
BH
292692012-12-27 Bruno Haible <bruno@clisp.org>
29270
29271 [BZ #14317]
29272 * string/xpg-strerror.c (__xpg_strerror_r): Optimize, call strlen
29273 only if needed.
29274
b76eb5f0
SP
292752012-12-27 Siddhesh Poyarekar <siddhesh@redhat.com>
29276
31a7fe5c
SP
29277 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Eliminate __mpexp_nn
29278 and use variable directly.
29279 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_nn): Remove.
29280
b76eb5f0
SP
29281 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
29282 MPONE.
29283 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPONE.
29284 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
29285 variable MPONE.
29286 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
29287 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
29288 * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Remove mplog.h
29289 include directive. Remove local variable MPONE.
29290 * sysdeps/ieee754/dbl-64/mplog.h: Remove.
29291 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define NO__CONST.
29292 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
29293
2c8bfe7d
DM
292942012-12-25 David S. Miller <davem@davemloft.net>
29295
29296 * version.h (RELEASE): Set to "development".
29297 (VERSION): Set to "2.17.90".
29298 * NEWS: Add 2.18 section.
29299
147d03b0
DM
293002012-12-21 David S. Miller <davem@davemloft.net>
29301
29302 * po/hr.po: Update from translation team.
29303
a8ebb2b9
AK
293042012-12-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
29305
29306 * sysdeps/s390/fpu/libm-test-ulps: Refreshed.
29307
95b4f1b6
SE
293082012-12-19 Steve Ellcey <sellcey@mips.com>
29309
b2d94007 29310 * NEWS: Mention new memcpy for MIPS.
95b4f1b6 29311
cedb2a90
MS
293122012-12-18 Marcus Shawcroft <marcus.shawcroft@linaro.org>
29313
29314 * manual/contrib.texi (Contributors): Spelling correction.
29315
bbf527d6
DM
293162012-12-15 David S. Miller <davem@davemloft.net>
29317
29318 * po/ru.po: Update from translation team.
29319
bc38c906
DM
293202012-12-13 David S. Miller <davem@davemloft.net>
29321
85429b1a
DM
29322 * NEWS: Mention IFUNC testsuite enhancements.
29323
d283e353
DM
29324 * po/pl.po: Update from translation team.
29325 * po/bg.po: Likewise.
29326
bc38c906
DM
29327 * manual/contrib.texi (Contributors): Update entries for Hongjiu
29328 Lu and Joseph S. Myers. Add entry for Marcus Shawcroft.
29329
a181b0d7
DM
293302012-12-11 David S. Miller <davem@davemloft.net>
29331
4641d57e
DM
29332 * po/sv.po: Update from translation team.
29333
f7bc6495
DM
29334 * po/vi.po: Update from translation team.
29335
6fc9048f
DM
29336 * po/cs.po: Update from translation team.
29337
a181b0d7
DM
29338 * po/de.po: Update from translation team.
29339 * po/eo.po: Likewise.
29340 * po/nl.po: Likewise.
29341
f70bfe80
SP
293422012-12-11 Siddhesh Poyarekar <siddhesh@redhat.com>
29343
3c8b4190
SP
29344 [BZ #14246]
29345 * manual/argp.texi (Argp Helper Functions): Move node to follow
29346 Argp Parsing State.
29347
f70bfe80
SP
29348 [BZ #14872]
29349 * manual/conf.texi (Limits on File System Capacity): Mention if
29350 terminating null is included in the max size.
29351
188f0adf
AJ
293522012-12-10 Andreas Jaeger <aj@suse.de>
29353
29354 * po/cs.po: Update from translation team.
29355
56e7d3ad
SP
293562012-12-08 Siddhesh Poyarekar <siddhesh@redhat.com>
29357
29358 * sysdeps/s390/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as
29359 void pointer and cast to uintptr_t.
29360 * sysdeps/s390/s390-64/memcmp.S: Pick sysdep.h from include
29361 path.
29362 * sysdeps/s390/s390-64/memcpy.S: Likewise.
29363 * sysdeps/s390/s390-64/memset.S: Likewise.
29364
76f2d2ea 293652012-12-08 Benno Schulenberg <bensberg@justemail.net>
c430c4af
BS
29366
29367 [BZ #14833]
29368 * menual/message.texi (Message Translation): Fix typos.
29369 (Helper programs for gettext): Likewise.
29370
67cbf9a2
AS
293712012-12-07 Andreas Schwab <schwab@linux-m68k.org>
29372
29373 [BZ #14898]
29374 * include/link.h (FORCED_DYNAMIC_TLS_OFFSET) [NO_TLS_OFFSET == 0]:
29375 Change to -1.
29376
682d0e9a
DM
293772012-12-07 David S. Miller <davem@davemloft.net>
29378
29379 * po/libc.pot: Update.
29380
573cd484
RH
293812012-12-07 Richard Henderson <rth@redhat.com>
29382
7e9da188 29383 [BZ #10114]
573cd484
RH
29384 * soft-fp/op-common.h (_FP_MUL): Pull computation of R_e from the
29385 normal/normal case to before the switch.
29386 (_FP_DIV): Likewise.
29387
e933a943
MF
293882012-12-06 Carlos O'Donell <carlos@systemhalted.org>
29389 Mike Frysinger <vapier@gentoo.org>
29390
29391 * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Also
29392 check for __NR_fadvise64_64.
29393
82123268
CM
293942012-12-06 Chris Metcalf <cmetcalf@tilera.com>
29395
29396 * sysdeps/generic/fpu_control.h (_FPU_GETCW): Define to set cw to
29397 0, not just to plain "0" as a statement.
29398 (_FPU_SETCW): Define to (void) (cw), rather than doing nothing
29399 with cw.
29400
d9814526
JM
294012012-12-06 Joseph Myers <joseph@codesourcery.com>
29402
29403 * NEWS: Use sourceware.org in Bugzilla URL.
29404
7728c574
SP
294052012-12-06 Siddhesh Poyarekar <siddhesh@redhat.com>
29406
f16946dd
SP
29407 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
29408 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
29409
5704bbcb
SP
29410 * stdio-common/tst-put-error.c (do_test): Add newline to the
29411 padded test to ensure flush.
29412
17aa0516
JL
294132012-12-05 Jeff Law <law@redhat.com>
29414
29415 * sunrpc/etc.rpc (fedfs_admin): Add entry.
29416
363313b5
JM
294172012-12-05 Joseph Myers <joseph@codesourcery.com>
29418
effbd42a
JM
29419 * README: Don't refer to ports add-on as distributed separately.
29420 Mention AArch64 in list of systems supported in the ports add-on.
29421
87600365
JM
29422 * LICENSES: Add more non-FSF copyright and license notices.
29423
a0d7066a
JM
29424 * soft-fp/op-common.h (_FP_DECL): Declare X##_s with __attribute__
29425 ((unused)).
29426
66ca5a5b
JM
29427 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Include <stdlib.h>.
29428
363313b5
JM
29429 * stdio-common/tst-put-error.c (do_test): Use 10000000 instead of
29430 10000 as width of padded output.
29431
b37984ad
JM
294322012-12-04 Joseph Myers <joseph@codesourcery.com>
29433
9003570a
JM
29434 * sysdeps/powerpc/sysdep.h (_SYS_AUXV_H): Define to 1 not empty.
29435
b37984ad
JM
29436 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Mark
29437 variable LX with __attribute__ ((unused)).
29438 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
29439 Likewise.
29440 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
29441 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
29442 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Mark variable LY
29443 with __attribute__ ((unused)).
29444
c8df52ec
DM
294452012-12-04 David S. Miller <davem@abraco.davemloft.net>
29446
29447 * sysdeps/generic/memcopy.h: Add multiple inclusion protection.
29448
b3b099af
JM
294492012-12-04 Joseph Myers <joseph@codesourcery.com>
29450
c33aa6e3
JM
29451 * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math]
29452 (CFLAGS-nldbl-acos.c): New variable.
29453 [$(subdir) = math] (CFLAGS-nldbl-acosh.c): Likewise.
29454 [$(subdir) = math] (CFLAGS-nldbl-asin.c): Likewise.
29455 [$(subdir) = math] (CFLAGS-nldbl-asinh.c): Likewise.
29456 [$(subdir) = math] (CFLAGS-nldbl-atan.c): Likewise.
29457 [$(subdir) = math] (CFLAGS-nldbl-atan2.c): Likewise.
29458 [$(subdir) = math] (CFLAGS-nldbl-atanh.c): Likewise.
29459 [$(subdir) = math] (CFLAGS-nldbl-cabs.c): Likewise.
29460 [$(subdir) = math] (CFLAGS-nldbl-cacos.c): Likewise.
29461 [$(subdir) = math] (CFLAGS-nldbl-cacosh.c): Likewise.
29462 [$(subdir) = math] (CFLAGS-nldbl-carg.c): Likewise.
29463 [$(subdir) = math] (CFLAGS-nldbl-casin.c): Likewise.
29464 [$(subdir) = math] (CFLAGS-nldbl-casinh.c): Likewise.
29465 [$(subdir) = math] (CFLAGS-nldbl-catan.c): Likewise.
29466 [$(subdir) = math] (CFLAGS-nldbl-catanh.c): Likewise.
29467 [$(subdir) = math] (CFLAGS-nldbl-cbrt.c): Likewise.
29468 [$(subdir) = math] (CFLAGS-nldbl-ccos.c): Likewise.
29469 [$(subdir) = math] (CFLAGS-nldbl-ccosh.c): Likewise.
29470 [$(subdir) = math] (CFLAGS-nldbl-ceil.c): Likewise.
29471 [$(subdir) = math] (CFLAGS-nldbl-cexp.c): Likewise.
29472 [$(subdir) = math] (CFLAGS-nldbl-cimag.c): Likewise.
29473 [$(subdir) = math] (CFLAGS-nldbl-clog.c): Likewise.
29474 [$(subdir) = math] (CFLAGS-nldbl-clog10.c): Likewise.
29475 [$(subdir) = math] (CFLAGS-nldbl-conj.c): Likewise.
29476 [$(subdir) = math] (CFLAGS-nldbl-copysign.c): Likewise.
29477 [$(subdir) = math] (CFLAGS-nldbl-cos.c): Likewise.
29478 [$(subdir) = math] (CFLAGS-nldbl-cosh.c): Likewise.
29479 [$(subdir) = math] (CFLAGS-nldbl-cpow.c): Likewise.
29480 [$(subdir) = math] (CFLAGS-nldbl-cproj.c): Likewise.
29481 [$(subdir) = math] (CFLAGS-nldbl-creal.c): Likewise.
29482 [$(subdir) = math] (CFLAGS-nldbl-csin.c): Likewise.
29483 [$(subdir) = math] (CFLAGS-nldbl-csinh.c): Likewise.
29484 [$(subdir) = math] (CFLAGS-nldbl-csqrt.c): Likewise.
29485 [$(subdir) = math] (CFLAGS-nldbl-ctan.c): Likewise.
29486 [$(subdir) = math] (CFLAGS-nldbl-ctanh.c): Likewise.
29487 [$(subdir) = math] (CFLAGS-nldbl-drem.c): Likewise.
29488 [$(subdir) = math] (CFLAGS-nldbl-erf.c): Likewise.
29489 [$(subdir) = math] (CFLAGS-nldbl-erfc.c): Likewise.
29490 [$(subdir) = math] (CFLAGS-nldbl-exp.c): Likewise.
29491 [$(subdir) = math] (CFLAGS-nldbl-exp10.c): Likewise.
29492 [$(subdir) = math] (CFLAGS-nldbl-exp2.c): Likewise.
29493 [$(subdir) = math] (CFLAGS-nldbl-expm1.c): Likewise.
29494 [$(subdir) = math] (CFLAGS-nldbl-fabs.c): Likewise.
29495 [$(subdir) = math] (CFLAGS-nldbl-fdim.c): Likewise.
29496 [$(subdir) = math] (CFLAGS-nldbl-finite.c): Likewise.
29497 [$(subdir) = math] (CFLAGS-nldbl-floor.c): Likewise.
29498 [$(subdir) = math] (CFLAGS-nldbl-fma.c): Likewise.
29499 [$(subdir) = math] (CFLAGS-nldbl-fmax.c): Likewise.
29500 [$(subdir) = math] (CFLAGS-nldbl-fmin.c): Likewise.
29501 [$(subdir) = math] (CFLAGS-nldbl-fmod.c): Likewise.
29502 [$(subdir) = math] (CFLAGS-nldbl-frexp.c): Likewise.
29503 [$(subdir) = math] (CFLAGS-nldbl-gamma.c): Likewise.
29504 [$(subdir) = math] (CFLAGS-nldbl-hypot.c): Likewise.
29505 [$(subdir) = math] (CFLAGS-nldbl-ilogb.c): Likewise.
29506 [$(subdir) = math] (CFLAGS-nldbl-isinf.c): Likewise.
29507 [$(subdir) = math] (CFLAGS-nldbl-isnan.c): Likewise.
29508 [$(subdir) = math] (CFLAGS-nldbl-j0.c): Likewise.
29509 [$(subdir) = math] (CFLAGS-nldbl-j1.c): Likewise.
29510 [$(subdir) = math] (CFLAGS-nldbl-jn.c): Likewise.
29511 [$(subdir) = math] (CFLAGS-nldbl-ldexp.c): Likewise.
29512 [$(subdir) = math] (CFLAGS-nldbl-lgamma.c): Likewise.
29513 [$(subdir) = math] (CFLAGS-nldbl-lgamma_r.c): Likewise.
29514 [$(subdir) = math] (CFLAGS-nldbl-llrint.c): Likewise.
29515 [$(subdir) = math] (CFLAGS-nldbl-llround.c): Likewise.
29516 [$(subdir) = math] (CFLAGS-nldbl-log.c): Likewise.
29517 [$(subdir) = math] (CFLAGS-nldbl-log10.c): Likewise.
29518 [$(subdir) = math] (CFLAGS-nldbl-log1p.c): Likewise.
29519 [$(subdir) = math] (CFLAGS-nldbl-log2.c): Likewise.
29520 [$(subdir) = math] (CFLAGS-nldbl-logb.c): Likewise.
29521 [$(subdir) = math] (CFLAGS-nldbl-lrint.c): Likewise.
29522 [$(subdir) = math] (CFLAGS-nldbl-lround.c): Likewise.
29523 [$(subdir) = math] (CFLAGS-nldbl-modf.c): Likewise.
29524 [$(subdir) = math] (CFLAGS-nldbl-nan.c): Likewise.
29525 [$(subdir) = math] (CFLAGS-nldbl-nearbyint.c): Likewise.
29526 [$(subdir) = math] (CFLAGS-nldbl-nextafter.c): Likewise.
29527 [$(subdir) = math] (CFLAGS-nldbl-nexttoward.c): Likewise.
29528 [$(subdir) = math] (CFLAGS-nldbl-nexttowardf.c): Likewise.
29529 [$(subdir) = math] (CFLAGS-nldbl-pow.c): Likewise.
29530 [$(subdir) = math] (CFLAGS-nldbl-pow10.c): Likewise.
29531 [$(subdir) = math] (CFLAGS-nldbl-remainder.c): Likewise.
29532 [$(subdir) = math] (CFLAGS-nldbl-remquo.c): Likewise.
29533 [$(subdir) = math] (CFLAGS-nldbl-rint.c): Likewise.
29534 [$(subdir) = math] (CFLAGS-nldbl-round.c): Likewise.
29535 [$(subdir) = math] (CFLAGS-nldbl-scalb.c): Likewise.
29536 [$(subdir) = math] (CFLAGS-nldbl-scalbln.c): Likewise.
29537 [$(subdir) = math] (CFLAGS-nldbl-scalbn.c): Likewise.
29538 [$(subdir) = math] (CFLAGS-nldbl-significand.c): Likewise.
29539 [$(subdir) = math] (CFLAGS-nldbl-sin.c): Likewise.
29540 [$(subdir) = math] (CFLAGS-nldbl-sincos.c): Likewise.
29541 [$(subdir) = math] (CFLAGS-nldbl-sinh.c): Likewise.
29542 [$(subdir) = math] (CFLAGS-nldbl-sqrt.c): Likewise.
29543 [$(subdir) = math] (CFLAGS-nldbl-tan.c): Likewise.
29544 [$(subdir) = math] (CFLAGS-nldbl-tanh.c): Likewise.
29545 [$(subdir) = math] (CFLAGS-nldbl-tgamma.c): Likewise.
29546 [$(subdir) = math] (CFLAGS-nldbl-trunc.c): Likewise.
29547 [$(subdir) = math] (CFLAGS-nldbl-y0.c): Likewise.
29548 [$(subdir) = math] (CFLAGS-nldbl-y1.c): Likewise.
29549 [$(subdir) = math] (CFLAGS-nldbl-yn.c): Likewise.
29550
20f0018d
JM
29551 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
29552 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
29553
b3b099af
JM
29554 [BZ #14914]
29555 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Clear
29556 whole low double instead of just low 47 bits when splitting values
29557 into two parts.
29558
029264d1
AM
295592012-12-03 Allan McRae <allan@archlinux.org>
29560
29561 * manual/stdio.texi (Predefined Printf Handlers): Remove
29562 @hsep and @vsep usage.
29563
c9d6789e
MF
295642012-12-03 Mike Frysinger <vapier@gentoo.org>
29565
29566 * bits/byteswap.h [__GNUC__]: Change __GNUC_PREREQ from 4.2 to 4.3.
29567 * sysdeps/x86/bits/byteswap.h [__GNUC__]: Likewise.
29568
4b7634a5
JL
295692012-12-03 Jeff Law <law@redhat.com>
29570
29571 * time/sys/time.h (settimeofday): Do not mark TV argument
29572 as __nonnull.
29573
eb6cbd24
MF
295742012-12-01 Mike Frysinger <vapier@gentoo.org>
29575
29576 * libio/fileops.c (_IO_new_file_close_it): Do not always flush
29577 when currently writing and seek to current position when not.
29578 * libio/Makefile (tests): Remove bug-fclose1.
29579 * libio/bug-fclose1.c: Delete.
29580
f638872a
JM
295812012-12-01 Joseph Myers <joseph@codesourcery.com>
29582
29583 * manual/arith.texi (feenableexcept): Fix typo.
29584 (fedisableexcept): Likewise.
29585
48085d14
RM
295862012-11-30 Roland McGrath <roland@hack.frob.com>
29587
29588 * sysdeps/powerpc/powerpc64/entry.h (TEXT_START): Define using a
29589 second, differently-typed declaration, rather than a cast.
29590
1a538b9f
SP
295912012-11-30 Siddhesh Poyarekar <siddhesh@redhat.com>
29592
29593 * sunrpc/rpc/svc.h (__svc_accept_failed): Move declaration...
29594 * include/rpc/svc.h: ... here.
29595
d07f2ff1 295962012-11-30 Aurelien Jarno <aurel32@debian.org>
cc8bb21c
AJ
29597
29598 [BZ #13013]
29599 * resolv/res_query.c(__libc_res_nquery): Assign hp and hp2
29600 depending n and resplen2 to catch cases where answer
29601 equals answerp2.
29602
c93ec1f0
CD
296032012-11-29 Carlos O'Donell <carlos@systemhalted.org>
29604
29605 * elf/get-dynamic-info.h (elf_get_dynamic_info): Warn
29606 for unsupported DF_1_* bits when DL_DEBUG_FILES is set.
29607
37db69de
MF
296082012-11-29 Mike Frysinger <vapier@gentoo.org>
29609
29610 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c (HAS_CPUCLOCK): Delete.
29611
e10c4e4f
RM
296122012-11-29 Roland McGrath <roland@hack.frob.com>
29613
29614 * inet/tst-inet6_rth.c (do_test): Use a union rather than type punning.
29615
2af1b328
JL
296162012-11-28 Jeff Law <law@redhat.com>
29617
29618 [BZ #13761]
29619 * nscd/grpcache.c (cache_addgr): Rename alloca_used to
29620 dataset_temporary. Track alloca usage into alloca_used.
29621 If dataset is large allocate and release it via malloc/free.
29622
111db5b1
FW
296232012-06-04 Florian Weimer <fweimer@redhat.com>
29624
f06cc227 29625 [BZ #14197]
111db5b1
FW
29626 * debug/test-strcpy_chk.c: Mention __chk_fail ABI test.
29627
dd694abd
DM
296282012-11-28 David S. Miller <davem@davemloft.net>
29629
29630 * sysdeps/sparc/fpu/libm-test-ulps: Update.
29631
9984dd01
JM
296322012-11-28 Joseph Myers <joseph@codesourcery.com>
29633
29634 [BZ #14803]
29635 * sysdeps/ieee754/ldbl-96/e_asinl.c (pio2_hi): Use hex float value
29636 of pi/2 rounded to nearest to 64 bits.
29637 (pio2_lo): Use hex float value of pi/2 - pio2_hi rounded to
29638 nearest to 64 bits.
29639 (pio4_hi): Use hex float value of pi/4 rounded to nearest to 64
29640 bits.
29641
14bc93a9
JL
296422012-11-28 Jeff Law <law@redhat.com>
29643 Martin Osvald <mosvald@redhat.com>
29644
29645 [BZ #14889]
29646 * sunrpc/rpc/svc.h (__svc_accept_failed): New prototype.
29647 * sunrpc/svc.c: Include time.h.
29648 (__svc_accept_failed): New function.
29649 * sunrpc/svc_tcp.c (rendezvous_request): If the accept fails for
29650 any reason other than EINTR, call __svc_accept_failed.
29651 * sunrpc/svc_udp.c (svcudp_recv): Similarly.
29652 * sunrpc/svc_unix.c (rendezvous_request): Similarly.
29653
e3c6aa3a
AS
296542012-11-28 Andreas Schwab <schwab@suse.de>
29655
29656 * scripts/abilist.awk: Also handle indirect functions in .opd
29657 section.
29658
1bead169
JM
296592012-11-28 Joseph Myers <joseph@codesourcery.com>
29660
29661 [BZ #13881]
29662 * sysdeps/x86/fpu/powl_helper.c: New file.
29663 * sysdeps/x86/fpu/Makefile: Likewise.
29664 * sysdeps/i386/fpu/e_powl.S (limit): Remove object.
29665 (p3): New object.
29666 (__ieee754_powl): Use __powl_helper for finite arguments except
29667 integer exponents below 8.
29668 * sysdeps/x86_64/fpu/e_powl.S (limit): Remove object.
29669 (p3): New object.
29670 (__ieee754_powl): Use __powl_helper for finite arguments except
29671 integer exponents below 8.
29672 * math/libm-test.inc (pow_test): Add more tests and enable some
29673 previously disabled tests.
29674 * sysdeps/i386/fpu/libm-test-ulps: Update.
29675 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29676
0817d63d
SP
296772012-11-28 Siddhesh Poyarekar <siddhesh@redhat.com>
29678 Carlos O'Donell <carlos_odonell@mentor.com>
29679
29680 * nss/makedb.c (is_prime): Assert that input is odd and greater
29681 than 4. Note that fact in a comment too.
29682 (next_prime): Add 4 to input.
29683
de2fd463
SP
296842012-11-27 Siddhesh Poyarekar <siddhesh@redhat.com>
29685
29686 [BZ #11741]
29687 * libio/Makefile (tests): Add test case tst-fwrite-error.
29688 * libio/iofwrite.c (_IO_fwrite): Return 0 on EOF.
29689 * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
29690 * libio/tst-fwrite-error.c: New test case.
29691
c515fb51
L
296922012-11-26 H.J. Lu <hongjiu.lu@intel.com>
29693
29694 * elf/dl-load.c (_dl_map_object_from_fd): Cast to uintptr_t
29695 before casting to void *.
29696 * include/libc-internal.h (__pointer_type): New macro.
29697 (__integer_if_pointer_type_sub): Likewise.
29698 (__integer_if_pointer_type): Likewise.
29699 (cast_to_integer): Likewise.
29700 * sysdeps/x86_64/bits/atomic.h: Include <libc-internal.h>.
29701 (__arch_c_compare_and_exchange_val_64_acq): Use cast_to_integer
29702 before casting to atomic64_t.
29703 (atomic_exchange_acq): Likewise.
29704 (__arch_exchange_and_add_body): Likewise.
29705 (__arch_add_body): Likewise.
29706 (atomic_add_negative): Likewise.
29707 (atomic_add_zero): Likewise.
29708
4cf77aa9
JM
297092012-11-26 Joseph Myers <joseph@codesourcery.com>
29710
29711 * sysdeps/generic/unwind-dw2-fde.c (get_pc_begin): New function.
29712 (fde_unencoded_compare): Use get_pc_begin instead of type-punning.
29713 (add_fdes): Likewise.
29714 (linear_search_fdes): Likewise.
29715 (binary_search_unencoded_fdes): Likewise.
29716
d260b3b4
AS
297172012-11-26 Andreas Schwab <schwab@linux-m68k.org>
29718
29719 * elf/sotruss.ksh: Correctly locate argument of -F and -T options.
29720
67060746
AC
297212012-11-24 Adam Conrad <adconrad@0c3.net>
29722
29723 * configure.in: Autodetect C++ header directories.
29724 * configure: Regenerated.
29725
800938a1
MF
297262012-11-23 Mike Frysinger <vapier@gentoo.org>
29727
29728 * elf/Makefile ($(objpfx)ld.so): Change readelf to $(READELF).
29729
4e6e34e6
AS
297302012-11-23 Andreas Schwab <schwab@linux-m68k.org>
29731
29732 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
29733
7c7feb47
JM
297342012-11-22 Joseph Myers <joseph@codesourcery.com>
29735
7184dcdf
JM
29736 * math/libm-test.inc (fma_test_towardzero) [TEST_LDOUBLE &&
29737 LDBL_MANT_DIG == 106]: Disable some tests.
29738 (fma_test_downward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
29739 Likewise.
29740 (fma_test_upward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
29741 Likewise.
29742
0a42601f
JM
29743 [BZ #14871]
29744 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Return the
29745 input for small inputs. Return +/- pi/2 for large inputs.
29746 * math/libm-test.inc (atan_test): Add more tests.
29747
79c9b9fe
JM
29748 * sysdeps/generic/unwind-dw2-fde-glibc.c
29749 (_Unwind_IteratePhdrCallback): Declare P_DYNAMIC with
29750 __attribute__ ((unused)).
29751
c60d3bf2
JM
29752 [BZ #14645]
29753 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Compute result as
29754 x * y if x and y are nonzero and z is zero.
29755
ef1e0867
JM
29756 [BZ #14811]
29757 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Saturate
29758 nonzero exponents with absolute value below 0x1p-117 to +/-
29759 0x1p-117.
29760
1468ded3
JM
29761 [BZ #14869]
29762 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Scale
29763 up arguments below 2**-450, not just those below 2**-500.
29764 * math/libm-test.inc (hypot_test): Add another test.
29765
8e27e3cc
JM
29766 [BZ #14868]
29767 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
29768 Return a+b for ratio over 2**120, not 2**60.
29769 * math/libm-test.inc (hypot_test): Add another test.
29770
c9c0279b
JM
29771 * math/libm-test.inc (clog_test): Use
29772 UNDERFLOW_EXCEPTION_LDOUBLE_IBM on two tests.
29773 (clog10_test): Likewise.
29774
7c7feb47
JM
29775 [BZ #6778]
29776 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (big): Change to 1e290L.
29777
fff1530e
AS
297782012-11-22 Andreas Schwab <schwab@suse.de>
29779
29780 * sysdeps/i386/fpu/libm-test-ulps: Update.
29781
94558d30
PT
297822012-11-22 Pino Toscano <toscano.pino@tiscali.it>
29783
29784 * sysdeps/x86_64/multiarch/test-multiarch.c (get_cpuinfo): Terminate
29785 printf output with newline.
29786
7e1be741
L
297872012-11-21 H.J. Lu <hongjiu.lu@intel.com>
29788
6bfea974
L
29789 [BZ #14865]
29790 * aclocal.m4 (LIBC_LINKER_FEATURE): New macro.
29791 * configure.in: Use LIBC_LINKER_FEATURE to check -z nodelete,
29792 -z nodlopen, -z initfirst and -z execstack support.
29793 * configure: Regenerated.
29794
7e1be741
L
29795 * elf/elf.h (DF_1_NODIRECT): New macro.
29796 (DF_1_IGNMULDEF): Likewise.
29797 (DF_1_NOKSYMS): Likewise.
29798 (DF_1_NOHDR): Likewise.
29799 (DF_1_EDITED): Likewise.
29800 (DF_1_NORELOC): Likewise.
29801 (DF_1_SYMINTPOSE): Likewise.
29802 (DF_1_GLOBAUDIT): Likewise.
29803 (DF_1_SINGLETON): Likewise.
29804 * elf/get-dynamic-info.h (elf_get_dynamic_info): Assert
29805 DT_1_SUPPORTED_MASK bits.
29806 * include/elf.h (DT_1_SUPPORTED_MASK): New macro.
29807
105ce2ce
CD
298082012-11-20 Carlos O'Donell <carlos_odonell@mentor.com>
29809
29810 * sysdeps/unix/make-syscalls.sh: Document prefixes.
29811
123be9de
TS
298122012-11-20 Thomas Schwinge <thomas@codesourcery.com>
29813
d072f3f7
TS
29814 * sysdeps/sh/dl-machine.h (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): New
29815 macro.
29816
123be9de
TS
29817 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr, recvmmsg)
29818 (sendmmsg): Move declarations...
29819 * socket/sys/socket.h: ... here.
29820 * sysdeps/unix/sysv/linux/recvmmsg.c [!defined __NR_recvmmsg &&
29821 !defined __NR_socketcall] (recvmmsg): Move ENOSYS stub into and
29822 include it from...
29823 * socket/recvmmsg.c: ... this new file.
29824 * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SENDMMSG]
29825 (sendmmsg): Rename to __sendmmsg, create weak alias and make
29826 definition of __sendmmsg hidden.
29827 * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
29828 [!defined __NR_sendmmsg && !defined __NR_socketcall] (sendmmsg):
29829 Move ENOSYS stub into and include it from...
29830 * socket/sendmmsg.c: ... this new file.
29831 * sysdeps/unix/sysv/linux/Makefile [subdir=socket]
29832 (sysdep_routines): Move recvmmsg and sendmmsg...
29833 * socket/Makefile (routines): ... here.
29834 * socket/Versions (GLIBC_2.17): Add recvmmsg and sendmmsg.
29835 (GLIBC_PRIVATE): Add __sendmmsg.
29836 * include/sys/socket.h (__sendmmsg): Add declarations.
29837 * resolv/res_send.c (send_dg): Invoke __sendmmsg instead of
29838 sendmmsg.
29839
cf9a5d18
JM
298402012-11-20 Joseph Myers <joseph@codesourcery.com>
29841
29842 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Mark
29843 variable I1 with __attribute__ ((unused)).
29844 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
29845
ecd4caf9
JM
298462012-11-19 Joseph Myers <joseph@codesourcery.com>
29847
be14d48f
JM
29848 * stdio-common/_itowa.c (_itowa) [BITS_PER_MP_LIMB == 64]: Declare
29849 DUMMY variables with __attribute__ ((unused)).
29850
ecd4caf9
JM
29851 * bits/byteswap.h: Include <bits/types.h>.
29852 (__bswap_64): Use __uint64_t instead of unsigned long long int.
29853
986cab95
PT
298542012-11-19 Pino Toscano <toscano.pino@tiscali.it>
29855
29856 * sysdeps/mach/hurd/ptsname.c (ptsname): Change the type of PEERNAME to
29857 string_t. Do not manually set errno.
29858 (__ptsname_r): Change the type of PEERNAME to string_t, and check its
29859 length with __strnlen. Make sure to both set errno and return it on
29860 failure.
29861
6d33cc9d
DM
298622012-11-19 David S. Miller <davem@davemloft.net>
29863
29864 With help from Joseph Myers.
29865 * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Handle tiny and
29866 very large arguments properly.
29867 * math/libm-test.inc (atan_test): New tests.
29868 (atan2_test): New tests.
29869 * sysdeps/sparc/fpu/libm-test-ulps: Update.
29870 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
29871
ee663277
JM
298722012-11-19 Joseph Myers <joseph@codesourcery.com>
29873
877f2d8e
JM
29874 [BZ #14856]
29875 * posix/bits/posix1_lim.h [!__USE_XOPEN2K] (_POSIX_TZNAME_MAX):
29876 Define to 3.
29877
116fc08a
JM
29878 * conform/data/errno.h-data [POSIX] (EADDRINUSE): Do not expect.
29879 [POSIX] (EADDRNOTAVAIL): Likewise.
29880 [POSIX] (EAFNOSUPPORT): Likewise.
29881 [POSIX] (EALREADY): Likewise.
29882 [POSIX] (ECONNABORTED): Likewise.
29883 [POSIX] (ECONNREFUSED): Likewise.
29884 [POSIX] (ECONNRESET): Likewise.
29885 [POSIX] (EDESTADDRREQ): Likewise.
29886 [POSIX] (EDQUOT): Likewise.
29887 [POSIX] (EHOSTUNREACH): Likewise.
29888 [POSIX] (EIDRM): Likewise.
29889 [POSIX] (EISCONN): Likewise.
29890 [POSIX] (ELOOP): Likewise.
29891 [POSIX] (EMULTIHOP): Likewise.
29892 [POSIX] (ENETDOWN): Likewise.
29893 [POSIX] (ENETUNREACH): Likewise.
29894 [POSIX] (ENOBUFS): Likewise.
29895 [POSIX] (ENODATA): Likewise.
29896 [POSIX] (ENOLINK): Likewise.
29897 [POSIX] (ENOMSG): Likewise.
29898 [POSIX] (ENOPROTOOPT): Likewise.
29899 [POSIX] (ENOSR): Likewise.
29900 [POSIX] (ENOSTR): Likewise.
29901 [POSIX] (ENOTCONN): Likewise.
29902 [POSIX] (ENOTSOCK): Likewise.
29903 [POSIX] (EOPNOTSUPP): Likewise.
29904 [POSIX] (EOVERFLOW): Likewise.
29905 [POSIX] (EPROTO): Likewise.
29906 [POSIX] (EPROTONOSUPPORT): Likewise.
29907 [POSIX] (EPROTOTYPE): Likewise.
29908 [POSIX] (ESTALE): Likewise.
29909 [POSIX] (ETIME): Likewise.
29910 [POSIX] (ETXTBSY): Likewise.
29911 [POSIX] (EWOULDBLOCK): Likewise.
29912 [!ISO && !ISO99 && !ISO11] (E*): Do not allow.
29913 * conform/data/fcntl.h-data [POSIX] (SEEK_SET): Allow.
29914 [POSIX] (SEEK_CUR): Likewise.
29915 [POSIX] (SEEK_END): Likewise.
29916 [POSIX || UNIX98] (mode_t): Do not require.
29917 [POSIX] (off_t): Likewise.
29918 [POSIX] (pid_t): Likewise.
29919 [POSIX] (sys/stat.h): Do not allow header.
29920 [POSIX] (unistd.h): Likewise.
29921 [!ISO && !ISO99 && !ISO11] (timespec): Do not allow.
29922 [!ISO && !ISO99 && !ISO11] (tv_nsec): Likewise.
29923 [!ISO && !ISO99 && !ISO11] (tv_sec): Likewise.
29924 * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Do not
29925 require.
29926 * conform/data/mqueue.h-data [!ISO && !ISO99 && !ISO11] (struct
29927 sigevent): Specify elements.
29928 [XOPEN2K8 || POSIX2008] (struct sigevent): Remove duplicate type
29929 entry.
29930 [!ISO && !ISO99 && !ISO11] (mq_*): Allow.
29931 [!ISO && !ISO99 && !ISO11] (MQ_*): Likewise.
29932
a483863f
JM
29933 * conform/data/cpio.h-data [POSIX]: Disable whole file.
29934 * conform/data/glob.h-data [POSIX] (GLOB_NOSYS): Do not expect.
29935 * conform/data/limits.h-data [!ISO && !ISO99 && !ISO11]
29936 (AIO_LIST_MAX): Change to AIO_LISTIO_MAX.
29937 [!ISO && !ISO99 && !ISO11] (ATEXT_MAX): Remove.
29938 [!ISO && !ISO99 && !ISO11 && !POSIX && !XPG3] (ATEXIT_MAX): Allow.
29939 [POSIX || POSIX2008 || XPG3] (IOV_MAX): Do not allow.
29940 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Likewise.
29941 [!ISO && !ISO99 && !ISO11] (MQ_PRIO_MAX): Allow.
29942 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Remove duplicate entry.
29943 [POSIX || XPG3 || XPG4 || UNIX98] (SS_REPL_MAX): Do not allow.
29944 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLOOP_MAX): Likewise.
29945 [POSIX || XPG3 || XPG4] (FILESIZEBITS): Likewise.
29946 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_ALLOC_SIZE_MIN):
29947 Likewise.
29948 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_INCR_XFER_SIZE):
29949 Likewise.
29950 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_MAX_XFER_SIZE):
29951 Likewise.
29952 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_XFER_ALIGN):
29953 Likewise.
29954 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLINK_MAX): Likewise.
29955 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SS_REPL_MAX): Likewise.
29956 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLINK_MAX): Likewise.
29957 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLOOP_MAX): Likewise.
29958 [!ISO && !ISO99 && !ISO11] (BC_BASE_MAX): Use macro-constant.
29959 Specify lower bound on value.
29960 [!ISO && !ISO99 && !ISO11] (BC_DIM_MAX): Likewise.
29961 [!ISO && !ISO99 && !ISO11] (BC_SCALE_MAX): Likewise.
29962 [!ISO && !ISO99 && !ISO11] (BC_STRING_MAX): Likewise.
29963 [!ISO && !ISO99 && !ISO11] (COLL_WEIGHTS_MAX): Likewise.
29964 [!ISO && !ISO99 && !ISO11] (EXPR_NEST_MAX): Likewise.
29965 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Likewise
29966 [POSIX || XPG3 || XPG4] (CHARCLASS_NAME_MAX): Do not allow.
29967 [!ISO && !ISO99 && !ISO11] (_POSIX_CLOCKRES_MIN): Specify exact
29968 value.
29969 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_LISTIO_MAX): Do not specify
29970 as optional.
29971 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_MAX): Likewise.
29972 [!ISO && !ISO99 && !ISO11] (_POSIX_ARG_MAX): Likewise.
29973 [!ISO && !ISO99 && !ISO11] (_POSIX_CHILD_MAX): Likewise.
29974 [!ISO && !ISO99 && !ISO11] (_POSIX_DELAYTIMER_MAX): Likewise.
29975 [!ISO && !ISO99 && !ISO11] (_POSIX_LINK_MAX): Likewise.
29976 [!ISO && !ISO99 && !ISO11] (_POSIX_LOGIN_NAME_MAX): Likewise.
29977 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_CANON): Likewise.
29978 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_INPUT): Likewise.
29979 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_OPEN_MAX): Likewise.
29980 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_PRIO_MAX): Likewise.
29981 [!ISO && !ISO99 && !ISO11] (_POSIX_NAME_MAX): Likewise.
29982 [!ISO && !ISO99 && !ISO11] (_POSIX_NGROUPS_MAX): Likewise.
29983 [!ISO && !ISO99 && !ISO11] (_POSIX_OPEN_MAX): Likewise.
29984 [!ISO && !ISO99 && !ISO11] (_POSIX_PATH_MAX): Likewise.
29985 [!ISO && !ISO99 && !ISO11] (_POSIX_PIPE_BUF): Likewise.
29986 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Remove duplicate
29987 entry.
29988 [!ISO && !ISO99 && !ISO11] (_POSIX_RTSIG_MAX): Do not specify as
29989 optional.
29990 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_NSEMS_MAX): Likewise.
29991 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_VALUE_MAX): Likewise.
29992 [!ISO && !ISO99 && !ISO11] (_POSIX_SIGQUEUE_MAX): Likewise.
29993 [!ISO && !ISO99 && !ISO11] (_POSIX_SSIZE_MAX): Likewise.
29994 [!ISO && !ISO99 && !ISO11] (_POSIX_STREAM_MAX): Likewise.
29995 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_DESTRUCTOR_ITERATIONS):
29996 Likewise.
29997 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_KEYS_MAX): Likewise.
29998 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_THREADS_MAX): Likewise.
29999 [!ISO && !ISO99 && !ISO11] (_POSIX_TIMER_MAX): Likewise.
30000 [!ISO && !ISO99 && !ISO11] (_POSIX_TTY_NAME_MAX): Likewise.
30001 [!ISO && !ISO99 && !ISO11] (_POSIX_TZNAME_MAX): Likewise. Give
30002 value as 3 for [POSIX || XPG3 || XPG4 || UNIX98].
30003 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_BASE_MAX): Do not specify
30004 as optional.
30005 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_DIM_MAX): Likewise.
30006 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_SCALE_MAX): Likewise.
30007 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_STRING_MAX): Likewise.
30008 [!ISO && !ISO99 && !ISO11] (_POSIX2_CHARCLASS_NAME_MAX):
30009 Likewise. Do not allow for [POSIX || XPG3 || XPG4 || UNIX98].
30010 [!ISO && !ISO99 && !ISO11] (_POSIX2_COLL_WEIGHTS_MAX): Do not
30011 specify as optional.
30012 [!ISO && !ISO99 && !ISO11] (_POSIX2_EXPR_NEST_MAX): Likewise.
30013 [!ISO && !ISO99 && !ISO11] (_POSIX2_LINE_MAX): Likewise.
30014 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Likewise.
30015 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Do not allow.
30016 [POSIX || XPG3] (NL_ARGMAX): Do not allow.
30017 [XPG3] (NL_LANGMAX): Likewise.
30018 [POSIX || XPG3] (NL_MSGMAX): Likewise.
30019 [POSIX || XPG3] (NL_NMAX): Likewise.
30020 [POSIX || XPG3] (NL_SETMAX): Likewise.
30021 [POSIX || XPG3] (NL_TEXTMAX): Likewise.
30022 [XPG3] (NZERO): Likewise.
30023 [XPG4 || UNIX98] (TMP_MAX): Only enable for these conditions.
30024 [POSIX || XPG3 || XPG4 || UNIX98] (*_MIN): Do not allow.
30025 [!ISO && !ISO99 && !ISO11] (*_t): Allow.
30026 * conform/data/regex.h-data [!ISO && !ISO99 && !ISO11]
30027 (REG_ERANGE): Expect.
30028 * conform/data/stdio.h-data [POSIX] (L_cuserid): Use
30029 optional-constant.
30030 [POSIX || XOPEN2K || XOPEN2K8 || POSIX2008] (getchar_unlocked):
30031 Use (void) in prototype.
30032 [POSIX] (*_t): Allow.
30033 * conform/data/sys/times.h-data [POSIX]: Enable whole file.
30034 * conform/data/wordexp.h-data [!ISO && !ISO99 && !ISO11]
30035 (WRDE_BADVAL): Expect.
30036
5ba924e3
JM
30037 * conform/data/fcntl.h-data [XPG3 || XPG4] (O_DSYNC): Do not
30038 expect.
30039 [XPG3 || XPG4] (O_RSYNC): Likewise.
30040 * conform/data/signal.h-data [XPG3 || XPG4] (pthread_kill):
30041 Likewise.
30042 [XPG3 || XPG4] (pthread_sigmask): Likewise.
30043 [XPG3 || XPG4] (sigqueue): Likewise.
30044 [XPG3 || XPG4] (sigtimedwait): Likewise.
30045 [XPG3 || XPG4] (sigwaitinfo): Likewise.
30046 * conform/data/stdio.h-data [XPG3 || XPG4] (snprintf): Likewise.
30047 [XPG3 || XPG4] (vsnprintf): Likewise.
30048 * conform/data/sys/stat.h-data [XPG3 || XPG4] (blkcnt_t):
30049 Likewise.
30050 [XPG3 || XPG4] (blksize_t): Likewise.
30051 * conform/data/time.h-data [XPG3 || XPG4] (struct timespec):
30052 Likewise.
30053 [XPG3 || XPG4] (CLOCK_PROCESS_CPUTIME_ID): Likewise.
30054 [XPG3 || XPG4] (CLOCK_THREAD_CPUTIME_ID): Likewise.
30055 [XPG3 || XPG4] (struct itimerspec): Likewise.
30056 [XPG3 || XPG4] (CLOCK_REALTIME): Likewise.
30057 [XPG3 || XPG4] (TIMER_ABSTIME): Likewise.
30058 [XPG3 || XPG4] (CLOCK_MONOTONIC): Likewise.
30059 [XPG3 || XPG4] (clockid_t): Likewise.
30060 [XPG3 || XPG4] (timer_t): Likewise.
30061 [XPG3 || XPG4] (clock_getres): Likewise.
30062 [XPG3 || XPG4] (clock_gettime): Likewise.
30063 [XPG3 || XPG4] (clock_settime): Likewise.
30064 [XPG3 || XPG4] (nanosleep): Likewise.
30065 [XPG3 || XPG4] (timer_create): Likewise.
30066 [XPG3 || XPG4] (timer_delete): Likewise.
30067 [XPG3 || XPG4] (timer_gettime): Likewise.
30068 [XPG3 || XPG4] (timer_getoverrun): Likewise.
30069 [XPG3 || XPG4] (timer_settime): Likewise.
30070 * conform/data/unistd.h-data [XPG3 || XPG4] (fdatasync): Likewise.
30071 [XPG3 || XPG4] (getlogin_r): Likewise.
30072 [XPG3 || XPG4] (pread): Likewise.
30073 [XPG3 || XPG4] (pthread_atfork): Likewise.
30074 [XPG3 || XPG4] (pwrite): Likewise.
30075
ee663277
JM
30076 [BZ #14835]
30077 * signal/signal.h [__USE_XOPEN_EXTENDED]: Include
30078 <bits/siginfo.h>.
30079
942caa16
PT
300802012-11-19 Pino Toscano <toscano.pino@tiscali.it>
30081
e19af380
PT
30082 * malloc/mtrace.c (muntrace): Reset MALLSTREAM and the hooks before
30083 finalizing MALLSTREAM.
30084
942caa16
PT
30085 * sysdeps/mach/hurd/syncfs.c: New file.
30086
cfde9b46
SP
300872012-11-19 Siddhesh Poyarekar <siddhesh@redhat.com>
30088
30089 [BZ #14719]
30090 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Set h_errno to
30091 NETDB_INTERNAL when NSS_STATUS_UNAVAIL.
30092 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Set
30093 h_errno to NETDB_INTERNAL when errno is EMFILE or ENFILE.
30094 (_nss_dns_gethostbyname4_r): Likewise.
30095 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set result to
30096 EAI_SYSTEM if NSS_STATUS_UNAVAIL.
30097
f6da27e5
PH
300982012-11-19 Peng Haitao <penght@cn.fujitsu.com>
30099
30100 [BZ #13763]
30101 * sunrpc/bindrsvprt.c: Add lock to protect static variable.
30102
6665d4a2
SM
301032012-11-19 Steve McIntyre <steve.mcintyre@linaro.org>
30104
1f51ee92
SM
30105 * sysdeps/generic/ldconfig.h (FLAG_AARCH64_LIB64): New macro.
30106 * elf/cache.c (print_entry): Print ",AArch64" for
30107 FLAG_AARCH64_LIB64
30108
6665d4a2
SM
30109 * sysdeps/generic/ldconfig.h (FLAG_ARM_LIBHF): New macro.
30110 * elf/cache.c (print_entry): Print ",hard-float" for
30111 FLAG_ARM_LIBHF.
30112
05b227bd
DM
301132012-11-18 David S. Miller <davem@davemloft.net>
30114
30115 With help from Joseph Myers.
30116 * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Adjust tinyness
30117 cutoff to 2**-13.
30118 * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Adjust tinyness
30119 cutoff to 2**-25.
30120 * sysdeps/ieee754/ldbl-128/e_j0l.c (U0): New constant.
30121 ( __ieee754_y0l): Avoid arithmetic underflow when 'x' is very
30122 small.
30123 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
30124 * math/libm-test.inc (y0_test): New tests.
30125 (y1_test): New tests.
30126 * sysdeps/i386/fpu/libm-test-ulps: Update.
30127 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
30128 * sysdeps/sparc/fpu/libm-test-ulps: Update.
30129
786b0b67
AS
301302012-11-18 Andreas Schwab <schwab@linux-m68k.org>
30131
30132 * configure.in (libc_cv_ld_gnu_indirect_function): Use .quad on
30133 64-bit targets.
30134 * configure: Regenerated.
30135
8e18b86d
DM
301362012-11-17 David S. Miller <davem@davemloft.net>
30137
30138 [BZ #14811]
30139 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Saturate
30140 nonzero exponents with absolute value below 0x1p-128 to +/-
30141 0x1p-128.
30142
531f1ae0
JM
301432012-11-17 Joseph Myers <joseph@codesourcery.com>
30144
12df29e2
JM
30145 * sysdeps/unix/sysv/linux/fxstatat.c: Include <string.h>.
30146
150dc1a0
JM
30147 * elf/dl-runtime.c [!ELF_MACHINE_NO_PLT]: Make code unconditional.
30148
531f1ae0
JM
30149 * posix/getconf-speclist.c: New file.
30150 * posix/posix-envs.def: Likewise.
30151 * posix/confstr.c (START_ENV_GROUP): New macro.
30152 (END_ENV_GROUP): Likewise.
30153 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
30154 (KNOWN_PRESENT_ENV_STRING): Likewise.
30155 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
30156 (UNKNOWN_ENVIRONMENT): Likewise.
30157 (confstr): Include posix-envs.def instead of handling
30158 _CS_V7_WIDTH_RESTRICTED_ENVS, _CS_V6_WIDTH_RESTRICTED_ENVS and
30159 _CS_V5_WIDTH_RESTRICTED_ENVS directly here.
30160 * sysdeps/posix/sysconf.c (START_ENV_GROUP): New macro.
30161 (END_ENV_GROUP): Likewise.
30162 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
30163 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
30164 (UNKNOWN_ENVIRONMENT): Likewise.
30165 (__sysconf): Include posix-envs.def instead of handling associated
30166 cases directly here.
30167 * posix/Makefile ($(objpfx)getconf.speclist): Generate by
30168 preprocessing getconf-speclist.c rather than running getconf or
30169 generating empty file.
30170
a93f9cbc
PT
301712012-11-16 Pino Toscano <toscano.pino@tiscali.it>
30172
30173 * scripts/check-local-headers.sh: Ignore 'mach' headers.
30174
d64d9f87
AL
301752012-11-16 Andrej Lajovic <natrij@gmail.com>
30176
30177 [BZ #14672]
30178 * iconv/iconv_prog.c (main): Fix -c handling of '/'.
30179
447885eb
DM
301802012-11-16 David S. Miller <davem@davemloft.net>
30181
30182 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): If xm1 is
30183 smaller than LDBL_EPSILON/2.0L, just return xm1.
30184
bcbf9830
L
301852012-11-16 H.J. Lu <hongjiu.lu@intel.com>
30186
30187 * elf/tst-array1.c (init): Set constructor priority to 1000.
30188 (fini): Set destructor priority to 1000.
30189 * elf/tst-array2dep.c: Likewise.
30190
2b766585
SP
301912012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
30192
30193 [BZ #11741]
30194 * libio/fileops.c (_IO_new_file_write): Correctly return error.
30195 (_IO_new_file_xsputn): Also return EOF if none of the input
30196 data was written when overflow failed.
30197 * libio/iopadn.c (_IO_padn): Likewise.
30198 * libio/iowpadn.c (_IO_wpadn): Likewise.
30199 * stdio-common/tst-put-error.c: Add copyright notice.
30200 (do_test): Add case for printing padded string.
30201 * stdio-common/vfprintf [!COMPILE_WPRINTF] (PAD): Flag error if
30202 _IO_padn returned error.
30203 [COMPILE_WPRINTF] (PAD): Flag error if _IO_wpadn returned error.
30204 * libio/libioP.h (_IO_xsputn_t): Note in comment that xsputn can
30205 return EOF.
30206
b1848fde
SP
302072012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
30208
30209 * libio/libioP.h: Add comment note that the references to C++
30210 bits are now obsolete.
30211
2fd89785
MS
302122012-11-15 Marcus Shawcroft <marcus.shawcroft@linaro.org>
30213
30214 * math/libm-test.inc (check_complex): Use asprintf.
30215
e3ea5409
JM
302162012-11-14 Joseph Myers <joseph@codesourcery.com>
30217
30218 * debug/pcprofiledump.c (print_version): Update copyright year.
30219 * malloc/memusagestat.c (print_version): Likewise.
30220
2e64d265
L
302212012-11-14 H.J. Lu <hongjiu.lu@intel.com>
30222
30223 [BZ #14831]
30224 * elf/Makefile (tests): Add tst-audit8.
30225 ($(objpfx)tst-audit8): Also depend on $(common-objpfx)math/libm.so.
30226 ($(objpfx)tst-audit8.out): New target.
30227 (tst-audit8-ENV): New variable.
30228 * elf/dl-runtime.c (_dl_profile_fixup): Call _dl_fixup to skip
30229 audit if l_reloc_result is NULL.
30230 (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): Issue an error if it isn't
30231 defined and ELF_MACHINE_RUNTIME_FIXUP_ARGS is defined.
30232 * elf/tst-audit8.c: New file.
30233
c485e4d2
MS
302342012-11-14 Marcus Shawcroft <marcus.shawcroft@linaro.org>
30235
30236 * io/Makefile (CFLAGS-open.c, CFLAGS-open64.c): Define.
30237 * misc/Makefile (CFLAGS-select.c): Define.
30238 * posix/Makefile (CFLAGS-pause.c): Define.
30239
3a0d900a
DM
302402012-11-13 David S. Miller <davem@davemloft.net>
30241
30242 * crypt/Makefile: Move test targets after toplevel Rules
30243 inclusion. Grab any necessary sysdep routines when linking.
30244 * crypt/md5.c (md5_process_block): Remove define, we will always
30245 name it __md5_process_block.
30246 (md5_finish_ctx): Update md5_process_block call.
30247 (md5_stream): Likewise.
30248 (md5_process_bytes): Likewise.
30249 (md5_process_block): Rename to __md5_process_block and move to ...
30250 * crypt/md5-block.c: ... here.
30251 * crypt/sha256.c (sha256_process_block): Move to ...
30252 * crypt/sha256-block.c: ... here.
30253 * crypt/sha512.c (sha512_process_block): Move to ...
30254 * crypt/sha512-block.c: ... here.
30255 * locale/Makefile (CFLAGS-md5.c): Define to add crypt/ to include
30256 path.
30257 * sysdeps/sparc/sparc-ifunc.c (sparc_libc_ifunc): Define.
30258 * sysdeps/sparc/sparc64/multiarch/Makefile
30259 (libcrypt-sysdep_routines): Add crypto assembler sysdeps when in
30260 crypt subdir.
30261 (localedef-aux): Add md5 crypto assembler when in locale subdir.
30262 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Mirror sparc64
30263 multiarch changes.
30264 * sysdeps/sparc/sparc64/multiarch/md5-block.c: New file.
30265 * sysdeps/sparc/sparc64/multiarch/md5-crop.S: New file.
30266 * sysdeps/sparc/sparc64/multiarch/sha256-block.c: New file.
30267 * sysdeps/sparc/sparc64/multiarch/sha256-crop.S: New file.
30268 * sysdeps/sparc/sparc64/multiarch/sha512-block.c: New file.
30269 * sysdeps/sparc/sparc64/multiarch/sha512-crop.S: New file.
30270 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-block.c: New file.
30271 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-crop.S: New file.
30272 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-block.c: New
30273 file.
30274 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-crop.S: New file.
30275 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-block.c: New
30276 file.
30277 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-crop.S: New file.
30278
8ca89318
JM
302792012-11-13 Joseph Myers <joseph@codesourcery.com>
30280
e27d476a
JM
30281 * timezone/tzselect.ksh: Update from tzcode git revision
30282 a435f9f0ecafa56d9e0263835836bd0c64cd7307.
30283 * timezone/zdump.c: Likewise.
30284 * timezone/zic.c: Likewise.
30285 * timezone/Makefile ($(objpfx)version.h): Only include $(version)
30286 in TZVERSION setting, not $(PKGVERSION).
30287 ($(objpfx)tzselect): Likewise. Also substitute PKGVERSION and
30288 REPORT_BUGS_TO settings.
30289
8ca89318
JM
30290 [BZ #14838]
30291 * resolv/netdb.h [__USE_XOPEN_EXTENDED] (IPPORT_RESERVED): Define
30292 macro.
30293
47594329
MS
302942012-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
30295
30296 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Move underflow
30297 detection to immediately after _FP_ROUND().
30298 * soft-fp/soft-fp.h (_FP_ROUND): Don't round if working
30299 bits are 0.
30300
640ac3f1
DM
303012012-11-11 David S. Miller <davem@davemloft.net>
30302
30303 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Include
30304 inttypes.h
30305 (__get_clockfreq_via_proc_openprom): Use __open, __read, and
30306 __close rather than their public counterparts.
30307
3d2577bb
JM
303082012-11-10 Joseph Myers <joseph@codesourcery.com>
30309
30310 * conform/data/semaphore.h-data [XPG3 || XPG4]: Disable whole
30311 file.
30312 [UNIX98] (sem_timedwait): Do not expect.
30313 * conform/data/sys/socket.h-data [XPG3]: Disable whole file.
30314 [XPG4 || UNIX98] (sockatmark): Do not expect.
30315 * conform/data/time.h-data [XPG3 || XPG4 || UNIX98]
30316 (clock_getcpuclockid): Do not expect.
30317 [XPG3 || XPG4 || UNIX98] (clock_nanosleep): Do not expect.
30318 * conform/data/unistd.h-data [XPG3 || XPG4 || UNIX98] (setegid):
30319 Do not expect.
30320 [XPG3 || XPG4 || UNIX98] (seteuid): Likewise.
30321 * conform/data/wchar.h-data [UNIX98] (vfwscanf): Do not expect.
30322 [UNIX98] (vwscanf): Likewise.
30323 [UNIX98] (vswscanf): Likewise.
30324
fb1ae1ee
JM
303252012-11-09 Joseph Myers <joseph@codesourcery.com>
30326
9ec6f8bd
JM
30327 * timezone/version.h: Remove file.
30328 * timezone/README: Do not refer to version.h.
30329 * timezone/Makefile ($(objpfx)zic.o): New dependency on
30330 $(objpfx)version.h.
30331 ($(objpfx)zdump.o): Likewise.
c3f81911 30332 ($(objpfx)version.h): New target.
9ec6f8bd 30333
0aa8f8a1
JM
30334 * timezone/tzselect.ksh: Change to verbatim copy from tzcode
30335 2012i.
30336 * timezone/README: Don't mention modification to tzselect.ksh.
30337 * timezone/Makefile ($(objpfx)tzselect): Update substitutions to
30338 work on unmodified tzselect.ksh. Substitute version numbers in
30339 tzselect.ksh.
30340
4e87147f
JM
30341 * Makefile (format-me): Remove.
30342 (INSTALL): Adjust indentation. Use commands directly instead of
30343 using $(format-me).
30344
8b748aed
JM
30345 * aclocal.m4 (ACX_PKGVERSION): New macro.
30346 (ACX_BUGURL): Likewise.
30347 * configure.in: Use ACX_PKGVERSION and ACX_BUGURL.
30348 (PKGVERSION): New AC_DEFINE_UNQUOTED.
30349 (REPORT_BUGS_TO): Likewise.
30350 * configure: Regenerated.
30351 * config.h.in (PKGVERSION): New macro.
30352 (REPORT_BUGS_TO): Likewise.
30353 * config.make.in (PKGVERSION): New variable.
30354 (PKGVERSION_TEXI): Likewise.
30355 (REPORT_BUGS_TO): Likewise.
30356 (REPORT_BUGS_TEXI): Likewise.
30357 * Makefile (format-me): Use -I$(common-objpfx)manual.
30358 (INSTALL): Depend on $(common-objpfx)manual/pkgvers.texi.
30359 ($(common-objpfx)manual/%): New target.
30360 (manual/%): Remove target.
30361 * catgets/gencat.c (more_help): Use REPORT_BUGS_TO.
30362 (print_version): Use PKGVERSION.
30363 * csu/version.c (banner): Use PKGVERSION and REPORT_BUGS_TO.
30364 * debug/Makefile ($(objpfx)catchsegv): Also substitute PKGVERSION
30365 and REPORT_BUGS_TO.
30366 ($(objpfx)xtrace): Likewise.
30367 * debug/catchsegv.sh: Use PKGVERSION and REPORT_BUGS_TO.
30368 * debug/pcprofiledump.c (more_help): Use REPORT_BUGS_TO.
30369 (print_version): Use PKGVERSION.
30370 * debug/xtrace.sh (do_help): Use REPORT_BUGS_TO.
30371 (do_version): Use PKGVERSION.
30372 * elf/Makefile ($(objpfx)sotruss): Also substitute PKGVERSION and
30373 REPORT_BUGS_TO.
30374 (common-ldd-rewrite): Likewise.
30375 * elf/dl-close.c (_dl_close_worker): Use REPORT_BUGS_TO.
30376 * elf/ldconfig.c (more_help): Use REPORT_BUGS_TO.
30377 (print_version): Use PKGVERSION.
30378 * elf/ldd.bash.in: Use PKGVERSION and REPORT_BUGS_TO.
30379 * elf/pldd.c (argp_program_bug_address): Remove variable.
30380 (more_help): New function.
30381 (argp): Use more_help.
30382 (print_version): Use PKGVERSION.
30383 * elf/sln.c (main): Use PKGVERSION.
30384 (usage): Use REPORT_BUGS_TO.
30385 * elf/sotruss.ksh (do_help): Use REPORT_BUGS_TO.
30386 (top level): Use PKGVERSION.
30387 * elf/sprof.c (more_help): Use REPORT_BUGS_TO.
30388 (print_version): Use PKGVERSION.
30389 * iconv/iconv_prog.c (more_help): Use REPORT_BUGS_TO.
30390 (print_version): Use PKGVERSION.
30391 * iconv/iconvconfig.c (more_help): Use REPORT_BUGS_TO.
30392 (print_version): Use PKGVERSION.
30393 * locale/programs/locale.c (more_help): Use REPORT_BUGS_TO.
30394 (print_version): Use PKGVERSION.
30395 * locale/programs/localedef.c (more_help): Use REPORT_BUGS_TO.
30396 (print_version): Use PKGVERSION.
30397 * login/programs/pt_chown.c (more_help): Use REPORT_BUGS_TO.
30398 (print_version): Use PKGVERSION.
30399 * malloc/Makefile ($(objpfx)mtrace): Also substitute PKGVERSION
30400 and BUGURL.
30401 ($(objpfx)memusage): Likewise.
30402 * malloc/memusage.sh (do_help): Use REPORT_BUGS_TO.
30403 (do_version): Use PKGVERSION.
30404 * malloc/memusagestat.c (more_help): Use REPORT_BUGS_TO.
30405 (print_version): Use PKGVERSION.
30406 * malloc/mtrace.pl ($PACKAGE): Remove variable.
30407 ($PKGVERSION): New variable.
30408 ($REPORT_BUGS_TO): Likewise.
30409 (usage): Use $REPORT_BUGS_TO.
30410 (top level): Use $PKGVERSION.
30411 * manual/Makefile (libc-texi-generated): Add pkgvers.texi.
30412 ($(objpfx)pkgvers.texi): New rule.
30413 ($(objpfx)stamp-pkgvers): Likewise.
30414 * manual/install.texi: Include pkgvers.texi.
30415 (--with-pkgversion): Document new configure option.
30416 (--with-bugurl): Likewise.
30417 (Reporting Bugs): Describe Bugzilla as upstream tracker rather
30418 than necessarily for this particular distribution. Use
30419 REPORT_BUGS_TO for where to report bugs.
30420 * INSTALL: Regenerated.
30421 * manual/libc.texinfo: Include pkgvers.texi.
30422 [!PKGVERSION_DEFAULT]: Include PKGVERSION in version information.
30423 * nscd/nscd.c (more_help): Use REPORT_BUGS_TO.
30424 (print_version): Use PKGVERSION.
30425 * nss/getent.c (more_help): Use REPORT_BUGS_TO.
30426 (print_version): Use PKGVERSION.
30427 * nss/makedb.c (more_help): Use REPORT_BUGS_TO.
30428 (print_version): Use PKGVERSION.
30429 * posix/getconf.c (main): Use PKGVERSION and REPORT_BUGS_TO.
30430 * sunrpc/proto.h [IS_IN_build] (_libc_intl_domainname): Remove
30431 macro.
30432 * sunrpc/rpc_main.c (options_usage): Use REPORT_BUGS_TO.
30433 (print_version): Use PKGVERSION.
30434 * sunrpc/rpcinfo.c (usage): Use REPORT_BUGS_TO.
30435 (print_version): Use PKGVERSION.
30436 * sysdeps/unix/sysv/linux/lddlibc4.c (main): Use REPORT_BUGS_TO
30437 and PKGVERSION.
30438
92e4b6a9
JM
30439 * timezone/checktab.awk: Update from tzcode 2012i.
30440 * timezone/ialloc.c: Likewise.
30441 * timezone/private.h: Likewise.
30442 * timezone/scheck.c: Likewise.
30443 * timezone/tzfile.h: Likewise.
30444 * timezone/tzselect.ksh: Merge in changes from tzcode 2012i.
30445 (TZVERSION): Hardcode tzcode version number.
30446 * timezone/zdump.c: Update from tzcode 2012i.
30447 * timezone/zic.c: Likewise.
30448 * timezone/version.h: New file.
30449 * timezone/README: Describe version.h. Update upstream location.
30450
9bde902c
JM
30451 [BZ #14824]
30452 * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && __USE_XOPEN2K]
30453 (mktemp): Enable declaration.
30454 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (ecvt): Likewise.
30455 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (fcvt): Likewise.
30456 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (gcvt): Likewise.
30457 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qecvt):
30458 Likewise.
30459 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qfcvt):
30460 Likewise.
30461 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qgcvt):
30462 Likewise.
30463 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (ecvt_r):
30464 Likewise.
30465 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (fcvt_r):
30466 Likewise.
30467 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (gcvt_r):
30468 Likewise.
30469
fb1ae1ee
JM
30470 [BZ #14821]
30471 * sunrpc/clnt_tcp.c (clnttcp_control): Access values at fixed
30472 offset in buffer as u_int32_t not u_long. Consistently use memcpy
30473 for copies of such integer values.
30474 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
30475 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
30476
2c1adbcb
AJ
304772012-11-09 Andreas Jaeger <aj@suse.de>
30478
30479 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove all
30480 definitions and declarations that are provided by
30481 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
30482
d0f8457e
AK
304832012-11-08 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
30484
3a235abb 30485 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add "te".
d0f8457e
AK
30486 * sysdeps/s390/dl-procinfo.h (HWCAP_S390_TE): Add enum value.
30487 * sysdeps/unix/sysv/linux/s390/hwcap.h (HWCAP_S390_TE): Add macro
30488 definition.
30489
57241e26
MS
304902012-11-08 Marcus Shawcroft <marcus.shawcroft@linaro.org>
30491
30492 * elf/elf.h: Update comment before AArch64 relocations.
30493
60e8270d
DM
304942012-11-07 David S. Miller <davem@davemloft.net>
30495
30496 * sysdeps/unix/sysv/linux/sparc/sparc64/__start_context.S: New file.
30497 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
30498 (__start_context): Declare.
30499 (__makecontext_ret): Delete.
30500 (__makecontext): Hook up __start_context instead of
30501 __makecontext_ret.
30502 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
30503 (sysdep_routines): Add __start_context when in stdlib.
30504
0fbb0fbc
JM
305052012-11-07 Joseph Myers <joseph@codesourcery.com>
30506
30507 * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Pass $(NM),
30508 $(OBJDUMP) and $(READELF) to tst-xmmymm.sh.
30509 * sysdeps/x86/tst-xmmymm.sh (NM): New variable. Use it instead of
30510 hardcoded "nm".
30511 (OBJDUMP): New variable. Use it instead of hardcoded "objdump".
30512 (READELF): New variable. Use it instead of hardcoded "readelf".
30513
eb48db7e
L
305142012-11-07 H.J. Lu <hongjiu.lu@intel.com>
30515
30516 * sysdeps/x86_64/Makefile ($(objpfx)tst-xmmymm.out): Moved to ...
30517 * sysdeps/x86/Makefile: Here.
30518 * sysdeps/x86_64/tst-xmmymm.sh: Renamed to ...
30519 * sysdeps/x86/tst-xmmymm.sh: This.
30520
05bcf62a
JM
305212012-11-07 Joseph Myers <joseph@codesourcery.com>
30522
c4b6cf53
JM
30523 * conform/data/pthread.h-data [XPG3 || XPG4]: Disable all
30524 expectations.
30525 [UNIX98] (pthread_barrier_t): Do not expect.
30526 [UNIX98] (pthread_barrierattr_t): Likewise.
30527 [UNIX98] (pthread_spinlock_t): Likewise.
30528 [UNIX98] (pthread_barrier_destroy): Likewise.
30529 [UNIX98] (pthread_barrier_init): Likewise.
30530 [UNIX98] (pthread_barrier_wait): Likewise.
30531 [UNIX98] (pthread_barrierattr_destroy): Likewise.
30532 [UNIX98] (pthread_barrierattr_getpshared): Likewise.
30533 [UNIX98] (pthread_barrierattr_init): Likewise.
30534 [UNIX98] (pthread_barrierattr_setpshared): Likewise.
30535 [UNIX98] (pthread_getcpuclockid): Likewise.
30536 [UNIX98] (pthread_mutex_timedlock): Likewise.
30537 [UNIX98] (pthread_rwlock_timedrdlock): Likewise.
30538 [UNIX98] (pthread_rwlock_timedwrlock): Likewise.
30539 [UNIX98] (pthread_sigmask): Likewise.
30540 [UNIX98] (pthread_spin_destroy): Likewise.
30541 [UNIX98] (pthread_spin_init): Likewise.
30542 [UNIX98] (pthread_spin_lock): Likewise.
30543 [UNIX98] (pthread_spin_trylock): Likewise.
30544 [UNIX98] (pthread_spin_unlock): Likewise.
30545 * conform/data/sys/types.h-data [XPG3 || XPG4] (pthread_attr_t):
30546 Do not expect.
30547 [XPG3 || XPG4 || UNIX98] (pthread_barrier_t): Likewise.
30548 [XPG3 || XPG4 || UNIX98] (pthread_barrierattr_t): Likewise.
30549 [XPG3 || XPG4] (pthread_cond_t): Likewise.
30550 [XPG3 || XPG4] (pthread_condattr_t): Likewise.
30551 [XPG3 || XPG4] (pthread_key_t): Likewise.
30552 [XPG3 || XPG4] (pthread_mutex_t): Likewise.
30553 [XPG3 || XPG4] (pthread_mutexattr_t): Likewise.
30554 [XPG3 || XPG4] (pthread_once_t): Likewise.
30555 [XPG3 || XPG4] (pthread_rwlock_t): Likewise.
30556 [XPG3 || XPG4] (pthread_rwlockattr_t): Likewise.
30557 [XPG3 || XPG4 || UNIX98] (pthread_spinlock_t): Likewise.
30558 [XPG3 || XPG4] (pthread_t): Likewise.
30559
cbe6e120
JM
30560 * conform/data/stdlib.h-data [XPG3 || XPG4 || UNIX98] (setenv): Do
30561 not expect.
30562 [XPG3 || XPG4 || UNIX98] (unsetenv): Likewise.
30563
1b126443
JM
30564 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (isnan):
30565 Change function return type to int.
30566
b961a573
JM
30567 * conform/data/sys/mman.h-data [!POSIX] (POSIX_MADV_NORMAL):
30568 Change condition to [!POSIX && !XPG3 && !XPG4 && !UNIX98].
30569 [!POSIX] (POSIX_MADV_SEQUENTIAL): Likewise.
30570 [!POSIX] (POSIX_MADV_RANDOM): Likewise.
30571 [!POSIX] (POSIX_MADV_WILLNEED): Likewise.
30572 [!POSIX] (POSIX_MADV_DONTNEED): Likewise.
30573 [!POSIX] (posix_madvise): Likewise.
30574 (POSIX_TYPED_MEM_ALLOCATE): Condition on [!POSIX && !XPG3 && !XPG4
30575 && !UNIX98].
30576 (POSIX_TYPED_MEM_ALLOCATE_CONTIG): Likewise.
30577 (POSIX_TYPED_MEM_MAP_ALLOCATABLE): Likewise.
30578 (mode_t): Likewise.
30579 (posix_mem_offset): Likewise.
30580 (posix_typed_mem_get_info): Likewise.
30581 (posix_typed_mem_open): Likewise.
30582
9e188909
JM
30583 * conform/data/sys/stat.h-data [!POSIX && !POSIX2008] (mknodat):
30584 Change condition to [XOPEN2K8].
30585
05bcf62a
JM
30586 * conform/conformtest.pl: Preprocess allow-header data with -x c
30587 instead of from stdin.
30588 (@headers): Add stdalign.h, stdbool.h and stdnoreturn.h.
30589 * conform/data/complex.h-data [C99-based standards] (cerf): Allow.
30590 [C99-based standards] (cerfc): Likewise.
30591 [C99-based standards] (cexp2): Likewise.
30592 [C99-based standards] (cexpm1): Likewise.
30593 [C99-based standards] (clog10): Likewise.
30594 [C99-based standards] (clog1p): Likewise.
30595 [C99-based standards] (clog2): Likewise.
30596 [C99-based standards] (clgamma): Likewise.
30597 [C99-based standards] (ctgamma): Likewise.
30598 [C99-based standards] (cerff): Likewise.
30599 [C99-based standards] (cerfcf): Likewise.
30600 [C99-based standards] (cexp2f): Likewise.
30601 [C99-based standards] (cexpm1f): Likewise.
30602 [C99-based standards] (clog10f): Likewise.
30603 [C99-based standards] (clog1pf): Likewise.
30604 [C99-based standards] (clog2f): Likewise.
30605 [C99-based standards] (clgammaf): Likewise.
30606 [C99-based standards] (ctgammaf): Likewise.
30607 [C99-based standards] (cerfl): Likewise.
30608 [C99-based standards] (cerfcl): Likewise.
30609 [C99-based standards] (cexp2l): Likewise.
30610 [C99-based standards] (cexpm1l): Likewise.
30611 [C99-based standards] (clog10l): Likewise.
30612 [C99-based standards] (clog1pl): Likewise.
30613 [C99-based standards] (clog2l): Likewise.
30614 [C99-based standards] (clgammal): Likewise.
30615 [C99-based standards] (ctgammal): Likewise.
30616 * conform/data/inttypes.h-data [C99-based standards]: Include
30617 stdint.h-data. Remove all expectations for stdint.h contents.
30618 [C99-based standards] (PRI*): Do not allow.
30619 [C99-based standards] (SCN*): Likewise.
30620 [C99-based standards] (*_t): Likewise.
30621 [C99-based-standards] (PRId8): Expect macro.
30622 [C99-based-standards] (PRIi8): Likewise.
30623 [C99-based-standards] (PRIo8): Likewise.
30624 [C99-based-standards] (PRIu8): Likewise.
30625 [C99-based-standards] (PRIx8): Likewise.
30626 [C99-based-standards] (PRIX8): Likewise.
30627 [C99-based-standards] (SCNd8): Likewise.
30628 [C99-based-standards] (SCNi8): Likewise.
30629 [C99-based-standards] (SCNo8): Likewise.
30630 [C99-based-standards] (SCNu8): Likewise.
30631 [C99-based-standards] (SCNx8): Likewise.
30632 [C99-based-standards] (PRIdLEAST8): Likewise.
30633 [C99-based-standards] (PRIiLEAST8): Likewise.
30634 [C99-based-standards] (PRIoLEAST8): Likewise.
30635 [C99-based-standards] (PRIuLEAST8): Likewise.
30636 [C99-based-standards] (PRIxLEAST8): Likewise.
30637 [C99-based-standards] (PRIXLEAST8): Likewise.
30638 [C99-based-standards] (SCNdLEAST8): Likewise.
30639 [C99-based-standards] (SCNiLEAST8): Likewise.
30640 [C99-based-standards] (SCNoLEAST8): Likewise.
30641 [C99-based-standards] (SCNuLEAST8): Likewise.
30642 [C99-based-standards] (SCNxLEAST8): Likewise.
30643 [C99-based-standards] (PRIdFAST8): Likewise.
30644 [C99-based-standards] (PRIiFAST8): Likewise.
30645 [C99-based-standards] (PRIoFAST8): Likewise.
30646 [C99-based-standards] (PRIuFAST8): Likewise.
30647 [C99-based-standards] (PRIxFAST8): Likewise.
30648 [C99-based-standards] (PRIXFAST8): Likewise.
30649 [C99-based-standards] (SCNdFAST8): Likewise.
30650 [C99-based-standards] (SCNiFAST8): Likewise.
30651 [C99-based-standards] (SCNoFAST8): Likewise.
30652 [C99-based-standards] (SCNuFAST8): Likewise.
30653 [C99-based-standards] (SCNxFAST8): Likewise.
30654 [C99-based-standards] (PRId16): Likewise.
30655 [C99-based-standards] (PRIi16): Likewise.
30656 [C99-based-standards] (PRIo16): Likewise.
30657 [C99-based-standards] (PRIu16): Likewise.
30658 [C99-based-standards] (PRIx16): Likewise.
30659 [C99-based-standards] (PRIX16): Likewise.
30660 [C99-based-standards] (SCNd16): Likewise.
30661 [C99-based-standards] (SCNi16): Likewise.
30662 [C99-based-standards] (SCNo16): Likewise.
30663 [C99-based-standards] (SCNu16): Likewise.
30664 [C99-based-standards] (SCNx16): Likewise.
30665 [C99-based-standards] (PRIdLEAST16): Likewise.
30666 [C99-based-standards] (PRIiLEAST16): Likewise.
30667 [C99-based-standards] (PRIoLEAST16): Likewise.
30668 [C99-based-standards] (PRIuLEAST16): Likewise.
30669 [C99-based-standards] (PRIxLEAST16): Likewise.
30670 [C99-based-standards] (PRIXLEAST16): Likewise.
30671 [C99-based-standards] (SCNdLEAST16): Likewise.
30672 [C99-based-standards] (SCNiLEAST16): Likewise.
30673 [C99-based-standards] (SCNoLEAST16): Likewise.
30674 [C99-based-standards] (SCNuLEAST16): Likewise.
30675 [C99-based-standards] (SCNxLEAST16): Likewise.
30676 [C99-based-standards] (PRIdFAST16): Likewise.
30677 [C99-based-standards] (PRIiFAST16): Likewise.
30678 [C99-based-standards] (PRIoFAST16): Likewise.
30679 [C99-based-standards] (PRIuFAST16): Likewise.
30680 [C99-based-standards] (PRIxFAST16): Likewise.
30681 [C99-based-standards] (PRIXFAST16): Likewise.
30682 [C99-based-standards] (SCNdFAST16): Likewise.
30683 [C99-based-standards] (SCNiFAST16): Likewise.
30684 [C99-based-standards] (SCNoFAST16): Likewise.
30685 [C99-based-standards] (SCNuFAST16): Likewise.
30686 [C99-based-standards] (SCNxFAST16): Likewise.
30687 [C99-based-standards] (PRId32): Likewise.
30688 [C99-based-standards] (PRIi32): Likewise.
30689 [C99-based-standards] (PRIo32): Likewise.
30690 [C99-based-standards] (PRIu32): Likewise.
30691 [C99-based-standards] (PRIx32): Likewise.
30692 [C99-based-standards] (PRIX32): Likewise.
30693 [C99-based-standards] (SCNd32): Likewise.
30694 [C99-based-standards] (SCNi32): Likewise.
30695 [C99-based-standards] (SCNo32): Likewise.
30696 [C99-based-standards] (SCNu32): Likewise.
30697 [C99-based-standards] (SCNx32): Likewise.
30698 [C99-based-standards] (PRIdLEAST32): Likewise.
30699 [C99-based-standards] (PRIiLEAST32): Likewise.
30700 [C99-based-standards] (PRIoLEAST32): Likewise.
30701 [C99-based-standards] (PRIuLEAST32): Likewise.
30702 [C99-based-standards] (PRIxLEAST32): Likewise.
30703 [C99-based-standards] (PRIXLEAST32): Likewise.
30704 [C99-based-standards] (SCNdLEAST32): Likewise.
30705 [C99-based-standards] (SCNiLEAST32): Likewise.
30706 [C99-based-standards] (SCNoLEAST32): Likewise.
30707 [C99-based-standards] (SCNuLEAST32): Likewise.
30708 [C99-based-standards] (SCNxLEAST32): Likewise.
30709 [C99-based-standards] (PRIdFAST32): Likewise.
30710 [C99-based-standards] (PRIiFAST32): Likewise.
30711 [C99-based-standards] (PRIoFAST32): Likewise.
30712 [C99-based-standards] (PRIuFAST32): Likewise.
30713 [C99-based-standards] (PRIxFAST32): Likewise.
30714 [C99-based-standards] (PRIXFAST32): Likewise.
30715 [C99-based-standards] (SCNdFAST32): Likewise.
30716 [C99-based-standards] (SCNiFAST32): Likewise.
30717 [C99-based-standards] (SCNoFAST32): Likewise.
30718 [C99-based-standards] (SCNuFAST32): Likewise.
30719 [C99-based-standards] (SCNxFAST32): Likewise.
30720 [C99-based-standards] (PRId64): Likewise.
30721 [C99-based-standards] (PRIi64): Likewise.
30722 [C99-based-standards] (PRIo64): Likewise.
30723 [C99-based-standards] (PRIu64): Likewise.
30724 [C99-based-standards] (PRIx64): Likewise.
30725 [C99-based-standards] (PRIX64): Likewise.
30726 [C99-based-standards] (SCNd64): Likewise.
30727 [C99-based-standards] (SCNi64): Likewise.
30728 [C99-based-standards] (SCNo64): Likewise.
30729 [C99-based-standards] (SCNu64): Likewise.
30730 [C99-based-standards] (SCNx64): Likewise.
30731 [C99-based-standards] (PRIdLEAST64): Likewise.
30732 [C99-based-standards] (PRIiLEAST64): Likewise.
30733 [C99-based-standards] (PRIoLEAST64): Likewise.
30734 [C99-based-standards] (PRIuLEAST64): Likewise.
30735 [C99-based-standards] (PRIxLEAST64): Likewise.
30736 [C99-based-standards] (PRIXLEAST64): Likewise.
30737 [C99-based-standards] (SCNdLEAST64): Likewise.
30738 [C99-based-standards] (SCNiLEAST64): Likewise.
30739 [C99-based-standards] (SCNoLEAST64): Likewise.
30740 [C99-based-standards] (SCNuLEAST64): Likewise.
30741 [C99-based-standards] (SCNxLEAST64): Likewise.
30742 [C99-based-standards] (PRIdFAST64): Likewise.
30743 [C99-based-standards] (PRIiFAST64): Likewise.
30744 [C99-based-standards] (PRIoFAST64): Likewise.
30745 [C99-based-standards] (PRIuFAST64): Likewise.
30746 [C99-based-standards] (PRIxFAST64): Likewise.
30747 [C99-based-standards] (PRIXFAST64): Likewise.
30748 [C99-based-standards] (SCNdFAST64): Likewise.
30749 [C99-based-standards] (SCNiFAST64): Likewise.
30750 [C99-based-standards] (SCNoFAST64): Likewise.
30751 [C99-based-standards] (SCNuFAST64): Likewise.
30752 [C99-based-standards] (SCNxFAST64): Likewise.
30753 [C99-based-standards] (PRIdMAX): Likewise.
30754 [C99-based-standards] (PRIiMAX): Likewise.
30755 [C99-based-standards] (PRIoMAX): Likewise.
30756 [C99-based-standards] (PRIuMAX): Likewise.
30757 [C99-based-standards] (PRIxMAX): Likewise.
30758 [C99-based-standards] (PRIXMAX): Likewise.
30759 [C99-based-standards] (SCNdMAX): Likewise.
30760 [C99-based-standards] (SCNiMAX): Likewise.
30761 [C99-based-standards] (SCNoMAX): Likewise.
30762 [C99-based-standards] (SCNuMAX): Likewise.
30763 [C99-based-standards] (SCNxMAX): Likewise.
30764 [C99-based-standards] (PRIdPTR): Likewise.
30765 [C99-based-standards] (PRIiPTR): Likewise.
30766 [C99-based-standards] (PRIoPTR): Likewise.
30767 [C99-based-standards] (PRIuPTR): Likewise.
30768 [C99-based-standards] (PRIxPTR): Likewise.
30769 [C99-based-standards] (PRIXPTR): Likewise.
30770 [C99-based-standards] (SCNdPTR): Likewise.
30771 [C99-based-standards] (SCNiPTR): Likewise.
30772 [C99-based-standards] (SCNoPTR): Likewise.
30773 [C99-based-standards] (SCNuPTR): Likewise.
30774 [C99-based-standards] (SCNxPTR): Likewise.
30775 * conform/data/iso646.h-data [ISO C standards] (*_t): Do not
30776 allow.
30777 * conform/data/stdint.h-data: Update comments to clarify
30778 requirements.
30779 [C99-based standards] (INT8_MIN): Use macro-int-constant. Specify
30780 type.
30781 [C99-based standards] (INT8_MAX): Likewise.
30782 [C99-based standards] (INT16_MIN): Likewise.
30783 [C99-based standards] (INT16_MAX): Likewise.
30784 [C99-based standards] (INT32_MIN): Likewise.
30785 [C99-based standards] (INT32_MAX): Likewise.
30786 [C99-based standards] (INT64_MIN): Likewise.
30787 [C99-based standards] (INT64_MAX): Likewise.
30788 [C99-based standards] (UINT8_MAX): Likewise.
30789 [C99-based standards] (UINT16_MAX): Likewise.
30790 [C99-based standards] (UINT32_MAX): Likewise.
30791 [C99-based standards] (UINT64_MAX): Likewise.
30792 [C99-based standards] (INT_LEAST8_MIN): Likewise.
30793 [C99-based standards] (INT_LEAST8_MAX): Likewise.
30794 [C99-based standards] (INT_LEAST16_MIN): Likewise.
30795 [C99-based standards] (INT_LEAST16_MAX): Likewise.
30796 [C99-based standards] (INT_LEAST32_MIN): Likewise.
30797 [C99-based standards] (INT_LEAST32_MAX): Likewise.
30798 [C99-based standards] (INT_LEAST64_MIN): Likewise.
30799 [C99-based standards] (INT_LEAST64_MAX): Likewise.
30800 [C99-based standards] (UINT_LEAST8_MAX): Likewise.
30801 [C99-based standards] (UINT_LEAST16_MAX): Likewise.
30802 [C99-based standards] (UINT_LEAST32_MAX): Likewise.
30803 [C99-based standards] (UINT_LEAST64_MAX): Likewise.
30804 [C99-based standards] (INT_FAST8_MIN): Likewise.
30805 [C99-based standards] (INT_FAST8_MAX): Likewise.
30806 [C99-based standards] (INT_FAST16_MIN): Likewise.
30807 [C99-based standards] (INT_FAST16_MAX): Likewise.
30808 [C99-based standards] (INT_FAST32_MIN): Likewise.
30809 [C99-based standards] (INT_FAST32_MAX): Likewise.
30810 [C99-based standards] (INT_FAST64_MIN): Likewise.
30811 [C99-based standards] (INT_FAST64_MAX): Likewise.
30812 [C99-based standards] (UINT_FAST8_MAX): Likewise.
30813 [C99-based standards] (UINT_FAST16_MAX): Likewise.
30814 [C99-based standards] (UINT_FAST32_MAX): Likewise.
30815 [C99-based standards] (UINT_FAST64_MAX): Likewise.
30816 [C99-based standards] (INTPTR_MIN): Likewise.
30817 [C99-based standards] (INTPTR_MAX): Likewise.
30818 [C99-based standards] (UINTPTR_MAX): Likewise.
30819 [C99-based standards] (INTMAX_MIN): Likewise.
30820 [C99-based standards] (INTMAX_MAX): Likewise.
30821 [C99-based standards] (UINTMAX_MAX): Likewise.
30822 [C99-based standards] (PTRDIFF_MIN): Likewise.
30823 [C99-based standards] (PTRDIFF_MAX): Likewise.
30824 [C99-based standards] (SIG_ATOMIC_MAX): Likewise.
30825 [C99-based standards] (SIZE_MAX): Likewise.
30826 [C99-based standards] (WCHAR_MAX): Likewise.
30827 [C99-based standards] (WINT_MAX): Likewise.
30828 [C99-based standards] (SIG_ATOMIC_MIN): Likewise. Do not specify
30829 constraint on value.
30830 [C99-based standards] (WCHAR_MIN): Likewise.
30831 [C99-based standards] (WINT_MIN): Likewise.
30832 [C99-based standards] (*_t): Allow.
30833 * conform/data/tgmath.h-data [XOPEN2K || POSIX2008]: Change
30834 condition to [!ISO && !POSIX && !XPG3 && !XPG4 && !UNIX98].
30835 Include math.h-data and complex.h-data. Remove all expectations
30836 of math.h and complex.h contents.
30837 * conform/data/uchar.h-data [ISO11] (c16rtomb): Remove stray "16"
30838 at end of line.
30839 * conform/data/wchar.h-data [!ISO && !POSIX && !XPG3 && !XPG4]
30840 (struct tm): Expect tag.
30841 [C99-based-standards] (wcstof): Expect function.
30842 [C99-based-standards] (wcstold): Likewise.
30843 [C99-based-standards] (wcstoll): Likewise.
30844 [C99-based-standards] (wcstoull): Likewise.
30845 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MIN): Use
30846 macro-int-constant. Specify type.
30847 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MAX): Likewise. Specify
30848 constraint on value.
30849 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
30850 Specify type.
30851 [!ISO && !POSIX && !XPG3 && !XPG4] (NULL): Use macro-constant.
30852 Specify value.
30853 [ISO C standards]: Do not allow headers.
30854 [!ISO && !POSIX && !XPG3 && !XPG4] (wcs*): Change to
30855 wcs[abcdefghijklmnopqrstuvwxyz]*.
30856 [ISO C standards] (*_t): Do not allow.
30857 * conform/data/wctype.h-data [C99-based standards] (iswblank):
30858 Expect function.
30859 [XOPEN2K8 || POSIX2008] (iswblank_l): Likewise.
30860 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
30861 Specify type.
30862 [ISO C standards]: Do not allow headers.
30863 [!ISO && !POSIX && !XPG3 && !XPG4] (is*): Change to
30864 is[abcdefghijklmnopqrstuvwxyz]*.
30865 [!ISO && !POSIX && !XPG3 && !XPG4] (to*): Change to
30866 to[abcdefghijklmnopqrstuvwxyz]*.
30867 [ISO C standards] (*_t): Do not allow.
30868 * conform/data/stdalign.h-data: New file.
30869 * conform/data/stdbool.h-data: Likewise.
30870 * conform/data/stdnoreturn.h-data: Likewise.
30871
7514feb8
RM
308722012-11-07 Roland McGrath <roland@hack.frob.com>
30873
30874 [BZ #14815]
30875 * manual/filesys.texi (Directory Entries): Typo fix.
30876 Reported by <h-iwamoto@kit.hi-ho.ne.jp>.
30877
19b2ecfc
MS
308782012-11-07 Marcus Shawcroft <marcus.shawcroft@linaro.org>
30879
30880 * elf/elf.h (EM_AARCH64): New macro.
30881 (R_AARCH64_NONE, R_AARCH64_ABS64, R_AARCH64_ABS32): Likewise.
30882 (R_AARCH64_COPY, R_AARCH64_GLOB_DAT, R_AARCH64_JUMP_SLOT): Likewise.
30883 (R_AARCH64_RELATIVE, R_AARCH64_TLS_DTPMOD64): Likewise.
30884 (R_AARCH64_TLS_DTPREL64, R_AARCH64_TLS_TPREL64): Likewise.
30885 (R_AARCH64_TLSDESC): Likewise.
30886 (NT_ARM_TLS): Likewise.
30887 (NT_ARM_HW_BREAK): Likewise.
30888 (NT_ARM_HW_WATCH): Likewise.
30889
60e235ee
JM
308902012-11-07 Joseph Myers <joseph@codesourcery.com>
30891
30892 [BZ #14811]
30893 * sysdeps/i386/fpu/e_powl.S (pm79): New object.
30894 (__ieee754_powl): Saturate nonzero exponents with absolute value
30895 below 0x1p-79 to +/- 0x1p-79.
30896 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Saturate nonzero
30897 exponents with absolute value below 0x1p-64 to +/- 0x1p-64.
30898 * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Saturate
30899 nonzero exponents with absolute value below 0x1p-32 to +/-
30900 0x1p-32.
30901 * sysdeps/x86_64/fpu/e_powl.S (pm79): New object.
30902 (__ieee754_powl): Saturate nonzero exponents with absolute value
30903 below 0x1p-79 to +/- 0x1p-79.
30904 * math/libm-test.inc (pow_test): Add more tests.
30905
0ab234b7
AK
309062012-11-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
30907
30908 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Sync
30909 _dl_s390_cap_flags with kernel. Increase string length.
30910 (_dl_s390_platforms): Add z196 and zEC12.
30911
45832f74
JM
309122012-11-07 Joseph Myers <joseph@codesourcery.com>
30913
30914 * conform/data/time.h-data [!XOPEN21K && !XOPEN2K8 && !POSIX2008]:
30915 Change XOPEN21K to XOPEN2K.
30916
19218757
MK
309172012-11-06 Maxim Kuvyrkov <maxim@codesourcery.com>
30918
30919 * string/memmove.c: Use memcpy when possible.
30920
c5f45721
AJ
309212012-11-06 Andreas Jaeger <aj@suse.de>
30922
30923 * po/eo.po: Update from translation team.
30924
82477c28
JM
309252012-11-06 Joseph Myers <joseph@codesourcery.com>
30926
30927 [BZ #14793]
30928 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): In case of large z
30929 exponent and small x and y exponents, scale x or y up. Increase
30930 by 2 the exponent used in scaling up.
30931 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
30932 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
30933 * math/libm-test.inc (fma_test): Add more tests.
30934 (fma_test_towardzero): Likewise.
30935 (fma_test_downward): Likewise.
30936 (fma_test_upward): Likewise.
30937
99252c8c
JM
309382012-11-05 Joseph Myers <joseph@codesourcery.com>
30939
acfa885f
JM
30940 [BZ #14805]
30941 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_DFL_ENV): Use cast to const
30942 fenv_t *.
30943
99252c8c
JM
30944 [BZ #14801]
30945 * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Use implementation
30946 namespace for names of struct fields.
30947 * sysdeps/s390/fpu/fegetenv.c (fegetenv): Update references to
30948 fenv_t fields.
30949 * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
30950 * sysdeps/s390/fpu/fesetenv.c (fesetenv): Likewise.
30951
d6d98dea
ST
309522012-11-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
30953
30954 [BZ #3665]
30955 * sysdeps/mach/hurd/bits/errno.h: Regenerated.
30956
e10bb107
TS
309572012-11-04 Thomas Schwinge <thomas@codesourcery.com>
30958
30959 * csu/libc-start.c (LIBC_START_MAIN): Conditionalize use of
30960 PTR_DEMANGLE.
30961
30962 [BZ #5246]
30963 * sysdeps/mach/hurd/i386/____longjmp_chk.S: Conditionalize use of
30964 PTR_DEMANGLE.
30965
a0c2940d
JM
309662012-11-04 Joseph Myers <joseph@codesourcery.com>
30967
30968 [BZ #14797]
30969 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute cases that
30970 definitely overflow as x * y not x * y + z.
30971 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
30972 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
30973 * math/libm-test.inc (fma_test): Add more tests.
30974 (fma_test_towardzero): Likewise.
30975 (fma_test_downward): Likewise.
30976 (fma_test_upward): Likewise.
30977
b830319d
TS
309782012-11-04 Thomas Schwinge <thomas@codesourcery.com>
30979
30980 [BZ #157]
30981
30982 * include/stub-tag.h: Remove file.
30983 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't emit
30984 '#include' of it.
30985 * manual/maint.texi (Porting): Don't reference it.
30986 * Makerules ($(objpfx)stubs): Likewise.
30987 * dirent/closedir.c: Don't include <stub-tag.h>.
30988 * dirent/dirfd.c: Likewise.
30989 * dirent/fdopendir.c: Likewise.
30990 * dirent/getdents.c: Likewise.
30991 * dirent/getdents64.c: Likewise.
30992 * dirent/opendir.c: Likewise.
30993 * dirent/readdir.c: Likewise.
30994 * dirent/readdir64.c: Likewise.
30995 * dirent/readdir64_r.c: Likewise.
30996 * dirent/readdir_r.c: Likewise.
30997 * dirent/rewinddir.c: Likewise.
30998 * dirent/seekdir.c: Likewise.
30999 * dirent/telldir.c: Likewise.
31000 * gmon/profil.c: Likewise.
31001 * grp/setgroups.c: Likewise.
31002 * inet/if_index.c: Likewise.
31003 * io/access.c: Likewise.
31004 * io/chdir.c: Likewise.
31005 * io/chmod.c: Likewise.
31006 * io/chown.c: Likewise.
31007 * io/close.c: Likewise.
31008 * io/dup.c: Likewise.
31009 * io/dup2.c: Likewise.
31010 * io/dup3.c: Likewise.
31011 * io/euidaccess.c: Likewise.
31012 * io/faccessat.c: Likewise.
31013 * io/fchdir.c: Likewise.
31014 * io/fchmod.c: Likewise.
31015 * io/fchmodat.c: Likewise.
31016 * io/fchown.c: Likewise.
31017 * io/fchownat.c: Likewise.
31018 * io/fcntl.c: Likewise.
31019 * io/flock.c: Likewise.
31020 * io/fstatfs.c: Likewise.
31021 * io/fstatfs64.c: Likewise.
31022 * io/fstatvfs.c: Likewise.
31023 * io/fstatvfs64.c: Likewise.
31024 * io/futimens.c: Likewise.
31025 * io/fxstat.c: Likewise.
31026 * io/fxstat64.c: Likewise.
31027 * io/fxstatat.c: Likewise.
31028 * io/fxstatat64.c: Likewise.
31029 * io/getcwd.c: Likewise.
31030 * io/isatty.c: Likewise.
31031 * io/lchmod.c: Likewise.
31032 * io/lchown.c: Likewise.
31033 * io/link.c: Likewise.
31034 * io/linkat.c: Likewise.
31035 * io/lseek.c: Likewise.
31036 * io/lseek64.c: Likewise.
31037 * io/lxstat64.c: Likewise.
31038 * io/mkdir.c: Likewise.
31039 * io/mkdirat.c: Likewise.
31040 * io/mkfifo.c: Likewise.
31041 * io/mkfifoat.c: Likewise.
31042 * io/open.c: Likewise.
31043 * io/open64.c: Likewise.
31044 * io/openat.c: Likewise.
31045 * io/openat64.c: Likewise.
31046 * io/pipe.c: Likewise.
31047 * io/pipe2.c: Likewise.
31048 * io/poll.c: Likewise.
31049 * io/posix_fadvise.c: Likewise.
31050 * io/posix_fadvise64.c: Likewise.
31051 * io/posix_fallocate.c: Likewise.
31052 * io/posix_fallocate64.c: Likewise.
31053 * io/read.c: Likewise.
31054 * io/readlink.c: Likewise.
31055 * io/readlinkat.c: Likewise.
31056 * io/rmdir.c: Likewise.
31057 * io/sendfile.c: Likewise.
31058 * io/sendfile64.c: Likewise.
31059 * io/statfs.c: Likewise.
31060 * io/statfs64.c: Likewise.
31061 * io/statvfs.c: Likewise.
31062 * io/statvfs64.c: Likewise.
31063 * io/symlink.c: Likewise.
31064 * io/symlinkat.c: Likewise.
31065 * io/ttyname.c: Likewise.
31066 * io/ttyname_r.c: Likewise.
31067 * io/umask.c: Likewise.
31068 * io/unlink.c: Likewise.
31069 * io/unlinkat.c: Likewise.
31070 * io/utime.c: Likewise.
31071 * io/utimensat.c: Likewise.
31072 * io/write.c: Likewise.
31073 * io/xmknod.c: Likewise.
31074 * io/xmknodat.c: Likewise.
31075 * io/xstat.c: Likewise.
31076 * io/xstat64.c: Likewise.
31077 * login/getpt.c: Likewise.
31078 * login/grantpt.c: Likewise.
31079 * login/unlockpt.c: Likewise.
31080 * math/e_acoshl.c: Likewise.
31081 * math/e_acosl.c: Likewise.
31082 * math/e_asinl.c: Likewise.
31083 * math/e_atan2l.c: Likewise.
31084 * math/e_atanhl.c: Likewise.
31085 * math/e_coshl.c: Likewise.
31086 * math/e_expl.c: Likewise.
31087 * math/e_fmodl.c: Likewise.
31088 * math/e_gammal_r.c: Likewise.
31089 * math/e_hypotl.c: Likewise.
31090 * math/e_j0l.c: Likewise.
31091 * math/e_j1l.c: Likewise.
31092 * math/e_jnl.c: Likewise.
31093 * math/e_lgammal_r.c: Likewise.
31094 * math/e_log10l.c: Likewise.
31095 * math/e_log2l.c: Likewise.
31096 * math/e_logl.c: Likewise.
31097 * math/e_powl.c: Likewise.
31098 * math/e_rem_pio2l.c: Likewise.
31099 * math/e_sinhl.c: Likewise.
31100 * math/e_sqrtl.c: Likewise.
31101 * math/fclrexcpt.c: Likewise.
31102 * math/fedisblxcpt.c: Likewise.
31103 * math/feenablxcpt.c: Likewise.
31104 * math/fegetenv.c: Likewise.
31105 * math/fegetexcept.c: Likewise.
31106 * math/fegetround.c: Likewise.
31107 * math/feholdexcpt.c: Likewise.
31108 * math/fesetenv.c: Likewise.
31109 * math/fesetround.c: Likewise.
31110 * math/feupdateenv.c: Likewise.
31111 * math/fgetexcptflg.c: Likewise.
31112 * math/fraiseexcpt.c: Likewise.
31113 * math/fsetexcptflg.c: Likewise.
31114 * math/ftestexcept.c: Likewise.
31115 * math/k_cosl.c: Likewise.
31116 * math/k_rem_pio2l.c: Likewise.
31117 * math/k_sinl.c: Likewise.
31118 * math/k_tanl.c: Likewise.
31119 * math/s_asinhl.c: Likewise.
31120 * math/s_atanl.c: Likewise.
31121 * math/s_cbrtl.c: Likewise.
31122 * math/s_erfl.c: Likewise.
31123 * math/s_expm1l.c: Likewise.
31124 * math/s_log1pl.c: Likewise.
31125 * math/s_tanhl.c: Likewise.
31126 * misc/acct.c: Likewise.
31127 * misc/brk.c: Likewise.
31128 * misc/chflags.c: Likewise.
31129 * misc/chroot.c: Likewise.
31130 * misc/fchflags.c: Likewise.
31131 * misc/fgetxattr.c: Likewise.
31132 * misc/flistxattr.c: Likewise.
31133 * misc/fremovexattr.c: Likewise.
31134 * misc/fsetxattr.c: Likewise.
31135 * misc/fsync.c: Likewise.
31136 * misc/ftruncate.c: Likewise.
31137 * misc/futimes.c: Likewise.
31138 * misc/futimesat.c: Likewise.
31139 * misc/getdomain.c: Likewise.
31140 * misc/getdtsz.c: Likewise.
31141 * misc/gethostid.c: Likewise.
31142 * misc/gethostname.c: Likewise.
31143 * misc/getloadavg.c: Likewise.
31144 * misc/getpagesize.c: Likewise.
31145 * misc/getsysstats.c: Likewise.
31146 * misc/getxattr.c: Likewise.
31147 * misc/gtty.c: Likewise.
31148 * misc/ioctl.c: Likewise.
31149 * misc/lgetxattr.c: Likewise.
31150 * misc/listxattr.c: Likewise.
31151 * misc/llistxattr.c: Likewise.
31152 * misc/lremovexattr.c: Likewise.
31153 * misc/lsetxattr.c: Likewise.
31154 * misc/lutimes.c: Likewise.
31155 * misc/madvise.c: Likewise.
31156 * misc/mincore.c: Likewise.
31157 * misc/mlock.c: Likewise.
31158 * misc/mlockall.c: Likewise.
31159 * misc/mmap.c: Likewise.
31160 * misc/mprotect.c: Likewise.
31161 * misc/msync.c: Likewise.
31162 * misc/munlock.c: Likewise.
31163 * misc/munlockall.c: Likewise.
31164 * misc/munmap.c: Likewise.
31165 * misc/preadv.c: Likewise.
31166 * misc/preadv64.c: Likewise.
31167 * misc/ptrace.c: Likewise.
31168 * misc/pwritev.c: Likewise.
31169 * misc/pwritev64.c: Likewise.
31170 * misc/readv.c: Likewise.
31171 * misc/reboot.c: Likewise.
31172 * misc/remap_file_pages.c: Likewise.
31173 * misc/removexattr.c: Likewise.
31174 * misc/revoke.c: Likewise.
31175 * misc/select.c: Likewise.
31176 * misc/setdomain.c: Likewise.
31177 * misc/setegid.c: Likewise.
31178 * misc/seteuid.c: Likewise.
31179 * misc/sethostid.c: Likewise.
31180 * misc/sethostname.c: Likewise.
31181 * misc/setregid.c: Likewise.
31182 * misc/setreuid.c: Likewise.
31183 * misc/setxattr.c: Likewise.
31184 * misc/sstk.c: Likewise.
31185 * misc/stty.c: Likewise.
31186 * misc/swapoff.c: Likewise.
31187 * misc/swapon.c: Likewise.
31188 * misc/sync.c: Likewise.
31189 * misc/syncfs.c: Likewise.
31190 * misc/syscall.c: Likewise.
31191 * misc/truncate.c: Likewise.
31192 * misc/ualarm.c: Likewise.
31193 * misc/usleep.c: Likewise.
31194 * misc/ustat.c: Likewise.
31195 * misc/utimes.c: Likewise.
31196 * misc/vhangup.c: Likewise.
31197 * misc/writev.c: Likewise.
31198 * posix/_exit.c: Likewise.
31199 * posix/alarm.c: Likewise.
31200 * posix/execve.c: Likewise.
31201 * posix/fexecve.c: Likewise.
31202 * posix/fork.c: Likewise.
31203 * posix/fpathconf.c: Likewise.
31204 * posix/getaddrinfo.c: Likewise.
31205 * posix/getegid.c: Likewise.
31206 * posix/geteuid.c: Likewise.
31207 * posix/getgid.c: Likewise.
31208 * posix/getgroups.c: Likewise.
31209 * posix/getlogin.c: Likewise.
31210 * posix/getlogin_r.c: Likewise.
31211 * posix/getpgid.c: Likewise.
31212 * posix/getpid.c: Likewise.
31213 * posix/getppid.c: Likewise.
31214 * posix/getresgid.c: Likewise.
31215 * posix/getresuid.c: Likewise.
31216 * posix/getsid.c: Likewise.
31217 * posix/getuid.c: Likewise.
31218 * posix/glob64.c: Likewise.
31219 * posix/nanosleep.c: Likewise.
31220 * posix/pathconf.c: Likewise.
31221 * posix/pause.c: Likewise.
31222 * posix/posix_madvise.c: Likewise.
31223 * posix/pread.c: Likewise.
31224 * posix/pread64.c: Likewise.
31225 * posix/pwrite.c: Likewise.
31226 * posix/pwrite64.c: Likewise.
31227 * posix/sched_getaffinity.c: Likewise.
31228 * posix/sched_getp.c: Likewise.
31229 * posix/sched_gets.c: Likewise.
31230 * posix/sched_primax.c: Likewise.
31231 * posix/sched_primin.c: Likewise.
31232 * posix/sched_rr_gi.c: Likewise.
31233 * posix/sched_setaffinity.c: Likewise.
31234 * posix/sched_setp.c: Likewise.
31235 * posix/sched_sets.c: Likewise.
31236 * posix/sched_yield.c: Likewise.
31237 * posix/setgid.c: Likewise.
31238 * posix/setlogin.c: Likewise.
31239 * posix/setpgid.c: Likewise.
31240 * posix/setresgid.c: Likewise.
31241 * posix/setresuid.c: Likewise.
31242 * posix/setsid.c: Likewise.
31243 * posix/setuid.c: Likewise.
31244 * posix/sleep.c: Likewise.
31245 * posix/spawni.c: Likewise.
31246 * posix/sysconf.c: Likewise.
31247 * posix/times.c: Likewise.
31248 * posix/wait.c: Likewise.
31249 * posix/wait3.c: Likewise.
31250 * posix/wait4.c: Likewise.
31251 * posix/waitpid.c: Likewise.
31252 * resolv/gai_sigqueue.c: Likewise.
31253 * resource/getpriority.c: Likewise.
31254 * resource/getrlimit.c: Likewise.
31255 * resource/getrusage.c: Likewise.
31256 * resource/nice.c: Likewise.
31257 * resource/setpriority.c: Likewise.
31258 * resource/setrlimit.c: Likewise.
31259 * resource/ulimit.c: Likewise.
31260 * rt/aio_cancel.c: Likewise.
31261 * rt/aio_fsync.c: Likewise.
31262 * rt/aio_read.c: Likewise.
31263 * rt/aio_sigqueue.c: Likewise.
31264 * rt/aio_suspend.c: Likewise.
31265 * rt/aio_write.c: Likewise.
31266 * rt/clock_getres.c: Likewise.
31267 * rt/clock_gettime.c: Likewise.
31268 * rt/clock_nanosleep.c: Likewise.
31269 * rt/clock_settime.c: Likewise.
31270 * rt/lio_listio.c: Likewise.
31271 * rt/mq_close.c: Likewise.
31272 * rt/mq_getattr.c: Likewise.
31273 * rt/mq_notify.c: Likewise.
31274 * rt/mq_open.c: Likewise.
31275 * rt/mq_receive.c: Likewise.
31276 * rt/mq_send.c: Likewise.
31277 * rt/mq_setattr.c: Likewise.
31278 * rt/mq_timedreceive.c: Likewise.
31279 * rt/mq_timedsend.c: Likewise.
31280 * rt/mq_unlink.c: Likewise.
31281 * rt/shm_open.c: Likewise.
31282 * rt/shm_unlink.c: Likewise.
31283 * rt/timer_create.c: Likewise.
31284 * rt/timer_delete.c: Likewise.
31285 * rt/timer_getoverr.c: Likewise.
31286 * rt/timer_gettime.c: Likewise.
31287 * rt/timer_settime.c: Likewise.
31288 * setjmp/__longjmp.c: Likewise.
31289 * setjmp/setjmp.c: Likewise.
31290 * signal/kill.c: Likewise.
31291 * signal/killpg.c: Likewise.
31292 * signal/raise.c: Likewise.
31293 * signal/sigaction.c: Likewise.
31294 * signal/sigaltstack.c: Likewise.
31295 * signal/sigblock.c: Likewise.
31296 * signal/sigignore.c: Likewise.
31297 * signal/sigintr.c: Likewise.
31298 * signal/signal.c: Likewise.
31299 * signal/sigpause.c: Likewise.
31300 * signal/sigpending.c: Likewise.
31301 * signal/sigqueue.c: Likewise.
31302 * signal/sigreturn.c: Likewise.
31303 * signal/sigset.c: Likewise.
31304 * signal/sigsetmask.c: Likewise.
31305 * signal/sigstack.c: Likewise.
31306 * signal/sigsuspend.c: Likewise.
31307 * signal/sigtimedwait.c: Likewise.
31308 * signal/sigvec.c: Likewise.
31309 * signal/sigwait.c: Likewise.
31310 * signal/sigwaitinfo.c: Likewise.
31311 * signal/sysv_signal.c: Likewise.
31312 * socket/accept.c: Likewise.
31313 * socket/accept4.c: Likewise.
31314 * socket/bind.c: Likewise.
31315 * socket/connect.c: Likewise.
31316 * socket/getpeername.c: Likewise.
31317 * socket/getsockname.c: Likewise.
31318 * socket/getsockopt.c: Likewise.
31319 * socket/isfdtype.c: Likewise.
31320 * socket/listen.c: Likewise.
31321 * socket/recv.c: Likewise.
31322 * socket/recvfrom.c: Likewise.
31323 * socket/recvmsg.c: Likewise.
31324 * socket/send.c: Likewise.
31325 * socket/sendmsg.c: Likewise.
31326 * socket/sendto.c: Likewise.
31327 * socket/setsockopt.c: Likewise.
31328 * socket/shutdown.c: Likewise.
31329 * socket/sockatmark.c: Likewise.
31330 * socket/socket.c: Likewise.
31331 * socket/socketpair.c: Likewise.
31332 * stdio-common/ctermid.c: Likewise.
31333 * stdio-common/cuserid.c: Likewise.
31334 * stdio-common/remove.c: Likewise.
31335 * stdio-common/rename.c: Likewise.
31336 * stdio-common/renameat.c: Likewise.
31337 * stdio-common/tempname.c: Likewise.
31338 * stdlib/getcontext.c: Likewise.
31339 * stdlib/makecontext.c: Likewise.
31340 * stdlib/setcontext.c: Likewise.
31341 * stdlib/swapcontext.c: Likewise.
31342 * stdlib/system.c: Likewise.
31343 * streams/fattach.c: Likewise.
31344 * streams/fdetach.c: Likewise.
31345 * streams/getmsg.c: Likewise.
31346 * streams/getpmsg.c: Likewise.
31347 * streams/putmsg.c: Likewise.
31348 * streams/putpmsg.c: Likewise.
31349 * sysdeps/unix/bsd/getpt.c: Likewise.
31350 * sysdeps/unix/sysv/linux/epoll_pwait.c: Likewise.
31351 * sysdeps/unix/sysv/linux/futimens.c: Likewise.
31352 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
31353 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
31354 Likewise.
31355 * sysdeps/unix/sysv/linux/readahead.c: Likewise.
31356 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
31357 * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
31358 * sysvipc/msgctl.c: Likewise.
31359 * sysvipc/msgget.c: Likewise.
31360 * sysvipc/msgrcv.c: Likewise.
31361 * sysvipc/msgsnd.c: Likewise.
31362 * sysvipc/semctl.c: Likewise.
31363 * sysvipc/semget.c: Likewise.
31364 * sysvipc/semop.c: Likewise.
31365 * sysvipc/semtimedop.c: Likewise.
31366 * sysvipc/shmat.c: Likewise.
31367 * sysvipc/shmctl.c: Likewise.
31368 * sysvipc/shmdt.c: Likewise.
31369 * sysvipc/shmget.c: Likewise.
31370 * termios/tcdrain.c: Likewise.
31371 * termios/tcflow.c: Likewise.
31372 * termios/tcflush.c: Likewise.
31373 * termios/tcgetattr.c: Likewise.
31374 * termios/tcgetpgrp.c: Likewise.
31375 * termios/tcsendbrk.c: Likewise.
31376 * termios/tcsetattr.c: Likewise.
31377 * termios/tcsetpgrp.c: Likewise.
31378 * time/adjtime.c: Likewise.
31379 * time/clock.c: Likewise.
31380 * time/getitimer.c: Likewise.
31381 * time/gettimeofday.c: Likewise.
31382 * time/setitimer.c: Likewise.
31383 * time/settimeofday.c: Likewise.
31384 * time/stime.c: Likewise.
31385 * time/time.c: Likewise.
31386
313872012-11-04 Pino Toscano <toscano.pino@tiscali.it>
72e182e3 31388
a20492cf
PT
31389 * sysdeps/generic/paths.h (_PATH_STDPATH): Remove /usr/contrib/bin and
31390 /usr/old/bin.
31391
72e182e3
PT
31392 * sysdeps/generic/paths.h (_PATH_MNTTAB, _PATH_MOUNTED): Use tabs
31393 instead of spaces.
31394 * sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP, _PATH_WTMP): Likewise.
31395
fbeafede
JM
313962012-11-03 Joseph Myers <joseph@codesourcery.com>
31397
5b5b04d6
JM
31398 [BZ #14796]
31399 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Set rounding mode to
31400 FE_TONEAREST before applying Dekker multiplication and Knuth
31401 addition. Clear inexact exceptions and check for exact zero
31402 results afterwards.
31403 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
31404 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
31405 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
31406 * math/libm-test.inc (fma_test): Add more tests.
31407 (fma_test_towardzero): Likewise.
31408 (fma_test_downward): Likewise.
31409 (fma_test_upward): Likewise.
31410 * sysdeps/generic/math_private.h (default_libc_fesetround): New
31411 function.
31412 (libc_fesetround): New macro.
31413 (libc_fesetroundf): Likewise.
31414 (libc_fesetroundl): Likewise.
31415 * sysdeps/i386/fpu/fenv_private.h (libc_fesetround_sse): New
31416 function.
31417 (libc_fesetround_387): Likewise.
31418 (libc_fesetroundf): New macro.
31419 (libc_fesetround): Likewise.
31420 (libc_fesetroundl): Likewise.
31421 * sysdeps/sparc/fpu/fenv_private.h (libc_fesetround): New
31422 function.
31423 (libc_fesetroundf): New macro.
31424 (libc_fesetround): Likewise.
31425 (libc_fesetroundl): Likewise.
31426 * include/fenv.h (feclearexcept): Add libm_hidden_proto.
31427 * math/fclrexcpt.c (feclearexcept): Add libm_hidden_ver.
31428 * sysdeps/i386/fpu/fclrexcpt.c (feclearexcept): Add
31429 libm_hidden_ver.
31430 * sysdeps/powerpc/fpu/fclrexcpt.c (feclearexcept): Likewise.
31431 * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Add
31432 libm_hidden_def.
31433 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Likewise.
31434 * sysdeps/sparc/fpu/fclrexcpt.c (feclearexcept): Add
31435 libm_hidden_ver.
31436 * sysdeps/x86_64/fpu/fclrexcpt.c (feclearexcept): Add
31437 libm_hidden_def.
31438
fbeafede
JM
31439 [BZ #3439]
31440 * sysdeps/powerpc/bits/fenv.h (FE_INEXACT): Define macro to
31441 integer constant usable in #if and use that to give value to enum
31442 constant.
31443 (FE_DIVBYZERO): Likewise.
31444 (FE_UNDERFLOW): Likewise.
31445 (FE_OVERFLOW): Likewise.
31446 (FE_INVALID): Likewise.
31447 (FE_INVALID_SNAN): Likewise.
31448 (FE_INVALID_ISI): Likewise.
31449 (FE_INVALID_IDI): Likewise.
31450 (FE_INVALID_ZDZ): Likewise.
31451 (FE_INVALID_IMZ): Likewise.
31452 (FE_INVALID_COMPARE): Likewise.
31453 (FE_INVALID_SOFTWARE): Likewise.
31454 (FE_INVALID_SQRT): Likewise.
31455 (FE_INVALID_INTEGER_CONVERSION): Likewise.
31456 (FE_TONEAREST): Likewise.
31457 (FE_TOWARDZERO): Likewise.
31458 (FE_UPWARD): Likewise.
31459 (FE_DOWNWARD): Likewise.
31460 * sysdeps/s390/fpu/bits/fenv.h (FE_INVALID): Likewise.
31461 (FE_DIVBYZERO): Likewise.
31462 (FE_OVERFLOW): Likewise.
31463 (FE_UNDERFLOW): Likewise.
31464 (FE_INEXACT): Likewise.
31465 (FE_TONEAREST): Likewise.
31466 (FE_DOWNWARD): Likewise.
31467 (FE_UPWARD): Likewise.
31468 (FE_TOWARDZERO): Likewise.
31469 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_INEXACT): Likewise.
31470 (FE_UNDERFLOW): Likewise.
31471 (FE_OVERFLOW): Likewise.
31472 (FE_DIVBYZERO): Likewise.
31473 (FE_INVALID): Likewise.
31474 (FE_TONEAREST): Likewise.
31475 (FE_TOWARDZERO): Likewise.
31476 * sysdeps/sparc/fpu/bits/fenv.h (FE_INVALID): Likewise.
31477 (FE_OVERFLOW): Likewise.
31478 (FE_UNDERFLOW): Likewise.
31479 (FE_DIVBYZERO): Likewise.
31480 (FE_INEXACT): Likewise.
31481 (FE_TONEAREST): Likewise.
31482 (FE_TOWARDZERO): Likewise.
31483 (FE_UPWARD): Likewise.
31484 (FE_DOWNWARD): Likewise.
31485 * sysdeps/x86/fpu/bits/fenv.h (FE_INVALID): Likewise.
31486 (FE_DIVBYZERO): Likewise.
31487 (FE_OVERFLOW): Likewise.
31488 (FE_UNDERFLOW): Likewise.
31489 (FE_INEXACT): Likewise.
31490 (FE_TONEAREST): Likewise.
31491 (FE_DOWNWARD): Likewise.
31492 (FE_UPWARD): Likewise.
31493 (FE_TOWARDZERO): Likewise.
31494
105ca950
CM
314952012-11-02 Chris Metcalf <cmetcalf@tilera.com>
31496
31497 * elf/elf.h (R_TILEGX_IMM16_X[01]_HW[012]_(|LAST_)PLT_PCREL): Add.
31498
a542b389
AS
314992012-11-03 Andreas Schwab <schwab@linux-m68k.org>
31500
31501 * scripts/cross-test-ssh.sh (command): Use newlines to separate
31502 commands. Quote $PWD.
31503 (blacklist_exports): Don't use remove_newlines. Replace "declare
31504 -x" by "export".
31505 (remove_newlines): Remove.
31506
f62c8abc
L
315072012-11-02 H.J. Lu <hongjiu.lu@intel.com>
31508
31509 * stdlib/Makefile (headers): Add bits/stdlib-float.h.
31510 * stdlib/stdlib.h (atof): Moved to ...
31511 * include/bits/stdlib-float.h: Here. New file.
31512 * stdlib/stdlib.h: Include <bits/stdlib-float.h>.
31513 * stdlib/bits/stdlib-float.h: New file.
31514 * sysdeps/x86/Makefile (CFLAGS-.os): Compile rtld routines with
31515 -mno-sse -mno-mmx.
31516 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Include
31517 <xmmintrin.h>.
31518
0155d5b2
JM
315192012-11-02 Joseph Myers <joseph@codesourcery.com>
31520
a68d0680
JM
31521 * conform/conformtest.pl (@headers): Add fenv.h.
31522 * conform/data/fenv.h-data: New file.
31523 * include/fenv.h [_ISOMAC]: Disable all contents of file except
31524 include of <math/fenv.h>.
31525
caf7f573
JM
31526 * conform/data/complex.h-data [ISO99 || ISO11 || XOPEN2K ||
31527 POSIX2008]: Change condition to [!ISO && !POSIX && !XPG3 && !XPG4
31528 && !UNIX98]. Enables tests for XOPEN2K8.
31529 * conform/data/inttypes.h-data [ISO99 || ISO11 || XOPEN2K ||
31530 POSIX2008]: Likewise.
31531
6c073ad6
JM
31532 * conform/data/sys/wait.h-data [XPG3 || XOPEN2K8 || POSIX2008]
31533 (struct rusage): Do not expect type or its members.
31534
0155d5b2
JM
31535 [BZ #3439]
31536 * math/math.h (FP_NAN): Define macro to integer constant usable in
31537 #if and use that to give value to enum constant.
31538 (FP_INFINITE): Likewise.
31539 (FP_ZERO): Likewise.
31540 (FP_SUBNORMAL): Likewise.
31541 (FP_NORMAL): Likewise.
31542
b5dcacb4
AS
315432012-11-02 Andreas Schwab <schwab@linux-m68k.org>
31544
31545 * iconvdata/bug-iconv8.c (do_test): Use %z for size_t arguments.
31546 * iconvdata/bug-iconv9.c (do_test): Use %t for ptrdiff_t
31547 arguments.
31548
f7934be8
RM
315492012-11-02 Roland McGrath <roland@hack.frob.com>
31550
31551 * aclocal.m4 (GLIBC_AUTOCONF_VERSION): New macro.
31552 Check that AC_AUTOCONF_VERSION matches it and m4_fatal at
31553 autoconf-time if not.
31554 * configure.in: Remove AC_PREREQ.
31555
d7d08bde
TMQMF
315562012-11-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
31557
31558 * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Use
31559 __builtin_ppc_get_timebase when building with GCC >= 4.8 instead
31560 of the internal implementation.
31561
dcdae19a
JM
315622012-11-02 Joseph Myers <joseph@codesourcery.com>
31563
31564 * include/sys/syslog.h [_ISOMAC]: Disable all contents of file
31565 except include of <misc/sys/syslog.h>.
31566
d6cffd3e
AS
315672012-11-01 Andreas Schwab <schwab@linux-m68k.org>
31568
31569 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: If the
31570 function returns with a NULL context exit with zero.
31571
b3563932
TMQMF
315722012-11-01 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
31573
31574 * sysdeps/powerpc/Makefile (cflags): Remove -mnew-mnemonics.
31575
b288a93d
L
315762012-11-01 H.J. Lu <hongjiu.lu@intel.com>
31577
31578 * catgets/test-gencat.sh (run_program_prefix): Renamed to ...
31579 (run_program_cmd): This.
31580 * localedata/tst-langinfo.sh (run_program_prefix): Removed.
31581 (tst_langinfo): New variable. Use it.
31582
a2421a68
SAS
315832012-11-01 Sebastan Andrzej Siewior <bigeasy@linutronix.de>
31584
31585 * sysdeps/powerpc/powerpc32/dl-trampoline.S: Put __NO_FPRS__ around
31586 floating point opcodes.
31587
6f796e1b
TS
315882012-11-01 Thomas Schwinge <thomas@codesourcery.com>
31589
7402596b
TS
31590 * sysdeps/mach/hurd/Makefile (link-libc-static-tests): New
31591 variable.
31592
d0d4f868
TS
31593 * elf/dl-support.c: Unconditionally include "setup-vdso.h".
31594
6f796e1b
TS
31595 * sysdeps/mach/hurd/powerpc: Remove directory.
31596 * sysdeps/mach/powerpc: Likewise.
31597
4da224a2
AS
315982012-11-01 Andreas Schwab <schwab@linux-m68k.org>
31599
31600 * scripts/check-local-headers.sh: Ignore c++ headers.
31601
341dd673
TS
316022012-11-01 Thomas Schwinge <thomas@codesourcery.com>
31603
31604 * libio/genops.c (_IO_flush_all_lockp): Use NULL rather than 0 for
31605 __libc_cleanup_region_start argument.
31606
473611b2
JM
316072012-11-01 Joseph Myers <joseph@codesourcery.com>
31608
31609 [BZ #14784]
31610 [BZ #14785]
31611 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle cases with small
31612 x * y using scaling, not as x * y + z.
31613 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
31614 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
31615 * math/libm-test.inc (fma_test): Add more tests.
31616 (fma_test_towardzero): Likewise.
31617 (fma_test_downward): Likewise.
31618 (fma_test_upward): Likewise.
31619
4078da3d
TS
316202012-11-01 Thomas Schwinge <thomas@codesourcery.com>
31621
31622 * sysdeps/mach/hurd/bits/param.h: Remove stray #endif.
31623
903252aa
JM
316242012-10-31 Joseph Myers <joseph@codesourcery.com>
31625
31626 * sysdeps/sh/Makefile [$(subdir) = debug] (CFLAGS-backtrace.c):
31627 New variable.
31628
cbc818d0
TS
316292012-10-31 Thomas Schwinge <thomas@codesourcery.com>
31630
31631 * rt/tst-shm.c (worker): Correct checking for mmap failure.
31632
5a03cb1e
AS
316332012-10-31 Andreas Schwab <schwab@linux-m68k.org>
31634
31635 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
31636 Fix sort order.
31637 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
31638 Likewise.
31639
90aff2ff
TMQMF
316402012-10-31 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
31641
31642 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
31643 Fix the order of the list for glibc 2.17.
31644 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
31645 Likewise.
31646
1818fcb7
AS
316472012-10-31 Andreas Schwab <schwab@linux-m68k.org>
31648
31649 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
31650
ef82f4da
JM
316512012-10-31 Joseph Myers <joseph@codesourcery.com>
31652
16a0e2ec
JM
31653 [BZ #14610]
31654 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Check
31655 for low part of x being zero before using __atanl (y).
31656 * math/libm-test.inc (atan2_test): Add another test.
31657
0eb69512
JM
31658 * manual/install.texi (Configuring and compiling): Document
31659 general use of test-wrapper and test-wrapper-env.
31660 * INSTALL: Regenerated.
31661
ef82f4da
JM
31662 * sysdeps/ieee754/dbl-64/s_fma.c: Include <tininess.h>.
31663 (__fma): Do not extract and scale down low bits on after-rounding
31664 systems when result rounded to normal precision would have normal
31665 exponent.
31666 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <tininess.h>.
31667 (__fmal): Do not extract and scale down low bits on after-rounding
31668 systems when result rounded to normal precision would have normal
31669 exponent.
31670 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <tininess.h>.
31671 (__fmal): Do not extract and scale down low bits on after-rounding
31672 systems when result rounded to normal precision would have normal
31673 exponent.
31674 * math/libm-test.inc (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): New
31675 macro.
31676 (fma_test): Add more tests.
31677 (fma_test_towardzero): Likewise.
31678 (fma_test_downward): Likewise.
31679 (fma_test_upward): Likewise.
31680
954ef0d9
L
316812012-10-30 H.J. Lu <hongjiu.lu@intel.com>
31682
31683 * sysdeps/i386/tininess.h: Renamed to ...
31684 * sysdeps/x86/tininess.h: This.
31685 * sysdeps/x86_64/tininess.h: Removed.
31686
df61ffb2
JM
316872012-10-30 Joseph Myers <joseph@codesourcery.com>
31688
31689 * elf/Makefile ($(objpfx)tst-array1.out): Depend on comparison
31690 input. Use $(build-program-cmd).
31691 ($(objpfx)tst-array1-static.out): Likewise.
31692 ($(objpfx)tst-array2.out): Likewise.
31693 ($(objpfx)tst-array3.out): Likewise.
31694 ($(objpfx)tst-array4.out): Likewise.
31695 ($(objpfx)tst-array5.out): Likewise.
31696 ($(objpfx)tst-array5-static.out): Likewise.
31697
01767843
CM
316982012-10-30 Chris Metcalf <cmetcalf@tilera.com>
31699
47cc1490
CM
31700 * elf/dl-load.c (_dl_map_object_from_fd): Call DL_AFTER_LOAD
31701 if defined.
31702
01767843
CM
31703 * nss/nsswitch.h (nss_interface_function): Provide new
31704 macro for use with NSS functions.
31705 * grp/initgroups.c: Use new macro.
31706 * nss/getXXbyYY.c: Likewise.
31707 * nss/getXXbyYY_r.c: Likewise.
31708 * nss/getXXent.c: Likewise.
31709 * nss/getXXent_r.c: Likewise.
31710 * sysdeps/posix/getaddrinfo.c: Likewise.
31711
8321aa97
AJ
317122012-10-30 Andreas Jaeger <aj@suse.de>
31713
31714 * po/ru.po: Update Russion translation from translation project.
31715
2a27fd6d
JM
317162012-10-30 Joseph Myers <joseph@codesourcery.com>
31717
8627a232
JM
31718 [BZ #14152]
31719 [BZ #14783]
31720 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Extract low bits of
31721 result and shift together with sticky bit instead of replicating
31722 round-to-nearest rounding.
31723 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
31724 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
31725 * math/libm-test.inc (fma_test): Add more tests. Do not permit
31726 missing underflow exceptions.
31727 (fma_test_towardzero): Add more tests.
31728 (fma_test_downward): Likewise.
31729 (fma_test_upward): Likewise.
31730
2a27fd6d
JM
31731 [BZ #14047]
31732 * sysdeps/generic/tininess.h: New file.
31733 * sysdeps/i386/tininess.h: Likewise.
31734 * sysdeps/sh/tininess.h: Likewise.
31735 * sysdeps/x86_64/tininess.h: Likewise.
31736 * stdlib/tst-strtod-underflow.c: Likewise.
31737 * stdlib/tst-tininess.c: Likewise.
31738 * stdlib/strtod_l.c: Include <tininess.h>.
31739 (round_and_return): Do not set errno for exact underflow cases.
31740 Force an underflow exception when setting errno for underflow.
31741 Determine underflow based on rounding to normal precision if
31742 TININESS_AFTER_ROUNDING.
31743 * stdlib/tst-strtod.c (tests): Do not expect errno to be set to
31744 ERANGE for exact underflow cases.
31745 * stdlib/Makefile (tests): Add tst-tininess and
31746 tst-strtod-underflow.
31747 ($(objpfx)tst-tininess): Use $(link-libm).
31748 ($(objpfx)tst-strtod-underflow): Likewise.
31749
e7170363
AJ
317502012-10-30 Andreas Jaeger <aj@suse.de>
31751
e5088dc6
AJ
31752 [BZ#14767]
31753 * elf/Makefile (tests): Remove conditional for have-initfini-array
31754 since this is now always required and the variable does not exist
31755 anymore.
31756 (tests-static): Likewise.
31757 (modules-names): Likewise.
31758
e7170363 31759 * po/eo.po: Add Esperanto translation from translation project.
b0988f10
AJ
31760
31761 * elf/tst-array1.c (fini_array): Make writeable so that it can be
31762 merged with constructor/destructor.
31763 (init_array): Likewise.
31764 * elf/tst-array2dep.c (fini_array): Likewise.
31765 (init_array): Likewise.
31766
60457d8a
MF
317672012-10-29 Mike Frysinger <vapier@gentoo.org>
31768
31769 * manual/message.texi: Delete @cartouche tags.
31770
8bece752
PT
317712012-10-29 Pino Toscano <toscano.pino@tiscali.it>
31772
94ce799f
PT
31773 * sysdeps/mach/hurd/fdatasync.c: Turn ERR into EINVAL if it is
31774 EOPNOTSUPP.
31775 * sysdeps/mach/hurd/fsync.c: Likewise.
31776
8bece752
PT
31777 * sysdeps/pthread/aio_notify.c (__aio_notify_only)
31778 [_POSIX_REALTIME_SIGNALS]: Change condition to
31779 [_POSIX_REALTIME_SIGNALS > 0].
31780
86ebe6b1
AJ
317812012-10-27 Andreas Jaeger <aj@suse.de>
31782
31783 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (__O_LARGEFILE)
31784 [!__x86_64]: Do not define, take value from <bits/fcntl-linux.h>.
31785 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE):
31786 [__WORDSIZE != 64]: Likewise.
31787
54399c08
L
317882012-10-26 H.J. Lu <hongjiu.lu@intel.com>
31789
31790 * iconvdata/tst-table.sh: Remove ${SHELL}.
31791 * iconvdata/tst-tables.sh: Likewise.
31792
e2211bed
DM
317932012-10-25 David S. Miller <davem@davemloft.net>
31794
31795 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
31796 (__get_clockfreq_via_proc_openprom): Use strtoumax instead
31797 of strtoull.
31798
f303f97c
DM
31799 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add comments for
31800 ifunc-impl-list.c
31801 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
31802 * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c: New file.
31803 * sysdeps/sparc/sparc32/sparcv9/multiarch/ifunc-impl-list.c: New
31804 file.
31805
1e9d84cd
RM
318062012-10-25 Roland McGrath <roland@hack.frob.com>
31807
31808 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
31809 (__get_clockfreq_via_proc_openprom): Use __getdents instead of
31810 __getdirentries.
31811
df381762
JM
318122012-10-25 Joseph Myers <joseph@codesourcery.com>
31813 Jim Blandy <jimb@codesourcery.com>
31814
31815 * scripts/cross-test-ssh.sh: New file.
31816 * manual/install.texi (Configuring and compiling): Document use of
31817 cross-test-ssh.sh.
31818 * INSTALL: Regenerated.
31819
bff64913
PT
318202012-10-25 Pino Toscano <toscano.pino@tiscali.it>
31821
31822 * sysdeps/mach/hurd/ptrace.c (ptrace): Use __hurd_fail to return
31823 EOPNOTSUPP.
31824
25fe8932
JM
318252012-10-25 Joseph Myers <joseph@codesourcery.com>
31826
31827 * Makeconfig (run-program-prefix): Fix comment.
31828
cc1290d0
JM
318292012-10-24 Joseph Myers <joseph@codesourcery.com>
31830 Jim Blandy <jimb@codesourcery.com>
31831
31832 * Makeconfig (test-wrapper): New variable,
31833 (test-wrapper-env): Likewise.
31834 [$(cross-compiling) = yes && $(test-wrapper) != ""]
31835 (run-built-tests): Define to yes.
31836 (run-program-prefix): Use $(test-wrapper).
31837 (built-program-cmd): Likewise.
31838 * Rules (make-test-out): Use $(test-wrapper-env) and
31839 $(host-built-program-cmd).
31840 * elf/Makefile ($(objpfx)order.out): Use $(test-wrapper).
31841 ($(objpfx)tst-pathopt.out): Pass $(test-wrapper-env) to
31842 tst-pathopt.sh.
31843 ($(objpfx)tst-rtld-load-self.out): Pass $(test-wrapper) and
31844 $(test-wrapper-env) to tst-rtld-load-self.sh.
31845 ($(objpfx)order2.out): Use $(test-wrapper).
31846 ($(objpfx)tst-initorder.out): Likewise.
31847 ($(objpfx)tst-initorder2.out): Likewise.
31848 ($(objpfx)tst-unused-dep.out): Use $(test-wrapper-env).
31849 * elf/tst-pathopt.sh (run_program_prefix): Remove unused variable.
31850 (test_wrapper_env): New variable. Use it to run ld.so.
31851 * elf/tst-rtld-load-self.sh (test_wrapper): New variable.
31852 Use it to run ld.so.
31853 (test_wrapper_env): Likewise.
31854 * iconvdata/Makefile ($(objpfx)iconv-test.out): Pass
31855 $(test-wrapper) to run-iconv-test.sh.
31856 * iconvdata/run-iconv-test.sh (test_wrapper): New variable.
31857 (ICONV): Use $test_wrapper.
31858 * posix/Makefile ($(objpfx)globtest.out): Pass
31859 $(run-via-rtld-prefix), $(test-wrapper) and $(test-wrapper-env) to
31860 globtest.sh, not $(run-program-prefix).
31861 * posix/globtest.sh (run_via_rtld_prefix): New variable.
31862 (test_wrapper): Likewise.
31863 (test_wrapper_env): Likewise. Use it to run globtest with HOME
31864 set together with run_via_rtld_prefix.
31865 (run_program_prefix): Define in terms of test_wrapper and
31866 run_via_rtld_prefix.
31867
6e6249d0
RM
318682012-10-24 Roland McGrath <roland@hack.frob.com>
31869
31870 * nscd/Makefile ($(objpfx)nscd): Remove librt dependency.
31871 * posix/Makefile ($(objpfx)tst-regex, $(objpfx)tst-regex2):
31872 Targets removed.
31873
31874 [BZ #14743]
31875 * include/time.h: Remove librt_hidden_proto (clock_gettime).
31876 Declare __clock_getres, __clock_gettime, __clock_settime,
31877 __clock_nanosleep, and __clock_getcpuclockid.
31878 * rt/clock_gettime.c: Define __clock_gettime as an alias.
31879 Remove librt_hidden_def (clock_gettime).
31880 * sysdeps/unix/clock_gettime.c: Likewise.
31881 * rt/clock_getcpuclockid.c: Define __clock_getcpuclockid as an alias.
31882 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
31883 * rt/clock_getres.c: Define __clock_getres as an alias.
31884 * sysdeps/posix/clock_getres.c: Likewise.
31885 * rt/clock_settime.c: Define __clock_settime as an alias.
31886 * sysdeps/unix/clock_settime.c: Likewise.
31887 * rt/clock_nanosleep.c: Define __clock_nanosleep as an alias.
31888 * sysdeps/unix/clock_nanosleep.c: Likewise.
31889 * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
31890 * rt/clock-compat.c: New file.
31891 * rt/Makefile (librt-routines): Add clock-compat and move
31892 $(clock-routines) to ...
31893 (routines): ... here, new variable.
31894 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_routines):
31895 Don't add get_clockfreq here.
31896 * rt/Versions (libc: GLIBC_2.17): New version set.
31897 Add clock_* symbols here.
31898 (libc: GLIBC_PRIVATE): New version set. Add __clock_* symbols here.
31899 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist
31900 (GLIBC_2.17): Add clock_* symbols.
31901 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
31902 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
31903 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
31904 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
31905 Likewise.
31906 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
31907 Likewise.
31908 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
31909 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
31910 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
31911 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
31912 * NEWS: Mention the move.
31913
31914 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
31915 Use __open, __read, __close rather than their public counterparts.
31916 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
31917 (__get_clockfreq_via_cpuinfo): Likewise.
31918 (__get_clockfreq_via_proc_openprom): Likewise, and __getdirentries.
31919 (__get_clockfreq_via_dev_openprom): Likewise, and __ioctl.
31920
31921 * config.h.in (HAVE_IFUNC): New #undef.
31922 * configure.in: Define it if libc_cv_ld_gnu_indirect_function
31923 was successful.
31924 * configure: Regenerated.
31925
0cae3f4b
MF
319262012-10-24 Mike Frysinger <vapier@gentoo.org>
31927
31928 * configure.in: Move READELF check to start of file.
31929 (libc_cv_ld_gnu_indirect_function): Change to a link test. Rename from
31930 libc_cv_asm_gnu_indirect_function in the process.
31931 * configure: Regenerated.
31932
8175a253
MF
319332012-10-24 Mike Frysinger <vapier@gentoo.org>
31934
31935 * configure.in (libc_cv_gcc_static_libgcc): Drop -q flag to grep and
31936 send the output to /dev/null.
31937 (libc_cv_cc_with_libunwind): Likewise.
31938 (libc_cv_as_noexecstack): Likewise.
31939 * configure: Regenerate.
31940
0708a7d1
JM
319412012-10-24 Joseph Myers <joseph@codesourcery.com>
31942
10b40d85
JM
31943 * io/ftwtest-sh (tmp): Define to ${objpfx}io, not using `pwd`.
31944
0708a7d1
JM
31945 * posix/globtest.sh (TMPDIR): Do not set.
31946 (testdir): Define using ${common_objpfx}posix not $TMPDIR.
31947 (testout): Likewise.
31948
9fddec1a
AJ
319492012-10-24 Andreas Jaeger <aj@suse.de>
31950
3a8db22f
AJ
31951 * io/fcntl.h: Always define mode_t, off_t, pid_t and use these
31952 types for creat, creat64, lockf, posix_fadvise, posix_fallocate.
31953 [__USE_LARGEFILE64 && !__off64_t_defined]: Define off64_t.
31954 [__USE_LARGEFILE64]: Use off64_t in declaration of lock64,
31955 posix_fadvise64, posix_fallocate64.
31956
9fddec1a
AJ
31957 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (F_GETLK, F_SETLK)
31958 (F_SETLKW) [__x86_64]: Remove, provided by <bits/fcntl-linux.h>.
31959 (F_GETLK, F_SETLK, F_SETLKW) [!__USE_FILE_OFFSET64 && !__x86_64__]:
31960 Likewise.
31961 (F_GETLK, F_SETLK, F_SETLKW) [__USE_FILE_OFFSET64 && ! __x86_64__]:
31962 Likewise.
31963 (F_GETLK64, F_SETLK64, F_SETLKW64) [!__x86_64__]: Likewise.
31964
31965 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_GETLK, F_SETLK)
31966 (F_SETLKW) [__USE_FILE_OFFSET64]: Remove, provided by
31967 <bits/fcntl-linux.h>.
31968 (F_GETLK64, F_SETLK64, F_SETLKW64) [__WORDSIZE == 64]: Likewise.
31969
31970 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_DUPFD, F_GETFD)
31971 (F_SETFD, F_GETFL, F_SETFL): Remove, provided by <bits/fcntl-linux.h>.
31972 (F_GETLK, F_SETLK, F_SETLKW) [__WORDSIZE == 64]: Likewise.
31973 (F_GETLK, F_SETLK, F_SETLKW, F_GETLK64, F_SETLK64, F_SETLKW64)
31974 [__WORDSIZE != 64]: Likewise.
31975
ebfd1bbd
JM
319762012-10-23 Joseph Myers <joseph@codesourcery.com>
31977
03ac099f
JM
31978 * Makeconfig (run-built-tests): New variable.
31979 * Rules [$(cross-compiling) = yes]: Change condition to
31980 [$(run-built-tests) = no].
31981 * catgets/Makefile [$(cross-compiling) != yes]: Change condition
31982 to [$(run-built-tests) = yes].
31983 * elf/Makefile [$(cross-compiling) = no]: Likewise
31984 * grp/Makefile [$(cross-compiling) = no]: Likewise.
31985 * iconv/Makefile [$(cross-compiling) != yes]: Likewise.
31986 * iconvdata/Makefile [$(cross-compiling) = no]: Likewise.
31987 * intl/Makefile [$(cross-compiling) = no]: Likewise.
31988 * io/Makefile [$(cross-compiling) = no]: Likewise.
31989 * libio/Makefile [$(cross-compiling) = no]: Likewise.
31990 * malloc/Makefile [$(cross-compiling) = no]: Likewise.
31991 * misc/Makefile [$(cross-compiling) = no]: Likewise.
31992 * posix/Makefile [$(cross-compiling) = no]: Likewise.
31993 * resolv/Makefile [$(cross-compiling) = no]: Likewise.
31994 * stdio-common/Makefile [$(cross-compiling) = no]: Likewise.
31995 * stdlib/Makefile [$(cross-compiling) = no]: Likewise.
31996 * string/Makefile [$(cross-compiling) = no]: Likewise.
31997
ebfd1bbd
JM
31998 * posix/Makefile ($(objpfx)globtest.out): Pass
31999 $(run-program-prefix) to globtest.sh, not $(elf-objpfx) and
32000 $(rtld-installed-name).
32001 * posix/globtest.sh (elf_objpfx): Remove variable.
32002 (rtld_installed_name): Likewise.
32003 (library_path): Likewise.
32004 (run_program_prefix): New variable. Use for running globtest
32005 binary.
32006
166bca24
JB
320072012-10-23 Jim Blandy <jimb@codesourcery.com>
32008 Joseph Myers <joseph@codesourcery.com>
32009
32010 * Makeconfig (host-built-program-cmd): New variable.
32011 * elf/Makefile (tst-stackguard1-ARGS): Use
32012 $(host-built-program-cmd).
32013 * posix/Makefile (tst-exec-ARGS): Use $(host-built-program-cmd).
32014 (tst-spawn-ARGS): Likewise.
32015 * rt/Makefile (tst-mqueue7-ARGS): Use $(host-built-program-cmd).
32016
88866099
JM
320172012-10-23 Joseph Myers <joseph@codesourcery.com>
32018 Jim Blandy <jimb@codesourcery.com>
32019
32020 * Makeconfig (run-via-rtld-prefix): New variable.
32021 (run-program-prefix): Define in terms of $(run-via-rtld-prefix).
32022 (built-program-cmd): Likewise.
32023
b4b4c296
AJ
320242012-10-22 Andreas Jaeger <aj@suse.de>
32025
32026 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (O_RSYNC): Define to
32027 __O_RSYNC if it exists, otherwise to O_SYNC.
32028
6fb54a22
JB
320292012-10-22 Jim Blandy <jimb@codesourcery.com>
32030 Joseph Myers <joseph@codesourcery.com>
32031
32032 * iconvdata/run-iconv-test.sh: Redirect iconv stdin in loops from
32033 /dev/null.
32034 * iconvdata/tst-tables.sh: Redirect tst-table.sh stdin in loop
32035 from /dev/null
32036 * posix/tst-getconf.sh: Redirect getconf stdin in loop from
32037 /dev/null.
32038
481b90b9
AJ
320392012-10-22 Andreas Jaeger <aj@suse.de>
32040
2a0e2669
AJ
32041 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_LARGEFILE):
32042 Define always.
32043 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE): Likewise.
32044
76e38f9a
AJ
32045 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
32046 bits/fcntl-linux.h.
32047
7cd37b43
AJ
32048 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (F_GETLK, F_SETLK)
32049 (F_SETLKW) [!F_GETLK]: Define values for [!__USE_FILE_OFFSET64].
32050
481b90b9
AJ
32051 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_LARGEFILE): Rename
32052 to __O_LARGEFILE.
32053 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Rename
32054 to __O_LARGEFILE.
32055
aba75984
JB
320562012-10-21 Jim Blandy <jimb@codesourcery.com>
32057 Joseph Myers <joseph@codesourcery.com>
32058
32059 * config.make.in (NM): New variable.
32060
88d4247f
AJ
320612012-10-21 Andreas Jaeger <aj@suse.de>
32062
32063 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Remove all
32064 definitions and declarations that are provided by
32065 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
32066
f2eed205
L
320672012-10-20 H.J. Lu <hongjiu.lu@intel.com>
32068
32069 [BZ #14683]
32070 * elf/Makefile (tests-static): Add tst-leaks1-static.
32071 (tests): Also depend on $(objpfx)tst-leaks1-static-mem.
32072 ($(objpfx)tst-leaks1-static): New rule.
32073 ($(objpfx)tst-leaks1-static-mem): Likewise.
32074 (tst-leaks1-static-ENV): New macro.
32075 * elf/dl-open.c (dl_open_worker): Check the main application
32076 only if SHARED is defined.
32077 * elf/tst-leaks1-static.c: New file.
32078
335e6931
AJ
320792012-10-20 Andreas Jaeger <aj@suse.de>
32080
32081 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: New file, contains
32082 generic values for Linux.
32083 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: Remove all definitions
32084 and declarations that are provided by <bits/fcntl-linux.h> and
32085 include <bits/fcntl-linux.h>.
32086 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
32087 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
32088
ac5c94d3
RM
320892012-10-20 Roland McGrath <roland@hack.frob.com>
32090
32091 * io/fcntl.h: Move include of <bits/types.h> to the top and
32092 include it unconditionally.
32093
de54b33a
L
320942012-10-20 H.J. Lu <hongjiu.lu@intel.com>
32095
228cfb01
L
32096 * wcsmbs/Makefile (tests-ifunc): New variable.
32097 (tests): Add $(tests-ifunc).
32098 * wcsmbs/test-wcschr-ifunc.c: New file.
32099 * wcsmbs/test-wcscmp-ifunc.c: Likewise.
32100 * wcsmbs/test-wcscpy-ifunc.c: Likewise.
32101 * wcsmbs/test-wcslen-ifunc.c: Likewise.
32102 * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
32103 * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
32104
69f07e5f
L
32105 * string/Makefile (tests-ifunc): New variable.
32106 (tests): Add $(tests-ifunc).
32107 * string/test-memccpy.c (TEST_NAME): New macro.
32108 * string/test-memchr.c (TEST_NAME): Likewise.
32109 * string/test-memcmp.c (TEST_NAME): Likewise.
32110 * string/test-memcpy.c (TEST_NAME): Likewise.
32111 * string/test-memmem.c (TEST_NAME): Likewise.
32112 * string/test-memmove.c (TEST_NAME): Likewise.
32113 * string/test-memset.c (TEST_NAME): Likewise.
32114 * string/test-rawmemchr.c (TEST_NAME): Likewise.
32115 * string/test-stpcpy.c (TEST_NAME): Likewise.
32116 * string/test-stpncpy.c (TEST_NAME): Likewise.
32117 * string/test-strcasecmp.c (TEST_NAME): Likewise.
32118 * string/test-strcasestr.c (TEST_NAME): Likewise.
32119 * string/test-strcat.c (TEST_NAME): Likewise.
32120 * string/test-strchr.c (TEST_NAME): Likewise.
32121 * string/test-strcmp.c(TEST_NAME): Likewise.
32122 * string/test-strcpy.c (TEST_NAME): Likewise.
32123 * string/test-strcspn.c (TEST_NAME): Likewise.
32124 * string/test-strlen.c (TEST_NAME): Likewise.
32125 * string/test-strncasecmp.c (TEST_NAME): Likewise.
32126 * string/test-strncmp.c (TEST_NAME): Likewise.
32127 * string/test-strncpy.c (TEST_NAME): Likewise.
32128 * string/test-strnlen.c (TEST_NAME): Likewise.
32129 * string/test-strpbrk.c (TEST_NAME): Likewise.
32130 * string/test-strrchr.c (TEST_NAME): Likewise.
32131 * string/test-strspn.c (TEST_NAME): Likewise.
32132 * string/test-strstr.c (TEST_NAME): Likewise.
32133 * string/test-bcopy-ifunc.c: New file.
32134 * string/test-bzero-ifunc.c: Likewise.
32135 * string/test-memccpy-ifunc.c: Likewise.
32136 * string/test-memchr-ifunc.c: Likewise.
32137 * string/test-memcmp-ifunc.c: Likewise.
32138 * string/test-memcpy-ifunc.c: Likewise.
32139 * string/test-memmem-ifunc.c: Likewise.
32140 * string/test-memmove-ifunc.c: Likewise.
32141 * string/test-mempcpy-ifunc.c: Likewise.
32142 * string/test-memset-ifunc.c: Likewise.
32143 * string/test-rawmemchr-ifunc.c: Likewise.
32144 * string/test-stpcpy-ifunc.c: Likewise.
32145 * string/test-stpncpy-ifunc.c: Likewise.
32146 * string/test-strcasecmp-ifunc.c: Likewise.
32147 * string/test-strcasestr-ifunc.c: Likewise.
32148 * string/test-strcat-ifunc.c: Likewise.
32149 * string/test-strchr-ifunc.c: Likewise.
32150 * string/test-strchrnul-ifunc.c: Likewise.
32151 * string/test-strcmp-ifunc.c: Likewise.
32152 * string/test-strcpy-ifunc.c: Likewise.
32153 * string/test-strcspn-ifunc.c: Likewise.
32154 * string/test-strlen-ifunc.c: Likewise.
32155 * string/test-strncasecmp-ifunc.c: Likewise.
32156 * string/test-strncat-ifunc.c: Likewise.
32157 * string/test-strncmp-ifunc.c: Likewise.
32158 * string/test-strncpy-ifunc.c: Likewise.
32159 * string/test-strnlen-ifunc.c: Likewise.
32160 * string/test-strpbrk-ifunc.c: Likewise.
32161 * string/test-strrchr-ifunc.c: Likewise.
32162 * string/test-strspn-ifunc.c: Likewise.
32163 * string/test-strstr-ifunc.c: Likewise.
32164
de54b33a
L
32165 * debug/Makefile (tests-ifunc): New variable.
32166 (tests): Add $(tests-ifunc).
32167 * debug/test-stpcpy_chk.c (TEST_NAME): New macro.
32168 * debug/test-strcpy_chk.c (TEST_NAME): Likewise.
32169 * debug/test-stpcpy_chk-ifunc.c: New file.
32170 * debug/test-strcpy_chk-ifunc.c: Likewise.
32171
88481c16
SP
321722012-10-20 Siddhesh Poyarekar <siddhesh@redhat.com>
32173
32174 [BZ #13601]
32175 * elf/dl-load.c (open_verify): Retry read if the entire ELF
32176 header is not read in.
32177
135948bd
JM
321782012-10-19 Joseph Myers <joseph@codesourcery.com>
32179
89f1c388
JM
32180 * io/Makefile ($(objpfx)ftwtest.out): Depend on ftwtest-sh. Pass
32181 script to $(SHELL) as $<. Pass $(common-objpfx) to script
32182 directly. Pass built executable to script as
32183 $(built-program-cmd).
32184 * io/ftwtest-sh (ldso): Remove variable. Run ftwtest directly as
32185 $testprogram without using LD_LIBRARY_PATH and $ldso.
32186
e40a0d21
JM
32187 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Pass
32188 $(run-program-prefix) to tst_fgetgrent.sh, not $(elf-objpfx) and
32189 $(rtld-installed-name).
32190 * grp/tst_fgetgrent.sh (elf_objpfx): Remove variable.
32191 (rtld_installed_name): Likewise.
32192 (library_path): Likewise.
32193 (run_program_prefix): New variable. Use it to run tst_fgetgrent.
32194 * iconvdata/Makefile ($(objpfx)tst-tables.out): Pass
32195 $(run-program-prefix) to tst-tables.sh.
32196 * iconvdata/tst-table.sh (run_program_prefix): New variable. Use
32197 it to run tst-table-from and tst-table-to.
32198 * iconvdata/tst-tables.sh (run_program_prefix): New variable.
32199 Pass it to tst-table.sh.
32200 * intl/Makefile ($(objpfx)tst-gettext.out): Pass
32201 $(run-program-prefix) to tst-gettext.sh.
32202 ($(objpfx)tst-translit.out): Pass $(run-program-prefix) to
32203 tst-translit.sh.
32204 ($(objpfx)tst-gettext2.out): Pass $(run-program-prefix) to
32205 tst-gettext2.sh.
32206 * intl/tst-gettext.sh (run_program_prefix): New variable. Use it
32207 to run tst-gettext.
32208 * intl/tst-gettext2.sh (run_program_prefix): New variable. Use it
32209 to run tst-gettext2.
32210 * intl/tst-translit.sh (run_program_prefix): New variable. Use it
32211 to run tst-translit.
32212 * malloc/Makefile ($(objpfx)tst-mtrace.out): Pass
32213 $(run-program-prefix) to tst-mtrace.sh.
32214 * malloc/tst-mtrace.sh (run_program_prefix): New variable. Use it
32215 to run tst-mtrace.
32216 * posix/Makefile ($(objpfx)wordexp-tst.out): Pass
32217 $(run-program-prefix) to wordexp-tst.sh, not $(elf-objpfx) and
32218 $(rtld-installed-name).
32219 * posix/wordexp-tst.sh (elf_objpfx): Remove variable.
32220 (rtld_installed_name): Likewise.
32221 (run_program_prefix): New variable. Use it to run wordexp-test.
32222
728e272a
JM
32223 * Makeconfig (ARCH): Remove all definitions.
32224 (machine): Likewise.
32225 [ARCH]: Remove conditional code.
32226 [!objdir]: Give error.
32227 [!objdir] (objpfx): Remove.
32228 [!objdir] (common-objpfx): Likewise.
32229 [!objdir] (common-objdir): Likewise.
32230 * configure.in (config_makefile): Remove. Hardcode Makefile in
32231 AC_CONFIG_FILES call.
32232 * configure: Regenerated.
32233
d528cdcf
JM
32234 [BZ #13888]
32235 * io/ftwtest-sh (tmp): Set to use the working directory, not /tmp
32236 or TMPDIR.
32237 (testout): Likewise.
32238
135948bd
JM
32239 * posix/Makefile ($(objpfx)tst-getconf.out): Pass
32240 $(built-program-cmd) to tst-getconf.sh, not $(elf-objpfx) and
32241 $(rtld-installed-name).
32242 * posix/tst-getconf.sh (elf_objpfx): Remove variable.
32243 (rtld_installed_name): Likwise.
32244 (runit): Remove function.
32245 (run_getconf): New variable, Use it for running getconf binary.
32246
38c78296
L
322472012-10-18 H.J. Lu <hongjiu.lu@intel.com>
32248
32249 [BZ #14716]
32250 * string/test-memmem.c (check_result): New function.
32251 (do_one_test): Use it.
32252 (check1): New function.
32253 (test_main): Use it.
32254
d077f65f
MT
322552012-10-18 Markus Trippelsdorf <markus@trippelsdorf.de>
32256
32257 * math/Makefile: Comment on slow compilation of test-tgmath2.c.
32258
ced52c71
JM
322592012-10-18 Joseph Myers <joseph@codesourcery.com>
32260
32261 * sysdeps/generic/_G_config.h (_G_OPEN64): Remove.
32262 (_G_LSEEK64): Likewise.
32263 (_G_MMAP64): Likewise.
32264 (_G_FSTAT64): Likewise.
32265 * sysdeps/unix/sysv/linux/_G_config.h (_G_OPEN64): Remove.
32266 (_G_LSEEK64): Likewise.
32267 (_G_MMAP64): Likewise.
32268 (_G_FSTAT64): Likewise.
32269 * libio/fileops.c (mmap_remap_check) [_G_MMAP64]: Make code
32270 unconditional. Call __mmap64 directly.
32271 (mmap_remap_check) [!_G_MMAP64]: Remove conditional code.
32272 (mmap_remap_check) [_G_LSEEK64]: Make code unconditional. Call
32273 __lseek64 directly.
32274 (mmap_remap_check) [!_G_LSEEK64]: Remove conditional code.
32275 (decide_maybe_mmap) [_G_MMAP64]: Make code unconditional. Call
32276 __mmap64 directly.
32277 (decide_maybe_mmap) [!_G_MMAP64]: Remove conditional code.
32278 (decide_maybe_mmap) [_G_LSEEK64]: Make code unconditional. Call
32279 __lseek64 directly.
32280 (decide_maybe_mmap) [!_G_LSEEK64]: Remove conditional code.
32281 (_IO_file_sync_mmap) [_G_LSEEK64]: Make code unconditional. Call
32282 __lseek64 directly.
32283 (_IO_file_sync_mmap) [!_G_LSEEK64]: Remove conditional code.
32284 (_IO_file_seek) [_G_LSEEK64]: Make code unconditional. Call
32285 __lseek64 directly.
32286 (_IO_file_seek) [!_G_LSEEK64]: Remove conditional code.
32287 (_IO_file_stat) [_G_FSTAT64]: Make code unconditional. Call
32288 __fxstat64 directly.
32289 (_IO_file_stat) [!_G_FSTAT64]: Remove conditional code.
32290 * libio/freopen64.c (freopen64) [_G_OPEN64]: Make code
32291 unconditional.
32292 (freopen64) [!_G_OPEN64]: Remove conditional code.
32293 * libio/fseeko64.c (fseeko64) [_G_LSEEK64]: Make code
32294 unconditional.
32295 (fseeko64) [!_G_LSEEK64]: Remove conditional code.
32296 * libio/ftello64.c (ftello64) [_G_LSEEK64]: Make code
32297 unconditional.
32298 (ftello64) [!_G_LSEEK64]: Remove conditional code.
32299 * libio/iofgetpos64.c (_IO_new_fgetpos64) [_G_LSEEK64]: Make code
32300 unconditional.
32301 (_IO_new_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
32302 * libio/iofopen64.c (_IO_fopen64) [_G_OPEN64]: Make code
32303 unconditional.
32304 (_IO_fopen64) [!_G_OPEN64]: Remove conditional code.
32305 * libio/iofsetpos64.c (_IO_new_fsetpos64) [_G_LSEEK64]: Make code
32306 unconditional.
32307 (_IO_new_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
32308 * libio/oldiofgetpos64.c (_IO_old_fgetpos64) [_G_LSEEK64]: Make code
32309 unconditional.
32310 (_IO_old_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
32311 * libio/oldiofsetpos64.c (_IO_old_fsetpos64) [_G_LSEEK64]: Make code
32312 unconditional.
32313 (_IO_old_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
32314
b741de23
SP
323152012-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
32316
32317 [BZ #12140]
32318 * manual/memory.texi (Malloc Tunable Parameters): Add note
32319 about free list pointers overwriting some perturb bytes.
32320 Wording suggested by Roland McGrath.
32321
f9b9d9c9
JM
323222012-10-17 Joseph Myers <joseph@codesourcery.com>
32323
32324 * math/libm-test.inc (gamma_test): Do not call feclearexcept.
32325 (lgamma_test): Likewise.
32326 (tgamma_test): Likewise.
32327
172a631a
FW
323282012-10-16 Florian Weimer <fweimer@redhat.com>
32329
32330 [BZ #14700]
32331 * sysdeps/posix/opendir.c (MAX_DIR_BUFFER_SIZE): New constant.
32332 (__alloc_dir): Limit buffer to MAX_DIR_BUFFER_SIZE.
32333
e9f37252
MK
323342012-10-16 Maxim Kuvyrkov <maxim@codesourcery.com>
32335
32336 * NEWS: Mention BZ #14716.
32337 * string/str-two-way.h (two_way_short_needle): Fix thinko introduced
32338 when removing AVAILABLE1_USES_J macro.
32339
d394eb74
L
323402012-10-12 H.J. Lu <hongjiu.lu@intel.com>
32341
32342 * sysdeps/x86/bits/byteswap.h: Include <bits/types.h>.
32343 (__bswap_64): __uint64_t for unsigned 64-bit int.
32344
ca38dc17
AS
323452012-10-12 Andreas Schwab <schwab@linux-m68k.org>
32346
32347 * include/string.h (memmem): Declare libc hidden alias.
32348 * string/memmem.c (memmem): Define libc hidden alias.
32349 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use __open,
32350 __read, __close instead of open, read, close.
32351
9a387d1f
L
323522012-10-11 H.J. Lu <hongjiu.lu@intel.com>
32353
ac49ecaf
L
32354 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: New file.
32355 * sysdeps/x86_64/multiarch/memcmp.S (__memcmp_sse2): Make it
32356 global and hidden.
32357 * sysdeps/x86_64/multiarch/memcpy.S (__memcpy_sse2): Likewise.
32358 * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy_sse2): Likewise.
32359 * sysdeps/x86_64/multiarch/rawmemchr.S (__rawmemchr_sse42):
32360 Likewise.
32361 (__rawmemchr_sse2): Likewise.
32362 * sysdeps/x86_64/multiarch/strcat.S (STRCAT_SSE2): Likewise.
32363 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Likewise.
32364 (__strchr_sse2): Likewise.
32365 * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Likewise.
32366 * sysdeps/x86_64/multiarch/strcmp.S (STRCMP_SSE2): Likewise.
32367 (__strcasecmp_sse2): Likewise.
32368 (__strncasecmp_sse2): Likewise.
32369 * sysdeps/x86_64/multiarch/strcpy.S (STRCPY_SSE2): Likewise.
32370 * sysdeps/x86_64/multiarch/strlen.S (__strlen_sse2): Likewise.
32371 * sysdeps/x86_64/multiarch/strnlen.S (__strnlen_sse2): Likewise.
32372 * sysdeps/x86_64/multiarch/strrchr.S (__strrchr_sse42): Likewise.
32373 (__strrchr_sse2): Likewise.
32374 * sysdeps/x86_64/multiarch/memcmp.S: Add comments for
32375 ifunc-impl-list.c.
32376 * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
32377 * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
32378 * sysdeps/x86_64/multiarch/memmove.c: Likewise.
32379 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
32380 * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
32381 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
32382 * sysdeps/x86_64/multiarch/memset.S: Likewise.
32383 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
32384 * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise.
32385 * sysdeps/x86_64/multiarch/stpcpy.S: Likewise.
32386 * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
32387 * sysdeps/x86_64/multiarch/strcasecmp_l.S: Likewise.
32388 * sysdeps/x86_64/multiarch/strcasestr-c.c: Likewise.
32389 * sysdeps/x86_64/multiarch/strcat.S: Likewise.
32390 * sysdeps/x86_64/multiarch/strchr.S: Likewise.
32391 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
32392 * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
32393 * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
32394 * sysdeps/x86_64/multiarch/strlen.S: Likewise.
32395 * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
32396 * sysdeps/x86_64/multiarch/strncat.S: Likewise.
32397 * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
32398 * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
32399 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
32400 * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
32401 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
32402 * sysdeps/x86_64/multiarch/strspn.S: Likewise.
32403 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
32404 * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
32405 * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
32406
b090e8ea
L
32407 * sysdeps/i386/i686/multiarch/bcopy.S (__bcopy_ia32): Make it
32408 global and hidden.
32409 * sysdeps/i386/i686/multiarch/bzero.S (__bzero_ia32): Likewise.
32410 * sysdeps/i386/i686/multiarch/memcmp.S (__memcmp_ia32): Likewise.
32411 * sysdeps/i386/i686/multiarch/memcpy.S (__memcpy_ia32): Likewise.
32412 * sysdeps/i386/i686/multiarch/memmove.S (__memmove_ia32):
32413 Likewise.
32414 * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy_ia32):
32415 Likewise.
32416 * sysdeps/i386/i686/multiarch/strcat.S (STRCAT_IA32): Likewise.
32417 * sysdeps/i386/i686/multiarch/strcmp.S (__STRCMP_IA32): Likewise.
32418 * sysdeps/i386/i686/multiarch/strcpy.S (STRCPY_IA32): Likewise.
32419 * sysdeps/i386/i686/multiarch/bcopy.S: Add comments for
32420 ifunc-impl-list.c.
32421 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
32422 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
32423 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
32424 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
32425 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
32426 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
32427 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
32428 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
32429 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
32430 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
32431 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
32432 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
32433 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
32434 * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
32435 * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
32436 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
32437 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
32438 * sysdeps/i386/i686/multiarch/strcasestr-c.c: Likewise.
32439 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
32440 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
32441 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
32442 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
32443 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
32444 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
32445 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
32446 * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
32447 * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
32448 * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
32449 * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
32450 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
32451 * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
32452 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
32453 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
32454 * sysdeps/i386/i686/multiarch/strstr-c.c: Likewise.
32455 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
32456 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
32457 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
32458 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
32459 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
32460 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
32461 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: New file.
32462
11dd4af6
L
32463 * Rules [$(multi-arch) = no] (tests): Filter out $(tests-ifunc).
32464 [$(multi-arch) = no] (xtests): Filter out $(xtests-ifunc).
32465 * include/ifunc-impl-list.h: New file.
32466 * misc/ifunc-impl-list.c: Likewise.
32467 * misc/Makefile (routines): Add ifunc-impl-list.
32468 * misc/Versions (GLIBC_PRIVATE): Add __libc_ifunc_impl_list.
32469 * string/test-string.h: Include <ifunc-impl-list.h>.
57f41c40
AS
32470 (func_list, func_count, impl_count, impl_array) [TEST_IFUNC &&
32471 TEST_NAME]: New variables.
11dd4af6
L
32472 (FOR_EACH_IMPL): Support func_list if TEST_IFUNC and TEST_NAME
32473 are defined.
32474 (test_init): Call __libc_ifunc_impl_list to initialize
32475 func_list if TEST_IFUNC and TEST_NAME are defined.
32476
9a387d1f
L
32477 * string/Makefile (strop-tests): Add bcopy and bzero.
32478 * string/test-bcopy.c: New file.
32479 * string/test-bzero.c: Likewise.
32480 * string/test-memmove.c: Support bcopy test if TEST_BCOPY is
32481 defined.
32482 * string/test-memset.c: Support bzero test if TEST_BZERO is
32483 defined.
32484 * sysdeps/x86_64/multiarch/bcopy.S (bcopy): Jump to
32485 __libc_memmove.
32486 * sysdeps/x86_64/multiarch/bzero.S (__bzero): Jump to
32487 __libc_memset.
32488 * sysdeps/x86_64/multiarch/memset.S (__libc_memset): New alias
32489 of memset.
32490
472371b9
JM
324912012-10-10 Joseph Myers <joseph@codesourcery.com>
32492
1e4a9536
JM
32493 * configure.in: Run $CXX, not cc1plus, to locate C++ headers.
32494 * configure: Regenerated.
32495
d173d12e
JM
32496 * Makeconfig (+link-static-before-libc): Don't include
32497 $(link-static-libc).
32498
472371b9
JM
32499 * libio/libio.h (_IO_pos_t): Remove.
32500
89a3ad0b
AO
325012012-10-10 Alexandre Oliva <aoliva@redhat.com>
32502
32503 * NEWS: Add note about FIPS mode. Wording suggested by Roland
32504 McGrath.
32505
e7451425
AO
325062012-10-10 Alexandre Oliva <aoliva@redhat.com>
32507
32508 * crypt/crypt-entry.c: Include fips-private.h.
32509 (__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled.
32510 * crypt/md5c-test.c (main): Tolerate disabled MD5.
32511 * sysdeps/unix/sysv/linux/fips-private.h: New file.
32512 * sysdeps/generic/fips-private.h: New file, dummy fallback.
32513
4ba74a35
AO
325142012-10-10 Alexandre Oliva <aoliva@redhat.com>
32515
32516 * crypt/crypt-private.h: Include stdbool.h.
32517 (_ufc_setup_salt_r): Return bool.
32518 * crypt/crypt-entry.c: Include errno.h.
32519 (__crypt_r): Return NULL with EINVAL for bad salt.
32520 * crypt/crypt_util.c (bad_for_salt): New.
32521 (_ufc_setup_salt_r): Check that salt is long enough and within
32522 the specified alphabet.
32523 * crypt/badsalttest.c: New file.
32524 * crypt/Makefile (tests): Add it.
32525 ($(objpfx)badsalttest): New.
32526
f96f1242
MK
325272012-10-09 Maxim Kuvyrkov <maxim@codesourcery.com>
32528
32529 * NEWS: Add entry for BZ #14602.
32530
0e8e0c1c
JM
325312012-10-09 Joseph Myers <joseph@codesourcery.com>
32532
32533 * math/gen-libm-test.pl (parse_args): Handle comparison macros as
32534 type-generic.
32535 * math/libm-test.inc: Update comment listing what functions and
32536 macros are tested.
32537 (isgreater_test): New function.
32538 (isgreaterequal_test): Likewise.
32539 (isless_test): Likewise.
32540 (islessequal_test): Likewise.
32541 (islessgreater_test): Likewise.
32542 (isunordered_test): Likewise.
32543 (main): Call the new functions.
32544
273edc5e
RM
325452012-10-09 Roland McGrath <roland@hack.frob.com>
32546
b8493de0
RM
32547 * aclocal.m4 (GLIBC_PROVIDES): Provide _AS_BASENAME_PREPARE,
32548 _AS_ME_PREPARE, _AS_VAR_ARITH_PREPARE, AS_SHELL_FN_as_fn_set_status,
32549 AS_SHELL_FN_as_fn_exit, AS_SHELL_FN_ac_fn_c_try_compile.
32550 * sysdeps/i386/configure: Regenerated.
32551 * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
32552 * sysdeps/mach/configure: Regenerated.
32553 * sysdeps/mach/hurd/configure: Regenerated.
32554 * sysdeps/powerpc/configure: Regenerated.
32555 * sysdeps/powerpc/powerpc32/configure: Regenerated.
32556 * sysdeps/powerpc/powerpc64/configure: Regenerated.
32557 * sysdeps/s390/s390-32/configure: Regenerated.
32558 * sysdeps/s390/s390-64/configure: Regenerated.
32559 * sysdeps/sh/configure: Regenerated.
32560 * sysdeps/sparc/configure: Regenerated.
32561 * sysdeps/unix/sysv/linux/configure: Regenerated.
32562 * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
32563 * sysdeps/x86_64/configure: Regenerated.
32564
273edc5e
RM
32565 * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
32566 defined. Don't check if MAP is NULL.
32567
c8450f70
JM
325682012-10-09 Joseph Myers <joseph@codesourcery.com>
32569
32570 * sysdeps/generic/_G_config.h (_G_off64_t): Remove.
32571 (_G_stat64): Likewise.
32572 * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove.
32573 (_G_stat64): Likewise.
32574 * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64
32575 instead of struct _G_stat64.
32576 * libio/fileops.c (mmap_remap_check): Likewise.
32577 (decide_maybe_mmap): Likewise.
32578 (_IO_new_file_seekoff): Likewise.
32579 (_IO_file_stat): Likewise.
32580 * libio/libio.h (_IO_off64_t): Define to __off64_t, not
32581 _G_off64_t.
32582 * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64
32583 instead of struct _G_stat64.
32584 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
32585
57e605ba
MK
325862012-10-08 Maxim Kuvyrkov <maxim@codesourcery.com>
32587
32588 [BZ #14602]
32589 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
32590 Replace with ...
32591 (CHECK_EOL): New macro.
32592 (two_way_short_needle): Check beginning of haystack for EOL. Use
32593 CHECK_EOL.
32594 * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
32595 Replace with CHECK_EOL.
32596 * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
32597 Replace with CHECK_EOL.
32598
ef1bb361
JM
325992012-10-08 Joseph Myers <joseph@codesourcery.com>
32600
32601 * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
32602 type-generic.
32603 * math/libm-test.inc: Update comment listing what functions and
32604 macros are tested.
32605 (finite_test): New function.
32606 (isinf_test): Likewise.
32607 (isnan_test): Likewise.
32608 (fpclassify_test): Test subnormal input.
32609 (isfinite_test): Likewise.
32610 (isnormal_test): Likewise.
32611 (main): Call the new functions.
32612
55f11534
JN
326132012-10-08 Jonathan Nieder <jrnieder@gmail.com>
32614
32615 [BZ #14660]
32616 * Makerules (%.dynsym): Force C locale when running
32617 $(OBJDUMP) --dynamic-syms.
32618
1ab29350
AS
326192012-10-08 Andreas Schwab <schwab@linux-m68k.org>
32620
32621 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
32622 <stdint.h>.
32623
f1ecb7ef
DM
326242012-10-06 David S. Miller <davem@davemloft.net>
32625
32626 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
32627 upper 32-bits of the length value in %o2 since we use branch-on-register
32628 tests which consider the entire 64-bit register.
32629
5d41d91a
L
326302012-10-06 H.J. Lu <hongjiu.lu@intel.com>
32631
32632 * string/test-strstr.c (check2): Add a test for page boundary.
32633
3baddb72
DM
326342012-10-05 David S. Miller <davem@davemloft.net>
32635
32636 * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
32637 * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
32638 file.
32639 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
32640 sysdep_routines.
32641 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
32642 * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
32643 and bzero when HWCAP_SPARC_CRYPTO is present.
32644
9cee5585
L
326452012-10-05 H.J. Lu <hongjiu.lu@intel.com>
32646
d7e0dab9
L
32647 [BZ #14602]
32648 * string/test-strstr.c (check2): New function.
32649 (test_main): Call check2.
32650
03759f47
L
32651 * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
32652 and bug-strchr1.
32653 * string/bug-strcasestr1.c (do_test): Moved to ...
32654 * string/test-strcasestr.c (check1): Here. New function.
32655 (do_one_test): Break out result checking code into ...
32656 (check_result): This. New function.
32657 (do_one_test): Call check_result.
32658 (test_main): Call check1.
32659 * string/bug-strchr1.c (do_test): Moved to ...
32660 * string/test-strchr.c (check1): Here. New function.
32661 (do_one_test): Break out result checking code into ...
32662 (check_result): This. New function.
32663 (do_one_test): Call check_result.
32664 (test_main): Call check1.
32665 * string/bug-strstr1.c (main): Moved to ...
046f153e 32666 * string/test-strstr.c (check1): Here. New function.
03759f47
L
32667 (do_one_test): Break out result checking code into ...
32668 (check_result): This. New function.
32669 (do_one_test): Call check_result.
32670 (test_main): Call check1.
32671 * string/bug-strcasestr1.c: Removed.
32672 * string/bug-strchr1.c: Likewise.
32673 * string/bug-strstr1.c: Likewise.
32674
53cea63e
L
32675 * elf/Makefile (dl-routines): Add hwcaps.
32676 * elf/dl-support.c (_dl_important_hwcaps): Removed.
32677 * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
32678 (_dl_important_hwcaps): Moved to ...
32679 * elf/dl-hwcaps.c: Here. New file.
32680 * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
32681
9cee5585 32682 [BZ #14557]
bb859b06
L
32683 * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
32684 if IS_IN_rtld isn't defined.
32685
9cee5585
L
32686 * elf/dl-support.c (_dl_sysinfo_map): New.
32687 Include "get-dynamic-info.h" and "setup-vdso.h".
32688 (_dl_non_dynamic_init): Call setup_vdso.
32689 * elf/dynamic-link.h: Don't include <assert.h>.
32690 (elf_get_dynamic_info): Moved to ...
32691 * elf/get-dynamic-info.h: Here. New file.
32692 * elf/dynamic-link.h: Include "get-dynamic-info.h".
32693 * elf/rtld.c (dl_main): Break out vDSO setup code into ...
32694 * elf/setup-vdso.h: Here. New file.
32695 * elf/rtld.c: Include "setup-vdso.h".
32696 (dl_main): Call setup_vdso.
32697
23c31b76
JM
326982012-10-05 Joseph Myers <joseph@codesourcery.com>
32699
28234b07
JM
32700 * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
32701 creal in comment listing functions tested. List finite, isinf,
32702 isnan, isless, islessequal, isgreater, isgreaterequal,
32703 islessgreater, isunordered, lgamma_r and pow10 as functions and
32704 macros not tested. Mention which functions not tested are aliases
32705 for other functions. Fix typo. Note that signs of NaNs are not
32706 tested.
32707
23c31b76
JM
32708 * scripts/config.guess: Update from config.git.
32709 * scripts/config.sub: Likewise.
32710
9043e228
RM
327112012-10-04 Roland McGrath <roland@hack.frob.com>
32712
32713 * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
32714 * misc/madvise.c (madvise): Renamed to __madvise.
32715 Make madvise a weak alias.
32716 * include/sys/mman.h: Declare __madvise.
32717 Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
32718 * sysdeps/unix/syscalls.list
32719 (madvise): Make __madvise the strong name, and madvise a weak alias.
32720 * sysdeps/unix/sysv/linux/syscalls.list
32721 (madvise, mmap): Remove redundant entries.
32722 * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
32723 * malloc/malloc.c (mtrim): Likewise.
32724 * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
32725
f57f8055
RM
327262012-10-03 Roland McGrath <roland@hack.frob.com>
32727
32728 * sysdeps/mach/hurd/dl-cache.c: File removed.
32729 * config.h.in (USE_LDCONFIG): New #undef.
32730 * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
32731 * configure: Regenerated.
32732 * elf/Makefile (dl-routines): Add dl-cache only under
32733 [$(use-ldconfig) = yes].
32734 * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
32735 cache on [USE_LDCONFIG].
32736 * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
32737 [USE_LDCONFIG].
32738 * elf/rtld.c (dl_main): Likewise.
32739
5bb0c10a
PT
327402012-10-03 Pino Toscano <toscano.pino@tiscali.it>
32741
32742 * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
32743 _SC_LEVEL4_CACHE_LINESIZE.
32744
010188c6
RM
327452012-10-03 Roland McGrath <roland@hack.frob.com>
32746
32747 * sysdeps/unix/bsd/confstr.h: File removed.
32748
b6c5ec07
AO
327492012-10-02 Alexandre Oliva <aoliva@redhat.com>
32750
32751 * scripts/check-local-headers.sh: Exclude sys/sdt.h and
32752 sys/sdt-config.h.
32753
408223d4
RM
327542012-10-02 Roland McGrath <roland@hack.frob.com>
32755
32756 * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
32757 Make 'mapoff' field ElfW(Off) rather than off_t.
32758
bb9510dc
DL
327592012-10-02 Dmitry V. Levin <ldv@altlinux.org>
32760
fc997c6e
DL
32761 * nscd/Makefile: Remove nscd-cflags and all its users.
32762 (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
32763 (CFLAGS-nonlib): Add compiler flags for nscd modules.
32764
bb9510dc
DL
32765 [BZ #10631]
32766 * malloc.c (malloc_printerr): Clarify error message.
32767
05699367
L
327682012-10-02 H.J. Lu <hongjiu.lu@intel.com>
32769
32770 [BZ #14648]
32771 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
32772 Set bit_FMA_Usable if FMA is supported.
32773 * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
32774 macro.
32775 (bit_FMA4_Usable): Updated.
32776 (index_FMA_Usable): New macro.
32777 (CPUID_FMA): Likewise
32778 (HAS_FMA): Defined with bit_FMA_Usable.
32779
51367701
RM
327802012-10-01 Roland McGrath <roland@hack.frob.com>
32781
32782 * bits/types.h (__swblk_t): Type removed.
32783 * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
32784 * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
32785 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
32786 (__SWBLK_T_TYPE): Likewise.
32787 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
32788 (__SWBLK_T_TYPE): Likewise.
32789 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
32790 (__SWBLK_T_TYPE): Likewise.
32791 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
32792 (__SWBLK_T_TYPE): Likewise.
32793
4d57bf63 327942012-10-01 Patsy Franklin <pfrankli@redhat.com>
1e9d84cd 32795 Honza Horak <hhorak@redhat.com>
4d57bf63
JL
32796
32797 * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
32798 (xdr_mapname): Use YPMAXMAP as maxsize.
32799 (xdr_peername): Use YPMAXPEER as maxsize.
32800 (xdr_keydat): Use YPAXRECORD as maxsize.
32801 (xdr_valdat): Use YPMAXRECORD as maxsize.
32802
93c65d43
RM
328032012-10-01 Roland McGrath <roland@hack.frob.com>
32804
497a03d6
RM
32805 * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
32806
93c65d43
RM
32807 * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
32808 * csu/init-first.c: ... here.
32809 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
32810 * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
32811 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
32812 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
32813 * sysdeps/i386/init-first.c: File removed.
32814 * sysdeps/sh/init-first.c: File removed.
32815
bec749fd
JM
328162012-10-01 Joseph Myers <joseph@codesourcery.com>
32817
32818 [BZ #14645]
32819 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
32820 if x * y might underflow to zero and z is zero.
32821 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
32822 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
32823 * math/libm-test.inc (min_subnorm_value): New variable.
32824 (fma_test): Add more tests.
32825 (fma_test_towardzero): Likewise.
32826 (fma_test_downward): Likewise
32827 (fma_test_upward): Likewise.
32828 (initialize): Set min_subnorm_value.
32829
8ec5b013
JM
328302012-09-29 Joseph Myers <joseph@codesourcery.com>
32831
32832 [BZ #14638]
32833 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
32834 0 + 0.
32835 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
32836 mode for addition resulting in exact zero.
32837 * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
32838 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
32839 exact 0 + 0.
32840 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
32841 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
32842 * math/libm-test.inc (fma_test): Add more tests.
32843 (fma_test_towardzero): New function.
32844 (fma_test_downward): Likewise.
32845 (fma_test_upward): Likewise.
32846 (main): Call the new functions.
32847
b1fa802e
DM
328482012-09-28 David S. Miller <davem@davemloft.net>
32849
32850 * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
32851
d3b9fd9e
RM
328522012-09-28 Roland McGrath <roland@hack.frob.com>
32853
ea4d37b3
RM
32854 * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
32855 instead of SIGALRM.
32856
ac51c949
RM
32857 * sysdeps/gnu/_G_config.h: Moved to ...
32858 * sysdeps/unix/sysv/linux/_G_config.h: ... here.
32859 * sysdeps/mach/hurd/_G_config.h: Moved to ...
32860 * sysdeps/generic/_G_config.h: ... here.
32861
28c195f7
RM
32862 * io/open.c (__open): Renamed to __libc_open. Make __open an alias.
32863
848917f9
RM
32864 * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
32865
6bacf05b
RM
32866 * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
32867 Conditionalize target on [libnss_test1.so-version].
32868
91363dbb
RM
32869 * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
32870
cc87f7d8
RM
32871 * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
32872 (elfobjdir): Move out of conditionals.
32873
b1c608fe
RM
32874 * nss/nsswitch.c (nss_new_service): Conditionalize definition and
32875 declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
32876 (__nss_lookup_function): Conditionalize label remove_from_tree on
32877 [!DO_STATIC_NSS || SHARED], matching its only use.
d3b9fd9e 32878
1d9a6d96
DM
328792012-09-28 David S. Miller <davem@davemloft.net>
32880
32881 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
32882 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
32883 file.
32884 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
32885 sysdep_routines.
32886 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
32887 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
32888 when HWCAP_SPARC_CRYPTO is present.
32889
72581615
PT
328902012-09-28 Pino Toscano <toscano.pino@tiscali.it>
32891
32892 * io/tst-mknodat.c: Create a FIFO instead of a socket.
32893
715a900c
JL
328942012-09-28 Andreas Schwab <schwab@linux-m68k.org>
32895
32896 [BZ #6530]
32897 * stdio-common/vfprintf.c (process_string_arg): Revert
32898 2000-07-22 change.
32899
329002011-09-28 Jonathan Nieder <jrnieder@gmail.com>
32901
32902 * stdio-common/Makefile (tst-sprintf-ENV): Set environment
32903 for testcase.
32904 * stdio-common/tst-sprintf.c: Include <locale.h>
32905 (main): Test sprintf's handling of incomplete multibyte
32906 characters.
32907
9bac1d86
L
329082012-09-28 H.J. Lu <hongjiu.lu@intel.com>
32909
32910 * elf/dl-runtime.c (VERSYMIDX): Removed.
32911 * elf/dl-version.c (VERSYMIDX): Likewise.
32912 * elf/do-rel.h (VERSYMIDX): Likewise.
32913 (VALIDX): Likewise.
32914 * elf/dynamic-link.h (VERSYMIDX): Likewise.
32915 * elf/rtld.c (VALIDX): Likewise.
32916 (ADDRIDX): Likewise.
9bac1d86
L
32917 * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
32918 * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
32919 * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
9c464f9c
L
32920 * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
32921 (VALIDX): Likewise.
32922 (ADDRIDX): Likewise.
9bac1d86 32923
b31606c0
PT
329242012-09-28 Pino Toscano <toscano.pino@tiscali.it>
32925
32926 * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
32927
11541177
JL
329282012-09-28 Dmitry V. Levin <ldv@altlinux.org>
32929
32930 [BZ #11438]
32931 * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
32932 to global scope.
32933 * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
32934 addresses are in the same scope as 192.0.2/24.
32935 * posix/gai.conf: Document new scope table defaults.
32936
adb26fae
SP
329372012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
32938
32939 [BZ #5298]
32940 * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
32941 for ftell. Compute offsets from write pointers instead.
32942 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
32943
4573c6b0
SP
329442012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
32945
32946 [BZ #14543]
32947 * libio/Makefile (tests): New test case tst-fseek.
32948 * libio/tst-fseek.c: New test case to verify that fseek/ftell
32949 combination works in wide mode.
32950 * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
32951 state when the external buffer state changes.
32952
aa9bbfe6
DM
329532012-09-27 David S. Miller <davem@davemloft.net>
32954
32955 [BZ #14376]
32956 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
32957 pass reloc->r_addend in as the 'high' argument to
32958 sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
32959
784421e7
DM
32960 * sysdeps/sparc/fpu/libm-test-ulps: Update.
32961
c39bc8b8
PT
329622012-09-28 Pino Toscano <toscano.pino@tiscali.it>
32963
32964 * rt/tst-aio2.c: Include <pthread.h>.
32965 * rt/tst-aio3.c: Likewise.
32966
1ccc2399
SE
329672012-09-27 Steve Ellcey <sellcey@mips.com>
32968
32969 * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
32970
31ed4153
L
329712012-09-27 H.J. Lu <hongjiu.lu@intel.com>
32972
25f5f885
L
32973 * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
32974 contents on [SHARED].
31ed4153 32975
b7bfe116
MP
329762012-09-26 Marek Polacek <polacek@redhat.com>
32977
32978 [BZ #14530]
32979 [BZ #13741]
32980 * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
32981 for C++ and GCC <4.3 as well as for non GCC compilers.
32982
43c4edba
MT
329832012-09-26 Markus Trippelsdorf <markus@trippelsdorf.de>
32984
32985 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
32986
6a1bf82f
RM
329872012-09-25 Roland McGrath <roland@hack.frob.com>
32988
32989 * Makefile.in (all, install): Declare with .PHONY.
32990 Reported by Michael Hope <michael.hope@linaro.org>.
32991
8ad11b9a
TMQMF
329922012-09-25 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
32993
32994 * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
32995 * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
32996 system header.
32997 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
32998 Likewise.
32999 (sydep_routines): Add the new and the internal functions.
33000 * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
33001 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
33002 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
33003 (GLIBC_2.17): Add the new function.
33004 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
33005 (GLIBC_2.17): Likewise.
33006 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
33007 (GLIBC_2.17): Likewise.
33008 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
33009 (GLIBC_2.17): Likewise.
33010 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
33011
7e2fca8d
AM
330122012-09-25 Alan Modra <amodra@gmail.com>
33013
33014 * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
33015 Add release barrier before setting once_control to say
33016 initialisation is done. Add hints on lwarx. Use macro in
33017 place of isync.
33018 (clear_once_control): Add release barrier.
33019
b87c4b24
JM
330202012-09-25 Joseph Myers <joseph@codesourcery.com>
33021
d032e0d2
JM
33022 [BZ #13629]
33023 * math/s_clog.c (__clog): Handle more values close to |z| = 1
33024 specially.
33025 * math/s_clog10.c (__clog10): Likewise.
33026 * math/s_clog10f.c (__clog10f): Likewise.
33027 * math/s_clog10l.c (__clog10l): Likewise.
33028 * math/s_clogf.c (__clogf): Likewise.
33029 * math/s_clogl.c (__clogl): Likewise.
33030 * math/Makefile (libm-calls): Add x2y2m1.
33031 * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
33032 (__x2y2m1): Likewise.
33033 (__x2y2m1l): Likewise.
33034 * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
33035 * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
33036 * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
33037 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
33038 * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
33039 * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
33040 * math/libm-test.inc (clog_test, clog10_test): Add more tests.
33041 * sysdeps/i386/fpu/libm-test-ulps: Update.
33042 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33043
b87c4b24
JM
33044 [BZ #14621]
33045 * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
33046 int as type of variable DEPTH.
33047 (glob): Use size_t instead of int as type of variables NEWCOUNT
33048 and OLD_PATHC.
33049
6d3bf199
LD
330502012-09-25 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
33051
22bf5c17
LD
33052 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
33053 Add s_sincosf-sse2.
33054 * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
33055 * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
33056 * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
33057 macros for using routine as __sincosf_ia32.
33058 Use macro for function declaration and weak_alias.
33059 * sysdeps/i386/fpu/libm-test-ulps: Update.
33060
33061 * sysdeps/x86_64/fpu/s_sincosf.S: New file.
33062 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
33063
33064 * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
6d3bf199
LD
33065 subnormal argument.
33066 * math/s_cexpf.c (__cexpf): Likewise.
33067 * math/s_csinf.c (__csinf): Likewise.
33068 * math/s_csinhf.c (__csinhf): Likewise.
33069 * math/s_ctanf.c (__ctanf): Likewise.
33070 * math/s_ctanhf.c (__ctanhf): Likewise.
33071 * math/s_ccosh.c (__ccoshf): Likewise.
33072 * math/s_cexp.c (__cexpl): Likewise.
33073 * math/s_csin.c (__csin): Likewise.
33074 * math/s_csinh.c (__csinh): Likewise.
33075 * math/s_ctan.c (__ctan): Likewise.
33076 * math/s_ctanh.c (ctanh): Likewise.
33077 * math/s_ccoshl.c (__ccoshl): Likewise.
33078 * math/s_cexpl.c (__cexpl): Likewise.
33079 * math/s_csinl.c (__csinl): Likewise.
33080 * math/s_csinhl.c (__csinhl): Likewise.
33081 * math/s_ctanl.c (__ctanl): Likewise.
33082 * math/s_ctanhl.c (__ctanhl): Likewise.
33083
203e5603
JM
330842012-09-25 Joseph Myers <joseph@codesourcery.com>
33085
33086 * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
33087 (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
33088 (_IO_off_t): Define to __off_t, not _G_off_t.
33089 (_IO_pid_t): Define to __pid_t, not _G_pid_t.
33090 (_IO_uid_t): Define to __uid_t, not _G_uid_t.
33091 (_IO_wint_t): Define to wint_t, not _G_wint_t.
33092 * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
33093 type of __dummy and __dummy2 fields.
33094 * sysdeps/generic/_G_config.h (_G_size_t): Remove.
33095 (_G_ssize_t): Likewise.
33096 (_G_off_t): Likewise.
33097 (_G_pid_t): Likewise.
33098 (_G_uid_t): Likewise.
33099 (_G_wchar_t): Likewise.
33100 (_G_wint_t): Likewise.
33101 * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
33102 (_G_ssize_t): Likewise.
33103 (_G_off_t): Likewise.
33104 (_G_pid_t): Likewise.
33105 (_G_uid_t): Likewise.
33106 (_G_wchar_t): Likewise.
33107 (_G_wint_t): Likewise.
33108 * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove.
33109 (_G_ssize_t): Likewise.
33110 (_G_off_t): Likewise.
33111 (_G_pid_t): Likewise.
33112 (_G_uid_t): Likewise.
33113 (_G_wchar_t): Likewise.
33114 (_G_wint_t): Likewise.
33115
9fab36eb
SP
331162012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
33117
33118 * malloc/arena.c: Include malloc-sysdep.h.
33119 (shrink_heap): Use check_may_shrink_heap to decide if madvise
33120 is sufficient to shrink the heap or an unmap is needed.
33121 * sysdeps/generic/malloc-sysdep.h: New file. Define
33122 new function check_may_shrink_heap.
33123 * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file. Define
33124 new function check_may_shrink_heap.
33125
2b4f00d1
SP
331262012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
33127
33128 * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
33129 comments.
33130
9a9028b1
DL
331312012-09-24 Dmitry V. Levin <ldv@altlinux.org>
33132
57c69bef
DL
33133 * catgets/test-gencat.sh: Add "set -e".
33134 * elf/tst-pathopt.sh: Likewise.
33135 * grp/tst_fgetgrent.sh: Likewise.
33136 * iconvdata/run-iconv-test.sh: Likewise.
33137 * intl/tst-gettext.sh: Likewise.
33138 * intl/tst-gettext2.sh: Likewise.
33139 * intl/tst-gettext4.sh: Likewise.
33140 * intl/tst-gettext6.sh: Likewise.
33141 * intl/tst-translit.sh: Likewise.
33142 * io/ftwtest-sh: Likewise.
33143 * libio/test-freopen.sh: Likewise.
33144 * malloc/tst-mtrace.sh: Likewise.
33145 * posix/globtest.sh: Likewise.
33146 * posix/tst-getconf.sh: Likewise.
33147 * posix/wordexp-tst.sh: Likewise.
33148 * stdio-common/tst-printf.sh: Likewise.
33149 * stdio-common/tst-unbputc.sh: Likewise.
33150 * stdlib/tst-fmtmsg.sh: Likewise.
33151 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
33152 * catgets/Makefile: Do not specify -e option when running
33153 testsuite shell scripts.
33154 * elf/Makefile: Likewise.
33155 * grp/Makefile: Likewise.
33156 * iconvdata/Makefile: Likewise.
33157 * intl/Makefile: Likewise.
33158 * io/Makefile: Likewise.
33159 * libio/Makefile: Likewise.
33160 * malloc/Makefile: Likewise.
33161 * posix/Makefile: Likewise.
33162 * stdio-common/Makefile: Likewise.
33163 * stdlib/Makefile: Likewise.
33164 * sysdeps/x86_64/Makefile: Likewise.
33165
9a9028b1
DL
33166 * io/ftwtest-sh: Add copyright header.
33167 * posix/globtest.sh: Likewise.
33168 * posix/tst-getconf.sh: Likewise.
33169 * posix/wordexp-tst.sh: Likewise.
33170 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
33171
ced6f16e
L
331722012-09-24 H.J. Lu <hongjiu.lu@intel.com>
33173
94b32c39
L
33174 [BZ #13679]
33175 * Makeconfig (+link): Defined as $(+link-static) if
33176 $(build-shared) isn't yes.
33177 (link-tests): Defined as $(+link-static-tests) if $(build-shared)
33178 isn't yes.
33179 (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
33180
189e935b
L
33181 * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
33182
ced6f16e
L
33183 [BZ #14562]
33184 * malloc/arena.c (heap_trim): Properly get fencepost and adjust
33185 new chunk size with MALLOC_ALIGN_MASK.
33186
a9f8e53a
JM
331872012-09-24 Joseph Myers <joseph@codesourcery.com>
33188
33189 [BZ #5044]
33190 * stdio-common/printf_fphex.c: Include <stdbool.h> and
33191 <rounding-mode.h>.
33192 (__printf_fphex): Determine rounding using get_rounding_mode and
33193 round_away.
33194 * stdio-common/tst-printf-round.c (struct hex_test): New
33195 structure.
33196 (hex_tests): New variable.
33197 (test_hex_in_one_mode): New function.
33198 (do_test): Also run tests for hex float output.
33199
43153109
JM
332002012-09-21 Joseph Myers <joseph@codesourcery.com>
33201
33202 * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
33203 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
33204 * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
33205 * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
33206 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
33207 * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
33208 * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
33209 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
33210
8a26625d
JM
332112012-09-20 Joseph Myers <joseph@codesourcery.com>
33212
33213 * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
33214 * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
33215 * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
33216 * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
33217
f3fd569c
DL
332182012-09-19 Dmitry V. Levin <ldv@altlinux.org>
33219
33220 [BZ #14579]
33221 * elf/rtld.c (dl_main): Limit the check for self loading to normal
33222 mode only.
33223 * elf/tst-rtld-load-self.sh: New test.
33224 * elf/Makefile: Run it.
33225
63bbedd4
JM
332262012-09-18 Joseph Myers <joseph@codesourcery.com>
33227
33228 * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
33229 (tst-writev-ENV): Remove.
33230 * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
33231
626f8b6a
CM
332322012-09-17 Chris Metcalf <cmetcalf@tilera.com>
33233
33234 * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
33235
b7aaa4d6
JM
332362012-09-17 Joseph Myers <joseph@codesourcery.com>
33237
33238 * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
33239 unconditional.
33240 * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
33241 Likewise.
33242 * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
33243 * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
33244 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
33245 Likewise.
33246
65513990
L
332472012-09-14 H.J. Lu <hongjiu.lu@intel.com>
33248
33249 [BZ #14587]
33250 * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
33251 * config.make.in (have-cpp-asm-debuginfo): Removed.
33252 * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
33253 * configure: Regenerated.
33254
784761be
JM
332552012-09-14 Joseph Myers <joseph@codesourcery.com>
33256
33257 [BZ #5044]
33258 * stdio-common/printf_fp.c: Include <stdbool.h> and
33259 <rounding-mode.h>.
33260 (___printf_fp): Determine rounding using get_rounding_mode and
33261 round_away.
33262 * stdio-common/tst-printf-round.c: New file.
33263 * stdio-common/Makefile (tests): Add tst-printf-round.
33264 (link-libm): New variable.
33265 ($(objpfx)tst-printf-round): Depend in $(link-libm).
33266
9503345f
L
332672012-09-13 H.J. Lu <hongjiu.lu@intel.com>
33268
33269 [BZ #14576]
33270 * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
33271 * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
33272 Likewise.
33273 * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
33274 Likewise.
33275
ad35fc00
JM
332762012-09-13 Joseph Myers <joseph@codesourcery.com>
33277
33278 * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
33279 * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
33280 * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
33281 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
33282
6c9b0f68
JM
332832012-09-12 Joseph Myers <joseph@codesourcery.com>
33284
33285 [BZ #14518]
33286 * include/rounding-mode.h: New file.
33287 * sysdeps/generic/get-rounding-mode.h: Likewise.
33288 * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
33289 * stdlib/strtod_l.c: Include <rounding-mode.h>.
33290 (MAX_VALUE): New macro.
33291 (MIN_VALUE): Likewise.
33292 (overflow_value): New function.
33293 (underflow_value): Likewise.
33294 (round_and_return): Use overflow_value and underflow_value to
33295 determine return values in overflow and underflow cases. Use
33296 round_away to determine rounding depending on rounding mode.
33297 (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
33298 determine return values in overflow and underflow cases.
33299 * stdlib/tst-strtod-round.c: Include <fenv.h>.
33300 (struct test_results): New structure.
33301 (struct test): Use struct test_results to store expected results
33302 for all rounding modes.
33303 (TEST): Include expected results for all rounding modes.
33304 (test_in_one_mode): New function.
33305 (do_test): Use test_in_one_mode to compute and check results.
33306 Check results for all rounding modes.
33307 * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
33308 $(link-libm).
33309
19fcedd5
AM
333102012-12-09 Allan McRae <allan@archlinux.org>
33311
1e9d84cd 33312 * sysdeps/i386/fpu/libm-test-ulps: Update
19fcedd5 33313
8bbfd2f1
JM
333142012-09-11 Joseph Myers <joseph@codesourcery.com>
33315
33316 * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
33317 (_G_int32_t): Likewise.
33318 (_G_uint16_t): Likewise.
33319 (_G_uint32_t): Likewise.
33320 (_G_HAVE_BOOL): Likewise.
33321 (_G_HAVE_ATEXIT): Likewise.
33322 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
33323 (_G_HAVE_IO_FILE_OPEN): Likewise.
33324 * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
33325 (_G_int32_t): Likewise.
33326 (_G_uint16_t): Likewise.
33327 (_G_uint32_t): Likewise.
33328 (_G_HAVE_BOOL): Likewise.
33329 (_G_HAVE_ATEXIT): Likewise.
33330 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
33331 (_G_HAVE_IO_FILE_OPEN): Likewise.
33332 * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
33333 (_G_int32_t): Likewise.
33334 (_G_uint16_t): Likewise.
33335 (_G_uint32_t): Likewise.
33336 (_G_HAVE_BOOL): Likewise.
33337 (_G_HAVE_ATEXIT): Likewise.
33338 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
33339 (_G_HAVE_IO_FILE_OPEN): Likewise.
33340
b1dc5912
L
333412012-09-11 H.J. Lu <hongjiu.lu@intel.com>
33342
33343 * csu/libc-tls.c: Update copyright years.
33344
0e886ef9
JM
333452012-09-10 Joseph Myers <joseph@codesourcery.com>
33346
28361c5e
JM
33347 * libioP.h [_G_USING_THUNKS]: Make code unconditional.
33348 [!_G_USING_THUNKS]: Remove conditional code.
33349 * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
33350 * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
33351
0e886ef9
JM
33352 * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
33353 [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
33354 * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
33355 (_G_VTABLE_LABEL_PREFIX): Likewise.
33356 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
33357 * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
33358 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
33359 (_G_VTABLE_LABEL_PREFIX): Likewise.
33360 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
33361 * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
33362 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
33363 (_G_VTABLE_LABEL_PREFIX): Likewise.
33364 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
33365
bcba7aa2
L
333662012-09-10 H.J. Lu <hongjiu.lu@intel.com>
33367
33368 * libio/Makefile: Include ../Makeconfig before tests.
33369 (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
33370 only if $(build-shared) is yes.
33371
06585ee8
L
33372 * iconv/gconv_db.c: Update copyright years.
33373
80ccd52c
LD
333742012-09-10 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
33375
33376 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
33377 unwind info if defined PIC. Fix special cases description.
33378 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
33379
33380 * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
33381 DP_HI_MASK entry.
33382 * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
33383
691bc9c1
L
333842012-09-07 H.J. Lu <hongjiu.lu@intel.com>
33385
3d9b46b3
L
33386 * scripts/check-local-headers.sh: Add "shopt -s nullglob".
33387
de2139a9
L
33388 * iconv/gconv_db.c (free_derivation): Check if deriv->steps
33389 is NULL.
33390
5ca78dd0
L
33391 * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
33392 (LDLIBS-tst-chk4): This.
33393 (LDFLAGS-tst-chk5): Renamed to ...
33394 (LDLIBS-tst-chk5): This.
33395 (LDFLAGS-tst-chk6): Renamed to ...
33396 (LDLIBS-tst-chk6): This.
33397 (LDFLAGS-tst-lfschk4): Renamed to ...
33398 (LDLIBS-tst-lfschk4): This.
33399 (LDFLAGS-tst-lfschk5): Renamed to ...
33400 (LDLIBS-tst-lfschk5): This.
33401 (LDFLAGS-tst-lfschk6): Renamed to ...
33402 (LDLIBS-tst-lfschk6): This.
33403
691bc9c1
L
33404 * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
33405 on $(common-objpfx)soversions.mk.
33406
65cafb1c
JM
334072012-09-07 Joseph Myers <joseph@codesourcery.com>
33408
33409 [BZ #10014]
33410 * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
33411 example host name.
33412
c78ab094
SP
334132012-09-07 Siddhesh Poyarekar <siddhesh@redhat.com>
33414
33415 * malloc/arena.c (arena_get_retry): New function that gets
33416 another arena for the caller to try its request on.
33417 * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
33418 current arena cannot fulfill the request.
33419 (__libc_memalign): Likewise.
33420 (__libc_memalign): Likewise.
33421 (__libc_pvalloc): Likewise.
33422 (__libc_calloc): Likewise.
33423
01f49f59
JT
334242012-09-05 John Tobey <john.tobey@gmail.com>
33425
33426 [BZ #13542]
33427 * manual/arith.texi (Operations on Complex): Fix description
33428 of carg branch cut.
33429
4c23fed5
JM
334302012-09-06 Joseph Myers <joseph@codesourcery.com>
33431
1d3c8572
JM
33432 [BZ #10014]
33433 * manual/socket.texi (Host Addresses): Use www.gnu.org as example
33434 host name.
33435
4c23fed5
JM
33436 [BZ #10038]
33437 * manual/memory.texi (Memory): Make order of menu items match
33438 order of sections.
33439
04570aaa
L
334402012-09-06 H.J. Lu <hongjiu.lu@intel.com>
33441
33442 * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
33443 (_dl_initial_dtv): New. Defined if SHARED isn't defined.
33444 (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
33445
b80af2f4
L
334462012-09-06 H.J. Lu <hongjiu.lu@intel.com>
33447
33448 * csu/libc-tls.c (static_dtv): Renamed to ...
33449 (_dl_static_dtv): This. Make it global.
33450 (_dl_initial_dtv): Removed.
33451 (__libc_setup_tls): Updated.
33452 * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
33453 (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
33454 DL_INITIAL_DTV.
33455
2abe9f15
PM
334562012-09-06 Petr Machata <pmachata@redhat.com>
33457
33458 * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
33459 (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
33460 (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
33461 (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
33462
0948c3af
L
334632012-09-06 H.J. Lu <hongjiu.lu@intel.com>
33464
33465 [BZ #14545]
33466 * csu/libc-tls.c (_dl_initial_dtv): New variable.
33467 * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
33468 freeing dtv[-1].
33469
a5055ad1
L
334702012-09-06 H.J. Lu <hongjiu.lu@intel.com>
33471
33472 [BZ #14544]
33473 * Makeconfig (link-static-before-libc): Replace $(+prector)
33474 with $(+prectorT).
33475 (link-static-after-libc): Replace $(+postctor) with
33476 $(+postctorT).
33477 (link-bounded): Replace $(+prector)/$(+postctor) with
33478 $(+prectorT)/$(+postctorT).
33479 (+prectorT): New macro.
33480 (+postctorT): Likewise.
33481
ed8c2ecd
JM
334822012-09-06 Joseph Myers <joseph@codesourcery.com>
33483
33484 * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
33485 (round_str): Handle values above the maximum for IBM long double
33486 as inexact.
33487 * stdlib/tst-strtod-round.c (tests): Regenerated.
33488
14c996c8
AK
334892012-09-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
33490
33491 * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
33492 assembler flag.
33493 * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
33494 zarch_nohighgprs around the zarch optimized routines.
33495 * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
33496 * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
33497 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
33498 for zarch.
33499
430d6ce6
DM
335002012-09-05 David S. Miller <davem@davemloft.net>
33501
33502 * sysdeps/sparc/fpu/libm-test-ulps: Update.
33503
57f41c40
AS
33504 * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE)
33505 (HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
ff04dda4
DM
33506 * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
33507 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
33508 entries.
33509
24d4e01b
AO
335102012-09-05 Alexandre Oliva <aoliva@redhat.com>
33511
33512 * malloc/arena.c: Fold copyright years.
33513 * malloc/mcheck.c, malloc/memusage.c: Likewise.
33514
61d58174
AO
335152012-09-05 Alexandre Oliva <aoliva@redhat.com>
33516
33517 * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
33518
20196a5e
AO
335192012-09-05 Alexandre Oliva <aoliva@redhat.com>
33520
33521 * manual/contrib.texi (Contributors): Fix typo. Complete entry.
33522
5c447383
AO
335232012-09-05 Alexandre Oliva <aoliva@redhat.com>
33524
33525 * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
33526 change internal state upon failure.
33527
fad64255
AO
335282012-09-05 Alexandre Oliva <aoliva@redhat.com>
33529
33530 * malloc/mcheck.c (mcheck_check_all): Fix typo.
33531 * malloc/memusage.c (mmap): Likewise.
33532 (mmap64, mremap): Likewise. Adjust name in comment.
33533
1ffb8c90
SP
335342012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
33535
33536 * libio/fileops.c: Fix typos in comments.
33537 * libio/oldfileops.c: Likewise.
33538 * libio/wfileops.c: Likewise.
33539
6ef9cc37
SP
335402012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
33541
33542 [BZ #1349]
33543 * malloc/Makefile (tests): Add tst-malloc-usable test case.
33544 (tst-malloc-usable-ENV): Set environment for test case.
33545 * malloc/hooks.c (malloc_check_get_size): New function to get
33546 requested size.
33547 * malloc/malloc.c (musable): Use malloc_check_get_size.
33548 * malloc/tst-malloc-usable.c: New test case.
33549
4d038ae3
AS
335502012-09-05 Andreas Schwab <schwab@linux-m68k.org>
33551
33552 * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
33553
c4e85184
AM
335542012-09-05 Allan McRae <allan@archlinux.org>
33555
b9dafc56 33556 [BZ #13966]
c4e85184
AM
33557 * configure.in (CXX_SYSINCLUDES): Use compiler output to
33558 determine header location.
33559 * configure: Regenerated.
33560
e1343020
AS
335612012-09-05 Andreas Schwab <schwab@linux-m68k.org>
33562
33563 * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
33564 float format.
33565 * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
a0070b7e
AS
33566 LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
33567 format.
e1343020
AS
33568 (test): Regenerate.
33569
0a9f1987
DM
335702012-09-04 David S. Miller <davem@davemloft.net>
33571
33572 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
33573 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
33574 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
33575
29237804
FW
335762012-09-04 Florian Weimer <fweimer@redhat.com>
33577
33578 * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
33579 failures.
33580
edb3cb88
FW
33581 * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
33582
60160d83
JM
335832012-09-04 Joseph Myers <joseph@codesourcery.com>
33584
33585 [BZ #9914]
33586 * libio/iogetdelim.c: Include <limits.h>.
33587 (_IO_getdelim): Avoid integer overflow in testing whether cur_len
33588 + len + 1 would overflow.
33589
bcd6c8dc
AJ
335902012-09-03 Andreas Jaeger <aj@suse.de>
33591
33592 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
33593 * sysdeps/i386/fpu/libm-test-ulps: Update.
33594
4ffffbd2
LD
335952012-09-03 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
33596
33597 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
33598 Add s_sinf-sse2, s_conf-sse2.
33599
33600 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
33601 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
33602 * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
33603 * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
33604
33605 * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
33606 for using routine as __sinf_ia32.
33607 Use macro for function declaration and weak_alias.
33608 * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
33609 for using routine as __cosf_ia32.
33610 Use macro for function declaration and weak_alias.
33611
33612 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
33613 * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
33614
33615 * sysdeps/x86_64/fpu/s_sinf.S: New file.
33616 * sysdeps/x86_64/fpu/s_cosf.S: New file.
33617 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
33618
33619 * math/libm-test.inc (cos_test): Add more test cases.
33620 (sin_test): Likewise.
33621 (sincos_test): Likewise.
33622
511fa286
AK
336232012-09-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
33624
33625 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
33626 (IFUNC_RESOLVE): Make pointers to the specialized implementations
33627 hidden.
33628 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
33629
5f30cfec
L
336302012-09-02 H.J. Lu <hongjiu.lu@intel.com>
33631
33632 [BZ #14538]
33633 * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
33634 first element of the GOT.
33635 (elf_machine_load_address): Return the difference between
33636 the runtime address of _DYNAMIC and elf_machine_dynamic ().
33637
0786794f
AM
336382012-09-01 Allan McRae <allan@archlinux.org>
33639
5f30cfec
L
33640 [BZ #13412]
33641 * configure.in (AWK): Require gawk version 3.0 or later.
33642 * configure: Regenerated.
0786794f 33643
26889eac
JM
336442012-09-01 Joseph Myers <joseph@codesourcery.com>
33645
33646 * sysdeps/unix/sysv/linux/kernel-features.h
33647 (__ASSUME_POSIX_CPU_TIMERS): Remove.
33648 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
33649 [__NR_clock_getres]: Make code unconditional.
33650 [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
33651 (clock_getcpuclockid): Remove code left unreachable by removal of
33652 conditionals.
33653 * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
33654 code unconditional.
33655 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
33656 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
33657 * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
33658 Make code unconditional.
33659 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
33660 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
33661 * sysdeps/unix/sysv/linux/clock_settime.c
33662 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
33663 conditional code.
33664 [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
33665 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
33666
d22e28b0
L
336672012-08-29 H.J. Lu <hongjiu.lu@intel.com>
33668
33669 [BZ #14476]
33670 * Makefile (install): Also pass LD_SO=$(ld.so-version) to
33671 scripts/test-installation.pl.
33672
33673 * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
33674 and $ld_so_version if it is set.
33675
050af9c4
SP
336762012-08-29 Siddhesh Poyarekar <siddhesh@redhat.com>
33677
33678 [BZ #14516]
33679 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
33680 failure if reading from procfs failed.
33681 * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
33682
ad845c0b
JM
336832012-08-27 Joseph Myers <joseph@codesourcery.com>
33684
33685 * sysdeps/unix/sysv/linux/kernel-features.h
33686 (__ASSUME_STAT64_SYSCALL): Remove all definitions.
33687 * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
33688 Remove conditional code.
33689 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
33690 * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
33691 Remove conditional code.
33692 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
33693 * sysdeps/unix/sysv/linux/i386/fxstat.c
33694 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
33695 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
33696 * sysdeps/unix/sysv/linux/i386/fxstatat.c
33697 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
33698 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
33699 * sysdeps/unix/sysv/linux/i386/lxstat.c
33700 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
33701 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
33702 * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
33703 Remove conditional code.
33704 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
33705 * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
33706 Remove conditional code.
33707 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
33708 * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
33709 <kernel-features.h>.
33710 [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
33711 Remove.
33712 * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
33713 Remove conditional code.
33714 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
33715 * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
33716 Remove conditional.
33717
5dbf56af
MF
337182012-08-27 Mike Frysinger <vapier@gentoo.org>
33719
33720 [BZ #5400]
33721 * NEWS: Add fixed bug number.
33722
d6e70f43
JM
337232012-08-27 Joseph Myers <joseph@codesourcery.com>
33724
7efb4737
JM
33725 [BZ #14519]
33726 * stdlib/strtod_l.c (round_and_return): Return -0.0 for
33727 underflowing exponent in case of negative sign.
33728 * stdlib/tst-strtod-round-data: Add more tests.
33729 * stdlib/tst-strtod-round.c (tests): Regenerated.
33730
af92131a
JM
33731 [BZ #3479]
33732 * stdlib/strtod_l.c (NDIG): Remove.
33733 (HEXNDIG): Likewise.
33734 (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
33735 smallest representable value.
33736 (____STRTOF_INTERNAL): Use all fractional decimal digits that may
33737 lie within an exact representation of 1/2 ulp of the result.
33738 * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
33739 unconditionally.
33740 (TENS_P9_IDX): Define unconditionally.
33741 (TENS_P9_SIZE): Likewise.
33742 (TENS_P10_IDX): Likewise.
33743 (TENS_P10_SIZE): Likewise.
33744 [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
33745 to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
33746 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
33747 entries for 10^2^13 and 10^2^14.
33748 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
33749 (TENS_P13_IDX): Define.
33750 (TENS_P13_SIZE): Likewise.
33751 (TENS_P14_IDX): Likewise.
33752 (TENS_P14_SIZE): Likewise.
33753 (_fpioconst_pow10): Change array size to
33754 FPIOCONST_POW10_ARRAY_SIZE. Make entries for 10^2^9 and 10^2^10
33755 unconditional.
33756 (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
33757 1024]: Add entries for 10^2^13 and 10^2^14.
33758 [LAST_POW10 > _LAST_POW10]: Remove #error.
33759 * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
33760 (_fpioconst_pow10): Change array size to
33761 FPIOCONST_POW10_ARRAY_SIZE.
33762 * stdlib/gen-fpioconst.c: New file.
33763 * stdlib/gen-tst-strtod-round.c: Likewise.
33764 * stdlib/tst-strtod-round-data: Likewise.
33765 * stdlib/tst-strtod-round.c: Likewise.
33766 * stdlib/Makefile (tests): Add tst-strtod-round.
33767
d6e70f43
JM
33768 [BZ #14459]
33769 * stdlib/strtod_l.c: Include <stdint.h>.
33770 (NDEBUG): Do not define.
33771 (round_and_return): Change EXPONENT parameter to type intmax_t.
33772 Rearrange calculations to avoid internal overflow possibilities.
33773 (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
33774 Rearrange calculations to avoid internal overflow possibilities.
33775 Assert that number fits inside MPNSIZE limbs.
33776 (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
33777 Change DIG_NO, INT_NO and LEAD_ZERO to type size_t. Rearrange
33778 calculations and add assertions to avoid internal overflow
33779 possibilities. Add casts to avoid signed/unsigned operations.
33780 * stdlib/tst-strtod-overflow.c: New file.
33781 * stdlib/Makefile (tests): Add tst-strtod-overflow.
33782
1f529f7d
MP
337832012-08-25 Marek Polacek <polacek@redhat.com>
33784
33785 * time/time.h: Fix some typos in comments.
33786
59a629f1
RM
337872012-08-23 Roland McGrath <roland@hack.frob.com>
33788
33789 * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
33790 * posix/tst-rfc3484-2.c: Likewise.
33791 * posix/tst-rfc3484-3.c: Likewise.
33792
d3bafbc9
SM
337932012-08-23 Steve McIntyre <steve.mcintyre@linaro.org>
33794
33795 * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
33796 (EF_ARM_ABI_FLOAT_HARD): Likewise.
33797
4efcc022
JM
337982012-08-23 Joseph Myers <joseph@codesourcery.com>
33799
33800 * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
33801 #include of fxstatat64.c.
33802
3cc3ef96
RM
338032012-08-22 Roland McGrath <roland@hack.frob.com>
33804
f04e2132
RM
33805 * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
33806 * shadow/getspent_r.c: Likewise.
33807 * shadow/getspnam.c: Likewise.
33808 * shadow/getspnam_r.c: Likewise.
33809 * gshadow/getsgent.c: Likewise.
33810 * gshadow/getsgent_r.c: Likewise.
33811 * gshadow/getsgnam.c: Likewise.
33812 * gshadow/getsgnam_r.c: Likewise.
33813 * inet/getnetbyad.c: Likewise.
33814 * inet/getnetbyad_r.c: Likewise.
33815 * inet/getnetbynm.c: Likewise.
33816 * inet/getnetbynm_r.c: Likewise.
33817 * inet/getnetent.c: Likewise.
33818 * inet/getnetent_r.c: Likewise.
33819 * inet/getproto.c: Likewise.
33820 * inet/getproto_r.c: Likewise.
33821 * inet/getprtent.c: Likewise.
33822 * inet/getprtent_r.c: Likewise.
33823 * inet/getprtname.c: Likewise.
33824 * inet/getprtname_r.c: Likewise.
33825 * inet/getrpcbyname.c: Likewise.
33826 * inet/getrpcbyname_r.c: Likewise.
33827 * inet/getrpcbynumber.c: Likewise.
33828 * inet/getrpcbynumber_r.c: Likewise.
33829 * inet/getrpcent.c: Likewise.
33830 * inet/getrpcent_r.c: Likewise.
33831 * inet/getaliasent.c: Likewise.
33832 * inet/getaliasent_r.c: Likewise.
33833 * inet/getaliasname.c: Likewise.
33834 * inet/getaliasname_r.c: Likewise.
33835 * nscd/getgrgid_r.c: Likewise.
33836 * nscd/getgrnam_r.c: Likewise.
33837 * nscd/gethstbyad_r.c: Likewise.
33838 * nscd/gethstbynm3_r.c: Likewise.
33839 * nscd/getpwnam_r.c: Likewise.
33840 * nscd/getpwuid_r.c: Likewise.
33841 * nscd/getsrvbynm_r.c: Likewise.
33842 * nscd/getsrvbypt_r.c: Likewise.
33843 * nscd/gai.c: Likewise.
33844
c53d909c
RM
33845 * configure.in (build_nscd): New substituted variable, set
33846 by --disable-build-nscd and defaults to $use_nscd.
33847 * configure: Regenerated.
33848 * config.make.in (build-nscd): New substituted variable.
33849 * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
33850 Change conditional to require [$(build-nscd) = yes] as well.
33851 * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
33852
3cc3ef96
RM
33853 [BZ# 13696]
33854 * configure.in (use_nscd): New substituted variable, set by
33855 --disable-nscd. If enabled, define USE_NSCD.
33856 * configure: Regenerated.
33857 * config.h.in: Add USE_NSCD.
33858 * config.make.in (use-nscd): New substituted variable.
33859 * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
33860 (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
33861 (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
33862 * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
33863 (CFLAGS-getgrnam_r.c): Likewise.
33864 (CFLAGS-initgroups.c): Likewise.
33865 * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
33866 * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
33867 Variables removed.
33868 * inet/getnetgrent_r.c
33869 (nscd_setnetgrent): New function, broken out of ...
33870 (setnetgrent): ... here. Call it.
33871 (innetgr): Conditionalize nscd bits on [USE_NSCD].
33872 (nscd_getnetgrent): Conditionalize on [USE_NSCD].
33873 (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
33874 * nscd/Makefile (routines, aux): Move definitions after include of
33875 Makeconfig. Conditionalize on [$(use-nscd) != no].
33876 * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
33877 Conditionalize on [USE_NSCD].
33878 (is_nscd, nscd_init_cb): Likewise.
33879 (nss_load_library): Conditionalize init callback on [USE_NSCD].
33880 * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
33881 * nss/nss_db/db-init.c: Likewise.
33882 * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
33883 [USE_NSCD].
33884 * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
33885 (make_request): Use it.
33886 (cache_valid_p): New function.
33887 (__check_pf): Use it.
33888 * NEWS: Add item for --disable-nscd.
33889
07e51550
DL
338902012-08-22 Dmitry V. Levin <ldv@altlinux.org>
33891
33892 * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
33893 to support sed >= 4.2.1-20-ga9bf076.
33894 * configure: Regenerated.
33895
35a5b08b
RM
338962012-08-22 Roland McGrath <roland@hack.frob.com>
33897
33898 * csu/libc-start.c (apply_irel): Move extern declarations inside here.
33899 Conditionalize whole body on [IREL].
33900
8479f23a
JL
339012012-08-22 Jeff Law <law@redhat.com>
33902
33903 [BZ #14505]
33904 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
33905 if the family is PF_UNSPEC.
33906
48da0b21
MF
339072012-08-22 Mike Frysinger <vapier@gentoo.org>
33908
33909 * Makerules (lib-version): Rename from V.
33910 (install-lib-nosubdir): Change V to lib-version.
33911
15d0da8c
WS
339122012-08-22 Will Schmidt <will_schmidt@vnet.ibm.com>
33913
33914 [BZ #14252]
33915 * powerpc32/power6/wcschr.c: New file.
33916 * powerpc32/power6/wcscpy.c: New file.
33917 * powerpc32/power6/wcsrchr.c: New file.
33918 * powerpc64/power6/wcschr.c: New file.
33919 * powerpc64/power6/wcscpy.c: New file.
33920 * powerpc64/power6/wcsrchr.c: New file.
33921
bcca0895
MK
339222012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
33923
33924 * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
33925 (two_way_short_needle): Use it.
5a4aaa33
RM
33926 * string/strstr.c (AVAILABLE1_USES_J): Define.
33927 * string/strcasestr.c: Likewise.
99677e57
MK
33928
33929 * string/str-two-way.h (two_way_short_needle): Use pointers instead of
33930 array references.
33931 * string/strcasestr.c (TOLOWER): Make side-effect safe.
33932
400726de
MK
33933 [BZ #11607]
33934 * NEWS: Add an entry.
33935 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
33936 define their defaults.
33937 (two_way_short_needle): Detect end-of-string on-the-fly.
33938 * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
33939 (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
33940 * string/bug-strcasestr1.c: New test.
33941 * string/Makefile: Run it.
33942
20a71f2c
MK
339432012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
33944
33945 [BZ #11607]
33946 * string/str-two-way.h (two_way_short_needle): Optimize matching of
33947 the first character.
33948
21ad0558
RM
339492012-08-21 Roland McGrath <roland@hack.frob.com>
33950
33951 * csu/elf-init.c (__libc_csu_irel): Function removed.
33952 * csu/libc-start.c (apply_irel): New function.
33953 (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
33954
0e1d9911
JM
339552012-08-21 Joseph Myers <joseph@codesourcery.com>
33956
33957 * sysdeps/unix/sysv/linux/kernel-features.h
33958 (__ASSUME_FADVISE64_64_SYSCALL): Remove.
33959 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
33960 <kernel-features.h>.
33961 [__NR_fadvise64_64]: Make code unconditional.
33962 [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
33963 [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
33964 !__NR_fadvise64_64)]: Likewise.
33965 [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
33966 !__NR_fadvise64_64))]: Likewise.
33967 [__NR_fadvise64]: Make code unconditional.
33968 [!__NR_fadvise64]: Remove conditional code.
33969 * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
33970 <kernel-features.h>.
33971 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
33972 unconditional.
33973 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
33974 conditional code.
33975 * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
33976 not include <kernel-features.h>.
33977 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
33978 unconditional.
33979 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
33980 conditional code.
33981 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
33982 include <kernel-features.h>.
33983 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
33984 unconditional.
33985 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
33986 conditional code.
33987
14a50c9d
WS
339882012-08-21 Will Schmidt <will_schmidt@vnet.ibm.com>
33989
33990 * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
33991 slight instruction rearrangements per scrollpipe analysis.
33992 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
33993
c0f4faf0
RM
339942012-08-20 Roland McGrath <roland@hack.frob.com>
33995
696da859
RM
33996 * manual/syslog.texi (syslog; vsyslog, closelog):
33997 Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
33998 Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
33999
c0f4faf0
RM
34000 * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
34001 DSOCAPS to match condition on defining it.
34002
348363b2
JM
340032012-08-20 Joseph Myers <joseph@codesourcery.com>
34004
a35cbf28
JM
34005 * sysdeps/unix/sysv/linux/kernel-features.h
34006 (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
34007 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
34008 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
34009 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
34010 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
34011 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
34012 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
34013 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
34014 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
34015 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
34016
445f7ecd
JM
34017 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
34018 __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
34019
348363b2
JM
34020 * sysdeps/unix/sysv/linux/kernel-features.h
34021 (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
34022 * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
34023 unconditional.
34024 [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
34025 * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
34026 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
34027 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
34028 * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
34029 Make code unconditional.
34030 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
34031 (__mmap64) [!__NR_mmap2]: Likewise.
34032 * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
34033 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
34034 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
34035 * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
34036 [__NR_mmap2]: Make code unconditional.
34037 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
34038 (__mmap64) [!__NR_mmap2]: Likewise.
34039
bc5bc0e5
AK
340402012-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
34041
34042 * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
34043
88d506de
AJ
340442012-08-18 Andreas Jaeger <aj@suse.de>
34045
34046 * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
34047
493387d2
MF
340482012-08-18 Mike Frysinger <vapier@gentoo.org>
34049
34050 * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
34051 * include/unistd.h (__have_sock_cloexec): Likewise.
34052 (__have_pipe2): Likewise.
34053 (__have_dup3): Likewise.
34054
a277af22
MF
340552012-08-18 Mike Frysinger <vapier@gentoo.org>
34056
34057 [BZ #9685]
34058 * include/unistd.h (__have_pipe2): Change define into an extern int.
34059 (__have_dup3): Likewise.
34060 * socket/have_sock_cloexec.c: Include fcntl.h.
34061 (__have_pipe2): New variable.
34062 (__have_dup3): Likewise.
34063
fdab8fd3
MF
340642012-08-17 Mike Frysinger <vapier@gentoo.org>
34065
34066 * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
34067
31035e80
MP
340682012-08-17 Marek Polacek <polacek@redhat.com>
34069
34070 * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
34071 ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
34072
3bd9e993
RM
340732012-08-17 Roland McGrath <roland@hack.frob.com>
34074
c91c505f
RM
34075 * configure.in: Add AC_SUBST for sysheaders.
34076 * configure: Regenerated.
34077 * config.make.in (sysheaders): New substituted variable.
34078
7c6f9d53
RM
34079 * sysdeps/unix/mkfifo.c: Moved ...
34080 * sysdeps/posix/mkfifo.c: ... here.
34081 * sysdeps/unix/mkfifoat.c: Moved ...
34082 * sysdeps/posix/mkfifoat.c: ... here.
34083
34084 * sysdeps/unix/utime.c: Moved ...
34085 * sysdeps/posix/utime.c: ... here.
34086
34087 * sysdeps/unix/time.c: Moved ...
34088 * sysdeps/posix/time.c: ... here.
e3b398f9
RM
34089 * sysdeps/unix/sysv/linux/time.c: Adjust #include.
34090 * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
7c6f9d53
RM
34091
34092 * sysdeps/unix/nice.c: Moved ...
34093 * sysdeps/posix/nice.c: ... here.
34094
34095 * sysdeps/unix/alarm.c: Moved ...
34096 * sysdeps/posix/alarm.c: ... here.
34097
3bd9e993
RM
34098 * intl/Makefile ($(codeset_mo)): Depend on the input file.
34099
d1f09384
JL
341002012-08-17 Jeff Law <law@redhat.com>
34101
34102 * intl/Makefile (codeset_mo): New variable.
34103 ($(codeset_mo)): New target.
34104 (tst-codeset.out): Depend on that. Remove explicit rule.
34105 (tst-gettext3.out, tst-gettext5.out): Likewise.
34106 (LOCPATH-ENV, tst-codeset-ENV): New variables.
34107 (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
34108 * intl/tst-codeset.sh: Remove.
34109 * intl/tst-gettext3.sh: Likewise.
34110 * intl/tst-gettext5.sh: Likewise.
34111
2ae1ae5c
RM
341122012-08-17 Roland McGrath <roland@hack.frob.com>
34113
c31fdb83
RM
34114 * sysdeps/unix/inet/syscalls.list: File removed. Move contents into ...
34115 * sysdeps/unix/syscalls.list: ... here.
34116
a0844057
RM
34117 * sysdeps/posix/getaddrinfo.c
34118 (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
34119 (gaiconf_init, gaiconf_reload): Use them.
34120 [!_STATBUF_ST_NSEC]
34121 (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
34122 Define using time_t rather than struct timespec.
34123
750c1f2a
RM
34124 * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
34125 (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
34126 Macros removed.
34127 * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
34128 [!NO_THREADS].
34129 (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
34130 (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
34131 Likewise.
34132
2ae1ae5c
RM
34133 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
34134 __libc_cleanup_push argument.
34135
e66a42f5
RM
34136 * bits/param.h: New file.
34137 * misc/sys/param.h: New file.
34138 * include/sys/param.h: New file.
34139 * misc/Makefile (headers): Add bits/param.h.
34140 * sysdeps/generic/sys/param.h: File removed.
34141 * sysdeps/unix/sysv/linux/bits/param.h: New file.
34142 * sysdeps/unix/sysv/linux/sys/param.h: File removed.
34143 * sysdeps/mach/hurd/bits/param.h: New file.
4078da3d 34144 * sysdeps/mach/hurd/sys/param.h: File removed.
e66a42f5 34145
b7c08a66
RM
34146 * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
34147 last change.
34148
b2e1c562
RM
34149 * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
34150 [_IO_MTSAFE_IO].
34151 * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
34152 (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
34153 New macros.
34154
c75ccd4c
RM
34155 * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
34156 * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
34157 rather than -D_IO_MTSAFE_IO conditionally.
34158 * stdio-common/Makefile (CPPFLAGS): Likewise.
34159 * wcsmbs/Makefile (CPPFLAGS): Likewise.
34160 * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
34161 Use $(libio-mtsafe).
34162 * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
34163 of -D_IO_MTSAFE_IO.
34164 (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
34165 (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
34166 (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
34167 (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
34168 (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
34169 (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
34170 (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
34171 (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
34172 (CFLAGS-fread_u_chk.c): Likewise.
34173 (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
34174 (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
34175 (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
34176 (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
34177 * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
34178 * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
34179 * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
34180 * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
34181 * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
34182
34183 * libio/Makefile: Test [$(libc-reentrant) = yes]
34184 instead of [$(filter %REENTRANT, $(defines)) nonempty].
34185
34186 * Makeconfig
34187 [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
34188 * sysdeps/pthread/configure: File removed.
34189 * sysdeps/pthread/Makeconfig: New file.
34190 * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
34191 * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
34192
d9195db8
GB
341932012-08-16 Gary Benson <gbenson@redhat.com>
34194
34195 * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
34196 unmapping the first object in a namespace.
34197
86466cd9
RM
341982012-08-16 Roland McGrath <roland@hack.frob.com>
34199
34200 * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
34201 (__internal_setnetgrent): ... this. Add internal_function to
34202 definition. Add libc_hidden_def.
34203 (setnetgrent): Update caller.
34204 (internal_endnetgrent): Renamed to ...
34205 (__internal_endnetgrent): ... this. Add internal_function to
34206 definition. Add libc_hidden_def.
34207 (endnetgrent): Update caller.
34208 (internal_getnetgrent_r): Renamed to ...
34209 (__internal_getnetgrent_r): ... this. Add internal_function to
34210 definition. Add libc_hidden_def.
34211 (__getnetgrent_r): Update caller.
34212 * inet/netgroup.h: Update declarations. Add libc_hidden_proto uses.
34213
c3c8283c
JM
342142012-08-16 Joseph Myers <joseph@codesourcery.com>
34215
34216 * stdlib/longlong.h: Update from GCC.
34217
db1ee0a8
RM
342182012-08-16 Roland McGrath <roland@hack.frob.com>
34219
34220 * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
34221 on _QL, which is set by umul_ppmm but never used.
34222 * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
34223 variables, which are set by GMP macros but never used.
34224 * stdio-common/_itowa.c (_itowa): Likewise.
34225 * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
34226 * stdlib/mod_1.c (mpn_mod_1): Likewise.
34227
30f69637
CD
342282012-08-16 Carlos O'Donell <carlos_odonell@mentor.com>
34229
34230 * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
34231 struct La_sh_regs is not constant.
34232 * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
34233 <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
34234 and struct La_sparc64_regs are not constant.
34235
93a78ac4
JM
342362012-08-16 Joseph Myers <joseph@codesourcery.com>
34237
34238 * sysdeps/unix/sysv/linux/kernel-features.h
34239 (__ASSUME_POSIX_TIMERS): Remove.
34240 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
34241 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
34242 * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
34243 Make code unconditional.
34244 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
34245 * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
34246 Make code unconditional.
34247 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
34248 * sysdeps/unix/sysv/linux/clock_nanosleep.c
34249 [__ASSUME_POSIX_TIMERS]: Make code unconditional.
34250 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
34251 * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
34252 Make code unconditional.
34253 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
34254 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
34255 (__libc_missing_posix_timers): Remove.
34256
dd924cd7
RM
342572012-08-15 Roland McGrath <roland@hack.frob.com>
34258
4b4f2771
RM
34259 * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
34260 check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
34261
601c888b
RM
34262 * bits/libc-lock.h (__rtld_lock_initialize): New macro.
34263
176790a7
RM
34264 * elf/dl-sym.c: Include <stdlib.h>.
34265
329bc018
RM
34266 * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
34267 constants, which avoids warnings in 32-bit builds.
34268
e04e272d
RM
34269 * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
34270 (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
34271
952bf94a
RM
34272 * misc/lseek.c: File moved to ...
34273 * io/lseek.c: ... here.
34274
7c99b50a
RM
34275 * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
34276
dd924cd7
RM
34277 * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
34278 shifting LEN more than 31 bits at once.
34279
b3f479a8
LD
342802012-08-15 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
34281
34282 [BZ #14195]
8c4ae0d4
RM
34283 * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
34284 segmentation fault for a case of two empty input strings.
b3f479a8
LD
34285 * string/test-strncasecmp.c (check1): Renamed to...
34286 (bz12205): ...this.
34287 (bz14195): Add new testcase for two empty input strings and N > 0.
34288 (test_main): Call new testcase, adapt for renamed function.
34289
9c55864e
AJ
342902012-08-15 Andreas Jaeger <aj@suse.de>
34291
34292 [BZ #14090]
34293 * crypt/md5test2.c: New test, based on test supplied by Serge
34294 Belyshev <belyshev@depni.sinp.msu.ru>.
34295 * crypt/Makefile (xtests): Add md5test-giant..
34296 * crypt/Makefile ($(objpfx)md5test-giant): Add.
34297
02dcb6c5
PE
342982012-08-15 Paul Eggert <eggert@cs.ucla.edu>
34299
34300 [BZ #14090]
34301 * crypt/md5.c (md5_process_block): Don't assume the buffer
34302 length is less than 2**32.
34303 * crypt/sha512.c (sha512_process_block): Don't assume the buffer
34304 length is less than 2**64.
34305
a3f95dcc
RM
343062012-08-15 Roland McGrath <roland@hack.frob.com>
34307
be75d758
RM
34308 * string/str-two-way.h: Include <sys/param.h>.
34309 (MAX): Macro removed.
34310
7312ca90
RM
34311 * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
34312 Move #define and #undef of memmove to just before and after
34313 including <string.h>.
34314
9a0a5486
RM
34315 * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
34316 [!NOT_IN_libc]: Move #define and #undef of memmove to just before
34317 and after including <string.h>. Move declarations of
34318 __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
34319 to before #include "string/memmove.c".
34320
67cc348d
RM
34321 * include/dirent.h: Declare __getdirentries.
34322
a3f95dcc
RM
34323 * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
34324 using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
34325
ca98e171
MF
343262012-08-14 Mike Frysinger <vapier@gentoo.org>
34327
34328 * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
34329 * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
34330 * sysdeps/i386/configure: Regenerated.
34331 * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
34332 STABS_CURRENT_FILE, and STABS_FUN.
34333 (END): Remove call to STABS_FUN_END.
34334 (STABS_CURRENT_FILE1): Delete.
34335 (STABS_CURRENT_FILE): Likewise.
34336 (STABS_FUN): Likewise.
34337 (STABS_FUN_END): Likewise.
34338 (STABS_FUN2): Likewise.
34339 * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
34340 * sysdeps/x86_64/configure: Regenerated.
34341
5908bf46
RM
343422012-08-14 Roland McGrath <roland@hack.frob.com>
34343
34344 * elf/dl-open.c: Include <atomic.h>.
1ec79f26 34345 * elf/dl-lookup.c: Likewise.
5908bf46 34346
f2c05b9e
JM
343472012-08-14 Joseph Myers <joseph@codesourcery.com>
34348
34349 * sysdeps/unix/sysv/linux/kernel-features.h
34350 (__ASSUME_CLONE_THREAD_FLAGS): Remove.
34351 * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
34352 unconditionally.
34353 * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
34354 unconditionally.
34355 * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
34356 condition on __ASSUME_CLONE_THREAD_FLAGS.
34357
e11f5155
AJ
343582012-08-14 Andreas Jaeger <aj@suse.de>
34359
34360 * sysdeps/i386/fpu/libm-test-ulps: Update.
34361
51a9ba86
MK
343622012-08-13 Maxim Kuvyrkov <maxim@codesourcery.com>
34363
2fdd4f78
AJ
34364 * include/atomic.h (atomic_exchange_and_add): Split into ...
34365 (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
34366 New atomic macros.
51a9ba86 34367
ba6cba9e
MT
343682012-08-13 Markus Trippelsdorf <markus@trippelsdorf.de>
34369
34370 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
34371
42443a47
JL
343722012-08-13 Jeff Law <law@redhat.com>
34373
34374 * manual/stdio.texi (snprintf): Clarify handling of the trailing
34375 null byte in the output string.
34376
121dce05
JM
343772012-08-10 Joseph Myers <joseph@codesourcery.com>
34378
34379 * sysdeps/unix/sysv/linux/kernel-features.h
34380 (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
34381 [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
34382 (__ASSUME_ARG_MAX_STACK_BASED): Define.
34383 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
34384 [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
34385 !__ASSUME_ARG_MAX_STACK_BASED. Compare version with
34386 __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
34387
bf51f568
JL
343882012-08-09 Jeff Law <law@redhat.com>
34389
34390 [BZ #13939]
34391 * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
34392 When avoid_arena is set, don't retry in the that arena. Pick the
34393 next one, whatever it might be.
34394 (arena_get2): New parameter avoid_arena, pass through to reused_arena.
34395 (arena_lock): Pass in new parameter to arena_get2.
34396 * malloc/malloc.c (__libc_memalign): Pass in new parameter to
34397 arena_get2.
34398 (__libc_malloc): Unify retrying after main arena failure with
34399 __libc_memalign version.
34400 (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
34401
f85fa270
L
344022012-08-09 H.J. Lu <hongjiu.lu@intel.com>
34403
34404 [BZ #14166]
34405 * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
34406 to __redirect_strstr.
34407 (__strstr_sse42): Use typeof __redirect_strstr.
34408 (__strstr_ia32): Likewise.
34409 (__libc_strstr): New prototype.
34410 (strstr): Renamed to ...
34411 (__libc_strstr): This.
34412 (strstr): New strong alias of __libc_strstr.
34413 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
34414 * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
34415 __redirect_time.
34416 Include <time.h>.
34417 (__libc_time): New prototype.
34418 (time_ifunc): Replace time with __libc_time.
34419 (time): New strong alias and hidden definition of __libc_time.
34420 (__GI_time): Remove strong alias.
34421 * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
34422 Include <stddef.h>.
34423 (memmove): Redefined to __redirect_memmove.
34424 (__memmove_sse2): Use typeof __redirect_memmove.
34425 (__memmove_ssse3): Likewise.
34426 (__memmove_ssse3_back): Likewise.
34427 (__libc_memmove): New prototype.
34428 (memmove): Renamed to ...
34429 (__libc_memmove): This.
34430 (memmove): New strong alias of __libc_memmove.
34431
33b4a91e
MS
344322012-08-08 Mark Salter <msalter@redhat.com>
34433
34434 * elf/elf.h
34435 (R_MN10300_TLS_GD): Define.
34436 (R_MN10300_TLS_LD): Likewise.
34437 (R_MN10300_TLS_LDO): Likewise.
34438 (R_MN10300_TLS_GOTIE): Likewise.
34439 (R_MN10300_TLS_IE): Likewise.
34440 (R_MN10300_TLS_LE): Likewise.
34441 (R_MN10300_TLS_DTPMOD): Likewise.
34442 (R_MN10300_TLS_DTPOFF): Likewise.
34443 (R_MN10300_TLS_TPOFF): Likewise.
34444 (R_MN10300_SYM_DIFF): Likewise.
34445 (R_MN10300_ALIGN): Likewise.
34446 (R_MN10300_NUM): Update.
34447
b36137f1
JM
344482012-08-08 Joseph Myers <joseph@codesourcery.com>
34449
34450 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
34451 Remove.
34452
cdd915fd
RM
344532012-08-08 Roland McGrath <roland@hack.frob.com>
34454
a2433aac
RM
34455 * sysdeps/posix/fdopendir.c: Include <stddef.h>.
34456
cdd915fd
RM
34457 * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
34458 sysdeps/unix -> sysdeps/posix move.
34459 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
34460
bf9b740a
AM
344612012-08-07 Allan McRae <allan@archlinux.org>
34462
34463 [BZ #14303]
34464 * sunrpc/rpc_main.c (SVR4_CPP): Remove.
34465 (SUNOS_CPP): Likewise.
34466 (find_cpp): Fall back to selecting system cpp when /lib/cpp is
34467 not found.
34468 (open_input): Call CPP using execvp.
34469
93df14ee
JM
344702012-08-07 Joseph Myers <joseph@codesourcery.com>
34471
34472 * sysdeps/unix/sysv/linux/kernel-features.h
34473 (__ASSUME_PROT_GROWSUPDOWN): Remove.
34474 (__ASSUME_NO_CLONE_DETACHED): Likewise.
34475 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
34476 (__ASSUME_WAITID_SYSCALL): Likewise.
34477 * sysdeps/unix/sysv/linux/dl-execstack.c
34478 (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
34479 code unconditional.
34480 (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
34481 conditional code.
34482 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
34483 [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
34484 (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
34485 code.
34486 * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
34487 unconditional.
34488 [__ASSUME_WAITID_SYSCALL]: Likewise.
34489 [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
34490
d34689de
RM
344912012-08-07 Roland McGrath <roland@hack.frob.com>
34492
a281decc
RM
34493 * sysdeps/unix/closedir.c: Renamed to ...
34494 * sysdeps/posix/closedir.c: ... here.
34495 * sysdeps/unix/dirfd.c: Renamed to ...
34496 * sysdeps/posix/dirfd.c: ... here.
34497 * sysdeps/unix/dirstream.h: Renamed to ...
34498 * sysdeps/posix/dirstream.h: ... here.
34499 * sysdeps/unix/fdopendir.c: Renamed to ...
34500 * sysdeps/posix/fdopendir.c: ... here.
34501 * sysdeps/unix/opendir.c: Renamed to ...
34502 * sysdeps/posix/opendir.c: ... here.
34503 * sysdeps/unix/readdir.c: Renamed to ...
34504 * sysdeps/posix/readdir.c: ... here.
34505 * sysdeps/unix/readdir_r.c: Renamed to ...
34506 * sysdeps/posix/readdir_r.c: ... here.
34507 * sysdeps/unix/rewinddir.c: Renamed to ...
34508 * sysdeps/posix/rewinddir.c: ... here.
34509 * sysdeps/unix/seekdir.c: Renamed to ...
34510 * sysdeps/posix/seekdir.c: ... here.
34511 * sysdeps/unix/telldir.c: Renamed to ...
34512 * sysdeps/posix/telldir.c: ... here.
34513 * sysdeps/unix/sysv/linux/opendir.c: Update #include.
34514 * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
34515 * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
34516 * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
34517
22895b47
RM
34518 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
34519 * bits/fcntl.h: ... here.
34520
707a53b6
RM
34521 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
34522 not 0.
34523 (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
34524 [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
34525 (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
34526 (struct flock): Move l_start, l_len to the beginning.
34527 Use __pid_t for l_pid.
34528 [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
34529 [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
34530 [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
34531 (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
34532 [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
34533 [__USE_LARGEFILE64] (struct flock64): New type.
34534 (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
34535
f0bd3e25
RM
34536 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
34537 * bits/dirent.h: ... here.
34538
d34689de
RM
34539 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
34540 [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
34541
6dad2c06
JM
345422012-08-07 Joseph Myers <joseph@codesourcery.com>
34543
34544 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
34545 Change from 2.6.0 to 2.6.16.
34546 * sysdeps/unix/sysv/linux/configure: Regenerated.
34547 * sysdeps/unix/sysv/linux/kernel-features.h
34548 (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
34549 (__ASSUME_TGKILL): Define conditional on architectures, not kernel
34550 version.
34551 (__ASSUME_UTIMES): Likewise.
34552 (__ASSUME_CLONE_STOPPED): Remove.
34553 (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
34554 architectures, not kernel version.
34555 (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
34556 (__ASSUME_NO_CLONE_DETACHED): Likewise.
34557 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
34558 (__ASSUME_WAITID_SYSCALL): Likewise.
34559 [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
34560 condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
34561 * README: State 2.6.16 as minimum Linux kernel version. Do not
34562 refer to older versions.
34563
03af9520
RM
345642012-08-06 Roland McGrath <roland@hack.frob.com>
34565
8e49df1d
RM
34566 * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
34567 Define alphasort64 as an alias.
34568 * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
34569 Define versionsort64 as an alias.
34570 * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
34571 Define scandir64 as an alias.
34572 * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
34573 Define scandirat64 as an alias.
34574 * dirent/alphasort64.c (alphasort64):
34575 Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
34576 * dirent/versionsort64.c: Likewise.
34577 * dirent/scandir64.c: Likewise.
34578 * dirent/scandirat64.c: Likewise.
34579 * sysdeps/wordsize-64/alphasort.c: File removed.
34580 * sysdeps/wordsize-64/alphasort64.c: File removed.
34581 * sysdeps/wordsize-64/scandir.c: File removed.
34582 * sysdeps/wordsize-64/scandir64.c: File removed.
34583 * sysdeps/wordsize-64/scandirat.c: File removed.
34584 * sysdeps/wordsize-64/scandirat64.c: File removed.
34585 * sysdeps/wordsize-64/versionsort.c: File removed.
34586 * sysdeps/wordsize-64/versionsort64.c: File removed.
34587 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
34588 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
34589 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
34590 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
34591 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
34592 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
34593 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
34594 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
34595
34596 * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
34597 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
34598 [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
34599 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
34600 [defined __arch64__ || defined __sparcv9]
34601 (__INO_T_MATCHES_INO64_T): New macro.
34602 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
34603 [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
34604 * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
34605 * sysdeps/unix/sysv/linux/bits/dirent.h
34606 [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
34607 (_DIRENT_MATCHES_DIRENT64): New macro.
34608
03af9520
RM
34609 * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
34610 Define lockf64 as an alias.
34611 * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
34612 Define fseeko64 as an alias.
34613 * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
34614 Define ftello64 as an alias.
34615 * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
34616 Define _IO_fgetpos64 and fgetpos64 as aliases.
34617 * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
34618 Define _IO_fsetpos64 and fsetpos64 as aliases.
34619 * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
34620 Conditionalize body on this.
34621 * libio/fseeko64.c: Likewise.
34622 * libio/ftello64.c: Likewise.
34623 * libio/iofgetpos64.c: Likewise.
34624 * libio/iofsetpos64.c: Likewise.
34625 * sysdeps/wordsize-64/lockf.c: File removed.
34626 * sysdeps/wordsize-64/lockf64.c: File removed.
34627 * sysdeps/wordsize-64/fseeko.c: File removed.
34628 * sysdeps/wordsize-64/fseeko64.c: File removed.
34629 * sysdeps/wordsize-64/ftello.c: File removed.
34630 * sysdeps/wordsize-64/ftello64.c: File removed.
34631 * sysdeps/wordsize-64/iofgetpos.c: File removed.
34632 * sysdeps/wordsize-64/iofgetpos64.c: File removed.
34633 * sysdeps/wordsize-64/iofsetpos.c: File removed.
34634 * sysdeps/wordsize-64/iofsetpos64.c: File removed.
34635 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
34636 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
34637 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
34638 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
34639 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
34640 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
34641 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
34642 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
34643 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
34644 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
34645
34646 * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
34647 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
34648 [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
34649 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
34650 [defined __arch64__ || defined __sparcv9]
34651 (__OFF_T_MATCHES_OFF64_T): New macro.
34652 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
34653 [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
34654 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
34655 (__OFF_T_MATCHES_OFF64_T): New macro.
34656
c5757acd
L
346572012-08-06 H.J. Lu <hongjiu.lu@intel.com>
34658
34659 * stdlib/secure-getenv.c (__secure_getenv): Replace
34660 GLIBC_2_16 with GLIBC_2_17.
34661
3a31811e
L
346622012-08-06 H.J. Lu <hongjiu.lu@intel.com>
34663
34664 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
34665 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
34666
faa2bccb
DM
346672012-08-03 David S. Miller <davem@davemloft.net>
34668
34669 * sysdeps/sparc/fpu/libm-test-ulps: Update.
34670
85fe1997
JM
346712012-08-03 Joseph Myers <joseph@codesourcery.com>
34672
34673 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
34674 Remove.
34675 (__ASSUME_CORRECT_SI_PID): Likewise.
34676 (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
34677 (__ASSUME_TMPFS_NAME): Likewise.
34678 * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
34679 [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
34680 * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
34681 (HAVE_AUX_SECURE): Make definition unconditional.
34682 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
34683 [!__ASSUME_TMPFS_NAME]: Remove conditional code.
34684
4f75b7a0
RM
346852012-08-03 Roland McGrath <roland@hack.frob.com>
34686
34687 * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
34688 * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
34689 * sysdeps/mach/hurd/eloop-threshold.h: New file.
34690 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
34691 __eloop_threshold instead of SYMLOOP_MAX.
34692
34693 * sysdeps/generic/eloop-threshold.h: New file.
34694 * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
34695 of MAXSYMLINKS.
34696 * elf/chroot_canon.c (chroot_canon): Likewise.
34697
7aab07e4
JM
346982012-08-03 Joseph Myers <joseph@codesourcery.com>
34699
34700 [BZ #13717]
34701 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
34702 Change to 2.6.0 everywhere.
34703 * sysdeps/unix/sysv/linux/configure: Regenerated.
34704 * sysdeps/unix/sysv/linux/kernel-features.h
34705 (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
34706 (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
34707 kernel versions.
34708 (__ASSUME_POSIX_TIMERS): Define unconditionally.
34709 (__ASSUME_FUTEX_REQUEUE): Remove.
34710 (__ASSUME_STATFS64): Define unconditionally.
34711 (__ASSUME_AT_SECURE): Likewise.
34712 (__ASSUME_CORRECT_SI_PID): Likewise.
34713 (__ASSUME_TGKILL): Define without depending on kernel version for
34714 i386.
34715 (__ASSUME_UTIMES): Likewise.
34716 (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
34717 kernel version.
34718 (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
34719 (__ASSUME_TMPFS_NAME): Likewise.
34720 * README: Update reference to Linux kernel versions.
34721
b67e9372
MP
347222012-08-02 Marek Polacek <polacek@redhat.com>
34723
1f529f7d 34724 [BZ# 14150]
b67e9372
MP
34725 * configure.in (libc_cv_asm_type_prefix): Remove test. Replace
34726 libc_cv_asm_type_prefix with %.
34727 * configure: Regenerated.
d2441631
RM
34728 * include/libc-symbols.h: Remove comment about
34729 ASM_TYPE_DIRECTIVE_PREFIX. Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
b67e9372
MP
34730 (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
34731 (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
34732 (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
34733 (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
34734 * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
34735 [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
34736 [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
34737 * elf/tst-unique2mod1.c: Likewise.
34738 * elf/tst-unique1mod2.c: Likewise.
34739 * elf/tst-unique1mod1.c: Likewise.
34740 * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
34741 * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
34742 Replace ASM_TYPE_DIRECTIVE with .type.
34743 * sysdeps/s390/s390-64/sysdep.h: Likewise.
34744 * sysdeps/i386/sysdep.h: Likewise.
34745 * sysdeps/x86_64/sysdep.h: Likewise.
34746 * sysdeps/sh/sysdep.h: Likewise.
d2441631
RM
34747 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
34748 Do not define ASM_TYPE_DIRECTIVE.
b67e9372 34749 * sysdeps/powerpc/sysdep.h: Likewise.
d2441631
RM
34750 * sysdeps/powerpc/powerpc32/sysdep.h:
34751 Replace ASM_TYPE_DIRECTIVE with .type.
b67e9372
MP
34752 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
34753 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
34754 * sysdeps/i386/fpu/e_powf.S: Likewise.
34755 * sysdeps/i386/fpu/e_expl.S: Likewise.
34756 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
34757 * sysdeps/i386/fpu/e_acosh.S: Likewise.
34758 * sysdeps/i386/fpu/e_pow.S: Likewise.
34759 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
34760 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
34761 * sysdeps/i386/fpu/s_expm1.S: Likewise.
34762 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
34763 * sysdeps/i386/fpu/e_log2.S: Likewise.
34764 * sysdeps/i386/fpu/e_log2l.S: Likewise.
34765 * sysdeps/i386/fpu/e_scalb.S: Likewise.
34766 * sysdeps/i386/fpu/e_powl.S: Likewise.
34767 * sysdeps/i386/fpu/e_log10f.S: Likewise.
34768 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
34769 * sysdeps/i386/fpu/e_logl.S: Likewise.
34770 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
34771 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
34772 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
34773 * sysdeps/i386/fpu/e_log2f.S: Likewise.
34774 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
34775 * sysdeps/i386/fpu/e_log.S: Likewise.
34776 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
34777 * sysdeps/i386/fpu/e_logf.S: Likewise.
34778 * sysdeps/i386/fpu/e_log10l.S: Likewise.
34779 * sysdeps/i386/fpu/e_atanh.S: Likewise.
34780 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
34781 * sysdeps/i386/fpu/e_log10.S: Likewise.
34782 * sysdeps/i386/fpu/s_frexp.S: Likewise.
34783 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
34784 * sysdeps/i386/fpu/s_asinh.S: Likewise.
34785 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
34786 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
34787 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
34788 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
34789 * sysdeps/i386/i686/strtok.S: Likewise.
34790 * sysdeps/i386/i386-mcount.S: Likewise.
34791 * sysdeps/i386/strtok.S: Likewise.
34792 * sysdeps/x86_64/fpu/e_expl.S: Likewise.
34793 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
34794 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
34795 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
34796 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
34797 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
34798 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
34799 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
34800 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
34801 * sysdeps/x86_64/_mcount.S: Likewise.
34802 * sysdeps/x86_64/strtok.S: Likewise.
34803 * sysdeps/sh/_mcount.S: Likewise.
34804
2747bf9a
RM
348052012-08-01 Roland McGrath <roland@hack.frob.com>
34806
34807 * libio/iofopen.c: Include <fcntl.h>.
34808 [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
34809 (_IO_fopen64, fopen64): Define as aliases.
34810 * libio/iofopen64.c: Include <fcntl.h>.
34811 [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
34812 Conditionalize body on this.
34813 * sysdeps/wordsize-64/iofopen.c: File removed.
34814 * sysdeps/wordsize-64/iofopen64.c: File removed.
34815
3fb791b8
MP
348162012-08-01 Marek Polacek <polacek@redhat.com>
34817
34818 * libc/Makeconfig: Use elf in place of binfmt-subdir.
34819 Use dlfcn directly instead of a variable.
34820 (binfmt-subdir): Do not define.
34821 (dlfcn): Likewise.
34822
a9f1039f
JM
348232012-08-01 Joseph Myers <joseph@codesourcery.com>
34824
23bddc06
JM
34825 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
34826 Remove all definitions.
34827 * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
34828 <kernel-features.h>.
34829 [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
34830 (miss_F_GETOWN_EX): Remove all definitions.
34831 [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
34832 macro definition.
34833 [!__ASSUME_FCNTL64]: Remove conditional code.
34834 [__ASSUME_FCNTL64]: Make code unconditional.
34835 * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
34836 <kernel-features.h>.
34837 [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
34838 (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
34839 (lockf64) [__NR_fcntl64]: Make code unconditional.
34840 (lockf64) [__ASSUME_FCNTL64]: Likewise.
34841
a9f1039f
JM
34842 * sysdeps/unix/sysv/linux/kernel-features.h
34843 (__ASSUME_VFORK_SYSCALL): Remove all definitions.
34844 * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
34845 Make code unconditional.
34846 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
34847 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
34848 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
34849 [__NR_vfork]: Make code unconditional.
34850 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
34851 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
34852 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
34853 [__NR_vfork]: Make code unconditional.
34854 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
34855 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
34856
09c0ee5f
RM
348572012-08-01 Roland McGrath <roland@hack.frob.com>
34858
48aec5b9
RM
34859 * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
34860 (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
34861
cd97c966
RM
34862 * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
34863 Define mkstemp64 as an alias.
3f55550c
RM
34864 * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
34865 Define mkstemps64 as an alias.
cd97c966
RM
34866 * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
34867 Define mkostemp64 as an alias.
b8625cfc
RM
34868 * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
34869 Define mkostemps64 as an alias.
cd97c966
RM
34870 * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
34871 Conditionalize body on this.
34872 * misc/mkostemp64.c: Likewise.
b8625cfc 34873 * misc/mkostemps64.c: Likewise.
3f55550c 34874 * misc/mkstemps64.c: Likewise.
cd97c966
RM
34875 * sysdeps/wordsize-64/mkstemp64.c: File removed.
34876 * sysdeps/wordsize-64/mkostemp64.c: File removed.
34877 * sysdeps/wordsize-64/mkostemp.c: File removed.
34878 * sysdeps/wordsize-64/mkstemp.c: File removed.
34879 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
34880 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
34881 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
34882 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
34883
09c0ee5f
RM
34884 [BZ #14138]
34885 * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
34886 * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
34887 * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
34888 * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
34889
34890 * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
34891 compat_symbol macros from <shlib-compat.h> rather than the underlying
34892 default_symbol_version and symbol_version macros, so that DEFAULT
34893 lines in shlib-versions are respected.
34894 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
34895
7e66ee51
FW
348962012-08-01 Florian Weimer <fweimer@redhat.com>
34897
34898 * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
34899 Declare with warn_unused_result.
34900 (setgid, setregid, setegid, setresgid): Likewise.
34901 * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
34902 Likewise.
34903 * WUR-REPORT: Remove set*id functions.
34904
d2a54255
PT
349052012-07-31 Pino Toscano <toscano.pino@tiscali.it>
34906
34907 * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
34908
7ecdb005
RM
349092012-07-31 Roland McGrath <roland@hack.frob.com>
34910
b4180a5e 34911 [BZ #10191]
789bd351
RM
34912 * include/sys/socket.h (__libc_accept, __libc_accept4):
34913 Add attribute_hidden.
34914 * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
34915
40ce302d
RM
34916 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
34917 use of PTR_MANGLE.
34918 * inet/getnetgrent_r.c (setup): Likewise.
34919
7ecdb005
RM
34920 * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
34921
e2eabb2c
DM
349222012-07-31 David S. Miller <davem@davemloft.net>
34923
34924 * sysdeps/sparc/fpu/libm-test-ulps: Update.
34925
d0419dbf
JM
349262012-07-31 Joseph Myers <joseph@codesourcery.com>
34927
34928 [BZ #13629]
34929 * math/s_clog.c (__clog): Use __log1p if larger part has absolute
34930 value between 1.0 and 2.0 and smaller part has absolute value less
34931 than 1.0.
34932 * math/s_clog10.c (__clog10): Likewise.
34933 * math/s_clog10f.c (__clog10f): Likewise.
34934 * math/s_clog10l.c (__clog10l): Likewise.
34935 * math/s_clogf.c (__clogf): Likewise.
34936 * math/s_clogl.c (__clogl): Likewise.
34937 * math/libm-test.inc (clog_test): Add more tests.
34938 (clog10_test): Likewise.
34939 * sysdeps/i386/fpu/libm-test-ulps: Update.
34940 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34941
2bc13872
FW
349422012-07-31 Florian Weimer <fweimer@redhat.com>
34943
34944 * stdlib/tst-secure-getenv.c: Use printf for error reporting.
34945 Exit with zero in case no suitable GID is found, and write a
34946 message to standard error.
34947
bea9b193
RM
349482012-07-30 Roland McGrath <roland@hack.frob.com>
34949
34950 * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
34951 rather than to 1.
34952 (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
34953 (MAXPATHLEN): Removed.
34954 (NOGROUP, NODEV): New macros.
34955 (setbit, clrbit, isset, isclr): New macros.
34956 (howmany, roundup, powerof2): New macros.
34957 (DEV_BSIZE): New macro.
34958
34959 * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
34960 * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
34961
34962 * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
34963 definition on [!__NO_LONG_DOUBLE_MATH].
34964
34965 * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
34966 PTR_MANGLE and PTR_DEMANGLE.
34967
34968 * socket/accept4.c (accept4): Rename to __libc_accept4.
34969 Define accept4 as a weak alias.
34970
34971 * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
34972 on [_DIRENT_HAVE_D_TYPE].
34973 * io/ftw.c (ftw_dir): Likewise.
34974
34975 * io/xmknod.c (__xmknod): Don't check PATH for being null.
34976
34977 * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
34978
34979 * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
34980 Use the BSD numbers rather than the arbitrary ones we had.
34981 (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
34982 (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
34983 (SIGXCPU, SIGXFSZ): New macros.
34984 (_NSIG): Now 32.
34985
34986 * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
34987 initializer on [_LIBC_REENTRANT].
34988
34989 * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
34990 definitions inside [_POSIX_MAPPED_FILES].
34991
34992 * posix/regex.c: Include <sys/param.h> for MIN/MAX.
34993
34994 * dirent/opendir.c: Include <fcntl.h>.
34995
34996 * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
34997 (__libc_getspecific): Likewise.
34998 (__libc_key_create): Likewise.
34999
35000 * stdio-common/tmpfile64.c: Include <fcntl.h> first.
35001 [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
35002 * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
35003 (tmpfile64): Define as alias.
35004 * sysdeps/wordsize-64/tmpfile.c: File removed.
35005 * sysdeps/wordsize-64/tmpfile64.c: File removed.
35006 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
35007 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
35008
35009 * stdio-common/vfscanf.c: Include <stdbool.h>.
35010 * nss/makedb.c: Likewise.
35011 * stdio-common/_i18n_number.h: Likewise.
35012 * argp/argp-help.c: Likewise.
35013 * posix/wordexp.c: Likewise.
35014 * sysdeps/posix/spawni.c: Likewise.
35015 * nss/nss_files/files-initgroups.c: Likewise.
35016 * stdio-common/reg-modifier.c: Include <stdlib.h>.
35017 * nss/nss_files/files-initgroups.c: Likewise.
35018 * nss/nss_db/db-netgrp.c: Likewise.
35019 * nss/nss_db/db-initgroups.c: Likewise.
35020 * io/fchmodat.c: Include <sys/stat.h>.
35021
35022 * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
35023 __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
35024
35025 * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
35026 [HAVE_MMAP].
35027
35028 * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
35029 Add multiple inclusion protection.
35030
e5abc686
DM
350312012-07-27 David S. Miller <davem@davemloft.net>
35032
35033 * sysdeps/sparc/fpu/libm-test-ulps: Update.
35034
815e6fa3
GB
350352012-07-27 Gary Benson <gbenson@redhat.com>
35036
35037 [BZ #14298]
35038 * elf/rtld.c: Include <stap-probe.h>.
35039 (dl_main): Added static probes "init_start" and "init_complete".
35040 * elf/dl-load.c: Include <stap-probe.h>.
35041 (lose): Take new parameter "nsid".
35042 Added static probe "map_failed".
35043 (_dl_map_object_from_fd): Pass namespace id to lose.
35044 Added static probe "map_start".
35045 (open_verify): Pass namespace id to lose.
35046 * elf/dl-open.c: Include <stap-probe.h>.
35047 (dl_open_worker) Added static probes "map_complete", "reloc_start"
35048 and "reloc_complete".
35049 * elf/dl-close.c: Include <stap-probe.h>.
35050 (_dl_close_worker): Added static probes "unmap_start" and
35051 "unmap_complete".
35052 * elf/rtld-debugger-interface.txt: New file documenting the above.
35053
9f98c16c
RM
350542012-07-26 Roland McGrath <roland@hack.frob.com>
35055
35056 * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
35057 rather than a string variable.
35058 * sunrpc/rpc_main.c (h_output): Likewise.
35059 * sunrpc/rpc_svcout.c (write_real_program): Likewise.
35060
f3c22df3
PT
350612012-07-26 Pino Toscano <toscano.pino@tiscali.it>
35062
35063 * inet/check_native.c: New file.
35064
3129cfc6
JM
350652012-07-26 Joseph Myers <joseph@codesourcery.com>
35066
da865e95
JM
35067 [BZ #13629]
35068 * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
35069 if larger part has absolute value 1.0.
35070 * math/s_clog10.c (__clog10): Likewise.
35071 * math/s_clog10f.c (__clog10f): Likewise.
35072 * math/s_clog10l.c (__clog10l): Likewise.
35073 * math/s_clogf.c (__clogf): Likewise.
35074 * math/s_clogl.c (__clogl): Likewise.
35075 * math/libm-test.inc (clog_test): Add more tests.
35076 (clog10_test): Likewise.
35077 * sysdeps/i386/fpu/libm-test-ulps: Update.
35078 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35079
3129cfc6
JM
35080 * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
35081 (pltexit): Likewise.
35082 (La_regs): Likewise.
35083 (La_retval): Likewise.
35084 (int_retval): Likewise.
35085 Update #error for removed macros to refer only to definitions in
35086 tst-audit.h.
35087 * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
35088 macro.
35089 (pltexit): Likewise.
35090 (La_regs): Likewise.
35091 (La_retval): Likewise.
35092 (int_retval): Likewise.
35093 * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
35094 macro.
35095 (pltexit): Likewise.
35096 (La_regs): Likewise.
35097 (La_retval): Likewise.
35098 (int_retval): Likewise.
35099 * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
35100 macro.
35101 (pltexit): Likewise.
35102 (La_regs): Likewise.
35103 (La_retval): Likewise.
35104 (int_retval): Likewise.
35105 * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
35106 macro.
35107 (pltexit): Likewise.
35108 (La_regs): Likewise.
35109 (La_retval): Likewise.
35110 (int_retval): Likewise.
35111 * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
35112 macro.
35113 (pltexit): Likewise.
35114 (La_regs): Likewise.
35115 (La_retval): Likewise.
35116 (int_retval): Likewise.
35117 * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
35118 macro.
35119 (pltexit): Likewise.
35120 (La_regs): Likewise.
35121 (La_retval): Likewise.
35122 (int_retval): Likewise.
35123 * sysdeps/generic/tst-audit.h: Update comment to refer only to
35124 macro definitions in tst-audit.h.
35125 * sysdeps/i386/tst-audit.h: New file.
35126 * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
35127 * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
35128 * sysdeps/s390/s390-32/tst-audit.h: Likewise.
35129 * sysdeps/s390/s390-64/tst-audit.h: Likewise.
35130 * sysdeps/sh/tst-audit.h: Likewise.
35131 * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
35132 * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
35133 * sysdeps/x86_64/tst-audit.h: Likewise.
35134
bfc07087
AJ
351352012-07-26 Andreas Jaeger <aj@suse.de>
35136
b1b2aaf8
AJ
35137 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
35138 ptrace.
35139
35140 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
35141 new value PTRACE_EVENT_SECCOMP from Linux 3.5.
35142 (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
35143 PTRACE_O_MASK.
35144 * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
35145 * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
35146 * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
35147
bfc07087
AJ
35148 * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
35149 value.
35150
35151 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
35152 _sigsys.
35153 (si_call_addr, si_syscall, si_arch): Define new macro.
35154 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
35155 _sigsys.
35156 (si_call_addr, si_syscall, si_arch): Define new marcro.
35157 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
35158 _sigsys.
35159 (si_call_addr, si_syscall, si_arch): Define new macro.
35160 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
35161 _sigsys.
35162 (si_call_addr, si_syscall, si_arch): Define new macro.
35163
89b4b02f
JM
351642012-07-25 Joseph Myers <joseph@codesourcery.com>
35165
35166 [BZ #13717]
35167 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
35168 Change to 2.4.21 where previously 2.4.1.
35169 * sysdeps/unix/sysv/linux/configure: Regenerated.
35170 * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
35171 __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
35172 Linux kernel version.
35173 (__ASSUME_STD_AUXV): Remove.
35174 [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
35175 kernel version.
35176 [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
35177 (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
35178 (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
35179 (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
35180 (__ASSUME_NETLINK_SUPPORT): Likewise.
35181 * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
35182 (__no_netlink_support): Remove conditional definition.
35183 * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
35184 Remove.
35185 (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
35186 [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
35187 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
35188 (if_nameindex_ioctl): Remove.
35189 (if_nameindex_netlink): Do not handle __no_netlink_support.
35190 (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
35191 code.
35192 * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
35193 Remove conditional code.
35194 (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
35195 code.
35196 (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
35197 unconditional.
35198 [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
35199 [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
35200 * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
35201 Remove.
35202 * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
35203 [!__ASSUME_STD_AUXV]: Remove conditional code.
35204 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
35205 [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
35206 [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
35207 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
35208 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
35209 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
35210 code.
35211 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
35212 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
35213 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
35214 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
35215 conditional code.
35216 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
35217 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
35218 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
35219 code.
35220 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
35221 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
35222 conditional code.
35223 * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
35224 (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
35225 code unconditional.
35226 (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
35227 conditional code.
35228 (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
35229 unconditional.
35230 (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
35231 conditional code.
35232 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
35233 (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
35234 unconditional.
35235 (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
35236 conditional code.
35237 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
35238 (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
35239 code unconditional.
35240 (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
35241 conditional code.
35242 (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
35243 unconditional.
35244 (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
35245 conditional code.
35246 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
35247 (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
35248 code unconditional.
35249 (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
35250 conditional code.
35251 (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
35252 unconditional.
35253 (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
35254 conditional code.
35255
842a39cd
AS
352562012-07-25 Andreas Schwab <schwab@linux-m68k.org>
35257
35258 * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
35259 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
35260 * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
35261 * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
35262 * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
35263 * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
35264 * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
35265 * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
35266 * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
35267 * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
35268 * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
35269 * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
35270 * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
35271 * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
35272 * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
35273 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
35274 * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
35275 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
35276 * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
35277 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
35278 * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
35279 * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
35280 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
35281
84b3fd84
FW
352822012-07-25 Florian Weimer <fweimer@redhat.com>
35283
35284 * Versions.def: Add GLIBC_2.17.
84b3fd84
FW
35285 * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
35286 * include/stdlib.h: Rename __secure_getenv to secure_getenv.
35287 Introduce __libc_secure_getenv.
0c7936d5
FW
35288 * stdlib/Versions (2.17): Add secure_getenv
35289 (GLIBC_PRIVATE): Add __libc_secure_getenv.
35290 * stdlib/secure-getenv.c: Rename __secure_getenv to
35291 __libc_secure_getenv. Add secure_getenv alias. Add compatibility
35292 symbol __secure_getenv for GLIBC_2.0.
84b3fd84
FW
35293 * stdlib/tst-secure-getenv.c: New.
35294 * stdlib/Makefile (tests): Add testcase.
84b3fd84
FW
35295 * manual/startup.texi (Environment Access): Document
35296 secure_getenv.
84b3fd84
FW
35297 * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
35298 __libc_secure_getenv.
35299 * inet/ruserpass.c (ruserpass): Likewise.
35300 * malloc/mtrace.c (mtrace): Likewise.
35301 * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
0c7936d5 35302 * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
84b3fd84
FW
35303 * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
35304 * sysdeps/posix/tempname.c: Likewise. Evaluate
35305 HAVE_SECURE_GETENV.
35306 * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
0c7936d5 35307 __secure_getenv to __libc_secure_getenv.
84b3fd84 35308 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
84b3fd84
FW
35309 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
35310 Likewise.
35311 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
35312 Likewise.
35313 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
35314 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
35315 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
35316 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
35317 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
35318 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
35319 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
84b3fd84 35320
56e49b71
JM
353212012-07-25 Joseph Myers <joseph@codesourcery.com>
35322
35323 * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
35324 (struct La_i86_retval): Likewise.
35325 (struct La_x86_64_regs): Likewise.
35326 (struct La_x86_64_retval): Likewise.
35327 (struct La_x32_regs): Likewise.
35328 (struct La_x32_retval): Likewise.
35329 (struct La_ppc32_regs): Likewise.
35330 (struct La_ppc32_retval): Likewise.
35331 (struct La_ppc64_regs): Likewise.
35332 (struct La_ppc64_retval): Likewise.
35333 (struct La_sh_regs): Likewise.
35334 (struct La_sh_retval): Likewise.
35335 (struct La_s390_32_regs): Likewise.
35336 (struct La_s390_32_retval): Likewise.
35337 (struct La_s390_64_regs): Likewise.
35338 (struct La_s390_64_retval): Likewise.
35339 (struct La_sparc32_regs): Likewise.
35340 (struct La_sparc32_retval): Likewise.
35341 (struct La_sparc64_regs): Likewise.
35342 (struct La_sparc64_retval): Likewise.
35343 (struct audit_ifaces): Remove architecture-specific pltenter and
35344 pltexit members.
35345 * sysdeps/i386/ldsodefs.h: New file.
35346 * sysdeps/powerpc/ldsodefs.h: Likewise.
35347 * sysdeps/s390/ldsodefs.h: Likewise.
35348 * sysdeps/sh/ldsodefs.h: Likewise.
35349 * sysdeps/sparc/ldsodefs.h: Likewise.
35350 * sysdeps/x86_64/ldsodefs.h: Likewise.
35351
354691b7
MP
353522012-07-25 Marek Polacek <polacek@redhat.com>
35353
35354 [BZ #6808]
35355 * math/libm-test.inc (yn_test): Add another test.
35356 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
35357 to ERANGE when the result is +-Inf.
35358 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
35359 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
35360 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
35361 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
35362
bf9e2071
JM
353632012-07-24 Joseph Myers <joseph@codesourcery.com>
35364
35365 * conform/data/time.h-data (NULL): Use macro-constant. Require
35366 equal to 0.
35367 (CLOCKS_PER_SEC): Use macro instead of constant. Specify type as
35368 clock_t.
35369 [ISO11] (TIME_UTC): Use macro-int-constant. Require value > 0.
35370
57633811
TS
353712012-07-23 Thomas Schwinge <thomas@codesourcery.com>
35372
35373 * configure.in <sysdeps resolving>: Correct printing
35374 Implies_before.
35375 * configure: Regenerate.
35376
c23c33b0
TS
353772012-07-22 Thomas Schwinge <thomas@codesourcery.com>
35378
35379 * math/w_ilogb.c: Include <limits.h>.
35380 * math/w_ilogbl.c: Likewise.
35381
b5982523
JM
353822012-07-20 Joseph Myers <joseph@codesourcery.com>
35383
35384 * manual/lang.texi (__va_copy): Document primarily as ISO C99
35385 va_copy. Document allowing for unavailable va_copy only as
35386 pre-C99 compatibility.
35387 * manual/string.texi (Copying and Concatenation): Use va_copy
35388 instead of __va_copy in concat example.
35389
ac4ea442
PT
353902012-07-20 Pino Toscano <toscano.pino@tiscali.it>
35391
35392 * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
35393 (__sendto): Use create_address_port. Initialize APORT and deallocate
35394 it if not null.
35395
f98eafbd
PT
35396 * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
35397 with O_NOLINK passed to __file_name_lookup.
35398
898c7aab
PT
35399 * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
35400 with O_NOLINK passed to __file_name_lookup.
35401
0ced335a
PT
35402 * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
35403 negative N or less than NGIDS.
35404
b3404dbd
PT
35405 * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
35406 type to string_t. Set ERANGE as errno and return it if NAME is not big
35407 enough. Use memcpy instead of strncpy.
35408
0f48659e
JM
354092012-07-20 Joseph Myers <joseph@codesourcery.com>
35410
35411 * elf/Makefile (check-data): Remove.
35412 (localplt.data): New vpath directive.
35413 ($(objpfx)check-localplt.out): Use localplt.data from vpath
35414 instead of $(check-data).
35415 * scripts/data/localplt-generic.data: Move to ...
35416 * sysdeps/generic/localplt.data: ... here.
35417 * scripts/data/localplt-i386-linux-gnu.data: Move to ...
35418 * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
35419 * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
35420 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
35421 ... here.
35422 * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
35423 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
35424 ... here.
35425 * scripts/data/localplt-s390-linux-gnu.data: Move to ...
35426 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
35427 ... here.
35428 * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
35429 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
35430 ... here.
35431 * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
35432 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
35433 ... here.
35434 * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
35435 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
35436 ... here.
35437
d37cbdaa
AZ
354382012-07-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
35439
35440 * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
35441 PPC32 and PPC64 files.
35442 * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
35443 * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
35444
46f85fc2
AK
354452012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
35446
35447 * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
35448 __makecontext_ret to ...
35449 * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
35450 ... here and call exit if uc_link is NULL. New file.
35451 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
35452 __makecontext_ret.S.
35453 * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
35454 __makecontext_ret to ...
35455 * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
35456 ... here and call exit if uc_link is NULL. New file.
35457 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
35458 __makecontext_ret.S.
35459
08f43f9b
AK
354602012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
35461
35462 * elf/elf.h (R_390_IRELATIVE): New definition.
35463 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
35464 resolver function for IFUNC symbols. Support R_390_IRELATIVE.
35465 (elf_machine_lazy_rel): Support R_390_IRELATIVE.
35466 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
35467 (elf_machine_lazy_rel): Likewise.
35468 * sysdeps/s390/dl-irel.h: New file.
35469 * sysdeps/s390/s390-64/memcpy.S: New asm code.
35470 * sysdeps/s390/s390-64/memset.S: New asm code.
35471 * sysdeps/s390/s390-64/memcmp.S: New asm code.
35472 * sysdeps/s390/s390-64/multiarch/memset.S: New file.
35473 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
35474 * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
35475 * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
35476 * sysdeps/s390/s390-64/multiarch/Makefile: New file.
35477 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
35478 * sysdeps/s390/s390-32/multiarch/Makefile: New file.
35479 * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
35480 * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
35481 * sysdeps/s390/s390-32/multiarch/memset.S: New file.
35482 * sysdeps/s390/s390-32/memcpy.S: New asm code.
35483 * sysdeps/s390/s390-32/memset.S: New asm code.
35484 * sysdeps/s390/s390-32/memcmp.S: New asm code.
35485
3b05db33
MP
354862012-07-17 Marek Polacek <polacek@redhat.com>
35487
35488 [BZ #14349]
35489 * sysdeps/s390/s390-32/configure.in: Remove TLS check.
35490 * sysdeps/s390/s390-64/configure.in: Likewise.
35491 * sysdeps/sparc/configure.in: Likewise.
35492 * sysdeps/powerpc/powerpc32/configure.in: Likewise.
35493 * sysdeps/powerpc/powerpc64/configure.in: Likewise.
35494 * sysdeps/i386/configure.in: Likewise.
35495 * sysdeps/x86_64/configure.in: Likewise.
35496 * sysdeps/sh/configure.in: Likewise.
35497 * sysdeps/s390/s390-32/configure: Regenerated.
35498 * sysdeps/s390/s390-64/configure: Likewise.
35499 * sysdeps/x86_64/configure: Likewise.
35500 * sysdeps/sh/configure: Likewise.
35501 * sysdeps/powerpc/powerpc64/configure: Likewise.
35502 * sysdeps/powerpc/powerpc32/configure: Likewise.
35503 * sysdeps/sparc/configure: Likwise.
35504 * sysdeps/i386/configure: Likewise.
35505
a66877c6
MP
35506 * elf/dl-open.c: Comment fixes.
35507
cfc82fd8
JM
355082012-07-17 Joseph Myers <joseph@codesourcery.com>
35509
bd29910a
JM
35510 * Makefile [CXX] (check-data): Remove.
35511 [CXX] (c++-types.data): New vpath directive.
35512 [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
35513 vpath. Do not allow for C++ type data being missing.
35514 * scripts/data/c++-types-alpha-linux-gnu.data: Move to
35515 ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
35516 * scripts/data/c++-types-ia64-linux-gnu.data: Move to
35517 ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
35518 * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
35519 * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
35520 * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
35521 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
35522 ... here.
35523 * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
35524 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
35525 ... here.
35526 * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
35527 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
35528 ... here.
35529 * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
35530 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
35531 ... here.
35532 * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
35533 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
35534 ... here.
35535 * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
35536 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
35537 ... here.
35538 * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
35539 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
35540 ... here.
35541 * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
35542 * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
35543
cfc82fd8
JM
35544 * elf/tls-macros.h (TLS_LE): Move architecture-specific
35545 definitions to architecture-specific files.
35546 (TLS_IE): Likewise.
35547 (TLS_LD): Likewise.
35548 (TLS_GD): Likewise.
35549 * sysdeps/i386/tls-macros.h: New file.
35550 * sysdeps/powerpc/tls-macros.h: Likewise.
35551 * sysdeps/s390/s390-32/tls-macros.h: Likewise.
35552 * sysdeps/s390/s390-64/tls-macros.h: Likewise.
35553 * sysdeps/sh/tls-macros.h: Likewise.
35554 * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
35555 * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
35556 * sysdeps/x86_64/tls-macros.h: Likewise.
35557
f7db3170
TS
355582012-07-17 Thomas Schwinge <thomas@codesourcery.com>
35559
07cbfc23
TS
35560 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
35561 zero value for regular exit case.
35562
f7db3170
TS
35563 * sysdeps/unix/sysv/linux/x86_64/__start_context.S
35564 (__start_context): Preserve zero value for regular exit case.
35565
dc97c227
TS
355662012-07-17 Thomas Schwinge <thomas@codesourcery.com>
35567 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
35568
35569 * manual/setjmp.texi (setcontext): Clarify normal process
35570 termination when uc_link is the null pointer.
35571 * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
35572 exit call.
35573
d0cd7d02
AS
355742012-07-16 Andreas Schwab <schwab@linux-m68k.org>
35575
35576 * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
35577 preprocessor. Test for each exception mask separately.
35578
dd318934
AJ
355792012-07-16 Andreas Jaeger <aj@suse.de>
35580
35581 * po/ru.po: Update from translation team.
35582
8048311a
JM
355832012-07-15 Joseph Myers <joseph@codesourcery.com>
35584
35585 * conform/data/string.h-data (NULL): Use macro-constant. Require
35586 equal to 0.
35587 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
35588 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
35589 (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
35590 (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
35591 [ISO || ISO99 || ISO11] (*_t): Do not allow.
35592
b637d46e
AJ
355932012-07-13 Andreas Jaeger <aj@suse.de>
35594
35595 * po/fr.po: Update from translation team.
35596
541428fe
MP
355972012-07-12 Marek Polacek <polacek@redhat.com>
35598
35599 [BZ #14173]
35600 * math/libm-test.inc (yn_test): Add test for BZ #14173.
35601 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
35602 loop condition.
35603
ec332e94
JM
356042012-07-12 Joseph Myers <joseph@codesourcery.com>
35605
35606 [BZ #13717]
35607 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
35608 Change to 2.4.1 where previously 2.4.0.
35609 * sysdeps/unix/sysv/linux/configure: Regenerated.
35610 * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
35611 (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
35612 version.
35613 [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
35614 (__ASSUME_AT_CLKTCK): Remove.
35615 (__ASSUME_AT_PAGESIZE): Likewise.
35616 (__ASSUME_AT_XID): Likewise.
35617 (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
35618 [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
35619 * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
35620 unconditionally.
35621 (HAVE_AUX_PAGESIZE): Likewise.
35622 * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
35623 [__ASSUME_AT_CLKTCK]: Make code unconditional.
35624 [!__ASSUME_AT_CLKTCK]: Remove conditional code.
35625
7b6e99be
JB
356262012-07-12 Jeroen van Bemmel <jvb127@gmail.com>
35627
35628 [BZ #14307]
35629 * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
35630 the temporary buffer used to invoke __gethostbyname2_r,
35631 __gethostbyaddr_r and gethostbyname4_r to make room for struct
35632 host_data / struct gaih_addrtuple.
35633 * resolv/nss_dns/dns-host.c (global scope): Move definition of
35634 implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
35635 header file nss/nsswitch.h.
35636 * nss/nsswitch.h (global scope): Add definition of implementation
35637 constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
35638 resolv/nss_dns/dns-host.c).
35639
608404eb
AJ
356402012-07-11 Andreas Jaeger <aj@suse.de>
35641
35642 * po/fr.po: Update from translation team.
35643
71220aca
AJ
35644 * po/sv.po: Update from translation team
35645 * po/fr.po: Another update from translation team.
35646
28cfe843
AZ
356472012-07-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
35648
35649 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
35650 for subnormals or multiply small sinh result by itself.
35651 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
35652 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
35653
6b90f981
DM
356542012-07-11 David S. Miller <davem@davemloft.net>
35655
35656 * sysdeps/sparc/fpu/libm-test-ulps: Update.
35657
c6825772
AS
356582012-07-10 Andreas Schwab <schwab@linux-m68k.org>
35659
35660 [BZ #14347]
35661 * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
35662 (INTERNAL_MARK): Shift it here.
35663
7b8e0d49
MP
356642012-07-10 Marek Polacek <polacek@redhat.com>
35665
35666 [BZ #14151]
35667 * configure.in (libc_cv_asm_global_directive): Remove test. Replace
35668 libc_cv_asm_global_directive with .globl.
35669 * configure: Regenerated.
35670 * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
35671 with .globl.
35672 * sysdeps/i386/configure: Regenerated.
35673 * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
35674 with .globl.
35675 * sysdeps/x86_64/configure: Regenerated.
35676 * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
35677 * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
35678 * elf/tst-unique2mod2.c: Likewise.
35679 * elf/tst-unique2mod1.c: Likewise.
35680 * elf/tst-unique1mod2.c: Likewise.
35681 * elf/tst-unique1mod1.c: Likewise.
35682 * sysdeps/s390/s390-32/sysdep.h: Likewise.
35683 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
35684 * sysdeps/s390/s390-64/sysdep.h: Likewise.
35685 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
35686 * sysdeps/mach/sysdep.h: Likewise.
35687 * sysdeps/i386/sysdep.h: Likewise.
35688 * sysdeps/i386/i386-mcount.S: Likewise.
35689 * sysdeps/x86_64/_mcount.S: Likewise.
35690 * sysdeps/x86_64/sysdep.h: Likewise.
35691 * sysdeps/sh/_mcount.S: Likewise.
35692 * sysdeps/sh/sysdep.h: Likewise.
35693 * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
35694 * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
35695 * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
35696 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
35697 * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
35698 * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
35699 * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
35700 * locale/localeinfo.h: Likewise.
35701 (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
35702 (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
35703
6c55cda3
RM
357042012-07-09 Roland McGrath <roland@hack.frob.com>
35705
35706 [BZ #14336]
35707 * manual/charset.texi (Extended Char Intro): Word use fix, "operating
35708 system".
35709 * manual/message.texi (The Uniforum approach): Likewise.
35710 * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
35711 (glibc iconv Implementation): Likewise.
35712
638a572e
JM
357132012-07-09 Joseph Myers <joseph@codesourcery.com>
35714
35715 [BZ #14337]
35716 * math/s_clog.c (__clog): Avoid scaling a value down where that
35717 could result in underflow.
35718 * math/s_clog10.c (__clog10): Likewise.
35719 * math/s_clog10f.c (__clog10f): Likewise.
35720 * math/s_clog10l.c (__clog10l): Likewise.
35721 * math/s_clogf.c (__clogf): Likewise.
35722 * math/s_clogl.c (__clogl): Likewise.
35723 * math/libm-test.inc (clog_test): Add more tests.
35724 (clog10_test): Likewise.
35725 * sysdeps/i386/fpu/libm-test-ulps: Update.
35726 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35727
261f4859
AS
357282012-07-06 Andreas Schwab <schwab@linux-m68k.org>
35729
0abaf3e4
AS
35730 [BZ #14283]
35731 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
35732 by 7 not 8 to examine high bit of fractional part.
35733
261f4859
AS
35734 [BZ #14042]
35735 * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
35736 for call to __mcount_internal.
35737 * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
35738 (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
35739 * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
35740
f17ac40d
JM
357412012-07-06 Joseph Myers <joseph@codesourcery.com>
35742
9ad63c23
JM
35743 [BZ #14154]
35744 * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
35745 approximation for values within 0x1p-13f of an odd multiple of
35746 pi/4.
35747 * math/libm-test.inc (tan_test): Do not allow spurious underflow
35748 exception. Add more tests.
35749 * sysdeps/i386/fpu/libm-test-ulps: Update.
35750
f17ac40d
JM
35751 [BZ #6778]
35752 * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
35753 inputs and return -1 for them. Do not check for +Inf in case not
35754 reachable for +Inf.
35755 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
35756 * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
35757 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
35758 and return -1 for them. Do not check for +Inf in case not
35759 reachable for +Inf.
35760 * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
35761 define.
35762 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
35763 and return -1 for them. Do not check for +Inf in case not
35764 reachable for +Inf.
35765 * math/libm-test.inc (expm1_test): Add more tests. Do not allow
35766 spurious underflow.
35767 * sysdeps/i386/fpu/libm-test-ulps: Update.
35768 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35769
fb21f89b
MF
357702012-07-06 Mike Frysinger <vapier@gentoo.org>
35771
35772 * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
35773
cdfe2c5e
JM
357742012-07-05 Joseph Myers <joseph@codesourcery.com>
35775
35776 [BZ #14157]
35777 [BZ #14331]
35778 * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
35779 could result in spurious underflow. Scale down values above
35780 DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
35781 * math/s_csqrtf.c (__csqrtf): Likewise.
35782 * math/s_csqrtl.c (__csqrtl): Likewise.
35783 * math/libm-test.inc (csqrt_test): Add more tests. Do not allow
35784 spurious underflow.
35785 * sysdeps/i386/fpu/libm-test-ulps: Update.
35786 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35787
70d35b67
AS
357882012-07-04 Andreas Schwab <schwab@linux-m68k.org>
35789
704bc459
AS
35790 * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
35791 xopen-msg.sed.
35792 * catgets/xopen-msg.awk: New file.
35793 * catgets/xopen-msg.sed: Removed.
35794
70d35b67
AS
35795 * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
35796 po2text.sed.
35797 * intl/po2test.awk: New file.
35798 * intl/po2test.sed: Removed.
35799
ca61cf32
JM
358002012-07-04 Joseph Myers <joseph@codesourcery.com>
35801
35802 [BZ #14328]
35803 * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
35804 or multiply small sinh result by itself.
35805 * math/s_ctanf.c (__ctanf): Likewise.
35806 * math/s_ctanh.c (__ctanh): Likewise.
35807 * math/s_ctanhf.c (__ctanhf): Likewise.
35808 * math/s_ctanhl.c (__ctanhl): Likewise.
35809 * math/s_ctanl.c (__ctanl): Likewise.
35810 * math/libm-test.inc (ctan_test_tonearest): New function.
35811 (ctan_test_towardzero): Likewise.
35812 (ctan_test_downward): Likewise.
35813 (ctan_test_upward): Likewise.
35814 (ctanh_test_tonearest): Likewise.
35815 (ctanh_test_towardzero): Likewise.
35816 (ctanh_test_downward): Likewise.
35817 (ctanh_test_upward): Likewise.
35818 (main): Call these new functions.
35819 * sysdeps/i386/fpu/libm-test-ulps: Update.
35820 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35821
ca48a46a
MF
358222012-07-03 Mike Frysinger <vapier@gentoo.org>
35823
35824 * .gitignore: Delete /ports entry.
35825
9d63d37d
AJ
358262012-07-03 Andreas Jaeger <aj@suse.de>
35827
35828 * po/bg.po: Update from translation team.
35829 * po/cs.po: Likewise.
35830 * po/de.po: Likewise.
35831 * po/hr.po: Likewise.
35832 * po/nl.pl: Likewise.
35833 * po/pl.po: Likewise.
35834 * po/vi.po: Likewise.
35835
370ca3d2
JM
358362012-07-03 Joseph Myers <joseph@codesourcery.com>
35837
95f5a9a8
JM
35838 * Makeconfig [!+link] (+link-before-libc): New variable.
35839 [!+link] (+link-after-libc): Likewise.
35840 [!+link] (+link-tests): Likewise.
35841 [!+link] (+link): Define in terms of $(+link-before-libc) and
35842 $(+link-after-libc).
35843 [!+link-static] (+link-static-before-libc): New variable.
35844 [!+link-static] (+link-static-after-libc): Likewise.
35845 [!+link-static] (+link-static-tests): Likewise.
35846 [!+link-static] (+link-static): Define in terms of
35847 $(+link-static-before-libc) and $(+link-static-after-libc).
35848 [build-shared] (link-libc-before-gnulib): New variable.
35849 [build-shared] (link-libc-tests): Likewise.
35850 [build-shared] (link-libc): Define in terms of
35851 $(link-libc-before-gnulib).
35852 [!build-shared] (link-libc-tests): New variable.
35853 (link-libc-static-tests): New variable.
35854 [!gnulib] (gnulib-arch): New variable.
35855 [!gnulib] (gnulib-tests): Likewise.
35856 [!gnulib] (static-gnulib-arch): Likewise.
35857 [!gnulib] (static-gnulib-tests): Likewise.
35858 [!gnulib] (gnulib): Use $(gnulib-arch). Do not use $(libgcc_eh).
35859 Define with "=" instead of ":=".
35860 [!gnulib] (static-gnulib): Use $(static-gnulib-arch). Do not use
35861 -lgcc_eh $(libunwind). Define with "=" instead of ":=".
35862 * Rules (binaries-all-notests): New variable.
35863 (binaries-all-tests): Likewise.
35864 (binaries-static-notests): Likewise.
35865 (binaries-static-tests): Likewise.
35866 (binaries-all): Define using $(binaries-all-notests) and
35867 $(binaries-all-tests).
35868 (binaries-static): Define using $(binaries-static-notests) and
35869 $(binaries-static-tests).
35870 (binaries-shared-tests): New variable.
35871 (binaries-shared-notests): Likewise.
35872 (binaries-shared): Remove variable.
35873 ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
35874 ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
35875 ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
35876 ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
35877 ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
35878 ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
35879 * elf/Makefile (sln-modules): New variable.
35880 (extra-objs): Add $(sln-modules:=.o).
35881 (ldconfig-modules): Add static-stubs.
35882 ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
35883 * elf/static-stubs.c: New file.
35884
7a845b2c
JM
35885 [BZ #14283]
35886 * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
35887 by 7 not 8 to examine high bit of fractional part. Use volatile
35888 variables when splitting into final array of floats if
35889 __FLT_EVAL_METHOD__ != 0.
35890 * math/libm-test.inc (cos_test): Add another test.
35891 (sin_test): Likewise.
35892 * sysdeps/i386/fpu/libm-test-ulps: Update.
35893
e2283f38
JM
35894 [BZ #14273]
35895 * math/libm-test.inc (cosh_test): Add more tests.
35896
370ca3d2
JM
35897 * version.h (RELEASE): Set to "development".
35898 (VERSION): Set to "2.16.90".
35899
ee9247c3
CD
359002012-06-30 Carlos O'Donell <carlos_odonell@mentor.com>
35901
35902 * NEWS: Update copyright. Remove last-updated date.
35903 Mention math library bug fixes and timezone data changes.
35904 * README: Mention GNU/Hurd, x32, and HPPA support status.
35905
4648c381
TS
359062012-06-28 Thomas Schwinge <thomas@codesourcery.com>
35907
35908 * manual/contrib.texi (Contributors): Sort alphabetically by last name.
35909
aac78a43
AJ
359102012-06-27 Andreas Jaeger <aj@suse.de>
35911
35912 * manual/contrib.texi (Contributors): Add Samuel Thibault.
35913
ed3dbfad
AJ
359142012-06-25 Andreas Jaeger <aj@suse.de>
35915
35916 * sysdeps/s390/fpu/libm-test-ulps: Update.
35917
4d0ee855
AS
359182012-06-23 Andreas Schwab <schwab@linux-m68k.org>
35919 Thomas Schwinge <thomas@codesourcery.com>
35920
35921 * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
35922 * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
35923 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
35924 fanotify_mark.
35925
af1bce34
TS
359262012-06-23 Thomas Schwinge <thomas@codesourcery.com>
35927
a9fa33ba
TS
35928 * sysdeps/mach/start.c: Remove file.
35929 * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
35930 * sysdeps/i386/init-first.c: Fix comment regarding start.S.
35931 * sysdeps/sh/init-first.c: Likewise.
35932
58f902b8
TS
35933 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
35934 registers for frame unwinding purposes, add CFI directives.
35935 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
35936 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise
35937 * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
35938 Likewise.
35939
1518f58b
TS
35940 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
35941 __fortify_fail returning.
35942 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
35943
db9b5059
TS
35944 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
35945 sysdeps/sh/____longjmp_chk.S.
35946 * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
35947 on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
35948 * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
35949 (gen-as-const-headers): Append sigaltstack-offsets.sym.
35950
967705fe
TS
35951 * sysdeps/sh/abort-instr.h: New file.
35952 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
35953 process in case exit returns.
35954
a9def8c4
TS
35955 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
35956 initialize the GOT register before use.
35957
2a649725
TS
35958 * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
35959 calculation of ARGC > 4.
35960
af1bce34
TS
35961 * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
35962 meaningful names to some local labels.
35963
d230f50a
KK
359642012-06-22 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
35965 Kaz Kojima <kkojima@rr.iij4u.or.jp>
35966
35967 * sysdeps/unix/sysv/linux/sh/bits/atomic.h
35968 (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
35969 (__arch_compare_and_exchange_val_16_acq): Likewise.
35970 (__arch_compare_and_exchange_val_32_acq): Likewise.
35971 (atomic_exchange_and_add): Fix gUSA sequence.
35972 (atomic_add): Likewise.
35973 (atomic_add_negative): Likewise.
35974 (atomic_add_zero): Likewise.
35975 (atomic_bit_test_set): Likewise.
35976
0479b305
AS
359772012-06-22 Andreas Schwab <schwab@redhat.com>
35978
35979 [BZ #13579]
35980 * include/link.h (struct link_map): Add l_free_initfini.
35981 * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
35982 l_initfini.
35983 * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
35984 * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
35985 * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
35986 set.
35987
0e3933b9
CD
359882012-06-22 Carlos O'Donell <carlos_odonell@mentor.com>
35989
35990 * configure.in: Use AC_LANG_SOURCE.
35991 * configure: Regenerate.
35992
4248b1b1
RM
359932012-06-22 Roland McGrath <roland@hack.frob.com>
35994
35995 * configure.in (libc_cv_localstatedir): New substituted variable.
35996 * configure: Regenerated.
35997 * config.make.in (localstatedir): New variable, substituted from
35998 libc_cv_localstatedir.
35999 * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
36000 * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
36001 ${prefix}/var to /var when we change ${prefix}/etc to /etc.
36002 * sysdeps/gnu/configure: Regenerated.
36003
006dd861
JL
360042012-06-21 Jeff Law <law@redhat.com>
36005
36006 [BZ #14277]
36007 * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
36008 free. Simplify list management for _LIBC case.
36009
79662d42
JM
360102012-06-21 Joseph Myers <joseph@codesourcery.com>
36011
b7abb4bf
JM
36012 [BZ #14273]
36013 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
36014 Clear sign bit of 64-bit integer value before comparing against
36015 overflow value.
36016
79662d42
JM
36017 * sysdeps/mach/configure: Regenerated.
36018
1f150908
L
360192012-06-21 H.J. Lu <hongjiu.lu@intel.com>
36020
36021 [BZ #14278]
36022 * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
36023
28363bbf
JL
360242012-06-21 Jeff Law <law@redhat.com>
36025
36026 [BZ #13882]
36027 * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection. Use
36028 uint16_t for elements in the "seen" array to avoid char overflows.
80784193 36029 * elf/dl-fini.c (_dl_sort_fini): Likewise.
28363bbf
JL
36030 * elf/dl-open.c (dl_open_worker): Likewise.
36031
09615db4
CD
360322012-06-21 Carlos O'Donell <carlos_odonell@mentor.com>
36033
36034 * scripts/list-sources.sh: Scan PORTS for translations.
36035 * po/libc.pot: Regenerated.
36036
2174c6dd
AJ
360372012-06-21 Andreas Jaeger <aj@suse.de>
36038
36039 [BZ #12194]
36040 * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
36041 warning.
36042 * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
36043 * bits/byteswap-16.h (__bswap_16): Likewise.
36044 * bits/byteswap.h (__bswap_constant_16): Likewise.
36045
3ee947b1
L
360462012-06-18 H.J. Lu <hongjiu.lu@intel.com>
36047
36048 [BZ #14117]
a2f34833
L
36049 * sysdeps/i386/fpu_control.h: Removed.
36050 * sysdeps/x86_64/fpu_control.h: Moved to ...
36051 * sysdeps/x86/fpu_control.h: Here.
36052
3ee947b1
L
36053 * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
36054 (_FPU_SETCW): Likewise.
36055
ed1825f8
L
360562012-06-15 H.J. Lu <hongjiu.lu@intel.com>
36057
25f1282a
L
36058 [BZ #14117]
36059 * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
36060 * sysdeps/x86/fpu/bits/mathinline.h: This.
36061 * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
36062
ed1825f8
L
36063 [BZ #14050]
36064 [BZ #14117]
36065 * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
36066 functions if __x86_64__ is defined.
36067
36d54b74
CLT
360682012-06-15 Chung-Lin Tang <cltang@codesourcery.com>
36069
36070 * string/endian.h: Add !__ASSEMBLER__ condition for including
36071 conversion interfaces.
36072
10285c21
JM
360732012-06-15 Joseph Myers <joseph@codesourcery.com>
36074
36075 [BZ #14241]
36076 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
36077 of ABS(x) in calculating zero to negative powers other than odd
36078 integers.
36079 * math/libm-test.inc (pow_test): Add more tests.
36080
06c5abbd
AJ
360812012-06-15 Andreas Jaeger <aj@suse.de>
36082
36083 * manual/contrib.texi (Contributors): Update entry of Liubov
36084 Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
36085 Machado Filho.
36086
a3aeac40
CH
360872012-06-15 Cyril Hrubis <metan@ucw.cz>
36088
36089 * string/string.h: Add __wur to GNU version of strerror_r.
36090
49bdf4c1
L
360912012-06-14 H.J. Lu <hongjiu.lu@intel.com>
36092
36093 [BZ #14229]
36094 * string/Makefile (tests): Add tst-strtok_r.
36095 * string/tst-strtok_r.c: New file.
36096 * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
36097 RAX_LP/RDX_LP on SAVE_PTR.
36098
834f9b8d
RM
360992012-06-14 Roland McGrath <roland@hack.frob.com>
36100
36101 * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
36102
75fa1921
JM
361032012-06-14 Joseph Myers <joseph@codesourcery.com>
36104
36105 * libm_test.inc (csqrt_test): Allow more spurious underflow
36106 exceptions.
36107 (j0_test): Likewise.
36108 (j1_test): Likewise.
36109 (y0_test): Likewise.
36110 (y1_test): Likewise.
36111
771766df
CD
361122012-06-13 Carlos O'Donell <carlos_odonell@mentor.com>
36113
36114 * po/Makefile (libc.pot): Use UTF-8 charset.
36115
ceb9e56b
PP
361162012-06-13 Paul Pluzhnikov <ppluzhnikov@google.com>
36117
36118 [BZ #14210]
36119 Suppress sign-conversion warning from FD_SET.
36120 See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
36121 * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
36122 not unsigned long int.
36123 * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
36124
ddb28975
L
361252012-06-12 H.J. Lu <hongjiu.lu@intel.com>
36126
36127 [BZ #14050]
36128 [BZ #14117]
36129 * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
36130 __extern_always_inline instead of __extern_inline.
36131 (__signbitf): Support __SSE2_MATH__ and C++ namespace.
36132 (__signbit): Likewise.
36133 (__signbitl): Support C++ namespace.
36134 (lrintf): New inline function.
36135 (lrint): Likewise.
36136 (llrintf): Likewise.
36137 (llrint): Likewise.
36138 (fmaxf): Likewise.
36139 (fmax): Likewise.
36140 (fminf): Likewise.
36141 (fmin): Likewise.
36142 (rint): Likewise.
36143 (rintf): Likewise.
36144 (ceil): Likewise.
36145 (ceilf): Likewise.
36146 (floor): Likewise.
36147 (floorf): Likewise.
36148 (nearbyint): Likewise.
36149 (nearbyintf): Likewise.
36150
d7b4fb26
TS
361512012-06-12 Thomas Schwinge <thomas@codesourcery.com>
36152
36153 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
36154 non-default versions.
36155
eb55f5c2
RM
361562012-06-11 Roland McGrath <roland@hack.frob.com>
36157
36158 [BZ #14218]
36159 * manual/argp.texi (Argp): Reword argp_parse description slightly.
36160
366af02c
TS
361612012-06-09 Thomas Schwinge <thomas@codesourcery.com>
36162
99ff6e5c
TS
36163 * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
36164 (FE_UPWARD, FE_DOWNWARD): Don't define.
36165 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
36166 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
36167
366af02c
TS
36168 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
36169 reading it.
36170 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
36171 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
36172
793ea851
KK
361732012-06-09 Kaz Kojima <kkojima@rr.iij4u.or.jp>
36174
36175 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
36176 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
36177 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
36178 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
36179
a728a38f
L
361802012-06-06 H.J. Lu <hongjiu.lu@intel.com>
36181
36182 [BZ #14117]
c08010c7
L
36183 * sysdeps/i386/fpu/bits/fenv.h: Removed.
36184 * sysdeps/i386/fpu/Implies: New file.
36185 * sysdeps/x86_64/fpu/Implies: Likewise.
36186 * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
36187 * sysdeps/x86/fpu/bits/fenv.h: This.
36188
a728a38f
L
36189 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
36190 __SSE_MATH__.
36191
6e230d11
SP
361922012-06-06 Siddhesh Poyarekar <siddhesh@redhat.com>
36193
36194 [BZ #14134]
36195 * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
36196 character 0xffff that matches the last element of the
36197 conversion table.
36198
1b671feb
AZ
361992012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
36200
36201 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
36202 fmodl commit.
36203
6043738b
AZ
362042012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
36205
36206 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
36207 values higher than 25.6283.
36208
34ae0b32
AZ
362092012-06-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
36210
36211 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
36212 subnormal exponent extraction and add some __builtin_expect.
36213 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
36214 Fix for subnormal mantissa calculation.
36215
1214ec8f
MF
362162012-06-04 Mike Frysinger <vapier@gentoo.org>
36217
36218 * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
36219 cpu2 is -1 and errno is not ENOSYS.
36220
f3d1f93c
L
362212012-06-04 H.J. Lu <hongjiu.lu@intel.com>
36222
36223 [BZ #14117]
0e4a3cd7
L
36224 * sysdeps/i386/i486/bits/string.h: Renamed to ...
36225 * sysdeps/x86/bits/string.h: This.
36226 * sysdeps/x86_64/bits/string.h: Removed.
36227
6704c645
L
36228 * sysdeps/i386/i486/bits/string.h: Define inline functions only
36229 if not compiling for x86-64, but compiling for >= i486.
36230
48495318
L
36231 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
36232 * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
36233
14adcbfc
L
36234 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
36235 New macro from Linux kernel 3.4.0.
36236 (FP_XSTATE_MAGIC2): Likewise.
36237 (FP_XSTATE_MAGIC2_SIZE): Likewise.
36238 (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
36239 (struct _fpx_sw_bytes): New struct.
36240 (struct _xsave_hdr): Likewise.
36241 (struct _ymmh_state): Likewise.
36242 (struct _xstate): Likewise.
36243
68e408ab
L
36244 * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
36245 * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
36246 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
36247 * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
36248 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
36249 * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
36250
f3d1f93c
L
36251 * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
36252 * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
36253 * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
36254 * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
36255 * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
36256 * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
36257
d9dc34cd
TMQMF
362582012-06-04 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
36259
36260 [BZ #13743]
36261 * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
36262 * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
36263 (sysdep_headers): Include sys/platform/ppc.h.
36264 * sysdeps/powerpc/test-gettimebase.c: Test for
36265 __ppc_get_timebase() to catch future ISA opcode/insn changes.
36266 * manual/Makefile (appendices): Include platform.texi.
36267 * manual/contrib.texi (Contributors): Update @node pointers.
36268 * manual/maint.texi (Maintenance): Likewise.
36269 (Platform): New node.
36270 * manual/platform.texi: New file. Document the new features.
36271
4af3879c
SP
362722012-06-04 Siddhesh Poyarekar <siddhesh@redhat.com>
36273 Jakub Jelinek <jakub@redhat.com>
36274
36275 [BZ #14188]
36276 * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
36277 where __builtin_expect is unavailable.
36278
2fd6ff13
DM
362792012-06-03 David S. Miller <davem@davemloft.net>
36280
36281 * stdlib/longlong.h: Updated from GCC.
36282
173f7220
AS
362832012-06-02 Andreas Schwab <schwab@linux-m68k.org>
36284
36285 [BZ #14042]
36286 * sysdeps/powerpc/powerpc32/mcount.c: New file.
36287 * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
36288 __mcount_internal.
36289 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
36290 (GLIBC_2.16): Likewise.
36291
f34a1c6f
L
362922012-06-01 H.J. Lu <hongjiu.lu@intel.com>
36293
36294 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
36295
88a4576f
JM
362962012-06-01 Joseph Myers <joseph@codesourcery.com>
36297
ea32bcdd
JM
36298 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
36299 (default-abi): New variable.
36300 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
36301 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
36302 variable.
36303 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
36304 Likewise.
36305 * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
36306 Likewise.
36307 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
36308 Likewise.
36309
88a4576f
JM
36310 * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
36311 definition. Document in comment.
36312
402fe938
DM
363132012-06-01 David S. Miller <davem@davemloft.net>
36314
36315 * stdlib/longlong.h: Updated from GCC.
36316
3553723f
L
363172012-06-01 H.J. Lu <hongjiu.lu@intel.com>
36318
36319 [BZ #14117]
3bd872c4
L
36320 * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
36321 Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
36322 sys/debugreg.h sys/io.h here.
36323 * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
36324 sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
36325 sys/io.h.
36326 * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
36327 Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
36328 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
36329 * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
36330 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
36331 * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
36332
3553723f
L
36333 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
36334 Define only if __x86_64__ is defined.
36335
4842e4fe
JM
363362012-06-01 Joseph Myers <joseph@codesourcery.com>
36337
c5bfe3d5
JM
36338 [BZ #14048]
36339 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
36340 Use int64_t for variable i.
36341 * math/libm-test.inc (fmod_test): Add more tests.
36342
4842e4fe
JM
36343 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
36344 z computation is not scheduled after fetestexcept.
36345 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
36346 Use math_force_eval instead of asm to ensure calculation scheduled
36347 before exception test.
36348 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
36349 Ensure a1 + u.d computation is not scheduled after fetestexcept.
36350
efb73488
AJ
363512012-06-01 Aurelien Jarno <aurelien@aurel32.net>
36352
36353 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
36354 computation is not scheduled after fetestexcept.
36355
29bcce7c
L
363562012-06-01 H.J. Lu <hongjiu.lu@intel.com>
36357
36358 [BZ #14117]
36359 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
36360 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
36361
73a68f94
AZ
363622012-06-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
36363
36364 * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
36365 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
36366
67b6df78
L
363672012-05-31 H.J. Lu <hongjiu.lu@intel.com>
36368
edf2933a 36369 [BZ #14117]
ebc64a18
L
36370 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
36371 <bits/wordsize.h>.
36372 (__WCHAR_MIN): Support __WORDSIZE == 64.
36373 (__WCHAR_MAX): Likewise.
36374
edf2933a
L
36375 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
36376 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
36377
57c6cf40
L
36378 [BZ #14183]
36379 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
36380 Defined with __SWORD_TYPE if __x86_64__ isn't defined.
36381
67b6df78 36382 [BZ #14117]
8eb6281e
L
36383 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
36384 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
36385
aac639f4
L
36386 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
36387 * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
36388
67b6df78
L
36389 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
36390 Defined to 1 if __x86_64__ isn't defined.
36391 (_STAT_VER_LINUX_OLD): New.
36392 (st_atime): Remove duplicate.
36393 (st_mtime): Likewise.
36394 (st_ctime): Likewise.
36395
1c2cfe81
DM
363962012-05-31 David S. Miller <davem@davemloft.net>
36397
36398 * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
36399 entries.
36400
5be8418c
AS
364012012-06-01 Andreas Schwab <schwab@linux-m68k.org>
36402
e7725326
AS
36403 * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
36404 gen-libm-test.pl.
36405
5be8418c
AS
36406 [BZ #14132]
36407 * elf/dl-reloc.c: Include <_itoa.h>.
36408 (_dl_reloc_bad_type): Remove use of INTUSE.
36409 * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
36410 * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
36411 * stdio-common/psiginfo.c (psiginfo): Likewise.
36412 * stdio-common/psignal.c (psignal): Likewise.
36413 * string/strsignal.c (strsignal): Likewise.
36414 * include/signal.h (_sys_siglist): Declare hidden proto.
36415 * stdio-common/itoa-digits.c: Include <_itoa.h>. Replace
36416 INTVARDEF with libc_hidden_data_def.
36417 * stdio-common/itoa-udigits.c: Likewise.
36418 * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
36419 (_itoa_lower_digits_internal): Remove declaration.
36420 (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
36421 * sysdeps/gnu/siglist.c (_sys_siglist_internal)
36422 (_sys_sigabbrev_internal): Remove aliases.
36423 (_sys_siglist): Define hidden alias.
36424
507352f1
MT
364252012-05-31 Markus Trippelsdorf <markus@trippelsdorf.de>
36426
36427 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
36428 bits/sysctl.h.
36429
42bbb1c3
L
364302012-05-31 H.J. Lu <hongjiu.lu@intel.com>
36431
36432 [BZ #14117]
6bd784b6
L
36433 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
36434 * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
36435
8bca20f0
L
36436 * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
36437 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
36438 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
36439 * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
36440 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
36441 * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
36442
f9e890a9
L
36443 * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
36444 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
36445 * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
36446
471101a1
L
36447 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
36448 with __addr.
36449 (insw): Likewise.
36450 (insl): Likewise.
36451 (outsb): Likewise.
36452 (outsw): Likewise.
36453 (outsl): Likewise.
36454
6451c862
L
36455 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
36456 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
36457 * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
36458
a254b8c9
L
36459 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
36460 * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
36461 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
36462 * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
36463 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
36464 * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
36465
b8dfdd92
L
36466 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
36467 * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
36468
578cd270
L
36469 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
36470 * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
36471
de662f5f
L
36472 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
36473 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
36474 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
36475
25653439
L
36476 * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
36477 * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
36478 to ...
36479 * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
36480
6bad24a0
L
36481 * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
36482 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
36483 * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
36484
42bbb1c3
L
36485 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
36486 for x86-64.
36487 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
36488
2d10d547
JM
364892012-05-31 Joseph Myers <joseph@codesourcery.com>
36490
36491 * math/math.h (M_El): Use two more decimal places.
36492 (M_LOG2El): Likewise.
36493 (M_LOG10El): Likewise.
36494 (M_LN2l): Likewise.
36495 (M_LN10l): Likewise.
36496 (M_PIl): Likewise.
36497 (M_PI_2l): Likewise.
36498 (M_PI_4l): Likewise.
36499 (M_1_PIl): Likewise.
36500 (M_2_PIl): Likewise.
36501 (M_2_SQRTPIl): Likewise.
36502 (M_SQRT2l): Likewise.
36503 (M_SQRT1_2l): Likewise.
36504
f230c29b
DM
365052012-05-31 David S. Miller <davem@davemloft.net>
36506
36507 * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
36508 values between float registers.
36509 * sysdeps/sparc/sparc64/memset.S: Likewise.
36510 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
36511
fed806c3
MF
365122012-05-31 Mike Frysinger <vapier@gentoo.org>
36513
36514 * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
36515 -D_FORTIFY_SOURCE=1.
36516 (CPPFLAGS-tst-longjmp_chk.c): Define.
36517 (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
36518 (CPPFLAGS-tst-longjmp_chk2.c): Define.
36519 * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
36520 CFLAGS-tst-wchar-h.c.
36521
30917259
MP
365222012-05-31 Marek Polacek <polacek@redhat.com>
36523
36524 [BZ #14132]
36525 * include/mntent.h (__setmntent_internal, __getmntent_r_internal
36526 __endmntent_internal): Remove declaration.
36527 (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
36528 (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
36529 * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
36530
1c58d5dc
DM
365312012-05-30 David S. Miller <davem@davemloft.net>
36532
36533 * sysdeps/sparc/sparc32/soft-fp/q_util.c
36534 (___Q_simulate_exceptions): Use real FP ops rather than writing
36535 into the %fsr.
36536 * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
36537 Likewise.
36538
7dc00e0d
L
365392012-05-30 H.J. Lu <hongjiu.lu@intel.com>
36540
36541 [BZ #14117]
0bd53985
L
36542 * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
36543 * sysdeps/x86/bits/xtitypes.h: This.
36544
3a257e66
L
36545 * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
36546 * sysdeps/x86/bits/wordsize.h: This.
36547
62f62904
L
36548 * sysdeps/i386/bits/huge_vall.h: Renamed to ...
36549 * sysdeps/x86/bits/huge_vall.h: This.
36550
404fe9d9
L
36551 * sysdeps/i386/bits/select.h: Removed.
36552 * sysdeps/x86_64/bits/select.h: Renamed to ...
36553 * sysdeps/x86/bits/select.h: This.
36554
d48d0446
L
36555 * sysdeps/i386/bits/setjmp.h: Removed.
36556 * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
36557 * sysdeps/x86/bits/setjmp.h: This.
36558
7dc00e0d
L
36559 * sysdeps/i386/bits/mathdef.h: Removed.
36560 * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
36561 * sysdeps/x86/bits/mathdef.h: This.
36562
03277f8f
AS
365632012-05-30 Andreas Schwab <schwab@linux-m68k.org>
36564
36565 [BZ #14132]
36566 * include/sys/socket.h (__connect_internal)
36567 (__libc_sa_len_internal): Remove declaration.
36568 (__connect, __libc_sa_len): Declare hidden_proto.
36569 (SA_LEN): Remove use of INTUSE.
36570 * socket/connect.c: Add libc_hidden_def.
36571 * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
36572 * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
36573 * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
36574 alias.
36575 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
36576 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
36577 * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
36578 of adding _internal alias.
36579
13764867
L
365802012-05-30 H.J. Lu <hongjiu.lu@intel.com>
36581
36582 [BZ #14117]
6bd97696
L
36583 * sysdeps/i386/bits/link.h: Removed.
36584 * sysdeps/i386/bits/linkmap.h: Likewise.
36585 * sysdeps/x86_64/bits/link.h: Renamed to ...
36586 * sysdeps/x86/bits/link.h: This.
36587 * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
36588 * sysdeps/x86/bits/linkmap.h: This.
36589
f726f0bb
L
36590 * sysdeps/i386/bits/endian.h: Removed.
36591 * sysdeps/x86_64/bits/endian.h: Renamed to ...
36592 * sysdeps/x86/bits/endian.h: This.
36593
13764867
L
36594 * sysdeps/i386/bits/byteswap.h: Removed.
36595 * sysdeps/i386/bits/byteswap-16.h: Likewise.
36596 * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
36597 * sysdeps/x86/bits/byteswap.h: This.
36598 * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
36599 * sysdeps/x86/bits/byteswap-16.h: This.
36600 * sysdeps/i386/Implies: Add x86.
36601 * sysdeps/x86_64/Implies: Likewise.
36602
ae251b0b
DM
366032012-05-30 David S. Miller <davem@davemloft.net>
36604
36605 * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
36606 (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
36607 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
36608 (FP_TRAPPING_EXCEPTIONS): Define.
36609 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
36610 (FP_TRAPPING_EXCEPTIONS): Define.
36611 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
36612 subnormals only when inexact has been signalled or underflow
36613 exceptions are enabled.
36614 (_FP_PACK_CANONICAL): Likewise.
36615
d5c90867
L
366162012-05-30 H.J. Lu <hongjiu.lu@intel.com>
36617
36618 [BZ #14183]
36619 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
36620 Defined with __UWORD_TYPE if __x86_64__ isn't defined.
36621
63f1549e
RH
366222012-05-30 Richard Henderson <rth@twiddle.net>
36623
8d8f2279
RH
36624 * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
36625 with #ifndef NOT_IN_libc.
36626
63f1549e
RH
36627 * scripts/abilist.awk: Accept 8 fields. Handle Alpha functions
36628 marked to avoid plt entry.
36629
0ab0291b
L
366302012-05-30 H.J. Lu <hongjiu.lu@intel.com>
36631
36632 [BZ #14112]
36633 * Makeconfig (default-abi): New macro.
36634 (abi-includes): Likewise.
36635 ($(common-objpfx)soversions.mk): Remove WORDSIZE check. Use
36636 $(abi-$(default-abi)-lib-soname) for soname if defined.
36637 ($(common-objpfx)gnu/lib-names.stmp): Generate from
36638 abi-variants.
36639 * Makefile (installed-stubs): Likewise.
36640 * include/stubs-biarch.h: Removed.
36641 * scripts/lib-names.awk: Only handle one library at a time.
36642 * scripts/soversions.awk: Remove WORDSIZE support.
36643 * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
36644 entries.
36645 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
36646 Removed.
36647 (syscall-list-default-condition): Likewise.
36648 (syscall-list-default-condition): Likewise.
36649 (syscall-list-includes): Likewise.
36650 ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
36651 syscall-list-* with abi-*. Handle undefined abi-variants.
36652 * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
36653 * sysdeps/unix/sysv/linux/i386/Implies: New file.
36654 * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
36655 * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
36656 * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
36657 * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
36658 Removed.
36659 (syscall-list-32-options): Likewise.
36660 (syscall-list-32-condition): Likewise.
36661 (syscall-list-64-options): Likewise.
36662 (syscall-list-64-condition): Likewise.
36663 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
36664 macro.
36665 * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
36666 Renamed to ...
36667 (abi-*): This.
36668 (abi-64-ld-soname): New macro.
36669 * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
36670 * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
36671 Renamed to ...
36672 (abi-*): This.
36673 * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
36674 * sysdeps/x86_64/x32/shlib-versions: Likewise.
36675
4da0431d
JM
366762012-05-30 Joseph Myers <joseph@codesourcery.com>
36677
3a85279c
JM
36678 * sysdeps/unix/sysv/linux/kernel-features.h
36679 (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
36680 * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
36681 include <kernel-features.h>.
36682 [!__NR_ftruncate64]: Remove conditional code.
36683 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
36684 [__NR_ftruncate64]: Make code unconditional.
36685 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
36686 * sysdeps/unix/sysv/linux/truncate64.c: Do not
36687 include <kernel-features.h>.
36688 [!__NR_ftruncate64]: Remove conditional code.
36689 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
36690 [__NR_ftruncate64]: Make code unconditional.
36691 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
36692 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
36693 include <kernel-features.h>.
36694 [!__NR_ftruncate64]: Remove conditional code.
36695 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
36696 [__NR_ftruncate64]: Make code unconditional.
36697 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
36698 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
36699 include <kernel-features.h>.
36700 [!__NR_ftruncate64]: Remove conditional code.
36701 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
36702 [__NR_ftruncate64]: Make code unconditional.
36703 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
36704
4da0431d
JM
36705 * configure.in (libc_cv_fpie): Weaken to a compile test using
36706 LIBC_TRY_CC_OPTION.
36707 * configure: Regenerated.
36708
11ef492c
AK
367092012-05-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
36710
36711 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
36712 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
36713 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
36714 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
36715 Refreshed.
36716 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
36717 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
36718 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
36719 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
36720 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
36721 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
36722 Refreshed.
36723
d66ef399
DM
367242012-05-27 David S. Miller <davem@davemloft.net>
36725
36726 * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
36727 (___Q_zero): New.
36728 (__Q_simulate_exceptions): Return void. Change to simulate
36729 exceptions by writing into the %fsr.
36730 * sysdeps/sparc/sparc64/soft-fp/qp_util.c
36731 (__Qp_handle_exceptions): Likewise.
36732 (numbers): Delete.
36733 * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
36734 __Qp_handle_exceptions.
36735 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
36736 __Qp_handle_exceptions.
36737 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
36738 as unused and give dummy FP_RND_NEAREST initializer.
36739 (FP_INHIBIT_RESULTS): Define.
36740 (___Q_simulate_exceptions): Update declaration.
36741 (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
36742 formatting.
36743 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
36744 as unused and give dummy FP_RND_NEAREST initializer.
36745 (__Qp_handle_exceptions): Update declaration.
36746 (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
36747 formatting.
36748
04fb54b5
TS
367492012-05-27 Thomas Schwinge <thomas@codesourcery.com>
36750
36751 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
36752 the temporary FPU control word.
36753 * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
36754 * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
36755 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
36756 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
36757 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
36758 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
36759 * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
36760 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
36761 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
36762 * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
36763 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
36764
3f99608f
KK
367652012-05-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
36766
36767 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
36768 fields.
36769
65a4de4e
CLT
367702012-05-27 Chung-Lin Tang <cltang@codesourcery.com>
36771
36772 * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
36773 * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
36774 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
36775 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
36776 Likewise.
36777 * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
36778 * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
36779 Likewise.
36780
15749d40
UD
367812012-05-27 Ulrich Drepper <drepper@gmail.com>
36782
36783 * po/h.po: Update from translation team.
36784
25dbcb27
AS
367852012-05-26 Andreas Schwab <schwab@linux-m68k.org>
36786
3d3f8e55
AS
36787 * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
36788
25dbcb27
AS
36789 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
36790 handling of denormals.
36791 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
36792 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
36793 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
36794 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
36795 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
36796 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
36797 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
36798 Likewise.
36799
7ad47a80 368002012-05-26 Marek Polacek <polacek@redhat.com>
d81dcb35
MP
36801
36802 [BZ #14152]
36803 * math/libm-test.inc (fma_test): Don't always expect underflow
36804 exception.
36805
9c6ea9fa
SP
368062012-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
36807
36808 [BZ #12416]
36809 * elf/tst-execstack.c: Include stackinfo.h.
36810 (do_test): Adjust test case to ensure that pthread_getattr_np
36811 behaviour remains the same after marking stack executable.
36812
a8239222
JM
368132012-05-25 Joseph Myers <joseph@codesourcery.com>
36814
36815 * sysdeps/unix/sysv/linux/kernel-features.h
36816 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
36817 * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
36818 kernel-features.h.
36819 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
36820 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
36821 * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
36822 kernel-features.h.
36823 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
36824 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
36825
918b5606
L
368262012-05-25 H.J. Lu <hongjiu.lu@intel.com>
36827
36828 * configure.in: Define the default includes to being none.
36829 * configure: Regenerated.
36830
3a097cc7
RM
368312012-05-25 Roland McGrath <roland@hack.frob.com>
36832
8422c9a5
RM
36833 * sysdeps/x86_64/__longjmp.S: Add a static probe here.
36834 * sysdeps/x86_64/setjmp.S: Likewise.
36835 * sysdeps/i386/bsd-setjmp.S: Likewise.
36836 * sysdeps/i386/bsd-_setjmp.S: Likewise.
36837 * sysdeps/i386/setjmp.S: Likewise.
36838 * sysdeps/i386/__longjmp.S: Likewise.
36839 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
36840 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
36841
3a097cc7
RM
36842 * include/stap-probe.h: New file.
36843 * configure.in: Handle --enable-systemtap.
36844 * configure: Regenerated.
36845 * config.h.in (USE_STAP_PROBE): New #undef.
36846 * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
36847 * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
36848 * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
36849
21708942
JM
368502012-05-25 Joseph Myers <joseph@codesourcery.com>
36851
36852 [BZ #13717]
36853 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
36854 to 2.4.0 where earlier.
36855 * sysdeps/unix/sysv/linux/configure: Regenerated.
36856 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
36857 <kernel-features.h>.
36858 [__ASSUME_32BITUIDS]: Make code unconditional.
36859 [!__ASSUME_32BITUIDS]: Remove conditional code.
36860 * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
36861 <kernel-features.h>.
36862 [__ASSUME_32BITUIDS]: Make code unconditional.
36863 [!__ASSUME_32BITUIDS]: Remove conditional code.
36864 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
36865 [__ASSUME_32BITUIDS]: Make code unconditional.
36866 (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
36867 * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
36868 <kernel-features.h>.
36869 [__ASSUME_32BITUIDS]: Make code unconditional.
36870 [!__ASSUME_32BITUIDS]: Remove conditional code.
36871 * sysdeps/unix/sysv/linux/i386/geteuid.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/getgid.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/getgroups.c: Do not include
36880 <kernel-features.h>.
36881 [__ASSUME_32BITUIDS]: Make code unconditional.
36882 [!__ASSUME_32BITUIDS]: Remove conditional code.
36883 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
36884 <kernel-features.h>.
36885 [__ASSUME_32BITUIDS]: Make code unconditional.
36886 [!__ASSUME_32BITUIDS]: Remove conditional code.
36887 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
36888 <kernel-features.h>.
36889 [__ASSUME_32BITUIDS]: Make code unconditional.
36890 [!__ASSUME_32BITUIDS]: Remove conditional code.
36891 * sysdeps/unix/sysv/linux/i386/getuid.c: Do not include
36892 <kernel-features.h>.
36893 [__ASSUME_32BITUIDS]: Make code unconditional.
36894 [!__ASSUME_32BITUIDS]: Remove conditional code.
36895 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
36896 <kernel-features.h>.
36897 [__ASSUME_32BITUIDS]: Make code unconditional.
36898 [!__ASSUME_32BITUIDS]: Remove conditional code.
36899 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
36900 <kernel-features.h>.
36901 [__ASSUME_32BITUIDS]: Make code unconditional.
36902 [!__ASSUME_32BITUIDS]: Remove conditional code.
36903 * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include
36904 <kernel-features.h>.
36905 [__ASSUME_32BITUIDS]: Make code unconditional.
36906 [!__ASSUME_32BITUIDS]: Remove conditional code.
36907 * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
36908 <kernel-features.h>.
36909 [__NR_setresgid] (__setresgid): Do not declare.
36910 [__ASSUME_32BITUIDS]: Make code unconditional.
36911 [!__ASSUME_32BITUIDS]: Remove conditional code.
36912 * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
36913 <kernel-features.h>.
36914 [__NR_setresuid] (__setresuid): Do not declare.
36915 [__ASSUME_32BITUIDS]: Make code unconditional.
36916 [!__ASSUME_32BITUIDS]: Remove conditional code.
36917 * sysdeps/unix/sysv/linux/i386/setfsgid.c: Do not include
36918 <kernel-features.h>.
36919 [__ASSUME_32BITUIDS]: Make code unconditional.
36920 [!__ASSUME_32BITUIDS]: Remove conditional code.
36921 * sysdeps/unix/sysv/linux/i386/setfsuid.c: Do not include
36922 <kernel-features.h>.
36923 [__ASSUME_32BITUIDS]: Make code unconditional.
36924 [!__ASSUME_32BITUIDS]: Remove conditional code.
36925 * sysdeps/unix/sysv/linux/i386/setgid.c: Do not include
36926 <kernel-features.h>.
36927 [__ASSUME_32BITUIDS]: Make code unconditional.
36928 [!__ASSUME_32BITUIDS]: Remove conditional code.
36929 * sysdeps/unix/sysv/linux/i386/setgroups.c: Do not include
36930 <kernel-features.h>.
36931 [__ASSUME_32BITUIDS]: Make code unconditional.
36932 [!__ASSUME_32BITUIDS]: Remove conditional code.
36933 * sysdeps/unix/sysv/linux/i386/setregid.c: Do not include
36934 <kernel-features.h>.
36935 [__ASSUME_32BITUIDS]: Make code unconditional.
36936 [!__ASSUME_32BITUIDS]: Remove conditional code.
36937 * sysdeps/unix/sysv/linux/i386/setresgid.c: Do not include
36938 <kernel-features.h>.
36939 [__ASSUME_32BITUIDS]: Make code unconditional.
36940 [!__ASSUME_32BITUIDS]: Remove conditional code.
36941 * sysdeps/unix/sysv/linux/i386/setresuid.c: Do not include
36942 <kernel-features.h>.
36943 [__ASSUME_32BITUIDS]: Make code unconditional.
36944 [!__ASSUME_32BITUIDS]: Remove conditional code.
36945 * sysdeps/unix/sysv/linux/i386/setreuid.c: Do not include
36946 <kernel-features.h>.
36947 [__ASSUME_32BITUIDS]: Make code unconditional.
36948 [!__ASSUME_32BITUIDS]: Remove conditional code.
36949 * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
36950 <kernel-features.h>.
36951 [__ASSUME_32BITUIDS]: Make code unconditional.
36952 [!__ASSUME_32BITUIDS]: Remove conditional code.
36953 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
36954 <kernel-features.h>.
36955 [__ASSUME_32BITUIDS]: Make code unconditional.
36956 [!__ASSUME_32BITUIDS]: Remove conditional code.
36957 * sysdeps/unix/sysv/linux/kernel-features.h
36958 (__ASSUME_SETRESUID_SYSCALL): Remove.
36959 (__ASSUME_SETRESGID_SYSCALL): Likewise.
36960 (__ASSUME_32BITUIDS): Likewise.
36961 (__ASSUME_LDT_WORKS): Likewise.
36962 (__ASSUME_O_DIRECTORY): Likewise.
36963 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
36964 architecture but not kernel version.
36965 (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
36966 (__ASSUME_MMAP2_SYSCALL): Likewise.
36967 (__ASSUME_STAT64_SYSCALL): Likewise.
36968 (__ASSUME_IPC64): Likewise.
36969 * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
36970 <kernel-features.h>.
36971 [__ASSUME_32BITUIDS]: Make code unconditional.
36972 [!__ASSUME_32BITUIDS]: Remove conditional code.
36973 * sysdeps/unix/sysv/linux/opendir.c: Do not include
36974 <kernel-features.h>.
36975 [__ASSUME_O_DIRECTORY]: Make code unconditional.
36976 * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
36977 132096]: Remove conditional code.
36978 [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
36979 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
36980 <kernel-features.h>.
36981 [__ASSUME_32BITUIDS]: Make code unconditional.
36982 [!__ASSUME_32BITUIDS]: Remove conditional code.
36983 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
36984 <kernel-features.h>.
36985 [__ASSUME_32BITUIDS]: Make code unconditional.
36986 [!__ASSUME_32BITUIDS]: Remove conditional code.
36987 * sysdeps/unix/sysv/linux/setegid.c: Do not include
36988 <kernel-features.h>.
36989 [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
36990 unconditional.
36991 (__setresgid): Do not declare.
36992 [__ASSUME_32BITUIDS]: Make code unconditional.
36993 [!__ASSUME_32BITUIDS]: Remove conditional code.
36994 * sysdeps/unix/sysv/linux/seteuid.c: Do not include
36995 <kernel-features.h>.
36996 [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
36997 unconditional.
36998 (__setresuid): Do not declare.
36999 [__ASSUME_32BITUIDS]: Make code unconditional.
37000 [!__ASSUME_32BITUIDS]: Remove conditional code.
37001 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
37002 <kernel-features.h>.
37003 [__ASSUME_32BITUIDS]: Make code unconditional.
37004 [!__ASSUME_32BITUIDS]: Remove conditional code.
37005 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
37006 <kernel-features.h>.
37007 [__ASSUME_32BITUIDS]: Make code unconditional.
37008 [!__ASSUME_32BITUIDS]: Remove conditional code.
37009
a386f1cc
RH
370102012-05-25 Richard Henderson <rth@twiddle.net>
37011
37012 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
37013 dl_hwcap to ifunc resolver.
37014 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
37015 elf_ifunc_invoke.
37016 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
37017 dl_hwcap to ifunc resolver.
37018 * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
37019
b6550497
JM
370202012-05-24 Joseph Myers <joseph@codesourcery.com>
37021
37022 [BZ #14153]
37023 * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
37024 for |x| <= 2**-26, not 2**-57.
37025 * math/libm-test.inc (acos_test): Do not allow spurious underflow
37026 exception.
37027
b0bc23a1
JL
370282012-05-24 Jeff Law <law@redhat.com>
37029
37030 * stdio-common/Makefile (tests): Add bug25.
37031 * stdio-common/bug25.c: New test.
37032
347c92e9
L
370332012-05-24 H.J. Lu <hongjiu.lu@intel.com>
37034
37035 [BZ #13576]
37036 * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
37037 multiple of MALLOC_ALIGNMENT in size.
37038 (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
37039
6bcc8b3f
JM
370402012-05-24 Joseph Myers <joseph@codesourcery.com>
37041
37042 * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
37043 Require >= 256.
37044 (FILENAME_MAX): Use macro-int-constant.
37045 (FOPEN_MAX): Use macro-int-constant. Require >= 8.
37046 (_IOFBF): Use macro-int-constant.
37047 (_IOLBF): Likewise.
37048 (_IONBF): Likewise.
37049 (SEEK_CUR): Likewise.
37050 (SEEK_END): Likewise.
37051 (SEEK_SET): Likewise.
37052 (TMP_MAX): Likewise.
37053 (EOF): Use macro-int-constant. Require < 0.
37054 (NULL): Use macro-constant. Require == 0.
37055 (stdin): Require type to be FILE *.
37056 (stdout): Likewise.
37057 (stderr): Likewise.
37058 * conform/data/stdlib.h-data (EXIT_FAILURE): Use
37059 macro-int-constant.
37060 (EXIT_SUCCESS): Likewise.
37061 (NULL): Use macro-constant. Require == 0.
37062 (RAND_MAX): Use macro-int-constant.
37063 [ISO99 || ISO11] (lldiv_t): Require also for these standards.
37064 [C99-based standards] (strtof): Require function.
37065 [C99-based standards] (strtold): Likewise.
37066 [C99-based standards] (strtoll): Likewise.
37067 [C99-based standards] (strtoull): Likewise.
37068 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
37069 [ISO || ISO99 || ISO11] (limits.h): Likewise.
37070 [ISO || ISO99 || ISO11] (math.h): Likewise.
37071 [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
37072 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
37073 [ISO || ISO99 || ISO11] (*_t): Do not allow.
37074
d18ea0c5
AS
370752012-05-24 Andreas Schwab <schwab@linux-m68k.org>
37076
37077 [BZ #14132]
56d25bb8
AS
37078 * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
37079 * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
37080 * intl/dgettext.c (DCGETTEXT): Likewise.
37081 * intl/gettext.c (DCGETTEXT): Likewise.
37082 * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
37083 * posix/regex_internal.h (gettext): Likewise.
37084 * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
37085 Remove declaration.
37086 * include/argz.h (__argz_count_internal)
37087 (__argz_stringify_internal): Remove declaration.
37088 (__argz_count, __argz_stringify): Declare hidden proto.
37089 * intl/dcgettext.c: Remove use of INTDEF.
37090 * string/argz-count.c: Replace INTDEF with libc_hidden_def.
37091 * string/argz-stringify.c: Likewise.
37092 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
37093 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
37094 Declare hidden proto.
d18ea0c5
AS
37095 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
37096 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
37097 Declare hidden proto.
37098 * include/stdio.h (__asprintf_internal): Don't declare.
37099 (__asprintf): Don't define as macro. Declare hidden proto.
37100 * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
37101 (__fsetlocking): Declare hidden proto.
37102 * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
37103 (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
37104 hidden proto.
37105 (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
37106 (_IO_setlinebuf): Remove use of INTUSE.
37107 (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
37108 (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
37109 (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
37110 Remove declaration.
37111 * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
37112 (_IO_do_flush): Remove use of INTUSE.
37113 (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
37114 (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
37115 (_IO_adjust_column, _IO_least_wmarker)
37116 (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
37117 (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
37118 (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
37119 (_IO_default_doallocate, _IO_wdefault_doallocate)
37120 (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
37121 (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
37122 (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
37123 (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
37124 (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
37125 (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
37126 (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
37127 (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
37128 (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
37129 (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
37130 (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
37131 (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
37132 (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
37133 proto.
37134 (_IO_flush_all_internal, _IO_adjust_column_internal)
37135 (_IO_default_uflow_internal, _IO_default_finish_internal)
37136 (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
37137 (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
37138 (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
37139 (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
37140 (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
37141 (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
37142 (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
37143 (_IO_file_xsgetn_internal, _IO_file_stat_internal)
37144 (_IO_file_close_internal, _IO_file_close_it_internal)
37145 (_IO_file_underflow_internal, _IO_file_overflow_internal)
37146 (_IO_file_init_internal, _IO_file_attach_internal)
37147 (_IO_file_fopen_internal, _IO_file_read_internal)
37148 (_IO_file_sync_internal, _IO_file_seek_internal)
37149 (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
37150 (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
37151 (_IO_str_underflow_internal, _IO_str_overflow_internal)
37152 (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
37153 (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
37154 (_IO_list_all_internal, _IO_link_in_internal)
37155 (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
37156 (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
37157 (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
37158 (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
37159 (_IO_do_write_internal, _IO_padn_internal)
37160 (_IO_getline_info_internal, _IO_getline_internal)
37161 (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
37162 (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
37163 (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
37164 (_IO_vfscanf_internal, _IO_vfprintf_internal)
37165 (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
37166 (_IO_init_internal, _IO_un_link_internal): Don't declare.
37167 * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
37168 with libc_hidden_ver, remove use of INTUSE.
37169 * libio/genops.c: Likewise.
37170 * libio/freopen.c: Likewise.
37171 * libio/freopen64.c: Likewise.
37172 * libio/iofclose.c: Likewise.
37173 * libio/iofdopen.c: Likewise.
37174 * libio/iofflush.c: Likewise.
37175 * libio/iofflush_u.c: Likewise.
37176 * libio/iofgets.c: Likewise.
37177 * libio/iofgets_u.c: Likewise.
37178 * libio/iofopen.c: Likewise.
37179 * libio/iofopncook.c: Likewise.
37180 * libio/iofread.c: Likewise.
37181 * libio/iofread_u.c: Likewise.
37182 * libio/ioftell.c: Likewise.
37183 * libio/iofwrite.c: Likewise.
37184 * libio/iogetline.c: Likewise.
37185 * libio/iogets.c: Likewise.
37186 * libio/iogetwline.c: Likewise.
37187 * libio/iopadn.c: Likewise.
37188 * libio/iopopen.c: Likewise.
37189 * libio/ioseekoff.c: Likewise.
37190 * libio/ioseekpos.c: Likewise.
37191 * libio/iosetbuffer.c: Likewise.
37192 * libio/iosetvbuf.c: Likewise.
37193 * libio/ioungetc.c: Likewise.
37194 * libio/ioungetwc.c: Likewise.
37195 * libio/iovdprintf.c: Likewise.
37196 * libio/iovsprintf.c: Likewise.
37197 * libio/iovsscanf.c: Likewise.
37198 * libio/memstream.c: Likewise.
37199 * libio/obprintf.c: Likewise.
37200 * libio/oldfileops.c: Likewise.
37201 * libio/oldiofclose.c: Likewise.
37202 * libio/oldiofdopen.c: Likewise.
37203 * libio/oldiofopen.c: Likewise.
37204 * libio/oldiopopen.c: Likewise.
37205 * libio/oldstdfiles.c: Likewise.
37206 * libio/putc.c: Likewise.
37207 * libio/setbuf.c: Likewise.
37208 * libio/setlinebuf.c: Likewise.
37209 * libio/stdfiles.c: Likewise.
37210 * libio/strops.c: Likewise.
37211 * libio/vasprintf.c: Likewise.
37212 * libio/vscanf.c: Likewise.
37213 * libio/vsnprintf.c: Likewise.
37214 * libio/vswprintf.c: Likewise.
37215 * libio/wfiledoalloc.c: Likewise.
37216 * libio/wfileops.c: Likewise.
37217 * libio/wgenops.c: Likewise.
37218 * libio/wmemstream.c: Likewise.
37219 * libio/wstrops.c: Likewise.
37220 * libio/__fpurge.c: Likewise.
37221 * libio/__fsetlocking.c: Likewise.
37222 * assert/assert.c: Likewise.
37223 * debug/fgets_chk.c: Likewise.
37224 * debug/fgets_u_chk.c: Likewise.
37225 * debug/fread_chk.c: Likewise.
37226 * debug/fread_u_chk.c: Likewise.
37227 * debug/gets_chk.c: Likewise.
37228 * debug/obprintf_chk.c: Likewise.
37229 * debug/vasprintf_chk.c: Likewise.
37230 * debug/vdprintf_chk.c: Likewise.
37231 * debug/vsnprintf_chk.c: Likewise.
37232 * debug/vsprintf_chk.c: Likewise.
37233 * malloc/mtrace.c: Likewise.
37234 * misc/error.c: Likewise.
37235 * misc/syslog.c: Likewise.
37236 * stdio-common/asprintf.c: Likewise.
37237 * stdio-common/fxprintf.c: Likewise.
37238 * stdio-common/getw.c: Likewise.
37239 * stdio-common/isoc99_fscanf.c: Likewise.
37240 * stdio-common/isoc99_scanf.c: Likewise.
37241 * stdio-common/isoc99_vfscanf.c: Likewise.
37242 * stdio-common/isoc99_vscanf.c: Likewise.
37243 * stdio-common/isoc99_vsscanf.c: Likewise.
37244 * stdio-common/printf-prs.c: Likewise.
37245 * stdio-common/printf_fp.c: Likewise.
37246 * stdio-common/printf_fphex.c: Likewise.
37247 * stdio-common/printf_size.c: Likewise.
37248 * stdio-common/putw.c: Likewise.
37249 * stdio-common/scanf.c: Likewise.
37250 * stdio-common/sprintf.c: Likewise.
37251 * stdio-common/tmpfile.c: Likewise.
37252 * stdio-common/vfprintf.c: Likewise.
37253 * stdio-common/vfscanf.c: Likewise.
37254 * stdlib/strfmon_l.c: Likewise.
37255 * sunrpc/openchild.c: Likewise.
37256 * sunrpc/xdr_stdio.c: Likewise.
37257 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
37258 * sysdeps/mach/hurd/tmpfile.c: Likewise.
37259
d6c33fda
RM
372602012-05-24 Roland McGrath <roland@hack.frob.com>
37261
c1487492
RM
37262 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
37263
37264 * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
37265 in the third column, to generate for the shared library an IFUNC
37266 that uses _dl_vdso_vsym.
37267 * Makerules (COMPILE.c, compile-stdin.c): New variables.
37268 * Makeconfig (object-suffixes-noshared): New variable.
37269
37270 * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
37271 (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
37272 (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
37273 (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
37274
d6c33fda
RM
37275 [BZ #14132]
37276 * include/sys/time.h (__gettimeofday): Remove macro.
37277 (__gettimeofday, gettimeofday): Add libc_hidden_proto.
37278 * time/gettimeofday.c (__gettimeofday): Remove #undef.
37279 Remove INTDEF.
37280 (__gettimeofday): Add libc_hidden_def.
37281 (gettimeofday): Add libc_hidden_weak.
37282 * sysdeps/mach/gettimeofday.c: Likewise.
37283 * sysdeps/posix/gettimeofday.c: Likewise.
37284 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
37285 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
37286 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
37287 (__gettimeofday_internal): Remove strong_alias.
37288 (__gettimeofday): Add libc_hidden_def.
37289 (gettimeofday): Add libc_hidden_weak.
37290 * sysdeps/unix/syscalls.list (gettimeofday):
37291 Remove __gettimeofday_internal alias.
37292
b5a2bbe6
L
372932012-05-24 Daniel Jacobowitz <drow@false.org>
37294 H.J. Lu <hongjiu.lu@intel.com>
37295
37296 [BZ #12495]
37297 * malloc/malloc.c (SMALLBIN_CORRECTION): New.
37298 (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
37299 (largebin_index_32_big): New.
37300 (largebin_index): Use it for 16-byte alignment.
37301 (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ. Don't update
37302 correction with front_misalign.
37303
cfba4fda
L
373042012-05-24 H.J. Lu <hongjiu.lu@intel.com>
37305
7f907421
L
37306 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
37307 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
37308 Likewise.
37309 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
37310 Likewise.
37311 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
37312 Likewise.
37313 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
37314 Likewise.
37315 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
37316 Likewise.
37317 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
37318 Likewise.
37319 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
37320 Likewise.
37321 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
37322 Likewise.
37323 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
37324 Likewise.
37325 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
37326 Likewise.
37327 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
37328 Likewise.
37329 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
37330 Likewise.
37331
cfba4fda
L
37332 * scripts/data/c++-types-x32-linux-gnu.data: New file.
37333 * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
37334
80bad0cc
JM
373352012-05-24 Joseph Myers <joseph@codesourcery.com>
37336
7a25eb06
JM
37337 [BZ #10846]
37338 [BZ #14036]
37339 * math/libm-test.inc (exp_test): Add test from bug 14036.
37340 (pow_test): Add test from bug 10846.
37341
795405f9
JM
37342 * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
37343 and other flags.
37344 (special_function): Do not include flags in test name.
37345 (parse_args): Likewise.
37346 * sysdeps/i386/fpu/libm-test-ulps: Update.
37347 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
37348 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
37349 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
37350 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37351
80bad0cc
JM
37352 * math/gen-libm-test.pl (%beautify): Add entries for underflow
37353 exceptions.
37354 * math/libm-test.inc ("Philosophy"): Update comment about
37355 exception testing.
37356 (UNDERFLOW_EXCEPTION): New macro.
37357 (UNDERFLOW_EXCEPTION_OK): Likewise.
37358 (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
37359 (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
37360 (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
37361 (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
37362 (INVALID_EXCEPTION_OK): Update value.
37363 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
37364 (OVERFLOW_EXCEPTION_OK): Likewise.
37365 (IGNORE_ZERO_INF_SIGN): Likewise.
37366 (test_exceptions): Handle underflow exceptions.
37367 (acos_test): Update for underflow exception expectations.
37368 (cexp_test): Likewise.
37369 (clog_test): Likewise.
37370 (clog10_test): Likewise.
37371 (csqrt_test): Likewise.
37372 (ctan_test): Likewise.
37373 (ctanh_test): Likewise.
37374 (exp_test): Likewise.
37375 (exp10_test): Likewise.
37376 (exp2_test): Likewise.
37377 (expm1_test): Likewise.
37378 (fma_test): Likewise.
37379 (j0_test): Likewise.
37380 (jn_test): Likewise.
37381 (nexttoward_test): Likewise.
37382 (pow_test): Likewise.
37383 (scalbn_test): Likewise.
37384 (scalbln_test): Likewise.
37385 (tan_test): Likewise.
37386 (y1_test): Likewise.
37387 * sysdeps/i386/fpu/libm-test-ulps: Update.
37388 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37389
9e0e3d0b
DM
373902012-05-23 David S. Miller <davem@davemloft.net>
37391
37392 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
37393 (__libc_sigaction): Remove unused local variables.
37394
ccd0a08f
L
373952012-05-23 H.J. Lu <hongjiu.lu@intel.com>
37396
37397 * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
37398
62bdf9a6
PE
373992012-05-23 Paul Eggert <eggert@cs.ucla.edu>
37400
f8591f80
PE
37401 mktime: avoid signed integer overflow
37402 * time/mktime.c (__mktime_internal): Do not mishandle the case
37403 where diff == INT_MIN.
37404
94c7d826
PE
37405 mktime: simplify computation of average
37406 * time/mktime.c (ranged_convert): Use new time_t_avg function
37407 instead of rolling our own (probably-slower) code.
37408
ce73d683
PE
37409 mktime: do not assume signed right shift propagates sign bit
37410 * time/mktime.c (isdst_differ): New static function.
37411 (__mktime_internal): No need to normalize tm_isdst now.
37412 (__mktime_internal, not_equal_tm): Use isdst_differ to compare
37413 tm_isdst values.
37414
72a22e59
PE
37415 mktime: merge another wrapv change from gnulib
37416 * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
37417 from some compilers.
37418
68605433
PE
37419 mktime: remove incorrect attempt at unusual arithmetics
37420 * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
37421 The code didn't really work on such machines anyway.
37422 (TYPE_MINIMUM): Assume two's complement.
37423 (twos_complement_arithmetic): Verify that long_int and time_t
37424 are two's complement (or unsigned, in the latter case).
37425
03cf7fe3
PE
37426 mktime: check signed shifts on long_int and time_t, too
37427 * time/mktime.c (SHR): Check that shifts work as desired
37428 on the types long_int and time_t too, as SHR is used on
37429 such types.
37430
f04dfbc2
PE
37431 mktime: do not assume 'long' is wide enough
37432 * time/mktime.c (verify): Move decl up.
37433 (long_int): New type.
37434 (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
37435 to remove assumption in the code that 'long' is wide enough to
37436 store year values. This assumption is not true on x32 and on
37437 some non-glibc platforms.
37438
62bdf9a6
PE
37439 mktime: merge wrapv change from gnulib
37440 * time/mktime.c (WRAPV): New macro.
37441 (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
37442 (guess_time_tm, __mktime_internal): Do not assume that signed
37443 integer overflow wraps around; modern compilers generate code
37444 where this assumption is no longer valid.
37445
5e292e4f
L
374462012-05-23 H.J. Lu <hongjiu.lu@intel.com>
37447
37448 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
37449 Replace "jmp L(pseudo_end)" with "ret".
37450 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
37451 Likewise.
37452
8caf8c87
AJ
374532012-05-23 Andreas Jaeger <aj@suse.de>
37454
37455 * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
37456 * sysdeps/unix/sysv/linux/poll.c: Remove file.
37457
1a09dc56
AJ
374582012-05-23 Andreas Jaeger <aj@suse.de>
37459 Maximilian Attems <max@stro.at>
37460
37461 * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
37462 New macros.
37463
1c87aba0
L
374642012-05-23 H.J. Lu <hongjiu.lu@intel.com>
37465
37466 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
37467 code so that pseudo_end is just ret and the stack pointer is
37468 correct also for static library in error case.
37469
40e45bd5
JM
374702012-05-23 Joseph Myers <joseph@codesourcery.com>
37471
c2670533
JM
37472 * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
37473 move to syscalls.list.
37474 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
37475 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
37476 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
37477 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
37478
40e45bd5
JM
37479 * manual/install.texi (Running make install): Do not mention Linux
37480 kernel version for which pt_chown is not needed.
37481 (Linux): Do not mention problems with nscd with 2.0 kernels.
37482 * INSTALL: Regenerated.
37483
be08eda5
AJ
374842012-05-23 Andreas Jaeger <aj@suse.de>
37485
37486 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
37487 (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
37488 macro.
37489 * sysdeps/unix/sysv/linux/s390/bits/mman.h
37490 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
37491 * sysdeps/unix/sysv/linux/sh/bits/mman.h
37492 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
37493 * sysdeps/unix/sysv/linux/i386/bits/mman.h
37494 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
37495 * sysdeps/unix/sysv/linux/sparc/bits/mman.h
37496 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
37497 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
37498 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
37499 * sysdeps/unix/sysv/linux/bits/in.h
37500 (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
37501
a6a056bb
RM
375022012-05-22 Roland McGrath <roland@hack.frob.com>
37503
37504 * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
37505 (PREPARE_VERSION): Just use assert instead, it will be elided
37506 under [NDEBUG] anyway.
37507
c9009328
L
375082012-05-22 H.J. Lu <hongjiu.lu@intel.com>
37509
37510 * sysdeps/unix/sysv/linux/Makefile: Include
37511 $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
cb191f23 37512 (sysdep_routines): Remove sysctl.
c9009328
L
37513 * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
37514 * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
37515 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
37516 * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
37517 * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
37518
73338355
AJ
375192012-05-22 Andreas Jaeger <aj@suse.de>
37520
37521 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
37522 that pseudo_end is just ret and the stack pointer is correct also
37523 for static library in error case.
37524
d44638b0
PP
375252012-05-22 Paul Pluzhnikov <ppluzhnikov@google.com>
37526
37527 [BZ #14122]
37528 * nss/nsswitch.c (defconfig_entries): New variable.
37529 (__nss_database_lookup): Don't leak defconfig entries.
37530 (nss_parse_service_list): Don't leak on error paths.
37531 (free_database_entries): New function.
37532 (free_defconfig): New function.
37533 (free_mem): Move common code to free_database_entries.
37534
31a39bd8
L
375352012-05-22 H.J. Lu <hongjiu.lu@intel.com>
37536
da0331a8
L
37537 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
37538 Add arch_prctl.
37539 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
37540
31a39bd8
L
37541 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
37542 (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
37543 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
37544 New macro.
37545 (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
37546 (INTERNAL_SYSCALL_TYPES): Likewise.
37547 (LOAD_ARGS_TYPES_[1-6]): Likewise.
37548 (LOAD_REGS_TYPES_[1-6]): Likewise.
37549 (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
37550 (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
37551
45470df3
AZ
375522012-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
37553
37554 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
37555 copysignl for GLIBC_2_0.
37556 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
37557 finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
37558 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
37559 logbl for GLIBC_2_0.
37560 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
37561 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
37562
98a61bcb
L
375632012-05-22 H.J. Lu <hongjiu.lu@intel.com>
37564
a4f6e481
L
37565 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
37566 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
37567
f63d5db6
L
37568 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
37569 Use "neg %eax".
37570
98a61bcb
L
37571 * time/mktime.c: Update copyright years.
37572
95770f14
PE
375732012-05-22 Paul Eggert <eggert@cs.ucla.edu>
37574
6226efbd
PE
37575 mktime: merge comment-quoting-style change from gnulib
37576 * time/mktime.c: Quote 'like this' in comments.
37577 The GNU coding standards suggest that we no longer quote `like this',
37578 as "`" and "'" are typically rendered asymmetrically nowadays.
37579 The typical gnulib style is to quote 'like this' when quoting
37580 code, and "like this" when quoting English.
37581
b99e4f78
PE
37582 * time/mktime.c (compile-command): Add "-I.".
37583
643e01e6
PE
37584 mktime: merge mktime-internal.h change from gnulib
37585 * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
37586
2554247d
PE
37587 mktime: merge time_r change from gnulib
37588 * time/mktime.c [!_LIBC]: Do not include "time_r.h".
37589
826dd0ab
PE
37590 mktime: merge DEBUG change from gnulib
37591 * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
37592 case system <time.h> has a #define.
37593
bd83aabe
PE
37594 mktime: merge <sys/types.h> change from gnulib
37595 * time/mktime.c: Do not include <sys/types.h>; no longer needed,
37596 since <time.t> is now guaranteed to define time_t.
37597
95770f14
PE
37598 mktime: merge HAVE_CONFIG_H change from gnulib
37599 * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
37600
5e1a27a9
L
376012012-05-22 H.J. Lu <hongjiu.lu@intel.com>
37602
0e44a77e
L
37603 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
37604 Use "neg %eax".
37605
5e1a27a9
L
37606 * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
37607 __rlim_t cast.
37608 (struct rusage): Use anonymous union to pad each field to
37609 __syscall_slong_t.
37610
46259bec
DM
376112012-05-21 David S. Miller <davem@davemloft.net>
37612
37613 * Makefules (o-iterator): Remove .s cases.
37614 (compile-command.s): Delete.
37615 (COMPILE.s): Delete.
37616 * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
37617
59f0c22e
JM
376182012-05-21 Joseph Myers <joseph@codesourcery.com>
37619
37620 * configure.in (libc_cv_predef_stack_protector): Only consider
37621 "foobar" and "__stack_chk_fail" lines in libc_undefs.
37622 * configure: Regenerated.
37623
20c07380
L
376242012-05-21 H.J. Lu <hongjiu.lu@intel.com>
37625
bbb3154b
L
37626 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
37627 New macro. Use R*LP on int and pointer.
37628 (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
c5b3a2c0
L
37629 * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
37630 * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
bbb3154b
L
37631 * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
37632
20c07380
L
37633 * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
37634 [__WORDSIZE_TIME64_COMPAT32] instead of
37635 [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
37636 (struct utmp): Likewise.
37637 * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
37638 * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
37639 Renamed to ...
37640 (__WORDSIZE_TIME64_COMPAT32): This.
37641 * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
37642 * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
37643 * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
37644 * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
37645 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
37646 (__WORDSIZE_TIME64_COMPAT32): New macro.
37647
d8d1017e
AJ
376482012-05-21 Andreas Jaeger <aj@suse.de>
37649
37650 * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
37651 only if [SHARED]. Add prototype for __wcschr_ia32.
37652
6c7fb145
RM
376532012-05-21 Roland McGrath <roland@hack.frob.com>
37654
37655 * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
37656 of %rbp unmolested in the jmp_buf while mangling the low bits.
37657 * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
37658 unmolested high bits of %rbp while demangling the low bits.
37659 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
37660
66274218
AJ
376612012-05-21 Andreas Jaeger <aj@suse.de>
37662
07c58f8f
AJ
37663 * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
37664 * sunrpc/svc_simple.c: Use it for registerrpc.
37665 * sunrpc/xcrypt.c: Use it for passwd2des.
37666
66274218
AJ
37667 * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
37668
61f65140
L
376692012-05-21 H.J. Lu <hongjiu.lu@intel.com>
37670
37671 * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
37672 Don't define if [__SYSCALL_WORDSIZE != 32].
37673 * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
37674 New macro.
37675
5fefb436
AJ
376762012-05-21 Bruno Haible <bruno@clisp.org>
37677 Andreas Jaeger <aj@suse.de>
37678
37679 [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
37680 * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
37681 inptr and inend for must_buffer_ch.
37682 * wcsmbs/tst-mbsnrtowcs.c: Remove file.
37683 * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
37684 * stdio-common/Makefile (tests): Remove bug15.
37685 (bug15-ENV): Remove macro.
37686 * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
37687 anymore.
37688
d8e272ab
AJ
376892012-05-19 Andreas Jaeger <aj@suse.de>
37690 Roland McGrath <roland@hack.frob.com>
37691
37692 * manual/contrib.texi: Completely rewritten. It contains now an
37693 alphabetical list of contributors and their contributions.
37694
4a56a162
RH
376952012-05-21 Richard Henderson <rth@twiddle.net>
37696
37697 * misc/getauxval.c (__getauxval): Use unsigned long int.
37698 * misc/sys/auxv.h: Include <sys/cdefs.h>.
37699 (getauxval): Use unsigned long int.
37700
d024d23c
L
377012012-05-21 H.J. Lu <hongjiu.lu@intel.com>
37702
37703 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
37704
cbc00a03
RM
377052012-05-21 Roland McGrath <roland@hack.frob.com>
37706
37707 * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
37708 (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
37709 __alignof__ (long double).
37710
478143fa
AZ
377112012-05-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
37712
37713 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
37714
c7683a6d
RH
377152012-05-20 Richard Henderson <rth@twiddle.net>
37716
37717 * misc/getauxval.c: New file.
37718 * misc/sys/auxv.h: New file.
37719 * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
37720 (routines): Add getauxval.
37721 * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
37722 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
37723 * elf/dl-sysdep.c (_dl_auxv): Remove.
37724 (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
37725 * elf/dl-support.c (_dl_auxv): New variable.
37726 (_dl_aux_init): Initialize it.
37727 * manual/startup.texi (Auxiliary Vector): New node.
37728 * sysdeps/generic/bits/hwcap.h: New file.
37729 * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
37730 * sysdeps/powerpc/sysdep.h: ... here. Include it.
37731 * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
37732 * sysdeps/sparc/sysdep.h: ... here. Include it.
37733 * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
37734 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
cbc00a03
RM
37735 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
37736 Update.
c7683a6d
RH
37737 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
37738 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
37739 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
37740 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
37741 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
37742 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
37743 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
37744 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
37745
a6f1845d
AZ
377462012-05-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
37747
37748 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
37749
cbcbe830
DM
377502012-05-19 David S. Miller <davem@davemloft.net>
37751
37752 * sysdeps/sparc/fpu/libm-test-ulps: Update.
37753
e0b16cc2
JM
377542012-05-19 Joseph Myers <joseph@codesourcery.com>
37755
37756 [BZ #14123]
37757 * math/s_ccosh.c: Include <float.h>
37758 (__ccosh): Avoid internal overflow calculating sinh and cosh
37759 values before multiplying by sin and cos values.
37760 * math/s_ccoshf.c: Likewise.
37761 * math/s_ccoshl.c: Likewise.
37762 * math/s_csin.c: Likewise.
37763 * math/s_csinf.c: Likewise.
37764 * math/s_csinl.c: Likewise.
37765 * math/s_csinh.c: Likewise.
37766 * math/s_csinhf.c: Likewise.
37767 * math/s_csinhl.c: Likewise.
37768 * math/libm-test.inc (ccos_test): Add more tests.
37769 (ccosh_test): Likewise.
37770 (csin_test): Likewise.
37771 (csinh_test): Likewise.
37772 * sysdeps/i386/fpu/libm-test-ulps: Update.
37773 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37774
6ad13e08
L
377752012-05-19 H.J. Lu <hongjiu.lu@intel.com>
37776
f66f0ce8
L
37777 * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
37778 * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
37779
6ad13e08
L
37780 * sysdeps/x86_64/x32/_itoa.h: Add comment.
37781
b1d072a7
JM
377822012-05-19 Joseph Myers <joseph@codesourcery.com>
37783
37784 * sysdeps/powerpc/soft-fp/Makefile: Remove file.
37785 * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
37786 * sysdeps/powerpc/soft-fp/Versions: Likewise.
37787 * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
37788 * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
37789 * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
37790 * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
37791 * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
37792 * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
37793 * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
37794 * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
37795 * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
37796 * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
37797 * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
37798 * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
37799 * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
37800 * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
37801 * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
37802 * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
37803 * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
37804 * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
37805 * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
37806 * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
37807 * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
37808 * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
37809 * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
37810 * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
37811 * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
37812 * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
37813 * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
37814 * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
37815
9eae47cb
AJ
378162012-05-18 Andreas Jaeger <aj@suse.de>
37817
37818 * csu/.gitignore: Delete.
37819
bb07f69f
L
378202012-05-18 H.J. Lu <hongjiu.lu@intel.com>
37821
37822 * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
37823 (timex): Use __syscall_slong_t.
37824
e6bdb741
AJ
378252012-05-18 Andreas Jaeger <aj@suse.de>
37826 Carlos O'Donell <carlos_odonell@mentor.com>
37827
37828 * manual/install.texi (Configuring and compiling): Update
37829 description about files modified in the source directory.
d6c33fda 37830 * INSTALL: Regenerated.
e6bdb741 37831
1b74487e
L
378322012-05-18 H.J. Lu <hongjiu.lu@intel.com>
37833
37834 * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
37835 value. Use "or" to set return value to -1.
37836 * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
37837 negate return value.
37838
a88b64b9
TMQMF
378392012-05-18 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
37840
57f41c40
AS
37841 * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c)
37842 (CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
a88b64b9
TMQMF
37843 failure if the compiler has Graphite support disabled.
37844 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
37845 Likewise.
57f41c40
AS
37846 * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c)
37847 (CFLAGS-memmove.c): Likewise.
a88b64b9
TMQMF
37848 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
37849 Likewise.
37850
3707636e
L
378512012-05-18 H.J. Lu <hongjiu.lu@intel.com>
37852
610b8622
L
37853 * sysdeps/x86_64/x32/_itoa.h: New file.
37854
7cd195df
L
37855 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
37856 getdents system call only if kernel and user dirents have the
37857 same d_ino and d_off.
37858
94b07d20
L
37859 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
37860 LLONG_MAX != LONG_MAX.
37861 (_itoa_word): Use _ITOA_WORD_TYPE on value.
37862 (_fitoa_word): Likewise.
37863
18298070
L
37864 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
37865 years.
37866 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
37867 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
37868 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
37869
553c7ea4
L
37870 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
37871 include <bits/wordsize.h>. Check __x86_64__ instead of
37872 __WORDSIZE.
37873 (sigcontext): Use "__uint64_t" instead of "unsigned long int"
37874 if __x86_64__ is defined. Use anonymous union on fpstate.
37875
3707636e
L
37876 * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
37877 anonymous union.
37878
b53ef01a
AS
378792012-05-18 Andreas Schwab <schwab@linux-m68k.org>
37880
37fb1dc0
AS
37881 * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
37882 INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
37883 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
37884 Refer to _rtld_local_ro instead of _rtld_global_ro.
37885 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
37886 Likewise.
37887 * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
37888 Likewise.
37889 * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
37890 Likewise.
37891 * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
37892 * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
37893 of _rtld_global, and rtld_progname instead of _dl_argv[0].
37894
b53ef01a
AS
37895 * sysdeps/powerpc/powerpc32/dl-machine.c
37896 (__elf_machine_runtime_setup) [PROF]: Don't reference
37897 _dl_prof_resolve.
37898
7a185db2
AJ
378992012-05-18 Andreas Jaeger <aj@suse.de>
37900
37901 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
37902 function only available for GCCs before 3.4 since GCC 3.4
37903 introduced a builtin.
37904 (lrint): Likewise.
37905 (llrintf): Likewise.
37906 (llrint): Likewise.
37907 (fmaxf): Likewise.
37908 (fmax): Likewise.
37909 (fminf): Likewise.
37910 (fmin): Likewise.
37911 (rint): Likewise.
37912 (rintf): Likewise.
37913 (nearbyint): Likewise.
37914 (nearbyintf): Likewise.
37915 (ceil): Likewise.
37916 (ceilf): Likewise.
37917 (floor): Likewise.
37918 (floorf): Likewise.
37919
3e5aef87
L
379202012-05-17 H.J. Lu <hongjiu.lu@intel.com>
37921
428bd707
L
37922 * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
37923 on both fields and cast pointer to __syscall_ulong_t.
37924
3e5aef87
L
37925 * bits/types.h (__fsword_t): New type.
37926 * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
37927 sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
37928 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
37929 (__FSWORD_T_TYPE): Likewise.
37930 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
37931 (__FSWORD_T_TYPE): Likewise.
37932 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
37933 (__FSWORD_T_TYPE): Likewise.
37934 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
37935 (__FSWORD_T_TYPE): Likewise.
37936 * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
37937 __SWORD_TYPE with __fsword_t.
37938 (statfs64): Likewise.
37939
1ba7c3dc
DM
379402012-05-17 David S. Miller <davem@davemloft.net>
37941
37942 * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
37943
59910343
AJ
379442012-05-17 Andreas Jaeger <aj@suse.de>
37945
37946 * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
37947 warning.
37948
2e4c1e9e
L
379492012-05-17 H.J. Lu <hongjiu.lu@intel.com>
37950
37951 * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
37952
de7f5ce7
AJ
379532012-05-17 Andreas Jaeger <aj@suse.de>
37954
37955 * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
37956 when it is used.
37957
286abc3d
CM
379582012-05-17 Chris Metcalf <cmetcalf@tilera.com>
37959
37960 * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
37961
477cc68e
L
379622012-05-17 H.J. Lu <hongjiu.lu@intel.com>
37963
37964 * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
37965 * sysdeps/x86_64/tst-mallocalign1.c: New file.
37966
1a0994f5
CD
379672012-05-17 Andreas Jaeger <aj@suse.de>
37968 Carlos O'Donell <carlos_odonell@mentor.com>
37969
37970 [BZ #14059]
37971 * sysdeps/x86_64/multiarch/init-arch.h
37972 (bit_YMM_Usable): Rename to...
37973 (bit_AVX_Usable): ... this.
37974 (bit_FMA4_Usable): New macro.
37975 (bit_XMM_state): New macro.
37976 (bit_YMM_state): New macro.
37977 [__ASSEMBLER__] (index_YMM_Usable): Rename to...
37978 [__ASSEMBLER__] (index_AVX_Usable): ... this.
37979 [__ASSEMBLER__] (index_FMA4_Usable): New macro.
37980 (CPUID_OSXSAVE): New macro.
37981 (CPUID_AVX): New macro.
37982 (CPUID_FMA4): New macro.
37983 (index_YMM_Usable): Rename to...
37984 (index_AVX_Usable): ... this.
37985 (HAS_AVX): Use HAS_ARCH_FEATURE.
37986 (HAS_FMA4): Likewise.
37987 (HAS_YMM_USABLE): Remove.
37988 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
37989 Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
37990 are present.
37991 * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
37992 * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
37993 * sysdeps/x86_64/multiarch/Makefile: Likewise.
37994 * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
37995 * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
37996
0af797de
CM
379972012-05-17 Chris Metcalf <cmetcalf@tilera.com>
37998
37999 * math/libm-test.c: Support platforms without multiple rounding modes.
38000 * math/bug-nextafter.c: Support platforms without FP exceptions.
38001 * math/bug-nexttoward.c: Likewise.
38002 * math/test-fenv.c: Likewise.
38003 * math/test-misc.c: Likewise.
38004 * stdlib/bug-getcontext.c: Likewise.
38005
e39745ff
AJ
380062012-05-17 Andreas Jaeger <aj@suse.de>
38007
38008 * manual/examples/search.c (critter_cmp): Change signature to
38009 avoid warnings.
38010 * manual/string.texi (Collation Functions): Likewise.
38011
48970aba
L
380122012-05-16 H.J. Lu <hongjiu.lu@intel.com>
38013
38014 * bits/types.h: Fold copyright years.
38015 * bits/typesizes.h: Likewise.
38016 * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
38017 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
38018 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
38019 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
38020 * time/time.h: Likewise.
38021
bedee953
PP
380222012-05-16 Paul Pluzhnikov <ppluzhnikov@google.com>
38023
38024 [BZ #208]
38025 * malloc.c (int_mallinfo): Add parameter to accumulate statistics
38026 in instead of returning them. Return void.
38027 (__libc_mallinfo): Accumulate over all arenas.
38028 (__malloc_stats): Adjust for change in int_mallinfo interface.
38029
61653dfb
RM
380302012-05-16 Roland McGrath <roland@hack.frob.com>
38031
30b99d79
RM
38032 [BZ #10375]
38033 * configure.in (NM): Add AC_CHECK_TOOL for it.
38034 (libc_extra_cflags): New substituted variable.
38035 Check for -fstack-protector being used implicitly.
38036 * configure: Regenerated.
38037 * config.make.in (config-extra-cflags): New variable,
38038 gets @libc_extra_cflags@.
38039 * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
38040
61653dfb
RM
38041 [BZ #10375]
38042 * configure.in: Check for _FORTIFY_SOURCE being predefined.
38043 (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
38044 * configure: Regenerated.
38045 * config.make.in (CPPUNDEFS): New substituted variable.
38046 * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
38047 * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
38048 * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
38049
661768bb
L
380502012-05-16 H.J. Lu <hongjiu.lu@intel.com>
38051
38052 * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
38053 (mq_attr): Use __syscall_slong_t.
38054
d4261567
L
380552012-05-16 H.J. Lu <hongjiu.lu@intel.com>
38056
38057 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
38058 Check __x86_64__ instead of __WORDSIZE.
38059 (_STAT_VER_LINUX): Likewise.
38060 (stat): Check __x86_64__ instead of __WORDSIZE. Use
38061 __syscall_ulong_t and __syscall_slong_t.
38062 (stat64): Likewise.
38063
cf3ff365
L
380642012-05-16 H.J. Lu <hongjiu.lu@intel.com>
38065
38066 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
38067
76cf3e4d
L
380682012-05-16 H.J. Lu <hongjiu.lu@intel.com>
38069
38070 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
38071
a637753a
L
380722012-05-16 H.J. Lu <hongjiu.lu@intel.com>
38073
38074 * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
38075 __syscall_ulong_t.
38076
d5e05119
L
38077 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
38078 include <bits/wordsize.h>. Check __x86_64__ instead of
38079 __WORDSIZE.
38080 (greg_t): Use "__extension__ long long int" if __x86_64__ is
38081 defined.
38082 (mcontext_t): Replace "unsigned long" with "unsigned long long".
38083
f62ee380
L
38084 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
38085 include <bits/wordsize.h>. Check __x86_64__ instead of
38086 __WORDSIZE.
38087 (user_regs_struct): Use "__extension__ unsigned long long"
38088 instead of "unsigned long" if __x86_64__ is defined.
38089 (user): Likewise. Pad after pointer field if __ILP32__ is
38090 defined.
38091
4e124ced
JM
380922012-05-16 Joseph Myers <joseph@codesourcery.com>
38093
6a3951a0
JM
38094 * configure.in (makeinfo): Require version 4.5 or later. Allow
38095 versions 5 to 9.
38096 * configure: Regenerated.
38097 * manual/install.texi (texinfo): Increase version requirement to
38098 4.5 or later.
38099 * INSTALL: Regenerated.
38100
4e124ced
JM
38101 * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
38102
953ca31a
L
381032012-05-16 H.J. Lu <hongjiu.lu@intel.com>
38104
38105 * sysdeps/x86_64/x32/gmp-mparam.h: New file.
38106
617aca05
L
38107 * sysdeps/x86_64/x32/ffs.c: New file.
38108
5762f7ae
L
38109 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
38110 __syscall_ulong_t.
38111 (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
38112 defined. Use __syscall_ulong_t.
38113 (shminfo): Use __syscall_ulong_t.
38114 (shm_info): Likewise.
38115
a26b6856
L
38116 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
38117 __syscall_ulong_t.
38118
cb2b9ef7
L
38119 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
38120 <bits/wordsize.h>.
38121 (msgqnum_t): Use __syscall_ulong_t.
38122 (msglen_t): Likewise.
38123 (msqid_ds): Check __x86_64__ instead of __WORDSIZE. Use
38124 __syscall_ulong_t.
38125
34683bb0
L
38126 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
38127 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
38128
84a68786
L
38129 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
38130
48baa5f1
L
38131 * sysdeps/x86_64/x32/divdi3.c: New dummy file.
38132 * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
38133
180be88b
L
38134 * sysvipc/sys/msg.h (msgbuf): Replace long int with
38135 __syscall_slong_t.
38136
5e90c8ad
L
38137 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
38138 include <bits/wordsize.h>. Check __x86_64__ instead of
38139 __WORDSIZE.
38140
23dfb58b
L
38141 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
38142 "unsigned long long int" if __x86_64__ is defined.
38143 (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
38144
ce5d54b0
L
38145 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
38146 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
38147 (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
38148
13dc9eac
L
38149 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
38150 <stdint.h>.
38151 (GET_PC): Cast to uintptr_t first.
38152 (GET_FRAME): Likewise.
38153 (GET_STACK): Likewise.
38154
a7895d15
L
38155 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
38156 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
38157 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
38158 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
38159 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
38160 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
38161 * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
38162 * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
38163 * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
38164 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
38165 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
38166 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
38167 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
38168 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
38169 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
38170 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
38171 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
38172 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
38173 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
38174 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
38175 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
38176 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
38177 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
38178 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
38179 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
38180 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
38181 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
38182 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
38183 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
38184
656416c9
AS
381852012-05-16 Andreas Schwab <schwab@linux-m68k.org>
38186
5bd66283
AS
38187 * Makerules (+depfiles): Also collect depfiles from .oS in
38188 $(extra-objs).
38189 * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
38190 .oS, $(libnldbl-routines)).
38191
656416c9
AS
38192 * Makerules (native-compile-mkdep-flags): Define.
38193 * sunrpc/Makefile (extra-objs): Add $(addprefix
38194 cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
38195 ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
38196 of $(compile-mkdep-flags). Depend on $(before-compile) instead of
38197 calling $(make-target-directory).
38198
a46f2169
L
381992012-05-15 H.J. Lu <hongjiu.lu@intel.com>
38200
38201 * bits/types.h (__snseconds_t): Removed.
38202 * time/time.h (struct timespec): Replace __snseconds_t with
38203 __syscall_slong_t.
38204 * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
38205 * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
38206 Likewise.
38207 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
38208 (__SNSECONDS_T_TYPE): Likewise.
38209 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
38210 (__SNSECONDS_T_TYPE): Likewise.
38211 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
38212 (__SNSECONDS_T_TYPE): Likewise.
38213
6af6528b
L
382142012-05-15 H.J. Lu <hongjiu.lu@intel.com>
38215
38216 * sysdeps/mach/hurd/bits/typesizes.h
38217 (__SYSCALL_SLONG_TYPE): New macro.
38218 (__SYSCALL_ULONG_TYPE): Likewise.
38219
de986b56
L
382202012-05-15 H.J. Lu <hongjiu.lu@intel.com>
38221
38222 * bits/types.h (__syscall_slong_t): New type.
38223 (__syscall_ulong_t): Likewise.
38224
38225 * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
38226 (__SYSCALL_ULONG_TYPE): Likewise.
38227 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
38228 (__SYSCALL_SLONG_TYPE): Likewise.
38229 (__SYSCALL_ULONG_TYPE): Likewise.
38230 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
38231 (__SYSCALL_SLONG_TYPE): Likewise.
38232 (__SYSCALL_ULONG_TYPE): Likewise.
38233 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
38234 (__SYSCALL_SLONG_TYPE): Likewise.
38235 (__SYSCALL_ULONG_TYPE): Likewise.
38236
85736dc7
L
382372012-05-15 H.J. Lu <hongjiu.lu@intel.com>
38238
38239 * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
38240 Add sigaltstack-offsets.sym.
38241 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
38242 <sigaltstack-offsets.h>.
38243 (CALL_FAIL): Use RSP_LP to operate on stack. Use RDI_LP on
38244 longjmp_msg pointer.
38245 (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC. Use
38246 R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
38247 signal stack.
38248 * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
38249
cc03b296
JM
382502012-05-15 Joseph Myers <joseph@codesourcery.com>
38251
a9538892
JM
38252 * elf/stackguard-macros.h: Remove file.
38253 * sysdeps/generic/stackguard-macros.h: New file.
38254 * sysdeps/i386/stackguard-macros.h: Likewise.
38255 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
38256 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
38257 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
38258 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
38259 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
38260 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
38261 * sysdeps/x86_64/stackguard-macros.h: Likewise.
38262 * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
38263 <elf/stackguard-macros.h>.
38264
cc03b296
JM
38265 [BZ #14109]
38266 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
38267 __aligned__ in attribute.
38268 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
38269 (gregset_t): Likewise.
38270
93171016
L
382712012-05-15 H.J. Lu <hongjiu.lu@intel.com>
38272
38273 * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
38274 * sysdeps/x86_64/64/Implies-after: Here. New file.
38275 * sysdeps/x86_64/x32/Implies-after: New file.
38276
d86813a0
L
382772012-05-15 H.J. Lu <hongjiu.lu@intel.com>
38278
38279 * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
38280 and access return value for _dl_profile_fixup. Use R10_LP to
38281 load frame size.
38282
2953ec75
L
382832012-05-15 H.J. Lu <hongjiu.lu@intel.com>
38284
38285 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
38286
3b550e9e
L
382872012-05-15 H.J. Lu <hongjiu.lu@intel.com>
38288
38289 * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
38290 * sysdeps/x86_64/x32/sysdep.h: New file.
38291
eda41706
L
382922012-05-15 H.J. Lu <hongjiu.lu@intel.com>
38293
38294 * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
38295 * sysdeps/x86_64/setjmp.S: Likewise.
38296
9ea01d93
AZ
382972012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
38298
38299 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
38300 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
38301 * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
38302 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
38303 remove unused global constant.
38304
02a91938
CM
383052012-05-15 Chris Metcalf <cmetcalf@tilera.com>
38306
38307 * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
38308 include of <not-cancel.h>.
38309
6540185f
RM
383102012-05-15 Roland McGrath <roland@hack.frob.com>
38311
38312 * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
38313
509072a0
AJ
383142012-05-15 Jeff Law <law@redhat.com>
38315 Andreas Jaeger <aj@suse.de>
38316
38317 [BZ #13594]
38318 * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
38319 out from...
38320 * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
38321 * nscd/nscd-client.h: Add __nscd_acquire_maplock.
38322 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
38323 code changing __hst_map_handle.map.
38324
ba75122d
RM
383252012-05-15 Roland McGrath <roland@hack.frob.com>
38326
38327 * configure.in (sysnames): Look for Implies-before and Implies-after
38328 files.
38329 * configure: Regenerated.
38330
890d8bd8
L
383312012-05-15 H.J. Lu <hongjiu.lu@intel.com>
38332
38333 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
38334 8-byte data alignment with LP_SIZE alignment.
38335
f6ee6623
L
383362012-05-15 H.J. Lu <hongjiu.lu@intel.com>
38337
38338 * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
38339 into R10_LP.
38340
ea2626f6
L
383412012-05-15 H.J. Lu <hongjiu.lu@intel.com>
38342
38343 * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
38344
085f715e
L
383452012-05-15 H.J. Lu <hongjiu.lu@intel.com>
38346
38347 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
38348 * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
38349 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
38350 Likewise.
38351 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
38352
be8498fc
L
383532012-05-15 H.J. Lu <hongjiu.lu@intel.com>
38354
38355 * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
38356 (stackinfo_sub_sp): Likewise.
38357
70bc83b9
L
383582012-05-15 H.J. Lu <hongjiu.lu@intel.com>
38359
38360 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
38361 RAX_LP.
38362
9bc0b730
L
383632012-05-15 H.J. Lu <hongjiu.lu@intel.com>
38364
38365 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
38366 into R*_LP.
38367
6d2850e7
L
383682012-05-15 H.J. Lu <hongjiu.lu@intel.com>
38369
38370 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
38371 sizes into R*_LP.
38372
3cb84561
L
383732012-05-15 H.J. Lu <hongjiu.lu@intel.com>
38374
38375 * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
38376
54e2ed81
L
383772012-05-15 H.J. Lu <hongjiu.lu@intel.com>
38378
38379 * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
38380 into R11_LP and load __x86_64_shared_cache_size_half into
38381 R8_LP.
38382
8a17f349
L
383832012-05-15 H.J. Lu <hongjiu.lu@intel.com>
38384
38385 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
38386 R8_LP.
38387
777b1eea
AZ
383882012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
38389
38390 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
38391 logb for POWER7.
38392 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
38393 logbf for POWER7.
38394 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
38395 logbl for POWER7.
38396 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
38397 powerpc32/power7/fpu/s_logb.c via #include.
38398 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
38399 powerpc32/power7/fpu/s_logbf.c via #include.
38400 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
38401 powerpc32/power7/fpu/s_logbl.c via #include.
38402
d20d4ac2
JM
384032012-05-15 Joseph Myers <joseph@codesourcery.com>
38404
38405 * README.libm: Remove file.
38406
6cdef1ab
L
384072012-05-14 H.J. Lu <hongjiu.lu@intel.com>
38408
38409 * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
38410 count for x32. Use R*_LP and omit operand-size suffix.
38411
0b254d8f
L
384122012-05-14 H.J. Lu <hongjiu.lu@intel.com>
38413
38414 * shlib-versions: Move x86_64-.*-linux.* entries to ...
38415 * sysdeps/x86_64/64/shlib-versions: Here. New file.
38416 * sysdeps/x86_64/x32/shlib-versions: New file.
38417
ceb809dc
RM
384182012-05-14 Roland McGrath <roland@hack.frob.com>
38419
38420 * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
38421 * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
38422 Use _dl_fatal_printf instead.
38423
37f1abd4
JM
384242012-05-14 Joseph Myers <joseph@codesourcery.com>
38425
38426 * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
38427 set if not set by the user. Do not allow for being unset.
38428 * sysdeps/unix/sysv/linux/configure: Regenerated.
38429
11de3a33
L
384302012-05-14 H.J. Lu <hongjiu.lu@intel.com>
38431
38432 * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
38433 the `q' suffix from lea and replace .quad with ASM_ADDR.
38434
e02f153a
L
384352012-05-14 H.J. Lu <hongjiu.lu@intel.com>
38436
38437 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
38438 the `q' suffix from xor/rol instructions. Use $2*LP_SIZE+1
38439 instead of $17.
38440 (PTR_DEMANGLE): Likewise.
38441
520ae0fd
L
384422012-05-14 H.J. Lu <hongjiu.lu@intel.com>
38443
38444 * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
38445 (LP_OP): Likewise.
38446 (ASM_ADDR): Likewise.
38447 (RAX_LP): Likewise.
38448 (RBP_LP): Likewise.
38449 (RBX_LP): Likewise.
38450 (RCX_LP): Likewise.
38451 (RDI_LP): Likewise.
38452 (RSI_LP): Likewise.
38453 (RSP_LP): Likewise.
38454 (R8_LP): Likewise.
38455 (R9_LP): Likewise.
38456 (R10_LP): Likewise.
38457 (R10_LP): Likewise.
38458 (R11_LP): Likewise.
38459 (R12_LP): Likewise.
38460 (R13_LP): Likewise.
38461 (R14_LP): Likewise.
38462 (R15_LP): Likewise.
38463
b985be81
L
384642012-05-14 H.J. Lu <hongjiu.lu@intel.com>
38465
38466 * sysdeps/x86_64/x32/dl-machine.h: New file.
38467
6a4888ff
AJ
384682012-05-14 Andreas Jaeger <aj@suse.de>
38469
38470 * manual/Makefile (subdir): Remove export of subdir.
38471 (all): Remove target.
38472 (.PHONY): Remove all from list.
38473 (mkinstalldirs): Remove.
38474 (.PHONY): Remove installdirs from list.
38475 ($(inst_infodir)/libc.info): Use make-target-directory.
38476 (installdirs): Remove.
38477 (subdir_%): Remove.
38478 (glibc-targets): Remove.
38479 (lib): Remove.
38480 (stubs): Remove.
38481 ($(objpfx)stubs ../po/manual.pot): Remove.
38482 ($(objpfx)stamp%): Remove.
38483 (make-target-directory): Remove.
38484 (subdir_install): Remove.
38485 (routines): Remove.
38486 (aux): Remove.
38487 (sources): Remove.
38488 (objects): Remove.
38489 (headers): Remove.
38490
38491 [BZ #13750]
38492 * manual/.gitignore: Remove, it's not needed anymore.
38493 * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
38494 all files in it.
38495 * manual/Makefile (dvi, pdf, info, html): Depend on files in build
38496 directory.
38497 (texis): Renamed to $(objpfx)texis.
38498 (texis-path): New, contains path to generated files.
38499 (chapters.%): Use texis-path for complete path, add extra argument
38500 libc-texinfo.sh.
38501 (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
38502 (libc/index.html, summary.texi): Add $(objpfx) as prefix.
38503 (summary,texi, stamp-summary): Use complete path of
38504 files. Generate files in build dir.
38505 (dir-add.texi): Build in build dir.
38506 (libm-err.texi,stamp-libm-err): Likewise.
38507 (version.texi, stamp-version): Likewise.
38508 (.%c.texi): Likewise.
38509 (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
38510 (mostlyclean): Remove target.
38511 (realclean): Remove target.
38512 (generated): Add new variable with contents from mostlyclean and
38513 realclean, remove entries duplicated in common-mostlyclean, add
38514 stamp-libm-err and stamp-version.
38515 (generated-dirs): Add libc directory.
38516 ($(inst_infodir)/libc.info): Install files from build dir.
38517
38518 * manual/install.texi (Configuring and compiling): Adjust since
38519 the info files are not part of the tar ball anymore.
38520
7ac77294
AJ
385212012-05-14 Andreas Jaeger <aj@suse.de>
38522
38523 * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
38524 variable.
38525
ffb7875d
JM
385262012-05-14 Joseph Myers <joseph@codesourcery.com>
38527
38528 [BZ #13717]
38529 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
38530 to 2.2.0 where earlier.
38531 * sysdeps/unix/sysv/linux/configure: Regenerated.
38532 * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
38533 Remove conditional code.
38534 [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
38535 * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
38536 Remove conditional code.
38537 [!__NR_lchown]: Likewise.
38538 [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
38539 [__NR_lchown]: Likewise.
38540 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
38541 comment referencing __ASSUME_LCHOWN_SYSCALL.
38542 * sysdeps/unix/sysv/linux/i386/sigaction.c
38543 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
38544 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
38545 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
38546 Remove conditional code.
38547 [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
38548 (__protocol_available): Remove #if 0 code.
38549 * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
38550 conditional code.
38551 [__ASSUME_SIOCGIFNAME]: Make code unconditional.
38552 * sysdeps/unix/sysv/linux/kernel-features.h
38553 (__ASSUME_GETCWD_SYSCALL): Don't define.
38554 (__ASSUME_REALTIME_SIGNALS): Likewise.
38555 (__ASSUME_PREAD_SYSCALL): Likewise.
38556 (__ASSUME_PWRITE_SYSCALL): Likewise.
38557 (__ASSUME_POLL_SYSCALL): Likewise.
38558 (__ASSUME_LCHOWN_SYSCALL): Likewise.
38559 (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
38560 non-SPARC.
38561 (__ASSUME_SIOCGIFNAME): Don't define.
38562 (__ASSUME_MSG_NOSIGNAL): Likewise.
38563 (__ASSUME_SENDFILE): Define unconditionally.
38564 (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
38565 * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
38566 conditional code.
38567 [__ASSUME_POLL_SYSCALL]: Make code unconditional.
38568 * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
38569 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
38570 (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
38571 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
38572 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
38573 (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
38574 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
38575 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
38576 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
38577 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
38578 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
38579 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
38580 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
38581 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
38582 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
38583 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
38584 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
38585 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
38586 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
38587 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
38588 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
38589 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
38590 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
38591 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
38592 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
38593 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
38594 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
38595 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
38596 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
38597 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
38598 * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
38599 Remove conditional code.
38600 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
38601 * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
38602 Remove conditional code.
38603 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
38604 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
38605 [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
38606 * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
38607 Remove conditional code.
38608 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
38609 * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
38610 Remove conditional code.
38611 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
38612 * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
38613 Remove conditional code.
38614 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
38615 * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
38616 Remove conditional code.
38617 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
38618 * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
38619 Remove conditional code.
38620 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
38621 * sysdeps/unix/sysv/linux/sh/pwrite64.c
38622 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
38623 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
38624 * sysdeps/unix/sysv/linux/sigaction.c
38625 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
38626 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
38627 * sysdeps/unix/sysv/linux/sigpending.c
38628 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
38629 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
38630 * sysdeps/unix/sysv/linux/sigprocmask.c
38631 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
38632 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
38633 * sysdeps/unix/sysv/linux/sigsuspend.c
38634 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
38635 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
38636 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
38637 (__libc_missing_rt_sigs): Remove.
38638 (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
38639 (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
38640 * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
38641 Remove conditional code.
38642 [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
38643 * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
38644 return 1.
38645 * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
38646 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
38647 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
38648 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
38649
1bfb7291
AJ
386502012-05-14 Andreas Jaeger <aj@suse.de>
38651
caae5a81
AJ
38652 * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
38653 it's not used in glibc.
38654 (__coshm1): Likewise.
38655 (__acosh1p): Likewise.
38656 (__sgn): Likewise.
38657
1bfb7291
AJ
38658 * manual/string.texi (Copying and Concatenation): Add missing
38659 variable in concat example.
38660 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
38661
c044d724
L
386622012-05-14 H.J. Lu <hongjiu.lu@intel.com>
38663
144c5467 38664 [BZ #14103]
c044d724
L
38665 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
38666 __builtin_clzl with __builtin_clzll.
38667
2523c62b
L
386682012-05-14 H.J. Lu <hongjiu.lu@intel.com>
38669
38670 [BZ #14104]
38671 * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
38672 libc_freeres_ptr.
38673
d7bb4c42
LD
386742012-05-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
38675
38676 * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
38677 * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
38678 * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
38679 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
38680
9dc4e1fb
MF
386812012-05-14 Mike Frysinger <vapier@gentoo.org>
38682
38683 * NEWS: Update ia64 info.
38684
c7df0112
AS
386852012-05-12 Andreas Schwab <schwab@linux-m68k.org>
38686
38687 * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
38688 used as bcopy.
38689
dc70356c
TS
386902012-05-12 Thomas Schwinge <thomas@codesourcery.com>
38691
38692 * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
38693 * sysdeps/unix/syscalls.list (dup3): Likewise.
38694 * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
38695 * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
38696
9fb1a21f
L
386972012-05-11 H.J. Lu <hongjiu.lu@intel.com>
38698
38699 * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
38700 "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
38701
4822a2a5
L
387022012-05-11 H.J. Lu <hongjiu.lu@intel.com>
38703
38704 * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
38705 thread pointer.
38706 (TLS_IE): Use mov/add instead of movq/addq to load thread
38707 pointer.
38708 (TLS_GD_PREFIX): New.
38709 (TLS_GD): Use it.
38710
842b81d6
DM
387112012-05-11 David S. Miller <davem@davemloft.net>
38712
38713 * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
38714 * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
38715 (_FPU_SETCW): Likewise.
38716
1cf463cd
L
387172012-05-10 H.J. Lu <hongjiu.lu@intel.com>
38718
38719 * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
38720 is 32-byte aligned.
38721
60cc4a18
AS
387222012-05-11 Andreas Schwab <schwab@linux-m68k.org>
38723
38724 [BZ #11837]
38725 * iconvdata/gb18030.c: Update tables.
38726 (BODY for FROM_LOOP): Update. Handle two-byte encoded non-BMP
38727 characters specially.
38728 (BODY for TO_LOOP): Add encoding of missing ranges.
38729
febb44a4
TS
387302012-05-11 Thomas Schwinge <thomas@codesourcery.com>
38731
38732 [BZ #13673]
38733 * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
38734 * sysdeps/mach/hurd/dup3.c: Likewise.
38735 * sysdeps/mach/hurd/readlinkat.c: Likewise.
38736 * sysdeps/powerpc/memmove.c:: Likewise.
38737
0a10fb9e
L
387382012-05-10 H.J. Lu <hongjiu.lu@intel.com>
38739
38740 * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
38741 R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
38742
df8a552f
L
387432012-05-10 H.J. Lu <hongjiu.lu@intel.com>
38744
38745 * elf/elf.h (R_X86_64_RELATIVE64): New.
38746 (R_X86_64_NUM): Updated.
38747 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
38748 R_X86_64_RELATIVE64. Always use Elf64_Addr with R_X86_64_64.
38749 (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
38750 * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
38751 tst-quad1pie tst-quad2pie
38752 (modules-names): Add tst-quadmod1 tst-quadmod2.
38753 ($(objpfx)tst-quad1): New dependency.
38754 ($(objpfx)tst-quad2): Likewise.
38755 ($(objpfx)tst-quad1pie): Likewise.
38756 ($(objpfx)tst-quad2pie): Likewise.
38757 * sysdeps/x86_64/tst-quad1.c: New file.
38758 * sysdeps/x86_64/tst-quad1pie.c: New file.
38759 * sysdeps/x86_64/tst-quad2.c: Likewise.
38760 * sysdeps/x86_64/tst-quad2pie.c: Likewise.
38761 * sysdeps/x86_64/tst-quadmod1.S: Likewise.
38762 * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
38763 * sysdeps/x86_64/tst-quadmod2.S: Likewise.
38764 * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
38765
f34d6f84
ST
387662012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
38767
f42d41d1
ST
38768 * io/fcntl.h (mode_t, off_t, pid_t): Define types.
38769 (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
38770 * streams/stropts.h (t_scalar_t): Define type.
38771
3c3571fc
ST
38772 * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
38773 (_PATH_PRESERVE): Set to "/var/lib".
38774 (_PATH_RWHODIR): Set to "/var/spool/rwho".
38775
61f06bd3
ST
38776 * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
38777 instead of int.
38778
918d4d71
ST
38779 * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
38780 if __dir_mkfile succeeded.
38781
f34d6f84
ST
38782 * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
38783 checking for _hurd_dtablesize. Unlock it right after having
38784 finished _hurd_dtable allocation.
38785
10589b4a
TS
387862012-05-10 Thomas Schwinge <thomas@schwinge.name>
38787
674cdbc7
TS
38788 * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
38789 * sysdeps/mach/hurd/configure: Regenerated.
38790 * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
38791 special-casing to...
38792 * sysdeps/gnu/configure.in: ... this new file.
38793 * sysdeps/unix/sysv/linux/configure: Regenerated.
38794 * sysdeps/gnu/configure: New generated file.
38795
8e41b99f
TS
38796 * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
38797 for Linux: use nsec instead of usec, as well as:
38798 [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
38799 members of type struct timespec.
38800 [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
38801 New macros.
38802 (struct stat64): Likewise.
38803 (_STATBUF_ST_NSEC): New macro.
38804 * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
38805
10589b4a
TS
38806 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
38807 __strtoul_internal rather than strtoul.
38808
63643c85
PT
388092012-05-10 Pino Toscano <toscano.pino@tiscali.it>
38810
38811 * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
38812 and reject them.
38813
3faebe6a
ST
388142012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
38815
38816 * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
38817 which preserves existing values.
38818 * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
38819
c6474b07
PT
388202012-05-10 Pino Toscano <toscano.pino@tiscali.it>
38821
38822 * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
38823 TIMEOUT values. Return EINVAL for NFDS values either negative or
38824 greater than FD_SETSIZE.
38825
1043890b
ST
388262012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
38827
38828 * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
38829 allocated, call __vm_protect to finish enabling the existing space, and
38830 pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
38831 allocate the remainder.
38832
37ed8b9b
PT
388332012-05-10 Pino Toscano <toscano.pino@tiscali.it>
38834
38835 * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
38836 address port. Set ADDR_LEN to 0 when not filling ADDRARG.
38837
db653660
ST
388382012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
38839
37ed8b9b
PT
38840 * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
38841 sysdeps/mach/hurd/readlink.c.
b29d4053 38842
db653660
ST
38843 * posix/tst-sysconf.c (posix_options): Only use
38844 _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
38845 _POSIX_SYNCHRONIZED_IO when they are defined
38846 * sysdeps/mach/hurd/bits/posix_opt.h:
38847 (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
38848 (_XOPEN_REALTIME): Undefine macro.
38849 (_XOPEN_REALTIME_THREADS): Undefine macro.
38850 (_XOPEN_SHM): Undefine macro.
38851 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
38852 macro to -1.
38853 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
38854 macro to -1.
38855 (_POSIX_ASYNC_IO): Undefine macro.
38856 (_POSIX_PRIORITIZED_IO): Undefine macro.
38857 (_POSIX_SPIN_LOCKS): Define macro to -1.
38858
ee16e894
ST
38859 * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
38860 SA_NODEFER, SA_RESETHAND.
38861 * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
38862 O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
38863 F_DUPFD_CLOEXEC.
38864
6103ae3b
TS
388652012-05-10 Thomas Schwinge <thomas@schwinge.name>
38866
38867 * elf/Makefile (pldd-modules): Define unconditionally.
38868
80b4e5f3
TS
388692012-05-10 Thomas Schwinge <thomas@schwinge.name>
38870
38871 * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
38872
edadcbd6
ST
388732012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
38874
38875 * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
38876 Return ENOENT when name is empty.
38877 * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
38878
80694780
TS
388792012-05-10 Thomas Schwinge <thomas@schwinge.name>
38880
1792c087
TS
38881 * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
38882
80694780
TS
38883 * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
38884
6b645f0d
ST
388852012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
38886
80694780
TS
38887 Fix mlock in all cases except non-readable pages.
38888 * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
38889 instead of VM_PROT_ALL as parameter to __vm_wire function.
66cbbebc 38890
6b645f0d
ST
38891 * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
38892 (__mkdir): When path is `/', just fail with EEXIST.
38893 * sysdeps/mach/hurd/mkdirat.c: Likewise.
38894
e468f8a3
TS
388952012-05-10 Thomas Schwinge <thomas@schwinge.name>
38896
38897 * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
38898 <sys/uio.h> (for writev).
38899 * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
38900 and <sys/param.h> (for MIN).
38901
a4186cff
PT
389022012-05-10 Pino Toscano <toscano.pino@tiscali.it>
38903
38904 * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
38905 REQUESTED_TIME. Properly set the remaining time and return EINTR
38906 if interrupted.
38907
510bbf14
TS
389082012-05-10 Thomas Schwinge <thomas@schwinge.name>
38909
38910 * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
38911 Depend on against $(link-rpcuserlibs).
38912
5d5722e8
ST
389132012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
38914
a4186cff
PT
38915 * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
38916 (__libc_stack_end): Do not use attribute_relro.
38917 * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
38918 * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
5d5722e8 38919 to libthread-provided value.
a4186cff
PT
38920 * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
38921 attribute_relro.
5d5722e8 38922
37233df9
TS
389232012-05-10 Thomas Schwinge <thomas@schwinge.name>
38924
be971a2b
TS
38925 [BZ #3748]
38926 * bits/libc-lock.h (__libc_once_get): New macro.
38927 * sysdeps/mach/bits/libc-lock.h: Likewise.
38928 * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
38929 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
38930 instead of using implementation details.
38931
37233df9
TS
38932 * libio/fileops.c: Unconditionally include <kernel-features.h>.
38933 * libio/freopen.c: Likewise.
38934 * libio/freopen64.c: Likewise.
38935 * misc/syslog.c: Likewise.
38936 * nscd/connections.c: Likewise.
38937 * nscd/netgroupcache.c: Likewise.
38938 * sysdeps/posix/getcwd.c: Likewise.
38939
38de94a5
RM
389402012-05-10 Roland McGrath <roland@hack.frob.com>
38941
38942 * math/w_ilogbf.c: Add #include <limits.h>.
38943
67530489
ST
389442012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
38945
a4186cff 38946 * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
bbc49098
ST
38947 path instead of returning without unlocking.
38948
67530489
ST
38949 * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
38950 immediate-write ioctls.
38951 * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
38952
5aa3a74a
TS
389532012-05-10 Thomas Schwinge <thomas@schwinge.name>
38954
18bad2ae
TS
38955 * sysdeps/mach/hurd/i386/init-first.c (init): Use
38956 __builtin_frame_address instead of making assumptions about the
38957 location of the return address relative to DATA. Force early load of
38958 the return address.
38959 (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
38960 __builtin_frame_address.
38961
5aa3a74a
TS
38962 dup3 for GNU Hurd.
38963 * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
38964 * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c. Evolve it to
38965 implement dup3 and do some further code clean-ups.
38966 * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
38967 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
38968
ecd0de9a
ST
389692012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
38970
cd9fa985
ST
38971 * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
38972
a4186cff
PT
38973 * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
38974 HURD_CRITICAL_END around holding _hurd_dtable_lock.
38975 * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
38976 * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
38977 HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
38978 d->port.lock.
802ca5a5 38979
a4186cff
PT
38980 * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
38981 instead of setjmp/longjmp to restore the signal mask. Call sigsetjmp
38982 when handler == SIG_ERR, not when handler != SIG_ERR.
ecd0de9a 38983
bcf55240
TS
389842012-05-10 Thomas Schwinge <thomas@schwinge.name>
38985
6960eb42
TS
38986 * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
38987 (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
38988 definitions.
38989
eb43375f
TS
38990 accept4 for GNU Hurd.
38991 * include/sys/socket.h (__libc_accept4): New prototype.
38992 * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c. Evolve it
38993 to implement __libc_accept4.
38994 * sysdeps/mach/hurd/accept.c (accept): Reimplement using
38995 __libc_accept4.
38996 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
38997
bcf55240
TS
38998 * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
38999 * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
39000 * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
39001 signal-defines.sym.
39002
6178c55b
ST
390032012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
39004
a4186cff 39005 * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
6178c55b 39006
6f080c2f
TS
390072012-05-10 Thomas Schwinge <thomas@schwinge.name>
39008
39009 * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
39010 assertion on O_CLOEXEC flag.
39011 * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
39012 * hurd/intern-fd.c: Likewise.
39013 * hurd/port2fd.c: Likewise.
39014
bcfe3a54
ST
390152012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
39016
39017 [BZ #3906]
39018 * bits/in.h (IPV6_PKTINFO): Define new macro.
39019 (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
39020
89c9aa49
AZ
390212012-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
39022
39023 [BZ #13954]
39024 [BZ #13955]
39025 [BZ #13956]
39026 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
39027 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
39028 * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
39029 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
39030 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
39031 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
39032 * math/libm-test.inc (logb_test) : Additional logb tests.
39033
021db4be
AJ
390342012-05-09 Andreas Schwab <schwab@linux-m68k.org>
39035 Andreas Jaeger <aj@suse.de>
39036
39037 * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
39038 * configure: Regenerated.
39039 * config.h.in (LINK_OBSOLETE_RPC): New macro.
39040 * config.make.in (link-obsolete-rpc): New substituted variable.
39041 * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
39042 libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
39043 * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
39044 (shared-only-routines): Don't set it under [link-obsolete-rpc],
39045 so that libc.a contains the symbols.
39046 * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
39047 * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
39048 * sunrpc/auth_none.c: Likewise.
39049 * sunrpc/auth_unix.c: Likewise.
39050 * sunrpc/authdes_prot.c: Likewise.
39051 * sunrpc/authuxprot.c: Likewise.
39052 * sunrpc/clnt_gen.c: Likewise.
39053 * sunrpc/clnt_perr.c: Likewise.
39054 * sunrpc/clnt_raw.c: Likewise.
39055 * sunrpc/clnt_simp.c: Likewise.
39056 * sunrpc/clnt_tcp.c: Likewise.
39057 * sunrpc/clnt_udp.c: Likewise.
39058 * sunrpc/clnt_unix.c: Likewise.
39059 * sunrpc/des_crypt.c: Likewise.
39060 * sunrpc/des_soft.c: Likewise.
39061 * sunrpc/get_myaddr.c: Likewise.
39062 * sunrpc/key_call.c: Likewise.
39063 * sunrpc/key_prot.c: Likewise.
39064 * sunrpc/netname.c: Likewise.
39065 * sunrpc/pm_getmaps.c: Likewise.
39066 * sunrpc/pm_getport.c: Likewise.
39067 * sunrpc/pmap_clnt.c: Likewise.
39068 * sunrpc/pmap_prot.c: Likewise.
39069 * sunrpc/pmap_prot2.c: Likewise.
39070 * sunrpc/pmap_rmt.c: Likewise.
39071 * sunrpc/publickey.c: Likewise.
39072 * sunrpc/rpc_cmsg.c: Likewise.
39073 * sunrpc/rpc_common.c: Likewise.
39074 * sunrpc/rpc_dtable.c: Likewise.
39075 * sunrpc/rpc_prot.c: Likewise.
39076 * sunrpc/rpc_thread.c: Likewise.
39077 * sunrpc/rtime.c: Likewise.
39078 * sunrpc/svc.c: Likewise.
39079 * sunrpc/svc_auth.c: Likewise.
39080 * sunrpc/svc_raw.c: Likewise.
39081 * sunrpc/svc_run.c: Likewise.
39082 * sunrpc/svc_tcp.c: Likewise.
39083 * sunrpc/svc_udp.c: Likewise.
39084 * sunrpc/svc_unix.c: Likewise.
39085 * sunrpc/svcauth_des.c: Likewise.
39086 * sunrpc/xcrypt.c: Likewise.
39087 * sunrpc/xdr.c: Likewise.
39088 * sunrpc/xdr_array.c: Likewise.
39089 * sunrpc/xdr_float.c: Likewise.
39090 * sunrpc/xdr_intXX_t.c: Likewise.
39091 * sunrpc/xdr_mem.c: Likewise.
39092 * sunrpc/xdr_rec.c: Likewise.
39093 * sunrpc/xdr_ref.c: Likewise.
39094 * sunrpc/xdr_sizeof.c: Likewise.
39095 * sunrpc/xdr_stdio.c: Likewise.
39096
b5c086a2
RM
390972012-05-10 Roland McGrath <roland@hack.frob.com>
39098
39099 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
39100 change. Update copyright years.
39101
6d74dd09
JM
391022012-05-10 Joseph Myers <joseph@codesourcery.com>
39103
39104 * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
39105
28e72501
MK
391062012-05-10 Maxim Kuvyrkov <maxim@codesourcery.com>
39107 Joseph Myers <joseph@codesourcery.com>
39108 Paul Pluzhnikov <ppluzhnikov@google.com>
39109
39110 [BZ #14012]
39111 * sunrpc/Makefile [cross-compiling] (headers): Enable additions
39112 requiring rpcgen.
39113 [cross-compiling] (extra-libs): Likewise.
39114 [cross-compiling] (extra-libs-others): Likewise.
39115 [cross-compiling] (librpcsvc-routines): Likewise.
39116 [cross-compiling] (librpcsvc-inhibit-o): Likewise.
39117 [cross-compiling] (omit-deps): Likewise.
39118 (sunrpc-CPPFLAGS): New variable.
39119 (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
39120 (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
39121 (cross-rpcgen-objs): New variable.
39122 (extra-objs): Append $(cross-rpcgen-objs).
39123 ($(cross-rpcgen-objs)): New rule.
39124 ($(objpfx)cross-rpcgen): Likewise.
39125 (rpcgen-cmd): Define to use $(built-program-file). Expand
39126 comment.
39127 ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
39128 ($(objpfx)x%.stmp): Likewise.
39129 * sunrpc/proto.h [IS_IN_build] (_): Define.
39130 [IS_IN_build] (_libc_intl_domainname): Likewise.
39131
c8c59454
L
391322012-05-10 H.J. Lu <hongjiu.lu@intel.com>
39133
39134 * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
39135 Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
39136 and R_X86_64_TPOFF64.
39137
6f27cd16
JM
391382012-05-10 Joseph Myers <joseph@codesourcery.com>
39139
39140 * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
39141 sysdeps/unix/sysv/syscalls.list.
39142 (stime): Likewise.
39143 (utime): Likewise.
39144 * sysdeps/unix/sysv/syscalls.list: Remove file.
39145
02467e1c
PE
391462012-05-10 Paul Eggert <eggert@cs.ucla.edu>
39147
39148 [BZ #3440]
39149 * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
39150 (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
39151 (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
39152 (__LC_IDENTIFICATION): Make these macros useful in #if
39153 expressions, as required by C99.
39154
da392631
AS
391552012-05-10 Andreas Schwab <schwab@linux-m68k.org>
39156
39157 * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
39158 $(addsuffix .os,$(rpc-compat-routines)). Move include ../Rules
39159 after this.
39160
8115f29b
L
391612012-05-09 H.J. Lu <hongjiu.lu@intel.com>
39162
39163 * stdlib/longlong.h: Updated from GCC.
39164
bdd74070
AJ
391652012-05-09 Andreas Jaeger <aj@suse.de>
39166
edfe0dbe
AJ
39167 * nscd/nscd.c (run_modes): Make named enum, reorder so that
39168 default is first entry.
39169 (run_mode): Set type.
39170 (main): Remove informal message about syslog.
39171 (options): Fix typo.
39172
bcfe3a54
ST
39173 [BZ #14053]
39174 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
bdd74070 39175 to asm.
bcfe3a54
ST
39176 (lrint): Likewise.
39177 (llrintf): Likewise.
39178 (llrint): Likewise.
39179 (rint): Likewise.
39180 (rintf): Likewise.
39181 (nearbyint): Likewise.
39182 (nearbyintf): Likewise.
bdd74070 39183
91d8d69e
AJ
391842012-05-09 Andreas Jaeger <aj@suse.de>
39185 Pedro Alves <palves@redhat.com>
39186
39187 * nscd/nscd.c (run_mode): Use enum.
39188 (main): Cleanup coding style issue.
39189
bb90b80b
AJ
391902012-05-09 Alexandre Oliva <aoliva@redhat.com>
39191 Andreas Jaeger <aj@suse.de>
39192
bcfe3a54
ST
39193 * nscd/nscd.c (go_background): Replaced with...
39194 (run_mode): ... this.
bb90b80b 39195 (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
bcfe3a54
ST
39196 (options): Add -F --foreground.
39197 (main): Implement it.
39198 (parse_opt): Parse it.
bb90b80b 39199
1a4b75a1
AJ
392002012-05-09 Andreas Jaeger <aj@suse.de>
39201
39202 [BZ #14083]
39203 * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
39204 !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
39205 -Wconversion warning.
39206 (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
39207 Likewise.
39208
b1cc2472
JM
392092012-05-09 Joseph Myers <joseph@codesourcery.com>
39210
39211 * conform/data/locale.h-data (NULL): Use macro-constant. Require
39212 == 0.
39213 (LC_ALL): Use macro-int-constant.
39214 (LC_COLLATE): Likewise.
39215 (LC_CTYPE): Likewise.
39216 (LC_MESSAGES): Likewise.
39217 (LC_MONETARY): Likewise.
39218 (LC_NUMERIC): Likewise.
39219 (LC_TIME): Likewise.
39220 [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
39221 (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
39222 [ISO || ISO99 || ISO11] (*_t): Do not allow.
39223 * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
39224 Specify type.
39225 [C99-based standards] (float_t): Expect type.
39226 [C99-based standards] (double_t): Expect type.
39227 [C99-based standards] (HUGE_VALF): Use macro-constant. Specify
39228 type.
39229 [C99-based standards] (HUGE_VALL): Likewise.
39230 [C99-based standards] (INFINITY): Likewise.
39231 [C99-based standards] (NAN): Likewise.
39232 [C99-based standards] (FP_INFINITE): Use macro-int-constant.
39233 [C99-based standards] (FP_NAN): Likewise.
39234 [C99-based standards] (FP_NORMAL): Likewise.
39235 [C99-based standards] (FP_SUBNORMAL): Likewise.
39236 [C99-based standards] (FP_ZERO): Likewise.
39237 [C99-based standards] (FP_FAST_FMA): Use
39238 optional-macro-int-constant. Specify type. Require == 1.
39239 [C99-based standards] (FP_FAST_FMAF): Likewise.
39240 [C99-based standards] (FP_FAST_FMAL): Likewise.
39241 [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
39242 [C99-based standards] (FP_ILOGBNAN): Likewise.
39243 [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
39244 Specify type.
39245 [C99-based standards] (MATH_ERREXCEPT): Likewise.
39246 [C99-based standards] (math_errhandling): Specify type.
39247 [ISO99 || ISO11] (signgam): Do not allow.
39248 [non-C99-based standards] (copysignf): Do not allow.
39249 [non-C99-based standards] (exp2f): Likewise.
39250 [non-C99-based standards] (log2f): Likewise.
39251 [non-C99-based standards] (modff): Allow.
39252 [non-C99-based standards] (erff): Do not allow.
39253 [non-C99-based standards] (erfcf): Likewise.
39254 [non-C99-based standards] (gammaf): Likewise.
39255 [non-C99-based standards] (hypotf): Likewise.
39256 [non-C99-based standards] (j0f): Likewise.
39257 [non-C99-based standards] (j1f): Likewise.
39258 [non-C99-based standards] (jnf): Likewise.
39259 [non-C99-based standards] (lgammaf): Likewise.
39260 [non-C99-based standards] (tgammaf): Likewise.
39261 [non-C99-based standards] (y0f): Likewise.
39262 [non-C99-based standards] (y1f): Likewise.
39263 [non-C99-based standards] (ynf): Likewise.
39264 [non-C99-based standards] (isnanf): Likewise.
39265 [non-C99-based standards] (acoshf): Likewise.
39266 [non-C99-based standards] (asinhf): Likewise.
39267 [non-C99-based standards] (atanhf): Likewise.
39268 [non-C99-based standards] (cbrtf): Likewise.
39269 [non-C99-based standards] (expm1f): Likewise.
39270 [non-C99-based standards] (ilogbf): Likewise.
39271 [non-C99-based standards] (log1pf): Likewise.
39272 [non-C99-based standards] (logbf): Likewise.
39273 [non-C99-based standards] (nextafterf): Likewise.
39274 [non-C99-based standards] (remainderf): Likewise.
39275 [non-C99-based standards] (rintf): Likewise.
39276 [non-C99-based standards] (scalbf): Likewise.
39277 [non-C99-based standards] (copysignl): Likewise.
39278 [non-C99-based standards] (exp2l): Likewise.
39279 [non-C99-based standards] (log2l): Likewise.
39280 [non-C99-based standards] (modfl): Allow.
39281 [non-C99-based standards] (erfl): Do not allow.
39282 [non-C99-based standards] (erfcl): Likewise.
39283 [non-C99-based standards] (gammal): Likewise.
39284 [non-C99-based standards] (hypotl): Likewise.
39285 [non-C99-based standards] (j0l): Likewise.
39286 [non-C99-based standards] (j1l): Likewise.
39287 [non-C99-based standards] (jnl): Likewise.
39288 [non-C99-based standards] (lgammal): Likewise.
39289 [non-C99-based standards] (tgammal): Likewise.
39290 [non-C99-based standards] (y0l): Likewise.
39291 [non-C99-based standards] (y1l): Likewise.
39292 [non-C99-based standards] (ynl): Likewise.
39293 [non-C99-based standards] (isnanl): Likewise.
39294 [non-C99-based standards] (acoshl): Likewise.
39295 [non-C99-based standards] (asinhl): Likewise.
39296 [non-C99-based standards] (atanhl): Likewise.
39297 [non-C99-based standards] (cbrtl): Likewise.
39298 [non-C99-based standards] (expm1l): Likewise.
39299 [non-C99-based standards] (ilogbl): Likewise.
39300 [non-C99-based standards] (log1pl): Likewise.
39301 [non-C99-based standards] (logbl): Likewise.
39302 [non-C99-based standards] (nextafterl): Likewise.
39303 [non-C99-based standards] (remainderl): Likewise.
39304 [non-C99-based standards] (rintl): Likewise.
39305 [non-C99-based standards] (scalbl): Likewise.
39306 [ISO || ISO99 || ISO11] (*_t): Do not allow.
39307 [non-C99-based standards] (FP_*): Do not allow.
39308 [C99-based standards] (FP_*): Change to
39309 FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
39310 * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
39311 allow.
39312 * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
39313 (SIG_ERR): Likewise.
39314 [X/Open-based standards] (SIG_HOLD): Likewise.
39315 (SIG_IGN): Likewise.
39316 (SIGABRT): Use macro-int-constant. Specify type. Require
39317 positive value.
39318 (SIGFPE): Likewise.
39319 (SIGILL): Likewise.
39320 (SIGINT): Likewise.
39321 (SIGSEGV): Likewise.
39322 (SIGTER): Likewise.
39323 [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
39324 [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
39325 [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
39326 [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
39327 [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
39328 [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
39329 [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
39330 [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
39331 [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
39332 [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
39333 [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
39334 [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
39335 [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
39336 [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
39337 [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
39338 [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
39339 [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
39340 [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
39341 [X/Open-based standards] (SIGTRAP): Likewise.
39342 [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
39343 [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
39344 [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
39345 [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
39346 * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
39347 allow.
39348
b9f1922d
IW
393492012-05-08 Ian Wienand <ianw@vmware.com>
39350
39351 [BZ #14080]
39352 * time/tzset.c (__tzset_parse_tz): Update default rules for
39353 daylight time changes in the Energy Policy Act of 2005.
39354
1db86e88
AJ
393552012-05-09 Andreas Jaeger <aj@suse.de>
39356
39357 [BZ #13983]
39358 * elf/ldconfig.c (parse_conf): Change string to make clear that
39359 ldconfig only issued a warning if ld.so.conf does not exist.
39360
dee4a4e3
DM
393612012-05-08 David S. Miller <davem@davemloft.net>
39362
ee0db190
DM
39363 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
39364 movxtod instead of popping the value on the stack.
39365
dee4a4e3
DM
39366 * sysdeps/sparc/fpu/libm-test-ulps: Update.
39367
6a43ec98
CD
393682012-05-08 Carlos O'Donell <carlos_odonell@mentor.com>
39369
39370 * config.h.in: Add HAVE_ARM_PCS_VFP.
39371
05c2c961
RMG
393722012-05-08 Roland Mc Grath <roland@hack.frob.com>
39373
bcfe3a54
ST
39374 [BZ #13979]
39375 * include/features.h: Warn if user requests __FORTIFY_SOURCE
39376 checking but the checks are disabled for any reason.
05c2c961 39377
4b30f61a
L
393782012-05-08 H.J. Lu <hongjiu.lu@intel.com>
39379
39380 * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
39381 and ELF64_R_TYPE with ELFW(R_TYPE).
39382
eee2bc67
JM
393832012-05-08 Joseph Myers <joseph@codesourcery.com>
39384
7ea5391a
JM
39385 * sysdeps/unix/sysv/syscalls.list (pause): Remove.
39386 (ulimit): Likewise.
39387
eee2bc67
JM
39388 * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
39389 (settimeofday): Likewise.
39390
abb66a67
MF
393912012-05-08 Mike Frysinger <vapier@gentoo.org>
39392
39393 * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1. Add
39394 a struct th_u2 inside the union, and move tu_block/tu_code into
39395 a new th_u3 union of tu_block/tu_code inside of that. Move
39396 th_data[1] into the th_u2 as tu_data[0]. Change tu_stuff[1] to
39397 tu_stuff[0]. Add a new tu_padding[4] to keep sizeof() the same.
39398 (th_block): Change to th_u1.th_u2.th_u3.tu_block.
39399 (th_code): Change to th_u1.th_u2.th_u3.tu_code.
39400 (th_stuff): Change to th_u1.tu_stuff.
39401 (th_data): Define.
39402 (th_msg): Change to th_u1.th_u2.tu_data.
39403
7f18b530
DM
394042012-05-07 David S. Miller <davem@davemloft.net>
39405
05760585
DM
39406 * sysdeps/sparc/fpu/libm-test-ulps: Update.
39407
7f18b530
DM
39408 [BZ #14074]
39409 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
39410 (SETUP_PIC_REG): Use it.
39411 (SETUP_PIC_REG_LEAF): Use it.
39412
495fd99f
JM
394132012-05-07 Joseph Myers <joseph@codesourcery.com>
39414
39415 [BZ #13885]
39416 [BZ #13923]
39417 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
39418 USE_AS_EXPM1L.
39419 (EXPL_FINITE): Likewise.
39420 (FLDLOG): Likewise.
39421 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
39422 * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
39423 e_expl.S.
39424 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
39425 USE_AS_EXPM1L.
39426 (EXPL_FINITE): Likewise.
39427 (FLDLOG): Likewise.
39428 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
39429 * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
39430 e_expl.S.
39431 * math/libm-test.inc (expm1_test): Add more tests. Do not disable
39432 test of -max_value argument for long double.
39433 * sysdeps/i386/fpu/libm-test-ulps: Update.
39434 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39435
6693d694
DM
394362012-05-06 David S. Miller <davem@davemloft.net>
39437
39438 * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
39439 quad soft-float symbols whose references which are compiler
39440 generated.
39441 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
39442
6c23e11c
JM
394432012-05-06 Joseph Myers <joseph@codesourcery.com>
39444
d8b82cad
JM
39445 [BZ #13884]
39446 [BZ #13914]
39447 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
39448 USE_AS_EXP10L.
39449 (EXPL_FINITE): Likewise.
39450 (FLDLOG): Likewise.
39451 (c0): Likewise.
39452 (c1): Likewise.
39453 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
39454 Adjust comments for base varying.
39455 (__expl_finite): Change alias to EXPL_FINITE.
39456 * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
39457 e_expl.S.
39458 * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
39459 * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
39460 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
39461 * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
39462 * sysdeps/x86_64/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 * math/libm-test.inc (exp10_test): Add more tests. Do not disable
39472 tests for bugs.
39473 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
39474
6c23e11c
JM
39475 [BZ #14064]
39476 * math/libm-test.inc (check_float_internal): Correct ulp
39477 calculation for subnormal expected results.
39478
29ba805c
AJ
394792012-05-06 Andreas Jaeger <aj@suse.de>
39480
39481 * Makeconfig (+math-flags): New, set to -frounding-math.
39482 (+cflags): Add +math-flags so that all of glibc gets compiled with
39483 it.
39484
39485 * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
39486
7b17aeda
JM
394872012-05-05 Joseph Myers <joseph@codesourcery.com>
39488
5779f134
JM
39489 * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
39490 Disable one test.
39491
41498f4d
JM
39492 [BZ #13787]
39493 [BZ #13922]
39494 [BZ #14036]
39495 * sysdeps/i386/fpu/e_expl.S (csat): New constant.
39496 (__ieee754_expl): Allow for and saturate large arguments.
39497 * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
39498 (u_threshold): Likewise.
39499 (__exp): Call __ieee754_exp before checking for overflow and
39500 underflow.
39501 * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
39502 (u_threshold): Likewise.
39503 (__expf): Call __ieee754_expf before checking for overflow and
39504 underflow.
39505 * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
39506 (u_threshold): Likewise.
39507 (__expl): Call __ieee754_expl before checking for overflow and
39508 underflow.
39509 * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
39510 (__ieee754_expl): Allow for and saturate large arguments.
39511 * math/libm-test.inc (exp_test): Add another test. Do not allow
39512 missing overflow exception on overflow.
39513 (expm1_test): Do not allow missing overflow exception on overflow.
39514
6698b8bf
JM
39515 * sysdeps/i386/fpu/e_expl.c: Move to ...
39516 * sysdeps/i386/fpu/e_expl.S: ... here. Write directly in assembly
39517 rather than using inline asm.
39518 * sysdeps/x86_64/fpu/e_expl.c: Remove file.
39519 * sysdeps/x86_64/fpu/e_expl.S: Copy from
39520 sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
39521
7b17aeda
JM
39522 * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
39523 (nice): Likewise.
39524 (poll): Likewise.
39525 (signal): Likewise.
39526 (time): Likewise.
39527 (times): Likewise.
39528
f7c85819
JM
395292012-05-04 Joseph Myers <joseph@codesourcery.com>
39530
39531 * sysdeps/unix/syscalls.list (adjtime): Add entry from
39532 sysdeps/unix/common/syscalls.list.
39533 (fchmod): Likewise.
39534 (fchown): Likewise.
39535 (ftruncate): Likewise.
39536 (getrusage): Likewise.
39537 (gettimeofday): Likewise.
39538 (setpgid): Likewise.
39539 (setregid): Likewise.
39540 (setreuid): Likewise.
39541 (sigaction): Likewise.
39542 (truncate): Likewise.
39543 (vhangup): Likewise.
39544 * sysdeps/unix/common/syscalls.list: Remove file.
39545 * sysdeps/unix/bsd/Implies: Don't include unix/common.
39546 * sysdeps/unix/sysv/linux/Implies: Likewise.
39547
336270d0
L
395482012-05-04 H.J. Lu <hongjiu.lu@intel.com>
39549
39550 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
39551 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
39552 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
39553 Moved to ...
39554 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
39555 Here.
39556 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
39557 to ...
39558 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
39559 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
39560 to ...
39561 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
39562 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
39563 to ...
39564 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
39565 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
39566 to ...
39567 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
39568 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
39569 to ...
39570 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
39571 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
39572 to ...
39573 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
39574 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
39575 to ...
39576 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
39577 Here.
39578 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
39579 to ...
39580 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
39581 Here.
39582 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
39583 to ...
39584 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
39585 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
39586 Moved to ...
39587 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
39588 Here.
39589 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
39590 to ...
39591 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
39592
d128e450
JM
395932012-05-04 Joseph Myers <joseph@codesourcery.com>
39594
fa8ee516
JM
39595 * sysdeps/unix/common/bits/dirent.h: Remove file.
39596 * sysdeps/unix/common/bits/fcntl.h: Likewise.
39597
d128e450
JM
39598 * sysdeps/unix/bsd/bits/dirent.h: Remove file.
39599 * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
39600 * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
39601 * sysdeps/unix/bsd/isatty.c: Likewise.
39602 * sysdeps/unix/bsd/tcdrain.c: Likewise.
39603 * sysdeps/unix/bsd/tcgetattr.c: Likewise.
39604 * sysdeps/unix/bsd/tcsetattr.c: Likewise.
39605
ff8faaf0 396062012-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31dc8730 39607
62881be4 39608 [BZ #13563]
31dc8730
AZ
39609 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
39610 long double comparison inaccuracies.
39611 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
39612 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
39613
6fef930c
AS
396142012-05-04 Andreas Schwab <schwab@linux-m68k.org>
39615
39616 * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
39617 * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
39618
8f203e6c
JM
396192012-05-04 Joseph Myers <joseph@codesourcery.com>
39620
39621 [BZ #14049]
39622 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
39623 nonzero digits before rounding a hex value.
39624 * stdlib/tst-strtod.c (tests): Add another test.
39625
5197d9c2
AK
396262012-05-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
39627
39628 * sysdeps/s390/fpu/libm-test-ulps: Update.
39629
f0c1dedf
AJ
396302012-05-03 Andreas Jaeger <aj@suse.de>
39631
39632 * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
39633 does not get optimized out.
39634 (malloc_opt_barrier): New.
39635
a65ef2ae 396362012-05-03 Andreas Jaeger <aj@suse.de>
461b8e5a 39637 Roland McGrath <roland@hack.frob.com>
a65ef2ae 39638
2b942cb7 39639 * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
a65ef2ae 39640 intermediate file deletion.
2b942cb7 39641 (generated): Add .symlist files.
a65ef2ae 39642
54b71e02
JM
396432012-05-03 Joseph Myers <joseph@codesourcery.com>
39644
39645 [BZ #13775]
39646 * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
39647 Redirect under this condition.
39648 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
39649 [__USE_GNU] (__dprintf_chk): Not under this condition.
39650 [__USE_GNU] (__vdprintf_chk): Likewise.
39651 * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
39652 under this condition.
39653 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
39654 [__USE_XOPEN2K8] (dprintf): Define under this condition.
39655 [__USE_XOPEN2K8] (vdprintf): Likewise.
39656 [__USE_GNU] (__dprintf_chk): Not under this condition.
39657 [__USE_GNU] (__vdprintf_chk): Likewise.
39658 [__USE_GNU] (dprintf): Likewise.
39659 [__USE_GNU] (vdprintf): Likewise.
39660
d3dfcc41
RM
396612012-05-03 Roland McGrath <roland@hack.frob.com>
39662
39663 * elf/Makefile (common-generated): Set this instead of generated for
39664 .dyn, .phdr, .jmprel files. Remove $(common-objpfx) from the
39665 $(all-built-dso)-derived lists.
39666
7ac30cc5
AJ
396672012-05-03 Andreas Jaeger <aj@suse.de>
39668
0c51e550
AJ
39669 * sysdeps/i386/fpu/libm-test-ulps: Update.
39670
7ac30cc5
AJ
39671 * FAQ: Removed.
39672 * FAQ.in: Likewise.
39673 * scripts/gen-FAQ.pl: Likewise.
39674 * manual/install.texi (Installation): Point to online location of
39675 FAQ.
39676 * Makefile (files-for-dist): Remove FAQ.
39677 (FAQ): Remove.
39678
d4c2917f
AM
396792012-05-02 Allan McRae <allan@archlinux.org>
39680
39681 * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
39682 (LDFLAGS-reldepmod5.so): Likewise.
39683 (LDFLAGS-reldep6mod1.so): Likewise.
39684 (LDFLAGS-reldep6mod4.so): Likewise.
39685 (LDFLAGS-reldep8mod3.so): Likewise.
39686 (LDFLAGS-unload4mod1.so): Likewise.
39687 (LDFLAGS-unload4mod2.so): Likewise.
39688 (LDFLAGS-tst-initorder): Likewise.
39689 (LDFLAGS-tst-initordera2.so): Likewise.
39690 (LDFLAGS-tst-initordera3.so): Likewise.
39691 (LDFLAGS-tst-initordera4.so): Likewise.
39692 (LDFLAGS-tst-initorderb2.so): Likewise.
39693 (LDFLAGS-noload): Likewise.
39694 (LDFLAGS-next): Likewise.
39695 (LDFLAGS-order2mod1.so): Likewise.
39696 (LDFLAGS-order2mod2.so): Likewise.
39697 (LDFLAGS-tst-initorder2): Likewise.
39698 (LDFLAGS-tst-initorder2a.so): Likewise.
39699 (LDFLAGS-tst-initorder2b.so): Likewise.
39700 (LDFLAGS-tst-initorder2c.so): Likewise.
39701 * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
39702
d77f993f
DM
397032012-05-02 David S. Miller <davem@davemloft.net>
39704
39705 * sysdeps/sparc/fpu/libm-test-ulps: Update.
39706
171a70b4
PP
397072012-05-02 Paul Pluzhnikov <ppluzhnikov@google.com>
39708
39709 [BZ #14055]
39710 * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
39711
0be196ad
AJ
397122012-05-02 Andreas Jaeger <aj@suse.de>
39713
39714 * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
39715 since we manipulate rounding mode.
39716 (CPPFLAGS-test-idouble.c): Likewise.
39717 (CPPFLAGS-test-ifloat.c): Likewise.
39718 (CFLAGS-test-ldouble.c): Likewise.
39719 (CFLAGS-test-double.c): Likewise.
39720 (CFLAGS-test-float.c): Likewise.
39721 (CFLAGS-test-misc.c): Likewise.
39722 (CFLAGS-test-test-fenv.c): Likewise.
39723
4f9d04aa
AZ
397242012-05-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
39725
2b942cb7
RM
39726 [BZ #2550]
39727 [BZ #2570]
39728 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
39729 comparisons to determine direction to adjust input.
4f9d04aa 39730
82a79e7d
RM
397312012-05-01 Roland McGrath <roland@hack.frob.com>
39732
f5a01ca9
RM
39733 * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
39734 output to the target.
39735
90fe4186
RM
39736 * scripts/localplt.awk: New file.
39737 * elf/Makefile ($(objpfx)check-localplt): Target removed.
39738 (check-localplt-CFLAGS): Variable removed.
39739 ($(all-built-dso:=.jmprel)): New static pattern rule.
39740 (generated): Add those targets.
39741 (localplt-built-dso): New variable.
39742 ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
39743
39744 * elf/check-localplt.c: File removed.
39745
82397ed6
RM
39746 * scripts/check-execstack.awk: New file.
39747 * elf/Makefile ($(objpfx)check-execstack): Target removed.
39748 (check-execstack-CFLAGS): Variable removed.
39749 ($(objpfx)check-execstack.h): Target removed.
39750 ($(objpfx)execstack-default): New target.
39751 (generated): Add that instead of check-execstack.h.
39752 ($(all-built-dso:=.phdr)): New static pattern rule.
39753 (generated): Add those targets.
39754 * elf/check-execstack.c: File removed.
39755
82a79e7d
RM
39756 * scripts/check-textrel.awk: New file.
39757 * elf/Makefile ($(objpfx)check-textrel): Target removed.
39758 (check-textrel-CFLAGS): Variable removed.
39759 (all-built-dso): Use := to define.o
39760 ($(all-built-dso:=.dyn)): New static pattern rule.
39761 (generated): Add those targets.
39762 ($(objpfx)check-textrel.out): Use the script on the .dyn files.
39763 * config.make.in (READELF): New substituted variable.
39764 * elf/check-textrel.c: File removed.
39765
62fde54f 397662012-05-01 Joseph Myers <joseph@codesourcery.com>
ee74b9cb 39767
615605c9
JM
39768 * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
39769 allow.
39770 * conform/data/ctype.h-data [C99-based standards] (isblank):
39771 Expect function.
39772 (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
39773 (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
39774 [ISO || ISO99 || ISO11] (*_t): Do not allow.
39775 * conform/data/errno.h-data (EDOM): Use macro-int-constant.
39776 Specify type. Require positive value.
39777 (EILSEQ): Likewise.
39778 (ERANGE): Likewise.
39779 [ISO || POSIX] (EILSEQ): Do not expect.
39780 [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
39781 Specify type. Require positive value.
39782 [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
39783 [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
39784 [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
39785 [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
39786 [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
39787 [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
39788 [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
39789 [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
39790 [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
39791 [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
39792 [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
39793 [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
39794 [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
39795 [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
39796 [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
39797 [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
39798 [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
39799 [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
39800 [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
39801 [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
39802 [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
39803 [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
39804 [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
39805 [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
39806 [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
39807 [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
39808 [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
39809 [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
39810 [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
39811 [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
39812 [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
39813 [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
39814 [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
39815 [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
39816 [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
39817 [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
39818 [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
39819 [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
39820 [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
39821 [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
39822 [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
39823 [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
39824 [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
39825 [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
39826 [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
39827 [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
39828 [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
39829 [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
39830 [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
39831 [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
39832 [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
39833 [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
39834 [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
39835 [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
39836 [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
39837 [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
39838 [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
39839 [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
39840 [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
39841 [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
39842 [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
39843 [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
39844 [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
39845 [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
39846 [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
39847 [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
39848 [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
39849 [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
39850 [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
39851 [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
39852 [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
39853 [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
39854 [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
39855 [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
39856 [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
39857 [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
39858 * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
39859 Require >= 2.
39860 (FLT_ROUNDS): Expect as macro, not constant.
39861 (FLT_MANT_DIG): Use macro-int-constant.
39862 (DBL_MANT_DIG): Likewise.
39863 (LDBL_MANT_DIG): Likewise.
39864 (FLT_DIG): Likewise.
39865 (DBL_DIG): Likewise.
39866 (LDBL_DIG): Likewise.
39867 (FLT_MIN_EXP): Use macro-int-constant. Require < 0.
39868 (DBL_MIN_EXP): Likewise.
39869 (LDBL_MIN_EXP): Likewise.
39870 (FLT_MAX_EXP): Use macro-int-constant.
39871 (DBL_MAX_EXP): Likewise.
39872 (LDBL_MAX_EXP): Likewise.
39873 (FLT_MAX_10_EXP): Likewise.
39874 (DBL_MAX_10_EXP): Likewise.
39875 (LDBL_MAX_10_EXP): Likewise.
39876 (FLT_MAX): Use macro-constant.
39877 (DBL_MAX): Likewise.
39878 (LDBL_MAX): Likewise.
39879 (FLT_EPSILON): Use macro-constant. Give upper bound.
39880 (DBL_EPSILON): Likewise.
39881 (LDBL_EPSILON): Likewise.
39882 (FLT_MIN): Likewise.
39883 (DBL_MIN): Likewise.
39884 (LDBL_MIN): Likewise.
39885 [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
39886 [C99-based standards] (FLT_EVAL_METHOD): Likewise.
39887 [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
39888 [ISO11] (FLT_HAS_SUBNORM): Likewise.
39889 [ISO11] (LDBL_HAS_SUBNORM): Likewise.
39890 [ISO11] (DBL_DECIMAL_DIG): Likewise.
39891 [ISO11] (FLT_DECIMAL_DIG): Likewise.
39892 [ISO11] (LDBL_DECIMAL_DIG): Likewise.
39893 [ISO11] (DBL_TRUE_MIN): Use macro-constant.
39894 [ISO11] (FLT_TRUE_MIN): Likewise.
39895 [ISO11] (LDBL_TRUE_MIN): Likewise.
39896 [ISO || ISO99 || ISO11] (*_t): Do not allow.
39897 * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
39898 (SCHAR_MIN): Use macro-int-constant. Specify type.
39899 (SCHAR_MAX): Likewise.
39900 (UCHAR_MAX): Likewise.
39901 (CHAR_MIN): Likewise.
39902 (CHAR_MAX): Likewise.
39903 (MB_LEN_MAX): Use macro-int-constant.
39904 (SHRT_MIN): Use macro-int-constant. Specify type.
39905 (SHRT_MAX): Likewise.
39906 (USHRT_MAX): Likewise.
39907 (INT_MAX): Likewise.
39908 (INT_MIN): Use macro-int-constant. Specify type. Make upper
39909 bound negative.
39910 (UINT_MAX): Use macro-int-constant. Specify type. Suffix lower
39911 bound with "U".
39912 (LONG_MAX): Use macro-int-constant. Specify type. Suffix lower
39913 bound with "L".
39914 (LONG_MIN): Use macro-int-constant. Specify type. Make upper
39915 bound negative. Suffix upper bound with "L".
39916 (ULONG_MAX): Use macro-int-constant. Specify type. Suffix lower
39917 bound with "UL".
39918 [C99-based standards] (LLONG_MIN): Use macro-int-constant.
39919 Specify type.
39920 [C99-based standards] (LLONG_MAX): Likewise.
39921 [C99-based standards] (ULLONG_MAX): Likewise.
39922 * conform/data/stddef.h-data (NULL): Use macro-constant. Require
39923 == 0.
39924 [ISO11] (max_align_t): Require type.
39925 [ISO || ISO99 || ISO11] (*_t): Do not allow.
39926
c9140a62
JM
39927 * conform/conformtest.pl ($CFLAGS_namespace): Define separately
39928 from $CFLAGS, without defining away __attribute__ calls.
39929 (checknamespace): Use $CFLAGS_namespace.
39930
9af0bf29
JM
39931 * conform/conformtest.pl (@keywords): Only include C99 keywords
39932 for standards based on C99 or C11.
39933
343222a2
JM
39934 * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
39935 Disable tests.
39936 * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
39937 UNIX98]: Likewise.
39938
661f8cf0
JM
39939 * conform/conformtest.pl: Handle "macro-int-constant" and test for
39940 usability of symbols in #if.
39941
ee74b9cb
JM
39942 * conform/conformtest.pl: If macro or constant types start
39943 "promoted:", expect the symbol to be of the following type
39944 promoted by the integer promotions.
62fde54f 39945
aafc49b3
JM
39946 * conform/conformtest.pl: Parse all "constant" and "macro" lines
39947 in one place. Also handle "macro-constant".
39948
fefdf574
JM
39949 * conform/conformtest.pl: Only accept expected macro values with
39950 "==". Parse all "macro" lines in one place.
39951 * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
39952
f2d922fe
JM
39953 * conform/conformtest.pl: Handle braced types on "constant" lines
39954 instead of handling "typed-constant".
39955 * conform/data/signal.h-data: Use "constant" instead of
39956 "typed-constant".
39957
d22956c9
JM
39958 * conform/conformtest.pl: Handle "optional-" at start of lines in
39959 one place rather than duplicating several cases. Handle each
39960 format of "macro" line with initial "optional-".
39961
028e2e38
JM
39962 * conform/conformtest.pl: Only accept expected constant or
39963 optional-constant values with "==". Parse all "constant" lines in
39964 one place. Parse all "optional-constant" lines in one place.
39965 * conform/data/cpio.h-data: Use "==" form on "constant" lines.
39966 * conform/data/fmtmsg.h-data: Likewise.
39967 * conform/data/netinet/in.h-data: Likewise.
39968 * conform/data/tar.h-data: Likewise.
39969 * conform/data/limits.h-data: Use "==" form on "constant" and
39970 "optional-constant" lines.
39971
1b8f2850
JM
39972 * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
39973 Use -std=c99 for XOPEN2K.
39974 (@knownproblems): Remove.
39975 (newtoken): Don't check %isknown.
39976
a05a144b
JM
39977 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
39978 Do not expect macro.
39979 [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
39980 [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
39981 [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
39982 [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
39983 [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
39984 [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
39985 [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
39986 [XPG3 || XPG4 || UNIX98] (isless): Likewise.
39987 [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
39988 [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
39989 [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
39990 [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
39991 [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
39992 [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
39993 [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
39994 [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
39995 [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
39996 [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
39997 [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
39998 [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
39999 [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
40000 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
40001 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
40002 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
40003 [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
40004 [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
40005 [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
40006 [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
40007 [XPG3 || XPG4 || UNIX98] (log2): Likewise.
40008 [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
40009 [XPG3] (acosh): Likewise.
40010 [XPG3] (asinh): Likewise.
40011 [XPG3] (atanh): Likewise.
40012 [XPG3] (cbrt): Likewise.
40013 [XPG3] (expm1): Likewise.
40014 [XPG3] (ilogb): Likewise.
40015 [XPG3] (log1p): Likewise.
40016 [XPG3] (logb): Likewise.
40017 [XPG3] (nextafter): Likewise.
40018 [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
40019 [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
40020 [XPG3] (remainder): Likewise.
40021 [XPG3] (rint): Likewise.
40022 [XPG3 || XPG4 || UNIX98] (round): Likewise.
40023 [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
40024 [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
40025 [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
40026 [XPG3 || XPG4 || UNIX98] (lround): Likewise.
40027 [XPG3 || XPG4 || UNIX98] (llround): Likewise.
40028 [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
40029 [UNIX98 || XOPEN2K] (scalb): Expect.
40030 [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
40031 [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
40032 [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
40033 [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
40034 [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
40035 [XPG3 || XPG4 || UNIX98] (fma): Likewise.
40036 [XPG3 || XPG4 || UNIX98] (nan): Likewise.
40037 [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
40038 [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
40039 [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
40040 [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
40041 [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
40042 [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
40043 [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
40044 [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
40045 [XPG3 || XPG4 || UNIX98] (expf): Likewise.
40046 [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
40047 [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
40048 [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
40049 [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
40050 [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
40051 [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
40052 [XPG3 || XPG4 || UNIX98] (logf): Likewise.
40053 [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
40054 [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
40055 [XPG3 || XPG4 || UNIX98] (modff): Likewise.
40056 [XPG3 || XPG4 || UNIX98] (powf): Likewise.
40057 [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
40058 [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
40059 [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
40060 [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
40061 [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
40062 [XPG3 || XPG4 || UNIX98] (erff): Likewise.
40063 [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
40064 [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
40065 [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
40066 [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
40067 [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
40068 [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
40069 [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
40070 [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
40071 [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
40072 [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
40073 [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
40074 [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
40075 [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
40076 [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
40077 [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
40078 [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
40079 [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
40080 [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
40081 [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
40082 [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
40083 [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
40084 [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
40085 [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
40086 [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
40087 [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
40088 [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
40089 [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
40090 [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
40091 [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
40092 [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
40093 [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
40094 [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
40095 [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
40096 [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
40097 [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
40098 [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
40099 [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
40100 [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
40101 [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
40102 [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
40103 [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
40104 [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
40105 [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
40106 [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
40107 [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
40108 [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
40109 [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
40110 [XPG3 || XPG4 || UNIX98] (expl): Likewise.
40111 [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
40112 [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
40113 [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
40114 [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
40115 [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
40116 [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
40117 [XPG3 || XPG4 || UNIX98] (logl): Likewise.
40118 [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
40119 [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
40120 [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
40121 [XPG3 || XPG4 || UNIX98] (powl): Likewise.
40122 [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
40123 [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
40124 [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
40125 [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
40126 [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
40127 [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
40128 [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
40129 [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
40130 [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
40131 [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
40132 [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
40133 [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
40134 [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
40135 [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
40136 [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
40137 [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
40138 [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
40139 [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
40140 [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
40141 [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
40142 [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
40143 [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
40144 [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
40145 [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
40146 [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
40147 [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
40148 [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
40149 [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
40150 [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
40151 [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
40152 [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
40153 [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
40154 [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
40155 [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
40156 [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
40157 [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
40158 [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
40159 [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
40160 [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
40161 [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
40162 [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
40163 [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
40164 [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
40165 [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
40166 [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
40167
73c5ebe3
JM
40168 * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
40169 _XOPEN_SOURCE_EXTENDED for XPG4.
40170
39c33b6c
JM
40171 * conform/conformtest.pl: Handle "symbol" lines for allow-header.
40172
62fde54f
JM
40173 * Makeconfig (localtime): Remove variable.
40174 (inst_localtime-file): Likewise.
40175
0741d64c
AS
401762012-05-01 Andreas Schwab <schwab@linux-m68k.org>
40177
40178 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
40179 Update.
40180 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
40181 Update.
40182 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
40183 Update.
40184 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
40185 Update.
40186 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
40187 Update.
40188 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
40189 Update.
40190 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
40191 Update.
40192 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
40193 Update.
40194 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
40195 Update.
40196
7cb029ee
JM
401972012-05-01 Joseph Myers <joseph@codesourcery.com>
40198
40199 [BZ #2550]
40200 [BZ #2570]
40201 * math/s_nexttowardf.c (__nexttowardf): Use floating-point
40202 comparisons to determine direction to adjust input.
40203 * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
40204 * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
40205 * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
40206 Likewise.
40207 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
40208 Likewise.
40209 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
40210 Likewise.
40211 * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
40212 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
40213 Likewise.
40214 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
40215 Likewise.
40216 * math/libm-test.inc (nexttoward_test): Add more tests.
40217
412bd966
AS
402182012-05-01 Andreas Schwab <schwab@linux-m68k.org>
40219
40220 [BZ #14040]
40221 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
40222 in version GLIBC_2.1, not GLIBC_2.0.
40223 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
40224 Likewise.
40225
9568c0c2
JM
402262012-04-30 Joseph Myers <joseph@codesourcery.com>
40227
adfbc8ac
JM
40228 [BZ #13942]
40229 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
40230 (1 - x) * (1 + x).
40231 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
40232 * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
40233 * math/libm-test.inc (acos_test): Add more tests.
40234 (asin_test): Likewise.
40235 * sysdeps/i386/fpu/libm-test-ulps: Update.
40236 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40237
5ba3cc69
JM
40238 [BZ #14034]
40239 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
40240 of square root.
40241 * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
40242 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
40243 * math/libm-test.inc (acos_test_tonearest): New function.
40244 (acos_test_towardzero): Likewise.
40245 (acos_test_downward): Likewise.
40246 (acos_test_upward): Likewise.
40247 (asin_test_tonearest): Likewise.
40248 (asin_test_towardzero): Likewise.
40249 (asin_test_downward): Likewise.
40250 (asin_test_upward): Likewise.
40251 (main): Call the new functions.
40252 * sysdeps/i386/fpu/libm-test-ulps: Update.
40253 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
40254
9568c0c2
JM
40255 [BZ #13884]
40256 [BZ #13924]
40257 * math/e_exp10.c: Include <float.h>.
40258 (__ieee754_exp10): Handle underflow here rather than multiplying
40259 large negative argument by M_LN10.
40260 * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
40261 of __ieee754_expf.
40262 * math/e_exp10l.c: Include <float.h>.
40263 (__ieee754_exp10l): Handle underflow here rather than multiplying
40264 large negative argument by M_LN10l.
40265 * math/libm-test.inc (exp10_test): Add another test. Do not allow
40266 spurious overflow exception on underflow.
40267
5ac3ea17
MP
402682012-04-29 Marek Polacek <polacek@redhat.com>
40269
40270 * misc/sys/cdefs.h (__attribute_artificial__): New macro.
40271 (__fortify_function): New macro.
40272 (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
40273 * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
40274 __extern_always_inline.
40275 * libio/bits/stdio2.h: Likewise.
40276 * libio/bits/stdio.h: Likewise.
40277 * string/string.h: Likewise.
40278 * string/bits/string3.h: Likewise.
40279 * include/stdio.h: Likewise.
40280 * stdlib/bits/stdlib.h: Likewise.
40281 * stdlib/stdlib.h: Likewise.
40282 * rt/bits/mqueue2.h: Likewise.
40283 * rt/mqueue.h: Likewise.
40284 * posix/bits/unistd.h: Likewise.
40285 * posix/unistd.h: Likewise.
40286 * io/bits/poll2.h: Likewise.
40287 * io/bits/fcntl2.h: Likewise.
40288 * io/fcntl.h: Likewise.
40289 * io/sys/poll.h: Likewise.
40290 * misc/bits/syslog.h: Likewise.
40291 * misc/bits/syslog-ldbl.h: Likewise.
40292 * misc/sys/syslog.h: Likewise.
40293 * socket/bits/socket2.h: Likewise.
40294 * socket/sys/socket.h: Likewise.
40295 * debug/tst-chk1.c: Likewise.
40296 * wcsmbs/bits/wchar2.h: Likewise.
40297 * wcsmbs/bits/wchar-ldbl.h: Likewise.
40298 * wcsmbs/wchar.h: Likewise.
40299
ecf0ebfb
AJ
403002012-04-29 Andreas Jaeger <aj@suse.de>
40301
40302 * Makerules (tests): Remove enable-check-abi protection.
40303 (check-abi-warn): Remove.
40304 (check-abi-%): Remove check-abi-warn usage.
40305
40306 * configure.in: Remove check-abi configure option.
40307 * configure: Regenerated.
40308 * config.make.in (enable-check-abi): Remove.
40309
6d5c57fa
AS
403102012-04-28 Andreas Schwab <schwab@linux-m68k.org>
40311
24c5d07e 40312 [BZ #14033]
ded5180a
AS
40313 * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
40314 double functions to double *_finite functions.
40315
7e0d315d
AS
40316 [BZ #13941]
40317 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
40318 (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
40319 LDBL_MIN_EXP.
40320 * stdio-common/Makefile (tests): Add tst-sprintf3.
40321 * stdio-common/tst-sprintf3.c: New file.
40322
6d5c57fa
AS
40323 * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
40324 ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
40325
0749ff8b
JM
403262012-04-28 Joseph Myers <joseph@codesourcery.com>
40327
40328 * conform/conformtest.pl: Remove duplicate typed-constant
40329 handling.
40330
8dbd5d7b
DM
403312012-04-28 David S. Miller <davem@davemloft.net>
40332
40333 * Makerules (%.abilist): Add vpath on sysdep_dirs.
40334 (check-abi-%): Remove AWK script prerequisite and explicit
40335 abilist directory.
40336 (check-abi): Rewrite to just diff the symlist with the abilist.
40337 (config-tls, config-abi-config): Delete, no longer used.
40338 (update-abi-%): Remove AWK script and explicit abilist directory.
40339 (update-abi): Rewrite to simply compare and conditionally copy the
40340 symlist and the sysdep abilist file. Remove update-abi-config
40341 checks.
40342 * abilist/ld.abilist: Remove.
40343 * abilist/libBrokenLocale.abilist: Remove.
40344 * abilist/libanl.abilist: Remove.
40345 * abilist/libcrypt.abilist: Remove.
40346 * abilist/libdl.abilist: Remove.
40347 * abilist/librt.abilist: Remove.
40348 * abilist/libthread_db.abilist: Remove.
40349 * abilist/libutil.abilist: Remove.
40350 * scripts/extract-abilist.awk: Remove.
40351 * scripts/merge-abilist.awk: Remove.
40352 * sysdeps/generic/libcidn.abilist: New file.
40353 * sysdeps/generic/libnss_compat.abilist: New file.
40354 * sysdeps/generic/libnss_db.abilist: New file.
40355 * sysdeps/generic/libnss_dns.abilist: New file.
40356 * sysdeps/generic/libnss_files.abilist: New file.
40357 * sysdeps/generic/libnss_hesiod.abilist: New file.
40358 * sysdeps/generic/libnss_nis.abilist: New file.
40359 * sysdeps/generic/libnss_nisplus.abilist: New file.
40360 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
40361 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
40362 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
40363 file.
40364 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
40365 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
40366 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
40367 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
40368 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
40369 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
40370 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
40371 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
40372 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
40373 file.
40374 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
40375 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
40376 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
40377 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
40378 file.
40379 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
40380 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
40381 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
40382 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
40383 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
40384 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
40385 file.
40386 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
40387 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
40388 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
40389 file.
40390 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
40391 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
40392 New file.
40393 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
40394 New file.
40395 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
40396 New file.
40397 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
40398 New file.
40399 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
40400 New file.
40401 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
40402 New file.
40403 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
40404 New file.
40405 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
40406 New file.
40407 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
40408 New file.
40409 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
40410 New file.
40411 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
40412 New file.
40413 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
40414 New file.
40415 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
40416 New file.
40417 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
40418 file.
40419 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
40420 New file.
40421 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
40422 New file.
40423 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
40424 file.
40425 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
40426 New file.
40427 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
40428 New file.
40429 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
40430 file.
40431 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
40432 New file.
40433 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
40434 New file.
40435 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
40436 New file.
40437 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
40438 New file.
40439 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
40440 New file.
40441 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
40442 New file.
40443 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
40444 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
40445 file.
40446 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
40447 New file.
40448 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
40449 file.
40450 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
40451 file.
40452 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
40453 file.
40454 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
40455 file.
40456 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
40457 file.
40458 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
40459 New file.
40460 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
40461 file.
40462 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
40463 file.
40464 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
40465 New file.
40466 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
40467 file.
40468 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
40469 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
40470 file.
40471 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
40472 New file.
40473 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
40474 file.
40475 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
40476 file.
40477 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
40478 file.
40479 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
40480 file.
40481 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
40482 file.
40483 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
40484 New file.
40485 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
40486 file.
40487 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
40488 file.
40489 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
40490 New file.
40491 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
40492 file.
40493 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
40494 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
40495 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
40496 file.
40497 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
40498 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
40499 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
40500 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
40501 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
40502 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
40503 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
40504 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
40505 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
40506 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
40507 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
40508 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
40509 file.
40510 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
40511 New file.
40512 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
40513 file.
40514 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
40515 file.
40516 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
40517 file.
40518 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
40519 file.
40520 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
40521 file.
40522 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
40523 New file.
40524 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
40525 New file.
40526 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
40527 file.
40528 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
40529 New file.
40530 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
40531 file.
40532 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
40533 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
40534 file.
40535 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
40536 New file.
40537 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
40538 file.
40539 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
40540 file.
40541 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
40542 file.
40543 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
40544 file.
40545 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
40546 file.
40547 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
40548 New file.
40549 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
40550 New file.
40551 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
40552 file.
40553 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
40554 New file.
40555 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
40556 file.
40557
41d73a1b
JM
405582012-04-28 Joseph Myers <joseph@codesourcery.com>
40559
40560 * conform/conformtest.pl: Fix typo in handling typed-constant from
40561 allow-header.
40562
28aeeda4
JM
405632012-04-27 Joseph Myers <joseph@codesourcery.com>
40564
adae8f5e
JM
40565 * README: Cut down references to pre-2.6 Linux kernels and
40566 Linuxthreads. Update lists of configurations in libc and ports
40567 and sort alphabetically. Say "or newer" with Linux kernel version
40568 requirements.
40569
28aeeda4
JM
40570 * config.h.in [IS_IN_build]: Allow compiling without optimization.
40571
a462cb63
RA
405722012-04-27 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
40573
40574 [BZ #887]
40575 * math/libm-test.inc (logb_test_downward): New test to expose
40576 erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
40577 rounding mode.
40578
6ad3493e
JM
405792012-04-27 Joseph Myers <joseph@codesourcery.com>
40580
40581 [BZ #14027]
40582 * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
40583 to be done.
40584 * math/fraiseexcpt.c (__feraiseexcept): Likewise.
40585 * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
40586
2ce4f015
JM
405872012-04-26 Joseph Myers <joseph@codesourcery.com>
40588
5aeb141a
JM
40589 * sysdeps/unix/i386/brk.S: Remove file.
40590 * sysdeps/unix/i386/dl-brk.S: Likewise.
40591 * sysdeps/unix/i386/pipe.S: Likewise.
40592 * sysdeps/unix/i386/sigreturn.S: Likewise.
40593 * sysdeps/unix/i386/syscall.S: Likewise.
40594 * sysdeps/unix/i386/vfork.S: Likewise.
40595 * sysdeps/unix/i386/wait.S: Likewise.
40596
7143acae
JM
40597 * sysdeps/unix/common/tcsendbrk.c: Move to ...
40598 * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
40599
2ce4f015
JM
40600 * configure.in (arm*-none*): Do not allow without
40601 --enable-hacker-mode.
40602 (netbsd*): Remove case setting base_os.
40603 (386bsd*): Likewise.
40604 (freebsd*): Likewise.
40605 (bsdi*): Likewise.
40606 (osf*): Likewise.
40607 (sunos*): Likewise.
40608 (ultrix*): Likewise.
40609 (newsos*): Likewise.
40610 (dynix*): Likewise.
40611 (*bsd*): Likewise.
40612 (sysv*): Likewise.
40613 (isc*): Likewise.
40614 (esix*): Likewise.
40615 (sco*): Likewise.
40616 (minix*): Likewise.
40617 (irix4*): Likewise.
40618 (irix6*): Likewise.
40619 (solaris[2-9]*): Likewise.
40620 (none): Likewise.
40621 * configure: Regenerated.
40622
0ac229c8
AZ
406232012-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
40624
40625 [BZ #11521]
40626 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
40627 overflow or cancellation in calculating denominator.
40628 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
40629 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
40630 down expression to avoid unexpected rounding in newer GCCs.
40631 * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
40632
33f244f4
DM
406332012-04-26 David S. Miller <davem@davemloft.net>
40634
40635 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
40636 long-double compat symbols.
40637 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
40638 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
40639 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
40640 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
40641 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
40642 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
40643 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
40644 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
40645 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
40646 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
40647 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
40648 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
40649 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
40650
cfa1f3e8
DM
406512012-04-25 David S. Miller <davem@davemloft.net>
40652
40653 * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
40654 HWCAP_* values only after the memory barriers have been defined.
40655 (atomic_full_barrier): Define.
40656 (atomic_read_barrier): Define.
40657 (atomic_write_barrier): Define.
40658
6e236b92
SP
406592012-04-26 Siddhesh Poyarekar <siddhesh@redhat.com>
40660
40661 * shlib-versions: Add libgcc_s version information.
40662 * sysdeps/generic/libgcc_s.h: Remove.
40663 * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
40664 libgcc_s.h.
40665 * sysdeps/gnu/unwind-resume.c: Likewise.
40666 * scripts/test-installation.pl: Remove libgcc_s from link_libs.
40667
aab39a09
DM
406682012-04-25 David S. Miller <davem@davemloft.net>
40669
40670 * sysdeps/unix/sparc/brk.S: Delete.
40671 * sysdeps/unix/sparc/dl-brk.S: Delete.
40672 * sysdeps/unix/sparc/pipe.S: Delete.
40673 * sysdeps/unix/sparc/sysdep.S: Delete.
40674 * sysdeps/unix/sparc/sysdep.h: Delete.
40675 * sysdeps/unix/sparc/vfork.S: Delete.
57f41c40
AS
40676 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG)
40677 (SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
40678 * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO)
40679 (ret_ERRVAL, r0, r1, MOVE): Define.
aab39a09
DM
40680 (JUMPTARGET): Remove.
40681 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
40682 sysdeps/unix/sparc/sysdep.h
40683 (ENTRY, END): Remove.
40684 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
40685
a3cc4f48
JM
406862012-04-25 Joseph Myers <joseph@codesourcery.com>
40687
2ed8cda2
JM
40688 * Makerules (native-compile): Use $(BUILD_LDFLAGS).
40689 (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
40690 -DIS_IN_build.
40691
35d76d59
JM
40692 * timezone/README: Update upstream location and email address for
40693 tzcode and tzdata.
40694 * timezone/zdump.c: Update from tzcode 2012b.
40695 * timezone/zic.c: Likewise.
40696
a3cc4f48
JM
40697 * configure.in (libc_cv_as_needed): Remove test.
40698 * configure: Regenerated.
40699 * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
40700 conditional definition.
40701 [$(have-as-needed) != yes] (no-as-needed): Likewise.
40702 [$(have-as-needed) != yes] (libgcc_eh): Likewise.
40703 * config.make.in (have-as-needed): Remove variable.
40704
ceab42c3
SP
407052012-04-25 Siddhesh Poyarekar <siddhesh@redhat.com>
40706 Paul Pluzhnikov <ppluzhnikov@google.com>
40707
40708 * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
40709 strings correctly.
40710
3ce2865f
CLT
407112012-04-25 Chung-Lin Tang <cltang@codesourcery.com>
40712
40713 * sysdeps/sh/memcpy.S: Remove include of endian.h, change
40714 preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
40715 * sysdeps/sh/strlen.S: Likewise.
40716
f37e0d68
JM
407172012-04-24 Joseph Myers <joseph@codesourcery.com>
40718
ae186e9a
JM
40719 * sysdeps/unix/fork.S: Remove file.
40720 * sysdeps/unix/i386/fork.S: Likewise.
40721 * sysdeps/unix/sparc/fork.S: Likewise.
40722
b96914af
JM
40723 * sysdeps/unix/system.c: Remove file.
40724 * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
40725
f37e0d68
JM
40726 * sysdeps/unix/getegid.S: Remove file.
40727 * sysdeps/unix/geteuid.S: Likewise.
40728
87ef29ca
RM
407292012-04-24 Roland McGrath <roland@hack.frob.com>
40730
83bcd236
RM
40731 * scripts/check-localplt.awk: New file.
40732 * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
40733 of diff.
40734 * scripts/data/localplt-generic.data: Add a comment.
40735
87ef29ca
RM
40736 * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
40737 NODE when __dir_mkfile failed.
40738 * sysdeps/mach/hurd/symlinkat.c: Likewise.
40739 Reported by Ludovic Courtès <ludo@gnu.org>.
40740
e5a6e567
AJ
407412012-04-24 Andreas Jaeger <aj@suse.de>
40742
40743 * Makerules (common-clean): Also remove gen-as-const-headers
40744 files.
40745
c1820385
JM
407462012-04-24 Joseph Myers <joseph@codesourcery.com>
40747
40748 * Makerules (native-compile): Do not change working directory for
40749 build. Use $(OUTPUT_OPTION) in command.
40750 (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
40751
94e02fc4
AZ
407522012-04-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
40753
40754 [BZ #13886]
40755 * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
40756 sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
40757 * math/libm-test.inc (floor_test): Add more tests.
40758 * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
40759
3a533ca3
JM
407602012-04-24 Joseph Myers <joseph@codesourcery.com>
40761
940ab4b3
JM
40762 * sysdeps/unix/getdents.c: Remove file.
40763 * sysdeps/unix/sysv/getdents.c: Likewise.
40764 * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
40765
90e037bd
JM
40766 * sysdeps/unix/syscalls.list (madvise): Add syscall from
40767 sysdeps/unix/mman/syscalls.list.
40768 (mmap): Likewise.
40769 (mprotect): Likewise.
40770 (msync): Likewise.
40771 (munmap): Likewise.
40772 * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
40773 * sysdeps/unix/mman/syscalls.list: Remove.
40774 * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
40775
3a533ca3
JM
40776 * configure.in (libc_cv_libgcc_s_suffix): Remove test.
40777 (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
40778 * configure: Regenerated.
40779 * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
40780 $(libgcc_s_suffix).
40781 * config.make.in (libgcc_s_suffix): Remove variable.
40782
1ad743de
JM
407832012-04-23 Joseph Myers <joseph@codesourcery.com>
40784
4ad451e2
JM
40785 * sysdeps/unix/sysv/gethostname.c: Move to ...
40786 * sysdeps/posix/gethostname.c: ... here.
40787
5e37ce39
JM
40788 * sysdeps/unix/execve.S: Remove file.
40789
1ad743de
JM
40790 * sysdeps/unix/_exit.S: Remove file.
40791
4e681b5b
AJ
407922012-04-23 Andreas Jaeger <aj@suse.de>
40793
40794 [BZ #13739]
40795 * manual/Makefile: Remove make dist support, there's no
40796 need for a stand-alone documentation tar ball.
40797 (TEXI2DVI): Define always, it's not in Makeconfig.
40798 (dist): Removed.
40799 (tar-it): Removed.
40800 (edition): Removed.
40801 (glibc-doc-$(edition).tar): Removed
40802 (%.Z): Removed.
40803 (%.gz): Removed.
40804 (%.uu): Removed.
40805 (ETAGS): Remove, it's in Makeconfig.
40806 (move-if-change): Remove, it's in Makeconfig.
40807
38686a03 408082012-04-23 Paul Eggert <eggert@cs.ucla.edu>
c0baea34
PE
40809
40810 [BZ #13970]
40811 * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
40812 (strtod, strtof, strtold, strtol, strtoul, strtoq)
40813 (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
40814 (strtod_l, strtof_l, strtold_l): Remove __wur.
40815 It is not necessarily an error to ignore strtol's return value.
40816 One can reliably look at the stored endptr to decide whether
40817 the number had valid syntax.
40818
7c0616fa
AJ
408192012-04-21 Andreas Jaeger <aj@suse.de>
40820
803cb6b7 40821 [BZ #13739]
7c0616fa
AJ
40822 * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
40823
b0fe253f
JM
408242012-04-21 Joseph Myers <joseph@codesourcery.com>
40825
40826 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
40827 * sysdeps/unix/sysv/Versions: Remove file.
40828
8280f22d
MT
408292012-04-21 Markus Trippelsdorf <markus@trippelsdorf.de>
40830
40831 [BZ #13927]
40832 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
40833
75ce411f 408342012-04-21 Nick Alcock <nick.alcock@oracle.com>
b8e33728
N
40835
40836 [BZ #7064]
40837 * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
40838 version from __vm86.
40839
097d59fa
JM
408402012-04-20 Joseph Myers <joseph@codesourcery.com>
40841
a90f3bcb
JM
40842 * sysdeps/unix/common/lxstat.c: Remove file.
40843 * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
40844
edc7ea78
JM
40845 * sysdeps/unix/sysv/Makefile: Remove file.
40846
cb78c221
JM
40847 * sysdeps/unix/sysv/direct.h: Remove file.
40848
efa6a45f
JM
40849 * sysdeps/unix/sysv/bits/dirent.h: Remove file.
40850 * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
40851 * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
40852 * sysdeps/unix/sysv/bits/signum.h: Likewise.
40853 * sysdeps/unix/sysv/bits/stat.h: Likewise.
40854 * sysdeps/unix/sysv/bits/utmp.h: Likewise.
40855 * sysdeps/unix/sysv/bits/utsname.h: Likewise.
40856
9c9f2d0c
JM
40857 * sysdeps/unix/sysv/setrlimit.c: Remove file.
40858
4541c83b
JM
40859 * sysdeps/unix/xmknod.c: Remove file.
40860 * sysdeps/unix/syscalls.list (sys_mknod): Remove.
40861
f5d153a0
JM
40862 * sysdeps/unix/sysv/settimeofday.c: Remove file.
40863
aa746595
JM
40864 * sysdeps/unix/sysv/i386/time.S: Remove file.
40865
cce5905e
JM
40866 * sysdeps/unix/fxstat.c: Remove file.
40867 * sysdeps/unix/xstat.c: Likewise.
40868 * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
40869
37fa3841
JM
40870 * sysdeps/unix/sysv/sigaction.c: Remove file.
40871
ff1962a3
JM
40872 * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
40873 (sysdep_headers): Remove variable.
40874 [termio.h not in sysdep_headers] (generated): Likewise.
40875 [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
40876 * sysdeps/unix/sysv/sysv_termio.h: Remove file.
40877 * sysdeps/unix/sysv/tcdrain.c: Likewise.
40878 * sysdeps/unix/sysv/tcflow.c: Likewise.
40879 * sysdeps/unix/sysv/tcflush.c: Likewise.
40880 * sysdeps/unix/sysv/tcgetattr.c: Likewise.
40881 * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
40882 * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
40883 * sysdeps/unix/sysv/tcsetattr.c: Likewise.
40884 * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
40885
e7740d31
JM
40886 * sysdeps/unix/siglist.c: Remove file.
40887
ee06f18b
JM
40888 * sysdeps/unix/getppid.S: Remove file.
40889
097d59fa
JM
40890 * sysdeps/unix/mkdir.c: Remove file.
40891 * sysdeps/unix/rmdir.c: Likewise.
40892
ff3d51ec
AS
408932012-04-19 Andreas Schwab <schwab@linux-m68k.org>
40894
40895 * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
40896 ERR_MAX value.
40897 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
40898 errlist-compat value.
40899
50f81fd7
DM
409002012-04-18 David S. Miller <davem@davemloft.net>
40901
40902 * sysdeps/generic/memcopy.h (reg_char): Delete.
40903 * debug/strcat_chk.c: Use char, not reg_char.
40904 * debug/strcpy_chk.c: Likewise.
40905 * debug/strncat_chk.c: Likewise.
40906 * debug/strncpy_chk.c: Likewise.
40907 * string/memchr.c: Likewise.
40908 * string/memrchr.c: Likewise.
40909 * string/rawmemchr.c: Likewise.
40910 * string/strcat.c: Likewise.
40911 * string/strchr.c: Likewise.
40912 * string/strchrnul.c: Likewise.
40913 * string/strcmp.c: Likewise.
40914 * string/strcpy.c: Likewise.
40915 * string/strncat.c: Likewise.
40916 * string/strncmp.c: Likewise.
40917 * string/strncpy.c: Likewise.
40918
8ff41c46
WS
409192012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
40920
40921 * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
40922 __builtin_memcopy is called when src and dest ranges are known to not
40923 overlap.
40924
6b652f46
WS
409252012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
40926
40927 * sysdeps/powerpc/powerpc64/power6/wordcopy.c
40928 (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
40929 fwd_align_merge macro call.
40930 (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
40931 bwd_align_merge macro call.
40932 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
40933
b282631e
WS
409342012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
40935
40936 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
40937 bwd_align_merge macros.
40938 (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
40939 (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
40940 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
40941
95aa737c
DM
409422012-04-18 David S. Miller <davem@davemloft.net>
40943
40944 * sysdeps/sparc/sparc64/memcopy.h: Delete.
40945
7a99a614
AJ
409462012-04-18 Andreas Jaeger <aj@suse.de>
40947
40948 [BZ# 6794]
40949 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
40950 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
40951 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
40952
40953 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
40954 * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
40955 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
40956
40957 * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
40958 * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
40959 Adjust for changed ldbl-128 files.
40960
40961 * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
40962 * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
40963 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
40964
e5270c23
DM
409652012-04-17 David S. Miller <davem@davemloft.net>
40966
40967 * sysdeps/sparc/sparc32/memcopy.h: Delete.
40968
fb5e92c9
AS
409692012-04-17 Andreas Schwab <schwab@linux-m68k.org>
40970
40971 * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
40972 * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
40973 * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
40974 * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
40975 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
40976 * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
40977
76da7265
AZ
409782012-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
40979
40980 [BZ #6794]
40981 * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
40982 * math/libm-test.inc: Add ilogb errno and exception tests.
40983 * math/w_ilogb.c: New file: ilogb wrapper.
40984 * math/w_ilogbf.c: New file: ilogbf wrapper.
40985 * math/w_ilogbl.c: New file: ilogbl wrapper.
40986 * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
40987 * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
40988 * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
40989 exception being thrown with 0.0 as argument.
40990 * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
40991 * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
40992 exception being thrown with 0.0 as argument.
40993 * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
40994 * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
40995 exception being thrown with 0.0 as argument.
40996 * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
40997 * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
40998 exception being thrown with 0.0 as argument.
40999 * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
41000 * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
7a99a614 41001 * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
76da7265
AZ
41002 * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
41003 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
41004 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
41005 * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
41006 * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
41007 * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
41008
0396e69d
PB
410092012-04-17 Petr Baudis <pasky@ucw.cz>
41010
41011 * include/sys/uio.h: Change __vector to __iovec to avoid clash
41012 with altivec.
41013
750b5926
MP
410142012-04-16 Marek Polacek <polacek@redhat.com>
41015
41016 * elf/pldd-xx.c: Rename static_assert to pldd_assert.
41017
751728a1
MP
410182012-04-16 Marek Polacek <polacek@redhat.com>
41019
41020 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
41021 operands of fdivp instruction.
41022
34a27407
L
410232012-04-13 H.J. Lu <hongjiu.lu@intel.com>
41024
41025 * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
41026 * elf/tst-auditmod3b.c: Likewise.
41027 * elf/tst-auditmod4b.c: Likewise.
41028 * elf/tst-auditmod5b.c: Likewise.
41029 * elf/tst-auditmod6b.c: Likewise.
41030 * elf/tst-auditmod6c.c: Likewise.
41031 * elf/tst-auditmod7b.c: Likewise.
41032 * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
41033 * sysdeps/x86_64/preconfigure.in: Likewise.
41034 * sysdeps/x86_64/preconfigure: Regenerated.
41035
7e73e17d
L
410362012-04-13 H.J. Lu <hongjiu.lu@intel.com>
41037
41038 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
41039 __ILP32__.
41040
c7a6ab72
AB
410412012-04-13 Antoine Balestrat <merkil33@gmail.com>
41042
41043 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
41044 (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
41045
a9e8e0e0
CL
410462012-04-13 Chris Leonard <cjlhomeaddress@gmail.com>
41047
41048 [BZ #13973]
41049 * locale/iso-639.def: Fix gl language name. Spotted by
41050 Yaron Shahrabani.
41051
ec98af7d
RM
410522012-04-12 Roland McGrath <roland@hack.frob.com>
41053
41054 [BZ #2074]
41055 * libio/libio.h (__io_write_fn): Update comment.
41056
247c3ede
PB
410572012-04-12 Petr Baudis <pasky@ucw.cz>
41058
41059 [BZ #2074]
41060 * stdio.texi (Hook Functions): The user provided writer function
41061 is not allowed to return -1.
41062
55939d6d
DM
410632012-04-11 David S. Miller <davem@davemloft.net>
41064
41065 * sysdeps/sparc/fpu/libm-test-ulps: Update.
41066
90020f5a
MF
410672012-04-11 Mike Frysinger <vapier@gentoo.org>
41068
41069 * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
41070 Add a leading slash to rtkaio.
41071
288f9098
JM
410722012-04-11 Jim Meyering <meyering@redhat.com>
41073
90020f5a
MF
41074 [BZ #11959]
41075 * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
41076 It is not necessarily an error to ignore fwrite's return
41077 value. One can reliably use ferror to test for errors after
41078 the fact.
288f9098 41079
4be2b570
L
410802012-04-10 H.J. Lu <hongjiu.lu@intel.com>
41081
41082 * bits/types.h (__snseconds_t): New type.
41083 * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
41084
41085 * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
41086 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
41087 (__SNSECONDS_T_TYPE): Likewise.
41088 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
41089 (__SNSECONDS_T_TYPE): Likewise.
41090 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
41091 (__SNSECONDS_T_TYPE): Likewise.
41092
288f9098 410932012-04-10 Andreas Jaeger <aj@suse.de>
4cfd8026
AJ
41094
41095 [BZ #2636]
41096 * manual/time.texi (Processor Time): Return type of times is
41097 elapsed real time since an arbitrary point in the past.
41098 (CPU Time): Move CLK_TCK from here...
41099 (Processor Time): ...to here. Correct description.
41100 * manual/conf.texi (Constants for Sysconf): Correct description of
41101 _SC_CLK_TCK.
41102
d7dd4413
DM
411032012-04-10 David S. Miller <davem@davemloft.net>
41104
41105 [BZ #13967]
41106 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
41107 where the is a gap between DT_REL(A) and DT_JMPREL.
41108
b46068fc
L
411092012-04-10 H.J. Lu <hongjiu.lu@intel.com>
41110
41111 * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
41112 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
41113 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
41114
73d65cc3
SP
411152012-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
41116
41117 * elf/dl-support.c (_dl_inhibit_cache): New variable.
41118 * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
41119 (dl_main): Handle --inhibit-cache.
41120 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
41121 _dl_inhibit_cache.
41122 * elf/dl-load.c (_dl_map_object): Use it.
41123 * elf/Makefile: Define SYSCONFDIR when building rtld.c.
41124
bcc8d661
JM
411252012-04-09 Joseph Myers <joseph@codesourcery.com>
41126
8f9a2fae
JM
41127 [BZ #13872]
41128 * sysdeps/i386/fpu/e_powl.S (p78): New object.
41129 (__ieee754_powl): Saturate large exponents rather than testing for
41130 overflow of y*log2(x).
41131 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
41132 * math/libm-test.inc (pow_test): Do not permit spurious overflow
41133 exceptions.
41134
bcc8d661
JM
41135 [BZ #11521]
41136 * math/s_ctan.c: Include <float.h>.
41137 (__ctan): Avoid internal overflow or cancellation in calculating
41138 denominator.
41139 * math/s_ctanf.c: Likewise.
41140 * math/s_ctanl.c: Likewise.
41141 * math/s_ctanh.c: Likewise.
41142 * math/s_ctanhf.c: Likewise.
41143 * math/s_ctanhl.c: Likewise.
41144 * math/libm-test.inc (ctan_test): Add more tests.
41145 (ctanh_test): Likewise.
41146 * sysdeps/i386/fpu/libm-test-ulps: Update.
41147 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
41148
823fbbb4
AJ
411492012-04-09 Andreas Jaeger <aj@suse.de>
41150
03879793
AJ
41151 [BZ #6894]
41152 * manual/filesys.texi (Directory Entries): Mention that d_namlen
41153 is an optional BSD extension.
41154
823fbbb4
AJ
41155 [BZ #10254]
41156 * manual/stdio.texi (Opening Streams): Document additional fopen
41157 parameters.
41158
8de131cb
RM
411592012-04-09 Roland McGrath <roland@hack.frob.com>
41160
41161 * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
41162 %eax without telling the compiler.
41163
c0ed9d7d
CD
411642012-04-09 Carlos O'Donell <carlos_odonell@mentor.com>
41165
41166 [BZ # 13963]
41167 * manual/install.texi: Use sourceware.org.
41168
c483f6b4
JM
411692012-04-09 Joseph Myers <joseph@codesourcery.com>
41170
d7dd9453
JM
41171 [BZ #13873]
41172 * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
41173 (__ieee754_pow): Generate overflow and underflow using huge*huge
41174 and tiny*tiny rather than just returning constant infinity or zero
41175 for large exponents.
41176 * math/libm-test.inc (pow_test): Require overflow exceptions for
41177 applicable cases of large exponents.
41178
c483f6b4
JM
41179 [BZ #706]
41180 * sysdeps/i386/fpu/e_pow.S (p10): New object.
41181 (__ieee754_pow): Use iterative multiplication algorithm only for
41182 integer exponents with absolute value below 1024. Check for odd
41183 integer exponents when using algorithm for real exponents.
41184 * math/libm-test.inc (pow_test): Add more tests.
41185 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
41186
d2de7579
JM
411872012-04-08 Joseph Myers <joseph@codesourcery.com>
41188
41189 [BZ #13705]
41190 * math/libm-test.inc (exp_test): Do not allow overflow exception
41191 on underflow test.
41192
f77f1232
AJ
411932012-04-08 Aurelien Jarno <aurelien@aurel32.net>
41194
41195 [BZ #13705]
41196 * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
41197 instead of __kernel_standard_f.
41198
3884932b
MF
411992012-04-08 Mike Frysinger <vapier@gentoo.org>
41200
41201 * sysdeps/i386/i686/memset_chk.S: Update copyright year.
41202 * sysdeps/x86_64/memset_chk.S: Likewise.
41203
54472e9c
AJ
412042012-04-08 Andreas Jaeger <aj@suse.de>
41205
6ab0fbfc
AJ
41206 [BZ #10153]
41207 * manual/startup.texi (Environment Access): Describe return value
41208 for putenv and setenv.
41209
61efba8c
AJ
41210 [BZ #6895]
41211 * manual/filesys.texi (Directory Entries): Add description for
41212 DT_LNK.
41213
95c3f29a
AJ
41214 [BZ #6890]
41215 * manual/filesys.texi (Directory Entries): Clarify that it's file
41216 system not operating system in the description of DT_UNKNOWN.
41217
54472e9c
AJ
41218 [BZ #6578]
41219 * manual/syslog.texi (closelog): Fix reference, it's openlog.
41220
624254b1
SC
412212012-04-08 Stephen Compall <s11@member.fsf.org>
41222
41223 [BZ #6649]
41224 * manual/llio.texi (Opening and Closing Files): Add cross
41225 reference to explain mode argument.
41226
1e4920e0
MF
412272012-04-07 Mike Frysinger <vapier@gentoo.org>
41228
41229 * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
41230 * sysdeps/x86_64/memset_chk.S: Likewise.
41231
5ed848f3
DM
412322012-04-07 David S. Miller <davem@davemloft.net>
41233
41234 * elf/elf.h (R_SPARC_WDISP10): Define.
41235 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
41236 R_SPARC_SIZE32.
41237 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
41238 R_SPARC_SIZE64 and R_SPARC_H34.
41239
96154cd8
CD
412402012-04-07 Carlos O'Donell <carlos_odonell@mentor.com>
41241
41242 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
41243 conditions and remove no longer applicable assertion.
41244
9904dc47
L
412452012-04-06 H.J. Lu <hongjiu.lu@intel.com>
41246
41247 * bits/byteswap.h: Include <features.h>.
41248 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
41249 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
41250
f8887d0a
L
412512012-04-06 H.J. Lu <hongjiu.lu@intel.com>
41252
41253 * bits/byteswap.h (__bswap_16): Removed.
41254 Include <bits/byteswap-16.h> to get __bswap_16.
41255 * sysdeps/i386/bits/byteswap.h: Likewise.
41256 * sysdeps/s390/bits/byteswap.h: Likewise.
41257 * sysdeps/x86_64/bits/byteswap.h: Likewise.
41258 * bits/byteswap-16.h: New file.
41259 * sysdeps/i386/bits/byteswap-16.h: Likewise.
41260 * sysdeps/s390/bits/byteswap-16.h: Likewise.
41261 * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
41262 * string/Makefile (headers): Add bits/byteswap-16.h.
41263
62470f60
PP
412642012-04-06 Paul Pluzhnikov <ppluzhnikov@google.com>
41265
41266 [BZ #13895]
41267 * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
41268 extra indirection.
41269 * nss/Makefile (tests-static, tests): Add tst-nss-static.
41270 * nss/tst-nss-static.c: New.
41271
4dad7bab
RM
412722012-04-06 Robert Millan <rmh@gnu.org>
41273
41274 [BZ #6486]
41275 * manual/llio.texi (File Position Primitive): lseek
41276 refers to WHENCE when it really means OFFSET.
41277
e9142a17
AJ
412782012-04-06 Andreas Jaeger <aj@suse.de>
41279
2c040eff
AJ
41280 * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
41281 strncmp declarations.
41282
e9142a17
AJ
41283 * abilist/libc.abilist: Add __poll and __ppoll.
41284
ff9f1c5f
DM
412852012-04-05 David S. Miller <davem@davemloft.net>
41286
dcd2ae90
DM
41287 * scripts/check-local-headers.sh: Accept a host triplet in the
41288 path matched by the exclude regexp.
41289
993eb054
DM
41290 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
41291 definition.
41292 * sysdeps/powerpc/powerpc32/dl-machine.h
41293 (ELF_MACHINE_PLTREL_OVERLAP): Delete.
41294 * sysdeps/s390/s390-32/dl-machine.h
41295 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
41296 * sysdeps/sparc/sparc32/dl-machine.h
41297 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
41298 * sysdeps/sparc/sparc64/dl-machine.h
41299 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
41300
ff9f1c5f
DM
41301 * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
41302 lazy binding.
48e2e132 41303 * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
ff9f1c5f
DM
41304 undefined symbol errors.
41305
48e2e132 41306 * elf/rtld.c (dl_main): Skip VDSO when checking for unused
ff9f1c5f
DM
41307 DT_NEEDED entries.
41308
e80d6f94
MM
413092012-04-05 Michael Matz <matz@suse.de>
41310
41311 [BZ #13592]
41312 * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
41313
349fa79f
AJ
413142012-04-05 Andreas Jaeger <aj@suse.de>
41315
41316 [BZ #13908]
41317 * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
41318 comment.
41319
f402708f
KK
413202012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
41321
41322 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
41323 which ROUND is no valid rounding mode.
41324
2ecccfc9
KK
413252012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
41326
41327 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
41328 read again.
41329 * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
41330
8a53f50f
KK
413312012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
41332
41333 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
41334 an exception using FPU order intentionally.
41335
413362012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
41337
41338 * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
41339 * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
41340 * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
41341 * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
41342
d653abb7
SJ
413432012-04-05 Simon Josefsson <simon@josefsson.org>
41344
41345 [BZ #12340]
41346 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
41347 EINVAL when BUFLEN is too smal.
41348
c3b1bf7d
TS
413492012-04-05 Thomas Schwinge <thomas@codesourcery.com>
41350
41351 [BZ #13553]
41352 * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
41353 * sysdeps/mach/powerpc/machine-lock.h: Likewise.
41354
b1aa60f3
AJ
413552012-04-03 Andreas Jaeger <aj@suse.de>
41356
c3b1bf7d 41357 [BZ #13938]
67f60a26
AJ
41358 * manual/setjmp.texi (System V contexts): Fix sentence.
41359
b1aa60f3
AJ
41360 [BZ #13926]
41361 * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
41362 New macro for this case.
41363 [!__GNUC__] (__bswap_64): New inline function for this case.
41364 * sysdeps/x86_64/bits/byteswap.h: Likewise.
41365 * bits/byteswap.h: Likewise.
41366 * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
41367 ull, guard with __GLIBC_HAVE_LONG_LONG.
41368
41369 * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
41370 __GLIBC_HAVE_LONG_LONG.
41371
41372 * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
41373 Include <features.h> for __GLIBC_HAVE_LONG_LONG.
41374
39c59c35
TMQMF
413752012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
41376
41377 [BZ #13691]
41378 * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
41379 inptr and inend, rather than using last_ch.
41380
135ffda8
DM
413812012-04-02 David S. Miller <davem@davemloft.net>
41382
41383 With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
41384 * stdio-common/printf-parse.h (read_int): Change return type to
41385 'int', return -1 on INT_MAX overflow.
41386 * stdio-common/vfprintf.c (vfprintf): Validate width and precision
41387 against overflow of INT_MAX. Set errno to EOVERFLOW when 'done'
41388 overflows INT_MAX. Check for overflow of in-format-string precision
41389 values properly. Use EOVERFLOW rather than ERANGE throughout. Use
41390 SIZE_MAX not INT_MAX for integer overflow test.
41391 * stdio-common/printf-parsemb.c: If read_int signals an overflow,
41392 skip the construct in the format string but do not record anything.
41393 * stdio-common/bug22.c: Adjust to test both width/prevision
41394 INT_MAX overflow as well as total length INT_MAX overflow. Check
41395 explicitly for proper errno values.
41396
228c019e
TS
413972012-04-02 Thomas Schwinge <thomas@codesourcery.com>
41398
302cadd3
TS
41399 * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
41400 CHAR_MAX.
41401 * string/test-strcmp.c [! WIDE]: Likewise.
41402 * time/tst-mktime2.c: Likewise for INT_MAX.
41403 * string/test-string.h: #include <sys/param.h> for MIN.
41404
228c019e
TS
41405 * csu/init-first.c (__libc_init_first): Call __ctype_init.
41406 * sysdeps/i386/init-first.c (init): Likewise.
41407 * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
41408 * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
41409 * sysdeps/sh/init-first.c (init): Likewise.
41410
cfa633f5
UD
414112012-04-01 Ulrich Drepper <drepper@gmail.com>
41412
41413 * po/ru.po: Update from translation team.
d1635ef8 41414 * po/vi.po: Likewise.
cfa633f5 41415
6cd0a5ea
SP
414162012-03-31 Siddhesh Poyarekar <siddhesh@redhat.com>
41417
41418 * resolv/nss_dns/dns-host.c: Merge copyright years.
41419
4b43400f
LD
414202012-03-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
41421
41422 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
41423 Optimize memcpy with prefetch if
41424 DATA_CACHE_SIZE_HALF <= len < SHARED_CACHE_SIZE_HALF and
41425 src, dst pointers have unequal 16 byte alignments.
41426
48c41d04
SP
414272012-03-30 Siddhesh Poyarekar <siddhesh@redhat.com>
41428
41429 [BZ #13928]
41430 * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
41431 from a CNAME entry and return the minimum ttl for the query.
41432 (gaih_getanswer_slice): Likewise.
41433
b8dc394d
JL
414342012-03-30 Jeff Law <law@redhat.com>
41435
41436 * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
41437 due to long keys.
41438 * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
41439 * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
41440
2f5a5ed0
JL
41441 * resolv/nss_dns/dns-host.c: Update copyright year.
41442
1d39e359
UD
414432012-03-30 Ulrich Drepper <drepper@gmail.com>
41444
c030f70c 41445 * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
8e6d1083 41446 requests to save a system call. Fix check that all bytes are sent.
c030f70c 41447
1d39e359
UD
41448 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
41449 comments for sendmmsg.
41450
414512012-03-30 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
e64d2de5
TMQMF
41452
41453 [BZ #13691]
41454 * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
41455 with only 1 character between 0x0041 and 0x01b0.
41456 * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
41457 * wcsmbs/tst-mbsnrtowcs.c: New file.
41458
20fde227
DM
414592012-03-29 David S. Miller <davem@davemloft.net>
41460
41461 * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
41462 small copies by hand.
41463
984a4237
JL
414642012-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
41465
41466 [BZ #13761]
57f41c40
AS
41467 * nis/nss_compat/compat-initgroups.c (getgrent_next_nss)
41468 (_nss_compat_initgroups_dyn): Fall back to malloc/free for large
41469 group memberships.
984a4237 41470
18c9d62b
DM
414712012-03-28 David S. Miller <davem@davemloft.net>
41472
88d85d4f
DM
41473 * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
41474 that branches into memcpy.
41475 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
41476 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
41477 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
41478 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
41479 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
41480 bits.
41481 * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
41482 implementation too.
41483 * sysdeps/sparc/mempcpy.S: New file.
41484
e5aa83e1
DM
41485 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
41486 the IFUNC routine in the libc case.
41487 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
41488
88570753
DM
41489 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
41490 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
41491 * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
41492 * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
41493 * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
41494 * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
41495 * sysdeps/sparc/sparc64/rtld-memset.c: New file.
41496 * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
41497
249d7567
DM
41498 * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
41499 loop to 256 bytes instead of 64 bytes and fix test signedness.
41500
18c9d62b
DM
41501 * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
41502 * sysdeps/sparc/sparc32/Makefile: rather than here...
41503 * sysdeps/sparc/sparc64/Makefile: and here.
41504
05f3d1f6
UD
415052012-03-28 Ulrich Drepper <drepper@gmail.com>
41506
41507 * malloc/mallocbug.c: Avoid warnings about unused variables.
41508
86ae07a8
JL
415092012-02-22 Siddhesh Poyarekar <siddhesh@redhat.com>
41510
41511 [BZ #13760]
41512 * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
41513 in the right place. Discard and retry query if response is
41514 larger than input buffer size.
41515
41bf21a1
JM
415162012-03-28 Joseph Myers <joseph@codesourcery.com>
41517
d6270972
JM
41518 [BZ #369]
41519 [BZ #2678]
41520 [BZ #3866]
41521 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
41522 x for large integer exponent.
41523 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
41524 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise. Adjust
41525 sign of result as needed afterwards.
41526 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
41527 * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
41528 result for underflowing pow the same as for overflow.
41529 (__kernel_standard_l): Handle powl overflow and underflow here
41530 rather than calling __kernel_standard.
41531 * math/libm-test.inc (pow_test): Add more tests.
41532
414fca03 41533 [BZ #3868]
41bf21a1
JM
41534 [BZ #13879]
41535 [BZ #13910]
41536 [BZ #13911]
41537 [BZ #13912]
41538 [BZ #13913]
41539 [BZ #13915]
41540 [BZ #13916]
41541 [BZ #13917]
41542 [BZ #13918]
41543 [BZ #13919]
41544 [BZ #13920]
41545 [BZ #13921]
41546 * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
41547 * sysdeps/ieee754/k_standard.c: Include <float.h>.
41548 (__kernel_standard_l): New function.
41549 * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
41550 __kernel_standard.
41551 * math/w_acosl.c (__acosl): Likewise.
41552 * math/w_asinl.c (__asinl): Likewise.
41553 * math/w_atan2l.c (__atan2l): Likewise.
41554 * math/w_atanhl.c (__atanhl): Likewise.
41555 * math/w_coshl.c (__coshl): Likewise.
41556 * math/w_exp10l.c (__exp10l): Likewise.
41557 * math/w_exp2l.c (__exp2l): Likewise.
41558 * math/w_fmodl.c (__fmodl): Likewise.
41559 * math/w_hypotl.c (__hypotl): Likewise.
41560 * math/w_j0l.c (__j0l, __y0l): Likewise.
41561 * math/w_j1l.c (__j1l, __y1l): Likewise.
41562 * math/w_jnl.c (__jnl, __ynl): Likewise.
41563 * math/w_lgammal.c (__lgammal): Likewise.
41564 * math/w_log10l.c (__log10l): Likewise.
41565 * math/w_log2l.c (__log2l): Likewise.
41566 * math/w_logl.c (__logl): Likewise.
41567 * math/w_powl.c (__powl): Likewise.
41568 * math/w_remainderl.c (__remainderl): Likewise.
41569 * math/w_scalbl.c (sysv_scalbl): Likewise.
41570 * math/w_sinhl.c (__sinhl): Likewise.
41571 * math/w_sqrtl.c (__sqrtl): Likewise.
41572 * math/w_tgammal.c (__tgammal): Likewise.
41573 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
41574 * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
41575 * math/libm-test.inc (acos_test): Add more tests.
41576 (acosh_test): Likewise.
41577 (asin_test): Likewise.
41578 (atanh_test): Likewise.
41579 (exp_test): Likewise.
41580 (exp10_test): Likewise.
41581 (exp2_test): Likewise.
41582 (expm1_test): Likewise.
41583 (lgamma_test): Likewise.
41584 (log_test): Likewise.
41585 (log10_test): Likewise.
41586 (log1p_test): Likewise.
41587 (log2_test): Likewise.
41588 (pow_test): Do not allow some spurious overflow exceptions.
41589 (sqrt_test): Add more tests.
41590 (tgamma_test): Likewise.
41591 (y0_test): Likewise.
41592 (y1_test): Likewise.
41593 (yn_test): Likewise.
41594
dd62fda6
AB
415952012-03-27 Anton Blanchard <anton@samba.org>
41596
41597 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
41598 MAP_HUGETLB.
41599 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
41600 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
41601 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
41602
1e3cdfda
AJ
416032012-03-27 David S. Miller <davem@davemloft.net>
41604
b855ab85
DM
41605 * conform/Makefile: Run run-conformtest.sh using $(BASH).
41606
1e3cdfda
AJ
41607 * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
41608 have-as-vis3 check.
41609
416102012-03-27 Andreas Jaeger <aj@suse.de>
41611
41612 * sysdeps/x86_64/elf/configure.in: Moved to ...
41613 * sysdeps/x86_64/configure.in: ... here.
41614 * sysdeps/x86_64/elf/start.S: Moved to ...
41615 * sysdeps/x86_64/start.S: ... here.
41616 * sysdeps/x86_64/elf/configure: Delete.
41617
41618 * sysdeps/x86_64/configure.in: Merge contents from
41619 sysdeps/i386/configure.in (without i686 check).
41620
41621 * sysdeps/i386/elf/Versions: Merge into ...
41622 * sysdeps/i386/Versions: ... this.
41623 * sysdeps/i386/elf/Versions: Delete file.
41624 * sysdeps/i386/elf/start.S: Moved to ...
41625 * sysdeps/i386/start.S: ...here.
41626 * sysdeps/i386/elf/configure.in: Merge into...
41627 * sysdeps/i386/configure.in: ...here.
41628 * sysdeps/i386/elf/configure.in: Delete file.
41629 * sysdeps/i386/elf/configure: Delete file.
41630
41631 * sysdeps/generic/elf/backtracesyms.c: Moved to ...
41632 * debug/backtracesyms.c: ... here.
41633 * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
41634 * debug/backtracesymsfd.c: ... here.
41635 * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
41636 * sysdeps/generic/ifunc-sel.h: ... here.
41637
41638 * sysdeps/unix/i386/start.c: Delete file.
41639 * sysdeps/unix/sparc/start.c: Delete file.
41640 * sysdeps/unix/start.c: Delete file.
41641
41642 * sysdeps/sh/elf/configure.in: Moved to ...
41643 * sysdeps/sh/configure.in: ... here.
41644 * sysdeps/sh/elf/start.S: Moved to ...
41645 * sysdeps/sh/start.S: ... here.
41646 * sysdeps/sh/elf/configure: Delete file.
41647
41648 * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
41649 * sysdeps/powerpc/powerpc64/bzero.S: ... here.
41650 * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
41651 * sysdeps/powerpc/powerpc64/entry.h: ... here.
41652 * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
41653 * sysdeps/powerpc/powerpc64/start.S: here.
41654 * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
41655 * sysdeps/powerpc/powerpc64/Makefile: ... this.
41656 * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
41657 * sysdeps/powerpc/powerpc64/configure.in: ... this.
41658 * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
41659
41660 * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
41661 * sysdeps/powerpc/powerpc32/bzero.S: ... here.
41662 * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
41663 * sysdeps/powerpc/powerpc32/start.S: ... here.
41664 * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
41665 * sysdeps/powerpc/powerpc32/configure.in: ... this.
41666 * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
41667
41668 * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
41669 * sysdeps/powerpc/ifunc-sel.h: ... here.
41670 * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
41671 * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
41672
41673 * sysdeps/sparc/elf/configure.in: Moved to ...
41674 * sysdeps/sparc/configure.in: ... here.
41675 * sysdeps/sparc/elf/configure: Delete file.
41676 * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
41677 * sysdeps/sparc/sparc32/start.S: ... here.
41678 * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
41679 * sysdeps/sparc/sparc64/start.S: ... here.
41680 * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
41681 * sysdeps/sparc/sparc32/Makefile: ... this.
41682 * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
41683 * sysdeps/sparc/sparc64/Makefile: ... this.
41684
41685 * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
41686 * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
41687 * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
41688 * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
41689 * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
41690 * sysdeps/s390/s390-32/setjmp.S: ... here.
41691 * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
41692 * sysdeps/s390/s390-32/configure.in: ... here.
41693 * sysdeps/s390/s390-32/elf/configure: Delete file.
41694 * sysdeps/s390/s390-32/elf/start.S: Moved to ...
41695 * sysdeps/s390/s390-32/start.S: ... here.
41696
41697 * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
41698 * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
41699 * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
41700 * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
41701 * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
41702 * sysdeps/s390/s390-64/setjmp.S: ... here.
41703 * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
41704 * sysdeps/s390/s390-64/configure.in: ... here
41705 * sysdeps/s390/s390-64/elf/configure: Delete file.
41706 * sysdeps/s390/s390-64/elf/start.S: Moved to ...
41707 * sysdeps/s390/s390-64/start.S: ... here.
41708 * sysdeps/s390/s390-64/elf/configure: Delete.
41709
41710 * configure.in: Remove support for elf directories in sysdeps.
41711
41712 * configure: Regenerated.
41713 * sysdeps/i386/configure: Regenerated.
41714 * sysdeps/powerpc/powerpc32/configure: Regenerated.
41715 * sysdeps/powerpc/powerpc64/configure: Regenerated.
41716 * sysdeps/s390/s390-32/configure: Regenerated.
41717 * sysdeps/s390/s390-64/configure: Regenerated.
41718 * sysdeps/sh/configure: Regenerated.
41719 * sysdeps/sparc/configure: Regenerated.
41720 * sysdeps/x86_64/configure: Regenerated.
41721
a3f61311
AS
417222012-03-26 Andreas Schwab <schwab@linux-m68k.org>
41723
c876e002
AS
41724 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
41725
a3f61311
AS
41726 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
41727 denormal result into account.
41728
ac4c54f0
RM
417292012-03-25 Roland McGrath <roland@hack.frob.com>
41730
41731 * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
41732 Reported by Allan McRae <allan@archlinux.org>.
41733
6a9b9c02
JL
417342012-03-23 Jeff Law <law@redhat.com>
41735
41736 * nss/getnssent.c (__nss_getent): Fix typo.
41737
4c42a0c1
DM
417382012-03-23 David S. Miller <davem@davemloft.net>
41739
41740 * sysdeps/sparc/fpu/libm-test-ulps: Update.
41741
1532c7ac
L
417422012-03-23 H.J. Lu <hongjiu.lu@intel.com>
41743
41744 * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
41745 to pad to uint64_t for each field.
41746 (dl_tls_index): Replace unsigned long with uint64_t.
41747
3ff42526
PP
417482012-03-23 Daniel Jacobowitz <dmj@google.com>
41749 Paul Pluzhnikov <ppluzhnikov@google.com>
41750
41751 [BZ #6528]
41752 * grp/Makefile (otherlibs): Don't set it.
41753 * inet/Makefile (otherlibs): Likewise.
41754 * login/Makefile (otherlibs): Likewise.
41755 * nscd/Makefile (otherlibs): Likewise.
41756 * posix/Makefile (otherlibs): Likewise.
41757 * pwd/Makefile (otherlibs): Likewise.
41758 * rt/Makefile (otherlibs): Likewise.
41759 * sunrpc/Makefile (otherlibs): Likewise.
41760 * nss/Makefile (otherlibs): Likewise.
41761 Add libnss_files to routines and static-only-routines.
41762 ($(objpfx)getent): Remove rule.
41763 * resolv/Makefile: Add libnss_dns and libresolv to routines and
41764 static-only-routines.
41765
7c69cd14
JM
417662012-03-22 Joseph Myers <joseph@codesourcery.com>
41767
41768 [BZ #13892]
41769 * math/s_cexp.c: Include <float.h>.
41770 (__cexp): Handle exp result overflowing not necessarily
41771 overflowing both real and imaginary parts of result.
41772 * math/s_cexpf.c: Likewise.
41773 * math/s_cexpl.c: Likewise.
41774 * math/libm-test.inc (cexp_test): Add more tests.
41775 * sysdeps/i386/fpu/libm-test-ulps: Update.
41776 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
41777
81b035fe
L
417782012-03-22 H.J. Lu <hongjiu.lu@intel.com>
41779
41780 * include/link.h (ELFW): New macro.
41781 * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
41782 Replace ELF64_R_TYPE with ELFW(R_TYPE).
41783
1da7940c
L
417842012-03-22 H.J. Lu <hongjiu.lu@intel.com>
41785
41786 * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
41787 with uint64_t.
41788
b749dbb9
L
417892012-03-22 H.J. Lu <hongjiu.lu@intel.com>
41790
41791 * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
41792 declaration.
41793 (struct La_x32_retval): Likewise.
41794
2ff87f3f
L
417952012-03-22 H.J. Lu <hongjiu.lu@intel.com>
41796
41797 * sysdeps/x86_64/preconfigure.in: New file.
41798 * sysdeps/x86_64/preconfigure: New generated file.
41799
c0df8e69
JM
418002012-03-22 Joseph Myers <joseph@codesourcery.com>
41801
48e44791
JM
41802 [BZ #13824]
41803 * math/e_exp2l.c: Include <float.h>.
41804 (__ieee754_exp2l): Handle overflow and underflow cases
41805 separately. Only pass fractional part of argument to
41806 __ieee754_expl.
41807 * math/libm-test.inc (exp2_test): Add more tests.
41808
c0df8e69
JM
41809 * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
41810 negating x to take absolute value.
41811 * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
41812 Likewise.
41813 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
41814 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
41815 Likewise.
41816 * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
41817 computing low part if x was negated.
41818 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
41819
c8e43ba7
L
418202012-03-21 H.J. Lu <hongjiu.lu@intel.com>
41821
41822 * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
41823 la_x32_gnu_pltexit.
41824 (pltexit): Cast int_retval to ptrdiff_t.
41825 * elf/tst-auditmod3b.c: Likewise.
41826 * elf/tst-auditmod4b.c: Likewise.
41827 * elf/tst-auditmod5b.c: Likewise.
41828 * elf/tst-auditmod6b.c: Likewise.
41829 * elf/tst-auditmod6c.c: Likewise.
41830 * elf/tst-auditmod7b.c: Likewise.
41831
41832 * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
41833 and x32_gnu_pltexit.
41834
41835 * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
41836 __ELF_NATIVE_CLASS.
41837 (La_x32_regs): New macro.
41838 (La_x32_retval): Likewise.
41839 (la_x32_gnu_pltenter): New function prototype.
41840 (la_x32_gnu_pltexit): Likewise.
41841
7998fa78
AS
418422012-03-21 Andreas Schwab <schwab@linux-m68k.org>
41843
dcb33988
AS
41844 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
41845 exponent.
41846
233fc563
AS
41847 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
41848
7998fa78
AS
41849 * configure.in (libc_cv_cc_nofma): Check for option to disable
41850 generation of FMA instructions.
41851 * configure: Regenerate.
41852 * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
41853 * sysdeps/ieee754/dbl-64/Makefile: New file.
41854 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
41855 Remove brandred-fma4.
41856 (CFLAGS-brandred-fma4.c): Remove.
41857 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
41858 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
41859 define.
41860 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
41861 define.
41862
8e95c99a
L
418632012-03-21 H.J. Lu <hongjiu.lu@intel.com>
41864
41865 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
41866 LLONG_MAX != LONG_MAX.
41867 (_itoa_word): Use _ITOA_WORD_TYPE on value.
41868 (_fitoa_word): Likewise.
41869 * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
41870 LLONG_MAX != LONG_MAX.
41871 * stdio-common/_itowa.h: Include <_itoa.h>.
41872 (_itowa_word): Use _ITOA_WORD_TYPE on value.
41873 (_itowa): New macro. Defined only if _ITOA_NEEDED is false.
41874 * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro. Defined
41875 only if not defined.
41876 (_ITOA_WORD_TYPE): Likewise.
41877 (_itoa_word): Use _ITOA_WORD_TYPE on value.
41878 Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
41879
6f4db457
DM
418802012-03-21 David S. Miller <davem@davemloft.net>
41881
41882 * sysdeps/sparc/fpu/libm-test-ulps: Update.
41883
7785fe5a
L
418842012-03-21 H.J. Lu <hongjiu.lu@intel.com>
41885
41886 * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
41887 of x86_64 when setting libc_cv_slibdir, libdir and
41888 libc_cv_localedir.
41889 * sysdeps/unix/sysv/linux/configure: Regenerated.
41890
4535cd55
JM
418912012-03-21 Joseph Myers <joseph@codesourcery.com>
41892
41893 * manual/lang.texi (Old Varargs): Remove section.
41894 (How Variadic): Update menu.
41895 (va_start): Do not mention varargs.h.
41896
17228132
TS
418972012-03-21 Thomas Schwinge <thomas@codesourcery.com>
41898 Joseph Myers <joseph@codesourcery.com>
41899
41900 * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
41901 link test.
41902 * configure: Regenerated.
41903
8149f976
TS
419042012-03-21 Thomas Schwinge <thomas@codesourcery.com>
41905
05f3d1f6
UD
41906 * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
41907 * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
41908 conformtest.pl
8149f976 41909
1a4ac776
JM
419102012-03-21 Joseph Myers <joseph@codesourcery.com>
41911
be22ce65
JM
41912 * NOTES: Remove.
41913 * Makefile (files-for-dist): Remove NOTES.
41914 (NOTES): Remove rule.
41915 * README: Don't refer to NOTES.
41916 * manual/creature.texi: Don't include macros.texi.
41917 * manual/intro.texi (creature.texi): Remove comment referring to
41918 NOTES.
41919
40b601fb
JM
41920 * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
41921 * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
41922 * configure: Regenerated.
41923 * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
41924 LIBC_TRY_CC_OPTION.
41925 (libc_cv_as_i686): Likewise.
41926 (libc_cv_cc_avx): Likewise.
41927 (libc_cv_cc_sse2avx): Likewise.
41928 (libc_cv_cc_fma4): Likewise.
41929 (libc_cv_cc_novzeroupper): Likewise.
41930 * sysdeps/i386/configure: Regenerated.
41931
1a4ac776
JM
41932 [BZ #13883]
41933 * sysdeps/i386/fpu/s_cexp.S: Remove.
41934 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
41935 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
41936 * math/libm-test.inc (cexp_test): Add more tests.
41937 * sysdeps/i386/fpu/libm-test-ulps: Update.
41938 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
41939
a458e7fe
AM
419402012-03-21 Allan McRae <allan@archlinux.org>
41941
41942 * timezone/Makefile: Do not install iso3166.tab and zone.tab
41943
0cb7efc5
JM
419442012-03-21 Joseph Myers <joseph@codesourcery.com>
41945
41946 [BZ #13871]
41947 * math/w_exp2.c: Do not include <float.h>.
41948 (o_threshold, u_threshold): Remove.
41949 (__exp2): Calculate result before checking finiteness and calling
41950 __kernel_standard.
41951 * math/w_exp2f.c: Likewise.
41952 * math/w_exp2l.c: Likewise.
41953 * math/libm-test.inc (exp2_test): Require overflow exception for
41954 1e6 input.
2460d3aa
JM
41955
41956 [BZ #3866]
41957 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
41958 range of signed 64-bit integers before using fistpll. Remove
41959 checks for whether integers fit in mantissa bits.
41960 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
41961 the range of signed 32-bit integers before using fistpl. Remove
41962 checks for whether integers fit in mantissa bits.
41963 * sysdeps/i386/fpu/e_powl.S (p64): New object.
41964 (__ieee754_powl): Test for y outside the range of signed 64-bit
41965 integers before using fistpll. Reduce 64-bit values to 63-bit
41966 ones as needed.
41967 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
41968 divide-by-zero is raised for zero to large negative powers.
41969 * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
41970 (__ieee754_powl): Test for y outside the range of signed 64-bit
41971 integers before using fistpll. Reduce 64-bit values to 63-bit
41972 ones as needed.
41973 * math/libm-test.inc (pow_test): Add more tests.
41974
eb96ffb0
L
419752012-03-20 H.J. Lu <hongjiu.lu@intel.com>
41976
41977 * debug/backtracesymsfd.c: Include <_itoa.h> instead of
41978 <stdio-common/_itoa.h>.
41979 * debug/segfault.c: Likewise.
41980 * elf/dl-cache.c: Likewise.
41981 * elf/dl-minimal.c: Likewise.
41982 * elf/dl-misc.c: Likewise.
41983 * elf/dl-sysdep.c: Likewise.
41984 * elf/dl-version.c: Likewise.
41985 * elf/rtld.c: Likewise.
41986 * hurd/hurdsock.c: Likewise.
41987 * hurd/lookup-retry.c: Likewise.
41988 * malloc/malloc.c: Likewise.
41989 * malloc/mtrace.c: Likewise.
41990 * nscd/nscd_getgr_r.c: Likewise.
41991 * nscd/nscd_getpw_r.c: Likewise.
41992 * nscd/nscd_getserv_r.c: Likewise.
41993 * posix/getopt_init.c: Likewise.
41994 * posix/wordexp.c: Likewise.
41995 * stdio-common/_itoa.c: Likewise.
41996 * stdio-common/printf_fphex.c: Likewise.
41997 * stdio-common/vfprintf.c: Likewise.
41998 * string/_strerror.c: Likewise.
41999 * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
42000 * sysdeps/i386/i686/hp-timing.h: Likewise.
42001 * sysdeps/mach/_strerror.c: Likewise.
42002 * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
42003 * sysdeps/mach/hurd/sethostid.c: Likewise.
42004 * sysdeps/mach/hurd/xmknodat.c: Likewise.
42005 * sysdeps/mach/xpg-strerror.c: Likewise.
42006 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
42007 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
42008 * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
42009 * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
42010 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
42011 * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
42012 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
42013 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
42014 * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
42015 * sysdeps/unix/sysv/linux/futimes.c: Likewise.
42016 * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
42017 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
42018 * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
42019 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
42020 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
42021 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
42022 * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
42023 * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
42024 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
42025 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
42026 * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
42027
42028 * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
42029
42030 * stdio-common/_itoa.h: Moved to ...
42031 * sysdeps/generic/_itoa.h: Here.
42032
42033 * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
42034
42035 * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
42036 instead of "_itoa.h" and "_itowa.h".
42037 * stdio-common/vfprintf.: Likewise.
42038
d1af992d
L
420392012-03-20 H.J. Lu <hongjiu.lu@intel.com>
42040
42041 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
42042 <bits/wordsize.h>.
42043 (__signbitf): Check __x86_64__ instead of __WORDSIZE.
42044 (__signbit): Likwise.
42045 (llrintf): Likwise.
42046 (llrint): Likwise.
42047
114883e0
L
420482012-03-20 H.J. Lu <hongjiu.lu@intel.com>
42049
42050 * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
42051 __WORDSIZE != 64.
42052
c135cc1b
JM
420532012-03-20 Joseph Myers <joseph@codesourcery.com>
42054
42055 * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
42056 OVERFLOW_EXCEPTION_OK.
42057 * math/libm-test.inc ("Philosophy"): Update comment about
42058 exception testing.
42059 (OVERFLOW_EXCEPTION): Define.
42060 (OVERFLOW_EXCEPTION_OK): Likewise.
42061 (INVALID_EXCEPTION_OK): Renumber.
42062 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
42063 (IGNORE_ZERO_INF_SIGN): Likewise.
42064 (test_exceptions): Handle FE_OVERFLOW.
42065 (exp10_test): Expect overflow exceptions.
42066 (exp2_test): Likewise.
42067 (expm1_test): Likewise.
42068 (nextafter_test): Likewise.
42069 (pow_test): Likewise.
42070 (scalbn_test): Likewise.
42071 (scalbln_test): Likewise.
42072
95443d88
L
420732012-03-19 H.J. Lu <hongjiu.lu@intel.com>
42074
42075 * sysdeps/x86_64/bits/atomic.h
42076 (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
42077 64bit integer.
42078 (atomic_exchange_acq): Likewise.
42079 (__arch_exchange_and_add_body): Likewise.
42080 (__arch_add_body): Likewise.
42081 (atomic_add_negative): Likewise.
42082 (atomic_add_zero): Likewise.
42083
490df6c4
L
420842012-03-19 H.J. Lu <hongjiu.lu@intel.com>
42085
c2722551 42086 * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
490df6c4
L
42087 (fenv_t): Check __x86_64__ instead of __WORDSIZE.
42088
5e52b189
L
420892012-03-19 H.J. Lu <hongjiu.lu@intel.com>
42090
42091 * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
42092 Check __x86_64__ instead of __WORDSIZE.
42093
a9879d4c
L
420942012-03-19 H.J. Lu <hongjiu.lu@intel.com>
42095
42096 * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
42097
5df98260
DM
420982012-03-19 David S. Miller <davem@davemloft.net>
42099
e1497744
DM
42100 * sysdeps/sparc/fpu/libm-test-ulps: Update.
42101
5df98260
DM
42102 * sysdeps/sparc/fpu/fenv_private.h: New file.
42103 * sysdeps/sparc/fpu/math_private.h: Use it.
42104 (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
42105 Remove.
57f41c40 42106 (libc_feholdexcept_setround, libc_feholdexcept_setroundf)
5df98260
DM
42107 (libc_feholdexcept_setroundl): Remove.
42108 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
42109 Remove.
42110 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
42111 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
42112
b4c35121
L
421132012-03-19 H.J. Lu <hongjiu.lu@intel.com>
42114
42115 * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
42116 int64_t instead of long int.
42117 (INSERT_WORDS64): Likwise.
42118
56965fd7
L
421192012-03-19 H.J. Lu <hongjiu.lu@intel.com>
42120
42121 * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
42122 _Unwind_GetCFA return to _Unwind_Ptr first.
42123
83d1aec8
JM
421242012-03-19 Joseph Myers <joseph@codesourcery.com>
42125
1897ad44
JM
42126 [BZ #13629]
42127 * math/s_clog.c: Include <float.h>.
42128 (__clog): Scale large or subnormal inputs.
42129 * math/s_clogf.c: Likewise.
42130 * math/s_clogl.c: Likewise.
42131 * math/s_clog10.c: Include <float.h>.
42132 (M_LOG10_2): Define.
42133 (__clog10): Scale large or subnormal inputs.
42134 * math/s_clog10f.c: Likewise.
42135 * math/s_clog10l.c: Likewise.
42136 * math/libm-test.inc (clog_test): Add more tests.
42137 (clog10_test): Likewise.
42138 * sysdeps/i386/fpu/libm-test-ulps: Update.
42139 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
42140
7726d6a9
JM
42141 [BZ #11451]
42142 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
42143 x and y.
42144 * math/libm-test.inc (atan2_test): Add another test.
42145
83d1aec8
JM
42146 * Makerules (common-objdir-compile): Remove.
42147 * sysdeps/unix/Makefile (config-generated): Do not add
42148 $(unix-generated) to variable.
42149 [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
42150 [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
42151 Remove rule.
42152 [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
42153 Likewise.
42154 [generic bits/local_lim.h] (before-compile): Do not append to
42155 variable.
42156 [generic bits/local_lim.h] (common-generated): Likewise.
42157 [generic sys/param.h] (before-compile): Do not append to variable.
42158 [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
42159 [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
42160 [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
42161 [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
42162 include.
42163 [generic sys/param.h] (sys/param.h-includes): Remove variable.
42164 [generic sys/param.h] (sys/param.h-includes): Remove rule.
42165 [generic sys/param.h] ($(addprefix
42166 $(common-objpfx),$(sys/param.h-includes))): Likewise.
42167 [generic sys/param.h] (common-generated): Do not append to
42168 variable.
42169 [generic sys/param.h] (sysdep_headers): Likewise.
42170 [generic bits/errno.h] (before-compile): Do not append to
42171 variable.
42172 [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
42173 rule.
42174 [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
42175 [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
42176 [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
42177 [generic bits/errno.h] (common-generated): Do not append to
42178 variable.
42179 [generic bits/ioctls.h] (before-compile): Do not append to
42180 variable.
42181 [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
42182 rule.
42183 [generic bits/ioctls.h] (ioctl-includes): Remove variable.
42184 [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
42185 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
42186 rule.
42187 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
42188 [generic bits/ioctls.h] (bits_termios.h): Remove variable.
42189 [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
42190 [generic bits/ioctls.h] (common-generated): Do not append to
42191 variable.
42192 [generic sys/syscall.h] (syscall.h): Remove variable.
42193 [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
42194 rule.
42195 [generic sys/syscall.h] (before-compile): Do not append to
42196 variable.
42197 [generic sys/syscall.h] (common-generated): Likewise.
42198 * sysdeps/unix/errnos-tmpl.c: Remove file.
42199 * sysdeps/unix/errnos.awk: Likewise.
42200 * sysdeps/unix/ioctls-tmpl.c: Likewise.
42201 * sysdeps/unix/ioctls.awk: Likewise.
42202 * sysdeps/unix/mk-local_lim.c: Likewise.
42203 * sysdeps/unix/snarf-ioctls: Likewise.
42204
4851a949
RH
422052012-03-19 Richard Henderson <rth@twiddle.net>
42206
bd37f2ee
RH
42207 * sysdeps/i386/fpu/fenv_private.h: New file.
42208 * sysdeps/i386/fpu/math_private.h: Use it.
42209 (math_opt_barrier, math_force_eval): Remove.
42210 (libc_feholdexcept_setround_53bit): Remove.
42211 (libc_feupdateenv_53bit): Remove.
42212 * sysdeps/x86_64/fpu/math_private.h: Likewise.
42213 (math_opt_barrier, math_force_eval): Remove.
42214 (libc_feholdexcept): Remove.
42215 (libc_feholdexcept_setround): Remove.
42216 (libc_fetestexcept, libc_fesetenv): Remove.
42217 (libc_feupdateenv_test): Remove.
42218 (libc_feupdateenv, libc_feholdsetround): Remove.
42219 (libc_feresetround): Remove.
42220
d0adc922
RH
42221 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
42222 * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
42223
0fe0f1f8
RH
42224 * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
42225 (libc_feupdateenv_test, libc_feupdateenv_testf): New.
42226 (libc_feupdateenv_testl): New.
42227 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
42228 (libc_feupdateenv_testf): New.
42229 (libc_feupdateenv): Use libc_feupdateenv_test.
42230 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
42231 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
42232
eb92c487
RH
42233 * sysdeps/generic/math_private.h (libc_feholdsetround): New.
42234 (libc_feholdsetroundf, libc_feholdsetroundl): New.
42235 (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
42236 (libc_feresetround_noex): New.
42237 (libc_feresetround_noexf): New.
42238 (libc_feresetround_noexl): New.
42239 (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
42240 (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
42241 (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
42242 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
42243 SET_RESTORE_ROUND.
42244 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
42245 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
42246 (__cos): Likewise.
42247 * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
42248 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
42249 SET_RESTORE_ROUND_NOEX.
42250 * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
42251 SET_RESTORE_ROUND_NOEXF.
42252 * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
42253 * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
42254 (libc_feholdsetroundf): New.
42255 (libc_feresetround, libc_feresetroundf): New.
42256
7d2e8012
RH
42257 * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
42258 (libc_feholdexcept_setround_53bit): Convert from macro to function.
42259 (libc_feupdateenv_53bit): Likewise. Don't force _FPU_EXTENDED.
42260
b4dabbb4
RH
42261 * sysdeps/generic/math_private.h: Include <fenv.h>.
42262 (default_libc_feholdexcept): New.
42263 (default_libc_feholdexcept_setround): New.
42264 (default_libc_fesetenv, default_libc_feupdateenv): New.
42265 (libc_feholdexcept): Only define if undefined.
42266 (libc_feholdexceptf, libc_feholdexceptl): Likewise.
42267 (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
42268 (libc_feholdexcept_setroundl): Likewise.
42269 (libc_feholdexcept_setround_53bit): Likewise.
42270 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
42271 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
42272 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
42273 (libc_feupdateenv_53bit): Likewise.
42274 * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
42275 (libc_feholdexcept): Convert from macro to inline function.
42276 (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
42277 (libc_fesetenv, libc_feupdateenv): Likewise.
42278
4851a949
RH
42279 * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
42280 not previously defined.
42281 (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
42282 (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
42283 (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
42284 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
42285 * sysdeps/ieee754/flt-32/math_private.h: New file.
42286 * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
42287 math_private.h below SET_FLOAT_WORD.
42288 (__isnan, __isinf_ns, __finite): Remove.
42289 (__isnanf, __isinf_nsf, __finitef): Remove.
42290
e79d442e
AS
422912012-03-18 Andreas Schwab <schwab@linux-m68k.org>
42292
42293 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
42294
90b80344
DM
422952012-03-17 David S. Miller <davem@davemloft.net>
42296
42297 [BZ #6471]
42298 * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
42299 for 2.16.
42300
edc21804
DM
423012012-03-16 David S. Miller <davem@davemloft.net>
42302
77e927af
DM
42303 * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
42304 warnings.
42305
374976dd
DM
42306 [BZ #6471]
42307 * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
42308 properly.
42309 * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
42310 * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
42311 sysdep_routines when subdir is sysvipc.
42312 * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
42313 __getshmlba helper.
42314
edc21804
DM
42315 * sysdeps/sparc/fpu/libm-test/ulps: Update.
42316
473c3ef3
L
423172012-03-16 H.J. Lu <hongjiu.lu@intel.com>
42318
42319 * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
42320 [__LP64__].
42321
eb0f39b6
L
423222012-03-16 H.J. Lu <hongjiu.lu@intel.com>
42323
42324 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
42325 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
42326 (__lround): Renamed to ...
42327 (__llround): This. Replace long int with long long int.
42328 Define lround functions as aliases of llround functions.
42329 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
42330
6b6cd74b
L
423312012-03-16 H.J. Lu <hongjiu.lu@intel.com>
42332
42333 * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
42334 Use greg_t on sp. Use unsigned int on idx_uc_link. Cast
42335 adresses to uintptr_t. Replace "long int" and "unsigned long
42336 int" with "greg_t" on va_arg.
42337
f1a77b01
L
423382012-03-16 H.J. Lu <hongjiu.lu@intel.com>
42339
42340 * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
42341 * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
42342
42343 * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
42344 Move e_machine check before EI_CLASS check. Handle x32
42345 libraries. Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
42346 * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
42347 SKIP_EM_IA_64 and include
42348 <sysdeps/unix/sysv/linux/i386/readelflib.c>.
42349
42350 * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
42351 Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
42352 (add_system_dir): New macro.
42353
42354 * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
42355 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
42356
11b90b9f
JM
423572012-03-16 Joseph Myers <joseph@codesourcery.com>
42358
c36e1d23
JM
42359 [BZ #2551]
42360 [BZ #2552]
42361 [BZ #2553]
42362 [BZ #2554]
42363 [BZ #2562]
42364 [BZ #2563]
42365 [BZ #2565]
42366 [BZ #2566]
42367 [BZ #2576]
42368 * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
42369 (y0): Likewise.
42370 * math/w_j0f.c (j0f): Likewise.
42371 (y0f): Likewise.
42372 * math/w_j0l.c (__j0l): Likewise.
42373 (__y0l): Likewise.
42374 * math/w_j1.c (j1): Likewise.
42375 (y1): Likewise.
42376 * math/w_j1f.c (j1f): Likewise.
42377 (y1f): Likewise.
42378 * math/w_j1l.c (__j1l): Likewise.
42379 (__y1l): Likewise.
42380 * math/w_jn.c (jn): Likewise.
42381 (yn): Likewise.
42382 * math/w_jnf.c (jnf): Likewise.
42383 (ynf): Likewise.
42384 * math/w_jnl.c (__jnl): Likewise.
42385 (__ynl): Likewise.
42386 * math/libm-test.inc (j0_test): Add more tests.
42387 (j1_test): Likewise.
42388 (jn_test): Likewise. Add trailing semicolon to existing test.
42389 (y0_test): Likewise.
42390 (y1_test): Likewise.
42391 * sysdeps/i386/fpu/libm-test-ulps: Update.
42392 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
42393
11b90b9f
JM
42394 [BZ #13851]
42395 [BZ #13854]
42396 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
42397 libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
42398 * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
42399 * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
42400 (__tanl): Set errno for infinite argument.
42401 * sysdeps/i386/fpu/mptan.c: Remove.
42402 * sysdeps/i386/fpu/s_tan.S: Likewise.
42403 * sysdeps/i386/fpu/s_tanl.S: Likewise.
42404 * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
42405 * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
42406 * math/libm-test.inc (tan_test): Add more tests and enable more
42407 tests for double and long double.
42408 * sysdeps/i386/fpu/libm-test-ulps: Update.
42409 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
42410
6a1bd2a1
JK
424112012-03-16 Jan Kratochvil <jan.kratochvil@redhat.com>
42412
42413 * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
42414 (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
42415
10a803e0
RM
424162012-03-16 Roland McGrath <roland@hack.frob.com>
42417
42418 * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
42419 * configure.in: Use it for both main tree and add-ons.
42420 * configure: Regenerated.
42421
f196c7f7
L
424222012-03-16 H.J. Lu <hongjiu.lu@intel.com>
42423
42424 * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
42425
8848d99d
JM
424262012-03-16 Joseph Myers <joseph@codesourcery.com>
42427
96cbe7f4
JM
42428 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
42429 in comment.
42430
8848d99d
JM
42431 [BZ #13851]
42432 * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
42433 * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
42434 * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
42435 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
42436 * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
42437 infinite argument.
42438 * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
42439 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
42440 != 0 for prec == 2.
42441 * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
42442 * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
42443 * sysdeps/i386/fpu/s_cosl.S: Likewise.
42444 * sysdeps/i386/fpu/s_sincosl.S: Likewise.
42445 * sysdeps/i386/fpu/s_sinl.S: Likewise.
42446 * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
42447 * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
42448 * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
42449 * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
42450 * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
42451 * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
42452 * math/libm-test.inc (cos_test): Add more tests and enable more
42453 tests for long double.
42454 (sin_test): Likewise.
42455 (sincos_test): Likewise.
42456 * sysdeps/i386/fpu/libm-test-ulps: Update.
42457 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
42458
dd7f4703
DM
424592012-03-16 David S. Miller <davem@davemloft.net>
42460
42461 * sysdeps/sparc/fpu/math_private.h: New file.
42462
006f1daa
DM
424632012-03-15 David S. Miller <davem@davemloft.net>
42464
c0c83bc8
DM
42465 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
42466 file.
e6a62e18 42467 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
c0c83bc8
DM
42468 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
42469 file.
e6a62e18
DM
42470 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
42471 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
42472 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
42473 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
42474 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
42475 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
42476 sysdep routines.
42477 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
42478
88cb87d9
DM
42479 * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
42480 * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
42481
006f1daa 42482 * sysdeps/sparc/sparc-ifunc.h: New file.
c0c83bc8
DM
42483 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
42484 sparc-ifunc.h
006f1daa 42485 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
c0c83bc8
DM
42486 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
42487 Likewise.
42488 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
42489 Likewise.
006f1daa
DM
42490 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
42491 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
42492 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
c0c83bc8
DM
42493 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
42494 Likewise.
006f1daa
DM
42495 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
42496 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
42497 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
42498 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
c0c83bc8
DM
42499 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
42500 Likewise.
42501 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
42502 Likewise.
006f1daa
DM
42503 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
42504 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
42505 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
42506 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
42507 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
42508 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
42509 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
42510 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
42511 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
42512 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
42513 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
42514 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
42515 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
42516 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
42517 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
42518 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
42519 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
42520 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
42521 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
42522 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
42523 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
42524 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
42525 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
42526 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
42527
11e0098e
AS
425282012-03-15 Andreas Schwab <schwab@linux-m68k.org>
42529
42530 * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
42531 scaling.
42532 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
42533
e85b09d0
AJ
425342012-03-15 Andreas Jaeger <aj@suse.de>
42535
42536 [BZ #13852]
42537 * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
42538 ieee754/flt-32 implementation for sin, cos and sincos.
42539 * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
42540 * sysdeps/i386/fpu/s_cosf.S: Likewise.
42541 * sysdeps/i386/fpu/s_sincosf.S: Likewise.
42542 * sysdeps/i386/fpu/s_sinf.S: Likewise.
42543 * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
42544 ieee754/flt-32 implementation for tan.
42545
42546 * math/libm-test.inc (cos_test): Enable some large input tests for
42547 float as well
42548 (sin_test): Likewise.
42549 (sincos_test): Likewise.
42550 (tan_test): Add tests for large input.
42551
42552 * sysdeps/i386/fpu/libm-test-ulps: Update.
42553
81c64153
AJ
425542012-03-15 Andreas Jaeger <aj@suse.de>
42555
42556 [BZ #13658]
42557 * math/libm-test.inc (cos_test): Add more test cases.
42558 (sin_test): Likewise.
42559 (sincos_test): Likewise.
42560
7bbfa5c6
AJ
425612012-03-15 Andreas Jaeger <aj@suse.de>
42562
42563 [BZ #13837]
42564 * math/libm-test.inc (cos_test): Add a test case for large input
42565 value.
42566 (sin_test): Likewise.
42567 (sincos_test): Likewise.
42568
57f41c40
AS
425692012-03-15 Andreas Jaeger <aj@suse.de>
42570 Joseph Myers <joseph@codesourcery.com>
7bbfa5c6
AJ
42571
42572 [BZ #13658]
0671f479 42573 * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
7bbfa5c6
AJ
42574 x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
42575 * sysdeps/i386/fpu/branred.c: Likewise.
42576 * sysdeps/i386/fpu/dosincos.c: Likewise.
42577 * sysdeps/i386/fpu/mpa.c: Likewise.
42578 * sysdeps/i386/fpu/s_cos.S: Likewise.
42579 * sysdeps/i386/fpu/s_sin.S: Likewise.
42580 * sysdeps/i386/fpu/s_sincos.S: Likewise.
42581 * sysdeps/i386/fpu/sincos32.c: Likewise.
42582
42583 * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
42584 Define.
42585 (libc_feupdateenv_53bit): Define.
42586 * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
42587 Define.
42588 (libc_feupdateenv_53bit): Define.
42589
42590 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
42591 53 bit (without extend i386 double precision).
42592
42593 * math/libm-test.inc (sincos_test): Add tests for large input.
42594 (sin): Likewise.
42595 (cos): Likewise.
42596
42597 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
42598
9cad04ea
AS
425992012-03-15 Andreas Schwab <schwab@linux-m68k.org>
42600
42601 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
42602
f7062b9a
DM
426032012-03-15 David S. Miller <davem@davemloft.net>
42604
42605 * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
42606 * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
42607 * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
42608 * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
42609 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
42610 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
42611 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
42612 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
42613 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
42614 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
42615 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
42616 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
42617 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
42618 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
42619 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
c0c83bc8
DM
42620 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
42621 file.
f7062b9a 42622 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
c0c83bc8
DM
42623 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
42624 file.
f7062b9a 42625 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
c0c83bc8
DM
42626 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
42627 file.
f7062b9a 42628 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
c0c83bc8
DM
42629 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
42630 file.
f7062b9a
DM
42631 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
42632 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
42633 fmin/fmax sysdep routines.
42634 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
42635
7bd951ff
DM
426362012-03-14 David S. Miller <davem@davemloft.net>
42637
559398ab
DM
42638 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
42639 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
42640 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
42641 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
42642 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
42643 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
42644 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
42645 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
42646 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
42647 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
42648 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
42649 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
42650 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
42651 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
42652 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
42653 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
42654 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
42655 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
42656 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
42657 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
42658 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
42659 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
42660 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
42661 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
42662 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
42663 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
42664 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
42665 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
c0c83bc8
DM
42666 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
42667 routines.
42668 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
42669 file.
559398ab 42670 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
c0c83bc8
DM
42671 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
42672 file.
559398ab 42673 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
c0c83bc8
DM
42674 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
42675 file.
559398ab 42676 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
c0c83bc8
DM
42677 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
42678 file.
559398ab 42679 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
c0c83bc8
DM
42680 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
42681 file.
559398ab 42682 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
c0c83bc8
DM
42683 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
42684 file.
42685 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
42686 file.
42687 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
42688 file.
42689 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
42690 file.
42691 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
42692 New file.
42693 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
42694 file.
42695 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
42696 file.
559398ab 42697 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
c0c83bc8
DM
42698 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
42699 file.
559398ab 42700 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
c0c83bc8
DM
42701 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
42702 file.
559398ab 42703 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
c0c83bc8
DM
42704 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
42705 file.
559398ab 42706 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
c0c83bc8
DM
42707 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
42708 VIS3 routines.
559398ab
DM
42709
42710 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
42711 New file.
42712
5a1c1e32
DM
42713 * sysdeps/sparc/fpu/libm-test-ulps: Update.
42714
eae47a36
DM
42715 * sysdeps/sparc/configure.in: New file.
42716 * sysdeps/sparc/configure: Generate.
42717 * configure.in (libc_cv_sparc_as_vis3): Substitute.
42718 * configure: Regenerate.
42719 * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
42720 * config.make.in (have-as-vis3): New.
42721 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
42722 available use -Av9d instead of -Av9a.
42723 * sysdeps/sparc/sparc64/Makefile: Likewise.
42724 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
c0c83bc8
DM
42725 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
42726 New file.
42727 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
42728 file.
42729 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
42730 New file.
42731 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
42732 file.
eae47a36
DM
42733 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
42734 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
42735 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
42736 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
42737 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
42738
c0c83bc8
DM
42739 * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
42740 fzeros/fnegs to load 0x80000000 into a float register instead of
42741 using the stack.
7bd951ff
DM
42742 * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
42743
bd951ccb
JM
427442012-03-14 Joseph Myers <joseph@codesourcery.com>
42745
42746 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
42747 bits/syscall.h.
42748 ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
42749 ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
42750 ($(inst_includedir)/bits/syscall.h): Remove rule.
42751 ($(objpfx)bits/syscall.d): Include instead of
42752 $(objpfx)syscall-list.d.
42753 (generated): Change syscall-list.h and syscall-list.d to
42754 bits/syscall.h and bits/syscall.d.
42755
bb4e6db2
RM
427562012-03-14 Roland McGrath <roland@hack.frob.com>
42757
42758 [BZ #13846]
42759 * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
42760
aa4a2ae1
JM
427612012-03-14 Joseph Myers <joseph@codesourcery.com>
42762
e456826d
JM
42763 [BZ #13841]
42764 * math/s_csqrt.c: Include <float.h>.
42765 (__csqrt): Scale large or subnormal inputs.
42766 * math/s_csqrtf.c: Likewise.
42767 * math/s_csqrtl.c: Likewise.
42768 * math/libm-test.inc (csqrt_test): Add more tests.
42769 * sysdeps/i386/fpu/libm-test-ulps: Update.
42770 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
42771
aa4a2ae1
JM
42772 [BZ #13840]
42773 * math/libm-test.inc (hypot_test): Add more tests.
42774
7c10fd35
DM
427752012-03-13 David S. Miller <davem@davemloft.net>
42776
42777 [BZ #13840]
42778 * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
42779 double-precision for the calculation instead of scaling.
42780
f453b98b
JM
427812012-03-13 Joseph Myers <joseph@codesourcery.com>
42782
42783 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
42784 manipulate bits before adding and subtracting TWO52[sx].
42785 * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
42786 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
42787 Likewise.
42788 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
42789
09a3453f
DM
427902012-03-13 David S. Miller <davem@davemloft.net>
42791
8e59da90
DM
42792 * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
42793 * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
42794 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
42795 rtld-global-offsets.h
42796 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
42797
2a8ab7f2
DM
42798 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
42799 large parameters.
42800
10f62770
DM
42801 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
42802
5f0bdb18
DM
42803 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
42804 'err' in the ifdef scope in which it is actually used.
42805
09a3453f
DM
42806 * nss/nss_db/db-init.c: Include string.h
42807
b4b2eb5e
DM
428082012-03-12 David S. Miller <davem@davemloft.net>
42809
98bb2f1c
DM
42810 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
42811 masking out of the most significant byte of random value used.
42812 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
42813 Fix coding style in previous change.
42814
b4b2eb5e
DM
42815 * sysdeps/unix/sysv/linux/kernel-features.h
42816 (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
42817 (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
42818 expression.
42819 (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
42820 later.
42821
6e226b09
DM
428222012-03-11 David S. Miller <davem@davemloft.net>
42823
a1bcbd40
DM
42824 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
42825 (__makecontext): Fix signedness of pointer casts setting up 'sp'.
42826 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
42827 for 'resultvar' otherwise things get truncated on 64-bit.
42828
cb9d6174
DM
42829 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
42830 Fix masking out of the most significant byte of random value used.
42831
6e226b09
DM
42832 * sysdeps/sparc/fpu/libm-test-ulps: Update.
42833
058c132d
AS
428342012-03-10 Andreas Schwab <schwab@linux-m68k.org>
42835
42836 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
42837
2d2cd515
DM
428382012-03-09 David S. Miller <davem@davemloft.net>
42839
42840 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
42841 variables with appropriate CPP guards.
57f41c40
AS
42842 * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr
42843 from the frame pointer, not the stack pointer. Correct layout
42844 comments. Fix test on resulting framesize and the management of
42845 the outregs buffer for pltexit. Preserve floating point return
42846 values across _dl_call_pltexit call.
2d2cd515
DM
42847 * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
42848 framesize and the management of the outregs buffer for pltexit.
42849 Preserve floating point return values across _dl_call_pltexit
42850 call.
57f41c40
AS
42851 * elf/sotruss-lib.c (la_sparc32_gnu_pltenter)
42852 (la_sparc64_gnu_pltenter, la_sparc32_gnu_pltexit)
42853 (la_sparc64_gnu_pltexit): New functions.
2d2cd515
DM
42854 (print_exit): Fix format string for return register value.
42855
9a07f9d0
JM
428562012-03-10 Joseph Myers <joseph@codesourcery.com>
42857
42858 * sunrpc/Makefile (others): Add rpcgen.
42859 ($(objpfx)rpcgen): Remove special build rule and dependency on
42860 libc.
42861 * sunrpc/rpcgen.c: New file.
42862
547b5e30
PE
428632012-03-09 Paul Eggert <eggert@cs.ucla.edu>
42864
c524201a
PE
42865 [BZ #13673]
42866 * posix/bug-regex33.c: Replace FSF snail mail address with URL.
42867 * stdio-common/bug-vfprintf-nargs.c: Likewise.
42868 * sysdeps/i386/crti.S: Likewise.
42869 * sysdeps/i386/crtn.S: Likewise.
42870 * sysdeps/powerpc/powerpc32/crti.S: Likewise.
42871 * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
42872 * sysdeps/powerpc/powerpc64/crti.S: Likewise.
42873 * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
42874 * sysdeps/sh/crti.S: Likewise.
42875 * sysdeps/sh/crtn.S: Likewise.
42876 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
42877
7b6235f2
PE
42878 [BZ #13673]
42879 * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
42880 with URL.
42881 * locale/programs/locfile-kw.gperf: Likewise.
42882 * locale/programs/charmap-kw.h: Regenerated.
42883 * locale/programs/locfile-kw.h: Likewise.
42884
547b5e30
PE
42885 [BZ #13673]
42886 * intl/plural.y: Replace FSF snail mail address with URL.
42887 * intl/plural.c: Regenerated.
42888
5f0a5dae
RH
428892012-03-09 Richard Henderson <rth@twiddle.net>
42890
42891 * include/math_private.h: Remove file.
42892 * math/math_private.h: Move file ...
42893 * sysdeps/generic/math_private.h: ... here.
42894
b8c03620
RH
42895 * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
42896 * sysdeps/powerpc/fpu/math_private.h: Likewise.
42897 * sysdeps/x86_64/fpu/math_private.h: Likewise.
42898
4e234f5d 42899 * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
33154d7b
RH
42900 and <math_private.h>.
42901 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
42902 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
42903 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
42904 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
42905 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
42906 * sysdeps/ieee754/dbl-64/branred.c: Likewise.
42907 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
42908 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
42909 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
42910 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
42911 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
42912 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
42913 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
42914 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
42915 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
42916 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
42917 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
42918 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
42919 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
42920 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
42921 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
42922 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
42923 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
42924 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
42925 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
42926 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
42927 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
42928 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
42929 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
42930 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
42931 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
42932 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
42933 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
42934 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
42935 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
42936 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
42937 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
42938 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
42939 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
42940 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
42941 * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
42942 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
42943 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
42944 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
42945 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
42946 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
42947 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
42948 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
42949 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
42950 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
42951 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
42952 * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
42953 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
42954 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
42955 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
42956 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
42957 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
42958 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
42959 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
42960 * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
42961 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
42962 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
42963 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
42964 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
42965 * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
42966 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
42967 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
42968 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
42969 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
42970 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
42971 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
42972 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
42973 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
42974 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
42975 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
42976 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
42977 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
42978 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
42979 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
42980 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
42981 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
42982 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
42983 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
42984 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
42985 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
42986 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
42987 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
42988 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
42989 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
42990 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
42991 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
42992 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
42993 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
42994 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
42995 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
42996 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
42997 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
42998 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
42999 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
43000 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
43001 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
43002 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
43003 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
43004 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
43005 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
43006 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
43007 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
43008 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
43009 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
43010 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
43011 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
43012 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
43013 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
43014 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
43015 * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
43016 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
43017 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
43018 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
43019 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
43020 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
43021 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
43022 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
43023 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
43024 * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
43025 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
43026 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
43027 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
43028 * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
43029 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
43030 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
43031 * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
43032 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
43033 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
43034 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
43035 * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
43036 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
43037 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
43038 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
43039 * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
43040 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
43041 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
43042 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
43043 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
43044 * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
43045 * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
43046 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
43047 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
43048 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
43049 * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
43050 * sysdeps/ieee754/k_standard.c: Likewise.
43051 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
43052 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
43053 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
43054 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
43055 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
43056 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
43057 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
43058 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
43059 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
43060 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
43061 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
43062 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
43063 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
43064 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
43065 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
43066 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
43067 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
43068 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
43069 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
43070 * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
43071 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
43072 * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
43073 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
43074 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
43075 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
43076 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
43077 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
43078 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
43079 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
43080 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
43081 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
43082 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
43083 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
43084 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
43085 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
43086 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
43087 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
43088 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
43089 * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
43090 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
43091 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
43092 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
43093 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
43094 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
43095 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
43096 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
43097 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
43098 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
43099 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
43100 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
43101 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
43102 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
43103 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
43104 * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
43105 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
43106 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
43107 * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
43108 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
43109 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
43110 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
43111 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
43112 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
43113 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
43114 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
43115 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
43116 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
43117 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
43118 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
43119 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
43120 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
43121 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
43122 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
43123 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
43124 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
43125 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
43126 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
43127 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
43128 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
43129 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
43130 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
43131 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
43132 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
43133 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
43134 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
43135 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
43136 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
43137 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
43138 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
43139 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
43140 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
43141 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
43142 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
43143 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
43144 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
43145 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
43146 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
43147 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
43148 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
43149 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
43150 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
43151 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
43152 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
43153 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
43154 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
43155 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
43156 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
43157 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
43158 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
43159 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
43160 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
43161 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
43162 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
43163 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
43164 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
43165 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
43166 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
43167 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
43168 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
43169 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
43170 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
43171 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
43172 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
43173 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
43174 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
43175 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
43176 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
43177 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
43178 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
43179 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
43180 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
43181 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
43182 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
43183 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
43184 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
43185 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
43186 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
43187 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
43188 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
43189 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
43190 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
43191 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
43192 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
43193 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
43194 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
43195 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
43196 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
43197 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
43198 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
43199 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
43200 * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
43201 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
43202 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
43203 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
43204 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
43205 * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
43206 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
43207 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
43208 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
43209 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
43210 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
43211 * sysdeps/ieee754/s_lib_version.c: Likewise.
43212 * sysdeps/ieee754/s_matherr.c: Likewise.
43213 * sysdeps/ieee754/s_signgam.c: Likewise.
43214 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
43215 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
43216 * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
43217 * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
43218 * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
43219 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
43220 * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
43221 * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
43222 * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
43223 * sysdeps/powerpc/fpu/s_rint.c: Likewise.
43224 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
43225 * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
43226 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
43227 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
43228 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
43229 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
43230 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
43231 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
43232 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
43233 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
43234 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
1ed0291c 43235
1991fa03
JM
432362012-03-09 Joseph Myers <joseph@codesourcery.com>
43237
43238 * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
43239 * sunrpc/rpc_main.c: Likewise.
43240 * sunrpc/rpc_svcout.c: Likewise.
43241
60d6f5a6
DM
432422012-03-09 David S. Miller <davem@davemloft.net>
43243
43244 * include/math_private.h: New file.
43245
4962050e
JM
432462012-03-09 Joseph Myers <joseph@codesourcery.com>
43247
02a6f887
JM
43248 * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
43249 * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
43250 * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
43251 from <bits/socket_type.h>.
43252 (enum __socket_type): Don't define here.
43253 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
43254 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
43255 bits/socket_type.h.
43256
c6e013c1
JM
43257 [BZ #13566]
43258 * libio/stdio.h (gets): Always declare for C++ up to C++11 without
43259 checking __USE_GNU.
43260
4962050e
JM
43261 * Makerules ($(inst_includedir)/%.h): New rule.
43262 * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
43263 (install-others): Remove variable setting.
43264 ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
43265
38842f45
RH
432662012-03-08 Richard Henderson <rth@twiddle.net>
43267
67bb6da6
RH
43268 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
43269 from macro to inline function; merge with the
43270 !__LIBC_INTERNAL_MATH_INLINES version.
43271 (__ieee754_sqrtf): Likewise.
43272
15194b4b
RH
43273 * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
43274 to inline function.
43275 (__rintf, __floor, __floorf): Likewise.
43276
64e21ede
RH
43277 * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
43278 macro to inline function.
43279 (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
43280
38842f45
RH
43281 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
43282 not <math/math_private.h>.
43283
c64bf5fe
DM
432842012-03-08 David S. Miller <davem@davemloft.net>
43285
43286 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
43287 copyright year.
43288 * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
43289
82d86f28
TS
432902012-03-08 Thomas Schwinge <thomas@codesourcery.com>
43291
43292 * resolv/gai_misc.c (handle_requests): Fix struct timespec
43293 normalization.
43294 * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
43295 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
43296
aea5d727
UD
432972012-03-08 Ulrich Drepper <drepper@gmail.com>
43298
43299 * stdio-common/tst-fphex.c: Various cleanups. The macros cannot
43300 be defined individually, they must be defined as a block. Define
43301 S for printing a string instead of hidint the different by using a
43302 macro for adding the 'l'.
43303 * stdio-common/tst-fphex-wide.c: Adjust.
43304
70bca0a3
MP
433052012-03-07 Marek Polacek <polacek@redhat.com>
43306
43307 * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
43308
65b81130
MP
433092012-03-08 Marek Polacek <polacek@redhat.com>
43310
43311 [BZ #13806]
43312 * stdio-common/Makefile (tests): Add tst-fphex-wide.
43313 * stdio-common/tst-fphex.c: Define a few macros to make the
43314 test reusable. Use them.
43315 * stdio-common/tst-fphex-wide.c: New file.
43316
07037eeb
JM
433172012-03-08 Joseph Myers <joseph@codesourcery.com>
43318
a7a93d50
JM
43319 [BZ #6911]
43320 * manual/macros.texi (gnusystems): New macro.
43321 (nongnusystems): Likewise.
43322 (gnulinuxhurdsystems): Likewise.
43323 (gnuhurdsystems): Likewise..
43324 (gnulinuxsystems): Likewise.
43325 * manual/charset.texi: Use new macros or @theglibc{} to refer to
43326 variants of the GNU system, not "GNU system".
43327 * manual/conf.texi: Likewise.
43328 * manual/errno.texi: Likewise. Update example of errno macro
43329 expansion.
43330 * manual/filesys.texi: Likewise.
43331 (getumask): Document as specific to GNU/Hurd.
43332 * manual/install.texi: Likewise. Reword some references to
43333 GNU/Linux.
43334 * manual/intro.texi: Likewise.
43335 * manual/io.texi: Likewise.
43336 (File Name Portability): Detail which constraints are inapplicable
43337 to all GNU systems and which are only inapplicable to GNU/Hurd.
43338 * manual/job.texi: Likewise.
43339 * manual/llio.texi: Likewise.
43340 (O_NOCTTY): Document as present on GNU/Linux.
43341 * manual/maint.texi: Likewise.
43342 * manual/memory.texi: Likewise.
43343 * manual/pattern.texi: Likewise.
43344 * manual/pipe.texi: Likewise.
43345 * manual/process.texi: Likewise.
43346 * manual/resource.texi: Likewise.
43347 (RUSAGE_CHILDREN): Remove statement about specifying a particular
43348 child on GNU/Hurd.
43349 * manual/setjmp.texi: Likewise.
43350 * manual/signal.texi: Likewise.
43351 * manual/startup.texi: Likewise.
43352 * manual/stdio.texi: Likewise.
43353 * manual/terminal.texi: Likewise.
43354 (ONLCR): Document as POSIX.
43355 (OXTABS): Document availability on GNU/Linux as XTABS.
43356 (ONOEOT): Document availability separately from other bits.
43357 (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
43358 * manual/time.texi: Likewise.
43359 * manual/users.texi: Likewise.
43360 * INSTALL: Regenerated.
43361 * sysdeps/gnu/errlist.c: Regenerated.
43362
07037eeb
JM
43363 * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
43364 * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
43365 (libc_cv_ctors_header): Likewise. Use asm ("") instead of calling
43366 puts.
43367 * configure: Regenerated.
43368
d1d3431a
JM
433692012-03-07 Joseph Myers <joseph@codesourcery.com>
43370
af6a1e37
JM
43371 * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
43372 default includes instead of AC_HEADER_CHECK.
43373 * sysdeps/i386/configure: Regenerated.
43374
d1d3431a
JM
43375 [BZ #10716]
43376 * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
43377 * math/s_cacoshf.c (__cacoshf): Likewise.
43378 * math/s_cacoshl.c (__cacoshl): Likewise.
43379 * math/s_casinh.c (__casinh): Set signs of result from argument.
43380 * math/s_casinhf.c (__casinhf): Likewise.
43381 * math/s_casinhl.c (__casinhl): Likewise.
43382 * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
43383 (casinh_test): Add more tests.
43384 * sysdeps/i386/fpu/libm-test-ulps: Update.
43385 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
43386
482ff4da
UD
433872012-03-07 Ulrich Drepper <drepper@gmail.com>
43388
872fda05
UD
43389 * po/zh_TW.po: Update from translation team.
43390
a4300c7a
UD
43391 * login/Makefile (distribute): Remove variable.
43392 * catgets/Makefile: Likewise.
43393 * mach/Makefile: Likewise.
43394 * malloc/Makefile: Likewise.
43395 * misc/Makefile: Likewise.
43396 * iconv/Makefile: Likewise.
43397 * nscd/Makefile: Likewise.
43398 * hurd/Makefile: Likewise.
43399 * manual/Makefile: Likewise.
43400 * locale/Makefile: Likewise.
43401 * intl/Makefile: Likewise.
43402 * conform/Makefile: Likewise.
43403 * nss/Makefile: Likewise.
43404 * time/Makefile: Likewise.
43405 * soft-fp/Makefile: Likewise.
43406 * dirent/Makefile: Likewise.
43407 * gmon/Makefile: Likewise.
43408 * po/Makefile: Likewise.
43409 * rt/Makefile: Likewise.
43410 * socket/Makefile: Likewise.
43411 * math/Makefile: Likewise.
43412 * signal/Makefile: Likewise.
43413 * debug/Makefile: Likewise.
43414 * elf/Makefile: Likewise.
43415 * timezone/Makefile: Likewise.
43416 * stdlib/Makefile: Likewise.
43417 * iconvdata/Makefile: Likewise.
43418 * sunrpc/Makefile: Likewise.
43419 * io/Makefile: Likewise.
43420 * argp/Makefile: Likewise.
43421 * inet/Makefile: Likewise.
43422 * hesiod/Makefile: Likewise.
43423 * grp/Makefile: Likewise.
43424 * csu/Makefile: Likewise.
43425 * wctype/Makefile: Likewise.
43426 * crypt/Makefile: Likewise.
43427 * libio/Makefile: Likewise.
43428 * string/Makefile: Likewise.
43429 * nis/Makefile: Likewise.
43430 * resolv/Makefile: Likewise.
43431 * stdio-common/Makefile: Likewise.
43432 * wcsmbs/Makefile: Likewise.
43433 * dlfcn/Makefile: Likewise.
43434 * posix/Makefile: Likewise.
43435
3b7c4e74 43436 [BZ #6959]
482ff4da
UD
43437 * timezone/Makefile: Don't install timezone files, just the programs
43438 and scripts.
43439
f72ed77d
UD
434402012-03-06 Ulrich Drepper <drepper@gmail.com>
43441
a000466f
UD
43442 * nss/databases.def: Add missing gshadow entry.
43443
f72ed77d
UD
43444 * stdio-common/vfprintf.c: Fix formatting. Missing copyright update.
43445
a53b7a4e
MP
434462012-03-06 Marek Polacek <polacek@redhat.com>
43447
43448 [BZ #13726]
43449 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
43450 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
43451 * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
43452 * stdio-common/tst-long-dbl-fphex.c: New file.
43453
e9258400
DM
434542012-03-06 David S. Miller <davem@davemloft.net>
43455
43456 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
43457 (set_obp_int): New function.
43458 (get_obp_int): New function.
43459 (__get_clockfreq_via_dev_openprom): Likewise.
f72ed77d
UD
43460 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
43461 Avoid unused variable warnings on 'val' and use builtin_expect.
43462 (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
43463 __builtin_expect.
e9258400
DM
43464 (INLINE_CLONE_SYSCALL): Likewise.
43465
3bd2c723
DM
434662012-03-05 David S. Miller <davem@davemloft.net>
43467
43468 * sysdeps/sparc/fpu/libm-test-ulps: Update.
43469
bbb78d03
AS
434702012-03-05 Andreas Schwab <schwab@linux-m68k.org>
43471
884c5db4
AS
43472 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
43473
bbb78d03
AS
43474 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
43475 only for |x| >= 40.
43476 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
43477
1c9f702a 434782012-03-05 H.J. Lu <hongjiu.lu@intel.com>
8542dee3
L
43479
43480 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
43481 Replace gettimeofday with __vdso_gettimeofday.
43482
7be16f82
RM
43483 * sysdeps/unix/sysv/linux/x86_64/init-first.c
43484 (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
43485 __vdso_clock_gettime and __vdso_getcpu.
8542dee3
L
43486
43487 * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
43488 time with __vdso_time.
43489
ed58a00f
JM
434902012-03-05 Joseph Myers <joseph@codesourcery.com>
43491
43492 * manual/lang.texi (size_t): Note types to which size_t may be
43493 equivalent with the GNU C Library, but do not describe when
43494 differences between them are significant.
43495
30ee4ced
AJ
434962012-03-05 Andreas Jaeger <aj@suse.de>
43497
43498 * sysdeps/i386/fpu/libm-test-ulps: Update.
43499
b7cd39e8
JM
435002012-03-05 Joseph Myers <joseph@codesourcery.com>
43501
43502 [BZ #3976]
43503 * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
43504 (__ieee754_pow): Save and restore rounding mode and use
43505 round-to-nearest for main computations.
43506 * math/libm-test.inc (pow_test_tonearest): New function.
43507 (pow_test_towardzero): Likewise.
43508 (pow_test_downward): Likewise.
43509 (pow_test_upward): Likewise.
43510 (main): Call the new functions.
43511 * sysdeps/i386/fpu/libm-test-ulps: Update.
43512 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
ca811b22
JM
43513
43514 [BZ #3976]
43515 * math/libm-test.inc (cosh_test_tonearest): New function.
43516 (cosh_test_towardzero): Likewise.
43517 (cosh_test_downward): Likewise.
43518 (cosh_test_upward): Likewise.
43519 (sinh_test_tonearest): Likewise.
43520 (sinh_test_towardzero): Likewise.
43521 (sinh_test_downward): Likewise.
43522 (sinh_test_upward): Likewise.
43523 (main): Call the new functions.
43524 * sysdeps/i386/fpu/libm-test-ulps: Update.
43525 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
43526
6c6a98c9
TV
435272012-03-05 Tom de Vries <tom@codesourcery.com>
43528
43529 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
43530 default stack guard is set in last bytes.
43531 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
43532
21bb2d2e 435332012-03-05 Kees Cook <keescook@chromium.org>
7c1f4834 43534
21bb2d2e 43535 * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
fa035517 43536
21bb2d2e
AJ
43537 [BZ #13656]
43538 * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
43539 possibly allocate from heap instead of stack.
43540 * stdio-common/bug-vfprintf-nargs.c: New file.
43541 * stdio-common/Makefile (tests): Add nargs overflow test.
7c1f4834 43542
c6922934
AS
435432012-03-03 Andreas Schwab <schwab@linux-m68k.org>
43544
43545 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
43546
bc957d53
MP
435472012-03-03 Marek Polacek <polacek@redhat.com>
43548
43549 * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
43550 * math/math_private.h: Likewise.
43551 * stdlib/tst-strtod.c: Likewise.
43552 * sysdeps/i386/i486/bits/atomic.h: Likewise.
43553 * sysdeps/x86_64/bits/atomic.h: Likewise.
43554
6358490d
DM
435552012-03-02 David S. Miller <davem@davemloft.net>
43556
43557 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
43558 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
43559 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
43560 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
43561 * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
43562 * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
43563 * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
43564 * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
43565
01ae168d
RM
435662012-03-02 Roland McGrath <roland@hack.frob.com>
43567
d9a17c07
RM
43568 [BZ #13792]
43569 * manual/examples/README: New file, says the example source files
43570 can be used under GPL>=2.
43571 * manual/Makefile (%.c.texi): Eat the leading part of the file until a
43572 line containing just "*/".
43573 * manual/examples/add.c: Add copyright header (GPL>=2).
43574 * manual/examples/argp-ex1.c: Likewise.
43575 * manual/examples/argp-ex2.c: Likewise.
43576 * manual/examples/argp-ex3.c: Likewise.
43577 * manual/examples/argp-ex4.c: Likewise.
43578 * manual/examples/atexit.c: Likewise.
43579 * manual/examples/db.c: Likewise.
43580 * manual/examples/dir.c: Likewise.
43581 * manual/examples/dir2.c: Likewise.
43582 * manual/examples/execinfo.c: Likewise.
43583 * manual/examples/filecli.c: Likewise.
43584 * manual/examples/filesrv.c: Likewise.
43585 * manual/examples/fmtmsgexpl.c: Likewise.
43586 * manual/examples/genpass.c: Likewise.
43587 * manual/examples/inetcli.c: Likewise.
43588 * manual/examples/inetsrv.c: Likewise.
43589 * manual/examples/isockad.c: Likewise.
43590 * manual/examples/longopt.c: Likewise.
43591 * manual/examples/memopen.c: Likewise.
43592 * manual/examples/memstrm.c: Likewise.
43593 * manual/examples/mkfsock.c: Likewise.
43594 * manual/examples/mkisock.c: Likewise.
43595 * manual/examples/mygetpass.c: Likewise.
43596 * manual/examples/pipe.c: Likewise.
43597 * manual/examples/popen.c: Likewise.
43598 * manual/examples/rprintf.c: Likewise.
43599 * manual/examples/search.c: Likewise.
43600 * manual/examples/select.c: Likewise.
43601 * manual/examples/setjmp.c: Likewise.
43602 * manual/examples/sigh1.c: Likewise.
43603 * manual/examples/sigusr.c: Likewise.
43604 * manual/examples/stpcpy.c: Likewise.
43605 * manual/examples/strdupa.c: Likewise.
43606 * manual/examples/strftim.c: Likewise.
43607 * manual/examples/strncat.c: Likewise.
43608 * manual/examples/subopt.c: Likewise.
43609 * manual/examples/swapcontext.c: Likewise.
43610 * manual/examples/termios.c: Likewise.
43611 * manual/examples/testopt.c: Likewise.
43612 * manual/examples/testpass.c: Likewise.
43613 * manual/examples/timeval_subtract.c: Likewise.
43614
01ae168d
RM
43615 [BZ #13792]
43616 * manual/time.texi (Elapsed Time): Move timeval_subtract example
43617 function to ...
43618 * manual/timeval_subtract.c.texi: ... here, new file.
43619
49efa33d
DM
436202012-03-02 David S. Miller <davem@davemloft.net>
43621
43622 * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
43623
28afd92d
JM
436242012-03-02 Joseph Myers <joseph@codesourcery.com>
43625
804360ed
JM
43626 [BZ #3976]
43627 * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
43628 (__sin): Save and restore rounding mode and use round-to-nearest
43629 for all computations.
43630 (__cos): Save and restore rounding mode and use round-to-nearest
43631 for all computations.
43632 * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
43633 <fenv.h>.
43634 (tan): Save and restore rounding mode and use round-to-nearest for
43635 all computations.
43636 * math/libm-test.inc (cos_test_tonearest): New function.
43637 (cos_test_towardzero): Likewise.
43638 (cos_test_downward): Likewise.
43639 (cos_test_upward): Likewise.
43640 (sin_test_tonearest): Likewise.
43641 (sin_test_towardzero): Likewise.
43642 (sin_test_downward): Likewise.
43643 (sin_test_upward): Likewise.
43644 (tan_test_tonearest): Likewise.
43645 (tan_test_towardzero): Likewise.
43646 (tan_test_downward): Likewise.
43647 (tan_test_upward): Likewise.
43648 (main): Call the new functions.
43649 * sysdeps/i386/fpu/libm-test-ulps: Update.
43650 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
43651
a6d06d7b
JM
43652 [BZ #10135]
43653 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
43654 small n, then large n, before computing and testing k+n.
43655 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
43656 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
43657 Likewise.
43658 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
43659 Likewise.
43660 * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
43661 * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
43662 * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
43663 * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
43664 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
43665 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
43666 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
43667 * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
43668 * math/libm-test.inc (scalbn_test): Add more tests.
43669 (scalbln_test): Likewise.
43670
07e12bb3
JM
43671 * manual/filesys.texi (mode_t): Describe constraints on size and
43672 signedness, not exact equivalence to a particular type.
43673 (ino_t): Likewise.
43674 (ino64_t): Likewise.
43675 (dev_t): Likewise.
43676 (nlink_t): Likewise.
43677 (blkcnt_t): Likewise.
43678 (blkcnt64_t): Likewise.
43679 * manual/llio.texi (off_t): Likewise.
43680
28afd92d
JM
43681 [BZ #3976]
43682 * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
43683 (__ieee754_exp): Save and restore rounding mode and use
43684 round-to-nearest for all computations.
43685 * math/libm-test.inc (exp_test_tonearest): New function.
43686 (exp_test_towardzero): Likewise.
43687 (exp_test_downward): Likewise.
43688 (exp_test_upward): Likewise.
43689 (main): Call the new functions.
43690 * sysdeps/i386/fpu/libm-test-ulps: Update.
43691 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
43692
b1eeb65d
CD
436932012-03-01 Chris Demetriou <cgd@google.com>
43694
43695 * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
43696 have predictable order.
43697
53362a4b
DM
436982012-03-01 David S. Miller <davem@davemloft.net>
43699
3c969083
DM
43700 * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
43701
759707de
DM
43702 * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
43703 * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
43704 * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
43705 * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
43706
dfdb8ff2
DM
43707 * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
43708 * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
43709 * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
43710 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
43711 * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
43712 * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
43713 * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
43714 * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
43715 * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
43716
ead89f96
DM
43717 * sysdeps/sparc/fpu/libm-test-ulps: Update.
43718
7f66bd07
DM
43719 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
43720 * sysdeps/sparc/fpu/libm-test-ulps: to here.
43721 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
43722
53362a4b
DM
43723 * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
43724 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
43725 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
43726 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
43727 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
43728 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
43729 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
43730 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
43731 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
43732 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
43733 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
43734 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
43735 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
43736 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
43737 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
43738 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
43739 * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
43740 * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
43741 * sysdeps/sparc/elf/configure: Regenerated.
43742
7b1902cb
JM
437432012-03-01 Joseph Myers <joseph@codesourcery.com>
43744
bec039bc
JM
43745 * configure.in (AS, LD): Require binutils 2.20 or later.
43746 * configure: Regenerated.
43747 * manual/install.texi (Tools for Compilation): Give binutils 2.20
43748 as required minimum version.
43749 * INSTALL: Regenerated.
43750
7b1902cb
JM
43751 [BZ #2541]
43752 [BZ #4108]
43753 * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
43754 before squaring exponent.
43755 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
43756 bottom long double and 27 bits of top long double before squaring
43757 exponent.
43758 * math/libm-test.inc (erfc_test): Add more tests.
43759 * sysdeps/i386/fpu/libm-test-ulps: Update.
43760 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
43761 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
43762
f775c276
KT
437632012-03-01 Kai Tietz <ktietz@redhat.com>
43764
43765 * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
43766 * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
43767 containing bit-fields.
43768 * soft-fp/extended.h (_FP_UNION_E): Likewise.
43769 * soft-fp/single.h (_FP_UNION_S): Likewise.
43770 * soft-fp/double.h (_FP_UNION_D): Likewise.
43771
5b8a4d4a
JM
437722012-02-29 Joseph Myers <joseph@codesourcery.com>
43773
0bab47b6
JM
43774 [BZ #13786]
43775 * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
43776 not include ../strcmp.S.
43777 [USE_AS_STRNCASECMP_L]: Likewise.
43778 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
43779 (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
43780 * sysdeps/i386/i686/multiarch/strncase_l-c.c
43781 (__strncasecmp_l_ia32): Define as alias to
43782 __strncasecmp_l_nonascii.
43783
0fcad3e2
JM
43784 [BZ #5794]
43785 * math/libm-test.inc (expm1_test): Add test for bug 5794.
43786 * sysdeps/i386/fpu/libm-test-ulps: Update.
43787 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
43788
5b8a4d4a
JM
43789 * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
43790 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
43791
8fdceb2e
JL
437922012-02-29 Jeff Law <law@redhat.com>
43793
43794 * resolv/res_query.c (__libc_res_nquerydomain): Avoid
43795 out of bounds read.
43796
1f393a11
MP
437972012-02-29 Marek Polacek <polacek@redhat.com>
43798
43799 [BZ #13706]
43800 * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
43801 * elf/Makefile: Add rules to run tst-unused-dep.out.
43802
8847f037
DM
438032012-02-28 David S. Miller <davem@davemloft.net>
43804
43805 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
43806 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
43807 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
43808 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
43809 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
43810 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
43811
169d7f11
JM
438122012-02-29 Joseph Myers <joseph@codesourcery.com>
43813
43814 * math/libm-test.inc (llround_test): Move one test from
43815 lround_test. Use TEST_f_L in moved test.
43816 (lround_test): Move misplaced test to llround_test. Add testcase
43817 from bug 2561.
43818
39adf059
UD
438192012-02-28 Ulrich Drepper <drepper@gmail.com>
43820
43821 * sysdeps/x86_64/fpu/e_expf.S: New file.
43822 Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
43823
71b5d1c5
SB
438242012-02-28 Stanislav Brabec <sbrabec@suse.cz>
43825
43826 [BZ #13637]
43827 * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
43828 of remain_len that may cause incomplete multi-byte character and
43829 false match.
43830 * posix/bug-regex33.c: New file.
43831 * posix/Makefile (tests): Add bug-regex33.
43832
1f77f049
JM
438332012-02-28 Joseph Myers <joseph@codesourcery.com>
43834
43835 * manual/macros.texi: New file.
43836 * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
43837 * manual/libc.texinfo: Include macros.texi.
43838 * manual/creatute.texi: Likewise.
43839 * manual/install.texi: Likewise.
43840 * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
43841 @glibcadj{} in references to the GNU C Library.
43842 * manual/charset.texi: Likewise.
43843 * manual/conf.texi: Likewise.
43844 * manual/contrib.texi: Likewise. Consistently use "GNU C Library"
43845 when not using those macros.
43846 * manual/creature.texi: Likewise.
43847 * manual/crypt.texi: Likewise.
43848 * manual/errno.texi: Likewise.
43849 * manual/filesys.texi: Likewise.
43850 * manual/header.texi: Likewise.
43851 * manual/install.texi: Likewise.
43852 * manual/intro.texi: Likewise.
43853 * manual/io.texi: Likewise.
43854 * manual/job.texi: Likewise.
43855 * manual/lang.texi: Likewise.
43856 * manual/libc.texiinfo: Likewise.
43857 * manual/llio.texi: Likewise.
43858 * manual/locale.texi: Likewise.
43859 * manual/maint.texi: Likewise.
43860 * manual/math.texi: Likewise.
43861 * manual/memory.texi: Likewise.
43862 * manual/message.texi: Likewise.
43863 * manual/nss.texi: Likewise.
43864 * manual/pattern.texi: Likewise.
43865 * manual/process.texi: Likewise.
43866 * manual/resource.texi: Likewise.
43867 * manual/search.texi: Likewise.
43868 * manual/setjmp.texi: Likewise.
43869 * manual/signal.texi: Likewise.
43870 * manual/socket.texi: Likewise.
43871 * manual/startup.texi: Likewise.
43872 * manual/stdio.texi: Likewise.
43873 * manual/string.texi: Likewise.
43874 * manual/sysinfo.texi: Likewise.
43875 * manual/syslog.texi: Likewise.
43876 * manual/terminal.texi: Likewise.
43877 * manual/time.texi: Likewise.
43878 * manual/users.texi: Likewise.
43879 * INSTALL: Regenerated.
43880 * NOTES: Regenerated.
d40c5d54 43881 * sysdeps/gnu/errlist.c: Regenerated.
1f77f049 43882
450bf206
AS
438832012-02-28 Andreas Schwab <schwab@linux-m68k.org>
43884
43885 * include/dirent.h: Include <dirstream.h> before
43886 <dirent/dirent.h>.
43887
741a235b
DM
438882012-02-28 David S. Miller <davem@davemloft.net>
43889
43890 * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
43891 * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
43892 * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
43893 * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
43894
d6b5aa58
DM
438952012-02-27 David S. Miller <davem@davemloft.net>
43896
1aff59a3
DM
43897 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
43898 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
43899 * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
43900 * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
43901
d6b5aa58
DM
43902 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
43903 frame pointer instead of stack pointer relative arg slot.
43904 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
43905 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
43906 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
43907
433f48bf
CD
439082012-02-27 Carlos O'Donell <carlos_odonell@mentor.com>
43909
43910 [BZ #3992]
43911 * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
43912
d674b76d
DM
439132012-02-27 David S. Miller <davem@davemloft.net>
43914
43915 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
43916 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
43917 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
43918 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
43919 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
43920 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
43921 * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
43922 * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
43923
0e7727f7
JM
439242012-02-27 Joseph Myers <joseph@codesourcery.com>
43925
43926 * configure.in (CC): Restrict allowed GCC versions to 4.3 and
43927 later. Allow versions 5-9.
43be4ca2 43928 * configure: Regenerated.
0e7727f7
JM
43929 * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
43930 required minimum version and 4.6 as recommended version. Do not
43931 mention bugs in GCC 2.7 and 2.8.
43be4ca2 43932 * INSTALL: Regenerated.
0e7727f7 43933
a78bc654
DM
439342012-02-27 David S. Miller <davem@davemloft.net>
43935
428d5830
DM
43936 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
43937 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
43938 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
43939 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
43940 * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
43941 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
43942 * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
43943 * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
43944
a78bc654
DM
43945 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
43946 manipulate bits before adding and subtracting TWO112[sx].
43947 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
43948
4579f81c
RM
439492012-02-27 Roland McGrath <roland@hack.frob.com>
43950
36c8acb4
RM
43951 [BZ #13775]
43952 * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
43953 [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
43954 * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
43955 being in POSIX, because they are in 1003.1-2008.
43956
84ad622b
RM
43957 * rt/tst-aio.c: Include <fcntl.h>.
43958 * rt/tst-aio7.c: Likewise.
43959 * rt/tst-aio64.c: Likewise.
43960
4579f81c
RM
43961 * stdio-common/tst-fmemopen.c (main): Remove spurious const.
43962
abd923db
JM
439632012-02-27 Joseph Myers <joseph@codesourcery.com>
43964
43965 * manual/install.texi (--with-headers): Describe headers as
43966 interface headers, not private headers.
43967 (Specific advice for GNU/Linux systems): Describe use of headers
43968 from "make headers_install", not private headers from older
43969 kernels.
43be4ca2 43970 * INSTALL: Regenerated.
abd923db
JM
43971 * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
43972 Change to 2.6.19.
43973 * sysdeps/unix/sysv/linux/configure: Regenerated.
43974
6664049b
JM
43975 * manual/llio.texi (fclean): Remove documentation.
43976
bb8b6697
JM
43977 * manual/Makefile (libc-texi-generated): New variable. Include
43978 version.texi.
43979 (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
43980 $(libc-texi-generated), not duplicated list of files.
43981 (version.texi, stamp-version): New rules.
43982 (realclean): Remove $(libc-texi-generated), not individual files
43983 from that list. Do not remove dir-add.texinfo.
43984 * manual/libc.texinfo: Comment out uses of edition numbers and
43985 references to printed manual. Remove last-updated dates.
43986 (EDITION): Comment out.
43987 (ISBN): Likewise.
43988 (VERSION, UPDATED): Remove.
43989 (version.texi): Include.
43990
12e5c3b9
AS
439912012-02-27 Andreas Schwab <schwab@linux-m68k.org>
43992
43993 * sysdeps/posix/spawni.c: Include <signal.h>.
43994 * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
43995 * sysdeps/pthread/aio_fsync.c: Likewise.
43996
4efeffc1 439972012-02-26 Ulrich Drepper <drepper@gmail.com>
d94a4670 43998
ba63ba08
UD
43999 * conform/Makefile (tests): Run only when not cross-compiling and
44000 when fast-check is not defined.
44001
d94a4670
UD
44002 * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
44003 * conform/data/limits.h-data: Fixes for POSIX2008.
44004 * conform/run-conformtest.sh: Run all tests.
44005 * include/arpa/inet.h: Changes to allow conformtest.pl to use the
44006 headers.
44007 * include/bits/dlfcn.h: Likewise.
44008 * include/langinfo.h: Likewise.
44009 * include/monetary.h: Likewise.
44010 * include/sys/poll.h: Likewise.
44011
44012 * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
44013 for __USE_GNU.
44014 * posix/spawn.h: Define __need_sigset_t.
44015 * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
44016 * posix/unistd.h: Declare ctermid only for XPG before XPG6.
44017 * rt/aio.h: Don't include fcntl.h and signal.h. Use bits/siginfo.h
44018 to get sigevent_t only.
44019 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
44020 only for __USE_GNU.
44021 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
44022 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
44023 process_vm_writev only for __USE_GNU.
44024 * termios/termios.h: Declare tcgetsid also for POSIX2008.
4efeffc1
UD
44025
44026 * conform/Makefile: For now ignore errors from run-conformtest.
44027 * conform/conformtest.pl: Simplify code. Add -ansi to CFLAGS for
44028 POSIX to avoid namespace pollution. Don't prepend headers.
44029 * conform/data/aio.h-data: Fixes for POSIX testing.
44030 * conform/data/fcntl.h-data: Likewise.
44031 * conform/data/glob.h-data: Likewise.
44032 * conform/data/grp.h-data: Likewise.
44033 * conform/data/pthread.h-data: Likewise.
44034 * conform/data/pwd.h-data: Likewise.
44035 * conform/data/signal.h-data: Likewise.
44036 * conform/data/spawn.h-data: Likewise.
44037 * conform/data/stdio.h-data: Likewise.
44038 * conform/data/stdlib.h-data: Likewise.
44039 * conform/data/stropts.h-data: Likewise.
44040 * conform/data/sys/mman.h-data: Likewise.
44041 * conform/data/sys/stat.h-data: Likewise.
44042 * conform/data/sys/types.h-data: Likewise.
44043 * conform/data/sys/wait.h-data: Likewise.
44044 * conform/data/time.h-data: Likewise.
44045 * conform/data/unistd.h-data: Likewise.
44046 * conform/data/utime.h-data: Likewise.
44047
44048 * io/sys/stat.h: fchmod was always in POSIX.
44049 * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
44050 * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
44051 * rt/aio.h: Define __need_timespec before including <time.h>.
44052 * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
44053 struct. Add forward declaration of pthread_attr_t and use it in
44054 sigevent.
44055 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
44056 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
44057 * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
44058 always remove CLK_TCK definition.
44059
c20105c3
AS
440602012-02-26 Andreas Schwab <schwab@linux-m68k.org>
44061
44062 * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
44063
7a270350
UD
440642012-02-25 Ulrich Drepper <drepper@gmail.com>
44065
31341567
UD
44066 * conform/run-conformtest.sh: New file.
44067 * conform/Makefile: Run run-conformtest for tests.
44068 * conform/conformtest.pl: Many bug fixes. Add ISO C99, ISO C11
44069 support.
44070
44071 * conform/data/uchar.h-data: New file.
44072 * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
44073 * conform/data/arpa/inet.h-data: Likewise.
44074 * conform/data/assert.h-data: Likewise.
44075 * conform/data/complex.h-data: Likewise.
44076 * conform/data/cpio.h-data: Likewise.
44077 * conform/data/ctype.h-data: Likewise.
44078 * conform/data/dirent.h-data: Likewise.
44079 * conform/data/dlfcn.h-data: Likewise.
44080 * conform/data/errno.h-data: Likewise.
44081 * conform/data/fcntl.h-data: Likewise.
44082 * conform/data/float.h-data: Likewise.
44083 * conform/data/fmtmsg.h-data: Likewise.
44084 * conform/data/fnmatch.h-data: Likewise.
44085 * conform/data/ftw.h-data: Likewise.
44086 * conform/data/glob.h-data: Likewise.
44087 * conform/data/grp.h-data: Likewise.
44088 * conform/data/iconv.h-data: Likewise.
44089 * conform/data/inttypes.h-data: Likewise.
44090 * conform/data/langinfo.h-data: Likewise.
44091 * conform/data/libgen.h-data: Likewise.
44092 * conform/data/limits.h-data: Likewise.
44093 * conform/data/locale.h-data: Likewise.
44094 * conform/data/math.h-data: Likewise.
44095 * conform/data/monetary.h-data: Likewise.
44096 * conform/data/mqueue.h-data: Likewise.
44097 * conform/data/ndbm.h-data: Likewise.
44098 * conform/data/net/if.h-data: Likewise.
44099 * conform/data/netdb.h-data: Likewise.
44100 * conform/data/netinet/in.h-data: Likewise.
44101 * conform/data/nl_types.h-data: Likewise.
44102 * conform/data/poll.h-data: Likewise.
44103 * conform/data/pthread.h-data: Likewise.
44104 * conform/data/pwd.h-data: Likewise.
44105 * conform/data/regex.h-data: Likewise.
44106 * conform/data/sched.h-data: Likewise.
44107 * conform/data/search.h-data: Likewise.
44108 * conform/data/semaphore.h-data: Likewise.
44109 * conform/data/setjmp.h-data: Likewise.
44110 * conform/data/signal.h-data: Likewise.
44111 * conform/data/spawn.h-data: Likewise.
44112 * conform/data/stdarg.h-data: Likewise.
44113 * conform/data/stdio.h-data: Likewise.
44114 * conform/data/stdlib.h-data: Likewise.
44115 * conform/data/string.h-data: Likewise.
44116 * conform/data/strings.h-data: Likewise.
44117 * conform/data/stropts.h-data: Likewise.
44118 * conform/data/sys/ipc.h-data: Likewise.
44119 * conform/data/sys/mman.h-data: Likewise.
44120 * conform/data/sys/msg.h-data: Likewise.
44121 * conform/data/sys/resource.h-data: Likewise.
44122 * conform/data/sys/select.h-data: Likewise.
44123 * conform/data/sys/sem.h-data: Likewise.
44124 * conform/data/sys/shm.h-data: Likewise.
44125 * conform/data/sys/socket.h-data: Likewise.
44126 * conform/data/sys/stat.h-data: Likewise.
44127 * conform/data/sys/statvfs.h-data: Likewise.
44128 * conform/data/sys/time.h-data: Likewise.
44129 * conform/data/sys/timeb.h-data: Likewise.
44130 * conform/data/sys/times.h-data: Likewise.
44131 * conform/data/sys/types.h-data: Likewise.
44132 * conform/data/sys/uio.h-data: Likewise.
44133 * conform/data/sys/un.h-data: Likewise.
44134 * conform/data/sys/utsname.h-data: Likewise.
44135 * conform/data/sys/wait.h-data: Likewise.
44136 * conform/data/syslog.h-data: Likewise.
44137 * conform/data/tar.h-data: Likewise.
44138 * conform/data/termios.h-data: Likewise.
44139 * conform/data/utime.h-data: Likewise.
44140 * conform/data/utmpx.h-data: Likewise.
44141 * conform/data/varargs.h-data: Likewise.
44142 * conform/data/wchar.h-data: Likewise.
44143 * conform/data/wctype.h-data: Likewise.
44144 * conform/data/wordexp.h-data: Likewise.
44145
44146 * include/stropts.h: New file.
44147 * include/uchar.h: New file.
44148 * include/aio.h: Changes to allow conformtest.pl to use the headers.
44149 * include/assert.h: Likewise.
44150 * include/ctype.h: Likewise.
44151 * include/dirent.h: Likewise.
44152 * include/dlfcn.h: Likewise.
44153 * include/fcntl.h: Likewise.
44154 * include/fnmatch.h: Likewise.
44155 * include/glob.h: Likewise.
44156 * include/grp.h: Likewise.
44157 * include/libio.h: Likewise.
44158 * include/locale.h: Likewise.
44159 * include/math.h: Likewise.
44160 * include/net/if.h: Likewise.
44161 * include/netdb.h: Likewise.
44162 * include/netinet/in.h: Likewise.
44163 * include/pthread.h: Likewise.
44164 * include/pwd.h: Likewise.
44165 * include/regex.h: Likewise.
44166 * include/sched.h: Likewise.
44167 * include/search.h: Likewise.
44168 * include/setjmp.h: Likewise.
44169 * include/signal.h: Likewise.
44170 * include/stdio.h: Likewise.
44171 * include/stdlib.h: Likewise.
44172 * include/string.h: Likewise.
44173 * include/sys/cdefs.h: Likewise.
44174 * include/sys/mman.h: Likewise.
44175 * include/sys/msg.h: Likewise.
44176 * include/sys/resource.h: Likewise.
44177 * include/sys/select.h: Likewise.
44178 * include/sys/socket.h: Likewise.
44179 * include/sys/stat.h: Likewise.
44180 * include/sys/statvfs.h: Likewise.
44181 * include/sys/time.h: Likewise.
44182 * include/sys/times.h: Likewise.
44183 * include/sys/uio.h: Likewise.
44184 * include/sys/utsname.h: Likewise.
44185 * include/sys/wait.h: Likewise.
44186 * include/termios.h: Likewise.
44187 * include/time.h: Likewise.
44188 * include/ulimit.h: Likewise.
44189 * include/unistd.h: Likewise.
44190 * include/utime.h: Likewise.
44191 * include/wchar.h: Likewise.
44192 * include/wctype.h: Likewise.
44193 * include/wordexp.h: Likewise.
44194
44195 * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
44196
7a270350
UD
44197 * time/time.h: TIME_UTC must be a macro.
44198 Make timespec_get available for ISO C11 only as well.
44199
7724defc
UD
442002012-02-24 Ulrich Drepper <drepper@gmail.com>
44201
44202 * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
44203 Reported by Peng Haitao <penght@cn.fujitsu.com>.
44204
6b1d1d46
JM
442052012-02-24 Joseph Myers <joseph@codesourcery.com>
44206
44207 * configure.in: Use -o not -a in test for unsupported multi-arch.
6b1d1d46 44208
0f8bbd69
JM
442092012-02-24 Joseph Myers <joseph@codesourcery.com>
44210
44211 * manual/texinfo.tex: Update to version 2012-01-19.16.
44212
66ab80bc
JM
442132012-02-24 Joseph Myers <joseph@codesourcery.com>
44214
44215 * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
44216
74981cc5
RM
442172012-02-24 Roland McGrath <roland@hack.frob.com>
44218
ee968201
RM
44219 [BZ #13738]
44220 * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
44221 * manual/fdl-1.3.texi: New file.
44222 * manual/fdl-1.1.texi: File removed.
44223
74981cc5
RM
44224 [BZ #13738]
44225 * manual/libc.texinfo (FDL_VERSION): New @set.
44226 Use it for mention of FDL in cover text.
44227 (Documentation License): Use it in @include file name.
44228
7bb764bc
JM
442292012-02-22 Joseph Myers <joseph@codesourcery.com>
44230 Roland McGrath <roland@hack.frob.com>
44231
44232 [BZ #5461]
57f41c40
AS
44233 * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN)
44234 (not LONG_LONG_MAX and LONG_LONG_MIN.
7bb764bc
JM
44235 * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
44236 LLONG_MIN. Refer to LONG_LONG_MIN only as older GCC-specific
44237 name.
44238 (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
44239
6cbeae47
JM
442402012-02-22 Joseph Myers <joseph@codesourcery.com>
44241
44242 [BZ #2547]
44243 [BZ #11365]
44244 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
44245 manipulate bits before adding and subtracting TWO23[sx].
44246 * math/libm-test.inc (nearbyint_test): Add more tests.
44247
fe45ce09
JM
442482012-02-22 Joseph Myers <joseph@codesourcery.com>
44249
44250 [BZ #2548]
44251 * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
44252 bits before adding and subtracting TWO23[sx].
44253 * math/libm-test.inc (rint_test): Add more tests.
44254 (rint_test_tonearest): Likewise.
44255 (rint_test_towardzero): Likewise.
44256 (rint_test_downward): Likewise.
44257 (rint_test_upward: Likewise.
44258
ff3b3d82
JM
442592012-02-22 Joseph Myers <joseph@codesourcery.com>
44260
44261 [BZ #10110]
44262 * include/stdc-predef.h: New file. Extracted from features.h.
44263 * include/features.h: Include stdc-predef.h.
44264 * Makefile (headers): Add stdc-predef.h.
44265 * CONFORMANCE (Compiler limitations): Update.
44266
ef0aab35
JM
442672012-02-22 Joseph Myers <joseph@codesourcery.com>
44268
44269 * manual/libc.texinfo (VERSION, UPDATED): Revert.
44270
58639409
DM
442712012-02-21 David S. Miller <davem@davemloft.net>
44272
44273 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
44274 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
44275
c0e70b25
DM
442762012-02-20 David S. Miller <davem@davemloft.net>
44277
44278 * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
44279 using a normal save/restore sequence, rather than allocating a
44280 dummy stack frame just to store a frame pointer and restore.
44281 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
44282
fb06851d
JM
442832012-02-21 Joseph Myers <joseph@codesourcery.com>
44284
44285 * manual/install.texi: Fix stray word in line-wrapped comment.
44286
7a8b71c3
DM
442872012-02-20 David S. Miller <davem@davemloft.net>
44288
d510c123
DM
44289 * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
44290 both binutils and gcc support GOTDATA.
44291
0722d7c2
DM
44292 * sysdeps/unix/sparc/sysdep.h: Document why we don't use
44293 "rd %pc" in the PIC register setup sequences.
44294
3d2b3019
DM
44295 * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
44296 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
44297 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
44298 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
44299 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
44300 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
44301 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
44302 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
44303 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
44304 (SYSCALL_ERROR_HANDLER): Likewise.
44305 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
44306 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
44307 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
44308 (SYSCALL_ERROR_HANDLER): Likewise.
44309
c80098a9
DM
44310 * config.h.in (HAVE_BINUTILS_GOTDATA): New.
44311 (HAVE_GCC_GOTDATA): New.
44312 * sysdeps/sparc/elf/configure.in: Test for GOTDATA
44313 relocation support in both binutils and gcc.
44314 * sysdeps/sparc/elf/configure: Regenerate.
44315
3a2545a0
DM
44316 * sysdeps/sparc/sparc32/elf/configure.in: Delete.
44317 * sysdeps/sparc/sparc32/elf/configure: Delete.
44318 * sysdeps/sparc/sparc64/elf/configure.in: Delete.
44319 * sysdeps/sparc/sparc64/elf/configure: Delete.
44320 * sysdeps/sparc/elf/configure.in: New file.
44321 * sysdeps/sparc/elf/configure: Generate.
44322
7a8b71c3
DM
44323 * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
44324 * sysdeps/sparc/sparc32/elf/configure: Regenerate.
44325 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
44326 * sysdeps/sparc/sparc64/elf/configure: Regenerate.
44327 * config.h.in (BROKEN_SPARC_WDISP22): Remove.
44328
f1e86fca
JM
443292012-02-21 Joseph Myers <joseph@codesourcery.com>
44330
44331 * manual/install.texi: Do not mention specific glibc version
44332 numbers.
44333 * manual/libc.texinfo (VERSION, UPDATED): Update.
44334 (@copying): Use @copyright{} and range of years.
44335
0e7dfaef
JM
443362012-02-21 Joseph Myers <joseph@codesourcery.com>
44337
44338 [BZ #13695]
44339 * csu/Makefile (distribute): Remove initfini.c and defs.awk.
44340 [crti.S not in sysdirs] (generated): Do not append.
44341 [crti.S not in sysdirs] (omit-deps): Likewise.
44342 [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
44343 [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
44344 [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
44345 [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
44346 [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
44347 Likewise.
44348 [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
44349 [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
44350 [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
44351 * csu/defs.awk: Remove file.
44352 * sysdeps/generic/initfini.c: Likewise.
44353 * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
44354 variable.
44355 * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
44356 Likewise.
44357
599af3ca
JM
443582012-02-20 Joseph Myers <joseph@codesourcery.com>
44359
44360 * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
44361 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
44362 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
44363 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
44364 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
44365 * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
44366 <bits/epoll.h>.
44367 (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
44368 (__EPOLL_PACKED): Define to empty if not defined by
44369 <bits/epoll.h>.
44370 (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
44371 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
44372 bits/epoll.h.
44373
0e499750
JM
443742012-02-20 Joseph Myers <joseph@codesourcery.com>
44375
44376 * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
44377 * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
44378 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
44379 * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
44380 <bits/timerfd.h>.
44381 (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
44382 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
44383 bits/timerfd.h.
44384
5ad91f6e
JM
443852012-02-20 Joseph Myers <joseph@codesourcery.com>
44386
44387 * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
44388 in C locale.
44389 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
44390 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
44391 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
44392 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
44393
06b99b02
AJ
443942012-02-20 Aurelien Jarno <aurelien@aurel32.net>
44395
44396 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
44397 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
44398
7638c0fd
AS
443992012-02-19 Andreas Schwab <schwab@linux-m68k.org>
44400
44401 * manual/errno.texi (Error Codes): Add EHWPOISON entry.
44402 * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
44403 defined.
44404 * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
44405 Likewise.
44406 * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
44407 entry for 2.16.
44408
92221550
AJ
444092012-02-19 Aurelien Jarno <aurelien@aurel32.net>
44410
44411 * math/w_acos.c: Use non-signaling floating-point comparisons.
44412 * math/w_acosf.c: Likewise.
44413 * math/w_acosh.c: Likewise.
44414 * math/w_acoshf.c: Likewise.
44415 * math/w_acoshl.c: Likewise.
44416 * math/w_acosl.c: Likewise.
44417 * math/w_asin.c: Likewise.
44418 * math/w_asinf.c: Likewise.
44419 * math/w_asinl.c: Likewise.
44420 * math/w_atanh.c: Likewise.
44421 * math/w_atanhf.c: Likewise.
44422 * math/w_atanhl.c: Likewise.
44423 * math/w_exp2.c: Likewise.
44424 * math/w_exp2f.c: Likewise.
44425 * math/w_exp2l.c: Likewise.
44426 * math/w_j0.c: Likewise.
44427 * math/w_j0f.c: Likewise.
44428 * math/w_j0l.c: Likewise.
44429 * math/w_j1.c: Likewise.
44430 * math/w_j1f.c: Likewise.
44431 * math/w_j1l.c: Likewise.
44432 * math/w_jn.c: Likewise.
44433 * math/w_jnf.c: Likewise.
44434 * math/w_log.c: Likewise.
44435 * math/w_log10.c: Likewise.
44436 * math/w_log10f.c: Likewise.
44437 * math/w_log10l.c: Likewise.
44438 * math/w_log2.c: Likewise.
44439 * math/w_log2f.c: Likewise.
44440 * math/w_log2l.c: Likewise.
44441 * math/w_logf.c: Likewise.
44442 * math/w_logl.c: Likewise.
44443 * math/w_sqrt.c: Likewise.
44444 * math/w_sqrtf.c: Likewise.
44445 * math/w_sqrtl.c: Likewise.
44446 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
44447 * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
44448 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
44449 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
44450 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
44451
ebaf36eb
JM
444522012-02-19 Joseph Myers <joseph@codesourcery.com>
44453
44454 [BZ #9739]
44455 * manual/string.texi (strnlen): Use correct parameter name in
44456 equivalent expression.
44457
71c254a6
JM
444582012-02-19 Joseph Myers <joseph@codesourcery.com>
44459
44460 [BZ #11174]
44461 * manual/users.texi (seteuid): Consistently use neweuid for
44462 argument name.
44463
16d2c631
JM
444642012-02-19 Joseph Myers <joseph@codesourcery.com>
44465
44466 [BZ #13704]
44467 * manual/nss.texi (Services in the NSS configuration): Correct
44468 list of services in example configuration file.
44469
cd837b09
NB
444702012-02-19 Nick Bowler <nbowler@draconx.ca>
44471
44472 [BZ #11322]
44473 * manual/arith.texi: Remove statements about negative zero
44474 behaving identically to zero.
44475
02c4bbad
JM
444762012-02-18 Joseph Myers <joseph@codesourcery.com>
44477
44478 [BZ #5993]
44479 * manual/install.texi: Do not document upgrading from libc5.
44480
366842e7
JM
444812012-02-18 Joseph Myers <joseph@codesourcery.com>
44482
44483 [BZ #4596]
44484 * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
44485
dd54084d
DM
444862012-02-18 David S. Miller <davem@davemloft.net>
44487
44488 * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
44489 (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
44490 %o7 across the call.
44491 (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
44492 instead.
44493 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
44494 SETUP_PIC_REG_LEAF.
44495 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
44496 * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
44497 * sysdeps/sparc/crtn.S: Likewise.
44498
2bcc53a3
UD
444992012-02-17 Ulrich Drepper <drepper@gmail.com>
44500
44501 * aout/Makefile: Remove.
44502
09c093b5
RK
445032012-02-18 Rafe Kettler <rafe.kettler@gmail.com>
44504
44505 [BZ #13058]
44506 * manual/examples/argp-ex1.c (main): Format definition in GNU
44507 style.
44508 * manual/examples/argp-ex2.c (main): Likewise.
44509 * manual/examples/argp-ex3.c (main): Likewise.
44510 * manual/examples/argp-ex4.c (main): Likewise.
44511 * manual/examples/longopt.c (main): Use new-style prototype
44512 definition.
44513 * manual/examples/strncat.c (main): Specify return type and use
44514 (void) for arguments.
44515 * manual/examples/subopt.c (main): Use char **argv argument.
44516
2ee633a2
JM
445172012-02-17 Joseph Myers <joseph@codesourcery.com>
44518
44519 [BZ #5077]
44520 * manual/lang.texi (FLT_EPSILON): Avoid description depending on
44521 rounding modes.
44522
0520adde
FB
445232012-02-17 Fabrice Bauzac <fabrice.bauzac@wanadoo.fr>
44524
44525 [BZ #6907]
44526 * manual/string.texi (strchr): Change when strchrnul is
44527 recommended.
44528
3f4081cd
DGM
445292012-02-17 Dwayne Grant McConnell <decimal@us.ibm.com>
44530
44531 [BZ #174]
44532 * manual/locale.texi (setlocale): Document LOCPATH.
44533
d1b10e78
JM
445342012-02-17 Joseph Myers <joseph@codesourcery.com>
44535
44536 [BZ #10210]
44537 * manual/process.texi (execle): Move @dots{} before last argument.
44538
79c6869c
PB
445392012-02-17 Paul Bolle <pebolle@tiscali.nl>
44540
44541 [BZ #12047]
44542 * manual/charset.texi (Generic Charset Conversion): Fix typo
44543 (LC_TYPE -> LC_CTYPE).
44544
cc6e48bc
NB
445452012-02-17 Nicolas Boulenguez <nicolas.boulenguez@free.fr>
44546
44547 [BZ #5805]
44548 * manual/arith.texi (scalbn): Use @var{} on parameter names.
44549 (scalbnf): Likewise.
44550 (scalbnl): Likewise.
44551 (scalbln): Likewise.
44552 (scalblnf): Likewise.
44553 (scalblnl): Likewise.
44554 * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
44555 (vwarnx): Likewise.
44556 (verr): Likewise.
44557 (verrx): Likewise.
44558 * manual/filesys.texi (telldir): Use braces around return type.
44559 * manual/llio.texi (mmap): Add space after comma.
44560 (mmap64): Likewise.
44561 * manual/math.texi (jn): Use @var{} on parameter names.
44562 (jnf): Likewise.
44563 (jnl): Likewise.
44564 (yn): Likewise.
44565 (ynf): Likewise.
44566 (ynl): Likewise.
44567 * manual/memory.texi (alloca): Remove semicolon on @deftypefun
44568 line.
44569 * manual/resource.texi (ulimit): Use @dots{} instead of literal
44570 "...".
44571 (sched_get_priority_min): Remove semicolon on @deftypefun line.
44572 (sched_get_priority_max): Likewise.
44573 * manual/signal.texi (sigvec): Add space after comma.
44574 * manual/socket.texi (if_nametoindex): Use @var{} on parameter
44575 names.
44576 (if_indextoname): Likewise.
44577 (if_freenameindex): Likewise.
44578 (sendto): Use ',' instead of '.' in prototype.
44579 * manual/startup.texi (syscall): Use @dots{} instead of literal
44580 "...".
44581 * manual/stdio.texi (__fpending): Separate initial words of
44582 paragraph from @deftypefun line.
44583 * manual/syslog.texi (syslog): Use @dots{} instead of literal
44584 "...".
44585 (vsyslog): Use @var{} on parameter names.
44586 * manual/terminal.texi (stty): Use @var{} on parameter names.
44587 * manual/users.texi (getutmp): Use @var{} on parameter names.
44588 (getutmpx): Likewise.
44589
5b23062f
JM
445902012-02-17 Joseph Myers <joseph@codesourcery.com>
44591
44592 [BZ #6884]
44593 * manual/stdio.texi (fopen): Fix typos in description of
44594 ",ccs=STRING".
44595
8dee4833
AJ
445962012-02-17 Aurelien Jarno <aurelien@aurel32.net>
44597
44598 [BZ #4026]
44599 * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
44600 get clock_id definition.
44601
9078ce93
TS
446022012-02-17 Thomas Schwinge <thomas@schwinge.name>
44603
44604 [BZ #4822]
44605 * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
44606 (madvise): Cast every argument to void on its own.
44607
3835c55f
JM
446082012-02-17 Joseph Myers <joseph@codesourcery.com>
44609
44610 [BZ #9902]
44611 * manual/startup.texi (Exit Status): Fix typo.
44612
35c47e37
JM
446132012-02-17 Joseph Myers <joseph@codesourcery.com>
44614
44615 [BZ #10140]
44616 * manual/examples/argp-ex1.c: Include <stdlib.h>.
44617 * manual/examples/argp-ex2.c: Likewise.
44618 * manual/examples/argp-ex3.c: Likewise.
44619
e3b69ca7
RH
446202012-02-16 Richard Henderson <rth@redhat.com>
44621
44622 * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
44623 * sysdeps/s390/s390-32/initfini.c: Remove.
44624 * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
44625 * sysdeps/s390/s390-64/initfini.c: Remove.
44626
df83af67
KK
446272012-02-15 Kaz Kojima <kkojima@rr.iij4u.or.jp>
44628
44629 * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
44630 compiler output for sysdeps/generic/initfini.c.
44631 * sysdeps/sh/elf/initfini.c: Remove file.
44632
f63f3380
DM
446332012-02-16 David S. Miller <davem@davemloft.net>
44634
fb59b3a4
DM
44635 [BZ #11494]
44636 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
44637
f63f3380
DM
44638 * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
44639 * sysdeps/sparc/crti.S: New file.
44640 * sysdeps/sparc/crtn.S: New file.
44641 * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
44642 * sysdeps/sparc/sparc64/Makefile: Likewise.
44643
df6a4a4a
MF
446442012-02-15 Mike Frysinger <vapier@gentoo.org>
44645
6dd8f3dc 44646 [BZ #3335]
df6a4a4a
MF
44647 * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
44648
1cac7236
RM
446492012-02-15 Roland McGrath <roland@hack.frob.com>
44650
d2c736f8
RM
44651 [BZ #4822]
44652 * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
44653
1cac7236
RM
44654 * mach/devstream.c (cookie_io_functions_t): Macro removed.
44655 (write, read, close): Likewise.
44656 Patch by Aurelien Jarno <aurelien@aurel32.net>.
44657
8e475601
JM
446582012-02-15 Joseph Myers <joseph@codesourcery.com>
44659
44660 * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
44661 * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
44662 * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
44663 * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
44664 <bits/signalfd.h>.
44665 (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
44666 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
44667 bits/signalfd.h.
44668
ed656b40
MP
446692012-02-14 Marek Polacek <polacek@redhat.com>
44670
44671 * sysdeps/x86_64/crti.S: New file.
44672 * sysdeps/x86_64/crtn.S: New file.
44673 * sysdeps/x86_64/elf/initfini.c: Remove file.
44674
2a979d3a
JM
446752012-02-13 Joseph Myers <joseph@codesourcery.com>
44676
44677 * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
44678 * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
44679 * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
44680 * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
44681 <bits/inotify.h>.
44682 (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
44683 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
44684 bits/inotify.h.
44685
2a418ac3
JM
446862012-02-13 Joseph Myers <joseph@codesourcery.com>
44687
44688 * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
44689 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
44690 * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
44691 * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
44692 <bits/eventfd.h>.
44693 (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
44694 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
44695 bits/eventfd.h.
44696
fb779be7
TS
446972012-02-10 Thomas Schwinge <thomas@codesourcery.com>
44698
e19e83c5
RM
44699 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
44700 __feraiseexcept instead of feraiseexcept.
7c35ffed 44701
fb779be7
TS
44702 * rt/tst-cpuclock1.c: Add a few comments, and error checking for
44703 nanosleep invocations.
44704 * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
44705 strings, and add error checking for a nanosleep invocations.
44706
59ba27a6
PE
447072012-02-09 Paul Eggert <eggert@cs.ucla.edu>
44708
44709 Replace FSF snail mail address with URLs, as per GNU coding standards.
44710 Most of the snail mail addresses were wrong anyway, and omitting
44711 them makes the source code easier to maintain. Almost all of the
44712 changes are to license notices and to locale LC_IDENTIFICATION
44713 addresses, except for this one:
44714 * manual/libc.texinfo: In "Published by", give the FSF's URL,
44715 not its snail mail address.
44716
57b957eb
RH
447172012-02-09 Richard Henderson <rth@twiddle.net>
44718
af850b1c
RH
44719 * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
44720 of kernel-features.h.
44721
57b957eb
RH
44722 * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
44723
6b73181a
MP
447242012-02-08 Marek Polacek <polacek@redhat.com>
44725
44726 * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
44727 * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
44728 * sysdeps/gnu/_G_config.h: Likewise.
44729 * sysdeps/generic/_G_config.h: Likewise.
44730
26ecc33a
AS
447312012-02-08 Andreas Schwab <schwab@linux-m68k.org>
44732
6c6dbc63
AS
44733 * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
44734 tests.
44735 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
44736
e216c012
AS
44737 * sysdeps/powerpc/powerpc32/crti.S: New file.
44738 * sysdeps/powerpc/powerpc32/crtn.S: New file.
44739 * sysdeps/powerpc/powerpc64/crti.S: New file.
44740 * sysdeps/powerpc/powerpc64/crtn.S: New file.
44741
26ecc33a
AS
44742 * Makeconfig (have-initfini): Don't set.
44743 * config.make.in (have-initfini, need-nopic-initfini): Don't set.
44744 * configure.in (nopic_initfini): Don't substitute.
44745 * config.h.in (HAVE_INITFINI): Don't #undef.
44746 * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
44747 * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
44748
3add8e13
JM
447492012-02-08 Joseph Myers <joseph@codesourcery.com>
44750
44751 Support crti.S and crtn.S provided directly by architectures.
44752 * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
44753 [crti.S in sysdirs] (omit-deps): Likewise.
44754 [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
44755 [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
44756 [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
44757 [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
44758 [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
44759 [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
44760 [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
44761 [crti.S in sysdirs] (initfini.c): Remove vpath directive.
44762 * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
44763 compiler output for sysdeps/generic/initfini.c.
44764 * sysdeps/i386/elf/Makefile: Remove file.
44765 * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
44766
a22f12b4
MP
447672012-02-07 Marek Polacek <polacek@redhat.com>
44768
44769 * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
44770 * sysdeps/gnu/_G_config.h: Likewise.
44771 * sysdeps/mach/hurd/_G_config.h: Likewise.
44772
148cf100
MP
447732012-02-07 Marek Polacek <polacek@redhat.com>
44774
44775 * math/Makefile (tests): Add tst-CMPLX2.
44776 * math/tst-CMPLX2.c: New file.
44777
cfdc0dd7
AS
447782012-02-07 Andreas Schwab <schwab@linux-m68k.org>
44779
84ba42c4
AS
44780 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
44781
cfdc0dd7
AS
44782 * math/libm-test.inc (jn_test): Add missing L suffix.
44783
622c86f4
MP
447842012-02-06 Marek Polacek <polacek@redhat.com>
44785
44786 * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
44787 * sysdeps/i386/fpu/e_powf.S: Likewise.
44788 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
44789 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
44790 * sysdeps/i386/fpu/e_acosh.S: Likewise.
44791 * sysdeps/i386/fpu/e_pow.S: Likewise.
44792 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
44793 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
44794 * sysdeps/i386/fpu/s_expm1.S: Likewise.
44795 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
44796 * sysdeps/i386/fpu/e_log2.S: Likewise.
44797 * sysdeps/i386/fpu/e_log2l.S: Likewise.
44798 * sysdeps/i386/fpu/e_scalb.S: Likewise.
44799 * sysdeps/i386/fpu/e_powl.S: Likewise.
44800 * sysdeps/i386/fpu/s_log1p.S: Likewise.
44801 * sysdeps/i386/fpu/e_log10f.S: Likewise.
44802 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
44803 * sysdeps/i386/fpu/e_logl.S: Likewise.
44804 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
44805 * sysdeps/i386/fpu/s_expm1l.S: Likewise.
44806 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
44807 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
44808 * sysdeps/i386/fpu/e_log2f.S: Likewise.
44809 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
44810 * sysdeps/i386/fpu/e_log.S: Likewise.
44811 * sysdeps/i386/fpu/s_cexp.S: Likewise.
44812 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
44813 * sysdeps/i386/fpu/s_log1pl.S: Likewise.
44814 * sysdeps/i386/fpu/e_logf.S: Likewise.
44815 * sysdeps/i386/fpu/e_log10l.S: Likewise.
44816 * sysdeps/i386/fpu/e_atanh.S: Likewise.
44817 * sysdeps/i386/fpu/s_log1pf.S: Likewise.
44818 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
44819 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
44820 * sysdeps/i386/fpu/e_log10.S: Likewise.
44821 * sysdeps/i386/fpu/s_frexp.S: Likewise.
44822 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
44823 * sysdeps/i386/fpu/s_asinh.S: Likewise.
44824 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
44825 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
44826 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
44827 * sysdeps/i386/asm-syntax.h: Likewise.
44828 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
44829 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
44830 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
44831 * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
44832 * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
44833 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
44834 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
44835 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
44836 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
44837 * sysdeps/powerpc/sysdep.h: Likewise.
44838 * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
44839 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
44840
d4a54ac6
JM
448412012-02-06 Joseph Myers <joseph@codesourcery.com>
44842
44843 [BZ #411]
44844 * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
44845
314054ea
JM
448462012-02-06 Joseph Myers <joseph@codesourcery.com>
44847
44848 * sysdeps/i386/sysdep.h: Include <features.h>.
44849 (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
44850 version.
44851
d8e0ca50
JM
448522012-02-05 Joseph Myers <joseph@codesourcery.com>
44853
44854 * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
44855 Define.
44856 * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
44857 LOAD_PIC_REG_STR.
44858
b1da7dd9
JM
448592012-02-03 Joseph Myers <joseph@codesourcery.com>
44860
44861 * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
44862 (SETUP_PIC_REG): Use GET_PC_THUNK.
44863 * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
44864 macro.
44865
9a1d9254
JM
448662012-02-03 Joseph Myers <joseph@codesourcery.com>
44867
44868 * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
44869 for non-PIC compilation.
44870 (SETUP_PIC_REG): Add .p2align directive.
44871 * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
44872 * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
44873 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
44874 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
44875 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
44876 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
44877 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
44878 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
44879 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
44880 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
44881 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
44882 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
44883 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
44884 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
44885 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
44886 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
44887 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
44888 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
44889 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
44890 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
44891 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
44892 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
44893 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
44894 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
44895 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
44896 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
44897 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
44898 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
44899 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
44900 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
44901 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
44902 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
44903 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
44904 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
44905 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
44906 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
44907 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
44908 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
44909 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
44910 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
44911 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
44912
65dc3b75
JM
449132012-02-03 Joseph Myers <joseph@codesourcery.com>
44914
44915 * math/tst-CMPLX.c: Include <stdio.h>.
44916
d55bf177
JM
449172012-01-31 Joseph Myers <joseph@codesourcery.com>
44918
44919 * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
44920 float.
44921 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
44922 * sysdeps/sparc/bits/mathdef.h: Likewise.
44923
69db4f8f
MP
449242012-01-31 Marek Polacek <polacek@redhat.com>
44925
44926 * libio/libio.h: Don't define _PARAMS.
44927 * locale/programs/config.h: Don't define PARAMS.
44928 * stdlib/strtol_l.c: Likewise.
44929 (__strtol_l): Remove PARAMS from the prototype.
44930
41b81892
UD
449312012-01-31 Ulrich Drepper <drepper@gmail.com>
44932
3b49edc0
UD
44933 * malloc/malloc.c: Remove name translation. Don't use mixed-cap
44934 names. Just use the correct names. Remove unnecessary wrapper
44935 functions.
44936 * malloc/arena.c: Likewise.
44937 * malloc/hooks.c: Likewise.
44938
41b81892
UD
44939 * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
44940 ARENA_TEST says not to. Simplify test for creation of a new arena.
44941 Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
44942
27a25b6e
UD
449432012-01-30 Ulrich Drepper <drepper@gmail.com>
44944
44945 * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
44946 into tail calls.
44947 (update_get_addr): New function.
44948 (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
44949 GET_ADDR_MODULE parameter.
44950
c8a89e7d
JM
449512012-01-30 Joseph Myers <joseph@codesourcery.com>
44952
44953 * crypt/cert.c: Remove __STDC__ conditionals.
44954 * crypt/crypt-entry.c: Likewise.
44955 * crypt/crypt_util.c: Likewise.
44956 * libio/filedoalloc.c: Likewise.
44957 * libio/fileops.c: Likewise.
44958 * libio/genops.c: Likewise.
44959 * libio/iofclose.c: Likewise.
44960 * libio/iofdopen.c: Likewise.
44961 * libio/iofopen.c: Likewise.
44962 * libio/iofopen64.c: Likewise.
44963 * libio/iogetdelim.c: Likewise.
44964 * libio/iopopen.c: Likewise.
44965 * libio/obprintf.c: Likewise.
44966 * libio/oldfileops.c: Likewise.
44967 * libio/oldiofclose.c: Likewise.
44968 * libio/oldiofdopen.c: Likewise.
44969 * libio/oldiofopen.c: Likewise.
44970 * libio/oldiopopen.c: Likewise.
44971 * libio/wfiledoalloc.c: Likewise.
44972 * libio/wgenops.c: Likewise.
44973 * locale/programs/xmalloc.c: Likewise.
44974 * misc/syslog.c: Likewise.
44975 * stdio-common/xbug.c: Likewise.
44976 * string/memchr.c: Likewise.
44977 * string/memcmp.c: Likewise.
44978 * string/memrchr.c: Likewise.
44979 * string/rawmemchr.c: Likewise.
44980 * sysdeps/posix/getcwd.c: Likewise.
44981 * time/strftime_l.c: Likewise.
44982
3b100462
JM
449832012-01-30 Joseph Myers <joseph@codesourcery.com>
44984
44985 * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
3b100462
JM
44986 * config.make.in (config-cflags-sse2avx): Define.
44987 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
44988 Fix typo.
44989
607998af
CM
449902012-01-29 Chris Metcalf <cmetcalf@tilera.com>
44991
44992 * scripts/config.guess: Update from upstream config git repository.
44993 * scripts/config.sub: Likewise.
44994
3601428f
CM
449952012-01-28 Chris Metcalf <cmetcalf@tilera.com>
44996
3ac8b282
CM
44997 * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
44998 (EM_NUM): Update.
44999 (R_TILEPRO_*, R_TILEGX_*): New macros.
45000
e034841e
CM
45001 * scripts/firstversions.awk: Fix bug in version range handling.
45002
540d7568
CM
45003 * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
45004
3601428f
CM
45005 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
45006
463de862
CM
45007 * include/sys/epoll.h: New file.
45008 * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
45009 libc_hidden_def.
45010
73139a76
UD
450112012-01-28 Ulrich Drepper <drepper@gmail.com>
45012
96bc5b45
UD
45013 * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
45014 Avoid unnecessary __WORDSIZE == 64 test.
45015 (fmaxf): Use VEX format if possible.
45016 (fmax): Likewise.
45017 (fminf): Likewise.
45018 (fmin): Likewise.
45019
56f6f6a2
UD
45020 * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
45021 * math/math_private.h: Remove libc_fegetround* and
45022 libc_fesetround*.
45023 * sysdeps/i386/configure.in: Check for -msse2avx.
45024 * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
45025 also if SSE2AVX is defined.
45026 Remove libc_fegetround* and libc_fesetround*.
45027 * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
45028 if config-cflags-sse2avx is yes. Also add -DSSE2AVX to defines.
45029 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
45030 of HAS_YMM_USABLE.
45031 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
45032 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
45033 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
45034 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
45035 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
45036
73139a76
UD
45037 * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
45038
d73f93a4
AZ
450392012-01-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
45040
45041 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
45042 size is not set.
45043 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
45044
6ee65ed6
UD
450452012-01-27 Ulrich Drepper <drepper@gmail.com>
45046
45047 [BZ #13618]
45048 * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
45049 relocation.
45050 * Makeconfig (libm): Define.
45051 * elf/Makefile: Add rules to build and run tst-relsort1.
45052 * elf/tst-relsort1.c: New file.
45053 * elf/tst-relsort1mod1.c: New file.
45054 * elf/tst-relsort1mod2.c: New file.
45055
8db21882
JM
450562012-01-27 Joseph Myers <joseph@codesourcery.com>
45057
45058 * math/s_ldexp.c: Remove __STDC__ conditionals.
45059 * math/s_ldexpf.c: Likewise.
45060 * math/s_ldexpl.c: Likewise.
45061 * math/s_nextafter.c: Likewise.
45062 * math/s_nexttowardf.c: Likewise.
45063 * math/s_significand.c: Likewise.
45064 * math/s_significandf.c: Likewise.
45065 * math/s_significandl.c: Likewise.
45066 * math/w_jnl.c: Likewise.
45067 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
45068 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
45069 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
45070 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
45071 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
45072 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
45073 * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
45074 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
45075 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
45076 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
45077 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
45078 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
45079 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
45080 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
45081 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
45082 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
45083 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
45084 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
45085 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
45086 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
45087 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
45088 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
45089 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
45090 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
45091 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
45092 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
45093 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
45094 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
45095 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
45096 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
45097 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
45098 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
45099 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
45100 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
45101 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
45102 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
45103 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
45104 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
45105 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
45106 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
45107 * sysdeps/ieee754/k_standard.c: Likewise.
45108 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
45109 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
45110 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
45111 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
45112 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
45113 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
45114 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
45115 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
45116 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
45117 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
45118 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
45119 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
45120 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
45121 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
45122 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
45123 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
45124 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
45125 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
45126 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
45127 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
45128 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
45129 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
45130 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
45131 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
45132 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
45133 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
45134 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
45135 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
45136 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
45137 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
45138 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
45139 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
45140 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
45141 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
45142 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
45143 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
45144 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
45145 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
45146 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
45147 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
45148 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
45149 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
45150 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
45151 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
45152 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
45153 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
45154 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
45155 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
45156 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
45157 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
45158 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
45159 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
45160 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
45161 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
45162 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
45163 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
45164 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
45165 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
45166 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
45167 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
45168 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
45169 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
45170 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
45171 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
45172 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
45173 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
45174 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
45175 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
45176 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
45177 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
45178 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
45179 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
45180 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
45181 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
45182 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
45183 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
45184 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
45185 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
45186 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
45187 * sysdeps/ieee754/s_matherr.c: Likewise.
45188 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
45189 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
45190 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
45191 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
45192
965a54a4
JM
451932012-01-26 Joseph Myers <joseph@codesourcery.com>
45194
45195 * crypt/md5.h: Remove __STDC__ conditionals.
45196 * libio/libioP.h: Likewise.
45197 * locale/programs/config.h: Likewise.
45198 * sysdeps/generic/sysdep.h: Likewise.
45199 * sysdeps/i386/asm-syntax.h: Likewise.
45200 * sysdeps/s390/asm-syntax.h: Likewise.
45201 * sysdeps/unix/sysdep.h: Likewise.
45202 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
45203 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
45204
7071ad79
JM
452052012-01-26 Joseph Myers <joseph@codesourcery.com>
45206
45207 * libio/libio.h: Remove __STDC__ conditionals.
45208 * malloc/obstack.h: Likewise.
45209 * math/complex.h: Likewise.
45210 * math/math.h: Likewise.
45211 * sysdeps/generic/_G_config.h: Likewise.
45212 * sysdeps/gnu/_G_config.h: Likewise.
45213 * sysdeps/mach/hurd/_G_config.h: Likewise.
45214 * sysdeps/powerpc/bits/mathdef.h: Likewise.
45215 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
45216 * sysdeps/sparc/bits/mathdef.h: Likewise.
45217
afc5ed09
UD
452182012-01-26 Ulrich Drepper <drepper@gmail.com>
45219
45220 [BZ #13583]
45221 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
08cf777f 45222 Clean up HAS_* macros.
afc5ed09 45223 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
08cf777f
UD
45224 bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
45225 possible.
45226 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
45227 HAS_AVX.
45228 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
45229 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
45230 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
45231 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
45232 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
afc5ed09 45233
bdb6de1d
JM
452342012-01-25 Joseph Myers <joseph@codesourcery.com>
45235
45236 * elf/tst-unique3.cc (gets): Remove declaration.
45237 * elf/tst-unique3lib.cc (gets): Likewise.
45238 * elf/tst-unique3lib2.cc (gets): Likewise.
45239 * elf/tst-unique4.cc (gets): Likewise.
45240
b15549e6
UD
452412012-01-24 Ulrich Drepper <drepper@gmail.com>
45242
45243 * include/stdio.h: Add C++ protection. Add gets declarations and
45244 definitions.
45245 * debug/tst-chk1.c: Don't declare gets here.
45246 * stdio-common/tst-gets.c: Likewise.
45247
a037381f
JM
452482012-01-24 Joseph Myers <joseph@codesourcery.com>
45249
45250 * posix/glob: Remove directory.
45251
f1d4aa75
JM
452522012-01-24 Joseph Myers <joseph@codesourcery.com>
45253
45254 * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
45255
81c0c964
PT
452562012-01-22 Pino Toscano <toscano.pino@tiscali.it>
45257
45258 * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
45259 of the non-standard EPFNOSUPPORT.
45260
0ea698ae
ST
452612011-12-26 Samuel Thibault <samuel.thibault@ens-lyon.org>
45262
45263 * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
45264 __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
45265 ANYWHERE set to 1 only on KERN_NO_SPACE error.
45266
d220b117
UD
452672012-01-21 Ulrich Drepper <drepper@gmail.com>
45268
45269 * wcsmbs/uchar.h: Test __STDC_VERSION__.
45270
3e1aa84e
UD
452712012-01-20 Ulrich Drepper <drepper@gmail.com>
45272
45273 * nscd/aicache.c (addhstaiX): Do not cache negative results of
45274 transient errors.
45275 * nscd/grpcache.c (cache_addgr): Likewise.
45276 * nscd/hstcache.c (cache_addhst): Likewise.
45277 * nscd/initgrcache.c (addinitgroupsX): Likewise.
45278 * nscd/pwdcache.c (cache_addpw): Likewise.
45279 * nscd/servicescache.c (cache_addserv): Likewise.
45280
400aa020
UD
452812012-01-16 Ulrich Drepper <drepper@gmail.com>
45282
d77e7869
UD
45283 * malloc/malloc.c: Various cleanups.
45284 * malloc/hooks.c: Likewise.
45285
400aa020
UD
45286 * stdlib/Makefile (tests): Add bug-fmtmsg1.
45287 * stdlib/bug-fmtmsg1.c: New file.
45288
45289 * stdlib/fmtmsg.c (init): Add missing unlock.
45290 Patch by Peng Haitao <penght@cn.fujitsu.com>.
45291
e0a309cf
MP
452922012-01-12 Marek Polacek <polacek@redhat.com>
45293
45294 * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
45295 and _GNU_SOURCE.
45296
929d11c7
WS
452972012-01-04 Will Schmidt <will_schmidt@vnet.ibm.com>
45298
45299 * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
45300 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
45301 macro to ensure uniqueness of label name.
45302 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
45303 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
45304
41d0e869
UD
453052012-01-11 Ulrich Drepper <drepper@gmail.com>
45306
0cc5ed3b
UD
45307 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
45308
41d0e869
UD
45309 * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
45310 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
45311 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
45312 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
45313
a47a831a
UD
453142012-01-10 Ulrich Drepper <drepper@gmail.com>
45315
daa891c0
UD
45316 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
45317
45318 * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
45319 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
45320 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
45321
e58ef0f2
UD
45322 * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
45323
a47a831a 45324 * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
a47a831a
UD
45325 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
45326 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
41d0e869 45327 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
a47a831a
UD
45328
45329 * math/bits/math-finite.h: Add ldexp support.
45330
a0bfc9c7
MP
453312012-01-10 Marek Polacek <polacek@redhat.com>
45332
45333 * locale/programs/localedef.h (show_archive_content): Add noreturn
45334 attribute.
45335
d6e97a1d
UD
453362012-01-09 Ulrich Drepper <drepper@gmail.com>
45337
45338 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
45339
d5835c26
UD
453402012-01-08 Ulrich Drepper <drepper@gmail.com>
45341
e5f484c6
UD
45342 * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
45343
d5835c26
UD
45344 * io/Makefile (headers): Add bits/poll2.h.
45345
d1f741e9
WS
453462011-01-05 Will Schmidt <will_schmidt@vnet.ibm.com>
45347
45348 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
45349 typo #include statement.
45350
ec09c1c4
UD
453512012-01-08 Ulrich Drepper <drepper@gmail.com>
45352
45353 * include/sys/cdefs.h: Define __attribute_alloc_size.
45354 * catgets/gencat.c: Add alloc_size attribute and apply consistently
45355 the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
45356 * elf/pldd.c: Likewise.
45357 * iconv/iconv_charmap.c: Likewise.
45358 * iconv/iconvconfig.c: Likewise.
45359 * iconv/strtab.c: Likewise.
45360 * locale/programs/locale.c: Likewise.
45361 * locale/programs/localedef.h: Likewise.
45362 * locale/programs/simple-hash.c: Likewise.
45363 * nscd/nscd.h: Likewise.
45364 * nss/makedb.c: Likewise.
45365 * sysdeps/generic/ldconfig.h: Likewise.
45366 * locale/programs/localedef.c: Remove xmalloc prototype.
45367 * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
45368
20b38e03
PP
453692012-01-05 Paul Pluzhnikov <ppluzhnikov@google.com>
45370
45371 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
45372 appropriate.
45373
a0da5fe1
UD
453742012-01-08 Ulrich Drepper <drepper@gmail.com>
45375
1d5a644a 45376 * math/Makefile (tests): Add tst-CMPLX.
669704fd 45377 * math/tst-CMPLX.c: New file.
1d5a644a 45378
8784a6db
UD
45379 * math/complex.h (CMPLXL): Fix typo.
45380
d9a216c0
UD
45381 * debug/Makefile (routines): Add poll_chk and ppoll_chk.
45382 * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
45383 GLIBC_2.16.
45384 * debug/tst-chk1.c: Add poll and ppoll tests.
45385 * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
45386 * include/sys/poll.h: Add hidden proto for ppoll.
45387 * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
45388 * sysdeps/mach/hurd/ppoll.c: Likewise.
45389 * io/ppoll.c: Likewise.
45390 * debug/poll_chk.c: New file.
45391 * debug/ppoll_chk.c: New file.
45392 * include/bits/poll2.h: New file.
45393 * io/bits/poll2.h: New file.
45394
ac097f5c
UD
45395 [BZ #1350]
45396 * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
45397
2119dcfa
UD
45398 * configure.in: static is always set to yes. Remove.
45399 * config.make.in: Don't set build-static.
45400 * Makeconfig: Remove use of build-static.
45401 * dlfcn/Makefile: Likewise.
45402 * elf/Makefile: Likewise.
45403 * math/Makefile: Likewise.
45404 * misc/Makefile: Likewise.
45405 * nptl/Makefile: Likewise.
45406 * sysdeps/mach/hurd/Makefile: Likewise.
45407
121766a9
UD
45408 * configure.in: PWD_P is not used anymore.
45409 * config.make.in: Remove PWD_P entry.
45410
51a1d39c 45411 * configure.in: Remove last remnants of RANLIB.
8720d066 45412 No need to check for signed size_t anymore.
215f4bdc
UD
45413 Don't set libc_commonpagesize and libc_relro_required here for Alpha
45414 and IA-64.
3857022a 45415 Remove __builtin_expect test because we require at least gcc 3.4.
51a1d39c
UD
45416 * aclocal.m4: Likewise.
45417
d3ed7225
UD
45418 * wcsmbs/mbrtoc16.c: Implement using towc function.
45419 * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
45420 * wcsmbs/wcsmbsload.c: Likewise.
45421 * iconv/gconv_simple.c: Likewise.
45422 * iconv/gconv_int.h: Likewise.
45423 * iconv/gconv_builtin.h: Likewise.
45424 * iconv/iconv_prog.c: Remove CHAR16 handling.
45425
45426 * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
45427
45428 * wcsmbs/mbrtowc.c: Better check for invalid inputs.
45429
a0da5fe1
UD
45430 * configure.in: Remove --with-elf and --enable-bounded options.
45431 Dont set base_machine for ia64. More non-ELF conditions removed.
45432 Remove testing and setting of leading underscore information.
45433 * config.make.in (build-bounded): Set to no.
45434 * config.h.in: Remove NO_UNDERSCORES entry.
45435 * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS. ELF has
45436 them.
45437 * csu/start.c: Remove !NO_UNDERSCORE code.
45438 * locale/localeinfo.h: Likewise.
45439 * sysdeps/generic/machine-gmon.h: Likewise.
45440 * sysdeps/generic/sysdep.h: Likewise.
45441 * sysdeps/i386/sysdep.h: Likewise.
45442 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
45443 * sysdeps/mach/sysdep.h: Likewise.
45444 * sysdeps/s390/s390-32/sysdep.h: Likewise.
45445 * sysdeps/s390/s390-64/sysdep.h: Likewise.
45446 * sysdeps/sh/sysdep.h: Likewise.
45447 * sysdeps/sparc/sparc32/alloca.S: Likewise.
45448 * sysdeps/unix/i386/sysdep.S: Likewise.
45449 * sysdeps/unix/sparc/start.c: Likewise.
45450 * sysdeps/unix/sparc/sysdep.S: Likewise.
45451 * sysdeps/unix/sparc/sysdep.h: Likewise.
45452 * sysdeps/unix/start.c: Likewise.
45453 * sysdeps/unix/x86_64/sysdep.S: Likewise.
45454 * sysdeps/x86_64/sysdep.h: Likewise.
45455
df78418a
UD
454562012-01-07 Ulrich Drepper <drepper@gmail.com>
45457
a784e502
UD
45458 [BZ #13553]
45459 * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
45460 for non-gcc.
45461 * argp/argp-fmtstream.h: Use const instead __const.
45462 * argp/argp.h: Likewise.
45463 * assert/assert.h: Likewise.
45464 * bits/fenv.h: Likewise.
45465 * bits/sched.h: Likewise.
45466 * bits/sigset.h: Likewise.
45467 * bits/sigthread.h: Likewise.
45468 * catgets/nl_types.h: Likewise.
45469 * conform/data/pthread.h-data: Likewise.
45470 * crypt/crypt-private.h: Likewise.
45471 * crypt/crypt.h: Likewise.
45472 * crypt/crypt_util.c: Likewise.
45473 * ctype/ctype.h: Likewise.
45474 * debug/execinfo.h: Likewise.
45475 * debug/mbsnrtowcs_chk.c: Likewise.
45476 * debug/mbsrtowcs_chk.c: Likewise.
45477 * debug/wcsnrtombs_chk.c: Likewise.
45478 * debug/wcsrtombs_chk.c: Likewise.
45479 * debug/wcstombs_chk.c: Likewise.
45480 * dirent/dirent.h: Likewise.
45481 * dlfcn/dlfcn.h: Likewise.
45482 * elf/neededtest4.c: Likewise.
45483 * grp/grp.h: Likewise.
45484 * gshadow/gshadow.h: Likewise.
45485 * iconv/gconv.h: Likewise.
45486 * iconv/gconv_int.h: Likewise.
45487 * iconv/gconv_simple.c: Likewise.
45488 * iconv/iconv.h: Likewise.
45489 * iconv/loop.c: Likewise.
45490 * iconv/skeleton.c: Likewise.
45491 * include/aio.h: Likewise.
45492 * include/aliases.h: Likewise.
45493 * include/argz.h: Likewise.
45494 * include/arpa/inet.h: Likewise.
45495 * include/assert.h: Likewise.
45496 * include/dirent.h: Likewise.
45497 * include/dlfcn.h: Likewise.
45498 * include/execinfo.h: Likewise.
45499 * include/fcntl.h: Likewise.
45500 * include/fenv.h: Likewise.
45501 * include/glob.h: Likewise.
45502 * include/grp.h: Likewise.
45503 * include/libintl.h: Likewise.
45504 * include/mntent.h: Likewise.
45505 * include/netdb.h: Likewise.
45506 * include/pwd.h: Likewise.
45507 * include/rpc/netdb.h: Likewise.
45508 * include/sched.h: Likewise.
45509 * include/search.h: Likewise.
45510 * include/shadow.h: Likewise.
45511 * include/signal.h: Likewise.
45512 * include/stdio.h: Likewise.
45513 * include/stdlib.h: Likewise.
45514 * include/string.h: Likewise.
45515 * include/sys/socket.h: Likewise.
45516 * include/sys/stat.h: Likewise.
45517 * include/sys/statfs.h: Likewise.
45518 * include/sys/statvfs.h: Likewise.
45519 * include/sys/syslog.h: Likewise.
45520 * include/sys/time.h: Likewise.
45521 * include/sys/uio.h: Likewise.
45522 * include/time.h: Likewise.
45523 * include/unistd.h: Likewise.
45524 * include/utmp.h: Likewise.
45525 * include/wchar.h: Likewise.
45526 * include/wctype.h: Likewise.
45527 * inet/aliases.h: Likewise.
45528 * inet/arpa/inet.h: Likewise.
45529 * inet/netinet/ether.h: Likewise.
45530 * inet/netinet/in.h: Likewise.
45531 * intl/libintl.h: Likewise.
45532 * io/bits/fcntl2.h: Likewise.
45533 * io/fcntl.h: Likewise.
45534 * io/ftw.h: Likewise.
45535 * io/sys/poll.h: Likewise.
45536 * io/sys/stat.h: Likewise.
45537 * io/sys/statfs.h: Likewise.
45538 * io/sys/statvfs.h: Likewise.
45539 * io/utime.h: Likewise.
45540 * libio/bits/stdio.h: Likewise.
45541 * libio/bits/stdio2.h: Likewise.
45542 * libio/libio.h: Likewise.
45543 * libio/libioP.h: Likewise.
45544 * libio/stdio.h: Likewise.
45545 * locale/lc-ctype.c: Likewise.
45546 * locale/locale.h: Likewise.
45547 * login/utmp.h: Likewise.
45548 * malloc/arena.c: Likewise.
45549 * malloc/malloc.c: Likewise.
45550 * malloc/malloc.h: Likewise.
45551 * malloc/mcheck.c: Likewise.
45552 * malloc/mtrace.c: Likewise.
45553 * math/bits/mathcalls.h: Likewise.
45554 * math/fenv.h: Likewise.
45555 * math/math_private.h: Likewise.
45556 * misc/bits/error.h: Likewise.
45557 * misc/bits/syslog.h: Likewise.
45558 * misc/err.h: Likewise.
45559 * misc/error.h: Likewise.
45560 * misc/fstab.h: Likewise.
45561 * misc/mntent.h: Likewise.
45562 * misc/regexp.h: Likewise.
45563 * misc/search.h: Likewise.
45564 * misc/sgtty.h: Likewise.
45565 * misc/sys/mman.h: Likewise.
45566 * misc/sys/syslog.h: Likewise.
45567 * misc/sys/uio.h: Likewise.
45568 * misc/sys/xattr.h: Likewise.
45569 * misc/ttyent.h: Likewise.
45570 * nis/rpcsvc/ypclnt.h: Likewise.
45571 * nss/nss.h: Likewise.
45572 * posix/bits/unistd.h: Likewise.
45573 * posix/fnmatch.h: Likewise.
45574 * posix/glob.h: Likewise.
45575 * posix/sched.h: Likewise.
45576 * posix/spawn.h: Likewise.
45577 * posix/sys/wait.h: Likewise.
45578 * posix/unistd.h: Likewise.
45579 * posix/wordexp.h: Likewise.
45580 * pwd/pwd.h: Likewise.
45581 * resolv/netdb.h: Likewise.
45582 * resource/sys/resource.h: Likewise.
45583 * rt/aio.h: Likewise.
45584 * rt/bits/mqueue2.h: Likewise.
45585 * rt/mqueue.h: Likewise.
45586 * shadow/shadow.h: Likewise.
45587 * signal/signal.h: Likewise.
45588 * socket/send.c: Likewise.
45589 * socket/sendto.c: Likewise.
45590 * socket/sys/socket.h: Likewise.
45591 * stdio-common/printf.h: Likewise.
45592 * stdlib/bits/stdlib.h: Likewise.
45593 * stdlib/fmtmsg.h: Likewise.
45594 * stdlib/monetary.h: Likewise.
45595 * stdlib/stdlib.h: Likewise.
45596 * stdlib/ucontext.h: Likewise.
45597 * streams/stropts.h: Likewise.
45598 * string/argz.h: Likewise.
45599 * string/bits/string2.h: Likewise.
45600 * string/string.h: Likewise.
45601 * string/strings.h: Likewise.
45602 * sunrpc/rpc/auth.h: Likewise.
45603 * sunrpc/rpc/auth_des.h: Likewise.
45604 * sunrpc/rpc/clnt.h: Likewise.
45605 * sunrpc/rpc/netdb.h: Likewise.
45606 * sunrpc/rpc/pmap_clnt.h: Likewise.
45607 * sunrpc/rpc/xdr.h: Likewise.
45608 * sysdeps/generic/inttypes.h: Likewise.
45609 * sysdeps/generic/net/if.h: Likewise.
45610 * sysdeps/generic/sys/swap.h: Likewise.
45611 * sysdeps/gnu/net/if.h: Likewise.
45612 * sysdeps/gnu/utmpx.h: Likewise.
45613 * sysdeps/i386/fpu/bits/fenv.h: Likewise.
45614 * sysdeps/i386/i486/bits/string.h: Likewise.
45615 * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
45616 * sysdeps/s390/bits/string.h: Likewise.
45617 * sysdeps/s390/fpu/bits/fenv.h: Likewise.
45618 * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
45619 * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
45620 * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
45621 * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
45622 * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
45623 * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
45624 * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
45625 * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
45626 * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
45627 * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
45628 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
45629 * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
45630 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
45631 * sysdeps/unix/sysv/linux/readv.c: Likewise.
45632 * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
45633 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
45634 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
45635 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
45636 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
45637 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
45638 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
45639 * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
45640 * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
45641 * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
45642 * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
45643 * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
45644 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
45645 * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
45646 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
45647 * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
45648 * sysvipc/sys/ipc.h: Likewise.
45649 * sysvipc/sys/msg.h: Likewise.
45650 * sysvipc/sys/sem.h: Likewise.
45651 * sysvipc/sys/shm.h: Likewise.
45652 * termios/termios.h: Likewise.
45653 * time/sys/time.h: Likewise.
45654 * time/time.h: Likewise.
45655 * wcsmbs/bits/wchar2.h: Likewise.
45656 * wcsmbs/uchar.h: Likewise.
45657 * wcsmbs/wchar.h: Likewise.
45658 * wctype/wctype.h: Likewise.
45659
0269750c
UD
45660 [BZ #13551]
45661 * Makeconfig: Remove all but ELF support including AIX support.
45662 * Makerules: Likewise.
45663 * config.h.in: Likewise.
45664 * config.make.in: Likewise.
45665 * configure: Likewise.
45666 * configure.in: Likewise.
45667 * csu/Makefile: Likewise.
45668 * csu/version.c: Likewise.
45669 * debug/Makefile: Likewise.
45670 * dlfcn/Makefile: Likewise.
45671 * elf/Makefile: Likewise.
45672 * extra-lib.mk: Likewise.
45673 * iconv/Makefile: Likewise.
45674 * include/libc-symbols.h: Likewise.
45675 * include/shlib-compat.h: Likewise.
45676 * resolv/Makefile: Likewise.
45677 * resolv/res_libc.c: Likewise.
45678 * rt/Makefile: Likewise.
45679 * sysdeps/i386/asm-syntax.h: Likewise.
45680 * sysdeps/i386/sysdep.h: Likewise.
45681 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
45682 * sysdeps/mach/sysdep.h: Likewise.
45683 * sysdeps/powerpc/powerpc32/Makefile: Likewise.
45684 * sysdeps/powerpc/powerpc64/Makefile: Likewise.
45685 * sysdeps/s390/asm-syntax.h: Likewise.
45686 * sysdeps/s390/s390-32/sysdep.h: Likewise.
45687 * sysdeps/s390/s390-64/sysdep.h: Likewise.
45688 * sysdeps/sh/sysdep.h: Likewise.
45689 * sysdeps/unix/sparc/sysdep.h: Likewise.
45690 * sysdeps/wordsize-32/divdi3.c: Likewise.
45691 * sysdeps/x86_64/sysdep.h: Likewise.
45692
00bbd29b
UD
45693 * argp/Versions: Remove _argp_unlock_xxx.
45694
45695 [BZ #13559]
45696 * abilist/ld.abilist: Update. Adjust for removal of tls option.
45697 * abilist/libBrokenLocale.abilist: Likewise.
45698 * abilist/libanl.abilist: Likewise.
45699 * abilist/libc.abilist: Likewise.
45700 * abilist/libcrypt.abilist: Likewise.
45701 * abilist/libdl.abilist: Likewise.
45702 * abilist/libm.abilist: Likewise.
45703 * abilist/libnsl.abilist: Likewise.
45704 * abilist/libpthread.abilist: Likewise.
45705 * abilist/libresolv.abilist: Likewise.
45706 * abilist/librt.abilist: Likewise.
45707 * abilist/libthread_db.abilist: Likewise.
45708 * abilist/libutil.abilist: Likewise.
45709 * abilist/libnss_db.abilist: New file.
45710
45711 * scripts/abilist.awk: Add support for indirect functions.
45712
a2693a0e
UD
45713 * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
45714
3f05895f
UD
45715 * sysdeps/generic/ldsodefs.h: Remove Alpha support.
45716
ecb6fb48
UD
45717 * shlib-versions: Remove entries for ports architectures.
45718
664f8cb9
UD
45719 * elf/tls-macros.h: Remove support for Alpha and IA-64. Should be in
45720 files in ports.
45721 * elf/stackguard-macros.h: Remove support for IA-64.
45722 * elf/tst-auditmod1.c: Likewise.
45723 * sysdeps/generic/ldsodefs.h: Likewise.
45724
7ae81d88
UD
45725 * sysdeps/unix/sysv/linux/configure.in: Ports should define
45726 libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
45727 configure files.
45728
bdeba135
UD
45729 [BZ #13552]
45730 * configure.in: Remove --enable-omitfp support.
45731 * FAQ.in: Adjust.
45732 * config.make.in: Likewise.
45733 * Makeconfig: Likewise.
45734 * manual/install.texi: Likewise.
45735
d75a0a62
UD
45736 In case anyone cares, the IA-64 architecture could move to ports.
45737 * sysdeps/ia64/*: Removed.
45738 * sysdeps/unix/sysv/linux/ia64/*: Removed.
b13b9885 45739 * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
d75a0a62 45740
dcc9756b
UD
45741 [BZ #13555]
45742 * configure.in: Remove entries for unsupported architectures.
45743
d3761ebc 45744 [BZ #13533]
9954432e
UD
45745 * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
45746 * iconv/gconv_simple.c: Rename char16_t routines. Add char16_t<->utf8
45747 routines.
45748 * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
45749 * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
45750 * wcsmbs/c16rtomb.c: Fix a few problems. Disable all the code and
45751 fall back to using wcrtomb.
45752 * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
45753 * wcsmbs/wcsmbsload.c: Make char16 routines optional. Adjust for
45754 renaming.
45755 * wcsmbs/Makefile (tests): Add tst-c16c32-1:
45756 * wcsmbs/tst-c16c32-1.c: New file.
45757
45758 * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
45759 local variable.
45760
c3a87236
UD
45761 * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
45762
28926a1b
UD
45763 * elf/tst-unique3.cc: Add explicit declaration of gets.
45764 * elf/tst-unique3lib.cc: Likewise.
45765 * elf/tst-unique3lib2.cc: Likewise.
45766 * elf/tst-unique4.cc: Likewise.
45767
df78418a
UD
45768 * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
45769
8ecd6b2a
JM
457702012-01-06 Joseph Myers <joseph@codesourcery.com>
45771
45772 [BZ #13566]
45773 * assert/assert.h (static_assert): Don't define for C++.
45774 * libio/stdio.h (gets): Do declare for C++ <= C++11.
45775 * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
45776
9f115170
UD
457772012-01-03 Ulrich Drepper <drepper@gmail.com>
45778
5e0d0300
UD
45779 * iconv/loop.c (single loop): Fix assertion in storing of
45780 remaining bytes.
45781
9f115170
UD
45782 * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
45783
81fb02b0
UD
457842012-01-01 Ulrich Drepper <drepper@gmail.com>
45785
45786 * posix/getconf.c: Update copyright year.
45787 * nss/getent.c: Likewise.
a316c1f6 45788 * nss/makedb.c: Likewise.
81fb02b0
UD
45789 * iconv/iconvconfig.c: Likewise.
45790 * iconv/iconv_prog.c: Likewise.
45791 * elf/ldconfig.c: Likewise.
a316c1f6
UD
45792 * elf/pldd.c: Likewise.
45793 * elf/sotruss.ksh: Likewise.
81fb02b0
UD
45794 * catgets/gencat.c: Likewise.
45795 * csu/version.c: Likewise.
45796 * elf/ldd.bash.in: Likewise.
45797 * elf/sprof.c (print_version): Likewise.
45798 * locale/programs/locale.c: Likewise.
45799 * locale/programs/localedef.c: Likewise.
a316c1f6 45800 * login/programs/pt_chown.c: Likewise.
81fb02b0
UD
45801 * nscd/nscd.c (print_version): Likewise.
45802 * debug/xtrace.sh: Likewise.
45803 * malloc/memusage.sh: Likewise.
45804 * malloc/mtrace.pl: Likewise.
45805 * debug/catchsegv.sh: Likewise.
45806
2ba92745
JJ
458072011-12-30 Jakub Jelinek <jakub@redhat.com>
45808
45809 * posix/regex_internal.c (re_string_fetch_byte_case): Remove
45810 pure attribute.
45811
dadebdae
UD
458122011-12-24 Ulrich Drepper <drepper@gmail.com>
45813
d3761ebc 45814 [BZ #13533]
db6af3eb
UD
45815 * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
45816 * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
45817 transformations.
45818 * iconv/gconv_int.h: Likewise.
45819 * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
45820 * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
45821 from libc for GLIBC_2.16.
45822 * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
45823 * wcsmbs/wcrtomb.c: Define c32rtomb alias.
45824 * wcsmbs/uchar.h: Really define mbstate_t.
45825 * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
45826 * wcsmbs/c16rtomb.c: New file.
45827 * wcsmbs/mbrtoc16.c: New file.
45828 * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
45829 for C/POSIX locale.
45830 (__wcsmbs_load_conv): Do not fill in c16 routines yet.
45831 * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
45832
dadebdae
UD
45833 * wcsmbs/wchar.h: Add missing __restrict.
45834
67371b56
UD
458352011-12-23 Ulrich Drepper <drepper@gmail.com>
45836
74033a25
UD
45837 [BZ #13532]
45838 * time/Makefile (routines): Add timespec_get.
45839 * time/Versions: Export timespec_get from libc for GLIBC_2.16.
45840 * time/time.h: Define TIME_UTC and declare timespec_get. Define
45841 timespec for ISO C11.
45842 * time/timespec_get.c: New file.
45843 * sysdeps/unix/sysv/linux/timespec_get.c: New file.
45844 * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
45845
380d7e87
UD
45846 [BZ #13531]
45847 * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
45848 * stdlib/stdlib.h: Declare aligned_alloc.
45849 * Versions.def: Add GLIBC_2.16 for libc.
45850 * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
45851
4e9e7a35
UD
45852 [BZ 13527]
45853 * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
45854 ISO C11.
45855
380d7e87 45856 * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
8fd8ff3b
UD
45857 code.
45858
03a71829
UD
45859 [BZ #13528]
45860 * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
45861
839e283e
UD
45862 [BZ #13529]
45863 * assert/assert.h (static_assert): Define.
45864
ce5294e2 45865 * version.h: Update for 2.16 development version.
90fa7312 45866
8d44e150 45867 [BZ #13526]
d7809905
UD
45868 * include/features.h: Handle __STDC_VERSION__ >= 201112 and
45869 _ISOC11_SOURCE.
45870
c0da14cd
UD
45871 * version.h (RELEASE): Bump for 2.15 release.
45872 * include/features.h (__GLIBC_MINOR__): Bump to 15.
45873
530a3249
MP
45874 * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
45875 Patch by Marek Polacek <mpolacek@redhat.com>.
45876
67371b56
UD
45877 * bits/byteswap.h: Protect long long constants with __extension__.
45878 * sysdeps/i386/bits/byteswap.h: Likewise.
45879 * sysdeps/ia64/bits/byteswap.h: Likewise.
45880 * sysdeps/s390/bits/byteswap.h: Likewise.
45881 * sysdeps/x86_64/bits/byteswap.h: Likewise.
45882
15db4de1
LD
458832011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
45884
45885 [BZ #13540]
bbe315ea
LD
45886 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
45887 destination buffer.
15db4de1
LD
45888 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
45889
2b2596b1
MP
458902011-12-23 Marek Polacek <polacek@redhat.com>
45891
45892 * elf/dl-addr.c (determine_info): Add inline keyword.
45893 * elf/tst-auditmod4b.c (check_avx): Likewise.
45894 * elf/tst-auditmod6b.c (check_avx): Likewise.
45895 * elf/tst-auditmod6c.c (check_avx): Likewise.
45896 * elf/tst-auditmod7b.c (check_avx): Likewise.
45897
70c6c246
UD
458982011-12-23 Ulrich Drepper <drepper@gmail.com>
45899
45900 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
45901 !__SSE_MATH__.
45902
c044cf14
LD
459032011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
45904
15db4de1 45905 [BZ #13540]
c044cf14
LD
45906 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
45907 processing for last bytes.
45908
6b13d9d9
BH
459092011-08-06 Bruno Haible <bruno@clisp.org>
45910
d455f537
BH
45911 [BZ #13061]
45912 * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
45913 U+0385, not to U+1FEE.
45914
6b13d9d9
BH
45915 [BZ #13062]
45916 * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
45917 entry for U+00A5 U+0301.
45918
db910efd
UD
459192011-12-22 Ulrich Drepper <drepper@gmail.com>
45920
27deeafc
UD
45921 [BZ #13166]
45922 * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
45923 buffer for the output is too small.
45924
aed9d171
UD
45925 * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
45926 optimization.
45927
db910efd
UD
45928 [BZ #13185]
45929 * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
45930 SSE flags if possible.
45931
2bd779ae
LD
459322011-12-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
45933
e7f9dac3 45934 [BZ #13540]
2bd779ae
LD
45935 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
45936 processing for last bytes.
45937
154bfc16
JM
459382011-12-22 Joseph Myers <joseph@codesourcery.com>
45939
45940 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
45941 (syscall-list-default-options, syscall-list-default-condition)
45942 (syscall-list-includes): Define.
45943 ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
45944 list of ABIs and options and #if conditions for each ABI. Do not
45945 handle common syscalls between ABIs specially.
45946 * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
45947 Remove.
45948 (syscall-list-variants, syscall-list-32bit-options)
45949 (syscall-list-32bit-condition, syscall-list-64bit-options)
45950 (syscall-list-64bit-condition): Define.
45951 * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
45952 (syscall-list-variants, syscall-list-32bit-options)
45953 (syscall-list-32bit-condition, syscall-list-64bit-options)
45954 (syscall-list-64bit-condition): Define.
45955 * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
45956 Remove.
45957 (syscall-list-variants, syscall-list-32bit-options)
45958 (syscall-list-32bit-condition, syscall-list-64bit-options)
45959 (syscall-list-64bit-condition): Define.
45960 * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
45961 Remove.
45962 (syscall-list-variants, syscall-list-32bit-options)
45963 (syscall-list-32bit-condition, syscall-list-64bit-options)
45964 (syscall-list-64bit-condition): Define.
45965
21eaf3a5
UD
459662011-12-22 Ulrich Drepper <drepper@gmail.com>
45967
16c6f992
UD
45968 * locale/iso-639.def: Add brx entry.
45969
41043168
UD
45970 [BZ #13328]
45971 * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
45972 Proposed by Mariusz_Cukr <marcukr@op.pl>.
45973
21eaf3a5
UD
45974 * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
45975 __feraiseexcept_renamed.
45976
e3a851a2
UD
459772011-12-21 Ulrich Drepper <drepper@gmail.com>
45978
4920765e
UD
45979 [BZ #13538]
45980 * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
45981 EPOLLET with unsigned values.
45982 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
45983 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
45984
e3a851a2
UD
45985 * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
45986 to large cancellation.
45987 * math/s_cacoshf.c: Likewise.
45988 * math/s_cacoshl.c: Likewise.
45989
b27e24b8
RK
459902011-11-18 Richard B. Kreckel <kreckel@ginac.de>
45991
45992 [BZ #13305]
aebefeee 45993 [BZ #12786]
b27e24b8
RK
45994 * math/s_cacosh.c: Fix rare miscomputation in cacosh().
45995 * math/s_cacoshf.c: Likewise.
45996 * math/s_cacoshl.c: Likewise.
45997
ee190f67
UD
459982011-12-21 Ulrich Drepper <drepper@gmail.com>
45999
46000 [BZ #13439]
46001 * iconv/gconv.h: Define __GCONV_SWAP.
46002 * iconvdata/unicode.c: The swap bit must be stored in __flags.
46003 * iconvdata/utf-16.c: Likewise.
46004 * iconvdata/utf-32.c: Likewise.
46005
707f25df
AS
460062011-12-21 Andreas Schwab <schwab@linux-m68k.org>
46007
46008 [BZ #13524]
46009 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
46010 numerator after shifting it by one limb.
46011
d2daaa1e
RÁE
460122011-12-19 Rafael Ávila de Espíndola <rafael.espindola@gmail.com>
46013
46014 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
46015 under [__USE_EXTERN_INLINES].
46016
a4647e72
UD
460172011-12-17 Ulrich Drepper <drepper@gmail.com>
46018
46019 [BZ #13446]
46020 * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
46021
f0b264f1
AZ
460222011-11-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
46023
46024 * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
46025 * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
46026 optimized code.
46027 * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
46028 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
46029 * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
46030 * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
46031 for strncasecmp/strncasecmp_l compilation.
46032 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
46033 * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
46034
8ef4f244
MP
460352011-12-08 Marek Polacek <mpolacek@redhat.com>
46036
46037 [BZ #13484]
46038 * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
46039 of __asm__.
46040
97ac2654
UD
460412011-12-17 Ulrich Drepper <drepper@gmail.com>
46042
46043 [BZ #13506]
46044 * time/tzfile.c (__tzfile_read): Check values from file header.
46045
91d2a845
WS
460462011-11-21 Will Schmidt <will_schmidt@vnet.ibm.com>
46047
46048 * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
46049 * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
46050 * powerpc/powerpc32/dl-start.S: Likewise.
46051 * powerpc/powerpc32/elf/start.S: Likewise.
46052 * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
46053 * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
46054 * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
46055 * powerpc/powerpc32/fpu/s_floor.S: Likewise.
46056 * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
46057 * powerpc/powerpc32/fpu/s_lround.S: Likewise.
46058 * powerpc/powerpc32/fpu/s_rint.S: Likewise.
46059 * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
46060 * powerpc/powerpc32/fpu/s_round.S: Likewise.
46061 * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
46062 * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
46063 * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
46064 * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
46065 * powerpc/powerpc32/memset.S: Likewise.
46066 * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
46067 * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
46068 * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
46069 * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
46070 * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
46071 * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
46072 * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
46073 * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
46074 * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
46075 * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
46076 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
46077 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
46078 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
46079
a1267ba1
AZ
460802011-11-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
46081
46082 * math/libm-test.inc: Added more nearbyint tests.
46083 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
46084 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
46085 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
46086 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
46087
ad8ac1bd
RL
460882011-11-21 Ross Lagerwall <rosslagerwall@gmail.com>
46089
46090 * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
46091 FD_CLOEXEC.
46092
1d3e4b61
UD
460932011-11-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
46094
46095 * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
46096 Add wcscpy-ssse3 wcscpy-c.
46097 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
46098 * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
46099 * sysdeps/x86_64/multiarch/wcscpy.S: New file.
46100 * sysdeps/x86_64/wcschr.S: New file.
46101 * sysdeps/x86_64/wcsrchr.S: New file.
46102 * string/test-strcmp.c: Remove checking of wcscmp function for
46103 wrong alignments.
46104 * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
46105 (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
46106 wcsrchr-sse2 wcsrchr-c.
46107 * sysdeps/i386/i686/multiarch/wcschr.S: New file.
46108 * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
46109 * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
46110 * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
46111 * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
46112 * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
46113 * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
46114 * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
46115 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
46116 * wcsmbc/wcschr.c (WCSCHR): New macro.
46117
5b330a2d
UD
461182011-11-17 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
46119
46120 * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
46121 * wcsmbs/test-wcsrchr.c: New file.
46122 * string/test-strrchr.c: Add wcsrchr support.
46123 (WIDE): New macro.
46124 * wcsmbs/test-wcscpy.c: New file.
46125 * string/test-strcpy.c: Add wcscpy support.
46126 (WIDE): New macro.
26428b7c 46127
f039c043
UD
461282011-12-10 Ulrich Drepper <drepper@gmail.com>
46129
46130 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
46131 the inner loop.
46132
850fb039
AS
461332011-12-06 Andreas Schwab <schwab@linux-m68k.org>
46134
46135 [BZ #13472]
46136 * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
46137
4efbd5cb
UD
461382011-12-04 Ulrich Drepper <drepper@gmail.com>
46139
52ff5dd0 46140 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
52ad36a2 46141 Minor optimizations.
52ff5dd0 46142
4efbd5cb
UD
46143 * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
46144 * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
46145 * sunrpc/clnt_udp.c (clntudp_call): Likewise.
46146
8a426e12
UD
461472011-12-03 Ulrich Drepper <drepper@gmail.com>
46148
aff2453d
UD
46149 * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
46150 IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
46151 IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
46152 for gcc to avoid warnings.
46153 * inet/Makefile (tests): Add tst-checks.
46154 * inet/tst-checks.c: New file.
46155
46156 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
46157 warning.
46158
46159 * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
46160 __wmemcmp_sse2.
46161
46162 * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
46163 * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
46164
8a426e12
UD
46165 * malloc/mcheck.h: Fix use of incorrect encoding in comment.
46166
9bea3473
UD
461672011-12-02 Ulrich Drepper <drepper@gmail.com>
46168
3a965496
UD
46169 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
46170 problem.
46171
9bea3473
UD
46172 * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
46173
f101631b
UD
461742011-11-29 Joseph Myers <joseph@codesourcery.com>
46175
46176 * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
46177 conditional on GCC version.
46178 (__arch_compare_and_exchange_val_8_acq)
46179 (__arch_compare_and_exchange_val_16_acq)
46180 (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
46181 (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
46182 (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
46183
a98275aa
UD
461842011-12-02 Joseph Myers <joseph@codesourcery.com>
46185
46186 * sysdeps/sh/backtrace.c: New file.
46187
d4cc29a2
AS
461882011-12-02 Andreas Schwab <schwab@redhat.com>
46189
46190 * misc/bits/select2.h (__FD_ELT): Mark as extension. Add
46191 parenthesis.
46192
6257af2d
AS
461932011-12-01 Andreas Schwab <schwab@redhat.com>
46194
46195 * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
46196 falling back to utime.
46197
b5f44c1a
AS
461982011-11-30 Andreas Schwab <schwab@redhat.com>
46199
46200 * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
46201 expectations for float.
46202
f3a6cc0a
AS
462032011-11-29 Andreas Schwab <schwab@redhat.com>
46204
46205 * locale/weight.h (findidx): Add parameter len.
46206 * locale/weightwc.h (findidx): Likewise.
46207 * posix/fnmatch_loop.c (FCT): Adjust caller.
46208 * posix/regcomp.c (build_equiv_class): Likewise.
46209 * posix/regex_internal.h (re_string_elem_size_at): Likewise.
46210 * posix/regexec.c (check_node_accept_bytes): Likewise.
46211 * string/strcoll_l.c (STRCOLL): Likewise.
46212 * string/strxfrm_l.c (STRXFRM): Likewise.
46213
9d65ea3a
UD
462142011-11-17 Ulrich Drepper <drepper@gmail.com>
46215
46216 * Makefile.in: Remove CVSOPT handling.
46217 * configure.in: Remove use of AC_REVISION.
46218 * iconvdata/Makefile (distribute): No need to filter out CVS.
46219 * scripts/list-sources.sh: Remove CVS, subversion and monotone
46220 handling.
46221
5583a086
AS
462222011-11-16 Andreas Schwab <schwab@redhat.com>
46223
46224 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
46225 [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
46226 [USE_AS_STRNCASECMP_L]: Likewise.
46227 (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
46228 NO_TLS_DIRECT_SEG_REFS.
46229 * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
46230 Fix argument offsets for non-PIC.
46231 [USE_AS_STRNCASECMP_L]: Likewise.
46232 (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
46233 NO_TLS_DIRECT_SEG_REFS.
46234
d62a8200
UD
462352011-11-15 Ulrich Drepper <drepper@gmail.com>
46236
9d65ea3a 46237 * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
d62a8200
UD
46238 O_CLOEXEC.
46239 * locale/loadlocale.c (_nl_load_locale): Likewise.
46240
09f93bd3
AS
462412011-11-15 Andreas Schwab <schwab@redhat.com>
46242
446514f9
AS
46243 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
46244 [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
46245 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
46246 (SYSCALL_GETTIME): Set errno on error.
46247
09f93bd3
AS
46248 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
46249 count references to noai6ai_cached.
46250
312be3f9
UD
462512011-11-15 Ulrich Drepper <drepper@gmail.com>
46252
46253 * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
46254
46255 * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
46256 FD_CLOEXEC for /proc/self/maps.
46257
46258 * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
46259 FD_CLOEXEC for /proc/meminfo.
46260
46261 * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
46262 gai.conf.
46263
46264 * resolv/res_query.c (res_hostalias): Don't allow cancellation and set
46265 FD_CLOEXEC for given file.
46266
46267 * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
46268
46269 * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
46270 FD_CLOEXEC for /etc/hosts.
46271 (_gethtent): Likewise.
46272
46273 * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
46274
46275 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
46276 cancellation and set FD_CLOEXEC for /etc/netgroup.
46277
46278 * nss/nss_files/files-key.c (search): Don't allow cancellation when
46279 reading /etc/publickey.
46280
46281 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
46282 allow cancellation when reading /etc/group.
46283
46284 * nss/nss_files/files-alias.c (internal_setent): Don't allow
46285 cancellation.
46286 (get_next_alias): Likewise for included file. Also set FD_CLOEXEC.
46287
46288 * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
46289 when using data file.
46290
46291 * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
46292
46293 * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
46294 (write_nis_obj): Use "c" and "e" in fopen.
46295
46296 * misc/mntent_r.c (__setmntent): Also append e to fopen format.
46297
46298 * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
46299
46300 * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
46301
46302 * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
46303
46304 * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
46305 locale.alias.
46306
46307 * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
46308
46309 * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
46310
46311 * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
46312
46313 * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
46314 file parsing and set FD_CLOEXEC.
46315
82af0fa8
UD
463162011-11-14 Ulrich Drepper <drepper@gmail.com>
46317
46318 * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
46319
a5fb313c
AS
463202011-11-14 Andreas Schwab <schwab@redhat.com>
46321
46322 * malloc/arena.c (arena_get2): Don't call reused_arena when
46323 _int_new_arena failed.
46324
6abf3465
UD
463252011-11-14 Ulrich Drepper <drepper@gmail.com>
46326
46327 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
46328 (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
46329 * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
46330 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
46331 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
46332 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
46333 to compile strcasecmp and strncasecmp.
46334 * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
46335 * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
46336
46337 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
46338
76e3966e
UD
463392011-11-13 Ulrich Drepper <drepper@gmail.com>
46340
46341 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
46342 locale-defines.sym to gen-as-const-headers.
46343 (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
46344 strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
46345 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
46346 to compile strcasecmp and strncasecmp.
46347 * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
46348 strcasecmp_l and strncasecmp_l.
46349 * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
46350 * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
46351 * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
46352 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
46353 * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
46354 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
46355 * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
46356 * sysdeps/i386/i686/multiarch/strncase.S: New file.
46357 * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
46358 * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
46359 * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
46360
ab26144e
UD
463612011-11-12 Ulrich Drepper <drepper@gmail.com>
46362
7edb22ef
UD
46363 * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
46364 result of SYSDEP_GETTIME_CPU to retval.
46365 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
46366 parameter list to macro. Remove trailing semicolon. Adjust users.
46367
9694fc44
UD
46368 * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
46369 variable.
46370
8ad89ef8
UD
46371 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
46372 mantissa words.
46373 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
46374
0c822ef9
UD
46375 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
46376 from unused variable.
46377
874e0564
UD
46378 * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
46379 DWARF definitions.
46380 * sysdeps/generic/dwarf2.h: Don't define enums when using the file
46381 for assembling.
46382
3a2edc79
UD
46383 * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
46384 over namespaces.
46385
f3c2577f
UD
46386 * sunrpc/rpc_prot.c (rejected): Fix case value.
46387
294ce126
UD
46388 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
46389 unsigned long long int to avoid warnings in shift.
46390
5e2b63c6
UD
46391 * posix/regex_internal.c (re_string_reconstruct): Actually use result
46392 of use of trans.
46393 * posix/regex_internal.h (re_string_wchar_at): Remove temporary
46394 variable tmp.
46395
e7f4b08e
UD
46396 * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
46397 * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
46398 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
46399
ab26144e
UD
46400 * nis/nis_table.c (nis_list): Use variable of correct type for
46401 result of __follow_path call.
46402
8a6d5255
AZ
464032011-11-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
46404
46405 * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
46406 of math functions ceil, trunc, floor, round, and sqrt, when
46407 avaliable on the platform.
46408 * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
46409 name clash.
46410 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
46411 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
46412 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
46413
aaddc98c
MP
464142011-10-30 Marek Polacek <mpolacek@redhat.com>
46415
46416 * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
46417 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
46418
95b7042b
RM
464192011-11-11 Roland McGrath <roland@hack.frob.com>
46420
46421 * include/unistd.h: Fix __readlink return type.
46422 Reported by Chris Metcalf <cmetcalf@tilera.com>.
46423
57769839
UD
464242011-11-11 Ulrich Drepper <drepper@gmail.com>
46425
46426 * stdlib/ucontext.h: Undo last change for makecontext.
46427
edc5984d
AS
464282011-11-11 Andreas Schwab <schwab@redhat.com>
46429
98591e58
AS
46430 * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
46431
edc5984d
AS
46432 * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
46433 * setjmp/setjmp.h: Mark functions as non-leaf.
46434 * setjmp/bits/setjmp2.h: Likewise.
46435 * stdlib/ucontext.h: Likewise.
46436
77cdc054
AS
464372011-11-10 Andreas Schwab <schwab@redhat.com>
46438
46439 * malloc/arena.c (_int_new_arena): Don't increment narenas.
46440 (reused_arena): Don't check arena limit.
46441 (arena_get2): Atomically check arena limit.
46442
fe72eebd
UD
464432011-11-08 Ulrich Drepper <drepper@gmail.com>
46444
5f078c32
UD
46445 * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
46446 * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
46447
fe72eebd
UD
46448 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
46449 instructions.
46450
ae1bc2fa
AS
464512011-11-07 Andreas Schwab <schwab@redhat.com>
46452
7583a88d
AS
46453 * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
46454 handler when locking.
46455
ae1bc2fa
AS
46456 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
46457 Fix size of allocated buffer.
46458
10fb0bfa
AS
464592011-11-04 Andreas Schwab <schwab@redhat.com>
46460
998832a4
AS
46461 [BZ #10103]
46462 * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
46463 declarations for long double functions.
46464 * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
46465
10fb0bfa
AS
46466 * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
46467
3d7ba52b
AS
464682011-11-03 Andreas Schwab <schwab@redhat.com>
46469
a9ae54a1
AS
46470 * nscd/nscd.c (main): Don't start AVC thread until credentials are
46471 installed.
46472
3d7ba52b
AS
46473 * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
46474 is disabled.
46475
bc8db248
ST
464762011-11-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
46477
46478 * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
46479
45b96dd6
AS
464802011-11-01 Andreas Schwab <schwab@linux-m68k.org>
46481
647776f6
AS
46482 * include/alloca.h (stackinfo_alloca_round): Define.
46483 (extend_alloca): Use it.
46484 [_STACK_GROWS_UP]: Correct check for adjacent allocation.
46485 * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
46486 here.
46487
d91a8b93
AS
46488 * scripts/check-local-headers.sh: Ignore libaudit.h.
46489
45b96dd6
AS
46490 * nscd/Makefile (extra-objs): Make recursively expanded.
46491
432d41ce
UD
464922011-11-01 Ulrich Drepper <drepper@gmail.com>
46493
34372fc6
UD
46494 * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
46495 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
46496
fadb59f8
UD
46497 * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
46498 * posix/tst-rfc3484-2.c: Likewise.
46499 * posix/tst-rfc3484-3.c: Likewise.
46500
78239589
UD
46501 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
46502 process_vm_writev.
46503 * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
46504 process_vm_writev.
46505 * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
46506 process_vm_writev from libc using GLIBC_2.15 version.
46507
432d41ce
UD
46508 * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
46509
02f9c6cf
PP
465102011-10-31 Paul Pluzhnikov <ppluzhnikov@google.com>
46511
46512 * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
46513 stack usage.
46514
3a2c0242
UD
465152011-10-31 Ulrich Drepper <drepper@gmail.com>
46516
f4ec4833
UD
46517 [BZ #13367]
46518 * nss/getent.c (initgroups_keys): Show error message in case no group
46519 names are given.
46520
3a2c0242
UD
46521 * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
46522 * inet/check_pf.c: Provide dummy versions of __free_in6ai and
46523 __bump_nl_timestamp.
46524 * nscd/connections (nscd_init): When host database is served open
46525 netlink socket and request notification about configuration changes.
46526 (main_loop_poll): Track netlink file descriptor and bump timestamp
46527 in case data becomes available.
46528 (main_loop_epoll): Likewise.
46529 * nscd/nscd-client.h (DB_VERSION): Bump to 2.
46530 (database_pers_head): Add extra_data fileds.
46531 Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
46532 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
46533 * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
46534 Adjust caller.
46535 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
46536 in6ai data, call __free_in6ai.
46537 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
46538 Add -DHAVE_NETLINK.
46539 * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite. Cache the
46540 interface information. Reuse previous data if netlink timestamp
46541 is not changed.
46542 (__bump_nl_timestamp): New function.
46543 (__free_in6ai): New function.
46544
636064eb
UD
465452011-10-30 Ulrich Drepper <drepper@gmail.com>
46546
46547 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
46548 close_not_cancel_no_status here.
46549 (__check_pf): Reorganize code a bit to not call close twice if OOM.
46550
9beb2334
UD
465512011-10-29 Ulrich Drepper <drepper@gmail.com>
46552
6ef76f3b
UD
46553 [BZ #13276]
46554 * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
46555 return value.
46556
0ffc4f3e 46557 * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
9beb2334
UD
46558 * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
46559 asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
46560
cb95113e
UD
465612011-07-03 Andreas Jaeger <aj@suse.de>
46562
46563 [BZ #10709]
46564 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
46565 of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
46566 * math/libm-test.inc (sin_test): Add test case.
46567
a1b560ff
UD
465682011-10-29 Ulrich Drepper <drepper@gmail.com>
46569
c9aaface
UD
46570 [BZ #13337]
46571 * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
46572 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
46573
d272e7f1
UD
46574 * elf/chroot_canon.c (chroot_canon): Cleanups.
46575
1bc33071
UD
46576 * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
46577
1760874d
TJ
46578 [BZ #13335]
46579 * elf/chroot_canon.c (chroot_canon): Fix readlink call.
46580 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
46581
51d91b18
UD
46582 * string/test-strchr.c: Make usable for strchrnul testing.
46583 * string/test-strchrnul.c: New file.
46584 * string/Makefile (strop-tests): Add strchrnul.
46585
a1b560ff 46586 * po/it.po: Update from translation team.
b611fb81 46587 * po/es.po: Likewise.
a1b560ff 46588
a5b81e1f
UD
465892011-10-28 Ulrich Drepper <drepper@gmail.com>
46590
fd52bc6d
UD
46591 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
46592 the three constants needed as parameters. Drop the others.
46593 (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
46594 __m128i_strloadu_tolower.
52e4b9eb
UD
46595 Create and initialize variable zero and use it in all the places
46596 where _mm_setzero_si128 was used.
fd52bc6d 46597
a5b81e1f
UD
46598 * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
46599 doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
46600 mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
46601 * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
46602 anymore.
46603 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
46604 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
46605 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
46606 __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
46607 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
46608 __mpranred, __mptan.
46609 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
46610 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
46611 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
46612 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
46613 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
46614 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
46615 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
46616 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
46617 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
46618
b4343346
AS
466192011-10-28 Andreas Schwab <schwab@redhat.com>
46620
0c92d8a8
AS
46621 * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
46622 redefine if SHARED.
46623 * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
46624
b4343346
AS
46625 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
46626 wide char related routines to wcsmbs subdir.
46627
3871f58f
AS
466282011-10-27 Andreas Schwab <schwab@redhat.com>
46629
46630 [BZ #13344]
46631 * misc/sys/cdefs.h (__THROWNL): Define.
46632 * posix/unistd.h: Use __THREADNL instead of __THREAD
46633 for memory synchronization functions.
46634
94d44d9f
RM
466352011-10-26 Roland McGrath <roland@hack.frob.com>
46636
21b64b15 46637 [BZ #13349]
94d44d9f
RM
46638 * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
46639 doesn't exist.
46640 * manual/stdio.texi (Obstack Streams): Node removed.
46641
f6ce9294
AS
466422011-10-26 Andreas Schwab <schwab@redhat.com>
46643
80479147
AS
46644 * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
46645 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
46646 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
46647
f6ce9294
AS
46648 * math/math_private.h (math_force_eval): Allow non-addressable
46649 arguments.
46650 * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
46651
618280a1
UD
466522011-10-25 Ulrich Drepper <drepper@gmail.com>
46653
e0016b11
UD
46654 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
46655 file is not needed.
46656
46657 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
46658 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
46659 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
46660 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
46661 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
46662 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
46663 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
46664 * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
46665 Add AVX variants.
46666 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
46667 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
46668 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
46669 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
46670 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
46671 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
46672 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
46673 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
46674 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
46675 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
46676 * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
46677 * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
46678 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
46679 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
46680 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
46681 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
46682 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
46683 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
46684 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
46685
46686 * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
46687 all the time. Define bit_AVX. Define HAS_* macros using bit_* macros.
46688
618280a1
UD
46689 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
46690 place. Use VEX encoding when compiling for AVX.
46691
37822576
AS
466922011-10-25 Andreas Schwab <schwab@redhat.com>
46693
1f1e1947
AS
46694 * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
46695 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
46696
37822576
AS
46697 * string/test-strchr.c (do_test): Don't generate NUL bytes.
46698
31ea014d
UD
466992011-10-25 Ulrich Drepper <drepper@gmail.com>
46700
d7826aa1 46701 * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
ffb124cc 46702 useless if() expression.
d7826aa1
UD
46703 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
46704 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
46705 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
46706 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
46707 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
46708 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
46709 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
46710 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
46711 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
46712 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
46713 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
46714 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
46715 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
46716 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
46717 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
46718 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
46719 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
46720 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
46721 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
46722
31ea014d
UD
46723 * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
46724
16437fec
AS
467252011-10-25 Andreas Schwab <schwab@redhat.com>
46726
46727 * elf/dl-deps.c (_dl_map_object_deps): Remove always true
46728 condition.
46729 * elf/dl-fini.c (_dl_sort_fini): Likewise.
46730
31d3cc00
UD
467312011-10-25 Ulrich Drepper <drepper@gmail.com>
46732
46733 * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
46734 .text section. Avoid duplicate constants.
46735 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
46736 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
46737 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
46738 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
46739 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
46740 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
46741 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
46742 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
46743 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
46744 * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
46745 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
46746 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
46747 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
46748 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
46749 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
46750 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
46751 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
46752 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
46753 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
46754 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
46755 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
46756 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
46757 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
46758 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
46759 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
46760 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
46761 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
46762 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
46763 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
46764 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
46765 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
46766 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
46767 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
46768 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
46769 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
46770 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
46771 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
46772 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
46773 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
46774 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
46775 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
46776 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
46777 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
46778 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
46779 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
46780
58985aa9
UD
467812011-10-24 Ulrich Drepper <drepper@gmail.com>
46782
202c9deb
UD
46783 * sysdeps/x86_64/dla.h: Move to ...
46784 * sysdeps/x86_64/fpu/dla.h: ...here.
46785 (DLA_FMS): Some compilers fail to inline __builtin_fma in some
46786 situations. Use __builtin_fma only for gcc 4.6 and up.
a0cf1edd 46787
af968f62
UD
46788 * config.make.in: Add have-mfma4 entry.
46789 * configure.in: Substitute libc_cv_cc_fma4.
46790 * math/Makefile (dbl-only-routines): Add sincostab.
46791 * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
46792 Use __sincostab not sincos.
46793 * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
46794 name is a macro.
46795 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
46796 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
46797 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
46798 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise. Define singArctan2
46799 using __copysign.
46800 * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr. Don't define
46801 __cr and __cpymn. Define __cpy unless NO___CPY is defined. Define
46802 norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
46803 * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
46804 and __inv.
46805 * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
46806 * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
46807 __copysign.
46808 * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos. Don't
46809 define aliases when function name is a macro.
46810 * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
46811 sysdeps/ieee754/dbl-64/sincos.tbl.
46812 * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
46813 fma4-enabled routines.
46814 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
46815 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
46816 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
46817 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
46818 * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
46819 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
46820 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
46821 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
46822 * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
46823 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
46824 * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
46825 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
46826 * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
46827 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
46828 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
46829 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
46830 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
46831 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
46832 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
46833 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
46834 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
46835 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
46836 * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
46837 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
46838 * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
46839 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
46840 * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
46841 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
46842 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
46843 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
46844
58985aa9
UD
46845 * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
46846 rename.
46847 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
46848 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
46849 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
46850 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
46851 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
46852 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
46853 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
46854 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
46855
a201fbcf
AS
468562011-10-24 Andreas Schwab <schwab@redhat.com>
46857
46858 * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
46859
fc2ee42a
LD
468602011-10-23 Ulrich Drepper <drepper@gmail.com>
46861
bb3129bd
UD
46862 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
46863
0275fff8
UD
46864 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
46865 prediction.
46866 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
46867
2fa2ae85
UD
46868 * string/strnlen.c: Don't define STRNLEN, reverse logic.
46869 Remove unused variable magic_bits.
46870 * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
46871
fc2ee42a
LD
46872 * string/strnlen.c: Define and use STRNLEN macro.
46873 * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
46874 Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
46875 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
46876 * wcsmbs/wcslen.c: Define and use WCSLEN.
46877 * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
46878 * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
46879 * sysdeps/i386/i686/multiarch/strnlen.S: New file.
46880 * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
46881 * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
46882 * sysdeps/i386/i686/multiarch/wcslen.S: New file.
46883 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
46884
ce7dd29f
LD
468852011-10-20 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
46886
46887 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
46888 strnlen-sse2-no-bsf.
46889 Rename strlen-no-bsf to strlen-sse2-no-bsf.
46890 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
46891 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
46892 Add strnlen support.
46893 (USE_AS_STRNLEN): New macro.
46894 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
46895 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
46896 Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
46897 * sysdeps/x86_64/wcslen.S: New file.
46898
979c70a3
MZ
468992011-10-20 Michael Zolotukhin <michael.v.zolotukhin@gmail.com>
46900
46901 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
46902 XMM-moves are used for copying on small sizes.
46903
2d09f82f
LD
469042011-10-19 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
46905
46906 * wcsmbs/Makefile (strop-tests): Add wcschr.
46907 * wcsmbs/test-wcschr.c: New file.
46908 * string/test-strchr.c: Update.
46909 Add wcschr support.
46910 (WIDE): New macro.
46911
619fccca
LD
469122011-10-18 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
46913
2d09f82f 46914 * wcsmbs/Makefile (strop-tests): Add wcslen.
619fccca
LD
46915 * wcsmbs/test-wcslen.c: New file.
46916 * string/test-strlen.c: Update.
46917 Add wcslen support.
46918 (WIDE): New macro.
46919
09f699ea
UD
469202011-10-23 Ulrich Drepper <drepper@gmail.com>
46921
46922 * po/it.po: Update from translation team.
46923
95584d3b
LD
469242011-09-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
46925
46926 * sysdeps/x86_64/wcscmp.S: Update.
46927 Fix wrong comparison semantics.
46928 wcscmp shall use signed comparison not unsigned.
46929 Don't use substraction to avoid overflow bug.
46930 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
46931 * wcsmbc/wcscmp.c: Likewise.
46932 * string/test-strcmp.c: Likewise.
46933 Add new tests to check cases with negative values.
46934
c8b3296b
UD
469352011-10-23 Ulrich Drepper <drepper@gmail.com>
46936
46937 * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
46938 * sysdeps/x86_64/dla.h: ...here. New file.
46939 * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
46940 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
46941 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
46942 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
46943 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
46944 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
46945 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
46946 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
46947 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
46948
246ad57a
AS
469492011-10-23 Andreas Schwab <schwab@linux-m68k.org>
46950
46951 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
46952 __ynl_finite aliases.
46953
a1a87169
UD
469542011-10-22 Ulrich Drepper <drepper@gmail.com>
46955
0d355eb7
UD
46956 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
46957
a1a87169
UD
46958 * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
46959 define DLA_FMA.
46960 [DLA_FMA] (EMULV): Use DLA_FMA.
46961 [DLA_FMA] (MUL12): Use EMULV.
46962 * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
46963 that are not needed.
46964 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
46965 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
46966 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
46967 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
46968 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
46969 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
46970 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
46971
ee2aafe0
AS
469722011-10-22 Andreas Schwab <schwab@linux-m68k.org>
46973
46974 * math/s_nan.c: Undef __nan.
46975 * math/s_nanf.c: Undef __nanf.
46976 * math/s_nanl.c: Undef __nanl.
46977 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
46978 "math_private.h".
46979
bc62c2fb
UD
469802011-10-22 Ulrich Drepper <drepper@gmail.com>
46981
77425c63
UD
46982 * math/s_catan.c: Add branch predictions.
46983 * math/s_catanf.c: Likewise.
46984 * math/s_catanh.c: Likewise.
46985 * math/s_catanhf.c: Likewise.
46986 * math/s_catanhl.c: Likewise.
46987 * math/s_catanl.c: Likewise.
46988 * math/s_cexp.c: Likewise.
46989 * math/s_cexpf.c: Likewise.
46990 * math/s_cexpl.c: Likewise.
46991 * math/s_clog.c: Likewise.
46992 * math/s_clog10.c: Likewise.
46993 * math/s_clog10f.c: Likewise.
46994 * math/s_clog10l.c: Likewise.
46995 * math/s_clogf.c: Likewise.
46996 * math/s_clogl.c: Likewise.
46997 * math/s_csqrt.c: Likewise.
46998 * math/s_csqrtf.c: Likewise.
46999 * math/s_csqrtl.c: Likewise.
47000 * math/s_ctanf.c: Likewise.
47001 * math/s_ctanh.c: Likewise.
47002 * math/s_ctanhf.c: Likewise.
47003 * math/s_ctanhl.c: Likewise.
47004 * math/s_ctanl.c: Likewise.
47005
bc62c2fb
UD
47006 * math/math_private.h: Define __nan, __nanf, __nanl.
47007 * math/s_cacosh.c: Include <math_private.h>.
47008 * math/s_cacoshl.c: Likewise.
47009 * math/s_casinh.c: Likewise.
47010 * math/s_casinhf.c: Likewise.
47011 * math/s_casinhl.c: Likewise.
47012 * math/s_ccos.c: Rely entire on ccosh.
47013 * math/s_ccosf.c: Rely entire on ccoshf.
47014 * math/s_ccosl.c: Rely entirely on ccoshl.
47015 * math/s_ccosh.c: Add branch predicion helpers. Add branch prediction.
47016 Remove tests for FE_INVALID.
47017 * math/s_ccoshf.c: Likewise.
47018 * math/s_ccoshl.c: Likewise.
47019 * math/s_csin.c: Likewise.
47020 * math/s_csinf.c: Likewise.
47021 * math/s_csinh.c Likewise.
47022 * math/s_csinhf.c: Likewise.
47023 * math/s_csinhl.c: Likewise.
47024 * math/s_csinl.c: Likewise.
47025 * math/s_ctan.c: Likewise.
47026 * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
47027 * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
47028 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
47029
8ec250a4
UD
470302011-10-21 Ulrich Drepper <drepper@gmail.com>
47031
c196fed8
UD
47032 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
47033 compilation problems.
47034
8ec250a4
UD
47035 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
47036 __builtin_expect.
47037
8d4f46c6
UD
470382011-10-20 Ulrich Drepper <drepper@gmail.com>
47039
ed72b654
UD
47040 * sysdeps/i386/configure.in: Test for -mfma4 option.
47041 * config.h.in: Add HAVE_FMA4_SUPPORT entry.
47042 * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
47043 COMMON_CPUID_INDEX_80000001.
47044 * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
47045 * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
47046 use it if FMA3 is not supported.
47047 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
47048
8d4f46c6
UD
47049 * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
47050 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
47051
d45c60c2
AS
470522011-10-20 Andreas Schwab <schwab@redhat.com>
47053
47054 [BZ #12892]
47055 * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
47056 it would create a cycle with a link time dependency.
47057
d9a4d2ab
UD
470582011-10-19 Ulrich Drepper <drepper@gmail.com>
47059
855d1560
UD
47060 * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
47061 instruction.
47062 * string/Makefile (strop-tests): Add rawmemchr.
47063 * string/test-rawmemchr.c: New file.
47064
d9a4d2ab
UD
47065 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
47066 * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file. Split out from...
47067 * sysdeps/x86_64/multiarch/strcmp.S: ...here. Include strcmp-sse42.S
47068 when compiling str{,n}casecmp and when AVX is available. Hook up
47069 new optimized code in initializers.
47070
8f3b1ffe
AS
470712011-10-19 Andreas Schwab <schwab@redhat.com>
47072
47073 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
47074 __feraiseexcept instead of feraiseexcept.
47075
d38f1dba
UD
470762011-10-18 Ulrich Drepper <drepper@gmail.com>
47077
d9a8d0ab
UD
47078 * math/math_private.h: Define defaults for libc_fetestexcept and
47079 libc_feupdateenv.
47080 * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
47081 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
47082 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
47083 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
47084 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
47085 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
47086 libc_fetestexcept and libc_feupdateenv.
47087
4855e3dd
UD
47088 * math/math_private.h: Define defaults for libc_feholdexcept_setround,
47089 libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
47090 * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
47091 * sysdeps/x86_64/fpu/math_private.h: Define special version of
47092 libc_feholdexcept_setround.
47093
581d30e3
UD
47094 * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
47095 Add s_nearbyint-c and s_nearbyintf-c.
47096 * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
47097 nearbyintf inlines.
47098 * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
47099 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
47100 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
47101 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
47102
d38f1dba
UD
47103 * math/math_private.h: Define defaults for libc_fegetround,
47104 libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
47105 libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
47106 libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
47107 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
47108 libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
47109 standard functions.
47110 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
47111 Remove comments and hacks for old compiler versions.
47112 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
47113 libc_fegetround, libc_fesetround, libc_feholdexcept, and
47114 libc_feholdexceptl.
47115
caa6c9d8
AS
471162011-10-18 Andreas Schwab <schwab@redhat.com>
47117
47118 * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
83c7615c
AS
47119 (__feraiseexcept_renamed): Add __NTH.
47120 (feraiseexcept): Add __NTH. Rename local variables to fix
caa6c9d8
AS
47121 namespace violations.
47122
97c066e6
UD
471232011-10-17 Ulrich Drepper <drepper@gmail.com>
47124
99ce7b04
UD
47125 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
47126
1004d182
UD
47127 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
47128
228a984d
UD
47129 * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
47130 recently added interfaces.
47131 * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
47132
c8553a6a
UD
47133 * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
47134 about macro parameter expansion.
47135
ed22dcf6
UD
47136 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
47137 __NO_MATH_INLINES is defined. Cleanups.
47138
47139 * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
47140 and __floorf is target has SSE4.1.
47141 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
47142 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
47143 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
47144 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
47145
b171c137
UD
47146 * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
47147 name.
47148 (floorf): Likewise.
47149
97c066e6
UD
47150 * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
47151
629f62ef
AS
471522011-10-17 Andreas Schwab <schwab@redhat.com>
47153
49a43d80
AS
47154 * misc/sys/cdefs.h: Fix last change.
47155
629f62ef
AS
47156 * grp/initgroups.c (internal_getgrouplist): Fix initgroups
47157 database lookup.
47158
e453f6cd
UD
471592011-10-16 Ulrich Drepper <drepper@gmail.com>
47160
aa78043a
UD
47161 * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
47162
ad0f5cad
UD
47163 * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
47164 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
47165 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
47166 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
47167 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
47168 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
47169 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
47170 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
47171 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
47172 * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
47173 * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
47174 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
47175 * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
47176 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
47177 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
47178 * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
47179 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
47180 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
47181 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
47182 * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
47183 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
47184 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
47185
47186 * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
47187 ceil, ceilf, floor, floorf.
47188
47189 * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
47190 Perform IRELATIVE relocations last.
47191
e453f6cd
UD
47192 * elf/do-rel.h: Add another parameter nrelative, replacing the
47193 local variable with the same name. Change name of the function
47194 to end in Rel or Rela (uppercase).
47195 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
47196 nrelative to ranges. Only nonzero for DT_REL/DT_RELA. Pass to the
47197 elf_dynamic_do_##reloc function.
47198
fd5bdc09
UD
471992011-10-15 Ulrich Drepper <drepper@gmail.com>
47200
79b195b5
UD
47201 * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
47202 is sufficient, at least on modern CPUs.
47203
d4a28569
UD
47204 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
47205
b61099b5
UD
47206 * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
47207 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
47208
bcf01e6d
UD
47209 * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
47210 __expl_finite.
47211 * math/bits/math-finite.h: Add entries for exp.
47212 * math/e_expl.c: Add __*_finite alias.
47213 * sysdeps/i386/fpu/e_exp.S: Likewise.
47214 * sysdeps/i386/fpu/e_expf.S: Likewise.
47215 * sysdeps/i386/fpu/e_expl.c: Likewise.
47216 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
47217 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
47218 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
47219 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
47220 * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
47221 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
47222 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
47223
ba1a0d59
UD
47224 * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
47225 is sufficient, at least on modern CPUs.
47226
fd5bdc09
UD
47227 * ctype/ctype-info.c (__ctype_init): Define.
47228 * include/ctype.h (__ctype_init): Declare.
47229 (__ctype_b_loc): The variable is always initialized.
47230 (__ctype_toupper_loc): Likewise.
47231 (__ctype_tolower_loc): Likewise.
47232 * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
47233 * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
47234
7872cfb0
AS
472352011-10-15 Andreas Schwab <schwab@linux-m68k.org>
47236
b468825a
AS
47237 * wcsmbs/wmemcmp.c (WMEMCMP): Define.
47238
7872cfb0
AS
47239 * configure.in: Also look in $cxxmachine/include for C++ system
47240 headers.
47241
be13f7bf
LD
472422011-09-27 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
47243
47244 * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
47245 memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
47246 * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
47247 * sysdeps/x86_64/multiarch/memcmp.S: Update. Add __memcmp_ssse3.
47248 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
47249 (USE_AS_WMEMCMP): New macro.
47250 Fixing indents.
47251 * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
47252 * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
47253 * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
47254 * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
47255 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
47256 wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
47257 * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
47258 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
47259 * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
47260 * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
47261 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
47262 (USE_AS_WMEMCMP): New macro.
47263 * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
47264 * sysdeps/string/test-memcmp.c: Update.
47265 Fix simple_wmemcmp.
47266 Add new tests.
47267 * wcsmbs/wmemcmp.c: Update.
47268 (WMEMCMP): New macro.
47269 Fix overflow bug.
47270
556a2007
AJ
472712011-10-12 Andreas Jaeger <aj@suse.de>
47272
47273 [BZ #13268]
47274 * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
47275
538faaa7
UD
472762011-10-15 Ulrich Drepper <drepper@gmail.com>
47277
ab6737ff
UD
47278 * libio/iofwide.c (do_length): Avoid warning.
47279
538faaa7
UD
47280 * ctype/ctype.h (__isctype_f): Add missing __THROW.
47281
396a21b1
UD
472822011-10-14 Ulrich Drepper <drepper@gmail.com>
47283
cdf2901f
UD
47284 * elf/pldd-xx.c (find_maps): Remove leftover debug message.
47285
38ad40ce
UD
47286 * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
47287 * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
47288 * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
47289 * sysdeps/i386/i686/fpu/e_log.S: New file.
47290 * sysdeps/i386/i686/fpu/e_logf.S: New file.
47291 * sysdeps/i386/i686/fpu/e_logl.S: New file.
47292
396a21b1
UD
47293 * ctype/ctype.h: Add support for inlined isXXX functions when
47294 compiling C++ code.
47295
6b1f68c9
AS
472962011-10-14 Andreas Schwab <schwab@redhat.com>
47297
349290c0
AS
47298 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
47299
6b1f68c9
AS
47300 * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
47301
f2282d42
RM
473022011-10-13 Roland McGrath <roland@hack.frob.com>
47303
47304 [BZ #13291]
47305 * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
47306
5298ffa8
AS
473072011-10-13 Andreas Schwab <schwab@redhat.com>
47308
714fad23
AS
47309 * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
47310 * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
47311 feraiseexcept.
47312
81dcc7fb
AS
47313 * sysdeps/x86_64/memrchr.S: Check for zero size.
47314
5298ffa8
AS
47315 * string/stratcliff.c: Add memrchr tests.
47316
951fbcec
LD
473172011-10-12 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
47318
47319 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
47320 memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
47321 rawmemchr-sse2 rawmemchr-sse2-bsf.
47322 * sysdeps/i386/i686/multiarch/memchr.S: New file.
47323 * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
47324 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
47325 * sysdeps/i386/i686/multiarch/memrchr.S: New file.
47326 * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
47327 * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
47328 * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
47329 * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
47330 * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
47331 * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
47332 * string/memrchr.c (MEMRCHR): New macro.
47333
0ac5ae23
UD
473342011-10-12 Ulrich Drepper <drepper@gmail.com>
47335
47336 Add integration with gcc's -ffinite-math-only and optimize wrapper
47337 functions in libm.
47338 * Versions.def: Define GLIBC_2.15 version for libm.
47339 * math/Makefile (headers): Add bits/math-finite.h.
47340 * math/bits/math-finite.h: New file.
47341 * sysdeps/ia64/fpu/bits/math-finite.h: New file.
47342 * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
47343 * math/e_acoshl.c: Add __*_finite alias.
47344 * math/e_acosl.c: Likewise.
47345 * math/e_asinl.c: Likewise.
47346 * math/e_atan2l.c: Likewise.
47347 * math/e_atanhl.c: Likewise.
47348 * math/e_coshl.c: Likewise.
47349 * math/e_exp10.c: Likewise.
47350 * math/e_exp10f.c: Likewise.
47351 * math/e_exp10l.c: Likewise.
47352 * math/e_exp2l.c: Likewise.
47353 * math/e_fmodl.c: Likewise.
47354 * math/e_gammal_r.c: Likewise.
47355 * math/e_hypotl.c: Likewise.
47356 * math/e_j0l.c: Likewise.
47357 * math/e_j1l.c: Likewise.
47358 * math/e_jnl.c: Likewise.
47359 * math/e_lgammal_r.c: Likewise.
47360 * math/e_log10l.c: Likewise.
47361 * math/e_log2l.c: Likewise.
47362 * math/e_logl.c: Likewise.
47363 * math/e_powl.c: Likewise.
47364 * math/e_sinhl.c: Likewise.
47365 * math/e_sqrtl.c: Likewise.
47366 * math/e_scalb.c: Completely rewritten and optimized.
47367 * math/e_scalbf.c: Likewise.
47368 * math/e_scalbl.c: Likewise.
47369 * math/w_acos.c: Likewise.
47370 * math/w_acosf.c: Likewise.
47371 * math/w_acosl.c: Likewise.
47372 * math/w_acosh.c: Likewise.
47373 * math/w_acoshf.c: Likewise.
47374 * math/w_acoshl.c: Likewise.
47375 * math/w_asin.c: Likewise.
47376 * math/w_asinf.c: Likewise.
47377 * math/w_asinl.c: Likewise.
47378 * math/w_atan2.c: Likewise.
47379 * math/w_atan2f.c: Likewise.
47380 * math/w_atan2l.c: Likewise.
47381 * math/w_atanh.c: Likewise.
47382 * math/w_atanhf.c: Likewise.
47383 * math/w_atanhl.c: Likewise.
47384 * math/w_exp10.c: Likewise.
47385 * math/w_exp10f.c: Likewise.
47386 * math/w_exp10l.c: Likewise.
47387 * math/w_fmod.c: Likewise.
47388 * math/w_fmodf.c: Likewise.
47389 * math/w_fmodl.c: Likewise.
47390 * math/w_j0.c: Likewise.
47391 * math/w_j0f.c: Likewise.
47392 * math/w_j0l.c: Likewise.
47393 * math/w_j1.c: Likewise.
47394 * math/w_j1f.c: Likewise.
47395 * math/w_j1l.c: Likewise.
47396 * math/w_jn.c: Likewise.
47397 * math/w_jnf.c: Likewise.
47398 * math/w_log.c: Likewise.
47399 * math/w_logf.c: Likewise.
47400 * math/w_logl.c: Likewise.
47401 * math/w_log10.c: Likewise.
47402 * math/w_log10f.c: Likewise.
47403 * math/w_log10l.c: Likewise.
47404 * math/w_log2.c: Likewise.
47405 * math/w_log2f.c: Likewise.
47406 * math/w_log2l.c: Likewise.
47407 * math/w_pow.c: Likewise.
47408 * math/w_powf.c: Likewise.
47409 * math/w_powl.c: Likewise.
47410 * math/w_remainder.c: Likewise.
47411 * math/w_remainderf.c: Likewise.
47412 * math/w_remainderl.c: Likewise.
47413 * math/w_scalb.c: Likewise.
47414 * math/w_scalbf.c: Likewise.
47415 * math/w_scalbl.c: Likewise.
47416 * math/w_sqrt.c: Likewise.
47417 * math/w_sqrtf.c: Likewise.
47418 * math/w_sqrtl.c: Likewise.
47419 * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
47420 are declared. Include <bits/math-finite.h> if -ffinite-math-only is
47421 used.
47422 * math/math_private.h: Declare __kernel_standard_f.
47423 * math/w_cosh.c: Remove cruft and optimize a bit.
47424 * math/w_coshf.c: Likewise.
47425 * math/w_coshl.c: Likewise.
47426 * math/w_exp2.c: Likewise.
47427 * math/w_exp2f.c: Likewise.
47428 * math/w_exp2l.c: Likewise.
47429 * math/w_hypot.c: Likewise.
47430 * math/w_hypotf.c: Likewise.
47431 * math/w_hypotl.c: Likewise.
47432 * math/w_lgamma.c: Likewise.
47433 * math/w_lgamma_r.c: Likewise.
47434 * math/w_lgammaf.c: Likewise.
47435 * math/w_lgammaf_r.c: Likewise.
47436 * math/w_lgammal.c: Likewise.
47437 * math/w_lgammal_r.c: Likewise.
47438 * math/w_sinh.c: Likewise.
47439 * math/w_sinhf.c: Likewise.
47440 * math/w_sinhl.c: Likewise.
47441 * math/w_tgamma.c: Likewise.
47442 * math/w_tgammaf.c: Likewise.
47443 * math/w_tgammal.c: Likewise.
47444 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
47445 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
47446 * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
47447 Minor optimizations. Pretty printing. Remove cruft.
47448 * sysdeps/i386/fpu/e_acosf.S: Likewise.
47449 * sysdeps/i386/fpu/e_acosh.S: Likewise.
47450 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
47451 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
47452 * sysdeps/i386/fpu/e_acosl.c: Likewise.
47453 * sysdeps/i386/fpu/e_asin.S: Likewise.
47454 * sysdeps/i386/fpu/e_asinf.S: Likewise.
47455 * sysdeps/i386/fpu/e_atan2.S: Likewise.
47456 * sysdeps/i386/fpu/e_atan2f.S: Likewise.
47457 * sysdeps/i386/fpu/e_atan2l.c: Likewise.
47458 * sysdeps/i386/fpu/e_atanh.S: Likewise.
47459 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
47460 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
47461 * sysdeps/i386/fpu/e_exp10.S: Likewise.
47462 * sysdeps/i386/fpu/e_exp10f.S: Likewise.
47463 * sysdeps/i386/fpu/e_exp10l.S: Likewise.
47464 * sysdeps/i386/fpu/e_exp2.S: Likewise.
47465 * sysdeps/i386/fpu/e_exp2f.S: Likewise.
47466 * sysdeps/i386/fpu/e_exp2l.S: Likewise.
47467 * sysdeps/i386/fpu/e_fmod.S: Likewise.
47468 * sysdeps/i386/fpu/e_fmodf.S: Likewise.
47469 * sysdeps/i386/fpu/e_fmodl.c: Likewise.
47470 * sysdeps/i386/fpu/e_hypot.S: Likewise.
47471 * sysdeps/i386/fpu/e_hypotf.S: Likewise.
47472 * sysdeps/i386/fpu/e_log.S: Likewise.
47473 * sysdeps/i386/fpu/e_log10.S: Likewise.
47474 * sysdeps/i386/fpu/e_log10f.S: Likewise.
47475 * sysdeps/i386/fpu/e_log10l.S: Likewise.
47476 * sysdeps/i386/fpu/e_log2.S: Likewise.
47477 * sysdeps/i386/fpu/e_log2f.S: Likewise.
47478 * sysdeps/i386/fpu/e_log2l.S: Likewise.
47479 * sysdeps/i386/fpu/e_logf.S: Likewise.
47480 * sysdeps/i386/fpu/e_logl.S: Likewise.
47481 * sysdeps/i386/fpu/e_pow.S: Likewise.
47482 * sysdeps/i386/fpu/e_powf.S: Likewise.
47483 * sysdeps/i386/fpu/e_powl.S: Likewise.
47484 * sysdeps/i386/fpu/e_remainder.S: Likewise.
47485 * sysdeps/i386/fpu/e_remainderf.S: Likewise.
47486 * sysdeps/i386/fpu/e_remainderl.S: Likewise.
47487 * sysdeps/i386/fpu/e_scalb.S: Likewise.
47488 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
47489 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
47490 * sysdeps/i386/fpu/e_sqrt.S: Likewise.
47491 * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
47492 * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
47493 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
47494 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
47495 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
47496 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
47497 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
47498 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
47499 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
47500 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
47501 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
47502 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
47503 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
47504 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
47505 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
47506 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
47507 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
47508 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
47509 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
47510 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
47511 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
47512 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
47513 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
47514 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
47515 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
47516 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
47517 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
47518 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
47519 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
47520 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
47521 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
47522 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
47523 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
47524 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
47525 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
47526 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
47527 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
47528 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
47529 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
47530 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
47531 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
47532 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
47533 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
47534 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
47535 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
47536 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
47537 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
47538 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
47539 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
47540 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
47541 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
47542 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
47543 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
47544 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
47545 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
47546 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
47547 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
47548 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
47549 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
47550 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
47551 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
47552 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
47553 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
47554 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
47555 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
47556 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
47557 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
47558 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
47559 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
47560 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
47561 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
47562 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
47563 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
47564 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
47565 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
47566 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
47567 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
47568 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
47569 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
47570 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
47571 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
47572 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
47573 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
47574 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
47575 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
47576 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
47577 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
47578 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
47579 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
47580 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
47581 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
47582 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
47583 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
47584 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
47585 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
47586 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
47587 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
47588 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
47589 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
47590 * sysdeps/s390/fpu/e_sqrt.c: Likewise.
47591 * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
47592 * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
47593 * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
47594 * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
47595 * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
47596 * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
47597 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
47598 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
47599 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
47600 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
47601 * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
47602 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
47603 * sysdeps/x86_64/fpu/e_sqrt.c: Likewise. Fix parameter order
47604 * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
47605 * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
47606 (__isnanf): Likewise.
47607 (__isinf_ns): Likewise.
47608 (__isinf_nsf): Likewise.
47609 (__finite): Likewise.
47610 (__finitef): Likewise.
47611 (__ieee754_sqrt): Define as macro.
47612 (__ieee754_sqrtf): Define as macro.
47613 (__ieee754_sqrtl): Define as macro.
47614 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
47615 inlined copy.
47616 * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
47617 __FINITE_MATH_ONLY__ consistent.
47618 * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
47619
12cc2fcd
AS
476202011-10-10 Andreas Schwab <schwab@linux-m68k.org>
47621
a843a204
AS
47622 * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
47623 of rawmemchr.
47624
12cc2fcd
AS
47625 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
47626
c853acd5
UD
476272011-10-09 Ulrich Drepper <drepper@gmail.com>
47628
47629 * po/ja.po: Update from translation team.
47630
c658d255
RM
476312011-10-08 Roland McGrath <roland@hack.frob.com>
47632
110946e4
RM
47633 * locale/programs/locarchive.c (prepare_address_space): New function.
47634 (create_archive, enlarge_archive, open_archive): Use it.
47635
50604220
RM
47636 * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
47637 inside [SHARED], where it is used.
47638
c658d255
RM
47639 * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
47640
47641 * nss/getent.c (netgroup_keys): Remove unused variable.
47642 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
47643
6a621eb7
UD
476442011-10-08 Ulrich Drepper <drepper@gmail.com>
47645
7edb55ce
UD
47646 * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
47647 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
47648 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
47649 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
47650 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
47651 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
47652 * math/Makefile (libm-calls): Add s_isinf_ns.
47653 * math/divtc3.c: Use __isinf_nsl instead of isinf.
47654 * math/multc3.c: Likewise.
47655 * math/s_casin.c: Likewise.
47656 * math/s_casinf.c: Likewise.
47657 * math/s_casinl.c: Likewise.
47658 * math/s_ccos.c: Likewise.
47659 * math/s_ccosf.c: Likewise.
47660 * math/s_ccosl.c: Likewise.
47661 * math/s_ctan.c: Likewise.
47662 * math/s_ctanf.c: Likewise.
47663 * math/s_ctanh.c: Likewise.
47664 * math/s_ctanhf.c: Likewise.
47665 * math/s_ctanhl.c: Likewise.
47666 * math/s_ctanl.c: Likewise.
47667 * math/w_fmod.c: Likewise.
47668 * math/w_fmodf.c: Likewise.
47669 * math/w_fmodl.c: Likewise.
47670 * math/w_remainder.c: Likewise.
47671 * math/w_remainderf.c: Likewise.
47672 * math/w_remainderl.c: Likewise.
47673 * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
47674 * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
47675 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
47676 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
47677 * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
47678 * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
47679 * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
47680 __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
47681
187da0ae
UD
47682 * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
47683 of the number.
47684 * stdio-common/printf_fphex.c: Likewise.
47685 * stdio-common/printf_size.c: Likewise.
47686
9277c064
UD
47687 * math/e_exp10.c: Include math_private.h using <...> not "...".
47688 * math/e_exp10f.c: Likewise.
47689 * math/e_exp10l.c: Likewise.
47690 * math/e_exp2l.c: Likewise.
47691 * math/e_j0l.c: Likewise.
47692 * math/e_j1l.c: Likewise.
47693 * math/e_jnl.c: Likewise.
47694 * math/e_lgammal_r.c: Likewise.
47695 * math/e_rem_pio2l.c: Likewise.
47696 * math/e_scalb.c: Likewise.
47697 * math/e_scalbf.c: Likewise.
47698 * math/e_scalbl.c: Likewise.
47699 * math/k_cosl.c: Likewise.
47700 * math/k_sinl.c: Likewise.
47701 * math/k_tanl.c: Likewise.
47702 * math/s_cacoshf.c: Likewise.
47703 * math/s_catan.c: Likewise.
47704 * math/s_catanf.c: Likewise.
47705 * math/s_catanh.c: Likewise.
47706 * math/s_catanhf.c: Likewise.
47707 * math/s_catanhl.c: Likewise.
47708 * math/s_catanl.c: Likewise.
47709 * math/s_ccosh.c: Likewise.
47710 * math/s_ccoshf.c: Likewise.
47711 * math/s_ccoshl.c: Likewise.
47712 * math/s_cexp.c: Likewise.
47713 * math/s_cexpf.c: Likewise.
47714 * math/s_cexpl.c: Likewise.
47715 * math/s_clog.c: Likewise.
47716 * math/s_clog10.c: Likewise.
47717 * math/s_clog10f.c: Likewise.
47718 * math/s_clog10l.c: Likewise.
47719 * math/s_clogf.c: Likewise.
47720 * math/s_clogl.c: Likewise.
47721 * math/s_csin.c: Likewise.
47722 * math/s_csinf.c: Likewise.
47723 * math/s_csinh.c: Likewise.
47724 * math/s_csinhf.c: Likewise.
47725 * math/s_csinhl.c: Likewise.
47726 * math/s_csinl.c: Likewise.
47727 * math/s_csqrt.c: Likewise.
47728 * math/s_csqrtf.c: Likewise.
47729 * math/s_csqrtl.c: Likewise.
47730 * math/s_ctan.c: Likewise.
47731 * math/s_ctanf.c: Likewise.
47732 * math/s_ctanh.c: Likewise.
47733 * math/s_ctanhf.c: Likewise.
47734 * math/s_ctanhl.c: Likewise.
47735 * math/s_ctanl.c: Likewise.
47736 * math/s_ldexp.c: Likewise.
47737 * math/s_ldexpf.c: Likewise.
47738 * math/s_ldexpl.c: Likewise.
47739 * math/s_significand.c: Likewise.
47740 * math/s_significandf.c: Likewise.
47741 * math/s_significandl.c: Likewise.
47742 * math/w_acos.c: Likewise.
47743 * math/w_acosf.c: Likewise.
47744 * math/w_acosh.c: Likewise.
47745 * math/w_acoshf.c: Likewise.
47746 * math/w_acoshl.c: Likewise.
47747 * math/w_acosl.c: Likewise.
47748 * math/w_asin.c: Likewise.
47749 * math/w_asinf.c: Likewise.
47750 * math/w_asinl.c: Likewise.
47751 * math/w_atan2.c: Likewise.
47752 * math/w_atan2f.c: Likewise.
47753 * math/w_atan2l.c: Likewise.
47754 * math/w_atanh.c: Likewise.
47755 * math/w_atanhf.c: Likewise.
47756 * math/w_atanhl.c: Likewise.
47757 * math/w_cosh.c: Likewise.
47758 * math/w_coshf.c: Likewise.
47759 * math/w_coshl.c: Likewise.
47760 * math/w_dremf.c: Likewise.
47761 * math/w_exp10.c: Likewise.
47762 * math/w_exp10f.c: Likewise.
47763 * math/w_exp10l.c: Likewise.
47764 * math/w_exp2.c: Likewise.
47765 * math/w_exp2f.c: Likewise.
47766 * math/w_fmod.c: Likewise.
47767 * math/w_fmodf.c: Likewise.
47768 * math/w_fmodl.c: Likewise.
47769 * math/w_hypot.c: Likewise.
47770 * math/w_hypotf.c: Likewise.
47771 * math/w_hypotl.c: Likewise.
47772 * math/w_j0.c: Likewise.
47773 * math/w_j0f.c: Likewise.
47774 * math/w_j0l.c: Likewise.
47775 * math/w_j1.c: Likewise.
47776 * math/w_j1f.c: Likewise.
47777 * math/w_j1l.c: Likewise.
47778 * math/w_jn.c: Likewise.
47779 * math/w_jnf.c: Likewise.
47780 * math/w_jnl.c: Likewise.
47781 * math/w_lgamma.c: Likewise.
47782 * math/w_lgamma_r.c: Likewise.
47783 * math/w_lgammaf.c: Likewise.
47784 * math/w_lgammaf_r.c: Likewise.
47785 * math/w_lgammal.c: Likewise.
47786 * math/w_lgammal_r.c: Likewise.
47787 * math/w_log.c: Likewise.
47788 * math/w_log10.c: Likewise.
47789 * math/w_log10f.c: Likewise.
47790 * math/w_log10l.c: Likewise.
47791 * math/w_log2.c: Likewise.
47792 * math/w_log2f.c: Likewise.
47793 * math/w_log2l.c: Likewise.
47794 * math/w_logf.c: Likewise.
47795 * math/w_logl.c: Likewise.
47796 * math/w_pow.c: Likewise.
47797 * math/w_powf.c: Likewise.
47798 * math/w_powl.c: Likewise.
47799 * math/w_remainder.c: Likewise.
47800 * math/w_remainderf.c: Likewise.
47801 * math/w_remainderl.c: Likewise.
47802 * math/w_scalb.c: Likewise.
47803 * math/w_scalbf.c: Likewise.
47804 * math/w_scalbl.c: Likewise.
47805 * math/w_sinh.c: Likewise.
47806 * math/w_sinhf.c: Likewise.
47807 * math/w_sinhl.c: Likewise.
47808 * math/w_sqrt.c: Likewise.
47809 * math/w_sqrtf.c: Likewise.
47810 * math/w_sqrtl.c: Likewise.
47811 * math/w_tgamma.c: Likewise.
47812 * math/w_tgammaf.c: Likewise.
47813 * math/w_tgammal.c: Likewise.
47814
6a621eb7
UD
47815 * po/ja.po: Update from translation team.
47816
bf582445
AJ
478172011-09-29 Andreas Jaeger <aj@suse.de>
47818
f9efbf3a
AJ
47819 [BZ #13179]
47820 * sunrpc/netname.c (netname2host): Fix logic.
47821
bf582445
AJ
47822 [BZ #6779]
47823 [BZ #6783]
47824 * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
47825 correctly.
47826 * math/w_remainder.c (__remainder): Likewise.
47827 * math/w_remainderf.c (__remainderf): Likewise.
47828 * math/libm-test.inc (remainder_test): Add test cases.
47829
48693bea
AK
478302011-10-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
47831
47832 * stdlib/longlong.h: Update from GCC. Fix zarch smul_ppmm and
47833 sdiv_qrnnd.
47834
42622229
LD
478352011-10-07 Ulrich Drepper <drepper@gmail.com>
47836
47837 * string/test-memcmp.c: Avoid unncessary #defines.
47838 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
47839
093ecf92
LD
478402011-08-31 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
47841
47842 * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
47843 Use new sse2 version for core i3 - i7 as it's faster
47844 than sse42 version.
47845 (bit_Prefer_PMINUB_for_stringop): New.
47846 * sysdeps/x86_64/rawmemchr.S: Update.
47847 Replace with faster SSE2 version.
47848 * sysdeps/x86_64/memrchr.S: New file.
47849 * sysdeps/x86_64/memchr.S: Update.
47850 Replace with faster SSE2 version.
47851
fde56e5c
MP
478522011-09-12 Marek Polacek <mpolacek@redhat.com>
47853
47854 * elf/dl-load.c (lose): Add cast to avoid warning.
47855
21fd49a9
UD
478562011-10-07 Ulrich Drepper <drepper@gmail.com>
47857
5a06e643
UD
47858 * po/ca.po: Update from translation team.
47859
684ae515
UD
47860 * inet/getnetgrent_r.c: Hook up nscd.
47861 * nscd/Makefile (routines): Add nscd_netgroup.
47862 (nscd-modules): Add netgroupcache.
47863 (CFLAGS-netgroupcache.c): Define.
47864 * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
47865 (cache_search): Add const to second parameter.
47866 * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
47867 INNETGR.
47868 (dbs): Add netgrdb entry.
47869 (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
47870 (verify_persistent_db): Handle netgrdb.
47871 (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
47872 * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
47873 GETFDNETGR.
47874 (netgroup_response_header): Define.
47875 (innetgroup_response_header): Define.
47876 (datahead): Add netgroup_response_header and innetgroup_response_header
47877 elements.
47878 * nscd/nscd.conf: Add entries for netgroup cache.
47879 * nscd/nscd.h (dbtype): Add netgrdb.
47880 (_PATH_NSCD_NETGROUP_DB): Define.
47881 (netgroup_iov_disabled): Declare.
47882 (xmalloc, xcalloc, xrealloc): Move declarations here.
47883 (cache_search): Adjust prototype.
47884 Add netgroup-related prototypes.
47885 * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
47886 * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
47887 (__nscd_innetgr): Declare.
47888 * nscd/selinux.c (perms): Use access_vector_t as element type and
47889 add netgroup-related initializers.
47890 * nscd/netgroupcache.c: New file.
47891 * nscd/nscd_netgroup.c: New file.
47892 * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
47893 * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
47894 For four parameters use innetgr.
47895 * nss/nss_files/files-init.c: Add definition and callback for netgr.
47896 * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
47897 (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
47898 * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
47899
21fd49a9
UD
47900 * nscd/connections.c (register_traced_file): Don't register file
47901 for disabled databases.
47902
054c0457
UD
479032011-10-06 Ulrich Drepper <drepper@gmail.com>
47904
32b63198
UD
47905 * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
47906
054c0457
UD
47907 * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
47908 from tree and freeing node.
47909
64031225
JO
479102011-09-25 Jiri Olsa <jolsa@redhat.com>
47911
47912 * nss/nsswitch.c (__nss_database_lookup): Handle
47913 nss_parse_service_list out of memory case.
47914
0490345c
JO
479152011-09-15 Jiri Olsa <jolsa@redhat.com>
47916
47917 * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
47918 out of memory case.
47919
3a62d00d
AS
479202011-10-04 Andreas Schwab <schwab@redhat.com>
47921
47922 * include/dlfcn.h (__RTLD_NOIFUNC): Define.
47923 * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
47924 pass it down.
47925 * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
47926 elf_machine_rela, elf_machine_lazy_rel.
47927 (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
47928 (ELF_DYNAMIC_DO_REL): Likewise.
47929 (ELF_DYNAMIC_DO_RELA): Likewise.
47930 (ELF_DYNAMIC_RELOCATE): Likewise.
47931 * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
47932 to ELF_DYNAMIC_DO_REL.
47933 * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
47934 (dl_main): In trace mode always set __RTLD_NOIFUNC.
47935 * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
47936 elf_machine_rela.
47937 * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
47938 skip_ifunc, don't call ifunc function if non-zero.
47939 (elf_machine_rela): Likewise.
47940 (elf_machine_lazy_rel): Likewise.
47941 (elf_machine_lazy_rela): Likewise.
47942 * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
47943 (elf_machine_lazy_rel): Likewise.
47944 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
47945 Likewise.
47946 (elf_machine_lazy_rel): Likewise.
47947 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
47948 Likewise.
47949 (elf_machine_lazy_rel): Likewise.
47950 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
47951 (elf_machine_lazy_rel): Likewise.
47952 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
47953 (elf_machine_lazy_rel): Likewise.
47954 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
47955 (elf_machine_lazy_rel): Likewise.
47956 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
47957 (elf_machine_lazy_rel): Likewise.
47958 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
47959 (elf_machine_lazy_rel): Likewise.
47960 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
47961 (elf_machine_lazy_rel): Likewise.
47962
68577918
UD
479632011-09-28 Ulrich Drepper <drepper@gmail.com>
47964
47965 * nss/nss_files/files-init.c (_nss_files_init): Use static
47966 initialization for all the *_traced_file variables.
47967
68822d74
AS
479682011-09-28 Andreas Schwab <schwab@redhat.com>
47969
47970 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
47971
2056100b
RM
479722011-09-27 Roland McGrath <roland@hack.frob.com>
47973
47974 [BZ #13226]
47975 * manual/signal.texi (Longjmp in Handler): Grammar fixes.
47976
32c76b63
AS
479772011-09-27 Andreas Schwab <schwab@redhat.com>
47978
47979 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
47980 Reread the line before reparsing it.
47981
bf972c9d
AS
479822011-09-26 Andreas Schwab <schwab@redhat.com>
47983
47984 * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
47985
e057a1b5
JM
479862011-09-21 Chung-Lin Tang <cltang@codesourcery.com>
47987 Maxim Kuvyrkov <maxim@codesourcery.com>
47988 Joseph Myers <joseph@codesourcery.com>
47989
47990 * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
47991 if needed for __stack_chk_guard.
47992
bc7e1c36
RM
479932011-09-19 Roland McGrath <roland@hack.frob.com>
47994
ecb1482f
RM
47995 * sysdeps/posix/spawni.c (script_execute): Always define it.
47996 It will be optimized away if unused.
47997 (maybe_script_execute): New function.
47998 (__spawni): Call it.
47999
bc7e1c36
RM
48000 * Makerules: Don't include tls.make.
48001 (config-tls): Always set to thread.
48002 * tls.make.c: File removed.
48003
1c3b002b
MF
480042011-09-19 Mike Frysinger <vapier@gentoo.org>
48005
48006 * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
48007 * config.make.in (CPPFLAGS-config): New substituted variable.
48008
2840865d
UD
480092011-09-15 Ulrich Drepper <drepper@gmail.com>
48010
88738eb6
UD
48011 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
48012
cbf645a6 48013 [BZ #13192]
2840865d
UD
48014 * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
48015 Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
48016
b402e91a
RM
480172011-09-15 Roland McGrath <roland@hack.frob.com>
48018
48019 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
48020 (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
48021 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
48022 (CALL_FAIL): Likewise.
48023 * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
48024 (CALL_FAIL): Macro removed.
48025 Patch mostly by Mike Frysinger <vapier@gentoo.org>.
48026
4c1a1f71
UD
480272011-09-15 Ulrich Drepper <drepper@gmail.com>
48028
48029 * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
48030 for __FINITE_MATH_ONLY__ == 1.
48031
edc121be
AS
480322011-09-15 Andreas Schwab <schwab@redhat.com>
48033
48034 * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
48035 __ieee754_sqrt instead of sqrt.
48036 * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
48037 __ieee754_sqrtf instead of sqrtf.
48038 * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
48039 __floorf instead of floorf.
48040 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
48041 __floorf, __truncf instead of floorf, truncf.
48042
cd205654
UD
480432011-09-14 Ulrich Drepper <drepper@gmail.com>
48044
ee4d0315
UD
48045 * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
48046
cd205654
UD
48047 * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
48048 __extern_always_inline.
48049 Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
48050 32-bit.
48051
48b67d71
AS
480522011-09-14 Andreas Schwab <schwab@redhat.com>
48053
48054 * elf/rtld.c (dl_main): Also relocate in dependency order when
48055 doing symbol dependency testing.
48056
1ae12c75
AS
480572011-09-13 Andreas Schwab <schwab@linux-m68k.org>
48058
48059 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
48060 Always define `refsym'.
48061
995a80df
AS
480622011-09-13 Andreas Schwab <schwab@redhat.com>
48063
e529793b
AS
48064 * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
48065 (__FD_ELT): Renamed from __FDELT.
48066 * misc/bits/select2.h (__FD_ELT): Likewise.
48067 * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
48068 __FD_MASK instead of __FDELT, __FDMASK.
48069 * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
48070 Likewise.
48071 * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
48072 Likewise.
48073
52d4fef8
AS
48074 * elf/Makefile (gen-ldd): Fix pattern.
48075
995a80df
AS
48076 * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
48077 (init_tls): Likewise.
48078
8682f8b0
UD
480792011-09-12 Ulrich Drepper <drepper@gmail.com>
48080
48081 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
48082
de82006d
AS
480832011-09-12 Andreas Schwab <schwab@redhat.com>
48084
a7c8e6a1
AS
48085 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
48086 `struct cmsghdr *' instead of `void *'.
48087 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
48088 Likewise.
48089
0f31fe77
AS
480902011-09-11 Andreas Schwab <schwab@linux-m68k.org>
48091
48092 * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
48093 if non-absolute.
48094 * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
48095 ldd_rewrite_script.
0f31fe77 48096
32b4c839
UD
480972011-09-11 Ulrich Drepper <drepper@gmail.com>
48098
83cd1420
UD
48099 * configure.in: Remove --with-tls option.
48100 * config.h.in: Remove HAVE_TLS_SUPPORT entry.
48101 * sysdeps/i386/elf/configure.in: Always test for TLS support and err
48102 out in case it is missing.
48103 * sysdeps/ia64/elf/configure.in: Likewise.
48104 * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
48105 * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
48106 * sysdeps/s390/s390-32/elf/configure.in: Likewise.
48107 * sysdeps/s390/s390-64/elf/configure.in: Likewise.
48108 * sysdeps/sh/elf/configure.in: Likewise.
48109 * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
48110 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
48111 * sysdeps/x86_64/elf/configure.in: Likewise.
48112 * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
48113 * sysdeps/mach/hurd/tls.h: Likewise.
48114
633f745d
UD
48115 [BZ #13067]
48116 * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
48117
f318beb8
UD
48118 [BZ #13090]
48119 * configure.in: Fix use of AC_INIT.
48120
32b4c839
UD
48121 * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
48122
3ce1f295
UD
481232011-09-10 Ulrich Drepper <drepper@gmail.com>
48124
bb016596
UD
48125 * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
48126 __set_errno.
8e58439c
UD
48127 * malloc/hooks.c: Likewise.
48128
aebae053 48129 [BZ #11929]
02d46fc4
UD
48130 * malloc/arena.c (ptmalloc_init_minimal): Removed. Initialize all
48131 variables statically.
48132 (narenas): Initialize.
48133 (list_lock): Initialize.
bb016596
UD
48134 (ptmalloc_init): Don't call ptmalloc_init_minimal. Remove
48135 initializtion of main_arena and list_lock. Small cleanups.
02d46fc4
UD
48136 Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
48137 * malloc/malloc.c: Remove malloc_getpagesize. Include <ldsodefs.h>.
48138 Add initializers to main_arena and mp_.
48139 (malloc_state): Remove pagesize member. Change all users to use
48140 GLRO(dl_pagesize).
48141
48142 * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
48143 * sysdeps/unix/sysv/linux/getpagesize.c: Simplify. GLRO(dl_pagesize)
48144 is always initialized.
48145
22a89187
UD
48146 * malloc/malloc.c: Removed unused configurations and dead code.
48147 * malloc/arena.c: Likewise.
48148 * malloc/hooks.c: Likewise.
02d46fc4 48149 * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
22a89187 48150
d063d164
UD
48151 * include/tls.h: Removed. USE___THREAD must always be defined.
48152 * bits/libc-tsd.h: Don't handle !USE___THREAD.
48153 * elf/dl-libc.c: Likewise.
48154 * elf/dl-tsd.c: Likewise.
48155 * include/errno.h: Likewise.
48156 * include/netdb.h: Likewise.
48157 * include/resolv.h: Likewise.
48158 * inet/herrno-loc.c: Likewise.
48159 * inet/herrno.c: Likewise.
48160 * malloc/arena.c: Likewise.
48161 * malloc/hooks.c: Likewise.
48162 * malloc/malloc.c: Likewise.
48163 * resolv/res-state.c: Likewise.
48164 * resolv/res_libc.c: Likewise.
48165 * sysdeps/i386/dl-machine.h: Likewise.
48166 * sysdeps/ia64/dl-machine.h: Likewise.
48167 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
48168 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
48169 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
48170 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
48171 * sysdeps/sh/dl-machine.h: Likewise.
48172 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
48173 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
48174 * sysdeps/unix/i386/sysdep.S: Likewise.
48175 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
48176 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
48177 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
48178 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
48179 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
48180 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
48181 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
48182 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
48183 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
48184 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
48185 * sysdeps/unix/x86_64/sysdep.S: Likewise.
48186 * sysdeps/x86_64/dl-machine.h: Likewise.
48187 * tls.make.c: Likewise.
48188
3ce1f295
UD
48189 * configure.in: Remove --with-__thread option. Make tests for
48190 --no-whole-archive, __builtin_expect, symbol redirection, __thread,
48191 tls_model attribute fail if no support is available. Remove
48192 USE_IN_LIBIO.
48193 * Makeconfig: Adjust for dropped configure option. All features are
48194 now mandatory.
48195 * Makerules: Likewise.
48196 * Versions.def: Likewise.
48197 * argp/argp-fmtstream.c: Likewise.
48198 * argp/argp-fmtstream.h: Likewise.
48199 * argp/argp-help.c: Likewise.
48200 * assert/assert.c: Likewise.
48201 * config.h.in: Likewise.
48202 * config.make.in: Likewise.
48203 * configure: Likewise.
48204 * configure.in: Likewise.
48205 * csu/Versions: Likewise.
48206 * csu/init.c: Likewise.
48207 * elf/tst-audit2.c: Likewise.
48208 * elf/tst-tls10.c: Likewise.
48209 * elf/tst-tls10.h: Likewise.
48210 * elf/tst-tls11.c: Likewise.
48211 * elf/tst-tls12.c: Likewise.
48212 * elf/tst-tls14.c: Likewise.
48213 * elf/tst-tlsmod11.c: Likewise.
48214 * elf/tst-tlsmod12.c: Likewise.
48215 * elf/tst-tlsmod13.c: Likewise.
48216 * elf/tst-tlsmod13a.c: Likewise.
48217 * elf/tst-tlsmod14a.c: Likewise.
48218 * elf/tst-tlsmod15b.c: Likewise.
48219 * elf/tst-tlsmod16a.c: Likewise.
48220 * elf/tst-tlsmod16b.c: Likewise.
48221 * elf/tst-tlsmod7.c: Likewise.
48222 * elf/tst-tlsmod8.c: Likewise.
48223 * elf/tst-tlsmod9.c: Likewise.
48224 * gmon/gmon.c: Likewise.
48225 * grp/fgetgrent_r.c: Likewise.
48226 * grp/putgrent.c: Likewise.
48227 * hurd/fopenport.c: Likewise.
48228 * include/libc-symbols.h: Likewise.
48229 * include/tls.h: Likewise.
48230 * intl/gettextP.h: Likewise.
48231 * intl/loadinfo.h: Likewise.
48232 * locale/global-locale.c: Likewise.
48233 * locale/localeinfo.h: Likewise.
48234 * mach/devstream.c: Likewise.
48235 * malloc/arena.c: Likewise.
48236 * malloc/set-freeres.c: Likewise.
48237 * misc/err.c: Likewise.
48238 * misc/getttyent.c: Likewise.
48239 * misc/mntent_r.c: Likewise.
48240 * posix/getopt.c: Likewise.
48241 * posix/wordexp.c: Likewise.
48242 * pwd/fgetpwent_r.c: Likewise.
48243 * resolv/Versions: Likewise.
48244 * resolv/res_hconf.c: Likewise.
48245 * shadow/fgetspent_r.c: Likewise.
48246 * shadow/putspent.c: Likewise.
48247 * stdio-common/printf_fphex.c: Likewise.
48248 * stdio-common/tmpfile.c: Likewise.
48249 * stdlib/abort.c: Likewise.
48250 * stdlib/fmtmsg.c: Likewise.
48251 * sunrpc/auth_unix.c: Likewise.
48252 * sunrpc/clnt_perr.c: Likewise.
48253 * sunrpc/clnt_tcp.c: Likewise.
48254 * sunrpc/clnt_udp.c: Likewise.
48255 * sunrpc/clnt_unix.c: Likewise.
48256 * sunrpc/openchild.c: Likewise.
48257 * sunrpc/svc_simple.c: Likewise.
48258 * sunrpc/svc_tcp.c: Likewise.
48259 * sunrpc/svc_udp.c: Likewise.
48260 * sunrpc/svc_unix.c: Likewise.
48261 * sunrpc/xdr.c: Likewise.
48262 * sunrpc/xdr_array.c: Likewise.
48263 * sunrpc/xdr_rec.c: Likewise.
48264 * sunrpc/xdr_ref.c: Likewise.
48265 * sunrpc/xdr_stdio.c: Likewise.
48266
1248c1c4
PB
482672011-09-09 Ulrich Drepper <drepper@gmail.com>
48268
48269 * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
48270
482712011-07-03 Andreas Jaeger <aj@suse.de>
48272
48273 * math/libm-test.inc (jn_test): Add tests for BZ#11589.
48274 * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
48275 regenerate with gen-libm-tests.pl.
48276
482772010-05-12 Petr Baudis <pasky@suse.cz>
48278
48279 [BZ #11589]
48280 * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
48281 around j0() zero points by switching to j1().
48282 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
48283 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
48284 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
48285 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
48286
f22e1074
UD
482872011-09-09 Ulrich Drepper <drepper@gmail.com>
48288
f19009c1
UD
48289 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
48290 instead of 0.
48291 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
3a235abb 48292 instead of 0.
f19009c1
UD
48293 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
48294 Patch in part by Pavel Roskin <proski@gnu.org>.
48295
3f8cc204
UD
48296 [BZ #13138]
48297 * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
48298 realloc.
48299 (_IO_vfscanf_internal): Remove reteof. Use errout after setting done.
48300 Free memory block if necessary.
48301
f22e1074
UD
48302 [BZ #12847]
48303 * libio/genops.c (INTDEF): For string streams the _lock pointer can
48304 be NULL. Don't lock in this case.
48305
0a2349f9
RM
483062011-09-09 Roland McGrath <roland@hack.frob.com>
48307
48308 * elf/elf.h (ELFOSABI_GNU): New macro.
48309 (ELFOSABI_LINUX): Define to that.
48310
f3cdd467
DZ
483112011-07-29 Denis Zaitceff <zaitceff@gmail.com>
48312
48313 * string/strncat.c (strncat): Undef the symbol in case it has been
48314 defined in bits/string.h.
48315
74718d13
UD
483162011-09-09 Ulrich Drepper <drepper@gmail.com>
48317
633e9e0f
UD
48318 * elf/sotruss.ksh: Clean up, fix, and complete help messages.
48319
0a2349f9 48320 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
74718d13
UD
48321 link map.
48322
f9924780
AJ
483232011-08-17 Andreas Jaeger <aj@suse.de>
48324
48325 * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
48326
7f5517aa
PP
483272011-08-18 Paul Pluzhnikov <ppluzhnikov@google.com>
48328 Ian Lance Taylor <iant@google.com>
48329
48330 * math/libm-test.inc (lround_test): New testcase.
48331 * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
48332
762011fe
UD
483332011-09-08 Ulrich Drepper <drepper@gmail.com>
48334
92963737
UD
48335 * Makefile: Remove support for automatic cvs check-ins.
48336 * Makerules: Likewise.
48337 * config.make.in: Likewise.
48338 * configure.in: Likewise.
48339 * intl/Makefile: Likewise.
48340 * locale/Makefile: Likewise.
48341 * po/Makefile: Likewise.
48342 * posix/Makefile: Likewise.
48343 * sysdeps/gnu/Makefile: Likewise.
48344 * sysdeps/mach/hurd/Makefile: Likewise.
48345 * sysdeps/sparc/sparc32/Makefile: Likewise.
48346
b0727fd8
JS
48347 [BZ #13118]
48348 * posix/Makefile (bug-regex32-ENV): Define.
48349 Patch by John Stanley <jpsinthemix@verizon.net>.
48350
a0f33f99
UD
48351 * misc/Makefile (headers): Add bits/select2.h.
48352 * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
48353 * misc/bits/select2.h: New file.
48354 * include/bits/select2.h: New file.
48355 * debug/Makefile (routines): Add fdelt_chk.
48356 * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
48357 * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
48358 FD_ISSET.
48359 * debug/fdelt_chk.c: New file.
48360
762011fe
UD
48361 * wcsmbs/test-wcscmp.c: Moved from string/*. Adjust.
48362 * wcsmbs/test-wmemcmp.c: Likewise.
48363 * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
a0f33f99 48364 * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
762011fe
UD
48365
483662011-09-08 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
48367
48368 * string/Makefile (strop-tests): Add memcmp.
48369 * string/test-wmemcmp.c: New file.
48370 * string/test-memcmp.c: Add wmemcmp support.
48371
7f513ec8
RM
483722011-09-08 Roland McGrath <roland@hack.frob.com>
48373
0442afb4
RM
48374 [BZ #13153]
48375 * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
48376 2011-07-19 change.
48377
7f513ec8
RM
48378 * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
48379 garbage value in a __mach_port_mod_refs call in the cases of the
48380 task-self and thread-self ports.
48381
a12b2239
ST
483822011-09-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
48383
48384 * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
48385
610f9ab4
AS
483862011-09-08 Andreas Schwab <schwab@redhat.com>
48387
7f513ec8 48388 * elf/dl-load.c (lose): Check for non-null L.
610f9ab4 48389
48882a1a
LD
483902011-09-07 Ulrich Drepper <drepper@gmail.com>
48391
b49865be
UD
48392 * elf/dl-load.c (open_verify): Use O_CLOEXEC.
48393
fdc86bc9
UD
48394 * elf/dl-libc.c (dlerror_run): Pass back error code from
48395 dl_catch_error.
48396
c966526a
UD
48397 [BZ #13123]
48398 * elf/dl-load.c (lose): Free l_origin if it is valid.
48399
48882a1a
LD
48400 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
48401 names.
48402 * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
48403 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
48404 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
48405 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
48406 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
48407 Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
48408
77a2a8b4
AZ
484092011-08-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
48410
48411 * sysdeps/powerpc/fpu/e_hypot.c: New file.
48412 * sysdeps/powerpc/fpu/e_hypotf.c: New file.
48413 * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
48414 * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
48415 * sysdeps/powerpc/fpu/k_cosf.c: New file.
48416 * sysdeps/powerpc/fpu/k_sinf.c: New file.
48417 * sysdeps/powerpc/fpu/s_cosf.c: New file.
48418 * sysdeps/powerpc/fpu/s_sinf.c: New file.
48419 * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
48420 * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
48421
24f579d8
AM
484222011-08-15 Alan Modra <amodra@gmail.com>
48423
48424 [BZ #13092]
48425 * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
48426 * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
48427 * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here. Add
48428 ppc_mcount to static-only-routines.
48429 * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
48430 __mcount_internal.
48431 * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
48432 __mcount_internal with usual JUMPTARGET. Remove useless nop.
48433
3d4837df
UD
484342011-08-18 David Flaherty <flaherty@linux.vnet.ibm.com>
48435
48436 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
48437 for finite and infinity parameters.
48438
22700377
WS
484392011-08-04 Will Schmidt <will_schmidt@vnet.ibm.com>
48440
48441 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
48442 and add nop instructions for throughput optimization.
48443 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
48444
5025581e
WS
484452011-07-28 Will Schmidt <will_schmidt@vnet.ibm.com>
48446
48447 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
48448 aligned copy for power7 with vector-scalar instructions.
48449 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
48450
08a300c9
L
484512011-07-24 H.J. Lu <hongjiu.lu@intel.com>
48452
48453 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
48454 AVX check.
48455
59178ef9
AS
484562011-09-07 Andreas Schwab <schwab@redhat.com>
48457
48458 [BZ #13144]
48459 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
48460 last change.
48461
e38ba7ab
UD
484622011-09-07 Ulrich Drepper <drepper@gmail.com>
48463
48464 * sysdeps/unix/sysv/linux/x86_64/init-first.c
48465 (_libc_vdso_platform_setup): If vDSO is not present store pointer to
48466 syscall wrapper around clock_gettime in __vdso_clock_gettime.
48467 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
48468 clock_gettime.
48469
d53a73ac
UD
484702011-09-06 Ulrich Drepper <drepper@gmail.com>
48471
fc8bffcc
UD
48472 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
48473 Forgot to demangle the pointer.
48474
ceaa0c5d
UD
48475 * sysdeps/i386/sysdep.h: Define atom_text_section.
48476 * sysdeps/x86_64/sysdep.h: Likewise.
48477 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
48478 section with atom_text_section.
48479 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
48480 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
48481 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
48482 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
48483 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
48484
a77d3c17
UD
48485 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
48486 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
48487 already be defined. Change to take two parameters and don't assign
48488 result to variable. Adjust all users.
48489 Define INTERNAL_GETTIME if not already defined.
48490 Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
48491 call.
48492 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
48493 HAVE_CLOCK_GETTIME_VSYSCALL.
48494 * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
48495
d53a73ac
UD
48496 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
48497 gettimeofday vsyscall, just use time.
48498
a8f84144
AS
484992011-09-06 Andreas Schwab <schwab@redhat.com>
48500
48501 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
48502 <errno.h>.
48503
ef606249
UD
485042011-09-06 Ulrich Drepper <drepper@gmail.com>
48505
48506 * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
48507 syscall on x86-64.
48508 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
48509 syscall.
48510 * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
48511 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
48512 syscall if possible.
48513
6585cb60
UD
485142011-09-05 Ulrich Drepper <drepper@gmail.com>
48515
48516 * elf/pldd.c (get_process_info): Don't read whole ELF header, just
48517 e_ident. Don't pass to find_mapsXX.
48518 * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
48519
a5f524e4
LD
485202011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
48521
48522 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
48523 strchr-sse2-no-bsf strrchr-sse2-no-bsf
48524 * sysdeps/x86_64/multiarch/strchr.S: Update.
48525 Check bit_slow_BSF bit.
48526 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
48527 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
48528 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
48529
554881ef
UD
485302011-09-05 Ulrich Drepper <drepper@gmail.com>
48531
d96de963
UD
48532 [BZ #13134]
48533 * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
48534 before glibc 2.15.
48535 (tryshell): Define.
48536 (__spawni): Change last parameter to be flag. Test
48537 SPAWN_XFLAGS_USE_PATH flag to use path or not.
48538 Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
48539 * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
48540 * posix/spawni.c: Likewise.
48541 * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
48542 * posix/spawnp.c: Likewise. Change normal version to use
48543 SPAWN_XFLAGS_USE_PATH.
48544 * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
48545 SPAWN_XFLAGS_TRY_SHELL.
48546
d48e5868
UD
48547 [BZ #13150]
48548 * posix/glob.h: Remove gcc 1.x support.
48549
554881ef
UD
48550 [BZ #13068]
48551 * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
48552
693fb948
LD
485532011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
48554
48555 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
48556 strchr-sse2 strrchr-sse2 strchr-sse2-bsf
48557 strrchr-sse2-bsf
48558 * sysdeps/i386/i686/multiarch/strchr.S: New file.
48559 * sysdeps/i386/i686/multiarch/strrchr.S: New file.
48560 * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
48561 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
48562 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
48563 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
48564
1b48c537
UD
485652011-08-29 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
48566
49d42c37
UD
48567 * sysdeps/x86_64/wcscmp.S: New file.
48568
1b48c537
UD
48569 * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
48570 wcscmp-c wcscmp-sse2
48571 * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
48572 * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
48573 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
48574 * wcsmbs/wcscmp.c: Allow renaming.
48575
15c95c5d
DM
485762011-09-05 David S. Miller <davem@davemloft.net>
48577
48578 * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
48579 stack slot, rather than the struct return pointer slot.
48580 * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
48581 * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
48582 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
48583 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
48584
2f0ad8f3
UD
485852011-09-05 Ulrich Drepper <drepper@gmail.com>
48586
d88ae418
UD
48587 * po/ja.po: Update from translation team.
48588
2f0ad8f3
UD
48589 [BZ #13144]
48590 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
48591 kernel in 64-bit binaries.
48592
5f4318d1
DM
485932011-09-01 David S. Miller <davem@davemloft.net>
48594
48595 * elf/elf.h (HWCAP_SPARC_*): Move to..
48596 * sysdeps/sparc/sysdep.h: this new file and add new values.
48597 * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
48598 * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
48599 _DL_HWCAP_COUNT to 24.
48600 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
48601 entries.
48602 * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
48603 __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
48604 * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
48605 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
48606 instead of magic constants.
48607 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
48608
3ba57516
DM
486092011-08-31 David S. Miller <davem@davemloft.net>
48610
48611 * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
48612 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
48613 Reimplement to do errno handling inline.
48614 (SYSCALL_ERROR_HANDLER): New macro.
48615 (__SYSCALL_STRING): Do not do errno handling in asm.
48616 (__CLONE_SYSCALL_STRING): Delete.
48617 (__INTERNAL_SYSCALL_STRING): Delete.
48618 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
48619 sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
48620 (PSEUDO): Reimplement to do errno handling inline.
48621 (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
48622 (SYSCALL_ERROR_HANDLER): New macro.
48623 (__SYSCALL_STRING): Do not do errno handling in asm.
48624 (__CLONE_SYSCALL_STRING): Delete.
48625 (__INTERNAL_SYSCALL_STRING): Delete.
48626 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
48627 Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
48628 i386.
48629 (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
48630 (inline_syscall*): Add 'err' argument.
48631 (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
48632 INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
48633 (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
48634 INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
48635
48636 * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
48637 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
48638
2bc17433
AS
486392011-08-30 Andreas Schwab <schwab@redhat.com>
48640
48641 * elf/rtld.c (dl_main): Relocate objects in dependency order.
48642
fbeb5f4d
JO
486432011-08-29 Jiri Olsa <jolsa@redhat.com>
48644
48645 * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
48646 directive.
48647
ad69cc26
DM
486482011-08-24 David S. Miller <davem@davemloft.net>
48649
48650 * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
48651
39dd69df
AS
486522011-08-24 Andreas Schwab <schwab@redhat.com>
48653
48654 * elf/Makefile: Add rules to build and run unload8 test.
48655 * elf/unload8.c: New file.
48656 * elf/unload8mod1.c: New file.
48657 * elf/unload8mod1x.c: New file.
48658 * elf/unload8mod2.c: New file.
48659 * elf/unload8mod3.c: New file.
48660
48661 * elf/dl-close.c (_dl_close_worker): Reset private search list if
48662 it wasn't used.
48663
2c0b250a
DM
486642011-08-23 David S. Miller <davem@davemloft.net>
48665
48666 * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
48667 subtract stack bias.
48668 * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
48669 %sp not %fp in calculations.
48670 (_JMPBUF_UNWINDS_ADJ): Likewise.
48671
22044b48
DM
48672 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
48673 (aio_suspend): Call it to force an exception region around the
48674 AIO_MISC_WAIT() invocation.
48675
2cae4995
AS
486762011-08-23 Andreas Schwab <schwab@redhat.com>
48677
48678 * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
48679 backslash.
48680
873a772e
AJ
486812011-07-04 Aurelien Jarno <aurelien@aurel32.net>
48682
48683 * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
48684 protection macro.
48685 * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
48686 and <dl-machine.h>.
48687 (Elf64_FuncDesc): Remove.
48688
25ad0df1
DM
486892011-08-22 David S. Miller <davem@davemloft.net>
48690
48691 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
48692 sigaltstack check, add missing cfi directives.
48693 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
48694 missing cfi directives, and sigaltstack handling.
48695
e888bcbe
AS
486962011-08-16 Andreas Schwab <schwab@redhat.com>
48697
48698 [BZ #11724]
48699 * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
48700 object is seen twice.
48701 * elf/dl-fini.c (_dl_sort_fini): Likewise.
48702
48703 * elf/Makefile (distribute): Add tst-initorder2.c.
48704 (tests): Add tst-initorder2.
48705 (modules-names): Add tst-initorder2a tst-initorder2b
48706 tst-initorder2c tst-initorder2d. Add rules to build them.
48707 ($(objpfx)tst-initorder2.out): New rule.
48708 * elf/tst-initorder2.c: New file.
48709 * elf/tst-initorder2.exp: New file.
48710
87162f46
AS
487112011-08-22 Andreas Schwab <schwab@redhat.com>
48712
70538b7f
AS
48713 * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
48714
f55ffe58
AS
48715 * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
48716 dependencies back to end of function.
48717
87162f46
AS
48718 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
48719 $(elfobjdir)/ld.so.
48720
91b392a4
UD
487212011-08-21 Ulrich Drepper <drepper@gmail.com>
48722
48723 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
48724 * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
48725 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
48726 * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
48727 * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
48728 of __vdso_gettimeofday.
48729 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
48730 __vdso_gettimeofday and __vdso_time. Define __vdso_getcpu with
48731 attribute_hidden.
48732 (_libc_vdso_platform_setup): Remove initialization of
48733 __vdso_gettimeofday and __vdso_time.
48734
5c43483f
UD
487352011-08-20 Ulrich Drepper <drepper@gmail.com>
48736
775a77e7
UD
48737 * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
48738 and fgetc_unlocked.
48739 * nss/nss_files/files-key.c (search): Use fgets_unlocked and
48740 getc_unlocked.
89f447ed 48741
49c74ba9
UD
48742 * elf/dl-open.c (add_to_global): Report additions to the global scope
48743 for LD_DEBUG=scopes.
48744 (dl_open_worker): Also print scope of newly loaded dependencies.
001f0a6c 48745 (_dl_show_scope): Indicate if there is no scope.
49c74ba9 48746
5c43483f
UD
48747 [BZ #13114]
48748 * stdio-common/Makefile (tests): Add bug24.
48749 * stdio-common/bug24.c: New file.
48750
a101b025
AJ
487512011-08-19 Andreas Jaeger <aj@suse.de>
48752
48753 [BZ #13114]
48754 * libio/fileops.c (_IO_new_file_fopen): Fix handling of
48755 non-existant file when using close-on-exec mode.
48756
c88f1766
UD
487572011-08-20 Ulrich Drepper <drepper@gmail.com>
48758
0276a718
UD
48759 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
48760 the very first instruction.
48761
c88f1766
UD
48762 * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
48763 the CFI state in the end.
48764 * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
48765 inclusion of dl-trampoline.h.
48766 Based on a patch by Jiri Olsa <jolsa@redhat.com>.
48767
51ccffa0
AS
487682011-08-19 Andreas Schwab <schwab@redhat.com>
48769
94d7165f
AS
48770 * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
48771 expectations for long double.
48772
51ccffa0
AS
48773 * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
48774 from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
48775
fd708658 487762011-08-14 David S. Miller <davem@davemloft.net>
c27714f1
DM
48777
48778 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
48779 artificual limit depends upon the system page size.
48780
44f0a71e
UD
487812011-08-17 Ulrich Drepper <drepper@gmail.com>
48782
48783 * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
48784 * resolv/Makefile: Define CFLAGS-libresolv.
48785
8de79a24
AS
487862011-08-17 Andreas Schwab <schwab@redhat.com>
48787
48788 * nss/makedb.c (compute_tables): Make variables used in nested
48789 function static.
48790
27724598
UD
487912011-08-17 Ulrich Drepper <drepper@gmail.com>
48792
c5305d88
UD
48793 * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
48794 * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
48795 if buffer was too small.
48796
27724598
UD
48797 * elf/pldd.c (main): Attach to all threads in the process.
48798 Rewrite /proc handling to use *at functions.
48799
076fe015
UD
488002011-08-16 Ulrich Drepper <drepper@gmail.com>
48801
174baab3
UD
48802 * elf/dl-open.c (_dl_show_scope): Take additional parameter which
48803 specifies first scope to show.
48804 (dl_open_worker): Update callers. Move printing scope of new
48805 object to before the relocation.
44f0a71e 48806 * elf/rtld.c (dl_main): Update _dl_show_scope call.
174baab3
UD
48807 * sysdeps/generic/ldsodefs.h: Update declaration.
48808
076fe015
UD
48809 * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
48810 string for the scope number.
48811
a60df2c3
UD
488122011-08-14 Ulrich Drepper <drepper@gmail.com>
48813
48814 * nscd/servicescache.c (cache_addserv): Make sure written is always
48815 initialized.
48816
5e4287d1
RM
488172011-08-14 Roland McGrath <roland@hack.frob.com>
48818
85ae0589
RM
48819 * sysdeps/i386/i486/bits/atomic.h
48820 (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
48821 statement expression, so as to suppress "set but not used" warning.
48822 (__arch_c_compare_and_exchange_val_64_acq): Likewise.
48823
69f63097
RM
48824 * string/strncat.c (STRNCAT): Use prototype definition.
48825
675456ef
RM
48826 * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
48827 (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
48828 -Iprograms here.
48829 (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
48830 (localedef-modules): Add localedef.
48831 (locale-modules): Add locale.
48832
5e4287d1
RM
48833 * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
48834 * elf/rtld.c (dl_main): Invert order of assignment in last change,
48835 to avoid a warning.
48836
9c96ff23
DM
488372011-08-14 David S. Miller <davem@davemloft.net>
48838
48839 * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
48840 RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
48841
f9ddf089
UD
488422011-08-13 Ulrich Drepper <drepper@gmail.com>
48843
44f0a71e 48844 * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
73d7af4f
UD
48845 (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
48846 * elf/rtld.c (dl_main): Set l_name of vDSO.
48847 Call _dl_show_scope when DL_DEBUG_SCOPES.
48848 (process_dl_debug): Recognize scopes flag and also set it for all.
48849 * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
48850 Declare _dl_show_scope.
48851
1dc27704
UD
48852 * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
48853 (do_dlopen): Pass caller_dlopen to dl_open.
48854 (__libc_dlopen_mode): Initialize caller_dlopen.
48855
f9ddf089
UD
48856 * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
48857 of libc. Make tolower call locale-independent. Optimize a bit by
48858 using isdigit instead of isalnum.
48859 * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
48860
9ac533d3
UD
488612011-08-12 Ulrich Drepper <drepper@gmail.com>
48862
48863 * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
48864 was a dependency or dynamically loaded.
48865
89edf2e9
UD
488662011-08-11 Ulrich Drepper <drepper@gmail.com>
48867
8e999d29
UD
48868 * intl/l10nflist.c: Allow architecture-specific pop function.
48869 * sysdeps/x86_64/l10nflist.c: New file.
48870
89edf2e9
UD
48871 * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
48872 classification.
48873
14d96785
AS
488742011-08-10 Andreas Schwab <schwab@redhat.com>
48875
48876 * include/dirent.h: Add libc_hidden_proto for scandirat and
48877 scandirat64. Don't declare __scandirat64.
48878 * dirent/scandirat.c: Add libc_hidden_def.
48879 * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
48880 * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
48881
6761ac04
DM
488822011-08-10 David S. Miller <davem@davemloft.net>
48883
48884 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
48885 enum.
48886 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
48887 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
48888 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
48889
c55fbd1e
UD
488902011-08-09 Ulrich Drepper <drepper@gmail.com>
48891
48892 * Versions.def [libc]: Add GLIBC_2.15.
48893 * dirent/Makefile (routines): Add scandirat and scandirat64.
48894 * dirent/Versions [libc]: Export scandirat and scandirat64 for
48895 GLIBC_2.15.
48896 * dirent/dirent.h: Declare scandirat and scandirat64.
48897 * dirent/scandirat.c: New file.
48898 * dirent/scandirat64.c: New file.
48899 * sysdeps/wordsize-64/scandirat.c: New file.
48900 * sysdeps/wordsize-64/scandirat64.c: New file.
48901 * dirent/opendir.c: Define opendirat.
48902 * dirent/scandir.c: Move code to scandirat.c. Implement scandir
48903 using scandirat.
48904 * dirent/scandir64.c: Adjust for scandir.c change.
48905 * include/dirent.h: Define scandir_cancel_struct. Declare __opendirat,
48906 __scandirat64, and __scandir_cancel_handler.
48907 * sysdeps/unix/opendir.c: Rename __opendir to __opendirat. Take
48908 additional parameter and use openat instead of open (outside of ld.so).
48909 Add new __opendir as wrapper around __opendirat.
48910 * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
48911 here without requiring old scandirat implementation.
48912
879165f2
UD
489132011-08-08 Ulrich Drepper <drepper@gmail.com>
48914
48915 * dirent/scandir.c (cancel_handler): Renamed to
48916 __scandir_cancel_handler. Do not define if SKIP_SCANDIR_CANCEL is
48917 defined. Adjust users.
48918 * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
48919 * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
48920
cb7e923b
UD
489212011-08-04 Ulrich Drepper <drepper@gmail.com>
48922
16292edd
UD
48923 * string/test-string.h (IMPL): Use __STRING to expand name and then
48924 stringify it.
48925
cb7e923b
UD
48926 * string/test-strcmp.c: Unify most of the WIDE and !WIDE code. Lots
48927 of cleanups.
48928
cff82933
LD
489292011-07-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
48930
48931 * string/Makefile: Update.
48932 (strop-tests): Append strncat.
48933 * string/test-wcscmp.c: New file.
48934 New comprehensive test for wcscmp.
48935 * string/test-strcmp.c: Update.
48936 (WIDE): New define.
48937
9be9bfcc
AS
489382011-07-22 Andreas Schwab <schwab@redhat.com>
48939
48940 * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
48941 line.
48942
2e96f1c7
AS
489432011-07-26 Andreas Schwab <schwab@redhat.com>
48944
48945 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
48946 encoding to ACE if AI_IDN.
48947
85188888
JJ
489482011-08-01 Jakub Jelinek <jakub@redhat.com>
48949
48950 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
48951 to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
48952
5fa16e9b
LD
489532011-07-22 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
48954
48955 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
48956 Fix overflow bug in strncat.
48957 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
48958
48959 * string/test-strncat.c: Update.
48960 Add new tests for checking overflow bugs.
48961
489622011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
48963
48964 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
48965 strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
48966 * sysdeps/i386/i686/multiarch/strcat.S: New file.
48967 * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
48968 * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
48969 * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
48970 * sysdeps/i386/i686/multiarch/strncat.S: New file.
48971 * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
48972 * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
48973
48974 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
48975 (USE_AS_STRCAT): Define.
48976 Add strcat and strncat support.
48977 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
48978
8c1a459f
AS
489792011-07-25 Andreas Schwab <schwab@redhat.com>
48980
48981 * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
48982 __n bigger than INT_MAX+1.
48983 (__strncmp_g): Likewise.
48984
bba33c28
UD
489852011-07-23 Ulrich Drepper <drepper@gmail.com>
48986
798be72d
UD
48987 * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
48988 * libio/stido.h: Likewise.
48989
8accd4dc
UD
48990 * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
48991 (AF_NFC): Define.
48992 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
48993 (AF_NFC): Define.
48994
cbff0d96
UD
48995 * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
48996 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
48997 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
48998 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
48999 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
49000
9191c04a
UD
49001 [BZ #13021]
49002 * scripts/test-installation.pl: Don't expect libnss_test1 to be
49003 installed.
49004
bba33c28
UD
49005 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
49006 typo.
49007 (_dl_x86_64_save_sse): Likewise.
49008
90f139dd
UD
490092011-07-22 Ulrich Drepper <drepper@gmail.com>
49010
1aae088a
UD
49011 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
49012 OSXSAVE.
49013 (_dl_x86_64_save_sse): Likewise.
49014
8e2045f5
UD
49015 * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
49016
90f139dd
UD
49017 * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
49018
1d002f25
AS
490192011-07-21 Andreas Schwab <schwab@redhat.com>
49020
49021 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
49022 change.
49023 (_dl_x86_64_save_sse): Use correct AVX check.
49024
21137f89
UD
490252011-07-21 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
49026
49027 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
49028 bug in strncpy/strncat.
49029 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
49030
a65c0b7a
UD
490312011-07-21 Ulrich Drepper <drepper@gmail.com>
49032
49033 * string/tester.c (test_strcat): Add tests for different alignments
49034 of source and destination.
49035 (test_strncat): Likewise.
49036
6986b98a
UD
490372011-07-20 Ulrich Drepper <drepper@gmail.com>
49038
90bb2039
UD
49039 [BZ #12852]
49040 * posix/glob.c (glob): Check passed in values before using them in
49041 expressions to avoid some overflows.
49042 (glob_in_dir): Likewise.
49043
5644ef54
UD
49044 [BZ #13007]
49045 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
49046 check for AVX enablement so that we don't crash with old kernels and
49047 new hardware.
49048 * elf/tst-audit4.c: Add same checks here.
49049 * elf/tst-audit6.c: Likewise.
49050
49051 * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
6986b98a 49052
bfc9dc9b
AS
490532011-07-09 Andreas Schwab <schwab@linux-m68k.org>
49054
49055 * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
49056
702e64bb
UD
490572011-07-20 Ulrich Drepper <drepper@gmail.com>
49058
49059 * po/cs.po: Update from translation team.
49060 * po/bg.po: Likewise.
49061
295e904f
MP
490622011-07-12 Marek Polacek <mpolacek@redhat.com>
49063
49064 * misc/sys/cdefs.h: Add support for const attribute.
49065 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
49066 to gnu_dev_{major,minor,makedev} functions.
49067
3ff94596
MP
490682011-07-20 Marek Polacek <mpolacek@redhat.com>
49069
49070 * intl/dcigettext.c (get_output_charset): Add missing bracket.
49071
28b59fca
AS
490722011-07-20 Andreas Schwab <schwab@redhat.com>
49073
49074 * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
49075 strlen results.
49076
19df733e
AK
490772011-07-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
49078
49079 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
49080 (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
49081 register in order to avoid conflicts with the soft frame pointer
49082 being held in r11 when necessary.
49083 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
49084 (INTERNAL_VSYSCALL_NCS): Likewise.
49085
c8835729
MP
490862011-07-14 Marek Polacek <mpolacek@redhat.com>
49087
49088 * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
49089 * elf/dl-fini.c (_dl_fini): Adjust caller.
49090 * elf/dl-close.c (_dl_close_worker): Likewise.
49091 * sysdeps/generic/ldsodefs.h: Adjust declaration.
49092
b902330c
MP
490932011-07-15 Marek Polacek <mpolacek@redhat.com>
49094
8991e135
MP
49095 * elf/cache.c (load_aux_cache): Remove unnecessary condition of
49096 "aux_cache->nlibs < 0".
49097
b902330c
MP
49098 * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
49099 in the reload-count case.
49100
99710781
LD
491012011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
49102
49103 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
49104 strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
49105 strncat-sse2-unaligned strncat-c strlen-sse2-pminub
49106 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
49107 * sysdeps/x86_64/multiarch/strcat.S: New file.
49108 * sysdeps/x86_64/multiarch/strncat.S: New file.
49109 * sysdeps/x86_64/multiarch/strncat-c.c: New file.
49110 * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
49111 * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
49112 * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
49113 * sysdeps/x86_64/multiarch/strcpy-ssse3.S
49114 (USE_AS_STRCAT): Define.
49115 Add strcat and strncat support.
49116 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
49117 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
49118 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
49119 * string/strncat.c: Update.
49120 (USE_AS_STRNCAT): Define.
49121 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
49122 Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
49123 and i7.
49124 * sysdeps/x86_64/multiarch/init-arch.h
49125 (bit_Prefer_PMINUB_for_stringop): New.
49126 (index_Prefer_PMINUB_for_stringop): Likewise.
49127 * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
49128 bit_Prefer_PMINUB_for_stringop.
49129
7dc6bd90
UD
491302011-07-19 Ulrich Drepper <drepper@gmail.com>
49131
49132 * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
49133 buffer64.
49134 * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
49135 of casting of buffer.
49136 * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
49137 buffer32 and buffer64.
49138 * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
49139 writes instead of casting of buffer.
49140 * crypt/md5.h (struct md5_ctx): Move buffer into union and add
49141 buffer32.
49142 * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
49143 casting of buffer.
49144
e0e72284
AS
491452011-07-19 Andreas Schwab <schwab@redhat.com>
49146
49147 * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
49148
feb1eb0b
UD
491492011-07-19 Ulrich Drepper <drepper@gmail.com>
49150
49151 * nscd/nscd.c (termination_handler): Don't do anything for a database
49152 if it has not yet been initialized.
49153
298711ff
UD
491542011-07-18 Ulrich Drepper <drepper@gmail.com>
49155
49156 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
49157
491582011-07-15 Marek Polacek <mpolacek@redhat.com>
49159
49160 * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
49161
f9d68389
UD
491622011-07-18 Ulrich Drepper <drepper@gmail.com>
49163
49164 * po/nl.po: Update from translation team.
49165 * po/sv.po: Likewise.
49166
db290cf5
RM
491672011-07-16 Roland McGrath <roland@hack.frob.com>
49168
49169 * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
49170 now disallowed by GCC.
5c550700 49171
fd5e21c7
RM
49172 * configure.in (use-default-link): Default to yes if a test -shared
49173 link meets our qualifications.
49174 * configure: Regenerated.
49175
5c550700
RM
49176 * config.make.in (output-format): New variable.
49177 * configure.in: Check for ld --print-output-format support.
49178 * configure: Regenerated.
49179 * Makerules ($(common-objpfx)format.lds)
49180 [$(output-format) != unknown]: Just use $(output-format),
49181 instead of the linker-script munging.
49182
9fa2c032
RM
491832011-07-14 Roland McGrath <roland@hack.frob.com>
49184
a6928d51
RM
49185 * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
49186 of $(common-objpfx)shlib.lds.
49187 * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
49188
661607b3
RM
49189 * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
49190 Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
49191
9fa2c032
RM
49192 * configure.in (-z relro check): Adjust test code to add a large
49193 writable data section after it.
49194 * configure: Regenerated.
49195
defe9061
RM
491962011-07-11 Roland McGrath <roland@hack.frob.com>
49197
49198 * configure.in (-z relro check): Fix test code to make the variable
49199 truly const.
49200 * configure: Regenerated.
49201
319b9ad4
UD
492022011-07-11 Ulrich Drepper <drepper@gmail.com>
49203
49204 * nscd/nscd.h (struct traced_file): Define.
49205 (struct database_dyn): Remove inotify_descr, reset_res, and filename
49206 elements. Add traced_files.
49207 (inotify_fd): Declare.
49208 (register_traced_file): Declare.
49209 * nscd/connections.c (dbs): Remove reset_res and filename initializers.
49210 (inotify_fd): Export.
49211 (resolv_conf_descr): Remove.
49212 (nscd_init): Move inotify descriptor creation to main.
49213 Don't register files for notification here.
49214 (register_traced_file): New function.
49215 (invalidate_cache): Don't use reset_res to determine whether to call
49216 res_init, go through the list of registered files.
49217 (main_loop_poll): The inotify descriptors are now stored in the
49218 structures for the traced files.
49219 (main_loop_epoll): Likewise
49220 * nscd/nscd.c (main): Create inotify socket here. Pass extra argument
49221 to __nss_disable_nscd.
49222 * nscd/cache.c (prune_cache): There is no single inotify descriptor
49223 for a database anymore. Check the records for all the registered
49224 files instead.
49225 * nss/Makefile (libnss_files-routines): Add files-init.
49226 (libnss_db-routines): Add db-init.
49227 * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
49228 [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
49229 * nss/nss_db/db-init.c: New file.
49230 * nss/nss_files/files-init.c: New file.
49231 * nss/nsswitch.c (nss_load_library): New function. Broken out of
49232 __nss_lookup_function.
49233 (__nss_lookup_function): Call nss_load_library.
49234 (nss_load_all_libraries): New function.
49235 (__nss_disable_nscd): Take parameter with callback function for files
49236 to register. Set is_nscd. Load all the DSOs for the NSS modules
49237 used for the cached services.
49238 * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
49239 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
49240 options for features to all the files in nscd.
49241
49242 * nss/nsswitch.c (nss_parse_file): Add missing fclose.
49243
23bee3e8
RM
492442011-07-10 Roland McGrath <roland@hack.frob.com>
49245
49246 * csu/elf-init.c (__libc_csu_init): Comment typo.
49247
46a5b7f0
UD
492482011-07-09 Ulrich Drepper <drepper@gmail.com>
49249
49250 * po/pl.po: Update from translation team.
49251 * po/ja.po: Likewise.
49252 * po/ru.po: Likewise.
49253 * po/ko.po: Likewise.
49254 * po/fr.po: Likewise.
49255
d30cf5bb
RM
492562011-07-09 Roland McGrath <roland@hack.frob.com>
49257
113ddea4
RM
49258 * configure.in (.ctors/.dtors header and trailer check):
49259 Use an empirical test on a built program.
49260 * configure: Regenerated.
49261
574920b4
RM
49262 * configure.in (-z relro check): Use an empirical test on a built DSO.
49263 Detect, but do not require, on ia64.
49264 * configure: Regenerated.
49265
d30cf5bb
RM
49266 * configure.in (READELF): Find it with AC_CHECK_TOOL.
49267 Update tests that use readelf to use $READELF instead.
49268 * configure: Regenerated.
49269
8538fdb3
UD
492702011-07-08 Ulrich Drepper <drepper@gmail.com>
49271
49272 * malloc/hooks.c (memalign_check): Avoid using checked_request2size
49273 if the result is not used.
49274
04d08991
AJ
492752011-07-05 Andreas Jaeger <aj@suse.de>
49276
49277 [BZ#9696]
49278 * stdlib/tst-strtod.c: Add testcase.
49279
de283087
AD
492802011-07-07 Ulrich Drepper <drepper@gmail.com>
49281
4e5f31c8 49282 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
46a5b7f0 49283 (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
4e5f31c8
UD
49284 The latter has a higher limit. Take additional parameter to pass to
49285 the new function.
49286 (__pathconf): Pass file to __statfs_link_max.
49287 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
49288 __statfs_link_max.
49289 * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
49290 __statfs_link_max.
49291
de283087
AD
49292 [BZ #12868]
49293 * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
49294 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
49295 Handle Lustre.
49296 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
49297 (__statfs_filesize_max): Likewise.
49298 Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
49299
c75fa153
AJ
493002011-07-05 Andreas Jaeger <aj@suse.de>
49301
49302 * resolv/res_comp.c (dn_skipname): Remove unused variable.
49303
1a544854
UD
493042011-07-06 Marek Polacek <mpolacek@redhat.com>
49305
49306 * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
49307 `status' variable.
49308 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
49309 Likewise.
49310
6f0eec67
UD
493112011-07-04 H.J. Lu <hongjiu.lu@intel.com>
49312
49313 * Makefile (strop-tests): Add strncat.
49314 * string/test-strncat.c: New file.
49315
aae30307
UD
493162011-06-30 Marek Polacek <mpolacek@redhat.com>
49317
49318 * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
49319
c0cfb5eb
UD
493202011-06-21 Andreas Jaeger <aj@suse.de>
49321
49322 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
49323 Copy rule from iconvdata/Makefile.
49324
01636b21
UD
493252011-07-06 Ulrich Drepper <drepper@gmail.com>
49326
49327 [BZ #12922]
49328 * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
49329 but no long options are defined, just return 'W'.
49330
9895c8bc
UD
493312011-06-22 Marek Polacek <mpolacek@redhat.com>
49332
49333 [BZ #9696]
49334 * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
49335
5d4cf042
UD
493362011-07-06 Ulrich Drepper <drepper@gmail.com>
49337
49338 * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
49339 netgroups to read.
960e5535 49340 (innetgr): Likewise.
5d4cf042 49341
751eb97e
RM
493422011-07-05 Roland McGrath <roland@hack.frob.com>
49343
49344 * config.make.in (install_root): Default to $(DESTDIR).
49345
f15f1e45
UD
493462011-07-05 Ulrich Drepper <drepper@gmail.com>
49347
49348 * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
49349
4e34ac6a
RM
493502011-07-02 Roland McGrath <roland@hack.frob.com>
49351
5e9b6af4
RM
49352 * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
49353
84f9ea0f
RM
49354 * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
49355 containing directory rather than embedding absolute directory names.
49356
ea5ee9f7
RM
49357 * scripts/check-local-headers.sh: Rewritten using awk.
49358 Match by word, not by line. Print error messages for matches.
49359 * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
49360
1b74661a
RM
49361 * Makerules [shlib-lds-flags empty]:
49362 ($(common-objpfx)libc_pic.opts): New target.
49363 ($(common-objpfx)libc_pic.os.clean): New target.
49364 ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
49365
49366 * config.make.in (OBJCOPY): New variable.
49367 * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
49368 * configure: Regenerated.
49369
f781ef40
RM
49370 * config.make.in (use-default-link): New variable.
49371 * configure.in (use_default_link): Grok --with-default-link to set it.
49372 * configure: Regenerated.
49373 * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
49374 (shlib-lds, shlib-lds-flags): Define to empty.
49375
2d4fa81e
RM
49376 * Makerules (shlib-lds): New variable.
49377 (shlib-lds-flags): New variable.
49378 (build-shlib, build-moduile, build-module-asneeded): Use it.
49379 ($(common-objpfx)libc.so): Use $(shlib-lds).
49380 ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
49381 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
49382
31fffa6b
RM
49383 * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
49384 DT_FLAGS/DT_FLAGS_1 with zero flags.
49385
4e34ac6a
RM
49386 * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
49387 linker script munging.
49388
fcfc776b
UD
493892011-07-02 Ulrich Drepper <drepper@gmail.com>
49390
49391 * crypt/sha512.h (struct sha512_ctx): Add union to access total also
49392 as 128-bit value.
49393 * crypt/sha512.c (sha512_process_block): Perform total addition using
49394 128-bit if possible.
49395 (__sha512_finish_ctx): Likewise.
49396 * crypt/sha256.h (struct sha256_ctx): Add union to access total also
49397 as 64-bit value.
49398 * crypt/sha256.c (SWAP64): Define.
49399 (sha256_process_block): Perform total addition using 64-bit if
49400 possible.
49401 (__sha256_finish_ctx): Likewise.
49402
99231d9a
UD
494032011-07-01 Ulrich Drepper <drepper@gmail.com>
49404
49405 * nscd/pwdcache.c (cache_addpw): Cleanup. Add branch prediction.
49406 * nscd/initgrcache.c (addinitgroupsX): Likewise.
49407 * nscd/hstcache.c (cache_addhst): Likewise.
49408 * nscd/grpcache.c (cache_addgr): Likewise.
49409 * nscd/aicache.c (addhstaiX): Likewise
49410 * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
49411
445b4a53
TK
494122011-07-01 Thorsten Kukuk <kukuk@suse.de>
49413
49414 * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
49415 * nscd/initgrcache.c (addinitgroupsX): Likewise.
49416 * nscd/hstcache.c (cache_addhst): Likewise.
49417 * nscd/grpcache.c (cache_addgr): Likewise.
49418 * nscd/aicache.c (addhstaiX): Likewise
49419
6d4d8e8e
AS
494202011-07-01 Andreas Schwab <schwab@redhat.com>
49421
49422 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
49423 domain only when needed.
49424
89f654c5
AS
494252011-06-30 Andreas Schwab <schwab@redhat.com>
49426
49427 * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
49428 is always restored.
49429
cf3b23ff
UD
494302011-06-29 Ulrich Drepper <drepper@gmail.com>
49431
49432 * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
49433 are re-adding the entry.
49434 * nscd/servicescache.c (cache_addserv): Likewise.
49435
751626f9
AJ
494362011-06-30 Aurelien Jarno <aurelien@aurel32.net>
49437
49438 * sysdeps/generic/dl-irel.h: fix protection against multiple
49439 inclusions.
49440 * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
49441
9113ea1f
UD
494422011-06-28 Ulrich Drepper <drepper@gmail.com>
49443
5c0b8d90
UD
49444 [BZ #12935]
49445 * malloc/memusage.sh: Fix quoting in message.
49446 * debug/xtrace.sh: Likewise.
49447
9113ea1f
UD
49448 * configure.in: Remove support for --experimental-malloc option, make
49449 it the default.
49450 * config.make.in: Likewise.
49451 * malloc/Makefile: Likewise.
49452
a4172181
AS
494532011-06-27 Andreas Schwab <schwab@redhat.com>
49454
49455 * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
49456 two-byte characters.
49457
78a7eee7
RM
494582011-06-27 Roland McGrath <roland@hack.frob.com>
49459
62bede13
RM
49460 * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
49461 AC_CACHE_CHECK invocation.
49462 * configure: Regenerated.
49463
78a7eee7
RM
49464 * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
49465
5ce33a62
UD
494662011-06-27 Ulrich Drepper <drepper@gmail.com>
49467
034807a9
UD
49468 [BZ #12350]
49469 * nscd/aicache.c (addhstaiX): Restore only RES_USE_INET6
49470 bit from old_res_options.
49471
4902da17
UD
49472 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
49473
5ce33a62
UD
49474 * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
49475 value type for setfct.
49476
c2344f56
L
494772011-06-23 H.J. Lu <hongjiu.lu@intel.com>
49478
49479 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
49480 __gettimeofday instead of gettimeofday.
49481
68468076
UD
494822011-06-26 Ulrich Drepper <drepper@gmail.com>
49483
49484 * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
49485
acb0d739
L
494862011-06-24 H.J. Lu <hongjiu.lu@intel.com>
49487
49488 * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
49489
49490 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
49491 info.
49492
8912479f
L
494932011-06-22 H.J. Lu <hongjiu.lu@intel.com>
49494
49495 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
49496 strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
49497 strcpy-sse2-unaligned strncpy-sse2-unaligned
49498 stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
49499 * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
49500 * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
49501 * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
49502 * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
49503 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
49504 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
49505 * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
49506 * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
49507 * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
49508 (STRCPY): Support SSE2 and SSSE3 versions.
49509
d5495a11
UD
495102011-06-24 Ulrich Drepper <drepper@gmail.com>
49511
49512 [BZ #12874]
49513 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
49514 * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
49515 kernels which artificially limit size of requests.
49516
0b1cbaae
L
495172011-06-22 H.J. Lu <hongjiu.lu@intel.com>
49518
49519 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
49520 strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
49521 strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
49522 * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
49523 * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
49524 * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
49525 * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
49526 * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
49527 * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
49528 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
49529 * sysdeps/i386/i686/multiarch/strcpy.S: New file.
49530 * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
49531 * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
49532 * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
49533 * sysdeps/i386/i686/multiarch/strncpy.S: New file.
49534 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
49535 Enable unaligned load optimization for Intel Core i3, i5 and i7
49536 processors.
49537 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
49538 Define.
49539 (index_Fast_Unaligned_Load): Define.
49540 (HAS_FAST_UNALIGNED_LOAD): Define.
49541
07f494a0
MP
495422011-06-23 Marek Polacek <mpolacek@redhat.com>
49543
49544 * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
49545
fa3fc0fe
UD
495462011-06-22 Ulrich Drepper <drepper@gmail.com>
49547
49548 [BZ #12907]
49549 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
49550 until it is clear that the information is realy needed.
49551 Patch mostly by David Hanisch <david.hanisch@nsn.com>.
49552
e12df166
AS
495532011-06-22 Andreas Schwab <schwab@redhat.com>
49554
49555 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
49556
852eb34d
UD
495572011-06-22 Ulrich Drepper <drepper@gmail.com>
49558
84e2a551
UD
49559 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
49560 /sys/devices/system/cpu/online if it is usable.
49561
852eb34d
UD
49562 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
49563 reading the information from the /proc filesystem to once a second.
49564
6e502e19
UD
495652011-06-21 Andreas Jaeger <aj@suse.de>
49566
49567 * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
49568 NULL after inclusion of kernel headers.
49569
75d39ff2
UD
495702011-06-21 Ulrich Drepper <drepper@gmail.com>
49571
51f9aa6a
UD
49572 * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
49573 calls to internal_setent.
49574
c0244a9d
UD
49575 [BZ #12885]
49576 * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
49577 addresses using gethostbyname4_r ignore IPv4 addresses.
49578
c5e3c2ae
UD
49579 * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
49580 branch using gethostbyname2 is only for AF_INET. Optimize accordingly.
49581
75d39ff2
UD
49582 * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
49583
42675c6f
DM
495842011-06-20 David S. Miller <davem@davemloft.net>
49585
49586 * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
49587 inclusions.
49588 * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
49589
49590 * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
49591 (elf_irel): Use it.
49592 * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
49593 * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
49594 * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
49595 * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
49596 * sysdeps/x86_64/dl-irel.h: Likewise.
49597
49598 * elf/dl-runtime.c: Use elf_ifunc_invoke.
49599 * elf/dl-sym.c: Likewise.
49600
57912a71
UD
496012011-06-15 Ulrich Drepper <drepper@gmail.com>
49602
49603 * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch. We
49604 need to dereference resplen2.
49605
ee22793d
AS
496062011-06-14 Andreas Schwab <schwab@redhat.com>
49607
49608 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
49609
a9e836b0
UD
496102011-06-15 Ulrich Drepper <drepper@gmail.com>
49611
77fb9117
UD
49612 * Makeconfig: Define vardbdir and inst_vardbdir.
49613 * nss/Makefile: Add rules to install db-Makefile.
49614
40c1b22c
UD
49615 * nss/nss_db/db-XXX.c: Cleanup.
49616
9f2da732
UD
49617 * nss/Makefile (libnss_db-dbs): Add db-initgroups.
49618 * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
49619 GLIBC_PRIVATE.
49620 * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
49621 * nss/makedb.c: Implement -g option to specify that value strings
49622 are generated and should not be added to table iterated over for
49623 get*ent calls.
49624 * nss/nss_db/db-initgroups.c: New file.
49625
82e9a1f7
UD
49626 * nss/getent.c: Add support for initgroups lookups through getgrouplist
49627 interface.
49628
c41af17e
UD
49629 * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
49630 (internal_getgrouplist): Adjust to name change.
49631 Update use_initgroups_entry if this is not the first call.
49632 * nss/databases.def: Add initgroups entry.
49633
a9e836b0
UD
49634 * nss/makedb.c (compute_tables): Check result of multiple hash table
49635 sizes to minimize maximum chain length.
49636
2666d441
UD
496372011-06-14 Ulrich Drepper <drepper@gmail.com>
49638
49639 * Versions.def: Add entry for libnss_db.
49640 * shlib-versions: Likewise.
49641 * nss/Makefile: Add rules to build libnss_db.
49642 * nss/Versions: Add libnss_db information. Organize libnss_files
49643 entries better.
49644 * nss/db-Makefile: Add gshadow support. Change rules for the new
49645 makedb progra. Some minor improvements to generate smaller files.
49646 * nss/nss_db/nss_db.h: Move NSS database header data structures to
49647 here from...
49648 * nss/makedb.c: ...here.
49649 Improve database format to be smaller and require less memory at
49650 runtime.
49651 * nss/nss_db/db-XXX.x: Adjust for new database format. Don't use
49652 db anymore.
49653 * nss/nss_db/db-netgrp.c: Likewise.
49654 * nss/nss_db/db-open.c: Likewise.
49655 * nss/nss_files/flies-XXX.x: Adjust comments.
49656 * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
49657 * nss/nss_files/files-grp.c: Likewise.
49658 * nss/nss_files/files-hosts.c: Likewise.
49659 * nss/nss_files/files-network.c: Likewise.
49660 * nss/nss_files/files-proto.c: Likewise.
49661 * nss/nss_files/files-pwd.c: Likewise.
49662 * nss/nss_files/files-rpc.c: Likewise.
49663 * nss/nss_files/files-service.c: Likewise.
49664 * nss/nss_files/files-sgrp.c: Likewise.
49665 * nss/nss_files/files-spwd.c: Likewise.
49666 * nss/nss_db/db-alias.c: Removed.
49667 * nss/nss_db/dummy-db.h: Removed.
49668
9ee76b5a
UD
496692011-06-02 Ulrich Drepper <drepper@gmail.com>
49670
49671 * nss/makedb.c: Rewritten to not use database library.
49672 * nss/Makefile: Update to build new makedb program.
49673
c71ca1f8
AJ
496742011-06-14 Andreas Jaeger <aj@suse.de>
49675
49676 * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
49677 memset declaration.
49678
3154bfb8
UD
496792011-06-10 Andreas Schwab <schwab@redhat.com>
49680
49681 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
49682 tmpbuf.
49683
b350afab
RM
496842011-06-10 Roland McGrath <roland@hack.frob.com>
49685
decd4e50
RM
49686 * Makerules (shlib.lds): Fail if the linker script comes out empty.
49687 * elf/Makefile ($(objpfx)ld.so): Likewise.
49688
5615eaf2
RM
49689 * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
49690 Don't list ld.so twice in dependencies.
49691
49692 * posix/bug-regex31.c: Include <stdlib.h>.
49693
49694 * nscd/hstcache.c (cache_addhst): Remove unused variable.
49695
49696 * nis/nss_compat/compat-spwd.c
49697 (getspent_next_nss_netgr): Remove unused variable.
49698 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
49699
49700 * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
49701 nonmembers" output to use the right array.
49702
49703 * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
49704
49705 * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
49706
49707 * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
49708 * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
49709 * catgets/gencat.c (read_input_file): Likewise.
49710 * locale/programs/locarchive.c (enlarge_archive): Likewise.
49711
49712 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
49713 variable definition inside #if's controlling its use.
49714
49715 * inet/getnetgrent_r.c (innetgr): Remove unused variable.
49716
49717 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
49718
49719 * misc/syslog.c (__vsyslog_chk): Remove unused variable.
49720
49721 * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
49722 unreachable code.
49723
49724 * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
49725
b68e08db
RM
49726 * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
49727 * configure: Regenerated.
49728
b350afab
RM
49729 * Makerules: Revert last change.
49730 * elf/Makefile: Likewise.
49731
28368601
RM
497322011-06-09 Roland McGrath <roland@hack.frob.com>
49733
49734 * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
49735 * elf/Makefile ($(objpfx)librtld.os): Likewise.
49736 (reloc-link): Likewise.
49737
11988f8f
UD
497382011-06-09 Ulrich Drepper <drepper@gmail.com>
49739
49740 * elf/Makefile: Add rules to build pldd.
49741 * elf/pldd.c: New file.
49742 * elf/pldd-xx.c: New file.
49743
e80fab37
UD
497442011-06-07 Ulrich Drepper <drepper@gmail.com>
49745
49746 * version.h: Update for 2.15 development version.
49747
9b849836
DM
497482011-06-07 David S. Miller <davem@davemloft.net>
49749
49750 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
49751 ifuncs.
49752 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
49753 elf_machine_lazy_rel): Likewise.
49754 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
49755 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
49756 elf_machine_lazy_rel): Likewise.
49757 * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
49758 dl_hwcap via passed in argument.
49759 * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
49760 Likewise.
49761
5a31b283
AK
497622011-06-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
49763
49764 * stdlib/longlong.h: Update from GCC. Fix smul_ppmm for S/390.
49765
069e52f8
RM
497662011-06-06 Roland McGrath <roland@hack.frob.com>
49767
49768 [BZ #12849]
49769 * manual/fdl-1.1.texi: New file, verbatim from:
49770 http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
49771 * manual/lgpl-2.1.texi: New file, verbatim from:
49772 http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
49773 * manual/Makefile (licenses): New variable, list those new file names.
49774 (texis): Use it.
49775 (chapters.% top-menu.%): Include $(licenses) with $(appendices).
49776
49777 * manual/fdl.texi: File removed.
49778 * manual/lesser.texi: File removed.
49779 * manual/libc.texinfo (Copying, Documentation License):
49780 Use new @include file names, put @appendix directive before @include.
49781
f16846a5
JJ
497822011-06-04 Jakub Jelinek <jakub@redhat.com>
49783
49784 [BZ #12841]
49785 * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
49786 (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
49787 (mq_open): Add __NTH.
49788
3d29045b
L
497892011-06-02 H.J. Lu <hongjiu.lu@intel.com>
49790
49791 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
49792 Assume Intel Core i3/i5/i7 processor if AVX is available.
49793
8c297311
UD
497942011-05-31 Ulrich Drepper <drepper@gmail.com>
49795
49796 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
49797 typo.
49798
c8fc0c91
UD
497992011-05-31 Andreas Schwab <schwab@redhat.com>
49800
49801 * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
49802 memory. Use alloca_account. Fix memory leak when retrying.
49803
5b27a807
UD
498042011-05-31 Ulrich Drepper <drepper@gmail.com>
49805
356f8bc6
UD
49806 * version.h (RELEASE): Bump for 2.14 release.
49807 * include/features.h (__GLIBC_MINOR__): Bump to 14.
49808
5b27a807
UD
49809 * config.make.in (RANLIB): Remove entry.
49810
01f16ab0
UD
498112011-05-30 Ulrich Drepper <drepper@gmail.com>
49812
41fce8bd
UD
49813 * po/Makefile (po-sed-cmd): Add ksh to extensions.
49814 (libc.pot): Work around missing support for .ksh extension in xgettext.
49815
4769ae77
UD
49816 [BZ #12684]
49817 * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
49818 if both request failed.
49819 (send_dg): In case of server errors clear resplen or *resplen2.
49820
6b1e7d19
UD
49821 [BZ #12454]
49822 * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
49823 when there are multiple maps.
49824 * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
49825 (_dl_fini): Remove test here.
49826
01f16ab0
UD
49827 * elf/rtld.c (dl_main): Don't allow the loader to load itself.
49828
b1ebd700
UD
498292011-05-29 Ulrich Drepper <drepper@gmail.com>
49830
7ae22829
UD
49831 [BZ #12350]
49832 * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
49833 bit from old_res_options.
49834 (gaih_inet): Likewise.
49835
553149f6 49836 [BZ #11099]
18a84741 49837 * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
873ca504
UD
49838 as signed.
49839
652ffab1
UD
49840 * resolv/res_init.c (res_setoptions): Make the code more compact.
49841
16985fd0
UD
49842 [BZ #11558]
49843 * resolv/res_init.c (res_setoptions): Recognize use-vc option and
49844 set RES_USEVC.
49845
0464f746
UD
49846 [BZ #11634]
49847 * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
49848
7d17596c
UD
49849 * malloc/malloc.h: Mark malloc hook variables as deprecated.
49850
cf6bbbd7
UD
49851 [BZ #11781]
49852 * malloc/malloc.h: Declare malloc hook variables as volatile.
49853
13f1ab36
UD
49854 * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
49855 in last patch.
49856
b1ebd700
UD
49857 [BZ #11799]
49858 * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
4997db74 49859 raise in the comment.
80e2212d
UD
49860 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
49861 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
49862 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
b1ebd700 49863
ce67228d
UD
498642011-05-28 Ulrich Drepper <drepper@gmail.com>
49865
8887a920
UD
49866 [BZ #12811]
49867 * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
49868 grow the buffers more if it already has to be sufficient.
49869 (build_wcs_upper_buffer): Likewise.
49870 * posix/regexec.c (check_matching): Likewise.
49871 (clean_state_log_if_needed): Likewise.
49872 (extend_buffers): Don't enlarge buffers beyond size of the input
49873 buffer.
49874 Patches mostly by Emil Wojak <emil@wojak.eu>.
49875 * posix/bug-regex32.c: New file.
49876 * posix/Makefile (tests): Add bug-regex32.
49877
4f031072
UD
49878 * locale/findlocale.c (_nl_find_locale): Return right away if
49879 _nl_explode_name failed.
49880 * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
49881
d0478f0c
UD
49882 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
49883
de81b246
UD
49884 * debug/xtrace.sh: Unify messages.
49885 * malloc/memusage.sh: Likewise.
49886
c738465a
UD
49887 [BZ #12813]
49888 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
49889 time symbol from vDSO. Substitute with vsyscall if not available.
49890 * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
49891 __vdso_time.
49892
f1f929d7
UD
49893 * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
49894 * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
49895 * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
49896 Add sendmmsg and internal_sendmmsg.
49897 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
49898 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
49899 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
49900
ce67228d
UD
49901 * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
49902 * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
49903 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
49904
e57420c6
UD
499052011-05-27 Ulrich Drepper <drepper@gmail.com>
49906
a8509ca5
UD
49907 [BZ #12813]
49908 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
49909 Retrieve getcpu symbol from vDSO. Substitute with vsyscall if not
49910 available.
49911 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
49912 __vdso_getcpu.
49913
e57420c6
UD
49914 [BZ #12814]
49915 * iconvdata/Makefile (tests): Add bug-iconv9.
49916 * iconvdata/bug-iconv9.c: New file.
49917
4d07db15
AS
499182011-05-27 Andreas Schwab <schwab@redhat.com>
49919
49920 [BZ #12814]
49921 * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
49922
ea486f69
JJ
499232011-05-25 Jakub Jelinek <jakub@redhat.com>
49924
49925 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
49926 (struct user_regs_struct): Change intcs field back to cs.
49927
6f038433
UD
499282011-05-25 Ulrich Drepper <drepper@gmail.com>
49929
49930 * po/ja.po: Update from translation team.
49931
67f86a25
UD
499322011-05-23 Ulrich Drepper <drepper@gmail.com>
49933
49934 [BZ #12795]
49935 * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
49936 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
49937
def7fbd6
AS
499382011-05-20 Andreas Schwab <schwab@redhat.com>
49939
49940 * stdlib/longlong.h: Update from GCC.
49941
f50ef8f1
AS
499422011-05-23 Andreas Schwab <schwab@redhat.com>
49943
49944 * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
49945 parameter name.
49946 * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
49947 Add parameter name.
49948 (__sysconf): Pass it down.
49949
de7ce8f1
UD
499502011-05-22 Ulrich Drepper <drepper@gmail.com>
49951
f2962a71
UD
49952 [BZ #12671]
49953 * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
49954 some situations.
49955 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
49956 * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
49957 add in in __libc_use_alloca calls. Adjust callers.
49958 (glob): Use malloc in some situations.
49959
de7ce8f1
UD
49960 * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
49961 and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
49962 pltexit.
49963
aec84f53
UD
499642011-05-21 Ulrich Drepper <drepper@gmail.com>
49965
05bb4a68
UD
49966 * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
49967 and CLOCK_BOOTTIME_ALARM.
49968
7ea72f99
UD
49969 [BZ #12782]
49970 * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
49971 is returned.
49972
7e4afad5
UD
49973 * string/_strerror.c (__strerror_r): Print negative errors as signed
49974 numbers.
49975
8e211fec
UD
49976 [BZ #12777]
49977 * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
49978 (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
49979 * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
49980
f7d82dc9
UD
49981 * configure.in: Fix typo in redirection and correct removal of test
49982 files in two cases.
49983
cc9e536d
UD
49984 [BZ #12788]
49985 * locale/setlocale.c (new_composite_name): Fix test to check for
49986 identical name of all categories.
49987
aec84f53
UD
49988 [BZ #12792]
49989 * libio/filedoalloc.c (local_isatty): New function.
49990 (_IO_file_doallocate): Use local_isatty.
49991 * stdio-common/perror.c (perror): In case a new stream is used
49992 forward the stream error.
49993 * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
49994 error flag.
49995
78e64fdc
RT
499962011-05-20 Ulrich Drepper <drepper@gmail.com>
49997
34a9094f
UD
49998 [BZ #11869]
49999 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
50000 alloca.
50001 * include/alloca.h (extend_alloca_account): Define.
50002
78e64fdc
RT
50003 [BZ #11857]
50004 * posix/regex.h: Fix comments with documentation of user-accessible
50005 fields after compilation and describe correct free'ing of pattern
50006 after re_compile_pattern.
50007 Patch by Reuben Thomas <rrt@sc3d.org>.
50008
457bddfc
RA
500092011-05-18 Ryan S. Arnold <rsa@us.ibm.com>
50010
50011 * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
50012 and -mno-altivec to prevent the compiler from using Altivec and/or
50013 VSX instructions when the corresponding registers are not available.
50014
a4527b51
AS
500152011-05-19 Andreas Schwab <schwab@redhat.com>
50016
50017 * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
50018
ed690b2f
UD
500192011-05-19 Ulrich Drepper <drepper@gmail.com>
50020
50021 * libio/freopen.c (freopen): Use __dup2, not dup2.
50022 * libio/freopen64.c (freopen64): Likewise.
50023
8db73634
L
500242011-05-17 H.J. Lu <hongjiu.lu@intel.com>
50025
50026 [BZ #12775]
50027 * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
50028 * math/Makefile (tests): Add test-powl.
50029 (CFLAGS-test-powl.c): Define.
50030 * math/test-powl.c: New file.
50031
0a197a9d
L
500322011-05-16 H.J. Lu <hongjiu.lu@intel.com>
50033
50034 * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
50035
ee30c380
UD
500362011-05-17 Ulrich Drepper <drepper@gmail.com>
50037
50038 [BZ #11837]
50039 * iconvdata/gb18030.c: Update to GB18020-2005.
50040
6ce75379
UD
500412011-05-16 Ulrich Drepper <drepper@gmail.com>
50042
a4b89fd8
AR
50043 * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
50044 RE_SYNTAX_POSIX_AWK): Update to match recent development.
50045 Patch by Aharon Robbins <arnold@skeeve.com>.
50046
ea389b12
UD
50047 [BZ #11892]
50048 * stdlib/putenv.c (putenv): Don't always create copy of the variable
50049 on the stack.
50050
68a3f91f
UD
50051 [BZ #11895]
50052 * misc/pselect.c (__pselect): Handle timeout value errors hidden
50053 through underflows.
50054
15cc7dd1
UD
50055 [BZ #12766]
50056 * misc/error.c (error_at_line): Ensure file_name and old_file_name
50057 point to strings before performing equality test for error_one_per_line
50058 mode.
50059
f3799213
UD
50060 [BZ #11697]
50061 * login/programs/pt_chown.c (do_pt_chown): Always call chown.
50062
d79a9c94
UD
50063 [BZ #11820]
50064 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
50065 (struct user_fpregs_struct): Avoid __uint*_t types.
50066
56e5eb46
UD
50067 [BZ #6420]
50068 * malloc/mtrace.c (tr_where): Add additional parameter to point to
50069 symbol info. Use it instead of calling _dl_addr locally.
50070 (lock_and_info): New function.
50071 (tr_freehook): Call lock_and_info and pass symbol info as additional
50072 parameter to tr_where.
50073 (tr_mallochook): Likewise.
50074 (tr_reallochook): Likewise.
50075 (tr_memalignhook): Likewise.
50076
6ce75379
UD
50077 * malloc/mtrace.c: Remove support for USE_MTRACE_FILE. It is not
50078 used and couldn't be at all thread-safe.
50079
f8a3b5bf
UD
500802011-05-15 Ulrich Drepper <drepper@gmail.com>
50081
94b7cc37
UD
50082 * libio/freopen.c (freopen): Don't close old file descriptor
50083 before the new one is opened. Instead dup the new file descriptor
50084 to the old one after the new stream is created.
50085 * libio/freopen64.c (freopen64): Likewise.
50086 * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
50087 * libio/fileops.c (_IO_new_file_close_it): Handle new
50088 _IO_FLAGS2_NOCLOSE flag.
50089 (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
50090 If _IO_file_open didn't set FD_CLOEXEC do it after the call.
50091 * libio/oldfileops.c (_IO_old_file_close_it): Handle new
50092 _IO_FLAGS2_NOCLOSE flag.
50093 * include/unistd.h: Add hidden_proto for dup3.
50094 Define __have_dup3.
50095 * io/dup3.c: Define hidden symbol.
50096 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
50097
bd25564e
UD
50098 [BZ #7101]
50099 * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
50100 when an incomplete long option is used.
50101 * posix/tst-getopt_long1.c: New file.
50102 * posix/Makefile (tests): Add tst-getopt_long1.
50103
c84cfef4
UD
50104 [BZ #10138]
50105 * scripts/config.guess: Update from autoconf-2.68.
50106 * scripts/config.sub: Likewise.
50107
3b85df27
UD
50108 [BZ #10157]
50109 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
50110 tests into ...
50111 (has_cpuclock): ...this. New function.
50112 * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
50113 macro here based on has_cpuclock code.
50114
15a856b1
UD
50115 [BZ #10149]
50116 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
50117 First byte (not low byte) is now always NUL.
50118 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
50119
05f399e6
UD
50120 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
50121 Use non-cancelable interfaces.
50122
10a52685 50123 [BZ #9809]
94ecc67d
UD
50124 * locale/iso-639.def: Add entry for Sorani.
50125
f8a3b5bf
UD
50126 [BZ #11901]
50127 * include/stdlib.h: Move include protection to the right place.
50128 Define abort_msg_s. Declare __abort_msg with it.
50129 * stdlib/abort.c (__abort_msg): Adjust type.
50130 * assert/assert.c (__assert_fail_base): New function. Majority
50131 of code from __assert_fail. Allocate memory for __abort_msg with
50132 mmap.
50133 (__assert_fail): Now call __assert_fail_base.
50134 * assert/assert-perr.c: Remove bulk of implementation. Use
50135 __assert_fail_base.
50136 * include/assert.hL Declare __assert_fail_base.
50137 * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
50138 mmap.
50139 * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
50140
1af4e298
UD
501412011-05-14 Ulrich Drepper <drepper@gmail.com>
50142
f8a3b5bf 50143 [BZ #11952]
d26dfc60
MG
50144 [BZ #12453]
50145 * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
50146 until all modules are registered in the DTV.
50147 * elf/Makefile: Add rules to build and run tst-tls19.
50148 * elf/tst-tls19.c: New file.
50149 * elf/tst-tls19mod1.c: New file.
50150 * elf/tst-tls19mod2.c: New file.
50151 * elf/tst-tls19mod3.c: New file.
50152 Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
50153
2fc54d6f
UD
50154 [BZ #12083]
50155 * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
50156 correctly.
50157
98d76b46
UD
50158 [BZ #12601]
50159 * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
50160 two-byte sequence errors.
50161 * iconvdata/Makefile (tests): Add bug-iconv8.
50162 * iconvdata/bug-iconv8.c: New file.
50163
da3c19ef
UD
50164 [BZ #12626]
50165 * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
50166 buf2 definition.
50167
ca408c15
UD
50168 * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
50169
d6f67f7d
UD
50170 [BZ #12432]
50171 * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
50172 (dummy_getcfa): New function.
50173 (init): Get _Unwind_GetCFA address, use dummy if not found.
50174 (backtrace_helper): In recursion check, also check whether CFA changes.
50175 (__backtrace): Completely initialize arg.
50176
1af4e298 50177 * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
0656e90e
UD
50178 storing incomplete byte sequence in state object. Avoid testing for
50179 guaranteed too small input if we know there is enough data available.
1af4e298 50180
da62f81b
AS
501812011-05-11 Andreas Schwab <schwab@redhat.com>
50182
50183 * Makeconfig (+link-pie): Indent.
50184 * Rules (binaries-pie): Define if $(have-fpie) and
50185 $(build-shared).
50186 (binaries-shared): Also filter out $(binaries-pie).
50187 ($(addprefix $(objpfx),$(binaries-pie))): New rule.
50188 * nscd/Makefile (others-pie): Add nscd.
50189 (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
50190 ($(objpfx)nscd): Remove command override.
50191 * login/Makefile (others-pie): Add pt_chown.
50192 ($(objpfx)pt_chown): Remove command override.
50193 * elf/Makefile: Add PIE tests to tests and tests-pie variables and
50194 remove command overrides.
50195
fcabc0f8
UD
501962011-05-13 Ulrich Drepper <drepper@gmail.com>
50197
20030ae6
UD
50198 * libio/tst_putwc.c: Fix error messages.
50199
fcabc0f8
UD
50200 [BZ #12724]
50201 * libio/fileops.c (_IO_new_file_close_it): Always flush when
50202 currently writing and seek to current position when not.
50203 * libio/Makefile (tests): Add bug-fclose1.
50204 * libio/bug-fclose1.c: New file.
50205
320a5dc0
PB
502062011-05-12 Ulrich Drepper <drepper@gmail.com>
50207
50208 [BZ #12511]
50209 * elf/dl-lookup.c (enter): Don't test for copy relocation here and
50210 don't set DF_1_NODELETE here.
50211 (do_lookup_x): When entering new entry test for copy relocation
50212 and if necessary set DF_1_NODELETE flag.
50213 * elf/tst-unique4.cc: New file.
50214 * elf/tst-unique4.h: New file.
50215 * elf/tst-unique4lib.cc: New file.
50216 * elf/Makefile: Add rules to build and run tst-unique4.
50217 Patch by Piotr Bury <pbury@goahead.com>.
50218
22836f52
UD
502192011-05-11 Ulrich Drepper <drepper@gmail.com>
50220
f574184a
UD
50221 [BZ #12052]
50222 * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
50223
e1fb097f
UD
50224 [BZ #12625]
50225 * misc/mntent_r.c (addmntent): Flush the stream after the output
50226
22836f52
UD
50227 [BZ #12393]
50228 * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
50229 (is_trusted_path_normalize): Skip initial colon. Append slash
50230 to empty buffer. Duplicate is_trusted_path code but allow
50231 constructed patch to be prefix.
50232 (is_dst): Allow $ORIGIN followed by /.
50233 (_dl_dst_substitute): Correct clearing of check_for_trusted.
50234 Correct testing of result of is_trusted_path_normalize
50235 (decompose_rpath): Fix warning.
50236
7b3b0b2a
UD
502372011-05-10 Ulrich Drepper <drepper@gmail.com>
50238
50239 [BZ #11257]
50240 * grp/initgroups.c (internal_getgrouplist): When we found the service
50241 list through the initgroups entry in nsswitch.conf do not always
50242 continue on a successful lookup. Don't always use the
eac80ce2 50243 __nss_group_database value if it is set.
7b3b0b2a
UD
50244 * nss/nsswitch.conf (initgroups): Change action for successful db
50245 lookup to continue for compatibility.
50246
2a81eaa5
UD
502472011-05-09 Ulrich Drepper <drepper@gmail.com>
50248
be97a69e
UD
50249 [BZ #11532]
50250 * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
50251 and CP774 modules.
50252 * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
50253 and CP774 modules.
50254 * iconvdata/tst-tables.sh: Likewise.
50255 * iconvdata/cp770.c: New file.
50256 * iconvdata/cp771.c: New file.
50257 * iconvdata/cp772.c: New file.
50258 * iconvdata/cp773.c: New file.
50259 * iconvdata/cp774.c: New file.
50260 * iconvdata/testdata/CP770: New file.
50261 * iconvdata/testdata/CP770..UTF8: New file.
50262 * iconvdata/testdata/CP771: New file.
50263 * iconvdata/testdata/CP771..UTF8: New file.
50264 * iconvdata/testdata/CP772: New file.
50265 * iconvdata/testdata/CP772..UTF8: New file.
50266 * iconvdata/testdata/CP773: New file.
50267 * iconvdata/testdata/CP773..UTF8: New file.
50268 * iconvdata/testdata/CP774: New file.
50269 * iconvdata/testdata/CP774..UTF8: New file.
50270
50271 * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
50272 END CHARMAP line.
50273 * iconvdata/gen-8bit-gap.sh: Likewise.
50274 * iconvdata/gen-8bit.sh: Likewise.
50275
c1e9e399
UD
50276 * locale/iso-639.def: Add ary entry.
50277
24c55fb3 50278 [BZ #11258]
96b4b1b0
UD
50279 * locale/C-translit.h.in: Add U20A1 transliteration.
50280
bdc2f971
KB
50281 [BZ #12178]
50282 * locale/iso-639.def: Add wae entry.
50283 Patch by Kevin Bortis <bortis@translate-wae.ch>.
50284
2952b117
UD
50285 [BZ #12545]
50286 * locale/programs/localedef.c (construct_output_path): Use ssize_t
50287 for n.
50288
2a81eaa5
UD
50289 [BZ #12711]
50290 * locale/C-translit.h.in: Add entry for U20B9.
50291 Patch by pravin.d.s@gmail.com.
50292
28377d1b
UD
502932011-05-08 Ulrich Drepper <drepper@gmail.com>
50294
7fb90fb8
UD
50295 [BZ #12713]
50296 * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
50297 ENAMETOOLONG use generic getcwd.
6fb2dde3
UD
50298 * sysdeps/posix/getcwd.c: Add support to use openat. Make usable
50299 in rtld. Use *stat64.
7fb90fb8 50300 * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
6fb2dde3 50301 Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
7fb90fb8 50302 * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
6fb2dde3
UD
50303 * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
50304 * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
50305 * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
50306 * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
50307 __fstatat64 macros.
7fb90fb8
UD
50308 * include/dirent.h: Add libc_hidden_proto for rewinddir.
50309 * dirent/rewinddir.c: Add libc_hidden_def.
50310 * sysdeps/mach/hurd/rewinddir.c: Likewise.
6fb2dde3 50311 * sysdeps/unix/rewinddir.c: Likewise. Don't do locking outside libc.
7fb90fb8 50312
28377d1b
UD
50313 * include/dirent.h (__alloc_dir): Add flags parameter.
50314 * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
50315 * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
50316 __alloc_dir.
50317 (__alloc_dir): Take new parameter. Don't call fcntl for invocations
50318 from fdopendir if O_CLOEXEC is already set.
50319
66bdbaa4
AM
503202011-03-15 Alan Modra <amodra@gmail.com>
50321
50322 * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
50323 l_tls_firstbyte_offset non-zero. Save padding offset in
50324 l_tls_firstbyte_offset for later use.
50325 * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
50326 freeing static tls block.
50327
95721191
JN
503282011-03-05 Jonathan Nieder <jrnieder@gmail.com>
50329
50330 * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
50331 where #ifdef was intended. The intent is to prevent ARG_MAX from
50332 being defined by the kernel headers.
50333
f87dfb1f
UD
503342011-05-07 Ulrich Drepper <drepper@gmail.com>
50335
50336 [BZ #12734]
50337 * resolv/resolv.h: Define RES_NOTLDQUERY.
50338 * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
50339 no-tld-query and set RES_NOTLDQUERY.
50340 * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
50341 * resolv/res_query.c (__libc_res_nsearch): Backport changes from
50342 modern BIND to search name as TLD unless forbidden.
50343
47c3cd7a
UD
503442011-05-07 Petr Baudis <pasky@suse.cz>
50345 Ulrich Drepper <drepper@gmail.com>
50346
50347 [BZ #12393]
50348 * elf/dl-load.c (fillin_rpath): Move trusted path check...
50349 (is_trusted_path): ...to here.
c1e9ea35 50350 (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
47c3cd7a 50351 (_dl_dst_substitute): Verify expanded $ORIGIN path elements
c1e9ea35 50352 using is_trusted_path_normalize() in setuid scripts.
47c3cd7a 50353
8a35c912
PP
503542011-05-06 Paul Pluzhnikov <ppluzhnikov@google.com>
50355
50356 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
50357 __BEGIN/__END_DECLS.
50358
acd41f47
UD
503592011-05-06 Ulrich Drepper <drepper@gmail.com>
50360
50361 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
50362 NSS_STATUS_NOTFOUND if no record was found.
50363
597df647
AS
503642011-05-05 Andreas Schwab <schwab@redhat.com>
50365
50366 * sunrpc/Makefile (headers): Add rpc/netdb.h.
50367 (headers-not-in-tirpc): Remove rpc/netdb.h
50368 * resolv/netdb.h: Revert last change.
50369
b9af1301
PP
503702011-05-05 Paul Pluzhnikov <ppluzhnikov@google.com>
50371
50372 * Makeconfig (link-libc-static): Use --{start,end}-group to handle
50373 circular dependency between libgcc.a and libc.a.
50374
4e34d5f5
AS
503752011-05-05 Andreas Schwab <schwab@redhat.com>
50376
50377 * resolv/netdb.h: Don't include <rpc/netdb.h>.
50378 * nis/Makefile: Don't install rpcsvc/*.
50379 * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
50380 instead of <rpc/types.h>.
50381 (MAXHOSTNAMELEN): Define.
50382
00ee369c
AS
503832011-05-03 Andreas Schwab <schwab@redhat.com>
50384
50385 * elf/ldconfig.c (add_dir): Don't crash on empty path.
50386
0b592a30
MB
503872011-04-28 Maciej Babinski <mbabinski@google.com>
50388
50389 [BZ #12714]
50390 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
50391 gethostbyname4_r when IPv6 results are possible.
50392
6e04cbbe
UD
503932011-05-02 Ulrich Drepper <drepper@gmail.com>
50394
50395 [BZ #12723]
50396 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
50397 _PC_PIPE_BUF handling.
50398
e4ecafe0
BH
503992011-04-30 Bruno Haible <bruno@clisp.org>
50400
50401 [BZ #12717]
50402 * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
50403 * resolv/netdb.h (getnameinfo): Change type of flags parameter
50404 to 'int'.
50405 * inet/getnameinfo.c (getnameinfo): Likewise.
50406
125ee683
UD
504072011-04-29 Ulrich Drepper <drepper@gmail.com>
50408
50409 * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
50410 to groups setting in database lookup.
50411 * nss/nsswitch.conf: Add initgroups entry.
50412
b722481a
EB
504132011-04-22 Ulrich Drepper <drepper@gmail.com>
50414
50415 [BZ #12685]
50416 * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
50417 mode string.
50418 Patch by Eric Blake <eblake@redhat.com>.
50419
4df46dbd
L
504202011-04-20 H.J. Lu <hongjiu.lu@intel.com>
50421
50422 * sunrpc/Makefile (need-export-routines): Add svc_run.
50423 (routines): Remove svc_run.
50424 ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
50425 * sunrpc/clnt_perr.c (clnt_perrno): Export.
50426 * sunrpc/svc_run.c (svc_run): Likewise.
50427 * sunrpc/svc_udp.c (svcudp_create): Likewise.
50428
e84142d2
UD
504292011-04-21 Ulrich Drepper <drepper@gmail.com>
50430
50431 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
50432 problem in reallocation in last patch.
50433
877175d8
UD
504342011-04-20 Ulrich Drepper <drepper@gmail.com>
50435
50436 * sunrpc/Makefile: Move inclusion of Rules.
50437
ab8eed78
UD
504382011-04-19 Ulrich Drepper <drepper@gmail.com>
50439
50440 * nss/nss_files/files-initgroups.c: New file.
50441 * nss/Makefile (libnss_files-routines): Add files-initgroups.
50442 * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
50443 _nss_files_initgroups_dyn.
50444
e3d8f584
RS
504452011-03-31 Richard Sandiford <richard.sandiford@linaro.org>
50446
50447 * elf/elf.h (R_ARM_IRELATIVE): Define.
50448
af190f45
UD
504492011-04-19 Ulrich Drepper <drepper@gmail.com>
50450
50451 * po/ru.po: Update from translation team.
50452
53cf59ef
UD
504532011-04-17 Ulrich Drepper <drepper@gmail.com>
50454
50455 * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
50456 dependencies.
50457
4c559bcd
MF
504582011-02-06 Mike Frysinger <vapier@gentoo.org>
50459
50460 [BZ #12653]
50461 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
50462 MEMCPY_CHK with USE_AS_BCOPY ifdef check.
50463 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
50464 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
50465 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
50466
4420675c
AS
504672011-03-28 Andreas Schwab <schwab@linux-m68k.org>
50468
50469 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
50470 differing bytes.
50471 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
50472 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
50473 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
50474
75ea32ab
UD
504752011-04-17 Ulrich Drepper <drepper@gmail.com>
50476
50477 [BZ #12420]
50478 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
50479 storing it.
50480 * stdlib/bug-getcontext.c: New file.
50481 * stdlib/Makefile: Add rules to build and run bug-getcontext.
50482
27390476
AK
504832011-04-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
50484
50485 * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
50486 instructions into .machine "z9-109".
50487 * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
50488 * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
50489
10442705
AK
504902011-04-11 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
50491
50492 * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
50493 between environment variables and auxiliary vector.
50494
7b57bfe5
UD
504952011-04-16 Ulrich Drepper <drepper@gmail.com>
50496
50497 * Makefile: Add rules to build linkobj/libc.so.
50498 * include/libc-symbols.h: Define libc_hidden_nolink.
50499 * include/rpc/auth.h: Mark functions which are to be hidden.
50500 * include/rpc/auth_des.h: Likewise.
50501 * include/rpc/auth_unix.h: Likewise.
50502 * include/rpc/clnt.h: Likewise.
50503 * include/rpc/des_crypt.h: Likewise.
50504 * include/rpc/key_prot.h: Likewise.
50505 * include/rpc/pmap_clnt.h: Likewise.
50506 * include/rpc/pmap_prot.h: Likewise.
50507 * include/rpc/pmap_rmt.h: Likewise.
50508 * include/rpc/rpc_msg.h: Likewise.
50509 * include/rpc/svc.h: Likewise.
50510 * include/rpc/svc_auth.h: Likewise.
50511 * include/rpc/xdr.h: Likewise.
50512 * nis/Makefile: Link all DSOs against linkobj/libc.so.
50513 * nss/Makefile: Likewise.
50514 * sunrpc/Makefile: Don't install headers. Build library with normal
50515 entry points. Don't build rpcinfo. Link RPC tests appropriately.
50516 * sunrpc/auth_des.c: Hide exported symbols by default, export some
50517 for the compat linking library. Remove use of INTDEF/INTUSE.
50518 * sunrpc/auth_none.c: Likewise.
50519 * sunrpc/auth_unix.c: Likewise.
50520 * sunrpc/authdes_prot.c: Likewise.
50521 * sunrpc/authuxprot.c: Likewise.
50522 * sunrpc/clnt_gen.c: Likewise.
50523 * sunrpc/clnt_perr.c: Likewise.
50524 * sunrpc/clnt_raw.c: Likewise.
50525 * sunrpc/clnt_simp.c: Likewise.
50526 * sunrpc/clnt_tcp.c: Likewise.
50527 * sunrpc/clnt_udp.c: Likewise.
50528 * sunrpc/clnt_unix.c: Likewise.
50529 * sunrpc/des_crypt.c: Likewise.
50530 * sunrpc/des_soft.c: Likewise.
50531 * sunrpc/get_myaddr.c: Likewise.
50532 * sunrpc/key_call.c: Likewise.
50533 * sunrpc/key_prot.c: Likewise.
50534 * sunrpc/netname.c: Likewise.
50535 * sunrpc/pm_getmaps.c: Likewise.
50536 * sunrpc/pm_getport.c: Likewise.
50537 * sunrpc/pmap_clnt.c: Likewise.
50538 * sunrpc/pmap_prot.c: Likewise.
50539 * sunrpc/pmap_prot2.c: Likewise.
50540 * sunrpc/pmap_rmt.c: Likewise.
50541 * sunrpc/publickey.c: Likewise.
50542 * sunrpc/rpc_cmsg.c: Likewise.
50543 * sunrpc/rpc_common.c: Likewise.
50544 * sunrpc/rpc_dtable.c: Likewise.
50545 * sunrpc/rpc_prot.c: Likewise.
50546 * sunrpc/rpc_thread.c: Likewise.
50547 * sunrpc/rtime.c: Likewise.
50548 * sunrpc/svc.c: Likewise.
50549 * sunrpc/svc_auth.c: Likewise.
50550 * sunrpc/svc_authux.c: Likewise.
50551 * sunrpc/svc_raw.c: Likewise.
50552 * sunrpc/svc_run.c: Likewise.
50553 * sunrpc/svc_simple.c: Likewise.
50554 * sunrpc/svc_tcp.c: Likewise.
50555 * sunrpc/svc_udp.c: Likewise.
50556 * sunrpc/svc_unix.c: Likewise.
50557 * sunrpc/svcauth_des.c: Likewise.
50558 * sunrpc/xcrypt.c: Likewise.
50559 * sunrpc/xdr.c: Likewise.
50560 * sunrpc/xdr_array.c: Likewise.
50561 * sunrpc/xdr_float.c: Likewise.
50562 * sunrpc/xdr_intXX_t.c: Likewise.
50563 * sunrpc/xdr_mem.c: Likewise.
50564 * sunrpc/xdr_rec.c: Likewise.
50565 * sunrpc/xdr_ref.c: Likewise.
50566 * sunrpc/xdr_sizeof.c: Likewise.
50567 * sunrpc/xdr_stdio.c: Likewise.
50568
e6c61494
UD
505692011-04-10 Ulrich Drepper <drepper@gmail.com>
50570
50571 [BZ #12650]
50572 * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
50573 * sysdeps/ia64/dl-tls.h: Likewise.
50574 * sysdeps/powerpc/dl-tls.h: Likewise.
50575 * sysdeps/s390/dl-tls.h: Likewise.
50576 * sysdeps/sh/dl-tls.h: Likewise.
50577 * sysdeps/sparc/dl-tls.h: Likewise.
50578 * sysdeps/x86_64/dl-tls.h: Likewise.
50579 * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
50580
34fe483e
AS
505812011-03-14 Andreas Schwab <schwab@redhat.com>
50582
50583 * elf/dl-load.c (_dl_dst_substitute): When skipping the first
50584 rpath element also skip the following colon.
50585 (expand_dynamic_string_token): Add is_path parameter and pass
50586 down to DL_DST_REQUIRED and _dl_dst_substitute.
50587 (decompose_rpath): Call expand_dynamic_string_token with
50588 non-zero is_path. Ignore empty rpaths.
50589 (_dl_map_object_from_fd): Call expand_dynamic_string_token
50590 with zero is_path.
50591
f12a32e6
AS
505922011-04-08 Andreas Schwab <schwab@linux-m68k.org>
50593
50594 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
50595 Make cancelable.
50596
38a7d692
UD
505972011-04-09 Ulrich Drepper <drepper@gmail.com>
50598
50599 [BZ #12655]
50600 * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
50601 Patch by Filipe David Manana <fdmanana@apache.org>.
50602
e451d22b
AS
506032011-04-07 Andreas Schwab <schwab@redhat.com>
50604
50605 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
50606 Maintain aligned stack.
50607 (CHECK_RSP): Remove unused macro.
50608
dedc7c7b
UD
506092011-04-03 Ulrich Drepper <drepper@gmail.com>
50610
50611 * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
50612 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
50613
94521213
UD
506142011-04-02 Ulrich Drepper <drepper@gmail.com>
50615
50616 * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
50617
8cb700c0 50618 * include/features.h: Mention __USE_XOPEN2K8 in comment.
81489b2e 50619
0354e355
L
506202011-03-26 H.J. Lu <hongjiu.lu@intel.com>
50621
50622 [BZ #12518]
50623 * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
50624 * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
50625 * sysdeps/x86_64/memmove.c: New file.
50626 * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
50627 (memcpy): Renamed to ...
50628 (__new_memcpy): This.
50629 (memcpy): Provide GLIBC_2_14 memcpy.
50630 * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
50631 (memcpy): Provide GLIBC_2_2_5 memcpy.
50632
8593482f
UD
506332011-04-01 Ulrich Drepper <drepper@gmail.com>
50634
50635 [BZ #12631]
50636 * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
50637
81a5726b
AS
506382011-03-30 Andreas Schwab <schwab@redhat.com>
50639
50640 * misc/syncfs.c: New file.
50641 * misc/Makefile (routines): Add syncfs.
50642 * posix/unistd.h: Declare syncfs.
50643 * sysdeps/unix/syscalls.list: Add syncfs.
50644
00e5419f
AS
506452011-04-01 Andreas Schwab <schwab@redhat.com>
50646
50647 * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
50648 open_by_handle_at.
50649 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
50650 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
50651 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
50652 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
50653 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
50654 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
50655 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
50656
748876bf
UD
506572011-04-01 Ulrich Drepper <drepper@gmail.com>
50658
658e451d
UD
50659 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
50660 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
50661 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
50662 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
50663 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
50664 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
50665 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
50666
748876bf
UD
50667 * io/Makefile: Compile fallocate.c, fallocate64.c, and
50668 sync_file_range.c with -fexceptions.
50669 * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
50670 * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
50671 * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
50672 * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
50673 * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
50674 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
50675 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
3167dad0
UD
50676 sync_file_range as cancellation point
50677 * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file. This is
50678 now a wrapper around __call_sync_file_range with cancellation handling.
50679 * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
50680 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this. Change
50681 function name to __call_sync_file_range.
50682 * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
50683 Add call_sync_file_range.
748876bf 50684
6e63d5e1
AS
506852011-04-01 Andreas Schwab <schwab@redhat.com>
50686
50687 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
748876bf 50688 bits/timex.h.
6e63d5e1 50689
46998f74
UD
506902011-04-01 Ulrich Drepper <drepper@gmail.com>
50691
4c1423ed
UD
50692 * iconv/iconv.h: Fix typo in comment.
50693 * io/fcntl.h: Likewise.
50694 * libio/stdio.h: Likewise.
50695 * posix/spawn.h: Likewise.
50696 * posix/unistd.h: Likewise.
50697 * stdlib/stdlib.h: Likewise.
50698 * time/time.h: Likewise.
50699 * wcsmbs/wchar.h: Likewise.
50700
158648c0
UD
50701 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
50702 open_by_handle): Add.
50703 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
50704 and MAX_HANDLE_SZ. Declare name_to_handle_at and open_by_handle.
50705 Augment a few comments.
50706 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
50707 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
50708 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
50709 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
50710 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
50711 * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
50712 open_by_handle.
50713
46998f74
UD
50714 * io/fcntl.h (AT_EMPTY_PATH): Define.
50715
83fe108b
UD
507162011-03-30 Ulrich Drepper <drepper@gmail.com>
50717
50718 * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
50719 * sysdeps/unix/sysv/linux/bits/time.h: New file.
50720 * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
50721 to...
50722 * sysdeps/unix/sysv/linux/bits/timex.h: ...here. New file.
034c4e15
UD
50723 * Versions.def: Add GLIBC_2.14.
50724 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
50725 Export.
83fe108b 50726
bb242059
UD
507272011-03-22 Ulrich Drepper <drepper@gmail.com>
50728
50729 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
50730 round counter.
50731 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
50732
c97a1282
L
507332011-03-20 H.J. Lu <hongjiu.lu@intel.com>
50734
50735 [BZ #12597]
50736 * string/test-strncmp.c (do_page_test): New function.
50737 (check2): Likewise.
50738 (test_main): Call check2.
50739 * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
50740
2a115601
UD
507412011-03-20 Ulrich Drepper <drepper@gmail.com>
50742
50743 [BZ #12587]
50744 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
50745 Handle cache information in CPU leaf 4.
50746 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
50747
8126d904
UD
507482011-03-18 Ulrich Drepper <drepper@gmail.com>
50749
042c49c6 50750 [BZ #12583]
8126d904
UD
50751 * posix/fnmatch.c (fnmatch): Check size of pattern in wide
50752 character representation.
50753 Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
50754
ccfe366e
RA
507552011-03-16 Ryan S. Arnold <rsa@us.ibm.com>
50756
50757 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
50758 END(__isnan) to END(__isnanf) to match function entry point/label
50759 EALIGN(__isnanf,...).
50760
c6e13027
JJ
507612011-03-10 Jakub Jelinek <jakub@redhat.com>
50762
50763 * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
50764
33f85a3f
UD
507652011-03-10 Ulrich Drepper <drepper@gmail.com>
50766
028478fa
UD
50767 [BZ #12510]
50768 * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
50769 copy from the symbol referenced in the relocation to initialize the
50770 used variable.
50771 Patch by Piotr Bury <pbury@goahead.com>.
50772 * elf/Makefile: Add rules to build and tst-unique3.
50773 * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
50774 * elf/tst-unique3.cc: New file.
50775 * elf/tst-unique3.h: New file.
50776 * elf/tst-unique3lib.cc: New file.
50777 * elf/tst-unique3lib2.cc: New file.
50778
33f85a3f
UD
50779 * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
50780
03592fc7
MF
507812011-03-10 Mike Frysinger <vapier@gentoo.org>
50782
50783 * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
50784 $LDFLAGS and -nostdlib -nostartfiles to linking step. Change main
50785 to _start.
03592fc7 50786
6a5ee102
UD
507872011-03-06 Ulrich Drepper <drepper@gmail.com>
50788
50789 * elf/dl-load.c (_dl_map_object): If we are looking for the first
50790 to-be-loaded object along a path to loader is ld.so.
50791
7e4ba49c
HJ
507922011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
50793 Ulrich Drepper <drepper@gmail.com>
50794
50795 * sysdeps/x86_64/memset.S: After aligning destination, code
50796 branches to different locations depending on the value of
50797 misalignment, when multiarch is enabled. Fix this.
50798
507992011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
50800
50801 * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
50802 Set _x86_64_preferred_memory_instruction for AMD processsors.
50803 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
50804 Set bit_Prefer_SSE_for_memop for AMD processors.
50805
13a804de
UD
508062011-03-04 Ulrich Drepper <drepper@gmail.com>
50807
50808 * libio/fmemopen.c (fmemopen): Optimize a bit.
50809
9d25c392
AS
508102011-03-03 Andreas Schwab <schwab@redhat.com>
50811
50812 * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
50813
a5543c6a
RM
508142011-03-03 Roland McGrath <roland@redhat.com>
50815
50816 * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
50817
012d35f7
DM
508182011-02-28 Aurelien Jarno <aurelien@aurel32.net>
50819
7e4ba49c 50820 * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
012d35f7
DM
50821 __bzero_ultra1 instead of __memset_ultra1.
50822
4bff6e01
AS
508232011-02-23 Andreas Schwab <schwab@redhat.com>
50824 Ulrich Drepper <drepper@gmail.com>
50825
50826 [BZ #12509]
50827 * include/link.h (struct link_map): Add l_orig_initfini.
50828 * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
50829 returning unsuccessfully.
50830 * elf/dl-close.c (_dl_close_worker): If this is the last explicit
50831 close of a file loaded at startup, restore the original l_initfini
50832 list.
50833 * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
50834 list, store the pointer.
50835 * elf/Makefile ($(objpfx)noload-mem): New rule.
50836 (noload-ENV): Define.
50837 (tests): Add $(objpfx)noload-mem.
50838 * elf/noload.c: Include <memcheck.h>.
50839 (main): Call mtrace. Close all opened handles.
50840
f2092faf
AS
508412011-02-17 Andreas Schwab <schwab@redhat.com>
50842
50843 [BZ #12454]
50844 * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
50845 dependencies are missing.
50846
6c8a2e88
ST
508472011-02-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
50848
f2092faf 50849 Fix __if_freereq crash: Unlike the generic version which uses free,
6c8a2e88
ST
50850 Hurd needs munmap.
50851 * sysdeps/mach/hurd/ifreq.h: New file.
50852
84a42118
PB
508532011-01-27 Petr Baudis <pasky@suse.cz>
50854 Ulrich Drepper <drepper@gmail.com>
50855
071f805e 50856 [BZ 12445]#
84a42118
PB
50857 * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
50858 to extend_alloca().
50859 * stdio-common/bug23.c: New file.
50860 * stdio-common/Makefile (tests): Add bug23.
50861
e23fe25b
AS
508622010-09-28 Andreas Schwab <schwab@redhat.com>
50863 Ulrich Drepper <drepper@gmail.com>
50864
50865 [BZ #12489]
50866 * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
50867 before performing relro protection. At old place add assertion
50868 to make sure nothing changed.
50869
d3f02e10
NS
508702011-02-17 Nathan Sidwell <nathan@codesourcery.com>
50871 Glauber de Oliveira Costa <glommer@gmail.com>
50872
50873 * elf/elf.h: Add new ARM TLS relocs.
50874
d55fd7a5
RA
508752011-02-16 Ryan S. Arnold <rsa@us.ibm.com>
50876
50877 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
50878 (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
50879 cast from r3.
50880 * sysdeps/wordsize-64/Makefile: New file. Add tst-writev to
50881 'tests' variable.
50882 * sysdeps/wordsize-64/tst-writev.c: New file.
50883
2206397e
RA
508842011-02-15 Ryan S. Arnold <rsa@us.ibm.com>
50885
50886 * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
50887 -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
50888 insns in _dl_start to prevent a TOC reference before relocs are
50889 resolved.
50890
e9433893
UD
508912011-02-15 Ulrich Drepper <drepper@gmail.com>
50892
50893 [BZ #12469]
50894 * Makeconfig: Remove RANLIB definition.
50895 * Makerules: Don't use RANLIB.
50896 * aclocal.m4: Remove ranlib test.
50897 * configure.in: No need to check for ranlib.
50898 * elf/rtld-Rules: Don't use RANLIB.
50899
f75286c6
ST
509002011-02-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
50901
8e31c82d
ST
50902 * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
50903 protection macro.
50904 * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
50905 inclusion protection macro.
50906
f75286c6
ST
50907 * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
50908 SIGRTMIN and SIGRTMAX and print information in that case only when
50909 SIGRTMIN is defined.
50910
c1d0e639
JJ
509112011-02-11 Jakub Jelinek <jakub@redhat.com>
50912
50913 * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
50914 arginfo fn returning -1.
50915
50916 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
50917 and thousands string is zero terminated.
50918
edf9294e
AS
509192011-02-03 Andreas Schwab <schwab@redhat.com>
50920
50921 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
50922 sysdeps/unix/sysv/linux/bits/socket.h.
50923
2b7e92df
ST
509242011-01-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
50925
edf9294e
AS
50926 * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
50927 (__CPU_COUNT): Remove old macros.
50928 (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
50929 (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
50930 (__CPU_ALLOC, __CPU_FREE): Add macros.
2b7e92df
ST
50931 (__sched_cpualloc, __sched_cpufree): Add declarations.
50932
a4c7ea7b
UD
509332011-02-05 Ulrich Drepper <drepper@gmail.com>
50934
50935 * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
50936 (struct datahead): Reuse 32 bits of the alignment for a TTL field.
50937 * nscd/aicache.c (addhstaiX): Return timeout of added value.
50938 (readdhstai): Return value of addhstaiX call.
50939 * nscd/grpcache.c (cache_addgr): Return timeout of added value.
50940 (addgrbyX): Return value returned by cache_addgr.
50941 (readdgrbyname): Return value returned by addgrbyX.
50942 (readdgrbygid): Likewise.
50943 * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
50944 (addpwbyX): Return value returned by cache_addpw.
50945 (readdpwbyname): Return value returned by addhstbyX.
50946 (readdpwbyuid): Likewise.
50947 * nscd/servicescache.c (cache_addserv): Return timeout of added value.
50948 (addservbyX): Return value returned by cache_addserv.
50949 (readdservbyname): Return value returned by addservbyX:
50950 (readdservbyport): Likewise.
50951 * nscd/hstcache.c (cache_addhst): Return timeout of added value.
50952 (addhstbyX): Return value returned by cache_addhst.
50953 (readdhstbyname): Return value returned by addhstbyX.
50954 (readdhstbyaddr): Likewise.
50955 (readdhstbynamev6): Likewise.
50956 (readdhstbyaddrv6): Likewise.
50957 * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
50958 (readdinitgroups): Return value returned by addinitgroupsX.
50959 * nscd/cache.c (readdfcts): Change return value of functions to time_t.
50960 (prune_cache): Keep track of timeout value of re-added entries.
50961 * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
50962 * nscd/nscd.h: Adjust prototypes of readd* functions.
50963
a0bf67cc
RM
509642011-02-04 Roland McGrath <roland@redhat.com>
50965
50966 * nis/nis_server.c (nis_servstate): Use the right name for 0.
50967 (nis_stats): Likewise.
50968 * nis/nis_modify.c (nis_modify): Likewise.
50969 * nis/nis_remove.c (nis_remove): Likewise.
50970 * nis/nis_add.c (nis_add): Likewise.
50971
50972 * elf/dl-object.c (_dl_new_object): Remove unused variable L.
50973
50974 * posix/fnmatch_loop.c: Add some consts.
50975
50976 * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
50977
435b95eb
L
509782011-02-02 H.J. Lu <hongjiu.lu@intel.com>
50979
50980 [BZ #12460]
50981 * config.make.in (config-cflags-novzeroupper): Define.
50982 * configure.in: Substitute libc_cv_cc_novzeroupper.
50983 * elf/Makefile (AVX-CFLAGS): Define.
50984 (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
50985 (CFLAGS-tst-auditmod4a.c): Likewise.
50986 (CFLAGS-tst-auditmod4b.c): Likewise.
50987 (CFLAGS-tst-auditmod6b.c): Likewise.
50988 (CFLAGS-tst-auditmod6c.c): Likewise.
50989 (CFLAGS-tst-auditmod7b.c): Likewise.
50990 * sysdeps/i386/configure.in: Check -mno-vzeroupper.
50991
8517b15e
UD
509922011-02-02 Ulrich Drepper <drepper@gmail.com>
50993
50994 * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
50995 function to the callback.
50996 Patch partly by Jiri Olsa <jolsa@redhat.com>.
50997
10a656fe
AS
509982011-02-02 Andreas Schwab <schwab@redhat.com>
50999
51000 * shadow/sgetspent.c: Check return value of __sgetspent_r instead
51001 of errno.
51002
968dad0a
UD
510032011-01-19 Ulrich Drepper <drepper@gmail.com>
51004
9f94d2ea 51005 [BZ #11724]
968dad0a
UD
51006 * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
51007 of constructors.
51008 * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
51009 of destructors.
51010 (_dl_fini): Don't call _dl_sort_fini if there is only one object.
51011
51012 [BZ #11724]
51013 * elf/Makefile: Add rules to build and run new test.
51014 * elf/tst-initorder.c: New file.
51015 * elf/tst-initorder.exp: New file.
51016 * elf/tst-initordera1.c: New file.
51017 * elf/tst-initordera2.c: New file.
51018 * elf/tst-initordera3.c: New file.
51019 * elf/tst-initordera4.c: New file.
51020 * elf/tst-initorderb1.c: New file.
51021 * elf/tst-initorderb2.c: New file.
51022 * elf/tst-order-a1.c: New file.
51023 * elf/tst-order-a2.c: New file.
51024 * elf/tst-order-a3.c: New file.
51025 * elf/tst-order-a4.c: New file.
51026 * elf/tst-order-b1.c: New file.
51027 * elf/tst-order-b2.c: New file.
51028 * elf/tst-order-main.c: New file.
51029 New test case by George Gensure <werkt0@gmail.com>.
51030
86e92359
UD
510312010-10-01 Andreas Schwab <schwab@redhat.com>
51032
51033 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
51034 decoding ACE if AI_CANONIDN.
51035
5d5732b0
UD
510362011-01-18 Ulrich Drepper <drepper@gmail.com>
51037
51038 * elf/Makefile: Build IFUNC tests unless multi-arch = no.
51039
a77e8cbc
UD
510402011-01-17 Ulrich Drepper <drepper@gmail.com>
51041
6392473f
UD
51042 * version.h (RELEASE): Bump for 2.13 release.
51043 * include/features.h: (__GLIBC_MINOR__): Bump to 13.
51044
620a0529
UD
51045 * io/fcntl.h: Define AT_NO_AUTOMOUNT.
51046
18ba70a5
UD
51047 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
51048 MADV_NOHUGEPAGE.
32465c3e
UD
51049 * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
51050 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
51051 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
51052 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
51053 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
51054 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
51055
c0dafcf1
UD
51056 * posix/getconf.c: Update copyright year.
51057 * catgets/gencat.c: Likewise.
51058 * csu/version.c: Likewise.
51059 * debug/catchsegv.sh: Likewise.
51060 * debug/xtrace.sh: Likewise.
51061 * elf/ldconfig.c: Likewise.
51062 * elf/ldd.bash.in: Likewise.
51063 * elf/sprof.c (print_version): Likewise.
51064 * iconv/iconv_prog.c: Likewise.
51065 * iconv/iconvconfig.c: Likewise.
51066 * locale/programs/locale.c: Likewise.
51067 * locale/programs/localedef.c: Likewise.
51068 * malloc/memusage.sh: Likewise.
51069 * malloc/mtrace.pl: Likewise.
51070 * nscd/nscd.c (print_version): Likewise.
51071 * nss/getent.c: Likewise.
51072
a77e8cbc
UD
51073 * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
51074 PF_CAIF, and PF_ALG.
51075 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
51076
77e8bddf
AS
510772011-01-16 Andreas Schwab <schwab@linux-m68k.org>
51078
1f20b93a
AS
51079 * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
51080 (modules-names): Use them.
51081 (ifunc-test-modules, ifunc-pie-tests): Define.
51082 (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
51083 tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
51084 (test-extras): Likewise.
51085 ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
51086 $(compile-command.c).
51087 ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
51088 (all-built-dso): Define.
51089 (check-textrel.out, check-execstack.out): Depend on it.
51090
77e8bddf
AS
51091 * configure.in: Don't override --enable-multi-arch.
51092
bc425b33
UD
510932011-01-15 Ulrich Drepper <drepper@gmail.com>
51094
51095 [BZ #6812]
51096 * nscd/hstcache.c (tryagain): Define.
51097 (cache_addhst): Return tryagain not notfound for temporary errors.
51098 (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
51099 failed.
51100
794c3ad3
UD
511012011-01-14 Ulrich Drepper <drepper@gmail.com>
51102
70181fdd
UD
51103 [BZ #10563]
51104 * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
51105 to make the syscall.
51106 * sysdeps/unix/sysv/linux/setgroups.c: New file.
51107
794c3ad3
UD
51108 [BZ #12378]
51109 * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
51110 and fall back to matching as normal character if the string ends before
51111 the matching ']' is found. This is what POSIX requires.
51112 * posix/testfnm.c: Adjust test result.
51113 * posix/globtest.sh: Adjust test result. Add new test.
51114 * posix/tst-fnmatch.input: Likewise.
51115 * posix/tst-fnmatch2.c: Add new test.
51116
68dc9497
AS
511172010-12-28 Andreas Schwab <schwab@linux-m68k.org>
51118
51119 * elf/Makefile (check-execstack): Revert last change. Depend on
51120 check-execstack.h.
51121 (check-execstack.h): New target.
51122 (generated): Add check-execstack.h.
51123 * elf/check-execstack.c: Include "check-execstack.h".
51124 (main): Revert last change.
51125 (handle_file): Return zero if GNU_STACK is absent and
51126 DEFAULT_STACK_PERMS doesn't include PF_X.
51127
451f001b
UD
511282011-01-13 Ulrich Drepper <drepper@gmail.com>
51129
cfa28e56
UD
51130 * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
51131 in child fails because the descriptor is already closed.
8cf8ce17
UD
51132 * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
51133 * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
51134 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
cfa28e56 51135
1086d70d
UD
51136 [BZ #12397]
51137 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
51138 syscall.
51139
451f001b
UD
51140 [BZ #10484]
51141 * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
51142 temporary buffer used to handle multi lookups locally.
a85b5cb4 51143 * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
451f001b 51144
08769175
UD
511452011-01-12 Ulrich Drepper <drepper@gmail.com>
51146
51147 * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
51148 loader is ld.so.
51149
5e49c52e
UD
511502011-01-10 Paul Pluzhnikov <ppluzhnikov@google.com>
51151
51152 * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
51153 alignment for SSE2.
51154
60522a5f
UD
511552011-01-12 Ulrich Drepper <drepper@gmail.com>
51156
51157 [BZ #12394]
51158 * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
51159 characters. When rounding increased number of integer digits recompute
51160 number of groups.
51161 * stdio-common/tst-grouping.c: New file.
51162 * stdio-common/Makefile: Add rules to build and run tst-grouping.
51163
f257bbd7
UD
511642011-01-09 Ulrich Drepper <drepper@gmail.com>
51165
51166 * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
51167 __FD_CLR, and __FS_ISSET. gcc generates better code on its own.
51168
51169 * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
51170 void.
51171 * bits/select.h: Likewise.
51172
fa9c15cb
UD
511732011-01-08 Ulrich Drepper <drepper@gmail.com>
51174
51175 * po/ja.po: Update from translation team.
51176
16c2895f
DM
511772011-01-04 David S. Miller <davem@sunset.davemloft.net>
51178
51179 [BZ #11155]
51180 * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
51181 implementation just like for lxstat, fxstatat, et al.
51182
2543fef2
JM
511832010-12-27 Jim Meyering <meyering@redhat.com>
51184
51185 [BZ #12348]
51186 * posix/regexec.c (build_trtable): Return failure indication upon
51187 calloc failure. Otherwise, re_search_internal could infloop on OOM.
51188
98727dbe
UD
511892010-12-25 Ulrich Drepper <drepper@gmail.com>
51190
5bd6dc5c
UD
51191 [BZ #12201]
51192 * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
51193 * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
51194 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
51195 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
51196
97983464
UD
51197 [BZ #12207]
51198 * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
51199
98727dbe
UD
51200 [BZ #12204]
51201 * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
51202 * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
51203
4a531bb0
L
512042010-12-15 H.J. Lu <hongjiu.lu@intel.com>
51205
51206 * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
51207 * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
51208 script has SORT_BY_INIT_PRIORITY.
51209 * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
51210 NO_CTORS_DTORS_SECTIONS is defined.
51211 * elf/soinit.c: Likewise.
51212 * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
51213 NO_CTORS_DTORS_SECTIONS is defined.
51214 * sysdeps/mach/hurd/i386/init-first.c: Likewise.
51215 * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
51216 * sysdeps/sh/init-first.c: Likewise.
51217 * sysdeps/unix/sysv/linux/init-first.c: Likewise.
51218
07eb4b71
UD
512192010-12-24 Ulrich Drepper <drepper@gmail.com>
51220
51221 * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
51222 always use the slow path.
51223
30950a5f
RA
512242010-12-15 Ryan S. Arnold <rsa@us.ibm.com>
51225
51226 * elf/Makefile: (check-execstack): Replace $(native-compile) with a
51227 similar rule which adds the sysdep directories to the header search in
51228 order to pick up the correct platform stackinfo.h.
51229 * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
51230 perform test if it is, otherwise return successfully without testing.
51231 * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
51232 DEFAULT_STACK_PERMS define in stackinfo.h.
51233 * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
51234 defined in stackinfo.h.
51235 * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
51236 DEFAULT_STACK_PERMS defined in stackinfo.h.
51237 * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
51238 * sysdeps/ia64/stackinfo.h: Likewise.
51239 * sysdeps/s390/stackinfo.h: Likewise.
51240 * sysdeps/sh/stackinfo.h: Likewise.
51241 * sysdeps/sparc/stackinfo.h: Likewise.
51242 * sysdeps/x86_64/stackinfo.h: Likewise.
51243 * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
51244 PF_X for powerpc64. Retain PF_X for powerpc32.
51245
db753e2c
UD
512462010-12-19 Ulrich Drepper <drepper@gmail.com>
51247
14b697f7
UD
51248 * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
51249 accurately.
db753e2c
UD
51250 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
51251 GETDENTS_64BIT_ALIGNED.
51252
28300719
UD
512532010-12-14 Ulrich Drepper <dreper@gmail.com>
51254
14b697f7 51255 * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
28300719 51256
4f197237
AS
512572010-12-10 Andreas Schwab <schwab@redhat.com>
51258
dbb0472f
AS
51259 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
51260 _GNU_SOURCE.
51261
4f197237
AS
51262 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
51263 * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
51264 Remove __restrict.
51265 (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
51266 (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
51267
fb88ac72
UD
512682010-12-09 Ulrich Drepper <drepper@gmail.com>
51269
51270 [BZ #11655]
51271 * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
51272 are initialized.
51273
42acbb92
JJ
512742010-12-09 Jakub Jelinek <jakub@redhat.com>
51275
51276 * string/bits/string3.h (memmove, bcopy): Remove __restrict.
51277
c038d98d
UD
512782010-12-03 Ulrich Drepper <drepper@gmail.com>
51279
51280 * po/it.po: Update from translation team.
51281
3a4a2499
L
512822010-12-01 H.J. Lu <hongjiu.lu@intel.com>
51283
51284 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
51285 unused codes.
51286
1e24cf6e
UD
512872010-11-30 Ulrich Drepper <drepper@gmail.com>
51288
51289 * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
51290
a7690819
AS
512912010-11-24 Andreas Schwab <schwab@redhat.com>
51292
51293 * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
51294 specially.
51295 (gaih_getanswer_slice): Likewise.
51296
3bf8d1b1
JJ
512972010-10-20 Jakub Jelinek <jakub@redhat.com>
51298
51299 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
51300
6db52fbb
PB
513012010-05-31 Petr Baudis <pasky@suse.cz>
51302
51303 [BZ #11149]
51304 * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
51305 silently even in the chroot mode.
51306
eaca7569
UD
513072010-11-22 Ulrich Drepper <drepper@gmail.com>
51308
51309 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
51310 last patch a bit. Pretty printing
51311
3056dcdb
UD
513122010-05-31 Petr Baudis <pasky@suse.cz>
51313
51314 [BZ #10085]
51315 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
51316 initialization of skip_initgroups_dyn.
51317
cf7c9078
UD
513182010-11-19 Ulrich Drepper <drepper@gmail.com>
51319
51320 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
51321 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
51322
a1fb5e3e
UD
513232010-11-16 Ulrich Drepper <drepper@gmail.com>
51324
51325 * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
51326
3540d66b
AS
513272010-11-11 Andreas Schwab <schwab@redhat.com>
51328
51329 * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
51330 * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
51331 (tst-fnmatch-ENV): Set MALLOC_TRACE.
51332 ($(objpfx)tst-fnmatch-mem): New rule.
51333 (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
51334 * posix/tst-fnmatch.c (main): Call mtrace.
51335
13b69574
L
513362010-11-11 H.J. Lu <hongjiu.lu@intel.com>
51337
51338 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
51339 Support Intel processor model 6 and model 0x2c.
51340
da93d214
LM
513412010-11-10 Luis Machado <luisgpm@br.ibm.com>
51342
51343 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
51344 signed comparison.
51345
8ca52c6e
L
513462010-11-09 H.J. Lu <hongjiu.lu@intel.com>
51347
51348 [BZ #12205]
51349 * string/test-strncasecmp.c (check_result): New function.
51350 (do_one_test): Use it.
51351 (check1): New function.
51352 (test_main): Use it.
51353 * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
51354 Support strcasecmp and strncasecmp.
51355
69da074d
UD
513562010-11-08 Ulrich Drepper <drepper@gmail.com>
51357
51358 [BZ #12194]
51359 * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
51360 * sysdeps/x86_64/bits/byteswap.h: Likewise.
51361
ff02d528
L
513622010-11-07 H.J. Lu <hongjiu.lu@intel.com>
51363
51364 * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
51365 IFUNC support.
51366 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
51367 memset-x86-64.
51368 * sysdeps/x86_64/multiarch/bzero.S: New file.
51369 * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
51370 * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
51371 * sysdeps/x86_64/multiarch/memset.S: New file.
51372 * sysdeps/x86_64/multiarch/memset_chk.S: New file.
51373 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
51374 Set bit_Prefer_SSE_for_memop for Intel processors.
51375 * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
51376 Define.
51377 (index_Prefer_SSE_for_memop): Define.
51378 (HAS_PREFER_SSE_FOR_MEMOP): Define.
51379
344d0b54
LM
513802010-11-04 Luis Machado <luisgpm@br.ibm.com>
51381
51382 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
51383 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
51384
c0dde15b
UD
513852010-11-03 H.J. Lu <hongjiu.lu@intel.com>
51386
51387 [BZ #12191]
51388 * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
51389 (__x86_64_raw_data_cache_size_half): Likewise.
51390 (__x86_64_raw_shared_cache_size): Likewise.
51391 (__x86_64_raw_shared_cache_size_half): Likewise.
51392
51393 * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
51394 (__x86_64_raw_data_cache_size_half): Likewise.
51395 (__x86_64_raw_shared_cache_size): Likewise.
51396 (__x86_64_raw_shared_cache_size_half): Likewise.
51397 (init_cacheinfo): Set __x86_64_raw_data_cache_size,
51398 __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
51399 and __x86_64_raw_shared_cache_size_half. Round
51400 __x86_64_data_cache_size_half, __x86_64_data_cache_size
51401 __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
51402 to multiple of 256 bytes.
51403
0e516e0e
MS
514042010-11-03 Ulrich Drepper <drepper@gmail.com>
51405
51406 [BZ #12167]
51407 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
51408 of inacessible symlinks. Verify result of symlink before returning it.
51409 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
51410 Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
51411
0e012e87
ER
514122010-10-28 Erich Ritz <erichritz@gmail.com>
51413
51414 * math/math.h (isinf): Fix typo in comment.
51415
de0ff7bc
UD
514162010-11-01 Ulrich Drepper <drepper@gmail.com>
51417
51418 * po/da.po: Update from translation team.
51419
fa41c84d
UD
514202010-10-26 Ulrich Drepper <drepper@gmail.com>
51421
51422 * elf/rtld.c (dl_main): Move assertion after the point where rtld map
51423 is added to the list.
51424
f0967738
AK
514252010-10-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
51426 Ulrich Drepper <drepper@gmail.com>
51427
51428 * elf/dl-object.c (_dl_new_object): Don't append the new object to
51429 the global list here. Move code to...
51430 (_dl_add_to_namespace_list): ...here. New function.
51431 * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
51432 * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
51433 * elf/dl-load.c (lose): Don't remove the element from the list.
51434 (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
51435 (_dl_map_object): Likewise.
51436
514372010-10-25 Ulrich Drepper <drepper@gmail.com>
dbf3a069
RL
51438
51439 [BZ #12159]
51440 * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
51441 into all bytes of SSE register.
51442 Patch by Richard Li <richardpku@gmail.com>.
51443
f0967738 514442010-10-24 Ulrich Drepper <drepper@gmail.com>
fdc0f374
UD
51445
51446 [BZ #12140]
51447 * malloc/malloc.c (_int_free): Fill correct number of bytes when
51448 perturbing.
51449
d0b9e94f
MB
514502010-10-20 Michael B. Brutman <brutman@us.ibm.com>
51451
51452 * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
51453 * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
51454 * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
51455 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
51456 * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
51457 submachine.
51458 * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
51459
8e9f92e9
AS
514602010-10-22 Andreas Schwab <schwab@redhat.com>
51461
51462 * include/dlfcn.h (__RTLD_SECURE): Define.
51463 * elf/dl-load.c (_dl_map_object): Remove preloaded parameter. Use
51464 mode & __RTLD_SECURE instead.
51465 (open_path): Rename preloaded parameter to secure.
51466 * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
51467 * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
51468 * elf/dl-deps.c (openaux): Likewise.
51469 * elf/rtld.c (struct map_args): Remove is_preloaded.
51470 (map_doit): Don't use it.
51471 (dl_main): Likewise.
51472 (do_preload): Use __RTLD_SECURE instead of is_preloaded.
51473 (dlmopen_doit): Add __RTLD_SECURE to mode bits.
51474
bc96fbda
AS
514752010-09-09 Andreas Schwab <schwab@redhat.com>
51476
51477 * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
51478 (sysd-rules-targets): Remove duplicates.
51479 * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
51480 rtld-%.$o dependency.
51481
22cd1c9b
AS
514822010-10-18 Andreas Schwab <schwab@redhat.com>
51483
51484 * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
51485 _dl_map_object do it.
51486
18edac48
UD
514872010-10-19 Ulrich Drepper <drepper@gmail.com>
51488
51489 * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
51490 fast fma builtins, define the macros in the C99 standard.
51491 (FP_FAST_FMAF): Likewise.
51492 (FP_FAST_FMAL): Likewise.
51493 * sysdeps/x86_64/bits/mathdef.h: Likewise.
51494
51495 * bits/mathdef.h: Update copyright year.
51496 * sysdeps/powerpc/bits/mathdef.h: Likewise.
51497
d2050124
MM
514982010-10-19 Michael Meissner <meissner@linux.vnet.ibm.com>
51499
51500 * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
51501 builtins, define the macros in the C99 standard.
51502 (FP_FAST_FMAF): Likewise.
51503 (FP_FAST_FMAL): Likewise.
51504 * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
51505 multiply/add.
51506 (FP_FAST_FMAF): Likewise.
51507
475facd1
JJ
515082010-10-15 Jakub Jelinek <jakub@redhat.com>
51509
51510 [BZ #3268]
51511 * math/libm-test.inc (fma_test): Some new testcases.
51512 * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
51513 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
51514 y and infinite z. Do multiplication by C already in long double.
51515 * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
51516 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
51517 y and infinite z. Do bitwise or of inexact bit into u.d.
51518 * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
51519 * sysdeps/i386/fpu/s_fmaf.S: Removed.
51520 * sysdeps/i386/fpu/s_fma.S: Removed.
51521 * sysdeps/i386/fpu/s_fmal.S: Removed.
51522
7c08a05c
JJ
515232010-10-16 Jakub Jelinek <jakub@redhat.com>
51524
51525 [BZ #3268]
51526 * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
51527 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
51528 computation is not scheduled after fetestexcept. Fix value
51529 of minimum denormal long double.
51530
f3f7372d
JJ
515312010-10-14 Jakub Jelinek <jakub@redhat.com>
51532
51533 [BZ #3268]
51534 * math/libm-test.inc (fma_test): Add some more tests.
51535 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
51536 correctly.
51537
14d43591
AS
515382010-10-15 Andreas Schwab <schwab@redhat.com>
51539
51540 * scripts/data/localplt-s390-linux-gnu.data: New file.
51541 * scripts/data/localplt-s390x-linux-gnu.data: New file.
51542
5e908464
JJ
515432010-10-13 Jakub Jelinek <jakub@redhat.com>
51544
51545 [BZ #3268]
51546 * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
51547 * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
51548 instead of dbl-64.
51549 * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
51550 inlines.
51551 * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
51552 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
51553 if one of x and y is very large and the other is subnormal.
51554 * sysdeps/s390/fpu/s_fmaf.c: New file.
51555 * sysdeps/s390/fpu/s_fma.c: New file.
51556 * sysdeps/powerpc/fpu/s_fmaf.S: New file.
51557 * sysdeps/powerpc/fpu/s_fma.S: New file.
51558 * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
51559 * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
51560 * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
51561
515622010-10-12 Jakub Jelinek <jakub@redhat.com>
51563
51564 [BZ #3268]
51565 * math/libm-test.inc (fma_test): Add some more fmaf tests, add
51566 fma tests.
51567 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
51568 * sysdeps/ieee754/dbl-64/s_fma.c: New file.
51569 * sysdeps/i386/i686/multiarch/s_fma.c: Include
51570 sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
51571 * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
51572 * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
51573 * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
51574
b833d51f
UD
515752010-10-12 Ulrich Drepper <drepper@redhat.com>
51576
51577 [BZ #12078]
51578 * posix/regcomp.c (parse_branch): One more memory leak plugged.
51579 * posix/bug-regex31.input: Add test case.
51580
1751705d
UD
515812010-10-11 Ulrich Drepper <drepper@gmail.com>
51582
e9b9cbf5
UD
51583 * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
51584 * posix/bug-regex31.input: New file.
51585
51586 [BZ #12078]
51587 * posix/regcomp.c (parse_branch): Free memory when allocation failed.
51588 (parse_sub_exp): Fix last change, use postorder.
51589
ef06edbe
UD
51590 * posix/bug-regex31.c: New file.
51591 * posix/Makefile: Add rules to build and run bug-regex31.
51592
a129c80d
UD
51593 * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
51594
51595 [BZ #12078]
51596 * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
51597
b76b818e
UD
51598 [BZ #12108]
51599 * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
51600 to have entries in sys_siglist.
51601
1751705d
UD
51602 [BZ #12093]
51603 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
51604 be NULL.
51605
9ff8d36f
JJ
516062010-10-07 Jakub Jelinek <jakub@redhat.com>
51607
51608 [BZ #3268]
51609 * math/libm-test.inc (fma_test): Add 2 fmaf tests.
51610 * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
51611 * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
51612 sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
51613 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
51614 * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
51615 * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
51616 * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
51617 * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
51618 * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
51619 * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
51620 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
51621 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
51622 * math/ftestexcept.c (fetestexcept): Likewise.
51623 * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
51624 * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
51625 * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
51626 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
51627 * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
51628 * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
51629 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
51630
af325969
UD
516312010-10-11 Ulrich Drepper <drepper@gmail.com>
51632
c579b202 51633 [BZ #12107]
af325969
UD
51634 * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
51635 newline.
51636
67a67b95
UD
516372010-10-06 Ulrich Drepper <drepper@gmail.com>
51638
51639 * string/bug-strstr1.c: New file.
51640 * string/Makefile: Add rules to build and run bug-strstr1.
51641
5fb308bc
EB
516422010-10-05 Eric Blake <eblake@redhat.com>
51643
51644 [BZ #12092]
51645 * string/str-two-way.h (two_way_long_needle): Always clear memory
51646 when skipping input due to the shift table.
51647
45db99c7
UD
516482010-10-03 Ulrich Drepper <drepper@gmail.com>
51649
3b111893
UD
51650 [BZ #12005]
51651 * malloc/mcheck.c: Handle large requests.
51652
45db99c7
UD
51653 [BZ #12077]
51654 * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
51655 for strncmp and strncasecmp.
51656 * string/stratcliff.c: Add tests for strcmp and strncmp.
51657 * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
51658
cf7a1eb8
NI
516592010-09-28 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
51660
51661 * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
51662 __set_fpscr.
51663
6484ba5e
AJ
516642010-09-30 Andreas Jaeger <aj@suse.de>
51665
51666 * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
51667 (CGROUP_SUPER_MAGIC): Define.
51668 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
51669 Handle btrfs and cgroup file systems.
51670 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
51671 Likewise.
51672
91c42559
LM
516732010-09-27 Luis Machado <luisgpm@br.ibm.com>
51674
51675 * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
51676 * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
51677
87a97932
AK
516782010-09-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
51679
51680 [BZ #12067]
51681 * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
51682 trying to locate the ELF header.
51683
c21cc9bc
AS
516842010-09-27 Andreas Schwab <schwab@redhat.com>
51685
51686 [BZ #11611]
51687 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
51688 Mask out sign-bit copies when constructing f_fsid.
51689
315970f6
PB
516902010-09-24 Petr Baudis <pasky@suse.cz>
51691
51692 * debug/stack_chk_fail_local.c: Add missing licence exception.
51693 * debug/warning-nop.c: Likewise.
51694
1ac7a2c7
JM
516952010-09-15 Joseph Myers <joseph@codesourcery.com>
51696
51697 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
51698 implementing getdents64 using getdents syscall, set d_type if
51699 __ASSUME_GETDENTS32_D_TYPE.
51700
56801c50
AS
517012010-09-16 Andreas Schwab <schwab@redhat.com>
51702
51703 * elf/dl-close.c (free_slotinfo, free_mem): Move to...
51704 * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
51705
dda51327
UD
517062010-09-21 Ulrich Drepper <drepper@redhat.com>
51707
51708 [BZ #12037]
51709 * posix/unistd.h: Undo change of feature selection for ftruncate from
51710 2010-01-11.
51711
8ffcee4a
UD
517122010-09-20 Ulrich Drepper <drepper@redhat.com>
51713
a545ecd9 51714 * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
8ffcee4a
UD
51715 detection.
51716
e24f0a8b
AS
517172010-09-20 Andreas Schwab <schwab@redhat.com>
51718
51719 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
51720 fanotify_mark.
51721 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
51722
7291c56f
AS
517232010-09-14 Andreas Schwab <schwab@redhat.com>
51724
51725 * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
51726 variables after CHECK_SP call.
51727 * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
51728
bc5fb037
AS
517292010-09-13 Andreas Schwab <schwab@redhat.com>
51730 Ulrich Drepper <drepper@redhat.com>
51731
51732 * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
51733 re-relocationg ld.so.
51734 * elf/dl-support.c (_dl_non_dynamic_init): And here after the
51735 _dl_init_paths call.
51736 * elf/dl-load.c (_dl_init_paths). Don't set GLRO(dl_init_all_dirs)
51737 here anymore.
51738
e66e7419
UD
517392010-09-14 Ulrich Drepper <drepper@redhat.com>
51740
51741 * resolv/res_init.c (__res_vinit): Count the default server we added.
51742
c044aa75
CLT
517432010-09-08 Chung-Lin Tang <cltang@codesourcery.com>
51744 Ulrich Drepper <drepper@redhat.com>
51745
51746 [BZ #11968]
51747 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
51748 (____longjmp_chk): Use %ebx for saving value across system call.
51749 Add unwind info.
51750
32cf4069
AS
517512010-09-06 Andreas Schwab <schwab@redhat.com>
51752
51753 * manual/Makefile: Don't mix pattern rules with normal rules.
51754
817328ee
AS
517552010-09-05 Andreas Schwab <schwab@linux-m68k.org>
51756
51757 * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
51758 operation.
51759 * libio/iofdopen.c (_IO_new_fdopen): Likewise.
51760 * libio/iofopncook.c (_IO_cookie_init): Likewise.
51761 * libio/iovdprintf.c (_IO_vdprintf): Likewise.
51762 * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
51763 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
51764 Likewise.
51765
29fddf61
UD
517662010-09-04 Ulrich Drepper <drepper@redhat.com>
51767
51768 [BZ #11979]
51769 * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
51770 IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
51771
0959ffc9
UD
517722010-09-02 Ulrich Drepper <drepper@redhat.com>
51773
51774 * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
51775 * sysdeps/x86_64/addmul_1.S: Likewise.
51776 * sysdeps/x86_64/lshift.S: Likewise.
51777 * sysdeps/x86_64/mul_1.S: Likewise.
51778 * sysdeps/x86_64/rshift.S: Likewise.
51779 * sysdeps/x86_64/sub_n.S: Likewise.
51780 * sysdeps/x86_64/submul_1.S: Likewise.
51781
ece29840
ST
517822010-09-01 Samuel Thibault <samuel.thibault@ens-lyon.org>
51783
0959ffc9
UD
51784 This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
51785 Define __sched_param instead of SCHED_* and sched_param when
ece29840 51786 <bits/sched.h> is included with __need_schedparam defined.
0959ffc9 51787 * bits/sched.h [__need_schedparam]
ece29840 51788 (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
0959ffc9
UD
51789 [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
51790 (__defined_schedparam): Define to 1.
ece29840
ST
51791 (__sched_param): New structure, identical to sched_param.
51792 (__need_schedparam): Undefine.
51793
e53a31fe
MF
517942010-08-31 Mike Frysinger <vapier@gentoo.org>
51795
fdc0c10d
MF
51796 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
51797 (epoll_create1): Declare.
51798
e53a31fe
MF
51799 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
51800
a726d796
AS
518012010-08-31 Andreas Schwab <schwab@redhat.com>
51802
51803 [BZ #7066]
51804 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
51805 shifting retval into place.
51806
2f3e3dc7
UD
518072010-09-01 Ulrich Drepper <drepper@redhat.com>
51808
f2933da9
UD
51809 * nis/rpcsvc/nis.h: Update copyright notice.
51810 * nis/rpcsvc/nis.x: Likewise.
51811 * nis/rpcsvc/nis_callback.h: Likewise.
51812 * nis/rpcsvc/nis_callback.x: Likewise.
51813 * nis/rpcsvc/nis_object.x: Likewise.
51814 * nis/rpcsvc/nis_tags.h: Likewise.
51815 * nis/rpcsvc/yp.h: Likewise.
51816 * nis/rpcsvc/yp.x: Likewise.
51817 * nis/rpcsvc/ypupd.h: Likewise.
51818 * nis/yp_xdr.c: Likewise.
51819 * nis/ypupdate_xdr.c: Likewise.
51820
2f3e3dc7
UD
51821 * sunrpc/pm_getport.c (__libc_rpc_getport): New function. This is
51822 mainly the body of pmap_getport. Add parameters to specify timeouts.
51823 (pmap_getport): Use __libc_rpc_getport.
51824 * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
51825 * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
51826 * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
51827
f3dcc2f9
AS
518282010-08-31 Andreas Schwab <schwab@linux-m68k.org>
51829
51830 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
51831 fanotify_mark.
51832
6d34eb5b
RM
518332010-08-27 Roland McGrath <roland@redhat.com>
51834
51835 * sysdeps/i386/i686/multiarch/Makefile
51836 (CFLAGS-varshift.c): New variable.
51837
9ea3de11
UD
518382010-08-27 Ulrich Drepper <drepper@redhat.com>
51839
c96d23fc
UD
51840 * sysdeps/i386/i686/multiarch/varshift.S: File removed.
51841 * sysdeps/i386/i686/multiarch/varshift.c: New file.
51842
9ea3de11
UD
51843 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
51844
51845 * sysdeps/x86_64/strlen.S: Minimal code improvement.
51846
623aac7f
L
518472010-08-26 H.J. Lu <hongjiu.lu@intel.com>
51848
51849 * sysdeps/x86_64/strlen.S: Unroll the loop.
51850 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
51851 strlen-sse2 strlen-sse2-bsf.
51852 * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
51853 __strlen_no_bsf if bit_Slow_BSF is set.
51854 (__strlen_sse42): Removed.
51855 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
51856 * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
51857
8b2b7715
RM
518582010-08-25 Roland McGrath <roland@redhat.com>
51859
51860 * sysdeps/x86_64/multiarch/varshift.S: File removed.
51861 * sysdeps/x86_64/multiarch/varshift.c: New file.
51862 * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
51863 * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
51864 * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
51865 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
51866
e73015f2
L
518672010-08-25 H.J. Lu <hongjiu.lu@intel.com>
51868
51869 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
51870 strlen-sse2 strlen-sse2-bsf.
51871 * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
51872 __strlen_sse2_bsf if bit_Slow_BSF is unset.
51873 (__strlen_sse2): Removed.
51874 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
51875 * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
51876 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
51877 bit_Slow_BSF for Atom.
51878 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
51879 (index_Slow_BSF): Define.
51880 (HAS_SLOW_BSF): Define.
51881
df24a73e
UD
518822010-08-25 Ulrich Drepper <drepper@redhat.com>
51883
51884 [BZ #10851]
51885 * resolv/res_init.c (__res_vinit): When no server address at all
51886 is given default to loopback.
51887
f2ac4868
RM
518882010-08-24 Roland McGrath <roland@redhat.com>
51889
09055553
RM
51890 * configure.in: Remove config-name.h generation.
51891 * configure: Regenerated.
51892 * config-name.in: File removed.
51893 * scripts/config-uname.sh: New file.
51894 * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
51895 ($(objdir)config-name.h): New target.
51896
f2ac4868
RM
51897 * sunrpc/rpc_parse.h: Avoid nested comment.
51898
73f27d5e
RH
518992010-08-24 Richard Henderson <rth@redhat.com>
51900 Ulrich Drepper <drepper@redhat.com>
51901 H.J. Lu <hongjiu.lu@intel.com>
51902
51903 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
51904 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
51905 * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
51906 Replace _mm_srli_si128 with __m128i_shift_right. Replace
51907 _mm_alignr_epi8 with _mm_loadu_si128.
51908 * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
51909 * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
51910 (__m128i_shift_right): Removed.
51911 * sysdeps/i386/i686/multiarch/varshift.h: New file.
51912 * sysdeps/i386/i686/multiarch/varshift.S: New file.
51913 * sysdeps/x86_64/multiarch/varshift.h: New file.
51914 * sysdeps/x86_64/multiarch/varshift.S: New file.
51915
84b9230c
MF
519162010-08-21 Mike Frysinger <vapier@gentoo.org>
51917
51918 * configure.in: Move assembler checks to before sysdep dir checking.
51919
9bbd0ddc
PB
519202010-08-20 Petr Baudis <pasky@suse.cz>
51921
51922 * LICENSES: Sync the sunrpc license.
51923
9da4bb31
UD
519242010-08-19 Ulrich Drepper <drepper@redhat.com>
51925
a7ab6ec8
UD
51926 * sunrpc/auth_des.c: Update copyright notice once again.
51927 * sunrpc/auth_none.c: Likewise.
51928 * sunrpc/auth_unix.c: Likewise.
51929 * sunrpc/authdes_prot.c: Likewise.
51930 * sunrpc/authuxprot.c: Likewise.
51931 * sunrpc/bindrsvprt.c: Likewise.
51932 * sunrpc/clnt_gen.c: Likewise.
51933 * sunrpc/clnt_perr.c: Likewise.
51934 * sunrpc/clnt_raw.c: Likewise.
51935 * sunrpc/clnt_simp.c: Likewise.
51936 * sunrpc/clnt_tcp.c: Likewise.
51937 * sunrpc/clnt_udp.c: Likewise.
51938 * sunrpc/clnt_unix.c: Likewise.
51939 * sunrpc/des_crypt.c: Likewise.
51940 * sunrpc/des_soft.c: Likewise.
51941 * sunrpc/get_myaddr.c: Likewise.
51942 * sunrpc/getrpcport.c: Likewise.
51943 * sunrpc/key_call.c: Likewise.
51944 * sunrpc/key_prot.c: Likewise.
51945 * sunrpc/openchild.c: Likewise.
51946 * sunrpc/pm_getmaps.c: Likewise.
51947 * sunrpc/pm_getport.c: Likewise.
51948 * sunrpc/pmap_clnt.c: Likewise.
51949 * sunrpc/pmap_prot.c: Likewise.
51950 * sunrpc/pmap_prot2.c: Likewise.
51951 * sunrpc/pmap_rmt.c: Likewise.
51952 * sunrpc/rpc/auth.h: Likewise.
51953 * sunrpc/rpc/auth_unix.h: Likewise.
51954 * sunrpc/rpc/clnt.h: Likewise.
51955 * sunrpc/rpc/des_crypt.h: Likewise.
51956 * sunrpc/rpc/key_prot.h: Likewise.
51957 * sunrpc/rpc/netdb.h: Likewise.
51958 * sunrpc/rpc/pmap_clnt.h: Likewise.
51959 * sunrpc/rpc/pmap_prot.h: Likewise.
51960 * sunrpc/rpc/pmap_rmt.h: Likewise.
51961 * sunrpc/rpc/rpc.h: Likewise.
51962 * sunrpc/rpc/rpc_des.h: Likewise.
51963 * sunrpc/rpc/rpc_msg.h: Likewise.
51964 * sunrpc/rpc/svc.h: Likewise.
51965 * sunrpc/rpc/svc_auth.h: Likewise.
51966 * sunrpc/rpc/types.h: Likewise.
51967 * sunrpc/rpc/xdr.h: Likewise.
51968 * sunrpc/rpc_clntout.c: Likewise.
51969 * sunrpc/rpc_cmsg.c: Likewise.
51970 * sunrpc/rpc_common.c: Likewise.
51971 * sunrpc/rpc_cout.c: Likewise.
51972 * sunrpc/rpc_dtable.c: Likewise.
51973 * sunrpc/rpc_hout.c: Likewise.
51974 * sunrpc/rpc_main.c: Likewise.
51975 * sunrpc/rpc_parse.c: Likewise.
51976 * sunrpc/rpc_parse.h: Likewise.
51977 * sunrpc/rpc_prot.c: Likewise.
51978 * sunrpc/rpc_sample.c: Likewise.
51979 * sunrpc/rpc_scan.c: Likewise.
51980 * sunrpc/rpc_scan.h: Likewise.
51981 * sunrpc/rpc_svcout.c: Likewise.
51982 * sunrpc/rpc_tblout.c: Likewise.
51983 * sunrpc/rpc_util.c: Likewise.
51984 * sunrpc/rpc_util.h: Likewise.
51985 * sunrpc/rpcinfo.c: Likewise.
51986 * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
51987 * sunrpc/rpcsvc/key_prot.x: Likewise.
51988 * sunrpc/rpcsvc/klm_prot.x: Likewise.
51989 * sunrpc/rpcsvc/mount.x: Likewise.
51990 * sunrpc/rpcsvc/nfs_prot.x: Likewise.
51991 * sunrpc/rpcsvc/nlm_prot.x: Likewise.
51992 * sunrpc/rpcsvc/rex.x: Likewise.
51993 * sunrpc/rpcsvc/rstat.x: Likewise.
51994 * sunrpc/rpcsvc/rusers.x: Likewise.
51995 * sunrpc/rpcsvc/sm_inter.x: Likewise.
51996 * sunrpc/rpcsvc/spray.x: Likewise.
51997 * sunrpc/rpcsvc/yppasswd.x: Likewise.
51998 * sunrpc/rtime.c: Likewise.
51999 * sunrpc/svc.c: Likewise.
52000 * sunrpc/svc_auth.c: Likewise.
52001 * sunrpc/svc_authux.c: Likewise.
52002 * sunrpc/svc_raw.c: Likewise.
52003 * sunrpc/svc_run.c: Likewise.
52004 * sunrpc/svc_simple.c: Likewise.
52005 * sunrpc/svc_tcp.c: Likewise.
52006 * sunrpc/svc_udp.c: Likewise.
52007 * sunrpc/svc_unix.c: Likewise.
52008 * sunrpc/svcauth_des.c: Likewise.
52009 * sunrpc/xcrypt.c: Likewise.
52010 * sunrpc/xdr.c: Likewise.
52011 * sunrpc/xdr_array.c: Likewise.
52012 * sunrpc/xdr_float.c: Likewise.
52013 * sunrpc/xdr_mem.c: Likewise.
52014 * sunrpc/xdr_rec.c: Likewise.
52015 * sunrpc/xdr_ref.c: Likewise.
52016 * sunrpc/xdr_sizeof.c: Likewise.
52017 * sunrpc/xdr_stdio.c: Likewise.
52018
9da4bb31
UD
52019 * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
52020 handling.
52021
bdaa77bc
AS
520222010-08-19 Andreas Schwab <schwab@redhat.com>
52023
52024 * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
52025
fe2f79db
LM
520262010-08-19 Luis Machado <luisgpm@br.ibm.com>
52027
52028 * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
52029 * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
52030 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
52031 * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
52032 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
52033 * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
52034 * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
52035 * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
52036 * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
52037 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
52038 * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
52039 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
52040 * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
52041 * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
52042
b9b42ee0
AB
520432010-07-26 Anton Blanchard <anton@samba.org>
52044
52045 * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
52046 * malloc/arena.c (heap_trim): Likewise.
52047
1c06ba31
UD
520482010-08-16 Ulrich Drepper <drepper@redhat.com>
52049
52050 * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
52051 here. Not...
52052 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
52053 * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
52054
f8392f40
L
520552010-08-12 H.J. Lu <hongjiu.lu@intel.com>
52056
52057 * sysdeps/i386/elf/Makefile: New file.
52058
3162f12e
AS
520592010-08-14 Andreas Schwab <schwab@linux-m68k.org>
52060
52061 * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
52062 from fanotify_init.
52063 * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
52064 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
52065
28c90b2c
UD
520662010-08-15 Ulrich Drepper <drepper@redhat.com>
52067
52068 * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
52069 of strncasecmp_l.
1feccb6c 52070 * sysdeps/multiarch/strcmp.S: Likewise.
28c90b2c 52071
ca6bb004
UD
520722010-08-14 Ulrich Drepper <drepper@redhat.com>
52073
e9f82e0d
UD
52074 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
52075 strncase_l-nonascii.
52076 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
52077 Add strncase_l-ssse3.
52078 * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
52079 * sysdeps/x86_64/strcmp.S: Likewise.
52080 * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
52081 * sysdeps/x86_64/multiarch/strncase_l.S: New file.
52082 * sysdeps/x86_64/strncase.S: New file.
52083 * sysdeps/x86_64/strncase_l-nonascii.c: New file.
52084 * sysdeps/x86_64/strncase_l.S: New file.
52085 * string/Makefile (strop-tests): Add strncasecmp.
52086 * string/test-strncasecmp.c: New file.
52087
52088 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
52089 warning.
52090
ca6bb004
UD
52091 * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
52092 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
52093
052fa7b3
AS
520942010-08-14 Andreas Schwab <schwab@linux-m68k.org>
52095
52096 * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
52097
962dba78
UD
520982010-08-12 Ulrich Drepper <drepper@redhat.com>
52099
52100 * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
52101 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
52102 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
52103
bebff237
AM
521042010-05-01 Alan Modra <amodra@gmail.com>
52105
52106 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
52107 * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
52108 * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
52109 * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
52110 * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
52111 tidying. Don't tail-call __sigjmp_save for static lib.
52112 * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
52113 save location.
52114 (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
52115 (CALL_MCOUNT): Add eh info, and nop after bl.
52116 (TAIL_CALL_SYSCALL_ERROR): New macro.
52117 (PSEUDO_RET): Use it.
52118 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
52119 Correct save location of integer regs and cr.
52120 (_dl_profile_resolve): Correct cr save location. Delete nops
52121 after bl when SHARED. Reduce cfi size a little by better
52122 placement of cfi directives.
52123 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
52124 make a stack frame. Instead use parm save area as a temp.
52125 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
52126 make a stack frame. Use TAIL_CALL_SYSCALL_ERROR.
52127 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
52128 Don't make a stack frame for parent, use parm save area.
52129 Increase child stack frame to 112 bytes. Don't save unused reg,
52130 and adjust reg usage. Set up cfi on error recovery and
52131 epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
52132 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
52133 (__makecontext): Add dummy nop after jump to exit.
52134 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
52135 Use correct parm save area and cr save, reduce stack frame.
52136 Correct cfi for possible PSEUDO_RET frame setup.
52137 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
52138 Branch to local label emitted by PSEUDO_RET rather than
52139 __syscall_error.
52140
02637374
AS
521412010-08-12 Andreas Schwab <schwab@redhat.com>
52142
52143 [BZ #11904]
52144 * locale/programs/locale.c (print_assignment): New function.
52145 (show_locale_vars): Use it.
52146
c3e2f19b
UD
521472010-08-11 Ulrich Drepper <drepper@redhat.com>
52148
3cdaa6ad
UD
52149 * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
52150 field.
52151 (struct statfs64): Likewise.
52152 (_STATFS_F_FLAGS): Define.
52153 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
52154 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
52155 Don't define if __ASSUME_STATFS_F_FLAGS is defined.
52156 (ST_VALID): Define locally.
52157 (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
52158 __statvfs_getflags, use the provided value.
52159 * sysdeps/unix/sysv/linux/kernel-features.h: Define
52160 __ASSUME_STATFS_F_FLAGS.
52161
754f7da3
UD
52162 * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
52163
10b3bedc
UD
52164 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
52165 Add sys/fanotify.h.
52166 * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
52167 fanotify_mask for GLIBC_2.13.
52168 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
52169 fanotify_init and fanotify_mark.
52170 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
52171 * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
52172
c08fb0d7
UD
52173 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
52174 Add prlimit.
52175 * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
52176 prlimit64 for GLIBC_2.13.
52177 * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
52178 prlimit64.
52179 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
52180 syscall.
52181 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
52182 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
52183 * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
52184 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
52185 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise. Also
52186 add prlimit alias.
52187 * sysdeps/unix/sysv/linux/prlimit.c: New file.
52188
15bac72b
UD
52189 [BZ #11903]
52190 * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
52191 Patch by Evgeni Bikov <bikovevg@iitp.ru>.
52192
c3e2f19b
UD
52193 * nss/Makefile: Add rules to build and run tst-nss-test1.
52194 * shlib-versions: Add entry for libnss_test1.
52195 * nss/nss_test1.c: New file.
52196 * nss/tst-nss-test1.c: New file.
52197
52198 * nss/nsswitch.c (__nss_database_custom): Define new variable.
52199 (__nss_configure_lookup): Set appropriate entry in
52200 __nss_configure_lookup to true.
52201 * nss/nsswitch.h: Define enum with indeces of databases in
52202 databases and __nss_database_custom arrays. Declare
52203 __nss_database_custom.
52204 * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
52205 to avoid using nscd when custom rules are installed.
52206 * nss/getXXbyYY_r.c: Likewise.
52207 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
52208
52209 * nss/nss_files/files-parse.c: Whitespace fixes.
52210
f15ce4d8
UD
522112010-08-09 Ulrich Drepper <drepper@redhat.com>
52212
52213 [BZ #11883]
52214 * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
52215 * posix/fnmatch_loop.c: Likewise.
52216
d22e4cc9
AK
522172010-07-17 Andi Kleen <ak@linux.intel.com>
52218
52219 * sysdeps/i386/i386-mcount.S (__fentry__): Define.
52220 * sysdeps/x86_64/_mcount.S (__fentry__): Define.
52221 * stdlib/Versions (__fentry__): Add for GLIBC 2.13
52222 * Versions.def [GLIBC_2.13]: Add.
52223
805bc17d
UD
522242010-08-06 Ulrich Drepper <drepper@redhat.com>
52225
52226 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
52227 Also fail if tpwd after pwuid call is NULL.
52228
5a42321d
ST
522292010-07-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
52230
52231 * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
52232 when converting to ms.
52233
fd3ebeda
ST
522342010-06-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
52235
52236 * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
52237 EOPNOTSUPP errors with ENOTTY.
52238 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
52239 EOPNOTSUPP errors with ENOTTY.
52240
73507d3a
UD
522412010-07-31 Ulrich Drepper <drepper@redhat.com>
52242
52243 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
52244 Add strcasecmp_l-ssse3.
52245 * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
52246 strcasecmp.
52247 * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
52248 * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
52249 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
52250
fe36dd02
UD
522512010-07-30 Ulrich Drepper <drepper@redhat.com>
52252
66f6765a
UD
52253 * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
52254
42e08a54
UD
52255 * string/Makefile (strop-tests): Add strcasecmp.
52256 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
52257 strcasecmp_l-nonascii.
52258 (gen-as-const-headers): Add locale-defines.sym.
52259 * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
52260 * sysdeps/x86_64/strcasecmp.S: New file.
52261 * sysdeps/x86_64/strcasecmp_l.S: New file.
52262 * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
52263 * sysdeps/x86_64/locale-defines.sym: New file.
52264 * string/test-strcasecmp.c: New file.
52265
fe36dd02
UD
52266 * string/test-strcasestr.c: Test both ends of the range of characters.
52267 * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
52268
48cbc0d6
RM
522692010-07-29 Roland McGrath <roland@redhat.com>
52270
76e6d6bc 52271 [BZ #11856]
48cbc0d6
RM
52272 * manual/locale.texi (Yes-or-No Questions): Fix example code.
52273
880113d9
UD
522742010-07-27 Ulrich Drepper <drepper@redhat.com>
52275
52276 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
52277 for ld.so.
52278
deb9cabb
AS
522792010-07-27 Andreas Schwab <schwab@redhat.com>
52280
52281 * manual/memory.texi (Malloc Tunable Parameters): Document
52282 M_PERTURB.
52283
1c7570ff
RM
522842010-07-26 Roland McGrath <roland@redhat.com>
52285
52286 [BZ #11840]
52287 * configure.in (-fgnu89-inline check): Set and substitute
52288 gnu89_inline, not libc_cv_gnu89_inline.
52289 * configure: Regenerated.
52290 * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
52291
24fb0f88
UD
522922010-07-26 Ulrich Drepper <drepper@redhat.com>
52293
52294 * string/test-strnlen.c: New file.
52295 * string/Makefile (strop-tests): Add strnlen.
52296 * string/tester.c (test_strnlen): Add a few more test cases.
52297 * string/tst-strlen.c: Better error reporting.
52298
52299 * sysdeps/x86_64/strnlen.S: New file.
52300
8e96b93a
UD
523012010-07-24 Ulrich Drepper <drepper@redhat.com>
52302
52303 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
52304 lower-latency instructions.
52305
dbc676d4
UD
523062010-07-23 Ulrich Drepper <drepper@redhat.com>
52307
52308 * string/test-strcasestr.c: New file.
52309 * string/test-strstr.c: New file.
52310 * string/Makefile (strop-tests): Add strstr and strcasestr.
52311 * string/str-two-way.h: Don't undefine MAX.
52312 * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
52313
f6a31e0e
AS
523142010-07-21 Andreas Schwab <schwab@redhat.com>
52315
52316 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
52317 strcasestr-nonascii.
52318 (CFLAGS-strcasestr-nonascii.c): Define.
52319 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
52320 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
52321 Remove unused attribute.
52322
5dbc3b6c
RM
523232010-07-20 Roland McGrath <roland@redhat.com>
52324
52325 * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
52326 dl_hwcap_mask as well as dl_hwcap. Without this, dsocaps matching in
52327 ld.so.cache was broken. With it, there is no way to disable dsocaps
52328 like LD_HWCAP_MASK can disable hwcaps.
52329
23d101d8
EPM
523302010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
52331
52332 * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
52333
cc9f2e47
UD
523342010-07-16 Ulrich Drepper <drepper@redhat.com>
52335
52336 * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
52337 call in strcasestr.
52338 * sysdeps/x86_64/multiarch/strcasestr.c: Declare
52339 __strcasestr_sse42_nonascii.
52340 * sysdeps/x86_64/multiarch/Makefile: Add rules to build
52341 strcasestr-nonascii.c.
52342 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
52343
77c1b069
LM
523442010-06-15 Luis Machado <luisgpm@br.ibm.com>
52345
52346 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
52347 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
52348 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
52349 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
52350
440566c3
UD
523512010-07-09 Ulrich Drepper <drepper@redhat.com>
52352
52353 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
52354 fcntl.
52355
5be9d05d
AS
523562010-07-06 Andreas Schwab <schwab@redhat.com>
52357
c30b7ee2 52358 [BZ #11577]
5be9d05d
AS
52359 * elf/dl-version.c (match_symbol): Don't pass NULL occation to
52360 dl_signal_cerror.
52361
8a492a67
UD
523622010-07-06 Ulrich Drepper <drepper@redhat.com>
52363
52364 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
52365 _PC_PIPE_BUF using F_GETPIPE_SZ.
52366
713df3d5
RM
523672010-07-05 Roland McGrath <roland@redhat.com>
52368
52369 * manual/arith.texi (Rounding Functions): Fix rint description
52370 implicit in round description.
52371
702e8f14
UD
523722010-07-02 Ulrich Drepper <drepper@redhat.com>
52373
52374 * elf/Makefile: Fix linking for a few tests to make recent linker
52375 happy.
52376
52ed8be9
AS
523772010-06-30 Andreas Schwab <schwab@redhat.com>
52378
52379 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
52380 $(common-objpfx)libc_nonshared.a.
52381
f47c9a11
LM
523822010-06-21 Luis Machado <luisgpm@br.ibm.com>
52383
52384 * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
52385 * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
52386 * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
52387 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
52388 * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
52389 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
52390 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
52391 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
52392 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
52393 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
52394 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
52395 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
52396 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
52397 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
52398 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
52399 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
52400 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
52401 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
52402 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
52403 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
52404 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
52405 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
52406 * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
52407 * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
52408 * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
52409 * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
52410 * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
52411 * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
52412 * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
52413 * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
52414 * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
52415 * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
52416 * sysdeps/powerpc/powerpc32/power7/Implies: New file.
52417 * sysdeps/powerpc/powerpc64/power7/Implies: New file.
52418 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
52419 * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
52420 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
52421 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
52422 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
52423 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
52424 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
52425 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
52426 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
52427 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
52428 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
52429 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
52430 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
52431 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
52432
6fb8cbcb
L
524332010-06-25 H.J. Lu <hongjiu.lu@intel.com>
52434
52435 * debug/memmove_chk.c (__memmove_chk): Renamed to ...
52436 (MEMMOVE_CHK): ...this. Default to __memmove_chk.
52437 * string/memmove.c (memmove): Renamed to ...
52438 (MEMMOVE): ...this. Default to memmove.
52439 * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
52440 * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
52441 (END_CHK): Define.
52442 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
52443 memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
52444 mempcpy-ssse3-back memmove-ssse3-back.
52445 * sysdeps/x86_64/multiarch/bcopy.S: New file .
52446 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
52447 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
52448 * sysdeps/x86_64/multiarch/memcpy.S: New file.
52449 * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
52450 * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
52451 * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
52452 * sysdeps/x86_64/multiarch/memmove.c: New file.
52453 * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
52454 * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
52455 * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
52456 * sysdeps/x86_64/multiarch/mempcpy.S: New file.
52457 * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
52458 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
52459 Define.
52460 (index_Fast_Copy_Backward): Define.
52461 (HAS_ARCH_FEATURE): Define.
52462 (HAS_FAST_REP_STRING): Define.
52463 (HAS_FAST_COPY_BACKWARD): Define.
52464
4e733bac 524652010-06-21 Andreas Schwab <schwab@redhat.com>
e35fcef8
AS
52466
52467 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
52468 Restore proper fallback handling.
52469
63c4ed22
UD
524702010-06-19 Ulrich Drepper <drepper@redhat.com>
52471
ac2b484c
UD
52472 [BZ #11701]
52473 * posix/group_member.c (__group_member): Correct checking loop.
52474
63c4ed22
UD
52475 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
52476 OOM in getpwuid_r correctly. Return error number when the caller
52477 should return, otherwise -1.
52478 (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
52479 call returning > 0 value.
52480 * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
52481
765ade4b
AS
524822010-06-07 Andreas Schwab <schwab@redhat.com>
52483
52484 * dlfcn/Makefile: Remove explicit dependencies on libc.so and
52485 libc_nonshared.a from targets in modules-names.
52486
80da2e09
KS
524872010-06-02 Kirill A. Shutemov <kirill@shutemov.name>
52488
52489 * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
52490 requires it.
52491
158db122
LM
524922010-06-10 Luis Machado <luisgpm@br.ibm.com>
52493
52494 * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
52495 * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
52496 * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
52497 * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
52498
caa78cf8
AS
524992010-06-02 Andreas Schwab <schwab@redhat.com>
52500
52501 * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
52502
b2ef2c01
UD
525032010-06-14 Ulrich Drepper <drepper@redhat.com>
52504
52505 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
52506 and F_GETPIPE_SZ.
52507 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
52508 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
52509 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
52510 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
52511 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
52512 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
52513
fbd643b6
RM
525142010-06-14 Roland McGrath <roland@redhat.com>
52515
52516 * manual/libc.texinfo (@copying): Change to GFDL v1.3.
52517
f32f2869
JJ
525182010-06-07 Jakub Jelinek <jakub@redhat.com>
52519
52520 * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
52521 __REDIRECT followed by __THROW.
52522 * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
52523 * posix/getopt.h (getopt): Likewise.
52524
2a50c078
EPM
525252010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
52526
52527 * hurd/lookup-at.c (__file_name_lookup_at): Accept
52528 AT_SYMLINK_FOLLOW in AT_FLAGS. Fail with EINVAL if both
52529 AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
52530 in AT_FLAGS.
52531 * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
52532 * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
52533
eb5ad2eb
LM
525342010-05-28 Luis Machado <luisgpm@br.ibm.com>
52535
52536 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
52537
3c88fe1e
L
525382010-05-26 H.J. Lu <hongjiu.lu@intel.com>
52539
52540 [BZ #11640]
52541 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
52542 Properly check family and model.
52543
d2f73151
TY
525442010-05-26 Takashi Yoshii <takashi.yoshii.zj@renesas.com>
52545
52546 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
52547
ebd2e13d
LM
525482010-05-24 Luis Machado <luisgpm@br.ibm.com>
52549
52550 * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
52551
b32b8b45
UD
525522010-05-21 Ulrich Drepper <drepper@redhat.com>
52553
52554 * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
52555 symbol reference.
52556
9acbe24d
AS
525572010-05-19 Andreas Schwab <schwab@redhat.com>
52558
52559 * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
52560 symbol reference.
52561
f0ccf6ea
AS
525622010-05-21 Andreas Schwab <schwab@redhat.com>
52563
3d04ff3a
AS
52564 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
52565 and internal_recvmmsg.
52566 * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
52567 * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
52568 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
52569 * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
52570
f0ccf6ea
AS
52571 * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
52572 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
52573 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
52574
5b08ac57
AS
525752010-05-20 Andreas Schwab <schwab@redhat.com>
52576
52577 * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
52578
4828935d
LM
525792010-05-17 Luis Machado <luisgpm@br.ibm.com>
52580
52581 POWER7 optimizations.
52582 * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
52583 * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
52584
373d545e
UD
525852010-05-19 Ulrich Drepper <drepper@redhat.com>
52586
52587 * version.h: Update for 2.13 development version.
52588
21a2b1ae
AS
525892010-05-12 Andrew Stubbs <ams@codesourcery.com>
52590
52591 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
52592 exceptions. Return 0.
52593
3f7dcb2b
RM
525942010-05-07 Roland McGrath <roland@redhat.com>
52595
52596 * elf/ldconfig.c (main): Add a const.
52597
5f24d53a 525982010-05-06 Ulrich Drepper <drepper@redhat.com>
70c9476e 52599
a160f8d8
UD
52600 * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
52601 (args_options): Add no-idn option.
52602 (ahosts_keys_int): Add idn_flags to ai_flags.
52603 (parse_option): Handle 'i' option to clear idn_flags.
52604
5f24d53a
UD
52605 * malloc/malloc.c (_int_free): Possible race in the most recently
52606 added check. Only act on the data if no current modification
52607 happened.
265bb1ce
UD
52608
52609See ChangeLog.17 for earlier changes.